From 2f5d1c096621a5169818ef96776e32458309e8a1 Mon Sep 17 00:00:00 2001 From: Donald Zou Date: Sun, 17 Aug 2025 16:33:03 +0800 Subject: [PATCH] Moved all dist code to one folder --- src/dashboard.py | 2 +- src/static/app/package.json | 2 +- src/static/app/postbuild.js | 21 --------- src/static/app/vite.config.js | 4 +- .../client/dist/assets/index-Cun74Xi8.js | 41 ------------------ .../client/dist/assets/index-tn8r-uDQ.css | 9 ---- src/static/client/package.json | 2 +- src/static/client/vite.config.js | 14 +++++- ...ashboardClientAssignmentStore-C45wUqOp.js} | 2 +- .../assets/bootstrap-icons-BeopsB42.woff | Bin .../assets/bootstrap-icons-mSm7cUeB.woff2 | Bin .../assets/browser-DpR0RqZi.js} | 2 +- .../assets/clientViewer-BR5ORwer.js} | 2 +- .../assets/clientViewer-C3dxR3US.css | 0 .../assets/clients-D5GlWsiu.js} | 2 +- .../assets/clients-ElMsFHgd.css | 0 .../assets/configuration-Bg4JcEUk.js} | 2 +- .../assets/configurationList-BIXsH2AA.js} | 2 +- .../assets/configurationList-D6DHKux3.css | 0 .../assets/dayjs.min-Rf3-f83x.js} | 2 +- .../assets/index-6o26Ihmr.js | 0 .../assets/index-B8TgNUYV.js} | 2 +- .../assets/index-D5fbjBmH.js} | 8 ++-- .../assets/index-DEZPVeS-.js} | 2 +- .../assets/index-XjBtNnya.css} | 2 +- .../assets/index-n06B7r3o.css | 0 .../assets/localeText-BwlyH2uL.js} | 2 +- .../assets/message-Bh5W0B3y.css | 0 .../assets/message-DXxfTvqC.js} | 2 +- .../assets/newConfiguration-BrDKdnVB.js} | 2 +- .../assets/newConfiguration-oPMsqryI.css | 0 .../assets/osmap-DPICc3dZ.js} | 2 +- .../assets/osmap-DZ_3lbim.css | 0 .../assets/peerAssignModal--_bmFbmn.css | 0 .../assets/peerAssignModal-BlY9USB3.js} | 2 +- .../assets/peerConfigurationFile-CdJ_2hj_.js} | 2 +- .../assets/peerConfigurationFile-Z9ms5mIx.css | 0 .../assets/peerJobs-D_dDl936.css | 0 .../assets/peerJobs-Dy2B-B5E.js} | 2 +- .../assets/peerList-BH1nrHD0.css | 0 .../assets/peerList-Bnc70xia.js} | 4 +- .../assets/peerQRCode-BuSsVfWC.js} | 2 +- .../assets/peerQRCode-DuWWfBch.css | 0 .../assets/peerSettings-BWazN9hG.js} | 2 +- .../assets/peerSettings-CSjO_Okh.css | 0 .../assets/peerShareLinkModal-DgDHiTOw.css | 0 .../assets/peerShareLinkModal-vYd2is_h.js} | 2 +- .../WGDashboardAdmin/assets/ping-BblC0zpt.js} | 2 +- .../assets/ping-DgbK5UF9.css | 0 .../assets/protocolBadge-BVQE6rMK.js} | 2 +- .../assets/restoreConfiguration-DEs2Vp9D.js} | 2 +- .../assets/restoreConfiguration-Go8Q_2zy.css | 0 .../assets/settings-CfX7xCKW.css | 0 .../assets/settings-DKCR2haZ.js} | 2 +- .../assets/setup-D0XyMxzo.js} | 2 +- .../assets/share-D1OkSpyp.js} | 2 +- .../assets/share-e5E8P3Ro.css | 0 .../assets/signin-BSqwRvQ7.js} | 2 +- .../assets/signin-CC0REHXm.css | 0 .../assets/storageMount-Bw-_Mzzo.css | 0 ..._index_0_scoped_9509d7a0_lang-KDIKOXhL.js} | 2 +- .../assets/systemStatus-C9p8AMJS.js} | 2 +- .../assets/systemStatus-CPnafN3D.css | 0 .../WGDashboardAdmin/assets/totp-CYq1d4cZ.js} | 2 +- .../assets/traceroute-BmGBOOEH.js} | 2 +- .../assets/traceroute-cPX-1ydq.css | 0 .../assets/vue-datepicker-TsAnng-H.js} | 2 +- .../WGDashboardAdmin}/img/Logo-1-128x128.png | Bin .../WGDashboardAdmin}/img/Logo-1-256x256.png | Bin .../WGDashboardAdmin}/img/Logo-1-384x384.png | Bin .../WGDashboardAdmin}/img/Logo-1-512x512.png | Bin .../img/Logo-1-Maskable-512x512.png | Bin .../img/Logo-1-Rounded-128x128.png | Bin .../img/Logo-1-Rounded-256x256.png | Bin .../img/Logo-1-Rounded-384x384.png | Bin .../img/Logo-1-Rounded-512x512.png | Bin .../WGDashboardAdmin}/img/Logo-2-128x128.png | Bin .../WGDashboardAdmin}/img/Logo-2-256x256.png | Bin .../WGDashboardAdmin}/img/Logo-2-384x384.png | Bin .../WGDashboardAdmin}/img/Logo-2-512x512.png | Bin .../img/Logo-2-Rounded-128x128.png | Bin .../img/Logo-2-Rounded-256x256.png | Bin .../img/Logo-2-Rounded-384x384.png | Bin .../img/Logo-2-Rounded-512x512.png | Bin .../dist => dist/WGDashboardAdmin}/index.html | 8 ++-- .../WGDashboardAdmin}/json/manifest.json | 0 ...Sans-Italic-VariableFont_wght-BdWtZZ8T.ttf | Bin ...JakartaSans-VariableFont_wght-D_DSbd_K.ttf | Bin .../assets/bootstrap-icons-BeopsB42.woff | Bin .../assets/bootstrap-icons-mSm7cUeB.woff2 | Bin .../assets/index-2OJLsfIF.css | 9 ++++ .../assets/index-Dnx8i95a.js | 41 ++++++++++++++++++ .../WGDashboardClient}/client.html | 8 ++-- .../WGDashboardClient}/img/Logo-1-128x128.png | Bin .../WGDashboardClient}/img/Logo-1-256x256.png | Bin .../WGDashboardClient}/img/Logo-1-384x384.png | Bin .../WGDashboardClient}/img/Logo-1-512x512.png | Bin .../img/Logo-1-Maskable-512x512.png | Bin .../img/Logo-1-Rounded-128x128.png | Bin .../img/Logo-1-Rounded-256x256.png | Bin .../img/Logo-1-Rounded-384x384.png | Bin .../img/Logo-1-Rounded-512x512.png | Bin .../WGDashboardClient}/img/Logo-2-128x128.png | Bin .../WGDashboardClient}/img/Logo-2-256x256.png | Bin .../WGDashboardClient}/img/Logo-2-384x384.png | Bin .../WGDashboardClient}/img/Logo-2-512x512.png | Bin .../img/Logo-2-Rounded-128x128.png | Bin .../img/Logo-2-Rounded-256x256.png | Bin .../img/Logo-2-Rounded-384x384.png | Bin .../img/Logo-2-Rounded-512x512.png | Bin 110 files changed, 113 insertions(+), 124 deletions(-) delete mode 100644 src/static/app/postbuild.js delete mode 100644 src/static/client/dist/assets/index-Cun74Xi8.js delete mode 100644 src/static/client/dist/assets/index-tn8r-uDQ.css rename src/static/{app/dist/assets/DashboardClientAssignmentStore-hnc4wS2g.js => dist/WGDashboardAdmin/assets/DashboardClientAssignmentStore-C45wUqOp.js} (95%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/bootstrap-icons-BeopsB42.woff (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/bootstrap-icons-mSm7cUeB.woff2 (100%) rename src/static/{app/dist/assets/browser-CwJzqt71.js => dist/WGDashboardAdmin/assets/browser-DpR0RqZi.js} (99%) rename src/static/{app/dist/assets/clientViewer-BO3xJCwx.js => dist/WGDashboardAdmin/assets/clientViewer-BR5ORwer.js} (98%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/clientViewer-C3dxR3US.css (100%) rename src/static/{app/dist/assets/clients-V1xPJ10c.js => dist/WGDashboardAdmin/assets/clients-D5GlWsiu.js} (96%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/clients-ElMsFHgd.css (100%) rename src/static/{app/dist/assets/configuration-JnLtQ9-Q.js => dist/WGDashboardAdmin/assets/configuration-Bg4JcEUk.js} (86%) rename src/static/{app/dist/assets/configurationList-CJIe6SIO.js => dist/WGDashboardAdmin/assets/configurationList-BIXsH2AA.js} (98%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/configurationList-D6DHKux3.css (100%) rename src/static/{app/dist/assets/dayjs.min-DfzgISij.js => dist/WGDashboardAdmin/assets/dayjs.min-Rf3-f83x.js} (99%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/index-6o26Ihmr.js (100%) rename src/static/{app/dist/assets/index-DNNYGJNG.js => dist/WGDashboardAdmin/assets/index-B8TgNUYV.js} (98%) rename src/static/{app/dist/assets/index-BiMgJckX.js => dist/WGDashboardAdmin/assets/index-D5fbjBmH.js} (98%) rename src/static/{app/dist/assets/index-CaZlhoCi.js => dist/WGDashboardAdmin/assets/index-DEZPVeS-.js} (99%) rename src/static/{app/dist/assets/index-C4LstPme.css => dist/WGDashboardAdmin/assets/index-XjBtNnya.css} (81%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/index-n06B7r3o.css (100%) rename src/static/{app/dist/assets/localeText-IWgb3jjT.js => dist/WGDashboardAdmin/assets/localeText-BwlyH2uL.js} (76%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/message-Bh5W0B3y.css (100%) rename src/static/{app/dist/assets/message-BbMgwdPm.js => dist/WGDashboardAdmin/assets/message-DXxfTvqC.js} (84%) rename src/static/{app/dist/assets/newConfiguration-Bm1RdKiG.js => dist/WGDashboardAdmin/assets/newConfiguration-BrDKdnVB.js} (99%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/newConfiguration-oPMsqryI.css (100%) rename src/static/{app/dist/assets/osmap-C5d_TZww.js => dist/WGDashboardAdmin/assets/osmap-DPICc3dZ.js} (99%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/osmap-DZ_3lbim.css (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/peerAssignModal--_bmFbmn.css (100%) rename src/static/{app/dist/assets/peerAssignModal-TXmFT9UH.js => dist/WGDashboardAdmin/assets/peerAssignModal-BlY9USB3.js} (97%) rename src/static/{app/dist/assets/peerConfigurationFile-Brga1VzN.js => dist/WGDashboardAdmin/assets/peerConfigurationFile-CdJ_2hj_.js} (92%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/peerConfigurationFile-Z9ms5mIx.css (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/peerJobs-D_dDl936.css (100%) rename src/static/{app/dist/assets/peerJobs-D6QHckFc.js => dist/WGDashboardAdmin/assets/peerJobs-Dy2B-B5E.js} (88%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/peerList-BH1nrHD0.css (100%) rename src/static/{app/dist/assets/peerList-CoKpGl0t.js => dist/WGDashboardAdmin/assets/peerList-Bnc70xia.js} (98%) rename src/static/{app/dist/assets/peerQRCode-DY-P0WRZ.js => dist/WGDashboardAdmin/assets/peerQRCode-BuSsVfWC.js} (90%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/peerQRCode-DuWWfBch.css (100%) rename src/static/{app/dist/assets/peerSettings-CNJkZEkI.js => dist/WGDashboardAdmin/assets/peerSettings-BWazN9hG.js} (98%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/peerSettings-CSjO_Okh.css (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/peerShareLinkModal-DgDHiTOw.css (100%) rename src/static/{app/dist/assets/peerShareLinkModal-C9EC33RC.js => dist/WGDashboardAdmin/assets/peerShareLinkModal-vYd2is_h.js} (98%) rename src/static/{app/dist/assets/ping-D2r67TEy.js => dist/WGDashboardAdmin/assets/ping-BblC0zpt.js} (97%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/ping-DgbK5UF9.css (100%) rename src/static/{app/dist/assets/protocolBadge-CIPV5pRM.js => dist/WGDashboardAdmin/assets/protocolBadge-BVQE6rMK.js} (79%) rename src/static/{app/dist/assets/restoreConfiguration-Cc45Wpop.js => dist/WGDashboardAdmin/assets/restoreConfiguration-DEs2Vp9D.js} (98%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/restoreConfiguration-Go8Q_2zy.css (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/settings-CfX7xCKW.css (100%) rename src/static/{app/dist/assets/settings-DaewGhaX.js => dist/WGDashboardAdmin/assets/settings-DKCR2haZ.js} (99%) rename src/static/{app/dist/assets/setup-Bd36RYKX.js => dist/WGDashboardAdmin/assets/setup-D0XyMxzo.js} (96%) rename src/static/{app/dist/assets/share-DiWC7XJA.js => dist/WGDashboardAdmin/assets/share-D1OkSpyp.js} (95%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/share-e5E8P3Ro.css (100%) rename src/static/{app/dist/assets/signin-Dv_WT7fq.js => dist/WGDashboardAdmin/assets/signin-BSqwRvQ7.js} (98%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/signin-CC0REHXm.css (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/storageMount-Bw-_Mzzo.css (100%) rename src/static/{app/dist/assets/storageMount.vue_vue_type_style_index_0_scoped_9509d7a0_lang-W5WxuFyn.js => dist/WGDashboardAdmin/assets/storageMount.vue_vue_type_style_index_0_scoped_9509d7a0_lang-KDIKOXhL.js} (93%) rename src/static/{app/dist/assets/systemStatus-CDJI7TSf.js => dist/WGDashboardAdmin/assets/systemStatus-C9p8AMJS.js} (96%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/systemStatus-CPnafN3D.css (100%) rename src/static/{app/dist/assets/totp-DxDD7Jz9.js => dist/WGDashboardAdmin/assets/totp-CYq1d4cZ.js} (94%) rename src/static/{app/dist/assets/traceroute-CfGjFLHs.js => dist/WGDashboardAdmin/assets/traceroute-BmGBOOEH.js} (96%) rename src/static/{app/dist => dist/WGDashboardAdmin}/assets/traceroute-cPX-1ydq.css (100%) rename src/static/{app/dist/assets/vue-datepicker-COurIrvQ.js => dist/WGDashboardAdmin/assets/vue-datepicker-TsAnng-H.js} (99%) rename src/static/{app/dist => dist/WGDashboardAdmin}/img/Logo-1-128x128.png (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/img/Logo-1-256x256.png (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/img/Logo-1-384x384.png (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/img/Logo-1-512x512.png (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/img/Logo-1-Maskable-512x512.png (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/img/Logo-1-Rounded-128x128.png (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/img/Logo-1-Rounded-256x256.png (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/img/Logo-1-Rounded-384x384.png (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/img/Logo-1-Rounded-512x512.png (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/img/Logo-2-128x128.png (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/img/Logo-2-256x256.png (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/img/Logo-2-384x384.png (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/img/Logo-2-512x512.png (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/img/Logo-2-Rounded-128x128.png (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/img/Logo-2-Rounded-256x256.png (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/img/Logo-2-Rounded-384x384.png (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/img/Logo-2-Rounded-512x512.png (100%) rename src/static/{app/dist => dist/WGDashboardAdmin}/index.html (55%) rename src/static/{app/dist => dist/WGDashboardAdmin}/json/manifest.json (100%) rename src/static/{client/dist => dist/WGDashboardClient}/assets/PlusJakartaSans-Italic-VariableFont_wght-BdWtZZ8T.ttf (100%) rename src/static/{client/dist => dist/WGDashboardClient}/assets/PlusJakartaSans-VariableFont_wght-D_DSbd_K.ttf (100%) rename src/static/{client/dist => dist/WGDashboardClient}/assets/bootstrap-icons-BeopsB42.woff (100%) rename src/static/{client/dist => dist/WGDashboardClient}/assets/bootstrap-icons-mSm7cUeB.woff2 (100%) create mode 100644 src/static/dist/WGDashboardClient/assets/index-2OJLsfIF.css create mode 100644 src/static/dist/WGDashboardClient/assets/index-Dnx8i95a.js rename src/static/{client/dist => dist/WGDashboardClient}/client.html (73%) rename src/static/{client/dist => dist/WGDashboardClient}/img/Logo-1-128x128.png (100%) rename src/static/{client/dist => dist/WGDashboardClient}/img/Logo-1-256x256.png (100%) rename src/static/{client/dist => dist/WGDashboardClient}/img/Logo-1-384x384.png (100%) rename src/static/{client/dist => dist/WGDashboardClient}/img/Logo-1-512x512.png (100%) rename src/static/{client/dist => dist/WGDashboardClient}/img/Logo-1-Maskable-512x512.png (100%) rename src/static/{client/dist => dist/WGDashboardClient}/img/Logo-1-Rounded-128x128.png (100%) rename src/static/{client/dist => dist/WGDashboardClient}/img/Logo-1-Rounded-256x256.png (100%) rename src/static/{client/dist => dist/WGDashboardClient}/img/Logo-1-Rounded-384x384.png (100%) rename src/static/{client/dist => dist/WGDashboardClient}/img/Logo-1-Rounded-512x512.png (100%) rename src/static/{client/dist => dist/WGDashboardClient}/img/Logo-2-128x128.png (100%) rename src/static/{client/dist => dist/WGDashboardClient}/img/Logo-2-256x256.png (100%) rename src/static/{client/dist => dist/WGDashboardClient}/img/Logo-2-384x384.png (100%) rename src/static/{client/dist => dist/WGDashboardClient}/img/Logo-2-512x512.png (100%) rename src/static/{client/dist => dist/WGDashboardClient}/img/Logo-2-Rounded-128x128.png (100%) rename src/static/{client/dist => dist/WGDashboardClient}/img/Logo-2-Rounded-256x256.png (100%) rename src/static/{client/dist => dist/WGDashboardClient}/img/Logo-2-Rounded-384x384.png (100%) rename src/static/{client/dist => dist/WGDashboardClient}/img/Logo-2-Rounded-512x512.png (100%) diff --git a/src/dashboard.py b/src/dashboard.py index f94ef362..755eda6c 100644 --- a/src/dashboard.py +++ b/src/dashboard.py @@ -52,7 +52,7 @@ dictConfig({ SystemStatus = SystemStatus() CONFIGURATION_PATH = os.getenv('CONFIGURATION_PATH', '.') -app = Flask("WGDashboard", template_folder=os.path.abspath("./static/app/dist")) +app = Flask("WGDashboard", template_folder=os.path.abspath("./static/dist/WGDashboardAdmin")) app.config['SEND_FILE_MAX_AGE_DEFAULT'] = 5206928 app.secret_key = secrets.token_urlsafe(32) diff --git a/src/static/app/package.json b/src/static/app/package.json index a462118a..97a48dcd 100644 --- a/src/static/app/package.json +++ b/src/static/app/package.json @@ -6,7 +6,7 @@ "module": "es2022", "scripts": { "dev": "vite", - "build": "vite build", + "build": "vite build --emptyOutDir", "buildcommitpush": "./build.sh", "build electron": "vite build && vite build --mode electron && cd ../../../../WGDashboard-Desktop && /opt/homebrew/bin/npm run \"electron dist\"", "preview": "vite preview" diff --git a/src/static/app/postbuild.js b/src/static/app/postbuild.js deleted file mode 100644 index 1b1241c8..00000000 --- a/src/static/app/postbuild.js +++ /dev/null @@ -1,21 +0,0 @@ -import fs from 'fs' -import path from 'path' - -function makePathsRelative() { - const indexPath = path.join('dist', 'index.html') - - if (!fs.existsSync(indexPath)) { - console.error('index.html not found in dist folder') - return - } - - let html = fs.readFileSync(indexPath, 'utf8') - - // Handle cases where Vite already added a base path - html = html.replace(/(href|src)="\/static\/app\/dist\//g, '$1="./static/app/dist/') - - fs.writeFileSync(indexPath, html) - console.log('✅ Converted all paths to ./static/app/dist/ in index.html') -} - -makePathsRelative() \ No newline at end of file diff --git a/src/static/app/vite.config.js b/src/static/app/vite.config.js index 69f7b0b9..44fe8350 100644 --- a/src/static/app/vite.config.js +++ b/src/static/app/vite.config.js @@ -32,7 +32,7 @@ export default defineConfig(({mode}) => { } return { - base: "/static/app/dist", + base: "/static/dist/WGDashboardAdmin", plugins: [ vue(), ], @@ -50,7 +50,7 @@ export default defineConfig(({mode}) => { }, build: { target: "es2022", - outDir: 'dist', + outDir: '../dist/WGDashboardAdmin', rollupOptions: { output: { entryFileNames: `assets/[name]-[hash].js`, diff --git a/src/static/client/dist/assets/index-Cun74Xi8.js b/src/static/client/dist/assets/index-Cun74Xi8.js deleted file mode 100644 index dffa8372..00000000 --- a/src/static/client/dist/assets/index-Cun74Xi8.js +++ /dev/null @@ -1,41 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** -* @vue/shared v3.5.16 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function pl(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Fe={},Ks=[],cn=()=>{},ab=()=>!1,Wi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ml=e=>e.startsWith("onUpdate:"),nt=Object.assign,gl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},lb=Object.prototype.hasOwnProperty,De=(e,t)=>lb.call(e,t),de=Array.isArray,Ws=e=>Ur(e)==="[object Map]",tr=e=>Ur(e)==="[object Set]",Eu=e=>Ur(e)==="[object Date]",ge=e=>typeof e=="function",Je=e=>typeof e=="string",fn=e=>typeof e=="symbol",He=e=>e!==null&&typeof e=="object",_l=e=>(He(e)||ge(e))&&ge(e.then)&&ge(e.catch),bd=Object.prototype.toString,Ur=e=>bd.call(e),cb=e=>Ur(e).slice(8,-1),yd=e=>Ur(e)==="[object Object]",vl=e=>Je(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Tr=pl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Yi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ub=/-(\w)/g,jt=Yi(e=>e.replace(ub,(t,n)=>n?n.toUpperCase():"")),fb=/\B([A-Z])/g,Es=Yi(e=>e.replace(fb,"-$1").toLowerCase()),zi=Yi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Zo=Yi(e=>e?`on${zi(e)}`:""),Vn=(e,t)=>!Object.is(e,t),Ti=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Di=e=>{const t=parseFloat(e);return isNaN(t)?e:t},wd=e=>{const t=Je(e)?Number(e):NaN;return isNaN(t)?e:t};let wu;const Gi=()=>wu||(wu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ji(e){if(de(e)){const t={};for(let n=0;n{if(n){const s=n.split(hb);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ln(e){let t="";if(Je(e))t=e;else if(de(e))for(let n=0;n_s(n,t))}const Ad=e=>!!(e&&e.__v_isRef===!0),Tt=e=>Je(e)?e:e==null?"":de(e)||He(e)&&(e.toString===bd||!ge(e.toString))?Ad(e)?Tt(e.value):JSON.stringify(e,Sd,2):String(e),Sd=(e,t)=>Ad(t)?Sd(e,t.value):Ws(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[ea(s,o)+" =>"]=r,n),{})}:tr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ea(n))}:fn(t)?ea(t):He(t)&&!de(t)&&!yd(t)?String(t):t,ea=(e,t="")=>{var n;return fn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.16 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let dt;class Cd{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=dt,!t&&dt&&(this.index=(dt.scopes||(dt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(dt=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n0)return;if(Sr){let t=Sr;for(Sr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ar;){let t=Ar;for(Ar=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Pd(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Dd(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),wl(s),yb(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ja(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ld(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ld(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Pr)||(e.globalVersion=Pr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ja(e))))return;e.flags|=2;const t=e.dep,n=je,s=zt;je=e,zt=!0;try{Pd(e);const r=e.fn(e._value);(t.version===0||Vn(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{je=n,zt=s,Dd(e),e.flags&=-3}}function wl(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)wl(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function yb(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let zt=!0;const Id=[];function Tn(){Id.push(zt),zt=!1}function An(){const e=Id.pop();zt=e===void 0?!0:e}function Tu(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=je;je=void 0;try{t()}finally{je=n}}}let Pr=0;class Eb{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Tl{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!je||!zt||je===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==je)n=this.activeLink=new Eb(je,this),je.deps?(n.prevDep=je.depsTail,je.depsTail.nextDep=n,je.depsTail=n):je.deps=je.depsTail=n,Md(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=je.depsTail,n.nextDep=void 0,je.depsTail.nextDep=n,je.depsTail=n,je.deps===n&&(je.deps=s)}return n}trigger(t){this.version++,Pr++,this.notify(t)}notify(t){yl();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{El()}}}function Md(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Md(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Li=new WeakMap,ps=Symbol(""),qa=Symbol(""),Dr=Symbol("");function ht(e,t,n){if(zt&&je){let s=Li.get(e);s||Li.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Tl),r.map=s,r.key=n),r.track()}}function bn(e,t,n,s,r,o){const a=Li.get(e);if(!a){Pr++;return}const l=u=>{u&&u.trigger()};if(yl(),t==="clear")a.forEach(l);else{const u=de(e),f=u&&vl(n);if(u&&n==="length"){const h=Number(s);a.forEach((p,_)=>{(_==="length"||_===Dr||!fn(_)&&_>=h)&&l(p)})}else switch((n!==void 0||a.has(void 0))&&l(a.get(n)),f&&l(a.get(Dr)),t){case"add":u?f&&l(a.get("length")):(l(a.get(ps)),Ws(e)&&l(a.get(qa)));break;case"delete":u||(l(a.get(ps)),Ws(e)&&l(a.get(qa)));break;case"set":Ws(e)&&l(a.get(ps));break}}El()}function wb(e,t){const n=Li.get(e);return n&&n.get(t)}function Hs(e){const t=Re(e);return t===e?t:(ht(t,"iterate",Dr),Vt(e)?t:t.map(lt))}function Qi(e){return ht(e=Re(e),"iterate",Dr),e}const Tb={__proto__:null,[Symbol.iterator](){return na(this,Symbol.iterator,lt)},concat(...e){return Hs(this).concat(...e.map(t=>de(t)?Hs(t):t))},entries(){return na(this,"entries",e=>(e[1]=lt(e[1]),e))},every(e,t){return gn(this,"every",e,t,void 0,arguments)},filter(e,t){return gn(this,"filter",e,t,n=>n.map(lt),arguments)},find(e,t){return gn(this,"find",e,t,lt,arguments)},findIndex(e,t){return gn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return gn(this,"findLast",e,t,lt,arguments)},findLastIndex(e,t){return gn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return gn(this,"forEach",e,t,void 0,arguments)},includes(...e){return sa(this,"includes",e)},indexOf(...e){return sa(this,"indexOf",e)},join(e){return Hs(this).join(e)},lastIndexOf(...e){return sa(this,"lastIndexOf",e)},map(e,t){return gn(this,"map",e,t,void 0,arguments)},pop(){return gr(this,"pop")},push(...e){return gr(this,"push",e)},reduce(e,...t){return Au(this,"reduce",e,t)},reduceRight(e,...t){return Au(this,"reduceRight",e,t)},shift(){return gr(this,"shift")},some(e,t){return gn(this,"some",e,t,void 0,arguments)},splice(...e){return gr(this,"splice",e)},toReversed(){return Hs(this).toReversed()},toSorted(e){return Hs(this).toSorted(e)},toSpliced(...e){return Hs(this).toSpliced(...e)},unshift(...e){return gr(this,"unshift",e)},values(){return na(this,"values",lt)}};function na(e,t,n){const s=Qi(e),r=s[t]();return s!==e&&!Vt(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const Ab=Array.prototype;function gn(e,t,n,s,r,o){const a=Qi(e),l=a!==e&&!Vt(e),u=a[t];if(u!==Ab[t]){const p=u.apply(e,o);return l?lt(p):p}let f=n;a!==e&&(l?f=function(p,_){return n.call(this,lt(p),_,e)}:n.length>2&&(f=function(p,_){return n.call(this,p,_,e)}));const h=u.call(a,f,s);return l&&r?r(h):h}function Au(e,t,n,s){const r=Qi(e);let o=n;return r!==e&&(Vt(e)?n.length>3&&(o=function(a,l,u){return n.call(this,a,l,u,e)}):o=function(a,l,u){return n.call(this,a,lt(l),u,e)}),r[t](o,...s)}function sa(e,t,n){const s=Re(e);ht(s,"iterate",Dr);const r=s[t](...n);return(r===-1||r===!1)&&Cl(n[0])?(n[0]=Re(n[0]),s[t](...n)):r}function gr(e,t,n=[]){Tn(),yl();const s=Re(e)[t].apply(e,n);return El(),An(),s}const Sb=pl("__proto__,__v_isRef,__isVue"),kd=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(fn));function Cb(e){fn(e)||(e=String(e));const t=Re(this);return ht(t,"has",e),t.hasOwnProperty(e)}class Bd{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Mb:Ud:o?Vd:Hd).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const a=de(t);if(!r){let u;if(a&&(u=Tb[n]))return u;if(n==="hasOwnProperty")return Cb}const l=Reflect.get(t,n,Ze(t)?t:s);return(fn(n)?kd.has(n):Sb(n))||(r||ht(t,"get",n),o)?l:Ze(l)?a&&vl(n)?l:l.value:He(l)?r?qd(l):Sn(l):l}}class Fd extends Bd{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const u=jn(o);if(!Vt(s)&&!jn(s)&&(o=Re(o),s=Re(s)),!de(t)&&Ze(o)&&!Ze(s))return u?!1:(o.value=s,!0)}const a=de(t)&&vl(n)?Number(n)e,_i=e=>Reflect.getPrototypeOf(e);function $b(e,t,n){return function(...s){const r=this.__v_raw,o=Re(r),a=Ws(o),l=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,f=r[e](...s),h=n?Ka:t?Ii:lt;return!t&&ht(o,"iterate",u?qa:ps),{next(){const{value:p,done:_}=f.next();return _?{value:p,done:_}:{value:l?[h(p[0]),h(p[1])]:h(p),done:_}},[Symbol.iterator](){return this}}}}function vi(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Pb(e,t){const n={get(r){const o=this.__v_raw,a=Re(o),l=Re(r);e||(Vn(r,l)&&ht(a,"get",r),ht(a,"get",l));const{has:u}=_i(a),f=t?Ka:e?Ii:lt;if(u.call(a,r))return f(o.get(r));if(u.call(a,l))return f(o.get(l));o!==a&&o.get(r)},get size(){const r=this.__v_raw;return!e&&ht(Re(r),"iterate",ps),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,a=Re(o),l=Re(r);return e||(Vn(r,l)&&ht(a,"has",r),ht(a,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const a=this,l=a.__v_raw,u=Re(l),f=t?Ka:e?Ii:lt;return!e&&ht(u,"iterate",ps),l.forEach((h,p)=>r.call(o,f(h),f(p),a))}};return nt(n,e?{add:vi("add"),set:vi("set"),delete:vi("delete"),clear:vi("clear")}:{add(r){!t&&!Vt(r)&&!jn(r)&&(r=Re(r));const o=Re(this);return _i(o).has.call(o,r)||(o.add(r),bn(o,"add",r,r)),this},set(r,o){!t&&!Vt(o)&&!jn(o)&&(o=Re(o));const a=Re(this),{has:l,get:u}=_i(a);let f=l.call(a,r);f||(r=Re(r),f=l.call(a,r));const h=u.call(a,r);return a.set(r,o),f?Vn(o,h)&&bn(a,"set",r,o):bn(a,"add",r,o),this},delete(r){const o=Re(this),{has:a,get:l}=_i(o);let u=a.call(o,r);u||(r=Re(r),u=a.call(o,r)),l&&l.call(o,r);const f=o.delete(r);return u&&bn(o,"delete",r,void 0),f},clear(){const r=Re(this),o=r.size!==0,a=r.clear();return o&&bn(r,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=$b(r,e,t)}),n}function Al(e,t){const n=Pb(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(De(n,r)&&r in s?n:s,r,o)}const Db={get:Al(!1,!1)},Lb={get:Al(!1,!0)},Ib={get:Al(!0,!1)};const Hd=new WeakMap,Vd=new WeakMap,Ud=new WeakMap,Mb=new WeakMap;function kb(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Bb(e){return e.__v_skip||!Object.isExtensible(e)?0:kb(cb(e))}function Sn(e){return jn(e)?e:Sl(e,!1,Rb,Db,Hd)}function jd(e){return Sl(e,!1,xb,Lb,Vd)}function qd(e){return Sl(e,!0,Nb,Ib,Ud)}function Sl(e,t,n,s,r){if(!He(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=Bb(e);if(o===0)return e;const a=r.get(e);if(a)return a;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function Un(e){return jn(e)?Un(e.__v_raw):!!(e&&e.__v_isReactive)}function jn(e){return!!(e&&e.__v_isReadonly)}function Vt(e){return!!(e&&e.__v_isShallow)}function Cl(e){return e?!!e.__v_raw:!1}function Re(e){const t=e&&e.__v_raw;return t?Re(t):e}function Ol(e){return!De(e,"__v_skip")&&Object.isExtensible(e)&&Ed(e,"__v_skip",!0),e}const lt=e=>He(e)?Sn(e):e,Ii=e=>He(e)?qd(e):e;function Ze(e){return e?e.__v_isRef===!0:!1}function et(e){return Kd(e,!1)}function Fb(e){return Kd(e,!0)}function Kd(e,t){return Ze(e)?e:new Hb(e,t)}class Hb{constructor(t,n){this.dep=new Tl,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Re(t),this._value=n?t:lt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Vt(t)||jn(t);t=s?t:Re(t),Vn(t,n)&&(this._rawValue=t,this._value=s?t:lt(t),this.dep.trigger())}}function Ct(e){return Ze(e)?e.value:e}const Vb={get:(e,t,n)=>t==="__v_raw"?e:Ct(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Ze(r)&&!Ze(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Wd(e){return Un(e)?e:new Proxy(e,Vb)}function Ub(e){const t=de(e)?new Array(e.length):{};for(const n in e)t[n]=qb(e,n);return t}class jb{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return wb(Re(this._object),this._key)}}function qb(e,t,n){const s=e[t];return Ze(s)?s:new jb(e,t,n)}class Kb{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Tl(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Pr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&je!==this)return $d(this,!0),!0}get value(){const t=this.dep.track();return Ld(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Wb(e,t,n=!1){let s,r;return ge(e)?s=e:(s=e.get,r=e.set),new Kb(s,r,n)}const bi={},Mi=new WeakMap;let ds;function Yb(e,t=!1,n=ds){if(n){let s=Mi.get(n);s||Mi.set(n,s=[]),s.push(e)}}function zb(e,t,n=Fe){const{immediate:s,deep:r,once:o,scheduler:a,augmentJob:l,call:u}=n,f=U=>r?U:Vt(U)||r===!1||r===0?yn(U,1):yn(U);let h,p,_,g,E=!1,A=!1;if(Ze(e)?(p=()=>e.value,E=Vt(e)):Un(e)?(p=()=>f(e),E=!0):de(e)?(A=!0,E=e.some(U=>Un(U)||Vt(U)),p=()=>e.map(U=>{if(Ze(U))return U.value;if(Un(U))return f(U);if(ge(U))return u?u(U,2):U()})):ge(e)?t?p=u?()=>u(e,2):e:p=()=>{if(_){Tn();try{_()}finally{An()}}const U=ds;ds=h;try{return u?u(e,3,[g]):e(g)}finally{ds=U}}:p=cn,t&&r){const U=p,q=r===!0?1/0:r;p=()=>yn(U(),q)}const H=Rd(),I=()=>{h.stop(),H&&H.active&&gl(H.effects,h)};if(o&&t){const U=t;t=(...q)=>{U(...q),I()}}let F=A?new Array(e.length).fill(bi):bi;const k=U=>{if(!(!(h.flags&1)||!h.dirty&&!U))if(t){const q=h.run();if(r||E||(A?q.some((O,R)=>Vn(O,F[R])):Vn(q,F))){_&&_();const O=ds;ds=h;try{const R=[q,F===bi?void 0:A&&F[0]===bi?[]:F,g];F=q,u?u(t,3,R):t(...R)}finally{ds=O}}}else h.run()};return l&&l(k),h=new Nd(p),h.scheduler=a?()=>a(k,!1):k,g=U=>Yb(U,!1,h),_=h.onStop=()=>{const U=Mi.get(h);if(U){if(u)u(U,4);else for(const q of U)q();Mi.delete(h)}},t?s?k(!0):F=h.run():a?a(k.bind(null,!0),!0):h.run(),I.pause=h.pause.bind(h),I.resume=h.resume.bind(h),I.stop=I,I}function yn(e,t=1/0,n){if(t<=0||!He(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ze(e))yn(e.value,t,n);else if(de(e))for(let s=0;s{yn(s,t,n)});else if(yd(e)){for(const s in e)yn(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&yn(e[s],t,n)}return e}/** -* @vue/runtime-core v3.5.16 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function jr(e,t,n,s){try{return s?e(...s):e()}catch(r){qr(r,t,n)}}function Gt(e,t,n,s){if(ge(e)){const r=jr(e,t,n,s);return r&&_l(r)&&r.catch(o=>{qr(o,t,n)}),r}if(de(e)){const r=[];for(let o=0;o>>1,r=Et[s],o=Lr(r);o=Lr(n)?Et.push(e):Et.splice(Jb(t),0,e),e.flags|=1,zd()}}function zd(){ki||(ki=Yd.then(Jd))}function Wa(e){de(e)?Ys.push(...e):kn&&e.id===-1?kn.splice(js+1,0,e):e.flags&1||(Ys.push(e),e.flags|=1),zd()}function Su(e,t,n=on+1){for(;nLr(n)-Lr(s));if(Ys.length=0,kn){kn.push(...t);return}for(kn=t,js=0;jse.id==null?e.flags&2?-1:1/0:e.id;function Jd(e){try{for(on=0;on{s._d&&ku(-1);const o=Bi(t);let a;try{a=e(...r)}finally{Bi(o),s._d&&ku(1)}return a};return s._n=!0,s._c=!0,s._d=!0,s}function un(e,t){if(At===null)return e;const n=io(At),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,Bn=Symbol("_leaveCb"),yi=Symbol("_enterCb");function Zd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ws(()=>{e.isMounted=!0}),uh(()=>{e.isUnmounting=!0}),e}const Ht=[Function,Array],eh={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ht,onEnter:Ht,onAfterEnter:Ht,onEnterCancelled:Ht,onBeforeLeave:Ht,onLeave:Ht,onAfterLeave:Ht,onLeaveCancelled:Ht,onBeforeAppear:Ht,onAppear:Ht,onAfterAppear:Ht,onAppearCancelled:Ht},th=e=>{const t=e.subTree;return t.component?th(t.component):t},Xb={name:"BaseTransition",props:eh,setup(e,{slots:t}){const n=Il(),s=Zd();return()=>{const r=t.default&&Nl(t.default(),!0);if(!r||!r.length)return;const o=nh(r),a=Re(e),{mode:l}=a;if(s.isLeaving)return ra(o);const u=Cu(o);if(!u)return ra(o);let f=Ir(u,a,s,n,p=>f=p);u.type!==ct&&vs(u,f);let h=n.subTree&&Cu(n.subTree);if(h&&h.type!==ct&&!an(u,h)&&th(n).type!==ct){let p=Ir(h,a,s,n);if(vs(h,p),l==="out-in"&&u.type!==ct)return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave,h=void 0},ra(o);l==="in-out"&&u.type!==ct?p.delayLeave=(_,g,E)=>{const A=sh(s,h);A[String(h.key)]=h,_[Bn]=()=>{g(),_[Bn]=void 0,delete f.delayedLeave,h=void 0},f.delayedLeave=()=>{E(),delete f.delayedLeave,h=void 0}}:h=void 0}else h&&(h=void 0);return o}}};function nh(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ct){t=n;break}}return t}const Zb=Xb;function sh(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ir(e,t,n,s,r){const{appear:o,mode:a,persisted:l=!1,onBeforeEnter:u,onEnter:f,onAfterEnter:h,onEnterCancelled:p,onBeforeLeave:_,onLeave:g,onAfterLeave:E,onLeaveCancelled:A,onBeforeAppear:H,onAppear:I,onAfterAppear:F,onAppearCancelled:k}=t,U=String(e.key),q=sh(n,e),O=(S,L)=>{S&&Gt(S,s,9,L)},R=(S,L)=>{const M=L[1];O(S,L),de(S)?S.every(D=>D.length<=1)&&M():S.length<=1&&M()},w={mode:a,persisted:l,beforeEnter(S){let L=u;if(!n.isMounted)if(o)L=H||u;else return;S[Bn]&&S[Bn](!0);const M=q[U];M&&an(e,M)&&M.el[Bn]&&M.el[Bn](),O(L,[S])},enter(S){let L=f,M=h,D=p;if(!n.isMounted)if(o)L=I||f,M=F||h,D=k||p;else return;let z=!1;const j=S[yi]=X=>{z||(z=!0,X?O(D,[S]):O(M,[S]),w.delayedLeave&&w.delayedLeave(),S[yi]=void 0)};L?R(L,[S,j]):j()},leave(S,L){const M=String(e.key);if(S[yi]&&S[yi](!0),n.isUnmounting)return L();O(_,[S]);let D=!1;const z=S[Bn]=j=>{D||(D=!0,L(),j?O(A,[S]):O(E,[S]),S[Bn]=void 0,q[M]===e&&delete q[M])};q[M]=e,g?R(g,[S,z]):z()},clone(S){const L=Ir(S,t,n,s,r);return r&&r(L),L}};return w}function ra(e){if(Zi(e))return e=qn(e),e.children=null,e}function Cu(e){if(!Zi(e))return Xd(e.type)&&e.children?nh(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ge(n.default))return n.default()}}function vs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,vs(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Nl(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;oFi(E,t&&(de(t)?t[A]:t),n,s,r));return}if(Cr(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Fi(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?io(s.component):s.el,a=r?null:o,{i:l,r:u}=e,f=t&&t.r,h=l.refs===Fe?l.refs={}:l.refs,p=l.setupState,_=Re(p),g=p===Fe?()=>!1:E=>De(_,E);if(f!=null&&f!==u&&(Je(f)?(h[f]=null,g(f)&&(p[f]=null)):Ze(f)&&(f.value=null)),ge(u))jr(u,l,12,[a,h]);else{const E=Je(u),A=Ze(u);if(E||A){const H=()=>{if(e.f){const I=E?g(u)?p[u]:h[u]:u.value;r?de(I)&&gl(I,o):de(I)?I.includes(o)||I.push(o):E?(h[u]=[o],g(u)&&(p[u]=h[u])):(u.value=[o],e.k&&(h[e.k]=u.value))}else E?(h[u]=a,g(u)&&(p[u]=a)):A&&(u.value=a,e.k&&(h[e.k]=a))};a?(H.id=-1,It(H,n)):H()}}}Gi().requestIdleCallback;Gi().cancelIdleCallback;const Cr=e=>!!e.type.__asyncLoader,Zi=e=>e.type.__isKeepAlive;function oh(e,t){lh(e,"a",t)}function ah(e,t){lh(e,"da",t)}function lh(e,t,n=rt){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(eo(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Zi(r.parent.vnode)&&ey(s,t,n,r),r=r.parent}}function ey(e,t,n,s){const r=eo(t,e,s,!0);xl(()=>{gl(s[t],r)},n)}function eo(e,t,n=rt,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{Tn();const l=bs(n),u=Gt(t,n,e,a);return l(),An(),u});return s?r.unshift(o):r.push(o),o}}const Cn=e=>(t,n=rt)=>{(!Br||e==="sp")&&eo(e,(...s)=>t(...s),n)},ty=Cn("bm"),ws=Cn("m"),ny=Cn("bu"),ch=Cn("u"),uh=Cn("bum"),xl=Cn("um"),sy=Cn("sp"),ry=Cn("rtg"),iy=Cn("rtc");function oy(e,t=rt){eo("ec",e,t)}const fh="components";function Kr(e,t){return hh(fh,e,!0,t)||e}const dh=Symbol.for("v-ndc");function ay(e){return Je(e)?hh(fh,e,!1)||e:e||dh}function hh(e,t,n=!0,s=!1){const r=At||rt;if(r){const o=r.type;{const l=Zy(o,!1);if(l&&(l===t||l===jt(t)||l===zi(jt(t))))return o}const a=Ou(r[e]||o[e],t)||Ou(r.appContext[e],t);return!a&&s?o:a}}function Ou(e,t){return e&&(e[t]||e[jt(t)]||e[zi(jt(t))])}function to(e,t,n,s){let r;const o=n,a=de(e);if(a||Je(e)){const l=a&&Un(e);let u=!1,f=!1;l&&(u=!Vt(e),f=jn(e),e=Qi(e)),r=new Array(e.length);for(let h=0,p=e.length;ht(l,u,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let u=0,f=l.length;ue?Mh(e)?io(e):Ya(e.parent):null,Or=nt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ya(e.parent),$root:e=>Ya(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>mh(e),$forceUpdate:e=>e.f||(e.f=()=>{Rl(e.update)}),$nextTick:e=>e.n||(e.n=Xi.bind(e.proxy)),$watch:e=>Ny.bind(e)}),ia=(e,t)=>e!==Fe&&!e.__isScriptSetup&&De(e,t),ly={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:a,type:l,appContext:u}=e;let f;if(t[0]!=="$"){const g=a[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(ia(s,t))return a[t]=1,s[t];if(r!==Fe&&De(r,t))return a[t]=2,r[t];if((f=e.propsOptions[0])&&De(f,t))return a[t]=3,o[t];if(n!==Fe&&De(n,t))return a[t]=4,n[t];za&&(a[t]=0)}}const h=Or[t];let p,_;if(h)return t==="$attrs"&&ht(e.attrs,"get",""),h(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(n!==Fe&&De(n,t))return a[t]=4,n[t];if(_=u.config.globalProperties,De(_,t))return _[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return ia(r,t)?(r[t]=n,!0):s!==Fe&&De(s,t)?(s[t]=n,!0):De(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},a){let l;return!!n[a]||e!==Fe&&De(e,a)||ia(t,a)||(l=o[0])&&De(l,a)||De(s,a)||De(Or,a)||De(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:De(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ru(e){return de(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function no(e){const t=Il();let n=e();return Za(),_l(n)&&(n=n.catch(s=>{throw bs(t),s})),[n,()=>bs(t)]}let za=!0;function cy(e){const t=mh(e),n=e.proxy,s=e.ctx;za=!1,t.beforeCreate&&Nu(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:a,watch:l,provide:u,inject:f,created:h,beforeMount:p,mounted:_,beforeUpdate:g,updated:E,activated:A,deactivated:H,beforeDestroy:I,beforeUnmount:F,destroyed:k,unmounted:U,render:q,renderTracked:O,renderTriggered:R,errorCaptured:w,serverPrefetch:S,expose:L,inheritAttrs:M,components:D,directives:z,filters:j}=t;if(f&&uy(f,s,null),a)for(const Q in a){const J=a[Q];ge(J)&&(s[Q]=J.bind(n))}if(r){const Q=r.call(n,n);He(Q)&&(e.data=Sn(Q))}if(za=!0,o)for(const Q in o){const J=o[Q],ce=ge(J)?J.bind(n,n):ge(J.get)?J.get.bind(n,n):cn,ue=!ge(J)&&ge(J.set)?J.set.bind(n):cn,_e=ze({get:ce,set:ue});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>_e.value,set:be=>_e.value=be})}if(l)for(const Q in l)ph(l[Q],s,n,Q);if(u){const Q=ge(u)?u.call(n):u;Reflect.ownKeys(Q).forEach(J=>{Ai(J,Q[J])})}h&&Nu(h,e,"c");function Y(Q,J){de(J)?J.forEach(ce=>Q(ce.bind(n))):J&&Q(J.bind(n))}if(Y(ty,p),Y(ws,_),Y(ny,g),Y(ch,E),Y(oh,A),Y(ah,H),Y(oy,w),Y(iy,O),Y(ry,R),Y(uh,F),Y(xl,U),Y(sy,S),de(L))if(L.length){const Q=e.exposed||(e.exposed={});L.forEach(J=>{Object.defineProperty(Q,J,{get:()=>n[J],set:ce=>n[J]=ce})})}else e.exposed||(e.exposed={});q&&e.render===cn&&(e.render=q),M!=null&&(e.inheritAttrs=M),D&&(e.components=D),z&&(e.directives=z),S&&ih(e)}function uy(e,t,n=cn){de(e)&&(e=Ga(e));for(const s in e){const r=e[s];let o;He(r)?"default"in r?o=Mt(r.from||s,r.default,!0):o=Mt(r.from||s):o=Mt(r),Ze(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[s]=o}}function Nu(e,t,n){Gt(de(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ph(e,t,n,s){let r=s.includes(".")?Rh(n,s):()=>n[s];if(Je(e)){const o=t[e];ge(o)&&zs(r,o)}else if(ge(e))zs(r,e.bind(n));else if(He(e))if(de(e))e.forEach(o=>ph(o,t,n,s));else{const o=ge(e.handler)?e.handler.bind(n):t[e.handler];ge(o)&&zs(r,o,e)}}function mh(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,l=o.get(t);let u;return l?u=l:!r.length&&!n&&!s?u=t:(u={},r.length&&r.forEach(f=>Hi(u,f,a,!0)),Hi(u,t,a)),He(t)&&o.set(t,u),u}function Hi(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Hi(e,o,n,!0),r&&r.forEach(a=>Hi(e,a,n,!0));for(const a in t)if(!(s&&a==="expose")){const l=fy[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const fy={data:xu,props:$u,emits:$u,methods:Er,computed:Er,beforeCreate:yt,created:yt,beforeMount:yt,mounted:yt,beforeUpdate:yt,updated:yt,beforeDestroy:yt,beforeUnmount:yt,destroyed:yt,unmounted:yt,activated:yt,deactivated:yt,errorCaptured:yt,serverPrefetch:yt,components:Er,directives:Er,watch:hy,provide:xu,inject:dy};function xu(e,t){return t?e?function(){return nt(ge(e)?e.call(this,this):e,ge(t)?t.call(this,this):t)}:t:e}function dy(e,t){return Er(Ga(e),Ga(t))}function Ga(e){if(de(e)){const t={};for(let n=0;n1)return n&&ge(t)?t.call(s&&s.proxy):t}}function gy(){return!!(rt||At||ms)}const _h={},vh=()=>Object.create(_h),bh=e=>Object.getPrototypeOf(e)===_h;function _y(e,t,n,s=!1){const r={},o=vh();e.propsDefaults=Object.create(null),yh(e,t,r,o);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=s?r:jd(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function vy(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:a}}=e,l=Re(r),[u]=e.propsOptions;let f=!1;if((s||a>0)&&!(a&16)){if(a&8){const h=e.vnode.dynamicProps;for(let p=0;p{u=!0;const[_,g]=Eh(p,t,!0);nt(a,_),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!o&&!u)return He(e)&&s.set(e,Ks),Ks;if(de(o))for(let h=0;he[0]==="_"||e==="$stable",Pl=e=>de(e)?e.map(Yt):[Yt(e)],yy=(e,t,n)=>{if(t._n)return t;const s=Ot((...r)=>Pl(t(...r)),n);return s._c=!1,s},wh=(e,t,n)=>{const s=e._ctx;for(const r in e){if($l(r))continue;const o=e[r];if(ge(o))t[r]=yy(r,o,s);else if(o!=null){const a=Pl(o);t[r]=()=>a}}},Th=(e,t)=>{const n=Pl(t);e.slots.default=()=>n},Ah=(e,t,n)=>{for(const s in t)(n||!$l(s))&&(e[s]=t[s])},Ey=(e,t,n)=>{const s=e.slots=vh();if(e.vnode.shapeFlag&32){const r=t._;r?(Ah(s,t,n),n&&Ed(s,"_",r,!0)):wh(t,s)}else t&&Th(e,t)},wy=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,a=Fe;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Ah(r,t,n):(o=!t.$stable,wh(t,r)),a=t}else t&&(Th(e,t),a={default:1});if(o)for(const l in r)!$l(l)&&a[l]==null&&delete r[l]},It=Vy;function Ty(e){return Ay(e)}function Ay(e,t){const n=Gi();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:a,createText:l,createComment:u,setText:f,setElementText:h,parentNode:p,nextSibling:_,setScopeId:g=cn,insertStaticContent:E}=e,A=(v,b,C,K=null,G=null,N=null,oe=void 0,re=null,se=!!b.dynamicChildren)=>{if(v===b)return;v&&!an(v,b)&&(K=V(v),be(v,G,N,!0),v=null),b.patchFlag===-2&&(se=!1,b.dynamicChildren=null);const{type:Z,ref:he,shapeFlag:ae}=b;switch(Z){case ro:H(v,b,C,K);break;case ct:I(v,b,C,K);break;case aa:v==null&&F(b,C,K,oe);break;case wt:D(v,b,C,K,G,N,oe,re,se);break;default:ae&1?q(v,b,C,K,G,N,oe,re,se):ae&6?z(v,b,C,K,G,N,oe,re,se):(ae&64||ae&128)&&Z.process(v,b,C,K,G,N,oe,re,se,ie)}he!=null&&G&&Fi(he,v&&v.ref,N,b||v,!b)},H=(v,b,C,K)=>{if(v==null)s(b.el=l(b.children),C,K);else{const G=b.el=v.el;b.children!==v.children&&f(G,b.children)}},I=(v,b,C,K)=>{v==null?s(b.el=u(b.children||""),C,K):b.el=v.el},F=(v,b,C,K)=>{[v.el,v.anchor]=E(v.children,b,C,K,v.el,v.anchor)},k=({el:v,anchor:b},C,K)=>{let G;for(;v&&v!==b;)G=_(v),s(v,C,K),v=G;s(b,C,K)},U=({el:v,anchor:b})=>{let C;for(;v&&v!==b;)C=_(v),r(v),v=C;r(b)},q=(v,b,C,K,G,N,oe,re,se)=>{b.type==="svg"?oe="svg":b.type==="math"&&(oe="mathml"),v==null?O(b,C,K,G,N,oe,re,se):S(v,b,G,N,oe,re,se)},O=(v,b,C,K,G,N,oe,re)=>{let se,Z;const{props:he,shapeFlag:ae,transition:fe,dirs:pe}=v;if(se=v.el=a(v.type,N,he&&he.is,he),ae&8?h(se,v.children):ae&16&&w(v.children,se,null,K,G,oa(v,N),oe,re),pe&&cs(v,null,K,"created"),R(se,v,v.scopeId,oe,K),he){for(const Me in he)Me!=="value"&&!Tr(Me)&&o(se,Me,null,he[Me],N,K);"value"in he&&o(se,"value",null,he.value,N),(Z=he.onVnodeBeforeMount)&&tn(Z,K,v)}pe&&cs(v,null,K,"beforeMount");const we=Sy(G,fe);we&&fe.beforeEnter(se),s(se,b,C),((Z=he&&he.onVnodeMounted)||we||pe)&&It(()=>{Z&&tn(Z,K,v),we&&fe.enter(se),pe&&cs(v,null,K,"mounted")},G)},R=(v,b,C,K,G)=>{if(C&&g(v,C),K)for(let N=0;N{for(let Z=se;Z{const re=b.el=v.el;let{patchFlag:se,dynamicChildren:Z,dirs:he}=b;se|=v.patchFlag&16;const ae=v.props||Fe,fe=b.props||Fe;let pe;if(C&&us(C,!1),(pe=fe.onVnodeBeforeUpdate)&&tn(pe,C,b,v),he&&cs(b,v,C,"beforeUpdate"),C&&us(C,!0),(ae.innerHTML&&fe.innerHTML==null||ae.textContent&&fe.textContent==null)&&h(re,""),Z?L(v.dynamicChildren,Z,re,C,K,oa(b,G),N):oe||J(v,b,re,null,C,K,oa(b,G),N,!1),se>0){if(se&16)M(re,ae,fe,C,G);else if(se&2&&ae.class!==fe.class&&o(re,"class",null,fe.class,G),se&4&&o(re,"style",ae.style,fe.style,G),se&8){const we=b.dynamicProps;for(let Me=0;Me{pe&&tn(pe,C,b,v),he&&cs(b,v,C,"updated")},K)},L=(v,b,C,K,G,N,oe)=>{for(let re=0;re{if(b!==C){if(b!==Fe)for(const N in b)!Tr(N)&&!(N in C)&&o(v,N,b[N],null,G,K);for(const N in C){if(Tr(N))continue;const oe=C[N],re=b[N];oe!==re&&N!=="value"&&o(v,N,re,oe,G,K)}"value"in C&&o(v,"value",b.value,C.value,G)}},D=(v,b,C,K,G,N,oe,re,se)=>{const Z=b.el=v?v.el:l(""),he=b.anchor=v?v.anchor:l("");let{patchFlag:ae,dynamicChildren:fe,slotScopeIds:pe}=b;pe&&(re=re?re.concat(pe):pe),v==null?(s(Z,C,K),s(he,C,K),w(b.children||[],C,he,G,N,oe,re,se)):ae>0&&ae&64&&fe&&v.dynamicChildren?(L(v.dynamicChildren,fe,C,G,N,oe,re),(b.key!=null||G&&b===G.subTree)&&Sh(v,b,!0)):J(v,b,C,he,G,N,oe,re,se)},z=(v,b,C,K,G,N,oe,re,se)=>{b.slotScopeIds=re,v==null?b.shapeFlag&512?G.ctx.activate(b,C,K,oe,se):j(b,C,K,G,N,oe,se):X(v,b,se)},j=(v,b,C,K,G,N,oe)=>{const re=v.component=zy(v,K,G);if(Zi(v)&&(re.ctx.renderer=ie),Gy(re,!1,oe),re.asyncDep){if(G&&G.registerDep(re,Y,oe),!v.el){const se=re.subTree=Le(ct);I(null,se,b,C)}}else Y(re,v,b,C,G,N,oe)},X=(v,b,C)=>{const K=b.component=v.component;if(Iy(v,b,C))if(K.asyncDep&&!K.asyncResolved){Q(K,b,C);return}else K.next=b,K.update();else b.el=v.el,K.vnode=b},Y=(v,b,C,K,G,N,oe)=>{const re=()=>{if(v.isMounted){let{next:ae,bu:fe,u:pe,parent:we,vnode:Me}=v;{const xt=Ch(v);if(xt){ae&&(ae.el=Me.el,Q(v,ae,oe)),xt.asyncDep.then(()=>{v.isUnmounted||re()});return}}let $e=ae,mt;us(v,!1),ae?(ae.el=Me.el,Q(v,ae,oe)):ae=Me,fe&&Ti(fe),(mt=ae.props&&ae.props.onVnodeBeforeUpdate)&&tn(mt,we,ae,Me),us(v,!0);const ut=Lu(v),kt=v.subTree;v.subTree=ut,A(kt,ut,p(kt.el),V(kt),v,G,N),ae.el=ut.el,$e===null&&Dl(v,ut.el),pe&&It(pe,G),(mt=ae.props&&ae.props.onVnodeUpdated)&&It(()=>tn(mt,we,ae,Me),G)}else{let ae;const{el:fe,props:pe}=b,{bm:we,m:Me,parent:$e,root:mt,type:ut}=v,kt=Cr(b);us(v,!1),we&&Ti(we),!kt&&(ae=pe&&pe.onVnodeBeforeMount)&&tn(ae,$e,b),us(v,!0);{mt.ce&&mt.ce._injectChildStyle(ut);const xt=v.subTree=Lu(v);A(null,xt,C,K,v,G,N),b.el=xt.el}if(Me&&It(Me,G),!kt&&(ae=pe&&pe.onVnodeMounted)){const xt=b;It(()=>tn(ae,$e,xt),G)}(b.shapeFlag&256||$e&&Cr($e.vnode)&&$e.vnode.shapeFlag&256)&&v.a&&It(v.a,G),v.isMounted=!0,b=C=K=null}};v.scope.on();const se=v.effect=new Nd(re);v.scope.off();const Z=v.update=se.run.bind(se),he=v.job=se.runIfDirty.bind(se);he.i=v,he.id=v.uid,se.scheduler=()=>Rl(he),us(v,!0),Z()},Q=(v,b,C)=>{b.component=v;const K=v.vnode.props;v.vnode=b,v.next=null,vy(v,b.props,K,C),wy(v,b.children,C),Tn(),Su(v),An()},J=(v,b,C,K,G,N,oe,re,se=!1)=>{const Z=v&&v.children,he=v?v.shapeFlag:0,ae=b.children,{patchFlag:fe,shapeFlag:pe}=b;if(fe>0){if(fe&128){ue(Z,ae,C,K,G,N,oe,re,se);return}else if(fe&256){ce(Z,ae,C,K,G,N,oe,re,se);return}}pe&8?(he&16&&We(Z,G,N),ae!==Z&&h(C,ae)):he&16?pe&16?ue(Z,ae,C,K,G,N,oe,re,se):We(Z,G,N,!0):(he&8&&h(C,""),pe&16&&w(ae,C,K,G,N,oe,re,se))},ce=(v,b,C,K,G,N,oe,re,se)=>{v=v||Ks,b=b||Ks;const Z=v.length,he=b.length,ae=Math.min(Z,he);let fe;for(fe=0;fehe?We(v,G,N,!0,!1,ae):w(b,C,K,G,N,oe,re,se,ae)},ue=(v,b,C,K,G,N,oe,re,se)=>{let Z=0;const he=b.length;let ae=v.length-1,fe=he-1;for(;Z<=ae&&Z<=fe;){const pe=v[Z],we=b[Z]=se?Fn(b[Z]):Yt(b[Z]);if(an(pe,we))A(pe,we,C,null,G,N,oe,re,se);else break;Z++}for(;Z<=ae&&Z<=fe;){const pe=v[ae],we=b[fe]=se?Fn(b[fe]):Yt(b[fe]);if(an(pe,we))A(pe,we,C,null,G,N,oe,re,se);else break;ae--,fe--}if(Z>ae){if(Z<=fe){const pe=fe+1,we=pefe)for(;Z<=ae;)be(v[Z],G,N,!0),Z++;else{const pe=Z,we=Z,Me=new Map;for(Z=we;Z<=fe;Z++){const gt=b[Z]=se?Fn(b[Z]):Yt(b[Z]);gt.key!=null&&Me.set(gt.key,Z)}let $e,mt=0;const ut=fe-we+1;let kt=!1,xt=0;const Yn=new Array(ut);for(Z=0;Z=ut){be(gt,G,N,!0);continue}let it;if(gt.key!=null)it=Me.get(gt.key);else for($e=we;$e<=fe;$e++)if(Yn[$e-we]===0&&an(gt,b[$e])){it=$e;break}it===void 0?be(gt,G,N,!0):(Yn[it-we]=Z+1,it>=xt?xt=it:kt=!0,A(gt,b[it],C,null,G,N,oe,re,se),mt++)}const On=kt?Cy(Yn):Ks;for($e=On.length-1,Z=ut-1;Z>=0;Z--){const gt=we+Z,it=b[gt],zr=gt+1{const{el:N,type:oe,transition:re,children:se,shapeFlag:Z}=v;if(Z&6){_e(v.component.subTree,b,C,K);return}if(Z&128){v.suspense.move(b,C,K);return}if(Z&64){oe.move(v,b,C,ie);return}if(oe===wt){s(N,b,C);for(let ae=0;aere.enter(N),G);else{const{leave:ae,delayLeave:fe,afterLeave:pe}=re,we=()=>{v.ctx.isUnmounted?r(N):s(N,b,C)},Me=()=>{ae(N,()=>{we(),pe&&pe()})};fe?fe(N,we,Me):Me()}else s(N,b,C)},be=(v,b,C,K=!1,G=!1)=>{const{type:N,props:oe,ref:re,children:se,dynamicChildren:Z,shapeFlag:he,patchFlag:ae,dirs:fe,cacheIndex:pe}=v;if(ae===-2&&(G=!1),re!=null&&(Tn(),Fi(re,null,C,v,!0),An()),pe!=null&&(b.renderCache[pe]=void 0),he&256){b.ctx.deactivate(v);return}const we=he&1&&fe,Me=!Cr(v);let $e;if(Me&&($e=oe&&oe.onVnodeBeforeUnmount)&&tn($e,b,v),he&6)qe(v.component,C,K);else{if(he&128){v.suspense.unmount(C,K);return}we&&cs(v,null,b,"beforeUnmount"),he&64?v.type.remove(v,b,C,ie,K):Z&&!Z.hasOnce&&(N!==wt||ae>0&&ae&64)?We(Z,b,C,!1,!0):(N===wt&&ae&384||!G&&he&16)&&We(se,b,C),K&&Ne(v)}(Me&&($e=oe&&oe.onVnodeUnmounted)||we)&&It(()=>{$e&&tn($e,b,v),we&&cs(v,null,b,"unmounted")},C)},Ne=v=>{const{type:b,el:C,anchor:K,transition:G}=v;if(b===wt){Ie(C,K);return}if(b===aa){U(v);return}const N=()=>{r(C),G&&!G.persisted&&G.afterLeave&&G.afterLeave()};if(v.shapeFlag&1&&G&&!G.persisted){const{leave:oe,delayLeave:re}=G,se=()=>oe(C,N);re?re(v.el,N,se):se()}else N()},Ie=(v,b)=>{let C;for(;v!==b;)C=_(v),r(v),v=C;r(b)},qe=(v,b,C)=>{const{bum:K,scope:G,job:N,subTree:oe,um:re,m:se,a:Z,parent:he,slots:{__:ae}}=v;Du(se),Du(Z),K&&Ti(K),he&&de(ae)&&ae.forEach(fe=>{he.renderCache[fe]=void 0}),G.stop(),N&&(N.flags|=8,be(oe,v,b,C)),re&&It(re,b),It(()=>{v.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},We=(v,b,C,K=!1,G=!1,N=0)=>{for(let oe=N;oe{if(v.shapeFlag&6)return V(v.component.subTree);if(v.shapeFlag&128)return v.suspense.next();const b=_(v.anchor||v.el),C=b&&b[Qb];return C?_(C):b};let T=!1;const te=(v,b,C)=>{v==null?b._vnode&&be(b._vnode,null,null,!0):A(b._vnode||null,v,b,null,null,null,C),b._vnode=v,T||(T=!0,Su(),Gd(),T=!1)},ie={p:A,um:be,m:_e,r:Ne,mt:j,mc:w,pc:J,pbc:L,n:V,o:e};return{render:te,hydrate:void 0,createApp:my(te)}}function oa({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function us({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Sy(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Sh(e,t,n=!1){const s=e.children,r=t.children;if(de(s)&&de(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function Ch(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ch(t)}function Du(e){if(e)for(let t=0;tMt(Oy);function zs(e,t,n){return Oh(e,t,n)}function Oh(e,t,n=Fe){const{immediate:s,deep:r,flush:o,once:a}=n,l=nt({},n),u=t&&s||!t&&o!=="post";let f;if(Br){if(o==="sync"){const g=Ry();f=g.__watcherHandles||(g.__watcherHandles=[])}else if(!u){const g=()=>{};return g.stop=cn,g.resume=cn,g.pause=cn,g}}const h=rt;l.call=(g,E,A)=>Gt(g,h,E,A);let p=!1;o==="post"?l.scheduler=g=>{It(g,h&&h.suspense)}:o!=="sync"&&(p=!0,l.scheduler=(g,E)=>{E?g():Rl(g)}),l.augmentJob=g=>{t&&(g.flags|=4),p&&(g.flags|=2,h&&(g.id=h.uid,g.i=h))};const _=zb(e,t,l);return Br&&(f?f.push(_):u&&_()),_}function Ny(e,t,n){const s=this.proxy,r=Je(e)?e.includes(".")?Rh(s,e):()=>s[e]:e.bind(s,s);let o;ge(t)?o=t:(o=t.handler,n=t);const a=bs(this),l=Oh(r,o.bind(s),n);return a(),l}function Rh(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${jt(t)}Modifiers`]||e[`${Es(t)}Modifiers`];function $y(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Fe;let r=n;const o=t.startsWith("update:"),a=o&&xy(s,t.slice(7));a&&(a.trim&&(r=n.map(h=>Je(h)?h.trim():h)),a.number&&(r=n.map(Di)));let l,u=s[l=Zo(t)]||s[l=Zo(jt(t))];!u&&o&&(u=s[l=Zo(Es(t))]),u&&Gt(u,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Gt(f,e,6,r)}}function Nh(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let a={},l=!1;if(!ge(e)){const u=f=>{const h=Nh(f,t,!0);h&&(l=!0,nt(a,h))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!o&&!l?(He(e)&&s.set(e,null),null):(de(o)?o.forEach(u=>a[u]=null):nt(a,o),He(e)&&s.set(e,a),a)}function so(e,t){return!e||!Wi(t)?!1:(t=t.slice(2).replace(/Once$/,""),De(e,t[0].toLowerCase()+t.slice(1))||De(e,Es(t))||De(e,t))}function Lu(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:a,attrs:l,emit:u,render:f,renderCache:h,props:p,data:_,setupState:g,ctx:E,inheritAttrs:A}=e,H=Bi(e);let I,F;try{if(n.shapeFlag&4){const U=r||s,q=U;I=Yt(f.call(q,U,h,p,g,_,E)),F=l}else{const U=t;I=Yt(U.length>1?U(p,{attrs:l,slots:a,emit:u}):U(p,null)),F=t.props?l:Dy(l)}}catch(U){Rr.length=0,qr(U,e,1),I=Le(ct)}let k=I;if(F&&A!==!1){const U=Object.keys(F),{shapeFlag:q}=k;U.length&&q&7&&(o&&U.some(ml)&&(F=Ly(F,o)),k=qn(k,F,!1,!0))}return n.dirs&&(k=qn(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&vs(k,n.transition),I=k,Bi(H),I}function Py(e,t=!0){let n;for(let s=0;s{let t;for(const n in e)(n==="class"||n==="style"||Wi(n))&&((t||(t={}))[n]=e[n]);return t},Ly=(e,t)=>{const n={};for(const s in e)(!ml(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Iy(e,t,n){const{props:s,children:r,component:o}=e,{props:a,children:l,patchFlag:u}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?Iu(s,a,f):!!a;if(u&8){const h=t.dynamicProps;for(let p=0;pe.__isSuspense;let Qa=0;const My={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,o,a,l,u,f){if(e==null)ky(t,n,s,r,o,a,l,u,f);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}By(e,t,n,s,r,a,l,u,f)}},hydrate:Fy,normalize:Hy},$h=My;function Mr(e,t){const n=e.props&&e.props[t];ge(n)&&n()}function ky(e,t,n,s,r,o,a,l,u){const{p:f,o:{createElement:h}}=u,p=h("div"),_=e.suspense=Ph(e,r,s,t,p,n,o,a,l,u);f(null,_.pendingBranch=e.ssContent,p,null,s,_,o,a),_.deps>0?(Mr(e,"onPending"),Mr(e,"onFallback"),f(null,e.ssFallback,t,n,s,null,o,a),Gs(_,e.ssFallback)):_.resolve(!1,!0)}function By(e,t,n,s,r,o,a,l,{p:u,um:f,o:{createElement:h}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const _=t.ssContent,g=t.ssFallback,{activeBranch:E,pendingBranch:A,isInFallback:H,isHydrating:I}=p;if(A)p.pendingBranch=_,an(_,A)?(u(A,_,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0?p.resolve():H&&(I||(u(E,g,n,s,r,null,o,a,l),Gs(p,g)))):(p.pendingId=Qa++,I?(p.isHydrating=!1,p.activeBranch=A):f(A,r,p),p.deps=0,p.effects.length=0,p.hiddenContainer=h("div"),H?(u(null,_,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0?p.resolve():(u(E,g,n,s,r,null,o,a,l),Gs(p,g))):E&&an(_,E)?(u(E,_,n,s,r,p,o,a,l),p.resolve(!0)):(u(null,_,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0&&p.resolve()));else if(E&&an(_,E))u(E,_,n,s,r,p,o,a,l),Gs(p,_);else if(Mr(t,"onPending"),p.pendingBranch=_,_.shapeFlag&512?p.pendingId=_.component.suspenseId:p.pendingId=Qa++,u(null,_,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0)p.resolve();else{const{timeout:F,pendingId:k}=p;F>0?setTimeout(()=>{p.pendingId===k&&p.fallback(g)},F):F===0&&p.fallback(g)}}function Ph(e,t,n,s,r,o,a,l,u,f,h=!1){const{p,m:_,um:g,n:E,o:{parentNode:A,remove:H}}=f;let I;const F=Uy(e);F&&t&&t.pendingBranch&&(I=t.pendingId,t.deps++);const k=e.props?wd(e.props.timeout):void 0,U=o,q={vnode:e,parent:t,parentComponent:n,namespace:a,container:s,hiddenContainer:r,deps:0,pendingId:Qa++,timeout:typeof k=="number"?k:-1,activeBranch:null,pendingBranch:null,isInFallback:!h,isHydrating:h,isUnmounted:!1,effects:[],resolve(O=!1,R=!1){const{vnode:w,activeBranch:S,pendingBranch:L,pendingId:M,effects:D,parentComponent:z,container:j}=q;let X=!1;q.isHydrating?q.isHydrating=!1:O||(X=S&&L.transition&&L.transition.mode==="out-in",X&&(S.transition.afterLeave=()=>{M===q.pendingId&&(_(L,j,o===U?E(S):o,0),Wa(D))}),S&&(A(S.el)===j&&(o=E(S)),g(S,z,q,!0)),X||_(L,j,o,0)),Gs(q,L),q.pendingBranch=null,q.isInFallback=!1;let Y=q.parent,Q=!1;for(;Y;){if(Y.pendingBranch){Y.effects.push(...D),Q=!0;break}Y=Y.parent}!Q&&!X&&Wa(D),q.effects=[],F&&t&&t.pendingBranch&&I===t.pendingId&&(t.deps--,t.deps===0&&!R&&t.resolve()),Mr(w,"onResolve")},fallback(O){if(!q.pendingBranch)return;const{vnode:R,activeBranch:w,parentComponent:S,container:L,namespace:M}=q;Mr(R,"onFallback");const D=E(w),z=()=>{q.isInFallback&&(p(null,O,L,D,S,null,M,l,u),Gs(q,O))},j=O.transition&&O.transition.mode==="out-in";j&&(w.transition.afterLeave=z),q.isInFallback=!0,g(w,S,null,!0),j||z()},move(O,R,w){q.activeBranch&&_(q.activeBranch,O,R,w),q.container=O},next(){return q.activeBranch&&E(q.activeBranch)},registerDep(O,R,w){const S=!!q.pendingBranch;S&&q.deps++;const L=O.vnode.el;O.asyncDep.catch(M=>{qr(M,O,0)}).then(M=>{if(O.isUnmounted||q.isUnmounted||q.pendingId!==O.suspenseId)return;O.asyncResolved=!0;const{vnode:D}=O;el(O,M),L&&(D.el=L);const z=!L&&O.subTree.el;R(O,D,A(L||O.subTree.el),L?null:E(O.subTree),q,a,w),z&&H(z),Dl(O,D.el),S&&--q.deps===0&&q.resolve()})},unmount(O,R){q.isUnmounted=!0,q.activeBranch&&g(q.activeBranch,n,O,R),q.pendingBranch&&g(q.pendingBranch,n,O,R)}};return q}function Fy(e,t,n,s,r,o,a,l,u){const f=t.suspense=Ph(t,s,n,e.parentNode,document.createElement("div"),null,r,o,a,l,!0),h=u(e,f.pendingBranch=t.ssContent,n,f,o,a);return f.deps===0&&f.resolve(!1,!0),h}function Hy(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Mu(s?n.default:n),e.ssFallback=s?Mu(n.fallback):Le(ct)}function Mu(e){let t;if(ge(e)){const n=Js&&e._c;n&&(e._d=!1,me()),e=e(),n&&(e._d=!0,t=St,Dh())}return de(e)&&(e=Py(e)),e=Yt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Vy(e,t){t&&t.pendingBranch?de(e)?t.effects.push(...e):t.effects.push(e):Wa(e)}function Gs(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,Dl(s,r))}function Uy(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const wt=Symbol.for("v-fgt"),ro=Symbol.for("v-txt"),ct=Symbol.for("v-cmt"),aa=Symbol.for("v-stc"),Rr=[];let St=null;function me(e=!1){Rr.push(St=e?null:[])}function Dh(){Rr.pop(),St=Rr[Rr.length-1]||null}let Js=1;function ku(e,t=!1){Js+=e,e<0&&St&&t&&(St.hasOnce=!0)}function Lh(e){return e.dynamicChildren=Js>0?St||Ks:null,Dh(),Js>0&&St&&St.push(e),e}function Oe(e,t,n,s,r,o){return Lh($(e,t,n,s,r,o,!0))}function Jt(e,t,n,s,r){return Lh(Le(e,t,n,s,r,!0))}function kr(e){return e?e.__v_isVNode===!0:!1}function an(e,t){return e.type===t.type&&e.key===t.key}const Ih=({key:e})=>e??null,Si=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Je(e)||Ze(e)||ge(e)?{i:At,r:e,k:t,f:!!n}:e:null);function $(e,t=null,n=null,s=0,r=null,o=e===wt?0:1,a=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ih(t),ref:t&&Si(t),scopeId:Qd,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:At};return l?(Ll(u,n),o&128&&e.normalize(u)):n&&(u.shapeFlag|=Je(n)?8:16),Js>0&&!a&&St&&(u.patchFlag>0||o&6)&&u.patchFlag!==32&&St.push(u),u}const Le=jy;function jy(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===dh)&&(e=ct),kr(e)){const l=qn(e,t,!0);return n&&Ll(l,n),Js>0&&!o&&St&&(l.shapeFlag&6?St[St.indexOf(e)]=l:St.push(l)),l.patchFlag=-2,l}if(eE(e)&&(e=e.__vccOpts),t){t=qy(t);let{class:l,style:u}=t;l&&!Je(l)&&(t.class=ln(l)),He(u)&&(Cl(u)&&!de(u)&&(u=nt({},u)),t.style=Ji(u))}const a=Je(e)?1:xh(e)?128:Xd(e)?64:He(e)?4:ge(e)?2:0;return $(e,t,n,s,r,a,o,!0)}function qy(e){return e?Cl(e)||bh(e)?nt({},e):e:null}function qn(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:a,children:l,transition:u}=e,f=t?Ky(r||{},t):r,h={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Ih(f),ref:t&&t.ref?n&&o?de(o)?o.concat(Si(t)):[o,Si(t)]:Si(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==wt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qn(e.ssContent),ssFallback:e.ssFallback&&qn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&s&&vs(h,u.clone(h)),h}function Ye(e=" ",t=0){return Le(ro,null,e,t)}function Kn(e="",t=!1){return t?(me(),Jt(ct,null,e)):Le(ct,null,e)}function Yt(e){return e==null||typeof e=="boolean"?Le(ct):de(e)?Le(wt,null,e.slice()):kr(e)?Fn(e):Le(ro,null,String(e))}function Fn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qn(e)}function Ll(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(de(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ll(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!bh(t)?t._ctx=At:r===3&&At&&(At.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ge(t)?(t={default:t,_ctx:At},n=32):(t=String(t),s&64?(n=16,t=[Ye(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ky(...e){const t={};for(let n=0;nrt||At;let Vi,Xa;{const e=Gi(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(a=>a(o)):r[0](o)}};Vi=t("__VUE_INSTANCE_SETTERS__",n=>rt=n),Xa=t("__VUE_SSR_SETTERS__",n=>Br=n)}const bs=e=>{const t=rt;return Vi(e),e.scope.on(),()=>{e.scope.off(),Vi(t)}},Za=()=>{rt&&rt.scope.off(),Vi(null)};function Mh(e){return e.vnode.shapeFlag&4}let Br=!1;function Gy(e,t=!1,n=!1){t&&Xa(t);const{props:s,children:r}=e.vnode,o=Mh(e);_y(e,s,o,t),Ey(e,r,n||t);const a=o?Jy(e,t):void 0;return t&&Xa(!1),a}function Jy(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ly);const{setup:s}=n;if(s){Tn();const r=e.setupContext=s.length>1?Xy(e):null,o=bs(e),a=jr(s,e,0,[e.props,r]),l=_l(a);if(An(),o(),(l||e.sp)&&!Cr(e)&&ih(e),l){if(a.then(Za,Za),t)return a.then(u=>{el(e,u)}).catch(u=>{qr(u,e,0)});e.asyncDep=a}else el(e,a)}else kh(e)}function el(e,t,n){ge(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:He(t)&&(e.setupState=Wd(t)),kh(e)}function kh(e,t,n){const s=e.type;e.render||(e.render=s.render||cn);{const r=bs(e);Tn();try{cy(e)}finally{An(),r()}}}const Qy={get(e,t){return ht(e,"get",""),e[t]}};function Xy(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Qy),slots:e.slots,emit:e.emit,expose:t}}function io(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Wd(Ol(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Or)return Or[n](e)},has(t,n){return n in t||n in Or}})):e.proxy}function Zy(e,t=!0){return ge(e)?e.displayName||e.name:e.name||t&&e.__name}function eE(e){return ge(e)&&"__vccOpts"in e}const ze=(e,t)=>Wb(e,t,Br);function Ml(e,t,n){const s=arguments.length;return s===2?He(t)&&!de(t)?kr(t)?Le(e,null,[t]):Le(e,t):Le(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&kr(n)&&(n=[n]),Le(e,t,n))}const tE="3.5.16";/** -* @vue/runtime-dom v3.5.16 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let tl;const Bu=typeof window<"u"&&window.trustedTypes;if(Bu)try{tl=Bu.createPolicy("vue",{createHTML:e=>e})}catch{}const Bh=tl?e=>tl.createHTML(e):e=>e,nE="http://www.w3.org/2000/svg",sE="http://www.w3.org/1998/Math/MathML",vn=typeof document<"u"?document:null,Fu=vn&&vn.createElement("template"),rE={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?vn.createElementNS(nE,e):t==="mathml"?vn.createElementNS(sE,e):n?vn.createElement(e,{is:n}):vn.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>vn.createTextNode(e),createComment:e=>vn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>vn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const a=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Fu.innerHTML=Bh(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Fu.content;if(s==="svg"||s==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Pn="transition",_r="animation",Qs=Symbol("_vtc"),Fh={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Hh=nt({},eh,Fh),iE=e=>(e.displayName="Transition",e.props=Hh,e),oo=iE((e,{slots:t})=>Ml(Zb,Vh(e),t)),fs=(e,t=[])=>{de(e)?e.forEach(n=>n(...t)):e&&e(...t)},Hu=e=>e?de(e)?e.some(t=>t.length>1):e.length>1:!1;function Vh(e){const t={};for(const D in e)D in Fh||(t[D]=e[D]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:u=o,appearActiveClass:f=a,appearToClass:h=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,E=oE(r),A=E&&E[0],H=E&&E[1],{onBeforeEnter:I,onEnter:F,onEnterCancelled:k,onLeave:U,onLeaveCancelled:q,onBeforeAppear:O=I,onAppear:R=F,onAppearCancelled:w=k}=t,S=(D,z,j,X)=>{D._enterCancelled=X,In(D,z?h:l),In(D,z?f:a),j&&j()},L=(D,z)=>{D._isLeaving=!1,In(D,p),In(D,g),In(D,_),z&&z()},M=D=>(z,j)=>{const X=D?R:F,Y=()=>S(z,D,j);fs(X,[z,Y]),Vu(()=>{In(z,D?u:o),rn(z,D?h:l),Hu(X)||Uu(z,s,A,Y)})};return nt(t,{onBeforeEnter(D){fs(I,[D]),rn(D,o),rn(D,a)},onBeforeAppear(D){fs(O,[D]),rn(D,u),rn(D,f)},onEnter:M(!1),onAppear:M(!0),onLeave(D,z){D._isLeaving=!0;const j=()=>L(D,z);rn(D,p),D._enterCancelled?(rn(D,_),nl()):(nl(),rn(D,_)),Vu(()=>{D._isLeaving&&(In(D,p),rn(D,g),Hu(U)||Uu(D,s,H,j))}),fs(U,[D,j])},onEnterCancelled(D){S(D,!1,void 0,!0),fs(k,[D])},onAppearCancelled(D){S(D,!0,void 0,!0),fs(w,[D])},onLeaveCancelled(D){L(D),fs(q,[D])}})}function oE(e){if(e==null)return null;if(He(e))return[la(e.enter),la(e.leave)];{const t=la(e);return[t,t]}}function la(e){return wd(e)}function rn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Qs]||(e[Qs]=new Set)).add(t)}function In(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Qs];n&&(n.delete(t),n.size||(e[Qs]=void 0))}function Vu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let aE=0;function Uu(e,t,n,s){const r=e._endId=++aE,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:l,propCount:u}=Uh(e,t);if(!a)return s();const f=a+"end";let h=0;const p=()=>{e.removeEventListener(f,_),o()},_=g=>{g.target===e&&++h>=u&&p()};setTimeout(()=>{h(n[E]||"").split(", "),r=s(`${Pn}Delay`),o=s(`${Pn}Duration`),a=ju(r,o),l=s(`${_r}Delay`),u=s(`${_r}Duration`),f=ju(l,u);let h=null,p=0,_=0;t===Pn?a>0&&(h=Pn,p=a,_=o.length):t===_r?f>0&&(h=_r,p=f,_=u.length):(p=Math.max(a,f),h=p>0?a>f?Pn:_r:null,_=h?h===Pn?o.length:u.length:0);const g=h===Pn&&/\b(transform|all)(,|$)/.test(s(`${Pn}Property`).toString());return{type:h,timeout:p,propCount:_,hasTransform:g}}function ju(e,t){for(;e.lengthqu(n)+qu(e[s])))}function qu(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function nl(){return document.body.offsetHeight}function lE(e,t,n){const s=e[Qs];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ku=Symbol("_vod"),cE=Symbol("_vsh"),uE=Symbol(""),fE=/(^|;)\s*display\s*:/;function dE(e,t,n){const s=e.style,r=Je(n);let o=!1;if(n&&!r){if(t)if(Je(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();n[l]==null&&Ci(s,l,"")}else for(const a in t)n[a]==null&&Ci(s,a,"");for(const a in n)a==="display"&&(o=!0),Ci(s,a,n[a])}else if(r){if(t!==n){const a=s[uE];a&&(n+=";"+a),s.cssText=n,o=fE.test(n)}}else t&&e.removeAttribute("style");Ku in e&&(e[Ku]=o?s.display:"",e[cE]&&(s.display="none"))}const Wu=/\s*!important$/;function Ci(e,t,n){if(de(n))n.forEach(s=>Ci(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=hE(e,t);Wu.test(n)?e.setProperty(Es(s),n.replace(Wu,""),"important"):e[s]=n}}const Yu=["Webkit","Moz","ms"],ca={};function hE(e,t){const n=ca[t];if(n)return n;let s=jt(t);if(s!=="filter"&&s in e)return ca[t]=s;s=zi(s);for(let r=0;rua||(_E.then(()=>ua=0),ua=Date.now());function bE(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Gt(yE(s,n.value),t,5,[s])};return n.value=e,n.attached=vE(),n}function yE(e,t){if(de(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Zu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,EE=(e,t,n,s,r,o)=>{const a=r==="svg";t==="class"?lE(e,s,a):t==="style"?dE(e,n,s):Wi(t)?ml(t)||mE(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):wE(e,t,s,a))?(Ju(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Gu(e,t,s,a,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Je(s))?Ju(e,jt(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Gu(e,t,s,a))};function wE(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Zu(t)&&ge(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Zu(t)&&Je(n)?!1:t in e}const jh=new WeakMap,qh=new WeakMap,Ui=Symbol("_moveCb"),ef=Symbol("_enterCb"),TE=e=>(delete e.props.mode,e),AE=TE({name:"TransitionGroup",props:nt({},Hh,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Il(),s=Zd();let r,o;return ch(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!NE(r[0].el,n.vnode.el,a)){r=[];return}r.forEach(CE),r.forEach(OE);const l=r.filter(RE);nl(),l.forEach(u=>{const f=u.el,h=f.style;rn(f,a),h.transform=h.webkitTransform=h.transitionDuration="";const p=f[Ui]=_=>{_&&_.target!==f||(!_||/transform$/.test(_.propertyName))&&(f.removeEventListener("transitionend",p),f[Ui]=null,In(f,a))};f.addEventListener("transitionend",p)}),r=[]}),()=>{const a=Re(e),l=Vh(a);let u=a.tag||wt;if(r=[],o)for(let f=0;f{l.split(/\s+/).forEach(u=>u&&s.classList.remove(u))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:a}=Uh(s);return o.removeChild(s),a}const Wn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return de(t)?n=>Ti(t,n):t};function xE(e){e.target.composing=!0}function tf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ut=Symbol("_assign"),wn={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Ut]=Wn(r);const o=s||r.props&&r.props.type==="number";En(e,t?"change":"input",a=>{if(a.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=Di(l)),e[Ut](l)}),n&&En(e,"change",()=>{e.value=e.value.trim()}),t||(En(e,"compositionstart",xE),En(e,"compositionend",tf),En(e,"change",tf))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},a){if(e[Ut]=Wn(a),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Di(e.value):e.value,u=t??"";l!==u&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===u)||(e.value=u))}},$E={deep:!0,created(e,t,n){e[Ut]=Wn(n),En(e,"change",()=>{const s=e._modelValue,r=Xs(e),o=e.checked,a=e[Ut];if(de(s)){const l=bl(s,r),u=l!==-1;if(o&&!u)a(s.concat(r));else if(!o&&u){const f=[...s];f.splice(l,1),a(f)}}else if(tr(s)){const l=new Set(s);o?l.add(r):l.delete(r),a(l)}else a(Kh(e,o))})},mounted:nf,beforeUpdate(e,t,n){e[Ut]=Wn(n),nf(e,t,n)}};function nf(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if(de(t))r=bl(t,s.props.value)>-1;else if(tr(t))r=t.has(s.props.value);else{if(t===n)return;r=_s(t,Kh(e,!0))}e.checked!==r&&(e.checked=r)}const PE={created(e,{value:t},n){e.checked=_s(t,n.props.value),e[Ut]=Wn(n),En(e,"change",()=>{e[Ut](Xs(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Ut]=Wn(s),t!==n&&(e.checked=_s(t,s.props.value))}},DE={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=tr(t);En(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Di(Xs(a)):Xs(a));e[Ut](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,Xi(()=>{e._assigning=!1})}),e[Ut]=Wn(s)},mounted(e,{value:t}){sf(e,t)},beforeUpdate(e,t,n){e[Ut]=Wn(n)},updated(e,{value:t}){e._assigning||sf(e,t)}};function sf(e,t){const n=e.multiple,s=de(t);if(!(n&&!s&&!tr(t))){for(let r=0,o=e.options.length;rString(f)===String(l)):a.selected=bl(t,l)>-1}else a.selected=t.has(l);else if(_s(Xs(a),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Xs(e){return"_value"in e?e._value:e.value}function Kh(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const fa={created(e,t,n){Ei(e,t,n,null,"created")},mounted(e,t,n){Ei(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){Ei(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){Ei(e,t,n,s,"updated")}};function LE(e,t){switch(e){case"SELECT":return DE;case"TEXTAREA":return wn;default:switch(t){case"checkbox":return $E;case"radio":return PE;default:return wn}}}function Ei(e,t,n,s,r){const a=LE(e.tagName,n.props&&n.props.type)[r];a&&a(e,t,n,s)}const IE=nt({patchProp:EE},rE);let rf;function ME(){return rf||(rf=Ty(IE))}const kE=(...e)=>{const t=ME().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=FE(s);if(!r)return;const o=t._component;!ge(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const a=n(r,!1,BE(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function BE(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function FE(e){return Je(e)?document.querySelector(e):e}/*! - * pinia v3.0.2 - * (c) 2025 Eduardo San Martin Morote - * @license MIT - */let Wh;const ao=e=>Wh=e,Yh=Symbol();function sl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Nr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Nr||(Nr={}));function HE(){const e=Od(!0),t=e.run(()=>et({}));let n=[],s=[];const r=Ol({install(o){ao(r),r._a=o,o.provide(Yh,r),o.config.globalProperties.$pinia=r,s.forEach(a=>n.push(a)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const zh=()=>{};function of(e,t,n,s=zh){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&Rd()&&bb(r),r}function Vs(e,...t){e.slice().forEach(n=>{n(...t)})}const VE=e=>e(),af=Symbol(),da=Symbol();function rl(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];sl(r)&&sl(s)&&e.hasOwnProperty(n)&&!Ze(s)&&!Un(s)?e[n]=rl(r,s):e[n]=s}return e}const UE=Symbol();function jE(e){return!sl(e)||!Object.prototype.hasOwnProperty.call(e,UE)}const{assign:Mn}=Object;function qE(e){return!!(Ze(e)&&e.effect)}function KE(e,t,n,s){const{state:r,actions:o,getters:a}=t,l=n.state.value[e];let u;function f(){l||(n.state.value[e]=r?r():{});const h=Ub(n.state.value[e]);return Mn(h,o,Object.keys(a||{}).reduce((p,_)=>(p[_]=Ol(ze(()=>{ao(n);const g=n._s.get(e);return a[_].call(g,g)})),p),{}))}return u=Gh(e,f,t,n,s,!0),u}function Gh(e,t,n={},s,r,o){let a;const l=Mn({actions:{}},n),u={deep:!0};let f,h,p=[],_=[],g;const E=s.state.value[e];!o&&!E&&(s.state.value[e]={}),et({});let A;function H(w){let S;f=h=!1,typeof w=="function"?(w(s.state.value[e]),S={type:Nr.patchFunction,storeId:e,events:g}):(rl(s.state.value[e],w),S={type:Nr.patchObject,payload:w,storeId:e,events:g});const L=A=Symbol();Xi().then(()=>{A===L&&(f=!0)}),h=!0,Vs(p,S,s.state.value[e])}const I=o?function(){const{state:S}=n,L=S?S():{};this.$patch(M=>{Mn(M,L)})}:zh;function F(){a.stop(),p=[],_=[],s._s.delete(e)}const k=(w,S="")=>{if(af in w)return w[da]=S,w;const L=function(){ao(s);const M=Array.from(arguments),D=[],z=[];function j(Q){D.push(Q)}function X(Q){z.push(Q)}Vs(_,{args:M,name:L[da],store:q,after:j,onError:X});let Y;try{Y=w.apply(this&&this.$id===e?this:q,M)}catch(Q){throw Vs(z,Q),Q}return Y instanceof Promise?Y.then(Q=>(Vs(D,Q),Q)).catch(Q=>(Vs(z,Q),Promise.reject(Q))):(Vs(D,Y),Y)};return L[af]=!0,L[da]=S,L},U={_p:s,$id:e,$onAction:of.bind(null,_),$patch:H,$reset:I,$subscribe(w,S={}){const L=of(p,w,S.detached,()=>M()),M=a.run(()=>zs(()=>s.state.value[e],D=>{(S.flush==="sync"?h:f)&&w({storeId:e,type:Nr.direct,events:g},D)},Mn({},u,S)));return L},$dispose:F},q=Sn(U);s._s.set(e,q);const R=(s._a&&s._a.runWithContext||VE)(()=>s._e.run(()=>(a=Od()).run(()=>t({action:k}))));for(const w in R){const S=R[w];if(Ze(S)&&!qE(S)||Un(S))o||(E&&jE(S)&&(Ze(S)?S.value=E[w]:rl(S,E[w])),s.state.value[e][w]=S);else if(typeof S=="function"){const L=k(S,w);R[w]=L,l.actions[w]=S}}return Mn(q,R),Mn(Re(q),R),Object.defineProperty(q,"$state",{get:()=>s.state.value[e],set:w=>{H(S=>{Mn(S,w)})}}),s._p.forEach(w=>{Mn(q,a.run(()=>w({store:q,app:s._a,pinia:s,options:l})))}),E&&o&&n.hydrate&&n.hydrate(q.$state,E),f=!0,h=!0,q}/*! #__NO_SIDE_EFFECTS__ */function WE(e,t,n){let s;const r=typeof t=="function";s=r?n:t;function o(a,l){const u=gy();return a=a||(u?Mt(Yh,null):null),a&&ao(a),a=Wh,a._s.has(e)||(r?Gh(e,t,s,a):KE(e,s,a)),a._s.get(e)}return o.$id=e,o}const at=[];for(let e=0;e<256;++e)at.push((e+256).toString(16).slice(1));function YE(e,t=0){return(at[e[t+0]]+at[e[t+1]]+at[e[t+2]]+at[e[t+3]]+"-"+at[e[t+4]]+at[e[t+5]]+"-"+at[e[t+6]]+at[e[t+7]]+"-"+at[e[t+8]]+at[e[t+9]]+"-"+at[e[t+10]]+at[e[t+11]]+at[e[t+12]]+at[e[t+13]]+at[e[t+14]]+at[e[t+15]]).toLowerCase()}let ha;const zE=new Uint8Array(16);function GE(){if(!ha){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");ha=crypto.getRandomValues.bind(crypto)}return ha(zE)}const JE=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),lf={randomUUID:JE};function Jh(e,t,n){var r;if(lf.randomUUID&&!e)return lf.randomUUID();e=e||{};const s=e.random??((r=e.rng)==null?void 0:r.call(e))??GE();if(s.length<16)throw new Error("Random bytes length must be >= 16");return s[6]=s[6]&15|64,s[8]=s[8]&63|128,YE(s)}function kl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Oi={exports:{}},QE=Oi.exports,cf;function XE(){return cf||(cf=1,function(e,t){(function(n,s){e.exports=s()})(QE,function(){var n=1e3,s=6e4,r=36e5,o="millisecond",a="second",l="minute",u="hour",f="day",h="week",p="month",_="quarter",g="year",E="date",A="Invalid Date",H=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,I=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,F={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(j){var X=["th","st","nd","rd"],Y=j%100;return"["+j+(X[(Y-20)%10]||X[Y]||X[0])+"]"}},k=function(j,X,Y){var Q=String(j);return!Q||Q.length>=X?j:""+Array(X+1-Q.length).join(Y)+j},U={s:k,z:function(j){var X=-j.utcOffset(),Y=Math.abs(X),Q=Math.floor(Y/60),J=Y%60;return(X<=0?"+":"-")+k(Q,2,"0")+":"+k(J,2,"0")},m:function j(X,Y){if(X.date()1)return j(ue[0])}else{var _e=X.name;O[_e]=X,J=_e}return!Q&&J&&(q=J),J||!Q&&q},L=function(j,X){if(w(j))return j.clone();var Y=typeof X=="object"?X:{};return Y.date=j,Y.args=arguments,new D(Y)},M=U;M.l=S,M.i=w,M.w=function(j,X){return L(j,{locale:X.$L,utc:X.$u,x:X.$x,$offset:X.$offset})};var D=function(){function j(Y){this.$L=S(Y.locale,null,!0),this.parse(Y),this.$x=this.$x||Y.x||{},this[R]=!0}var X=j.prototype;return X.parse=function(Y){this.$d=function(Q){var J=Q.date,ce=Q.utc;if(J===null)return new Date(NaN);if(M.u(J))return new Date;if(J instanceof Date)return new Date(J);if(typeof J=="string"&&!/Z$/i.test(J)){var ue=J.match(H);if(ue){var _e=ue[2]-1||0,be=(ue[7]||"0").substring(0,3);return ce?new Date(Date.UTC(ue[1],_e,ue[3]||1,ue[4]||0,ue[5]||0,ue[6]||0,be)):new Date(ue[1],_e,ue[3]||1,ue[4]||0,ue[5]||0,ue[6]||0,be)}}return new Date(J)}(Y),this.init()},X.init=function(){var Y=this.$d;this.$y=Y.getFullYear(),this.$M=Y.getMonth(),this.$D=Y.getDate(),this.$W=Y.getDay(),this.$H=Y.getHours(),this.$m=Y.getMinutes(),this.$s=Y.getSeconds(),this.$ms=Y.getMilliseconds()},X.$utils=function(){return M},X.isValid=function(){return this.$d.toString()!==A},X.isSame=function(Y,Q){var J=L(Y);return this.startOf(Q)<=J&&J<=this.endOf(Q)},X.isAfter=function(Y,Q){return L(Y)t=>{const n=ew.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Xt=e=>(e=e.toLowerCase(),t=>co(t)===e),uo=e=>t=>typeof t===e,{isArray:nr}=Array,Fr=uo("undefined");function tw(e){return e!==null&&!Fr(e)&&e.constructor!==null&&!Fr(e.constructor)&&Rt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Zh=Xt("ArrayBuffer");function nw(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Zh(e.buffer),t}const sw=uo("string"),Rt=uo("function"),ep=uo("number"),fo=e=>e!==null&&typeof e=="object",rw=e=>e===!0||e===!1,Ri=e=>{if(co(e)!=="object")return!1;const t=Bl(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Xh in e)&&!(lo in e)},iw=Xt("Date"),ow=Xt("File"),aw=Xt("Blob"),lw=Xt("FileList"),cw=e=>fo(e)&&Rt(e.pipe),uw=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Rt(e.append)&&((t=co(e))==="formdata"||t==="object"&&Rt(e.toString)&&e.toString()==="[object FormData]"))},fw=Xt("URLSearchParams"),[dw,hw,pw,mw]=["ReadableStream","Request","Response","Headers"].map(Xt),gw=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Wr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),nr(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const hs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,np=e=>!Fr(e)&&e!==hs;function il(){const{caseless:e}=np(this)&&this||{},t={},n=(s,r)=>{const o=e&&tp(t,r)||r;Ri(t[o])&&Ri(s)?t[o]=il(t[o],s):Ri(s)?t[o]=il({},s):nr(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s(Wr(t,(r,o)=>{n&&Rt(r)?e[o]=Qh(r,n):e[o]=r},{allOwnKeys:s}),e),vw=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),bw=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},yw=(e,t,n,s)=>{let r,o,a;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)a=r[o],(!s||s(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&Bl(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Ew=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},ww=e=>{if(!e)return null;if(nr(e))return e;let t=e.length;if(!ep(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Tw=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Bl(Uint8Array)),Aw=(e,t)=>{const s=(e&&e[lo]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},Sw=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Cw=Xt("HTMLFormElement"),Ow=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),uf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Rw=Xt("RegExp"),sp=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Wr(n,(r,o)=>{let a;(a=t(r,o,e))!==!1&&(s[o]=a||r)}),Object.defineProperties(e,s)},Nw=e=>{sp(e,(t,n)=>{if(Rt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Rt(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},xw=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return nr(e)?s(e):s(String(e).split(t)),n},$w=()=>{},Pw=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Dw(e){return!!(e&&Rt(e.append)&&e[Xh]==="FormData"&&e[lo])}const Lw=e=>{const t=new Array(10),n=(s,r)=>{if(fo(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=nr(s)?[]:{};return Wr(s,(a,l)=>{const u=n(a,r+1);!Fr(u)&&(o[l]=u)}),t[r]=void 0,o}}return s};return n(e,0)},Iw=Xt("AsyncFunction"),Mw=e=>e&&(fo(e)||Rt(e))&&Rt(e.then)&&Rt(e.catch),rp=((e,t)=>e?setImmediate:t?((n,s)=>(hs.addEventListener("message",({source:r,data:o})=>{r===hs&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),hs.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Rt(hs.postMessage)),kw=typeof queueMicrotask<"u"?queueMicrotask.bind(hs):typeof process<"u"&&process.nextTick||rp,Bw=e=>e!=null&&Rt(e[lo]),B={isArray:nr,isArrayBuffer:Zh,isBuffer:tw,isFormData:uw,isArrayBufferView:nw,isString:sw,isNumber:ep,isBoolean:rw,isObject:fo,isPlainObject:Ri,isReadableStream:dw,isRequest:hw,isResponse:pw,isHeaders:mw,isUndefined:Fr,isDate:iw,isFile:ow,isBlob:aw,isRegExp:Rw,isFunction:Rt,isStream:cw,isURLSearchParams:fw,isTypedArray:Tw,isFileList:lw,forEach:Wr,merge:il,extend:_w,trim:gw,stripBOM:vw,inherits:bw,toFlatObject:yw,kindOf:co,kindOfTest:Xt,endsWith:Ew,toArray:ww,forEachEntry:Aw,matchAll:Sw,isHTMLForm:Cw,hasOwnProperty:uf,hasOwnProp:uf,reduceDescriptors:sp,freezeMethods:Nw,toObjectSet:xw,toCamelCase:Ow,noop:$w,toFiniteNumber:Pw,findKey:tp,global:hs,isContextDefined:np,isSpecCompliantForm:Dw,toJSONObject:Lw,isAsyncFn:Iw,isThenable:Mw,setImmediate:rp,asap:kw,isIterable:Bw};function ye(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}B.inherits(ye,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:B.toJSONObject(this.config),code:this.code,status:this.status}}});const ip=ye.prototype,op={};["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","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{op[e]={value:e}});Object.defineProperties(ye,op);Object.defineProperty(ip,"isAxiosError",{value:!0});ye.from=(e,t,n,s,r,o)=>{const a=Object.create(ip);return B.toFlatObject(e,a,function(u){return u!==Error.prototype},l=>l!=="isAxiosError"),ye.call(a,e.message,t,n,s,r),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const Fw=null;function ol(e){return B.isPlainObject(e)||B.isArray(e)}function ap(e){return B.endsWith(e,"[]")?e.slice(0,-2):e}function ff(e,t,n){return e?e.concat(t).map(function(r,o){return r=ap(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Hw(e){return B.isArray(e)&&!e.some(ol)}const Vw=B.toFlatObject(B,{},null,function(t){return/^is[A-Z]/.test(t)});function ho(e,t,n){if(!B.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=B.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(A,H){return!B.isUndefined(H[A])});const s=n.metaTokens,r=n.visitor||h,o=n.dots,a=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&B.isSpecCompliantForm(t);if(!B.isFunction(r))throw new TypeError("visitor must be a function");function f(E){if(E===null)return"";if(B.isDate(E))return E.toISOString();if(!u&&B.isBlob(E))throw new ye("Blob is not supported. Use a Buffer instead.");return B.isArrayBuffer(E)||B.isTypedArray(E)?u&&typeof Blob=="function"?new Blob([E]):Buffer.from(E):E}function h(E,A,H){let I=E;if(E&&!H&&typeof E=="object"){if(B.endsWith(A,"{}"))A=s?A:A.slice(0,-2),E=JSON.stringify(E);else if(B.isArray(E)&&Hw(E)||(B.isFileList(E)||B.endsWith(A,"[]"))&&(I=B.toArray(E)))return A=ap(A),I.forEach(function(k,U){!(B.isUndefined(k)||k===null)&&t.append(a===!0?ff([A],U,o):a===null?A:A+"[]",f(k))}),!1}return ol(E)?!0:(t.append(ff(H,A,o),f(E)),!1)}const p=[],_=Object.assign(Vw,{defaultVisitor:h,convertValue:f,isVisitable:ol});function g(E,A){if(!B.isUndefined(E)){if(p.indexOf(E)!==-1)throw Error("Circular reference detected in "+A.join("."));p.push(E),B.forEach(E,function(I,F){(!(B.isUndefined(I)||I===null)&&r.call(t,I,B.isString(F)?F.trim():F,A,_))===!0&&g(I,A?A.concat(F):[F])}),p.pop()}}if(!B.isObject(e))throw new TypeError("data must be an object");return g(e),t}function df(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Fl(e,t){this._pairs=[],e&&ho(e,this,t)}const lp=Fl.prototype;lp.append=function(t,n){this._pairs.push([t,n])};lp.toString=function(t){const n=t?function(s){return t.call(this,s,df)}:df;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Uw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function cp(e,t,n){if(!t)return e;const s=n&&n.encode||Uw;B.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(r?o=r(t,n):o=B.isURLSearchParams(t)?t.toString():new Fl(t,n).toString(s),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class hf{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){B.forEach(this.handlers,function(s){s!==null&&t(s)})}}const up={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},jw=typeof URLSearchParams<"u"?URLSearchParams:Fl,qw=typeof FormData<"u"?FormData:null,Kw=typeof Blob<"u"?Blob:null,Ww={isBrowser:!0,classes:{URLSearchParams:jw,FormData:qw,Blob:Kw},protocols:["http","https","file","blob","url","data"]},Hl=typeof window<"u"&&typeof document<"u",al=typeof navigator=="object"&&navigator||void 0,Yw=Hl&&(!al||["ReactNative","NativeScript","NS"].indexOf(al.product)<0),zw=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Gw=Hl&&window.location.href||"http://localhost",Jw=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Hl,hasStandardBrowserEnv:Yw,hasStandardBrowserWebWorkerEnv:zw,navigator:al,origin:Gw},Symbol.toStringTag,{value:"Module"})),pt={...Jw,...Ww};function Qw(e,t){return ho(e,new pt.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return pt.isNode&&B.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Xw(e){return B.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Zw(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s=n.length;return a=!a&&B.isArray(r)?r.length:a,u?(B.hasOwnProp(r,a)?r[a]=[r[a],s]:r[a]=s,!l):((!r[a]||!B.isObject(r[a]))&&(r[a]=[]),t(n,s,r[a],o)&&B.isArray(r[a])&&(r[a]=Zw(r[a])),!l)}if(B.isFormData(e)&&B.isFunction(e.entries)){const n={};return B.forEachEntry(e,(s,r)=>{t(Xw(s),r,n,0)}),n}return null}function e0(e,t,n){if(B.isString(e))try{return(t||JSON.parse)(e),B.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const Yr={transitional:up,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=B.isObject(t);if(o&&B.isHTMLForm(t)&&(t=new FormData(t)),B.isFormData(t))return r?JSON.stringify(fp(t)):t;if(B.isArrayBuffer(t)||B.isBuffer(t)||B.isStream(t)||B.isFile(t)||B.isBlob(t)||B.isReadableStream(t))return t;if(B.isArrayBufferView(t))return t.buffer;if(B.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Qw(t,this.formSerializer).toString();if((l=B.isFileList(t))||s.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return ho(l?{"files[]":t}:t,u&&new u,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),e0(t)):t}],transformResponse:[function(t){const n=this.transitional||Yr.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(B.isResponse(t)||B.isReadableStream(t))return t;if(t&&B.isString(t)&&(s&&!this.responseType||r)){const a=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?ye.from(l,ye.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:pt.classes.FormData,Blob:pt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};B.forEach(["delete","get","head","post","put","patch"],e=>{Yr.headers[e]={}});const t0=B.toObjectSet(["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"]),n0=e=>{const t={};let n,s,r;return e&&e.split(` -`).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),s=a.substring(r+1).trim(),!(!n||t[n]&&t0[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},pf=Symbol("internals");function vr(e){return e&&String(e).trim().toLowerCase()}function Ni(e){return e===!1||e==null?e:B.isArray(e)?e.map(Ni):String(e)}function s0(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const r0=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function pa(e,t,n,s,r){if(B.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!B.isString(t)){if(B.isString(s))return t.indexOf(s)!==-1;if(B.isRegExp(s))return s.test(t)}}function i0(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function o0(e,t){const n=B.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,a){return this[s].call(this,t,r,o,a)},configurable:!0})})}let Nt=class{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,u,f){const h=vr(u);if(!h)throw new Error("header name must be a non-empty string");const p=B.findKey(r,h);(!p||r[p]===void 0||f===!0||f===void 0&&r[p]!==!1)&&(r[p||u]=Ni(l))}const a=(l,u)=>B.forEach(l,(f,h)=>o(f,h,u));if(B.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(B.isString(t)&&(t=t.trim())&&!r0(t))a(n0(t),n);else if(B.isObject(t)&&B.isIterable(t)){let l={},u,f;for(const h of t){if(!B.isArray(h))throw TypeError("Object iterator must return a key-value pair");l[f=h[0]]=(u=l[f])?B.isArray(u)?[...u,h[1]]:[u,h[1]]:h[1]}a(l,n)}else t!=null&&o(n,t,s);return this}get(t,n){if(t=vr(t),t){const s=B.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return s0(r);if(B.isFunction(n))return n.call(this,r,s);if(B.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=vr(t),t){const s=B.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||pa(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(a){if(a=vr(a),a){const l=B.findKey(s,a);l&&(!n||pa(s,s[l],l,n))&&(delete s[l],r=!0)}}return B.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||pa(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return B.forEach(this,(r,o)=>{const a=B.findKey(s,o);if(a){n[a]=Ni(r),delete n[o];return}const l=t?i0(o):String(o).trim();l!==o&&delete n[o],n[l]=Ni(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return B.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&B.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[pf]=this[pf]={accessors:{}}).accessors,r=this.prototype;function o(a){const l=vr(a);s[l]||(o0(r,a),s[l]=!0)}return B.isArray(t)?t.forEach(o):o(t),this}};Nt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);B.reduceDescriptors(Nt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});B.freezeMethods(Nt);function ma(e,t){const n=this||Yr,s=t||n,r=Nt.from(s.headers);let o=s.data;return B.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function dp(e){return!!(e&&e.__CANCEL__)}function sr(e,t,n){ye.call(this,e??"canceled",ye.ERR_CANCELED,t,n),this.name="CanceledError"}B.inherits(sr,ye,{__CANCEL__:!0});function hp(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new ye("Request failed with status code "+n.status,[ye.ERR_BAD_REQUEST,ye.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function a0(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function l0(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,a;return t=t!==void 0?t:1e3,function(u){const f=Date.now(),h=s[o];a||(a=f),n[r]=u,s[r]=f;let p=o,_=0;for(;p!==r;)_+=n[p++],p=p%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),f-a{n=h,r=null,o&&(clearTimeout(o),o=null),e.apply(null,f)};return[(...f)=>{const h=Date.now(),p=h-n;p>=s?a(f,h):(r=f,o||(o=setTimeout(()=>{o=null,a(r)},s-p)))},()=>r&&a(r)]}const ji=(e,t,n=3)=>{let s=0;const r=l0(50,250);return c0(o=>{const a=o.loaded,l=o.lengthComputable?o.total:void 0,u=a-s,f=r(u),h=a<=l;s=a;const p={loaded:a,total:l,progress:l?a/l:void 0,bytes:u,rate:f||void 0,estimated:f&&l&&h?(l-a)/f:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(p)},n)},mf=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},gf=e=>(...t)=>B.asap(()=>e(...t)),u0=pt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,pt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(pt.origin),pt.navigator&&/(msie|trident)/i.test(pt.navigator.userAgent)):()=>!0,f0=pt.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const a=[e+"="+encodeURIComponent(t)];B.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),B.isString(s)&&a.push("path="+s),B.isString(r)&&a.push("domain="+r),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function d0(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function h0(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function pp(e,t,n){let s=!d0(t);return e&&(s||n==!1)?h0(e,t):t}const _f=e=>e instanceof Nt?{...e}:e;function ys(e,t){t=t||{};const n={};function s(f,h,p,_){return B.isPlainObject(f)&&B.isPlainObject(h)?B.merge.call({caseless:_},f,h):B.isPlainObject(h)?B.merge({},h):B.isArray(h)?h.slice():h}function r(f,h,p,_){if(B.isUndefined(h)){if(!B.isUndefined(f))return s(void 0,f,p,_)}else return s(f,h,p,_)}function o(f,h){if(!B.isUndefined(h))return s(void 0,h)}function a(f,h){if(B.isUndefined(h)){if(!B.isUndefined(f))return s(void 0,f)}else return s(void 0,h)}function l(f,h,p){if(p in t)return s(f,h);if(p in e)return s(void 0,f)}const u={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(f,h,p)=>r(_f(f),_f(h),p,!0)};return B.forEach(Object.keys(Object.assign({},e,t)),function(h){const p=u[h]||r,_=p(e[h],t[h],h);B.isUndefined(_)&&p!==l||(n[h]=_)}),n}const mp=e=>{const t=ys({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:a,auth:l}=t;t.headers=a=Nt.from(a),t.url=cp(pp(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let u;if(B.isFormData(n)){if(pt.hasStandardBrowserEnv||pt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((u=a.getContentType())!==!1){const[f,...h]=u?u.split(";").map(p=>p.trim()).filter(Boolean):[];a.setContentType([f||"multipart/form-data",...h].join("; "))}}if(pt.hasStandardBrowserEnv&&(s&&B.isFunction(s)&&(s=s(t)),s||s!==!1&&u0(t.url))){const f=r&&o&&f0.read(o);f&&a.set(r,f)}return t},p0=typeof XMLHttpRequest<"u",m0=p0&&function(e){return new Promise(function(n,s){const r=mp(e);let o=r.data;const a=Nt.from(r.headers).normalize();let{responseType:l,onUploadProgress:u,onDownloadProgress:f}=r,h,p,_,g,E;function A(){g&&g(),E&&E(),r.cancelToken&&r.cancelToken.unsubscribe(h),r.signal&&r.signal.removeEventListener("abort",h)}let H=new XMLHttpRequest;H.open(r.method.toUpperCase(),r.url,!0),H.timeout=r.timeout;function I(){if(!H)return;const k=Nt.from("getAllResponseHeaders"in H&&H.getAllResponseHeaders()),q={data:!l||l==="text"||l==="json"?H.responseText:H.response,status:H.status,statusText:H.statusText,headers:k,config:e,request:H};hp(function(R){n(R),A()},function(R){s(R),A()},q),H=null}"onloadend"in H?H.onloadend=I:H.onreadystatechange=function(){!H||H.readyState!==4||H.status===0&&!(H.responseURL&&H.responseURL.indexOf("file:")===0)||setTimeout(I)},H.onabort=function(){H&&(s(new ye("Request aborted",ye.ECONNABORTED,e,H)),H=null)},H.onerror=function(){s(new ye("Network Error",ye.ERR_NETWORK,e,H)),H=null},H.ontimeout=function(){let U=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const q=r.transitional||up;r.timeoutErrorMessage&&(U=r.timeoutErrorMessage),s(new ye(U,q.clarifyTimeoutError?ye.ETIMEDOUT:ye.ECONNABORTED,e,H)),H=null},o===void 0&&a.setContentType(null),"setRequestHeader"in H&&B.forEach(a.toJSON(),function(U,q){H.setRequestHeader(q,U)}),B.isUndefined(r.withCredentials)||(H.withCredentials=!!r.withCredentials),l&&l!=="json"&&(H.responseType=r.responseType),f&&([_,E]=ji(f,!0),H.addEventListener("progress",_)),u&&H.upload&&([p,g]=ji(u),H.upload.addEventListener("progress",p),H.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(h=k=>{H&&(s(!k||k.type?new sr(null,e,H):k),H.abort(),H=null)},r.cancelToken&&r.cancelToken.subscribe(h),r.signal&&(r.signal.aborted?h():r.signal.addEventListener("abort",h)));const F=a0(r.url);if(F&&pt.protocols.indexOf(F)===-1){s(new ye("Unsupported protocol "+F+":",ye.ERR_BAD_REQUEST,e));return}H.send(o||null)})},g0=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(f){if(!r){r=!0,l();const h=f instanceof Error?f:this.reason;s.abort(h instanceof ye?h:new sr(h instanceof Error?h.message:h))}};let a=t&&setTimeout(()=>{a=null,o(new ye(`timeout ${t} of ms exceeded`,ye.ETIMEDOUT))},t);const l=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(f=>{f.unsubscribe?f.unsubscribe(o):f.removeEventListener("abort",o)}),e=null)};e.forEach(f=>f.addEventListener("abort",o));const{signal:u}=s;return u.unsubscribe=()=>B.asap(l),u}},_0=function*(e,t){let n=e.byteLength;if(n{const r=v0(e,t);let o=0,a,l=u=>{a||(a=!0,s&&s(u))};return new ReadableStream({async pull(u){try{const{done:f,value:h}=await r.next();if(f){l(),u.close();return}let p=h.byteLength;if(n){let _=o+=p;n(_)}u.enqueue(new Uint8Array(h))}catch(f){throw l(f),f}},cancel(u){return l(u),r.return()}},{highWaterMark:2})},po=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",gp=po&&typeof ReadableStream=="function",y0=po&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),_p=(e,...t)=>{try{return!!e(...t)}catch{return!1}},E0=gp&&_p(()=>{let e=!1;const t=new Request(pt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),bf=64*1024,ll=gp&&_p(()=>B.isReadableStream(new Response("").body)),qi={stream:ll&&(e=>e.body)};po&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!qi[t]&&(qi[t]=B.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new ye(`Response type '${t}' is not supported`,ye.ERR_NOT_SUPPORT,s)})})})(new Response);const w0=async e=>{if(e==null)return 0;if(B.isBlob(e))return e.size;if(B.isSpecCompliantForm(e))return(await new Request(pt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(B.isArrayBufferView(e)||B.isArrayBuffer(e))return e.byteLength;if(B.isURLSearchParams(e)&&(e=e+""),B.isString(e))return(await y0(e)).byteLength},T0=async(e,t)=>{const n=B.toFiniteNumber(e.getContentLength());return n??w0(t)},A0=po&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:o,timeout:a,onDownloadProgress:l,onUploadProgress:u,responseType:f,headers:h,withCredentials:p="same-origin",fetchOptions:_}=mp(e);f=f?(f+"").toLowerCase():"text";let g=g0([r,o&&o.toAbortSignal()],a),E;const A=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let H;try{if(u&&E0&&n!=="get"&&n!=="head"&&(H=await T0(h,s))!==0){let q=new Request(t,{method:"POST",body:s,duplex:"half"}),O;if(B.isFormData(s)&&(O=q.headers.get("content-type"))&&h.setContentType(O),q.body){const[R,w]=mf(H,ji(gf(u)));s=vf(q.body,bf,R,w)}}B.isString(p)||(p=p?"include":"omit");const I="credentials"in Request.prototype;E=new Request(t,{..._,signal:g,method:n.toUpperCase(),headers:h.normalize().toJSON(),body:s,duplex:"half",credentials:I?p:void 0});let F=await fetch(E);const k=ll&&(f==="stream"||f==="response");if(ll&&(l||k&&A)){const q={};["status","statusText","headers"].forEach(S=>{q[S]=F[S]});const O=B.toFiniteNumber(F.headers.get("content-length")),[R,w]=l&&mf(O,ji(gf(l),!0))||[];F=new Response(vf(F.body,bf,R,()=>{w&&w(),A&&A()}),q)}f=f||"text";let U=await qi[B.findKey(qi,f)||"text"](F,e);return!k&&A&&A(),await new Promise((q,O)=>{hp(q,O,{data:U,headers:Nt.from(F.headers),status:F.status,statusText:F.statusText,config:e,request:E})})}catch(I){throw A&&A(),I&&I.name==="TypeError"&&/Load failed|fetch/i.test(I.message)?Object.assign(new ye("Network Error",ye.ERR_NETWORK,e,E),{cause:I.cause||I}):ye.from(I,I&&I.code,e,E)}}),cl={http:Fw,xhr:m0,fetch:A0};B.forEach(cl,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const yf=e=>`- ${e}`,S0=e=>B.isFunction(e)||e===null||e===!1,vp={getAdapter:e=>{e=B.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since : -`+o.map(yf).join(` -`):" "+yf(o[0]):"as no adapter specified";throw new ye("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return s},adapters:cl};function ga(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new sr(null,e)}function Ef(e){return ga(e),e.headers=Nt.from(e.headers),e.data=ma.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),vp.getAdapter(e.adapter||Yr.adapter)(e).then(function(s){return ga(e),s.data=ma.call(e,e.transformResponse,s),s.headers=Nt.from(s.headers),s},function(s){return dp(s)||(ga(e),s&&s.response&&(s.response.data=ma.call(e,e.transformResponse,s.response),s.response.headers=Nt.from(s.response.headers))),Promise.reject(s)})}const bp="1.9.0",mo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{mo[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const wf={};mo.transitional=function(t,n,s){function r(o,a){return"[Axios v"+bp+"] Transitional option '"+o+"'"+a+(s?". "+s:"")}return(o,a,l)=>{if(t===!1)throw new ye(r(a," has been removed"+(n?" in "+n:"")),ye.ERR_DEPRECATED);return n&&!wf[a]&&(wf[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,l):!0}};mo.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function C0(e,t,n){if(typeof e!="object")throw new ye("options must be an object",ye.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],a=t[o];if(a){const l=e[o],u=l===void 0||a(l,o,e);if(u!==!0)throw new ye("option "+o+" must be "+u,ye.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ye("Unknown option "+o,ye.ERR_BAD_OPTION)}}const xi={assertOptions:C0,validators:mo},nn=xi.validators;let gs=class{constructor(t){this.defaults=t||{},this.interceptors={request:new hf,response:new hf}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=` -`+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ys(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&xi.assertOptions(s,{silentJSONParsing:nn.transitional(nn.boolean),forcedJSONParsing:nn.transitional(nn.boolean),clarifyTimeoutError:nn.transitional(nn.boolean)},!1),r!=null&&(B.isFunction(r)?n.paramsSerializer={serialize:r}:xi.assertOptions(r,{encode:nn.function,serialize:nn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),xi.assertOptions(n,{baseUrl:nn.spelling("baseURL"),withXsrfToken:nn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&B.merge(o.common,o[n.method]);o&&B.forEach(["delete","get","head","post","put","patch","common"],E=>{delete o[E]}),n.headers=Nt.concat(a,o);const l=[];let u=!0;this.interceptors.request.forEach(function(A){typeof A.runWhen=="function"&&A.runWhen(n)===!1||(u=u&&A.synchronous,l.unshift(A.fulfilled,A.rejected))});const f=[];this.interceptors.response.forEach(function(A){f.push(A.fulfilled,A.rejected)});let h,p=0,_;if(!u){const E=[Ef.bind(this),void 0];for(E.unshift.apply(E,l),E.push.apply(E,f),_=E.length,h=Promise.resolve(n);p<_;)h=h.then(E[p++],E[p++]);return h}_=l.length;let g=n;for(p=0;p<_;){const E=l[p++],A=l[p++];try{g=E(g)}catch(H){A.call(this,H);break}}try{h=Ef.call(this,g)}catch(E){return Promise.reject(E)}for(p=0,_=f.length;p<_;)h=h.then(f[p++],f[p++]);return h}getUri(t){t=ys(this.defaults,t);const n=pp(t.baseURL,t.url,t.allowAbsoluteUrls);return cp(n,t.params,t.paramsSerializer)}};B.forEach(["delete","get","head","options"],function(t){gs.prototype[t]=function(n,s){return this.request(ys(s||{},{method:t,url:n,data:(s||{}).data}))}});B.forEach(["post","put","patch"],function(t){function n(s){return function(o,a,l){return this.request(ys(l||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}gs.prototype[t]=n(),gs.prototype[t+"Form"]=n(!0)});let O0=class yp{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const s=this;this.promise.then(r=>{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const a=new Promise(l=>{s.subscribe(l),o=l}).then(r);return a.cancel=function(){s.unsubscribe(o)},a},t(function(o,a,l){s.reason||(s.reason=new sr(o,a,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new yp(function(r){t=r}),cancel:t}}};function R0(e){return function(n){return e.apply(null,n)}}function N0(e){return B.isObject(e)&&e.isAxiosError===!0}const ul={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ul).forEach(([e,t])=>{ul[t]=e});function Ep(e){const t=new gs(e),n=Qh(gs.prototype.request,t);return B.extend(n,gs.prototype,t,{allOwnKeys:!0}),B.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Ep(ys(e,r))},n}const Ve=Ep(Yr);Ve.Axios=gs;Ve.CanceledError=sr;Ve.CancelToken=O0;Ve.isCancel=dp;Ve.VERSION=bp;Ve.toFormData=ho;Ve.AxiosError=ye;Ve.Cancel=Ve.CanceledError;Ve.all=function(t){return Promise.all(t)};Ve.spread=R0;Ve.isAxiosError=N0;Ve.mergeConfig=ys;Ve.AxiosHeaders=Nt;Ve.formToJSON=e=>fp(B.isHTMLForm(e)?new FormData(e):e);Ve.getAdapter=vp.getAdapter;Ve.HttpStatusCode=ul;Ve.default=Ve;const{Axios:bS,AxiosError:yS,CanceledError:ES,isCancel:wS,CancelToken:TS,VERSION:AS,all:SS,Cancel:CS,isAxiosError:OS,spread:RS,toFormData:NS,AxiosHeaders:xS,HttpStatusCode:$S,formToJSON:PS,getAdapter:DS,mergeConfig:LS}=Ve;/*! - * vue-router v4.5.1 - * (c) 2025 Eduardo San Martin Morote - * @license MIT - */const qs=typeof document<"u";function wp(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function x0(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&wp(e.default)}const Pe=Object.assign;function _a(e,t){const n={};for(const s in t){const r=t[s];n[s]=Qt(r)?r.map(e):e(r)}return n}const xr=()=>{},Qt=Array.isArray,Tp=/#/g,$0=/&/g,P0=/\//g,D0=/=/g,L0=/\?/g,Ap=/\+/g,I0=/%5B/g,M0=/%5D/g,Sp=/%5E/g,k0=/%60/g,Cp=/%7B/g,B0=/%7C/g,Op=/%7D/g,F0=/%20/g;function Vl(e){return encodeURI(""+e).replace(B0,"|").replace(I0,"[").replace(M0,"]")}function H0(e){return Vl(e).replace(Cp,"{").replace(Op,"}").replace(Sp,"^")}function fl(e){return Vl(e).replace(Ap,"%2B").replace(F0,"+").replace(Tp,"%23").replace($0,"%26").replace(k0,"`").replace(Cp,"{").replace(Op,"}").replace(Sp,"^")}function V0(e){return fl(e).replace(D0,"%3D")}function U0(e){return Vl(e).replace(Tp,"%23").replace(L0,"%3F")}function j0(e){return e==null?"":U0(e).replace(P0,"%2F")}function Hr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const q0=/\/$/,K0=e=>e.replace(q0,"");function va(e,t,n="/"){let s,r={},o="",a="";const l=t.indexOf("#");let u=t.indexOf("?");return l=0&&(u=-1),u>-1&&(s=t.slice(0,u),o=t.slice(u+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),a=t.slice(l,t.length)),s=G0(s??t,n),{fullPath:s+(o&&"?")+o+a,path:s,query:r,hash:Hr(a)}}function W0(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Tf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Y0(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Zs(t.matched[s],n.matched[r])&&Rp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Zs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Rp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!z0(e[n],t[n]))return!1;return!0}function z0(e,t){return Qt(e)?Af(e,t):Qt(t)?Af(t,e):e===t}function Af(e,t){return Qt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function G0(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,a,l;for(a=0;a1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(a).join("/")}const Dn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Vr;(function(e){e.pop="pop",e.push="push"})(Vr||(Vr={}));var $r;(function(e){e.back="back",e.forward="forward",e.unknown=""})($r||($r={}));function J0(e){if(!e)if(qs){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),K0(e)}const Q0=/^[^#]+#/;function X0(e,t){return e.replace(Q0,"#")+t}function Z0(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const go=()=>({left:window.scrollX,top:window.scrollY});function e1(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Z0(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Sf(e,t){return(history.state?history.state.position-t:-1)+e}const dl=new Map;function t1(e,t){dl.set(e,t)}function n1(e){const t=dl.get(e);return dl.delete(e),t}let s1=()=>location.protocol+"//"+location.host;function Np(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,u=r.slice(l);return u[0]!=="/"&&(u="/"+u),Tf(u,"")}return Tf(n,e)+s+r}function r1(e,t,n,s){let r=[],o=[],a=null;const l=({state:_})=>{const g=Np(e,location),E=n.value,A=t.value;let H=0;if(_){if(n.value=g,t.value=_,a&&a===E){a=null;return}H=A?_.position-A.position:0}else s(g);r.forEach(I=>{I(n.value,E,{delta:H,type:Vr.pop,direction:H?H>0?$r.forward:$r.back:$r.unknown})})};function u(){a=n.value}function f(_){r.push(_);const g=()=>{const E=r.indexOf(_);E>-1&&r.splice(E,1)};return o.push(g),g}function h(){const{history:_}=window;_.state&&_.replaceState(Pe({},_.state,{scroll:go()}),"")}function p(){for(const _ of o)_();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",h)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",h,{passive:!0}),{pauseListeners:u,listen:f,destroy:p}}function Cf(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?go():null}}function i1(e){const{history:t,location:n}=window,s={value:Np(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(u,f,h){const p=e.indexOf("#"),_=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+u:s1()+e+u;try{t[h?"replaceState":"pushState"](f,"",_),r.value=f}catch(g){console.error(g),n[h?"replace":"assign"](_)}}function a(u,f){const h=Pe({},t.state,Cf(r.value.back,u,r.value.forward,!0),f,{position:r.value.position});o(u,h,!0),s.value=u}function l(u,f){const h=Pe({},r.value,t.state,{forward:u,scroll:go()});o(h.current,h,!0);const p=Pe({},Cf(s.value,u,null),{position:h.position+1},f);o(u,p,!1),s.value=u}return{location:s,state:r,push:l,replace:a}}function o1(e){e=J0(e);const t=i1(e),n=r1(e,t.state,t.location,t.replace);function s(o,a=!0){a||n.pauseListeners(),history.go(o)}const r=Pe({location:"",base:e,go:s,createHref:X0.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function a1(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),o1(e)}function l1(e){return typeof e=="string"||e&&typeof e=="object"}function xp(e){return typeof e=="string"||typeof e=="symbol"}const $p=Symbol("");var Of;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Of||(Of={}));function er(e,t){return Pe(new Error,{type:e,[$p]:!0},t)}function _n(e,t){return e instanceof Error&&$p in e&&(t==null||!!(e.type&t))}const Rf="[^/]+?",c1={sensitive:!1,strict:!1,start:!0,end:!0},u1=/[.+*?^${}()[\]/\\]/g;function f1(e,t){const n=Pe({},c1,t),s=[];let r=n.start?"^":"";const o=[];for(const f of e){const h=f.length?[]:[90];n.strict&&!f.length&&(r+="/");for(let p=0;pt.length?t.length===1&&t[0]===80?1:-1:0}function Pp(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const h1={type:0,value:""},p1=/[a-zA-Z0-9_]/;function m1(e){if(!e)return[[]];if(e==="/")return[[h1]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${f}": ${g}`)}let n=0,s=n;const r=[];let o;function a(){o&&r.push(o),o=[]}let l=0,u,f="",h="";function p(){f&&(n===0?o.push({type:0,value:f}):n===1||n===2||n===3?(o.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:f,regexp:h,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),f="")}function _(){f+=u}for(;l{a(k)}:xr}function a(p){if(xp(p)){const _=s.get(p);_&&(s.delete(p),n.splice(n.indexOf(_),1),_.children.forEach(a),_.alias.forEach(a))}else{const _=n.indexOf(p);_>-1&&(n.splice(_,1),p.record.name&&s.delete(p.record.name),p.children.forEach(a),p.alias.forEach(a))}}function l(){return n}function u(p){const _=y1(p,n);n.splice(_,0,p),p.record.name&&!Pf(p)&&s.set(p.record.name,p)}function f(p,_){let g,E={},A,H;if("name"in p&&p.name){if(g=s.get(p.name),!g)throw er(1,{location:p});H=g.record.name,E=Pe(xf(_.params,g.keys.filter(k=>!k.optional).concat(g.parent?g.parent.keys.filter(k=>k.optional):[]).map(k=>k.name)),p.params&&xf(p.params,g.keys.map(k=>k.name))),A=g.stringify(E)}else if(p.path!=null)A=p.path,g=n.find(k=>k.re.test(A)),g&&(E=g.parse(A),H=g.record.name);else{if(g=_.name?s.get(_.name):n.find(k=>k.re.test(_.path)),!g)throw er(1,{location:p,currentLocation:_});H=g.record.name,E=Pe({},_.params,p.params),A=g.stringify(E)}const I=[];let F=g;for(;F;)I.unshift(F.record),F=F.parent;return{name:H,path:A,params:E,matched:I,meta:b1(I)}}e.forEach(p=>o(p));function h(){n.length=0,s.clear()}return{addRoute:o,resolve:f,removeRoute:a,clearRoutes:h,getRoutes:l,getRecordMatcher:r}}function xf(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function $f(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:v1(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function v1(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Pf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function b1(e){return e.reduce((t,n)=>Pe(t,n.meta),{})}function Df(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function y1(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Pp(e,t[o])<0?s=o:n=o+1}const r=E1(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function E1(e){let t=e;for(;t=t.parent;)if(Dp(t)&&Pp(e,t)===0)return t}function Dp({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function w1(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&fl(o)):[s&&fl(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function T1(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Qt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Lp=Symbol(""),If=Symbol(""),_o=Symbol(""),Ul=Symbol(""),hl=Symbol("");function br(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function A1(e,t,n){const s=()=>{e[t].delete(n)};xl(s),ah(s),oh(()=>{e[t].add(n)}),e[t].add(n)}function S1(e){const t=Mt(Lp,{}).value;t&&A1(t,"leaveGuards",e)}function Hn(e,t,n,s,r,o=a=>a()){const a=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,u)=>{const f=_=>{_===!1?u(er(4,{from:n,to:t})):_ instanceof Error?u(_):l1(_)?u(er(2,{from:t,to:_})):(a&&s.enterCallbacks[r]===a&&typeof _=="function"&&a.push(_),l())},h=o(()=>e.call(s&&s.instances[r],t,n,f));let p=Promise.resolve(h);e.length<3&&(p=p.then(f)),p.catch(_=>u(_))})}function ba(e,t,n,s,r=o=>o()){const o=[];for(const a of e)for(const l in a.components){let u=a.components[l];if(!(t!=="beforeRouteEnter"&&!a.instances[l]))if(wp(u)){const h=(u.__vccOpts||u)[t];h&&o.push(Hn(h,n,s,a,l,r))}else{let f=u();o.push(()=>f.then(h=>{if(!h)throw new Error(`Couldn't resolve component "${l}" at "${a.path}"`);const p=x0(h)?h.default:h;a.mods[l]=h,a.components[l]=p;const g=(p.__vccOpts||p)[t];return g&&Hn(g,n,s,a,l,r)()}))}}return o}function Mf(e){const t=Mt(_o),n=Mt(Ul),s=ze(()=>{const u=Ct(e.to);return t.resolve(u)}),r=ze(()=>{const{matched:u}=s.value,{length:f}=u,h=u[f-1],p=n.matched;if(!h||!p.length)return-1;const _=p.findIndex(Zs.bind(null,h));if(_>-1)return _;const g=kf(u[f-2]);return f>1&&kf(h)===g&&p[p.length-1].path!==g?p.findIndex(Zs.bind(null,u[f-2])):_}),o=ze(()=>r.value>-1&&x1(n.params,s.value.params)),a=ze(()=>r.value>-1&&r.value===n.matched.length-1&&Rp(n.params,s.value.params));function l(u={}){if(N1(u)){const f=t[Ct(e.replace)?"replace":"push"](Ct(e.to)).catch(xr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:s,href:ze(()=>s.value.href),isActive:o,isExactActive:a,navigate:l}}function C1(e){return e.length===1?e[0]:e}const O1=rh({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Mf,setup(e,{slots:t}){const n=Sn(Mf(e)),{options:s}=Mt(_o),r=ze(()=>({[Bf(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Bf(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&C1(t.default(n));return e.custom?o:Ml("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),R1=O1;function N1(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function x1(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Qt(r)||r.length!==s.length||s.some((o,a)=>o!==r[a]))return!1}return!0}function kf(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Bf=(e,t,n)=>e??t??n,$1=rh({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Mt(hl),r=ze(()=>e.route||s.value),o=Mt(If,0),a=ze(()=>{let f=Ct(o);const{matched:h}=r.value;let p;for(;(p=h[f])&&!p.components;)f++;return f}),l=ze(()=>r.value.matched[a.value]);Ai(If,ze(()=>a.value+1)),Ai(Lp,l),Ai(hl,r);const u=et();return zs(()=>[u.value,l.value,e.name],([f,h,p],[_,g,E])=>{h&&(h.instances[p]=f,g&&g!==h&&f&&f===_&&(h.leaveGuards.size||(h.leaveGuards=g.leaveGuards),h.updateGuards.size||(h.updateGuards=g.updateGuards))),f&&h&&(!g||!Zs(h,g)||!_)&&(h.enterCallbacks[p]||[]).forEach(A=>A(f))},{flush:"post"}),()=>{const f=r.value,h=e.name,p=l.value,_=p&&p.components[h];if(!_)return Ff(n.default,{Component:_,route:f});const g=p.props[h],E=g?g===!0?f.params:typeof g=="function"?g(f):g:null,H=Ml(_,Pe({},E,t,{onVnodeUnmounted:I=>{I.component.isUnmounted&&(p.instances[h]=null)},ref:u}));return Ff(n.default,{Component:H,route:f})||H}}});function Ff(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const P1=$1;function D1(e){const t=_1(e.routes,e),n=e.parseQuery||w1,s=e.stringifyQuery||Lf,r=e.history,o=br(),a=br(),l=br(),u=Fb(Dn);let f=Dn;qs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const h=_a.bind(null,V=>""+V),p=_a.bind(null,j0),_=_a.bind(null,Hr);function g(V,T){let te,ie;return xp(V)?(te=t.getRecordMatcher(V),ie=T):ie=V,t.addRoute(ie,te)}function E(V){const T=t.getRecordMatcher(V);T&&t.removeRoute(T)}function A(){return t.getRoutes().map(V=>V.record)}function H(V){return!!t.getRecordMatcher(V)}function I(V,T){if(T=Pe({},T||u.value),typeof V=="string"){const C=va(n,V,T.path),K=t.resolve({path:C.path},T),G=r.createHref(C.fullPath);return Pe(C,K,{params:_(K.params),hash:Hr(C.hash),redirectedFrom:void 0,href:G})}let te;if(V.path!=null)te=Pe({},V,{path:va(n,V.path,T.path).path});else{const C=Pe({},V.params);for(const K in C)C[K]==null&&delete C[K];te=Pe({},V,{params:p(C)}),T.params=p(T.params)}const ie=t.resolve(te,T),Ee=V.hash||"";ie.params=h(_(ie.params));const v=W0(s,Pe({},V,{hash:H0(Ee),path:ie.path})),b=r.createHref(v);return Pe({fullPath:v,hash:Ee,query:s===Lf?T1(V.query):V.query||{}},ie,{redirectedFrom:void 0,href:b})}function F(V){return typeof V=="string"?va(n,V,u.value.path):Pe({},V)}function k(V,T){if(f!==V)return er(8,{from:T,to:V})}function U(V){return R(V)}function q(V){return U(Pe(F(V),{replace:!0}))}function O(V){const T=V.matched[V.matched.length-1];if(T&&T.redirect){const{redirect:te}=T;let ie=typeof te=="function"?te(V):te;return typeof ie=="string"&&(ie=ie.includes("?")||ie.includes("#")?ie=F(ie):{path:ie},ie.params={}),Pe({query:V.query,hash:V.hash,params:ie.path!=null?{}:V.params},ie)}}function R(V,T){const te=f=I(V),ie=u.value,Ee=V.state,v=V.force,b=V.replace===!0,C=O(te);if(C)return R(Pe(F(C),{state:typeof C=="object"?Pe({},Ee,C.state):Ee,force:v,replace:b}),T||te);const K=te;K.redirectedFrom=T;let G;return!v&&Y0(s,ie,te)&&(G=er(16,{to:K,from:ie}),_e(ie,ie,!0,!1)),(G?Promise.resolve(G):L(K,ie)).catch(N=>_n(N)?_n(N,2)?N:ue(N):J(N,K,ie)).then(N=>{if(N){if(_n(N,2))return R(Pe({replace:b},F(N.to),{state:typeof N.to=="object"?Pe({},Ee,N.to.state):Ee,force:v}),T||K)}else N=D(K,ie,!0,b,Ee);return M(K,ie,N),N})}function w(V,T){const te=k(V,T);return te?Promise.reject(te):Promise.resolve()}function S(V){const T=Ie.values().next().value;return T&&typeof T.runWithContext=="function"?T.runWithContext(V):V()}function L(V,T){let te;const[ie,Ee,v]=L1(V,T);te=ba(ie.reverse(),"beforeRouteLeave",V,T);for(const C of ie)C.leaveGuards.forEach(K=>{te.push(Hn(K,V,T))});const b=w.bind(null,V,T);return te.push(b),We(te).then(()=>{te=[];for(const C of o.list())te.push(Hn(C,V,T));return te.push(b),We(te)}).then(()=>{te=ba(Ee,"beforeRouteUpdate",V,T);for(const C of Ee)C.updateGuards.forEach(K=>{te.push(Hn(K,V,T))});return te.push(b),We(te)}).then(()=>{te=[];for(const C of v)if(C.beforeEnter)if(Qt(C.beforeEnter))for(const K of C.beforeEnter)te.push(Hn(K,V,T));else te.push(Hn(C.beforeEnter,V,T));return te.push(b),We(te)}).then(()=>(V.matched.forEach(C=>C.enterCallbacks={}),te=ba(v,"beforeRouteEnter",V,T,S),te.push(b),We(te))).then(()=>{te=[];for(const C of a.list())te.push(Hn(C,V,T));return te.push(b),We(te)}).catch(C=>_n(C,8)?C:Promise.reject(C))}function M(V,T,te){l.list().forEach(ie=>S(()=>ie(V,T,te)))}function D(V,T,te,ie,Ee){const v=k(V,T);if(v)return v;const b=T===Dn,C=qs?history.state:{};te&&(ie||b?r.replace(V.fullPath,Pe({scroll:b&&C&&C.scroll},Ee)):r.push(V.fullPath,Ee)),u.value=V,_e(V,T,te,b),ue()}let z;function j(){z||(z=r.listen((V,T,te)=>{if(!qe.listening)return;const ie=I(V),Ee=O(ie);if(Ee){R(Pe(Ee,{replace:!0,force:!0}),ie).catch(xr);return}f=ie;const v=u.value;qs&&t1(Sf(v.fullPath,te.delta),go()),L(ie,v).catch(b=>_n(b,12)?b:_n(b,2)?(R(Pe(F(b.to),{force:!0}),ie).then(C=>{_n(C,20)&&!te.delta&&te.type===Vr.pop&&r.go(-1,!1)}).catch(xr),Promise.reject()):(te.delta&&r.go(-te.delta,!1),J(b,ie,v))).then(b=>{b=b||D(ie,v,!1),b&&(te.delta&&!_n(b,8)?r.go(-te.delta,!1):te.type===Vr.pop&&_n(b,20)&&r.go(-1,!1)),M(ie,v,b)}).catch(xr)}))}let X=br(),Y=br(),Q;function J(V,T,te){ue(V);const ie=Y.list();return ie.length?ie.forEach(Ee=>Ee(V,T,te)):console.error(V),Promise.reject(V)}function ce(){return Q&&u.value!==Dn?Promise.resolve():new Promise((V,T)=>{X.add([V,T])})}function ue(V){return Q||(Q=!V,j(),X.list().forEach(([T,te])=>V?te(V):T()),X.reset()),V}function _e(V,T,te,ie){const{scrollBehavior:Ee}=e;if(!qs||!Ee)return Promise.resolve();const v=!te&&n1(Sf(V.fullPath,0))||(ie||!te)&&history.state&&history.state.scroll||null;return Xi().then(()=>Ee(V,T,v)).then(b=>b&&e1(b)).catch(b=>J(b,V,T))}const be=V=>r.go(V);let Ne;const Ie=new Set,qe={currentRoute:u,listening:!0,addRoute:g,removeRoute:E,clearRoutes:t.clearRoutes,hasRoute:H,getRoutes:A,resolve:I,options:e,push:U,replace:q,go:be,back:()=>be(-1),forward:()=>be(1),beforeEach:o.add,beforeResolve:a.add,afterEach:l.add,onError:Y.add,isReady:ce,install(V){const T=this;V.component("RouterLink",R1),V.component("RouterView",P1),V.config.globalProperties.$router=T,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>Ct(u)}),qs&&!Ne&&u.value===Dn&&(Ne=!0,U(r.location).catch(Ee=>{}));const te={};for(const Ee in Dn)Object.defineProperty(te,Ee,{get:()=>u.value[Ee],enumerable:!0});V.provide(_o,T),V.provide(Ul,jd(te)),V.provide(hl,u);const ie=V.unmount;Ie.add(V),V.unmount=function(){Ie.delete(V),Ie.size<1&&(f=Dn,z&&z(),z=null,u.value=Dn,Ne=!1,Q=!1),ie()}}};function We(V){return V.reduce((T,te)=>T.then(()=>S(te)),Promise.resolve())}return qe}function L1(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;aZs(f,l))?s.push(l):n.push(l));const u=e.matched[a];u&&(t.matched.find(f=>Zs(f,u))||r.push(u))}return[n,s,r]}function jl(){return Mt(_o)}function I1(e){return Mt(Ul)}const rr=e=>`${window.location.protocol}//${(window.location.host+window.location.pathname+e).replace(/\/\//g,"/")}`,vo=async(e,t={})=>{try{return(await Ve.post(rr(e),t)).data}catch(n){console.log(n);return}},Ki=async(e,t={})=>{try{return(await Ve.get(rr(e),t)).data}catch(n){console.log(n);return}},dn=WE("clientStore",{state:()=>({serverInformation:{},notifications:[],configurations:[],clientProfile:{Email:"",SignInMethod:"",Profile:{}}}),actions:{newNotification(e,t){this.notifications.push({id:Jh().toString(),status:t,content:e,time:wr(),show:!0})},async getClientProfile(){const e=await Ki("/api/settings/getClientProfile");e?this.clientProfile=e.data:this.newNotification("Failed to fetch client profile","danger")},async getConfigurations(){const e=await Ki("/api/configurations");e?this.configurations=e.data:this.newNotification("Failed to fetch configurations","danger")}}}),ir=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},M1={class:"card-body"},k1={class:"d-flex align-items-center mb-2"},B1={class:"ms-auto"},F1={class:"fw-medium"},H1={__name:"notification",props:{notificationData:{id:"",show:!0,content:"",time:"",status:""}},setup(e){const t=e;let n;const s=()=>{t.notificationData.show=!0,n=setTimeout(()=>{o()},5e3)},r=()=>clearTimeout(n),o=()=>t.notificationData.show=!1;return ws(()=>{s()}),(a,l)=>(me(),Oe("div",{onMouseenter:l[1]||(l[1]=u=>r()),onMouseleave:l[2]||(l[2]=u=>e.notificationData.show?s():void 0),class:ln([{"text-bg-success":e.notificationData.status==="success","text-bg-warning":e.notificationData.status==="warning","text-bg-danger":e.notificationData.status==="danger"},"card shadow rounded-3 position-relative message ms-auto notification"])},[$("div",M1,[$("div",k1,[$("small",null,Tt(e.notificationData.time.format("hh:mm A")),1),$("small",B1,[$("a",{role:"button",onClick:l[0]||(l[0]=u=>o())},l[3]||(l[3]=[Ye(" Dismiss"),$("i",{class:"bi bi-x-lg ms-2"},null,-1)]))])]),$("span",F1,Tt(e.notificationData.content),1)])],34))}},V1=ir(H1,[["__scopeId","data-v-3303bfcd"]]),U1={class:"messageCentre text-body position-absolute d-flex"},j1={__name:"notificationList",setup(e){const t=dn(),n=ze(()=>t.notifications.filter(s=>s.show).slice().reverse());return(s,r)=>(me(),Oe("div",U1,[Le(SE,{name:"message",tag:"div",class:"position-relative flex-sm-grow-0 flex-grow-1 d-flex align-items-end ms-sm-auto flex-column gap-2"},{default:Ot(()=>[(me(!0),Oe(wt,null,to(n.value,o=>(me(),Jt(V1,{notificationData:o,key:o.id},null,8,["notificationData"]))),128))]),_:1})]))}},q1=ir(j1,[["__scopeId","data-v-e4fed80c"]]),K1={"data-bs-theme":"dark",class:"text-body bg-body vw-100 vh-100 bg-body-tertiary"},W1={class:"d-flex vh-100 vw-100 p-sm-4 overflow-y-scroll"},Y1={class:"mx-auto my-sm-auto position-relative",id:"listContainer",style:{width:"700px"}},z1={__name:"App",setup(e){const t=dn();return fetch("/client/api/serverInformation").then(n=>n.json()).then(n=>t.serverInformation=n.data),(n,s)=>{const r=Kr("RouterView");return me(),Oe("div",K1,[$("div",W1,[$("div",Y1,[(me(),Jt($h,null,{default:Ot(()=>[Le(r,null,{default:Ot(({Component:o})=>[Le(oo,{name:"app",type:"transition",mode:"out-in"},{default:Ot(()=>[(me(),Jt(ay(o)))]),_:2},1024)]),_:1})]),_:1}))])]),Le(q1)])}}},G1=ir(z1,[["__scopeId","data-v-8742499d"]]);var Us={},ya,Hf;function J1(){return Hf||(Hf=1,ya=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),ya}var Ea={},Ln={},Vf;function Ts(){if(Vf)return Ln;Vf=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return Ln.getSymbolSize=function(s){if(!s)throw new Error('"version" cannot be null or undefined');if(s<1||s>40)throw new Error('"version" should be in range from 1 to 40');return s*4+17},Ln.getSymbolTotalCodewords=function(s){return t[s]},Ln.getBCHDigit=function(n){let s=0;for(;n!==0;)s++,n>>>=1;return s},Ln.setToSJISFunction=function(s){if(typeof s!="function")throw new Error('"toSJISFunc" is not a valid function.');e=s},Ln.isKanjiModeEnabled=function(){return typeof e<"u"},Ln.toSJIS=function(s){return e(s)},Ln}var wa={},Uf;function ql(){return Uf||(Uf=1,function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(s){return s&&typeof s.bit<"u"&&s.bit>=0&&s.bit<4},e.from=function(s,r){if(e.isValid(s))return s;try{return t(s)}catch{return r}}}(wa)),wa}var Ta,jf;function Q1(){if(jf)return Ta;jf=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const n=Math.floor(t/8);return(this.buffer[n]>>>7-t%8&1)===1},put:function(t,n){for(let s=0;s>>n-s-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),t&&(this.buffer[n]|=128>>>this.length%8),this.length++}},Ta=e,Ta}var Aa,qf;function X1(){if(qf)return Aa;qf=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,n,s,r){const o=t*this.size+n;this.data[o]=s,r&&(this.reservedBit[o]=!0)},e.prototype.get=function(t,n){return this.data[t*this.size+n]},e.prototype.xor=function(t,n,s){this.data[t*this.size+n]^=s},e.prototype.isReserved=function(t,n){return this.reservedBit[t*this.size+n]},Aa=e,Aa}var Sa={},Kf;function Z1(){return Kf||(Kf=1,function(e){const t=Ts().getSymbolSize;e.getRowColCoords=function(s){if(s===1)return[];const r=Math.floor(s/7)+2,o=t(s),a=o===145?26:Math.ceil((o-13)/(2*r-2))*2,l=[o-7];for(let u=1;u=0&&r<=7},e.from=function(r){return e.isValid(r)?parseInt(r,10):void 0},e.getPenaltyN1=function(r){const o=r.size;let a=0,l=0,u=0,f=null,h=null;for(let p=0;p=5&&(a+=t.N1+(l-5)),f=g,l=1),g=r.get(_,p),g===h?u++:(u>=5&&(a+=t.N1+(u-5)),h=g,u=1)}l>=5&&(a+=t.N1+(l-5)),u>=5&&(a+=t.N1+(u-5))}return a},e.getPenaltyN2=function(r){const o=r.size;let a=0;for(let l=0;l=10&&(l===1488||l===93)&&a++,u=u<<1&2047|r.get(h,f),h>=10&&(u===1488||u===93)&&a++}return a*t.N3},e.getPenaltyN4=function(r){let o=0;const a=r.data.length;for(let u=0;u=0;){const a=o[0];for(let u=0;u0){const l=new Uint8Array(this.degree);return l.set(o,a),l}return o},Na=t,Na}var xa={},$a={},Pa={},Xf;function Mp(){return Xf||(Xf=1,Pa.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),Pa}var sn={},Zf;function kp(){if(Zf)return sn;Zf=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const s="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r -]))+`;sn.KANJI=new RegExp(n,"g"),sn.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),sn.BYTE=new RegExp(s,"g"),sn.NUMERIC=new RegExp(e,"g"),sn.ALPHANUMERIC=new RegExp(t,"g");const r=new RegExp("^"+n+"$"),o=new RegExp("^"+e+"$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return sn.testKanji=function(u){return r.test(u)},sn.testNumeric=function(u){return o.test(u)},sn.testAlphanumeric=function(u){return a.test(u)},sn}var ed;function As(){return ed||(ed=1,function(e){const t=Mp(),n=kp();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(o,a){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?o.ccBits[0]:a<27?o.ccBits[1]:o.ccBits[2]},e.getBestModeForData=function(o){return n.testNumeric(o)?e.NUMERIC:n.testAlphanumeric(o)?e.ALPHANUMERIC:n.testKanji(o)?e.KANJI:e.BYTE},e.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},e.isValid=function(o){return o&&o.bit&&o.ccBits};function s(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+r)}}e.from=function(o,a){if(e.isValid(o))return o;try{return s(o)}catch{return a}}}($a)),$a}var td;function iT(){return td||(td=1,function(e){const t=Ts(),n=Ip(),s=ql(),r=As(),o=Mp(),a=7973,l=t.getBCHDigit(a);function u(_,g,E){for(let A=1;A<=40;A++)if(g<=e.getCapacity(A,E,_))return A}function f(_,g){return r.getCharCountIndicator(_,g)+4}function h(_,g){let E=0;return _.forEach(function(A){const H=f(A.mode,g);E+=H+A.getBitsLength()}),E}function p(_,g){for(let E=1;E<=40;E++)if(h(_,E)<=e.getCapacity(E,g,r.MIXED))return E}e.from=function(g,E){return o.isValid(g)?parseInt(g,10):E},e.getCapacity=function(g,E,A){if(!o.isValid(g))throw new Error("Invalid QR Code version");typeof A>"u"&&(A=r.BYTE);const H=t.getSymbolTotalCodewords(g),I=n.getTotalCodewordsCount(g,E),F=(H-I)*8;if(A===r.MIXED)return F;const k=F-f(A,g);switch(A){case r.NUMERIC:return Math.floor(k/10*3);case r.ALPHANUMERIC:return Math.floor(k/11*2);case r.KANJI:return Math.floor(k/13);case r.BYTE:default:return Math.floor(k/8)}},e.getBestVersionForData=function(g,E){let A;const H=s.from(E,s.M);if(Array.isArray(g)){if(g.length>1)return p(g,H);if(g.length===0)return 1;A=g[0]}else A=g;return u(A.mode,A.getLength(),H)},e.getEncodedBits=function(g){if(!o.isValid(g)||g<7)throw new Error("Invalid QR Code version");let E=g<<12;for(;t.getBCHDigit(E)-l>=0;)E^=a<=0;)u^=t<0&&(o=this.data.substr(r),a=parseInt(o,10),s.put(a,l*3+1))},Ia=t,Ia}var Ma,rd;function lT(){if(rd)return Ma;rd=1;const e=As(),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(s){this.mode=e.ALPHANUMERIC,this.data=s}return n.getBitsLength=function(r){return 11*Math.floor(r/2)+6*(r%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(r){let o;for(o=0;o+2<=this.data.length;o+=2){let a=t.indexOf(this.data[o])*45;a+=t.indexOf(this.data[o+1]),r.put(a,11)}this.data.length%2&&r.put(t.indexOf(this.data[o]),6)},Ma=n,Ma}var ka,id;function cT(){if(id)return ka;id=1;const e=As();function t(n){this.mode=e.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}return t.getBitsLength=function(s){return s*8},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){for(let s=0,r=this.data.length;s=33088&&o<=40956)o-=33088;else if(o>=57408&&o<=60351)o-=49472;else throw new Error("Invalid SJIS character: "+this.data[r]+` -Make sure your charset is UTF-8`);o=(o>>>8&255)*192+(o&255),s.put(o,13)}},Ba=n,Ba}var Fa={exports:{}},ad;function fT(){return ad||(ad=1,function(e){var t={single_source_shortest_paths:function(n,s,r){var o={},a={};a[s]=0;var l=t.PriorityQueue.make();l.push(s,0);for(var u,f,h,p,_,g,E,A,H;!l.empty();){u=l.pop(),f=u.value,p=u.cost,_=n[f]||{};for(h in _)_.hasOwnProperty(h)&&(g=_[h],E=p+g,A=a[h],H=typeof a[h]>"u",(H||A>E)&&(a[h]=E,l.push(h,E),o[h]=f))}if(typeof r<"u"&&typeof a[r]>"u"){var I=["Could not find a path from ",s," to ",r,"."].join("");throw new Error(I)}return o},extract_shortest_path_from_predecessor_list:function(n,s){for(var r=[],o=s;o;)r.push(o),n[o],o=n[o];return r.reverse(),r},find_path:function(n,s,r){var o=t.single_source_shortest_paths(n,s,r);return t.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(n){var s=t.PriorityQueue,r={},o;n=n||{};for(o in s)s.hasOwnProperty(o)&&(r[o]=s[o]);return r.queue=[],r.sorter=n.sorter||s.default_sorter,r},default_sorter:function(n,s){return n.cost-s.cost},push:function(n,s){var r={value:n,cost:s};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t}(Fa)),Fa.exports}var ld;function dT(){return ld||(ld=1,function(e){const t=As(),n=aT(),s=lT(),r=cT(),o=uT(),a=kp(),l=Ts(),u=fT();function f(I){return unescape(encodeURIComponent(I)).length}function h(I,F,k){const U=[];let q;for(;(q=I.exec(k))!==null;)U.push({data:q[0],index:q.index,mode:F,length:q[0].length});return U}function p(I){const F=h(a.NUMERIC,t.NUMERIC,I),k=h(a.ALPHANUMERIC,t.ALPHANUMERIC,I);let U,q;return l.isKanjiModeEnabled()?(U=h(a.BYTE,t.BYTE,I),q=h(a.KANJI,t.KANJI,I)):(U=h(a.BYTE_KANJI,t.BYTE,I),q=[]),F.concat(k,U,q).sort(function(R,w){return R.index-w.index}).map(function(R){return{data:R.data,mode:R.mode,length:R.length}})}function _(I,F){switch(F){case t.NUMERIC:return n.getBitsLength(I);case t.ALPHANUMERIC:return s.getBitsLength(I);case t.KANJI:return o.getBitsLength(I);case t.BYTE:return r.getBitsLength(I)}}function g(I){return I.reduce(function(F,k){const U=F.length-1>=0?F[F.length-1]:null;return U&&U.mode===k.mode?(F[F.length-1].data+=k.data,F):(F.push(k),F)},[])}function E(I){const F=[];for(let k=0;k=0&&z<=6&&(j===0||j===6)||j>=0&&j<=6&&(z===0||z===6)||z>=2&&z<=4&&j>=2&&j<=4?O.set(M+z,D+j,!0,!0):O.set(M+z,D+j,!1,!0))}}function E(O){const R=O.size;for(let w=8;w>z&1)===1,O.set(L,M,D,!0),O.set(M,L,D,!0)}function I(O,R,w){const S=O.size,L=h.getEncodedBits(R,w);let M,D;for(M=0;M<15;M++)D=(L>>M&1)===1,M<6?O.set(M,8,D,!0):M<8?O.set(M+1,8,D,!0):O.set(S-15+M,8,D,!0),M<8?O.set(8,S-M-1,D,!0):M<9?O.set(8,15-M-1+1,D,!0):O.set(8,15-M-1,D,!0);O.set(S-8,8,1,!0)}function F(O,R){const w=O.size;let S=-1,L=w-1,M=7,D=0;for(let z=w-1;z>0;z-=2)for(z===6&&z--;;){for(let j=0;j<2;j++)if(!O.isReserved(L,z-j)){let X=!1;D>>M&1)===1),O.set(L,z-j,X),M--,M===-1&&(D++,M=7)}if(L+=S,L<0||w<=L){L-=S,S=-S;break}}}function k(O,R,w){const S=new n;w.forEach(function(j){S.put(j.mode.bit,4),S.put(j.getLength(),p.getCharCountIndicator(j.mode,O)),j.write(S)});const L=e.getSymbolTotalCodewords(O),M=l.getTotalCodewordsCount(O,R),D=(L-M)*8;for(S.getLengthInBits()+4<=D&&S.put(0,4);S.getLengthInBits()%8!==0;)S.putBit(0);const z=(D-S.getLengthInBits())/8;for(let j=0;j=7&&H(j,R),F(j,D),isNaN(S)&&(S=a.getBestMask(j,I.bind(null,j,w))),a.applyMask(S,j),I(j,w,S),{modules:j,version:R,errorCorrectionLevel:w,maskPattern:S,segments:L}}return Ea.create=function(R,w){if(typeof R>"u"||R==="")throw new Error("No input text");let S=t.M,L,M;return typeof w<"u"&&(S=t.from(w.errorCorrectionLevel,t.M),L=f.from(w.version),M=a.from(w.maskPattern),w.toSJISFunc&&e.setToSJISFunction(w.toSJISFunc)),q(R,L,S,M)},Ea}var Ha={},Va={},ud;function Bp(){return ud||(ud=1,function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let s=n.slice().replace("#","").split("");if(s.length<3||s.length===5||s.length>8)throw new Error("Invalid hex color: "+n);(s.length===3||s.length===4)&&(s=Array.prototype.concat.apply([],s.map(function(o){return[o,o]}))),s.length===6&&s.push("F","F");const r=parseInt(s.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:r&255,hex:"#"+s.slice(0,6).join("")}}e.getOptions=function(s){s||(s={}),s.color||(s.color={});const r=typeof s.margin>"u"||s.margin===null||s.margin<0?4:s.margin,o=s.width&&s.width>=21?s.width:void 0,a=s.scale||4;return{width:o,scale:o?4:a,margin:r,color:{dark:t(s.color.dark||"#000000ff"),light:t(s.color.light||"#ffffffff")},type:s.type,rendererOpts:s.rendererOpts||{}}},e.getScale=function(s,r){return r.width&&r.width>=s+r.margin*2?r.width/(s+r.margin*2):r.scale},e.getImageWidth=function(s,r){const o=e.getScale(s,r);return Math.floor((s+r.margin*2)*o)},e.qrToImageData=function(s,r,o){const a=r.modules.size,l=r.modules.data,u=e.getScale(a,o),f=Math.floor((a+o.margin*2)*u),h=o.margin*u,p=[o.color.light,o.color.dark];for(let _=0;_=h&&g>=h&&_"u"&&(!a||!a.getContext)&&(u=a,a=void 0),a||(f=s()),u=t.getOptions(u);const h=t.getImageWidth(o.modules.size,u),p=f.getContext("2d"),_=p.createImageData(h,h);return t.qrToImageData(_.data,o,u),n(p,f,h),p.putImageData(_,0,0),f},e.renderToDataURL=function(o,a,l){let u=l;typeof u>"u"&&(!a||!a.getContext)&&(u=a,a=void 0),u||(u={});const f=e.render(o,a,u),h=u.type||"image/png",p=u.rendererOpts||{};return f.toDataURL(h,p.quality)}}(Ha)),Ha}var Ua={},dd;function mT(){if(dd)return Ua;dd=1;const e=Bp();function t(r,o){const a=r.a/255,l=o+'="'+r.hex+'"';return a<1?l+" "+o+'-opacity="'+a.toFixed(2).slice(1)+'"':l}function n(r,o,a){let l=r+o;return typeof a<"u"&&(l+=" "+a),l}function s(r,o,a){let l="",u=0,f=!1,h=0;for(let p=0;p0&&_>0&&r[p-1]||(l+=f?n("M",_+a,.5+g+a):n("m",u,0),u=0,f=!1),_+1':"",g="',E='viewBox="0 0 '+p+" "+p+'"',H=''+_+g+` -`;return typeof l=="function"&&l(null,H),H},Ua}var hd;function gT(){if(hd)return Us;hd=1;const e=J1(),t=hT(),n=pT(),s=mT();function r(o,a,l,u,f){const h=[].slice.call(arguments,1),p=h.length,_=typeof h[p-1]=="function";if(!_&&!e())throw new Error("Callback required as last argument");if(_){if(p<2)throw new Error("Too few arguments provided");p===2?(f=l,l=a,a=u=void 0):p===3&&(a.getContext&&typeof f>"u"?(f=u,u=void 0):(f=u,u=l,l=a,a=void 0))}else{if(p<1)throw new Error("Too few arguments provided");return p===1?(l=a,a=u=void 0):p===2&&!a.getContext&&(u=l,l=a,a=void 0),new Promise(function(g,E){try{const A=t.create(l,u);g(o(A,a,u))}catch(A){E(A)}})}try{const g=t.create(l,u);f(null,o(g,a,u))}catch(g){f(g)}}return Us.create=t.create,Us.toCanvas=r.bind(null,n.render),Us.toDataURL=r.bind(null,n.renderToDataURL),Us.toString=r.bind(null,function(o,a,l){return s.render(o,l)}),Us}var _T=gT();const vT=kl(_T),bT=["id"],Fp={__name:"qrcode",props:["content"],setup(e){const t=e,n=Jh().toString();return ws(()=>{vT.toCanvas(document.getElementById(`qrcode_${n}`),t.content,function(s){})}),(s,r)=>(me(),Oe("div",null,[$("canvas",{id:"qrcode_"+Ct(n),class:"rounded-3"},null,8,bT)]))}},yT={class:"p-2 position-fixed top-0 start-0 vw-100 vh-100 d-flex qrcodeContainer p-3 overflow-scroll"},ET={class:"m-auto d-flex gap-3 flex-column p-3"},wT={__name:"configurationQRCode",props:["qrcodeData"],emits:["back"],setup(e,{emit:t}){const n=e,s=t;return(r,o)=>(me(),Oe("div",yT,[$("div",ET,[$("div",null,[$("a",{role:"button",onClick:o[0]||(o[0]=a=>s("back")),class:"btn btn-body rounded-3 btn-sm"},o[1]||(o[1]=[$("i",{class:"me-2 bi bi-x-lg"},null,-1),Ye(" Dismiss ")]))]),Le(Fp,{content:n.qrcodeData},null,8,["content"]),o[2]||(o[2]=$("button",{class:"btn bg-primary-subtle border-primary-subtle rounded-3"},[$("i",{class:"bi bi-download me-2"}),Ye("Download ")],-1))])]))}},TT=ir(wT,[["__scopeId","data-v-cc8c55c7"]]);var $i={exports:{}},AT=$i.exports,pd;function ST(){return pd||(pd=1,function(e,t){(function(n,s){e.exports=s()})(AT,function(){var n,s,r=1e3,o=6e4,a=36e5,l=864e5,u=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=31536e6,h=2628e6,p=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,_={years:f,months:h,days:l,hours:a,minutes:o,seconds:r,milliseconds:1,weeks:6048e5},g=function(O){return O instanceof U},E=function(O,R,w){return new U(O,w,R.$l)},A=function(O){return s.p(O)+"s"},H=function(O){return O<0},I=function(O){return H(O)?Math.ceil(O):Math.floor(O)},F=function(O){return Math.abs(O)},k=function(O,R){return O?H(O)?{negative:!0,format:""+F(O)+R}:{negative:!1,format:""+O+R}:{negative:!1,format:""}},U=function(){function O(w,S,L){var M=this;if(this.$d={},this.$l=L,w===void 0&&(this.$ms=0,this.parseFromMilliseconds()),S)return E(w*_[A(S)],this);if(typeof w=="number")return this.$ms=w,this.parseFromMilliseconds(),this;if(typeof w=="object")return Object.keys(w).forEach(function(j){M.$d[A(j)]=w[j]}),this.calMilliseconds(),this;if(typeof w=="string"){var D=w.match(p);if(D){var z=D.slice(2).map(function(j){return j!=null?Number(j):0});return this.$d.years=z[0],this.$d.months=z[1],this.$d.weeks=z[2],this.$d.days=z[3],this.$d.hours=z[4],this.$d.minutes=z[5],this.$d.seconds=z[6],this.calMilliseconds(),this}}return this}var R=O.prototype;return R.calMilliseconds=function(){var w=this;this.$ms=Object.keys(this.$d).reduce(function(S,L){return S+(w.$d[L]||0)*_[L]},0)},R.parseFromMilliseconds=function(){var w=this.$ms;this.$d.years=I(w/f),w%=f,this.$d.months=I(w/h),w%=h,this.$d.days=I(w/l),w%=l,this.$d.hours=I(w/a),w%=a,this.$d.minutes=I(w/o),w%=o,this.$d.seconds=I(w/r),w%=r,this.$d.milliseconds=w},R.toISOString=function(){var w=k(this.$d.years,"Y"),S=k(this.$d.months,"M"),L=+this.$d.days||0;this.$d.weeks&&(L+=7*this.$d.weeks);var M=k(L,"D"),D=k(this.$d.hours,"H"),z=k(this.$d.minutes,"M"),j=this.$d.seconds||0;this.$d.milliseconds&&(j+=this.$d.milliseconds/1e3,j=Math.round(1e3*j)/1e3);var X=k(j,"S"),Y=w.negative||S.negative||M.negative||D.negative||z.negative||X.negative,Q=D.format||z.format||X.format?"T":"",J=(Y?"-":"")+"P"+w.format+S.format+M.format+Q+D.format+z.format+X.format;return J==="P"||J==="-P"?"P0D":J},R.toJSON=function(){return this.toISOString()},R.format=function(w){var S=w||"YYYY-MM-DDTHH:mm:ss",L={Y:this.$d.years,YY:s.s(this.$d.years,2,"0"),YYYY:s.s(this.$d.years,4,"0"),M:this.$d.months,MM:s.s(this.$d.months,2,"0"),D:this.$d.days,DD:s.s(this.$d.days,2,"0"),H:this.$d.hours,HH:s.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:s.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:s.s(this.$d.seconds,2,"0"),SSS:s.s(this.$d.milliseconds,3,"0")};return S.replace(u,function(M,D){return D||String(L[M])})},R.as=function(w){return this.$ms/_[A(w)]},R.get=function(w){var S=this.$ms,L=A(w);return L==="milliseconds"?S%=1e3:S=L==="weeks"?I(S/_[L]):this.$d[L],S||0},R.add=function(w,S,L){var M;return M=S?w*_[A(S)]:g(w)?w.$ms:E(w,this).$ms,E(this.$ms+M*(L?-1:1),this)},R.subtract=function(w,S){return this.add(w,S,!0)},R.locale=function(w){var S=this.clone();return S.$l=w,S},R.clone=function(){return E(this.$ms,this)},R.humanize=function(w){return n().add(this.$ms,"ms").locale(this.$l).fromNow(!w)},R.valueOf=function(){return this.asMilliseconds()},R.milliseconds=function(){return this.get("milliseconds")},R.asMilliseconds=function(){return this.as("milliseconds")},R.seconds=function(){return this.get("seconds")},R.asSeconds=function(){return this.as("seconds")},R.minutes=function(){return this.get("minutes")},R.asMinutes=function(){return this.as("minutes")},R.hours=function(){return this.get("hours")},R.asHours=function(){return this.as("hours")},R.days=function(){return this.get("days")},R.asDays=function(){return this.as("days")},R.weeks=function(){return this.get("weeks")},R.asWeeks=function(){return this.as("weeks")},R.months=function(){return this.get("months")},R.asMonths=function(){return this.as("months")},R.years=function(){return this.get("years")},R.asYears=function(){return this.as("years")},O}(),q=function(O,R,w){return O.add(R.years()*w,"y").add(R.months()*w,"M").add(R.days()*w,"d").add(R.hours()*w,"h").add(R.minutes()*w,"m").add(R.seconds()*w,"s").add(R.milliseconds()*w,"ms")};return function(O,R,w){n=w,s=w().$utils(),w.duration=function(M,D){var z=w.locale();return E(M,{$l:z},D)},w.isDuration=g;var S=R.prototype.add,L=R.prototype.subtract;R.prototype.add=function(M,D){return g(M)?q(this,M,1):S.bind(this)(M,D)},R.prototype.subtract=function(M,D){return g(M)?q(this,M,-1):L.bind(this)(M,D)}}})}($i)),$i.exports}var CT=ST();const OT=kl(CT),RT={class:"card rounded-3 border-0 shadow"},NT={class:"card-header rounded-top-3 border-0 align-items-center d-flex p-3 flex-column flex-sm-row gap-2"},xT={class:"fw-bold"},$T={class:"card-body p-3 d-flex gap-3 flex-column"},PT={class:"mb-1 d-flex align-items-center"},DT={class:"fw-bold ms-sm-auto"},LT={class:"progress",role:"progressbar","aria-valuenow":"25","aria-valuemin":"0","aria-valuemax":"100",style:{height:"6px"}},IT={class:"mb-1 d-flex align-items-center"},MT={class:"fw-bold ms-auto"},kT={__name:"configuration",props:["config"],setup(e){wr.extend(OT);const t=e,n=et(!1),s=ze(()=>t.config.jobs.filter(u=>u.Field==="date").sort((u,f)=>wr(u.Value).isBefore(f.Value)?-1:wr(u.Value).isAfter(f.Value)?1:0)),r=ze(()=>t.config.jobs.filter(u=>u.Field==="total_data").sort((u,f)=>parseFloat(f.Value)-parseFloat(u.Value))),o=ze(()=>{if(s.value.length>0)return s.value[0].Value}),a=ze(()=>{if(r.value.length>0)return r.value[0].Value}),l=ze(()=>a.value?t.config.data/a.value*100:100);return window.dayjs=wr,(u,f)=>(me(),Oe("div",RT,[$("div",NT,[$("small",xT,Tt(t.config.name),1),t.config.protocol==="wg"?(me(),Oe("span",{key:0,class:ln(["badge rounded-3 ms-sm-auto",[t.config.protocol==="wg"?"wireguardBg":"amneziawgBg"]])},Tt(t.config.protocol==="wg"?"WireGuard":"AmneziaWG"),3)):Kn("",!0)]),$("div",$T,[$("div",null,[$("div",PT,[f[2]||(f[2]=$("small",{class:"text-muted"},[$("i",{class:"bi bi-bar-chart-fill me-1"}),Ye(" Data Usage ")],-1)),$("small",DT,Tt(t.config.data.toFixed(4))+" / "+Tt(a.value?parseFloat(a.value).toFixed(4):"Unlimited")+" GB ",1)]),$("div",LT,[$("div",{class:"progress-bar bg-primary",style:Ji({width:""+l.value+"%"})},null,4)])]),$("div",null,[$("div",IT,[f[3]||(f[3]=$("small",{class:"text-muted"},[$("i",{class:"bi bi-calendar me-1"}),Ye(" Valid Until ")],-1)),$("small",MT,Tt(o.value?o.value:"Unlimited Time"),1)])]),$("button",{class:"btn btn-outline-body rounded-3 flex-grow-1 fw-bold w-100",onClick:f[0]||(f[0]=h=>n.value=!0)},f[4]||(f[4]=[$("i",{class:"bi bi-link-45deg me-2"},null,-1),$("small",null,"Connect",-1)]))]),Le(oo,{name:"app"},{default:Ot(()=>[n.value?(me(),Jt(TT,{key:0,onBack:f[1]||(f[1]=h=>n.value=!1),"qrcode-data":e.config.peer_configuration_data.file},null,8,["qrcode-data"])):Kn("",!0)]),_:1})]))}},BT=ir(kT,[["__scopeId","data-v-5d0ec739"]]),FT={class:"p-sm-3"},HT={class:"w-100 d-flex align-items-center"},VT={class:"nav-link text-body border-start-0","aria-current":"page",href:"#"},UT={class:"ms-auto px-3 d-flex gap-2 nav-links"},jT={key:0,class:"d-flex flex-column gap-3"},qT={key:0,class:"p-3 d-flex flex-column gap-3"},KT={key:1,class:"text-center text-muted"},WT={key:1,class:"d-flex p-3"},YT={__name:"index",async setup(e){let t,n;const s=dn(),r=et(!0),o=ze(()=>s.configurations),a=et(void 0);[t,n]=no(()=>s.getClientProfile()),await t,n(),ws(async()=>{await s.getConfigurations(),r.value=!1,a.value=setInterval(async()=>{await s.getConfigurations()},5e3)}),S1(()=>{clearInterval(a.value)});const l=jl(),u=et(!1),f=async()=>{clearInterval(a.value),u.value=!0,await Ve.get(rr("/api/signout")).then(()=>{l.push("/signin")}).catch(()=>{l.push("/signin")}),s.newNotification("Sign out successful","success")};return(h,p)=>{const _=Kr("RouterLink");return me(),Oe("div",FT,[$("div",HT,[$("a",VT,[$("strong",null," Hi, "+Tt(Ct(s).clientProfile.Profile.Name?Ct(s).clientProfile.Profile.Name:Ct(s).clientProfile.Email),1)]),$("div",UT,[Le(_,{to:"/settings",class:"text-body btn btn-outline-body rounded-3 ms-auto btn-sm","aria-current":"page",href:"#"},{default:Ot(()=>p[1]||(p[1]=[$("i",{class:"bi bi-gear-fill me-sm-2"},null,-1),$("span",null,"Settings",-1)])),_:1,__:[1]}),$("a",{role:"button",onClick:p[0]||(p[0]=g=>f()),class:ln(["btn btn-outline-danger rounded-3 btn-sm",{disabled:u.value}]),"aria-current":"page"},[p[2]||(p[2]=$("i",{class:"bi bi-box-arrow-left me-sm-2"},null,-1)),$("span",null,Tt(u.value?"Signing out...":"Sign Out"),1)],2)])]),Le(oo,{name:"app",mode:"out-in"},{default:Ot(()=>[r.value?(me(),Oe("div",WT,p[4]||(p[4]=[$("div",{class:"bg-body rounded-3 d-flex",style:{width:"100%",height:"211px"}},[$("div",{class:"spinner-border m-auto"})],-1)]))):(me(),Oe("div",jT,[o.value.length>0?(me(),Oe("div",qT,[(me(!0),Oe(wt,null,to(o.value,g=>(me(),Jt(BT,{config:g},null,8,["config"]))),256))])):(me(),Oe("div",KT,p[3]||(p[3]=[$("small",null,"No configuration available",-1)])))]))]),_:1})])}}},zT=ir(YT,[["__scopeId","data-v-98284be0"]]),GT=["href"],JT={__name:"oidcBtn",props:["provider","name"],async setup(e){let t,n;const s=e,r=et(!1),o=et({}),a=new URLSearchParams({client_id:s.provider.client_id,redirect_uri:window.location.protocol+"//"+window.location.host+window.location.pathname,response_type:"code",state:s.name,scope:"openid email profile"}).toString(),l=et(void 0);try{const u=([t,n]=no(()=>Ve(`${s.provider.issuer}/.well-known/openid-configuration`)),t=await t,n(),t);console.log(u),r.value=!0,o.value=u.data,console.log(o.value),l.value=new URL(o.value.authorization_endpoint),l.value.search=a}catch{console.log("Provider not available",s.provider)}return(u,f)=>r.value?(me(),Oe("a",{key:0,class:"btn btn-sm btn-outline-body rounded-3",href:l.value,style:{flex:"1 1 0px"}},Tt(e.name),9,GT)):Kn("",!0)}},QT={key:0},XT={class:"d-flex gap-2"},ZT={__name:"oidc",async setup(e){let t,n;const s=et(!1),r=et(void 0),o=([t,n]=no(()=>Ki("/api/signin/oidc/providers")),t=await t,n(),t);return o&&(s.value=!0,r.value=o.data,console.log(r.value)),(a,l)=>r.value?(me(),Oe("div",QT,[l[1]||(l[1]=$("hr",null,null,-1)),l[2]||(l[2]=$("h6",{class:"text-center text-muted mb-3"},[$("small",null,"Sign in with")],-1)),$("div",XT,[(me(),Jt($h,null,{fallback:Ot(()=>l[0]||(l[0]=[$("a",{class:"btn btn-sm btn-outline-body rounded-3 w-100 disabled"}," Loading... ",-1)])),default:Ot(()=>[(me(!0),Oe(wt,null,to(r.value,(u,f)=>(me(),Jt(JT,{provider:u,name:f},null,8,["provider","name"]))),256))]),_:1}))]),l[3]||(l[3]=$("hr",null,null,-1))])):Kn("",!0)}},eA={class:"form-floating"},tA=["disabled"],nA={class:"form-floating"},sA=["disabled"],rA=["disabled"],iA={key:0,class:"d-block"},oA={key:1,class:"d-block"},aA={class:"d-flex align-items-center"},lA={__name:"signInForm",emits:["totpToken"],setup(e,{emit:t}){const n=et(!1),s=Sn({Email:"",Password:""}),r=t;et("");const o=dn(),a=async f=>{if(f.preventDefault(),!l){o.newNotification("Please fill in all fields","warning");return}n.value=!0;const h=await vo("/api/signin",s);h.status?r("totpToken",h.message):(o.newNotification(h.message,"danger"),n.value=!1)},l=ze(()=>Object.values(s).find(f=>!f)===void 0),u=I1();return u.query.Email&&(s.Email=u.query.Email),(f,h)=>{const p=Kr("RouterLink");return me(),Oe("div",null,[h[10]||(h[10]=$("div",{class:"text-center"},[$("h1",{class:"display-4"},"Welcome back"),$("p",{class:"text-muted"},[Ye("Sign in to access your "),$("strong",null,"WGDashboard Client"),Ye(" account")])],-1)),Le(ZT),$("form",{class:"mt-4 d-flex flex-column gap-3",onSubmit:h[2]||(h[2]=_=>a(_))},[$("div",eA,[un($("input",{type:"text",required:"",disabled:n.value,"onUpdate:modelValue":h[0]||(h[0]=_=>s.Email=_),name:"email",autocomplete:"email",autofocus:"",class:"form-control rounded-3 border-0",id:"email",placeholder:"email"},null,8,tA),[[wn,s.Email]]),h[3]||(h[3]=$("label",{for:"email",class:"d-flex"},[$("i",{class:"bi bi-person-circle me-2"}),Ye(" Email ")],-1))]),$("div",nA,[un($("input",{type:"password",required:"",disabled:n.value,"onUpdate:modelValue":h[1]||(h[1]=_=>s.Password=_),name:"password",autocomplete:"current-password",class:"form-control rounded-3 border-0",id:"password",placeholder:"Password"},null,8,sA),[[wn,s.Password]]),h[4]||(h[4]=$("label",{for:"password",class:"d-flex"},[$("i",{class:"bi bi-key me-2"}),Ye(" Password ")],-1))]),h[6]||(h[6]=$("div",{class:"d-flex"},[$("a",{href:"#",class:"text-body text-decoration-none ms-auto btn btn-sm rounded-3"}," Forgot Password? ")],-1)),$("button",{disabled:!l.value||n.value,class:"btn btn-primary rounded-3 btn-body px-3 py-2 fw-bold"},[n.value?(me(),Oe("span",oA,h[5]||(h[5]=[Ye(" Loading..."),$("i",{class:"ms-2 spinner-border spinner-border-sm"},null,-1)]))):(me(),Oe("span",iA," Sign In "))],8,rA)],32),$("div",null,[h[9]||(h[9]=$("hr",{class:"my-4"},null,-1)),$("div",aA,[h[8]||(h[8]=$("span",{class:"text-muted"}," Don't have an account yet? ",-1)),Le(p,{to:"/signup",class:"text-body text-decoration-none ms-auto fw-bold btn btn-sm btn-outline-body rounded-3"},{default:Ot(()=>h[7]||(h[7]=[Ye(" Sign Up ")])),_:1,__:[7]})])])])}}},cA={class:""},uA={key:0,class:"card rounded-3"},fA={class:"card-body d-flex gap-3 flex-column"},dA={class:"card rounded-3"},hA={class:"card-body"},pA=["href"],mA={key:0},gA={class:"d-flex flex-column gap-3"},_A=["disabled"],vA=["disabled"],bA={key:0,class:"d-block"},yA={key:1,class:"d-block"},EA={__name:"totpForm",props:["totpToken"],emits:["clearToken"],setup(e,{emit:t}){const n=e,s=et(""),r=Sn({TOTP:""}),o=et(!0),a=()=>{r.TOTP=r.TOTP.replace(/\D/i,"")},l=ze(()=>/^[0-9]{6}$/.test(r.TOTP)),u=dn(),f=jl();ws(()=>{Ve.get(rr("/api/signin/totp"),{params:{Token:n.totpToken}}).then(_=>{let g=_.data;o.value=!1,g.status?g.message&&(s.value=g.message):(u.newNotification(g.message,"danger"),f.push("/signin"))})});const h=t,p=async _=>{if(_&&_.preventDefault(),l){o.value=!0;const g=await vo("/api/signin/totp",{Token:n.totpToken,UserProvidedTOTP:r.TOTP});o.value=!1,g?g.status?(u.clientProfile=g.data,f.push("/")):u.newNotification(g.message,"danger"):(u.newNotification("Sign in status is invalid","danger"),h("clearToken"))}};return zs(l,()=>{p()}),(_,g)=>(me(),Oe("form",{class:"d-flex flex-column gap-3",onSubmit:g[3]||(g[3]=E=>p(E))},[$("div",null,[$("a",{role:"button",onClick:g[0]||(g[0]=E=>h("clearToken")),class:"btn btn-outline-body btn-sm rounded-3"},g[4]||(g[4]=[$("i",{class:"me-2 bi bi-chevron-left"},null,-1),Ye(" Back ")]))]),$("div",cA,[g[9]||(g[9]=$("h1",{class:"mb-3"},"Multi-Factor Authentication (MFA)",-1)),s.value?(me(),Oe("div",uA,[$("div",fA,[g[5]||(g[5]=$("h2",{class:"mb-0"},"Initial Setup",-1)),g[6]||(g[6]=$("p",{class:"mb-0"},"Please scan the following QR Code to generate TOTP with your choice of authenticator",-1)),Le(Fp,{content:s.value},null,8,["content"]),g[7]||(g[7]=$("p",{class:"mb-0"},"Or you can click the link below:",-1)),$("div",dA,[$("div",hA,[$("a",{href:s.value},Tt(s.value),9,pA)])]),g[8]||(g[8]=$("div",{class:"alert alert-warning mb-0"},[$("strong",null," Please note: You won't be able to see this QR Code again, so please save it somewhere safe in case you need to recover your TOTP key ")],-1))])])):Kn("",!0)]),s.value?(me(),Oe("hr",mA)):Kn("",!0),$("div",gA,[g[12]||(g[12]=$("label",{for:"totp"},"Enter the TOTP generated by your authenticator to verify",-1)),un($("input",{class:"form-control form-control-lg rounded-3 text-center",id:"totp",disabled:o.value,autofocus:"",onKeyup:g[1]||(g[1]=E=>a()),maxlength:"6",type:"text",inputmode:"numeric",placeholder:"- - - - - -",autocomplete:"one-time-code","onUpdate:modelValue":g[2]||(g[2]=E=>r.TOTP=E)},null,40,_A),[[wn,r.TOTP]]),$("button",{disabled:!l.value||o.value,class:"btn btn-body rounded-3 px-3 py-2 fw-bold"},[o.value?(me(),Oe("span",yA,g[11]||(g[11]=[Ye(" Loading... "),$("i",{class:"ms-2 spinner-border spinner-border-sm"},null,-1)]))):(me(),Oe("span",bA,g[10]||(g[10]=[Ye(" Continue "),$("i",{class:"ms-2 bi bi-arrow-right"},null,-1)])))],8,vA)])],32))}},wA={class:"p-3 p-sm-5"},TA={__name:"signin",setup(e){const t=et("");return(n,s)=>(me(),Oe("div",wA,[Le(oo,{name:"app",mode:"out-in"},{default:Ot(()=>[t.value?(me(),Jt(EA,{key:1,onClearToken:s[1]||(s[1]=r=>t.value=""),"totp-token":t.value},null,8,["totp-token"])):(me(),Jt(lA,{key:0,onTotpToken:s[0]||(s[0]=r=>{t.value=r})}))]),_:1})]))}},AA={class:"p-3 p-sm-5"},SA={class:"form-floating"},CA=["disabled"],OA={class:"row gx-3"},RA={class:"col-6"},NA={class:"form-floating"},xA=["disabled"],$A={class:"col-6"},PA={class:"form-floating"},DA=["disabled"],LA=["disabled"],IA={key:0,class:"d-block"},MA={key:1,class:"d-block"},kA={class:"d-flex align-items-center"},BA={__name:"signup",setup(e){const t=dn(),n=Sn({Email:"",Password:"",ConfirmPassword:""}),s=et(!1),r=jl(),o=async u=>{if(u.preventDefault(),!l){t.newNotification("Please fill in all fields","warning");return}a&&(s.value=!0,await Ve.post(rr("/api/signup"),n).then(f=>{let h=f.data;h.status?(t.newNotification("Sign up successfully!","success"),r.push({path:"/signin",query:{Email:n.Email}})):(t.newNotification(h.message,"danger"),s.value=!1)}))},a=ze(()=>n.Password&&n.ConfirmPassword?n.Password===n.ConfirmPassword:!1),l=ze(()=>Object.values(n).find(u=>!u)===void 0);return ws(()=>{document.querySelectorAll("input[type=password]").forEach(u=>u.addEventListener("blur",()=>{n.Password&&n.ConfirmPassword&&document.querySelectorAll("input[type=password]").forEach(f=>{a.value?f.classList.remove("is-invalid"):f.classList.add("is-invalid")})}))}),(u,f)=>{const h=Kr("RouterLink");return me(),Oe("div",AA,[f[13]||(f[13]=$("div",{class:"text-center"},[$("h1",{class:"display-4"},"Hi, nice to meet you"),$("p",{class:"text-muted"},[Ye("Sign up to use "),$("strong",null,"WGDashboard Client")])],-1)),$("form",{class:"mt-4 d-flex flex-column gap-3",onSubmit:f[3]||(f[3]=p=>o(p))},[$("div",SA,[un($("input",{type:"text",disabled:s.value,required:"","onUpdate:modelValue":f[0]||(f[0]=p=>n.Email=p),name:"email",autocomplete:"email",autofocus:"",class:"form-control rounded-3",id:"email",placeholder:"email"},null,8,CA),[[wn,n.Email]]),f[4]||(f[4]=$("label",{for:"email",class:"d-flex"},[$("i",{class:"bi bi-person-circle me-2"}),Ye(" Email ")],-1))]),$("div",OA,[$("div",RA,[$("div",NA,[un($("input",{type:"password",required:"",disabled:s.value,"onUpdate:modelValue":f[1]||(f[1]=p=>n.Password=p),name:"password",autocomplete:"new-password",autofocus:"",class:"form-control rounded-3",id:"password",placeholder:"password"},null,8,xA),[[wn,n.Password]]),f[5]||(f[5]=$("label",{for:"password",class:"d-flex"},[$("i",{class:"bi bi-key me-2"}),Ye(" Password ")],-1))])]),$("div",$A,[$("div",PA,[un($("input",{type:"password",required:"",disabled:s.value,"onUpdate:modelValue":f[2]||(f[2]=p=>n.ConfirmPassword=p),name:"confirm_password",autocomplete:"new-password",autofocus:"",class:"form-control rounded-3",id:"confirm_password",placeholder:"confirm_password"},null,8,DA),[[wn,n.ConfirmPassword]]),f[6]||(f[6]=$("label",{for:"confirm_password",class:"d-flex"},[$("i",{class:"bi bi-key me-2"}),Ye(" Confirm Password ")],-1)),f[7]||(f[7]=$("div",{id:"validationServer03Feedback",class:"invalid-feedback"}," Passwords does not match ",-1))])])]),$("button",{disabled:!l.value||!a.value||s.value,class:"btn btn-primary rounded-3 btn-body px-3 py-2 fw-bold"},[s.value?(me(),Oe("span",MA,f[9]||(f[9]=[Ye(" Loading... "),$("i",{class:"spinner-border spinner-border-sm"},null,-1)]))):(me(),Oe("span",IA,f[8]||(f[8]=[Ye(" Continue "),$("i",{class:"ms-2 bi bi-arrow-right"},null,-1)])))],8,LA)],32),$("div",null,[f[12]||(f[12]=$("hr",{class:"my-4"},null,-1)),$("div",kA,[f[11]||(f[11]=$("span",{class:"text-muted"}," Already have an account? ",-1)),Le(h,{to:"/signin",class:"text-body text-decoration-none ms-auto fw-bold btn btn-sm btn-outline-body rounded-3"},{default:Ot(()=>f[10]||(f[10]=[Ye(" Sign In ")])),_:1,__:[10]})])])])}}},FA={class:"p-3"},HA=["for"],VA=["id","onUpdate:modelValue"],UA={__name:"profile",setup(e){const t=dn(),n={Name:"Name"};return(s,r)=>(me(),Oe("div",FA,[r[0]||(r[0]=$("h5",null," Profile ",-1)),(me(!0),Oe(wt,null,to(Ct(t).clientProfile.Profile,(o,a)=>(me(),Oe("div",null,[$("label",{for:a,class:"text-muted form-label"},[$("small",null,Tt(n[a]),1)],8,HA),un($("input",{id:a,class:"form-control rounded-3","onUpdate:modelValue":l=>Ct(t).clientProfile.Profile[a]=l},null,8,VA),[[wn,Ct(t).clientProfile.Profile[a]]])]))),256))]))}},jA={class:"d-flex align-items-start"},qA={key:0,class:"alert alert-danger rounded-3 mt-3"},KA={class:"row g-2 mb-3"},WA={class:"col-sm-12"},YA=["type"],zA={class:"col-sm-6"},GA=["type"],JA={class:"col-sm-6"},QA=["type"],XA={__name:"updatePassword",setup(e){const t=Sn({CurrentPassword:"",NewPassword:"",ConfirmNewPassword:""}),n=()=>{t.CurrentPassword="",t.NewPassword="",t.ConfirmNewPassword=""},s=dn(),r=async u=>{u.preventDefault(),document.querySelectorAll("#updatePasswordForm input").forEach(h=>h.blur());const f=await vo("/api/settings/updatePassword",t);f?f.status?(a.value=!1,s.newNotification("Password updated!","success"),n()):(a.value=!0,l.value=f.message):(a.value=!0,l.value="Error occurred")},o=et(!1),a=et(!1),l=et("");return(u,f)=>(me(),Oe("form",{onSubmit:f[4]||(f[4]=h=>r(h)),id:"updatePasswordForm",onReset:f[5]||(f[5]=h=>n()),class:"p-3"},[$("div",jA,[f[6]||(f[6]=$("h5",null," Update Password ",-1)),$("a",{role:"button",onClick:f[0]||(f[0]=h=>o.value=!o.value),class:"text-muted ms-auto text-decoration-none"},[$("small",null,[$("i",{class:ln([[o.value?"bi-eye-slash-fill":"bi-eye-fill"],"bi me-2"])},null,2),Ye(Tt(o.value?"Hide":"Show")+" Password ",1)])])]),a.value?(me(),Oe("div",qA,Tt(l.value),1)):Kn("",!0),$("div",KA,[$("div",WA,[f[7]||(f[7]=$("label",{class:"text-muted form-label",for:"CurrentPassword"},[$("small",null,"Current Password")],-1)),un($("input",{class:ln(["form-control rounded-3",{"is-invalid":a.value}]),required:"",type:o.value?"text":"password",autocomplete:"current-password",id:"CurrentPassword","onUpdate:modelValue":f[1]||(f[1]=h=>t.CurrentPassword=h)},null,10,YA),[[fa,t.CurrentPassword]])]),$("div",zA,[f[8]||(f[8]=$("label",{class:"text-muted form-label",for:"NewPassword"},[$("small",null,"New Password")],-1)),un($("input",{class:ln(["form-control rounded-3",{"is-invalid":a.value}]),required:"",type:o.value?"text":"password",id:"NewPassword",autocomplete:"new-password","onUpdate:modelValue":f[2]||(f[2]=h=>t.NewPassword=h)},null,10,GA),[[fa,t.NewPassword]])]),$("div",JA,[f[9]||(f[9]=$("label",{class:"text-muted form-label",for:"ConfirmNewPassword"},[$("small",null,"Confirm New Password")],-1)),un($("input",{class:ln(["form-control rounded-3",{"is-invalid":a.value}]),required:"",type:o.value?"text":"password",id:"ConfirmNewPassword",autocomplete:"new-password","onUpdate:modelValue":f[3]||(f[3]=h=>t.ConfirmNewPassword=h)},null,10,QA),[[fa,t.ConfirmNewPassword]])])]),f[10]||(f[10]=$("div",{class:"d-flex gap-2"},[$("button",{class:"btn btn-sm btn-secondary rounded-3 ms-auto",type:"reset"},"Clear"),$("button",{class:"btn btn-sm btn-danger rounded-3",type:"submit"},"Update")],-1))],32))}},ZA={class:"p-sm-3"},eS={class:"w-100 d-flex align-items-center p-3"},tS={__name:"settings",async setup(e){let t,n;const s=dn();return[t,n]=no(()=>s.getClientProfile()),await t,n(),(r,o)=>{const a=Kr("RouterLink");return me(),Oe("div",ZA,[$("div",eS,[Le(a,{to:"/",class:"text-body btn btn-outline-body rounded-3 btn-sm","aria-current":"page",href:"#"},{default:Ot(()=>o[0]||(o[0]=[$("i",{class:"bi bi-chevron-left me-sm-2"},null,-1),$("span",null,"Back",-1)])),_:1,__:[0]}),o[1]||(o[1]=$("strong",{class:"ms-auto"},"Settings",-1))]),Le(UA),Ct(s).clientProfile.SignInMethod==="local"?(me(),Jt(XA,{key:0})):Kn("",!0)])}}},Kl=D1({history:a1(),routes:[{path:"/",component:zT,meta:{auth:!0},name:"Home"},{path:"/settings",component:tS,meta:{auth:!0},name:"Settings"},{path:"/signin",component:TA,name:"Sign In"},{path:"/signup",component:BA,name:"Sign Up"},{path:"/signout",name:"Sign Out"}]});Kl.beforeEach(async(e,t,n)=>{const s=dn();e.path==="/signout"?(await Ve.get(rr("/api/signout")).then(()=>{n("/signin")}).catch(()=>{n("/signin")}),s.newNotification("Sign in session ended, please sign in again","warning")):e.meta.auth?await Ki("/api/validateAuthentication")?n():(s.newNotification("Sign in session ended, please sign in again","warning"),n("/signin")):n()});Kl.afterEach((e,t,n)=>{document.title=e.name+" | WGDashboard Client"});var Pi={exports:{}};/*! - * Bootstrap v5.3.6 (https://getbootstrap.com/) - * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - */var nS=Pi.exports,md;function sS(){return md||(md=1,function(e,t){(function(n,s){e.exports=s()})(nS,function(){const n=new Map,s={set(d,i,c){n.has(d)||n.set(d,new Map);const m=n.get(d);if(!m.has(i)&&m.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(m.keys())[0]}.`);return}m.set(i,c)},get(d,i){return n.has(d)&&n.get(d).get(i)||null},remove(d,i){if(!n.has(d))return;const c=n.get(d);c.delete(i),c.size===0&&n.delete(d)}},r=1e6,o=1e3,a="transitionend",l=d=>(d&&window.CSS&&window.CSS.escape&&(d=d.replace(/#([^\s"#']+)/g,(i,c)=>`#${CSS.escape(c)}`)),d),u=d=>d==null?`${d}`:Object.prototype.toString.call(d).match(/\s([a-z]+)/i)[1].toLowerCase(),f=d=>{do d+=Math.floor(Math.random()*r);while(document.getElementById(d));return d},h=d=>{if(!d)return 0;let{transitionDuration:i,transitionDelay:c}=window.getComputedStyle(d);const m=Number.parseFloat(i),y=Number.parseFloat(c);return!m&&!y?0:(i=i.split(",")[0],c=c.split(",")[0],(Number.parseFloat(i)+Number.parseFloat(c))*o)},p=d=>{d.dispatchEvent(new Event(a))},_=d=>!d||typeof d!="object"?!1:(typeof d.jquery<"u"&&(d=d[0]),typeof d.nodeType<"u"),g=d=>_(d)?d.jquery?d[0]:d:typeof d=="string"&&d.length>0?document.querySelector(l(d)):null,E=d=>{if(!_(d)||d.getClientRects().length===0)return!1;const i=getComputedStyle(d).getPropertyValue("visibility")==="visible",c=d.closest("details:not([open])");if(!c)return i;if(c!==d){const m=d.closest("summary");if(m&&m.parentNode!==c||m===null)return!1}return i},A=d=>!d||d.nodeType!==Node.ELEMENT_NODE||d.classList.contains("disabled")?!0:typeof d.disabled<"u"?d.disabled:d.hasAttribute("disabled")&&d.getAttribute("disabled")!=="false",H=d=>{if(!document.documentElement.attachShadow)return null;if(typeof d.getRootNode=="function"){const i=d.getRootNode();return i instanceof ShadowRoot?i:null}return d instanceof ShadowRoot?d:d.parentNode?H(d.parentNode):null},I=()=>{},F=d=>{d.offsetHeight},k=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,U=[],q=d=>{document.readyState==="loading"?(U.length||document.addEventListener("DOMContentLoaded",()=>{for(const i of U)i()}),U.push(d)):d()},O=()=>document.documentElement.dir==="rtl",R=d=>{q(()=>{const i=k();if(i){const c=d.NAME,m=i.fn[c];i.fn[c]=d.jQueryInterface,i.fn[c].Constructor=d,i.fn[c].noConflict=()=>(i.fn[c]=m,d.jQueryInterface)}})},w=(d,i=[],c=d)=>typeof d=="function"?d.call(...i):c,S=(d,i,c=!0)=>{if(!c){w(d);return}const y=h(i)+5;let x=!1;const P=({target:W})=>{W===i&&(x=!0,i.removeEventListener(a,P),w(d))};i.addEventListener(a,P),setTimeout(()=>{x||p(i)},y)},L=(d,i,c,m)=>{const y=d.length;let x=d.indexOf(i);return x===-1?!c&&m?d[y-1]:d[0]:(x+=c?1:-1,m&&(x=(x+y)%y),d[Math.max(0,Math.min(x,y-1))])},M=/[^.]*(?=\..*)\.|.*/,D=/\..*/,z=/::\d+$/,j={};let X=1;const Y={mouseenter:"mouseover",mouseleave:"mouseout"},Q=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function J(d,i){return i&&`${i}::${X++}`||d.uidEvent||X++}function ce(d){const i=J(d);return d.uidEvent=i,j[i]=j[i]||{},j[i]}function ue(d,i){return function c(m){return te(m,{delegateTarget:d}),c.oneOff&&T.off(d,m.type,i),i.apply(d,[m])}}function _e(d,i,c){return function m(y){const x=d.querySelectorAll(i);for(let{target:P}=y;P&&P!==this;P=P.parentNode)for(const W of x)if(W===P)return te(y,{delegateTarget:P}),m.oneOff&&T.off(d,y.type,i,c),c.apply(P,[y])}}function be(d,i,c=null){return Object.values(d).find(m=>m.callable===i&&m.delegationSelector===c)}function Ne(d,i,c){const m=typeof i=="string",y=m?c:i||c;let x=V(d);return Q.has(x)||(x=d),[m,y,x]}function Ie(d,i,c,m,y){if(typeof i!="string"||!d)return;let[x,P,W]=Ne(i,c,m);i in Y&&(P=(Ue=>function(Se){if(!Se.relatedTarget||Se.relatedTarget!==Se.delegateTarget&&!Se.delegateTarget.contains(Se.relatedTarget))return Ue.call(this,Se)})(P));const ee=ce(d),le=ee[W]||(ee[W]={}),ne=be(le,P,x?c:null);if(ne){ne.oneOff=ne.oneOff&&y;return}const Te=J(P,i.replace(M,"")),Ae=x?_e(d,c,P):ue(d,P);Ae.delegationSelector=x?c:null,Ae.callable=P,Ae.oneOff=y,Ae.uidEvent=Te,le[Te]=Ae,d.addEventListener(W,Ae,x)}function qe(d,i,c,m,y){const x=be(i[c],m,y);x&&(d.removeEventListener(c,x,!!y),delete i[c][x.uidEvent])}function We(d,i,c,m){const y=i[c]||{};for(const[x,P]of Object.entries(y))x.includes(m)&&qe(d,i,c,P.callable,P.delegationSelector)}function V(d){return d=d.replace(D,""),Y[d]||d}const T={on(d,i,c,m){Ie(d,i,c,m,!1)},one(d,i,c,m){Ie(d,i,c,m,!0)},off(d,i,c,m){if(typeof i!="string"||!d)return;const[y,x,P]=Ne(i,c,m),W=P!==i,ee=ce(d),le=ee[P]||{},ne=i.startsWith(".");if(typeof x<"u"){if(!Object.keys(le).length)return;qe(d,ee,P,x,y?c:null);return}if(ne)for(const Te of Object.keys(ee))We(d,ee,Te,i.slice(1));for(const[Te,Ae]of Object.entries(le)){const ve=Te.replace(z,"");(!W||i.includes(ve))&&qe(d,ee,P,Ae.callable,Ae.delegationSelector)}},trigger(d,i,c){if(typeof i!="string"||!d)return null;const m=k(),y=V(i),x=i!==y;let P=null,W=!0,ee=!0,le=!1;x&&m&&(P=m.Event(i,c),m(d).trigger(P),W=!P.isPropagationStopped(),ee=!P.isImmediatePropagationStopped(),le=P.isDefaultPrevented());const ne=te(new Event(i,{bubbles:W,cancelable:!0}),c);return le&&ne.preventDefault(),ee&&d.dispatchEvent(ne),ne.defaultPrevented&&P&&P.preventDefault(),ne}};function te(d,i={}){for(const[c,m]of Object.entries(i))try{d[c]=m}catch{Object.defineProperty(d,c,{configurable:!0,get(){return m}})}return d}function ie(d){if(d==="true")return!0;if(d==="false")return!1;if(d===Number(d).toString())return Number(d);if(d===""||d==="null")return null;if(typeof d!="string")return d;try{return JSON.parse(decodeURIComponent(d))}catch{return d}}function Ee(d){return d.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`)}const v={setDataAttribute(d,i,c){d.setAttribute(`data-bs-${Ee(i)}`,c)},removeDataAttribute(d,i){d.removeAttribute(`data-bs-${Ee(i)}`)},getDataAttributes(d){if(!d)return{};const i={},c=Object.keys(d.dataset).filter(m=>m.startsWith("bs")&&!m.startsWith("bsConfig"));for(const m of c){let y=m.replace(/^bs/,"");y=y.charAt(0).toLowerCase()+y.slice(1),i[y]=ie(d.dataset[m])}return i},getDataAttribute(d,i){return ie(d.getAttribute(`data-bs-${Ee(i)}`))}};class b{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(i){return i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i}_mergeConfigObj(i,c){const m=_(c)?v.getDataAttribute(c,"config"):{};return{...this.constructor.Default,...typeof m=="object"?m:{},..._(c)?v.getDataAttributes(c):{},...typeof i=="object"?i:{}}}_typeCheckConfig(i,c=this.constructor.DefaultType){for(const[m,y]of Object.entries(c)){const x=i[m],P=_(x)?"element":u(x);if(!new RegExp(y).test(P))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${m}" provided type "${P}" but expected type "${y}".`)}}}const C="5.3.6";class K extends b{constructor(i,c){super(),i=g(i),i&&(this._element=i,this._config=this._getConfig(c),s.set(this._element,this.constructor.DATA_KEY,this))}dispose(){s.remove(this._element,this.constructor.DATA_KEY),T.off(this._element,this.constructor.EVENT_KEY);for(const i of Object.getOwnPropertyNames(this))this[i]=null}_queueCallback(i,c,m=!0){S(i,c,m)}_getConfig(i){return i=this._mergeConfigObj(i,this._element),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}static getInstance(i){return s.get(g(i),this.DATA_KEY)}static getOrCreateInstance(i,c={}){return this.getInstance(i)||new this(i,typeof c=="object"?c:null)}static get VERSION(){return C}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(i){return`${i}${this.EVENT_KEY}`}}const G=d=>{let i=d.getAttribute("data-bs-target");if(!i||i==="#"){let c=d.getAttribute("href");if(!c||!c.includes("#")&&!c.startsWith("."))return null;c.includes("#")&&!c.startsWith("#")&&(c=`#${c.split("#")[1]}`),i=c&&c!=="#"?c.trim():null}return i?i.split(",").map(c=>l(c)).join(","):null},N={find(d,i=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(i,d))},findOne(d,i=document.documentElement){return Element.prototype.querySelector.call(i,d)},children(d,i){return[].concat(...d.children).filter(c=>c.matches(i))},parents(d,i){const c=[];let m=d.parentNode.closest(i);for(;m;)c.push(m),m=m.parentNode.closest(i);return c},prev(d,i){let c=d.previousElementSibling;for(;c;){if(c.matches(i))return[c];c=c.previousElementSibling}return[]},next(d,i){let c=d.nextElementSibling;for(;c;){if(c.matches(i))return[c];c=c.nextElementSibling}return[]},focusableChildren(d){const i=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(c=>`${c}:not([tabindex^="-"])`).join(",");return this.find(i,d).filter(c=>!A(c)&&E(c))},getSelectorFromElement(d){const i=G(d);return i&&N.findOne(i)?i:null},getElementFromSelector(d){const i=G(d);return i?N.findOne(i):null},getMultipleElementsFromSelector(d){const i=G(d);return i?N.find(i):[]}},oe=(d,i="hide")=>{const c=`click.dismiss${d.EVENT_KEY}`,m=d.NAME;T.on(document,c,`[data-bs-dismiss="${m}"]`,function(y){if(["A","AREA"].includes(this.tagName)&&y.preventDefault(),A(this))return;const x=N.getElementFromSelector(this)||this.closest(`.${m}`);d.getOrCreateInstance(x)[i]()})},re="alert",Z=".bs.alert",he=`close${Z}`,ae=`closed${Z}`,fe="fade",pe="show";class we extends K{static get NAME(){return re}close(){if(T.trigger(this._element,he).defaultPrevented)return;this._element.classList.remove(pe);const c=this._element.classList.contains(fe);this._queueCallback(()=>this._destroyElement(),this._element,c)}_destroyElement(){this._element.remove(),T.trigger(this._element,ae),this.dispose()}static jQueryInterface(i){return this.each(function(){const c=we.getOrCreateInstance(this);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i](this)}})}}oe(we,"close"),R(we);const Me="button",mt=".bs.button",ut=".data-api",kt="active",xt='[data-bs-toggle="button"]',Yn=`click${mt}${ut}`;class On extends K{static get NAME(){return Me}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(kt))}static jQueryInterface(i){return this.each(function(){const c=On.getOrCreateInstance(this);i==="toggle"&&c[i]()})}}T.on(document,Yn,xt,d=>{d.preventDefault();const i=d.target.closest(xt);On.getOrCreateInstance(i).toggle()}),R(On);const gt="swipe",it=".bs.swipe",zr=`touchstart${it}`,Vp=`touchmove${it}`,Up=`touchend${it}`,jp=`pointerdown${it}`,qp=`pointerup${it}`,Kp="touch",Wp="pen",Yp="pointer-event",zp=40,Gp={endCallback:null,leftCallback:null,rightCallback:null},Jp={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Gr extends b{constructor(i,c){super(),this._element=i,!(!i||!Gr.isSupported())&&(this._config=this._getConfig(c),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Gp}static get DefaultType(){return Jp}static get NAME(){return gt}dispose(){T.off(this._element,it)}_start(i){if(!this._supportPointerEvents){this._deltaX=i.touches[0].clientX;return}this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX)}_end(i){this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX-this._deltaX),this._handleSwipe(),w(this._config.endCallback)}_move(i){this._deltaX=i.touches&&i.touches.length>1?0:i.touches[0].clientX-this._deltaX}_handleSwipe(){const i=Math.abs(this._deltaX);if(i<=zp)return;const c=i/this._deltaX;this._deltaX=0,c&&w(c>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(T.on(this._element,jp,i=>this._start(i)),T.on(this._element,qp,i=>this._end(i)),this._element.classList.add(Yp)):(T.on(this._element,zr,i=>this._start(i)),T.on(this._element,Vp,i=>this._move(i)),T.on(this._element,Up,i=>this._end(i)))}_eventIsPointerPenTouch(i){return this._supportPointerEvents&&(i.pointerType===Wp||i.pointerType===Kp)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Qp="carousel",Rn=".bs.carousel",Wl=".data-api",Xp="ArrowLeft",Zp="ArrowRight",em=500,or="next",Ss="prev",Cs="left",Jr="right",tm=`slide${Rn}`,bo=`slid${Rn}`,nm=`keydown${Rn}`,sm=`mouseenter${Rn}`,rm=`mouseleave${Rn}`,im=`dragstart${Rn}`,om=`load${Rn}${Wl}`,am=`click${Rn}${Wl}`,Yl="carousel",Qr="active",lm="slide",cm="carousel-item-end",um="carousel-item-start",fm="carousel-item-next",dm="carousel-item-prev",zl=".active",Gl=".carousel-item",hm=zl+Gl,pm=".carousel-item img",mm=".carousel-indicators",gm="[data-bs-slide], [data-bs-slide-to]",_m='[data-bs-ride="carousel"]',vm={[Xp]:Jr,[Zp]:Cs},bm={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ym={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Os extends K{constructor(i,c){super(i,c),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=N.findOne(mm,this._element),this._addEventListeners(),this._config.ride===Yl&&this.cycle()}static get Default(){return bm}static get DefaultType(){return ym}static get NAME(){return Qp}next(){this._slide(or)}nextWhenVisible(){!document.hidden&&E(this._element)&&this.next()}prev(){this._slide(Ss)}pause(){this._isSliding&&p(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){T.one(this._element,bo,()=>this.cycle());return}this.cycle()}}to(i){const c=this._getItems();if(i>c.length-1||i<0)return;if(this._isSliding){T.one(this._element,bo,()=>this.to(i));return}const m=this._getItemIndex(this._getActive());if(m===i)return;const y=i>m?or:Ss;this._slide(y,c[i])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(i){return i.defaultInterval=i.interval,i}_addEventListeners(){this._config.keyboard&&T.on(this._element,nm,i=>this._keydown(i)),this._config.pause==="hover"&&(T.on(this._element,sm,()=>this.pause()),T.on(this._element,rm,()=>this._maybeEnableCycle())),this._config.touch&&Gr.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const m of N.find(pm,this._element))T.on(m,im,y=>y.preventDefault());const c={leftCallback:()=>this._slide(this._directionToOrder(Cs)),rightCallback:()=>this._slide(this._directionToOrder(Jr)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),em+this._config.interval))}};this._swipeHelper=new Gr(this._element,c)}_keydown(i){if(/input|textarea/i.test(i.target.tagName))return;const c=vm[i.key];c&&(i.preventDefault(),this._slide(this._directionToOrder(c)))}_getItemIndex(i){return this._getItems().indexOf(i)}_setActiveIndicatorElement(i){if(!this._indicatorsElement)return;const c=N.findOne(zl,this._indicatorsElement);c.classList.remove(Qr),c.removeAttribute("aria-current");const m=N.findOne(`[data-bs-slide-to="${i}"]`,this._indicatorsElement);m&&(m.classList.add(Qr),m.setAttribute("aria-current","true"))}_updateInterval(){const i=this._activeElement||this._getActive();if(!i)return;const c=Number.parseInt(i.getAttribute("data-bs-interval"),10);this._config.interval=c||this._config.defaultInterval}_slide(i,c=null){if(this._isSliding)return;const m=this._getActive(),y=i===or,x=c||L(this._getItems(),m,y,this._config.wrap);if(x===m)return;const P=this._getItemIndex(x),W=ve=>T.trigger(this._element,ve,{relatedTarget:x,direction:this._orderToDirection(i),from:this._getItemIndex(m),to:P});if(W(tm).defaultPrevented||!m||!x)return;const le=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(P),this._activeElement=x;const ne=y?um:cm,Te=y?fm:dm;x.classList.add(Te),F(x),m.classList.add(ne),x.classList.add(ne);const Ae=()=>{x.classList.remove(ne,Te),x.classList.add(Qr),m.classList.remove(Qr,Te,ne),this._isSliding=!1,W(bo)};this._queueCallback(Ae,m,this._isAnimated()),le&&this.cycle()}_isAnimated(){return this._element.classList.contains(lm)}_getActive(){return N.findOne(hm,this._element)}_getItems(){return N.find(Gl,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(i){return O()?i===Cs?Ss:or:i===Cs?or:Ss}_orderToDirection(i){return O()?i===Ss?Cs:Jr:i===Ss?Jr:Cs}static jQueryInterface(i){return this.each(function(){const c=Os.getOrCreateInstance(this,i);if(typeof i=="number"){c.to(i);return}if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}})}}T.on(document,am,gm,function(d){const i=N.getElementFromSelector(this);if(!i||!i.classList.contains(Yl))return;d.preventDefault();const c=Os.getOrCreateInstance(i),m=this.getAttribute("data-bs-slide-to");if(m){c.to(m),c._maybeEnableCycle();return}if(v.getDataAttribute(this,"slide")==="next"){c.next(),c._maybeEnableCycle();return}c.prev(),c._maybeEnableCycle()}),T.on(window,om,()=>{const d=N.find(_m);for(const i of d)Os.getOrCreateInstance(i)}),R(Os);const Em="collapse",ar=".bs.collapse",wm=".data-api",Tm=`show${ar}`,Am=`shown${ar}`,Sm=`hide${ar}`,Cm=`hidden${ar}`,Om=`click${ar}${wm}`,yo="show",Rs="collapse",Xr="collapsing",Rm="collapsed",Nm=`:scope .${Rs} .${Rs}`,xm="collapse-horizontal",$m="width",Pm="height",Dm=".collapse.show, .collapse.collapsing",Eo='[data-bs-toggle="collapse"]',Lm={parent:null,toggle:!0},Im={parent:"(null|element)",toggle:"boolean"};class Ns extends K{constructor(i,c){super(i,c),this._isTransitioning=!1,this._triggerArray=[];const m=N.find(Eo);for(const y of m){const x=N.getSelectorFromElement(y),P=N.find(x).filter(W=>W===this._element);x!==null&&P.length&&this._triggerArray.push(y)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Lm}static get DefaultType(){return Im}static get NAME(){return Em}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let i=[];if(this._config.parent&&(i=this._getFirstLevelChildren(Dm).filter(W=>W!==this._element).map(W=>Ns.getOrCreateInstance(W,{toggle:!1}))),i.length&&i[0]._isTransitioning||T.trigger(this._element,Tm).defaultPrevented)return;for(const W of i)W.hide();const m=this._getDimension();this._element.classList.remove(Rs),this._element.classList.add(Xr),this._element.style[m]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const y=()=>{this._isTransitioning=!1,this._element.classList.remove(Xr),this._element.classList.add(Rs,yo),this._element.style[m]="",T.trigger(this._element,Am)},P=`scroll${m[0].toUpperCase()+m.slice(1)}`;this._queueCallback(y,this._element,!0),this._element.style[m]=`${this._element[P]}px`}hide(){if(this._isTransitioning||!this._isShown()||T.trigger(this._element,Sm).defaultPrevented)return;const c=this._getDimension();this._element.style[c]=`${this._element.getBoundingClientRect()[c]}px`,F(this._element),this._element.classList.add(Xr),this._element.classList.remove(Rs,yo);for(const y of this._triggerArray){const x=N.getElementFromSelector(y);x&&!this._isShown(x)&&this._addAriaAndCollapsedClass([y],!1)}this._isTransitioning=!0;const m=()=>{this._isTransitioning=!1,this._element.classList.remove(Xr),this._element.classList.add(Rs),T.trigger(this._element,Cm)};this._element.style[c]="",this._queueCallback(m,this._element,!0)}_isShown(i=this._element){return i.classList.contains(yo)}_configAfterMerge(i){return i.toggle=!!i.toggle,i.parent=g(i.parent),i}_getDimension(){return this._element.classList.contains(xm)?$m:Pm}_initializeChildren(){if(!this._config.parent)return;const i=this._getFirstLevelChildren(Eo);for(const c of i){const m=N.getElementFromSelector(c);m&&this._addAriaAndCollapsedClass([c],this._isShown(m))}}_getFirstLevelChildren(i){const c=N.find(Nm,this._config.parent);return N.find(i,this._config.parent).filter(m=>!c.includes(m))}_addAriaAndCollapsedClass(i,c){if(i.length)for(const m of i)m.classList.toggle(Rm,!c),m.setAttribute("aria-expanded",c)}static jQueryInterface(i){const c={};return typeof i=="string"&&/show|hide/.test(i)&&(c.toggle=!1),this.each(function(){const m=Ns.getOrCreateInstance(this,c);if(typeof i=="string"){if(typeof m[i]>"u")throw new TypeError(`No method named "${i}"`);m[i]()}})}}T.on(document,Om,Eo,function(d){(d.target.tagName==="A"||d.delegateTarget&&d.delegateTarget.tagName==="A")&&d.preventDefault();for(const i of N.getMultipleElementsFromSelector(this))Ns.getOrCreateInstance(i,{toggle:!1}).toggle()}),R(Ns);var _t="top",$t="bottom",Pt="right",vt="left",Zr="auto",xs=[_t,$t,Pt,vt],zn="start",$s="end",Jl="clippingParents",wo="viewport",Ps="popper",Ql="reference",To=xs.reduce(function(d,i){return d.concat([i+"-"+zn,i+"-"+$s])},[]),Ao=[].concat(xs,[Zr]).reduce(function(d,i){return d.concat([i,i+"-"+zn,i+"-"+$s])},[]),Xl="beforeRead",Zl="read",ec="afterRead",tc="beforeMain",nc="main",sc="afterMain",rc="beforeWrite",ic="write",oc="afterWrite",ac=[Xl,Zl,ec,tc,nc,sc,rc,ic,oc];function Zt(d){return d?(d.nodeName||"").toLowerCase():null}function Dt(d){if(d==null)return window;if(d.toString()!=="[object Window]"){var i=d.ownerDocument;return i&&i.defaultView||window}return d}function Gn(d){var i=Dt(d).Element;return d instanceof i||d instanceof Element}function Bt(d){var i=Dt(d).HTMLElement;return d instanceof i||d instanceof HTMLElement}function So(d){if(typeof ShadowRoot>"u")return!1;var i=Dt(d).ShadowRoot;return d instanceof i||d instanceof ShadowRoot}function Mm(d){var i=d.state;Object.keys(i.elements).forEach(function(c){var m=i.styles[c]||{},y=i.attributes[c]||{},x=i.elements[c];!Bt(x)||!Zt(x)||(Object.assign(x.style,m),Object.keys(y).forEach(function(P){var W=y[P];W===!1?x.removeAttribute(P):x.setAttribute(P,W===!0?"":W)}))})}function km(d){var i=d.state,c={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,c.popper),i.styles=c,i.elements.arrow&&Object.assign(i.elements.arrow.style,c.arrow),function(){Object.keys(i.elements).forEach(function(m){var y=i.elements[m],x=i.attributes[m]||{},P=Object.keys(i.styles.hasOwnProperty(m)?i.styles[m]:c[m]),W=P.reduce(function(ee,le){return ee[le]="",ee},{});!Bt(y)||!Zt(y)||(Object.assign(y.style,W),Object.keys(x).forEach(function(ee){y.removeAttribute(ee)}))})}}const Co={name:"applyStyles",enabled:!0,phase:"write",fn:Mm,effect:km,requires:["computeStyles"]};function en(d){return d.split("-")[0]}var Jn=Math.max,ei=Math.min,Ds=Math.round;function Oo(){var d=navigator.userAgentData;return d!=null&&d.brands&&Array.isArray(d.brands)?d.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function lc(){return!/^((?!chrome|android).)*safari/i.test(Oo())}function Ls(d,i,c){i===void 0&&(i=!1),c===void 0&&(c=!1);var m=d.getBoundingClientRect(),y=1,x=1;i&&Bt(d)&&(y=d.offsetWidth>0&&Ds(m.width)/d.offsetWidth||1,x=d.offsetHeight>0&&Ds(m.height)/d.offsetHeight||1);var P=Gn(d)?Dt(d):window,W=P.visualViewport,ee=!lc()&&c,le=(m.left+(ee&&W?W.offsetLeft:0))/y,ne=(m.top+(ee&&W?W.offsetTop:0))/x,Te=m.width/y,Ae=m.height/x;return{width:Te,height:Ae,top:ne,right:le+Te,bottom:ne+Ae,left:le,x:le,y:ne}}function Ro(d){var i=Ls(d),c=d.offsetWidth,m=d.offsetHeight;return Math.abs(i.width-c)<=1&&(c=i.width),Math.abs(i.height-m)<=1&&(m=i.height),{x:d.offsetLeft,y:d.offsetTop,width:c,height:m}}function cc(d,i){var c=i.getRootNode&&i.getRootNode();if(d.contains(i))return!0;if(c&&So(c)){var m=i;do{if(m&&d.isSameNode(m))return!0;m=m.parentNode||m.host}while(m)}return!1}function hn(d){return Dt(d).getComputedStyle(d)}function Bm(d){return["table","td","th"].indexOf(Zt(d))>=0}function Nn(d){return((Gn(d)?d.ownerDocument:d.document)||window.document).documentElement}function ti(d){return Zt(d)==="html"?d:d.assignedSlot||d.parentNode||(So(d)?d.host:null)||Nn(d)}function uc(d){return!Bt(d)||hn(d).position==="fixed"?null:d.offsetParent}function Fm(d){var i=/firefox/i.test(Oo()),c=/Trident/i.test(Oo());if(c&&Bt(d)){var m=hn(d);if(m.position==="fixed")return null}var y=ti(d);for(So(y)&&(y=y.host);Bt(y)&&["html","body"].indexOf(Zt(y))<0;){var x=hn(y);if(x.transform!=="none"||x.perspective!=="none"||x.contain==="paint"||["transform","perspective"].indexOf(x.willChange)!==-1||i&&x.willChange==="filter"||i&&x.filter&&x.filter!=="none")return y;y=y.parentNode}return null}function lr(d){for(var i=Dt(d),c=uc(d);c&&Bm(c)&&hn(c).position==="static";)c=uc(c);return c&&(Zt(c)==="html"||Zt(c)==="body"&&hn(c).position==="static")?i:c||Fm(d)||i}function No(d){return["top","bottom"].indexOf(d)>=0?"x":"y"}function cr(d,i,c){return Jn(d,ei(i,c))}function Hm(d,i,c){var m=cr(d,i,c);return m>c?c:m}function fc(){return{top:0,right:0,bottom:0,left:0}}function dc(d){return Object.assign({},fc(),d)}function hc(d,i){return i.reduce(function(c,m){return c[m]=d,c},{})}var Vm=function(i,c){return i=typeof i=="function"?i(Object.assign({},c.rects,{placement:c.placement})):i,dc(typeof i!="number"?i:hc(i,xs))};function Um(d){var i,c=d.state,m=d.name,y=d.options,x=c.elements.arrow,P=c.modifiersData.popperOffsets,W=en(c.placement),ee=No(W),le=[vt,Pt].indexOf(W)>=0,ne=le?"height":"width";if(!(!x||!P)){var Te=Vm(y.padding,c),Ae=Ro(x),ve=ee==="y"?_t:vt,Ue=ee==="y"?$t:Pt,Se=c.rects.reference[ne]+c.rects.reference[ee]-P[ee]-c.rects.popper[ne],xe=P[ee]-c.rects.reference[ee],Ke=lr(x),Qe=Ke?ee==="y"?Ke.clientHeight||0:Ke.clientWidth||0:0,Xe=Se/2-xe/2,Ce=Te[ve],ke=Qe-Ae[ne]-Te[Ue],Be=Qe/2-Ae[ne]/2+Xe,Ge=cr(Ce,Be,ke),ot=ee;c.modifiersData[m]=(i={},i[ot]=Ge,i.centerOffset=Ge-Be,i)}}function jm(d){var i=d.state,c=d.options,m=c.element,y=m===void 0?"[data-popper-arrow]":m;y!=null&&(typeof y=="string"&&(y=i.elements.popper.querySelector(y),!y)||cc(i.elements.popper,y)&&(i.elements.arrow=y))}const pc={name:"arrow",enabled:!0,phase:"main",fn:Um,effect:jm,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Is(d){return d.split("-")[1]}var qm={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Km(d,i){var c=d.x,m=d.y,y=i.devicePixelRatio||1;return{x:Ds(c*y)/y||0,y:Ds(m*y)/y||0}}function mc(d){var i,c=d.popper,m=d.popperRect,y=d.placement,x=d.variation,P=d.offsets,W=d.position,ee=d.gpuAcceleration,le=d.adaptive,ne=d.roundOffsets,Te=d.isFixed,Ae=P.x,ve=Ae===void 0?0:Ae,Ue=P.y,Se=Ue===void 0?0:Ue,xe=typeof ne=="function"?ne({x:ve,y:Se}):{x:ve,y:Se};ve=xe.x,Se=xe.y;var Ke=P.hasOwnProperty("x"),Qe=P.hasOwnProperty("y"),Xe=vt,Ce=_t,ke=window;if(le){var Be=lr(c),Ge="clientHeight",ot="clientWidth";if(Be===Dt(c)&&(Be=Nn(c),hn(Be).position!=="static"&&W==="absolute"&&(Ge="scrollHeight",ot="scrollWidth")),Be=Be,y===_t||(y===vt||y===Pt)&&x===$s){Ce=$t;var st=Te&&Be===ke&&ke.visualViewport?ke.visualViewport.height:Be[Ge];Se-=st-m.height,Se*=ee?1:-1}if(y===vt||(y===_t||y===$t)&&x===$s){Xe=Pt;var tt=Te&&Be===ke&&ke.visualViewport?ke.visualViewport.width:Be[ot];ve-=tt-m.width,ve*=ee?1:-1}}var ft=Object.assign({position:W},le&&qm),Kt=ne===!0?Km({x:ve,y:Se},Dt(c)):{x:ve,y:Se};if(ve=Kt.x,Se=Kt.y,ee){var bt;return Object.assign({},ft,(bt={},bt[Ce]=Qe?"0":"",bt[Xe]=Ke?"0":"",bt.transform=(ke.devicePixelRatio||1)<=1?"translate("+ve+"px, "+Se+"px)":"translate3d("+ve+"px, "+Se+"px, 0)",bt))}return Object.assign({},ft,(i={},i[Ce]=Qe?Se+"px":"",i[Xe]=Ke?ve+"px":"",i.transform="",i))}function Wm(d){var i=d.state,c=d.options,m=c.gpuAcceleration,y=m===void 0?!0:m,x=c.adaptive,P=x===void 0?!0:x,W=c.roundOffsets,ee=W===void 0?!0:W,le={placement:en(i.placement),variation:Is(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:y,isFixed:i.options.strategy==="fixed"};i.modifiersData.popperOffsets!=null&&(i.styles.popper=Object.assign({},i.styles.popper,mc(Object.assign({},le,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:P,roundOffsets:ee})))),i.modifiersData.arrow!=null&&(i.styles.arrow=Object.assign({},i.styles.arrow,mc(Object.assign({},le,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:ee})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})}const xo={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Wm,data:{}};var ni={passive:!0};function Ym(d){var i=d.state,c=d.instance,m=d.options,y=m.scroll,x=y===void 0?!0:y,P=m.resize,W=P===void 0?!0:P,ee=Dt(i.elements.popper),le=[].concat(i.scrollParents.reference,i.scrollParents.popper);return x&&le.forEach(function(ne){ne.addEventListener("scroll",c.update,ni)}),W&&ee.addEventListener("resize",c.update,ni),function(){x&&le.forEach(function(ne){ne.removeEventListener("scroll",c.update,ni)}),W&&ee.removeEventListener("resize",c.update,ni)}}const $o={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ym,data:{}};var zm={left:"right",right:"left",bottom:"top",top:"bottom"};function si(d){return d.replace(/left|right|bottom|top/g,function(i){return zm[i]})}var Gm={start:"end",end:"start"};function gc(d){return d.replace(/start|end/g,function(i){return Gm[i]})}function Po(d){var i=Dt(d),c=i.pageXOffset,m=i.pageYOffset;return{scrollLeft:c,scrollTop:m}}function Do(d){return Ls(Nn(d)).left+Po(d).scrollLeft}function Jm(d,i){var c=Dt(d),m=Nn(d),y=c.visualViewport,x=m.clientWidth,P=m.clientHeight,W=0,ee=0;if(y){x=y.width,P=y.height;var le=lc();(le||!le&&i==="fixed")&&(W=y.offsetLeft,ee=y.offsetTop)}return{width:x,height:P,x:W+Do(d),y:ee}}function Qm(d){var i,c=Nn(d),m=Po(d),y=(i=d.ownerDocument)==null?void 0:i.body,x=Jn(c.scrollWidth,c.clientWidth,y?y.scrollWidth:0,y?y.clientWidth:0),P=Jn(c.scrollHeight,c.clientHeight,y?y.scrollHeight:0,y?y.clientHeight:0),W=-m.scrollLeft+Do(d),ee=-m.scrollTop;return hn(y||c).direction==="rtl"&&(W+=Jn(c.clientWidth,y?y.clientWidth:0)-x),{width:x,height:P,x:W,y:ee}}function Lo(d){var i=hn(d),c=i.overflow,m=i.overflowX,y=i.overflowY;return/auto|scroll|overlay|hidden/.test(c+y+m)}function _c(d){return["html","body","#document"].indexOf(Zt(d))>=0?d.ownerDocument.body:Bt(d)&&Lo(d)?d:_c(ti(d))}function ur(d,i){var c;i===void 0&&(i=[]);var m=_c(d),y=m===((c=d.ownerDocument)==null?void 0:c.body),x=Dt(m),P=y?[x].concat(x.visualViewport||[],Lo(m)?m:[]):m,W=i.concat(P);return y?W:W.concat(ur(ti(P)))}function Io(d){return Object.assign({},d,{left:d.x,top:d.y,right:d.x+d.width,bottom:d.y+d.height})}function Xm(d,i){var c=Ls(d,!1,i==="fixed");return c.top=c.top+d.clientTop,c.left=c.left+d.clientLeft,c.bottom=c.top+d.clientHeight,c.right=c.left+d.clientWidth,c.width=d.clientWidth,c.height=d.clientHeight,c.x=c.left,c.y=c.top,c}function vc(d,i,c){return i===wo?Io(Jm(d,c)):Gn(i)?Xm(i,c):Io(Qm(Nn(d)))}function Zm(d){var i=ur(ti(d)),c=["absolute","fixed"].indexOf(hn(d).position)>=0,m=c&&Bt(d)?lr(d):d;return Gn(m)?i.filter(function(y){return Gn(y)&&cc(y,m)&&Zt(y)!=="body"}):[]}function eg(d,i,c,m){var y=i==="clippingParents"?Zm(d):[].concat(i),x=[].concat(y,[c]),P=x[0],W=x.reduce(function(ee,le){var ne=vc(d,le,m);return ee.top=Jn(ne.top,ee.top),ee.right=ei(ne.right,ee.right),ee.bottom=ei(ne.bottom,ee.bottom),ee.left=Jn(ne.left,ee.left),ee},vc(d,P,m));return W.width=W.right-W.left,W.height=W.bottom-W.top,W.x=W.left,W.y=W.top,W}function bc(d){var i=d.reference,c=d.element,m=d.placement,y=m?en(m):null,x=m?Is(m):null,P=i.x+i.width/2-c.width/2,W=i.y+i.height/2-c.height/2,ee;switch(y){case _t:ee={x:P,y:i.y-c.height};break;case $t:ee={x:P,y:i.y+i.height};break;case Pt:ee={x:i.x+i.width,y:W};break;case vt:ee={x:i.x-c.width,y:W};break;default:ee={x:i.x,y:i.y}}var le=y?No(y):null;if(le!=null){var ne=le==="y"?"height":"width";switch(x){case zn:ee[le]=ee[le]-(i[ne]/2-c[ne]/2);break;case $s:ee[le]=ee[le]+(i[ne]/2-c[ne]/2);break}}return ee}function Ms(d,i){i===void 0&&(i={});var c=i,m=c.placement,y=m===void 0?d.placement:m,x=c.strategy,P=x===void 0?d.strategy:x,W=c.boundary,ee=W===void 0?Jl:W,le=c.rootBoundary,ne=le===void 0?wo:le,Te=c.elementContext,Ae=Te===void 0?Ps:Te,ve=c.altBoundary,Ue=ve===void 0?!1:ve,Se=c.padding,xe=Se===void 0?0:Se,Ke=dc(typeof xe!="number"?xe:hc(xe,xs)),Qe=Ae===Ps?Ql:Ps,Xe=d.rects.popper,Ce=d.elements[Ue?Qe:Ae],ke=eg(Gn(Ce)?Ce:Ce.contextElement||Nn(d.elements.popper),ee,ne,P),Be=Ls(d.elements.reference),Ge=bc({reference:Be,element:Xe,placement:y}),ot=Io(Object.assign({},Xe,Ge)),st=Ae===Ps?ot:Be,tt={top:ke.top-st.top+Ke.top,bottom:st.bottom-ke.bottom+Ke.bottom,left:ke.left-st.left+Ke.left,right:st.right-ke.right+Ke.right},ft=d.modifiersData.offset;if(Ae===Ps&&ft){var Kt=ft[y];Object.keys(tt).forEach(function(bt){var rs=[Pt,$t].indexOf(bt)>=0?1:-1,is=[_t,$t].indexOf(bt)>=0?"y":"x";tt[bt]+=Kt[is]*rs})}return tt}function tg(d,i){i===void 0&&(i={});var c=i,m=c.placement,y=c.boundary,x=c.rootBoundary,P=c.padding,W=c.flipVariations,ee=c.allowedAutoPlacements,le=ee===void 0?Ao:ee,ne=Is(m),Te=ne?W?To:To.filter(function(Ue){return Is(Ue)===ne}):xs,Ae=Te.filter(function(Ue){return le.indexOf(Ue)>=0});Ae.length===0&&(Ae=Te);var ve=Ae.reduce(function(Ue,Se){return Ue[Se]=Ms(d,{placement:Se,boundary:y,rootBoundary:x,padding:P})[en(Se)],Ue},{});return Object.keys(ve).sort(function(Ue,Se){return ve[Ue]-ve[Se]})}function ng(d){if(en(d)===Zr)return[];var i=si(d);return[gc(d),i,gc(i)]}function sg(d){var i=d.state,c=d.options,m=d.name;if(!i.modifiersData[m]._skip){for(var y=c.mainAxis,x=y===void 0?!0:y,P=c.altAxis,W=P===void 0?!0:P,ee=c.fallbackPlacements,le=c.padding,ne=c.boundary,Te=c.rootBoundary,Ae=c.altBoundary,ve=c.flipVariations,Ue=ve===void 0?!0:ve,Se=c.allowedAutoPlacements,xe=i.options.placement,Ke=en(xe),Qe=Ke===xe,Xe=ee||(Qe||!Ue?[si(xe)]:ng(xe)),Ce=[xe].concat(Xe).reduce(function(Fs,$n){return Fs.concat(en($n)===Zr?tg(i,{placement:$n,boundary:ne,rootBoundary:Te,padding:le,flipVariations:Ue,allowedAutoPlacements:Se}):$n)},[]),ke=i.rects.reference,Be=i.rects.popper,Ge=new Map,ot=!0,st=Ce[0],tt=0;tt=0,is=rs?"width":"height",Lt=Ms(i,{placement:ft,boundary:ne,rootBoundary:Te,altBoundary:Ae,padding:le}),Wt=rs?bt?Pt:vt:bt?$t:_t;ke[is]>Be[is]&&(Wt=si(Wt));var di=si(Wt),os=[];if(x&&os.push(Lt[Kt]<=0),W&&os.push(Lt[Wt]<=0,Lt[di]<=0),os.every(function(Fs){return Fs})){st=ft,ot=!1;break}Ge.set(ft,os)}if(ot)for(var hi=Ue?3:1,Go=function($n){var mr=Ce.find(function(mi){var as=Ge.get(mi);if(as)return as.slice(0,$n).every(function(Jo){return Jo})});if(mr)return st=mr,"break"},pr=hi;pr>0;pr--){var pi=Go(pr);if(pi==="break")break}i.placement!==st&&(i.modifiersData[m]._skip=!0,i.placement=st,i.reset=!0)}}const yc={name:"flip",enabled:!0,phase:"main",fn:sg,requiresIfExists:["offset"],data:{_skip:!1}};function Ec(d,i,c){return c===void 0&&(c={x:0,y:0}),{top:d.top-i.height-c.y,right:d.right-i.width+c.x,bottom:d.bottom-i.height+c.y,left:d.left-i.width-c.x}}function wc(d){return[_t,Pt,$t,vt].some(function(i){return d[i]>=0})}function rg(d){var i=d.state,c=d.name,m=i.rects.reference,y=i.rects.popper,x=i.modifiersData.preventOverflow,P=Ms(i,{elementContext:"reference"}),W=Ms(i,{altBoundary:!0}),ee=Ec(P,m),le=Ec(W,y,x),ne=wc(ee),Te=wc(le);i.modifiersData[c]={referenceClippingOffsets:ee,popperEscapeOffsets:le,isReferenceHidden:ne,hasPopperEscaped:Te},i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-reference-hidden":ne,"data-popper-escaped":Te})}const Tc={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:rg};function ig(d,i,c){var m=en(d),y=[vt,_t].indexOf(m)>=0?-1:1,x=typeof c=="function"?c(Object.assign({},i,{placement:d})):c,P=x[0],W=x[1];return P=P||0,W=(W||0)*y,[vt,Pt].indexOf(m)>=0?{x:W,y:P}:{x:P,y:W}}function og(d){var i=d.state,c=d.options,m=d.name,y=c.offset,x=y===void 0?[0,0]:y,P=Ao.reduce(function(ne,Te){return ne[Te]=ig(Te,i.rects,x),ne},{}),W=P[i.placement],ee=W.x,le=W.y;i.modifiersData.popperOffsets!=null&&(i.modifiersData.popperOffsets.x+=ee,i.modifiersData.popperOffsets.y+=le),i.modifiersData[m]=P}const Ac={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:og};function ag(d){var i=d.state,c=d.name;i.modifiersData[c]=bc({reference:i.rects.reference,element:i.rects.popper,placement:i.placement})}const Mo={name:"popperOffsets",enabled:!0,phase:"read",fn:ag,data:{}};function lg(d){return d==="x"?"y":"x"}function cg(d){var i=d.state,c=d.options,m=d.name,y=c.mainAxis,x=y===void 0?!0:y,P=c.altAxis,W=P===void 0?!1:P,ee=c.boundary,le=c.rootBoundary,ne=c.altBoundary,Te=c.padding,Ae=c.tether,ve=Ae===void 0?!0:Ae,Ue=c.tetherOffset,Se=Ue===void 0?0:Ue,xe=Ms(i,{boundary:ee,rootBoundary:le,padding:Te,altBoundary:ne}),Ke=en(i.placement),Qe=Is(i.placement),Xe=!Qe,Ce=No(Ke),ke=lg(Ce),Be=i.modifiersData.popperOffsets,Ge=i.rects.reference,ot=i.rects.popper,st=typeof Se=="function"?Se(Object.assign({},i.rects,{placement:i.placement})):Se,tt=typeof st=="number"?{mainAxis:st,altAxis:st}:Object.assign({mainAxis:0,altAxis:0},st),ft=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,Kt={x:0,y:0};if(Be){if(x){var bt,rs=Ce==="y"?_t:vt,is=Ce==="y"?$t:Pt,Lt=Ce==="y"?"height":"width",Wt=Be[Ce],di=Wt+xe[rs],os=Wt-xe[is],hi=ve?-ot[Lt]/2:0,Go=Qe===zn?Ge[Lt]:ot[Lt],pr=Qe===zn?-ot[Lt]:-Ge[Lt],pi=i.elements.arrow,Fs=ve&&pi?Ro(pi):{width:0,height:0},$n=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:fc(),mr=$n[rs],mi=$n[is],as=cr(0,Ge[Lt],Fs[Lt]),Jo=Xe?Ge[Lt]/2-hi-as-mr-tt.mainAxis:Go-as-mr-tt.mainAxis,tb=Xe?-Ge[Lt]/2+hi+as+mi+tt.mainAxis:pr+as+mi+tt.mainAxis,Qo=i.elements.arrow&&lr(i.elements.arrow),nb=Qo?Ce==="y"?Qo.clientTop||0:Qo.clientLeft||0:0,du=(bt=ft==null?void 0:ft[Ce])!=null?bt:0,sb=Wt+Jo-du-nb,rb=Wt+tb-du,hu=cr(ve?ei(di,sb):di,Wt,ve?Jn(os,rb):os);Be[Ce]=hu,Kt[Ce]=hu-Wt}if(W){var pu,ib=Ce==="x"?_t:vt,ob=Ce==="x"?$t:Pt,ls=Be[ke],gi=ke==="y"?"height":"width",mu=ls+xe[ib],gu=ls-xe[ob],Xo=[_t,vt].indexOf(Ke)!==-1,_u=(pu=ft==null?void 0:ft[ke])!=null?pu:0,vu=Xo?mu:ls-Ge[gi]-ot[gi]-_u+tt.altAxis,bu=Xo?ls+Ge[gi]+ot[gi]-_u-tt.altAxis:gu,yu=ve&&Xo?Hm(vu,ls,bu):cr(ve?vu:mu,ls,ve?bu:gu);Be[ke]=yu,Kt[ke]=yu-ls}i.modifiersData[m]=Kt}}const Sc={name:"preventOverflow",enabled:!0,phase:"main",fn:cg,requiresIfExists:["offset"]};function ug(d){return{scrollLeft:d.scrollLeft,scrollTop:d.scrollTop}}function fg(d){return d===Dt(d)||!Bt(d)?Po(d):ug(d)}function dg(d){var i=d.getBoundingClientRect(),c=Ds(i.width)/d.offsetWidth||1,m=Ds(i.height)/d.offsetHeight||1;return c!==1||m!==1}function hg(d,i,c){c===void 0&&(c=!1);var m=Bt(i),y=Bt(i)&&dg(i),x=Nn(i),P=Ls(d,y,c),W={scrollLeft:0,scrollTop:0},ee={x:0,y:0};return(m||!m&&!c)&&((Zt(i)!=="body"||Lo(x))&&(W=fg(i)),Bt(i)?(ee=Ls(i,!0),ee.x+=i.clientLeft,ee.y+=i.clientTop):x&&(ee.x=Do(x))),{x:P.left+W.scrollLeft-ee.x,y:P.top+W.scrollTop-ee.y,width:P.width,height:P.height}}function pg(d){var i=new Map,c=new Set,m=[];d.forEach(function(x){i.set(x.name,x)});function y(x){c.add(x.name);var P=[].concat(x.requires||[],x.requiresIfExists||[]);P.forEach(function(W){if(!c.has(W)){var ee=i.get(W);ee&&y(ee)}}),m.push(x)}return d.forEach(function(x){c.has(x.name)||y(x)}),m}function mg(d){var i=pg(d);return ac.reduce(function(c,m){return c.concat(i.filter(function(y){return y.phase===m}))},[])}function gg(d){var i;return function(){return i||(i=new Promise(function(c){Promise.resolve().then(function(){i=void 0,c(d())})})),i}}function _g(d){var i=d.reduce(function(c,m){var y=c[m.name];return c[m.name]=y?Object.assign({},y,m,{options:Object.assign({},y.options,m.options),data:Object.assign({},y.data,m.data)}):m,c},{});return Object.keys(i).map(function(c){return i[c]})}var Cc={placement:"bottom",modifiers:[],strategy:"absolute"};function Oc(){for(var d=arguments.length,i=new Array(d),c=0;c"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let i=this._element;this._config.reference==="parent"?i=this._parent:_(this._config.reference)?i=g(this._config.reference):typeof this._config.reference=="object"&&(i=this._config.reference);const c=this._getPopperConfig();this._popper=ko(i,this._menu,c)}_isShown(){return this._menu.classList.contains(ks)}_getPlacement(){const i=this._parent;if(i.classList.contains($g))return jg;if(i.classList.contains(Pg))return qg;if(i.classList.contains(Dg))return Kg;if(i.classList.contains(Lg))return Wg;const c=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return i.classList.contains(xg)?c?Hg:Fg:c?Ug:Vg}_detectNavbar(){return this._element.closest(Mg)!==null}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(c=>Number.parseInt(c,10)):typeof i=="function"?c=>i(c,this._element):i}_getPopperConfig(){const i={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(v.setDataAttribute(this._menu,"popper","static"),i.modifiers=[{name:"applyStyles",enabled:!1}]),{...i,...w(this._config.popperConfig,[void 0,i])}}_selectMenuItem({key:i,target:c}){const m=N.find(Bg,this._menu).filter(y=>E(y));m.length&&L(m,c,i===$c,!m.includes(c)).focus()}static jQueryInterface(i){return this.each(function(){const c=qt.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i]()}})}static clearMenus(i){if(i.button===Ag||i.type==="keyup"&&i.key!==xc)return;const c=N.find(Ig);for(const m of c){const y=qt.getInstance(m);if(!y||y._config.autoClose===!1)continue;const x=i.composedPath(),P=x.includes(y._menu);if(x.includes(y._element)||y._config.autoClose==="inside"&&!P||y._config.autoClose==="outside"&&P||y._menu.contains(i.target)&&(i.type==="keyup"&&i.key===xc||/input|select|option|textarea|form/i.test(i.target.tagName)))continue;const W={relatedTarget:y._element};i.type==="click"&&(W.clickEvent=i),y._completeHide(W)}}static dataApiKeydownHandler(i){const c=/input|textarea/i.test(i.target.tagName),m=i.key===wg,y=[Tg,$c].includes(i.key);if(!y&&!m||c&&!m)return;i.preventDefault();const x=this.matches(Xn)?this:N.prev(this,Xn)[0]||N.next(this,Xn)[0]||N.findOne(Xn,i.delegateTarget.parentNode),P=qt.getOrCreateInstance(x);if(y){i.stopPropagation(),P.show(),P._selectMenuItem(i);return}P._isShown()&&(i.stopPropagation(),P.hide(),x.focus())}}T.on(document,Dc,Xn,qt.dataApiKeydownHandler),T.on(document,Dc,ii,qt.dataApiKeydownHandler),T.on(document,Pc,qt.clearMenus),T.on(document,Ng,qt.clearMenus),T.on(document,Pc,Xn,function(d){d.preventDefault(),qt.getOrCreateInstance(this).toggle()}),R(qt);const Lc="backdrop",Gg="fade",Ic="show",Mc=`mousedown.bs.${Lc}`,Jg={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Qg={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class kc extends b{constructor(i){super(),this._config=this._getConfig(i),this._isAppended=!1,this._element=null}static get Default(){return Jg}static get DefaultType(){return Qg}static get NAME(){return Lc}show(i){if(!this._config.isVisible){w(i);return}this._append();const c=this._getElement();this._config.isAnimated&&F(c),c.classList.add(Ic),this._emulateAnimation(()=>{w(i)})}hide(i){if(!this._config.isVisible){w(i);return}this._getElement().classList.remove(Ic),this._emulateAnimation(()=>{this.dispose(),w(i)})}dispose(){this._isAppended&&(T.off(this._element,Mc),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const i=document.createElement("div");i.className=this._config.className,this._config.isAnimated&&i.classList.add(Gg),this._element=i}return this._element}_configAfterMerge(i){return i.rootElement=g(i.rootElement),i}_append(){if(this._isAppended)return;const i=this._getElement();this._config.rootElement.append(i),T.on(i,Mc,()=>{w(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(i){S(i,this._getElement(),this._config.isAnimated)}}const Xg="focustrap",oi=".bs.focustrap",Zg=`focusin${oi}`,e_=`keydown.tab${oi}`,t_="Tab",n_="forward",Bc="backward",s_={autofocus:!0,trapElement:null},r_={autofocus:"boolean",trapElement:"element"};class Fc extends b{constructor(i){super(),this._config=this._getConfig(i),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return s_}static get DefaultType(){return r_}static get NAME(){return Xg}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),T.off(document,oi),T.on(document,Zg,i=>this._handleFocusin(i)),T.on(document,e_,i=>this._handleKeydown(i)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,T.off(document,oi))}_handleFocusin(i){const{trapElement:c}=this._config;if(i.target===document||i.target===c||c.contains(i.target))return;const m=N.focusableChildren(c);m.length===0?c.focus():this._lastTabNavDirection===Bc?m[m.length-1].focus():m[0].focus()}_handleKeydown(i){i.key===t_&&(this._lastTabNavDirection=i.shiftKey?Bc:n_)}}const Hc=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Vc=".sticky-top",ai="padding-right",Uc="margin-right";class Fo{constructor(){this._element=document.body}getWidth(){const i=document.documentElement.clientWidth;return Math.abs(window.innerWidth-i)}hide(){const i=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ai,c=>c+i),this._setElementAttributes(Hc,ai,c=>c+i),this._setElementAttributes(Vc,Uc,c=>c-i)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ai),this._resetElementAttributes(Hc,ai),this._resetElementAttributes(Vc,Uc)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(i,c,m){const y=this.getWidth(),x=P=>{if(P!==this._element&&window.innerWidth>P.clientWidth+y)return;this._saveInitialAttribute(P,c);const W=window.getComputedStyle(P).getPropertyValue(c);P.style.setProperty(c,`${m(Number.parseFloat(W))}px`)};this._applyManipulationCallback(i,x)}_saveInitialAttribute(i,c){const m=i.style.getPropertyValue(c);m&&v.setDataAttribute(i,c,m)}_resetElementAttributes(i,c){const m=y=>{const x=v.getDataAttribute(y,c);if(x===null){y.style.removeProperty(c);return}v.removeDataAttribute(y,c),y.style.setProperty(c,x)};this._applyManipulationCallback(i,m)}_applyManipulationCallback(i,c){if(_(i)){c(i);return}for(const m of N.find(i,this._element))c(m)}}const i_="modal",Ft=".bs.modal",o_=".data-api",a_="Escape",l_=`hide${Ft}`,c_=`hidePrevented${Ft}`,jc=`hidden${Ft}`,qc=`show${Ft}`,u_=`shown${Ft}`,f_=`resize${Ft}`,d_=`click.dismiss${Ft}`,h_=`mousedown.dismiss${Ft}`,p_=`keydown.dismiss${Ft}`,m_=`click${Ft}${o_}`,Kc="modal-open",g_="fade",Wc="show",Ho="modal-static",__=".modal.show",v_=".modal-dialog",b_=".modal-body",y_='[data-bs-toggle="modal"]',E_={backdrop:!0,focus:!0,keyboard:!0},w_={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Zn extends K{constructor(i,c){super(i,c),this._dialog=N.findOne(v_,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Fo,this._addEventListeners()}static get Default(){return E_}static get DefaultType(){return w_}static get NAME(){return i_}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){this._isShown||this._isTransitioning||T.trigger(this._element,qc,{relatedTarget:i}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Kc),this._adjustDialog(),this._backdrop.show(()=>this._showElement(i)))}hide(){!this._isShown||this._isTransitioning||T.trigger(this._element,l_).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Wc),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){T.off(window,Ft),T.off(this._dialog,Ft),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new kc({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Fc({trapElement:this._element})}_showElement(i){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const c=N.findOne(b_,this._dialog);c&&(c.scrollTop=0),F(this._element),this._element.classList.add(Wc);const m=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,T.trigger(this._element,u_,{relatedTarget:i})};this._queueCallback(m,this._dialog,this._isAnimated())}_addEventListeners(){T.on(this._element,p_,i=>{if(i.key===a_){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),T.on(window,f_,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),T.on(this._element,h_,i=>{T.one(this._element,d_,c=>{if(!(this._element!==i.target||this._element!==c.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Kc),this._resetAdjustments(),this._scrollBar.reset(),T.trigger(this._element,jc)})}_isAnimated(){return this._element.classList.contains(g_)}_triggerBackdropTransition(){if(T.trigger(this._element,c_).defaultPrevented)return;const c=this._element.scrollHeight>document.documentElement.clientHeight,m=this._element.style.overflowY;m==="hidden"||this._element.classList.contains(Ho)||(c||(this._element.style.overflowY="hidden"),this._element.classList.add(Ho),this._queueCallback(()=>{this._element.classList.remove(Ho),this._queueCallback(()=>{this._element.style.overflowY=m},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const i=this._element.scrollHeight>document.documentElement.clientHeight,c=this._scrollBar.getWidth(),m=c>0;if(m&&!i){const y=O()?"paddingLeft":"paddingRight";this._element.style[y]=`${c}px`}if(!m&&i){const y=O()?"paddingRight":"paddingLeft";this._element.style[y]=`${c}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(i,c){return this.each(function(){const m=Zn.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof m[i]>"u")throw new TypeError(`No method named "${i}"`);m[i](c)}})}}T.on(document,m_,y_,function(d){const i=N.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&d.preventDefault(),T.one(i,qc,y=>{y.defaultPrevented||T.one(i,jc,()=>{E(this)&&this.focus()})});const c=N.findOne(__);c&&Zn.getInstance(c).hide(),Zn.getOrCreateInstance(i).toggle(this)}),oe(Zn),R(Zn);const T_="offcanvas",pn=".bs.offcanvas",Yc=".data-api",A_=`load${pn}${Yc}`,S_="Escape",zc="show",Gc="showing",Jc="hiding",C_="offcanvas-backdrop",Qc=".offcanvas.show",O_=`show${pn}`,R_=`shown${pn}`,N_=`hide${pn}`,Xc=`hidePrevented${pn}`,Zc=`hidden${pn}`,x_=`resize${pn}`,$_=`click${pn}${Yc}`,P_=`keydown.dismiss${pn}`,D_='[data-bs-toggle="offcanvas"]',L_={backdrop:!0,keyboard:!0,scroll:!1},I_={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class mn extends K{constructor(i,c){super(i,c),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return L_}static get DefaultType(){return I_}static get NAME(){return T_}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){if(this._isShown||T.trigger(this._element,O_,{relatedTarget:i}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Fo().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Gc);const m=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(zc),this._element.classList.remove(Gc),T.trigger(this._element,R_,{relatedTarget:i})};this._queueCallback(m,this._element,!0)}hide(){if(!this._isShown||T.trigger(this._element,N_).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Jc),this._backdrop.hide();const c=()=>{this._element.classList.remove(zc,Jc),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Fo().reset(),T.trigger(this._element,Zc)};this._queueCallback(c,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const i=()=>{if(this._config.backdrop==="static"){T.trigger(this._element,Xc);return}this.hide()},c=!!this._config.backdrop;return new kc({className:C_,isVisible:c,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:c?i:null})}_initializeFocusTrap(){return new Fc({trapElement:this._element})}_addEventListeners(){T.on(this._element,P_,i=>{if(i.key===S_){if(this._config.keyboard){this.hide();return}T.trigger(this._element,Xc)}})}static jQueryInterface(i){return this.each(function(){const c=mn.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i](this)}})}}T.on(document,$_,D_,function(d){const i=N.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&d.preventDefault(),A(this))return;T.one(i,Zc,()=>{E(this)&&this.focus()});const c=N.findOne(Qc);c&&c!==i&&mn.getInstance(c).hide(),mn.getOrCreateInstance(i).toggle(this)}),T.on(window,A_,()=>{for(const d of N.find(Qc))mn.getOrCreateInstance(d).show()}),T.on(window,x_,()=>{for(const d of N.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(d).position!=="fixed"&&mn.getOrCreateInstance(d).hide()}),oe(mn),R(mn);const eu={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},M_=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),k_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,B_=(d,i)=>{const c=d.nodeName.toLowerCase();return i.includes(c)?M_.has(c)?!!k_.test(d.nodeValue):!0:i.filter(m=>m instanceof RegExp).some(m=>m.test(c))};function F_(d,i,c){if(!d.length)return d;if(c&&typeof c=="function")return c(d);const y=new window.DOMParser().parseFromString(d,"text/html"),x=[].concat(...y.body.querySelectorAll("*"));for(const P of x){const W=P.nodeName.toLowerCase();if(!Object.keys(i).includes(W)){P.remove();continue}const ee=[].concat(...P.attributes),le=[].concat(i["*"]||[],i[W]||[]);for(const ne of ee)B_(ne,le)||P.removeAttribute(ne.nodeName)}return y.body.innerHTML}const H_="TemplateFactory",V_={allowList:eu,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},U_={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},j_={entry:"(string|element|function|null)",selector:"(string|element)"};class q_ extends b{constructor(i){super(),this._config=this._getConfig(i)}static get Default(){return V_}static get DefaultType(){return U_}static get NAME(){return H_}getContent(){return Object.values(this._config.content).map(i=>this._resolvePossibleFunction(i)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(i){return this._checkContent(i),this._config.content={...this._config.content,...i},this}toHtml(){const i=document.createElement("div");i.innerHTML=this._maybeSanitize(this._config.template);for(const[y,x]of Object.entries(this._config.content))this._setContent(i,x,y);const c=i.children[0],m=this._resolvePossibleFunction(this._config.extraClass);return m&&c.classList.add(...m.split(" ")),c}_typeCheckConfig(i){super._typeCheckConfig(i),this._checkContent(i.content)}_checkContent(i){for(const[c,m]of Object.entries(i))super._typeCheckConfig({selector:c,entry:m},j_)}_setContent(i,c,m){const y=N.findOne(m,i);if(y){if(c=this._resolvePossibleFunction(c),!c){y.remove();return}if(_(c)){this._putElementInTemplate(g(c),y);return}if(this._config.html){y.innerHTML=this._maybeSanitize(c);return}y.textContent=c}}_maybeSanitize(i){return this._config.sanitize?F_(i,this._config.allowList,this._config.sanitizeFn):i}_resolvePossibleFunction(i){return w(i,[void 0,this])}_putElementInTemplate(i,c){if(this._config.html){c.innerHTML="",c.append(i);return}c.textContent=i.textContent}}const K_="tooltip",W_=new Set(["sanitize","allowList","sanitizeFn"]),Vo="fade",Y_="modal",li="show",z_=".tooltip-inner",tu=`.${Y_}`,nu="hide.bs.modal",fr="hover",Uo="focus",G_="click",J_="manual",Q_="hide",X_="hidden",Z_="show",ev="shown",tv="inserted",nv="click",sv="focusin",rv="focusout",iv="mouseenter",ov="mouseleave",av={AUTO:"auto",TOP:"top",RIGHT:O()?"left":"right",BOTTOM:"bottom",LEFT:O()?"right":"left"},lv={allowList:eu,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},cv={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class es extends K{constructor(i,c){if(typeof Rc>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(i,c),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return lv}static get DefaultType(){return cv}static get NAME(){return K_}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),T.off(this._element.closest(tu),nu,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const i=T.trigger(this._element,this.constructor.eventName(Z_)),m=(H(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(i.defaultPrevented||!m)return;this._disposePopper();const y=this._getTipElement();this._element.setAttribute("aria-describedby",y.getAttribute("id"));const{container:x}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(x.append(y),T.trigger(this._element,this.constructor.eventName(tv))),this._popper=this._createPopper(y),y.classList.add(li),"ontouchstart"in document.documentElement)for(const W of[].concat(...document.body.children))T.on(W,"mouseover",I);const P=()=>{T.trigger(this._element,this.constructor.eventName(ev)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(P,this.tip,this._isAnimated())}hide(){if(!this._isShown()||T.trigger(this._element,this.constructor.eventName(Q_)).defaultPrevented)return;if(this._getTipElement().classList.remove(li),"ontouchstart"in document.documentElement)for(const y of[].concat(...document.body.children))T.off(y,"mouseover",I);this._activeTrigger[G_]=!1,this._activeTrigger[Uo]=!1,this._activeTrigger[fr]=!1,this._isHovered=null;const m=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),T.trigger(this._element,this.constructor.eventName(X_)))};this._queueCallback(m,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(i){const c=this._getTemplateFactory(i).toHtml();if(!c)return null;c.classList.remove(Vo,li),c.classList.add(`bs-${this.constructor.NAME}-auto`);const m=f(this.constructor.NAME).toString();return c.setAttribute("id",m),this._isAnimated()&&c.classList.add(Vo),c}setContent(i){this._newContent=i,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(i){return this._templateFactory?this._templateFactory.changeContent(i):this._templateFactory=new q_({...this._config,content:i,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[z_]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(i){return this.constructor.getOrCreateInstance(i.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Vo)}_isShown(){return this.tip&&this.tip.classList.contains(li)}_createPopper(i){const c=w(this._config.placement,[this,i,this._element]),m=av[c.toUpperCase()];return ko(this._element,i,this._getPopperConfig(m))}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(c=>Number.parseInt(c,10)):typeof i=="function"?c=>i(c,this._element):i}_resolvePossibleFunction(i){return w(i,[this._element,this._element])}_getPopperConfig(i){const c={placement:i,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:m=>{this._getTipElement().setAttribute("data-popper-placement",m.state.placement)}}]};return{...c,...w(this._config.popperConfig,[void 0,c])}}_setListeners(){const i=this._config.trigger.split(" ");for(const c of i)if(c==="click")T.on(this._element,this.constructor.eventName(nv),this._config.selector,m=>{this._initializeOnDelegatedTarget(m).toggle()});else if(c!==J_){const m=c===fr?this.constructor.eventName(iv):this.constructor.eventName(sv),y=c===fr?this.constructor.eventName(ov):this.constructor.eventName(rv);T.on(this._element,m,this._config.selector,x=>{const P=this._initializeOnDelegatedTarget(x);P._activeTrigger[x.type==="focusin"?Uo:fr]=!0,P._enter()}),T.on(this._element,y,this._config.selector,x=>{const P=this._initializeOnDelegatedTarget(x);P._activeTrigger[x.type==="focusout"?Uo:fr]=P._element.contains(x.relatedTarget),P._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},T.on(this._element.closest(tu),nu,this._hideModalHandler)}_fixTitle(){const i=this._element.getAttribute("title");i&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",i),this._element.setAttribute("data-bs-original-title",i),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(i,c){clearTimeout(this._timeout),this._timeout=setTimeout(i,c)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(i){const c=v.getDataAttributes(this._element);for(const m of Object.keys(c))W_.has(m)&&delete c[m];return i={...c,...typeof i=="object"&&i?i:{}},i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i.container=i.container===!1?document.body:g(i.container),typeof i.delay=="number"&&(i.delay={show:i.delay,hide:i.delay}),typeof i.title=="number"&&(i.title=i.title.toString()),typeof i.content=="number"&&(i.content=i.content.toString()),i}_getDelegateConfig(){const i={};for(const[c,m]of Object.entries(this._config))this.constructor.Default[c]!==m&&(i[c]=m);return i.selector=!1,i.trigger="manual",i}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(i){return this.each(function(){const c=es.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i]()}})}}R(es);const uv="popover",fv=".popover-header",dv=".popover-body",hv={...es.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},pv={...es.DefaultType,content:"(null|string|element|function)"};class ci extends es{static get Default(){return hv}static get DefaultType(){return pv}static get NAME(){return uv}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[fv]:this._getTitle(),[dv]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(i){return this.each(function(){const c=ci.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i]()}})}}R(ci);const mv="scrollspy",jo=".bs.scrollspy",gv=".data-api",_v=`activate${jo}`,su=`click${jo}`,vv=`load${jo}${gv}`,bv="dropdown-item",Bs="active",yv='[data-bs-spy="scroll"]',qo="[href]",Ev=".nav, .list-group",ru=".nav-link",wv=`${ru}, .nav-item > ${ru}, .list-group-item`,Tv=".dropdown",Av=".dropdown-toggle",Sv={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Cv={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class dr extends K{constructor(i,c){super(i,c),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Sv}static get DefaultType(){return Cv}static get NAME(){return mv}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const i of this._observableSections.values())this._observer.observe(i)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(i){return i.target=g(i.target)||document.body,i.rootMargin=i.offset?`${i.offset}px 0px -30%`:i.rootMargin,typeof i.threshold=="string"&&(i.threshold=i.threshold.split(",").map(c=>Number.parseFloat(c))),i}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(T.off(this._config.target,su),T.on(this._config.target,su,qo,i=>{const c=this._observableSections.get(i.target.hash);if(c){i.preventDefault();const m=this._rootElement||window,y=c.offsetTop-this._element.offsetTop;if(m.scrollTo){m.scrollTo({top:y,behavior:"smooth"});return}m.scrollTop=y}}))}_getNewObserver(){const i={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(c=>this._observerCallback(c),i)}_observerCallback(i){const c=P=>this._targetLinks.get(`#${P.target.id}`),m=P=>{this._previousScrollData.visibleEntryTop=P.target.offsetTop,this._process(c(P))},y=(this._rootElement||document.documentElement).scrollTop,x=y>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=y;for(const P of i){if(!P.isIntersecting){this._activeTarget=null,this._clearActiveClass(c(P));continue}const W=P.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(x&&W){if(m(P),!y)return;continue}!x&&!W&&m(P)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const i=N.find(qo,this._config.target);for(const c of i){if(!c.hash||A(c))continue;const m=N.findOne(decodeURI(c.hash),this._element);E(m)&&(this._targetLinks.set(decodeURI(c.hash),c),this._observableSections.set(c.hash,m))}}_process(i){this._activeTarget!==i&&(this._clearActiveClass(this._config.target),this._activeTarget=i,i.classList.add(Bs),this._activateParents(i),T.trigger(this._element,_v,{relatedTarget:i}))}_activateParents(i){if(i.classList.contains(bv)){N.findOne(Av,i.closest(Tv)).classList.add(Bs);return}for(const c of N.parents(i,Ev))for(const m of N.prev(c,wv))m.classList.add(Bs)}_clearActiveClass(i){i.classList.remove(Bs);const c=N.find(`${qo}.${Bs}`,i);for(const m of c)m.classList.remove(Bs)}static jQueryInterface(i){return this.each(function(){const c=dr.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}})}}T.on(window,vv,()=>{for(const d of N.find(yv))dr.getOrCreateInstance(d)}),R(dr);const Ov="tab",ts=".bs.tab",Rv=`hide${ts}`,Nv=`hidden${ts}`,xv=`show${ts}`,$v=`shown${ts}`,Pv=`click${ts}`,Dv=`keydown${ts}`,Lv=`load${ts}`,Iv="ArrowLeft",iu="ArrowRight",Mv="ArrowUp",ou="ArrowDown",Ko="Home",au="End",ns="active",lu="fade",Wo="show",kv="dropdown",cu=".dropdown-toggle",Bv=".dropdown-menu",Yo=`:not(${cu})`,Fv='.list-group, .nav, [role="tablist"]',Hv=".nav-item, .list-group-item",Vv=`.nav-link${Yo}, .list-group-item${Yo}, [role="tab"]${Yo}`,uu='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',zo=`${Vv}, ${uu}`,Uv=`.${ns}[data-bs-toggle="tab"], .${ns}[data-bs-toggle="pill"], .${ns}[data-bs-toggle="list"]`;class ss extends K{constructor(i){super(i),this._parent=this._element.closest(Fv),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),T.on(this._element,Dv,c=>this._keydown(c)))}static get NAME(){return Ov}show(){const i=this._element;if(this._elemIsActive(i))return;const c=this._getActiveElem(),m=c?T.trigger(c,Rv,{relatedTarget:i}):null;T.trigger(i,xv,{relatedTarget:c}).defaultPrevented||m&&m.defaultPrevented||(this._deactivate(c,i),this._activate(i,c))}_activate(i,c){if(!i)return;i.classList.add(ns),this._activate(N.getElementFromSelector(i));const m=()=>{if(i.getAttribute("role")!=="tab"){i.classList.add(Wo);return}i.removeAttribute("tabindex"),i.setAttribute("aria-selected",!0),this._toggleDropDown(i,!0),T.trigger(i,$v,{relatedTarget:c})};this._queueCallback(m,i,i.classList.contains(lu))}_deactivate(i,c){if(!i)return;i.classList.remove(ns),i.blur(),this._deactivate(N.getElementFromSelector(i));const m=()=>{if(i.getAttribute("role")!=="tab"){i.classList.remove(Wo);return}i.setAttribute("aria-selected",!1),i.setAttribute("tabindex","-1"),this._toggleDropDown(i,!1),T.trigger(i,Nv,{relatedTarget:c})};this._queueCallback(m,i,i.classList.contains(lu))}_keydown(i){if(![Iv,iu,Mv,ou,Ko,au].includes(i.key))return;i.stopPropagation(),i.preventDefault();const c=this._getChildren().filter(y=>!A(y));let m;if([Ko,au].includes(i.key))m=c[i.key===Ko?0:c.length-1];else{const y=[iu,ou].includes(i.key);m=L(c,i.target,y,!0)}m&&(m.focus({preventScroll:!0}),ss.getOrCreateInstance(m).show())}_getChildren(){return N.find(zo,this._parent)}_getActiveElem(){return this._getChildren().find(i=>this._elemIsActive(i))||null}_setInitialAttributes(i,c){this._setAttributeIfNotExists(i,"role","tablist");for(const m of c)this._setInitialAttributesOnChild(m)}_setInitialAttributesOnChild(i){i=this._getInnerElement(i);const c=this._elemIsActive(i),m=this._getOuterElement(i);i.setAttribute("aria-selected",c),m!==i&&this._setAttributeIfNotExists(m,"role","presentation"),c||i.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(i,"role","tab"),this._setInitialAttributesOnTargetPanel(i)}_setInitialAttributesOnTargetPanel(i){const c=N.getElementFromSelector(i);c&&(this._setAttributeIfNotExists(c,"role","tabpanel"),i.id&&this._setAttributeIfNotExists(c,"aria-labelledby",`${i.id}`))}_toggleDropDown(i,c){const m=this._getOuterElement(i);if(!m.classList.contains(kv))return;const y=(x,P)=>{const W=N.findOne(x,m);W&&W.classList.toggle(P,c)};y(cu,ns),y(Bv,Wo),m.setAttribute("aria-expanded",c)}_setAttributeIfNotExists(i,c,m){i.hasAttribute(c)||i.setAttribute(c,m)}_elemIsActive(i){return i.classList.contains(ns)}_getInnerElement(i){return i.matches(zo)?i:N.findOne(zo,i)}_getOuterElement(i){return i.closest(Hv)||i}static jQueryInterface(i){return this.each(function(){const c=ss.getOrCreateInstance(this);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}})}}T.on(document,Pv,uu,function(d){["A","AREA"].includes(this.tagName)&&d.preventDefault(),!A(this)&&ss.getOrCreateInstance(this).show()}),T.on(window,Lv,()=>{for(const d of N.find(Uv))ss.getOrCreateInstance(d)}),R(ss);const jv="toast",xn=".bs.toast",qv=`mouseover${xn}`,Kv=`mouseout${xn}`,Wv=`focusin${xn}`,Yv=`focusout${xn}`,zv=`hide${xn}`,Gv=`hidden${xn}`,Jv=`show${xn}`,Qv=`shown${xn}`,Xv="fade",fu="hide",ui="show",fi="showing",Zv={animation:"boolean",autohide:"boolean",delay:"number"},eb={animation:!0,autohide:!0,delay:5e3};class hr extends K{constructor(i,c){super(i,c),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return eb}static get DefaultType(){return Zv}static get NAME(){return jv}show(){if(T.trigger(this._element,Jv).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Xv);const c=()=>{this._element.classList.remove(fi),T.trigger(this._element,Qv),this._maybeScheduleHide()};this._element.classList.remove(fu),F(this._element),this._element.classList.add(ui,fi),this._queueCallback(c,this._element,this._config.animation)}hide(){if(!this.isShown()||T.trigger(this._element,zv).defaultPrevented)return;const c=()=>{this._element.classList.add(fu),this._element.classList.remove(fi,ui),T.trigger(this._element,Gv)};this._element.classList.add(fi),this._queueCallback(c,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ui),super.dispose()}isShown(){return this._element.classList.contains(ui)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(i,c){switch(i.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=c;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=c;break}}if(c){this._clearTimeout();return}const m=i.relatedTarget;this._element===m||this._element.contains(m)||this._maybeScheduleHide()}_setListeners(){T.on(this._element,qv,i=>this._onInteraction(i,!0)),T.on(this._element,Kv,i=>this._onInteraction(i,!1)),T.on(this._element,Wv,i=>this._onInteraction(i,!0)),T.on(this._element,Yv,i=>this._onInteraction(i,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(i){return this.each(function(){const c=hr.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i](this)}})}}return oe(hr),R(hr),{Alert:we,Button:On,Carousel:Os,Collapse:Ns,Dropdown:qt,Modal:Zn,Offcanvas:mn,Popover:ci,ScrollSpy:dr,Tab:ss,Toast:hr,Tooltip:es}})}(Pi)),Pi.exports}sS();const Hp=new URLSearchParams(window.location.search),gd=Hp.get("state"),_d=Hp.get("code"),vd=()=>{const e=kE(G1);e.use(HE()),e.use(Kl),e.mount("#app")};gd&&_d?vo("/api/signin/oidc",{provider:gd,code:_d,redirect_uri:window.location.protocol+"//"+window.location.host+window.location.pathname}).then(e=>{let t=new URL(window.location.href);t.search="",history.replaceState({},document.title,t.toString()),vd(),e.status||clientStore().newNotification(e.message,"danger")}):vd(); diff --git a/src/static/client/dist/assets/index-tn8r-uDQ.css b/src/static/client/dist/assets/index-tn8r-uDQ.css deleted file mode 100644 index e55bb3ad..00000000 --- a/src/static/client/dist/assets/index-tn8r-uDQ.css +++ /dev/null @@ -1,9 +0,0 @@ -@charset "UTF-8";/*! - * Bootstrap v5.3.6 (https://getbootstrap.com/) - * Copyright 2011-2025 The Bootstrap Authors - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) - */:root,[data-bs-theme=light]{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: #052c65;--bs-secondary-text-emphasis: #2b2f32;--bs-success-text-emphasis: #0a3622;--bs-info-text-emphasis: #055160;--bs-warning-text-emphasis: #664d03;--bs-danger-text-emphasis: #58151c;--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: #cfe2ff;--bs-secondary-bg-subtle: #e2e3e5;--bs-success-bg-subtle: #d1e7dd;--bs-info-bg-subtle: #cff4fc;--bs-warning-bg-subtle: #fff3cd;--bs-danger-bg-subtle: #f8d7da;--bs-light-bg-subtle: #fcfcfd;--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: #9ec5fe;--bs-secondary-border-subtle: #c4c8cb;--bs-success-border-subtle: #a3cfbb;--bs-info-border-subtle: #9eeaf9;--bs-warning-border-subtle: #ffe69c;--bs-danger-border-subtle: #f1aeb5;--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, .75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, .5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: #0a58ca;--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: #fff3cd;--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, .175);--bs-border-radius: .375rem;--bs-border-radius-sm: .25rem;--bs-border-radius-lg: .5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-box-shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-focus-ring-width: .25rem;--bs-focus-ring-opacity: .25;--bs-focus-ring-color: rgba(13, 110, 253, .25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, .75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, .5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: #2b3035;--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: #6ea8fe;--bs-secondary-text-emphasis: #a7acb1;--bs-success-text-emphasis: #75b798;--bs-info-text-emphasis: #6edff6;--bs-warning-text-emphasis: #ffda6a;--bs-danger-text-emphasis: #ea868f;--bs-light-text-emphasis: #f8f9fa;--bs-dark-text-emphasis: #dee2e6;--bs-primary-bg-subtle: #031633;--bs-secondary-bg-subtle: #161719;--bs-success-bg-subtle: #051b11;--bs-info-bg-subtle: #032830;--bs-warning-bg-subtle: #332701;--bs-danger-bg-subtle: #2c0b0e;--bs-light-bg-subtle: #343a40;--bs-dark-bg-subtle: #1a1d20;--bs-primary-border-subtle: #084298;--bs-secondary-border-subtle: #41464b;--bs-success-border-subtle: #0f5132;--bs-info-border-subtle: #087990;--bs-warning-border-subtle: #997404;--bs-danger-border-subtle: #842029;--bs-light-border-subtle: #495057;--bs-dark-border-subtle: #343a40;--bs-heading-color: inherit;--bs-link-color: #6ea8fe;--bs-link-hover-color: #8bb9fe;--bs-link-color-rgb: 110, 168, 254;--bs-link-hover-color-rgb: 139, 185, 254;--bs-code-color: #e685b5;--bs-highlight-color: #dee2e6;--bs-highlight-bg: #664d03;--bs-border-color: #495057;--bs-border-color-translucent: rgba(255, 255, 255, .15);--bs-form-valid-color: #75b798;--bs-form-valid-border-color: #75b798;--bs-form-invalid-color: #ea868f;--bs-form-invalid-border-color: #ea868f}*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}h6,.h6,h5,.h5,h4,.h4,h3,.h3,h2,.h2,h1,.h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}h1,.h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width: 1200px){h1,.h1{font-size:2.5rem}}h2,.h2{font-size:calc(1.325rem + .9vw)}@media (min-width: 1200px){h2,.h2{font-size:2rem}}h3,.h3{font-size:calc(1.3rem + .6vw)}@media (min-width: 1200px){h3,.h3{font-size:1.75rem}}h4,.h4{font-size:calc(1.275rem + .3vw)}@media (min-width: 1200px){h4,.h4{font-size:1.5rem}}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small,.small{font-size:.875em}mark,.mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, 1));text-decoration:underline}a:hover{--bs-link-color-rgb: var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;line-height:inherit;font-size:calc(1.275rem + .3vw)}@media (min-width: 1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-weight:300;line-height:1.2;font-size:calc(1.625rem + 4.5vw)}@media (min-width: 1200px){.display-1{font-size:5rem}}.display-2{font-weight:300;line-height:1.2;font-size:calc(1.575rem + 3.9vw)}@media (min-width: 1200px){.display-2{font-size:4.5rem}}.display-3{font-weight:300;line-height:1.2;font-size:calc(1.525rem + 3.3vw)}@media (min-width: 1200px){.display-3{font-size:4rem}}.display-4{font-weight:300;line-height:1.2;font-size:calc(1.475rem + 2.7vw)}@media (min-width: 1200px){.display-4{font-size:3.5rem}}.display-5{font-weight:300;line-height:1.2;font-size:calc(1.425rem + 2.1vw)}@media (min-width: 1200px){.display-5{font-size:3rem}}.display-6{font-weight:300;line-height:1.2;font-size:calc(1.375rem + 1.5vw)}@media (min-width: 1200px){.display-6{font-size:2.5rem}}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width: 576px){.container-sm,.container{max-width:540px}}@media (min-width: 768px){.container-md,.container-sm,.container{max-width:720px}}@media (min-width: 992px){.container-lg,.container-md,.container-sm,.container{max-width:960px}}@media (min-width: 1200px){.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1140px}}@media (min-width: 1400px){.container-xxl,.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1320px}}:root{--bs-breakpoint-xs: 0;--bs-breakpoint-sm: 576px;--bs-breakpoint-md: 768px;--bs-breakpoint-lg: 992px;--bs-breakpoint-xl: 1200px;--bs-breakpoint-xxl: 1400px}.row{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: .25rem}.g-1,.gy-1{--bs-gutter-y: .25rem}.g-2,.gx-2{--bs-gutter-x: .5rem}.g-2,.gy-2{--bs-gutter-y: .5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}@media (min-width: 576px){.col-sm{flex:1 0 0}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: .25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: .25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: .5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: .5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}@media (min-width: 768px){.col-md{flex:1 0 0}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: .25rem}.g-md-1,.gy-md-1{--bs-gutter-y: .25rem}.g-md-2,.gx-md-2{--bs-gutter-x: .5rem}.g-md-2,.gy-md-2{--bs-gutter-y: .5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}@media (min-width: 992px){.col-lg{flex:1 0 0}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: .25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: .25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: .5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: .5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}@media (min-width: 1200px){.col-xl{flex:1 0 0}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: .25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: .25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: .5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: .5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}@media (min-width: 1400px){.col-xxl{flex:1 0 0}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x: 0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y: 0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x: .25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y: .25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x: .5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y: .5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x: 1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y: 1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x: 1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y: 1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x: 3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y: 3rem}}.table{--bs-table-color-type: initial;--bs-table-bg-type: initial;--bs-table-color-state: initial;--bs-table-bg-state: initial;--bs-table-color: var(--bs-emphasis-color);--bs-table-bg: var(--bs-body-bg);--bs-table-border-color: var(--bs-border-color);--bs-table-accent-bg: transparent;--bs-table-striped-color: var(--bs-emphasis-color);--bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), .05);--bs-table-active-color: var(--bs-emphasis-color);--bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), .1);--bs-table-hover-color: var(--bs-emphasis-color);--bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), .075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;color:var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-active{--bs-table-color-state: var(--bs-table-active-color);--bs-table-bg-state: var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state: var(--bs-table-hover-color);--bs-table-bg-state: var(--bs-table-hover-bg)}.table-primary{--bs-table-color: #000;--bs-table-bg: #cfe2ff;--bs-table-border-color: #a6b5cc;--bs-table-striped-bg: #c5d7f2;--bs-table-striped-color: #000;--bs-table-active-bg: #bacbe6;--bs-table-active-color: #000;--bs-table-hover-bg: #bfd1ec;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color: #000;--bs-table-bg: #e2e3e5;--bs-table-border-color: #b5b6b7;--bs-table-striped-bg: #d7d8da;--bs-table-striped-color: #000;--bs-table-active-bg: #cbccce;--bs-table-active-color: #000;--bs-table-hover-bg: #d1d2d4;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color: #000;--bs-table-bg: #d1e7dd;--bs-table-border-color: #a7b9b1;--bs-table-striped-bg: #c7dbd2;--bs-table-striped-color: #000;--bs-table-active-bg: #bcd0c7;--bs-table-active-color: #000;--bs-table-hover-bg: #c1d6cc;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color: #000;--bs-table-bg: #cff4fc;--bs-table-border-color: #a6c3ca;--bs-table-striped-bg: #c5e8ef;--bs-table-striped-color: #000;--bs-table-active-bg: #badce3;--bs-table-active-color: #000;--bs-table-hover-bg: #bfe2e9;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color: #000;--bs-table-bg: #fff3cd;--bs-table-border-color: #ccc2a4;--bs-table-striped-bg: #f2e7c3;--bs-table-striped-color: #000;--bs-table-active-bg: #e6dbb9;--bs-table-active-color: #000;--bs-table-hover-bg: #ece1be;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color: #000;--bs-table-bg: #f8d7da;--bs-table-border-color: #c6acae;--bs-table-striped-bg: #eccccf;--bs-table-striped-color: #000;--bs-table-active-bg: #dfc2c4;--bs-table-active-color: #000;--bs-table-hover-bg: #e5c7ca;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color: #000;--bs-table-bg: #f8f9fa;--bs-table-border-color: #c6c7c8;--bs-table-striped-bg: #ecedee;--bs-table-striped-color: #000;--bs-table-active-bg: #dfe0e1;--bs-table-active-color: #000;--bs-table-hover-bg: #e5e6e7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color: #fff;--bs-table-bg: #212529;--bs-table-border-color: #4d5154;--bs-table-striped-bg: #2c3034;--bs-table-striped-color: #fff;--bs-table-active-bg: #373b3e;--bs-table-active-color: #fff;--bs-table-hover-bg: #323539;--bs-table-hover-color: #fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width: 575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--bs-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon, none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg: var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:.25em;vertical-align:top;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input[disabled]~.form-check-label,.form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check[disabled]+.btn,.btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;max-width:100%;height:100%;padding:1rem .75rem;overflow:hidden;color:rgba(var(--bs-body-color-rgb),.65);text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion: reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control::placeholder,.form-floating>.form-control-plaintext::placeholder{color:transparent}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown),.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill,.form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem;padding-left:.75rem}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-control-plaintext~label,.form-floating>.form-select~label{transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:-webkit-autofill~label{transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>textarea:focus~label:after,.form-floating>textarea:not(:placeholder-shown)~label:after{position:absolute;top:1rem;right:.375rem;bottom:1rem;left:.375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>textarea:disabled~label:after{background-color:var(--bs-secondary-bg)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>:disabled~label,.form-floating>.form-control:disabled~label{color:#6c757d}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select,.input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus,.input-group>.form-floating:focus-within{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text,.input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text,.input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(-1 * var(--bs-border-width));border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip,.is-valid~.valid-feedback,.is-valid~.valid-tooltip{display:block}.was-validated .form-control:valid,.form-control.is-valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:valid:focus,.form-control.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:valid,.form-select.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:valid:focus,.form-select.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-control-color:valid,.form-control-color.is-valid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:valid,.form-check-input.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-check-input:valid:checked,.form-check-input.is-valid:checked{background-color:var(--bs-form-valid-color)}.was-validated .form-check-input:valid:focus,.form-check-input.is-valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-check-input:valid~.form-check-label,.form-check-input.is-valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):valid,.input-group>.form-control:not(:focus).is-valid,.was-validated .input-group>.form-select:not(:focus):valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.input-group>.form-floating:not(:focus-within).is-valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip,.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip{display:block}.was-validated .form-control:invalid,.form-control.is-invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:invalid:focus,.form-control.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-control-color:invalid,.form-control-color.is-invalid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:invalid,.form-check-input.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-check-input:invalid:checked,.form-check-input.is-invalid:checked{background-color:var(--bs-form-invalid-color)}.was-validated .form-check-input:invalid:focus,.form-check-input.is-invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-check-input:invalid~.form-check-label,.form-check-input.is-invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):invalid,.input-group>.form-control:not(:focus).is-invalid,.was-validated .input-group>.form-select:not(:focus):invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.input-group>.form-floating:not(:focus-within).is-invalid{z-index:4}.btn{--bs-btn-padding-x: .75rem;--bs-btn-padding-y: .375rem;--bs-btn-font-family: ;--bs-btn-font-size: 1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: var(--bs-body-color);--bs-btn-bg: transparent;--bs-btn-border-width: var(--bs-border-width);--bs-btn-border-color: transparent;--bs-btn-border-radius: var(--bs-border-radius);--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity: .65;--bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked:focus-visible+.btn{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color: #fff;--bs-btn-bg: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0b5ed7;--bs-btn-hover-border-color: #0a58ca;--bs-btn-focus-shadow-rgb: 49, 132, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0a58ca;--bs-btn-active-border-color: #0a53be;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #0d6efd;--bs-btn-disabled-border-color: #0d6efd}.btn-secondary{--bs-btn-color: #fff;--bs-btn-bg: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #5c636a;--bs-btn-hover-border-color: #565e64;--bs-btn-focus-shadow-rgb: 130, 138, 145;--bs-btn-active-color: #fff;--bs-btn-active-bg: #565e64;--bs-btn-active-border-color: #51585e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #6c757d;--bs-btn-disabled-border-color: #6c757d}.btn-success{--bs-btn-color: #fff;--bs-btn-bg: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #157347;--bs-btn-hover-border-color: #146c43;--bs-btn-focus-shadow-rgb: 60, 153, 110;--bs-btn-active-color: #fff;--bs-btn-active-bg: #146c43;--bs-btn-active-border-color: #13653f;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #198754;--bs-btn-disabled-border-color: #198754}.btn-info{--bs-btn-color: #000;--bs-btn-bg: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #31d2f2;--bs-btn-hover-border-color: #25cff2;--bs-btn-focus-shadow-rgb: 11, 172, 204;--bs-btn-active-color: #000;--bs-btn-active-bg: #3dd5f3;--bs-btn-active-border-color: #25cff2;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #0dcaf0;--bs-btn-disabled-border-color: #0dcaf0}.btn-warning{--bs-btn-color: #000;--bs-btn-bg: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffca2c;--bs-btn-hover-border-color: #ffc720;--bs-btn-focus-shadow-rgb: 217, 164, 6;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffcd39;--bs-btn-active-border-color: #ffc720;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ffc107;--bs-btn-disabled-border-color: #ffc107}.btn-danger{--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #bb2d3b;--bs-btn-hover-border-color: #b02a37;--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: #b02a37;--bs-btn-active-border-color: #a52834;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545}.btn-light{--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #d3d4d5;--bs-btn-hover-border-color: #c6c7c8;--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: #c6c7c8;--bs-btn-active-border-color: #babbbc;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa}.btn-dark{--bs-btn-color: #fff;--bs-btn-bg: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #424649;--bs-btn-hover-border-color: #373b3e;--bs-btn-focus-shadow-rgb: 66, 70, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: #4d5154;--bs-btn-active-border-color: #373b3e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #212529;--bs-btn-disabled-border-color: #212529}.btn-outline-primary{--bs-btn-color: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0d6efd;--bs-btn-hover-border-color: #0d6efd;--bs-btn-focus-shadow-rgb: 13, 110, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0d6efd;--bs-btn-active-border-color: #0d6efd;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0d6efd;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0d6efd;--bs-gradient: none}.btn-outline-secondary{--bs-btn-color: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #6c757d;--bs-btn-hover-border-color: #6c757d;--bs-btn-focus-shadow-rgb: 108, 117, 125;--bs-btn-active-color: #fff;--bs-btn-active-bg: #6c757d;--bs-btn-active-border-color: #6c757d;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #6c757d;--bs-gradient: none}.btn-outline-success{--bs-btn-color: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #198754;--bs-btn-hover-border-color: #198754;--bs-btn-focus-shadow-rgb: 25, 135, 84;--bs-btn-active-color: #fff;--bs-btn-active-bg: #198754;--bs-btn-active-border-color: #198754;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #198754;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #198754;--bs-gradient: none}.btn-outline-info{--bs-btn-color: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #0dcaf0;--bs-btn-hover-border-color: #0dcaf0;--bs-btn-focus-shadow-rgb: 13, 202, 240;--bs-btn-active-color: #000;--bs-btn-active-bg: #0dcaf0;--bs-btn-active-border-color: #0dcaf0;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0dcaf0;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0dcaf0;--bs-gradient: none}.btn-outline-warning{--bs-btn-color: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffc107;--bs-btn-hover-border-color: #ffc107;--bs-btn-focus-shadow-rgb: 255, 193, 7;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffc107;--bs-btn-active-border-color: #ffc107;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #ffc107;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ffc107;--bs-gradient: none}.btn-outline-danger{--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none}.btn-outline-light{--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none}.btn-outline-dark{--bs-btn-color: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #212529;--bs-btn-hover-border-color: #212529;--bs-btn-focus-shadow-rgb: 33, 37, 41;--bs-btn-active-color: #fff;--bs-btn-active-bg: #212529;--bs-btn-active-border-color: #212529;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #212529;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #212529;--bs-gradient: none}.btn-link{--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: 0 0 0 #000;--bs-btn-focus-shadow-rgb: 49, 132, 253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg,.btn-group-lg>.btn{--bs-btn-padding-y: .5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size: 1.25rem;--bs-btn-border-radius: var(--bs-border-radius-lg)}.btn-sm,.btn-group-sm>.btn{--bs-btn-padding-y: .25rem;--bs-btn-padding-x: .5rem;--bs-btn-font-size: .875rem;--bs-btn-border-radius: var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion: reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion: reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion: reduce){.collapsing.collapse-horizontal{transition:none}}.dropup,.dropend,.dropdown,.dropstart,.dropup-center,.dropdown-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex: 1000;--bs-dropdown-min-width: 10rem;--bs-dropdown-padding-x: 0;--bs-dropdown-padding-y: .5rem;--bs-dropdown-spacer: .125rem;--bs-dropdown-font-size: 1rem;--bs-dropdown-color: var(--bs-body-color);--bs-dropdown-bg: var(--bs-body-bg);--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-border-radius: var(--bs-border-radius);--bs-dropdown-border-width: var(--bs-border-width);--bs-dropdown-inner-border-radius: calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y: .5rem;--bs-dropdown-box-shadow: var(--bs-box-shadow);--bs-dropdown-link-color: var(--bs-body-color);--bs-dropdown-link-hover-color: var(--bs-body-color);--bs-dropdown-link-hover-bg: var(--bs-tertiary-bg);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: var(--bs-tertiary-color);--bs-dropdown-item-padding-x: 1rem;--bs-dropdown-item-padding-y: .25rem;--bs-dropdown-header-color: #6c757d;--bs-dropdown-header-padding-x: 1rem;--bs-dropdown-header-padding-y: .5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position: start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position: end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width: 576px){.dropdown-menu-sm-start{--bs-position: start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position: end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 768px){.dropdown-menu-md-start{--bs-position: start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position: end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 992px){.dropdown-menu-lg-start{--bs-position: start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position: end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1200px){.dropdown-menu-xl-start{--bs-position: start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position: end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1400px){.dropdown-menu-xxl-start{--bs-position: start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position: end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius, 0)}.dropdown-item:hover,.dropdown-item:focus{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color: #dee2e6;--bs-dropdown-bg: #343a40;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color: #dee2e6;--bs-dropdown-link-hover-color: #fff;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg: rgba(255, 255, 255, .15);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-header-color: #adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;flex:1 1 auto}.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>:not(.btn-check:first-child)+.btn,.btn-group>.btn-group:not(:first-child){margin-left:calc(-1 * var(--bs-border-width))}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn,.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:calc(-1 * var(--bs-border-width))}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:nth-child(n+3),.btn-group-vertical>:not(.btn-check)+.btn,.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:none;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion: reduce){.nav-link{transition:none}}.nav-link:hover,.nav-link:focus{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.nav-link.disabled,.nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width: var(--bs-border-width);--bs-nav-tabs-border-color: var(--bs-border-color);--bs-nav-tabs-border-radius: var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color: var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg: var(--bs-body-bg);--bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius: var(--bs-border-radius);--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap: 1rem;--bs-nav-underline-border-width: .125rem;--bs-nav-underline-link-active-color: var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:hover,.nav-underline .nav-link:focus{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-grow:1;flex-basis:0;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: .5rem;--bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), .65);--bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), .8);--bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), .3);--bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y: .3125rem;--bs-navbar-brand-margin-end: 1rem;--bs-navbar-brand-font-size: 1.25rem;--bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x: .5rem;--bs-navbar-toggler-padding-y: .25rem;--bs-navbar-toggler-padding-x: .75rem;--bs-navbar-toggler-font-size: 1.25rem;--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), .15);--bs-navbar-toggler-border-radius: var(--bs-border-radius);--bs-navbar-toggler-focus-width: .25rem;--bs-navbar-toggler-transition: box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-sm,.navbar>.container-md,.navbar>.container-lg,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:hover,.navbar-text a:focus{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-grow:1;flex-basis:100%;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion: reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height, 75vh);overflow-y:auto}@media (min-width: 576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color: rgba(255, 255, 255, .55);--bs-navbar-hover-color: rgba(255, 255, 255, .75);--bs-navbar-disabled-color: rgba(255, 255, 255, .25);--bs-navbar-active-color: #fff;--bs-navbar-brand-color: #fff;--bs-navbar-brand-hover-color: #fff;--bs-navbar-toggler-border-color: rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y: 1rem;--bs-card-spacer-x: 1rem;--bs-card-title-spacer-y: .5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width: var(--bs-border-width);--bs-card-border-color: var(--bs-border-color-translucent);--bs-card-border-radius: var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y: .5rem;--bs-card-cap-padding-x: 1rem;--bs-card-cap-bg: rgba(var(--bs-body-color-rgb), .03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg: var(--bs-body-bg);--bs-card-img-overlay-padding: 1rem;--bs-card-group-margin: .75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-top,.card-img-bottom{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width: 576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child)>.card-img-top,.card-group>.card:not(:last-child)>.card-header{border-top-right-radius:0}.card-group>.card:not(:last-child)>.card-img-bottom,.card-group>.card:not(:last-child)>.card-footer{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child)>.card-img-top,.card-group>.card:not(:first-child)>.card-header{border-top-left-radius:0}.card-group>.card:not(:first-child)>.card-img-bottom,.card-group>.card:not(:first-child)>.card-footer{border-bottom-left-radius:0}}.accordion{--bs-accordion-color: var(--bs-body-color);--bs-accordion-bg: var(--bs-body-bg);--bs-accordion-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;--bs-accordion-border-color: var(--bs-border-color);--bs-accordion-border-width: var(--bs-border-width);--bs-accordion-border-radius: var(--bs-border-radius);--bs-accordion-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x: 1.25rem;--bs-accordion-btn-padding-y: 1rem;--bs-accordion-btn-color: var(--bs-body-color);--bs-accordion-btn-bg: var(--bs-accordion-bg);--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width: 1.25rem;--bs-accordion-btn-icon-transform: rotate(-180deg);--bs-accordion-btn-icon-transition: transform .2s ease-in-out;--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23052c65' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");--bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-accordion-body-padding-x: 1.25rem;--bs-accordion-body-padding-y: 1rem;--bs-accordion-active-color: var(--bs-primary-text-emphasis);--bs-accordion-active-bg: var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion: reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion: reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type>.accordion-header .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type>.accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush>.accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush>.accordion-item:first-child{border-top:0}.accordion-flush>.accordion-item:last-child{border-bottom:0}.accordion-flush>.accordion-item>.accordion-collapse,.accordion-flush>.accordion-item>.accordion-header .accordion-button,.accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed{border-radius:0}[data-bs-theme=dark] .accordion-button:after{--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e")}.breadcrumb{--bs-breadcrumb-padding-x: 0;--bs-breadcrumb-padding-y: 0;--bs-breadcrumb-margin-bottom: 1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color: var(--bs-secondary-color);--bs-breadcrumb-item-padding-x: .5rem;--bs-breadcrumb-item-active-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x: .75rem;--bs-pagination-padding-y: .375rem;--bs-pagination-font-size: 1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: var(--bs-body-bg);--bs-pagination-border-width: var(--bs-border-width);--bs-pagination-border-color: var(--bs-border-color);--bs-pagination-border-radius: var(--bs-border-radius);--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: var(--bs-tertiary-bg);--bs-pagination-hover-border-color: var(--bs-border-color);--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: var(--bs-secondary-bg);--bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #0d6efd;--bs-pagination-active-border-color: #0d6efd;--bs-pagination-disabled-color: var(--bs-secondary-color);--bs-pagination-disabled-bg: var(--bs-secondary-bg);--bs-pagination-disabled-border-color: var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.page-link.active,.active>.page-link{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.page-link.disabled,.disabled>.page-link{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(-1 * var(--bs-border-width))}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x: 1.5rem;--bs-pagination-padding-y: .75rem;--bs-pagination-font-size: 1.25rem;--bs-pagination-border-radius: var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x: .5rem;--bs-pagination-padding-y: .25rem;--bs-pagination-font-size: .875rem;--bs-pagination-border-radius: var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x: .65em;--bs-badge-padding-y: .35em;--bs-badge-font-size: .75em;--bs-badge-font-weight: 700;--bs-badge-color: #fff;--bs-badge-border-radius: var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg: transparent;--bs-alert-padding-x: 1rem;--bs-alert-padding-y: 1rem;--bs-alert-margin-bottom: 1rem;--bs-alert-color: inherit;--bs-alert-border-color: transparent;--bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius: var(--bs-border-radius);--bs-alert-link-color: inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color: var(--bs-primary-text-emphasis);--bs-alert-bg: var(--bs-primary-bg-subtle);--bs-alert-border-color: var(--bs-primary-border-subtle);--bs-alert-link-color: var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color: var(--bs-secondary-text-emphasis);--bs-alert-bg: var(--bs-secondary-bg-subtle);--bs-alert-border-color: var(--bs-secondary-border-subtle);--bs-alert-link-color: var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color: var(--bs-success-text-emphasis);--bs-alert-bg: var(--bs-success-bg-subtle);--bs-alert-border-color: var(--bs-success-border-subtle);--bs-alert-link-color: var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color: var(--bs-info-text-emphasis);--bs-alert-bg: var(--bs-info-bg-subtle);--bs-alert-border-color: var(--bs-info-border-subtle);--bs-alert-link-color: var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color: var(--bs-warning-text-emphasis);--bs-alert-bg: var(--bs-warning-bg-subtle);--bs-alert-border-color: var(--bs-warning-border-subtle);--bs-alert-link-color: var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color: var(--bs-danger-text-emphasis);--bs-alert-bg: var(--bs-danger-bg-subtle);--bs-alert-border-color: var(--bs-danger-border-subtle);--bs-alert-link-color: var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color: var(--bs-light-text-emphasis);--bs-alert-bg: var(--bs-light-bg-subtle);--bs-alert-border-color: var(--bs-light-border-subtle);--bs-alert-link-color: var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color: var(--bs-dark-text-emphasis);--bs-alert-bg: var(--bs-dark-bg-subtle);--bs-alert-border-color: var(--bs-dark-border-subtle);--bs-alert-link-color: var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:var(--bs-progress-height)}}.progress,.progress-stacked{--bs-progress-height: 1rem;--bs-progress-font-size: .75rem;--bs-progress-bg: var(--bs-secondary-bg);--bs-progress-border-radius: var(--bs-border-radius);--bs-progress-box-shadow: var(--bs-box-shadow-inset);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #0d6efd;--bs-progress-bar-transition: width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion: reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion: reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color: var(--bs-body-color);--bs-list-group-bg: var(--bs-body-bg);--bs-list-group-border-color: var(--bs-border-color);--bs-list-group-border-width: var(--bs-border-width);--bs-list-group-border-radius: var(--bs-border-radius);--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: var(--bs-secondary-color);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-tertiary-bg);--bs-list-group-action-active-color: var(--bs-body-color);--bs-list-group-action-active-bg: var(--bs-secondary-bg);--bs-list-group-disabled-color: var(--bs-secondary-color);--bs-list-group-disabled-bg: var(--bs-body-bg);--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #0d6efd;--bs-list-group-active-border-color: #0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:not(.active):hover,.list-group-item-action:not(.active):focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:not(.active):active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width: 576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color: var(--bs-primary-text-emphasis);--bs-list-group-bg: var(--bs-primary-bg-subtle);--bs-list-group-border-color: var(--bs-primary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-primary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-primary-border-subtle);--bs-list-group-active-color: var(--bs-primary-bg-subtle);--bs-list-group-active-bg: var(--bs-primary-text-emphasis);--bs-list-group-active-border-color: var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color: var(--bs-secondary-text-emphasis);--bs-list-group-bg: var(--bs-secondary-bg-subtle);--bs-list-group-border-color: var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-secondary-border-subtle);--bs-list-group-active-color: var(--bs-secondary-bg-subtle);--bs-list-group-active-bg: var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color: var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color: var(--bs-success-text-emphasis);--bs-list-group-bg: var(--bs-success-bg-subtle);--bs-list-group-border-color: var(--bs-success-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-success-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-success-border-subtle);--bs-list-group-active-color: var(--bs-success-bg-subtle);--bs-list-group-active-bg: var(--bs-success-text-emphasis);--bs-list-group-active-border-color: var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color: var(--bs-info-text-emphasis);--bs-list-group-bg: var(--bs-info-bg-subtle);--bs-list-group-border-color: var(--bs-info-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-info-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-info-border-subtle);--bs-list-group-active-color: var(--bs-info-bg-subtle);--bs-list-group-active-bg: var(--bs-info-text-emphasis);--bs-list-group-active-border-color: var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color: var(--bs-warning-text-emphasis);--bs-list-group-bg: var(--bs-warning-bg-subtle);--bs-list-group-border-color: var(--bs-warning-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-warning-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-warning-border-subtle);--bs-list-group-active-color: var(--bs-warning-bg-subtle);--bs-list-group-active-bg: var(--bs-warning-text-emphasis);--bs-list-group-active-border-color: var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color: var(--bs-danger-text-emphasis);--bs-list-group-bg: var(--bs-danger-bg-subtle);--bs-list-group-border-color: var(--bs-danger-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-danger-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-danger-border-subtle);--bs-list-group-active-color: var(--bs-danger-bg-subtle);--bs-list-group-active-bg: var(--bs-danger-text-emphasis);--bs-list-group-active-border-color: var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color: var(--bs-light-text-emphasis);--bs-list-group-bg: var(--bs-light-bg-subtle);--bs-list-group-border-color: var(--bs-light-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-light-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-light-border-subtle);--bs-list-group-active-color: var(--bs-light-bg-subtle);--bs-list-group-active-bg: var(--bs-light-text-emphasis);--bs-list-group-active-border-color: var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color: var(--bs-dark-text-emphasis);--bs-list-group-bg: var(--bs-dark-bg-subtle);--bs-list-group-border-color: var(--bs-dark-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-dark-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-dark-border-subtle);--bs-list-group-active-color: var(--bs-dark-bg-subtle);--bs-list-group-active-bg: var(--bs-dark-text-emphasis);--bs-list-group-active-border-color: var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color: #000;--bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");--bs-btn-close-opacity: .5;--bs-btn-close-hover-opacity: .75;--bs-btn-close-focus-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-btn-close-focus-opacity: 1;--bs-btn-close-disabled-opacity: .25;box-sizing:content-box;width:1em;height:1em;padding:.25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;filter:var(--bs-btn-close-filter);border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close:disabled,.btn-close.disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white{--bs-btn-close-filter: invert(1) grayscale(100%) brightness(200%)}:root,[data-bs-theme=light]{--bs-btn-close-filter: }[data-bs-theme=dark]{--bs-btn-close-filter: invert(1) grayscale(100%) brightness(200%)}.toast{--bs-toast-zindex: 1090;--bs-toast-padding-x: .75rem;--bs-toast-padding-y: .5rem;--bs-toast-spacing: 1.5rem;--bs-toast-max-width: 350px;--bs-toast-font-size: .875rem;--bs-toast-color: ;--bs-toast-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-border-width: var(--bs-border-width);--bs-toast-border-color: var(--bs-border-color-translucent);--bs-toast-border-radius: var(--bs-border-radius);--bs-toast-box-shadow: var(--bs-box-shadow);--bs-toast-header-color: var(--bs-secondary-color);--bs-toast-header-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-header-border-color: var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex: 1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: var(--bs-body-color);--bs-modal-bg: var(--bs-body-bg);--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: var(--bs-border-width);--bs-modal-border-radius: var(--bs-border-radius-lg);--bs-modal-box-shadow: var(--bs-box-shadow-sm);--bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: var(--bs-border-width);--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transform:translateY(-50px);transition:transform .3s ease-out}@media (prefers-reduced-motion: reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin-top:calc(-.5 * var(--bs-modal-header-padding-y));margin-right:calc(-.5 * var(--bs-modal-header-padding-x));margin-bottom:calc(-.5 * var(--bs-modal-header-padding-y));margin-left:auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width: 576px){.modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width: 300px}}@media (min-width: 992px){.modal-lg,.modal-xl{--bs-modal-width: 800px}}@media (min-width: 1200px){.modal-xl{--bs-modal-width: 1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header,.modal-fullscreen .modal-footer{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width: 575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header,.modal-fullscreen-sm-down .modal-footer{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width: 767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header,.modal-fullscreen-md-down .modal-footer{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width: 991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header,.modal-fullscreen-lg-down .modal-footer{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width: 1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header,.modal-fullscreen-xl-down .modal-footer{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width: 1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header,.modal-fullscreen-xxl-down .modal-footer{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex: 1080;--bs-tooltip-max-width: 200px;--bs-tooltip-padding-x: .5rem;--bs-tooltip-padding-y: .25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size: .875rem;--bs-tooltip-color: var(--bs-body-bg);--bs-tooltip-bg: var(--bs-emphasis-color);--bs-tooltip-border-radius: var(--bs-border-radius);--bs-tooltip-opacity: .9;--bs-tooltip-arrow-width: .8rem;--bs-tooltip-arrow-height: .4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-top .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-top .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-end .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-end .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-bottom .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-bottom .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-start .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-start .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex: 1070;--bs-popover-max-width: 276px;--bs-popover-font-size: .875rem;--bs-popover-bg: var(--bs-body-bg);--bs-popover-border-width: var(--bs-border-width);--bs-popover-border-color: var(--bs-border-color-translucent);--bs-popover-border-radius: var(--bs-border-radius-lg);--bs-popover-inner-border-radius: calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow: var(--bs-box-shadow);--bs-popover-header-padding-x: 1rem;--bs-popover-header-padding-y: .5rem;--bs-popover-header-font-size: 1rem;--bs-popover-header-color: inherit;--bs-popover-header-bg: var(--bs-secondary-bg);--bs-popover-body-padding-x: 1rem;--bs-popover-body-padding-y: 1rem;--bs-popover-body-color: var(--bs-body-color);--bs-popover-arrow-width: 1rem;--bs-popover-arrow-height: .5rem;--bs-popover-arrow-border: var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:before,.popover .popover-arrow:after{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-top>.popover-arrow,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-end>.popover-arrow,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-bottom>.popover-arrow,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-bottom .popover-header:before,.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-start>.popover-arrow,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion: reduce){.carousel-item{transition:none}}.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-start),.active.carousel-item-end{transform:translate(100%)}.carousel-item-prev:not(.carousel-item-end),.active.carousel-item-start{transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion: reduce){.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{transition:none}}.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;filter:var(--bs-carousel-control-icon-filter);border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion: reduce){.carousel-control-prev,.carousel-control-next{transition:none}}.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:var(--bs-carousel-indicator-active-bg);background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion: reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:var(--bs-carousel-caption-color);text-align:center}.carousel-dark{--bs-carousel-indicator-active-bg: #000;--bs-carousel-caption-color: #000;--bs-carousel-control-icon-filter: invert(1) grayscale(100)}:root,[data-bs-theme=light]{--bs-carousel-indicator-active-bg: #fff;--bs-carousel-caption-color: #fff;--bs-carousel-control-icon-filter: }[data-bs-theme=dark]{--bs-carousel-indicator-active-bg: #000;--bs-carousel-caption-color: #000;--bs-carousel-control-icon-filter: invert(1) grayscale(100)}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media (prefers-reduced-motion: reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed: 1.5s}}.offcanvas,.offcanvas-xxl,.offcanvas-xl,.offcanvas-lg,.offcanvas-md,.offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: var(--bs-body-color);--bs-offcanvas-bg: var(--bs-body-bg);--bs-offcanvas-border-width: var(--bs-border-width);--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: var(--bs-box-shadow-sm);--bs-offcanvas-transition: transform .3s ease-in-out;--bs-offcanvas-title-line-height: 1.5}@media (max-width: 575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 575.98px) and (prefers-reduced-motion: reduce){.offcanvas-sm{transition:none}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.showing,.offcanvas-sm.show:not(.hiding){transform:none}.offcanvas-sm.showing,.offcanvas-sm.hiding,.offcanvas-sm.show{visibility:visible}}@media (min-width: 576px){.offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 767.98px) and (prefers-reduced-motion: reduce){.offcanvas-md{transition:none}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.showing,.offcanvas-md.show:not(.hiding){transform:none}.offcanvas-md.showing,.offcanvas-md.hiding,.offcanvas-md.show{visibility:visible}}@media (min-width: 768px){.offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 991.98px) and (prefers-reduced-motion: reduce){.offcanvas-lg{transition:none}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.showing,.offcanvas-lg.show:not(.hiding){transform:none}.offcanvas-lg.showing,.offcanvas-lg.hiding,.offcanvas-lg.show{visibility:visible}}@media (min-width: 992px){.offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce){.offcanvas-xl{transition:none}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.showing,.offcanvas-xl.show:not(.hiding){transform:none}.offcanvas-xl.showing,.offcanvas-xl.hiding,.offcanvas-xl.show{visibility:visible}}@media (min-width: 1200px){.offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 1399.98px) and (prefers-reduced-motion: reduce){.offcanvas-xxl{transition:none}}@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.showing,.offcanvas-xxl.show:not(.hiding){transform:none}.offcanvas-xxl.showing,.offcanvas-xxl.hiding,.offcanvas-xxl.show{visibility:visible}}@media (min-width: 1400px){.offcanvas-xxl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media (prefers-reduced-motion: reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.showing,.offcanvas.show:not(.hiding){transform:none}.offcanvas.showing,.offcanvas.hiding,.offcanvas.show{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y));margin-left:auto}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,#000c,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(var(--bs-primary-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(var(--bs-secondary-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(var(--bs-success-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-info{color:#000!important;background-color:RGBA(var(--bs-info-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(var(--bs-danger-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-light{color:#000!important;background-color:RGBA(var(--bs-light-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(var(--bs-dark-rgb),var(--bs-bg-opacity, 1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-primary:hover,.link-primary:focus{color:RGBA(10,88,202,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity, 1))!important}.link-secondary{color:RGBA(var(--bs-secondary-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-secondary:hover,.link-secondary:focus{color:RGBA(86,94,100,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity, 1))!important}.link-success{color:RGBA(var(--bs-success-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity, 1))!important}.link-success:hover,.link-success:focus{color:RGBA(20,108,67,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity, 1))!important}.link-info{color:RGBA(var(--bs-info-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity, 1))!important}.link-info:hover,.link-info:focus{color:RGBA(61,213,243,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity, 1))!important}.link-warning{color:RGBA(var(--bs-warning-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity, 1))!important}.link-warning:hover,.link-warning:focus{color:RGBA(255,205,57,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity, 1))!important}.link-danger{color:RGBA(var(--bs-danger-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity, 1))!important}.link-danger:hover,.link-danger:focus{color:RGBA(176,42,55,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity, 1))!important}.link-light{color:RGBA(var(--bs-light-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity, 1))!important}.link-light:hover,.link-light:focus{color:RGBA(249,250,251,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity, 1))!important}.link-dark{color:RGBA(var(--bs-dark-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity, 1))!important}.link-dark:hover,.link-dark:focus{color:RGBA(26,30,33,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis:hover,.link-body-emphasis:focus{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, .75))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, .75))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, .75))!important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-underline-offset:.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media (prefers-reduced-motion: reduce){.icon-link>.bi{transition:none}}.icon-link-hover:hover>.bi,.icon-link-hover:focus-visible>.bi{transform:var(--bs-icon-link-transform, translate3d(.25em, 0, 0))}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio: 100%}.ratio-4x3{--bs-aspect-ratio: 75%}.ratio-16x9{--bs-aspect-ratio: 56.25%}.ratio-21x9{--bs-aspect-ratio: 42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media (min-width: 576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width: 768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width: 992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width: 1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width: 1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden:not(caption),.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption){position:absolute!important}.visually-hidden *,.visually-hidden-focusable:not(:focus):not(:focus-within) *{overflow:hidden!important}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:var(--bs-box-shadow)!important}.shadow-sm{box-shadow:var(--bs-box-shadow-sm)!important}.shadow-lg{box-shadow:var(--bs-box-shadow-lg)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color: rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color: rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color: rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color: rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color: rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color: rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color: rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color: rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity: 1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity: 1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity: 1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity: 1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity: 1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity: 1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity: 1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity: 1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity: .1}.border-opacity-25{--bs-border-opacity: .25}.border-opacity-50{--bs-border-opacity: .5}.border-opacity-75{--bs-border-opacity: .75}.border-opacity-100{--bs-border-opacity: 1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity: 1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity: 1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity: 1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity: 1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity: 1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity: 1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity: 1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity: 1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity: 1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity: 1;color:#00000080!important}.text-white-50{--bs-text-opacity: 1;color:#ffffff80!important}.text-body-secondary{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity: 1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity: 1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity: 1;color:inherit!important}.text-opacity-25{--bs-text-opacity: .25}.text-opacity-50{--bs-text-opacity: .5}.text-opacity-75{--bs-text-opacity: .75}.text-opacity-100{--bs-text-opacity: 1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10,.link-opacity-10-hover:hover{--bs-link-opacity: .1}.link-opacity-25,.link-opacity-25-hover:hover{--bs-link-opacity: .25}.link-opacity-50,.link-opacity-50-hover:hover{--bs-link-opacity: .5}.link-opacity-75,.link-opacity-75-hover:hover{--bs-link-opacity: .75}.link-opacity-100,.link-opacity-100-hover:hover{--bs-link-opacity: 1}.link-offset-1,.link-offset-1-hover:hover{text-underline-offset:.125em!important}.link-offset-2,.link-offset-2-hover:hover{text-underline-offset:.25em!important}.link-offset-3,.link-offset-3-hover:hover{text-underline-offset:.375em!important}.link-underline-primary{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-underline-opacity-0,.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity: 0}.link-underline-opacity-10,.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity: .1}.link-underline-opacity-25,.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity: .25}.link-underline-opacity-50,.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity: .5}.link-underline-opacity-75,.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity: .75}.link-underline-opacity-100,.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity: 1}.bg-primary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity: 1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity: 1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity: 1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity: 1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity: 1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity: 1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity: 1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity: .1}.bg-opacity-25{--bs-bg-opacity: .25}.bg-opacity-50{--bs-bg-opacity: .5}.bg-opacity-75{--bs-bg-opacity: .75}.bg-opacity-100{--bs-bg-opacity: 1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media (min-width: 576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width: 768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width: 992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width: 1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width: 1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width: 1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}/*! - * Bootstrap Icons v1.13.1 (https://icons.getbootstrap.com/) - * Copyright 2019-2024 The Bootstrap Authors - * Licensed under MIT (https://github.com/twbs/icons/blob/main/LICENSE) - */@font-face{font-display:block;font-family:bootstrap-icons;src:url(/static/client/dist/assets/bootstrap-icons-mSm7cUeB.woff2?e34853135f9e39acf64315236852cd5a) format("woff2"),url(/static/client/dist/assets/bootstrap-icons-BeopsB42.woff?e34853135f9e39acf64315236852cd5a) format("woff")}.bi:before,[class^=bi-]:before,[class*=" bi-"]:before{display:inline-block;font-family:bootstrap-icons!important;font-style:normal;font-weight:400!important;font-variant:normal;text-transform:none;line-height:1;vertical-align:-.125em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bi-123:before{content:""}.bi-alarm-fill:before{content:""}.bi-alarm:before{content:""}.bi-align-bottom:before{content:""}.bi-align-center:before{content:""}.bi-align-end:before{content:""}.bi-align-middle:before{content:""}.bi-align-start:before{content:""}.bi-align-top:before{content:""}.bi-alt:before{content:""}.bi-app-indicator:before{content:""}.bi-app:before{content:""}.bi-archive-fill:before{content:""}.bi-archive:before{content:""}.bi-arrow-90deg-down:before{content:""}.bi-arrow-90deg-left:before{content:""}.bi-arrow-90deg-right:before{content:""}.bi-arrow-90deg-up:before{content:""}.bi-arrow-bar-down:before{content:""}.bi-arrow-bar-left:before{content:""}.bi-arrow-bar-right:before{content:""}.bi-arrow-bar-up:before{content:""}.bi-arrow-clockwise:before{content:""}.bi-arrow-counterclockwise:before{content:""}.bi-arrow-down-circle-fill:before{content:""}.bi-arrow-down-circle:before{content:""}.bi-arrow-down-left-circle-fill:before{content:""}.bi-arrow-down-left-circle:before{content:""}.bi-arrow-down-left-square-fill:before{content:""}.bi-arrow-down-left-square:before{content:""}.bi-arrow-down-left:before{content:""}.bi-arrow-down-right-circle-fill:before{content:""}.bi-arrow-down-right-circle:before{content:""}.bi-arrow-down-right-square-fill:before{content:""}.bi-arrow-down-right-square:before{content:""}.bi-arrow-down-right:before{content:""}.bi-arrow-down-short:before{content:""}.bi-arrow-down-square-fill:before{content:""}.bi-arrow-down-square:before{content:""}.bi-arrow-down-up:before{content:""}.bi-arrow-down:before{content:""}.bi-arrow-left-circle-fill:before{content:""}.bi-arrow-left-circle:before{content:""}.bi-arrow-left-right:before{content:""}.bi-arrow-left-short:before{content:""}.bi-arrow-left-square-fill:before{content:""}.bi-arrow-left-square:before{content:""}.bi-arrow-left:before{content:""}.bi-arrow-repeat:before{content:""}.bi-arrow-return-left:before{content:""}.bi-arrow-return-right:before{content:""}.bi-arrow-right-circle-fill:before{content:""}.bi-arrow-right-circle:before{content:""}.bi-arrow-right-short:before{content:""}.bi-arrow-right-square-fill:before{content:""}.bi-arrow-right-square:before{content:""}.bi-arrow-right:before{content:""}.bi-arrow-up-circle-fill:before{content:""}.bi-arrow-up-circle:before{content:""}.bi-arrow-up-left-circle-fill:before{content:""}.bi-arrow-up-left-circle:before{content:""}.bi-arrow-up-left-square-fill:before{content:""}.bi-arrow-up-left-square:before{content:""}.bi-arrow-up-left:before{content:""}.bi-arrow-up-right-circle-fill:before{content:""}.bi-arrow-up-right-circle:before{content:""}.bi-arrow-up-right-square-fill:before{content:""}.bi-arrow-up-right-square:before{content:""}.bi-arrow-up-right:before{content:""}.bi-arrow-up-short:before{content:""}.bi-arrow-up-square-fill:before{content:""}.bi-arrow-up-square:before{content:""}.bi-arrow-up:before{content:""}.bi-arrows-angle-contract:before{content:""}.bi-arrows-angle-expand:before{content:""}.bi-arrows-collapse:before{content:""}.bi-arrows-expand:before{content:""}.bi-arrows-fullscreen:before{content:""}.bi-arrows-move:before{content:""}.bi-aspect-ratio-fill:before{content:""}.bi-aspect-ratio:before{content:""}.bi-asterisk:before{content:""}.bi-at:before{content:""}.bi-award-fill:before{content:""}.bi-award:before{content:""}.bi-back:before{content:""}.bi-backspace-fill:before{content:""}.bi-backspace-reverse-fill:before{content:""}.bi-backspace-reverse:before{content:""}.bi-backspace:before{content:""}.bi-badge-3d-fill:before{content:""}.bi-badge-3d:before{content:""}.bi-badge-4k-fill:before{content:""}.bi-badge-4k:before{content:""}.bi-badge-8k-fill:before{content:""}.bi-badge-8k:before{content:""}.bi-badge-ad-fill:before{content:""}.bi-badge-ad:before{content:""}.bi-badge-ar-fill:before{content:""}.bi-badge-ar:before{content:""}.bi-badge-cc-fill:before{content:""}.bi-badge-cc:before{content:""}.bi-badge-hd-fill:before{content:""}.bi-badge-hd:before{content:""}.bi-badge-tm-fill:before{content:""}.bi-badge-tm:before{content:""}.bi-badge-vo-fill:before{content:""}.bi-badge-vo:before{content:""}.bi-badge-vr-fill:before{content:""}.bi-badge-vr:before{content:""}.bi-badge-wc-fill:before{content:""}.bi-badge-wc:before{content:""}.bi-bag-check-fill:before{content:""}.bi-bag-check:before{content:""}.bi-bag-dash-fill:before{content:""}.bi-bag-dash:before{content:""}.bi-bag-fill:before{content:""}.bi-bag-plus-fill:before{content:""}.bi-bag-plus:before{content:""}.bi-bag-x-fill:before{content:""}.bi-bag-x:before{content:""}.bi-bag:before{content:""}.bi-bar-chart-fill:before{content:""}.bi-bar-chart-line-fill:before{content:""}.bi-bar-chart-line:before{content:""}.bi-bar-chart-steps:before{content:""}.bi-bar-chart:before{content:""}.bi-basket-fill:before{content:""}.bi-basket:before{content:""}.bi-basket2-fill:before{content:""}.bi-basket2:before{content:""}.bi-basket3-fill:before{content:""}.bi-basket3:before{content:""}.bi-battery-charging:before{content:""}.bi-battery-full:before{content:""}.bi-battery-half:before{content:""}.bi-battery:before{content:""}.bi-bell-fill:before{content:""}.bi-bell:before{content:""}.bi-bezier:before{content:""}.bi-bezier2:before{content:""}.bi-bicycle:before{content:""}.bi-binoculars-fill:before{content:""}.bi-binoculars:before{content:""}.bi-blockquote-left:before{content:""}.bi-blockquote-right:before{content:""}.bi-book-fill:before{content:""}.bi-book-half:before{content:""}.bi-book:before{content:""}.bi-bookmark-check-fill:before{content:""}.bi-bookmark-check:before{content:""}.bi-bookmark-dash-fill:before{content:""}.bi-bookmark-dash:before{content:""}.bi-bookmark-fill:before{content:""}.bi-bookmark-heart-fill:before{content:""}.bi-bookmark-heart:before{content:""}.bi-bookmark-plus-fill:before{content:""}.bi-bookmark-plus:before{content:""}.bi-bookmark-star-fill:before{content:""}.bi-bookmark-star:before{content:""}.bi-bookmark-x-fill:before{content:""}.bi-bookmark-x:before{content:""}.bi-bookmark:before{content:""}.bi-bookmarks-fill:before{content:""}.bi-bookmarks:before{content:""}.bi-bookshelf:before{content:""}.bi-bootstrap-fill:before{content:""}.bi-bootstrap-reboot:before{content:""}.bi-bootstrap:before{content:""}.bi-border-all:before{content:""}.bi-border-bottom:before{content:""}.bi-border-center:before{content:""}.bi-border-inner:before{content:""}.bi-border-left:before{content:""}.bi-border-middle:before{content:""}.bi-border-outer:before{content:""}.bi-border-right:before{content:""}.bi-border-style:before{content:""}.bi-border-top:before{content:""}.bi-border-width:before{content:""}.bi-border:before{content:""}.bi-bounding-box-circles:before{content:""}.bi-bounding-box:before{content:""}.bi-box-arrow-down-left:before{content:""}.bi-box-arrow-down-right:before{content:""}.bi-box-arrow-down:before{content:""}.bi-box-arrow-in-down-left:before{content:""}.bi-box-arrow-in-down-right:before{content:""}.bi-box-arrow-in-down:before{content:""}.bi-box-arrow-in-left:before{content:""}.bi-box-arrow-in-right:before{content:""}.bi-box-arrow-in-up-left:before{content:""}.bi-box-arrow-in-up-right:before{content:""}.bi-box-arrow-in-up:before{content:""}.bi-box-arrow-left:before{content:""}.bi-box-arrow-right:before{content:""}.bi-box-arrow-up-left:before{content:""}.bi-box-arrow-up-right:before{content:""}.bi-box-arrow-up:before{content:""}.bi-box-seam:before{content:""}.bi-box:before{content:""}.bi-braces:before{content:""}.bi-bricks:before{content:""}.bi-briefcase-fill:before{content:""}.bi-briefcase:before{content:""}.bi-brightness-alt-high-fill:before{content:""}.bi-brightness-alt-high:before{content:""}.bi-brightness-alt-low-fill:before{content:""}.bi-brightness-alt-low:before{content:""}.bi-brightness-high-fill:before{content:""}.bi-brightness-high:before{content:""}.bi-brightness-low-fill:before{content:""}.bi-brightness-low:before{content:""}.bi-broadcast-pin:before{content:""}.bi-broadcast:before{content:""}.bi-brush-fill:before{content:""}.bi-brush:before{content:""}.bi-bucket-fill:before{content:""}.bi-bucket:before{content:""}.bi-bug-fill:before{content:""}.bi-bug:before{content:""}.bi-building:before{content:""}.bi-bullseye:before{content:""}.bi-calculator-fill:before{content:""}.bi-calculator:before{content:""}.bi-calendar-check-fill:before{content:""}.bi-calendar-check:before{content:""}.bi-calendar-date-fill:before{content:""}.bi-calendar-date:before{content:""}.bi-calendar-day-fill:before{content:""}.bi-calendar-day:before{content:""}.bi-calendar-event-fill:before{content:""}.bi-calendar-event:before{content:""}.bi-calendar-fill:before{content:""}.bi-calendar-minus-fill:before{content:""}.bi-calendar-minus:before{content:""}.bi-calendar-month-fill:before{content:""}.bi-calendar-month:before{content:""}.bi-calendar-plus-fill:before{content:""}.bi-calendar-plus:before{content:""}.bi-calendar-range-fill:before{content:""}.bi-calendar-range:before{content:""}.bi-calendar-week-fill:before{content:""}.bi-calendar-week:before{content:""}.bi-calendar-x-fill:before{content:""}.bi-calendar-x:before{content:""}.bi-calendar:before{content:""}.bi-calendar2-check-fill:before{content:""}.bi-calendar2-check:before{content:""}.bi-calendar2-date-fill:before{content:""}.bi-calendar2-date:before{content:""}.bi-calendar2-day-fill:before{content:""}.bi-calendar2-day:before{content:""}.bi-calendar2-event-fill:before{content:""}.bi-calendar2-event:before{content:""}.bi-calendar2-fill:before{content:""}.bi-calendar2-minus-fill:before{content:""}.bi-calendar2-minus:before{content:""}.bi-calendar2-month-fill:before{content:""}.bi-calendar2-month:before{content:""}.bi-calendar2-plus-fill:before{content:""}.bi-calendar2-plus:before{content:""}.bi-calendar2-range-fill:before{content:""}.bi-calendar2-range:before{content:""}.bi-calendar2-week-fill:before{content:""}.bi-calendar2-week:before{content:""}.bi-calendar2-x-fill:before{content:""}.bi-calendar2-x:before{content:""}.bi-calendar2:before{content:""}.bi-calendar3-event-fill:before{content:""}.bi-calendar3-event:before{content:""}.bi-calendar3-fill:before{content:""}.bi-calendar3-range-fill:before{content:""}.bi-calendar3-range:before{content:""}.bi-calendar3-week-fill:before{content:""}.bi-calendar3-week:before{content:""}.bi-calendar3:before{content:""}.bi-calendar4-event:before{content:""}.bi-calendar4-range:before{content:""}.bi-calendar4-week:before{content:""}.bi-calendar4:before{content:""}.bi-camera-fill:before{content:""}.bi-camera-reels-fill:before{content:""}.bi-camera-reels:before{content:""}.bi-camera-video-fill:before{content:""}.bi-camera-video-off-fill:before{content:""}.bi-camera-video-off:before{content:""}.bi-camera-video:before{content:""}.bi-camera:before{content:""}.bi-camera2:before{content:""}.bi-capslock-fill:before{content:""}.bi-capslock:before{content:""}.bi-card-checklist:before{content:""}.bi-card-heading:before{content:""}.bi-card-image:before{content:""}.bi-card-list:before{content:""}.bi-card-text:before{content:""}.bi-caret-down-fill:before{content:""}.bi-caret-down-square-fill:before{content:""}.bi-caret-down-square:before{content:""}.bi-caret-down:before{content:""}.bi-caret-left-fill:before{content:""}.bi-caret-left-square-fill:before{content:""}.bi-caret-left-square:before{content:""}.bi-caret-left:before{content:""}.bi-caret-right-fill:before{content:""}.bi-caret-right-square-fill:before{content:""}.bi-caret-right-square:before{content:""}.bi-caret-right:before{content:""}.bi-caret-up-fill:before{content:""}.bi-caret-up-square-fill:before{content:""}.bi-caret-up-square:before{content:""}.bi-caret-up:before{content:""}.bi-cart-check-fill:before{content:""}.bi-cart-check:before{content:""}.bi-cart-dash-fill:before{content:""}.bi-cart-dash:before{content:""}.bi-cart-fill:before{content:""}.bi-cart-plus-fill:before{content:""}.bi-cart-plus:before{content:""}.bi-cart-x-fill:before{content:""}.bi-cart-x:before{content:""}.bi-cart:before{content:""}.bi-cart2:before{content:""}.bi-cart3:before{content:""}.bi-cart4:before{content:""}.bi-cash-stack:before{content:""}.bi-cash:before{content:""}.bi-cast:before{content:""}.bi-chat-dots-fill:before{content:""}.bi-chat-dots:before{content:""}.bi-chat-fill:before{content:""}.bi-chat-left-dots-fill:before{content:""}.bi-chat-left-dots:before{content:""}.bi-chat-left-fill:before{content:""}.bi-chat-left-quote-fill:before{content:""}.bi-chat-left-quote:before{content:""}.bi-chat-left-text-fill:before{content:""}.bi-chat-left-text:before{content:""}.bi-chat-left:before{content:""}.bi-chat-quote-fill:before{content:""}.bi-chat-quote:before{content:""}.bi-chat-right-dots-fill:before{content:""}.bi-chat-right-dots:before{content:""}.bi-chat-right-fill:before{content:""}.bi-chat-right-quote-fill:before{content:""}.bi-chat-right-quote:before{content:""}.bi-chat-right-text-fill:before{content:""}.bi-chat-right-text:before{content:""}.bi-chat-right:before{content:""}.bi-chat-square-dots-fill:before{content:""}.bi-chat-square-dots:before{content:""}.bi-chat-square-fill:before{content:""}.bi-chat-square-quote-fill:before{content:""}.bi-chat-square-quote:before{content:""}.bi-chat-square-text-fill:before{content:""}.bi-chat-square-text:before{content:""}.bi-chat-square:before{content:""}.bi-chat-text-fill:before{content:""}.bi-chat-text:before{content:""}.bi-chat:before{content:""}.bi-check-all:before{content:""}.bi-check-circle-fill:before{content:""}.bi-check-circle:before{content:""}.bi-check-square-fill:before{content:""}.bi-check-square:before{content:""}.bi-check:before{content:""}.bi-check2-all:before{content:""}.bi-check2-circle:before{content:""}.bi-check2-square:before{content:""}.bi-check2:before{content:""}.bi-chevron-bar-contract:before{content:""}.bi-chevron-bar-down:before{content:""}.bi-chevron-bar-expand:before{content:""}.bi-chevron-bar-left:before{content:""}.bi-chevron-bar-right:before{content:""}.bi-chevron-bar-up:before{content:""}.bi-chevron-compact-down:before{content:""}.bi-chevron-compact-left:before{content:""}.bi-chevron-compact-right:before{content:""}.bi-chevron-compact-up:before{content:""}.bi-chevron-contract:before{content:""}.bi-chevron-double-down:before{content:""}.bi-chevron-double-left:before{content:""}.bi-chevron-double-right:before{content:""}.bi-chevron-double-up:before{content:""}.bi-chevron-down:before{content:""}.bi-chevron-expand:before{content:""}.bi-chevron-left:before{content:""}.bi-chevron-right:before{content:""}.bi-chevron-up:before{content:""}.bi-circle-fill:before{content:""}.bi-circle-half:before{content:""}.bi-circle-square:before{content:""}.bi-circle:before{content:""}.bi-clipboard-check:before{content:""}.bi-clipboard-data:before{content:""}.bi-clipboard-minus:before{content:""}.bi-clipboard-plus:before{content:""}.bi-clipboard-x:before{content:""}.bi-clipboard:before{content:""}.bi-clock-fill:before{content:""}.bi-clock-history:before{content:""}.bi-clock:before{content:""}.bi-cloud-arrow-down-fill:before{content:""}.bi-cloud-arrow-down:before{content:""}.bi-cloud-arrow-up-fill:before{content:""}.bi-cloud-arrow-up:before{content:""}.bi-cloud-check-fill:before{content:""}.bi-cloud-check:before{content:""}.bi-cloud-download-fill:before{content:""}.bi-cloud-download:before{content:""}.bi-cloud-drizzle-fill:before{content:""}.bi-cloud-drizzle:before{content:""}.bi-cloud-fill:before{content:""}.bi-cloud-fog-fill:before{content:""}.bi-cloud-fog:before{content:""}.bi-cloud-fog2-fill:before{content:""}.bi-cloud-fog2:before{content:""}.bi-cloud-hail-fill:before{content:""}.bi-cloud-hail:before{content:""}.bi-cloud-haze-fill:before{content:""}.bi-cloud-haze:before{content:""}.bi-cloud-haze2-fill:before{content:""}.bi-cloud-lightning-fill:before{content:""}.bi-cloud-lightning-rain-fill:before{content:""}.bi-cloud-lightning-rain:before{content:""}.bi-cloud-lightning:before{content:""}.bi-cloud-minus-fill:before{content:""}.bi-cloud-minus:before{content:""}.bi-cloud-moon-fill:before{content:""}.bi-cloud-moon:before{content:""}.bi-cloud-plus-fill:before{content:""}.bi-cloud-plus:before{content:""}.bi-cloud-rain-fill:before{content:""}.bi-cloud-rain-heavy-fill:before{content:""}.bi-cloud-rain-heavy:before{content:""}.bi-cloud-rain:before{content:""}.bi-cloud-slash-fill:before{content:""}.bi-cloud-slash:before{content:""}.bi-cloud-sleet-fill:before{content:""}.bi-cloud-sleet:before{content:""}.bi-cloud-snow-fill:before{content:""}.bi-cloud-snow:before{content:""}.bi-cloud-sun-fill:before{content:""}.bi-cloud-sun:before{content:""}.bi-cloud-upload-fill:before{content:""}.bi-cloud-upload:before{content:""}.bi-cloud:before{content:""}.bi-clouds-fill:before{content:""}.bi-clouds:before{content:""}.bi-cloudy-fill:before{content:""}.bi-cloudy:before{content:""}.bi-code-slash:before{content:""}.bi-code-square:before{content:""}.bi-code:before{content:""}.bi-collection-fill:before{content:""}.bi-collection-play-fill:before{content:""}.bi-collection-play:before{content:""}.bi-collection:before{content:""}.bi-columns-gap:before{content:""}.bi-columns:before{content:""}.bi-command:before{content:""}.bi-compass-fill:before{content:""}.bi-compass:before{content:""}.bi-cone-striped:before{content:""}.bi-cone:before{content:""}.bi-controller:before{content:""}.bi-cpu-fill:before{content:""}.bi-cpu:before{content:""}.bi-credit-card-2-back-fill:before{content:""}.bi-credit-card-2-back:before{content:""}.bi-credit-card-2-front-fill:before{content:""}.bi-credit-card-2-front:before{content:""}.bi-credit-card-fill:before{content:""}.bi-credit-card:before{content:""}.bi-crop:before{content:""}.bi-cup-fill:before{content:""}.bi-cup-straw:before{content:""}.bi-cup:before{content:""}.bi-cursor-fill:before{content:""}.bi-cursor-text:before{content:""}.bi-cursor:before{content:""}.bi-dash-circle-dotted:before{content:""}.bi-dash-circle-fill:before{content:""}.bi-dash-circle:before{content:""}.bi-dash-square-dotted:before{content:""}.bi-dash-square-fill:before{content:""}.bi-dash-square:before{content:""}.bi-dash:before{content:""}.bi-diagram-2-fill:before{content:""}.bi-diagram-2:before{content:""}.bi-diagram-3-fill:before{content:""}.bi-diagram-3:before{content:""}.bi-diamond-fill:before{content:""}.bi-diamond-half:before{content:""}.bi-diamond:before{content:""}.bi-dice-1-fill:before{content:""}.bi-dice-1:before{content:""}.bi-dice-2-fill:before{content:""}.bi-dice-2:before{content:""}.bi-dice-3-fill:before{content:""}.bi-dice-3:before{content:""}.bi-dice-4-fill:before{content:""}.bi-dice-4:before{content:""}.bi-dice-5-fill:before{content:""}.bi-dice-5:before{content:""}.bi-dice-6-fill:before{content:""}.bi-dice-6:before{content:""}.bi-disc-fill:before{content:""}.bi-disc:before{content:""}.bi-discord:before{content:""}.bi-display-fill:before{content:""}.bi-display:before{content:""}.bi-distribute-horizontal:before{content:""}.bi-distribute-vertical:before{content:""}.bi-door-closed-fill:before{content:""}.bi-door-closed:before{content:""}.bi-door-open-fill:before{content:""}.bi-door-open:before{content:""}.bi-dot:before{content:""}.bi-download:before{content:""}.bi-droplet-fill:before{content:""}.bi-droplet-half:before{content:""}.bi-droplet:before{content:""}.bi-earbuds:before{content:""}.bi-easel-fill:before{content:""}.bi-easel:before{content:""}.bi-egg-fill:before{content:""}.bi-egg-fried:before{content:""}.bi-egg:before{content:""}.bi-eject-fill:before{content:""}.bi-eject:before{content:""}.bi-emoji-angry-fill:before{content:""}.bi-emoji-angry:before{content:""}.bi-emoji-dizzy-fill:before{content:""}.bi-emoji-dizzy:before{content:""}.bi-emoji-expressionless-fill:before{content:""}.bi-emoji-expressionless:before{content:""}.bi-emoji-frown-fill:before{content:""}.bi-emoji-frown:before{content:""}.bi-emoji-heart-eyes-fill:before{content:""}.bi-emoji-heart-eyes:before{content:""}.bi-emoji-laughing-fill:before{content:""}.bi-emoji-laughing:before{content:""}.bi-emoji-neutral-fill:before{content:""}.bi-emoji-neutral:before{content:""}.bi-emoji-smile-fill:before{content:""}.bi-emoji-smile-upside-down-fill:before{content:""}.bi-emoji-smile-upside-down:before{content:""}.bi-emoji-smile:before{content:""}.bi-emoji-sunglasses-fill:before{content:""}.bi-emoji-sunglasses:before{content:""}.bi-emoji-wink-fill:before{content:""}.bi-emoji-wink:before{content:""}.bi-envelope-fill:before{content:""}.bi-envelope-open-fill:before{content:""}.bi-envelope-open:before{content:""}.bi-envelope:before{content:""}.bi-eraser-fill:before{content:""}.bi-eraser:before{content:""}.bi-exclamation-circle-fill:before{content:""}.bi-exclamation-circle:before{content:""}.bi-exclamation-diamond-fill:before{content:""}.bi-exclamation-diamond:before{content:""}.bi-exclamation-octagon-fill:before{content:""}.bi-exclamation-octagon:before{content:""}.bi-exclamation-square-fill:before{content:""}.bi-exclamation-square:before{content:""}.bi-exclamation-triangle-fill:before{content:""}.bi-exclamation-triangle:before{content:""}.bi-exclamation:before{content:""}.bi-exclude:before{content:""}.bi-eye-fill:before{content:""}.bi-eye-slash-fill:before{content:""}.bi-eye-slash:before{content:""}.bi-eye:before{content:""}.bi-eyedropper:before{content:""}.bi-eyeglasses:before{content:""}.bi-facebook:before{content:""}.bi-file-arrow-down-fill:before{content:""}.bi-file-arrow-down:before{content:""}.bi-file-arrow-up-fill:before{content:""}.bi-file-arrow-up:before{content:""}.bi-file-bar-graph-fill:before{content:""}.bi-file-bar-graph:before{content:""}.bi-file-binary-fill:before{content:""}.bi-file-binary:before{content:""}.bi-file-break-fill:before{content:""}.bi-file-break:before{content:""}.bi-file-check-fill:before{content:""}.bi-file-check:before{content:""}.bi-file-code-fill:before{content:""}.bi-file-code:before{content:""}.bi-file-diff-fill:before{content:""}.bi-file-diff:before{content:""}.bi-file-earmark-arrow-down-fill:before{content:""}.bi-file-earmark-arrow-down:before{content:""}.bi-file-earmark-arrow-up-fill:before{content:""}.bi-file-earmark-arrow-up:before{content:""}.bi-file-earmark-bar-graph-fill:before{content:""}.bi-file-earmark-bar-graph:before{content:""}.bi-file-earmark-binary-fill:before{content:""}.bi-file-earmark-binary:before{content:""}.bi-file-earmark-break-fill:before{content:""}.bi-file-earmark-break:before{content:""}.bi-file-earmark-check-fill:before{content:""}.bi-file-earmark-check:before{content:""}.bi-file-earmark-code-fill:before{content:""}.bi-file-earmark-code:before{content:""}.bi-file-earmark-diff-fill:before{content:""}.bi-file-earmark-diff:before{content:""}.bi-file-earmark-easel-fill:before{content:""}.bi-file-earmark-easel:before{content:""}.bi-file-earmark-excel-fill:before{content:""}.bi-file-earmark-excel:before{content:""}.bi-file-earmark-fill:before{content:""}.bi-file-earmark-font-fill:before{content:""}.bi-file-earmark-font:before{content:""}.bi-file-earmark-image-fill:before{content:""}.bi-file-earmark-image:before{content:""}.bi-file-earmark-lock-fill:before{content:""}.bi-file-earmark-lock:before{content:""}.bi-file-earmark-lock2-fill:before{content:""}.bi-file-earmark-lock2:before{content:""}.bi-file-earmark-medical-fill:before{content:""}.bi-file-earmark-medical:before{content:""}.bi-file-earmark-minus-fill:before{content:""}.bi-file-earmark-minus:before{content:""}.bi-file-earmark-music-fill:before{content:""}.bi-file-earmark-music:before{content:""}.bi-file-earmark-person-fill:before{content:""}.bi-file-earmark-person:before{content:""}.bi-file-earmark-play-fill:before{content:""}.bi-file-earmark-play:before{content:""}.bi-file-earmark-plus-fill:before{content:""}.bi-file-earmark-plus:before{content:""}.bi-file-earmark-post-fill:before{content:""}.bi-file-earmark-post:before{content:""}.bi-file-earmark-ppt-fill:before{content:""}.bi-file-earmark-ppt:before{content:""}.bi-file-earmark-richtext-fill:before{content:""}.bi-file-earmark-richtext:before{content:""}.bi-file-earmark-ruled-fill:before{content:""}.bi-file-earmark-ruled:before{content:""}.bi-file-earmark-slides-fill:before{content:""}.bi-file-earmark-slides:before{content:""}.bi-file-earmark-spreadsheet-fill:before{content:""}.bi-file-earmark-spreadsheet:before{content:""}.bi-file-earmark-text-fill:before{content:""}.bi-file-earmark-text:before{content:""}.bi-file-earmark-word-fill:before{content:""}.bi-file-earmark-word:before{content:""}.bi-file-earmark-x-fill:before{content:""}.bi-file-earmark-x:before{content:""}.bi-file-earmark-zip-fill:before{content:""}.bi-file-earmark-zip:before{content:""}.bi-file-earmark:before{content:""}.bi-file-easel-fill:before{content:""}.bi-file-easel:before{content:""}.bi-file-excel-fill:before{content:""}.bi-file-excel:before{content:""}.bi-file-fill:before{content:""}.bi-file-font-fill:before{content:""}.bi-file-font:before{content:""}.bi-file-image-fill:before{content:""}.bi-file-image:before{content:""}.bi-file-lock-fill:before{content:""}.bi-file-lock:before{content:""}.bi-file-lock2-fill:before{content:""}.bi-file-lock2:before{content:""}.bi-file-medical-fill:before{content:""}.bi-file-medical:before{content:""}.bi-file-minus-fill:before{content:""}.bi-file-minus:before{content:""}.bi-file-music-fill:before{content:""}.bi-file-music:before{content:""}.bi-file-person-fill:before{content:""}.bi-file-person:before{content:""}.bi-file-play-fill:before{content:""}.bi-file-play:before{content:""}.bi-file-plus-fill:before{content:""}.bi-file-plus:before{content:""}.bi-file-post-fill:before{content:""}.bi-file-post:before{content:""}.bi-file-ppt-fill:before{content:""}.bi-file-ppt:before{content:""}.bi-file-richtext-fill:before{content:""}.bi-file-richtext:before{content:""}.bi-file-ruled-fill:before{content:""}.bi-file-ruled:before{content:""}.bi-file-slides-fill:before{content:""}.bi-file-slides:before{content:""}.bi-file-spreadsheet-fill:before{content:""}.bi-file-spreadsheet:before{content:""}.bi-file-text-fill:before{content:""}.bi-file-text:before{content:""}.bi-file-word-fill:before{content:""}.bi-file-word:before{content:""}.bi-file-x-fill:before{content:""}.bi-file-x:before{content:""}.bi-file-zip-fill:before{content:""}.bi-file-zip:before{content:""}.bi-file:before{content:""}.bi-files-alt:before{content:""}.bi-files:before{content:""}.bi-film:before{content:""}.bi-filter-circle-fill:before{content:""}.bi-filter-circle:before{content:""}.bi-filter-left:before{content:""}.bi-filter-right:before{content:""}.bi-filter-square-fill:before{content:""}.bi-filter-square:before{content:""}.bi-filter:before{content:""}.bi-flag-fill:before{content:""}.bi-flag:before{content:""}.bi-flower1:before{content:""}.bi-flower2:before{content:""}.bi-flower3:before{content:""}.bi-folder-check:before{content:""}.bi-folder-fill:before{content:""}.bi-folder-minus:before{content:""}.bi-folder-plus:before{content:""}.bi-folder-symlink-fill:before{content:""}.bi-folder-symlink:before{content:""}.bi-folder-x:before{content:""}.bi-folder:before{content:""}.bi-folder2-open:before{content:""}.bi-folder2:before{content:""}.bi-fonts:before{content:""}.bi-forward-fill:before{content:""}.bi-forward:before{content:""}.bi-front:before{content:""}.bi-fullscreen-exit:before{content:""}.bi-fullscreen:before{content:""}.bi-funnel-fill:before{content:""}.bi-funnel:before{content:""}.bi-gear-fill:before{content:""}.bi-gear-wide-connected:before{content:""}.bi-gear-wide:before{content:""}.bi-gear:before{content:""}.bi-gem:before{content:""}.bi-geo-alt-fill:before{content:""}.bi-geo-alt:before{content:""}.bi-geo-fill:before{content:""}.bi-geo:before{content:""}.bi-gift-fill:before{content:""}.bi-gift:before{content:""}.bi-github:before{content:""}.bi-globe:before{content:""}.bi-globe2:before{content:""}.bi-google:before{content:""}.bi-graph-down:before{content:""}.bi-graph-up:before{content:""}.bi-grid-1x2-fill:before{content:""}.bi-grid-1x2:before{content:""}.bi-grid-3x2-gap-fill:before{content:""}.bi-grid-3x2-gap:before{content:""}.bi-grid-3x2:before{content:""}.bi-grid-3x3-gap-fill:before{content:""}.bi-grid-3x3-gap:before{content:""}.bi-grid-3x3:before{content:""}.bi-grid-fill:before{content:""}.bi-grid:before{content:""}.bi-grip-horizontal:before{content:""}.bi-grip-vertical:before{content:""}.bi-hammer:before{content:""}.bi-hand-index-fill:before{content:""}.bi-hand-index-thumb-fill:before{content:""}.bi-hand-index-thumb:before{content:""}.bi-hand-index:before{content:""}.bi-hand-thumbs-down-fill:before{content:""}.bi-hand-thumbs-down:before{content:""}.bi-hand-thumbs-up-fill:before{content:""}.bi-hand-thumbs-up:before{content:""}.bi-handbag-fill:before{content:""}.bi-handbag:before{content:""}.bi-hash:before{content:""}.bi-hdd-fill:before{content:""}.bi-hdd-network-fill:before{content:""}.bi-hdd-network:before{content:""}.bi-hdd-rack-fill:before{content:""}.bi-hdd-rack:before{content:""}.bi-hdd-stack-fill:before{content:""}.bi-hdd-stack:before{content:""}.bi-hdd:before{content:""}.bi-headphones:before{content:""}.bi-headset:before{content:""}.bi-heart-fill:before{content:""}.bi-heart-half:before{content:""}.bi-heart:before{content:""}.bi-heptagon-fill:before{content:""}.bi-heptagon-half:before{content:""}.bi-heptagon:before{content:""}.bi-hexagon-fill:before{content:""}.bi-hexagon-half:before{content:""}.bi-hexagon:before{content:""}.bi-hourglass-bottom:before{content:""}.bi-hourglass-split:before{content:""}.bi-hourglass-top:before{content:""}.bi-hourglass:before{content:""}.bi-house-door-fill:before{content:""}.bi-house-door:before{content:""}.bi-house-fill:before{content:""}.bi-house:before{content:""}.bi-hr:before{content:""}.bi-hurricane:before{content:""}.bi-image-alt:before{content:""}.bi-image-fill:before{content:""}.bi-image:before{content:""}.bi-images:before{content:""}.bi-inbox-fill:before{content:""}.bi-inbox:before{content:""}.bi-inboxes-fill:before{content:""}.bi-inboxes:before{content:""}.bi-info-circle-fill:before{content:""}.bi-info-circle:before{content:""}.bi-info-square-fill:before{content:""}.bi-info-square:before{content:""}.bi-info:before{content:""}.bi-input-cursor-text:before{content:""}.bi-input-cursor:before{content:""}.bi-instagram:before{content:""}.bi-intersect:before{content:""}.bi-journal-album:before{content:""}.bi-journal-arrow-down:before{content:""}.bi-journal-arrow-up:before{content:""}.bi-journal-bookmark-fill:before{content:""}.bi-journal-bookmark:before{content:""}.bi-journal-check:before{content:""}.bi-journal-code:before{content:""}.bi-journal-medical:before{content:""}.bi-journal-minus:before{content:""}.bi-journal-plus:before{content:""}.bi-journal-richtext:before{content:""}.bi-journal-text:before{content:""}.bi-journal-x:before{content:""}.bi-journal:before{content:""}.bi-journals:before{content:""}.bi-joystick:before{content:""}.bi-justify-left:before{content:""}.bi-justify-right:before{content:""}.bi-justify:before{content:""}.bi-kanban-fill:before{content:""}.bi-kanban:before{content:""}.bi-key-fill:before{content:""}.bi-key:before{content:""}.bi-keyboard-fill:before{content:""}.bi-keyboard:before{content:""}.bi-ladder:before{content:""}.bi-lamp-fill:before{content:""}.bi-lamp:before{content:""}.bi-laptop-fill:before{content:""}.bi-laptop:before{content:""}.bi-layer-backward:before{content:""}.bi-layer-forward:before{content:""}.bi-layers-fill:before{content:""}.bi-layers-half:before{content:""}.bi-layers:before{content:""}.bi-layout-sidebar-inset-reverse:before{content:""}.bi-layout-sidebar-inset:before{content:""}.bi-layout-sidebar-reverse:before{content:""}.bi-layout-sidebar:before{content:""}.bi-layout-split:before{content:""}.bi-layout-text-sidebar-reverse:before{content:""}.bi-layout-text-sidebar:before{content:""}.bi-layout-text-window-reverse:before{content:""}.bi-layout-text-window:before{content:""}.bi-layout-three-columns:before{content:""}.bi-layout-wtf:before{content:""}.bi-life-preserver:before{content:""}.bi-lightbulb-fill:before{content:""}.bi-lightbulb-off-fill:before{content:""}.bi-lightbulb-off:before{content:""}.bi-lightbulb:before{content:""}.bi-lightning-charge-fill:before{content:""}.bi-lightning-charge:before{content:""}.bi-lightning-fill:before{content:""}.bi-lightning:before{content:""}.bi-link-45deg:before{content:""}.bi-link:before{content:""}.bi-linkedin:before{content:""}.bi-list-check:before{content:""}.bi-list-nested:before{content:""}.bi-list-ol:before{content:""}.bi-list-stars:before{content:""}.bi-list-task:before{content:""}.bi-list-ul:before{content:""}.bi-list:before{content:""}.bi-lock-fill:before{content:""}.bi-lock:before{content:""}.bi-mailbox:before{content:""}.bi-mailbox2:before{content:""}.bi-map-fill:before{content:""}.bi-map:before{content:""}.bi-markdown-fill:before{content:""}.bi-markdown:before{content:""}.bi-mask:before{content:""}.bi-megaphone-fill:before{content:""}.bi-megaphone:before{content:""}.bi-menu-app-fill:before{content:""}.bi-menu-app:before{content:""}.bi-menu-button-fill:before{content:""}.bi-menu-button-wide-fill:before{content:""}.bi-menu-button-wide:before{content:""}.bi-menu-button:before{content:""}.bi-menu-down:before{content:""}.bi-menu-up:before{content:""}.bi-mic-fill:before{content:""}.bi-mic-mute-fill:before{content:""}.bi-mic-mute:before{content:""}.bi-mic:before{content:""}.bi-minecart-loaded:before{content:""}.bi-minecart:before{content:""}.bi-moisture:before{content:""}.bi-moon-fill:before{content:""}.bi-moon-stars-fill:before{content:""}.bi-moon-stars:before{content:""}.bi-moon:before{content:""}.bi-mouse-fill:before{content:""}.bi-mouse:before{content:""}.bi-mouse2-fill:before{content:""}.bi-mouse2:before{content:""}.bi-mouse3-fill:before{content:""}.bi-mouse3:before{content:""}.bi-music-note-beamed:before{content:""}.bi-music-note-list:before{content:""}.bi-music-note:before{content:""}.bi-music-player-fill:before{content:""}.bi-music-player:before{content:""}.bi-newspaper:before{content:""}.bi-node-minus-fill:before{content:""}.bi-node-minus:before{content:""}.bi-node-plus-fill:before{content:""}.bi-node-plus:before{content:""}.bi-nut-fill:before{content:""}.bi-nut:before{content:""}.bi-octagon-fill:before{content:""}.bi-octagon-half:before{content:""}.bi-octagon:before{content:""}.bi-option:before{content:""}.bi-outlet:before{content:""}.bi-paint-bucket:before{content:""}.bi-palette-fill:before{content:""}.bi-palette:before{content:""}.bi-palette2:before{content:""}.bi-paperclip:before{content:""}.bi-paragraph:before{content:""}.bi-patch-check-fill:before{content:""}.bi-patch-check:before{content:""}.bi-patch-exclamation-fill:before{content:""}.bi-patch-exclamation:before{content:""}.bi-patch-minus-fill:before{content:""}.bi-patch-minus:before{content:""}.bi-patch-plus-fill:before{content:""}.bi-patch-plus:before{content:""}.bi-patch-question-fill:before{content:""}.bi-patch-question:before{content:""}.bi-pause-btn-fill:before{content:""}.bi-pause-btn:before{content:""}.bi-pause-circle-fill:before{content:""}.bi-pause-circle:before{content:""}.bi-pause-fill:before{content:""}.bi-pause:before{content:""}.bi-peace-fill:before{content:""}.bi-peace:before{content:""}.bi-pen-fill:before{content:""}.bi-pen:before{content:""}.bi-pencil-fill:before{content:""}.bi-pencil-square:before{content:""}.bi-pencil:before{content:""}.bi-pentagon-fill:before{content:""}.bi-pentagon-half:before{content:""}.bi-pentagon:before{content:""}.bi-people-fill:before{content:""}.bi-people:before{content:""}.bi-percent:before{content:""}.bi-person-badge-fill:before{content:""}.bi-person-badge:before{content:""}.bi-person-bounding-box:before{content:""}.bi-person-check-fill:before{content:""}.bi-person-check:before{content:""}.bi-person-circle:before{content:""}.bi-person-dash-fill:before{content:""}.bi-person-dash:before{content:""}.bi-person-fill:before{content:""}.bi-person-lines-fill:before{content:""}.bi-person-plus-fill:before{content:""}.bi-person-plus:before{content:""}.bi-person-square:before{content:""}.bi-person-x-fill:before{content:""}.bi-person-x:before{content:""}.bi-person:before{content:""}.bi-phone-fill:before{content:""}.bi-phone-landscape-fill:before{content:""}.bi-phone-landscape:before{content:""}.bi-phone-vibrate-fill:before{content:""}.bi-phone-vibrate:before{content:""}.bi-phone:before{content:""}.bi-pie-chart-fill:before{content:""}.bi-pie-chart:before{content:""}.bi-pin-angle-fill:before{content:""}.bi-pin-angle:before{content:""}.bi-pin-fill:before{content:""}.bi-pin:before{content:""}.bi-pip-fill:before{content:""}.bi-pip:before{content:""}.bi-play-btn-fill:before{content:""}.bi-play-btn:before{content:""}.bi-play-circle-fill:before{content:""}.bi-play-circle:before{content:""}.bi-play-fill:before{content:""}.bi-play:before{content:""}.bi-plug-fill:before{content:""}.bi-plug:before{content:""}.bi-plus-circle-dotted:before{content:""}.bi-plus-circle-fill:before{content:""}.bi-plus-circle:before{content:""}.bi-plus-square-dotted:before{content:""}.bi-plus-square-fill:before{content:""}.bi-plus-square:before{content:""}.bi-plus:before{content:""}.bi-power:before{content:""}.bi-printer-fill:before{content:""}.bi-printer:before{content:""}.bi-puzzle-fill:before{content:""}.bi-puzzle:before{content:""}.bi-question-circle-fill:before{content:""}.bi-question-circle:before{content:""}.bi-question-diamond-fill:before{content:""}.bi-question-diamond:before{content:""}.bi-question-octagon-fill:before{content:""}.bi-question-octagon:before{content:""}.bi-question-square-fill:before{content:""}.bi-question-square:before{content:""}.bi-question:before{content:""}.bi-rainbow:before{content:""}.bi-receipt-cutoff:before{content:""}.bi-receipt:before{content:""}.bi-reception-0:before{content:""}.bi-reception-1:before{content:""}.bi-reception-2:before{content:""}.bi-reception-3:before{content:""}.bi-reception-4:before{content:""}.bi-record-btn-fill:before{content:""}.bi-record-btn:before{content:""}.bi-record-circle-fill:before{content:""}.bi-record-circle:before{content:""}.bi-record-fill:before{content:""}.bi-record:before{content:""}.bi-record2-fill:before{content:""}.bi-record2:before{content:""}.bi-reply-all-fill:before{content:""}.bi-reply-all:before{content:""}.bi-reply-fill:before{content:""}.bi-reply:before{content:""}.bi-rss-fill:before{content:""}.bi-rss:before{content:""}.bi-rulers:before{content:""}.bi-save-fill:before{content:""}.bi-save:before{content:""}.bi-save2-fill:before{content:""}.bi-save2:before{content:""}.bi-scissors:before{content:""}.bi-screwdriver:before{content:""}.bi-search:before{content:""}.bi-segmented-nav:before{content:""}.bi-server:before{content:""}.bi-share-fill:before{content:""}.bi-share:before{content:""}.bi-shield-check:before{content:""}.bi-shield-exclamation:before{content:""}.bi-shield-fill-check:before{content:""}.bi-shield-fill-exclamation:before{content:""}.bi-shield-fill-minus:before{content:""}.bi-shield-fill-plus:before{content:""}.bi-shield-fill-x:before{content:""}.bi-shield-fill:before{content:""}.bi-shield-lock-fill:before{content:""}.bi-shield-lock:before{content:""}.bi-shield-minus:before{content:""}.bi-shield-plus:before{content:""}.bi-shield-shaded:before{content:""}.bi-shield-slash-fill:before{content:""}.bi-shield-slash:before{content:""}.bi-shield-x:before{content:""}.bi-shield:before{content:""}.bi-shift-fill:before{content:""}.bi-shift:before{content:""}.bi-shop-window:before{content:""}.bi-shop:before{content:""}.bi-shuffle:before{content:""}.bi-signpost-2-fill:before{content:""}.bi-signpost-2:before{content:""}.bi-signpost-fill:before{content:""}.bi-signpost-split-fill:before{content:""}.bi-signpost-split:before{content:""}.bi-signpost:before{content:""}.bi-sim-fill:before{content:""}.bi-sim:before{content:""}.bi-skip-backward-btn-fill:before{content:""}.bi-skip-backward-btn:before{content:""}.bi-skip-backward-circle-fill:before{content:""}.bi-skip-backward-circle:before{content:""}.bi-skip-backward-fill:before{content:""}.bi-skip-backward:before{content:""}.bi-skip-end-btn-fill:before{content:""}.bi-skip-end-btn:before{content:""}.bi-skip-end-circle-fill:before{content:""}.bi-skip-end-circle:before{content:""}.bi-skip-end-fill:before{content:""}.bi-skip-end:before{content:""}.bi-skip-forward-btn-fill:before{content:""}.bi-skip-forward-btn:before{content:""}.bi-skip-forward-circle-fill:before{content:""}.bi-skip-forward-circle:before{content:""}.bi-skip-forward-fill:before{content:""}.bi-skip-forward:before{content:""}.bi-skip-start-btn-fill:before{content:""}.bi-skip-start-btn:before{content:""}.bi-skip-start-circle-fill:before{content:""}.bi-skip-start-circle:before{content:""}.bi-skip-start-fill:before{content:""}.bi-skip-start:before{content:""}.bi-slack:before{content:""}.bi-slash-circle-fill:before{content:""}.bi-slash-circle:before{content:""}.bi-slash-square-fill:before{content:""}.bi-slash-square:before{content:""}.bi-slash:before{content:""}.bi-sliders:before{content:""}.bi-smartwatch:before{content:""}.bi-snow:before{content:""}.bi-snow2:before{content:""}.bi-snow3:before{content:""}.bi-sort-alpha-down-alt:before{content:""}.bi-sort-alpha-down:before{content:""}.bi-sort-alpha-up-alt:before{content:""}.bi-sort-alpha-up:before{content:""}.bi-sort-down-alt:before{content:""}.bi-sort-down:before{content:""}.bi-sort-numeric-down-alt:before{content:""}.bi-sort-numeric-down:before{content:""}.bi-sort-numeric-up-alt:before{content:""}.bi-sort-numeric-up:before{content:""}.bi-sort-up-alt:before{content:""}.bi-sort-up:before{content:""}.bi-soundwave:before{content:""}.bi-speaker-fill:before{content:""}.bi-speaker:before{content:""}.bi-speedometer:before{content:""}.bi-speedometer2:before{content:""}.bi-spellcheck:before{content:""}.bi-square-fill:before{content:""}.bi-square-half:before{content:""}.bi-square:before{content:""}.bi-stack:before{content:""}.bi-star-fill:before{content:""}.bi-star-half:before{content:""}.bi-star:before{content:""}.bi-stars:before{content:""}.bi-stickies-fill:before{content:""}.bi-stickies:before{content:""}.bi-sticky-fill:before{content:""}.bi-sticky:before{content:""}.bi-stop-btn-fill:before{content:""}.bi-stop-btn:before{content:""}.bi-stop-circle-fill:before{content:""}.bi-stop-circle:before{content:""}.bi-stop-fill:before{content:""}.bi-stop:before{content:""}.bi-stoplights-fill:before{content:""}.bi-stoplights:before{content:""}.bi-stopwatch-fill:before{content:""}.bi-stopwatch:before{content:""}.bi-subtract:before{content:""}.bi-suit-club-fill:before{content:""}.bi-suit-club:before{content:""}.bi-suit-diamond-fill:before{content:""}.bi-suit-diamond:before{content:""}.bi-suit-heart-fill:before{content:""}.bi-suit-heart:before{content:""}.bi-suit-spade-fill:before{content:""}.bi-suit-spade:before{content:""}.bi-sun-fill:before{content:""}.bi-sun:before{content:""}.bi-sunglasses:before{content:""}.bi-sunrise-fill:before{content:""}.bi-sunrise:before{content:""}.bi-sunset-fill:before{content:""}.bi-sunset:before{content:""}.bi-symmetry-horizontal:before{content:""}.bi-symmetry-vertical:before{content:""}.bi-table:before{content:""}.bi-tablet-fill:before{content:""}.bi-tablet-landscape-fill:before{content:""}.bi-tablet-landscape:before{content:""}.bi-tablet:before{content:""}.bi-tag-fill:before{content:""}.bi-tag:before{content:""}.bi-tags-fill:before{content:""}.bi-tags:before{content:""}.bi-telegram:before{content:""}.bi-telephone-fill:before{content:""}.bi-telephone-forward-fill:before{content:""}.bi-telephone-forward:before{content:""}.bi-telephone-inbound-fill:before{content:""}.bi-telephone-inbound:before{content:""}.bi-telephone-minus-fill:before{content:""}.bi-telephone-minus:before{content:""}.bi-telephone-outbound-fill:before{content:""}.bi-telephone-outbound:before{content:""}.bi-telephone-plus-fill:before{content:""}.bi-telephone-plus:before{content:""}.bi-telephone-x-fill:before{content:""}.bi-telephone-x:before{content:""}.bi-telephone:before{content:""}.bi-terminal-fill:before{content:""}.bi-terminal:before{content:""}.bi-text-center:before{content:""}.bi-text-indent-left:before{content:""}.bi-text-indent-right:before{content:""}.bi-text-left:before{content:""}.bi-text-paragraph:before{content:""}.bi-text-right:before{content:""}.bi-textarea-resize:before{content:""}.bi-textarea-t:before{content:""}.bi-textarea:before{content:""}.bi-thermometer-half:before{content:""}.bi-thermometer-high:before{content:""}.bi-thermometer-low:before{content:""}.bi-thermometer-snow:before{content:""}.bi-thermometer-sun:before{content:""}.bi-thermometer:before{content:""}.bi-three-dots-vertical:before{content:""}.bi-three-dots:before{content:""}.bi-toggle-off:before{content:""}.bi-toggle-on:before{content:""}.bi-toggle2-off:before{content:""}.bi-toggle2-on:before{content:""}.bi-toggles:before{content:""}.bi-toggles2:before{content:""}.bi-tools:before{content:""}.bi-tornado:before{content:""}.bi-trash-fill:before{content:""}.bi-trash:before{content:""}.bi-trash2-fill:before{content:""}.bi-trash2:before{content:""}.bi-tree-fill:before{content:""}.bi-tree:before{content:""}.bi-triangle-fill:before{content:""}.bi-triangle-half:before{content:""}.bi-triangle:before{content:""}.bi-trophy-fill:before{content:""}.bi-trophy:before{content:""}.bi-tropical-storm:before{content:""}.bi-truck-flatbed:before{content:""}.bi-truck:before{content:""}.bi-tsunami:before{content:""}.bi-tv-fill:before{content:""}.bi-tv:before{content:""}.bi-twitch:before{content:""}.bi-twitter:before{content:""}.bi-type-bold:before{content:""}.bi-type-h1:before{content:""}.bi-type-h2:before{content:""}.bi-type-h3:before{content:""}.bi-type-italic:before{content:""}.bi-type-strikethrough:before{content:""}.bi-type-underline:before{content:""}.bi-type:before{content:""}.bi-ui-checks-grid:before{content:""}.bi-ui-checks:before{content:""}.bi-ui-radios-grid:before{content:""}.bi-ui-radios:before{content:""}.bi-umbrella-fill:before{content:""}.bi-umbrella:before{content:""}.bi-union:before{content:""}.bi-unlock-fill:before{content:""}.bi-unlock:before{content:""}.bi-upc-scan:before{content:""}.bi-upc:before{content:""}.bi-upload:before{content:""}.bi-vector-pen:before{content:""}.bi-view-list:before{content:""}.bi-view-stacked:before{content:""}.bi-vinyl-fill:before{content:""}.bi-vinyl:before{content:""}.bi-voicemail:before{content:""}.bi-volume-down-fill:before{content:""}.bi-volume-down:before{content:""}.bi-volume-mute-fill:before{content:""}.bi-volume-mute:before{content:""}.bi-volume-off-fill:before{content:""}.bi-volume-off:before{content:""}.bi-volume-up-fill:before{content:""}.bi-volume-up:before{content:""}.bi-vr:before{content:""}.bi-wallet-fill:before{content:""}.bi-wallet:before{content:""}.bi-wallet2:before{content:""}.bi-watch:before{content:""}.bi-water:before{content:""}.bi-whatsapp:before{content:""}.bi-wifi-1:before{content:""}.bi-wifi-2:before{content:""}.bi-wifi-off:before{content:""}.bi-wifi:before{content:""}.bi-wind:before{content:""}.bi-window-dock:before{content:""}.bi-window-sidebar:before{content:""}.bi-window:before{content:""}.bi-wrench:before{content:""}.bi-x-circle-fill:before{content:""}.bi-x-circle:before{content:""}.bi-x-diamond-fill:before{content:""}.bi-x-diamond:before{content:""}.bi-x-octagon-fill:before{content:""}.bi-x-octagon:before{content:""}.bi-x-square-fill:before{content:""}.bi-x-square:before{content:""}.bi-x:before{content:""}.bi-youtube:before{content:""}.bi-zoom-in:before{content:""}.bi-zoom-out:before{content:""}.bi-bank:before{content:""}.bi-bank2:before{content:""}.bi-bell-slash-fill:before{content:""}.bi-bell-slash:before{content:""}.bi-cash-coin:before{content:""}.bi-check-lg:before{content:""}.bi-coin:before{content:""}.bi-currency-bitcoin:before{content:""}.bi-currency-dollar:before{content:""}.bi-currency-euro:before{content:""}.bi-currency-exchange:before{content:""}.bi-currency-pound:before{content:""}.bi-currency-yen:before{content:""}.bi-dash-lg:before{content:""}.bi-exclamation-lg:before{content:""}.bi-file-earmark-pdf-fill:before{content:""}.bi-file-earmark-pdf:before{content:""}.bi-file-pdf-fill:before{content:""}.bi-file-pdf:before{content:""}.bi-gender-ambiguous:before{content:""}.bi-gender-female:before{content:""}.bi-gender-male:before{content:""}.bi-gender-trans:before{content:""}.bi-headset-vr:before{content:""}.bi-info-lg:before{content:""}.bi-mastodon:before{content:""}.bi-messenger:before{content:""}.bi-piggy-bank-fill:before{content:""}.bi-piggy-bank:before{content:""}.bi-pin-map-fill:before{content:""}.bi-pin-map:before{content:""}.bi-plus-lg:before{content:""}.bi-question-lg:before{content:""}.bi-recycle:before{content:""}.bi-reddit:before{content:""}.bi-safe-fill:before{content:""}.bi-safe2-fill:before{content:""}.bi-safe2:before{content:""}.bi-sd-card-fill:before{content:""}.bi-sd-card:before{content:""}.bi-skype:before{content:""}.bi-slash-lg:before{content:""}.bi-translate:before{content:""}.bi-x-lg:before{content:""}.bi-safe:before{content:""}.bi-apple:before{content:""}.bi-microsoft:before{content:""}.bi-windows:before{content:""}.bi-behance:before{content:""}.bi-dribbble:before{content:""}.bi-line:before{content:""}.bi-medium:before{content:""}.bi-paypal:before{content:""}.bi-pinterest:before{content:""}.bi-signal:before{content:""}.bi-snapchat:before{content:""}.bi-spotify:before{content:""}.bi-stack-overflow:before{content:""}.bi-strava:before{content:""}.bi-wordpress:before{content:""}.bi-vimeo:before{content:""}.bi-activity:before{content:""}.bi-easel2-fill:before{content:""}.bi-easel2:before{content:""}.bi-easel3-fill:before{content:""}.bi-easel3:before{content:""}.bi-fan:before{content:""}.bi-fingerprint:before{content:""}.bi-graph-down-arrow:before{content:""}.bi-graph-up-arrow:before{content:""}.bi-hypnotize:before{content:""}.bi-magic:before{content:""}.bi-person-rolodex:before{content:""}.bi-person-video:before{content:""}.bi-person-video2:before{content:""}.bi-person-video3:before{content:""}.bi-person-workspace:before{content:""}.bi-radioactive:before{content:""}.bi-webcam-fill:before{content:""}.bi-webcam:before{content:""}.bi-yin-yang:before{content:""}.bi-bandaid-fill:before{content:""}.bi-bandaid:before{content:""}.bi-bluetooth:before{content:""}.bi-body-text:before{content:""}.bi-boombox:before{content:""}.bi-boxes:before{content:""}.bi-dpad-fill:before{content:""}.bi-dpad:before{content:""}.bi-ear-fill:before{content:""}.bi-ear:before{content:""}.bi-envelope-check-fill:before{content:""}.bi-envelope-check:before{content:""}.bi-envelope-dash-fill:before{content:""}.bi-envelope-dash:before{content:""}.bi-envelope-exclamation-fill:before{content:""}.bi-envelope-exclamation:before{content:""}.bi-envelope-plus-fill:before{content:""}.bi-envelope-plus:before{content:""}.bi-envelope-slash-fill:before{content:""}.bi-envelope-slash:before{content:""}.bi-envelope-x-fill:before{content:""}.bi-envelope-x:before{content:""}.bi-explicit-fill:before{content:""}.bi-explicit:before{content:""}.bi-git:before{content:""}.bi-infinity:before{content:""}.bi-list-columns-reverse:before{content:""}.bi-list-columns:before{content:""}.bi-meta:before{content:""}.bi-nintendo-switch:before{content:""}.bi-pc-display-horizontal:before{content:""}.bi-pc-display:before{content:""}.bi-pc-horizontal:before{content:""}.bi-pc:before{content:""}.bi-playstation:before{content:""}.bi-plus-slash-minus:before{content:""}.bi-projector-fill:before{content:""}.bi-projector:before{content:""}.bi-qr-code-scan:before{content:""}.bi-qr-code:before{content:""}.bi-quora:before{content:""}.bi-quote:before{content:""}.bi-robot:before{content:""}.bi-send-check-fill:before{content:""}.bi-send-check:before{content:""}.bi-send-dash-fill:before{content:""}.bi-send-dash:before{content:""}.bi-send-exclamation-fill:before{content:""}.bi-send-exclamation:before{content:""}.bi-send-fill:before{content:""}.bi-send-plus-fill:before{content:""}.bi-send-plus:before{content:""}.bi-send-slash-fill:before{content:""}.bi-send-slash:before{content:""}.bi-send-x-fill:before{content:""}.bi-send-x:before{content:""}.bi-send:before{content:""}.bi-steam:before{content:""}.bi-terminal-dash:before{content:""}.bi-terminal-plus:before{content:""}.bi-terminal-split:before{content:""}.bi-ticket-detailed-fill:before{content:""}.bi-ticket-detailed:before{content:""}.bi-ticket-fill:before{content:""}.bi-ticket-perforated-fill:before{content:""}.bi-ticket-perforated:before{content:""}.bi-ticket:before{content:""}.bi-tiktok:before{content:""}.bi-window-dash:before{content:""}.bi-window-desktop:before{content:""}.bi-window-fullscreen:before{content:""}.bi-window-plus:before{content:""}.bi-window-split:before{content:""}.bi-window-stack:before{content:""}.bi-window-x:before{content:""}.bi-xbox:before{content:""}.bi-ethernet:before{content:""}.bi-hdmi-fill:before{content:""}.bi-hdmi:before{content:""}.bi-usb-c-fill:before{content:""}.bi-usb-c:before{content:""}.bi-usb-fill:before{content:""}.bi-usb-plug-fill:before{content:""}.bi-usb-plug:before{content:""}.bi-usb-symbol:before{content:""}.bi-usb:before{content:""}.bi-boombox-fill:before{content:""}.bi-displayport:before{content:""}.bi-gpu-card:before{content:""}.bi-memory:before{content:""}.bi-modem-fill:before{content:""}.bi-modem:before{content:""}.bi-motherboard-fill:before{content:""}.bi-motherboard:before{content:""}.bi-optical-audio-fill:before{content:""}.bi-optical-audio:before{content:""}.bi-pci-card:before{content:""}.bi-router-fill:before{content:""}.bi-router:before{content:""}.bi-thunderbolt-fill:before{content:""}.bi-thunderbolt:before{content:""}.bi-usb-drive-fill:before{content:""}.bi-usb-drive:before{content:""}.bi-usb-micro-fill:before{content:""}.bi-usb-micro:before{content:""}.bi-usb-mini-fill:before{content:""}.bi-usb-mini:before{content:""}.bi-cloud-haze2:before{content:""}.bi-device-hdd-fill:before{content:""}.bi-device-hdd:before{content:""}.bi-device-ssd-fill:before{content:""}.bi-device-ssd:before{content:""}.bi-displayport-fill:before{content:""}.bi-mortarboard-fill:before{content:""}.bi-mortarboard:before{content:""}.bi-terminal-x:before{content:""}.bi-arrow-through-heart-fill:before{content:""}.bi-arrow-through-heart:before{content:""}.bi-badge-sd-fill:before{content:""}.bi-badge-sd:before{content:""}.bi-bag-heart-fill:before{content:""}.bi-bag-heart:before{content:""}.bi-balloon-fill:before{content:""}.bi-balloon-heart-fill:before{content:""}.bi-balloon-heart:before{content:""}.bi-balloon:before{content:""}.bi-box2-fill:before{content:""}.bi-box2-heart-fill:before{content:""}.bi-box2-heart:before{content:""}.bi-box2:before{content:""}.bi-braces-asterisk:before{content:""}.bi-calendar-heart-fill:before{content:""}.bi-calendar-heart:before{content:""}.bi-calendar2-heart-fill:before{content:""}.bi-calendar2-heart:before{content:""}.bi-chat-heart-fill:before{content:""}.bi-chat-heart:before{content:""}.bi-chat-left-heart-fill:before{content:""}.bi-chat-left-heart:before{content:""}.bi-chat-right-heart-fill:before{content:""}.bi-chat-right-heart:before{content:""}.bi-chat-square-heart-fill:before{content:""}.bi-chat-square-heart:before{content:""}.bi-clipboard-check-fill:before{content:""}.bi-clipboard-data-fill:before{content:""}.bi-clipboard-fill:before{content:""}.bi-clipboard-heart-fill:before{content:""}.bi-clipboard-heart:before{content:""}.bi-clipboard-minus-fill:before{content:""}.bi-clipboard-plus-fill:before{content:""}.bi-clipboard-pulse:before{content:""}.bi-clipboard-x-fill:before{content:""}.bi-clipboard2-check-fill:before{content:""}.bi-clipboard2-check:before{content:""}.bi-clipboard2-data-fill:before{content:""}.bi-clipboard2-data:before{content:""}.bi-clipboard2-fill:before{content:""}.bi-clipboard2-heart-fill:before{content:""}.bi-clipboard2-heart:before{content:""}.bi-clipboard2-minus-fill:before{content:""}.bi-clipboard2-minus:before{content:""}.bi-clipboard2-plus-fill:before{content:""}.bi-clipboard2-plus:before{content:""}.bi-clipboard2-pulse-fill:before{content:""}.bi-clipboard2-pulse:before{content:""}.bi-clipboard2-x-fill:before{content:""}.bi-clipboard2-x:before{content:""}.bi-clipboard2:before{content:""}.bi-emoji-kiss-fill:before{content:""}.bi-emoji-kiss:before{content:""}.bi-envelope-heart-fill:before{content:""}.bi-envelope-heart:before{content:""}.bi-envelope-open-heart-fill:before{content:""}.bi-envelope-open-heart:before{content:""}.bi-envelope-paper-fill:before{content:""}.bi-envelope-paper-heart-fill:before{content:""}.bi-envelope-paper-heart:before{content:""}.bi-envelope-paper:before{content:""}.bi-filetype-aac:before{content:""}.bi-filetype-ai:before{content:""}.bi-filetype-bmp:before{content:""}.bi-filetype-cs:before{content:""}.bi-filetype-css:before{content:""}.bi-filetype-csv:before{content:""}.bi-filetype-doc:before{content:""}.bi-filetype-docx:before{content:""}.bi-filetype-exe:before{content:""}.bi-filetype-gif:before{content:""}.bi-filetype-heic:before{content:""}.bi-filetype-html:before{content:""}.bi-filetype-java:before{content:""}.bi-filetype-jpg:before{content:""}.bi-filetype-js:before{content:""}.bi-filetype-jsx:before{content:""}.bi-filetype-key:before{content:""}.bi-filetype-m4p:before{content:""}.bi-filetype-md:before{content:""}.bi-filetype-mdx:before{content:""}.bi-filetype-mov:before{content:""}.bi-filetype-mp3:before{content:""}.bi-filetype-mp4:before{content:""}.bi-filetype-otf:before{content:""}.bi-filetype-pdf:before{content:""}.bi-filetype-php:before{content:""}.bi-filetype-png:before{content:""}.bi-filetype-ppt:before{content:""}.bi-filetype-psd:before{content:""}.bi-filetype-py:before{content:""}.bi-filetype-raw:before{content:""}.bi-filetype-rb:before{content:""}.bi-filetype-sass:before{content:""}.bi-filetype-scss:before{content:""}.bi-filetype-sh:before{content:""}.bi-filetype-svg:before{content:""}.bi-filetype-tiff:before{content:""}.bi-filetype-tsx:before{content:""}.bi-filetype-ttf:before{content:""}.bi-filetype-txt:before{content:""}.bi-filetype-wav:before{content:""}.bi-filetype-woff:before{content:""}.bi-filetype-xls:before{content:""}.bi-filetype-xml:before{content:""}.bi-filetype-yml:before{content:""}.bi-heart-arrow:before{content:""}.bi-heart-pulse-fill:before{content:""}.bi-heart-pulse:before{content:""}.bi-heartbreak-fill:before{content:""}.bi-heartbreak:before{content:""}.bi-hearts:before{content:""}.bi-hospital-fill:before{content:""}.bi-hospital:before{content:""}.bi-house-heart-fill:before{content:""}.bi-house-heart:before{content:""}.bi-incognito:before{content:""}.bi-magnet-fill:before{content:""}.bi-magnet:before{content:""}.bi-person-heart:before{content:""}.bi-person-hearts:before{content:""}.bi-phone-flip:before{content:""}.bi-plugin:before{content:""}.bi-postage-fill:before{content:""}.bi-postage-heart-fill:before{content:""}.bi-postage-heart:before{content:""}.bi-postage:before{content:""}.bi-postcard-fill:before{content:""}.bi-postcard-heart-fill:before{content:""}.bi-postcard-heart:before{content:""}.bi-postcard:before{content:""}.bi-search-heart-fill:before{content:""}.bi-search-heart:before{content:""}.bi-sliders2-vertical:before{content:""}.bi-sliders2:before{content:""}.bi-trash3-fill:before{content:""}.bi-trash3:before{content:""}.bi-valentine:before{content:""}.bi-valentine2:before{content:""}.bi-wrench-adjustable-circle-fill:before{content:""}.bi-wrench-adjustable-circle:before{content:""}.bi-wrench-adjustable:before{content:""}.bi-filetype-json:before{content:""}.bi-filetype-pptx:before{content:""}.bi-filetype-xlsx:before{content:""}.bi-1-circle-fill:before{content:""}.bi-1-circle:before{content:""}.bi-1-square-fill:before{content:""}.bi-1-square:before{content:""}.bi-2-circle-fill:before{content:""}.bi-2-circle:before{content:""}.bi-2-square-fill:before{content:""}.bi-2-square:before{content:""}.bi-3-circle-fill:before{content:""}.bi-3-circle:before{content:""}.bi-3-square-fill:before{content:""}.bi-3-square:before{content:""}.bi-4-circle-fill:before{content:""}.bi-4-circle:before{content:""}.bi-4-square-fill:before{content:""}.bi-4-square:before{content:""}.bi-5-circle-fill:before{content:""}.bi-5-circle:before{content:""}.bi-5-square-fill:before{content:""}.bi-5-square:before{content:""}.bi-6-circle-fill:before{content:""}.bi-6-circle:before{content:""}.bi-6-square-fill:before{content:""}.bi-6-square:before{content:""}.bi-7-circle-fill:before{content:""}.bi-7-circle:before{content:""}.bi-7-square-fill:before{content:""}.bi-7-square:before{content:""}.bi-8-circle-fill:before{content:""}.bi-8-circle:before{content:""}.bi-8-square-fill:before{content:""}.bi-8-square:before{content:""}.bi-9-circle-fill:before{content:""}.bi-9-circle:before{content:""}.bi-9-square-fill:before{content:""}.bi-9-square:before{content:""}.bi-airplane-engines-fill:before{content:""}.bi-airplane-engines:before{content:""}.bi-airplane-fill:before{content:""}.bi-airplane:before{content:""}.bi-alexa:before{content:""}.bi-alipay:before{content:""}.bi-android:before{content:""}.bi-android2:before{content:""}.bi-box-fill:before{content:""}.bi-box-seam-fill:before{content:""}.bi-browser-chrome:before{content:""}.bi-browser-edge:before{content:""}.bi-browser-firefox:before{content:""}.bi-browser-safari:before{content:""}.bi-c-circle-fill:before{content:""}.bi-c-circle:before{content:""}.bi-c-square-fill:before{content:""}.bi-c-square:before{content:""}.bi-capsule-pill:before{content:""}.bi-capsule:before{content:""}.bi-car-front-fill:before{content:""}.bi-car-front:before{content:""}.bi-cassette-fill:before{content:""}.bi-cassette:before{content:""}.bi-cc-circle-fill:before{content:""}.bi-cc-circle:before{content:""}.bi-cc-square-fill:before{content:""}.bi-cc-square:before{content:""}.bi-cup-hot-fill:before{content:""}.bi-cup-hot:before{content:""}.bi-currency-rupee:before{content:""}.bi-dropbox:before{content:""}.bi-escape:before{content:""}.bi-fast-forward-btn-fill:before{content:""}.bi-fast-forward-btn:before{content:""}.bi-fast-forward-circle-fill:before{content:""}.bi-fast-forward-circle:before{content:""}.bi-fast-forward-fill:before{content:""}.bi-fast-forward:before{content:""}.bi-filetype-sql:before{content:""}.bi-fire:before{content:""}.bi-google-play:before{content:""}.bi-h-circle-fill:before{content:""}.bi-h-circle:before{content:""}.bi-h-square-fill:before{content:""}.bi-h-square:before{content:""}.bi-indent:before{content:""}.bi-lungs-fill:before{content:""}.bi-lungs:before{content:""}.bi-microsoft-teams:before{content:""}.bi-p-circle-fill:before{content:""}.bi-p-circle:before{content:""}.bi-p-square-fill:before{content:""}.bi-p-square:before{content:""}.bi-pass-fill:before{content:""}.bi-pass:before{content:""}.bi-prescription:before{content:""}.bi-prescription2:before{content:""}.bi-r-circle-fill:before{content:""}.bi-r-circle:before{content:""}.bi-r-square-fill:before{content:""}.bi-r-square:before{content:""}.bi-repeat-1:before{content:""}.bi-repeat:before{content:""}.bi-rewind-btn-fill:before{content:""}.bi-rewind-btn:before{content:""}.bi-rewind-circle-fill:before{content:""}.bi-rewind-circle:before{content:""}.bi-rewind-fill:before{content:""}.bi-rewind:before{content:""}.bi-train-freight-front-fill:before{content:""}.bi-train-freight-front:before{content:""}.bi-train-front-fill:before{content:""}.bi-train-front:before{content:""}.bi-train-lightrail-front-fill:before{content:""}.bi-train-lightrail-front:before{content:""}.bi-truck-front-fill:before{content:""}.bi-truck-front:before{content:""}.bi-ubuntu:before{content:""}.bi-unindent:before{content:""}.bi-unity:before{content:""}.bi-universal-access-circle:before{content:""}.bi-universal-access:before{content:""}.bi-virus:before{content:""}.bi-virus2:before{content:""}.bi-wechat:before{content:""}.bi-yelp:before{content:""}.bi-sign-stop-fill:before{content:""}.bi-sign-stop-lights-fill:before{content:""}.bi-sign-stop-lights:before{content:""}.bi-sign-stop:before{content:""}.bi-sign-turn-left-fill:before{content:""}.bi-sign-turn-left:before{content:""}.bi-sign-turn-right-fill:before{content:""}.bi-sign-turn-right:before{content:""}.bi-sign-turn-slight-left-fill:before{content:""}.bi-sign-turn-slight-left:before{content:""}.bi-sign-turn-slight-right-fill:before{content:""}.bi-sign-turn-slight-right:before{content:""}.bi-sign-yield-fill:before{content:""}.bi-sign-yield:before{content:""}.bi-ev-station-fill:before{content:""}.bi-ev-station:before{content:""}.bi-fuel-pump-diesel-fill:before{content:""}.bi-fuel-pump-diesel:before{content:""}.bi-fuel-pump-fill:before{content:""}.bi-fuel-pump:before{content:""}.bi-0-circle-fill:before{content:""}.bi-0-circle:before{content:""}.bi-0-square-fill:before{content:""}.bi-0-square:before{content:""}.bi-rocket-fill:before{content:""}.bi-rocket-takeoff-fill:before{content:""}.bi-rocket-takeoff:before{content:""}.bi-rocket:before{content:""}.bi-stripe:before{content:""}.bi-subscript:before{content:""}.bi-superscript:before{content:""}.bi-trello:before{content:""}.bi-envelope-at-fill:before{content:""}.bi-envelope-at:before{content:""}.bi-regex:before{content:""}.bi-text-wrap:before{content:""}.bi-sign-dead-end-fill:before{content:""}.bi-sign-dead-end:before{content:""}.bi-sign-do-not-enter-fill:before{content:""}.bi-sign-do-not-enter:before{content:""}.bi-sign-intersection-fill:before{content:""}.bi-sign-intersection-side-fill:before{content:""}.bi-sign-intersection-side:before{content:""}.bi-sign-intersection-t-fill:before{content:""}.bi-sign-intersection-t:before{content:""}.bi-sign-intersection-y-fill:before{content:""}.bi-sign-intersection-y:before{content:""}.bi-sign-intersection:before{content:""}.bi-sign-merge-left-fill:before{content:""}.bi-sign-merge-left:before{content:""}.bi-sign-merge-right-fill:before{content:""}.bi-sign-merge-right:before{content:""}.bi-sign-no-left-turn-fill:before{content:""}.bi-sign-no-left-turn:before{content:""}.bi-sign-no-parking-fill:before{content:""}.bi-sign-no-parking:before{content:""}.bi-sign-no-right-turn-fill:before{content:""}.bi-sign-no-right-turn:before{content:""}.bi-sign-railroad-fill:before{content:""}.bi-sign-railroad:before{content:""}.bi-building-add:before{content:""}.bi-building-check:before{content:""}.bi-building-dash:before{content:""}.bi-building-down:before{content:""}.bi-building-exclamation:before{content:""}.bi-building-fill-add:before{content:""}.bi-building-fill-check:before{content:""}.bi-building-fill-dash:before{content:""}.bi-building-fill-down:before{content:""}.bi-building-fill-exclamation:before{content:""}.bi-building-fill-gear:before{content:""}.bi-building-fill-lock:before{content:""}.bi-building-fill-slash:before{content:""}.bi-building-fill-up:before{content:""}.bi-building-fill-x:before{content:""}.bi-building-fill:before{content:""}.bi-building-gear:before{content:""}.bi-building-lock:before{content:""}.bi-building-slash:before{content:""}.bi-building-up:before{content:""}.bi-building-x:before{content:""}.bi-buildings-fill:before{content:""}.bi-buildings:before{content:""}.bi-bus-front-fill:before{content:""}.bi-bus-front:before{content:""}.bi-ev-front-fill:before{content:""}.bi-ev-front:before{content:""}.bi-globe-americas:before{content:""}.bi-globe-asia-australia:before{content:""}.bi-globe-central-south-asia:before{content:""}.bi-globe-europe-africa:before{content:""}.bi-house-add-fill:before{content:""}.bi-house-add:before{content:""}.bi-house-check-fill:before{content:""}.bi-house-check:before{content:""}.bi-house-dash-fill:before{content:""}.bi-house-dash:before{content:""}.bi-house-down-fill:before{content:""}.bi-house-down:before{content:""}.bi-house-exclamation-fill:before{content:""}.bi-house-exclamation:before{content:""}.bi-house-gear-fill:before{content:""}.bi-house-gear:before{content:""}.bi-house-lock-fill:before{content:""}.bi-house-lock:before{content:""}.bi-house-slash-fill:before{content:""}.bi-house-slash:before{content:""}.bi-house-up-fill:before{content:""}.bi-house-up:before{content:""}.bi-house-x-fill:before{content:""}.bi-house-x:before{content:""}.bi-person-add:before{content:""}.bi-person-down:before{content:""}.bi-person-exclamation:before{content:""}.bi-person-fill-add:before{content:""}.bi-person-fill-check:before{content:""}.bi-person-fill-dash:before{content:""}.bi-person-fill-down:before{content:""}.bi-person-fill-exclamation:before{content:""}.bi-person-fill-gear:before{content:""}.bi-person-fill-lock:before{content:""}.bi-person-fill-slash:before{content:""}.bi-person-fill-up:before{content:""}.bi-person-fill-x:before{content:""}.bi-person-gear:before{content:""}.bi-person-lock:before{content:""}.bi-person-slash:before{content:""}.bi-person-up:before{content:""}.bi-scooter:before{content:""}.bi-taxi-front-fill:before{content:""}.bi-taxi-front:before{content:""}.bi-amd:before{content:""}.bi-database-add:before{content:""}.bi-database-check:before{content:""}.bi-database-dash:before{content:""}.bi-database-down:before{content:""}.bi-database-exclamation:before{content:""}.bi-database-fill-add:before{content:""}.bi-database-fill-check:before{content:""}.bi-database-fill-dash:before{content:""}.bi-database-fill-down:before{content:""}.bi-database-fill-exclamation:before{content:""}.bi-database-fill-gear:before{content:""}.bi-database-fill-lock:before{content:""}.bi-database-fill-slash:before{content:""}.bi-database-fill-up:before{content:""}.bi-database-fill-x:before{content:""}.bi-database-fill:before{content:""}.bi-database-gear:before{content:""}.bi-database-lock:before{content:""}.bi-database-slash:before{content:""}.bi-database-up:before{content:""}.bi-database-x:before{content:""}.bi-database:before{content:""}.bi-houses-fill:before{content:""}.bi-houses:before{content:""}.bi-nvidia:before{content:""}.bi-person-vcard-fill:before{content:""}.bi-person-vcard:before{content:""}.bi-sina-weibo:before{content:""}.bi-tencent-qq:before{content:""}.bi-wikipedia:before{content:""}.bi-alphabet-uppercase:before{content:""}.bi-alphabet:before{content:""}.bi-amazon:before{content:""}.bi-arrows-collapse-vertical:before{content:""}.bi-arrows-expand-vertical:before{content:""}.bi-arrows-vertical:before{content:""}.bi-arrows:before{content:""}.bi-ban-fill:before{content:""}.bi-ban:before{content:""}.bi-bing:before{content:""}.bi-cake:before{content:""}.bi-cake2:before{content:""}.bi-cookie:before{content:""}.bi-copy:before{content:""}.bi-crosshair:before{content:""}.bi-crosshair2:before{content:""}.bi-emoji-astonished-fill:before{content:""}.bi-emoji-astonished:before{content:""}.bi-emoji-grimace-fill:before{content:""}.bi-emoji-grimace:before{content:""}.bi-emoji-grin-fill:before{content:""}.bi-emoji-grin:before{content:""}.bi-emoji-surprise-fill:before{content:""}.bi-emoji-surprise:before{content:""}.bi-emoji-tear-fill:before{content:""}.bi-emoji-tear:before{content:""}.bi-envelope-arrow-down-fill:before{content:""}.bi-envelope-arrow-down:before{content:""}.bi-envelope-arrow-up-fill:before{content:""}.bi-envelope-arrow-up:before{content:""}.bi-feather:before{content:""}.bi-feather2:before{content:""}.bi-floppy-fill:before{content:""}.bi-floppy:before{content:""}.bi-floppy2-fill:before{content:""}.bi-floppy2:before{content:""}.bi-gitlab:before{content:""}.bi-highlighter:before{content:""}.bi-marker-tip:before{content:""}.bi-nvme-fill:before{content:""}.bi-nvme:before{content:""}.bi-opencollective:before{content:""}.bi-pci-card-network:before{content:""}.bi-pci-card-sound:before{content:""}.bi-radar:before{content:""}.bi-send-arrow-down-fill:before{content:""}.bi-send-arrow-down:before{content:""}.bi-send-arrow-up-fill:before{content:""}.bi-send-arrow-up:before{content:""}.bi-sim-slash-fill:before{content:""}.bi-sim-slash:before{content:""}.bi-sourceforge:before{content:""}.bi-substack:before{content:""}.bi-threads-fill:before{content:""}.bi-threads:before{content:""}.bi-transparency:before{content:""}.bi-twitter-x:before{content:""}.bi-type-h4:before{content:""}.bi-type-h5:before{content:""}.bi-type-h6:before{content:""}.bi-backpack-fill:before{content:""}.bi-backpack:before{content:""}.bi-backpack2-fill:before{content:""}.bi-backpack2:before{content:""}.bi-backpack3-fill:before{content:""}.bi-backpack3:before{content:""}.bi-backpack4-fill:before{content:""}.bi-backpack4:before{content:""}.bi-brilliance:before{content:""}.bi-cake-fill:before{content:""}.bi-cake2-fill:before{content:""}.bi-duffle-fill:before{content:""}.bi-duffle:before{content:""}.bi-exposure:before{content:""}.bi-gender-neuter:before{content:""}.bi-highlights:before{content:""}.bi-luggage-fill:before{content:""}.bi-luggage:before{content:""}.bi-mailbox-flag:before{content:""}.bi-mailbox2-flag:before{content:""}.bi-noise-reduction:before{content:""}.bi-passport-fill:before{content:""}.bi-passport:before{content:""}.bi-person-arms-up:before{content:""}.bi-person-raised-hand:before{content:""}.bi-person-standing-dress:before{content:""}.bi-person-standing:before{content:""}.bi-person-walking:before{content:""}.bi-person-wheelchair:before{content:""}.bi-shadows:before{content:""}.bi-suitcase-fill:before{content:""}.bi-suitcase-lg-fill:before{content:""}.bi-suitcase-lg:before{content:""}.bi-suitcase:before{content:"豈"}.bi-suitcase2-fill:before{content:"更"}.bi-suitcase2:before{content:"車"}.bi-vignette:before{content:"賈"}.bi-bluesky:before{content:""}.bi-tux:before{content:"滑"}.bi-beaker-fill:before{content:"串"}.bi-beaker:before{content:"句"}.bi-flask-fill:before{content:"龜"}.bi-flask-florence-fill:before{content:"龜"}.bi-flask-florence:before{content:"契"}.bi-flask:before{content:"金"}.bi-leaf-fill:before{content:"喇"}.bi-leaf:before{content:"奈"}.bi-measuring-cup-fill:before{content:"懶"}.bi-measuring-cup:before{content:"癩"}.bi-unlock2-fill:before{content:"羅"}.bi-unlock2:before{content:"蘿"}.bi-battery-low:before{content:"螺"}.bi-anthropic:before{content:"裸"}.bi-apple-music:before{content:"邏"}.bi-claude:before{content:"樂"}.bi-openai:before{content:"洛"}.bi-perplexity:before{content:"烙"}.bi-css:before{content:"珞"}.bi-javascript:before{content:"落"}.bi-typescript:before{content:"酪"}.bi-fork-knife:before{content:"駱"}.bi-globe-americas-fill:before{content:"亂"}.bi-globe-asia-australia-fill:before{content:"卵"}.bi-globe-central-south-asia-fill:before{content:"欄"}.bi-globe-europe-africa-fill:before{content:"爛"}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-weight:200 800;src:url(/static/client/dist/assets/PlusJakartaSans-VariableFont_wght-D_DSbd_K.ttf) format("ttf")}@font-face{font-family:Plus Jakarta Sans;font-style:italic;font-weight:200 800;src:url(/static/client/dist/assets/PlusJakartaSans-Italic-VariableFont_wght-BdWtZZ8T.ttf) format("ttf")}*{font-family:Plus Jakarta Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol!important}@property --brandColor1{syntax: ""; initial-value: #009dff; inherits: false;}@property --brandColor2{syntax: ""; initial-value: #F94647; inherits: false;}@property --distance1{syntax: ""; initial-value: 0%; inherits: false;}@property --degree{syntax: ""; initial-value: 234deg; inherits: false;}.btn-brand{background:linear-gradient(var(--degree),var(--brandColor1) var(--distance1),var(--brandColor2) 100%);border:0!important;transition:--brandColor1 .3s,--brandColor2 .3s!important}.btn-brand:hover{--brandColor1: rgb(0, 142, 216);--brandColor2: rgba(249, 70, 71) }::-webkit-scrollbar{display:none}.slide-right-enter-active,.slide-right-leave-active{transition:all .3s cubic-bezier(.82,.58,.17,1)}.slide-right-enter-from,.slide-right-leave-to{opacity:0}.slide-right-enter-from{transform:translate(-20px)}.slide-right-leave-to{transform:translate(20px)}.app-enter-active,.app-leave-active{transition:all .4s cubic-bezier(.82,.58,.17,1)}.app-enter-from,.app-leave-to{opacity:0;filter:blur(8px)}.app-enter-from{transform:scale(1.03)}.app-leave-to{transform:scale(.97)}.btn-outline-body{color:#000;border-color:#000!important;background-color:transparent}[data-bs-theme=dark] .btn-outline-body{color:#fff;border-color:#fff!important;background-color:transparent}.btn-body{border-color:#000!important;color:#fff!important;background-color:#000}.btn-body:hover{border-color:#373737!important;color:#fff!important;background-color:#373737!important}[data-bs-theme=dark] .btn-body{border-color:#fff!important;color:#000!important;background-color:#fff}[data-bs-theme=dark] .btn-body:hover{border-color:#e8e8e8!important;color:#000!important;background-color:#e8e8e8!important}.form-control{border-width:0}.amneziawgBg{background:#91c7c1;background:linear-gradient(90deg,#91c7c1,#6b5fa1,#e38e41)}.wireguardBg{background:#7d2020;background:linear-gradient(90deg,#7d2020,#ff3838)}.notification[data-v-3303bfcd]{width:100%;word-break:break-word}@media screen and (min-width: 576px){.notification[data-v-3303bfcd]{width:400px}}.message-move[data-v-e4fed80c],.message-enter-active[data-v-e4fed80c],.message-leave-active[data-v-e4fed80c]{transition:all .5s cubic-bezier(.82,.58,.17,1)}.message-enter-from[data-v-e4fed80c],.message-leave-to[data-v-e4fed80c]{filter:blur(2px);opacity:0}.message-enter-from[data-v-e4fed80c]{transform:translateY(-30px)}.message-leave-to[data-v-e4fed80c]{transform:translateY(30px)}.messageCentre[data-v-e4fed80c]{z-index:9999;top:1rem;right:1rem}@media screen and (max-width: 768px){.messageCentre[data-v-e4fed80c]{width:calc(100% - 2rem)}}@media screen and (max-width: 576px){#listContainer[data-v-8742499d]{border-radius:0!important}}.qrcodeContainer[data-v-cc8c55c7]{background-color:#00000050;-webkit-backdrop-filter:blur(8px) brightness(.8);backdrop-filter:blur(8px) brightness(.8);z-index:9999}.button-group a[data-v-5d0ec739]:hover{background-color:#ffffff20}.dot[data-v-5d0ec739]{width:10px;height:10px;border-radius:50px;display:inline-block;margin-left:auto!important;background-color:#6c757d}.dot.active[data-v-5d0ec739]{background-color:#28a745!important;box-shadow:0 0 0 .2rem #28a74545}.nav-link[data-v-98284be0]{padding:1rem}@media screen and (max-width: 576px){.nav-links a span[data-v-98284be0]{display:none}} diff --git a/src/static/client/package.json b/src/static/client/package.json index e9af0f33..35cd1c6f 100644 --- a/src/static/client/package.json +++ b/src/static/client/package.json @@ -5,7 +5,7 @@ "type": "module", "scripts": { "dev": "vite", - "build": "vite build", + "build": "vite build --emptyOutDir", "preview": "vite preview" }, "dependencies": { diff --git a/src/static/client/vite.config.js b/src/static/client/vite.config.js index 4c411ca0..13543cec 100644 --- a/src/static/client/vite.config.js +++ b/src/static/client/vite.config.js @@ -18,7 +18,6 @@ export default defineConfig({ } } ], - resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) @@ -30,5 +29,16 @@ export default defineConfig({ }, host: '0.0.0.0' }, - base: '/static/client/dist' + build: { + target: "es2022", + outDir: '../dist/WGDashboardClient', + rollupOptions: { + output: { + entryFileNames: `assets/[name]-[hash].js`, + chunkFileNames: `assets/[name]-[hash].js`, + assetFileNames: `assets/[name]-[hash].[ext]` + } + } + }, + base: '/static/dist/WGDashboardClient' }) diff --git a/src/static/app/dist/assets/DashboardClientAssignmentStore-hnc4wS2g.js b/src/static/dist/WGDashboardAdmin/assets/DashboardClientAssignmentStore-C45wUqOp.js similarity index 95% rename from src/static/app/dist/assets/DashboardClientAssignmentStore-hnc4wS2g.js rename to src/static/dist/WGDashboardAdmin/assets/DashboardClientAssignmentStore-C45wUqOp.js index ba9cc1a7..029deff0 100644 --- a/src/static/app/dist/assets/DashboardClientAssignmentStore-hnc4wS2g.js +++ b/src/static/dist/WGDashboardAdmin/assets/DashboardClientAssignmentStore-C45wUqOp.js @@ -1 +1 @@ -import{aj as A,r as n,D as S,g as l,z as v}from"./index-BiMgJckX.js";const b=A("DashboardClientAssignmentStore",()=>{const f=n({}),d=n([]),o=n({}),c=n([]),g=n(!1),r=n(""),i=S(),w=async()=>{await l("/api/clients/allClients",{},s=>{o.value=s.data})},y=async()=>{await l("/api/clients/allClientsRaw",{},s=>{c.value=s.data,console.log(c.value)})},m=s=>Object.values(o.value).flat().find(e=>e.ClientID===s),u=async(s,e)=>{await l("/api/clients/assignedClients",{ConfigurationName:s,Peer:e},a=>{d.value=a.data})};return{assignments:d,getAssignedClients:u,getClients:w,getClientsRaw:y,clients:o,unassignClient:async(s,e,a)=>{g.value=!0,await v("/api/clients/unassignClient",{AssignmentID:a},async t=>{t.status?(i.newMessage("Server","Unassign successfully!","success"),s&&e&&await u(s,e)):(i.newMessage("Server","Unassign Failed. Reason: "+t.message,"success"),console.error("Unassign Failed. Reason: "+t.message)),g.value=!1})},assignClient:async(s,e,a,t=!0)=>{r.value=a,await v("/api/clients/assignClient",{ConfigurationName:s,Peer:e,ClientID:a},async C=>{C.status?(i.newMessage("Server","Assign successfully!","success"),t&&await u(s,e)):(i.newMessage("Server","Assign Failed. Reason: "+C.message,"success"),console.error("Assign Failed. Reason: "+C.message)),r.value=""})},getClientById:m,unassigning:g,assigning:r,clientsRaw:c,allConfigurationsPeers:f,getAllConfigurationsPeers:async()=>{await l("/api/clients/allConfigurationsPeers",{},s=>{f.value=s.data})}}});export{b as D}; +import{aj as A,r as n,D as S,g as l,z as v}from"./index-D5fbjBmH.js";const b=A("DashboardClientAssignmentStore",()=>{const f=n({}),d=n([]),o=n({}),c=n([]),g=n(!1),r=n(""),i=S(),w=async()=>{await l("/api/clients/allClients",{},s=>{o.value=s.data})},y=async()=>{await l("/api/clients/allClientsRaw",{},s=>{c.value=s.data,console.log(c.value)})},m=s=>Object.values(o.value).flat().find(e=>e.ClientID===s),u=async(s,e)=>{await l("/api/clients/assignedClients",{ConfigurationName:s,Peer:e},a=>{d.value=a.data})};return{assignments:d,getAssignedClients:u,getClients:w,getClientsRaw:y,clients:o,unassignClient:async(s,e,a)=>{g.value=!0,await v("/api/clients/unassignClient",{AssignmentID:a},async t=>{t.status?(i.newMessage("Server","Unassign successfully!","success"),s&&e&&await u(s,e)):(i.newMessage("Server","Unassign Failed. Reason: "+t.message,"success"),console.error("Unassign Failed. Reason: "+t.message)),g.value=!1})},assignClient:async(s,e,a,t=!0)=>{r.value=a,await v("/api/clients/assignClient",{ConfigurationName:s,Peer:e,ClientID:a},async C=>{C.status?(i.newMessage("Server","Assign successfully!","success"),t&&await u(s,e)):(i.newMessage("Server","Assign Failed. Reason: "+C.message,"success"),console.error("Assign Failed. Reason: "+C.message)),r.value=""})},getClientById:m,unassigning:g,assigning:r,clientsRaw:c,allConfigurationsPeers:f,getAllConfigurationsPeers:async()=>{await l("/api/clients/allConfigurationsPeers",{},s=>{f.value=s.data})}}});export{b as D}; diff --git a/src/static/app/dist/assets/bootstrap-icons-BeopsB42.woff b/src/static/dist/WGDashboardAdmin/assets/bootstrap-icons-BeopsB42.woff similarity index 100% rename from src/static/app/dist/assets/bootstrap-icons-BeopsB42.woff rename to src/static/dist/WGDashboardAdmin/assets/bootstrap-icons-BeopsB42.woff diff --git a/src/static/app/dist/assets/bootstrap-icons-mSm7cUeB.woff2 b/src/static/dist/WGDashboardAdmin/assets/bootstrap-icons-mSm7cUeB.woff2 similarity index 100% rename from src/static/app/dist/assets/bootstrap-icons-mSm7cUeB.woff2 rename to src/static/dist/WGDashboardAdmin/assets/bootstrap-icons-mSm7cUeB.woff2 diff --git a/src/static/app/dist/assets/browser-CwJzqt71.js b/src/static/dist/WGDashboardAdmin/assets/browser-DpR0RqZi.js similarity index 99% rename from src/static/app/dist/assets/browser-CwJzqt71.js rename to src/static/dist/WGDashboardAdmin/assets/browser-DpR0RqZi.js index 461d1d15..2416e35b 100644 --- a/src/static/app/dist/assets/browser-CwJzqt71.js +++ b/src/static/dist/WGDashboardAdmin/assets/browser-DpR0RqZi.js @@ -1,4 +1,4 @@ -import{ai as ne}from"./index-BiMgJckX.js";var z={},Q,pt;function re(){return pt||(pt=1,Q=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),Q}var $={},U={},Rt;function _(){if(Rt)return U;Rt=1;let r;const o=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return U.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17},U.getSymbolTotalCodewords=function(e){return o[e]},U.getBCHDigit=function(i){let e=0;for(;i!==0;)e++,i>>>=1;return e},U.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');r=e},U.isKanjiModeEnabled=function(){return typeof r<"u"},U.toSJIS=function(e){return r(e)},U}var W={},At;function Ct(){return At||(At=1,function(r){r.L={bit:1},r.M={bit:0},r.Q={bit:3},r.H={bit:2};function o(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return r.L;case"m":case"medium":return r.M;case"q":case"quartile":return r.Q;case"h":case"high":return r.H;default:throw new Error("Unknown EC Level: "+i)}}r.isValid=function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4},r.from=function(e,t){if(r.isValid(e))return e;try{return o(e)}catch{return t}}}(W)),W}var Z,Tt;function oe(){if(Tt)return Z;Tt=1;function r(){this.buffer=[],this.length=0}return r.prototype={get:function(o){const i=Math.floor(o/8);return(this.buffer[i]>>>7-o%8&1)===1},put:function(o,i){for(let e=0;e>>i-e-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(o){const i=Math.floor(this.length/8);this.buffer.length<=i&&this.buffer.push(0),o&&(this.buffer[i]|=128>>>this.length%8),this.length++}},Z=r,Z}var X,It;function ie(){if(It)return X;It=1;function r(o){if(!o||o<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=o,this.data=new Uint8Array(o*o),this.reservedBit=new Uint8Array(o*o)}return r.prototype.set=function(o,i,e,t){const n=o*this.size+i;this.data[n]=e,t&&(this.reservedBit[n]=!0)},r.prototype.get=function(o,i){return this.data[o*this.size+i]},r.prototype.xor=function(o,i,e){this.data[o*this.size+i]^=e},r.prototype.isReserved=function(o,i){return this.reservedBit[o*this.size+i]},X=r,X}var x={},Nt;function ue(){return Nt||(Nt=1,function(r){const o=_().getSymbolSize;r.getRowColCoords=function(e){if(e===1)return[];const t=Math.floor(e/7)+2,n=o(e),u=n===145?26:Math.ceil((n-13)/(2*t-2))*2,a=[n-7];for(let s=1;s=0&&t<=7},r.from=function(t){return r.isValid(t)?parseInt(t,10):void 0},r.getPenaltyN1=function(t){const n=t.size;let u=0,a=0,s=0,c=null,d=null;for(let B=0;B=5&&(u+=o.N1+(a-5)),c=f,a=1),f=t.get(h,B),f===d?s++:(s>=5&&(u+=o.N1+(s-5)),d=f,s=1)}a>=5&&(u+=o.N1+(a-5)),s>=5&&(u+=o.N1+(s-5))}return u},r.getPenaltyN2=function(t){const n=t.size;let u=0;for(let a=0;a=10&&(a===1488||a===93)&&u++,s=s<<1&2047|t.get(d,c),d>=10&&(s===1488||s===93)&&u++}return u*o.N3},r.getPenaltyN4=function(t){let n=0;const u=t.data.length;for(let s=0;s=0;){const u=n[0];for(let s=0;s0){const a=new Uint8Array(this.degree);return a.set(n,u),a}return n},rt=o,rt}var ot={},it={},ut={},qt;function Wt(){return qt||(qt=1,ut.isValid=function(o){return!isNaN(o)&&o>=1&&o<=40}),ut}var L={},vt;function Zt(){if(vt)return L;vt=1;const r="[0-9]+",o="[A-Z $%*+\\-./:]+";let i="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";i=i.replace(/u/g,"\\u");const e="(?:(?![A-Z0-9 $%*+\\-./:]|"+i+`)(?:.|[\r +import{ai as ne}from"./index-D5fbjBmH.js";var z={},Q,pt;function re(){return pt||(pt=1,Q=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),Q}var $={},U={},Rt;function _(){if(Rt)return U;Rt=1;let r;const o=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return U.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17},U.getSymbolTotalCodewords=function(e){return o[e]},U.getBCHDigit=function(i){let e=0;for(;i!==0;)e++,i>>>=1;return e},U.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');r=e},U.isKanjiModeEnabled=function(){return typeof r<"u"},U.toSJIS=function(e){return r(e)},U}var W={},At;function Ct(){return At||(At=1,function(r){r.L={bit:1},r.M={bit:0},r.Q={bit:3},r.H={bit:2};function o(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return r.L;case"m":case"medium":return r.M;case"q":case"quartile":return r.Q;case"h":case"high":return r.H;default:throw new Error("Unknown EC Level: "+i)}}r.isValid=function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4},r.from=function(e,t){if(r.isValid(e))return e;try{return o(e)}catch{return t}}}(W)),W}var Z,Tt;function oe(){if(Tt)return Z;Tt=1;function r(){this.buffer=[],this.length=0}return r.prototype={get:function(o){const i=Math.floor(o/8);return(this.buffer[i]>>>7-o%8&1)===1},put:function(o,i){for(let e=0;e>>i-e-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(o){const i=Math.floor(this.length/8);this.buffer.length<=i&&this.buffer.push(0),o&&(this.buffer[i]|=128>>>this.length%8),this.length++}},Z=r,Z}var X,It;function ie(){if(It)return X;It=1;function r(o){if(!o||o<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=o,this.data=new Uint8Array(o*o),this.reservedBit=new Uint8Array(o*o)}return r.prototype.set=function(o,i,e,t){const n=o*this.size+i;this.data[n]=e,t&&(this.reservedBit[n]=!0)},r.prototype.get=function(o,i){return this.data[o*this.size+i]},r.prototype.xor=function(o,i,e){this.data[o*this.size+i]^=e},r.prototype.isReserved=function(o,i){return this.reservedBit[o*this.size+i]},X=r,X}var x={},Nt;function ue(){return Nt||(Nt=1,function(r){const o=_().getSymbolSize;r.getRowColCoords=function(e){if(e===1)return[];const t=Math.floor(e/7)+2,n=o(e),u=n===145?26:Math.ceil((n-13)/(2*t-2))*2,a=[n-7];for(let s=1;s=0&&t<=7},r.from=function(t){return r.isValid(t)?parseInt(t,10):void 0},r.getPenaltyN1=function(t){const n=t.size;let u=0,a=0,s=0,c=null,d=null;for(let B=0;B=5&&(u+=o.N1+(a-5)),c=f,a=1),f=t.get(h,B),f===d?s++:(s>=5&&(u+=o.N1+(s-5)),d=f,s=1)}a>=5&&(u+=o.N1+(a-5)),s>=5&&(u+=o.N1+(s-5))}return u},r.getPenaltyN2=function(t){const n=t.size;let u=0;for(let a=0;a=10&&(a===1488||a===93)&&u++,s=s<<1&2047|t.get(d,c),d>=10&&(s===1488||s===93)&&u++}return u*o.N3},r.getPenaltyN4=function(t){let n=0;const u=t.data.length;for(let s=0;s=0;){const u=n[0];for(let s=0;s0){const a=new Uint8Array(this.degree);return a.set(n,u),a}return n},rt=o,rt}var ot={},it={},ut={},qt;function Wt(){return qt||(qt=1,ut.isValid=function(o){return!isNaN(o)&&o>=1&&o<=40}),ut}var L={},vt;function Zt(){if(vt)return L;vt=1;const r="[0-9]+",o="[A-Z $%*+\\-./:]+";let i="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";i=i.replace(/u/g,"\\u");const e="(?:(?![A-Z0-9 $%*+\\-./:]|"+i+`)(?:.|[\r ]))+`;L.KANJI=new RegExp(i,"g"),L.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),L.BYTE=new RegExp(e,"g"),L.NUMERIC=new RegExp(r,"g"),L.ALPHANUMERIC=new RegExp(o,"g");const t=new RegExp("^"+i+"$"),n=new RegExp("^"+r+"$"),u=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return L.testKanji=function(s){return t.test(s)},L.testNumeric=function(s){return n.test(s)},L.testAlphanumeric=function(s){return u.test(s)},L}var Ut;function F(){return Ut||(Ut=1,function(r){const o=Wt(),i=Zt();r.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},r.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},r.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},r.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},r.MIXED={bit:-1},r.getCharCountIndicator=function(n,u){if(!n.ccBits)throw new Error("Invalid mode: "+n);if(!o.isValid(u))throw new Error("Invalid version: "+u);return u>=1&&u<10?n.ccBits[0]:u<27?n.ccBits[1]:n.ccBits[2]},r.getBestModeForData=function(n){return i.testNumeric(n)?r.NUMERIC:i.testAlphanumeric(n)?r.ALPHANUMERIC:i.testKanji(n)?r.KANJI:r.BYTE},r.toString=function(n){if(n&&n.id)return n.id;throw new Error("Invalid mode")},r.isValid=function(n){return n&&n.bit&&n.ccBits};function e(t){if(typeof t!="string")throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return r.NUMERIC;case"alphanumeric":return r.ALPHANUMERIC;case"kanji":return r.KANJI;case"byte":return r.BYTE;default:throw new Error("Unknown mode: "+t)}}r.from=function(n,u){if(r.isValid(n))return n;try{return e(n)}catch{return u}}}(it)),it}var _t;function de(){return _t||(_t=1,function(r){const o=_(),i=$t(),e=Ct(),t=F(),n=Wt(),u=7973,a=o.getBCHDigit(u);function s(h,f,N){for(let M=1;M<=40;M++)if(f<=r.getCapacity(M,N,h))return M}function c(h,f){return t.getCharCountIndicator(h,f)+4}function d(h,f){let N=0;return h.forEach(function(M){const S=c(M.mode,f);N+=S+M.getBitsLength()}),N}function B(h,f){for(let N=1;N<=40;N++)if(d(h,N)<=r.getCapacity(N,f,t.MIXED))return N}r.from=function(f,N){return n.isValid(f)?parseInt(f,10):N},r.getCapacity=function(f,N,M){if(!n.isValid(f))throw new Error("Invalid QR Code version");typeof M>"u"&&(M=t.BYTE);const S=o.getSymbolTotalCodewords(f),A=i.getTotalCodewordsCount(f,N),P=(S-A)*8;if(M===t.MIXED)return P;const T=P-c(M,f);switch(M){case t.NUMERIC:return Math.floor(T/10*3);case t.ALPHANUMERIC:return Math.floor(T/11*2);case t.KANJI:return Math.floor(T/13);case t.BYTE:default:return Math.floor(T/8)}},r.getBestVersionForData=function(f,N){let M;const S=e.from(N,e.M);if(Array.isArray(f)){if(f.length>1)return B(f,S);if(f.length===0)return 1;M=f[0]}else M=f;return s(M.mode,M.getLength(),S)},r.getEncodedBits=function(f){if(!n.isValid(f)||f<7)throw new Error("Invalid QR Code version");let N=f<<12;for(;o.getBCHDigit(N)-a>=0;)N^=u<=0;)s^=o<0&&(n=this.data.substr(t),u=parseInt(n,10),e.put(u,a*3+1))},ct=o,ct}var ft,zt;function me(){if(zt)return ft;zt=1;const r=F(),o=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function i(e){this.mode=r.ALPHANUMERIC,this.data=e}return i.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let u=o.indexOf(this.data[n])*45;u+=o.indexOf(this.data[n+1]),t.put(u,11)}this.data.length%2&&t.put(o.indexOf(this.data[n]),6)},ft=i,ft}var lt,Vt;function we(){if(Vt)return lt;Vt=1;const r=F();function o(i){this.mode=r.BYTE,typeof i=="string"?this.data=new TextEncoder().encode(i):this.data=new Uint8Array(i)}return o.getBitsLength=function(e){return e*8},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(i){for(let e=0,t=this.data.length;e=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+` Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}},dt=i,dt}var gt={exports:{}},Ht;function Ee(){return Ht||(Ht=1,function(r){var o={single_source_shortest_paths:function(i,e,t){var n={},u={};u[e]=0;var a=o.PriorityQueue.make();a.push(e,0);for(var s,c,d,B,h,f,N,M,S;!a.empty();){s=a.pop(),c=s.value,B=s.cost,h=i[c]||{};for(d in h)h.hasOwnProperty(d)&&(f=h[d],N=B+f,M=u[d],S=typeof u[d]>"u",(S||M>N)&&(u[d]=N,a.push(d,N),n[d]=c))}if(typeof t<"u"&&typeof u[t]>"u"){var A=["Could not find a path from ",e," to ",t,"."].join("");throw new Error(A)}return n},extract_shortest_path_from_predecessor_list:function(i,e){for(var t=[],n=e;n;)t.push(n),i[n],n=i[n];return t.reverse(),t},find_path:function(i,e,t){var n=o.single_source_shortest_paths(i,e,t);return o.extract_shortest_path_from_predecessor_list(n,t)},PriorityQueue:{make:function(i){var e=o.PriorityQueue,t={},n;i=i||{};for(n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t.queue=[],t.sorter=i.sorter||e.default_sorter,t},default_sorter:function(i,e){return i.cost-e.cost},push:function(i,e){var t={value:i,cost:e};this.queue.push(t),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};r.exports=o}(gt)),gt.exports}var Jt;function ye(){return Jt||(Jt=1,function(r){const o=F(),i=he(),e=me(),t=we(),n=Ce(),u=Zt(),a=_(),s=Ee();function c(A){return unescape(encodeURIComponent(A)).length}function d(A,P,T){const p=[];let b;for(;(b=A.exec(T))!==null;)p.push({data:b[0],index:b.index,mode:P,length:b[0].length});return p}function B(A){const P=d(u.NUMERIC,o.NUMERIC,A),T=d(u.ALPHANUMERIC,o.ALPHANUMERIC,A);let p,b;return a.isKanjiModeEnabled()?(p=d(u.BYTE,o.BYTE,A),b=d(u.KANJI,o.KANJI,A)):(p=d(u.BYTE_KANJI,o.BYTE,A),b=[]),P.concat(T,p,b).sort(function(E,C){return E.index-C.index}).map(function(E){return{data:E.data,mode:E.mode,length:E.length}})}function h(A,P){switch(P){case o.NUMERIC:return i.getBitsLength(A);case o.ALPHANUMERIC:return e.getBitsLength(A);case o.KANJI:return n.getBitsLength(A);case o.BYTE:return t.getBitsLength(A)}}function f(A){return A.reduce(function(P,T){const p=P.length-1>=0?P[P.length-1]:null;return p&&p.mode===T.mode?(P[P.length-1].data+=T.data,P):(P.push(T),P)},[])}function N(A){const P=[];for(let T=0;T=0&&w<=6&&(I===0||I===6)||I>=0&&I<=6&&(w===0||w===6)||w>=2&&w<=4&&I>=2&&I<=4?g.set(m+w,y+I,!0,!0):g.set(m+w,y+I,!1,!0))}}function N(g){const E=g.size;for(let C=8;C>w&1)===1,g.set(R,m,y,!0),g.set(m,R,y,!0)}function A(g,E,C){const l=g.size,R=d.getEncodedBits(E,C);let m,y;for(m=0;m<15;m++)y=(R>>m&1)===1,m<6?g.set(m,8,y,!0):m<8?g.set(m+1,8,y,!0):g.set(l-15+m,8,y,!0),m<8?g.set(8,l-m-1,y,!0):m<9?g.set(8,15-m-1+1,y,!0):g.set(8,15-m-1,y,!0);g.set(l-8,8,1,!0)}function P(g,E){const C=g.size;let l=-1,R=C-1,m=7,y=0;for(let w=C-1;w>0;w-=2)for(w===6&&w--;;){for(let I=0;I<2;I++)if(!g.isReserved(R,w-I)){let v=!1;y>>m&1)===1),g.set(R,w-I,v),m--,m===-1&&(y++,m=7)}if(R+=l,R<0||C<=R){R-=l,l=-l;break}}}function T(g,E,C){const l=new i;C.forEach(function(I){l.put(I.mode.bit,4),l.put(I.getLength(),B.getCharCountIndicator(I.mode,g)),I.write(l)});const R=r.getSymbolTotalCodewords(g),m=a.getTotalCodewordsCount(g,E),y=(R-m)*8;for(l.getLengthInBits()+4<=y&&l.put(0,4);l.getLengthInBits()%8!==0;)l.putBit(0);const w=(y-l.getLengthInBits())/8;for(let I=0;Ia.clientAssignedPeers&&Object.keys(a.clientAssignedPeers).includes(a.configuration)?a.peers.filter(n=>!a.clientAssignedPeers[a.configuration].map(t=>t.id).includes(n.id)&&(!a.availablePeerSearchString||a.availablePeerSearchString&&(n.id.includes(a.availablePeerSearchString)||n.name.includes(a.availablePeerSearchString)))):a.availablePeerSearchString?a.peers.filter(n=>n.id.includes(a.availablePeerSearchString)||n.name.includes(a.availablePeerSearchString)):a.peers),y=p(!1),v=p(!1);return(n,t)=>{const o=V("RouterLink");return l(),i("div",K,[e("div",{onClick:t[0]||(t[0]=s=>v.value=!v.value),role:"button",class:"card-header rounded-0 sticky-top z-5 bg-body-secondary border-0 border-bottom text-white d-flex"},[e("small",null,[e("samp",null,_(u.configuration),1)]),e("a",Q,[v.value?(l(),i("i",X)):(l(),i("i",Z))])]),v.value?k("",!0):(l(),i("div",ee,[e("div",se,[(l(!0),i(C,null,L(m.value,s=>(l(),i("div",{class:"list-group-item d-flex border-bottom list-group-item-action d-flex align-items-center gap-3",key:s.id},[y.value?(l(),i("div",ae,[e("small",ie,[d(c,{t:"Are you sure to remove this peer?"})]),t[2]||(t[2]=e("br",null,null,-1)),e("small",oe,[e("samp",null,_(s.id),1)])])):(l(),i("div",te,[e("small",le,[d(o,{class:"text-decoration-none",target:"_blank",to:"/configuration/"+u.configuration+"/peers?id="+encodeURIComponent(s.id)},{default:O(()=>[e("samp",null,_(s.id),1)]),_:2},1032,["to"])]),t[1]||(t[1]=e("br",null,null,-1)),e("small",ne,_(s.name?s.name:"Untitled Peer"),1)])),u.clientAssignedPeers?(l(),i("button",{key:2,onClick:b=>g("assign",s.id),class:N([{disabled:I(r).assigning},"btn bg-success-subtle text-success-emphasis ms-auto"])},t[3]||(t[3]=[e("i",{class:"bi bi-plus-circle-fill"},null,-1)]),10,re)):(l(),i("button",{key:3,onClick:b=>g("unassign",s.assignment_id),class:N([{disabled:I(r).unassigning},"btn bg-danger-subtle text-danger-emphasis ms-auto"]),"aria-label":"Delete Assignment"},t[4]||(t[4]=[e("i",{class:"bi bi-trash-fill"},null,-1)]),10,de))]))),128))])]))])}}}),ce={key:0,class:"d-flex rounded-0 border-0 flex-column d-flex flex-column border-bottom pb-1"},ue={class:"d-flex flex-column p-3 gap-3"},me={class:"d-flex align-items-center"},be={class:"mb-0"},ge={class:"text-bg-primary badge ms-2"},ve={class:"text-bg-info badge ms-2"},fe={class:"rounded-3 availablePeers border h-100 overflow-scroll flex-grow-1 d-flex flex-column"},pe={key:0,class:"text-muted m-auto p-3"},he={key:0,style:{height:"500px"},class:"d-flex flex-column p-3"},ye={class:"availablePeers border h-100 card rounded-3"},xe={class:"card-header sticky-top p-3"},_e={class:"mb-0 d-flex align-items-center"},ke={class:"card-body p-0 overflow-scroll"},we={key:0,class:"text-muted m-auto"},Ce={class:"card-footer d-flex gap-2 p-3 align-items-center justify-content-end"},Pe={key:1},Se=$({__name:"clientAssignedPeers",props:["client","clientAssignedPeers"],emits:["refresh"],setup(u,{emit:h}){const a=u,g=p(!1),r=U(),m=p(!1),y=h,v=async(o,s,b)=>{await r.assignClient(o,s,b,!1),y("refresh")},n=async o=>{await r.unassignClient(void 0,void 0,o),y("refresh")},t=p("");return(o,s)=>(l(),i("div",null,[g.value?(l(),i("div",Pe,s[8]||(s[8]=[e("div",{class:"p-3 placeholder-glow border-bottom"},[e("h6",{class:"placeholder w-100 rounded-3"}),e("div",{class:"placeholder w-100 rounded-3",style:{height:"400px"}})],-1)]))):(l(),i("div",ce,[e("div",ue,[e("div",me,[e("h6",be,[d(c,{t:"Assigned Peers"}),e("span",ge,[S(_(Object.keys(u.clientAssignedPeers).length)+" ",1),d(c,{t:Object.keys(u.clientAssignedPeers).length>1?"Configurations":"Configuration"},null,8,["t"])]),e("span",ve,[S(_(Object.values(u.clientAssignedPeers).flat().length)+" ",1),d(c,{t:Object.values(u.clientAssignedPeers).flat().length>1?"Peers":"Peer"},null,8,["t"])])]),e("button",{class:"btn btn-sm bg-primary-subtle text-primary-emphasis rounded-3 ms-auto",onClick:s[0]||(s[0]=b=>m.value=!m.value)},[m.value?(l(),i(C,{key:1},[s[5]||(s[5]=e("i",{class:"bi bi-check me-2"},null,-1)),s[6]||(s[6]=S("Done "))],64)):(l(),i(C,{key:0},[s[3]||(s[3]=e("i",{class:"bi bi-list-check me-2"},null,-1)),s[4]||(s[4]=S("Manage "))],64))])]),e("div",fe,[(l(!0),i(C,null,L(u.clientAssignedPeers,(b,x)=>(l(),w(B,{configuration:x,peers:b,onUnassign:s[1]||(s[1]=async P=>await n(P))},null,8,["configuration","peers"]))),256)),Object.keys(u.clientAssignedPeers).length===0?(l(),i("h6",pe,[d(c,{t:"No peer assigned to this client"})])):k("",!0)])]),m.value?(l(),i("div",he,[e("div",ye,[e("div",xe,[e("h6",_e,[d(c,{t:"Available Peers"})])]),e("div",ke,[(l(!0),i(C,null,L(I(r).allConfigurationsPeers,(b,x)=>(l(),w(B,{availablePeerSearchString:t.value,configuration:x,clientAssignedPeers:u.clientAssignedPeers,peers:b,key:x,onAssign:async P=>await v(x,P,a.client.ClientID)},null,8,["availablePeerSearchString","configuration","clientAssignedPeers","peers","onAssign"]))),128)),Object.keys(I(r).allConfigurationsPeers).length===0?(l(),i("h6",we,[d(c,{t:"No peer is available to assign"})])):k("",!0)]),e("div",Ce,[s[7]||(s[7]=e("label",{for:"availablePeerSearchString"},[e("i",{class:"bi bi-search me-2"})],-1)),G(e("input",{id:"availablePeerSearchString","onUpdate:modelValue":s[2]||(s[2]=b=>t.value=b),class:"form-control form-control-sm rounded-3 w-auto",type:"text"},null,512),[[E,t.value]])])])])):k("",!0)]))]))}}),$e={class:"p-3 d-flex gap-3 flex-column border-bottom"},De={class:"d-flex align-items-center"},Ae={class:"mb-0"},Ne=$({__name:"clientResetPassword",props:["client"],setup(u){const h=u,a=p(!1),g=p(!1),r=p(!1),m=p(!1),y=j();z();const v=t=>{const o=y.getActiveCrossServer();return o?new URL("/client/#/reset_password?token="+t,o.host).href:new URL("/client/#/reset_password?token="+t,window.location.href).href},n=async()=>{m.value=!0;let t=!1,o;await R("/api/clients/generatePasswordResetLink",{ClientID:h.client.ClientID},async s=>{if(s.status)if(o=s.data,g.value=!0,await T("/api/email/ready",{},b=>{t=b.status}),t){let b={Receiver:h.client.Email,Subject:"[WGDashboard | Client] Reset Password",Body:`Hi${h.client.Name?" "+h.client.Name:""}, +import{J as $,q as M,r as p,h as V,c as i,f as l,a as e,d as k,t as _,F as C,i as L,b as d,w as O,n as N,u as I,e as S,m as G,y as E,j as w,D as j,z as R,I as z,g as T,K as q,E as F,H,L as Y,_ as J}from"./index-D5fbjBmH.js";import{D as U}from"./DashboardClientAssignmentStore-C45wUqOp.js";import{L as c}from"./localeText-BwlyH2uL.js";const K={class:"card rounded-0 border-0"},Q={role:"button",class:"ms-auto text-white"},X={key:0,class:"bi bi-chevron-compact-down"},Z={key:1,class:"bi bi-chevron-compact-up"},ee={key:0,class:"card-body p-0"},se={class:"list-group list-group-flush"},te={key:0},le={class:"text-body"},ne={class:"text-muted"},ae={key:1},ie={class:"text-body"},oe={class:"text-muted"},re=["onClick"],de=["onClick"],B=$({__name:"availablePeersGroup",props:["configuration","peers","clientAssignedPeers","availablePeerSearchString"],emits:["assign","unassign"],setup(u,{emit:h}){const a=u,g=h,r=U(),m=M(()=>a.clientAssignedPeers&&Object.keys(a.clientAssignedPeers).includes(a.configuration)?a.peers.filter(n=>!a.clientAssignedPeers[a.configuration].map(t=>t.id).includes(n.id)&&(!a.availablePeerSearchString||a.availablePeerSearchString&&(n.id.includes(a.availablePeerSearchString)||n.name.includes(a.availablePeerSearchString)))):a.availablePeerSearchString?a.peers.filter(n=>n.id.includes(a.availablePeerSearchString)||n.name.includes(a.availablePeerSearchString)):a.peers),y=p(!1),v=p(!1);return(n,t)=>{const o=V("RouterLink");return l(),i("div",K,[e("div",{onClick:t[0]||(t[0]=s=>v.value=!v.value),role:"button",class:"card-header rounded-0 sticky-top z-5 bg-body-secondary border-0 border-bottom text-white d-flex"},[e("small",null,[e("samp",null,_(u.configuration),1)]),e("a",Q,[v.value?(l(),i("i",X)):(l(),i("i",Z))])]),v.value?k("",!0):(l(),i("div",ee,[e("div",se,[(l(!0),i(C,null,L(m.value,s=>(l(),i("div",{class:"list-group-item d-flex border-bottom list-group-item-action d-flex align-items-center gap-3",key:s.id},[y.value?(l(),i("div",ae,[e("small",ie,[d(c,{t:"Are you sure to remove this peer?"})]),t[2]||(t[2]=e("br",null,null,-1)),e("small",oe,[e("samp",null,_(s.id),1)])])):(l(),i("div",te,[e("small",le,[d(o,{class:"text-decoration-none",target:"_blank",to:"/configuration/"+u.configuration+"/peers?id="+encodeURIComponent(s.id)},{default:O(()=>[e("samp",null,_(s.id),1)]),_:2},1032,["to"])]),t[1]||(t[1]=e("br",null,null,-1)),e("small",ne,_(s.name?s.name:"Untitled Peer"),1)])),u.clientAssignedPeers?(l(),i("button",{key:2,onClick:b=>g("assign",s.id),class:N([{disabled:I(r).assigning},"btn bg-success-subtle text-success-emphasis ms-auto"])},t[3]||(t[3]=[e("i",{class:"bi bi-plus-circle-fill"},null,-1)]),10,re)):(l(),i("button",{key:3,onClick:b=>g("unassign",s.assignment_id),class:N([{disabled:I(r).unassigning},"btn bg-danger-subtle text-danger-emphasis ms-auto"]),"aria-label":"Delete Assignment"},t[4]||(t[4]=[e("i",{class:"bi bi-trash-fill"},null,-1)]),10,de))]))),128))])]))])}}}),ce={key:0,class:"d-flex rounded-0 border-0 flex-column d-flex flex-column border-bottom pb-1"},ue={class:"d-flex flex-column p-3 gap-3"},me={class:"d-flex align-items-center"},be={class:"mb-0"},ge={class:"text-bg-primary badge ms-2"},ve={class:"text-bg-info badge ms-2"},fe={class:"rounded-3 availablePeers border h-100 overflow-scroll flex-grow-1 d-flex flex-column"},pe={key:0,class:"text-muted m-auto p-3"},he={key:0,style:{height:"500px"},class:"d-flex flex-column p-3"},ye={class:"availablePeers border h-100 card rounded-3"},xe={class:"card-header sticky-top p-3"},_e={class:"mb-0 d-flex align-items-center"},ke={class:"card-body p-0 overflow-scroll"},we={key:0,class:"text-muted m-auto"},Ce={class:"card-footer d-flex gap-2 p-3 align-items-center justify-content-end"},Pe={key:1},Se=$({__name:"clientAssignedPeers",props:["client","clientAssignedPeers"],emits:["refresh"],setup(u,{emit:h}){const a=u,g=p(!1),r=U(),m=p(!1),y=h,v=async(o,s,b)=>{await r.assignClient(o,s,b,!1),y("refresh")},n=async o=>{await r.unassignClient(void 0,void 0,o),y("refresh")},t=p("");return(o,s)=>(l(),i("div",null,[g.value?(l(),i("div",Pe,s[8]||(s[8]=[e("div",{class:"p-3 placeholder-glow border-bottom"},[e("h6",{class:"placeholder w-100 rounded-3"}),e("div",{class:"placeholder w-100 rounded-3",style:{height:"400px"}})],-1)]))):(l(),i("div",ce,[e("div",ue,[e("div",me,[e("h6",be,[d(c,{t:"Assigned Peers"}),e("span",ge,[S(_(Object.keys(u.clientAssignedPeers).length)+" ",1),d(c,{t:Object.keys(u.clientAssignedPeers).length>1?"Configurations":"Configuration"},null,8,["t"])]),e("span",ve,[S(_(Object.values(u.clientAssignedPeers).flat().length)+" ",1),d(c,{t:Object.values(u.clientAssignedPeers).flat().length>1?"Peers":"Peer"},null,8,["t"])])]),e("button",{class:"btn btn-sm bg-primary-subtle text-primary-emphasis rounded-3 ms-auto",onClick:s[0]||(s[0]=b=>m.value=!m.value)},[m.value?(l(),i(C,{key:1},[s[5]||(s[5]=e("i",{class:"bi bi-check me-2"},null,-1)),s[6]||(s[6]=S("Done "))],64)):(l(),i(C,{key:0},[s[3]||(s[3]=e("i",{class:"bi bi-list-check me-2"},null,-1)),s[4]||(s[4]=S("Manage "))],64))])]),e("div",fe,[(l(!0),i(C,null,L(u.clientAssignedPeers,(b,x)=>(l(),w(B,{configuration:x,peers:b,onUnassign:s[1]||(s[1]=async P=>await n(P))},null,8,["configuration","peers"]))),256)),Object.keys(u.clientAssignedPeers).length===0?(l(),i("h6",pe,[d(c,{t:"No peer assigned to this client"})])):k("",!0)])]),m.value?(l(),i("div",he,[e("div",ye,[e("div",xe,[e("h6",_e,[d(c,{t:"Available Peers"})])]),e("div",ke,[(l(!0),i(C,null,L(I(r).allConfigurationsPeers,(b,x)=>(l(),w(B,{availablePeerSearchString:t.value,configuration:x,clientAssignedPeers:u.clientAssignedPeers,peers:b,key:x,onAssign:async P=>await v(x,P,a.client.ClientID)},null,8,["availablePeerSearchString","configuration","clientAssignedPeers","peers","onAssign"]))),128)),Object.keys(I(r).allConfigurationsPeers).length===0?(l(),i("h6",we,[d(c,{t:"No peer is available to assign"})])):k("",!0)]),e("div",Ce,[s[7]||(s[7]=e("label",{for:"availablePeerSearchString"},[e("i",{class:"bi bi-search me-2"})],-1)),G(e("input",{id:"availablePeerSearchString","onUpdate:modelValue":s[2]||(s[2]=b=>t.value=b),class:"form-control form-control-sm rounded-3 w-auto",type:"text"},null,512),[[E,t.value]])])])])):k("",!0)]))]))}}),$e={class:"p-3 d-flex gap-3 flex-column border-bottom"},De={class:"d-flex align-items-center"},Ae={class:"mb-0"},Ne=$({__name:"clientResetPassword",props:["client"],setup(u){const h=u,a=p(!1),g=p(!1),r=p(!1),m=p(!1),y=j();z();const v=t=>{const o=y.getActiveCrossServer();return o?new URL("/client/#/reset_password?token="+t,o.host).href:new URL("/client/#/reset_password?token="+t,window.location.href).href},n=async()=>{m.value=!0;let t=!1,o;await R("/api/clients/generatePasswordResetLink",{ClientID:h.client.ClientID},async s=>{if(s.status)if(o=s.data,g.value=!0,await T("/api/email/ready",{},b=>{t=b.status}),t){let b={Receiver:h.client.Email,Subject:"[WGDashboard | Client] Reset Password",Body:`Hi${h.client.Name?" "+h.client.Name:""}, We received a request to reset the password for your account. You can reset your password by visiting the link below: diff --git a/src/static/app/dist/assets/clientViewer-C3dxR3US.css b/src/static/dist/WGDashboardAdmin/assets/clientViewer-C3dxR3US.css similarity index 100% rename from src/static/app/dist/assets/clientViewer-C3dxR3US.css rename to src/static/dist/WGDashboardAdmin/assets/clientViewer-C3dxR3US.css diff --git a/src/static/app/dist/assets/clients-V1xPJ10c.js b/src/static/dist/WGDashboardAdmin/assets/clients-D5GlWsiu.js similarity index 96% rename from src/static/app/dist/assets/clients-V1xPJ10c.js rename to src/static/dist/WGDashboardAdmin/assets/clients-D5GlWsiu.js index a106f4ea..fd84553c 100644 --- a/src/static/app/dist/assets/clients-V1xPJ10c.js +++ b/src/static/dist/WGDashboardAdmin/assets/clients-D5GlWsiu.js @@ -1 +1 @@ -import{J as b,q as k,o as G,c as p,a as e,t as y,b as d,F as L,i as D,j as f,w as N,h as V,K as I,f as c,D as E,r as h,L as O,m as j,v as R,e as B,g as w,E as M,k as T,y as A,u as g,G as q,n as x,d as $,_ as F}from"./index-BiMgJckX.js";import{D as U}from"./DashboardClientAssignmentStore-hnc4wS2g.js";import{L as m}from"./localeText-IWgb3jjT.js";const J={class:"card rounded-0 border-0"},K={class:"card-header d-flex align-items-center rounded-0"},P={class:"my-2"},W={class:"badge text-bg-primary ms-auto"},H={class:"card-body p-0"},Q={class:"list-group list-group-flush clientList"},X={class:"text-body"},Y={class:"text-muted"},S=b({__name:"clientGroup",props:["groupName","clients","searchString"],setup(_){const i=_,r=k(()=>{const o=i.searchString.toLowerCase();return i.searchString?i.clients.filter(a=>a.ClientID&&a.ClientID.toLowerCase().includes(o)||a.Email&&a.Email.toLowerCase().includes(o)||a.Name&&a.Name.toLowerCase().includes(o)):i.clients});return I(),G(()=>{document.querySelector(".clientList .active")?.scrollIntoView()}),(o,a)=>{const n=V("RouterLink");return c(),p("div",J,[e("div",K,[e("h6",P,y(_.groupName),1),e("span",W,[d(m,{t:r.value.length+" Clients"},null,8,["t"])])]),e("div",H,[e("div",Q,[(c(!0),p(L,null,D(r.value,t=>(c(),f(n,{key:t.ClientID,id:"client_"+t.ClientID,"active-class":"active",to:{name:"Client Viewer",params:{id:t.ClientID}},class:"list-group-item d-flex flex-column border-bottom list-group-item-action client"},{default:N(()=>[e("small",X,y(t.Email),1),e("small",Y,y(t.Name?t.Name:"No Name"),1)]),_:2},1032,["id","to"]))),128))])])])}}}),Z={class:"d-flex flex-column gap-2"},ee={class:"d-flex align-items-center"},te={class:"mb-0"},se={class:"form-check form-switch ms-auto"},oe={class:"form-check-label",for:"oidc_switch"},ae=["disabled"],ne={class:"alert alert-dark rounded-3 mb-0"},ie=b({__name:"oidcSettings",props:["mode"],async setup(_){let i,r;const o=_,a=E(),n=h(!1),t=h(!1),C=async()=>{await w("/api/oidc/status",{mode:o.mode},s=>{n.value=s.data,t.value=!1})};[i,r]=O(()=>C()),await i,r();const v=async()=>{t.value=!0,await w("/api/oidc/toggle",{mode:o.mode},s=>{s.status||(n.value=!n.value,a.newMessage("Server",s.message,"danger")),t.value=!1})};return(s,l)=>(c(),p("div",Z,[e("div",ee,[e("h6",te,[d(m,{t:"OpenID Connect (OIDC)"})]),e("div",se,[e("label",oe,[d(m,{t:n.value?"Enabled":"Disabled"},null,8,["t"])]),j(e("input",{disabled:t.value,"onUpdate:modelValue":l[0]||(l[0]=u=>n.value=u),onChange:l[1]||(l[1]=u=>v()),class:"form-check-input",type:"checkbox",role:"switch",id:"oidc_switch"},null,40,ae),[[R,n.value]])])]),e("div",null,[e("div",ne,[d(m,{t:"Due to security reason, in order to edit OIDC configuration, you will need to edit "}),l[2]||(l[2]=e("code",null,"wg-dashboard-oidc-providers.json",-1)),l[3]||(l[3]=B()),d(m,{t:"directly, then restart WGDashboard to apply the latest settings."})])])]))}}),le={class:"position-absolute w-100 h-100 top-0 start-0 z-1 rounded-3 d-flex p-2",style:{"background-color":"#00000070","z-index":"9999"}},re={class:"card m-auto rounded-3",style:{width:"700px"}},ce={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},de={class:"mb-0"},ue={class:"card-body px-4"},me={class:"py-2"},_e=b({__name:"clientSettings",emits:["close"],setup(_,{emit:i}){const r=i,o=E();return h(!1),M({allow_local_sign_up:o.Configuration.Clients.allow_local_sign_up}),(a,n)=>(c(),p("div",le,[e("div",re,[e("div",ce,[e("h4",de,[d(m,{t:"Clients Settings"})]),e("button",{type:"button",class:"btn-close ms-auto",onClick:n[0]||(n[0]=t=>r("close"))})]),e("div",ue,[e("div",me,[d(ie,{mode:"Client"})])])])]))}}),pe={class:"text-body w-100 h-100 pb-2 position-relative"},ge={class:"w-100 h-100 card rounded-3"},he={class:"border-bottom z-0"},ve={class:"d-flex text-body align-items-center sticky-top p-3 bg-body-tertiary rounded-top-3",style:{"border-top-right-radius":"0 !important"}},fe=["placeholder"],be={class:"row h-100 g-0"},Ce={class:"d-flex flex-column overflow-y-scroll",style:{flex:"1 0 0"}},ye=b({__name:"clients",async setup(_){let i,r;const o=U();[i,r]=O(()=>o.getClients()),await i,r(),o.getAllConfigurationsPeers();const a=h(""),n=I(),t=h(!1),C=k(()=>Object.fromEntries(Object.entries(o.clients).filter(([v,s])=>Object.keys(o.clients).filter(l=>l!=="Local").includes(v))));return(v,s)=>{const l=V("RouterView");return c(),p("div",pe,[e("div",ge,[d(T,{name:"zoom"},{default:N(()=>[t.value?(c(),f(_e,{key:0,onClose:s[0]||(s[0]=u=>t.value=!1)})):$("",!0)]),_:1}),e("div",he,[e("div",ve,[s[4]||(s[4]=e("label",{for:"searchClient"},[e("i",{class:"bi bi-search me-2"})],-1)),j(e("input",{"onUpdate:modelValue":s[1]||(s[1]=u=>a.value=u),id:"searchClient",class:"form-control rounded-3 form-control-sm",placeholder:g(q)("Search Clients..."),type:"email",style:{width:"auto"}},null,8,fe),[[A,a.value]]),e("button",{class:"btn btn-body ms-auto bg-body-secondary rounded-3 btn-sm",onClick:s[2]||(s[2]=u=>t.value=!t.value)},[s[3]||(s[3]=e("i",{class:"bi bi-gear-fill me-2"},null,-1)),d(m,{t:"Settings"})])])]),e("div",be,[e("div",{class:x([{hide:g(n).params.id},"col-sm-4 border-end d-flex flex-column clientListContainer"])},[e("div",Ce,[Object.keys(g(o).clients).includes("Local")?(c(),f(S,{key:0,searchString:a.value,clients:g(o).clients.Local,groupName:"Local"},null,8,["searchString","clients"])):$("",!0),(c(!0),p(L,null,D(C.value,(u,z)=>(c(),f(S,{searchString:a.value,clients:u,groupName:z},null,8,["searchString","clients","groupName"]))),256))])],2),e("div",{class:x([{hide:!g(n).params.id},"col-sm-8 clientViewerContainer"])},[d(l)],2)])])])}}}),Se=F(ye,[["__scopeId","data-v-925d9c69"]]);export{Se as default}; +import{J as b,q as k,o as G,c as p,a as e,t as y,b as d,F as L,i as D,j as f,w as N,h as V,K as I,f as c,D as E,r as h,L as O,m as j,v as R,e as B,g as w,E as M,k as T,y as A,u as g,G as q,n as x,d as $,_ as F}from"./index-D5fbjBmH.js";import{D as U}from"./DashboardClientAssignmentStore-C45wUqOp.js";import{L as m}from"./localeText-BwlyH2uL.js";const J={class:"card rounded-0 border-0"},K={class:"card-header d-flex align-items-center rounded-0"},P={class:"my-2"},W={class:"badge text-bg-primary ms-auto"},H={class:"card-body p-0"},Q={class:"list-group list-group-flush clientList"},X={class:"text-body"},Y={class:"text-muted"},S=b({__name:"clientGroup",props:["groupName","clients","searchString"],setup(_){const i=_,r=k(()=>{const o=i.searchString.toLowerCase();return i.searchString?i.clients.filter(a=>a.ClientID&&a.ClientID.toLowerCase().includes(o)||a.Email&&a.Email.toLowerCase().includes(o)||a.Name&&a.Name.toLowerCase().includes(o)):i.clients});return I(),G(()=>{document.querySelector(".clientList .active")?.scrollIntoView()}),(o,a)=>{const n=V("RouterLink");return c(),p("div",J,[e("div",K,[e("h6",P,y(_.groupName),1),e("span",W,[d(m,{t:r.value.length+" Clients"},null,8,["t"])])]),e("div",H,[e("div",Q,[(c(!0),p(L,null,D(r.value,t=>(c(),f(n,{key:t.ClientID,id:"client_"+t.ClientID,"active-class":"active",to:{name:"Client Viewer",params:{id:t.ClientID}},class:"list-group-item d-flex flex-column border-bottom list-group-item-action client"},{default:N(()=>[e("small",X,y(t.Email),1),e("small",Y,y(t.Name?t.Name:"No Name"),1)]),_:2},1032,["id","to"]))),128))])])])}}}),Z={class:"d-flex flex-column gap-2"},ee={class:"d-flex align-items-center"},te={class:"mb-0"},se={class:"form-check form-switch ms-auto"},oe={class:"form-check-label",for:"oidc_switch"},ae=["disabled"],ne={class:"alert alert-dark rounded-3 mb-0"},ie=b({__name:"oidcSettings",props:["mode"],async setup(_){let i,r;const o=_,a=E(),n=h(!1),t=h(!1),C=async()=>{await w("/api/oidc/status",{mode:o.mode},s=>{n.value=s.data,t.value=!1})};[i,r]=O(()=>C()),await i,r();const v=async()=>{t.value=!0,await w("/api/oidc/toggle",{mode:o.mode},s=>{s.status||(n.value=!n.value,a.newMessage("Server",s.message,"danger")),t.value=!1})};return(s,l)=>(c(),p("div",Z,[e("div",ee,[e("h6",te,[d(m,{t:"OpenID Connect (OIDC)"})]),e("div",se,[e("label",oe,[d(m,{t:n.value?"Enabled":"Disabled"},null,8,["t"])]),j(e("input",{disabled:t.value,"onUpdate:modelValue":l[0]||(l[0]=u=>n.value=u),onChange:l[1]||(l[1]=u=>v()),class:"form-check-input",type:"checkbox",role:"switch",id:"oidc_switch"},null,40,ae),[[R,n.value]])])]),e("div",null,[e("div",ne,[d(m,{t:"Due to security reason, in order to edit OIDC configuration, you will need to edit "}),l[2]||(l[2]=e("code",null,"wg-dashboard-oidc-providers.json",-1)),l[3]||(l[3]=B()),d(m,{t:"directly, then restart WGDashboard to apply the latest settings."})])])]))}}),le={class:"position-absolute w-100 h-100 top-0 start-0 z-1 rounded-3 d-flex p-2",style:{"background-color":"#00000070","z-index":"9999"}},re={class:"card m-auto rounded-3",style:{width:"700px"}},ce={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},de={class:"mb-0"},ue={class:"card-body px-4"},me={class:"py-2"},_e=b({__name:"clientSettings",emits:["close"],setup(_,{emit:i}){const r=i,o=E();return h(!1),M({allow_local_sign_up:o.Configuration.Clients.allow_local_sign_up}),(a,n)=>(c(),p("div",le,[e("div",re,[e("div",ce,[e("h4",de,[d(m,{t:"Clients Settings"})]),e("button",{type:"button",class:"btn-close ms-auto",onClick:n[0]||(n[0]=t=>r("close"))})]),e("div",ue,[e("div",me,[d(ie,{mode:"Client"})])])])]))}}),pe={class:"text-body w-100 h-100 pb-2 position-relative"},ge={class:"w-100 h-100 card rounded-3"},he={class:"border-bottom z-0"},ve={class:"d-flex text-body align-items-center sticky-top p-3 bg-body-tertiary rounded-top-3",style:{"border-top-right-radius":"0 !important"}},fe=["placeholder"],be={class:"row h-100 g-0"},Ce={class:"d-flex flex-column overflow-y-scroll",style:{flex:"1 0 0"}},ye=b({__name:"clients",async setup(_){let i,r;const o=U();[i,r]=O(()=>o.getClients()),await i,r(),o.getAllConfigurationsPeers();const a=h(""),n=I(),t=h(!1),C=k(()=>Object.fromEntries(Object.entries(o.clients).filter(([v,s])=>Object.keys(o.clients).filter(l=>l!=="Local").includes(v))));return(v,s)=>{const l=V("RouterView");return c(),p("div",pe,[e("div",ge,[d(T,{name:"zoom"},{default:N(()=>[t.value?(c(),f(_e,{key:0,onClose:s[0]||(s[0]=u=>t.value=!1)})):$("",!0)]),_:1}),e("div",he,[e("div",ve,[s[4]||(s[4]=e("label",{for:"searchClient"},[e("i",{class:"bi bi-search me-2"})],-1)),j(e("input",{"onUpdate:modelValue":s[1]||(s[1]=u=>a.value=u),id:"searchClient",class:"form-control rounded-3 form-control-sm",placeholder:g(q)("Search Clients..."),type:"email",style:{width:"auto"}},null,8,fe),[[A,a.value]]),e("button",{class:"btn btn-body ms-auto bg-body-secondary rounded-3 btn-sm",onClick:s[2]||(s[2]=u=>t.value=!t.value)},[s[3]||(s[3]=e("i",{class:"bi bi-gear-fill me-2"},null,-1)),d(m,{t:"Settings"})])])]),e("div",be,[e("div",{class:x([{hide:g(n).params.id},"col-sm-4 border-end d-flex flex-column clientListContainer"])},[e("div",Ce,[Object.keys(g(o).clients).includes("Local")?(c(),f(S,{key:0,searchString:a.value,clients:g(o).clients.Local,groupName:"Local"},null,8,["searchString","clients"])):$("",!0),(c(!0),p(L,null,D(C.value,(u,z)=>(c(),f(S,{searchString:a.value,clients:u,groupName:z},null,8,["searchString","clients","groupName"]))),256))])],2),e("div",{class:x([{hide:!g(n).params.id},"col-sm-8 clientViewerContainer"])},[d(l)],2)])])])}}}),Se=F(ye,[["__scopeId","data-v-925d9c69"]]);export{Se as default}; diff --git a/src/static/app/dist/assets/clients-ElMsFHgd.css b/src/static/dist/WGDashboardAdmin/assets/clients-ElMsFHgd.css similarity index 100% rename from src/static/app/dist/assets/clients-ElMsFHgd.css rename to src/static/dist/WGDashboardAdmin/assets/clients-ElMsFHgd.css diff --git a/src/static/app/dist/assets/configuration-JnLtQ9-Q.js b/src/static/dist/WGDashboardAdmin/assets/configuration-Bg4JcEUk.js similarity index 86% rename from src/static/app/dist/assets/configuration-JnLtQ9-Q.js rename to src/static/dist/WGDashboardAdmin/assets/configuration-Bg4JcEUk.js index 93542296..f47d3114 100644 --- a/src/static/app/dist/assets/configuration-JnLtQ9-Q.js +++ b/src/static/dist/WGDashboardAdmin/assets/configuration-Bg4JcEUk.js @@ -1 +1 @@ -import{_ as r,c as i,b as o,w as e,k as l,j as a,l as _,S as u,h as d,f as t}from"./index-BiMgJckX.js";const m={name:"configuration"},f={class:"mt-md-5 mt-3 text-body"};function p(h,k,x,w,$,v){const n=d("RouterView");return t(),i("div",f,[o(n,null,{default:e(({Component:s,route:c})=>[o(l,{name:"fade2",mode:"out-in"},{default:e(()=>[(t(),a(u,null,{default:e(()=>[(t(),a(_(s),{key:c.path,class:"z-1"}))]),_:2},1024))]),_:2},1024)]),_:1})])}const B=r(m,[["render",p]]);export{B as default}; +import{_ as r,c as i,b as o,w as e,k as l,j as a,l as _,S as u,h as d,f as t}from"./index-D5fbjBmH.js";const m={name:"configuration"},f={class:"mt-md-5 mt-3 text-body"};function p(h,k,x,w,$,v){const n=d("RouterView");return t(),i("div",f,[o(n,null,{default:e(({Component:s,route:c})=>[o(l,{name:"fade2",mode:"out-in"},{default:e(()=>[(t(),a(u,null,{default:e(()=>[(t(),a(_(s),{key:c.path,class:"z-1"}))]),_:2},1024))]),_:2},1024)]),_:1})])}const B=r(m,[["render",p]]);export{B as default}; diff --git a/src/static/app/dist/assets/configurationList-CJIe6SIO.js b/src/static/dist/WGDashboardAdmin/assets/configurationList-BIXsH2AA.js similarity index 98% rename from src/static/app/dist/assets/configurationList-CJIe6SIO.js rename to src/static/dist/WGDashboardAdmin/assets/configurationList-BIXsH2AA.js index 733f3166..92ad4ff9 100644 --- a/src/static/app/dist/assets/configurationList-CJIe6SIO.js +++ b/src/static/dist/WGDashboardAdmin/assets/configurationList-BIXsH2AA.js @@ -1 +1 @@ -import{_ as D,g as B,D as N,c as i,a as t,b as r,w as x,h as y,n as m,e as p,t as u,m as U,j as b,d as h,v as I,f as o,p as K,q as G,r as R,s as C,k as V,o as O,x as W,F as w,i as k,T as q,G as L,W as F,y as z}from"./index-BiMgJckX.js";import{L as S}from"./localeText-IWgb3jjT.js";import{_ as j}from"./protocolBadge-CIPV5pRM.js";import{C as E}from"./storageMount.vue_vue_type_style_index_0_scoped_9509d7a0_lang-W5WxuFyn.js";const T={name:"configurationCard",components:{ProtocolBadge:j,LocaleText:S},props:{c:{Name:String,Status:Boolean,PublicKey:String,PrivateKey:String},delay:String,display:String},data(){return{configurationToggling:!1}},setup(){return{dashboardConfigurationStore:N()}},methods:{toggle(){this.configurationToggling=!0,B("/api/toggleWireguardConfiguration",{configurationName:this.c.Name},a=>{a.status?this.dashboardConfigurationStore.newMessage("Server",`${this.c.Name} ${a.data?"is on":"is off"}`):this.dashboardConfigurationStore.newMessage("Server",a.message,"danger"),this.c.Status=a.data,this.configurationToggling=!1})}}},P=()=>{K(a=>({"0d365bfc":a.delay}))},M=T.setup;T.setup=M?(a,s)=>(P(),M(a,s)):P;const H={class:"card conf_card rounded-3 shadow text-decoration-none"},Y={class:"mb-0"},A={class:"card-title mb-0 d-flex align-items-center gap-2"},J={key:0},Q={class:"badge text-bg-info rounded-3 shadow"},X={class:"card-footer d-flex gap-2 flex-column"},Z={class:"row"},tt={class:"d-flex gap-2 align-items-center"},et={class:"text-muted"},st={class:"mb-0 d-block d-lg-inline-block"},ot={style:{"line-break":"anywhere"}},at={class:"form-check form-switch ms-auto"},nt=["for"],it={key:4,class:"spinner-border spinner-border-sm ms-2","aria-hidden":"true"},rt=["disabled","id"];function lt(a,s,e,f,n,g){const d=y("ProtocolBadge"),l=y("RouterLink"),c=y("LocaleText");return o(),i("div",{class:m(["col-12",{"col-lg-6 col-xl-4":this.display==="Grid"}])},[t("div",H,[r(l,{to:"/configuration/"+e.c.Name+"/peers",class:"card-body d-flex align-items-center gap-3 flex-wrap text-decoration-none"},{default:x(()=>[t("h6",Y,[t("span",{class:m(["dot",{active:e.c.Status}])},null,2)]),t("h6",A,[t("samp",null,u(e.c.Name),1),t("small",null,[r(d,{protocol:e.c.Protocol,mini:!0},null,8,["protocol"])]),e.c.Info.Description?(o(),i("small",J,[t("span",Q,[s[2]||(s[2]=t("i",{class:"bi bi-pencil-fill me-2"},null,-1)),p(" "+u(e.c.Info.Description),1)])])):h("",!0)]),s[3]||(s[3]=t("h6",{class:"mb-0 ms-auto"},[t("i",{class:"bi bi-chevron-right"})],-1))]),_:1,__:[3]},8,["to"]),t("div",X,[t("div",Z,[t("small",{class:m(["col-6",{"col-md-3":this.display==="List"}])},[s[4]||(s[4]=t("i",{class:"bi bi-arrow-down-up me-2"},null,-1)),p(u(e.c.DataUsage.Total>0?e.c.DataUsage.Total.toFixed(4):0)+" GB ",1)],2),t("small",{class:m(["text-primary-emphasis col-6",{"col-md-3":this.display==="List"}])},[s[5]||(s[5]=t("i",{class:"bi bi-arrow-down me-2"},null,-1)),p(u(e.c.DataUsage.Receive>0?e.c.DataUsage.Receive.toFixed(4):0)+" GB ",1)],2),t("small",{class:m(["text-success-emphasis col-6",{"col-md-3":this.display==="List"}])},[s[6]||(s[6]=t("i",{class:"bi bi-arrow-up me-2"},null,-1)),p(u(e.c.DataUsage.Sent>0?e.c.DataUsage.Sent.toFixed(4):0)+" GB ",1)],2),t("small",{class:m(["col-6",{"col-md-3 text-md-end ":this.display==="List"}])},[t("span",{class:m(["dot me-2",{active:e.c.ConnectedPeers>0}])},null,2),p(" "+u(e.c.ConnectedPeers)+" / "+u(e.c.TotalPeers)+" ",1),r(c,{t:"Peers"})],2)]),t("div",{class:m(["d-flex gap-2",[this.display==="Grid"?"flex-column":"gap-lg-3 flex-column flex-lg-row"]])},[t("div",tt,[t("small",et,[t("strong",null,[r(c,{t:"Public Key"})])]),t("small",st,[t("samp",ot,u(e.c.PublicKey),1)])]),t("div",at,[t("label",{class:"form-check-label",style:{cursor:"pointer"},for:"switch"+e.c.PrivateKey},[!e.c.Status&&this.configurationToggling?(o(),b(c,{key:0,t:"Turning Off..."})):e.c.Status&&this.configurationToggling?(o(),b(c,{key:1,t:"Turning On..."})):e.c.Status&&!this.configurationToggling?(o(),b(c,{key:2,t:"On"})):!e.c.Status&&!this.configurationToggling?(o(),b(c,{key:3,t:"Off"})):h("",!0),this.configurationToggling?(o(),i("span",it)):h("",!0)],8,nt),U(t("input",{class:"form-check-input",style:{cursor:"pointer"},disabled:this.configurationToggling,type:"checkbox",role:"switch",id:"switch"+e.c.PrivateKey,onChange:s[0]||(s[0]=$=>this.toggle()),"onUpdate:modelValue":s[1]||(s[1]=$=>e.c.Status=$)},null,40,rt),[[I,e.c.Status]])])],2)])])],2)}const dt=D(T,[["render",lt],["__scopeId","data-v-9f596f5e"]]),ct={class:"text-muted me-2"},ut={class:"fw-bold"},mt={__name:"storageMount",props:{mount:Object,align:Boolean,square:Boolean},setup(a){K(n=>({"2dc8ab7e":f.value}));const s=a,e=R(!1),f=G(()=>s.square?"40px":"25px");return(n,g)=>(o(),i("div",{class:"flex-grow-1 square rounded-3 border position-relative",onMouseenter:g[0]||(g[0]=d=>e.value=!0),onMouseleave:g[1]||(g[1]=d=>e.value=!1),style:C({"background-color":`rgb(25 135 84 / ${a.mount.percent}%)`})},[r(V,{name:"zoomReversed"},{default:x(()=>[e.value?(o(),i("div",{key:0,style:C([{"white-space":"nowrap"},{top:f.value}]),class:m(["floatingLabel z-3 border position-absolute d-block p-1 px-2 bg-body text-body rounded-3 border shadow d-flex",[a.align?"end-0":"start-0"]])},[t("small",ct,[t("samp",null,u(a.mount.mountPoint),1)]),t("small",ut,u(a.mount.percent)+"% ",1)],6)):h("",!0)]),_:1})],36))}},gt=D(mt,[["__scopeId","data-v-9509d7a0"]]),_t={class:"row text-body g-3 mb-5"},ft={class:"col-md-6 col-sm-12 col-xl-3"},ht={class:"d-flex align-items-center"},pt={class:"text-muted"},yt={class:"ms-auto"},bt={key:0},vt={key:1,class:"spinner-border spinner-border-sm"},xt={class:"progress",role:"progressbar",style:{height:"6px"}},St={class:"d-flex mt-2 gap-1"},Ct={class:"col-md-6 col-sm-12 col-xl-3"},wt={class:"d-flex align-items-center"},kt={class:"text-muted"},$t={class:"ms-auto"},Dt={key:0},Lt={key:1,class:"spinner-border spinner-border-sm"},Tt={class:"progress",role:"progressbar",style:{height:"6px"}},Pt={class:"d-flex mt-2 gap-1"},Mt={class:"col-md-6 col-sm-12 col-xl-3"},Bt={class:"d-flex align-items-center"},Nt={class:"text-muted"},Ut={class:"ms-auto"},Kt={key:0},Gt={key:1,class:"spinner-border spinner-border-sm"},Vt={class:"progress",role:"progressbar",style:{height:"6px"}},It={class:"col-md-6 col-sm-12 col-xl-3"},Rt={class:"d-flex align-items-center"},Ot={class:"text-muted"},Wt={class:"ms-auto"},qt={key:0},Ft={key:1,class:"spinner-border spinner-border-sm"},zt={__name:"systemStatusWidget",setup(a){const s=N();let e=null;O(()=>{f(),e=setInterval(()=>{f()},5e3)}),W(()=>{clearInterval(e)});const f=()=>{B("/api/systemStatus",{},g=>{s.SystemStatus=g.data})},n=G(()=>s.SystemStatus);return(g,d)=>(o(),i("div",_t,[t("div",ft,[t("div",ht,[t("h6",pt,[d[0]||(d[0]=t("i",{class:"bi bi-cpu-fill me-2"},null,-1)),r(S,{t:"CPU"})]),t("h6",yt,[n.value?(o(),i("span",bt,u(n.value.CPU.cpu_percent)+"% ",1)):(o(),i("span",vt))])]),t("div",xt,[t("div",{class:"progress-bar",style:C({width:`${n.value?.CPU.cpu_percent}%`})},null,4)]),t("div",St,[(o(!0),i(w,null,k(n.value?.CPU.cpu_percent_per_cpu,(l,c)=>(o(),b(E,{key:c,align:c+1>Math.round(n.value?.CPU.cpu_percent_per_cpu.length/2),core_number:c,percentage:l},null,8,["align","core_number","percentage"]))),128))])]),t("div",Ct,[t("div",wt,[t("h6",kt,[d[1]||(d[1]=t("i",{class:"bi bi-device-ssd-fill me-2"},null,-1)),r(S,{t:"Storage"})]),t("h6",$t,[n.value?(o(),i("span",Dt,u(n.value.Disks.find(l=>l.mountPoint==="/")?n.value?.Disks.find(l=>l.mountPoint==="/").percent:n.value?.Disks[0].percent)+"% ",1)):(o(),i("span",Lt))])]),t("div",Tt,[t("div",{class:"progress-bar bg-success",style:C({width:`${n.value?.Disks.find(l=>l.mountPoint==="/").percent}%`})},null,4)]),t("div",Pt,[n.value?(o(!0),i(w,{key:0},k(n.value?.Disks,(l,c)=>(o(),b(gt,{key:l.mountPoint,align:c+1>Math.round(n.value?.Disks.length/2),mount:l},null,8,["align","mount"]))),128)):h("",!0)])]),t("div",Mt,[t("div",Bt,[t("h6",Nt,[d[2]||(d[2]=t("i",{class:"bi bi-memory me-2"},null,-1)),r(S,{t:"Memory"})]),t("h6",Ut,[n.value?(o(),i("span",Kt,u(n.value?.Memory.VirtualMemory.percent)+"% ",1)):(o(),i("span",Gt))])]),t("div",Vt,[t("div",{class:"progress-bar bg-info",style:C({width:`${n.value?.Memory.VirtualMemory.percent}%`})},null,4)])]),t("div",It,[t("div",Rt,[t("h6",Ot,[d[3]||(d[3]=t("i",{class:"bi bi-memory me-2"},null,-1)),r(S,{t:"Swap Memory"})]),t("h6",Wt,[n.value?(o(),i("span",qt,u(n.value?.Memory.SwapMemory.percent)+"% ",1)):(o(),i("span",Ft))])]),d[4]||(d[4]=t("div",{class:"progress",role:"progressbar",style:{height:"6px"}},[t("div",{class:"progress-bar bg-warning",style:{width:"$ data?.Memory.SwapMemory.percent}%"}})],-1))])]))}},jt=D(zt,[["__scopeId","data-v-c20f1a80"]]),Et={name:"configurationList",components:{SystemStatus:jt,LocaleText:S,ConfigurationCard:dt},async setup(){return{wireguardConfigurationsStore:F()}},data(){return{configurationLoaded:!1,sort:{Name:L("Name"),Status:L("Status"),"DataUsage.Total":L("Total Usage")},currentSort:{key:"Name",order:"asc"},currentDisplay:"List",searchKey:""}},computed:{configurations(){return this.wireguardConfigurationsStore.sortConfigurations.filter(a=>a.Name.toLowerCase().includes(this.searchKey)||a.PublicKey.includes(this.searchKey)||!this.searchKey)}},methods:{dotNotation(a,s){let e=s.split(".").reduce((f,n)=>f&&f[n],a);return typeof e=="string"?e.toLowerCase():e},updateSort(a){this.wireguardConfigurationsStore.CurrentSort.key===a?this.wireguardConfigurationsStore.CurrentSort.order=this.wireguardConfigurationsStore.CurrentSort.order==="asc"?"desc":"asc":this.wireguardConfigurationsStore.CurrentSort.key=a},updateDisplay(a){this.wireguardConfigurationsStore.CurrentDisplay!==a&&(this.wireguardConfigurationsStore.CurrentDisplay=a)}}},Ht={class:"mt-md-5 mt-3"},Yt={class:"container-fluid"},At={class:"d-flex mb-4 configurationListTitle align-items-md-center gap-2 flex-column flex-md-row"},Jt={class:"text-body d-flex mb-0"},Qt={key:0,class:"text-body filter mb-3 d-flex gap-2 flex-column flex-md-row"},Xt={class:"d-flex align-items-center gap-3 align-items-center mb-3 mb-md-0"},Zt={class:"text-muted"},te={class:"d-flex ms-auto ms-lg-0"},ee=["onClick"],se={class:"align-items-center gap-3 align-items-center mb-3 mb-md-0 d-none d-lg-flex"},oe={class:"text-muted"},ae={class:"d-flex ms-auto ms-lg-0"},ne=["onClick"],ie={class:"d-flex align-items-center ms-md-auto"},re={class:"row g-3 mb-2"},le={class:"text-muted col-12",key:"noConfiguration"};function de(a,s,e,f,n,g){const d=y("SystemStatus"),l=y("LocaleText"),c=y("RouterLink"),$=y("ConfigurationCard");return o(),i("div",Ht,[t("div",Yt,[r(d),t("div",At,[t("h2",Jt,[r(l,{t:"WireGuard Configurations"})]),r(c,{to:"/new_configuration",class:"ms-md-auto py-2 text-decoration-none btn text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle"},{default:x(()=>[s[1]||(s[1]=t("i",{class:"bi bi-plus-circle me-2"},null,-1)),r(l,{t:"Configuration"})]),_:1,__:[1]}),r(c,{to:"/restore_configuration",class:"py-2 text-decoration-none btn text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle"},{default:x(()=>[s[2]||(s[2]=t("i",{class:"bi bi-clock-history me-2"},null,-1)),r(l,{t:"Restore"})]),_:1,__:[2]})]),r(V,{name:"fade"},{default:x(()=>[this.wireguardConfigurationsStore.ConfigurationLoaded?(o(),i("div",Qt,[t("div",Xt,[t("small",Zt,[r(l,{t:"Sort By"})]),t("div",te,[(o(!0),i(w,null,k(this.wireguardConfigurationsStore.SortOptions,(_,v)=>(o(),i("a",{role:"button",onClick:ce=>g.updateSort(v),class:m([{"bg-primary-subtle text-primary-emphasis":this.wireguardConfigurationsStore.CurrentSort.key===v},"px-2 py-1 rounded-3"])},[t("small",null,[this.wireguardConfigurationsStore.CurrentSort.key===v?(o(),i("i",{key:0,class:m(["bi me-2",[this.wireguardConfigurationsStore.CurrentSort.order==="asc"?"bi-sort-up":"bi-sort-down"]])},null,2)):h("",!0),p(u(_),1)])],10,ee))),256))])]),t("div",se,[t("small",oe,[r(l,{t:"Display as"})]),t("div",ae,[(o(),i(w,null,k([{name:"List",key:"list"},{name:"Grid",key:"grid"}],_=>t("a",{role:"button",onClick:v=>g.updateDisplay(_.name),class:m([{"bg-primary-subtle text-primary-emphasis":this.wireguardConfigurationsStore.CurrentDisplay===_.name},"px-2 py-1 rounded-3"])},[t("small",null,[t("i",{class:m(["bi me-2","bi-"+_.key])},null,2),s[3]||(s[3]=p()),r(l,{t:_.name},null,8,["t"])])],10,ne)),64))])]),t("div",ie,[s[4]||(s[4]=t("label",{for:"configurationSearch",class:"text-muted"},[t("i",{class:"bi bi-search me-2"})],-1)),U(t("input",{class:"form-control form-control-sm rounded-3","onUpdate:modelValue":s[0]||(s[0]=_=>this.searchKey=_),id:"configurationSearch"},null,512),[[z,this.searchKey]])])])):h("",!0)]),_:1}),t("div",re,[r(q,{name:"fade"},{default:x(()=>[this.wireguardConfigurationsStore.ConfigurationLoaded&&this.wireguardConfigurationsStore.Configurations.length===0?(o(),i("p",le,[r(l,{t:"You don't have any WireGuard configurations yet. Please check the configuration folder or change it in Settings. By default the folder is /etc/wireguard."})])):this.wireguardConfigurationsStore.ConfigurationLoaded?(o(!0),i(w,{key:1},k(g.configurations,(_,v)=>(o(),b($,{display:this.wireguardConfigurationsStore.CurrentDisplay,delay:v*.03+"s",key:_.Name,c:_},null,8,["display","delay","c"]))),128)):h("",!0)]),_:1})])])])}const fe=D(Et,[["render",de],["__scopeId","data-v-e551c21d"]]);export{fe as default}; +import{_ as D,g as B,D as N,c as i,a as t,b as r,w as x,h as y,n as m,e as p,t as u,m as U,j as b,d as h,v as I,f as o,p as K,q as G,r as R,s as C,k as V,o as O,x as W,F as w,i as k,T as q,G as L,W as F,y as z}from"./index-D5fbjBmH.js";import{L as S}from"./localeText-BwlyH2uL.js";import{_ as j}from"./protocolBadge-BVQE6rMK.js";import{C as E}from"./storageMount.vue_vue_type_style_index_0_scoped_9509d7a0_lang-KDIKOXhL.js";const T={name:"configurationCard",components:{ProtocolBadge:j,LocaleText:S},props:{c:{Name:String,Status:Boolean,PublicKey:String,PrivateKey:String},delay:String,display:String},data(){return{configurationToggling:!1}},setup(){return{dashboardConfigurationStore:N()}},methods:{toggle(){this.configurationToggling=!0,B("/api/toggleWireguardConfiguration",{configurationName:this.c.Name},a=>{a.status?this.dashboardConfigurationStore.newMessage("Server",`${this.c.Name} ${a.data?"is on":"is off"}`):this.dashboardConfigurationStore.newMessage("Server",a.message,"danger"),this.c.Status=a.data,this.configurationToggling=!1})}}},P=()=>{K(a=>({"0d365bfc":a.delay}))},M=T.setup;T.setup=M?(a,s)=>(P(),M(a,s)):P;const H={class:"card conf_card rounded-3 shadow text-decoration-none"},Y={class:"mb-0"},A={class:"card-title mb-0 d-flex align-items-center gap-2"},J={key:0},Q={class:"badge text-bg-info rounded-3 shadow"},X={class:"card-footer d-flex gap-2 flex-column"},Z={class:"row"},tt={class:"d-flex gap-2 align-items-center"},et={class:"text-muted"},st={class:"mb-0 d-block d-lg-inline-block"},ot={style:{"line-break":"anywhere"}},at={class:"form-check form-switch ms-auto"},nt=["for"],it={key:4,class:"spinner-border spinner-border-sm ms-2","aria-hidden":"true"},rt=["disabled","id"];function lt(a,s,e,f,n,g){const d=y("ProtocolBadge"),l=y("RouterLink"),c=y("LocaleText");return o(),i("div",{class:m(["col-12",{"col-lg-6 col-xl-4":this.display==="Grid"}])},[t("div",H,[r(l,{to:"/configuration/"+e.c.Name+"/peers",class:"card-body d-flex align-items-center gap-3 flex-wrap text-decoration-none"},{default:x(()=>[t("h6",Y,[t("span",{class:m(["dot",{active:e.c.Status}])},null,2)]),t("h6",A,[t("samp",null,u(e.c.Name),1),t("small",null,[r(d,{protocol:e.c.Protocol,mini:!0},null,8,["protocol"])]),e.c.Info.Description?(o(),i("small",J,[t("span",Q,[s[2]||(s[2]=t("i",{class:"bi bi-pencil-fill me-2"},null,-1)),p(" "+u(e.c.Info.Description),1)])])):h("",!0)]),s[3]||(s[3]=t("h6",{class:"mb-0 ms-auto"},[t("i",{class:"bi bi-chevron-right"})],-1))]),_:1,__:[3]},8,["to"]),t("div",X,[t("div",Z,[t("small",{class:m(["col-6",{"col-md-3":this.display==="List"}])},[s[4]||(s[4]=t("i",{class:"bi bi-arrow-down-up me-2"},null,-1)),p(u(e.c.DataUsage.Total>0?e.c.DataUsage.Total.toFixed(4):0)+" GB ",1)],2),t("small",{class:m(["text-primary-emphasis col-6",{"col-md-3":this.display==="List"}])},[s[5]||(s[5]=t("i",{class:"bi bi-arrow-down me-2"},null,-1)),p(u(e.c.DataUsage.Receive>0?e.c.DataUsage.Receive.toFixed(4):0)+" GB ",1)],2),t("small",{class:m(["text-success-emphasis col-6",{"col-md-3":this.display==="List"}])},[s[6]||(s[6]=t("i",{class:"bi bi-arrow-up me-2"},null,-1)),p(u(e.c.DataUsage.Sent>0?e.c.DataUsage.Sent.toFixed(4):0)+" GB ",1)],2),t("small",{class:m(["col-6",{"col-md-3 text-md-end ":this.display==="List"}])},[t("span",{class:m(["dot me-2",{active:e.c.ConnectedPeers>0}])},null,2),p(" "+u(e.c.ConnectedPeers)+" / "+u(e.c.TotalPeers)+" ",1),r(c,{t:"Peers"})],2)]),t("div",{class:m(["d-flex gap-2",[this.display==="Grid"?"flex-column":"gap-lg-3 flex-column flex-lg-row"]])},[t("div",tt,[t("small",et,[t("strong",null,[r(c,{t:"Public Key"})])]),t("small",st,[t("samp",ot,u(e.c.PublicKey),1)])]),t("div",at,[t("label",{class:"form-check-label",style:{cursor:"pointer"},for:"switch"+e.c.PrivateKey},[!e.c.Status&&this.configurationToggling?(o(),b(c,{key:0,t:"Turning Off..."})):e.c.Status&&this.configurationToggling?(o(),b(c,{key:1,t:"Turning On..."})):e.c.Status&&!this.configurationToggling?(o(),b(c,{key:2,t:"On"})):!e.c.Status&&!this.configurationToggling?(o(),b(c,{key:3,t:"Off"})):h("",!0),this.configurationToggling?(o(),i("span",it)):h("",!0)],8,nt),U(t("input",{class:"form-check-input",style:{cursor:"pointer"},disabled:this.configurationToggling,type:"checkbox",role:"switch",id:"switch"+e.c.PrivateKey,onChange:s[0]||(s[0]=$=>this.toggle()),"onUpdate:modelValue":s[1]||(s[1]=$=>e.c.Status=$)},null,40,rt),[[I,e.c.Status]])])],2)])])],2)}const dt=D(T,[["render",lt],["__scopeId","data-v-9f596f5e"]]),ct={class:"text-muted me-2"},ut={class:"fw-bold"},mt={__name:"storageMount",props:{mount:Object,align:Boolean,square:Boolean},setup(a){K(n=>({"2dc8ab7e":f.value}));const s=a,e=R(!1),f=G(()=>s.square?"40px":"25px");return(n,g)=>(o(),i("div",{class:"flex-grow-1 square rounded-3 border position-relative",onMouseenter:g[0]||(g[0]=d=>e.value=!0),onMouseleave:g[1]||(g[1]=d=>e.value=!1),style:C({"background-color":`rgb(25 135 84 / ${a.mount.percent}%)`})},[r(V,{name:"zoomReversed"},{default:x(()=>[e.value?(o(),i("div",{key:0,style:C([{"white-space":"nowrap"},{top:f.value}]),class:m(["floatingLabel z-3 border position-absolute d-block p-1 px-2 bg-body text-body rounded-3 border shadow d-flex",[a.align?"end-0":"start-0"]])},[t("small",ct,[t("samp",null,u(a.mount.mountPoint),1)]),t("small",ut,u(a.mount.percent)+"% ",1)],6)):h("",!0)]),_:1})],36))}},gt=D(mt,[["__scopeId","data-v-9509d7a0"]]),_t={class:"row text-body g-3 mb-5"},ft={class:"col-md-6 col-sm-12 col-xl-3"},ht={class:"d-flex align-items-center"},pt={class:"text-muted"},yt={class:"ms-auto"},bt={key:0},vt={key:1,class:"spinner-border spinner-border-sm"},xt={class:"progress",role:"progressbar",style:{height:"6px"}},St={class:"d-flex mt-2 gap-1"},Ct={class:"col-md-6 col-sm-12 col-xl-3"},wt={class:"d-flex align-items-center"},kt={class:"text-muted"},$t={class:"ms-auto"},Dt={key:0},Lt={key:1,class:"spinner-border spinner-border-sm"},Tt={class:"progress",role:"progressbar",style:{height:"6px"}},Pt={class:"d-flex mt-2 gap-1"},Mt={class:"col-md-6 col-sm-12 col-xl-3"},Bt={class:"d-flex align-items-center"},Nt={class:"text-muted"},Ut={class:"ms-auto"},Kt={key:0},Gt={key:1,class:"spinner-border spinner-border-sm"},Vt={class:"progress",role:"progressbar",style:{height:"6px"}},It={class:"col-md-6 col-sm-12 col-xl-3"},Rt={class:"d-flex align-items-center"},Ot={class:"text-muted"},Wt={class:"ms-auto"},qt={key:0},Ft={key:1,class:"spinner-border spinner-border-sm"},zt={__name:"systemStatusWidget",setup(a){const s=N();let e=null;O(()=>{f(),e=setInterval(()=>{f()},5e3)}),W(()=>{clearInterval(e)});const f=()=>{B("/api/systemStatus",{},g=>{s.SystemStatus=g.data})},n=G(()=>s.SystemStatus);return(g,d)=>(o(),i("div",_t,[t("div",ft,[t("div",ht,[t("h6",pt,[d[0]||(d[0]=t("i",{class:"bi bi-cpu-fill me-2"},null,-1)),r(S,{t:"CPU"})]),t("h6",yt,[n.value?(o(),i("span",bt,u(n.value.CPU.cpu_percent)+"% ",1)):(o(),i("span",vt))])]),t("div",xt,[t("div",{class:"progress-bar",style:C({width:`${n.value?.CPU.cpu_percent}%`})},null,4)]),t("div",St,[(o(!0),i(w,null,k(n.value?.CPU.cpu_percent_per_cpu,(l,c)=>(o(),b(E,{key:c,align:c+1>Math.round(n.value?.CPU.cpu_percent_per_cpu.length/2),core_number:c,percentage:l},null,8,["align","core_number","percentage"]))),128))])]),t("div",Ct,[t("div",wt,[t("h6",kt,[d[1]||(d[1]=t("i",{class:"bi bi-device-ssd-fill me-2"},null,-1)),r(S,{t:"Storage"})]),t("h6",$t,[n.value?(o(),i("span",Dt,u(n.value.Disks.find(l=>l.mountPoint==="/")?n.value?.Disks.find(l=>l.mountPoint==="/").percent:n.value?.Disks[0].percent)+"% ",1)):(o(),i("span",Lt))])]),t("div",Tt,[t("div",{class:"progress-bar bg-success",style:C({width:`${n.value?.Disks.find(l=>l.mountPoint==="/").percent}%`})},null,4)]),t("div",Pt,[n.value?(o(!0),i(w,{key:0},k(n.value?.Disks,(l,c)=>(o(),b(gt,{key:l.mountPoint,align:c+1>Math.round(n.value?.Disks.length/2),mount:l},null,8,["align","mount"]))),128)):h("",!0)])]),t("div",Mt,[t("div",Bt,[t("h6",Nt,[d[2]||(d[2]=t("i",{class:"bi bi-memory me-2"},null,-1)),r(S,{t:"Memory"})]),t("h6",Ut,[n.value?(o(),i("span",Kt,u(n.value?.Memory.VirtualMemory.percent)+"% ",1)):(o(),i("span",Gt))])]),t("div",Vt,[t("div",{class:"progress-bar bg-info",style:C({width:`${n.value?.Memory.VirtualMemory.percent}%`})},null,4)])]),t("div",It,[t("div",Rt,[t("h6",Ot,[d[3]||(d[3]=t("i",{class:"bi bi-memory me-2"},null,-1)),r(S,{t:"Swap Memory"})]),t("h6",Wt,[n.value?(o(),i("span",qt,u(n.value?.Memory.SwapMemory.percent)+"% ",1)):(o(),i("span",Ft))])]),d[4]||(d[4]=t("div",{class:"progress",role:"progressbar",style:{height:"6px"}},[t("div",{class:"progress-bar bg-warning",style:{width:"$ data?.Memory.SwapMemory.percent}%"}})],-1))])]))}},jt=D(zt,[["__scopeId","data-v-c20f1a80"]]),Et={name:"configurationList",components:{SystemStatus:jt,LocaleText:S,ConfigurationCard:dt},async setup(){return{wireguardConfigurationsStore:F()}},data(){return{configurationLoaded:!1,sort:{Name:L("Name"),Status:L("Status"),"DataUsage.Total":L("Total Usage")},currentSort:{key:"Name",order:"asc"},currentDisplay:"List",searchKey:""}},computed:{configurations(){return this.wireguardConfigurationsStore.sortConfigurations.filter(a=>a.Name.toLowerCase().includes(this.searchKey)||a.PublicKey.includes(this.searchKey)||!this.searchKey)}},methods:{dotNotation(a,s){let e=s.split(".").reduce((f,n)=>f&&f[n],a);return typeof e=="string"?e.toLowerCase():e},updateSort(a){this.wireguardConfigurationsStore.CurrentSort.key===a?this.wireguardConfigurationsStore.CurrentSort.order=this.wireguardConfigurationsStore.CurrentSort.order==="asc"?"desc":"asc":this.wireguardConfigurationsStore.CurrentSort.key=a},updateDisplay(a){this.wireguardConfigurationsStore.CurrentDisplay!==a&&(this.wireguardConfigurationsStore.CurrentDisplay=a)}}},Ht={class:"mt-md-5 mt-3"},Yt={class:"container-fluid"},At={class:"d-flex mb-4 configurationListTitle align-items-md-center gap-2 flex-column flex-md-row"},Jt={class:"text-body d-flex mb-0"},Qt={key:0,class:"text-body filter mb-3 d-flex gap-2 flex-column flex-md-row"},Xt={class:"d-flex align-items-center gap-3 align-items-center mb-3 mb-md-0"},Zt={class:"text-muted"},te={class:"d-flex ms-auto ms-lg-0"},ee=["onClick"],se={class:"align-items-center gap-3 align-items-center mb-3 mb-md-0 d-none d-lg-flex"},oe={class:"text-muted"},ae={class:"d-flex ms-auto ms-lg-0"},ne=["onClick"],ie={class:"d-flex align-items-center ms-md-auto"},re={class:"row g-3 mb-2"},le={class:"text-muted col-12",key:"noConfiguration"};function de(a,s,e,f,n,g){const d=y("SystemStatus"),l=y("LocaleText"),c=y("RouterLink"),$=y("ConfigurationCard");return o(),i("div",Ht,[t("div",Yt,[r(d),t("div",At,[t("h2",Jt,[r(l,{t:"WireGuard Configurations"})]),r(c,{to:"/new_configuration",class:"ms-md-auto py-2 text-decoration-none btn text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle"},{default:x(()=>[s[1]||(s[1]=t("i",{class:"bi bi-plus-circle me-2"},null,-1)),r(l,{t:"Configuration"})]),_:1,__:[1]}),r(c,{to:"/restore_configuration",class:"py-2 text-decoration-none btn text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle"},{default:x(()=>[s[2]||(s[2]=t("i",{class:"bi bi-clock-history me-2"},null,-1)),r(l,{t:"Restore"})]),_:1,__:[2]})]),r(V,{name:"fade"},{default:x(()=>[this.wireguardConfigurationsStore.ConfigurationLoaded?(o(),i("div",Qt,[t("div",Xt,[t("small",Zt,[r(l,{t:"Sort By"})]),t("div",te,[(o(!0),i(w,null,k(this.wireguardConfigurationsStore.SortOptions,(_,v)=>(o(),i("a",{role:"button",onClick:ce=>g.updateSort(v),class:m([{"bg-primary-subtle text-primary-emphasis":this.wireguardConfigurationsStore.CurrentSort.key===v},"px-2 py-1 rounded-3"])},[t("small",null,[this.wireguardConfigurationsStore.CurrentSort.key===v?(o(),i("i",{key:0,class:m(["bi me-2",[this.wireguardConfigurationsStore.CurrentSort.order==="asc"?"bi-sort-up":"bi-sort-down"]])},null,2)):h("",!0),p(u(_),1)])],10,ee))),256))])]),t("div",se,[t("small",oe,[r(l,{t:"Display as"})]),t("div",ae,[(o(),i(w,null,k([{name:"List",key:"list"},{name:"Grid",key:"grid"}],_=>t("a",{role:"button",onClick:v=>g.updateDisplay(_.name),class:m([{"bg-primary-subtle text-primary-emphasis":this.wireguardConfigurationsStore.CurrentDisplay===_.name},"px-2 py-1 rounded-3"])},[t("small",null,[t("i",{class:m(["bi me-2","bi-"+_.key])},null,2),s[3]||(s[3]=p()),r(l,{t:_.name},null,8,["t"])])],10,ne)),64))])]),t("div",ie,[s[4]||(s[4]=t("label",{for:"configurationSearch",class:"text-muted"},[t("i",{class:"bi bi-search me-2"})],-1)),U(t("input",{class:"form-control form-control-sm rounded-3","onUpdate:modelValue":s[0]||(s[0]=_=>this.searchKey=_),id:"configurationSearch"},null,512),[[z,this.searchKey]])])])):h("",!0)]),_:1}),t("div",re,[r(q,{name:"fade"},{default:x(()=>[this.wireguardConfigurationsStore.ConfigurationLoaded&&this.wireguardConfigurationsStore.Configurations.length===0?(o(),i("p",le,[r(l,{t:"You don't have any WireGuard configurations yet. Please check the configuration folder or change it in Settings. By default the folder is /etc/wireguard."})])):this.wireguardConfigurationsStore.ConfigurationLoaded?(o(!0),i(w,{key:1},k(g.configurations,(_,v)=>(o(),b($,{display:this.wireguardConfigurationsStore.CurrentDisplay,delay:v*.03+"s",key:_.Name,c:_},null,8,["display","delay","c"]))),128)):h("",!0)]),_:1})])])])}const fe=D(Et,[["render",de],["__scopeId","data-v-e551c21d"]]);export{fe as default}; diff --git a/src/static/app/dist/assets/configurationList-D6DHKux3.css b/src/static/dist/WGDashboardAdmin/assets/configurationList-D6DHKux3.css similarity index 100% rename from src/static/app/dist/assets/configurationList-D6DHKux3.css rename to src/static/dist/WGDashboardAdmin/assets/configurationList-D6DHKux3.css diff --git a/src/static/app/dist/assets/dayjs.min-DfzgISij.js b/src/static/dist/WGDashboardAdmin/assets/dayjs.min-Rf3-f83x.js similarity index 99% rename from src/static/app/dist/assets/dayjs.min-DfzgISij.js rename to src/static/dist/WGDashboardAdmin/assets/dayjs.min-Rf3-f83x.js index 51178e62..8c9a27e0 100644 --- a/src/static/app/dist/assets/dayjs.min-DfzgISij.js +++ b/src/static/dist/WGDashboardAdmin/assets/dayjs.min-Rf3-f83x.js @@ -1 +1 @@ -import{ai as G}from"./index-BiMgJckX.js";var W={exports:{}},K=W.exports,E;function X(){return E||(E=1,function(V,et){(function(A,x){V.exports=x()})(K,function(){var A=1e3,x=6e4,U=36e5,I="millisecond",S="second",w="minute",_="hour",M="day",H="week",m="month",J="quarter",y="year",O="date",Z="Invalid Date",B=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,P=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Q={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(s){var n=["th","st","nd","rd"],t=s%100;return"["+s+(n[(t-20)%10]||n[t]||n[0])+"]"}},F=function(s,n,t){var r=String(s);return!r||r.length>=n?s:""+Array(n+1-r.length).join(t)+s},R={s:F,z:function(s){var n=-s.utcOffset(),t=Math.abs(n),r=Math.floor(t/60),e=t%60;return(n<=0?"+":"-")+F(r,2,"0")+":"+F(e,2,"0")},m:function s(n,t){if(n.date()1)return s(u[0])}else{var o=n.name;D[o]=n,e=o}return!r&&e&&(k=e),e||!r&&k},f=function(s,n){if(N(s))return s.clone();var t=typeof n=="object"?n:{};return t.date=s,t.args=arguments,new C(t)},a=R;a.l=T,a.i=N,a.w=function(s,n){return f(s,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var C=function(){function s(t){this.$L=T(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[q]=!0}var n=s.prototype;return n.parse=function(t){this.$d=function(r){var e=r.date,i=r.utc;if(e===null)return new Date(NaN);if(a.u(e))return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){var u=e.match(B);if(u){var o=u[2]-1||0,c=(u[7]||"0").substring(0,3);return i?new Date(Date.UTC(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)):new Date(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)}}return new Date(e)}(t),this.init()},n.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},n.$utils=function(){return a},n.isValid=function(){return this.$d.toString()!==Z},n.isSame=function(t,r){var e=f(t);return this.startOf(r)<=e&&e<=this.endOf(r)},n.isAfter=function(t,r){return f(t)=n?s:""+Array(n+1-r.length).join(t)+s},R={s:F,z:function(s){var n=-s.utcOffset(),t=Math.abs(n),r=Math.floor(t/60),e=t%60;return(n<=0?"+":"-")+F(r,2,"0")+":"+F(e,2,"0")},m:function s(n,t){if(n.date()1)return s(u[0])}else{var o=n.name;D[o]=n,e=o}return!r&&e&&(k=e),e||!r&&k},f=function(s,n){if(N(s))return s.clone();var t=typeof n=="object"?n:{};return t.date=s,t.args=arguments,new C(t)},a=R;a.l=T,a.i=N,a.w=function(s,n){return f(s,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var C=function(){function s(t){this.$L=T(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[q]=!0}var n=s.prototype;return n.parse=function(t){this.$d=function(r){var e=r.date,i=r.utc;if(e===null)return new Date(NaN);if(a.u(e))return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){var u=e.match(B);if(u){var o=u[2]-1||0,c=(u[7]||"0").substring(0,3);return i?new Date(Date.UTC(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)):new Date(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)}}return new Date(e)}(t),this.init()},n.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},n.$utils=function(){return a},n.isValid=function(){return this.$d.toString()!==Z},n.isSame=function(t,r){var e=f(t);return this.startOf(r)<=e&&e<=this.endOf(r)},n.isAfter=function(t,r){return f(t){e.value=!0,fetch("https://discord.com/api/guilds/1276818723637956628/widget.json").then(d=>d.json()).then(d=>{g.value=d,e.value=!1}).catch(()=>{e.value=!1})}),(d,a)=>(o(),c("div",I,[t("div",O,[t("div",U,[t("div",j,[t("div",B,[t("h4",R,[s(m,{t:"Help"})]),t("button",{type:"button",class:"btn-close ms-auto",onClick:a[0]||(a[0]=l=>d.$emit("close"))})]),t("div",F,[t("a",q,[t("div",E,[a[3]||(a[3]=t("h1",{class:"mb-0"},[t("i",{class:"bi bi-discord"})],-1)),t("div",null,[t("div",J,[a[2]||(a[2]=t("h5",{class:"mb-0"}," Discord Server ",-1)),t("span",P,[e.value?(o(),c("span",Y)):h("",!0),g.value!==void 0&&!e.value?(o(),c("span",K,[a[1]||(a[1]=t("i",{class:"bi bi-person-fill me-2"},null,-1)),b(v(g.value.presence_count)+" Online ",1)])):h("",!0)])]),t("small",Q,[s(m,{t:"Join our Discord server for quick help or chat about WGDashboard!"})])])])]),t("a",X,[t("div",Z,[a[4]||(a[4]=t("h1",{class:"mb-0"},[t("i",{class:"bi bi-hash"})],-1)),t("div",null,[t("h5",tt,[s(m,{t:"Official Documentation"})]),t("small",et,[s(m,{t:"Official documentation contains User Guides and more..."})])])])])])])])])]))}},ot={key:"header",class:"shadow"},at={class:"p-3 d-flex gap-2 flex-column"},nt={class:"d-flex text-body"},it={class:"d-flex flex-column align-items-start gap-1"},lt={class:"mb-0"},rt={class:"mb-0"},dt={class:"list-group"},ct={href:"https://donaldzou.github.io/WGDashboard-Documentation/",target:"_blank",class:"list-group-item list-group-item-action d-flex align-items-center"},ut={target:"_blank",role:"button",href:"https://discord.gg/72TwzjeuWm",class:"list-group-item list-group-item-action d-flex align-items-center"},mt={__name:"agentModal",emits:["close"],setup(i,{emit:e}){const g=e,d=y();return(a,l)=>(o(),c("div",{class:k(["agentContainer m-2 rounded-3 d-flex flex-column text-body",{enabled:H(d).HelpAgent.Enable}])},[s(M,{name:"agent-message"},{default:r(()=>[t("div",ot,[t("div",at,[t("div",nt,[t("div",it,[t("h5",lt,[s(m,{t:"Help"})])]),t("a",{role:"button",class:"ms-auto text-body",onClick:l[0]||(l[0]=n=>g("close"))},l[1]||(l[1]=[t("h5",{class:"mb-0"},[t("i",{class:"bi bi-x-lg"})],-1)]))]),t("p",rt,[s(m,{t:"You can visit our: "})]),t("div",dt,[t("a",ct,[l[2]||(l[2]=t("i",{class:"bi bi-book-fill"},null,-1)),s(m,{class:"ms-auto",t:"Official Documentation"})]),t("a",ut,[l[3]||(l[3]=t("i",{class:"bi bi-discord"},null,-1)),s(m,{class:"ms-auto",t:"Discord Server"})])])])])]),_:1})],2))}},gt=$(mt,[["__scopeId","data-v-a76f42bd"]]),_t={name:"navbar",components:{HelpModal:st,LocaleText:m,AgentModal:gt},setup(){const i=N(),e=y();return{wireguardConfigurationsStore:i,dashboardConfigurationStore:e}},data(){return{updateAvailable:!1,updateMessage:"Checking for update...",updateUrl:"",openHelpModal:!1,openAgentModal:!1}},computed:{getActiveCrossServer(){if(this.dashboardConfigurationStore.ActiveServerConfiguration)return new URL(this.dashboardConfigurationStore.CrossServerConfiguration.ServerList[this.dashboardConfigurationStore.ActiveServerConfiguration].host)}},async mounted(){await this.wireguardConfigurationsStore.getConfigurations(),await T("/api/getDashboardUpdate",{},i=>{i.status?(i.data&&(this.updateAvailable=!0,this.updateUrl=i.data),this.updateMessage=i.message):(this.updateMessage=G("Failed to check available update"),console.log(`Failed to get update: ${i.message}`))}),this.wireguardConfigurationsStore.ConfigurationListInterval=setInterval(()=>{this.wireguardConfigurationsStore.getConfigurations()},1e4)}},ft=["data-bs-theme"],pt={id:"sidebarMenu",class:"bg-body-tertiary sidebar border h-100 rounded-3 shadow overflow-y-scroll"},bt={class:"sidebar-sticky"},vt={class:"text-white text-center m-0 py-3 mb-2 btn-brand"},ht={key:0,class:"ms-auto"},xt={class:"nav flex-column px-2 gap-1"},Ct={class:"nav-item"},kt={class:"nav-item"},St={class:"nav-item"},$t={class:"nav-item"},yt={class:"sidebar-heading px-3 mt-3 mb-1 text-muted text-center"},wt={class:"nav flex-column px-2 gap-1"},Mt={class:"nav-item"},At={class:"sidebar-heading px-3 mt-3 mb-1 text-muted text-center"},Dt={class:"nav flex-column px-2 gap-1"},Lt={class:"nav-item"},Ht={class:"nav-item"},Tt={class:"nav-item"},Gt={class:"nav flex-column px-2 mb-3"},Nt={class:"nav-item"},Wt={class:"nav-item",style:{"font-size":"0.8rem"}},zt=["href"],Vt={class:"nav-link text-muted rounded-3"},It={key:1,class:"nav-link text-muted rounded-3"};function Ot(i,e,g,d,a,l){const n=f("LocaleText"),u=f("RouterLink"),C=f("HelpModal"),p=f("AgentModal");return o(),c("div",{class:k(["col-md-3 col-lg-2 d-md-block p-2 navbar-container bg-transparent",{active:this.dashboardConfigurationStore.ShowNavBar}]),"data-bs-theme":d.dashboardConfigurationStore.Configuration.Server.dashboard_theme},[t("nav",pt,[t("div",bt,[t("div",vt,[e[5]||(e[5]=t("h5",{class:"mb-0"}," WGDashboard ",-1)),l.getActiveCrossServer!==void 0?(o(),c("small",ht,[e[4]||(e[4]=t("i",{class:"bi bi-hdd-rack-fill me-2"},null,-1)),b(v(l.getActiveCrossServer.host),1)])):h("",!0)]),t("ul",xt,[t("li",Ct,[s(u,{class:"nav-link rounded-3",to:"/","exact-active-class":"active"},{default:r(()=>[e[6]||(e[6]=t("i",{class:"bi bi-house me-2"},null,-1)),s(n,{t:"Home"})]),_:1,__:[6]})]),t("li",kt,[s(u,{class:"nav-link rounded-3",to:"/settings","active-class":"active"},{default:r(()=>[e[7]||(e[7]=t("i",{class:"bi bi-gear me-2"},null,-1)),s(n,{t:"Settings"})]),_:1,__:[7]})]),t("li",St,[s(u,{class:"nav-link rounded-3",to:"/clients","active-class":"active"},{default:r(()=>[e[8]||(e[8]=t("i",{class:"bi bi-people me-2"},null,-1)),s(n,{t:"Clients"})]),_:1,__:[8]})]),t("li",$t,[t("a",{class:"nav-link rounded-3",role:"button",onClick:e[0]||(e[0]=_=>a.openAgentModal=!0)},[e[9]||(e[9]=t("i",{class:"bi bi-question-circle me-2"},null,-1)),s(n,{t:"Help"})])])]),e[12]||(e[12]=t("hr",{class:"text-body my-2"},null,-1)),t("h6",yt,[s(n,{t:"WireGuard Configurations"})]),t("ul",wt,[(o(!0),c(A,null,D(this.wireguardConfigurationsStore.sortConfigurations,_=>(o(),c("li",Mt,[s(u,{to:"/configuration/"+_.Name+"/peers",class:"nav-link nav-conf-link rounded-3","active-class":"active"},{default:r(()=>[t("span",{class:k(["dot me-2",{active:_.Status}])},null,2),b(" "+v(_.Name),1)]),_:2},1032,["to"])]))),256))]),e[13]||(e[13]=t("hr",{class:"text-body my-2"},null,-1)),t("h6",At,[s(n,{t:"Tools"})]),t("ul",Dt,[t("li",Lt,[s(u,{to:"/system_status",class:"nav-link rounded-3","active-class":"active"},{default:r(()=>[s(n,{t:"System Status"})]),_:1})]),t("li",Ht,[s(u,{to:"/ping",class:"nav-link rounded-3","active-class":"active"},{default:r(()=>[s(n,{t:"Ping"})]),_:1})]),t("li",Tt,[s(u,{to:"/traceroute",class:"nav-link rounded-3","active-class":"active"},{default:r(()=>[s(n,{t:"Traceroute"})]),_:1})])]),e[14]||(e[14]=t("hr",{class:"text-body my-2"},null,-1)),t("ul",Gt,[t("li",Nt,[t("a",{class:"nav-link text-danger rounded-3",onClick:e[1]||(e[1]=_=>this.dashboardConfigurationStore.signOut()),role:"button",style:{"font-weight":"bold"}},[e[10]||(e[10]=t("i",{class:"bi bi-box-arrow-left me-2"},null,-1)),s(n,{t:"Sign Out"})])]),t("li",Wt,[this.updateAvailable?(o(),c("a",{key:0,href:this.updateUrl,class:"text-decoration-none rounded-3",target:"_blank"},[t("small",Vt,[s(n,{t:this.updateMessage},null,8,["t"]),e[11]||(e[11]=b(" (")),s(n,{t:"Current Version:"}),b(" "+v(d.dashboardConfigurationStore.Configuration.Server.version)+") ",1)])],8,zt)):(o(),c("small",It,[s(n,{t:this.updateMessage},null,8,["t"]),b(" ("+v(d.dashboardConfigurationStore.Configuration.Server.version)+") ",1)]))])])])]),s(S,{name:"zoom"},{default:r(()=>[this.openHelpModal?(o(),x(C,{key:0,onClose:e[2]||(e[2]=_=>{a.openHelpModal=!1})})):h("",!0)]),_:1}),s(S,{name:"slideIn"},{default:r(()=>[this.openAgentModal?(o(),x(p,{key:0,onClose:e[3]||(e[3]=_=>a.openAgentModal=!1)})):h("",!0)]),_:1})],10,ft)}const Ut=$(_t,[["render",Ot],["__scopeId","data-v-182ea89e"]]),jt={name:"index",components:{Message:V,Navbar:Ut},async setup(){return{dashboardConfigurationStore:y()}},computed:{getMessages(){return this.dashboardConfigurationStore.Messages.filter(i=>i.show)}}},Bt=["data-bs-theme"],Rt={class:"row h-100"},Ft={class:"col-md-9 col-lg-10 overflow-y-scroll mb-0 pt-2"},qt={class:"messageCentre text-body position-absolute d-flex"};function Et(i,e,g,d,a,l){const n=f("Navbar"),u=f("RouterView"),C=f("Message");return o(),c("div",{class:"container-fluid flex-grow-1 main","data-bs-theme":this.dashboardConfigurationStore.Configuration.Server.dashboard_theme},[t("div",Rt,[s(n),t("main",Ft,[(o(),x(z,null,{default:r(()=>[s(u,null,{default:r(({Component:p})=>[s(S,{name:"fade2",mode:"out-in",appear:""},{default:r(()=>[(o(),x(W(p)))]),_:2},1024)]),_:1})]),_:1})),t("div",qt,[s(M,{name:"message",tag:"div",class:"position-relative flex-sm-grow-0 flex-grow-1 d-flex align-items-end ms-sm-auto flex-column gap-2"},{default:r(()=>[(o(!0),c(A,null,D(l.getMessages.slice().reverse(),p=>(o(),x(C,{message:p,key:p.id},null,8,["message"]))),128))]),_:1})])])])],8,Bt)}const Qt=$(jt,[["render",Et],["__scopeId","data-v-0c6a5068"]]);export{Qt as default}; +import{r as w,o as L,c,a as t,b as s,d as h,e as b,t as v,f as o,_ as $,D as y,w as r,T as M,n as k,u as H,g as T,G,W as N,h as f,F as A,i as D,j as x,k as S,l as W,S as z}from"./index-D5fbjBmH.js";import{L as m}from"./localeText-BwlyH2uL.js";import"./dayjs.min-Rf3-f83x.js";import{M as V}from"./message-DXxfTvqC.js";const I={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},O={class:"container d-flex h-100 w-100"},U={class:"m-auto modal-dialog-centered dashboardModal"},j={class:"card rounded-3 shadow flex-grow-1"},B={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},R={class:"mb-0"},F={class:"card-body px-4 pb-4 d-flex flex-column gap-2"},q={class:"card text-decoration-none",target:"_blank",role:"button",href:"https://discord.gg/72TwzjeuWm"},E={class:"card-body d-flex gap-4 align-items-center"},J={class:"d-flex align-items-center"},P={class:"badge rounded-pill text-bg-primary ms-2"},Y={key:0,class:"spinner-border spinner-border-sm",style:{width:"0.7rem",height:"0.7rem"}},K={key:1},Q={class:"text-muted"},X={class:"card text-decoration-none",href:"https://donaldzou.github.io/WGDashboard-Documentation/",target:"_blank"},Z={class:"card-body d-flex gap-4 align-items-center"},tt={class:"mb-0"},et={class:"text-muted"},st={__name:"helpModal",setup(i){const e=w(!0),g=w(void 0);return L(()=>{e.value=!0,fetch("https://discord.com/api/guilds/1276818723637956628/widget.json").then(d=>d.json()).then(d=>{g.value=d,e.value=!1}).catch(()=>{e.value=!1})}),(d,a)=>(o(),c("div",I,[t("div",O,[t("div",U,[t("div",j,[t("div",B,[t("h4",R,[s(m,{t:"Help"})]),t("button",{type:"button",class:"btn-close ms-auto",onClick:a[0]||(a[0]=l=>d.$emit("close"))})]),t("div",F,[t("a",q,[t("div",E,[a[3]||(a[3]=t("h1",{class:"mb-0"},[t("i",{class:"bi bi-discord"})],-1)),t("div",null,[t("div",J,[a[2]||(a[2]=t("h5",{class:"mb-0"}," Discord Server ",-1)),t("span",P,[e.value?(o(),c("span",Y)):h("",!0),g.value!==void 0&&!e.value?(o(),c("span",K,[a[1]||(a[1]=t("i",{class:"bi bi-person-fill me-2"},null,-1)),b(v(g.value.presence_count)+" Online ",1)])):h("",!0)])]),t("small",Q,[s(m,{t:"Join our Discord server for quick help or chat about WGDashboard!"})])])])]),t("a",X,[t("div",Z,[a[4]||(a[4]=t("h1",{class:"mb-0"},[t("i",{class:"bi bi-hash"})],-1)),t("div",null,[t("h5",tt,[s(m,{t:"Official Documentation"})]),t("small",et,[s(m,{t:"Official documentation contains User Guides and more..."})])])])])])])])])]))}},ot={key:"header",class:"shadow"},at={class:"p-3 d-flex gap-2 flex-column"},nt={class:"d-flex text-body"},it={class:"d-flex flex-column align-items-start gap-1"},lt={class:"mb-0"},rt={class:"mb-0"},dt={class:"list-group"},ct={href:"https://donaldzou.github.io/WGDashboard-Documentation/",target:"_blank",class:"list-group-item list-group-item-action d-flex align-items-center"},ut={target:"_blank",role:"button",href:"https://discord.gg/72TwzjeuWm",class:"list-group-item list-group-item-action d-flex align-items-center"},mt={__name:"agentModal",emits:["close"],setup(i,{emit:e}){const g=e,d=y();return(a,l)=>(o(),c("div",{class:k(["agentContainer m-2 rounded-3 d-flex flex-column text-body",{enabled:H(d).HelpAgent.Enable}])},[s(M,{name:"agent-message"},{default:r(()=>[t("div",ot,[t("div",at,[t("div",nt,[t("div",it,[t("h5",lt,[s(m,{t:"Help"})])]),t("a",{role:"button",class:"ms-auto text-body",onClick:l[0]||(l[0]=n=>g("close"))},l[1]||(l[1]=[t("h5",{class:"mb-0"},[t("i",{class:"bi bi-x-lg"})],-1)]))]),t("p",rt,[s(m,{t:"You can visit our: "})]),t("div",dt,[t("a",ct,[l[2]||(l[2]=t("i",{class:"bi bi-book-fill"},null,-1)),s(m,{class:"ms-auto",t:"Official Documentation"})]),t("a",ut,[l[3]||(l[3]=t("i",{class:"bi bi-discord"},null,-1)),s(m,{class:"ms-auto",t:"Discord Server"})])])])])]),_:1})],2))}},gt=$(mt,[["__scopeId","data-v-a76f42bd"]]),_t={name:"navbar",components:{HelpModal:st,LocaleText:m,AgentModal:gt},setup(){const i=N(),e=y();return{wireguardConfigurationsStore:i,dashboardConfigurationStore:e}},data(){return{updateAvailable:!1,updateMessage:"Checking for update...",updateUrl:"",openHelpModal:!1,openAgentModal:!1}},computed:{getActiveCrossServer(){if(this.dashboardConfigurationStore.ActiveServerConfiguration)return new URL(this.dashboardConfigurationStore.CrossServerConfiguration.ServerList[this.dashboardConfigurationStore.ActiveServerConfiguration].host)}},async mounted(){await this.wireguardConfigurationsStore.getConfigurations(),await T("/api/getDashboardUpdate",{},i=>{i.status?(i.data&&(this.updateAvailable=!0,this.updateUrl=i.data),this.updateMessage=i.message):(this.updateMessage=G("Failed to check available update"),console.log(`Failed to get update: ${i.message}`))}),this.wireguardConfigurationsStore.ConfigurationListInterval=setInterval(()=>{this.wireguardConfigurationsStore.getConfigurations()},1e4)}},ft=["data-bs-theme"],pt={id:"sidebarMenu",class:"bg-body-tertiary sidebar border h-100 rounded-3 shadow overflow-y-scroll"},bt={class:"sidebar-sticky"},vt={class:"text-white text-center m-0 py-3 mb-2 btn-brand"},ht={key:0,class:"ms-auto"},xt={class:"nav flex-column px-2 gap-1"},Ct={class:"nav-item"},kt={class:"nav-item"},St={class:"nav-item"},$t={class:"nav-item"},yt={class:"sidebar-heading px-3 mt-3 mb-1 text-muted text-center"},wt={class:"nav flex-column px-2 gap-1"},Mt={class:"nav-item"},At={class:"sidebar-heading px-3 mt-3 mb-1 text-muted text-center"},Dt={class:"nav flex-column px-2 gap-1"},Lt={class:"nav-item"},Ht={class:"nav-item"},Tt={class:"nav-item"},Gt={class:"nav flex-column px-2 mb-3"},Nt={class:"nav-item"},Wt={class:"nav-item",style:{"font-size":"0.8rem"}},zt=["href"],Vt={class:"nav-link text-muted rounded-3"},It={key:1,class:"nav-link text-muted rounded-3"};function Ot(i,e,g,d,a,l){const n=f("LocaleText"),u=f("RouterLink"),C=f("HelpModal"),p=f("AgentModal");return o(),c("div",{class:k(["col-md-3 col-lg-2 d-md-block p-2 navbar-container bg-transparent",{active:this.dashboardConfigurationStore.ShowNavBar}]),"data-bs-theme":d.dashboardConfigurationStore.Configuration.Server.dashboard_theme},[t("nav",pt,[t("div",bt,[t("div",vt,[e[5]||(e[5]=t("h5",{class:"mb-0"}," WGDashboard ",-1)),l.getActiveCrossServer!==void 0?(o(),c("small",ht,[e[4]||(e[4]=t("i",{class:"bi bi-hdd-rack-fill me-2"},null,-1)),b(v(l.getActiveCrossServer.host),1)])):h("",!0)]),t("ul",xt,[t("li",Ct,[s(u,{class:"nav-link rounded-3",to:"/","exact-active-class":"active"},{default:r(()=>[e[6]||(e[6]=t("i",{class:"bi bi-house me-2"},null,-1)),s(n,{t:"Home"})]),_:1,__:[6]})]),t("li",kt,[s(u,{class:"nav-link rounded-3",to:"/settings","active-class":"active"},{default:r(()=>[e[7]||(e[7]=t("i",{class:"bi bi-gear me-2"},null,-1)),s(n,{t:"Settings"})]),_:1,__:[7]})]),t("li",St,[s(u,{class:"nav-link rounded-3",to:"/clients","active-class":"active"},{default:r(()=>[e[8]||(e[8]=t("i",{class:"bi bi-people me-2"},null,-1)),s(n,{t:"Clients"})]),_:1,__:[8]})]),t("li",$t,[t("a",{class:"nav-link rounded-3",role:"button",onClick:e[0]||(e[0]=_=>a.openAgentModal=!0)},[e[9]||(e[9]=t("i",{class:"bi bi-question-circle me-2"},null,-1)),s(n,{t:"Help"})])])]),e[12]||(e[12]=t("hr",{class:"text-body my-2"},null,-1)),t("h6",yt,[s(n,{t:"WireGuard Configurations"})]),t("ul",wt,[(o(!0),c(A,null,D(this.wireguardConfigurationsStore.sortConfigurations,_=>(o(),c("li",Mt,[s(u,{to:"/configuration/"+_.Name+"/peers",class:"nav-link nav-conf-link rounded-3","active-class":"active"},{default:r(()=>[t("span",{class:k(["dot me-2",{active:_.Status}])},null,2),b(" "+v(_.Name),1)]),_:2},1032,["to"])]))),256))]),e[13]||(e[13]=t("hr",{class:"text-body my-2"},null,-1)),t("h6",At,[s(n,{t:"Tools"})]),t("ul",Dt,[t("li",Lt,[s(u,{to:"/system_status",class:"nav-link rounded-3","active-class":"active"},{default:r(()=>[s(n,{t:"System Status"})]),_:1})]),t("li",Ht,[s(u,{to:"/ping",class:"nav-link rounded-3","active-class":"active"},{default:r(()=>[s(n,{t:"Ping"})]),_:1})]),t("li",Tt,[s(u,{to:"/traceroute",class:"nav-link rounded-3","active-class":"active"},{default:r(()=>[s(n,{t:"Traceroute"})]),_:1})])]),e[14]||(e[14]=t("hr",{class:"text-body my-2"},null,-1)),t("ul",Gt,[t("li",Nt,[t("a",{class:"nav-link text-danger rounded-3",onClick:e[1]||(e[1]=_=>this.dashboardConfigurationStore.signOut()),role:"button",style:{"font-weight":"bold"}},[e[10]||(e[10]=t("i",{class:"bi bi-box-arrow-left me-2"},null,-1)),s(n,{t:"Sign Out"})])]),t("li",Wt,[this.updateAvailable?(o(),c("a",{key:0,href:this.updateUrl,class:"text-decoration-none rounded-3",target:"_blank"},[t("small",Vt,[s(n,{t:this.updateMessage},null,8,["t"]),e[11]||(e[11]=b(" (")),s(n,{t:"Current Version:"}),b(" "+v(d.dashboardConfigurationStore.Configuration.Server.version)+") ",1)])],8,zt)):(o(),c("small",It,[s(n,{t:this.updateMessage},null,8,["t"]),b(" ("+v(d.dashboardConfigurationStore.Configuration.Server.version)+") ",1)]))])])])]),s(S,{name:"zoom"},{default:r(()=>[this.openHelpModal?(o(),x(C,{key:0,onClose:e[2]||(e[2]=_=>{a.openHelpModal=!1})})):h("",!0)]),_:1}),s(S,{name:"slideIn"},{default:r(()=>[this.openAgentModal?(o(),x(p,{key:0,onClose:e[3]||(e[3]=_=>a.openAgentModal=!1)})):h("",!0)]),_:1})],10,ft)}const Ut=$(_t,[["render",Ot],["__scopeId","data-v-182ea89e"]]),jt={name:"index",components:{Message:V,Navbar:Ut},async setup(){return{dashboardConfigurationStore:y()}},computed:{getMessages(){return this.dashboardConfigurationStore.Messages.filter(i=>i.show)}}},Bt=["data-bs-theme"],Rt={class:"row h-100"},Ft={class:"col-md-9 col-lg-10 overflow-y-scroll mb-0 pt-2"},qt={class:"messageCentre text-body position-absolute d-flex"};function Et(i,e,g,d,a,l){const n=f("Navbar"),u=f("RouterView"),C=f("Message");return o(),c("div",{class:"container-fluid flex-grow-1 main","data-bs-theme":this.dashboardConfigurationStore.Configuration.Server.dashboard_theme},[t("div",Rt,[s(n),t("main",Ft,[(o(),x(z,null,{default:r(()=>[s(u,null,{default:r(({Component:p})=>[s(S,{name:"fade2",mode:"out-in",appear:""},{default:r(()=>[(o(),x(W(p)))]),_:2},1024)]),_:1})]),_:1})),t("div",qt,[s(M,{name:"message",tag:"div",class:"position-relative flex-sm-grow-0 flex-grow-1 d-flex align-items-end ms-sm-auto flex-column gap-2"},{default:r(()=>[(o(!0),c(A,null,D(l.getMessages.slice().reverse(),p=>(o(),x(C,{message:p,key:p.id},null,8,["message"]))),128))]),_:1})])])])],8,Bt)}const Qt=$(jt,[["render",Et],["__scopeId","data-v-0c6a5068"]]);export{Qt as default}; diff --git a/src/static/app/dist/assets/index-BiMgJckX.js b/src/static/dist/WGDashboardAdmin/assets/index-D5fbjBmH.js similarity index 98% rename from src/static/app/dist/assets/index-BiMgJckX.js rename to src/static/dist/WGDashboardAdmin/assets/index-D5fbjBmH.js index 95d2cacb..693d7444 100644 --- a/src/static/app/dist/assets/index-BiMgJckX.js +++ b/src/static/dist/WGDashboardAdmin/assets/index-D5fbjBmH.js @@ -1,4 +1,4 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-DNNYGJNG.js","assets/localeText-IWgb3jjT.js","assets/dayjs.min-DfzgISij.js","assets/message-BbMgwdPm.js","assets/message-Bh5W0B3y.css","assets/index-n06B7r3o.css","assets/configurationList-CJIe6SIO.js","assets/protocolBadge-CIPV5pRM.js","assets/storageMount.vue_vue_type_style_index_0_scoped_9509d7a0_lang-W5WxuFyn.js","assets/storageMount-Bw-_Mzzo.css","assets/configurationList-D6DHKux3.css","assets/settings-DaewGhaX.js","assets/vue-datepicker-COurIrvQ.js","assets/settings-CfX7xCKW.css","assets/ping-D2r67TEy.js","assets/osmap-C5d_TZww.js","assets/osmap-DZ_3lbim.css","assets/ping-DgbK5UF9.css","assets/traceroute-CfGjFLHs.js","assets/traceroute-cPX-1ydq.css","assets/newConfiguration-Bm1RdKiG.js","assets/index-6o26Ihmr.js","assets/newConfiguration-oPMsqryI.css","assets/restoreConfiguration-Cc45Wpop.js","assets/restoreConfiguration-Go8Q_2zy.css","assets/systemStatus-CDJI7TSf.js","assets/index-CaZlhoCi.js","assets/systemStatus-CPnafN3D.css","assets/clients-V1xPJ10c.js","assets/DashboardClientAssignmentStore-hnc4wS2g.js","assets/clients-ElMsFHgd.css","assets/clientViewer-BO3xJCwx.js","assets/clientViewer-C3dxR3US.css","assets/peerList-CoKpGl0t.js","assets/peerList-BH1nrHD0.css","assets/signin-Dv_WT7fq.js","assets/signin-CC0REHXm.css","assets/setup-Bd36RYKX.js","assets/totp-DxDD7Jz9.js","assets/browser-CwJzqt71.js","assets/share-DiWC7XJA.js","assets/share-e5E8P3Ro.css"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-B8TgNUYV.js","assets/localeText-BwlyH2uL.js","assets/dayjs.min-Rf3-f83x.js","assets/message-DXxfTvqC.js","assets/message-Bh5W0B3y.css","assets/index-n06B7r3o.css","assets/configurationList-BIXsH2AA.js","assets/protocolBadge-BVQE6rMK.js","assets/storageMount.vue_vue_type_style_index_0_scoped_9509d7a0_lang-KDIKOXhL.js","assets/storageMount-Bw-_Mzzo.css","assets/configurationList-D6DHKux3.css","assets/settings-DKCR2haZ.js","assets/vue-datepicker-TsAnng-H.js","assets/settings-CfX7xCKW.css","assets/ping-BblC0zpt.js","assets/osmap-DPICc3dZ.js","assets/osmap-DZ_3lbim.css","assets/ping-DgbK5UF9.css","assets/traceroute-BmGBOOEH.js","assets/traceroute-cPX-1ydq.css","assets/newConfiguration-BrDKdnVB.js","assets/index-6o26Ihmr.js","assets/newConfiguration-oPMsqryI.css","assets/restoreConfiguration-DEs2Vp9D.js","assets/restoreConfiguration-Go8Q_2zy.css","assets/systemStatus-C9p8AMJS.js","assets/index-DEZPVeS-.js","assets/systemStatus-CPnafN3D.css","assets/clients-D5GlWsiu.js","assets/DashboardClientAssignmentStore-C45wUqOp.js","assets/clients-ElMsFHgd.css","assets/clientViewer-BR5ORwer.js","assets/clientViewer-C3dxR3US.css","assets/peerList-Bnc70xia.js","assets/peerList-BH1nrHD0.css","assets/signin-BSqwRvQ7.js","assets/signin-CC0REHXm.css","assets/setup-D0XyMxzo.js","assets/totp-CYq1d4cZ.js","assets/browser-DpR0RqZi.js","assets/share-D1OkSpyp.js","assets/share-e5E8P3Ro.css"])))=>i.map(i=>d[i]); (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();function Jy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function vg(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function s(){var r=!1;try{r=this instanceof s}catch{}return r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(s){var r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(n,s,r.get?r:{enumerable:!0,get:function(){return e[s]}})}),n}var Er={exports:{}},Ge="top",Je="bottom",Ze="right",qe="left",Br="auto",ds=[Ge,Je,Ze,qe],Nn="start",es="end",hc="clippingParents",fo="viewport",Wn="popper",pc="reference",Hi=ds.reduce(function(e,t){return e.concat([t+"-"+Nn,t+"-"+es])},[]),ho=[].concat(ds,[Br]).reduce(function(e,t){return e.concat([t,t+"-"+Nn,t+"-"+es])},[]),gc="beforeRead",mc="read",_c="afterRead",vc="beforeMain",Ec="main",yc="afterMain",bc="beforeWrite",Ac="write",Tc="afterWrite",wc=[gc,mc,_c,vc,Ec,yc,bc,Ac,Tc];function Dt(e){return e?(e.nodeName||"").toLowerCase():null}function et(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function xn(e){var t=et(e).Element;return e instanceof t||e instanceof Element}function ct(e){var t=et(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function po(e){if(typeof ShadowRoot>"u")return!1;var t=et(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Eg(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var s=t.styles[n]||{},r=t.attributes[n]||{},o=t.elements[n];!ct(o)||!Dt(o)||(Object.assign(o.style,s),Object.keys(r).forEach(function(a){var l=r[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function yg(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(s){var r=t.elements[s],o=t.attributes[s]||{},a=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:n[s]),l=a.reduce(function(c,d){return c[d]="",c},{});!ct(r)||!Dt(r)||(Object.assign(r.style,l),Object.keys(o).forEach(function(c){r.removeAttribute(c)}))})}}const go={name:"applyStyles",enabled:!0,phase:"write",fn:Eg,effect:yg,requires:["computeStyles"]};function $t(e){return e.split("-")[0]}var Tn=Math.max,Or=Math.min,ts=Math.round;function Bi(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Cc(){return!/^((?!chrome|android).)*safari/i.test(Bi())}function ns(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var s=e.getBoundingClientRect(),r=1,o=1;t&&ct(e)&&(r=e.offsetWidth>0&&ts(s.width)/e.offsetWidth||1,o=e.offsetHeight>0&&ts(s.height)/e.offsetHeight||1);var a=xn(e)?et(e):window,l=a.visualViewport,c=!Cc()&&n,d=(s.left+(c&&l?l.offsetLeft:0))/r,f=(s.top+(c&&l?l.offsetTop:0))/o,h=s.width/r,p=s.height/o;return{width:h,height:p,top:f,right:d+h,bottom:f+p,left:d,x:d,y:f}}function mo(e){var t=ns(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function Sc(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&po(n)){var s=t;do{if(s&&e.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Ht(e){return et(e).getComputedStyle(e)}function bg(e){return["table","td","th"].indexOf(Dt(e))>=0}function ln(e){return((xn(e)?e.ownerDocument:e.document)||window.document).documentElement}function jr(e){return Dt(e)==="html"?e:e.assignedSlot||e.parentNode||(po(e)?e.host:null)||ln(e)}function Wa(e){return!ct(e)||Ht(e).position==="fixed"?null:e.offsetParent}function Ag(e){var t=/firefox/i.test(Bi()),n=/Trident/i.test(Bi());if(n&&ct(e)){var s=Ht(e);if(s.position==="fixed")return null}var r=jr(e);for(po(r)&&(r=r.host);ct(r)&&["html","body"].indexOf(Dt(r))<0;){var o=Ht(r);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return r;r=r.parentNode}return null}function Gs(e){for(var t=et(e),n=Wa(e);n&&bg(n)&&Ht(n).position==="static";)n=Wa(n);return n&&(Dt(n)==="html"||Dt(n)==="body"&&Ht(n).position==="static")?t:n||Ag(e)||t}function _o(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Os(e,t,n){return Tn(e,Or(t,n))}function Tg(e,t,n){var s=Os(e,t,n);return s>n?n:s}function Oc(){return{top:0,right:0,bottom:0,left:0}}function Nc(e){return Object.assign({},Oc(),e)}function xc(e,t){return t.reduce(function(n,s){return n[s]=e,n},{})}var wg=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Nc(typeof t!="number"?t:xc(t,ds))};function Cg(e){var t,n=e.state,s=e.name,r=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,l=$t(n.placement),c=_o(l),d=[qe,Ze].indexOf(l)>=0,f=d?"height":"width";if(!(!o||!a)){var h=wg(r.padding,n),p=mo(o),_=c==="y"?Ge:qe,O=c==="y"?Je:Ze,A=n.rects.reference[f]+n.rects.reference[c]-a[c]-n.rects.popper[f],D=a[c]-n.rects.reference[c],P=Gs(o),H=P?c==="y"?P.clientHeight||0:P.clientWidth||0:0,F=A/2-D/2,k=h[_],b=H-p[f]-h[O],y=H/2-p[f]/2+F,N=Os(k,y,b),w=c;n.modifiersData[s]=(t={},t[w]=N,t.centerOffset=N-y,t)}}function Sg(e){var t=e.state,n=e.options,s=n.element,r=s===void 0?"[data-popper-arrow]":s;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||Sc(t.elements.popper,r)&&(t.elements.arrow=r))}const $c={name:"arrow",enabled:!0,phase:"main",fn:Cg,effect:Sg,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ss(e){return e.split("-")[1]}var Og={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ng(e,t){var n=e.x,s=e.y,r=t.devicePixelRatio||1;return{x:ts(n*r)/r||0,y:ts(s*r)/r||0}}function Ua(e){var t,n=e.popper,s=e.popperRect,r=e.placement,o=e.variation,a=e.offsets,l=e.position,c=e.gpuAcceleration,d=e.adaptive,f=e.roundOffsets,h=e.isFixed,p=a.x,_=p===void 0?0:p,O=a.y,A=O===void 0?0:O,D=typeof f=="function"?f({x:_,y:A}):{x:_,y:A};_=D.x,A=D.y;var P=a.hasOwnProperty("x"),H=a.hasOwnProperty("y"),F=qe,k=Ge,b=window;if(d){var y=Gs(n),N="clientHeight",w="clientWidth";if(y===et(n)&&(y=ln(n),Ht(y).position!=="static"&&l==="absolute"&&(N="scrollHeight",w="scrollWidth")),y=y,r===Ge||(r===qe||r===Ze)&&o===es){k=Je;var T=h&&y===b&&b.visualViewport?b.visualViewport.height:y[N];A-=T-s.height,A*=c?1:-1}if(r===qe||(r===Ge||r===Je)&&o===es){F=Ze;var S=h&&y===b&&b.visualViewport?b.visualViewport.width:y[w];_-=S-s.width,_*=c?1:-1}}var K=Object.assign({position:l},d&&Og),B=f===!0?Ng({x:_,y:A},et(n)):{x:_,y:A};if(_=B.x,A=B.y,c){var Q;return Object.assign({},K,(Q={},Q[k]=H?"0":"",Q[F]=P?"0":"",Q.transform=(b.devicePixelRatio||1)<=1?"translate("+_+"px, "+A+"px)":"translate3d("+_+"px, "+A+"px, 0)",Q))}return Object.assign({},K,(t={},t[k]=H?A+"px":"",t[F]=P?_+"px":"",t.transform="",t))}function xg(e){var t=e.state,n=e.options,s=n.gpuAcceleration,r=s===void 0?!0:s,o=n.adaptive,a=o===void 0?!0:o,l=n.roundOffsets,c=l===void 0?!0:l,d={placement:$t(t.placement),variation:ss(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ua(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ua(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const vo={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:xg,data:{}};var fr={passive:!0};function $g(e){var t=e.state,n=e.instance,s=e.options,r=s.scroll,o=r===void 0?!0:r,a=s.resize,l=a===void 0?!0:a,c=et(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(f){f.addEventListener("scroll",n.update,fr)}),l&&c.addEventListener("resize",n.update,fr),function(){o&&d.forEach(function(f){f.removeEventListener("scroll",n.update,fr)}),l&&c.removeEventListener("resize",n.update,fr)}}const Eo={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:$g,data:{}};var Dg={left:"right",right:"left",bottom:"top",top:"bottom"};function yr(e){return e.replace(/left|right|bottom|top/g,function(t){return Dg[t]})}var Lg={start:"end",end:"start"};function Ya(e){return e.replace(/start|end/g,function(t){return Lg[t]})}function yo(e){var t=et(e),n=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:n,scrollTop:s}}function bo(e){return ns(ln(e)).left+yo(e).scrollLeft}function Rg(e,t){var n=et(e),s=ln(e),r=n.visualViewport,o=s.clientWidth,a=s.clientHeight,l=0,c=0;if(r){o=r.width,a=r.height;var d=Cc();(d||!d&&t==="fixed")&&(l=r.offsetLeft,c=r.offsetTop)}return{width:o,height:a,x:l+bo(e),y:c}}function Ig(e){var t,n=ln(e),s=yo(e),r=(t=e.ownerDocument)==null?void 0:t.body,o=Tn(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Tn(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-s.scrollLeft+bo(e),c=-s.scrollTop;return Ht(r||n).direction==="rtl"&&(l+=Tn(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:a,x:l,y:c}}function Ao(e){var t=Ht(e),n=t.overflow,s=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+s)}function Dc(e){return["html","body","#document"].indexOf(Dt(e))>=0?e.ownerDocument.body:ct(e)&&Ao(e)?e:Dc(jr(e))}function Ns(e,t){var n;t===void 0&&(t=[]);var s=Dc(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),o=et(s),a=r?[o].concat(o.visualViewport||[],Ao(s)?s:[]):s,l=t.concat(a);return r?l:l.concat(Ns(jr(a)))}function ji(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Pg(e,t){var n=ns(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Ga(e,t,n){return t===fo?ji(Rg(e,n)):xn(t)?Pg(t,n):ji(Ig(ln(e)))}function Mg(e){var t=Ns(jr(e)),n=["absolute","fixed"].indexOf(Ht(e).position)>=0,s=n&&ct(e)?Gs(e):e;return xn(s)?t.filter(function(r){return xn(r)&&Sc(r,s)&&Dt(r)!=="body"}):[]}function kg(e,t,n,s){var r=t==="clippingParents"?Mg(e):[].concat(t),o=[].concat(r,[n]),a=o[0],l=o.reduce(function(c,d){var f=Ga(e,d,s);return c.top=Tn(f.top,c.top),c.right=Or(f.right,c.right),c.bottom=Or(f.bottom,c.bottom),c.left=Tn(f.left,c.left),c},Ga(e,a,s));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Lc(e){var t=e.reference,n=e.element,s=e.placement,r=s?$t(s):null,o=s?ss(s):null,a=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,c;switch(r){case Ge:c={x:a,y:t.y-n.height};break;case Je:c={x:a,y:t.y+t.height};break;case Ze:c={x:t.x+t.width,y:l};break;case qe:c={x:t.x-n.width,y:l};break;default:c={x:t.x,y:t.y}}var d=r?_o(r):null;if(d!=null){var f=d==="y"?"height":"width";switch(o){case Nn:c[d]=c[d]-(t[f]/2-n[f]/2);break;case es:c[d]=c[d]+(t[f]/2-n[f]/2);break}}return c}function rs(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=s===void 0?e.placement:s,o=n.strategy,a=o===void 0?e.strategy:o,l=n.boundary,c=l===void 0?hc:l,d=n.rootBoundary,f=d===void 0?fo:d,h=n.elementContext,p=h===void 0?Wn:h,_=n.altBoundary,O=_===void 0?!1:_,A=n.padding,D=A===void 0?0:A,P=Nc(typeof D!="number"?D:xc(D,ds)),H=p===Wn?pc:Wn,F=e.rects.popper,k=e.elements[O?H:p],b=kg(xn(k)?k:k.contextElement||ln(e.elements.popper),c,f,a),y=ns(e.elements.reference),N=Lc({reference:y,element:F,placement:r}),w=ji(Object.assign({},F,N)),T=p===Wn?w:y,S={top:b.top-T.top+P.top,bottom:T.bottom-b.bottom+P.bottom,left:b.left-T.left+P.left,right:T.right-b.right+P.right},K=e.modifiersData.offset;if(p===Wn&&K){var B=K[r];Object.keys(S).forEach(function(Q){var oe=[Ze,Je].indexOf(Q)>=0?1:-1,de=[Ge,Je].indexOf(Q)>=0?"y":"x";S[Q]+=B[de]*oe})}return S}function Vg(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=n.boundary,o=n.rootBoundary,a=n.padding,l=n.flipVariations,c=n.allowedAutoPlacements,d=c===void 0?ho:c,f=ss(s),h=f?l?Hi:Hi.filter(function(O){return ss(O)===f}):ds,p=h.filter(function(O){return d.indexOf(O)>=0});p.length===0&&(p=h);var _=p.reduce(function(O,A){return O[A]=rs(e,{placement:A,boundary:r,rootBoundary:o,padding:a})[$t(A)],O},{});return Object.keys(_).sort(function(O,A){return _[O]-_[A]})}function Fg(e){if($t(e)===Br)return[];var t=yr(e);return[Ya(e),t,Ya(t)]}function Hg(e){var t=e.state,n=e.options,s=e.name;if(!t.modifiersData[s]._skip){for(var r=n.mainAxis,o=r===void 0?!0:r,a=n.altAxis,l=a===void 0?!0:a,c=n.fallbackPlacements,d=n.padding,f=n.boundary,h=n.rootBoundary,p=n.altBoundary,_=n.flipVariations,O=_===void 0?!0:_,A=n.allowedAutoPlacements,D=t.options.placement,P=$t(D),H=P===D,F=c||(H||!O?[yr(D)]:Fg(D)),k=[D].concat(F).reduce(function(je,Pe){return je.concat($t(Pe)===Br?Vg(t,{placement:Pe,boundary:f,rootBoundary:h,padding:d,flipVariations:O,allowedAutoPlacements:A}):Pe)},[]),b=t.rects.reference,y=t.rects.popper,N=new Map,w=!0,T=k[0],S=0;S=0,de=oe?"width":"height",te=rs(t,{placement:K,boundary:f,rootBoundary:h,altBoundary:p,padding:d}),ee=oe?Q?Ze:qe:Q?Je:Ge;b[de]>y[de]&&(ee=yr(ee));var ce=yr(ee),we=[];if(o&&we.push(te[B]<=0),l&&we.push(te[ee]<=0,te[ce]<=0),we.every(function(je){return je})){T=K,w=!1;break}N.set(K,we)}if(w)for(var Be=O?3:1,Le=function(Pe){var Te=k.find(function(I){var q=N.get(I);if(q)return q.slice(0,Pe).every(function(z){return z})});if(Te)return T=Te,"break"},be=Be;be>0;be--){var Qe=Le(be);if(Qe==="break")break}t.placement!==T&&(t.modifiersData[s]._skip=!0,t.placement=T,t.reset=!0)}}const Rc={name:"flip",enabled:!0,phase:"main",fn:Hg,requiresIfExists:["offset"],data:{_skip:!1}};function qa(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function za(e){return[Ge,Ze,Je,qe].some(function(t){return e[t]>=0})}function Bg(e){var t=e.state,n=e.name,s=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,a=rs(t,{elementContext:"reference"}),l=rs(t,{altBoundary:!0}),c=qa(a,s),d=qa(l,r,o),f=za(c),h=za(d);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:f,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":h})}const Ic={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Bg};function jg(e,t,n){var s=$t(e),r=[qe,Ge].indexOf(s)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],l=o[1];return a=a||0,l=(l||0)*r,[qe,Ze].indexOf(s)>=0?{x:l,y:a}:{x:a,y:l}}function Kg(e){var t=e.state,n=e.options,s=e.name,r=n.offset,o=r===void 0?[0,0]:r,a=ho.reduce(function(f,h){return f[h]=jg(h,t.rects,o),f},{}),l=a[t.placement],c=l.x,d=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[s]=a}const Pc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Kg};function Wg(e){var t=e.state,n=e.name;t.modifiersData[n]=Lc({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const To={name:"popperOffsets",enabled:!0,phase:"read",fn:Wg,data:{}};function Ug(e){return e==="x"?"y":"x"}function Yg(e){var t=e.state,n=e.options,s=e.name,r=n.mainAxis,o=r===void 0?!0:r,a=n.altAxis,l=a===void 0?!1:a,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,h=n.padding,p=n.tether,_=p===void 0?!0:p,O=n.tetherOffset,A=O===void 0?0:O,D=rs(t,{boundary:c,rootBoundary:d,padding:h,altBoundary:f}),P=$t(t.placement),H=ss(t.placement),F=!H,k=_o(P),b=Ug(k),y=t.modifiersData.popperOffsets,N=t.rects.reference,w=t.rects.popper,T=typeof A=="function"?A(Object.assign({},t.rects,{placement:t.placement})):A,S=typeof T=="number"?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),K=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(y){if(o){var Q,oe=k==="y"?Ge:qe,de=k==="y"?Je:Ze,te=k==="y"?"height":"width",ee=y[k],ce=ee+D[oe],we=ee-D[de],Be=_?-w[te]/2:0,Le=H===Nn?N[te]:w[te],be=H===Nn?-w[te]:-N[te],Qe=t.elements.arrow,je=_&&Qe?mo(Qe):{width:0,height:0},Pe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Oc(),Te=Pe[oe],I=Pe[de],q=Os(0,N[te],je[te]),z=F?N[te]/2-Be-q-Te-S.mainAxis:Le-q-Te-S.mainAxis,J=F?-N[te]/2+Be+q+I+S.mainAxis:be+q+I+S.mainAxis,$=t.elements.arrow&&Gs(t.elements.arrow),g=$?k==="y"?$.clientTop||0:$.clientLeft||0:0,v=(Q=K?.[k])!=null?Q:0,C=ee+z-v-g,L=ee+J-v,V=Os(_?Or(ce,C):ce,ee,_?Tn(we,L):we);y[k]=V,B[k]=V-ee}if(l){var M,W=k==="x"?Ge:qe,Y=k==="x"?Je:Ze,x=y[b],j=b==="y"?"height":"width",ne=x+D[W],X=x-D[Y],Z=[Ge,qe].indexOf(P)!==-1,re=(M=K?.[b])!=null?M:0,ae=Z?ne:x-N[j]-w[j]-re+S.altAxis,he=Z?x+N[j]+w[j]-re-S.altAxis:X,ue=_&&Z?Tg(ae,x,he):Os(_?ae:ne,x,_?he:X);y[b]=ue,B[b]=ue-x}t.modifiersData[s]=B}}const Mc={name:"preventOverflow",enabled:!0,phase:"main",fn:Yg,requiresIfExists:["offset"]};function Gg(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function qg(e){return e===et(e)||!ct(e)?yo(e):Gg(e)}function zg(e){var t=e.getBoundingClientRect(),n=ts(t.width)/e.offsetWidth||1,s=ts(t.height)/e.offsetHeight||1;return n!==1||s!==1}function Xg(e,t,n){n===void 0&&(n=!1);var s=ct(t),r=ct(t)&&zg(t),o=ln(t),a=ns(e,r,n),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(s||!s&&!n)&&((Dt(t)!=="body"||Ao(o))&&(l=qg(t)),ct(t)?(c=ns(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=bo(o))),{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function Qg(e){var t=new Map,n=new Set,s=[];e.forEach(function(o){t.set(o.name,o)});function r(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(l){if(!n.has(l)){var c=t.get(l);c&&r(c)}}),s.push(o)}return e.forEach(function(o){n.has(o.name)||r(o)}),s}function Jg(e){var t=Qg(e);return wc.reduce(function(n,s){return n.concat(t.filter(function(r){return r.phase===s}))},[])}function Zg(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function em(e){var t=e.reduce(function(n,s){var r=n[s.name];return n[s.name]=r?Object.assign({},r,s,{options:Object.assign({},r.options,s.options),data:Object.assign({},r.data,s.data)}):s,n},{});return Object.keys(t).map(function(n){return t[n]})}var Xa={placement:"bottom",modifiers:[],strategy:"absolute"};function Qa(){for(var e=arguments.length,t=new Array(e),n=0;npf=e,gf=Symbol();function io(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ms;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ms||(Ms={}));function qv(){const e=Wc(!0),t=e.run(()=>Cn({}));let n=[],s=[];const r=Qr({install(o){si(r),r._a=o,o.provide(gf,r),o.config.globalProperties.$pinia=r,s.forEach(a=>n.push(a)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const mf=()=>{};function jl(e,t,n,s=mf){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&Uc()&&Tm(r),r}function Kn(e,...t){e.slice().forEach(n=>{n(...t)})}const zv=e=>e(),Kl=Symbol(),Pi=Symbol();function oo(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];io(r)&&io(s)&&e.hasOwnProperty(n)&&!Ae(s)&&!sn(s)?e[n]=oo(r,s):e[n]=s}return e}const Xv=Symbol();function Qv(e){return!io(e)||!Object.prototype.hasOwnProperty.call(e,Xv)}const{assign:Xt}=Object;function Jv(e){return!!(Ae(e)&&e.effect)}function Zv(e,t,n,s){const{state:r,actions:o,getters:a}=t,l=n.state.value[e];let c;function d(){l||(n.state.value[e]=r?r():{});const f=Um(n.state.value[e]);return Xt(f,o,Object.keys(a||{}).reduce((h,p)=>(h[p]=Qr(lt(()=>{si(n);const _=n._s.get(e);return a[p].call(_,_)})),h),{}))}return c=_f(e,d,t,n,s,!0),c}function _f(e,t,n={},s,r,o){let a;const l=Xt({actions:{}},n),c={deep:!0};let d,f,h=[],p=[],_;const O=s.state.value[e];!o&&!O&&(s.state.value[e]={}),Cn({});let A;function D(w){let T;d=f=!1,typeof w=="function"?(w(s.state.value[e]),T={type:Ms.patchFunction,storeId:e,events:_}):(oo(s.state.value[e],w),T={type:Ms.patchObject,payload:w,storeId:e,events:_});const S=A=Symbol();Jr().then(()=>{A===S&&(d=!0)}),f=!0,Kn(h,T,s.state.value[e])}const P=o?function(){const{state:T}=n,S=T?T():{};this.$patch(K=>{Xt(K,S)})}:mf;function H(){a.stop(),h=[],p=[],s._s.delete(e)}const F=(w,T="")=>{if(Kl in w)return w[Pi]=T,w;const S=function(){si(s);const K=Array.from(arguments),B=[],Q=[];function oe(ee){B.push(ee)}function de(ee){Q.push(ee)}Kn(p,{args:K,name:S[Pi],store:b,after:oe,onError:de});let te;try{te=w.apply(this&&this.$id===e?this:b,K)}catch(ee){throw Kn(Q,ee),ee}return te instanceof Promise?te.then(ee=>(Kn(B,ee),ee)).catch(ee=>(Kn(Q,ee),Promise.reject(ee))):(Kn(B,te),te)};return S[Kl]=!0,S[Pi]=T,S},k={_p:s,$id:e,$onAction:jl.bind(null,p),$patch:D,$reset:P,$subscribe(w,T={}){const S=jl(h,w,T.detached,()=>K()),K=a.run(()=>On(()=>s.state.value[e],B=>{(T.flush==="sync"?f:d)&&w({storeId:e,type:Ms.direct,events:_},B)},Xt({},c,T)));return S},$dispose:H},b=zs(k);s._s.set(e,b);const N=(s._a&&s._a.runWithContext||zv)(()=>s._e.run(()=>(a=Wc()).run(()=>t({action:F}))));for(const w in N){const T=N[w];if(Ae(T)&&!Jv(T)||sn(T))o||(O&&Qv(T)&&(Ae(T)?T.value=O[w]:oo(T,O[w])),s.state.value[e][w]=T);else if(typeof T=="function"){const S=F(T,w);N[w]=S,l.actions[w]=T}}return Xt(b,N),Xt(fe(b),N),Object.defineProperty(b,"$state",{get:()=>s.state.value[e],set:w=>{D(T=>{Xt(T,w)})}}),s._p.forEach(w=>{Xt(b,a.run(()=>w({store:b,app:s._a,pinia:s,options:l})))}),O&&o&&n.hydrate&&n.hydrate(b.$state,O),d=!0,f=!0,b}/*! #__NO_SIDE_EFFECTS__ */function vf(e,t,n){let s;const r=typeof t=="function";s=r?n:t;function o(a,l){const c=T_();return a=a||(c?ft(gf,null):null),a&&si(a),a=pf,a._s.has(e)||(r?_f(e,t,s,a):Zv(e,s,a)),a._s.get(e)}return o.$id=e,o}const eE="/static/app/dist/img/Logo-2-Rounded-512x512.png";/*! + */let pf;const si=e=>pf=e,gf=Symbol();function io(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ms;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ms||(Ms={}));function qv(){const e=Wc(!0),t=e.run(()=>Cn({}));let n=[],s=[];const r=Qr({install(o){si(r),r._a=o,o.provide(gf,r),o.config.globalProperties.$pinia=r,s.forEach(a=>n.push(a)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const mf=()=>{};function jl(e,t,n,s=mf){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&Uc()&&Tm(r),r}function Kn(e,...t){e.slice().forEach(n=>{n(...t)})}const zv=e=>e(),Kl=Symbol(),Pi=Symbol();function oo(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];io(r)&&io(s)&&e.hasOwnProperty(n)&&!Ae(s)&&!sn(s)?e[n]=oo(r,s):e[n]=s}return e}const Xv=Symbol();function Qv(e){return!io(e)||!Object.prototype.hasOwnProperty.call(e,Xv)}const{assign:Xt}=Object;function Jv(e){return!!(Ae(e)&&e.effect)}function Zv(e,t,n,s){const{state:r,actions:o,getters:a}=t,l=n.state.value[e];let c;function d(){l||(n.state.value[e]=r?r():{});const f=Um(n.state.value[e]);return Xt(f,o,Object.keys(a||{}).reduce((h,p)=>(h[p]=Qr(lt(()=>{si(n);const _=n._s.get(e);return a[p].call(_,_)})),h),{}))}return c=_f(e,d,t,n,s,!0),c}function _f(e,t,n={},s,r,o){let a;const l=Xt({actions:{}},n),c={deep:!0};let d,f,h=[],p=[],_;const O=s.state.value[e];!o&&!O&&(s.state.value[e]={}),Cn({});let A;function D(w){let T;d=f=!1,typeof w=="function"?(w(s.state.value[e]),T={type:Ms.patchFunction,storeId:e,events:_}):(oo(s.state.value[e],w),T={type:Ms.patchObject,payload:w,storeId:e,events:_});const S=A=Symbol();Jr().then(()=>{A===S&&(d=!0)}),f=!0,Kn(h,T,s.state.value[e])}const P=o?function(){const{state:T}=n,S=T?T():{};this.$patch(K=>{Xt(K,S)})}:mf;function H(){a.stop(),h=[],p=[],s._s.delete(e)}const F=(w,T="")=>{if(Kl in w)return w[Pi]=T,w;const S=function(){si(s);const K=Array.from(arguments),B=[],Q=[];function oe(ee){B.push(ee)}function de(ee){Q.push(ee)}Kn(p,{args:K,name:S[Pi],store:b,after:oe,onError:de});let te;try{te=w.apply(this&&this.$id===e?this:b,K)}catch(ee){throw Kn(Q,ee),ee}return te instanceof Promise?te.then(ee=>(Kn(B,ee),ee)).catch(ee=>(Kn(Q,ee),Promise.reject(ee))):(Kn(B,te),te)};return S[Kl]=!0,S[Pi]=T,S},k={_p:s,$id:e,$onAction:jl.bind(null,p),$patch:D,$reset:P,$subscribe(w,T={}){const S=jl(h,w,T.detached,()=>K()),K=a.run(()=>On(()=>s.state.value[e],B=>{(T.flush==="sync"?f:d)&&w({storeId:e,type:Ms.direct,events:_},B)},Xt({},c,T)));return S},$dispose:H},b=zs(k);s._s.set(e,b);const N=(s._a&&s._a.runWithContext||zv)(()=>s._e.run(()=>(a=Wc()).run(()=>t({action:F}))));for(const w in N){const T=N[w];if(Ae(T)&&!Jv(T)||sn(T))o||(O&&Qv(T)&&(Ae(T)?T.value=O[w]:oo(T,O[w])),s.state.value[e][w]=T);else if(typeof T=="function"){const S=F(T,w);N[w]=S,l.actions[w]=T}}return Xt(b,N),Xt(fe(b),N),Object.defineProperty(b,"$state",{get:()=>s.state.value[e],set:w=>{D(T=>{Xt(T,w)})}}),s._p.forEach(w=>{Xt(b,a.run(()=>w({store:b,app:s._a,pinia:s,options:l})))}),O&&o&&n.hydrate&&n.hydrate(b.$state,O),d=!0,f=!0,b}/*! #__NO_SIDE_EFFECTS__ */function vf(e,t,n){let s;const r=typeof t=="function";s=r?n:t;function o(a,l){const c=T_();return a=a||(c?ft(gf,null):null),a&&si(a),a=pf,a._s.has(e)||(r?_f(e,t,s,a):Zv(e,s,a)),a._s.get(e)}return o.$id=e,o}const eE="/static/dist/WGDashboardAdmin/img/Logo-2-Rounded-512x512.png";/*! * vue-router v4.5.1 * (c) 2025 Eduardo San Martin Morote * @license MIT - */const Gn=typeof document<"u";function Ef(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function tE(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ef(e.default)}const pe=Object.assign;function Mi(e,t){const n={};for(const s in t){const r=t[s];n[s]=Tt(r)?r.map(e):e(r)}return n}const ks=()=>{},Tt=Array.isArray,yf=/#/g,nE=/&/g,sE=/\//g,rE=/=/g,iE=/\?/g,bf=/\+/g,oE=/%5B/g,aE=/%5D/g,Af=/%5E/g,lE=/%60/g,Tf=/%7B/g,cE=/%7C/g,wf=/%7D/g,uE=/%20/g;function Qo(e){return encodeURI(""+e).replace(cE,"|").replace(oE,"[").replace(aE,"]")}function fE(e){return Qo(e).replace(Tf,"{").replace(wf,"}").replace(Af,"^")}function ao(e){return Qo(e).replace(bf,"%2B").replace(uE,"+").replace(yf,"%23").replace(nE,"%26").replace(lE,"`").replace(Tf,"{").replace(wf,"}").replace(Af,"^")}function dE(e){return ao(e).replace(rE,"%3D")}function hE(e){return Qo(e).replace(yf,"%23").replace(iE,"%3F")}function pE(e){return e==null?"":hE(e).replace(sE,"%2F")}function Us(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const gE=/\/$/,mE=e=>e.replace(gE,"");function ki(e,t,n="/"){let s,r={},o="",a="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),a=t.slice(l,t.length)),s=yE(s??t,n),{fullPath:s+(o&&"?")+o+a,path:s,query:r,hash:Us(a)}}function _E(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Wl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function vE(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&us(t.matched[s],n.matched[r])&&Cf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function us(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Cf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!EE(e[n],t[n]))return!1;return!0}function EE(e,t){return Tt(e)?Ul(e,t):Tt(t)?Ul(t,e):e===t}function Ul(e,t){return Tt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function yE(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,a,l;for(a=0;a1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(a).join("/")}const qt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ys;(function(e){e.pop="pop",e.push="push"})(Ys||(Ys={}));var Vs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Vs||(Vs={}));function bE(e){if(!e)if(Gn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),mE(e)}const AE=/^[^#]+#/;function TE(e,t){return e.replace(AE,"#")+t}function wE(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ri=()=>({left:window.scrollX,top:window.scrollY});function CE(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=wE(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Yl(e,t){return(history.state?history.state.position-t:-1)+e}const lo=new Map;function SE(e,t){lo.set(e,t)}function OE(e){const t=lo.get(e);return lo.delete(e),t}let NE=()=>location.protocol+"//"+location.host;function Sf(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),Wl(c,"")}return Wl(n,e)+s+r}function xE(e,t,n,s){let r=[],o=[],a=null;const l=({state:p})=>{const _=Sf(e,location),O=n.value,A=t.value;let D=0;if(p){if(n.value=_,t.value=p,a&&a===O){a=null;return}D=A?p.position-A.position:0}else s(_);r.forEach(P=>{P(n.value,O,{delta:D,type:Ys.pop,direction:D?D>0?Vs.forward:Vs.back:Vs.unknown})})};function c(){a=n.value}function d(p){r.push(p);const _=()=>{const O=r.indexOf(p);O>-1&&r.splice(O,1)};return o.push(_),_}function f(){const{history:p}=window;p.state&&p.replaceState(pe({},p.state,{scroll:ri()}),"")}function h(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:c,listen:d,destroy:h}}function Gl(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?ri():null}}function $E(e){const{history:t,location:n}=window,s={value:Sf(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,d,f){const h=e.indexOf("#"),p=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:NE()+e+c;try{t[f?"replaceState":"pushState"](d,"",p),r.value=d}catch(_){console.error(_),n[f?"replace":"assign"](p)}}function a(c,d){const f=pe({},t.state,Gl(r.value.back,c,r.value.forward,!0),d,{position:r.value.position});o(c,f,!0),s.value=c}function l(c,d){const f=pe({},r.value,t.state,{forward:c,scroll:ri()});o(f.current,f,!0);const h=pe({},Gl(s.value,c,null),{position:f.position+1},d);o(c,h,!1),s.value=c}return{location:s,state:r,push:l,replace:a}}function DE(e){e=bE(e);const t=$E(e),n=xE(e,t.state,t.location,t.replace);function s(o,a=!0){a||n.pauseListeners(),history.go(o)}const r=pe({location:"",base:e,go:s,createHref:TE.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function LE(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),DE(e)}function RE(e){return typeof e=="string"||e&&typeof e=="object"}function Of(e){return typeof e=="string"||typeof e=="symbol"}const Nf=Symbol("");var ql;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ql||(ql={}));function fs(e,t){return pe(new Error,{type:e,[Nf]:!0},t)}function Pt(e,t){return e instanceof Error&&Nf in e&&(t==null||!!(e.type&t))}const zl="[^/]+?",IE={sensitive:!1,strict:!1,start:!0,end:!0},PE=/[.+*?^${}()[\]/\\]/g;function ME(e,t){const n=pe({},IE,t),s=[];let r=n.start?"^":"";const o=[];for(const d of e){const f=d.length?[]:[90];n.strict&&!d.length&&(r+="/");for(let h=0;ht.length?t.length===1&&t[0]===80?1:-1:0}function xf(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const VE={type:0,value:""},FE=/[a-zA-Z0-9_]/;function HE(e){if(!e)return[[]];if(e==="/")return[[VE]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(_){throw new Error(`ERR (${n})/"${d}": ${_}`)}let n=0,s=n;const r=[];let o;function a(){o&&r.push(o),o=[]}let l=0,c,d="",f="";function h(){d&&(n===0?o.push({type:0,value:d}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:d,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),d="")}function p(){d+=c}for(;l{a(F)}:ks}function a(h){if(Of(h)){const p=s.get(h);p&&(s.delete(h),n.splice(n.indexOf(p),1),p.children.forEach(a),p.alias.forEach(a))}else{const p=n.indexOf(h);p>-1&&(n.splice(p,1),h.record.name&&s.delete(h.record.name),h.children.forEach(a),h.alias.forEach(a))}}function l(){return n}function c(h){const p=UE(h,n);n.splice(p,0,h),h.record.name&&!Zl(h)&&s.set(h.record.name,h)}function d(h,p){let _,O={},A,D;if("name"in h&&h.name){if(_=s.get(h.name),!_)throw fs(1,{location:h});D=_.record.name,O=pe(Ql(p.params,_.keys.filter(F=>!F.optional).concat(_.parent?_.parent.keys.filter(F=>F.optional):[]).map(F=>F.name)),h.params&&Ql(h.params,_.keys.map(F=>F.name))),A=_.stringify(O)}else if(h.path!=null)A=h.path,_=n.find(F=>F.re.test(A)),_&&(O=_.parse(A),D=_.record.name);else{if(_=p.name?s.get(p.name):n.find(F=>F.re.test(p.path)),!_)throw fs(1,{location:h,currentLocation:p});D=_.record.name,O=pe({},p.params,h.params),A=_.stringify(O)}const P=[];let H=_;for(;H;)P.unshift(H.record),H=H.parent;return{name:D,path:A,params:O,matched:P,meta:WE(P)}}e.forEach(h=>o(h));function f(){n.length=0,s.clear()}return{addRoute:o,resolve:d,removeRoute:a,clearRoutes:f,getRoutes:l,getRecordMatcher:r}}function Ql(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Jl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:KE(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function KE(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Zl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function WE(e){return e.reduce((t,n)=>pe(t,n.meta),{})}function ec(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function UE(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;xf(e,t[o])<0?s=o:n=o+1}const r=YE(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function YE(e){let t=e;for(;t=t.parent;)if($f(t)&&xf(e,t)===0)return t}function $f({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function GE(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&ao(o)):[s&&ao(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function qE(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Tt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const zE=Symbol(""),nc=Symbol(""),ii=Symbol(""),Jo=Symbol(""),co=Symbol("");function Cs(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function en(e,t,n,s,r,o=a=>a()){const a=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const d=p=>{p===!1?c(fs(4,{from:n,to:t})):p instanceof Error?c(p):RE(p)?c(fs(2,{from:t,to:p})):(a&&s.enterCallbacks[r]===a&&typeof p=="function"&&a.push(p),l())},f=o(()=>e.call(s&&s.instances[r],t,n,d));let h=Promise.resolve(f);e.length<3&&(h=h.then(d)),h.catch(p=>c(p))})}function Vi(e,t,n,s,r=o=>o()){const o=[];for(const a of e)for(const l in a.components){let c=a.components[l];if(!(t!=="beforeRouteEnter"&&!a.instances[l]))if(Ef(c)){const f=(c.__vccOpts||c)[t];f&&o.push(en(f,n,s,a,l,r))}else{let d=c();o.push(()=>d.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${l}" at "${a.path}"`);const h=tE(f)?f.default:f;a.mods[l]=f,a.components[l]=h;const _=(h.__vccOpts||h)[t];return _&&en(_,n,s,a,l,r)()}))}}return o}function sc(e){const t=ft(ii),n=ft(Jo),s=lt(()=>{const c=at(e.to);return t.resolve(c)}),r=lt(()=>{const{matched:c}=s.value,{length:d}=c,f=c[d-1],h=n.matched;if(!f||!h.length)return-1;const p=h.findIndex(us.bind(null,f));if(p>-1)return p;const _=rc(c[d-2]);return d>1&&rc(f)===_&&h[h.length-1].path!==_?h.findIndex(us.bind(null,c[d-2])):p}),o=lt(()=>r.value>-1&&ey(n.params,s.value.params)),a=lt(()=>r.value>-1&&r.value===n.matched.length-1&&Cf(n.params,s.value.params));function l(c={}){if(ZE(c)){const d=t[at(e.replace)?"replace":"push"](at(e.to)).catch(ks);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:s,href:lt(()=>s.value.href),isActive:o,isExactActive:a,navigate:l}}function XE(e){return e.length===1?e[0]:e}const QE=Fo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:sc,setup(e,{slots:t}){const n=zs(sc(e)),{options:s}=ft(ii),r=lt(()=>({[ic(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ic(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&XE(t.default(n));return e.custom?o:Xo("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),JE=QE;function ZE(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function ey(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Tt(r)||r.length!==s.length||s.some((o,a)=>o!==r[a]))return!1}return!0}function rc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ic=(e,t,n)=>e??t??n,ty=Fo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ft(co),r=lt(()=>e.route||s.value),o=ft(nc,0),a=lt(()=>{let d=at(o);const{matched:f}=r.value;let h;for(;(h=f[d])&&!h.components;)d++;return d}),l=lt(()=>r.value.matched[a.value]);Tr(nc,lt(()=>a.value+1)),Tr(zE,l),Tr(co,r);const c=Cn();return On(()=>[c.value,l.value,e.name],([d,f,h],[p,_,O])=>{f&&(f.instances[h]=d,_&&_!==f&&d&&d===p&&(f.leaveGuards.size||(f.leaveGuards=_.leaveGuards),f.updateGuards.size||(f.updateGuards=_.updateGuards))),d&&f&&(!_||!us(f,_)||!p)&&(f.enterCallbacks[h]||[]).forEach(A=>A(d))},{flush:"post"}),()=>{const d=r.value,f=e.name,h=l.value,p=h&&h.components[f];if(!p)return oc(n.default,{Component:p,route:d});const _=h.props[f],O=_?_===!0?d.params:typeof _=="function"?_(d):_:null,D=Xo(p,pe({},O,t,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(h.instances[f]=null)},ref:c}));return oc(n.default,{Component:D,route:d})||D}}});function oc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Df=ty;function ny(e){const t=jE(e.routes,e),n=e.parseQuery||GE,s=e.stringifyQuery||tc,r=e.history,o=Cs(),a=Cs(),l=Cs(),c=lu(qt);let d=qt;Gn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Mi.bind(null,I=>""+I),h=Mi.bind(null,pE),p=Mi.bind(null,Us);function _(I,q){let z,J;return Of(I)?(z=t.getRecordMatcher(I),J=q):J=I,t.addRoute(J,z)}function O(I){const q=t.getRecordMatcher(I);q&&t.removeRoute(q)}function A(){return t.getRoutes().map(I=>I.record)}function D(I){return!!t.getRecordMatcher(I)}function P(I,q){if(q=pe({},q||c.value),typeof I=="string"){const C=ki(n,I,q.path),L=t.resolve({path:C.path},q),V=r.createHref(C.fullPath);return pe(C,L,{params:p(L.params),hash:Us(C.hash),redirectedFrom:void 0,href:V})}let z;if(I.path!=null)z=pe({},I,{path:ki(n,I.path,q.path).path});else{const C=pe({},I.params);for(const L in C)C[L]==null&&delete C[L];z=pe({},I,{params:h(C)}),q.params=h(q.params)}const J=t.resolve(z,q),$=I.hash||"";J.params=f(p(J.params));const g=_E(s,pe({},I,{hash:fE($),path:J.path})),v=r.createHref(g);return pe({fullPath:g,hash:$,query:s===tc?qE(I.query):I.query||{}},J,{redirectedFrom:void 0,href:v})}function H(I){return typeof I=="string"?ki(n,I,c.value.path):pe({},I)}function F(I,q){if(d!==I)return fs(8,{from:q,to:I})}function k(I){return N(I)}function b(I){return k(pe(H(I),{replace:!0}))}function y(I){const q=I.matched[I.matched.length-1];if(q&&q.redirect){const{redirect:z}=q;let J=typeof z=="function"?z(I):z;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=H(J):{path:J},J.params={}),pe({query:I.query,hash:I.hash,params:J.path!=null?{}:I.params},J)}}function N(I,q){const z=d=P(I),J=c.value,$=I.state,g=I.force,v=I.replace===!0,C=y(z);if(C)return N(pe(H(C),{state:typeof C=="object"?pe({},$,C.state):$,force:g,replace:v}),q||z);const L=z;L.redirectedFrom=q;let V;return!g&&vE(s,J,z)&&(V=fs(16,{to:L,from:J}),Le(J,J,!0,!1)),(V?Promise.resolve(V):S(L,J)).catch(M=>Pt(M)?Pt(M,2)?M:Be(M):ce(M,L,J)).then(M=>{if(M){if(Pt(M,2))return N(pe({replace:v},H(M.to),{state:typeof M.to=="object"?pe({},$,M.to.state):$,force:g}),q||L)}else M=B(L,J,!0,v,$);return K(L,J,M),M})}function w(I,q){const z=F(I,q);return z?Promise.reject(z):Promise.resolve()}function T(I){const q=je.values().next().value;return q&&typeof q.runWithContext=="function"?q.runWithContext(I):I()}function S(I,q){let z;const[J,$,g]=sy(I,q);z=Vi(J.reverse(),"beforeRouteLeave",I,q);for(const C of J)C.leaveGuards.forEach(L=>{z.push(en(L,I,q))});const v=w.bind(null,I,q);return z.push(v),Te(z).then(()=>{z=[];for(const C of o.list())z.push(en(C,I,q));return z.push(v),Te(z)}).then(()=>{z=Vi($,"beforeRouteUpdate",I,q);for(const C of $)C.updateGuards.forEach(L=>{z.push(en(L,I,q))});return z.push(v),Te(z)}).then(()=>{z=[];for(const C of g)if(C.beforeEnter)if(Tt(C.beforeEnter))for(const L of C.beforeEnter)z.push(en(L,I,q));else z.push(en(C.beforeEnter,I,q));return z.push(v),Te(z)}).then(()=>(I.matched.forEach(C=>C.enterCallbacks={}),z=Vi(g,"beforeRouteEnter",I,q,T),z.push(v),Te(z))).then(()=>{z=[];for(const C of a.list())z.push(en(C,I,q));return z.push(v),Te(z)}).catch(C=>Pt(C,8)?C:Promise.reject(C))}function K(I,q,z){l.list().forEach(J=>T(()=>J(I,q,z)))}function B(I,q,z,J,$){const g=F(I,q);if(g)return g;const v=q===qt,C=Gn?history.state:{};z&&(J||v?r.replace(I.fullPath,pe({scroll:v&&C&&C.scroll},$)):r.push(I.fullPath,$)),c.value=I,Le(I,q,z,v),Be()}let Q;function oe(){Q||(Q=r.listen((I,q,z)=>{if(!Pe.listening)return;const J=P(I),$=y(J);if($){N(pe($,{replace:!0,force:!0}),J).catch(ks);return}d=J;const g=c.value;Gn&&SE(Yl(g.fullPath,z.delta),ri()),S(J,g).catch(v=>Pt(v,12)?v:Pt(v,2)?(N(pe(H(v.to),{force:!0}),J).then(C=>{Pt(C,20)&&!z.delta&&z.type===Ys.pop&&r.go(-1,!1)}).catch(ks),Promise.reject()):(z.delta&&r.go(-z.delta,!1),ce(v,J,g))).then(v=>{v=v||B(J,g,!1),v&&(z.delta&&!Pt(v,8)?r.go(-z.delta,!1):z.type===Ys.pop&&Pt(v,20)&&r.go(-1,!1)),K(J,g,v)}).catch(ks)}))}let de=Cs(),te=Cs(),ee;function ce(I,q,z){Be(I);const J=te.list();return J.length?J.forEach($=>$(I,q,z)):console.error(I),Promise.reject(I)}function we(){return ee&&c.value!==qt?Promise.resolve():new Promise((I,q)=>{de.add([I,q])})}function Be(I){return ee||(ee=!I,oe(),de.list().forEach(([q,z])=>I?z(I):q()),de.reset()),I}function Le(I,q,z,J){const{scrollBehavior:$}=e;if(!Gn||!$)return Promise.resolve();const g=!z&&OE(Yl(I.fullPath,0))||(J||!z)&&history.state&&history.state.scroll||null;return Jr().then(()=>$(I,q,g)).then(v=>v&&CE(v)).catch(v=>ce(v,I,q))}const be=I=>r.go(I);let Qe;const je=new Set,Pe={currentRoute:c,listening:!0,addRoute:_,removeRoute:O,clearRoutes:t.clearRoutes,hasRoute:D,getRoutes:A,resolve:P,options:e,push:k,replace:b,go:be,back:()=>be(-1),forward:()=>be(1),beforeEach:o.add,beforeResolve:a.add,afterEach:l.add,onError:te.add,isReady:we,install(I){const q=this;I.component("RouterLink",JE),I.component("RouterView",Df),I.config.globalProperties.$router=q,Object.defineProperty(I.config.globalProperties,"$route",{enumerable:!0,get:()=>at(c)}),Gn&&!Qe&&c.value===qt&&(Qe=!0,k(r.location).catch($=>{}));const z={};for(const $ in qt)Object.defineProperty(z,$,{get:()=>c.value[$],enumerable:!0});I.provide(ii,q),I.provide(Jo,ou(z)),I.provide(co,c);const J=I.unmount;je.add(I),I.unmount=function(){je.delete(I),je.size<1&&(d=qt,Q&&Q(),Q=null,c.value=qt,Qe=!1,ee=!1),J()}}};function Te(I){return I.reduce((q,z)=>q.then(()=>T(z)),Promise.resolve())}return Pe}function sy(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;aus(d,l))?s.push(l):n.push(l));const c=e.matched[a];c&&(t.matched.find(d=>us(d,c))||r.push(c))}return[n,s,r]}function yb(){return ft(ii)}function ry(e){return ft(Jo)}const iy="modulepreload",oy=function(e){return"/static/app/dist/"+e},ac={},Ve=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let c=function(d){return Promise.all(d.map(f=>Promise.resolve(f).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");r=c(n.map(d=>{if(d=oy(d),d in ac)return;ac[d]=!0;const f=d.endsWith(".css"),h=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${h}`))return;const p=document.createElement("link");if(p.rel=f?"stylesheet":iy,f||(p.as="script"),p.crossOrigin="",p.href=d,l&&p.setAttribute("nonce",l),document.head.appendChild(p),f)return new Promise((_,O)=>{p.addEventListener("load",_),p.addEventListener("error",()=>O(new Error(`Unable to preload CSS for ${d}`)))})}))}function o(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return r.then(a=>{for(const l of a||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},lc="[a-fA-F\\d:]",tn=e=>e&&e.includeBoundaries?`(?:(?<=\\s|^)(?=${lc})|(?<=${lc})(?=\\s|$))`:"",_t="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",Se="[a-fA-F\\d]{1,4}",oi=` + */const Gn=typeof document<"u";function Ef(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function tE(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ef(e.default)}const pe=Object.assign;function Mi(e,t){const n={};for(const s in t){const r=t[s];n[s]=Tt(r)?r.map(e):e(r)}return n}const ks=()=>{},Tt=Array.isArray,yf=/#/g,nE=/&/g,sE=/\//g,rE=/=/g,iE=/\?/g,bf=/\+/g,oE=/%5B/g,aE=/%5D/g,Af=/%5E/g,lE=/%60/g,Tf=/%7B/g,cE=/%7C/g,wf=/%7D/g,uE=/%20/g;function Qo(e){return encodeURI(""+e).replace(cE,"|").replace(oE,"[").replace(aE,"]")}function fE(e){return Qo(e).replace(Tf,"{").replace(wf,"}").replace(Af,"^")}function ao(e){return Qo(e).replace(bf,"%2B").replace(uE,"+").replace(yf,"%23").replace(nE,"%26").replace(lE,"`").replace(Tf,"{").replace(wf,"}").replace(Af,"^")}function dE(e){return ao(e).replace(rE,"%3D")}function hE(e){return Qo(e).replace(yf,"%23").replace(iE,"%3F")}function pE(e){return e==null?"":hE(e).replace(sE,"%2F")}function Us(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const gE=/\/$/,mE=e=>e.replace(gE,"");function ki(e,t,n="/"){let s,r={},o="",a="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),a=t.slice(l,t.length)),s=yE(s??t,n),{fullPath:s+(o&&"?")+o+a,path:s,query:r,hash:Us(a)}}function _E(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Wl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function vE(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&us(t.matched[s],n.matched[r])&&Cf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function us(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Cf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!EE(e[n],t[n]))return!1;return!0}function EE(e,t){return Tt(e)?Ul(e,t):Tt(t)?Ul(t,e):e===t}function Ul(e,t){return Tt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function yE(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,a,l;for(a=0;a1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(a).join("/")}const qt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ys;(function(e){e.pop="pop",e.push="push"})(Ys||(Ys={}));var Vs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Vs||(Vs={}));function bE(e){if(!e)if(Gn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),mE(e)}const AE=/^[^#]+#/;function TE(e,t){return e.replace(AE,"#")+t}function wE(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ri=()=>({left:window.scrollX,top:window.scrollY});function CE(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=wE(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Yl(e,t){return(history.state?history.state.position-t:-1)+e}const lo=new Map;function SE(e,t){lo.set(e,t)}function OE(e){const t=lo.get(e);return lo.delete(e),t}let NE=()=>location.protocol+"//"+location.host;function Sf(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),Wl(c,"")}return Wl(n,e)+s+r}function xE(e,t,n,s){let r=[],o=[],a=null;const l=({state:p})=>{const _=Sf(e,location),O=n.value,A=t.value;let D=0;if(p){if(n.value=_,t.value=p,a&&a===O){a=null;return}D=A?p.position-A.position:0}else s(_);r.forEach(P=>{P(n.value,O,{delta:D,type:Ys.pop,direction:D?D>0?Vs.forward:Vs.back:Vs.unknown})})};function c(){a=n.value}function d(p){r.push(p);const _=()=>{const O=r.indexOf(p);O>-1&&r.splice(O,1)};return o.push(_),_}function f(){const{history:p}=window;p.state&&p.replaceState(pe({},p.state,{scroll:ri()}),"")}function h(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:c,listen:d,destroy:h}}function Gl(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?ri():null}}function $E(e){const{history:t,location:n}=window,s={value:Sf(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,d,f){const h=e.indexOf("#"),p=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:NE()+e+c;try{t[f?"replaceState":"pushState"](d,"",p),r.value=d}catch(_){console.error(_),n[f?"replace":"assign"](p)}}function a(c,d){const f=pe({},t.state,Gl(r.value.back,c,r.value.forward,!0),d,{position:r.value.position});o(c,f,!0),s.value=c}function l(c,d){const f=pe({},r.value,t.state,{forward:c,scroll:ri()});o(f.current,f,!0);const h=pe({},Gl(s.value,c,null),{position:f.position+1},d);o(c,h,!1),s.value=c}return{location:s,state:r,push:l,replace:a}}function DE(e){e=bE(e);const t=$E(e),n=xE(e,t.state,t.location,t.replace);function s(o,a=!0){a||n.pauseListeners(),history.go(o)}const r=pe({location:"",base:e,go:s,createHref:TE.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function LE(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),DE(e)}function RE(e){return typeof e=="string"||e&&typeof e=="object"}function Of(e){return typeof e=="string"||typeof e=="symbol"}const Nf=Symbol("");var ql;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ql||(ql={}));function fs(e,t){return pe(new Error,{type:e,[Nf]:!0},t)}function Pt(e,t){return e instanceof Error&&Nf in e&&(t==null||!!(e.type&t))}const zl="[^/]+?",IE={sensitive:!1,strict:!1,start:!0,end:!0},PE=/[.+*?^${}()[\]/\\]/g;function ME(e,t){const n=pe({},IE,t),s=[];let r=n.start?"^":"";const o=[];for(const d of e){const f=d.length?[]:[90];n.strict&&!d.length&&(r+="/");for(let h=0;ht.length?t.length===1&&t[0]===80?1:-1:0}function xf(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const VE={type:0,value:""},FE=/[a-zA-Z0-9_]/;function HE(e){if(!e)return[[]];if(e==="/")return[[VE]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(_){throw new Error(`ERR (${n})/"${d}": ${_}`)}let n=0,s=n;const r=[];let o;function a(){o&&r.push(o),o=[]}let l=0,c,d="",f="";function h(){d&&(n===0?o.push({type:0,value:d}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:d,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),d="")}function p(){d+=c}for(;l{a(F)}:ks}function a(h){if(Of(h)){const p=s.get(h);p&&(s.delete(h),n.splice(n.indexOf(p),1),p.children.forEach(a),p.alias.forEach(a))}else{const p=n.indexOf(h);p>-1&&(n.splice(p,1),h.record.name&&s.delete(h.record.name),h.children.forEach(a),h.alias.forEach(a))}}function l(){return n}function c(h){const p=UE(h,n);n.splice(p,0,h),h.record.name&&!Zl(h)&&s.set(h.record.name,h)}function d(h,p){let _,O={},A,D;if("name"in h&&h.name){if(_=s.get(h.name),!_)throw fs(1,{location:h});D=_.record.name,O=pe(Ql(p.params,_.keys.filter(F=>!F.optional).concat(_.parent?_.parent.keys.filter(F=>F.optional):[]).map(F=>F.name)),h.params&&Ql(h.params,_.keys.map(F=>F.name))),A=_.stringify(O)}else if(h.path!=null)A=h.path,_=n.find(F=>F.re.test(A)),_&&(O=_.parse(A),D=_.record.name);else{if(_=p.name?s.get(p.name):n.find(F=>F.re.test(p.path)),!_)throw fs(1,{location:h,currentLocation:p});D=_.record.name,O=pe({},p.params,h.params),A=_.stringify(O)}const P=[];let H=_;for(;H;)P.unshift(H.record),H=H.parent;return{name:D,path:A,params:O,matched:P,meta:WE(P)}}e.forEach(h=>o(h));function f(){n.length=0,s.clear()}return{addRoute:o,resolve:d,removeRoute:a,clearRoutes:f,getRoutes:l,getRecordMatcher:r}}function Ql(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Jl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:KE(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function KE(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Zl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function WE(e){return e.reduce((t,n)=>pe(t,n.meta),{})}function ec(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function UE(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;xf(e,t[o])<0?s=o:n=o+1}const r=YE(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function YE(e){let t=e;for(;t=t.parent;)if($f(t)&&xf(e,t)===0)return t}function $f({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function GE(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&ao(o)):[s&&ao(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function qE(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Tt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const zE=Symbol(""),nc=Symbol(""),ii=Symbol(""),Jo=Symbol(""),co=Symbol("");function Cs(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function en(e,t,n,s,r,o=a=>a()){const a=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const d=p=>{p===!1?c(fs(4,{from:n,to:t})):p instanceof Error?c(p):RE(p)?c(fs(2,{from:t,to:p})):(a&&s.enterCallbacks[r]===a&&typeof p=="function"&&a.push(p),l())},f=o(()=>e.call(s&&s.instances[r],t,n,d));let h=Promise.resolve(f);e.length<3&&(h=h.then(d)),h.catch(p=>c(p))})}function Vi(e,t,n,s,r=o=>o()){const o=[];for(const a of e)for(const l in a.components){let c=a.components[l];if(!(t!=="beforeRouteEnter"&&!a.instances[l]))if(Ef(c)){const f=(c.__vccOpts||c)[t];f&&o.push(en(f,n,s,a,l,r))}else{let d=c();o.push(()=>d.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${l}" at "${a.path}"`);const h=tE(f)?f.default:f;a.mods[l]=f,a.components[l]=h;const _=(h.__vccOpts||h)[t];return _&&en(_,n,s,a,l,r)()}))}}return o}function sc(e){const t=ft(ii),n=ft(Jo),s=lt(()=>{const c=at(e.to);return t.resolve(c)}),r=lt(()=>{const{matched:c}=s.value,{length:d}=c,f=c[d-1],h=n.matched;if(!f||!h.length)return-1;const p=h.findIndex(us.bind(null,f));if(p>-1)return p;const _=rc(c[d-2]);return d>1&&rc(f)===_&&h[h.length-1].path!==_?h.findIndex(us.bind(null,c[d-2])):p}),o=lt(()=>r.value>-1&&ey(n.params,s.value.params)),a=lt(()=>r.value>-1&&r.value===n.matched.length-1&&Cf(n.params,s.value.params));function l(c={}){if(ZE(c)){const d=t[at(e.replace)?"replace":"push"](at(e.to)).catch(ks);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:s,href:lt(()=>s.value.href),isActive:o,isExactActive:a,navigate:l}}function XE(e){return e.length===1?e[0]:e}const QE=Fo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:sc,setup(e,{slots:t}){const n=zs(sc(e)),{options:s}=ft(ii),r=lt(()=>({[ic(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ic(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&XE(t.default(n));return e.custom?o:Xo("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),JE=QE;function ZE(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function ey(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Tt(r)||r.length!==s.length||s.some((o,a)=>o!==r[a]))return!1}return!0}function rc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ic=(e,t,n)=>e??t??n,ty=Fo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ft(co),r=lt(()=>e.route||s.value),o=ft(nc,0),a=lt(()=>{let d=at(o);const{matched:f}=r.value;let h;for(;(h=f[d])&&!h.components;)d++;return d}),l=lt(()=>r.value.matched[a.value]);Tr(nc,lt(()=>a.value+1)),Tr(zE,l),Tr(co,r);const c=Cn();return On(()=>[c.value,l.value,e.name],([d,f,h],[p,_,O])=>{f&&(f.instances[h]=d,_&&_!==f&&d&&d===p&&(f.leaveGuards.size||(f.leaveGuards=_.leaveGuards),f.updateGuards.size||(f.updateGuards=_.updateGuards))),d&&f&&(!_||!us(f,_)||!p)&&(f.enterCallbacks[h]||[]).forEach(A=>A(d))},{flush:"post"}),()=>{const d=r.value,f=e.name,h=l.value,p=h&&h.components[f];if(!p)return oc(n.default,{Component:p,route:d});const _=h.props[f],O=_?_===!0?d.params:typeof _=="function"?_(d):_:null,D=Xo(p,pe({},O,t,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(h.instances[f]=null)},ref:c}));return oc(n.default,{Component:D,route:d})||D}}});function oc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Df=ty;function ny(e){const t=jE(e.routes,e),n=e.parseQuery||GE,s=e.stringifyQuery||tc,r=e.history,o=Cs(),a=Cs(),l=Cs(),c=lu(qt);let d=qt;Gn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Mi.bind(null,I=>""+I),h=Mi.bind(null,pE),p=Mi.bind(null,Us);function _(I,q){let z,J;return Of(I)?(z=t.getRecordMatcher(I),J=q):J=I,t.addRoute(J,z)}function O(I){const q=t.getRecordMatcher(I);q&&t.removeRoute(q)}function A(){return t.getRoutes().map(I=>I.record)}function D(I){return!!t.getRecordMatcher(I)}function P(I,q){if(q=pe({},q||c.value),typeof I=="string"){const C=ki(n,I,q.path),L=t.resolve({path:C.path},q),V=r.createHref(C.fullPath);return pe(C,L,{params:p(L.params),hash:Us(C.hash),redirectedFrom:void 0,href:V})}let z;if(I.path!=null)z=pe({},I,{path:ki(n,I.path,q.path).path});else{const C=pe({},I.params);for(const L in C)C[L]==null&&delete C[L];z=pe({},I,{params:h(C)}),q.params=h(q.params)}const J=t.resolve(z,q),$=I.hash||"";J.params=f(p(J.params));const g=_E(s,pe({},I,{hash:fE($),path:J.path})),v=r.createHref(g);return pe({fullPath:g,hash:$,query:s===tc?qE(I.query):I.query||{}},J,{redirectedFrom:void 0,href:v})}function H(I){return typeof I=="string"?ki(n,I,c.value.path):pe({},I)}function F(I,q){if(d!==I)return fs(8,{from:q,to:I})}function k(I){return N(I)}function b(I){return k(pe(H(I),{replace:!0}))}function y(I){const q=I.matched[I.matched.length-1];if(q&&q.redirect){const{redirect:z}=q;let J=typeof z=="function"?z(I):z;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=H(J):{path:J},J.params={}),pe({query:I.query,hash:I.hash,params:J.path!=null?{}:I.params},J)}}function N(I,q){const z=d=P(I),J=c.value,$=I.state,g=I.force,v=I.replace===!0,C=y(z);if(C)return N(pe(H(C),{state:typeof C=="object"?pe({},$,C.state):$,force:g,replace:v}),q||z);const L=z;L.redirectedFrom=q;let V;return!g&&vE(s,J,z)&&(V=fs(16,{to:L,from:J}),Le(J,J,!0,!1)),(V?Promise.resolve(V):S(L,J)).catch(M=>Pt(M)?Pt(M,2)?M:Be(M):ce(M,L,J)).then(M=>{if(M){if(Pt(M,2))return N(pe({replace:v},H(M.to),{state:typeof M.to=="object"?pe({},$,M.to.state):$,force:g}),q||L)}else M=B(L,J,!0,v,$);return K(L,J,M),M})}function w(I,q){const z=F(I,q);return z?Promise.reject(z):Promise.resolve()}function T(I){const q=je.values().next().value;return q&&typeof q.runWithContext=="function"?q.runWithContext(I):I()}function S(I,q){let z;const[J,$,g]=sy(I,q);z=Vi(J.reverse(),"beforeRouteLeave",I,q);for(const C of J)C.leaveGuards.forEach(L=>{z.push(en(L,I,q))});const v=w.bind(null,I,q);return z.push(v),Te(z).then(()=>{z=[];for(const C of o.list())z.push(en(C,I,q));return z.push(v),Te(z)}).then(()=>{z=Vi($,"beforeRouteUpdate",I,q);for(const C of $)C.updateGuards.forEach(L=>{z.push(en(L,I,q))});return z.push(v),Te(z)}).then(()=>{z=[];for(const C of g)if(C.beforeEnter)if(Tt(C.beforeEnter))for(const L of C.beforeEnter)z.push(en(L,I,q));else z.push(en(C.beforeEnter,I,q));return z.push(v),Te(z)}).then(()=>(I.matched.forEach(C=>C.enterCallbacks={}),z=Vi(g,"beforeRouteEnter",I,q,T),z.push(v),Te(z))).then(()=>{z=[];for(const C of a.list())z.push(en(C,I,q));return z.push(v),Te(z)}).catch(C=>Pt(C,8)?C:Promise.reject(C))}function K(I,q,z){l.list().forEach(J=>T(()=>J(I,q,z)))}function B(I,q,z,J,$){const g=F(I,q);if(g)return g;const v=q===qt,C=Gn?history.state:{};z&&(J||v?r.replace(I.fullPath,pe({scroll:v&&C&&C.scroll},$)):r.push(I.fullPath,$)),c.value=I,Le(I,q,z,v),Be()}let Q;function oe(){Q||(Q=r.listen((I,q,z)=>{if(!Pe.listening)return;const J=P(I),$=y(J);if($){N(pe($,{replace:!0,force:!0}),J).catch(ks);return}d=J;const g=c.value;Gn&&SE(Yl(g.fullPath,z.delta),ri()),S(J,g).catch(v=>Pt(v,12)?v:Pt(v,2)?(N(pe(H(v.to),{force:!0}),J).then(C=>{Pt(C,20)&&!z.delta&&z.type===Ys.pop&&r.go(-1,!1)}).catch(ks),Promise.reject()):(z.delta&&r.go(-z.delta,!1),ce(v,J,g))).then(v=>{v=v||B(J,g,!1),v&&(z.delta&&!Pt(v,8)?r.go(-z.delta,!1):z.type===Ys.pop&&Pt(v,20)&&r.go(-1,!1)),K(J,g,v)}).catch(ks)}))}let de=Cs(),te=Cs(),ee;function ce(I,q,z){Be(I);const J=te.list();return J.length?J.forEach($=>$(I,q,z)):console.error(I),Promise.reject(I)}function we(){return ee&&c.value!==qt?Promise.resolve():new Promise((I,q)=>{de.add([I,q])})}function Be(I){return ee||(ee=!I,oe(),de.list().forEach(([q,z])=>I?z(I):q()),de.reset()),I}function Le(I,q,z,J){const{scrollBehavior:$}=e;if(!Gn||!$)return Promise.resolve();const g=!z&&OE(Yl(I.fullPath,0))||(J||!z)&&history.state&&history.state.scroll||null;return Jr().then(()=>$(I,q,g)).then(v=>v&&CE(v)).catch(v=>ce(v,I,q))}const be=I=>r.go(I);let Qe;const je=new Set,Pe={currentRoute:c,listening:!0,addRoute:_,removeRoute:O,clearRoutes:t.clearRoutes,hasRoute:D,getRoutes:A,resolve:P,options:e,push:k,replace:b,go:be,back:()=>be(-1),forward:()=>be(1),beforeEach:o.add,beforeResolve:a.add,afterEach:l.add,onError:te.add,isReady:we,install(I){const q=this;I.component("RouterLink",JE),I.component("RouterView",Df),I.config.globalProperties.$router=q,Object.defineProperty(I.config.globalProperties,"$route",{enumerable:!0,get:()=>at(c)}),Gn&&!Qe&&c.value===qt&&(Qe=!0,k(r.location).catch($=>{}));const z={};for(const $ in qt)Object.defineProperty(z,$,{get:()=>c.value[$],enumerable:!0});I.provide(ii,q),I.provide(Jo,ou(z)),I.provide(co,c);const J=I.unmount;je.add(I),I.unmount=function(){je.delete(I),je.size<1&&(d=qt,Q&&Q(),Q=null,c.value=qt,Qe=!1,ee=!1),J()}}};function Te(I){return I.reduce((q,z)=>q.then(()=>T(z)),Promise.resolve())}return Pe}function sy(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;aus(d,l))?s.push(l):n.push(l));const c=e.matched[a];c&&(t.matched.find(d=>us(d,c))||r.push(c))}return[n,s,r]}function yb(){return ft(ii)}function ry(e){return ft(Jo)}const iy="modulepreload",oy=function(e){return"/static/dist/WGDashboardAdmin/"+e},ac={},Ve=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let c=function(d){return Promise.all(d.map(f=>Promise.resolve(f).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");r=c(n.map(d=>{if(d=oy(d),d in ac)return;ac[d]=!0;const f=d.endsWith(".css"),h=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${h}`))return;const p=document.createElement("link");if(p.rel=f?"stylesheet":iy,f||(p.as="script"),p.crossOrigin="",p.href=d,l&&p.setAttribute("nonce",l),document.head.appendChild(p),f)return new Promise((_,O)=>{p.addEventListener("load",_),p.addEventListener("error",()=>O(new Error(`Unable to preload CSS for ${d}`)))})}))}function o(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return r.then(a=>{for(const l of a||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},lc="[a-fA-F\\d:]",tn=e=>e&&e.includeBoundaries?`(?:(?<=\\s|^)(?=${lc})|(?<=${lc})(?=\\s|$))`:"",_t="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",Se="[a-fA-F\\d]{1,4}",oi=` (?: (?:${Se}:){7}(?:${Se}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8 (?:${Se}:){6}(?:${_t}|:${Se}|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4 @@ -38,7 +38,7 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-DNNYGJNG. (?:${Se}:){1}(?:(?::${Se}){0,4}:${_t}|(?::${Se}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4 (?::(?:(?::${Se}){0,5}:${_t}|(?::${Se}){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4 )(?:%[0-9a-zA-Z]{1,})? // %eth0 %1 -`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),ay=new RegExp(`(?:^${_t}$)|(?:^${oi}$)`),ly=new RegExp(`^${_t}$`),cy=new RegExp(`^${oi}$`),ai=e=>e&&e.exact?ay:new RegExp(`(?:${tn(e)}${_t}${tn(e)})|(?:${tn(e)}${oi}${tn(e)})`,"g");ai.v4=e=>e&&e.exact?ly:new RegExp(`${tn(e)}${_t}${tn(e)}`,"g");ai.v6=e=>e&&e.exact?cy:new RegExp(`${tn(e)}${oi}${tn(e)}`,"g");const Lf={exact:!1},Rf=`${ai.v4().source}\\/(3[0-2]|[12]?[0-9])`,If=`${ai.v6().source}\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])`,uy=new RegExp(`^${Rf}$`),fy=new RegExp(`^${If}$`),dy=({exact:e}=Lf)=>e?uy:new RegExp(Rf,"g"),hy=({exact:e}=Lf)=>e?fy:new RegExp(If,"g"),Pf=dy({exact:!0}),Mf=hy({exact:!0}),Zo=e=>Pf.test(e)?4:Mf.test(e)?6:0;Zo.v4=e=>Pf.test(e);Zo.v6=e=>Mf.test(e);const ot=e=>{const t=un();if(t.Locale===null)return e;const s=Object.keys(t.Locale).filter(r=>e.match(new RegExp("^"+r+"$","gi"))!==null);return s.length===0||s.length>1||t.Locale[s[0]].length===0?e:e.replace(new RegExp(s[0],"gi"),t.Locale[s[0]])},py=vf("WireguardConfigurationsStore",{state:()=>({Configurations:[],ConfigurationLoaded:!1,searchString:"",ConfigurationListInterval:void 0,SortOptions:{Name:ot("Name"),Status:ot("Status"),"DataUsage.Total":ot("Total Usage")},CurrentSort:{key:"Name",order:"asc"},CurrentDisplay:"List",PeerScheduleJobs:{dropdowns:{Field:[{display:ot("Total Received"),value:"total_receive",unit:"GB",type:"number"},{display:ot("Total Sent"),value:"total_sent",unit:"GB",type:"number"},{display:ot("Total Usage"),value:"total_data",unit:"GB",type:"number"},{display:ot("Date"),value:"date",type:"date"}],Operator:[{display:ot("larger than"),value:"lgt"}],Action:[{display:ot("Restrict Peer"),value:"restrict"},{display:ot("Delete Peer"),value:"delete"}]}}}),getters:{sortConfigurations(){return[...this.Configurations].sort((e,t)=>this.CurrentSort.order==="desc"?this.dotNotation(e,this.CurrentSort.key)this.dotNotation(t,this.CurrentSort.key)?-1:0:this.dotNotation(e,this.CurrentSort.key)>this.dotNotation(t,this.CurrentSort.key)?1:this.dotNotation(e,this.CurrentSort.key){e.status&&(this.Configurations=e.data),this.ConfigurationLoaded=!0})},dotNotation(e,t){let n=t.split(".").reduce((s,r)=>s&&s[r],e);return typeof n=="string"?n.toLowerCase():n},regexCheckIP(e){return/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/.test(e)},checkCIDR(e){return Zo(e)!==0},checkWGKeyLength(e){return/^[A-Za-z0-9+/]{43}=?=?$/.test(e)}},persist:{pick:["CurrentSort","CurrentDisplay"]}}),gy=async()=>{let e=!1;return await Hr("/api/validateAuthentication",{},t=>{e=t.status}),e},ms=ny({history:LE(),scrollBehavior(){document.querySelector("main")!==null&&document.querySelector("main").scrollTo({top:0})},routes:[{name:"Index",path:"/",component:()=>Ve(()=>import("./index-DNNYGJNG.js"),__vite__mapDeps([0,1,2,3,4,5])),meta:{requiresAuth:!0},children:[{name:"Configuration List",path:"",component:()=>Ve(()=>import("./configurationList-CJIe6SIO.js"),__vite__mapDeps([6,1,7,8,9,10])),meta:{title:"WireGuard Configurations"}},{name:"Settings",path:"settings",component:()=>Ve(()=>import("./settings-DaewGhaX.js"),__vite__mapDeps([11,1,2,12,13])),meta:{title:"Settings"}},{path:"ping",name:"Ping",component:()=>Ve(()=>import("./ping-D2r67TEy.js"),__vite__mapDeps([14,1,15,16,17]))},{path:"traceroute",name:"Traceroute",component:()=>Ve(()=>import("./traceroute-CfGjFLHs.js"),__vite__mapDeps([18,15,16,1,19]))},{name:"New Configuration",path:"new_configuration",component:()=>Ve(()=>import("./newConfiguration-Bm1RdKiG.js"),__vite__mapDeps([20,21,1,22])),meta:{title:"New Configuration"}},{name:"Restore Configuration",path:"restore_configuration",component:()=>Ve(()=>import("./restoreConfiguration-Cc45Wpop.js"),__vite__mapDeps([23,1,2,7,21,24])),meta:{title:"Restore Configuration"}},{name:"System Status",path:"system_status",component:()=>Ve(()=>import("./systemStatus-CDJI7TSf.js"),__vite__mapDeps([25,1,8,9,26,2,27])),meta:{title:"System Status"}},{name:"Clients",path:"clients",component:()=>Ve(()=>import("./clients-V1xPJ10c.js"),__vite__mapDeps([28,29,1,30])),meta:{title:"Clients"},children:[{name:"Client Viewer",path:":id",component:()=>Ve(()=>import("./clientViewer-BO3xJCwx.js"),__vite__mapDeps([31,29,1,32])),meta:{title:"Clients"}}]},{name:"Configuration",path:"configuration/:id",component:()=>Ve(()=>import("./configuration-JnLtQ9-Q.js"),[]),meta:{title:"Configuration"},children:[{name:"Peers List",path:"peers",component:()=>Ve(()=>import("./peerList-CoKpGl0t.js").then(e=>e.p),__vite__mapDeps([33,7,1,26,2,12,34]))}]}]},{path:"/signin",component:()=>Ve(()=>import("./signin-Dv_WT7fq.js"),__vite__mapDeps([35,3,1,2,4,36])),meta:{title:"Sign In",hideTopNav:!0}},{path:"/welcome",component:()=>Ve(()=>import("./setup-Bd36RYKX.js"),__vite__mapDeps([37,1])),meta:{requiresAuth:!0,title:"Welcome to WGDashboard",hideTopNav:!0}},{path:"/2FASetup",component:()=>Ve(()=>import("./totp-DxDD7Jz9.js"),__vite__mapDeps([38,39,1])),meta:{requiresAuth:!0,title:"Multi-Factor Authentication Setup",hideTopNav:!0}},{path:"/share",component:()=>Ve(()=>import("./share-DiWC7XJA.js"),__vite__mapDeps([40,39,1,41])),meta:{title:"Share",hideTopNav:!0}}]});ms.beforeEach(async(e,t,n)=>{const s=py(),r=un();e.meta.title?document.title=e.meta.title+" | WGDashboard":e.params.id?document.title=e.params.id+" | WGDashboard":document.title="WGDashboard",r.ShowNavBar=!1,document.querySelector(".loadingBar").classList.remove("loadingDone"),document.querySelector(".loadingBar").classList.add("loading"),e.meta.requiresAuth?r.getActiveCrossServer()?(await r.getConfiguration(),!s.Configurations&&e.name!=="Configuration List"&&await s.getConfigurations(),n()):await gy()?(await r.getConfiguration(),!s.Configurations&&e.name!=="Configuration List"&&await s.getConfigurations(),r.Redirect=void 0,n()):(r.Redirect=e,n("/signin"),r.newMessage("WGDashboard","Sign in session ended, please sign in again","warning")):n()});ms.afterEach(()=>{document.querySelector(".loadingBar").classList.remove("loading"),document.querySelector(".loadingBar").classList.add("loadingDone")});const kf=()=>{let e={"content-type":"application/json"};const n=un().getActiveCrossServer();return n&&(e["wg-dashboard-apikey"]=n.apiKey),e},Vf=e=>{const n=un().getActiveCrossServer();return n?`${n.host}${e}`:`${window.location.protocol}//${(window.location.host+window.location.pathname+e).replace(/\/\//g,"/")}`},Hr=async(e,t=void 0,n=void 0)=>{const s=new URLSearchParams(t);await fetch(`${Vf(e)}?${s.toString()}`,{headers:kf()}).then(r=>{const o=un();if(r.ok)return r.json();if(r.status!==200)throw r.status===401&&o.newMessage("WGDashboard","Sign in session ended, please sign in again","warning"),new Error(r.statusText)}).then(r=>n?n(r):void 0).catch(r=>{console.log("Error:",r),ms.push({path:"/signin"})})},bb=async(e,t,n)=>{await fetch(`${Vf(e)}`,{headers:kf(),method:"POST",body:JSON.stringify(t)}).then(s=>{const r=un();if(s.ok)return s.json();if(s.status!==200)throw s.status===401&&r.newMessage("WGDashboard","Sign in session ended, please sign in again","warning"),new Error(s.statusText)}).then(s=>n?n(s):void 0).catch(s=>{console.log("Error:",s),ms.push({path:"/signin"})})},Re=[];for(let e=0;e<256;++e)Re.push((e+256).toString(16).slice(1));function my(e,t=0){return(Re[e[t+0]]+Re[e[t+1]]+Re[e[t+2]]+Re[e[t+3]]+"-"+Re[e[t+4]]+Re[e[t+5]]+"-"+Re[e[t+6]]+Re[e[t+7]]+"-"+Re[e[t+8]]+Re[e[t+9]]+"-"+Re[e[t+10]]+Re[e[t+11]]+Re[e[t+12]]+Re[e[t+13]]+Re[e[t+14]]+Re[e[t+15]]).toLowerCase()}let Fi;const _y=new Uint8Array(16);function vy(){if(!Fi){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Fi=crypto.getRandomValues.bind(crypto)}return Fi(_y)}const Ey=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),cc={randomUUID:Ey};function uc(e,t,n){if(cc.randomUUID&&!e)return cc.randomUUID();e=e||{};const s=e.random??e.rng?.()??vy();if(s.length<16)throw new Error("Random bytes length must be >= 16");return s[6]=s[6]&15|64,s[8]=s[8]&63|128,my(s)}const un=vf("DashboardConfigurationStore",{state:()=>({Redirect:void 0,Configuration:void 0,Messages:[],Peers:{Selecting:!1,RefreshInterval:void 0},CrossServerConfiguration:{Enable:!1,ServerList:{}},SystemStatus:void 0,ActiveServerConfiguration:void 0,IsElectronApp:!1,ShowNavBar:!1,Locale:void 0,HelpAgent:{Enable:!1}}),actions:{initCrossServerConfiguration(){const e=localStorage.getItem("CrossServerConfiguration");localStorage.getItem("ActiveCrossServerConfiguration")!==null&&(this.ActiveServerConfiguration=localStorage.getItem("ActiveCrossServerConfiguration")),e===null?window.localStorage.setItem("CrossServerConfiguration",JSON.stringify(this.CrossServerConfiguration)):this.CrossServerConfiguration=JSON.parse(e)},syncCrossServerConfiguration(){window.localStorage.setItem("CrossServerConfiguration",JSON.stringify(this.CrossServerConfiguration))},addCrossServerConfiguration(){this.CrossServerConfiguration.ServerList[uc().toString()]={host:"",apiKey:"",active:!1}},deleteCrossServerConfiguration(e){delete this.CrossServerConfiguration.ServerList[e]},getActiveCrossServer(){const e=localStorage.getItem("ActiveCrossServerConfiguration");if(e!==null)return this.CrossServerConfiguration.ServerList[e]},setActiveCrossServer(e){this.ActiveServerConfiguration=e,localStorage.setItem("ActiveCrossServerConfiguration",e)},removeActiveCrossServer(){this.ActiveServerConfiguration=void 0,localStorage.removeItem("ActiveCrossServerConfiguration")},async getConfiguration(){await Hr("/api/getDashboardConfiguration",{},e=>{e.status&&(this.Configuration=e.data)})},async signOut(){await Hr("/api/signout",{},()=>{this.removeActiveCrossServer(),document.cookie="",this.$router.go("/signin")})},newMessage(e,t,n){this.Messages.push({id:uc(),from:ot(e),content:ot(t),type:n,show:!0})},applyLocale(e){if(this.Locale===null)return e;const n=Object.keys(this.Locale).filter(s=>e.match(new RegExp("^"+s+"$","g"))!==null);return console.log(n),n.length===0||n.length>1?e:this.Locale[n[0]]}},persist:{pick:["HelpAgent.Enable"]}});/*! SPDX-License-Identifier: GPL-2.0 +`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),ay=new RegExp(`(?:^${_t}$)|(?:^${oi}$)`),ly=new RegExp(`^${_t}$`),cy=new RegExp(`^${oi}$`),ai=e=>e&&e.exact?ay:new RegExp(`(?:${tn(e)}${_t}${tn(e)})|(?:${tn(e)}${oi}${tn(e)})`,"g");ai.v4=e=>e&&e.exact?ly:new RegExp(`${tn(e)}${_t}${tn(e)}`,"g");ai.v6=e=>e&&e.exact?cy:new RegExp(`${tn(e)}${oi}${tn(e)}`,"g");const Lf={exact:!1},Rf=`${ai.v4().source}\\/(3[0-2]|[12]?[0-9])`,If=`${ai.v6().source}\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])`,uy=new RegExp(`^${Rf}$`),fy=new RegExp(`^${If}$`),dy=({exact:e}=Lf)=>e?uy:new RegExp(Rf,"g"),hy=({exact:e}=Lf)=>e?fy:new RegExp(If,"g"),Pf=dy({exact:!0}),Mf=hy({exact:!0}),Zo=e=>Pf.test(e)?4:Mf.test(e)?6:0;Zo.v4=e=>Pf.test(e);Zo.v6=e=>Mf.test(e);const ot=e=>{const t=un();if(t.Locale===null)return e;const s=Object.keys(t.Locale).filter(r=>e.match(new RegExp("^"+r+"$","gi"))!==null);return s.length===0||s.length>1||t.Locale[s[0]].length===0?e:e.replace(new RegExp(s[0],"gi"),t.Locale[s[0]])},py=vf("WireguardConfigurationsStore",{state:()=>({Configurations:[],ConfigurationLoaded:!1,searchString:"",ConfigurationListInterval:void 0,SortOptions:{Name:ot("Name"),Status:ot("Status"),"DataUsage.Total":ot("Total Usage")},CurrentSort:{key:"Name",order:"asc"},CurrentDisplay:"List",PeerScheduleJobs:{dropdowns:{Field:[{display:ot("Total Received"),value:"total_receive",unit:"GB",type:"number"},{display:ot("Total Sent"),value:"total_sent",unit:"GB",type:"number"},{display:ot("Total Usage"),value:"total_data",unit:"GB",type:"number"},{display:ot("Date"),value:"date",type:"date"}],Operator:[{display:ot("larger than"),value:"lgt"}],Action:[{display:ot("Restrict Peer"),value:"restrict"},{display:ot("Delete Peer"),value:"delete"}]}}}),getters:{sortConfigurations(){return[...this.Configurations].sort((e,t)=>this.CurrentSort.order==="desc"?this.dotNotation(e,this.CurrentSort.key)this.dotNotation(t,this.CurrentSort.key)?-1:0:this.dotNotation(e,this.CurrentSort.key)>this.dotNotation(t,this.CurrentSort.key)?1:this.dotNotation(e,this.CurrentSort.key){e.status&&(this.Configurations=e.data),this.ConfigurationLoaded=!0})},dotNotation(e,t){let n=t.split(".").reduce((s,r)=>s&&s[r],e);return typeof n=="string"?n.toLowerCase():n},regexCheckIP(e){return/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/.test(e)},checkCIDR(e){return Zo(e)!==0},checkWGKeyLength(e){return/^[A-Za-z0-9+/]{43}=?=?$/.test(e)}},persist:{pick:["CurrentSort","CurrentDisplay"]}}),gy=async()=>{let e=!1;return await Hr("/api/validateAuthentication",{},t=>{e=t.status}),e},ms=ny({history:LE(),scrollBehavior(){document.querySelector("main")!==null&&document.querySelector("main").scrollTo({top:0})},routes:[{name:"Index",path:"/",component:()=>Ve(()=>import("./index-B8TgNUYV.js"),__vite__mapDeps([0,1,2,3,4,5])),meta:{requiresAuth:!0},children:[{name:"Configuration List",path:"",component:()=>Ve(()=>import("./configurationList-BIXsH2AA.js"),__vite__mapDeps([6,1,7,8,9,10])),meta:{title:"WireGuard Configurations"}},{name:"Settings",path:"settings",component:()=>Ve(()=>import("./settings-DKCR2haZ.js"),__vite__mapDeps([11,1,2,12,13])),meta:{title:"Settings"}},{path:"ping",name:"Ping",component:()=>Ve(()=>import("./ping-BblC0zpt.js"),__vite__mapDeps([14,1,15,16,17]))},{path:"traceroute",name:"Traceroute",component:()=>Ve(()=>import("./traceroute-BmGBOOEH.js"),__vite__mapDeps([18,15,16,1,19]))},{name:"New Configuration",path:"new_configuration",component:()=>Ve(()=>import("./newConfiguration-BrDKdnVB.js"),__vite__mapDeps([20,21,1,22])),meta:{title:"New Configuration"}},{name:"Restore Configuration",path:"restore_configuration",component:()=>Ve(()=>import("./restoreConfiguration-DEs2Vp9D.js"),__vite__mapDeps([23,1,2,7,21,24])),meta:{title:"Restore Configuration"}},{name:"System Status",path:"system_status",component:()=>Ve(()=>import("./systemStatus-C9p8AMJS.js"),__vite__mapDeps([25,1,8,9,26,2,27])),meta:{title:"System Status"}},{name:"Clients",path:"clients",component:()=>Ve(()=>import("./clients-D5GlWsiu.js"),__vite__mapDeps([28,29,1,30])),meta:{title:"Clients"},children:[{name:"Client Viewer",path:":id",component:()=>Ve(()=>import("./clientViewer-BR5ORwer.js"),__vite__mapDeps([31,29,1,32])),meta:{title:"Clients"}}]},{name:"Configuration",path:"configuration/:id",component:()=>Ve(()=>import("./configuration-Bg4JcEUk.js"),[]),meta:{title:"Configuration"},children:[{name:"Peers List",path:"peers",component:()=>Ve(()=>import("./peerList-Bnc70xia.js").then(e=>e.p),__vite__mapDeps([33,7,1,26,2,12,34]))}]}]},{path:"/signin",component:()=>Ve(()=>import("./signin-BSqwRvQ7.js"),__vite__mapDeps([35,3,1,2,4,36])),meta:{title:"Sign In",hideTopNav:!0}},{path:"/welcome",component:()=>Ve(()=>import("./setup-D0XyMxzo.js"),__vite__mapDeps([37,1])),meta:{requiresAuth:!0,title:"Welcome to WGDashboard",hideTopNav:!0}},{path:"/2FASetup",component:()=>Ve(()=>import("./totp-CYq1d4cZ.js"),__vite__mapDeps([38,39,1])),meta:{requiresAuth:!0,title:"Multi-Factor Authentication Setup",hideTopNav:!0}},{path:"/share",component:()=>Ve(()=>import("./share-D1OkSpyp.js"),__vite__mapDeps([40,39,1,41])),meta:{title:"Share",hideTopNav:!0}}]});ms.beforeEach(async(e,t,n)=>{const s=py(),r=un();e.meta.title?document.title=e.meta.title+" | WGDashboard":e.params.id?document.title=e.params.id+" | WGDashboard":document.title="WGDashboard",r.ShowNavBar=!1,document.querySelector(".loadingBar").classList.remove("loadingDone"),document.querySelector(".loadingBar").classList.add("loading"),e.meta.requiresAuth?r.getActiveCrossServer()?(await r.getConfiguration(),!s.Configurations&&e.name!=="Configuration List"&&await s.getConfigurations(),n()):await gy()?(await r.getConfiguration(),!s.Configurations&&e.name!=="Configuration List"&&await s.getConfigurations(),r.Redirect=void 0,n()):(r.Redirect=e,n("/signin"),r.newMessage("WGDashboard","Sign in session ended, please sign in again","warning")):n()});ms.afterEach(()=>{document.querySelector(".loadingBar").classList.remove("loading"),document.querySelector(".loadingBar").classList.add("loadingDone")});const kf=()=>{let e={"content-type":"application/json"};const n=un().getActiveCrossServer();return n&&(e["wg-dashboard-apikey"]=n.apiKey),e},Vf=e=>{const n=un().getActiveCrossServer();return n?`${n.host}${e}`:`${window.location.protocol}//${(window.location.host+window.location.pathname+e).replace(/\/\//g,"/")}`},Hr=async(e,t=void 0,n=void 0)=>{const s=new URLSearchParams(t);await fetch(`${Vf(e)}?${s.toString()}`,{headers:kf()}).then(r=>{const o=un();if(r.ok)return r.json();if(r.status!==200)throw r.status===401&&o.newMessage("WGDashboard","Sign in session ended, please sign in again","warning"),new Error(r.statusText)}).then(r=>n?n(r):void 0).catch(r=>{console.log("Error:",r),ms.push({path:"/signin"})})},bb=async(e,t,n)=>{await fetch(`${Vf(e)}`,{headers:kf(),method:"POST",body:JSON.stringify(t)}).then(s=>{const r=un();if(s.ok)return s.json();if(s.status!==200)throw s.status===401&&r.newMessage("WGDashboard","Sign in session ended, please sign in again","warning"),new Error(s.statusText)}).then(s=>n?n(s):void 0).catch(s=>{console.log("Error:",s),ms.push({path:"/signin"})})},Re=[];for(let e=0;e<256;++e)Re.push((e+256).toString(16).slice(1));function my(e,t=0){return(Re[e[t+0]]+Re[e[t+1]]+Re[e[t+2]]+Re[e[t+3]]+"-"+Re[e[t+4]]+Re[e[t+5]]+"-"+Re[e[t+6]]+Re[e[t+7]]+"-"+Re[e[t+8]]+Re[e[t+9]]+"-"+Re[e[t+10]]+Re[e[t+11]]+Re[e[t+12]]+Re[e[t+13]]+Re[e[t+14]]+Re[e[t+15]]).toLowerCase()}let Fi;const _y=new Uint8Array(16);function vy(){if(!Fi){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Fi=crypto.getRandomValues.bind(crypto)}return Fi(_y)}const Ey=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),cc={randomUUID:Ey};function uc(e,t,n){if(cc.randomUUID&&!e)return cc.randomUUID();e=e||{};const s=e.random??e.rng?.()??vy();if(s.length<16)throw new Error("Random bytes length must be >= 16");return s[6]=s[6]&15|64,s[8]=s[8]&63|128,my(s)}const un=vf("DashboardConfigurationStore",{state:()=>({Redirect:void 0,Configuration:void 0,Messages:[],Peers:{Selecting:!1,RefreshInterval:void 0},CrossServerConfiguration:{Enable:!1,ServerList:{}},SystemStatus:void 0,ActiveServerConfiguration:void 0,IsElectronApp:!1,ShowNavBar:!1,Locale:void 0,HelpAgent:{Enable:!1}}),actions:{initCrossServerConfiguration(){const e=localStorage.getItem("CrossServerConfiguration");localStorage.getItem("ActiveCrossServerConfiguration")!==null&&(this.ActiveServerConfiguration=localStorage.getItem("ActiveCrossServerConfiguration")),e===null?window.localStorage.setItem("CrossServerConfiguration",JSON.stringify(this.CrossServerConfiguration)):this.CrossServerConfiguration=JSON.parse(e)},syncCrossServerConfiguration(){window.localStorage.setItem("CrossServerConfiguration",JSON.stringify(this.CrossServerConfiguration))},addCrossServerConfiguration(){this.CrossServerConfiguration.ServerList[uc().toString()]={host:"",apiKey:"",active:!1}},deleteCrossServerConfiguration(e){delete this.CrossServerConfiguration.ServerList[e]},getActiveCrossServer(){const e=localStorage.getItem("ActiveCrossServerConfiguration");if(e!==null)return this.CrossServerConfiguration.ServerList[e]},setActiveCrossServer(e){this.ActiveServerConfiguration=e,localStorage.setItem("ActiveCrossServerConfiguration",e)},removeActiveCrossServer(){this.ActiveServerConfiguration=void 0,localStorage.removeItem("ActiveCrossServerConfiguration")},async getConfiguration(){await Hr("/api/getDashboardConfiguration",{},e=>{e.status&&(this.Configuration=e.data)})},async signOut(){await Hr("/api/signout",{},()=>{this.removeActiveCrossServer(),document.cookie="",this.$router.go("/signin")})},newMessage(e,t,n){this.Messages.push({id:uc(),from:ot(e),content:ot(t),type:n,show:!0})},applyLocale(e){if(this.Locale===null)return e;const n=Object.keys(this.Locale).filter(s=>e.match(new RegExp("^"+s+"$","g"))!==null);return console.log(n),n.length===0||n.length>1?e:this.Locale[n[0]]}},persist:{pick:["HelpAgent.Enable"]}});/*! SPDX-License-Identifier: GPL-2.0 * * Copyright (C) 2015-2020 Jason A. Donenfeld . All Rights Reserved. */(function(){function e(b){var y=new Float64Array(16);if(b)for(var N=0;N>16&1),w[S-1]&=65535;w[15]=T[15]-32767-(w[14]>>16&1),N=w[15]>>16&1,w[14]&=65535,s(T,w,1-N)}for(var S=0;S<16;++S)b[2*S]=T[S]&255,b[2*S+1]=T[S]>>8}function n(b){for(var y=0;y<16;++y)b[(y+1)%16]+=(y<15?1:38)*Math.floor(b[y]/65536),b[y]&=65535}function s(b,y,N){for(var w,T=~(N-1),S=0;S<16;++S)w=T&(b[S]^y[S]),b[S]^=w,y[S]^=w}function r(b,y,N){for(var w=0;w<16;++w)b[w]=y[w]+N[w]|0}function o(b,y,N){for(var w=0;w<16;++w)b[w]=y[w]-N[w]|0}function a(b,y,N){for(var w=new Float64Array(31),T=0;T<16;++T)for(var S=0;S<16;++S)w[T+S]+=y[T]*N[S];for(var T=0;T<15;++T)w[T]+=38*w[T+16];for(var T=0;T<16;++T)b[T]=w[T];n(b),n(b)}function l(b,y){for(var N=e(),w=0;w<16;++w)N[w]=y[w];for(var w=253;w>=0;--w)a(N,N,N),w!==2&&w!==4&&a(N,N,y);for(var w=0;w<16;++w)b[w]=N[w]}function c(b){b[31]=b[31]&127|64,b[0]&=248}function d(b){for(var y,N=new Uint8Array(32),w=e([1]),T=e([9]),S=e(),K=e([1]),B=e(),Q=e(),oe=e([56129,1]),de=e([9]),te=0;te<32;++te)N[te]=b[te];c(N);for(var te=254;te>=0;--te)y=N[te>>>3]>>>(te&7)&1,s(w,T,y),s(S,K,y),r(B,w,S),o(w,w,S),r(S,T,K),o(T,T,K),a(K,B,B),a(Q,w,w),a(w,S,w),a(S,T,B),r(B,w,S),o(w,w,S),a(T,w,w),o(S,K,Q),a(w,S,oe),r(w,w,K),a(S,S,w),a(w,K,Q),a(K,T,de),a(T,B,B),s(w,T,y),s(S,K,y);return l(S,S),a(w,w,S),t(N,w),N}function f(){var b=new Uint8Array(32);return window.crypto.getRandomValues(b),b}function h(){var b=f();return c(b),b}function p(b,y){for(var N=Uint8Array.from([y[0]>>2&63,(y[0]<<4|y[1]>>4)&63,(y[1]<<2|y[2]>>6)&63,y[2]&63]),w=0;w<4;++w)b[w]=N[w]+65+(25-N[w]>>8&6)-(51-N[w]>>8&75)-(61-N[w]>>8&15)+(62-N[w]>>8&3)}function _(b){var y,N=new Uint8Array(44);for(y=0;y<32/3;++y)p(N.subarray(y*4),b.subarray(y*3));return p(N.subarray(y*4),Uint8Array.from([b[y*3+0],b[y*3+1],0])),N[43]=61,String.fromCharCode.apply(null,N)}function O(b){let y=window.atob(b),N=y.length,w=new Uint8Array(N);for(let S=0;S>>8&255,y>>>16&255,y>>>24&255)}function D(b,y){b.push(y&255,y>>>8&255)}function P(b,y){for(var N=0;N>>1:y>>>1;F.table[N]=y}}for(var T=-1,S=0;S>>8^F.table[(T^b[S])&255];return(T^-1)>>>0}function k(b){for(var y=[],N=[],w=0,T=0;T{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},by={class:"h-100"},Ay={key:0,class:"navbar bg-dark sticky-top","data-bs-theme":"dark"},Ty={class:"container-fluid d-flex text-body align-items-center"},wy={key:0,class:"bi bi-list"},Cy={key:1,class:"bi bi-x-lg"},Sy={__name:"App",setup(e){const t=un();t.initCrossServerConfiguration(),window.IS_WGDASHBOARD_DESKTOP&&(t.IsElectronApp=!0,t.CrossServerConfiguration.Enable=!0),On(t.CrossServerConfiguration,()=>{t.syncCrossServerConfiguration()},{deep:!0});const n=ry();return(s,r)=>{const o=h_("RouterLink");return Nt(),_r("div",by,[r[2]||(r[2]=qn("div",{style:{"z-index":"9999",height:"5px"},class:"position-absolute loadingBar top-0 start-0"},null,-1)),at(n).meta.hideTopNav?ev("",!0):(Nt(),_r("nav",Ay,[qn("div",Ty,[Ee(o,{to:"/",class:"navbar-brand mb-0 h1"},{default:Yn(()=>r[1]||(r[1]=[qn("img",{src:eE,alt:"WGDashboard Logo",style:{width:"32px"}},null,-1)])),_:1,__:[1]}),qn("a",{role:"button",class:"navbarBtn text-body",onClick:r[0]||(r[0]=a=>at(t).ShowNavBar=!at(t).ShowNavBar),style:{"line-height":"0","font-size":"2rem"}},[Ee(Al,{name:"fade2",mode:"out-in"},{default:Yn(()=>[at(t).ShowNavBar?(Nt(),_r("i",Cy)):(Nt(),_r("i",wy))]),_:1})])])])),(Nt(),Ws(W_,null,{default:Yn(()=>[Ee(at(Df),null,{default:Yn(({Component:a})=>[Ee(Al,{name:"app",mode:"out-in",type:"transition",appear:""},{default:Yn(()=>[(Nt(),Ws(p_(a)))]),_:2},1024)]),_:1})]),_:1}))])}}},Oy=yy(Sy,[["__scopeId","data-v-93bfa426"]]),Ny=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,xy=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,$y=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Dy(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Ly(e);return}return t}function Ly(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Ry(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!$y.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Ny.test(e)||xy.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Dy)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}function Iy(e,t){if(e==null)return;let n=e;for(let s=0;s1&&(t=ea(typeof e!="object"||e===null||!Object.prototype.hasOwnProperty.call(e,s)?Number.isInteger(Number(n[1]))?[]:{}:e[s],t,Array.prototype.slice.call(n,1))),Number.isInteger(Number(s))&&Array.isArray(e)?e.slice()[s]:Object.assign({},e,{[s]:t})}function Ff(e,t){if(e==null||t.length===0)return e;if(t.length===1){if(e==null)return e;if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.slice.call(e,0).splice(t[0],1);const n={};for(const s in e)n[s]=e[s];return delete n[t[0]],n}if(e[t[0]]==null){if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.concat.call([],e);const n={};for(const s in e)n[s]=e[s];return n}return ea(e,Ff(e[t[0]],Array.prototype.slice.call(t,1)),[t[0]])}function Hf(e,t){return t.map(n=>n.split(".")).map(n=>[n,Iy(e,n)]).filter(n=>n[1]!==void 0).reduce((n,s)=>ea(n,s[1],s[0]),{})}function Bf(e,t){return t.map(n=>n.split(".")).reduce((n,s)=>Ff(n,s),e)}function fc(e,{storage:t,serializer:n,key:s,debug:r,pick:o,omit:a,beforeHydrate:l,afterHydrate:c},d,f=!0){try{f&&l?.(d);const h=t.getItem(s);if(h){const p=n.deserialize(h),_=o?Hf(p,o):p,O=a?Bf(_,a):_;e.$patch(O)}f&&c?.(d)}catch(h){r&&console.error("[pinia-plugin-persistedstate]",h)}}function dc(e,{storage:t,serializer:n,key:s,debug:r,pick:o,omit:a}){try{const l=o?Hf(e,o):e,c=a?Bf(l,a):l,d=n.serialize(c);t.setItem(s,d)}catch(l){r&&console.error("[pinia-plugin-persistedstate]",l)}}function Py(e,t,n){const{pinia:s,store:r,options:{persist:o=n}}=e;if(!o)return;if(!(r.$id in s.state.value)){const c=s._s.get(r.$id.replace("__hot:",""));c&&Promise.resolve().then(()=>c.$persist());return}const l=(Array.isArray(o)?o:o===!0?[{}]:[o]).map(t);r.$hydrate=({runHooks:c=!0}={})=>{l.forEach(d=>{fc(r,d,e,c)})},r.$persist=()=>{l.forEach(c=>{dc(r.$state,c)})},l.forEach(c=>{fc(r,c,e),r.$subscribe((d,f)=>dc(f,c),{detached:!0})})}function My(e={}){return function(t){Py(t,n=>({key:(e.key?e.key:s=>s)(n.key??t.store.$id),debug:n.debug??e.debug??!1,serializer:n.serializer??e.serializer??{serialize:s=>JSON.stringify(s),deserialize:s=>Ry(s)},storage:n.storage??e.storage??window.localStorage,beforeHydrate:n.beforeHydrate,afterHydrate:n.afterHydrate,pick:n.pick,omit:n.omit}),e.auto??!1)}}var ky=My();let uo;await fetch("/api/locale").then(e=>e.json()).then(e=>uo=e.data).catch(()=>{uo=null});const ta=Uv(Oy);ta.use(ms);const na=qv();na.use(ky);na.use(({store:e})=>{e.$router=Qr(ms)});ta.use(na);const Vy=un();Vy.Locale=uo;ta.mount("#app");export{jo as $,uc as A,Fv as B,vb as C,un as D,zs as E,Ye as F,ot as G,On as H,yb as I,Fo as J,ry as K,db as L,Uc as M,Tm as N,eb as O,ib as P,Ve as Q,rb as R,W_ as S,gb as T,ob as U,_b as V,py as W,ub as X,tb as Y,Jr as Z,yy as _,qn as a,lb as a0,cb as a1,Zy as a2,J_ as a3,tv as a4,Ae as a5,sb as a6,gs as a7,Xo as a8,Eb as a9,fb as aa,Ou as ab,hb as ac,lu as ad,uv as ae,fe as af,Mo as ag,mb as ah,Jy as ai,vf as aj,Ee as b,_r as c,ev as d,Z_ as e,Nt as f,Hr as g,h_ as h,ab as i,Ws as j,Al as k,p_ as l,nb as m,zr as n,Bo as o,pb as p,lt as q,Cn as r,qr as s,Am as t,at as u,kv as v,Yn as w,xu as x,Vl as y,bb as z}; diff --git a/src/static/app/dist/assets/index-CaZlhoCi.js b/src/static/dist/WGDashboardAdmin/assets/index-DEZPVeS-.js similarity index 99% rename from src/static/app/dist/assets/index-CaZlhoCi.js rename to src/static/dist/WGDashboardAdmin/assets/index-DEZPVeS-.js index 84edb12d..6497acf4 100644 --- a/src/static/app/dist/assets/index-CaZlhoCi.js +++ b/src/static/dist/WGDashboardAdmin/assets/index-DEZPVeS-.js @@ -1,4 +1,4 @@ -import{J as Ws,ad as Vs,a8 as qe,ae as Wn,r as Vn,o as Nn,$ as jn,H as $n,af as Ge,ag as Ns,Z as Yn}from"./index-BiMgJckX.js";/*! +import{J as Ws,ad as Vs,a8 as qe,ae as Wn,r as Vn,o as Nn,$ as jn,H as $n,af as Ge,ag as Ns,Z as Yn}from"./index-D5fbjBmH.js";/*! * @kurkle/color v0.3.4 * https://github.com/kurkle/color#readme * (c) 2024 Jukka Kurkela diff --git a/src/static/app/dist/assets/index-C4LstPme.css b/src/static/dist/WGDashboardAdmin/assets/index-XjBtNnya.css similarity index 81% rename from src/static/app/dist/assets/index-C4LstPme.css rename to src/static/dist/WGDashboardAdmin/assets/index-XjBtNnya.css index 78b2d7f4..16cc494c 100644 --- a/src/static/app/dist/assets/index-C4LstPme.css +++ b/src/static/dist/WGDashboardAdmin/assets/index-XjBtNnya.css @@ -6,7 +6,7 @@ * Bootstrap Icons v1.13.1 (https://icons.getbootstrap.com/) * Copyright 2019-2024 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/icons/blob/main/LICENSE) -*/@font-face{font-display:block;font-family:bootstrap-icons;src:url(/static/app/dist/assets/bootstrap-icons-mSm7cUeB.woff2?e34853135f9e39acf64315236852cd5a) format("woff2"),url(/static/app/dist/assets/bootstrap-icons-BeopsB42.woff?e34853135f9e39acf64315236852cd5a) format("woff")}.bi:before,[class^=bi-]:before,[class*=" bi-"]:before{display:inline-block;font-family:bootstrap-icons!important;font-style:normal;font-weight:400!important;font-variant:normal;text-transform:none;line-height:1;vertical-align:-.125em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bi-123:before{content:""}.bi-alarm-fill:before{content:""}.bi-alarm:before{content:""}.bi-align-bottom:before{content:""}.bi-align-center:before{content:""}.bi-align-end:before{content:""}.bi-align-middle:before{content:""}.bi-align-start:before{content:""}.bi-align-top:before{content:""}.bi-alt:before{content:""}.bi-app-indicator:before{content:""}.bi-app:before{content:""}.bi-archive-fill:before{content:""}.bi-archive:before{content:""}.bi-arrow-90deg-down:before{content:""}.bi-arrow-90deg-left:before{content:""}.bi-arrow-90deg-right:before{content:""}.bi-arrow-90deg-up:before{content:""}.bi-arrow-bar-down:before{content:""}.bi-arrow-bar-left:before{content:""}.bi-arrow-bar-right:before{content:""}.bi-arrow-bar-up:before{content:""}.bi-arrow-clockwise:before{content:""}.bi-arrow-counterclockwise:before{content:""}.bi-arrow-down-circle-fill:before{content:""}.bi-arrow-down-circle:before{content:""}.bi-arrow-down-left-circle-fill:before{content:""}.bi-arrow-down-left-circle:before{content:""}.bi-arrow-down-left-square-fill:before{content:""}.bi-arrow-down-left-square:before{content:""}.bi-arrow-down-left:before{content:""}.bi-arrow-down-right-circle-fill:before{content:""}.bi-arrow-down-right-circle:before{content:""}.bi-arrow-down-right-square-fill:before{content:""}.bi-arrow-down-right-square:before{content:""}.bi-arrow-down-right:before{content:""}.bi-arrow-down-short:before{content:""}.bi-arrow-down-square-fill:before{content:""}.bi-arrow-down-square:before{content:""}.bi-arrow-down-up:before{content:""}.bi-arrow-down:before{content:""}.bi-arrow-left-circle-fill:before{content:""}.bi-arrow-left-circle:before{content:""}.bi-arrow-left-right:before{content:""}.bi-arrow-left-short:before{content:""}.bi-arrow-left-square-fill:before{content:""}.bi-arrow-left-square:before{content:""}.bi-arrow-left:before{content:""}.bi-arrow-repeat:before{content:""}.bi-arrow-return-left:before{content:""}.bi-arrow-return-right:before{content:""}.bi-arrow-right-circle-fill:before{content:""}.bi-arrow-right-circle:before{content:""}.bi-arrow-right-short:before{content:""}.bi-arrow-right-square-fill:before{content:""}.bi-arrow-right-square:before{content:""}.bi-arrow-right:before{content:""}.bi-arrow-up-circle-fill:before{content:""}.bi-arrow-up-circle:before{content:""}.bi-arrow-up-left-circle-fill:before{content:""}.bi-arrow-up-left-circle:before{content:""}.bi-arrow-up-left-square-fill:before{content:""}.bi-arrow-up-left-square:before{content:""}.bi-arrow-up-left:before{content:""}.bi-arrow-up-right-circle-fill:before{content:""}.bi-arrow-up-right-circle:before{content:""}.bi-arrow-up-right-square-fill:before{content:""}.bi-arrow-up-right-square:before{content:""}.bi-arrow-up-right:before{content:""}.bi-arrow-up-short:before{content:""}.bi-arrow-up-square-fill:before{content:""}.bi-arrow-up-square:before{content:""}.bi-arrow-up:before{content:""}.bi-arrows-angle-contract:before{content:""}.bi-arrows-angle-expand:before{content:""}.bi-arrows-collapse:before{content:""}.bi-arrows-expand:before{content:""}.bi-arrows-fullscreen:before{content:""}.bi-arrows-move:before{content:""}.bi-aspect-ratio-fill:before{content:""}.bi-aspect-ratio:before{content:""}.bi-asterisk:before{content:""}.bi-at:before{content:""}.bi-award-fill:before{content:""}.bi-award:before{content:""}.bi-back:before{content:""}.bi-backspace-fill:before{content:""}.bi-backspace-reverse-fill:before{content:""}.bi-backspace-reverse:before{content:""}.bi-backspace:before{content:""}.bi-badge-3d-fill:before{content:""}.bi-badge-3d:before{content:""}.bi-badge-4k-fill:before{content:""}.bi-badge-4k:before{content:""}.bi-badge-8k-fill:before{content:""}.bi-badge-8k:before{content:""}.bi-badge-ad-fill:before{content:""}.bi-badge-ad:before{content:""}.bi-badge-ar-fill:before{content:""}.bi-badge-ar:before{content:""}.bi-badge-cc-fill:before{content:""}.bi-badge-cc:before{content:""}.bi-badge-hd-fill:before{content:""}.bi-badge-hd:before{content:""}.bi-badge-tm-fill:before{content:""}.bi-badge-tm:before{content:""}.bi-badge-vo-fill:before{content:""}.bi-badge-vo:before{content:""}.bi-badge-vr-fill:before{content:""}.bi-badge-vr:before{content:""}.bi-badge-wc-fill:before{content:""}.bi-badge-wc:before{content:""}.bi-bag-check-fill:before{content:""}.bi-bag-check:before{content:""}.bi-bag-dash-fill:before{content:""}.bi-bag-dash:before{content:""}.bi-bag-fill:before{content:""}.bi-bag-plus-fill:before{content:""}.bi-bag-plus:before{content:""}.bi-bag-x-fill:before{content:""}.bi-bag-x:before{content:""}.bi-bag:before{content:""}.bi-bar-chart-fill:before{content:""}.bi-bar-chart-line-fill:before{content:""}.bi-bar-chart-line:before{content:""}.bi-bar-chart-steps:before{content:""}.bi-bar-chart:before{content:""}.bi-basket-fill:before{content:""}.bi-basket:before{content:""}.bi-basket2-fill:before{content:""}.bi-basket2:before{content:""}.bi-basket3-fill:before{content:""}.bi-basket3:before{content:""}.bi-battery-charging:before{content:""}.bi-battery-full:before{content:""}.bi-battery-half:before{content:""}.bi-battery:before{content:""}.bi-bell-fill:before{content:""}.bi-bell:before{content:""}.bi-bezier:before{content:""}.bi-bezier2:before{content:""}.bi-bicycle:before{content:""}.bi-binoculars-fill:before{content:""}.bi-binoculars:before{content:""}.bi-blockquote-left:before{content:""}.bi-blockquote-right:before{content:""}.bi-book-fill:before{content:""}.bi-book-half:before{content:""}.bi-book:before{content:""}.bi-bookmark-check-fill:before{content:""}.bi-bookmark-check:before{content:""}.bi-bookmark-dash-fill:before{content:""}.bi-bookmark-dash:before{content:""}.bi-bookmark-fill:before{content:""}.bi-bookmark-heart-fill:before{content:""}.bi-bookmark-heart:before{content:""}.bi-bookmark-plus-fill:before{content:""}.bi-bookmark-plus:before{content:""}.bi-bookmark-star-fill:before{content:""}.bi-bookmark-star:before{content:""}.bi-bookmark-x-fill:before{content:""}.bi-bookmark-x:before{content:""}.bi-bookmark:before{content:""}.bi-bookmarks-fill:before{content:""}.bi-bookmarks:before{content:""}.bi-bookshelf:before{content:""}.bi-bootstrap-fill:before{content:""}.bi-bootstrap-reboot:before{content:""}.bi-bootstrap:before{content:""}.bi-border-all:before{content:""}.bi-border-bottom:before{content:""}.bi-border-center:before{content:""}.bi-border-inner:before{content:""}.bi-border-left:before{content:""}.bi-border-middle:before{content:""}.bi-border-outer:before{content:""}.bi-border-right:before{content:""}.bi-border-style:before{content:""}.bi-border-top:before{content:""}.bi-border-width:before{content:""}.bi-border:before{content:""}.bi-bounding-box-circles:before{content:""}.bi-bounding-box:before{content:""}.bi-box-arrow-down-left:before{content:""}.bi-box-arrow-down-right:before{content:""}.bi-box-arrow-down:before{content:""}.bi-box-arrow-in-down-left:before{content:""}.bi-box-arrow-in-down-right:before{content:""}.bi-box-arrow-in-down:before{content:""}.bi-box-arrow-in-left:before{content:""}.bi-box-arrow-in-right:before{content:""}.bi-box-arrow-in-up-left:before{content:""}.bi-box-arrow-in-up-right:before{content:""}.bi-box-arrow-in-up:before{content:""}.bi-box-arrow-left:before{content:""}.bi-box-arrow-right:before{content:""}.bi-box-arrow-up-left:before{content:""}.bi-box-arrow-up-right:before{content:""}.bi-box-arrow-up:before{content:""}.bi-box-seam:before{content:""}.bi-box:before{content:""}.bi-braces:before{content:""}.bi-bricks:before{content:""}.bi-briefcase-fill:before{content:""}.bi-briefcase:before{content:""}.bi-brightness-alt-high-fill:before{content:""}.bi-brightness-alt-high:before{content:""}.bi-brightness-alt-low-fill:before{content:""}.bi-brightness-alt-low:before{content:""}.bi-brightness-high-fill:before{content:""}.bi-brightness-high:before{content:""}.bi-brightness-low-fill:before{content:""}.bi-brightness-low:before{content:""}.bi-broadcast-pin:before{content:""}.bi-broadcast:before{content:""}.bi-brush-fill:before{content:""}.bi-brush:before{content:""}.bi-bucket-fill:before{content:""}.bi-bucket:before{content:""}.bi-bug-fill:before{content:""}.bi-bug:before{content:""}.bi-building:before{content:""}.bi-bullseye:before{content:""}.bi-calculator-fill:before{content:""}.bi-calculator:before{content:""}.bi-calendar-check-fill:before{content:""}.bi-calendar-check:before{content:""}.bi-calendar-date-fill:before{content:""}.bi-calendar-date:before{content:""}.bi-calendar-day-fill:before{content:""}.bi-calendar-day:before{content:""}.bi-calendar-event-fill:before{content:""}.bi-calendar-event:before{content:""}.bi-calendar-fill:before{content:""}.bi-calendar-minus-fill:before{content:""}.bi-calendar-minus:before{content:""}.bi-calendar-month-fill:before{content:""}.bi-calendar-month:before{content:""}.bi-calendar-plus-fill:before{content:""}.bi-calendar-plus:before{content:""}.bi-calendar-range-fill:before{content:""}.bi-calendar-range:before{content:""}.bi-calendar-week-fill:before{content:""}.bi-calendar-week:before{content:""}.bi-calendar-x-fill:before{content:""}.bi-calendar-x:before{content:""}.bi-calendar:before{content:""}.bi-calendar2-check-fill:before{content:""}.bi-calendar2-check:before{content:""}.bi-calendar2-date-fill:before{content:""}.bi-calendar2-date:before{content:""}.bi-calendar2-day-fill:before{content:""}.bi-calendar2-day:before{content:""}.bi-calendar2-event-fill:before{content:""}.bi-calendar2-event:before{content:""}.bi-calendar2-fill:before{content:""}.bi-calendar2-minus-fill:before{content:""}.bi-calendar2-minus:before{content:""}.bi-calendar2-month-fill:before{content:""}.bi-calendar2-month:before{content:""}.bi-calendar2-plus-fill:before{content:""}.bi-calendar2-plus:before{content:""}.bi-calendar2-range-fill:before{content:""}.bi-calendar2-range:before{content:""}.bi-calendar2-week-fill:before{content:""}.bi-calendar2-week:before{content:""}.bi-calendar2-x-fill:before{content:""}.bi-calendar2-x:before{content:""}.bi-calendar2:before{content:""}.bi-calendar3-event-fill:before{content:""}.bi-calendar3-event:before{content:""}.bi-calendar3-fill:before{content:""}.bi-calendar3-range-fill:before{content:""}.bi-calendar3-range:before{content:""}.bi-calendar3-week-fill:before{content:""}.bi-calendar3-week:before{content:""}.bi-calendar3:before{content:""}.bi-calendar4-event:before{content:""}.bi-calendar4-range:before{content:""}.bi-calendar4-week:before{content:""}.bi-calendar4:before{content:""}.bi-camera-fill:before{content:""}.bi-camera-reels-fill:before{content:""}.bi-camera-reels:before{content:""}.bi-camera-video-fill:before{content:""}.bi-camera-video-off-fill:before{content:""}.bi-camera-video-off:before{content:""}.bi-camera-video:before{content:""}.bi-camera:before{content:""}.bi-camera2:before{content:""}.bi-capslock-fill:before{content:""}.bi-capslock:before{content:""}.bi-card-checklist:before{content:""}.bi-card-heading:before{content:""}.bi-card-image:before{content:""}.bi-card-list:before{content:""}.bi-card-text:before{content:""}.bi-caret-down-fill:before{content:""}.bi-caret-down-square-fill:before{content:""}.bi-caret-down-square:before{content:""}.bi-caret-down:before{content:""}.bi-caret-left-fill:before{content:""}.bi-caret-left-square-fill:before{content:""}.bi-caret-left-square:before{content:""}.bi-caret-left:before{content:""}.bi-caret-right-fill:before{content:""}.bi-caret-right-square-fill:before{content:""}.bi-caret-right-square:before{content:""}.bi-caret-right:before{content:""}.bi-caret-up-fill:before{content:""}.bi-caret-up-square-fill:before{content:""}.bi-caret-up-square:before{content:""}.bi-caret-up:before{content:""}.bi-cart-check-fill:before{content:""}.bi-cart-check:before{content:""}.bi-cart-dash-fill:before{content:""}.bi-cart-dash:before{content:""}.bi-cart-fill:before{content:""}.bi-cart-plus-fill:before{content:""}.bi-cart-plus:before{content:""}.bi-cart-x-fill:before{content:""}.bi-cart-x:before{content:""}.bi-cart:before{content:""}.bi-cart2:before{content:""}.bi-cart3:before{content:""}.bi-cart4:before{content:""}.bi-cash-stack:before{content:""}.bi-cash:before{content:""}.bi-cast:before{content:""}.bi-chat-dots-fill:before{content:""}.bi-chat-dots:before{content:""}.bi-chat-fill:before{content:""}.bi-chat-left-dots-fill:before{content:""}.bi-chat-left-dots:before{content:""}.bi-chat-left-fill:before{content:""}.bi-chat-left-quote-fill:before{content:""}.bi-chat-left-quote:before{content:""}.bi-chat-left-text-fill:before{content:""}.bi-chat-left-text:before{content:""}.bi-chat-left:before{content:""}.bi-chat-quote-fill:before{content:""}.bi-chat-quote:before{content:""}.bi-chat-right-dots-fill:before{content:""}.bi-chat-right-dots:before{content:""}.bi-chat-right-fill:before{content:""}.bi-chat-right-quote-fill:before{content:""}.bi-chat-right-quote:before{content:""}.bi-chat-right-text-fill:before{content:""}.bi-chat-right-text:before{content:""}.bi-chat-right:before{content:""}.bi-chat-square-dots-fill:before{content:""}.bi-chat-square-dots:before{content:""}.bi-chat-square-fill:before{content:""}.bi-chat-square-quote-fill:before{content:""}.bi-chat-square-quote:before{content:""}.bi-chat-square-text-fill:before{content:""}.bi-chat-square-text:before{content:""}.bi-chat-square:before{content:""}.bi-chat-text-fill:before{content:""}.bi-chat-text:before{content:""}.bi-chat:before{content:""}.bi-check-all:before{content:""}.bi-check-circle-fill:before{content:""}.bi-check-circle:before{content:""}.bi-check-square-fill:before{content:""}.bi-check-square:before{content:""}.bi-check:before{content:""}.bi-check2-all:before{content:""}.bi-check2-circle:before{content:""}.bi-check2-square:before{content:""}.bi-check2:before{content:""}.bi-chevron-bar-contract:before{content:""}.bi-chevron-bar-down:before{content:""}.bi-chevron-bar-expand:before{content:""}.bi-chevron-bar-left:before{content:""}.bi-chevron-bar-right:before{content:""}.bi-chevron-bar-up:before{content:""}.bi-chevron-compact-down:before{content:""}.bi-chevron-compact-left:before{content:""}.bi-chevron-compact-right:before{content:""}.bi-chevron-compact-up:before{content:""}.bi-chevron-contract:before{content:""}.bi-chevron-double-down:before{content:""}.bi-chevron-double-left:before{content:""}.bi-chevron-double-right:before{content:""}.bi-chevron-double-up:before{content:""}.bi-chevron-down:before{content:""}.bi-chevron-expand:before{content:""}.bi-chevron-left:before{content:""}.bi-chevron-right:before{content:""}.bi-chevron-up:before{content:""}.bi-circle-fill:before{content:""}.bi-circle-half:before{content:""}.bi-circle-square:before{content:""}.bi-circle:before{content:""}.bi-clipboard-check:before{content:""}.bi-clipboard-data:before{content:""}.bi-clipboard-minus:before{content:""}.bi-clipboard-plus:before{content:""}.bi-clipboard-x:before{content:""}.bi-clipboard:before{content:""}.bi-clock-fill:before{content:""}.bi-clock-history:before{content:""}.bi-clock:before{content:""}.bi-cloud-arrow-down-fill:before{content:""}.bi-cloud-arrow-down:before{content:""}.bi-cloud-arrow-up-fill:before{content:""}.bi-cloud-arrow-up:before{content:""}.bi-cloud-check-fill:before{content:""}.bi-cloud-check:before{content:""}.bi-cloud-download-fill:before{content:""}.bi-cloud-download:before{content:""}.bi-cloud-drizzle-fill:before{content:""}.bi-cloud-drizzle:before{content:""}.bi-cloud-fill:before{content:""}.bi-cloud-fog-fill:before{content:""}.bi-cloud-fog:before{content:""}.bi-cloud-fog2-fill:before{content:""}.bi-cloud-fog2:before{content:""}.bi-cloud-hail-fill:before{content:""}.bi-cloud-hail:before{content:""}.bi-cloud-haze-fill:before{content:""}.bi-cloud-haze:before{content:""}.bi-cloud-haze2-fill:before{content:""}.bi-cloud-lightning-fill:before{content:""}.bi-cloud-lightning-rain-fill:before{content:""}.bi-cloud-lightning-rain:before{content:""}.bi-cloud-lightning:before{content:""}.bi-cloud-minus-fill:before{content:""}.bi-cloud-minus:before{content:""}.bi-cloud-moon-fill:before{content:""}.bi-cloud-moon:before{content:""}.bi-cloud-plus-fill:before{content:""}.bi-cloud-plus:before{content:""}.bi-cloud-rain-fill:before{content:""}.bi-cloud-rain-heavy-fill:before{content:""}.bi-cloud-rain-heavy:before{content:""}.bi-cloud-rain:before{content:""}.bi-cloud-slash-fill:before{content:""}.bi-cloud-slash:before{content:""}.bi-cloud-sleet-fill:before{content:""}.bi-cloud-sleet:before{content:""}.bi-cloud-snow-fill:before{content:""}.bi-cloud-snow:before{content:""}.bi-cloud-sun-fill:before{content:""}.bi-cloud-sun:before{content:""}.bi-cloud-upload-fill:before{content:""}.bi-cloud-upload:before{content:""}.bi-cloud:before{content:""}.bi-clouds-fill:before{content:""}.bi-clouds:before{content:""}.bi-cloudy-fill:before{content:""}.bi-cloudy:before{content:""}.bi-code-slash:before{content:""}.bi-code-square:before{content:""}.bi-code:before{content:""}.bi-collection-fill:before{content:""}.bi-collection-play-fill:before{content:""}.bi-collection-play:before{content:""}.bi-collection:before{content:""}.bi-columns-gap:before{content:""}.bi-columns:before{content:""}.bi-command:before{content:""}.bi-compass-fill:before{content:""}.bi-compass:before{content:""}.bi-cone-striped:before{content:""}.bi-cone:before{content:""}.bi-controller:before{content:""}.bi-cpu-fill:before{content:""}.bi-cpu:before{content:""}.bi-credit-card-2-back-fill:before{content:""}.bi-credit-card-2-back:before{content:""}.bi-credit-card-2-front-fill:before{content:""}.bi-credit-card-2-front:before{content:""}.bi-credit-card-fill:before{content:""}.bi-credit-card:before{content:""}.bi-crop:before{content:""}.bi-cup-fill:before{content:""}.bi-cup-straw:before{content:""}.bi-cup:before{content:""}.bi-cursor-fill:before{content:""}.bi-cursor-text:before{content:""}.bi-cursor:before{content:""}.bi-dash-circle-dotted:before{content:""}.bi-dash-circle-fill:before{content:""}.bi-dash-circle:before{content:""}.bi-dash-square-dotted:before{content:""}.bi-dash-square-fill:before{content:""}.bi-dash-square:before{content:""}.bi-dash:before{content:""}.bi-diagram-2-fill:before{content:""}.bi-diagram-2:before{content:""}.bi-diagram-3-fill:before{content:""}.bi-diagram-3:before{content:""}.bi-diamond-fill:before{content:""}.bi-diamond-half:before{content:""}.bi-diamond:before{content:""}.bi-dice-1-fill:before{content:""}.bi-dice-1:before{content:""}.bi-dice-2-fill:before{content:""}.bi-dice-2:before{content:""}.bi-dice-3-fill:before{content:""}.bi-dice-3:before{content:""}.bi-dice-4-fill:before{content:""}.bi-dice-4:before{content:""}.bi-dice-5-fill:before{content:""}.bi-dice-5:before{content:""}.bi-dice-6-fill:before{content:""}.bi-dice-6:before{content:""}.bi-disc-fill:before{content:""}.bi-disc:before{content:""}.bi-discord:before{content:""}.bi-display-fill:before{content:""}.bi-display:before{content:""}.bi-distribute-horizontal:before{content:""}.bi-distribute-vertical:before{content:""}.bi-door-closed-fill:before{content:""}.bi-door-closed:before{content:""}.bi-door-open-fill:before{content:""}.bi-door-open:before{content:""}.bi-dot:before{content:""}.bi-download:before{content:""}.bi-droplet-fill:before{content:""}.bi-droplet-half:before{content:""}.bi-droplet:before{content:""}.bi-earbuds:before{content:""}.bi-easel-fill:before{content:""}.bi-easel:before{content:""}.bi-egg-fill:before{content:""}.bi-egg-fried:before{content:""}.bi-egg:before{content:""}.bi-eject-fill:before{content:""}.bi-eject:before{content:""}.bi-emoji-angry-fill:before{content:""}.bi-emoji-angry:before{content:""}.bi-emoji-dizzy-fill:before{content:""}.bi-emoji-dizzy:before{content:""}.bi-emoji-expressionless-fill:before{content:""}.bi-emoji-expressionless:before{content:""}.bi-emoji-frown-fill:before{content:""}.bi-emoji-frown:before{content:""}.bi-emoji-heart-eyes-fill:before{content:""}.bi-emoji-heart-eyes:before{content:""}.bi-emoji-laughing-fill:before{content:""}.bi-emoji-laughing:before{content:""}.bi-emoji-neutral-fill:before{content:""}.bi-emoji-neutral:before{content:""}.bi-emoji-smile-fill:before{content:""}.bi-emoji-smile-upside-down-fill:before{content:""}.bi-emoji-smile-upside-down:before{content:""}.bi-emoji-smile:before{content:""}.bi-emoji-sunglasses-fill:before{content:""}.bi-emoji-sunglasses:before{content:""}.bi-emoji-wink-fill:before{content:""}.bi-emoji-wink:before{content:""}.bi-envelope-fill:before{content:""}.bi-envelope-open-fill:before{content:""}.bi-envelope-open:before{content:""}.bi-envelope:before{content:""}.bi-eraser-fill:before{content:""}.bi-eraser:before{content:""}.bi-exclamation-circle-fill:before{content:""}.bi-exclamation-circle:before{content:""}.bi-exclamation-diamond-fill:before{content:""}.bi-exclamation-diamond:before{content:""}.bi-exclamation-octagon-fill:before{content:""}.bi-exclamation-octagon:before{content:""}.bi-exclamation-square-fill:before{content:""}.bi-exclamation-square:before{content:""}.bi-exclamation-triangle-fill:before{content:""}.bi-exclamation-triangle:before{content:""}.bi-exclamation:before{content:""}.bi-exclude:before{content:""}.bi-eye-fill:before{content:""}.bi-eye-slash-fill:before{content:""}.bi-eye-slash:before{content:""}.bi-eye:before{content:""}.bi-eyedropper:before{content:""}.bi-eyeglasses:before{content:""}.bi-facebook:before{content:""}.bi-file-arrow-down-fill:before{content:""}.bi-file-arrow-down:before{content:""}.bi-file-arrow-up-fill:before{content:""}.bi-file-arrow-up:before{content:""}.bi-file-bar-graph-fill:before{content:""}.bi-file-bar-graph:before{content:""}.bi-file-binary-fill:before{content:""}.bi-file-binary:before{content:""}.bi-file-break-fill:before{content:""}.bi-file-break:before{content:""}.bi-file-check-fill:before{content:""}.bi-file-check:before{content:""}.bi-file-code-fill:before{content:""}.bi-file-code:before{content:""}.bi-file-diff-fill:before{content:""}.bi-file-diff:before{content:""}.bi-file-earmark-arrow-down-fill:before{content:""}.bi-file-earmark-arrow-down:before{content:""}.bi-file-earmark-arrow-up-fill:before{content:""}.bi-file-earmark-arrow-up:before{content:""}.bi-file-earmark-bar-graph-fill:before{content:""}.bi-file-earmark-bar-graph:before{content:""}.bi-file-earmark-binary-fill:before{content:""}.bi-file-earmark-binary:before{content:""}.bi-file-earmark-break-fill:before{content:""}.bi-file-earmark-break:before{content:""}.bi-file-earmark-check-fill:before{content:""}.bi-file-earmark-check:before{content:""}.bi-file-earmark-code-fill:before{content:""}.bi-file-earmark-code:before{content:""}.bi-file-earmark-diff-fill:before{content:""}.bi-file-earmark-diff:before{content:""}.bi-file-earmark-easel-fill:before{content:""}.bi-file-earmark-easel:before{content:""}.bi-file-earmark-excel-fill:before{content:""}.bi-file-earmark-excel:before{content:""}.bi-file-earmark-fill:before{content:""}.bi-file-earmark-font-fill:before{content:""}.bi-file-earmark-font:before{content:""}.bi-file-earmark-image-fill:before{content:""}.bi-file-earmark-image:before{content:""}.bi-file-earmark-lock-fill:before{content:""}.bi-file-earmark-lock:before{content:""}.bi-file-earmark-lock2-fill:before{content:""}.bi-file-earmark-lock2:before{content:""}.bi-file-earmark-medical-fill:before{content:""}.bi-file-earmark-medical:before{content:""}.bi-file-earmark-minus-fill:before{content:""}.bi-file-earmark-minus:before{content:""}.bi-file-earmark-music-fill:before{content:""}.bi-file-earmark-music:before{content:""}.bi-file-earmark-person-fill:before{content:""}.bi-file-earmark-person:before{content:""}.bi-file-earmark-play-fill:before{content:""}.bi-file-earmark-play:before{content:""}.bi-file-earmark-plus-fill:before{content:""}.bi-file-earmark-plus:before{content:""}.bi-file-earmark-post-fill:before{content:""}.bi-file-earmark-post:before{content:""}.bi-file-earmark-ppt-fill:before{content:""}.bi-file-earmark-ppt:before{content:""}.bi-file-earmark-richtext-fill:before{content:""}.bi-file-earmark-richtext:before{content:""}.bi-file-earmark-ruled-fill:before{content:""}.bi-file-earmark-ruled:before{content:""}.bi-file-earmark-slides-fill:before{content:""}.bi-file-earmark-slides:before{content:""}.bi-file-earmark-spreadsheet-fill:before{content:""}.bi-file-earmark-spreadsheet:before{content:""}.bi-file-earmark-text-fill:before{content:""}.bi-file-earmark-text:before{content:""}.bi-file-earmark-word-fill:before{content:""}.bi-file-earmark-word:before{content:""}.bi-file-earmark-x-fill:before{content:""}.bi-file-earmark-x:before{content:""}.bi-file-earmark-zip-fill:before{content:""}.bi-file-earmark-zip:before{content:""}.bi-file-earmark:before{content:""}.bi-file-easel-fill:before{content:""}.bi-file-easel:before{content:""}.bi-file-excel-fill:before{content:""}.bi-file-excel:before{content:""}.bi-file-fill:before{content:""}.bi-file-font-fill:before{content:""}.bi-file-font:before{content:""}.bi-file-image-fill:before{content:""}.bi-file-image:before{content:""}.bi-file-lock-fill:before{content:""}.bi-file-lock:before{content:""}.bi-file-lock2-fill:before{content:""}.bi-file-lock2:before{content:""}.bi-file-medical-fill:before{content:""}.bi-file-medical:before{content:""}.bi-file-minus-fill:before{content:""}.bi-file-minus:before{content:""}.bi-file-music-fill:before{content:""}.bi-file-music:before{content:""}.bi-file-person-fill:before{content:""}.bi-file-person:before{content:""}.bi-file-play-fill:before{content:""}.bi-file-play:before{content:""}.bi-file-plus-fill:before{content:""}.bi-file-plus:before{content:""}.bi-file-post-fill:before{content:""}.bi-file-post:before{content:""}.bi-file-ppt-fill:before{content:""}.bi-file-ppt:before{content:""}.bi-file-richtext-fill:before{content:""}.bi-file-richtext:before{content:""}.bi-file-ruled-fill:before{content:""}.bi-file-ruled:before{content:""}.bi-file-slides-fill:before{content:""}.bi-file-slides:before{content:""}.bi-file-spreadsheet-fill:before{content:""}.bi-file-spreadsheet:before{content:""}.bi-file-text-fill:before{content:""}.bi-file-text:before{content:""}.bi-file-word-fill:before{content:""}.bi-file-word:before{content:""}.bi-file-x-fill:before{content:""}.bi-file-x:before{content:""}.bi-file-zip-fill:before{content:""}.bi-file-zip:before{content:""}.bi-file:before{content:""}.bi-files-alt:before{content:""}.bi-files:before{content:""}.bi-film:before{content:""}.bi-filter-circle-fill:before{content:""}.bi-filter-circle:before{content:""}.bi-filter-left:before{content:""}.bi-filter-right:before{content:""}.bi-filter-square-fill:before{content:""}.bi-filter-square:before{content:""}.bi-filter:before{content:""}.bi-flag-fill:before{content:""}.bi-flag:before{content:""}.bi-flower1:before{content:""}.bi-flower2:before{content:""}.bi-flower3:before{content:""}.bi-folder-check:before{content:""}.bi-folder-fill:before{content:""}.bi-folder-minus:before{content:""}.bi-folder-plus:before{content:""}.bi-folder-symlink-fill:before{content:""}.bi-folder-symlink:before{content:""}.bi-folder-x:before{content:""}.bi-folder:before{content:""}.bi-folder2-open:before{content:""}.bi-folder2:before{content:""}.bi-fonts:before{content:""}.bi-forward-fill:before{content:""}.bi-forward:before{content:""}.bi-front:before{content:""}.bi-fullscreen-exit:before{content:""}.bi-fullscreen:before{content:""}.bi-funnel-fill:before{content:""}.bi-funnel:before{content:""}.bi-gear-fill:before{content:""}.bi-gear-wide-connected:before{content:""}.bi-gear-wide:before{content:""}.bi-gear:before{content:""}.bi-gem:before{content:""}.bi-geo-alt-fill:before{content:""}.bi-geo-alt:before{content:""}.bi-geo-fill:before{content:""}.bi-geo:before{content:""}.bi-gift-fill:before{content:""}.bi-gift:before{content:""}.bi-github:before{content:""}.bi-globe:before{content:""}.bi-globe2:before{content:""}.bi-google:before{content:""}.bi-graph-down:before{content:""}.bi-graph-up:before{content:""}.bi-grid-1x2-fill:before{content:""}.bi-grid-1x2:before{content:""}.bi-grid-3x2-gap-fill:before{content:""}.bi-grid-3x2-gap:before{content:""}.bi-grid-3x2:before{content:""}.bi-grid-3x3-gap-fill:before{content:""}.bi-grid-3x3-gap:before{content:""}.bi-grid-3x3:before{content:""}.bi-grid-fill:before{content:""}.bi-grid:before{content:""}.bi-grip-horizontal:before{content:""}.bi-grip-vertical:before{content:""}.bi-hammer:before{content:""}.bi-hand-index-fill:before{content:""}.bi-hand-index-thumb-fill:before{content:""}.bi-hand-index-thumb:before{content:""}.bi-hand-index:before{content:""}.bi-hand-thumbs-down-fill:before{content:""}.bi-hand-thumbs-down:before{content:""}.bi-hand-thumbs-up-fill:before{content:""}.bi-hand-thumbs-up:before{content:""}.bi-handbag-fill:before{content:""}.bi-handbag:before{content:""}.bi-hash:before{content:""}.bi-hdd-fill:before{content:""}.bi-hdd-network-fill:before{content:""}.bi-hdd-network:before{content:""}.bi-hdd-rack-fill:before{content:""}.bi-hdd-rack:before{content:""}.bi-hdd-stack-fill:before{content:""}.bi-hdd-stack:before{content:""}.bi-hdd:before{content:""}.bi-headphones:before{content:""}.bi-headset:before{content:""}.bi-heart-fill:before{content:""}.bi-heart-half:before{content:""}.bi-heart:before{content:""}.bi-heptagon-fill:before{content:""}.bi-heptagon-half:before{content:""}.bi-heptagon:before{content:""}.bi-hexagon-fill:before{content:""}.bi-hexagon-half:before{content:""}.bi-hexagon:before{content:""}.bi-hourglass-bottom:before{content:""}.bi-hourglass-split:before{content:""}.bi-hourglass-top:before{content:""}.bi-hourglass:before{content:""}.bi-house-door-fill:before{content:""}.bi-house-door:before{content:""}.bi-house-fill:before{content:""}.bi-house:before{content:""}.bi-hr:before{content:""}.bi-hurricane:before{content:""}.bi-image-alt:before{content:""}.bi-image-fill:before{content:""}.bi-image:before{content:""}.bi-images:before{content:""}.bi-inbox-fill:before{content:""}.bi-inbox:before{content:""}.bi-inboxes-fill:before{content:""}.bi-inboxes:before{content:""}.bi-info-circle-fill:before{content:""}.bi-info-circle:before{content:""}.bi-info-square-fill:before{content:""}.bi-info-square:before{content:""}.bi-info:before{content:""}.bi-input-cursor-text:before{content:""}.bi-input-cursor:before{content:""}.bi-instagram:before{content:""}.bi-intersect:before{content:""}.bi-journal-album:before{content:""}.bi-journal-arrow-down:before{content:""}.bi-journal-arrow-up:before{content:""}.bi-journal-bookmark-fill:before{content:""}.bi-journal-bookmark:before{content:""}.bi-journal-check:before{content:""}.bi-journal-code:before{content:""}.bi-journal-medical:before{content:""}.bi-journal-minus:before{content:""}.bi-journal-plus:before{content:""}.bi-journal-richtext:before{content:""}.bi-journal-text:before{content:""}.bi-journal-x:before{content:""}.bi-journal:before{content:""}.bi-journals:before{content:""}.bi-joystick:before{content:""}.bi-justify-left:before{content:""}.bi-justify-right:before{content:""}.bi-justify:before{content:""}.bi-kanban-fill:before{content:""}.bi-kanban:before{content:""}.bi-key-fill:before{content:""}.bi-key:before{content:""}.bi-keyboard-fill:before{content:""}.bi-keyboard:before{content:""}.bi-ladder:before{content:""}.bi-lamp-fill:before{content:""}.bi-lamp:before{content:""}.bi-laptop-fill:before{content:""}.bi-laptop:before{content:""}.bi-layer-backward:before{content:""}.bi-layer-forward:before{content:""}.bi-layers-fill:before{content:""}.bi-layers-half:before{content:""}.bi-layers:before{content:""}.bi-layout-sidebar-inset-reverse:before{content:""}.bi-layout-sidebar-inset:before{content:""}.bi-layout-sidebar-reverse:before{content:""}.bi-layout-sidebar:before{content:""}.bi-layout-split:before{content:""}.bi-layout-text-sidebar-reverse:before{content:""}.bi-layout-text-sidebar:before{content:""}.bi-layout-text-window-reverse:before{content:""}.bi-layout-text-window:before{content:""}.bi-layout-three-columns:before{content:""}.bi-layout-wtf:before{content:""}.bi-life-preserver:before{content:""}.bi-lightbulb-fill:before{content:""}.bi-lightbulb-off-fill:before{content:""}.bi-lightbulb-off:before{content:""}.bi-lightbulb:before{content:""}.bi-lightning-charge-fill:before{content:""}.bi-lightning-charge:before{content:""}.bi-lightning-fill:before{content:""}.bi-lightning:before{content:""}.bi-link-45deg:before{content:""}.bi-link:before{content:""}.bi-linkedin:before{content:""}.bi-list-check:before{content:""}.bi-list-nested:before{content:""}.bi-list-ol:before{content:""}.bi-list-stars:before{content:""}.bi-list-task:before{content:""}.bi-list-ul:before{content:""}.bi-list:before{content:""}.bi-lock-fill:before{content:""}.bi-lock:before{content:""}.bi-mailbox:before{content:""}.bi-mailbox2:before{content:""}.bi-map-fill:before{content:""}.bi-map:before{content:""}.bi-markdown-fill:before{content:""}.bi-markdown:before{content:""}.bi-mask:before{content:""}.bi-megaphone-fill:before{content:""}.bi-megaphone:before{content:""}.bi-menu-app-fill:before{content:""}.bi-menu-app:before{content:""}.bi-menu-button-fill:before{content:""}.bi-menu-button-wide-fill:before{content:""}.bi-menu-button-wide:before{content:""}.bi-menu-button:before{content:""}.bi-menu-down:before{content:""}.bi-menu-up:before{content:""}.bi-mic-fill:before{content:""}.bi-mic-mute-fill:before{content:""}.bi-mic-mute:before{content:""}.bi-mic:before{content:""}.bi-minecart-loaded:before{content:""}.bi-minecart:before{content:""}.bi-moisture:before{content:""}.bi-moon-fill:before{content:""}.bi-moon-stars-fill:before{content:""}.bi-moon-stars:before{content:""}.bi-moon:before{content:""}.bi-mouse-fill:before{content:""}.bi-mouse:before{content:""}.bi-mouse2-fill:before{content:""}.bi-mouse2:before{content:""}.bi-mouse3-fill:before{content:""}.bi-mouse3:before{content:""}.bi-music-note-beamed:before{content:""}.bi-music-note-list:before{content:""}.bi-music-note:before{content:""}.bi-music-player-fill:before{content:""}.bi-music-player:before{content:""}.bi-newspaper:before{content:""}.bi-node-minus-fill:before{content:""}.bi-node-minus:before{content:""}.bi-node-plus-fill:before{content:""}.bi-node-plus:before{content:""}.bi-nut-fill:before{content:""}.bi-nut:before{content:""}.bi-octagon-fill:before{content:""}.bi-octagon-half:before{content:""}.bi-octagon:before{content:""}.bi-option:before{content:""}.bi-outlet:before{content:""}.bi-paint-bucket:before{content:""}.bi-palette-fill:before{content:""}.bi-palette:before{content:""}.bi-palette2:before{content:""}.bi-paperclip:before{content:""}.bi-paragraph:before{content:""}.bi-patch-check-fill:before{content:""}.bi-patch-check:before{content:""}.bi-patch-exclamation-fill:before{content:""}.bi-patch-exclamation:before{content:""}.bi-patch-minus-fill:before{content:""}.bi-patch-minus:before{content:""}.bi-patch-plus-fill:before{content:""}.bi-patch-plus:before{content:""}.bi-patch-question-fill:before{content:""}.bi-patch-question:before{content:""}.bi-pause-btn-fill:before{content:""}.bi-pause-btn:before{content:""}.bi-pause-circle-fill:before{content:""}.bi-pause-circle:before{content:""}.bi-pause-fill:before{content:""}.bi-pause:before{content:""}.bi-peace-fill:before{content:""}.bi-peace:before{content:""}.bi-pen-fill:before{content:""}.bi-pen:before{content:""}.bi-pencil-fill:before{content:""}.bi-pencil-square:before{content:""}.bi-pencil:before{content:""}.bi-pentagon-fill:before{content:""}.bi-pentagon-half:before{content:""}.bi-pentagon:before{content:""}.bi-people-fill:before{content:""}.bi-people:before{content:""}.bi-percent:before{content:""}.bi-person-badge-fill:before{content:""}.bi-person-badge:before{content:""}.bi-person-bounding-box:before{content:""}.bi-person-check-fill:before{content:""}.bi-person-check:before{content:""}.bi-person-circle:before{content:""}.bi-person-dash-fill:before{content:""}.bi-person-dash:before{content:""}.bi-person-fill:before{content:""}.bi-person-lines-fill:before{content:""}.bi-person-plus-fill:before{content:""}.bi-person-plus:before{content:""}.bi-person-square:before{content:""}.bi-person-x-fill:before{content:""}.bi-person-x:before{content:""}.bi-person:before{content:""}.bi-phone-fill:before{content:""}.bi-phone-landscape-fill:before{content:""}.bi-phone-landscape:before{content:""}.bi-phone-vibrate-fill:before{content:""}.bi-phone-vibrate:before{content:""}.bi-phone:before{content:""}.bi-pie-chart-fill:before{content:""}.bi-pie-chart:before{content:""}.bi-pin-angle-fill:before{content:""}.bi-pin-angle:before{content:""}.bi-pin-fill:before{content:""}.bi-pin:before{content:""}.bi-pip-fill:before{content:""}.bi-pip:before{content:""}.bi-play-btn-fill:before{content:""}.bi-play-btn:before{content:""}.bi-play-circle-fill:before{content:""}.bi-play-circle:before{content:""}.bi-play-fill:before{content:""}.bi-play:before{content:""}.bi-plug-fill:before{content:""}.bi-plug:before{content:""}.bi-plus-circle-dotted:before{content:""}.bi-plus-circle-fill:before{content:""}.bi-plus-circle:before{content:""}.bi-plus-square-dotted:before{content:""}.bi-plus-square-fill:before{content:""}.bi-plus-square:before{content:""}.bi-plus:before{content:""}.bi-power:before{content:""}.bi-printer-fill:before{content:""}.bi-printer:before{content:""}.bi-puzzle-fill:before{content:""}.bi-puzzle:before{content:""}.bi-question-circle-fill:before{content:""}.bi-question-circle:before{content:""}.bi-question-diamond-fill:before{content:""}.bi-question-diamond:before{content:""}.bi-question-octagon-fill:before{content:""}.bi-question-octagon:before{content:""}.bi-question-square-fill:before{content:""}.bi-question-square:before{content:""}.bi-question:before{content:""}.bi-rainbow:before{content:""}.bi-receipt-cutoff:before{content:""}.bi-receipt:before{content:""}.bi-reception-0:before{content:""}.bi-reception-1:before{content:""}.bi-reception-2:before{content:""}.bi-reception-3:before{content:""}.bi-reception-4:before{content:""}.bi-record-btn-fill:before{content:""}.bi-record-btn:before{content:""}.bi-record-circle-fill:before{content:""}.bi-record-circle:before{content:""}.bi-record-fill:before{content:""}.bi-record:before{content:""}.bi-record2-fill:before{content:""}.bi-record2:before{content:""}.bi-reply-all-fill:before{content:""}.bi-reply-all:before{content:""}.bi-reply-fill:before{content:""}.bi-reply:before{content:""}.bi-rss-fill:before{content:""}.bi-rss:before{content:""}.bi-rulers:before{content:""}.bi-save-fill:before{content:""}.bi-save:before{content:""}.bi-save2-fill:before{content:""}.bi-save2:before{content:""}.bi-scissors:before{content:""}.bi-screwdriver:before{content:""}.bi-search:before{content:""}.bi-segmented-nav:before{content:""}.bi-server:before{content:""}.bi-share-fill:before{content:""}.bi-share:before{content:""}.bi-shield-check:before{content:""}.bi-shield-exclamation:before{content:""}.bi-shield-fill-check:before{content:""}.bi-shield-fill-exclamation:before{content:""}.bi-shield-fill-minus:before{content:""}.bi-shield-fill-plus:before{content:""}.bi-shield-fill-x:before{content:""}.bi-shield-fill:before{content:""}.bi-shield-lock-fill:before{content:""}.bi-shield-lock:before{content:""}.bi-shield-minus:before{content:""}.bi-shield-plus:before{content:""}.bi-shield-shaded:before{content:""}.bi-shield-slash-fill:before{content:""}.bi-shield-slash:before{content:""}.bi-shield-x:before{content:""}.bi-shield:before{content:""}.bi-shift-fill:before{content:""}.bi-shift:before{content:""}.bi-shop-window:before{content:""}.bi-shop:before{content:""}.bi-shuffle:before{content:""}.bi-signpost-2-fill:before{content:""}.bi-signpost-2:before{content:""}.bi-signpost-fill:before{content:""}.bi-signpost-split-fill:before{content:""}.bi-signpost-split:before{content:""}.bi-signpost:before{content:""}.bi-sim-fill:before{content:""}.bi-sim:before{content:""}.bi-skip-backward-btn-fill:before{content:""}.bi-skip-backward-btn:before{content:""}.bi-skip-backward-circle-fill:before{content:""}.bi-skip-backward-circle:before{content:""}.bi-skip-backward-fill:before{content:""}.bi-skip-backward:before{content:""}.bi-skip-end-btn-fill:before{content:""}.bi-skip-end-btn:before{content:""}.bi-skip-end-circle-fill:before{content:""}.bi-skip-end-circle:before{content:""}.bi-skip-end-fill:before{content:""}.bi-skip-end:before{content:""}.bi-skip-forward-btn-fill:before{content:""}.bi-skip-forward-btn:before{content:""}.bi-skip-forward-circle-fill:before{content:""}.bi-skip-forward-circle:before{content:""}.bi-skip-forward-fill:before{content:""}.bi-skip-forward:before{content:""}.bi-skip-start-btn-fill:before{content:""}.bi-skip-start-btn:before{content:""}.bi-skip-start-circle-fill:before{content:""}.bi-skip-start-circle:before{content:""}.bi-skip-start-fill:before{content:""}.bi-skip-start:before{content:""}.bi-slack:before{content:""}.bi-slash-circle-fill:before{content:""}.bi-slash-circle:before{content:""}.bi-slash-square-fill:before{content:""}.bi-slash-square:before{content:""}.bi-slash:before{content:""}.bi-sliders:before{content:""}.bi-smartwatch:before{content:""}.bi-snow:before{content:""}.bi-snow2:before{content:""}.bi-snow3:before{content:""}.bi-sort-alpha-down-alt:before{content:""}.bi-sort-alpha-down:before{content:""}.bi-sort-alpha-up-alt:before{content:""}.bi-sort-alpha-up:before{content:""}.bi-sort-down-alt:before{content:""}.bi-sort-down:before{content:""}.bi-sort-numeric-down-alt:before{content:""}.bi-sort-numeric-down:before{content:""}.bi-sort-numeric-up-alt:before{content:""}.bi-sort-numeric-up:before{content:""}.bi-sort-up-alt:before{content:""}.bi-sort-up:before{content:""}.bi-soundwave:before{content:""}.bi-speaker-fill:before{content:""}.bi-speaker:before{content:""}.bi-speedometer:before{content:""}.bi-speedometer2:before{content:""}.bi-spellcheck:before{content:""}.bi-square-fill:before{content:""}.bi-square-half:before{content:""}.bi-square:before{content:""}.bi-stack:before{content:""}.bi-star-fill:before{content:""}.bi-star-half:before{content:""}.bi-star:before{content:""}.bi-stars:before{content:""}.bi-stickies-fill:before{content:""}.bi-stickies:before{content:""}.bi-sticky-fill:before{content:""}.bi-sticky:before{content:""}.bi-stop-btn-fill:before{content:""}.bi-stop-btn:before{content:""}.bi-stop-circle-fill:before{content:""}.bi-stop-circle:before{content:""}.bi-stop-fill:before{content:""}.bi-stop:before{content:""}.bi-stoplights-fill:before{content:""}.bi-stoplights:before{content:""}.bi-stopwatch-fill:before{content:""}.bi-stopwatch:before{content:""}.bi-subtract:before{content:""}.bi-suit-club-fill:before{content:""}.bi-suit-club:before{content:""}.bi-suit-diamond-fill:before{content:""}.bi-suit-diamond:before{content:""}.bi-suit-heart-fill:before{content:""}.bi-suit-heart:before{content:""}.bi-suit-spade-fill:before{content:""}.bi-suit-spade:before{content:""}.bi-sun-fill:before{content:""}.bi-sun:before{content:""}.bi-sunglasses:before{content:""}.bi-sunrise-fill:before{content:""}.bi-sunrise:before{content:""}.bi-sunset-fill:before{content:""}.bi-sunset:before{content:""}.bi-symmetry-horizontal:before{content:""}.bi-symmetry-vertical:before{content:""}.bi-table:before{content:""}.bi-tablet-fill:before{content:""}.bi-tablet-landscape-fill:before{content:""}.bi-tablet-landscape:before{content:""}.bi-tablet:before{content:""}.bi-tag-fill:before{content:""}.bi-tag:before{content:""}.bi-tags-fill:before{content:""}.bi-tags:before{content:""}.bi-telegram:before{content:""}.bi-telephone-fill:before{content:""}.bi-telephone-forward-fill:before{content:""}.bi-telephone-forward:before{content:""}.bi-telephone-inbound-fill:before{content:""}.bi-telephone-inbound:before{content:""}.bi-telephone-minus-fill:before{content:""}.bi-telephone-minus:before{content:""}.bi-telephone-outbound-fill:before{content:""}.bi-telephone-outbound:before{content:""}.bi-telephone-plus-fill:before{content:""}.bi-telephone-plus:before{content:""}.bi-telephone-x-fill:before{content:""}.bi-telephone-x:before{content:""}.bi-telephone:before{content:""}.bi-terminal-fill:before{content:""}.bi-terminal:before{content:""}.bi-text-center:before{content:""}.bi-text-indent-left:before{content:""}.bi-text-indent-right:before{content:""}.bi-text-left:before{content:""}.bi-text-paragraph:before{content:""}.bi-text-right:before{content:""}.bi-textarea-resize:before{content:""}.bi-textarea-t:before{content:""}.bi-textarea:before{content:""}.bi-thermometer-half:before{content:""}.bi-thermometer-high:before{content:""}.bi-thermometer-low:before{content:""}.bi-thermometer-snow:before{content:""}.bi-thermometer-sun:before{content:""}.bi-thermometer:before{content:""}.bi-three-dots-vertical:before{content:""}.bi-three-dots:before{content:""}.bi-toggle-off:before{content:""}.bi-toggle-on:before{content:""}.bi-toggle2-off:before{content:""}.bi-toggle2-on:before{content:""}.bi-toggles:before{content:""}.bi-toggles2:before{content:""}.bi-tools:before{content:""}.bi-tornado:before{content:""}.bi-trash-fill:before{content:""}.bi-trash:before{content:""}.bi-trash2-fill:before{content:""}.bi-trash2:before{content:""}.bi-tree-fill:before{content:""}.bi-tree:before{content:""}.bi-triangle-fill:before{content:""}.bi-triangle-half:before{content:""}.bi-triangle:before{content:""}.bi-trophy-fill:before{content:""}.bi-trophy:before{content:""}.bi-tropical-storm:before{content:""}.bi-truck-flatbed:before{content:""}.bi-truck:before{content:""}.bi-tsunami:before{content:""}.bi-tv-fill:before{content:""}.bi-tv:before{content:""}.bi-twitch:before{content:""}.bi-twitter:before{content:""}.bi-type-bold:before{content:""}.bi-type-h1:before{content:""}.bi-type-h2:before{content:""}.bi-type-h3:before{content:""}.bi-type-italic:before{content:""}.bi-type-strikethrough:before{content:""}.bi-type-underline:before{content:""}.bi-type:before{content:""}.bi-ui-checks-grid:before{content:""}.bi-ui-checks:before{content:""}.bi-ui-radios-grid:before{content:""}.bi-ui-radios:before{content:""}.bi-umbrella-fill:before{content:""}.bi-umbrella:before{content:""}.bi-union:before{content:""}.bi-unlock-fill:before{content:""}.bi-unlock:before{content:""}.bi-upc-scan:before{content:""}.bi-upc:before{content:""}.bi-upload:before{content:""}.bi-vector-pen:before{content:""}.bi-view-list:before{content:""}.bi-view-stacked:before{content:""}.bi-vinyl-fill:before{content:""}.bi-vinyl:before{content:""}.bi-voicemail:before{content:""}.bi-volume-down-fill:before{content:""}.bi-volume-down:before{content:""}.bi-volume-mute-fill:before{content:""}.bi-volume-mute:before{content:""}.bi-volume-off-fill:before{content:""}.bi-volume-off:before{content:""}.bi-volume-up-fill:before{content:""}.bi-volume-up:before{content:""}.bi-vr:before{content:""}.bi-wallet-fill:before{content:""}.bi-wallet:before{content:""}.bi-wallet2:before{content:""}.bi-watch:before{content:""}.bi-water:before{content:""}.bi-whatsapp:before{content:""}.bi-wifi-1:before{content:""}.bi-wifi-2:before{content:""}.bi-wifi-off:before{content:""}.bi-wifi:before{content:""}.bi-wind:before{content:""}.bi-window-dock:before{content:""}.bi-window-sidebar:before{content:""}.bi-window:before{content:""}.bi-wrench:before{content:""}.bi-x-circle-fill:before{content:""}.bi-x-circle:before{content:""}.bi-x-diamond-fill:before{content:""}.bi-x-diamond:before{content:""}.bi-x-octagon-fill:before{content:""}.bi-x-octagon:before{content:""}.bi-x-square-fill:before{content:""}.bi-x-square:before{content:""}.bi-x:before{content:""}.bi-youtube:before{content:""}.bi-zoom-in:before{content:""}.bi-zoom-out:before{content:""}.bi-bank:before{content:""}.bi-bank2:before{content:""}.bi-bell-slash-fill:before{content:""}.bi-bell-slash:before{content:""}.bi-cash-coin:before{content:""}.bi-check-lg:before{content:""}.bi-coin:before{content:""}.bi-currency-bitcoin:before{content:""}.bi-currency-dollar:before{content:""}.bi-currency-euro:before{content:""}.bi-currency-exchange:before{content:""}.bi-currency-pound:before{content:""}.bi-currency-yen:before{content:""}.bi-dash-lg:before{content:""}.bi-exclamation-lg:before{content:""}.bi-file-earmark-pdf-fill:before{content:""}.bi-file-earmark-pdf:before{content:""}.bi-file-pdf-fill:before{content:""}.bi-file-pdf:before{content:""}.bi-gender-ambiguous:before{content:""}.bi-gender-female:before{content:""}.bi-gender-male:before{content:""}.bi-gender-trans:before{content:""}.bi-headset-vr:before{content:""}.bi-info-lg:before{content:""}.bi-mastodon:before{content:""}.bi-messenger:before{content:""}.bi-piggy-bank-fill:before{content:""}.bi-piggy-bank:before{content:""}.bi-pin-map-fill:before{content:""}.bi-pin-map:before{content:""}.bi-plus-lg:before{content:""}.bi-question-lg:before{content:""}.bi-recycle:before{content:""}.bi-reddit:before{content:""}.bi-safe-fill:before{content:""}.bi-safe2-fill:before{content:""}.bi-safe2:before{content:""}.bi-sd-card-fill:before{content:""}.bi-sd-card:before{content:""}.bi-skype:before{content:""}.bi-slash-lg:before{content:""}.bi-translate:before{content:""}.bi-x-lg:before{content:""}.bi-safe:before{content:""}.bi-apple:before{content:""}.bi-microsoft:before{content:""}.bi-windows:before{content:""}.bi-behance:before{content:""}.bi-dribbble:before{content:""}.bi-line:before{content:""}.bi-medium:before{content:""}.bi-paypal:before{content:""}.bi-pinterest:before{content:""}.bi-signal:before{content:""}.bi-snapchat:before{content:""}.bi-spotify:before{content:""}.bi-stack-overflow:before{content:""}.bi-strava:before{content:""}.bi-wordpress:before{content:""}.bi-vimeo:before{content:""}.bi-activity:before{content:""}.bi-easel2-fill:before{content:""}.bi-easel2:before{content:""}.bi-easel3-fill:before{content:""}.bi-easel3:before{content:""}.bi-fan:before{content:""}.bi-fingerprint:before{content:""}.bi-graph-down-arrow:before{content:""}.bi-graph-up-arrow:before{content:""}.bi-hypnotize:before{content:""}.bi-magic:before{content:""}.bi-person-rolodex:before{content:""}.bi-person-video:before{content:""}.bi-person-video2:before{content:""}.bi-person-video3:before{content:""}.bi-person-workspace:before{content:""}.bi-radioactive:before{content:""}.bi-webcam-fill:before{content:""}.bi-webcam:before{content:""}.bi-yin-yang:before{content:""}.bi-bandaid-fill:before{content:""}.bi-bandaid:before{content:""}.bi-bluetooth:before{content:""}.bi-body-text:before{content:""}.bi-boombox:before{content:""}.bi-boxes:before{content:""}.bi-dpad-fill:before{content:""}.bi-dpad:before{content:""}.bi-ear-fill:before{content:""}.bi-ear:before{content:""}.bi-envelope-check-fill:before{content:""}.bi-envelope-check:before{content:""}.bi-envelope-dash-fill:before{content:""}.bi-envelope-dash:before{content:""}.bi-envelope-exclamation-fill:before{content:""}.bi-envelope-exclamation:before{content:""}.bi-envelope-plus-fill:before{content:""}.bi-envelope-plus:before{content:""}.bi-envelope-slash-fill:before{content:""}.bi-envelope-slash:before{content:""}.bi-envelope-x-fill:before{content:""}.bi-envelope-x:before{content:""}.bi-explicit-fill:before{content:""}.bi-explicit:before{content:""}.bi-git:before{content:""}.bi-infinity:before{content:""}.bi-list-columns-reverse:before{content:""}.bi-list-columns:before{content:""}.bi-meta:before{content:""}.bi-nintendo-switch:before{content:""}.bi-pc-display-horizontal:before{content:""}.bi-pc-display:before{content:""}.bi-pc-horizontal:before{content:""}.bi-pc:before{content:""}.bi-playstation:before{content:""}.bi-plus-slash-minus:before{content:""}.bi-projector-fill:before{content:""}.bi-projector:before{content:""}.bi-qr-code-scan:before{content:""}.bi-qr-code:before{content:""}.bi-quora:before{content:""}.bi-quote:before{content:""}.bi-robot:before{content:""}.bi-send-check-fill:before{content:""}.bi-send-check:before{content:""}.bi-send-dash-fill:before{content:""}.bi-send-dash:before{content:""}.bi-send-exclamation-fill:before{content:""}.bi-send-exclamation:before{content:""}.bi-send-fill:before{content:""}.bi-send-plus-fill:before{content:""}.bi-send-plus:before{content:""}.bi-send-slash-fill:before{content:""}.bi-send-slash:before{content:""}.bi-send-x-fill:before{content:""}.bi-send-x:before{content:""}.bi-send:before{content:""}.bi-steam:before{content:""}.bi-terminal-dash:before{content:""}.bi-terminal-plus:before{content:""}.bi-terminal-split:before{content:""}.bi-ticket-detailed-fill:before{content:""}.bi-ticket-detailed:before{content:""}.bi-ticket-fill:before{content:""}.bi-ticket-perforated-fill:before{content:""}.bi-ticket-perforated:before{content:""}.bi-ticket:before{content:""}.bi-tiktok:before{content:""}.bi-window-dash:before{content:""}.bi-window-desktop:before{content:""}.bi-window-fullscreen:before{content:""}.bi-window-plus:before{content:""}.bi-window-split:before{content:""}.bi-window-stack:before{content:""}.bi-window-x:before{content:""}.bi-xbox:before{content:""}.bi-ethernet:before{content:""}.bi-hdmi-fill:before{content:""}.bi-hdmi:before{content:""}.bi-usb-c-fill:before{content:""}.bi-usb-c:before{content:""}.bi-usb-fill:before{content:""}.bi-usb-plug-fill:before{content:""}.bi-usb-plug:before{content:""}.bi-usb-symbol:before{content:""}.bi-usb:before{content:""}.bi-boombox-fill:before{content:""}.bi-displayport:before{content:""}.bi-gpu-card:before{content:""}.bi-memory:before{content:""}.bi-modem-fill:before{content:""}.bi-modem:before{content:""}.bi-motherboard-fill:before{content:""}.bi-motherboard:before{content:""}.bi-optical-audio-fill:before{content:""}.bi-optical-audio:before{content:""}.bi-pci-card:before{content:""}.bi-router-fill:before{content:""}.bi-router:before{content:""}.bi-thunderbolt-fill:before{content:""}.bi-thunderbolt:before{content:""}.bi-usb-drive-fill:before{content:""}.bi-usb-drive:before{content:""}.bi-usb-micro-fill:before{content:""}.bi-usb-micro:before{content:""}.bi-usb-mini-fill:before{content:""}.bi-usb-mini:before{content:""}.bi-cloud-haze2:before{content:""}.bi-device-hdd-fill:before{content:""}.bi-device-hdd:before{content:""}.bi-device-ssd-fill:before{content:""}.bi-device-ssd:before{content:""}.bi-displayport-fill:before{content:""}.bi-mortarboard-fill:before{content:""}.bi-mortarboard:before{content:""}.bi-terminal-x:before{content:""}.bi-arrow-through-heart-fill:before{content:""}.bi-arrow-through-heart:before{content:""}.bi-badge-sd-fill:before{content:""}.bi-badge-sd:before{content:""}.bi-bag-heart-fill:before{content:""}.bi-bag-heart:before{content:""}.bi-balloon-fill:before{content:""}.bi-balloon-heart-fill:before{content:""}.bi-balloon-heart:before{content:""}.bi-balloon:before{content:""}.bi-box2-fill:before{content:""}.bi-box2-heart-fill:before{content:""}.bi-box2-heart:before{content:""}.bi-box2:before{content:""}.bi-braces-asterisk:before{content:""}.bi-calendar-heart-fill:before{content:""}.bi-calendar-heart:before{content:""}.bi-calendar2-heart-fill:before{content:""}.bi-calendar2-heart:before{content:""}.bi-chat-heart-fill:before{content:""}.bi-chat-heart:before{content:""}.bi-chat-left-heart-fill:before{content:""}.bi-chat-left-heart:before{content:""}.bi-chat-right-heart-fill:before{content:""}.bi-chat-right-heart:before{content:""}.bi-chat-square-heart-fill:before{content:""}.bi-chat-square-heart:before{content:""}.bi-clipboard-check-fill:before{content:""}.bi-clipboard-data-fill:before{content:""}.bi-clipboard-fill:before{content:""}.bi-clipboard-heart-fill:before{content:""}.bi-clipboard-heart:before{content:""}.bi-clipboard-minus-fill:before{content:""}.bi-clipboard-plus-fill:before{content:""}.bi-clipboard-pulse:before{content:""}.bi-clipboard-x-fill:before{content:""}.bi-clipboard2-check-fill:before{content:""}.bi-clipboard2-check:before{content:""}.bi-clipboard2-data-fill:before{content:""}.bi-clipboard2-data:before{content:""}.bi-clipboard2-fill:before{content:""}.bi-clipboard2-heart-fill:before{content:""}.bi-clipboard2-heart:before{content:""}.bi-clipboard2-minus-fill:before{content:""}.bi-clipboard2-minus:before{content:""}.bi-clipboard2-plus-fill:before{content:""}.bi-clipboard2-plus:before{content:""}.bi-clipboard2-pulse-fill:before{content:""}.bi-clipboard2-pulse:before{content:""}.bi-clipboard2-x-fill:before{content:""}.bi-clipboard2-x:before{content:""}.bi-clipboard2:before{content:""}.bi-emoji-kiss-fill:before{content:""}.bi-emoji-kiss:before{content:""}.bi-envelope-heart-fill:before{content:""}.bi-envelope-heart:before{content:""}.bi-envelope-open-heart-fill:before{content:""}.bi-envelope-open-heart:before{content:""}.bi-envelope-paper-fill:before{content:""}.bi-envelope-paper-heart-fill:before{content:""}.bi-envelope-paper-heart:before{content:""}.bi-envelope-paper:before{content:""}.bi-filetype-aac:before{content:""}.bi-filetype-ai:before{content:""}.bi-filetype-bmp:before{content:""}.bi-filetype-cs:before{content:""}.bi-filetype-css:before{content:""}.bi-filetype-csv:before{content:""}.bi-filetype-doc:before{content:""}.bi-filetype-docx:before{content:""}.bi-filetype-exe:before{content:""}.bi-filetype-gif:before{content:""}.bi-filetype-heic:before{content:""}.bi-filetype-html:before{content:""}.bi-filetype-java:before{content:""}.bi-filetype-jpg:before{content:""}.bi-filetype-js:before{content:""}.bi-filetype-jsx:before{content:""}.bi-filetype-key:before{content:""}.bi-filetype-m4p:before{content:""}.bi-filetype-md:before{content:""}.bi-filetype-mdx:before{content:""}.bi-filetype-mov:before{content:""}.bi-filetype-mp3:before{content:""}.bi-filetype-mp4:before{content:""}.bi-filetype-otf:before{content:""}.bi-filetype-pdf:before{content:""}.bi-filetype-php:before{content:""}.bi-filetype-png:before{content:""}.bi-filetype-ppt:before{content:""}.bi-filetype-psd:before{content:""}.bi-filetype-py:before{content:""}.bi-filetype-raw:before{content:""}.bi-filetype-rb:before{content:""}.bi-filetype-sass:before{content:""}.bi-filetype-scss:before{content:""}.bi-filetype-sh:before{content:""}.bi-filetype-svg:before{content:""}.bi-filetype-tiff:before{content:""}.bi-filetype-tsx:before{content:""}.bi-filetype-ttf:before{content:""}.bi-filetype-txt:before{content:""}.bi-filetype-wav:before{content:""}.bi-filetype-woff:before{content:""}.bi-filetype-xls:before{content:""}.bi-filetype-xml:before{content:""}.bi-filetype-yml:before{content:""}.bi-heart-arrow:before{content:""}.bi-heart-pulse-fill:before{content:""}.bi-heart-pulse:before{content:""}.bi-heartbreak-fill:before{content:""}.bi-heartbreak:before{content:""}.bi-hearts:before{content:""}.bi-hospital-fill:before{content:""}.bi-hospital:before{content:""}.bi-house-heart-fill:before{content:""}.bi-house-heart:before{content:""}.bi-incognito:before{content:""}.bi-magnet-fill:before{content:""}.bi-magnet:before{content:""}.bi-person-heart:before{content:""}.bi-person-hearts:before{content:""}.bi-phone-flip:before{content:""}.bi-plugin:before{content:""}.bi-postage-fill:before{content:""}.bi-postage-heart-fill:before{content:""}.bi-postage-heart:before{content:""}.bi-postage:before{content:""}.bi-postcard-fill:before{content:""}.bi-postcard-heart-fill:before{content:""}.bi-postcard-heart:before{content:""}.bi-postcard:before{content:""}.bi-search-heart-fill:before{content:""}.bi-search-heart:before{content:""}.bi-sliders2-vertical:before{content:""}.bi-sliders2:before{content:""}.bi-trash3-fill:before{content:""}.bi-trash3:before{content:""}.bi-valentine:before{content:""}.bi-valentine2:before{content:""}.bi-wrench-adjustable-circle-fill:before{content:""}.bi-wrench-adjustable-circle:before{content:""}.bi-wrench-adjustable:before{content:""}.bi-filetype-json:before{content:""}.bi-filetype-pptx:before{content:""}.bi-filetype-xlsx:before{content:""}.bi-1-circle-fill:before{content:""}.bi-1-circle:before{content:""}.bi-1-square-fill:before{content:""}.bi-1-square:before{content:""}.bi-2-circle-fill:before{content:""}.bi-2-circle:before{content:""}.bi-2-square-fill:before{content:""}.bi-2-square:before{content:""}.bi-3-circle-fill:before{content:""}.bi-3-circle:before{content:""}.bi-3-square-fill:before{content:""}.bi-3-square:before{content:""}.bi-4-circle-fill:before{content:""}.bi-4-circle:before{content:""}.bi-4-square-fill:before{content:""}.bi-4-square:before{content:""}.bi-5-circle-fill:before{content:""}.bi-5-circle:before{content:""}.bi-5-square-fill:before{content:""}.bi-5-square:before{content:""}.bi-6-circle-fill:before{content:""}.bi-6-circle:before{content:""}.bi-6-square-fill:before{content:""}.bi-6-square:before{content:""}.bi-7-circle-fill:before{content:""}.bi-7-circle:before{content:""}.bi-7-square-fill:before{content:""}.bi-7-square:before{content:""}.bi-8-circle-fill:before{content:""}.bi-8-circle:before{content:""}.bi-8-square-fill:before{content:""}.bi-8-square:before{content:""}.bi-9-circle-fill:before{content:""}.bi-9-circle:before{content:""}.bi-9-square-fill:before{content:""}.bi-9-square:before{content:""}.bi-airplane-engines-fill:before{content:""}.bi-airplane-engines:before{content:""}.bi-airplane-fill:before{content:""}.bi-airplane:before{content:""}.bi-alexa:before{content:""}.bi-alipay:before{content:""}.bi-android:before{content:""}.bi-android2:before{content:""}.bi-box-fill:before{content:""}.bi-box-seam-fill:before{content:""}.bi-browser-chrome:before{content:""}.bi-browser-edge:before{content:""}.bi-browser-firefox:before{content:""}.bi-browser-safari:before{content:""}.bi-c-circle-fill:before{content:""}.bi-c-circle:before{content:""}.bi-c-square-fill:before{content:""}.bi-c-square:before{content:""}.bi-capsule-pill:before{content:""}.bi-capsule:before{content:""}.bi-car-front-fill:before{content:""}.bi-car-front:before{content:""}.bi-cassette-fill:before{content:""}.bi-cassette:before{content:""}.bi-cc-circle-fill:before{content:""}.bi-cc-circle:before{content:""}.bi-cc-square-fill:before{content:""}.bi-cc-square:before{content:""}.bi-cup-hot-fill:before{content:""}.bi-cup-hot:before{content:""}.bi-currency-rupee:before{content:""}.bi-dropbox:before{content:""}.bi-escape:before{content:""}.bi-fast-forward-btn-fill:before{content:""}.bi-fast-forward-btn:before{content:""}.bi-fast-forward-circle-fill:before{content:""}.bi-fast-forward-circle:before{content:""}.bi-fast-forward-fill:before{content:""}.bi-fast-forward:before{content:""}.bi-filetype-sql:before{content:""}.bi-fire:before{content:""}.bi-google-play:before{content:""}.bi-h-circle-fill:before{content:""}.bi-h-circle:before{content:""}.bi-h-square-fill:before{content:""}.bi-h-square:before{content:""}.bi-indent:before{content:""}.bi-lungs-fill:before{content:""}.bi-lungs:before{content:""}.bi-microsoft-teams:before{content:""}.bi-p-circle-fill:before{content:""}.bi-p-circle:before{content:""}.bi-p-square-fill:before{content:""}.bi-p-square:before{content:""}.bi-pass-fill:before{content:""}.bi-pass:before{content:""}.bi-prescription:before{content:""}.bi-prescription2:before{content:""}.bi-r-circle-fill:before{content:""}.bi-r-circle:before{content:""}.bi-r-square-fill:before{content:""}.bi-r-square:before{content:""}.bi-repeat-1:before{content:""}.bi-repeat:before{content:""}.bi-rewind-btn-fill:before{content:""}.bi-rewind-btn:before{content:""}.bi-rewind-circle-fill:before{content:""}.bi-rewind-circle:before{content:""}.bi-rewind-fill:before{content:""}.bi-rewind:before{content:""}.bi-train-freight-front-fill:before{content:""}.bi-train-freight-front:before{content:""}.bi-train-front-fill:before{content:""}.bi-train-front:before{content:""}.bi-train-lightrail-front-fill:before{content:""}.bi-train-lightrail-front:before{content:""}.bi-truck-front-fill:before{content:""}.bi-truck-front:before{content:""}.bi-ubuntu:before{content:""}.bi-unindent:before{content:""}.bi-unity:before{content:""}.bi-universal-access-circle:before{content:""}.bi-universal-access:before{content:""}.bi-virus:before{content:""}.bi-virus2:before{content:""}.bi-wechat:before{content:""}.bi-yelp:before{content:""}.bi-sign-stop-fill:before{content:""}.bi-sign-stop-lights-fill:before{content:""}.bi-sign-stop-lights:before{content:""}.bi-sign-stop:before{content:""}.bi-sign-turn-left-fill:before{content:""}.bi-sign-turn-left:before{content:""}.bi-sign-turn-right-fill:before{content:""}.bi-sign-turn-right:before{content:""}.bi-sign-turn-slight-left-fill:before{content:""}.bi-sign-turn-slight-left:before{content:""}.bi-sign-turn-slight-right-fill:before{content:""}.bi-sign-turn-slight-right:before{content:""}.bi-sign-yield-fill:before{content:""}.bi-sign-yield:before{content:""}.bi-ev-station-fill:before{content:""}.bi-ev-station:before{content:""}.bi-fuel-pump-diesel-fill:before{content:""}.bi-fuel-pump-diesel:before{content:""}.bi-fuel-pump-fill:before{content:""}.bi-fuel-pump:before{content:""}.bi-0-circle-fill:before{content:""}.bi-0-circle:before{content:""}.bi-0-square-fill:before{content:""}.bi-0-square:before{content:""}.bi-rocket-fill:before{content:""}.bi-rocket-takeoff-fill:before{content:""}.bi-rocket-takeoff:before{content:""}.bi-rocket:before{content:""}.bi-stripe:before{content:""}.bi-subscript:before{content:""}.bi-superscript:before{content:""}.bi-trello:before{content:""}.bi-envelope-at-fill:before{content:""}.bi-envelope-at:before{content:""}.bi-regex:before{content:""}.bi-text-wrap:before{content:""}.bi-sign-dead-end-fill:before{content:""}.bi-sign-dead-end:before{content:""}.bi-sign-do-not-enter-fill:before{content:""}.bi-sign-do-not-enter:before{content:""}.bi-sign-intersection-fill:before{content:""}.bi-sign-intersection-side-fill:before{content:""}.bi-sign-intersection-side:before{content:""}.bi-sign-intersection-t-fill:before{content:""}.bi-sign-intersection-t:before{content:""}.bi-sign-intersection-y-fill:before{content:""}.bi-sign-intersection-y:before{content:""}.bi-sign-intersection:before{content:""}.bi-sign-merge-left-fill:before{content:""}.bi-sign-merge-left:before{content:""}.bi-sign-merge-right-fill:before{content:""}.bi-sign-merge-right:before{content:""}.bi-sign-no-left-turn-fill:before{content:""}.bi-sign-no-left-turn:before{content:""}.bi-sign-no-parking-fill:before{content:""}.bi-sign-no-parking:before{content:""}.bi-sign-no-right-turn-fill:before{content:""}.bi-sign-no-right-turn:before{content:""}.bi-sign-railroad-fill:before{content:""}.bi-sign-railroad:before{content:""}.bi-building-add:before{content:""}.bi-building-check:before{content:""}.bi-building-dash:before{content:""}.bi-building-down:before{content:""}.bi-building-exclamation:before{content:""}.bi-building-fill-add:before{content:""}.bi-building-fill-check:before{content:""}.bi-building-fill-dash:before{content:""}.bi-building-fill-down:before{content:""}.bi-building-fill-exclamation:before{content:""}.bi-building-fill-gear:before{content:""}.bi-building-fill-lock:before{content:""}.bi-building-fill-slash:before{content:""}.bi-building-fill-up:before{content:""}.bi-building-fill-x:before{content:""}.bi-building-fill:before{content:""}.bi-building-gear:before{content:""}.bi-building-lock:before{content:""}.bi-building-slash:before{content:""}.bi-building-up:before{content:""}.bi-building-x:before{content:""}.bi-buildings-fill:before{content:""}.bi-buildings:before{content:""}.bi-bus-front-fill:before{content:""}.bi-bus-front:before{content:""}.bi-ev-front-fill:before{content:""}.bi-ev-front:before{content:""}.bi-globe-americas:before{content:""}.bi-globe-asia-australia:before{content:""}.bi-globe-central-south-asia:before{content:""}.bi-globe-europe-africa:before{content:""}.bi-house-add-fill:before{content:""}.bi-house-add:before{content:""}.bi-house-check-fill:before{content:""}.bi-house-check:before{content:""}.bi-house-dash-fill:before{content:""}.bi-house-dash:before{content:""}.bi-house-down-fill:before{content:""}.bi-house-down:before{content:""}.bi-house-exclamation-fill:before{content:""}.bi-house-exclamation:before{content:""}.bi-house-gear-fill:before{content:""}.bi-house-gear:before{content:""}.bi-house-lock-fill:before{content:""}.bi-house-lock:before{content:""}.bi-house-slash-fill:before{content:""}.bi-house-slash:before{content:""}.bi-house-up-fill:before{content:""}.bi-house-up:before{content:""}.bi-house-x-fill:before{content:""}.bi-house-x:before{content:""}.bi-person-add:before{content:""}.bi-person-down:before{content:""}.bi-person-exclamation:before{content:""}.bi-person-fill-add:before{content:""}.bi-person-fill-check:before{content:""}.bi-person-fill-dash:before{content:""}.bi-person-fill-down:before{content:""}.bi-person-fill-exclamation:before{content:""}.bi-person-fill-gear:before{content:""}.bi-person-fill-lock:before{content:""}.bi-person-fill-slash:before{content:""}.bi-person-fill-up:before{content:""}.bi-person-fill-x:before{content:""}.bi-person-gear:before{content:""}.bi-person-lock:before{content:""}.bi-person-slash:before{content:""}.bi-person-up:before{content:""}.bi-scooter:before{content:""}.bi-taxi-front-fill:before{content:""}.bi-taxi-front:before{content:""}.bi-amd:before{content:""}.bi-database-add:before{content:""}.bi-database-check:before{content:""}.bi-database-dash:before{content:""}.bi-database-down:before{content:""}.bi-database-exclamation:before{content:""}.bi-database-fill-add:before{content:""}.bi-database-fill-check:before{content:""}.bi-database-fill-dash:before{content:""}.bi-database-fill-down:before{content:""}.bi-database-fill-exclamation:before{content:""}.bi-database-fill-gear:before{content:""}.bi-database-fill-lock:before{content:""}.bi-database-fill-slash:before{content:""}.bi-database-fill-up:before{content:""}.bi-database-fill-x:before{content:""}.bi-database-fill:before{content:""}.bi-database-gear:before{content:""}.bi-database-lock:before{content:""}.bi-database-slash:before{content:""}.bi-database-up:before{content:""}.bi-database-x:before{content:""}.bi-database:before{content:""}.bi-houses-fill:before{content:""}.bi-houses:before{content:""}.bi-nvidia:before{content:""}.bi-person-vcard-fill:before{content:""}.bi-person-vcard:before{content:""}.bi-sina-weibo:before{content:""}.bi-tencent-qq:before{content:""}.bi-wikipedia:before{content:""}.bi-alphabet-uppercase:before{content:""}.bi-alphabet:before{content:""}.bi-amazon:before{content:""}.bi-arrows-collapse-vertical:before{content:""}.bi-arrows-expand-vertical:before{content:""}.bi-arrows-vertical:before{content:""}.bi-arrows:before{content:""}.bi-ban-fill:before{content:""}.bi-ban:before{content:""}.bi-bing:before{content:""}.bi-cake:before{content:""}.bi-cake2:before{content:""}.bi-cookie:before{content:""}.bi-copy:before{content:""}.bi-crosshair:before{content:""}.bi-crosshair2:before{content:""}.bi-emoji-astonished-fill:before{content:""}.bi-emoji-astonished:before{content:""}.bi-emoji-grimace-fill:before{content:""}.bi-emoji-grimace:before{content:""}.bi-emoji-grin-fill:before{content:""}.bi-emoji-grin:before{content:""}.bi-emoji-surprise-fill:before{content:""}.bi-emoji-surprise:before{content:""}.bi-emoji-tear-fill:before{content:""}.bi-emoji-tear:before{content:""}.bi-envelope-arrow-down-fill:before{content:""}.bi-envelope-arrow-down:before{content:""}.bi-envelope-arrow-up-fill:before{content:""}.bi-envelope-arrow-up:before{content:""}.bi-feather:before{content:""}.bi-feather2:before{content:""}.bi-floppy-fill:before{content:""}.bi-floppy:before{content:""}.bi-floppy2-fill:before{content:""}.bi-floppy2:before{content:""}.bi-gitlab:before{content:""}.bi-highlighter:before{content:""}.bi-marker-tip:before{content:""}.bi-nvme-fill:before{content:""}.bi-nvme:before{content:""}.bi-opencollective:before{content:""}.bi-pci-card-network:before{content:""}.bi-pci-card-sound:before{content:""}.bi-radar:before{content:""}.bi-send-arrow-down-fill:before{content:""}.bi-send-arrow-down:before{content:""}.bi-send-arrow-up-fill:before{content:""}.bi-send-arrow-up:before{content:""}.bi-sim-slash-fill:before{content:""}.bi-sim-slash:before{content:""}.bi-sourceforge:before{content:""}.bi-substack:before{content:""}.bi-threads-fill:before{content:""}.bi-threads:before{content:""}.bi-transparency:before{content:""}.bi-twitter-x:before{content:""}.bi-type-h4:before{content:""}.bi-type-h5:before{content:""}.bi-type-h6:before{content:""}.bi-backpack-fill:before{content:""}.bi-backpack:before{content:""}.bi-backpack2-fill:before{content:""}.bi-backpack2:before{content:""}.bi-backpack3-fill:before{content:""}.bi-backpack3:before{content:""}.bi-backpack4-fill:before{content:""}.bi-backpack4:before{content:""}.bi-brilliance:before{content:""}.bi-cake-fill:before{content:""}.bi-cake2-fill:before{content:""}.bi-duffle-fill:before{content:""}.bi-duffle:before{content:""}.bi-exposure:before{content:""}.bi-gender-neuter:before{content:""}.bi-highlights:before{content:""}.bi-luggage-fill:before{content:""}.bi-luggage:before{content:""}.bi-mailbox-flag:before{content:""}.bi-mailbox2-flag:before{content:""}.bi-noise-reduction:before{content:""}.bi-passport-fill:before{content:""}.bi-passport:before{content:""}.bi-person-arms-up:before{content:""}.bi-person-raised-hand:before{content:""}.bi-person-standing-dress:before{content:""}.bi-person-standing:before{content:""}.bi-person-walking:before{content:""}.bi-person-wheelchair:before{content:""}.bi-shadows:before{content:""}.bi-suitcase-fill:before{content:""}.bi-suitcase-lg-fill:before{content:""}.bi-suitcase-lg:before{content:""}.bi-suitcase:before{content:"豈"}.bi-suitcase2-fill:before{content:"更"}.bi-suitcase2:before{content:"車"}.bi-vignette:before{content:"賈"}.bi-bluesky:before{content:""}.bi-tux:before{content:"滑"}.bi-beaker-fill:before{content:"串"}.bi-beaker:before{content:"句"}.bi-flask-fill:before{content:"龜"}.bi-flask-florence-fill:before{content:"龜"}.bi-flask-florence:before{content:"契"}.bi-flask:before{content:"金"}.bi-leaf-fill:before{content:"喇"}.bi-leaf:before{content:"奈"}.bi-measuring-cup-fill:before{content:"懶"}.bi-measuring-cup:before{content:"癩"}.bi-unlock2-fill:before{content:"羅"}.bi-unlock2:before{content:"蘿"}.bi-battery-low:before{content:"螺"}.bi-anthropic:before{content:"裸"}.bi-apple-music:before{content:"邏"}.bi-claude:before{content:"樂"}.bi-openai:before{content:"洛"}.bi-perplexity:before{content:"烙"}.bi-css:before{content:"珞"}.bi-javascript:before{content:"落"}.bi-typescript:before{content:"酪"}.bi-fork-knife:before{content:"駱"}.bi-globe-americas-fill:before{content:"亂"}.bi-globe-asia-australia-fill:before{content:"卵"}.bi-globe-central-south-asia-fill:before{content:"欄"}.bi-globe-europe-africa-fill:before{content:"爛"}/*! +*/@font-face{font-display:block;font-family:bootstrap-icons;src:url(/static/dist/WGDashboardAdmin/assets/bootstrap-icons-mSm7cUeB.woff2?e34853135f9e39acf64315236852cd5a) format("woff2"),url(/static/dist/WGDashboardAdmin/assets/bootstrap-icons-BeopsB42.woff?e34853135f9e39acf64315236852cd5a) format("woff")}.bi:before,[class^=bi-]:before,[class*=" bi-"]:before{display:inline-block;font-family:bootstrap-icons!important;font-style:normal;font-weight:400!important;font-variant:normal;text-transform:none;line-height:1;vertical-align:-.125em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bi-123:before{content:""}.bi-alarm-fill:before{content:""}.bi-alarm:before{content:""}.bi-align-bottom:before{content:""}.bi-align-center:before{content:""}.bi-align-end:before{content:""}.bi-align-middle:before{content:""}.bi-align-start:before{content:""}.bi-align-top:before{content:""}.bi-alt:before{content:""}.bi-app-indicator:before{content:""}.bi-app:before{content:""}.bi-archive-fill:before{content:""}.bi-archive:before{content:""}.bi-arrow-90deg-down:before{content:""}.bi-arrow-90deg-left:before{content:""}.bi-arrow-90deg-right:before{content:""}.bi-arrow-90deg-up:before{content:""}.bi-arrow-bar-down:before{content:""}.bi-arrow-bar-left:before{content:""}.bi-arrow-bar-right:before{content:""}.bi-arrow-bar-up:before{content:""}.bi-arrow-clockwise:before{content:""}.bi-arrow-counterclockwise:before{content:""}.bi-arrow-down-circle-fill:before{content:""}.bi-arrow-down-circle:before{content:""}.bi-arrow-down-left-circle-fill:before{content:""}.bi-arrow-down-left-circle:before{content:""}.bi-arrow-down-left-square-fill:before{content:""}.bi-arrow-down-left-square:before{content:""}.bi-arrow-down-left:before{content:""}.bi-arrow-down-right-circle-fill:before{content:""}.bi-arrow-down-right-circle:before{content:""}.bi-arrow-down-right-square-fill:before{content:""}.bi-arrow-down-right-square:before{content:""}.bi-arrow-down-right:before{content:""}.bi-arrow-down-short:before{content:""}.bi-arrow-down-square-fill:before{content:""}.bi-arrow-down-square:before{content:""}.bi-arrow-down-up:before{content:""}.bi-arrow-down:before{content:""}.bi-arrow-left-circle-fill:before{content:""}.bi-arrow-left-circle:before{content:""}.bi-arrow-left-right:before{content:""}.bi-arrow-left-short:before{content:""}.bi-arrow-left-square-fill:before{content:""}.bi-arrow-left-square:before{content:""}.bi-arrow-left:before{content:""}.bi-arrow-repeat:before{content:""}.bi-arrow-return-left:before{content:""}.bi-arrow-return-right:before{content:""}.bi-arrow-right-circle-fill:before{content:""}.bi-arrow-right-circle:before{content:""}.bi-arrow-right-short:before{content:""}.bi-arrow-right-square-fill:before{content:""}.bi-arrow-right-square:before{content:""}.bi-arrow-right:before{content:""}.bi-arrow-up-circle-fill:before{content:""}.bi-arrow-up-circle:before{content:""}.bi-arrow-up-left-circle-fill:before{content:""}.bi-arrow-up-left-circle:before{content:""}.bi-arrow-up-left-square-fill:before{content:""}.bi-arrow-up-left-square:before{content:""}.bi-arrow-up-left:before{content:""}.bi-arrow-up-right-circle-fill:before{content:""}.bi-arrow-up-right-circle:before{content:""}.bi-arrow-up-right-square-fill:before{content:""}.bi-arrow-up-right-square:before{content:""}.bi-arrow-up-right:before{content:""}.bi-arrow-up-short:before{content:""}.bi-arrow-up-square-fill:before{content:""}.bi-arrow-up-square:before{content:""}.bi-arrow-up:before{content:""}.bi-arrows-angle-contract:before{content:""}.bi-arrows-angle-expand:before{content:""}.bi-arrows-collapse:before{content:""}.bi-arrows-expand:before{content:""}.bi-arrows-fullscreen:before{content:""}.bi-arrows-move:before{content:""}.bi-aspect-ratio-fill:before{content:""}.bi-aspect-ratio:before{content:""}.bi-asterisk:before{content:""}.bi-at:before{content:""}.bi-award-fill:before{content:""}.bi-award:before{content:""}.bi-back:before{content:""}.bi-backspace-fill:before{content:""}.bi-backspace-reverse-fill:before{content:""}.bi-backspace-reverse:before{content:""}.bi-backspace:before{content:""}.bi-badge-3d-fill:before{content:""}.bi-badge-3d:before{content:""}.bi-badge-4k-fill:before{content:""}.bi-badge-4k:before{content:""}.bi-badge-8k-fill:before{content:""}.bi-badge-8k:before{content:""}.bi-badge-ad-fill:before{content:""}.bi-badge-ad:before{content:""}.bi-badge-ar-fill:before{content:""}.bi-badge-ar:before{content:""}.bi-badge-cc-fill:before{content:""}.bi-badge-cc:before{content:""}.bi-badge-hd-fill:before{content:""}.bi-badge-hd:before{content:""}.bi-badge-tm-fill:before{content:""}.bi-badge-tm:before{content:""}.bi-badge-vo-fill:before{content:""}.bi-badge-vo:before{content:""}.bi-badge-vr-fill:before{content:""}.bi-badge-vr:before{content:""}.bi-badge-wc-fill:before{content:""}.bi-badge-wc:before{content:""}.bi-bag-check-fill:before{content:""}.bi-bag-check:before{content:""}.bi-bag-dash-fill:before{content:""}.bi-bag-dash:before{content:""}.bi-bag-fill:before{content:""}.bi-bag-plus-fill:before{content:""}.bi-bag-plus:before{content:""}.bi-bag-x-fill:before{content:""}.bi-bag-x:before{content:""}.bi-bag:before{content:""}.bi-bar-chart-fill:before{content:""}.bi-bar-chart-line-fill:before{content:""}.bi-bar-chart-line:before{content:""}.bi-bar-chart-steps:before{content:""}.bi-bar-chart:before{content:""}.bi-basket-fill:before{content:""}.bi-basket:before{content:""}.bi-basket2-fill:before{content:""}.bi-basket2:before{content:""}.bi-basket3-fill:before{content:""}.bi-basket3:before{content:""}.bi-battery-charging:before{content:""}.bi-battery-full:before{content:""}.bi-battery-half:before{content:""}.bi-battery:before{content:""}.bi-bell-fill:before{content:""}.bi-bell:before{content:""}.bi-bezier:before{content:""}.bi-bezier2:before{content:""}.bi-bicycle:before{content:""}.bi-binoculars-fill:before{content:""}.bi-binoculars:before{content:""}.bi-blockquote-left:before{content:""}.bi-blockquote-right:before{content:""}.bi-book-fill:before{content:""}.bi-book-half:before{content:""}.bi-book:before{content:""}.bi-bookmark-check-fill:before{content:""}.bi-bookmark-check:before{content:""}.bi-bookmark-dash-fill:before{content:""}.bi-bookmark-dash:before{content:""}.bi-bookmark-fill:before{content:""}.bi-bookmark-heart-fill:before{content:""}.bi-bookmark-heart:before{content:""}.bi-bookmark-plus-fill:before{content:""}.bi-bookmark-plus:before{content:""}.bi-bookmark-star-fill:before{content:""}.bi-bookmark-star:before{content:""}.bi-bookmark-x-fill:before{content:""}.bi-bookmark-x:before{content:""}.bi-bookmark:before{content:""}.bi-bookmarks-fill:before{content:""}.bi-bookmarks:before{content:""}.bi-bookshelf:before{content:""}.bi-bootstrap-fill:before{content:""}.bi-bootstrap-reboot:before{content:""}.bi-bootstrap:before{content:""}.bi-border-all:before{content:""}.bi-border-bottom:before{content:""}.bi-border-center:before{content:""}.bi-border-inner:before{content:""}.bi-border-left:before{content:""}.bi-border-middle:before{content:""}.bi-border-outer:before{content:""}.bi-border-right:before{content:""}.bi-border-style:before{content:""}.bi-border-top:before{content:""}.bi-border-width:before{content:""}.bi-border:before{content:""}.bi-bounding-box-circles:before{content:""}.bi-bounding-box:before{content:""}.bi-box-arrow-down-left:before{content:""}.bi-box-arrow-down-right:before{content:""}.bi-box-arrow-down:before{content:""}.bi-box-arrow-in-down-left:before{content:""}.bi-box-arrow-in-down-right:before{content:""}.bi-box-arrow-in-down:before{content:""}.bi-box-arrow-in-left:before{content:""}.bi-box-arrow-in-right:before{content:""}.bi-box-arrow-in-up-left:before{content:""}.bi-box-arrow-in-up-right:before{content:""}.bi-box-arrow-in-up:before{content:""}.bi-box-arrow-left:before{content:""}.bi-box-arrow-right:before{content:""}.bi-box-arrow-up-left:before{content:""}.bi-box-arrow-up-right:before{content:""}.bi-box-arrow-up:before{content:""}.bi-box-seam:before{content:""}.bi-box:before{content:""}.bi-braces:before{content:""}.bi-bricks:before{content:""}.bi-briefcase-fill:before{content:""}.bi-briefcase:before{content:""}.bi-brightness-alt-high-fill:before{content:""}.bi-brightness-alt-high:before{content:""}.bi-brightness-alt-low-fill:before{content:""}.bi-brightness-alt-low:before{content:""}.bi-brightness-high-fill:before{content:""}.bi-brightness-high:before{content:""}.bi-brightness-low-fill:before{content:""}.bi-brightness-low:before{content:""}.bi-broadcast-pin:before{content:""}.bi-broadcast:before{content:""}.bi-brush-fill:before{content:""}.bi-brush:before{content:""}.bi-bucket-fill:before{content:""}.bi-bucket:before{content:""}.bi-bug-fill:before{content:""}.bi-bug:before{content:""}.bi-building:before{content:""}.bi-bullseye:before{content:""}.bi-calculator-fill:before{content:""}.bi-calculator:before{content:""}.bi-calendar-check-fill:before{content:""}.bi-calendar-check:before{content:""}.bi-calendar-date-fill:before{content:""}.bi-calendar-date:before{content:""}.bi-calendar-day-fill:before{content:""}.bi-calendar-day:before{content:""}.bi-calendar-event-fill:before{content:""}.bi-calendar-event:before{content:""}.bi-calendar-fill:before{content:""}.bi-calendar-minus-fill:before{content:""}.bi-calendar-minus:before{content:""}.bi-calendar-month-fill:before{content:""}.bi-calendar-month:before{content:""}.bi-calendar-plus-fill:before{content:""}.bi-calendar-plus:before{content:""}.bi-calendar-range-fill:before{content:""}.bi-calendar-range:before{content:""}.bi-calendar-week-fill:before{content:""}.bi-calendar-week:before{content:""}.bi-calendar-x-fill:before{content:""}.bi-calendar-x:before{content:""}.bi-calendar:before{content:""}.bi-calendar2-check-fill:before{content:""}.bi-calendar2-check:before{content:""}.bi-calendar2-date-fill:before{content:""}.bi-calendar2-date:before{content:""}.bi-calendar2-day-fill:before{content:""}.bi-calendar2-day:before{content:""}.bi-calendar2-event-fill:before{content:""}.bi-calendar2-event:before{content:""}.bi-calendar2-fill:before{content:""}.bi-calendar2-minus-fill:before{content:""}.bi-calendar2-minus:before{content:""}.bi-calendar2-month-fill:before{content:""}.bi-calendar2-month:before{content:""}.bi-calendar2-plus-fill:before{content:""}.bi-calendar2-plus:before{content:""}.bi-calendar2-range-fill:before{content:""}.bi-calendar2-range:before{content:""}.bi-calendar2-week-fill:before{content:""}.bi-calendar2-week:before{content:""}.bi-calendar2-x-fill:before{content:""}.bi-calendar2-x:before{content:""}.bi-calendar2:before{content:""}.bi-calendar3-event-fill:before{content:""}.bi-calendar3-event:before{content:""}.bi-calendar3-fill:before{content:""}.bi-calendar3-range-fill:before{content:""}.bi-calendar3-range:before{content:""}.bi-calendar3-week-fill:before{content:""}.bi-calendar3-week:before{content:""}.bi-calendar3:before{content:""}.bi-calendar4-event:before{content:""}.bi-calendar4-range:before{content:""}.bi-calendar4-week:before{content:""}.bi-calendar4:before{content:""}.bi-camera-fill:before{content:""}.bi-camera-reels-fill:before{content:""}.bi-camera-reels:before{content:""}.bi-camera-video-fill:before{content:""}.bi-camera-video-off-fill:before{content:""}.bi-camera-video-off:before{content:""}.bi-camera-video:before{content:""}.bi-camera:before{content:""}.bi-camera2:before{content:""}.bi-capslock-fill:before{content:""}.bi-capslock:before{content:""}.bi-card-checklist:before{content:""}.bi-card-heading:before{content:""}.bi-card-image:before{content:""}.bi-card-list:before{content:""}.bi-card-text:before{content:""}.bi-caret-down-fill:before{content:""}.bi-caret-down-square-fill:before{content:""}.bi-caret-down-square:before{content:""}.bi-caret-down:before{content:""}.bi-caret-left-fill:before{content:""}.bi-caret-left-square-fill:before{content:""}.bi-caret-left-square:before{content:""}.bi-caret-left:before{content:""}.bi-caret-right-fill:before{content:""}.bi-caret-right-square-fill:before{content:""}.bi-caret-right-square:before{content:""}.bi-caret-right:before{content:""}.bi-caret-up-fill:before{content:""}.bi-caret-up-square-fill:before{content:""}.bi-caret-up-square:before{content:""}.bi-caret-up:before{content:""}.bi-cart-check-fill:before{content:""}.bi-cart-check:before{content:""}.bi-cart-dash-fill:before{content:""}.bi-cart-dash:before{content:""}.bi-cart-fill:before{content:""}.bi-cart-plus-fill:before{content:""}.bi-cart-plus:before{content:""}.bi-cart-x-fill:before{content:""}.bi-cart-x:before{content:""}.bi-cart:before{content:""}.bi-cart2:before{content:""}.bi-cart3:before{content:""}.bi-cart4:before{content:""}.bi-cash-stack:before{content:""}.bi-cash:before{content:""}.bi-cast:before{content:""}.bi-chat-dots-fill:before{content:""}.bi-chat-dots:before{content:""}.bi-chat-fill:before{content:""}.bi-chat-left-dots-fill:before{content:""}.bi-chat-left-dots:before{content:""}.bi-chat-left-fill:before{content:""}.bi-chat-left-quote-fill:before{content:""}.bi-chat-left-quote:before{content:""}.bi-chat-left-text-fill:before{content:""}.bi-chat-left-text:before{content:""}.bi-chat-left:before{content:""}.bi-chat-quote-fill:before{content:""}.bi-chat-quote:before{content:""}.bi-chat-right-dots-fill:before{content:""}.bi-chat-right-dots:before{content:""}.bi-chat-right-fill:before{content:""}.bi-chat-right-quote-fill:before{content:""}.bi-chat-right-quote:before{content:""}.bi-chat-right-text-fill:before{content:""}.bi-chat-right-text:before{content:""}.bi-chat-right:before{content:""}.bi-chat-square-dots-fill:before{content:""}.bi-chat-square-dots:before{content:""}.bi-chat-square-fill:before{content:""}.bi-chat-square-quote-fill:before{content:""}.bi-chat-square-quote:before{content:""}.bi-chat-square-text-fill:before{content:""}.bi-chat-square-text:before{content:""}.bi-chat-square:before{content:""}.bi-chat-text-fill:before{content:""}.bi-chat-text:before{content:""}.bi-chat:before{content:""}.bi-check-all:before{content:""}.bi-check-circle-fill:before{content:""}.bi-check-circle:before{content:""}.bi-check-square-fill:before{content:""}.bi-check-square:before{content:""}.bi-check:before{content:""}.bi-check2-all:before{content:""}.bi-check2-circle:before{content:""}.bi-check2-square:before{content:""}.bi-check2:before{content:""}.bi-chevron-bar-contract:before{content:""}.bi-chevron-bar-down:before{content:""}.bi-chevron-bar-expand:before{content:""}.bi-chevron-bar-left:before{content:""}.bi-chevron-bar-right:before{content:""}.bi-chevron-bar-up:before{content:""}.bi-chevron-compact-down:before{content:""}.bi-chevron-compact-left:before{content:""}.bi-chevron-compact-right:before{content:""}.bi-chevron-compact-up:before{content:""}.bi-chevron-contract:before{content:""}.bi-chevron-double-down:before{content:""}.bi-chevron-double-left:before{content:""}.bi-chevron-double-right:before{content:""}.bi-chevron-double-up:before{content:""}.bi-chevron-down:before{content:""}.bi-chevron-expand:before{content:""}.bi-chevron-left:before{content:""}.bi-chevron-right:before{content:""}.bi-chevron-up:before{content:""}.bi-circle-fill:before{content:""}.bi-circle-half:before{content:""}.bi-circle-square:before{content:""}.bi-circle:before{content:""}.bi-clipboard-check:before{content:""}.bi-clipboard-data:before{content:""}.bi-clipboard-minus:before{content:""}.bi-clipboard-plus:before{content:""}.bi-clipboard-x:before{content:""}.bi-clipboard:before{content:""}.bi-clock-fill:before{content:""}.bi-clock-history:before{content:""}.bi-clock:before{content:""}.bi-cloud-arrow-down-fill:before{content:""}.bi-cloud-arrow-down:before{content:""}.bi-cloud-arrow-up-fill:before{content:""}.bi-cloud-arrow-up:before{content:""}.bi-cloud-check-fill:before{content:""}.bi-cloud-check:before{content:""}.bi-cloud-download-fill:before{content:""}.bi-cloud-download:before{content:""}.bi-cloud-drizzle-fill:before{content:""}.bi-cloud-drizzle:before{content:""}.bi-cloud-fill:before{content:""}.bi-cloud-fog-fill:before{content:""}.bi-cloud-fog:before{content:""}.bi-cloud-fog2-fill:before{content:""}.bi-cloud-fog2:before{content:""}.bi-cloud-hail-fill:before{content:""}.bi-cloud-hail:before{content:""}.bi-cloud-haze-fill:before{content:""}.bi-cloud-haze:before{content:""}.bi-cloud-haze2-fill:before{content:""}.bi-cloud-lightning-fill:before{content:""}.bi-cloud-lightning-rain-fill:before{content:""}.bi-cloud-lightning-rain:before{content:""}.bi-cloud-lightning:before{content:""}.bi-cloud-minus-fill:before{content:""}.bi-cloud-minus:before{content:""}.bi-cloud-moon-fill:before{content:""}.bi-cloud-moon:before{content:""}.bi-cloud-plus-fill:before{content:""}.bi-cloud-plus:before{content:""}.bi-cloud-rain-fill:before{content:""}.bi-cloud-rain-heavy-fill:before{content:""}.bi-cloud-rain-heavy:before{content:""}.bi-cloud-rain:before{content:""}.bi-cloud-slash-fill:before{content:""}.bi-cloud-slash:before{content:""}.bi-cloud-sleet-fill:before{content:""}.bi-cloud-sleet:before{content:""}.bi-cloud-snow-fill:before{content:""}.bi-cloud-snow:before{content:""}.bi-cloud-sun-fill:before{content:""}.bi-cloud-sun:before{content:""}.bi-cloud-upload-fill:before{content:""}.bi-cloud-upload:before{content:""}.bi-cloud:before{content:""}.bi-clouds-fill:before{content:""}.bi-clouds:before{content:""}.bi-cloudy-fill:before{content:""}.bi-cloudy:before{content:""}.bi-code-slash:before{content:""}.bi-code-square:before{content:""}.bi-code:before{content:""}.bi-collection-fill:before{content:""}.bi-collection-play-fill:before{content:""}.bi-collection-play:before{content:""}.bi-collection:before{content:""}.bi-columns-gap:before{content:""}.bi-columns:before{content:""}.bi-command:before{content:""}.bi-compass-fill:before{content:""}.bi-compass:before{content:""}.bi-cone-striped:before{content:""}.bi-cone:before{content:""}.bi-controller:before{content:""}.bi-cpu-fill:before{content:""}.bi-cpu:before{content:""}.bi-credit-card-2-back-fill:before{content:""}.bi-credit-card-2-back:before{content:""}.bi-credit-card-2-front-fill:before{content:""}.bi-credit-card-2-front:before{content:""}.bi-credit-card-fill:before{content:""}.bi-credit-card:before{content:""}.bi-crop:before{content:""}.bi-cup-fill:before{content:""}.bi-cup-straw:before{content:""}.bi-cup:before{content:""}.bi-cursor-fill:before{content:""}.bi-cursor-text:before{content:""}.bi-cursor:before{content:""}.bi-dash-circle-dotted:before{content:""}.bi-dash-circle-fill:before{content:""}.bi-dash-circle:before{content:""}.bi-dash-square-dotted:before{content:""}.bi-dash-square-fill:before{content:""}.bi-dash-square:before{content:""}.bi-dash:before{content:""}.bi-diagram-2-fill:before{content:""}.bi-diagram-2:before{content:""}.bi-diagram-3-fill:before{content:""}.bi-diagram-3:before{content:""}.bi-diamond-fill:before{content:""}.bi-diamond-half:before{content:""}.bi-diamond:before{content:""}.bi-dice-1-fill:before{content:""}.bi-dice-1:before{content:""}.bi-dice-2-fill:before{content:""}.bi-dice-2:before{content:""}.bi-dice-3-fill:before{content:""}.bi-dice-3:before{content:""}.bi-dice-4-fill:before{content:""}.bi-dice-4:before{content:""}.bi-dice-5-fill:before{content:""}.bi-dice-5:before{content:""}.bi-dice-6-fill:before{content:""}.bi-dice-6:before{content:""}.bi-disc-fill:before{content:""}.bi-disc:before{content:""}.bi-discord:before{content:""}.bi-display-fill:before{content:""}.bi-display:before{content:""}.bi-distribute-horizontal:before{content:""}.bi-distribute-vertical:before{content:""}.bi-door-closed-fill:before{content:""}.bi-door-closed:before{content:""}.bi-door-open-fill:before{content:""}.bi-door-open:before{content:""}.bi-dot:before{content:""}.bi-download:before{content:""}.bi-droplet-fill:before{content:""}.bi-droplet-half:before{content:""}.bi-droplet:before{content:""}.bi-earbuds:before{content:""}.bi-easel-fill:before{content:""}.bi-easel:before{content:""}.bi-egg-fill:before{content:""}.bi-egg-fried:before{content:""}.bi-egg:before{content:""}.bi-eject-fill:before{content:""}.bi-eject:before{content:""}.bi-emoji-angry-fill:before{content:""}.bi-emoji-angry:before{content:""}.bi-emoji-dizzy-fill:before{content:""}.bi-emoji-dizzy:before{content:""}.bi-emoji-expressionless-fill:before{content:""}.bi-emoji-expressionless:before{content:""}.bi-emoji-frown-fill:before{content:""}.bi-emoji-frown:before{content:""}.bi-emoji-heart-eyes-fill:before{content:""}.bi-emoji-heart-eyes:before{content:""}.bi-emoji-laughing-fill:before{content:""}.bi-emoji-laughing:before{content:""}.bi-emoji-neutral-fill:before{content:""}.bi-emoji-neutral:before{content:""}.bi-emoji-smile-fill:before{content:""}.bi-emoji-smile-upside-down-fill:before{content:""}.bi-emoji-smile-upside-down:before{content:""}.bi-emoji-smile:before{content:""}.bi-emoji-sunglasses-fill:before{content:""}.bi-emoji-sunglasses:before{content:""}.bi-emoji-wink-fill:before{content:""}.bi-emoji-wink:before{content:""}.bi-envelope-fill:before{content:""}.bi-envelope-open-fill:before{content:""}.bi-envelope-open:before{content:""}.bi-envelope:before{content:""}.bi-eraser-fill:before{content:""}.bi-eraser:before{content:""}.bi-exclamation-circle-fill:before{content:""}.bi-exclamation-circle:before{content:""}.bi-exclamation-diamond-fill:before{content:""}.bi-exclamation-diamond:before{content:""}.bi-exclamation-octagon-fill:before{content:""}.bi-exclamation-octagon:before{content:""}.bi-exclamation-square-fill:before{content:""}.bi-exclamation-square:before{content:""}.bi-exclamation-triangle-fill:before{content:""}.bi-exclamation-triangle:before{content:""}.bi-exclamation:before{content:""}.bi-exclude:before{content:""}.bi-eye-fill:before{content:""}.bi-eye-slash-fill:before{content:""}.bi-eye-slash:before{content:""}.bi-eye:before{content:""}.bi-eyedropper:before{content:""}.bi-eyeglasses:before{content:""}.bi-facebook:before{content:""}.bi-file-arrow-down-fill:before{content:""}.bi-file-arrow-down:before{content:""}.bi-file-arrow-up-fill:before{content:""}.bi-file-arrow-up:before{content:""}.bi-file-bar-graph-fill:before{content:""}.bi-file-bar-graph:before{content:""}.bi-file-binary-fill:before{content:""}.bi-file-binary:before{content:""}.bi-file-break-fill:before{content:""}.bi-file-break:before{content:""}.bi-file-check-fill:before{content:""}.bi-file-check:before{content:""}.bi-file-code-fill:before{content:""}.bi-file-code:before{content:""}.bi-file-diff-fill:before{content:""}.bi-file-diff:before{content:""}.bi-file-earmark-arrow-down-fill:before{content:""}.bi-file-earmark-arrow-down:before{content:""}.bi-file-earmark-arrow-up-fill:before{content:""}.bi-file-earmark-arrow-up:before{content:""}.bi-file-earmark-bar-graph-fill:before{content:""}.bi-file-earmark-bar-graph:before{content:""}.bi-file-earmark-binary-fill:before{content:""}.bi-file-earmark-binary:before{content:""}.bi-file-earmark-break-fill:before{content:""}.bi-file-earmark-break:before{content:""}.bi-file-earmark-check-fill:before{content:""}.bi-file-earmark-check:before{content:""}.bi-file-earmark-code-fill:before{content:""}.bi-file-earmark-code:before{content:""}.bi-file-earmark-diff-fill:before{content:""}.bi-file-earmark-diff:before{content:""}.bi-file-earmark-easel-fill:before{content:""}.bi-file-earmark-easel:before{content:""}.bi-file-earmark-excel-fill:before{content:""}.bi-file-earmark-excel:before{content:""}.bi-file-earmark-fill:before{content:""}.bi-file-earmark-font-fill:before{content:""}.bi-file-earmark-font:before{content:""}.bi-file-earmark-image-fill:before{content:""}.bi-file-earmark-image:before{content:""}.bi-file-earmark-lock-fill:before{content:""}.bi-file-earmark-lock:before{content:""}.bi-file-earmark-lock2-fill:before{content:""}.bi-file-earmark-lock2:before{content:""}.bi-file-earmark-medical-fill:before{content:""}.bi-file-earmark-medical:before{content:""}.bi-file-earmark-minus-fill:before{content:""}.bi-file-earmark-minus:before{content:""}.bi-file-earmark-music-fill:before{content:""}.bi-file-earmark-music:before{content:""}.bi-file-earmark-person-fill:before{content:""}.bi-file-earmark-person:before{content:""}.bi-file-earmark-play-fill:before{content:""}.bi-file-earmark-play:before{content:""}.bi-file-earmark-plus-fill:before{content:""}.bi-file-earmark-plus:before{content:""}.bi-file-earmark-post-fill:before{content:""}.bi-file-earmark-post:before{content:""}.bi-file-earmark-ppt-fill:before{content:""}.bi-file-earmark-ppt:before{content:""}.bi-file-earmark-richtext-fill:before{content:""}.bi-file-earmark-richtext:before{content:""}.bi-file-earmark-ruled-fill:before{content:""}.bi-file-earmark-ruled:before{content:""}.bi-file-earmark-slides-fill:before{content:""}.bi-file-earmark-slides:before{content:""}.bi-file-earmark-spreadsheet-fill:before{content:""}.bi-file-earmark-spreadsheet:before{content:""}.bi-file-earmark-text-fill:before{content:""}.bi-file-earmark-text:before{content:""}.bi-file-earmark-word-fill:before{content:""}.bi-file-earmark-word:before{content:""}.bi-file-earmark-x-fill:before{content:""}.bi-file-earmark-x:before{content:""}.bi-file-earmark-zip-fill:before{content:""}.bi-file-earmark-zip:before{content:""}.bi-file-earmark:before{content:""}.bi-file-easel-fill:before{content:""}.bi-file-easel:before{content:""}.bi-file-excel-fill:before{content:""}.bi-file-excel:before{content:""}.bi-file-fill:before{content:""}.bi-file-font-fill:before{content:""}.bi-file-font:before{content:""}.bi-file-image-fill:before{content:""}.bi-file-image:before{content:""}.bi-file-lock-fill:before{content:""}.bi-file-lock:before{content:""}.bi-file-lock2-fill:before{content:""}.bi-file-lock2:before{content:""}.bi-file-medical-fill:before{content:""}.bi-file-medical:before{content:""}.bi-file-minus-fill:before{content:""}.bi-file-minus:before{content:""}.bi-file-music-fill:before{content:""}.bi-file-music:before{content:""}.bi-file-person-fill:before{content:""}.bi-file-person:before{content:""}.bi-file-play-fill:before{content:""}.bi-file-play:before{content:""}.bi-file-plus-fill:before{content:""}.bi-file-plus:before{content:""}.bi-file-post-fill:before{content:""}.bi-file-post:before{content:""}.bi-file-ppt-fill:before{content:""}.bi-file-ppt:before{content:""}.bi-file-richtext-fill:before{content:""}.bi-file-richtext:before{content:""}.bi-file-ruled-fill:before{content:""}.bi-file-ruled:before{content:""}.bi-file-slides-fill:before{content:""}.bi-file-slides:before{content:""}.bi-file-spreadsheet-fill:before{content:""}.bi-file-spreadsheet:before{content:""}.bi-file-text-fill:before{content:""}.bi-file-text:before{content:""}.bi-file-word-fill:before{content:""}.bi-file-word:before{content:""}.bi-file-x-fill:before{content:""}.bi-file-x:before{content:""}.bi-file-zip-fill:before{content:""}.bi-file-zip:before{content:""}.bi-file:before{content:""}.bi-files-alt:before{content:""}.bi-files:before{content:""}.bi-film:before{content:""}.bi-filter-circle-fill:before{content:""}.bi-filter-circle:before{content:""}.bi-filter-left:before{content:""}.bi-filter-right:before{content:""}.bi-filter-square-fill:before{content:""}.bi-filter-square:before{content:""}.bi-filter:before{content:""}.bi-flag-fill:before{content:""}.bi-flag:before{content:""}.bi-flower1:before{content:""}.bi-flower2:before{content:""}.bi-flower3:before{content:""}.bi-folder-check:before{content:""}.bi-folder-fill:before{content:""}.bi-folder-minus:before{content:""}.bi-folder-plus:before{content:""}.bi-folder-symlink-fill:before{content:""}.bi-folder-symlink:before{content:""}.bi-folder-x:before{content:""}.bi-folder:before{content:""}.bi-folder2-open:before{content:""}.bi-folder2:before{content:""}.bi-fonts:before{content:""}.bi-forward-fill:before{content:""}.bi-forward:before{content:""}.bi-front:before{content:""}.bi-fullscreen-exit:before{content:""}.bi-fullscreen:before{content:""}.bi-funnel-fill:before{content:""}.bi-funnel:before{content:""}.bi-gear-fill:before{content:""}.bi-gear-wide-connected:before{content:""}.bi-gear-wide:before{content:""}.bi-gear:before{content:""}.bi-gem:before{content:""}.bi-geo-alt-fill:before{content:""}.bi-geo-alt:before{content:""}.bi-geo-fill:before{content:""}.bi-geo:before{content:""}.bi-gift-fill:before{content:""}.bi-gift:before{content:""}.bi-github:before{content:""}.bi-globe:before{content:""}.bi-globe2:before{content:""}.bi-google:before{content:""}.bi-graph-down:before{content:""}.bi-graph-up:before{content:""}.bi-grid-1x2-fill:before{content:""}.bi-grid-1x2:before{content:""}.bi-grid-3x2-gap-fill:before{content:""}.bi-grid-3x2-gap:before{content:""}.bi-grid-3x2:before{content:""}.bi-grid-3x3-gap-fill:before{content:""}.bi-grid-3x3-gap:before{content:""}.bi-grid-3x3:before{content:""}.bi-grid-fill:before{content:""}.bi-grid:before{content:""}.bi-grip-horizontal:before{content:""}.bi-grip-vertical:before{content:""}.bi-hammer:before{content:""}.bi-hand-index-fill:before{content:""}.bi-hand-index-thumb-fill:before{content:""}.bi-hand-index-thumb:before{content:""}.bi-hand-index:before{content:""}.bi-hand-thumbs-down-fill:before{content:""}.bi-hand-thumbs-down:before{content:""}.bi-hand-thumbs-up-fill:before{content:""}.bi-hand-thumbs-up:before{content:""}.bi-handbag-fill:before{content:""}.bi-handbag:before{content:""}.bi-hash:before{content:""}.bi-hdd-fill:before{content:""}.bi-hdd-network-fill:before{content:""}.bi-hdd-network:before{content:""}.bi-hdd-rack-fill:before{content:""}.bi-hdd-rack:before{content:""}.bi-hdd-stack-fill:before{content:""}.bi-hdd-stack:before{content:""}.bi-hdd:before{content:""}.bi-headphones:before{content:""}.bi-headset:before{content:""}.bi-heart-fill:before{content:""}.bi-heart-half:before{content:""}.bi-heart:before{content:""}.bi-heptagon-fill:before{content:""}.bi-heptagon-half:before{content:""}.bi-heptagon:before{content:""}.bi-hexagon-fill:before{content:""}.bi-hexagon-half:before{content:""}.bi-hexagon:before{content:""}.bi-hourglass-bottom:before{content:""}.bi-hourglass-split:before{content:""}.bi-hourglass-top:before{content:""}.bi-hourglass:before{content:""}.bi-house-door-fill:before{content:""}.bi-house-door:before{content:""}.bi-house-fill:before{content:""}.bi-house:before{content:""}.bi-hr:before{content:""}.bi-hurricane:before{content:""}.bi-image-alt:before{content:""}.bi-image-fill:before{content:""}.bi-image:before{content:""}.bi-images:before{content:""}.bi-inbox-fill:before{content:""}.bi-inbox:before{content:""}.bi-inboxes-fill:before{content:""}.bi-inboxes:before{content:""}.bi-info-circle-fill:before{content:""}.bi-info-circle:before{content:""}.bi-info-square-fill:before{content:""}.bi-info-square:before{content:""}.bi-info:before{content:""}.bi-input-cursor-text:before{content:""}.bi-input-cursor:before{content:""}.bi-instagram:before{content:""}.bi-intersect:before{content:""}.bi-journal-album:before{content:""}.bi-journal-arrow-down:before{content:""}.bi-journal-arrow-up:before{content:""}.bi-journal-bookmark-fill:before{content:""}.bi-journal-bookmark:before{content:""}.bi-journal-check:before{content:""}.bi-journal-code:before{content:""}.bi-journal-medical:before{content:""}.bi-journal-minus:before{content:""}.bi-journal-plus:before{content:""}.bi-journal-richtext:before{content:""}.bi-journal-text:before{content:""}.bi-journal-x:before{content:""}.bi-journal:before{content:""}.bi-journals:before{content:""}.bi-joystick:before{content:""}.bi-justify-left:before{content:""}.bi-justify-right:before{content:""}.bi-justify:before{content:""}.bi-kanban-fill:before{content:""}.bi-kanban:before{content:""}.bi-key-fill:before{content:""}.bi-key:before{content:""}.bi-keyboard-fill:before{content:""}.bi-keyboard:before{content:""}.bi-ladder:before{content:""}.bi-lamp-fill:before{content:""}.bi-lamp:before{content:""}.bi-laptop-fill:before{content:""}.bi-laptop:before{content:""}.bi-layer-backward:before{content:""}.bi-layer-forward:before{content:""}.bi-layers-fill:before{content:""}.bi-layers-half:before{content:""}.bi-layers:before{content:""}.bi-layout-sidebar-inset-reverse:before{content:""}.bi-layout-sidebar-inset:before{content:""}.bi-layout-sidebar-reverse:before{content:""}.bi-layout-sidebar:before{content:""}.bi-layout-split:before{content:""}.bi-layout-text-sidebar-reverse:before{content:""}.bi-layout-text-sidebar:before{content:""}.bi-layout-text-window-reverse:before{content:""}.bi-layout-text-window:before{content:""}.bi-layout-three-columns:before{content:""}.bi-layout-wtf:before{content:""}.bi-life-preserver:before{content:""}.bi-lightbulb-fill:before{content:""}.bi-lightbulb-off-fill:before{content:""}.bi-lightbulb-off:before{content:""}.bi-lightbulb:before{content:""}.bi-lightning-charge-fill:before{content:""}.bi-lightning-charge:before{content:""}.bi-lightning-fill:before{content:""}.bi-lightning:before{content:""}.bi-link-45deg:before{content:""}.bi-link:before{content:""}.bi-linkedin:before{content:""}.bi-list-check:before{content:""}.bi-list-nested:before{content:""}.bi-list-ol:before{content:""}.bi-list-stars:before{content:""}.bi-list-task:before{content:""}.bi-list-ul:before{content:""}.bi-list:before{content:""}.bi-lock-fill:before{content:""}.bi-lock:before{content:""}.bi-mailbox:before{content:""}.bi-mailbox2:before{content:""}.bi-map-fill:before{content:""}.bi-map:before{content:""}.bi-markdown-fill:before{content:""}.bi-markdown:before{content:""}.bi-mask:before{content:""}.bi-megaphone-fill:before{content:""}.bi-megaphone:before{content:""}.bi-menu-app-fill:before{content:""}.bi-menu-app:before{content:""}.bi-menu-button-fill:before{content:""}.bi-menu-button-wide-fill:before{content:""}.bi-menu-button-wide:before{content:""}.bi-menu-button:before{content:""}.bi-menu-down:before{content:""}.bi-menu-up:before{content:""}.bi-mic-fill:before{content:""}.bi-mic-mute-fill:before{content:""}.bi-mic-mute:before{content:""}.bi-mic:before{content:""}.bi-minecart-loaded:before{content:""}.bi-minecart:before{content:""}.bi-moisture:before{content:""}.bi-moon-fill:before{content:""}.bi-moon-stars-fill:before{content:""}.bi-moon-stars:before{content:""}.bi-moon:before{content:""}.bi-mouse-fill:before{content:""}.bi-mouse:before{content:""}.bi-mouse2-fill:before{content:""}.bi-mouse2:before{content:""}.bi-mouse3-fill:before{content:""}.bi-mouse3:before{content:""}.bi-music-note-beamed:before{content:""}.bi-music-note-list:before{content:""}.bi-music-note:before{content:""}.bi-music-player-fill:before{content:""}.bi-music-player:before{content:""}.bi-newspaper:before{content:""}.bi-node-minus-fill:before{content:""}.bi-node-minus:before{content:""}.bi-node-plus-fill:before{content:""}.bi-node-plus:before{content:""}.bi-nut-fill:before{content:""}.bi-nut:before{content:""}.bi-octagon-fill:before{content:""}.bi-octagon-half:before{content:""}.bi-octagon:before{content:""}.bi-option:before{content:""}.bi-outlet:before{content:""}.bi-paint-bucket:before{content:""}.bi-palette-fill:before{content:""}.bi-palette:before{content:""}.bi-palette2:before{content:""}.bi-paperclip:before{content:""}.bi-paragraph:before{content:""}.bi-patch-check-fill:before{content:""}.bi-patch-check:before{content:""}.bi-patch-exclamation-fill:before{content:""}.bi-patch-exclamation:before{content:""}.bi-patch-minus-fill:before{content:""}.bi-patch-minus:before{content:""}.bi-patch-plus-fill:before{content:""}.bi-patch-plus:before{content:""}.bi-patch-question-fill:before{content:""}.bi-patch-question:before{content:""}.bi-pause-btn-fill:before{content:""}.bi-pause-btn:before{content:""}.bi-pause-circle-fill:before{content:""}.bi-pause-circle:before{content:""}.bi-pause-fill:before{content:""}.bi-pause:before{content:""}.bi-peace-fill:before{content:""}.bi-peace:before{content:""}.bi-pen-fill:before{content:""}.bi-pen:before{content:""}.bi-pencil-fill:before{content:""}.bi-pencil-square:before{content:""}.bi-pencil:before{content:""}.bi-pentagon-fill:before{content:""}.bi-pentagon-half:before{content:""}.bi-pentagon:before{content:""}.bi-people-fill:before{content:""}.bi-people:before{content:""}.bi-percent:before{content:""}.bi-person-badge-fill:before{content:""}.bi-person-badge:before{content:""}.bi-person-bounding-box:before{content:""}.bi-person-check-fill:before{content:""}.bi-person-check:before{content:""}.bi-person-circle:before{content:""}.bi-person-dash-fill:before{content:""}.bi-person-dash:before{content:""}.bi-person-fill:before{content:""}.bi-person-lines-fill:before{content:""}.bi-person-plus-fill:before{content:""}.bi-person-plus:before{content:""}.bi-person-square:before{content:""}.bi-person-x-fill:before{content:""}.bi-person-x:before{content:""}.bi-person:before{content:""}.bi-phone-fill:before{content:""}.bi-phone-landscape-fill:before{content:""}.bi-phone-landscape:before{content:""}.bi-phone-vibrate-fill:before{content:""}.bi-phone-vibrate:before{content:""}.bi-phone:before{content:""}.bi-pie-chart-fill:before{content:""}.bi-pie-chart:before{content:""}.bi-pin-angle-fill:before{content:""}.bi-pin-angle:before{content:""}.bi-pin-fill:before{content:""}.bi-pin:before{content:""}.bi-pip-fill:before{content:""}.bi-pip:before{content:""}.bi-play-btn-fill:before{content:""}.bi-play-btn:before{content:""}.bi-play-circle-fill:before{content:""}.bi-play-circle:before{content:""}.bi-play-fill:before{content:""}.bi-play:before{content:""}.bi-plug-fill:before{content:""}.bi-plug:before{content:""}.bi-plus-circle-dotted:before{content:""}.bi-plus-circle-fill:before{content:""}.bi-plus-circle:before{content:""}.bi-plus-square-dotted:before{content:""}.bi-plus-square-fill:before{content:""}.bi-plus-square:before{content:""}.bi-plus:before{content:""}.bi-power:before{content:""}.bi-printer-fill:before{content:""}.bi-printer:before{content:""}.bi-puzzle-fill:before{content:""}.bi-puzzle:before{content:""}.bi-question-circle-fill:before{content:""}.bi-question-circle:before{content:""}.bi-question-diamond-fill:before{content:""}.bi-question-diamond:before{content:""}.bi-question-octagon-fill:before{content:""}.bi-question-octagon:before{content:""}.bi-question-square-fill:before{content:""}.bi-question-square:before{content:""}.bi-question:before{content:""}.bi-rainbow:before{content:""}.bi-receipt-cutoff:before{content:""}.bi-receipt:before{content:""}.bi-reception-0:before{content:""}.bi-reception-1:before{content:""}.bi-reception-2:before{content:""}.bi-reception-3:before{content:""}.bi-reception-4:before{content:""}.bi-record-btn-fill:before{content:""}.bi-record-btn:before{content:""}.bi-record-circle-fill:before{content:""}.bi-record-circle:before{content:""}.bi-record-fill:before{content:""}.bi-record:before{content:""}.bi-record2-fill:before{content:""}.bi-record2:before{content:""}.bi-reply-all-fill:before{content:""}.bi-reply-all:before{content:""}.bi-reply-fill:before{content:""}.bi-reply:before{content:""}.bi-rss-fill:before{content:""}.bi-rss:before{content:""}.bi-rulers:before{content:""}.bi-save-fill:before{content:""}.bi-save:before{content:""}.bi-save2-fill:before{content:""}.bi-save2:before{content:""}.bi-scissors:before{content:""}.bi-screwdriver:before{content:""}.bi-search:before{content:""}.bi-segmented-nav:before{content:""}.bi-server:before{content:""}.bi-share-fill:before{content:""}.bi-share:before{content:""}.bi-shield-check:before{content:""}.bi-shield-exclamation:before{content:""}.bi-shield-fill-check:before{content:""}.bi-shield-fill-exclamation:before{content:""}.bi-shield-fill-minus:before{content:""}.bi-shield-fill-plus:before{content:""}.bi-shield-fill-x:before{content:""}.bi-shield-fill:before{content:""}.bi-shield-lock-fill:before{content:""}.bi-shield-lock:before{content:""}.bi-shield-minus:before{content:""}.bi-shield-plus:before{content:""}.bi-shield-shaded:before{content:""}.bi-shield-slash-fill:before{content:""}.bi-shield-slash:before{content:""}.bi-shield-x:before{content:""}.bi-shield:before{content:""}.bi-shift-fill:before{content:""}.bi-shift:before{content:""}.bi-shop-window:before{content:""}.bi-shop:before{content:""}.bi-shuffle:before{content:""}.bi-signpost-2-fill:before{content:""}.bi-signpost-2:before{content:""}.bi-signpost-fill:before{content:""}.bi-signpost-split-fill:before{content:""}.bi-signpost-split:before{content:""}.bi-signpost:before{content:""}.bi-sim-fill:before{content:""}.bi-sim:before{content:""}.bi-skip-backward-btn-fill:before{content:""}.bi-skip-backward-btn:before{content:""}.bi-skip-backward-circle-fill:before{content:""}.bi-skip-backward-circle:before{content:""}.bi-skip-backward-fill:before{content:""}.bi-skip-backward:before{content:""}.bi-skip-end-btn-fill:before{content:""}.bi-skip-end-btn:before{content:""}.bi-skip-end-circle-fill:before{content:""}.bi-skip-end-circle:before{content:""}.bi-skip-end-fill:before{content:""}.bi-skip-end:before{content:""}.bi-skip-forward-btn-fill:before{content:""}.bi-skip-forward-btn:before{content:""}.bi-skip-forward-circle-fill:before{content:""}.bi-skip-forward-circle:before{content:""}.bi-skip-forward-fill:before{content:""}.bi-skip-forward:before{content:""}.bi-skip-start-btn-fill:before{content:""}.bi-skip-start-btn:before{content:""}.bi-skip-start-circle-fill:before{content:""}.bi-skip-start-circle:before{content:""}.bi-skip-start-fill:before{content:""}.bi-skip-start:before{content:""}.bi-slack:before{content:""}.bi-slash-circle-fill:before{content:""}.bi-slash-circle:before{content:""}.bi-slash-square-fill:before{content:""}.bi-slash-square:before{content:""}.bi-slash:before{content:""}.bi-sliders:before{content:""}.bi-smartwatch:before{content:""}.bi-snow:before{content:""}.bi-snow2:before{content:""}.bi-snow3:before{content:""}.bi-sort-alpha-down-alt:before{content:""}.bi-sort-alpha-down:before{content:""}.bi-sort-alpha-up-alt:before{content:""}.bi-sort-alpha-up:before{content:""}.bi-sort-down-alt:before{content:""}.bi-sort-down:before{content:""}.bi-sort-numeric-down-alt:before{content:""}.bi-sort-numeric-down:before{content:""}.bi-sort-numeric-up-alt:before{content:""}.bi-sort-numeric-up:before{content:""}.bi-sort-up-alt:before{content:""}.bi-sort-up:before{content:""}.bi-soundwave:before{content:""}.bi-speaker-fill:before{content:""}.bi-speaker:before{content:""}.bi-speedometer:before{content:""}.bi-speedometer2:before{content:""}.bi-spellcheck:before{content:""}.bi-square-fill:before{content:""}.bi-square-half:before{content:""}.bi-square:before{content:""}.bi-stack:before{content:""}.bi-star-fill:before{content:""}.bi-star-half:before{content:""}.bi-star:before{content:""}.bi-stars:before{content:""}.bi-stickies-fill:before{content:""}.bi-stickies:before{content:""}.bi-sticky-fill:before{content:""}.bi-sticky:before{content:""}.bi-stop-btn-fill:before{content:""}.bi-stop-btn:before{content:""}.bi-stop-circle-fill:before{content:""}.bi-stop-circle:before{content:""}.bi-stop-fill:before{content:""}.bi-stop:before{content:""}.bi-stoplights-fill:before{content:""}.bi-stoplights:before{content:""}.bi-stopwatch-fill:before{content:""}.bi-stopwatch:before{content:""}.bi-subtract:before{content:""}.bi-suit-club-fill:before{content:""}.bi-suit-club:before{content:""}.bi-suit-diamond-fill:before{content:""}.bi-suit-diamond:before{content:""}.bi-suit-heart-fill:before{content:""}.bi-suit-heart:before{content:""}.bi-suit-spade-fill:before{content:""}.bi-suit-spade:before{content:""}.bi-sun-fill:before{content:""}.bi-sun:before{content:""}.bi-sunglasses:before{content:""}.bi-sunrise-fill:before{content:""}.bi-sunrise:before{content:""}.bi-sunset-fill:before{content:""}.bi-sunset:before{content:""}.bi-symmetry-horizontal:before{content:""}.bi-symmetry-vertical:before{content:""}.bi-table:before{content:""}.bi-tablet-fill:before{content:""}.bi-tablet-landscape-fill:before{content:""}.bi-tablet-landscape:before{content:""}.bi-tablet:before{content:""}.bi-tag-fill:before{content:""}.bi-tag:before{content:""}.bi-tags-fill:before{content:""}.bi-tags:before{content:""}.bi-telegram:before{content:""}.bi-telephone-fill:before{content:""}.bi-telephone-forward-fill:before{content:""}.bi-telephone-forward:before{content:""}.bi-telephone-inbound-fill:before{content:""}.bi-telephone-inbound:before{content:""}.bi-telephone-minus-fill:before{content:""}.bi-telephone-minus:before{content:""}.bi-telephone-outbound-fill:before{content:""}.bi-telephone-outbound:before{content:""}.bi-telephone-plus-fill:before{content:""}.bi-telephone-plus:before{content:""}.bi-telephone-x-fill:before{content:""}.bi-telephone-x:before{content:""}.bi-telephone:before{content:""}.bi-terminal-fill:before{content:""}.bi-terminal:before{content:""}.bi-text-center:before{content:""}.bi-text-indent-left:before{content:""}.bi-text-indent-right:before{content:""}.bi-text-left:before{content:""}.bi-text-paragraph:before{content:""}.bi-text-right:before{content:""}.bi-textarea-resize:before{content:""}.bi-textarea-t:before{content:""}.bi-textarea:before{content:""}.bi-thermometer-half:before{content:""}.bi-thermometer-high:before{content:""}.bi-thermometer-low:before{content:""}.bi-thermometer-snow:before{content:""}.bi-thermometer-sun:before{content:""}.bi-thermometer:before{content:""}.bi-three-dots-vertical:before{content:""}.bi-three-dots:before{content:""}.bi-toggle-off:before{content:""}.bi-toggle-on:before{content:""}.bi-toggle2-off:before{content:""}.bi-toggle2-on:before{content:""}.bi-toggles:before{content:""}.bi-toggles2:before{content:""}.bi-tools:before{content:""}.bi-tornado:before{content:""}.bi-trash-fill:before{content:""}.bi-trash:before{content:""}.bi-trash2-fill:before{content:""}.bi-trash2:before{content:""}.bi-tree-fill:before{content:""}.bi-tree:before{content:""}.bi-triangle-fill:before{content:""}.bi-triangle-half:before{content:""}.bi-triangle:before{content:""}.bi-trophy-fill:before{content:""}.bi-trophy:before{content:""}.bi-tropical-storm:before{content:""}.bi-truck-flatbed:before{content:""}.bi-truck:before{content:""}.bi-tsunami:before{content:""}.bi-tv-fill:before{content:""}.bi-tv:before{content:""}.bi-twitch:before{content:""}.bi-twitter:before{content:""}.bi-type-bold:before{content:""}.bi-type-h1:before{content:""}.bi-type-h2:before{content:""}.bi-type-h3:before{content:""}.bi-type-italic:before{content:""}.bi-type-strikethrough:before{content:""}.bi-type-underline:before{content:""}.bi-type:before{content:""}.bi-ui-checks-grid:before{content:""}.bi-ui-checks:before{content:""}.bi-ui-radios-grid:before{content:""}.bi-ui-radios:before{content:""}.bi-umbrella-fill:before{content:""}.bi-umbrella:before{content:""}.bi-union:before{content:""}.bi-unlock-fill:before{content:""}.bi-unlock:before{content:""}.bi-upc-scan:before{content:""}.bi-upc:before{content:""}.bi-upload:before{content:""}.bi-vector-pen:before{content:""}.bi-view-list:before{content:""}.bi-view-stacked:before{content:""}.bi-vinyl-fill:before{content:""}.bi-vinyl:before{content:""}.bi-voicemail:before{content:""}.bi-volume-down-fill:before{content:""}.bi-volume-down:before{content:""}.bi-volume-mute-fill:before{content:""}.bi-volume-mute:before{content:""}.bi-volume-off-fill:before{content:""}.bi-volume-off:before{content:""}.bi-volume-up-fill:before{content:""}.bi-volume-up:before{content:""}.bi-vr:before{content:""}.bi-wallet-fill:before{content:""}.bi-wallet:before{content:""}.bi-wallet2:before{content:""}.bi-watch:before{content:""}.bi-water:before{content:""}.bi-whatsapp:before{content:""}.bi-wifi-1:before{content:""}.bi-wifi-2:before{content:""}.bi-wifi-off:before{content:""}.bi-wifi:before{content:""}.bi-wind:before{content:""}.bi-window-dock:before{content:""}.bi-window-sidebar:before{content:""}.bi-window:before{content:""}.bi-wrench:before{content:""}.bi-x-circle-fill:before{content:""}.bi-x-circle:before{content:""}.bi-x-diamond-fill:before{content:""}.bi-x-diamond:before{content:""}.bi-x-octagon-fill:before{content:""}.bi-x-octagon:before{content:""}.bi-x-square-fill:before{content:""}.bi-x-square:before{content:""}.bi-x:before{content:""}.bi-youtube:before{content:""}.bi-zoom-in:before{content:""}.bi-zoom-out:before{content:""}.bi-bank:before{content:""}.bi-bank2:before{content:""}.bi-bell-slash-fill:before{content:""}.bi-bell-slash:before{content:""}.bi-cash-coin:before{content:""}.bi-check-lg:before{content:""}.bi-coin:before{content:""}.bi-currency-bitcoin:before{content:""}.bi-currency-dollar:before{content:""}.bi-currency-euro:before{content:""}.bi-currency-exchange:before{content:""}.bi-currency-pound:before{content:""}.bi-currency-yen:before{content:""}.bi-dash-lg:before{content:""}.bi-exclamation-lg:before{content:""}.bi-file-earmark-pdf-fill:before{content:""}.bi-file-earmark-pdf:before{content:""}.bi-file-pdf-fill:before{content:""}.bi-file-pdf:before{content:""}.bi-gender-ambiguous:before{content:""}.bi-gender-female:before{content:""}.bi-gender-male:before{content:""}.bi-gender-trans:before{content:""}.bi-headset-vr:before{content:""}.bi-info-lg:before{content:""}.bi-mastodon:before{content:""}.bi-messenger:before{content:""}.bi-piggy-bank-fill:before{content:""}.bi-piggy-bank:before{content:""}.bi-pin-map-fill:before{content:""}.bi-pin-map:before{content:""}.bi-plus-lg:before{content:""}.bi-question-lg:before{content:""}.bi-recycle:before{content:""}.bi-reddit:before{content:""}.bi-safe-fill:before{content:""}.bi-safe2-fill:before{content:""}.bi-safe2:before{content:""}.bi-sd-card-fill:before{content:""}.bi-sd-card:before{content:""}.bi-skype:before{content:""}.bi-slash-lg:before{content:""}.bi-translate:before{content:""}.bi-x-lg:before{content:""}.bi-safe:before{content:""}.bi-apple:before{content:""}.bi-microsoft:before{content:""}.bi-windows:before{content:""}.bi-behance:before{content:""}.bi-dribbble:before{content:""}.bi-line:before{content:""}.bi-medium:before{content:""}.bi-paypal:before{content:""}.bi-pinterest:before{content:""}.bi-signal:before{content:""}.bi-snapchat:before{content:""}.bi-spotify:before{content:""}.bi-stack-overflow:before{content:""}.bi-strava:before{content:""}.bi-wordpress:before{content:""}.bi-vimeo:before{content:""}.bi-activity:before{content:""}.bi-easel2-fill:before{content:""}.bi-easel2:before{content:""}.bi-easel3-fill:before{content:""}.bi-easel3:before{content:""}.bi-fan:before{content:""}.bi-fingerprint:before{content:""}.bi-graph-down-arrow:before{content:""}.bi-graph-up-arrow:before{content:""}.bi-hypnotize:before{content:""}.bi-magic:before{content:""}.bi-person-rolodex:before{content:""}.bi-person-video:before{content:""}.bi-person-video2:before{content:""}.bi-person-video3:before{content:""}.bi-person-workspace:before{content:""}.bi-radioactive:before{content:""}.bi-webcam-fill:before{content:""}.bi-webcam:before{content:""}.bi-yin-yang:before{content:""}.bi-bandaid-fill:before{content:""}.bi-bandaid:before{content:""}.bi-bluetooth:before{content:""}.bi-body-text:before{content:""}.bi-boombox:before{content:""}.bi-boxes:before{content:""}.bi-dpad-fill:before{content:""}.bi-dpad:before{content:""}.bi-ear-fill:before{content:""}.bi-ear:before{content:""}.bi-envelope-check-fill:before{content:""}.bi-envelope-check:before{content:""}.bi-envelope-dash-fill:before{content:""}.bi-envelope-dash:before{content:""}.bi-envelope-exclamation-fill:before{content:""}.bi-envelope-exclamation:before{content:""}.bi-envelope-plus-fill:before{content:""}.bi-envelope-plus:before{content:""}.bi-envelope-slash-fill:before{content:""}.bi-envelope-slash:before{content:""}.bi-envelope-x-fill:before{content:""}.bi-envelope-x:before{content:""}.bi-explicit-fill:before{content:""}.bi-explicit:before{content:""}.bi-git:before{content:""}.bi-infinity:before{content:""}.bi-list-columns-reverse:before{content:""}.bi-list-columns:before{content:""}.bi-meta:before{content:""}.bi-nintendo-switch:before{content:""}.bi-pc-display-horizontal:before{content:""}.bi-pc-display:before{content:""}.bi-pc-horizontal:before{content:""}.bi-pc:before{content:""}.bi-playstation:before{content:""}.bi-plus-slash-minus:before{content:""}.bi-projector-fill:before{content:""}.bi-projector:before{content:""}.bi-qr-code-scan:before{content:""}.bi-qr-code:before{content:""}.bi-quora:before{content:""}.bi-quote:before{content:""}.bi-robot:before{content:""}.bi-send-check-fill:before{content:""}.bi-send-check:before{content:""}.bi-send-dash-fill:before{content:""}.bi-send-dash:before{content:""}.bi-send-exclamation-fill:before{content:""}.bi-send-exclamation:before{content:""}.bi-send-fill:before{content:""}.bi-send-plus-fill:before{content:""}.bi-send-plus:before{content:""}.bi-send-slash-fill:before{content:""}.bi-send-slash:before{content:""}.bi-send-x-fill:before{content:""}.bi-send-x:before{content:""}.bi-send:before{content:""}.bi-steam:before{content:""}.bi-terminal-dash:before{content:""}.bi-terminal-plus:before{content:""}.bi-terminal-split:before{content:""}.bi-ticket-detailed-fill:before{content:""}.bi-ticket-detailed:before{content:""}.bi-ticket-fill:before{content:""}.bi-ticket-perforated-fill:before{content:""}.bi-ticket-perforated:before{content:""}.bi-ticket:before{content:""}.bi-tiktok:before{content:""}.bi-window-dash:before{content:""}.bi-window-desktop:before{content:""}.bi-window-fullscreen:before{content:""}.bi-window-plus:before{content:""}.bi-window-split:before{content:""}.bi-window-stack:before{content:""}.bi-window-x:before{content:""}.bi-xbox:before{content:""}.bi-ethernet:before{content:""}.bi-hdmi-fill:before{content:""}.bi-hdmi:before{content:""}.bi-usb-c-fill:before{content:""}.bi-usb-c:before{content:""}.bi-usb-fill:before{content:""}.bi-usb-plug-fill:before{content:""}.bi-usb-plug:before{content:""}.bi-usb-symbol:before{content:""}.bi-usb:before{content:""}.bi-boombox-fill:before{content:""}.bi-displayport:before{content:""}.bi-gpu-card:before{content:""}.bi-memory:before{content:""}.bi-modem-fill:before{content:""}.bi-modem:before{content:""}.bi-motherboard-fill:before{content:""}.bi-motherboard:before{content:""}.bi-optical-audio-fill:before{content:""}.bi-optical-audio:before{content:""}.bi-pci-card:before{content:""}.bi-router-fill:before{content:""}.bi-router:before{content:""}.bi-thunderbolt-fill:before{content:""}.bi-thunderbolt:before{content:""}.bi-usb-drive-fill:before{content:""}.bi-usb-drive:before{content:""}.bi-usb-micro-fill:before{content:""}.bi-usb-micro:before{content:""}.bi-usb-mini-fill:before{content:""}.bi-usb-mini:before{content:""}.bi-cloud-haze2:before{content:""}.bi-device-hdd-fill:before{content:""}.bi-device-hdd:before{content:""}.bi-device-ssd-fill:before{content:""}.bi-device-ssd:before{content:""}.bi-displayport-fill:before{content:""}.bi-mortarboard-fill:before{content:""}.bi-mortarboard:before{content:""}.bi-terminal-x:before{content:""}.bi-arrow-through-heart-fill:before{content:""}.bi-arrow-through-heart:before{content:""}.bi-badge-sd-fill:before{content:""}.bi-badge-sd:before{content:""}.bi-bag-heart-fill:before{content:""}.bi-bag-heart:before{content:""}.bi-balloon-fill:before{content:""}.bi-balloon-heart-fill:before{content:""}.bi-balloon-heart:before{content:""}.bi-balloon:before{content:""}.bi-box2-fill:before{content:""}.bi-box2-heart-fill:before{content:""}.bi-box2-heart:before{content:""}.bi-box2:before{content:""}.bi-braces-asterisk:before{content:""}.bi-calendar-heart-fill:before{content:""}.bi-calendar-heart:before{content:""}.bi-calendar2-heart-fill:before{content:""}.bi-calendar2-heart:before{content:""}.bi-chat-heart-fill:before{content:""}.bi-chat-heart:before{content:""}.bi-chat-left-heart-fill:before{content:""}.bi-chat-left-heart:before{content:""}.bi-chat-right-heart-fill:before{content:""}.bi-chat-right-heart:before{content:""}.bi-chat-square-heart-fill:before{content:""}.bi-chat-square-heart:before{content:""}.bi-clipboard-check-fill:before{content:""}.bi-clipboard-data-fill:before{content:""}.bi-clipboard-fill:before{content:""}.bi-clipboard-heart-fill:before{content:""}.bi-clipboard-heart:before{content:""}.bi-clipboard-minus-fill:before{content:""}.bi-clipboard-plus-fill:before{content:""}.bi-clipboard-pulse:before{content:""}.bi-clipboard-x-fill:before{content:""}.bi-clipboard2-check-fill:before{content:""}.bi-clipboard2-check:before{content:""}.bi-clipboard2-data-fill:before{content:""}.bi-clipboard2-data:before{content:""}.bi-clipboard2-fill:before{content:""}.bi-clipboard2-heart-fill:before{content:""}.bi-clipboard2-heart:before{content:""}.bi-clipboard2-minus-fill:before{content:""}.bi-clipboard2-minus:before{content:""}.bi-clipboard2-plus-fill:before{content:""}.bi-clipboard2-plus:before{content:""}.bi-clipboard2-pulse-fill:before{content:""}.bi-clipboard2-pulse:before{content:""}.bi-clipboard2-x-fill:before{content:""}.bi-clipboard2-x:before{content:""}.bi-clipboard2:before{content:""}.bi-emoji-kiss-fill:before{content:""}.bi-emoji-kiss:before{content:""}.bi-envelope-heart-fill:before{content:""}.bi-envelope-heart:before{content:""}.bi-envelope-open-heart-fill:before{content:""}.bi-envelope-open-heart:before{content:""}.bi-envelope-paper-fill:before{content:""}.bi-envelope-paper-heart-fill:before{content:""}.bi-envelope-paper-heart:before{content:""}.bi-envelope-paper:before{content:""}.bi-filetype-aac:before{content:""}.bi-filetype-ai:before{content:""}.bi-filetype-bmp:before{content:""}.bi-filetype-cs:before{content:""}.bi-filetype-css:before{content:""}.bi-filetype-csv:before{content:""}.bi-filetype-doc:before{content:""}.bi-filetype-docx:before{content:""}.bi-filetype-exe:before{content:""}.bi-filetype-gif:before{content:""}.bi-filetype-heic:before{content:""}.bi-filetype-html:before{content:""}.bi-filetype-java:before{content:""}.bi-filetype-jpg:before{content:""}.bi-filetype-js:before{content:""}.bi-filetype-jsx:before{content:""}.bi-filetype-key:before{content:""}.bi-filetype-m4p:before{content:""}.bi-filetype-md:before{content:""}.bi-filetype-mdx:before{content:""}.bi-filetype-mov:before{content:""}.bi-filetype-mp3:before{content:""}.bi-filetype-mp4:before{content:""}.bi-filetype-otf:before{content:""}.bi-filetype-pdf:before{content:""}.bi-filetype-php:before{content:""}.bi-filetype-png:before{content:""}.bi-filetype-ppt:before{content:""}.bi-filetype-psd:before{content:""}.bi-filetype-py:before{content:""}.bi-filetype-raw:before{content:""}.bi-filetype-rb:before{content:""}.bi-filetype-sass:before{content:""}.bi-filetype-scss:before{content:""}.bi-filetype-sh:before{content:""}.bi-filetype-svg:before{content:""}.bi-filetype-tiff:before{content:""}.bi-filetype-tsx:before{content:""}.bi-filetype-ttf:before{content:""}.bi-filetype-txt:before{content:""}.bi-filetype-wav:before{content:""}.bi-filetype-woff:before{content:""}.bi-filetype-xls:before{content:""}.bi-filetype-xml:before{content:""}.bi-filetype-yml:before{content:""}.bi-heart-arrow:before{content:""}.bi-heart-pulse-fill:before{content:""}.bi-heart-pulse:before{content:""}.bi-heartbreak-fill:before{content:""}.bi-heartbreak:before{content:""}.bi-hearts:before{content:""}.bi-hospital-fill:before{content:""}.bi-hospital:before{content:""}.bi-house-heart-fill:before{content:""}.bi-house-heart:before{content:""}.bi-incognito:before{content:""}.bi-magnet-fill:before{content:""}.bi-magnet:before{content:""}.bi-person-heart:before{content:""}.bi-person-hearts:before{content:""}.bi-phone-flip:before{content:""}.bi-plugin:before{content:""}.bi-postage-fill:before{content:""}.bi-postage-heart-fill:before{content:""}.bi-postage-heart:before{content:""}.bi-postage:before{content:""}.bi-postcard-fill:before{content:""}.bi-postcard-heart-fill:before{content:""}.bi-postcard-heart:before{content:""}.bi-postcard:before{content:""}.bi-search-heart-fill:before{content:""}.bi-search-heart:before{content:""}.bi-sliders2-vertical:before{content:""}.bi-sliders2:before{content:""}.bi-trash3-fill:before{content:""}.bi-trash3:before{content:""}.bi-valentine:before{content:""}.bi-valentine2:before{content:""}.bi-wrench-adjustable-circle-fill:before{content:""}.bi-wrench-adjustable-circle:before{content:""}.bi-wrench-adjustable:before{content:""}.bi-filetype-json:before{content:""}.bi-filetype-pptx:before{content:""}.bi-filetype-xlsx:before{content:""}.bi-1-circle-fill:before{content:""}.bi-1-circle:before{content:""}.bi-1-square-fill:before{content:""}.bi-1-square:before{content:""}.bi-2-circle-fill:before{content:""}.bi-2-circle:before{content:""}.bi-2-square-fill:before{content:""}.bi-2-square:before{content:""}.bi-3-circle-fill:before{content:""}.bi-3-circle:before{content:""}.bi-3-square-fill:before{content:""}.bi-3-square:before{content:""}.bi-4-circle-fill:before{content:""}.bi-4-circle:before{content:""}.bi-4-square-fill:before{content:""}.bi-4-square:before{content:""}.bi-5-circle-fill:before{content:""}.bi-5-circle:before{content:""}.bi-5-square-fill:before{content:""}.bi-5-square:before{content:""}.bi-6-circle-fill:before{content:""}.bi-6-circle:before{content:""}.bi-6-square-fill:before{content:""}.bi-6-square:before{content:""}.bi-7-circle-fill:before{content:""}.bi-7-circle:before{content:""}.bi-7-square-fill:before{content:""}.bi-7-square:before{content:""}.bi-8-circle-fill:before{content:""}.bi-8-circle:before{content:""}.bi-8-square-fill:before{content:""}.bi-8-square:before{content:""}.bi-9-circle-fill:before{content:""}.bi-9-circle:before{content:""}.bi-9-square-fill:before{content:""}.bi-9-square:before{content:""}.bi-airplane-engines-fill:before{content:""}.bi-airplane-engines:before{content:""}.bi-airplane-fill:before{content:""}.bi-airplane:before{content:""}.bi-alexa:before{content:""}.bi-alipay:before{content:""}.bi-android:before{content:""}.bi-android2:before{content:""}.bi-box-fill:before{content:""}.bi-box-seam-fill:before{content:""}.bi-browser-chrome:before{content:""}.bi-browser-edge:before{content:""}.bi-browser-firefox:before{content:""}.bi-browser-safari:before{content:""}.bi-c-circle-fill:before{content:""}.bi-c-circle:before{content:""}.bi-c-square-fill:before{content:""}.bi-c-square:before{content:""}.bi-capsule-pill:before{content:""}.bi-capsule:before{content:""}.bi-car-front-fill:before{content:""}.bi-car-front:before{content:""}.bi-cassette-fill:before{content:""}.bi-cassette:before{content:""}.bi-cc-circle-fill:before{content:""}.bi-cc-circle:before{content:""}.bi-cc-square-fill:before{content:""}.bi-cc-square:before{content:""}.bi-cup-hot-fill:before{content:""}.bi-cup-hot:before{content:""}.bi-currency-rupee:before{content:""}.bi-dropbox:before{content:""}.bi-escape:before{content:""}.bi-fast-forward-btn-fill:before{content:""}.bi-fast-forward-btn:before{content:""}.bi-fast-forward-circle-fill:before{content:""}.bi-fast-forward-circle:before{content:""}.bi-fast-forward-fill:before{content:""}.bi-fast-forward:before{content:""}.bi-filetype-sql:before{content:""}.bi-fire:before{content:""}.bi-google-play:before{content:""}.bi-h-circle-fill:before{content:""}.bi-h-circle:before{content:""}.bi-h-square-fill:before{content:""}.bi-h-square:before{content:""}.bi-indent:before{content:""}.bi-lungs-fill:before{content:""}.bi-lungs:before{content:""}.bi-microsoft-teams:before{content:""}.bi-p-circle-fill:before{content:""}.bi-p-circle:before{content:""}.bi-p-square-fill:before{content:""}.bi-p-square:before{content:""}.bi-pass-fill:before{content:""}.bi-pass:before{content:""}.bi-prescription:before{content:""}.bi-prescription2:before{content:""}.bi-r-circle-fill:before{content:""}.bi-r-circle:before{content:""}.bi-r-square-fill:before{content:""}.bi-r-square:before{content:""}.bi-repeat-1:before{content:""}.bi-repeat:before{content:""}.bi-rewind-btn-fill:before{content:""}.bi-rewind-btn:before{content:""}.bi-rewind-circle-fill:before{content:""}.bi-rewind-circle:before{content:""}.bi-rewind-fill:before{content:""}.bi-rewind:before{content:""}.bi-train-freight-front-fill:before{content:""}.bi-train-freight-front:before{content:""}.bi-train-front-fill:before{content:""}.bi-train-front:before{content:""}.bi-train-lightrail-front-fill:before{content:""}.bi-train-lightrail-front:before{content:""}.bi-truck-front-fill:before{content:""}.bi-truck-front:before{content:""}.bi-ubuntu:before{content:""}.bi-unindent:before{content:""}.bi-unity:before{content:""}.bi-universal-access-circle:before{content:""}.bi-universal-access:before{content:""}.bi-virus:before{content:""}.bi-virus2:before{content:""}.bi-wechat:before{content:""}.bi-yelp:before{content:""}.bi-sign-stop-fill:before{content:""}.bi-sign-stop-lights-fill:before{content:""}.bi-sign-stop-lights:before{content:""}.bi-sign-stop:before{content:""}.bi-sign-turn-left-fill:before{content:""}.bi-sign-turn-left:before{content:""}.bi-sign-turn-right-fill:before{content:""}.bi-sign-turn-right:before{content:""}.bi-sign-turn-slight-left-fill:before{content:""}.bi-sign-turn-slight-left:before{content:""}.bi-sign-turn-slight-right-fill:before{content:""}.bi-sign-turn-slight-right:before{content:""}.bi-sign-yield-fill:before{content:""}.bi-sign-yield:before{content:""}.bi-ev-station-fill:before{content:""}.bi-ev-station:before{content:""}.bi-fuel-pump-diesel-fill:before{content:""}.bi-fuel-pump-diesel:before{content:""}.bi-fuel-pump-fill:before{content:""}.bi-fuel-pump:before{content:""}.bi-0-circle-fill:before{content:""}.bi-0-circle:before{content:""}.bi-0-square-fill:before{content:""}.bi-0-square:before{content:""}.bi-rocket-fill:before{content:""}.bi-rocket-takeoff-fill:before{content:""}.bi-rocket-takeoff:before{content:""}.bi-rocket:before{content:""}.bi-stripe:before{content:""}.bi-subscript:before{content:""}.bi-superscript:before{content:""}.bi-trello:before{content:""}.bi-envelope-at-fill:before{content:""}.bi-envelope-at:before{content:""}.bi-regex:before{content:""}.bi-text-wrap:before{content:""}.bi-sign-dead-end-fill:before{content:""}.bi-sign-dead-end:before{content:""}.bi-sign-do-not-enter-fill:before{content:""}.bi-sign-do-not-enter:before{content:""}.bi-sign-intersection-fill:before{content:""}.bi-sign-intersection-side-fill:before{content:""}.bi-sign-intersection-side:before{content:""}.bi-sign-intersection-t-fill:before{content:""}.bi-sign-intersection-t:before{content:""}.bi-sign-intersection-y-fill:before{content:""}.bi-sign-intersection-y:before{content:""}.bi-sign-intersection:before{content:""}.bi-sign-merge-left-fill:before{content:""}.bi-sign-merge-left:before{content:""}.bi-sign-merge-right-fill:before{content:""}.bi-sign-merge-right:before{content:""}.bi-sign-no-left-turn-fill:before{content:""}.bi-sign-no-left-turn:before{content:""}.bi-sign-no-parking-fill:before{content:""}.bi-sign-no-parking:before{content:""}.bi-sign-no-right-turn-fill:before{content:""}.bi-sign-no-right-turn:before{content:""}.bi-sign-railroad-fill:before{content:""}.bi-sign-railroad:before{content:""}.bi-building-add:before{content:""}.bi-building-check:before{content:""}.bi-building-dash:before{content:""}.bi-building-down:before{content:""}.bi-building-exclamation:before{content:""}.bi-building-fill-add:before{content:""}.bi-building-fill-check:before{content:""}.bi-building-fill-dash:before{content:""}.bi-building-fill-down:before{content:""}.bi-building-fill-exclamation:before{content:""}.bi-building-fill-gear:before{content:""}.bi-building-fill-lock:before{content:""}.bi-building-fill-slash:before{content:""}.bi-building-fill-up:before{content:""}.bi-building-fill-x:before{content:""}.bi-building-fill:before{content:""}.bi-building-gear:before{content:""}.bi-building-lock:before{content:""}.bi-building-slash:before{content:""}.bi-building-up:before{content:""}.bi-building-x:before{content:""}.bi-buildings-fill:before{content:""}.bi-buildings:before{content:""}.bi-bus-front-fill:before{content:""}.bi-bus-front:before{content:""}.bi-ev-front-fill:before{content:""}.bi-ev-front:before{content:""}.bi-globe-americas:before{content:""}.bi-globe-asia-australia:before{content:""}.bi-globe-central-south-asia:before{content:""}.bi-globe-europe-africa:before{content:""}.bi-house-add-fill:before{content:""}.bi-house-add:before{content:""}.bi-house-check-fill:before{content:""}.bi-house-check:before{content:""}.bi-house-dash-fill:before{content:""}.bi-house-dash:before{content:""}.bi-house-down-fill:before{content:""}.bi-house-down:before{content:""}.bi-house-exclamation-fill:before{content:""}.bi-house-exclamation:before{content:""}.bi-house-gear-fill:before{content:""}.bi-house-gear:before{content:""}.bi-house-lock-fill:before{content:""}.bi-house-lock:before{content:""}.bi-house-slash-fill:before{content:""}.bi-house-slash:before{content:""}.bi-house-up-fill:before{content:""}.bi-house-up:before{content:""}.bi-house-x-fill:before{content:""}.bi-house-x:before{content:""}.bi-person-add:before{content:""}.bi-person-down:before{content:""}.bi-person-exclamation:before{content:""}.bi-person-fill-add:before{content:""}.bi-person-fill-check:before{content:""}.bi-person-fill-dash:before{content:""}.bi-person-fill-down:before{content:""}.bi-person-fill-exclamation:before{content:""}.bi-person-fill-gear:before{content:""}.bi-person-fill-lock:before{content:""}.bi-person-fill-slash:before{content:""}.bi-person-fill-up:before{content:""}.bi-person-fill-x:before{content:""}.bi-person-gear:before{content:""}.bi-person-lock:before{content:""}.bi-person-slash:before{content:""}.bi-person-up:before{content:""}.bi-scooter:before{content:""}.bi-taxi-front-fill:before{content:""}.bi-taxi-front:before{content:""}.bi-amd:before{content:""}.bi-database-add:before{content:""}.bi-database-check:before{content:""}.bi-database-dash:before{content:""}.bi-database-down:before{content:""}.bi-database-exclamation:before{content:""}.bi-database-fill-add:before{content:""}.bi-database-fill-check:before{content:""}.bi-database-fill-dash:before{content:""}.bi-database-fill-down:before{content:""}.bi-database-fill-exclamation:before{content:""}.bi-database-fill-gear:before{content:""}.bi-database-fill-lock:before{content:""}.bi-database-fill-slash:before{content:""}.bi-database-fill-up:before{content:""}.bi-database-fill-x:before{content:""}.bi-database-fill:before{content:""}.bi-database-gear:before{content:""}.bi-database-lock:before{content:""}.bi-database-slash:before{content:""}.bi-database-up:before{content:""}.bi-database-x:before{content:""}.bi-database:before{content:""}.bi-houses-fill:before{content:""}.bi-houses:before{content:""}.bi-nvidia:before{content:""}.bi-person-vcard-fill:before{content:""}.bi-person-vcard:before{content:""}.bi-sina-weibo:before{content:""}.bi-tencent-qq:before{content:""}.bi-wikipedia:before{content:""}.bi-alphabet-uppercase:before{content:""}.bi-alphabet:before{content:""}.bi-amazon:before{content:""}.bi-arrows-collapse-vertical:before{content:""}.bi-arrows-expand-vertical:before{content:""}.bi-arrows-vertical:before{content:""}.bi-arrows:before{content:""}.bi-ban-fill:before{content:""}.bi-ban:before{content:""}.bi-bing:before{content:""}.bi-cake:before{content:""}.bi-cake2:before{content:""}.bi-cookie:before{content:""}.bi-copy:before{content:""}.bi-crosshair:before{content:""}.bi-crosshair2:before{content:""}.bi-emoji-astonished-fill:before{content:""}.bi-emoji-astonished:before{content:""}.bi-emoji-grimace-fill:before{content:""}.bi-emoji-grimace:before{content:""}.bi-emoji-grin-fill:before{content:""}.bi-emoji-grin:before{content:""}.bi-emoji-surprise-fill:before{content:""}.bi-emoji-surprise:before{content:""}.bi-emoji-tear-fill:before{content:""}.bi-emoji-tear:before{content:""}.bi-envelope-arrow-down-fill:before{content:""}.bi-envelope-arrow-down:before{content:""}.bi-envelope-arrow-up-fill:before{content:""}.bi-envelope-arrow-up:before{content:""}.bi-feather:before{content:""}.bi-feather2:before{content:""}.bi-floppy-fill:before{content:""}.bi-floppy:before{content:""}.bi-floppy2-fill:before{content:""}.bi-floppy2:before{content:""}.bi-gitlab:before{content:""}.bi-highlighter:before{content:""}.bi-marker-tip:before{content:""}.bi-nvme-fill:before{content:""}.bi-nvme:before{content:""}.bi-opencollective:before{content:""}.bi-pci-card-network:before{content:""}.bi-pci-card-sound:before{content:""}.bi-radar:before{content:""}.bi-send-arrow-down-fill:before{content:""}.bi-send-arrow-down:before{content:""}.bi-send-arrow-up-fill:before{content:""}.bi-send-arrow-up:before{content:""}.bi-sim-slash-fill:before{content:""}.bi-sim-slash:before{content:""}.bi-sourceforge:before{content:""}.bi-substack:before{content:""}.bi-threads-fill:before{content:""}.bi-threads:before{content:""}.bi-transparency:before{content:""}.bi-twitter-x:before{content:""}.bi-type-h4:before{content:""}.bi-type-h5:before{content:""}.bi-type-h6:before{content:""}.bi-backpack-fill:before{content:""}.bi-backpack:before{content:""}.bi-backpack2-fill:before{content:""}.bi-backpack2:before{content:""}.bi-backpack3-fill:before{content:""}.bi-backpack3:before{content:""}.bi-backpack4-fill:before{content:""}.bi-backpack4:before{content:""}.bi-brilliance:before{content:""}.bi-cake-fill:before{content:""}.bi-cake2-fill:before{content:""}.bi-duffle-fill:before{content:""}.bi-duffle:before{content:""}.bi-exposure:before{content:""}.bi-gender-neuter:before{content:""}.bi-highlights:before{content:""}.bi-luggage-fill:before{content:""}.bi-luggage:before{content:""}.bi-mailbox-flag:before{content:""}.bi-mailbox2-flag:before{content:""}.bi-noise-reduction:before{content:""}.bi-passport-fill:before{content:""}.bi-passport:before{content:""}.bi-person-arms-up:before{content:""}.bi-person-raised-hand:before{content:""}.bi-person-standing-dress:before{content:""}.bi-person-standing:before{content:""}.bi-person-walking:before{content:""}.bi-person-wheelchair:before{content:""}.bi-shadows:before{content:""}.bi-suitcase-fill:before{content:""}.bi-suitcase-lg-fill:before{content:""}.bi-suitcase-lg:before{content:""}.bi-suitcase:before{content:"豈"}.bi-suitcase2-fill:before{content:"更"}.bi-suitcase2:before{content:"車"}.bi-vignette:before{content:"賈"}.bi-bluesky:before{content:""}.bi-tux:before{content:"滑"}.bi-beaker-fill:before{content:"串"}.bi-beaker:before{content:"句"}.bi-flask-fill:before{content:"龜"}.bi-flask-florence-fill:before{content:"龜"}.bi-flask-florence:before{content:"契"}.bi-flask:before{content:"金"}.bi-leaf-fill:before{content:"喇"}.bi-leaf:before{content:"奈"}.bi-measuring-cup-fill:before{content:"懶"}.bi-measuring-cup:before{content:"癩"}.bi-unlock2-fill:before{content:"羅"}.bi-unlock2:before{content:"蘿"}.bi-battery-low:before{content:"螺"}.bi-anthropic:before{content:"裸"}.bi-apple-music:before{content:"邏"}.bi-claude:before{content:"樂"}.bi-openai:before{content:"洛"}.bi-perplexity:before{content:"烙"}.bi-css:before{content:"珞"}.bi-javascript:before{content:"落"}.bi-typescript:before{content:"酪"}.bi-fork-knife:before{content:"駱"}.bi-globe-americas-fill:before{content:"亂"}.bi-globe-asia-australia-fill:before{content:"卵"}.bi-globe-central-south-asia-fill:before{content:"欄"}.bi-globe-europe-africa-fill:before{content:"爛"}/*! * animate.css - https://animate.style/ * Version - 4.1.1 * Licensed under the MIT license - http://opensource.org/licenses/MIT diff --git a/src/static/app/dist/assets/index-n06B7r3o.css b/src/static/dist/WGDashboardAdmin/assets/index-n06B7r3o.css similarity index 100% rename from src/static/app/dist/assets/index-n06B7r3o.css rename to src/static/dist/WGDashboardAdmin/assets/index-n06B7r3o.css diff --git a/src/static/app/dist/assets/localeText-IWgb3jjT.js b/src/static/dist/WGDashboardAdmin/assets/localeText-BwlyH2uL.js similarity index 76% rename from src/static/app/dist/assets/localeText-IWgb3jjT.js rename to src/static/dist/WGDashboardAdmin/assets/localeText-BwlyH2uL.js index 7d2fa2ee..1220b64b 100644 --- a/src/static/app/dist/assets/localeText-IWgb3jjT.js +++ b/src/static/dist/WGDashboardAdmin/assets/localeText-BwlyH2uL.js @@ -1 +1 @@ -import{_ as e,G as t,c as o,t as a,f as c}from"./index-BiMgJckX.js";const s={name:"localeText",props:{t:""},computed:{getLocaleText(){return t(this.t)}}};function n(r,p,l,_,i,x){return c(),o("span",null,a(this.getLocaleText),1)}const m=e(s,[["render",n]]);export{m as L}; +import{_ as e,G as t,c as o,t as a,f as c}from"./index-D5fbjBmH.js";const s={name:"localeText",props:{t:""},computed:{getLocaleText(){return t(this.t)}}};function n(r,p,l,_,i,x){return c(),o("span",null,a(this.getLocaleText),1)}const m=e(s,[["render",n]]);export{m as L}; diff --git a/src/static/app/dist/assets/message-Bh5W0B3y.css b/src/static/dist/WGDashboardAdmin/assets/message-Bh5W0B3y.css similarity index 100% rename from src/static/app/dist/assets/message-Bh5W0B3y.css rename to src/static/dist/WGDashboardAdmin/assets/message-Bh5W0B3y.css diff --git a/src/static/app/dist/assets/message-BbMgwdPm.js b/src/static/dist/WGDashboardAdmin/assets/message-DXxfTvqC.js similarity index 84% rename from src/static/app/dist/assets/message-BbMgwdPm.js rename to src/static/dist/WGDashboardAdmin/assets/message-DXxfTvqC.js index 6d2c4501..2be7c5ca 100644 --- a/src/static/app/dist/assets/message-BbMgwdPm.js +++ b/src/static/dist/WGDashboardAdmin/assets/message-DXxfTvqC.js @@ -1 +1 @@ -import{L as l}from"./localeText-IWgb3jjT.js";import{d as c}from"./dayjs.min-DfzgISij.js";import{_ as h,c as o,a as e,b as a,w as u,e as p,h as g,t as i,k as f,n as _,f as n}from"./index-BiMgJckX.js";const x={name:"message",methods:{dayjs:c,hide(){this.ct(),this.message.show=!1},show(){this.timeout=setTimeout(()=>{this.message.show=!1},5e3)},ct(){clearTimeout(this.timeout)}},components:{LocaleText:l},props:{message:Object},mounted(){this.show()},data(){return{dismiss:!1,timeout:null}}},v=["id"],b={key:0,class:"d-flex"},w={class:"fw-bold d-block",style:{"text-transform":"uppercase"}},y={class:"ms-auto"},k={key:1},T={class:"card-body d-flex align-items-center gap-3"};function M(C,s,L,j,t,m){const d=g("LocaleText");return n(),o("div",{onMouseenter:s[1]||(s[1]=r=>{t.dismiss=!0,this.ct()}),onMouseleave:s[2]||(s[2]=r=>{t.dismiss=!1,this.show()}),class:"card shadow rounded-3 position-relative message ms-auto",id:this.message.id},[e("div",{class:_([{"text-bg-danger":this.message.type==="danger","text-bg-success":this.message.type==="success","text-bg-warning":this.message.type==="warning"},"card-header pos"])},[a(f,{name:"zoom",mode:"out-in"},{default:u(()=>[t.dismiss?(n(),o("div",k,[e("small",{onClick:s[0]||(s[0]=r=>m.hide()),class:"d-block mx-auto w-100 text-center",style:{cursor:"pointer"}},[s[3]||(s[3]=e("i",{class:"bi bi-x-lg me-2"},null,-1)),a(d,{t:"Dismiss"})])])):(n(),o("div",b,[e("small",w,[a(d,{t:"FROM "}),p(" "+i(this.message.from),1)]),e("small",y,i(m.dayjs().format("hh:mm A")),1)]))]),_:1})],2),e("div",T,[e("div",null,i(this.message.content),1)])],40,v)}const z=h(x,[["render",M],["__scopeId","data-v-94c76b54"]]);export{z as M}; +import{L as l}from"./localeText-BwlyH2uL.js";import{d as c}from"./dayjs.min-Rf3-f83x.js";import{_ as h,c as o,a as e,b as a,w as u,e as p,h as g,t as i,k as f,n as _,f as n}from"./index-D5fbjBmH.js";const x={name:"message",methods:{dayjs:c,hide(){this.ct(),this.message.show=!1},show(){this.timeout=setTimeout(()=>{this.message.show=!1},5e3)},ct(){clearTimeout(this.timeout)}},components:{LocaleText:l},props:{message:Object},mounted(){this.show()},data(){return{dismiss:!1,timeout:null}}},v=["id"],b={key:0,class:"d-flex"},w={class:"fw-bold d-block",style:{"text-transform":"uppercase"}},y={class:"ms-auto"},k={key:1},T={class:"card-body d-flex align-items-center gap-3"};function M(C,s,L,j,t,m){const d=g("LocaleText");return n(),o("div",{onMouseenter:s[1]||(s[1]=r=>{t.dismiss=!0,this.ct()}),onMouseleave:s[2]||(s[2]=r=>{t.dismiss=!1,this.show()}),class:"card shadow rounded-3 position-relative message ms-auto",id:this.message.id},[e("div",{class:_([{"text-bg-danger":this.message.type==="danger","text-bg-success":this.message.type==="success","text-bg-warning":this.message.type==="warning"},"card-header pos"])},[a(f,{name:"zoom",mode:"out-in"},{default:u(()=>[t.dismiss?(n(),o("div",k,[e("small",{onClick:s[0]||(s[0]=r=>m.hide()),class:"d-block mx-auto w-100 text-center",style:{cursor:"pointer"}},[s[3]||(s[3]=e("i",{class:"bi bi-x-lg me-2"},null,-1)),a(d,{t:"Dismiss"})])])):(n(),o("div",b,[e("small",w,[a(d,{t:"FROM "}),p(" "+i(this.message.from),1)]),e("small",y,i(m.dayjs().format("hh:mm A")),1)]))]),_:1})],2),e("div",T,[e("div",null,i(this.message.content),1)])],40,v)}const z=h(x,[["render",M],["__scopeId","data-v-94c76b54"]]);export{z as M}; diff --git a/src/static/app/dist/assets/newConfiguration-Bm1RdKiG.js b/src/static/dist/WGDashboardAdmin/assets/newConfiguration-BrDKdnVB.js similarity index 99% rename from src/static/app/dist/assets/newConfiguration-Bm1RdKiG.js rename to src/static/dist/WGDashboardAdmin/assets/newConfiguration-BrDKdnVB.js index e81a360f..2acda836 100644 --- a/src/static/app/dist/assets/newConfiguration-Bm1RdKiG.js +++ b/src/static/dist/WGDashboardAdmin/assets/newConfiguration-BrDKdnVB.js @@ -1,3 +1,3 @@ -import{p as P}from"./index-6o26Ihmr.js";import{_ as x,c as l,a as t,b as a,w as L,h as v,d as b,n as _,m as p,y as h,t as g,e as w,F as y,i as C,z as S,W as k,r as K,g as A,D as U,f as d}from"./index-BiMgJckX.js";import{L as I}from"./localeText-IWgb3jjT.js";const N=s=>{const e=s.split(` +import{p as P}from"./index-6o26Ihmr.js";import{_ as x,c as l,a as t,b as a,w as L,h as v,d as b,n as _,m as p,y as h,t as g,e as w,F as y,i as C,z as S,W as k,r as K,g as A,D as U,f as d}from"./index-D5fbjBmH.js";import{L as I}from"./localeText-BwlyH2uL.js";const N=s=>{const e=s.split(` `),i={};for(let c of e){if(c==="[Peer]")break;if(c.length>0){let n=c.replace(" = ","=");n.indexOf("=")>-1&&(n=[n.slice(0,n.indexOf("=")),n.slice(n.indexOf("=")+1)],n[0]==="ListenPort"?i[n[0]]=parseInt(n[1]):i[n[0]]=n[1])}}return i},O=s=>{const e=s.split(` `),i=[];let c=-1;const n=e.indexOf("[Peer]");if(n===-1)return!1;for(let u=n;u-1&&(f=[f.slice(0,f.indexOf("=")),f.slice(f.indexOf("=")+1)],i[c][f[0]]=f[1])}return i},q={name:"newConfiguration",components:{LocaleText:I},async setup(){const s=k(),e=K([]);await A("/api/protocolsEnabled",{},c=>{e.value=c.data});const i=U();return{store:s,protocols:e,dashboardStore:i}},data(){return{newConfiguration:{ConfigurationName:"",Address:"",ListenPort:"",PrivateKey:"",PublicKey:"",PresharedKey:"",PreUp:"",PreDown:"",PostUp:"",PostDown:"",Table:"",Protocol:"wg",Jc:5,Jmin:49,Jmax:998,S1:17,S2:110,H1:0,H2:0,H3:0,H4:0},numberOfAvailableIPs:"0",error:!1,errorMessage:"",success:!1,loading:!1,parseInterfaceResult:void 0,parsePeersResult:void 0}},created(){this.wireguardGenerateKeypair();let s=[];for(;[...new Set(s)].length!==4;)s=[this.rand(1,2**31-1),this.rand(1,2**31-1),this.rand(1,2**31-1),this.rand(1,2**31-1)];this.newConfiguration.H1=s[0],this.newConfiguration.H2=s[1],this.newConfiguration.H3=s[2],this.newConfiguration.H4=s[3]},methods:{rand(s,e){return Math.floor(Math.random()*(e-s)+s)},wireguardGenerateKeypair(){const s=window.wireguard.generateKeypair();this.newConfiguration.PrivateKey=s.privateKey,this.newConfiguration.PublicKey=s.publicKey,this.newConfiguration.PresharedKey=s.presharedKey},async saveNewConfiguration(){this.goodToSubmit&&(this.loading=!0,await S("/api/addWireguardConfiguration",this.newConfiguration,async s=>{s.status?(this.success=!0,await this.store.getConfigurations(),this.$router.push(`/configuration/${this.newConfiguration.ConfigurationName}/peers`)):(this.error=!0,this.errorMessage=s.message,document.querySelector(`#${s.data}`).classList.remove("is-valid"),document.querySelector(`#${s.data}`).classList.add("is-invalid"),this.loading=!1)}))},openFileUpload(){document.querySelector("#fileUpload").click()},readFile(s){const e=s.target.files[0];if(!e)return!1;const i=new FileReader;i.onload=c=>{this.parseInterfaceResult=N(c.target.result),this.parsePeersResult=O(c.target.result);let n=0;if(this.parseInterfaceResult){this.newConfiguration.ConfigurationName=e.name.replace(".conf","");for(let u of Object.keys(this.parseInterfaceResult))Object.keys(this.newConfiguration).includes(u)&&(this.newConfiguration[u]=this.parseInterfaceResult[u],n+=1)}n>0?this.dashboardStore.newMessage("WGDashboard",`Parse successful! Updated ${n} field(s)`,"success"):this.dashboardStore.newMessage("WGDashboard","Parse failed","danger")},i.readAsText(e)}},computed:{goodToSubmit(){let s=["ConfigurationName","Address","ListenPort","PrivateKey"],e=[...document.querySelectorAll("input[required]")];return s.find(i=>this.newConfiguration[i].length===0)===void 0&&e.find(i=>i.classList.contains("is-invalid"))===void 0}},watch:{"newConfiguration.Address"(s){let e=document.querySelector("#Address");e.classList.remove("is-invalid","is-valid");try{if(s.trim().split("/").filter(n=>n.length>0).length!==2)throw Error();let i=P(s),c=i.end-i.start;this.numberOfAvailableIPs=c.toLocaleString(),e.classList.add("is-valid")}catch{this.numberOfAvailableIPs="0",e.classList.add("is-invalid")}},"newConfiguration.ListenPort"(s){let e=document.querySelector("#ListenPort");e.classList.remove("is-invalid","is-valid"),s<0||s>65353||!Number.isInteger(s)?e.classList.add("is-invalid"):e.classList.add("is-valid")},"newConfiguration.ConfigurationName"(s){let e=document.querySelector("#ConfigurationName");e.classList.remove("is-invalid","is-valid"),!/^[a-zA-Z0-9_=+.-]{1,15}$/.test(s)||s.length===0||this.store.Configurations.find(i=>i.Name===s)?e.classList.add("is-invalid"):e.classList.add("is-valid")},"newConfiguration.PrivateKey"(s){let e=document.querySelector("#PrivateKey");e.classList.remove("is-invalid","is-valid");try{wireguard.generatePublicKey(s),e.classList.add("is-valid")}catch{e.classList.add("is-invalid")}}},mounted(){document.querySelector("#fileUpload").addEventListener("change",this.readFile,!1)}},D={class:"mt-md-5 mt-3 text-body"},R={class:"container mb-4"},H={class:"mb-4 d-flex align-items-center gap-4 align-items-center"},T={class:"mb-0"},$={class:"d-flex gap-2 ms-auto"},M={class:"card rounded-3 shadow"},F={class:"card-header"},G={class:"card-body d-flex gap-2 protocolBtnGroup"},V={key:0,class:"bi bi-check-circle-fill me-2"},B={key:1,class:"bi bi-circle me-2"},W={key:0,class:"bi bi-check-circle-fill me-2"},J={key:1,class:"bi bi-circle me-2"},z={class:"card rounded-3 shadow"},E={class:"card-header"},j={class:"card-body"},Z=["disabled"],Q={class:"invalid-feedback"},X={key:0},Y={key:1},ee={class:"mb-0"},te={class:"card rounded-3 shadow"},se={class:"card-header"},ie={class:"card-body",style:{"font-family":"var(--bs-font-monospace)"}},oe={class:"mb-2"},ne={class:"text-muted fw-bold mb-1"},ae={class:"input-group"},re=["disabled"],le={class:"text-muted fw-bold mb-1"},de={class:"card rounded-3 shadow"},ce={class:"card-header"},ue={class:"card-body"},fe=["disabled"],pe={class:"invalid-feedback"},he={key:0},ge={key:1},me={class:"card rounded-3 shadow"},be={class:"card-header d-flex align-items-center"},ve={class:"badge rounded-pill text-bg-success ms-auto"},_e={class:"card-body"},we=["disabled"],ye={class:"invalid-feedback"},Ce={key:0},Pe={key:1},xe={class:"accordion",id:"newConfigurationOptionalAccordion"},Le={class:"accordion-item"},Se={class:"accordion-header"},ke={class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#newConfigurationOptionalAccordionCollapse"},Ke={id:"newConfigurationOptionalAccordionCollapse",class:"accordion-collapse collapse","data-bs-parent":"#newConfigurationOptionalAccordion"},Ae={class:"accordion-body d-flex flex-column gap-3"},Ue={class:"card rounded-3"},Ie={class:"card-header"},Ne={class:"card-body"},Oe=["id","onUpdate:modelValue"],qe={class:"card rounded-3"},De={class:"card-header"},Re={class:"card-body"},He=["id","onUpdate:modelValue"],Te=["disabled"],$e={key:0,class:"d-flex w-100"},Me={key:1,class:"d-flex w-100"},Fe={key:2,class:"d-flex w-100 align-items-center"};function Ge(s,e,i,c,n,u){const f=v("RouterLink"),r=v("LocaleText");return d(),l("div",D,[t("div",R,[t("div",H,[a(f,{to:"/",class:"btn btn-dark btn-brand p-2 shadow",style:{"border-radius":"100%"}},{default:L(()=>e[10]||(e[10]=[t("h2",{class:"mb-0",style:{"line-height":"0"}},[t("i",{class:"bi bi-arrow-left-circle"})],-1)])),_:1,__:[10]}),t("h2",T,[a(r,{t:"New Configuration"})]),t("div",$,[t("button",{class:"titleBtn py-2 text-decoration-none btn text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle",onClick:e[0]||(e[0]=o=>u.openFileUpload()),type:"button","aria-expanded":"false"},[e[11]||(e[11]=t("i",{class:"bi bi-upload me-2"},null,-1)),a(r,{t:"Open File"})]),e[12]||(e[12]=t("input",{type:"file",id:"fileUpload",multiple:"",class:"d-none",accept:"text/plain"},null,-1))])]),t("form",{class:"text-body d-flex flex-column gap-3",onSubmit:e[9]||(e[9]=o=>{o.preventDefault(),this.saveNewConfiguration()})},[t("div",M,[t("div",F,[a(r,{t:"Protocol"})]),t("div",G,[this.protocols.includes("wg")?(d(),l("a",{key:0,onClick:e[1]||(e[1]=o=>this.newConfiguration.Protocol="wg"),class:_([{"opacity-50":this.newConfiguration.Protocol!=="wg"},"btn btn-primary wireguardBg border-0"]),style:{"flex-basis":"100%"}},[this.newConfiguration.Protocol==="wg"?(d(),l("i",V)):(d(),l("i",B)),e[13]||(e[13]=t("strong",null," WireGuard ",-1))],2)):b("",!0),this.protocols.includes("awg")?(d(),l("a",{key:1,onClick:e[2]||(e[2]=o=>this.newConfiguration.Protocol="awg"),class:_([{"opacity-50":this.newConfiguration.Protocol!=="awg"},"btn btn-primary amneziawgBg border-0"]),style:{"flex-basis":"100%"}},[this.newConfiguration.Protocol==="awg"?(d(),l("i",W)):(d(),l("i",J)),e[14]||(e[14]=t("strong",null," AmneziaWG ",-1))],2)):b("",!0)])]),t("div",z,[t("div",E,[a(r,{t:"Configuration Name"})]),t("div",j,[p(t("input",{type:"text",class:"form-control",placeholder:"ex. wg1",id:"ConfigurationName","onUpdate:modelValue":e[3]||(e[3]=o=>this.newConfiguration.ConfigurationName=o),disabled:this.loading,required:""},null,8,Z),[[h,this.newConfiguration.ConfigurationName]]),t("div",Q,[this.error?(d(),l("div",X,g(this.errorMessage),1)):(d(),l("div",Y,[a(r,{t:"Configuration name is invalid. Possible reasons:"}),t("ul",ee,[t("li",null,[a(r,{t:"Configuration name already exist."})]),t("li",null,[a(r,{t:"Configuration name can only contain 15 lower/uppercase alphabet, numbers, underscore, equal sign, plus sign, period and hyphen."})])])]))])])]),t("div",te,[t("div",se,[a(r,{t:"Private Key"}),e[15]||(e[15]=w(" & ")),a(r,{t:"Public Key"})]),t("div",ie,[t("div",oe,[t("label",ne,[t("small",null,[a(r,{t:"Private Key"})])]),t("div",ae,[p(t("input",{type:"text",class:"form-control",id:"PrivateKey",required:"",disabled:this.loading,"onUpdate:modelValue":e[4]||(e[4]=o=>this.newConfiguration.PrivateKey=o)},null,8,re),[[h,this.newConfiguration.PrivateKey]]),t("button",{class:"btn btn-outline-primary",type:"button",title:"Regenerate Private Key",onClick:e[5]||(e[5]=o=>u.wireguardGenerateKeypair())},e[16]||(e[16]=[t("i",{class:"bi bi-arrow-repeat"},null,-1)]))])]),t("div",null,[t("label",le,[t("small",null,[a(r,{t:"Public Key"})])]),p(t("input",{type:"text",class:"form-control",id:"PublicKey","onUpdate:modelValue":e[6]||(e[6]=o=>this.newConfiguration.PublicKey=o),disabled:""},null,512),[[h,this.newConfiguration.PublicKey]])])])]),t("div",de,[t("div",ce,[a(r,{t:"Listen Port"})]),t("div",ue,[p(t("input",{type:"number",class:"form-control",placeholder:"0-65353",id:"ListenPort",min:"1",max:"65353","onUpdate:modelValue":e[7]||(e[7]=o=>this.newConfiguration.ListenPort=o),disabled:this.loading,required:""},null,8,fe),[[h,this.newConfiguration.ListenPort]]),t("div",pe,[this.error?(d(),l("div",he,g(this.errorMessage),1)):(d(),l("div",ge,[a(r,{t:"Invalid port"})]))])])]),t("div",me,[t("div",be,[a(r,{t:"IP Address/CIDR"}),t("span",ve,[a(r,{t:n.numberOfAvailableIPs+" Available IP Address"},null,8,["t"])])]),t("div",_e,[p(t("input",{type:"text",class:"form-control",placeholder:"Ex: 10.0.0.1/24",id:"Address","onUpdate:modelValue":e[8]||(e[8]=o=>this.newConfiguration.Address=o),disabled:this.loading,required:""},null,8,we),[[h,this.newConfiguration.Address]]),t("div",ye,[this.error?(d(),l("div",Ce,g(this.errorMessage),1)):(d(),l("div",Pe," IP Address/CIDR is invalid "))])])]),e[21]||(e[21]=t("hr",null,null,-1)),t("div",xe,[t("div",Le,[t("h2",Se,[t("button",ke,[a(r,{t:"Optional Settings"})])]),t("div",Ke,[t("div",Ae,[(d(),l(y,null,C(["Table","PreUp","PreDown","PostUp","PostDown"],o=>t("div",Ue,[t("div",Ie,g(o),1),t("div",Ne,[p(t("input",{type:"text",class:"form-control font-monospace",id:o,"onUpdate:modelValue":m=>this.newConfiguration[o]=m},null,8,Oe),[[h,this.newConfiguration[o]]])])])),64)),this.newConfiguration.Protocol==="awg"?(d(),l(y,{key:0},C(["Jc","Jmin","Jmax","S1","S2","H1","H2","H3","H4"],o=>t("div",qe,[t("div",De,g(o),1),t("div",Re,[p(t("input",{type:"text",class:"form-control font-monospace",id:o,"onUpdate:modelValue":m=>this.newConfiguration[o]=m},null,8,He),[[h,this.newConfiguration[o]]])])])),64)):b("",!0)])])])]),t("button",{class:"btn btn-dark btn-brand rounded-3 px-3 py-2 shadow ms-auto",disabled:!this.goodToSubmit||this.loading||this.success},[this.success?(d(),l("span",$e,[a(r,{t:"Success"}),e[17]||(e[17]=w("! ")),e[18]||(e[18]=t("i",{class:"bi bi-check-circle-fill ms-2"},null,-1))])):this.loading?(d(),l("span",Fe,[a(r,{t:"Saving..."}),e[20]||(e[20]=t("span",{class:"ms-2 spinner-border spinner-border-sm",role:"status"},null,-1))])):(d(),l("span",Me,[e[19]||(e[19]=t("i",{class:"bi bi-save-fill me-2"},null,-1)),a(r,{t:"Save"})]))],8,Te)],32)])])}const Je=x(q,[["render",Ge],["__scopeId","data-v-b0234609"]]);export{Je as default}; diff --git a/src/static/app/dist/assets/newConfiguration-oPMsqryI.css b/src/static/dist/WGDashboardAdmin/assets/newConfiguration-oPMsqryI.css similarity index 100% rename from src/static/app/dist/assets/newConfiguration-oPMsqryI.css rename to src/static/dist/WGDashboardAdmin/assets/newConfiguration-oPMsqryI.css diff --git a/src/static/app/dist/assets/osmap-C5d_TZww.js b/src/static/dist/WGDashboardAdmin/assets/osmap-DPICc3dZ.js similarity index 99% rename from src/static/app/dist/assets/osmap-C5d_TZww.js rename to src/static/dist/WGDashboardAdmin/assets/osmap-DPICc3dZ.js index 9125ac66..937107ab 100644 --- a/src/static/app/dist/assets/osmap-C5d_TZww.js +++ b/src/static/dist/WGDashboardAdmin/assets/osmap-DPICc3dZ.js @@ -1,4 +1,4 @@ -import{_ as xl,D as Cl,c as wl,d as Rl,f as Il}from"./index-BiMgJckX.js";const Et={ADD:"add",REMOVE:"remove"},ui={PROPERTYCHANGE:"propertychange"},X={CHANGE:"change",ERROR:"error",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",TOUCHMOVE:"touchmove",WHEEL:"wheel"};class zn{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}}function Tl(n,t,e){let i,s;e=e||re;let r=0,o=n.length,a=!1;for(;r>1),s=+e(n[i],t),s<0?r=i+1:(o=i,a=!s);return a?r:~r}function re(n,t){return n>t?1:nt?-1:0}function nr(n,t,e){if(n[0]<=t)return 0;const i=n.length;if(t<=n[i-1])return i-1;if(typeof e=="function"){for(let s=1;s0?s-1:s}return i-1}if(e>0){for(let s=1;s0||o===0)})}function Yi(){return!0}function Wn(){return!1}function Ki(){}function ia(n){let t,e,i;return function(){const s=Array.prototype.slice.call(arguments);return(!e||this!==i||!Te(s,e))&&(i=this,e=s,t=n.apply(this,arguments)),t}}function Al(n){function t(){let e;try{e=n()}catch(i){return Promise.reject(i)}return e instanceof Promise?e:Promise.resolve(e)}return t()}function en(n){for(const t in n)delete n[t]}function di(n){let t;for(t in n)return!1;return!t}class ce{constructor(t){this.propagationStopped,this.defaultPrevented,this.type=t,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}}class Yn extends zn{constructor(t){super(),this.eventTarget_=t,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(t,e){if(!t||!e)return;const i=this.listeners_||(this.listeners_={}),s=i[t]||(i[t]=[]);s.includes(e)||s.push(e)}dispatchEvent(t){const e=typeof t=="string",i=e?t:t.type,s=this.listeners_&&this.listeners_[i];if(!s)return;const r=e?new ce(t):t;r.target||(r.target=this.eventTarget_||this);const o=this.dispatching_||(this.dispatching_={}),a=this.pendingRemovals_||(this.pendingRemovals_={});i in o||(o[i]=0,a[i]=0),++o[i];let l;for(let c=0,h=s.length;c0:!1}removeEventListener(t,e){if(!this.listeners_)return;const i=this.listeners_[t];if(!i)return;const s=i.indexOf(e);s!==-1&&(this.pendingRemovals_&&t in this.pendingRemovals_?(i[s]=Ki,++this.pendingRemovals_[t]):(i.splice(s,1),i.length===0&&delete this.listeners_[t]))}}function V(n,t,e,i,s){if(s){const o=e;e=function(a){return n.removeEventListener(t,e),o.call(i??this,a)}}else i&&i!==n&&(e=e.bind(i));const r={target:n,type:t,listener:e};return n.addEventListener(t,e),r}function Tn(n,t,e,i){return V(n,t,e,i,!0)}function tt(n){n&&n.target&&(n.target.removeEventListener(n.type,n.listener),en(n))}class nn extends Yn{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(X.CHANGE)}getRevision(){return this.revision_}onInternal(t,e){if(Array.isArray(t)){const i=t.length,s=new Array(i);for(let r=0;r0;)this.pop()}extend(t){for(let e=0,i=t.length;ethis.getLength())throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e),this.array_.splice(t,0,e),this.updateLength_(),this.dispatchEvent(new fn(Et.ADD,e,t))}pop(){return this.removeAt(this.getLength()-1)}push(t){this.unique_&&this.assertUnique_(t);const e=this.getLength();return this.insertAt(e,t),this.getLength()}remove(t){const e=this.array_;for(let i=0,s=e.length;i=this.getLength())return;const e=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new fn(Et.REMOVE,e,t)),e}setAt(t,e){const i=this.getLength();if(t>=i){this.insertAt(t,e);return}if(t<0)throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e,t);const s=this.array_[t];this.array_[t]=e,this.dispatchEvent(new fn(Et.REMOVE,s,t)),this.dispatchEvent(new fn(Et.ADD,e,t))}updateLength_(){this.set($r.LENGTH,this.array_.length)}assertUnique_(t,e){for(let i=0,s=this.array_.length;i{this.clickTimeoutId_=void 0;const i=new pe(nt.SINGLECLICK,this.map_,t);this.dispatchEvent(i)},250)}updateActivePointers_(t){const e=t,i=e.pointerId;if(e.type==nt.POINTERUP||e.type==nt.POINTERCANCEL){delete this.trackedTouches_[i];for(const s in this.trackedTouches_)if(this.trackedTouches_[s].target!==e.target){delete this.trackedTouches_[s];break}}else(e.type==nt.POINTERDOWN||e.type==nt.POINTERMOVE)&&(this.trackedTouches_[i]=e);this.activePointers_=Object.values(this.trackedTouches_)}handlePointerUp_(t){this.updateActivePointers_(t);const e=new pe(nt.POINTERUP,this.map_,t,void 0,void 0,this.activePointers_);this.dispatchEvent(e),this.emulateClicks_&&!e.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(t)&&this.emulateClick_(this.down_),this.activePointers_.length===0&&(this.dragListenerKeys_.forEach(tt),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)}isMouseActionButton_(t){return t.button===0}handlePointerDown_(t){this.emulateClicks_=this.activePointers_.length===0,this.updateActivePointers_(t);const e=new pe(nt.POINTERDOWN,this.map_,t,void 0,void 0,this.activePointers_);if(this.dispatchEvent(e),this.down_=new PointerEvent(t.type,t),Object.defineProperty(this.down_,"target",{writable:!1,value:t.target}),this.dragListenerKeys_.length===0){const i=this.map_.getOwnerDocument();this.dragListenerKeys_.push(V(i,nt.POINTERMOVE,this.handlePointerMove_,this),V(i,nt.POINTERUP,this.handlePointerUp_,this),V(this.element_,nt.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==i&&this.dragListenerKeys_.push(V(this.element_.getRootNode(),nt.POINTERUP,this.handlePointerUp_,this))}}handlePointerMove_(t){if(this.isMoving_(t)){this.updateActivePointers_(t),this.dragging_=!0;const e=new pe(nt.POINTERDRAG,this.map_,t,this.dragging_,void 0,this.activePointers_);this.dispatchEvent(e)}}relayMoveEvent_(t){this.originalPointerMoveEvent_=t;const e=!!(this.down_&&this.isMoving_(t));this.dispatchEvent(new pe(nt.POINTERMOVE,this.map_,t,e))}handleTouchMove_(t){const e=this.originalPointerMoveEvent_;(!e||e.defaultPrevented)&&(typeof t.cancelable!="boolean"||t.cancelable===!0)&&t.preventDefault()}isMoving_(t){return this.dragging_||Math.abs(t.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_}disposeInternal(){this.relayedListenerKey_&&(tt(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(X.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(tt(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(tt),this.dragListenerKeys_.length=0,this.element_=null,super.disposeInternal()}}const ye={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend",LOADSTART:"loadstart",LOADEND:"loadend"},ft={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"},P={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};function q(n,t){if(!n)throw new Error(t)}const Sn=1/0;class kl{constructor(t,e){this.priorityFunction_=t,this.keyFunction_=e,this.elements_=[],this.priorities_=[],this.queuedElements_={}}clear(){this.elements_.length=0,this.priorities_.length=0,en(this.queuedElements_)}dequeue(){const t=this.elements_,e=this.priorities_,i=t[0];t.length==1?(t.length=0,e.length=0):(t[0]=t.pop(),e[0]=e.pop(),this.siftUp_(0));const s=this.keyFunction_(i);return delete this.queuedElements_[s],i}enqueue(t){q(!(this.keyFunction_(t)in this.queuedElements_),"Tried to enqueue an `element` that was already added to the queue");const e=this.priorityFunction_(t);return e!=Sn?(this.elements_.push(t),this.priorities_.push(e),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0):!1}getCount(){return this.elements_.length}getLeftChildIndex_(t){return t*2+1}getRightChildIndex_(t){return t*2+2}getParentIndex_(t){return t-1>>1}heapify_(){let t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)}isEmpty(){return this.elements_.length===0}isKeyQueued(t){return t in this.queuedElements_}isQueued(t){return this.isKeyQueued(this.keyFunction_(t))}siftUp_(t){const e=this.elements_,i=this.priorities_,s=e.length,r=e[t],o=i[t],a=t;for(;t>1;){const l=this.getLeftChildIndex_(t),c=this.getRightChildIndex_(t),h=ct;){const a=this.getParentIndex_(e);if(s[a]>o)i[e]=i[a],s[e]=s[a],e=a;else break}i[e]=r,s[e]=o}reprioritize(){const t=this.priorityFunction_,e=this.elements_,i=this.priorities_;let s=0;const r=e.length;let o,a,l;for(a=0;at.apply(null,i),i=>i[0].getKey()),this.boundHandleTileChange_=this.handleTileChange.bind(this),this.tileChangeCallback_=e,this.tilesLoading_=0,this.tilesLoadingKeys_={}}enqueue(t){const e=super.enqueue(t);return e&&t[0].addEventListener(X.CHANGE,this.boundHandleTileChange_),e}getTilesLoading(){return this.tilesLoading_}handleTileChange(t){const e=t.target,i=e.getState();if(i===P.LOADED||i===P.ERROR||i===P.EMPTY){i!==P.ERROR&&e.removeEventListener(X.CHANGE,this.boundHandleTileChange_);const s=e.getKey();s in this.tilesLoadingKeys_&&(delete this.tilesLoadingKeys_[s],--this.tilesLoading_),this.tileChangeCallback_()}}loadMoreTiles(t,e){let i=0;for(;this.tilesLoading_0;){const s=this.dequeue()[0],r=s.getKey();s.getState()===P.IDLE&&!(r in this.tilesLoadingKeys_)&&(this.tilesLoadingKeys_[r]=!0,++this.tilesLoading_,++i,s.load())}}}function Gl(n,t,e,i,s){if(!n||!(e in n.wantedTiles)||!n.wantedTiles[e][t.getKey()])return Sn;const r=n.viewState.center,o=i[0]-r[0],a=i[1]-r[1];return 65536*Math.log(s)+Math.sqrt(o*o+a*a)/s}const gt={ANIMATING:0,INTERACTING:1},zt={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"};function et(n,t,e){return Math.min(Math.max(n,t),e)}function zl(n,t,e,i,s,r){const o=s-e,a=r-i;if(o!==0||a!==0){const l=((n-e)*o+(t-i)*a)/(o*o+a*a);l>1?(e=s,i=r):l>0&&(e+=o*l,i+=a*l)}return oi(n,t,e,i)}function oi(n,t,e,i){const s=e-n,r=i-t;return s*s+r*r}function Xl(n){const t=n.length;for(let i=0;ir&&(r=l,s=a)}if(r===0)return null;const o=n[s];n[s]=n[i],n[i]=o;for(let a=i+1;a=0;i--){e[i]=n[i][t]/n[i][i];for(let s=i-1;s>=0;s--)n[s][t]-=n[s][i]*e[i]}return e}function Jr(n){return n*180/Math.PI}function we(n){return n*Math.PI/180}function ai(n,t){const e=n%t;return e*t<0?e+t:e}function Lt(n,t,e){return n+e*(t-n)}function Kn(n,t){const e=Math.pow(10,t);return Math.round(n*e)/e}function gn(n,t){return Math.floor(Kn(n,t))}function _n(n,t){return Math.ceil(Kn(n,t))}function Ws(n,t,e){if(n>=t&&nf&&(d=(f+d)/2,f=d),g>m&&(g=(m+g)/2,m=g);let _=et(i[0],d,f),p=et(i[1],g,m);if(o&&e&&s){const E=30*s;_+=-E*Math.log(1+Math.max(0,d-i[0])/E)+E*Math.log(1+Math.max(0,i[0]-f)/E),p+=-E*Math.log(1+Math.max(0,g-i[1])/E)+E*Math.log(1+Math.max(0,i[1]-m)/E)}return[_,p]}}function Wl(n){return n}const lt={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16};function to(n){const t=Nt();for(let e=0,i=n.length;es&&(l=l|lt.RIGHT),ar&&(l=l|lt.ABOVE),l===lt.UNKNOWN&&(l=lt.INTERSECTING),l}function Nt(){return[1/0,1/0,-1/0,-1/0]}function Ie(n,t,e,i,s){return s?(s[0]=n,s[1]=t,s[2]=e,s[3]=i,s):[n,t,e,i]}function Bn(n){return Ie(1/0,1/0,-1/0,-1/0,n)}function la(n,t){const e=n[0],i=n[1];return Ie(e,i,e,i,t)}function ar(n,t,e,i,s){const r=Bn(s);return ha(r,n,t,e,i)}function Bi(n,t){return n[0]==t[0]&&n[2]==t[2]&&n[1]==t[1]&&n[3]==t[3]}function Yl(n,t){return t[0]n[2]&&(n[2]=t[2]),t[1]n[3]&&(n[3]=t[3]),n}function zi(n,t){t[0]n[2]&&(n[2]=t[0]),t[1]n[3]&&(n[3]=t[1])}function ha(n,t,e,i,s){for(;et[0]?i[0]=n[0]:i[0]=t[0],n[1]>t[1]?i[1]=n[1]:i[1]=t[1],n[2]=t[0]&&n[1]<=t[3]&&n[3]>=t[1]}function jn(n){return n[2]=o&&m<=l),!i&&r<.RIGHT&&!(s<.RIGHT)&&(_=f-(d-l)*g,i=_>=a&&_<=c),!i&&r<.BELOW&&!(s<.BELOW)&&(m=d-(f-a)/g,i=m>=o&&m<=l),!i&&r<.LEFT&&!(s<.LEFT)&&(_=f-(d-o)*g,i=_>=a&&_<=c)}return i}function da(n,t){const e=t.getExtent(),i=Xe(n);if(t.canWrapX()&&(i[0]=e[2])){const s=J(e),o=Math.floor((i[0]-e[0])/s)*s;n[0]-=o,n[2]-=o}return n}function fa(n,t,e){if(t.canWrapX()){const i=t.getExtent();if(!isFinite(n[0])||!isFinite(n[2]))return[[i[0],n[1],i[2],n[3]]];da(n,t);const s=J(i);if(J(n)>s&&!e)return[[i[0],n[1],i[2],n[3]]];if(n[0]i[2])return[[n[0],n[1],i[2],n[3]],[i[0],n[1],n[2]-s,n[3]]]}return[n]}function Vl(n,t){return n[0]+=+t[0],n[1]+=+t[1],n}function vn(n,t){let e=!0;for(let i=n.length-1;i>=0;--i)if(n[i]!=t[i]){e=!1;break}return e}function lr(n,t){const e=Math.cos(t),i=Math.sin(t),s=n[0]*e-n[1]*i,r=n[1]*e+n[0]*i;return n[0]=s,n[1]=r,n}function jl(n,t){return n[0]*=t,n[1]*=t,n}function ga(n,t){if(t.canWrapX()){const e=J(t.getExtent()),i=Hl(n,t,e);i&&(n[0]-=i*e)}return n}function Hl(n,t,e){const i=t.getExtent();let s=0;return t.canWrapX()&&(n[0]i[2])&&(e=e||J(i),s=Math.floor((n[0]-i[0])/e)),s}function _a(n){return Math.pow(n,3)}function Ei(n){return 1-_a(1-n)}function ql(n){return 3*n*n-2*n*n*n}function $l(n){return n}const Jl=63710088e-1;function eo(n,t,e){e=e||Jl;const i=we(n[1]),s=we(t[1]),r=(s-i)/2,o=we(t[0]-n[0])/2,a=Math.sin(r)*Math.sin(r)+Math.sin(o)*Math.sin(o)*Math.cos(i)*Math.cos(s);return 2*e*Math.atan2(Math.sqrt(a),Math.sqrt(1-a))}function ma(...n){console.warn(...n)}const hr={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937};class cr{constructor(t){this.code_=t.code,this.units_=t.units,this.extent_=t.extent!==void 0?t.extent:null,this.worldExtent_=t.worldExtent!==void 0?t.worldExtent:null,this.axisOrientation_=t.axisOrientation!==void 0?t.axisOrientation:"enu",this.global_=t.global!==void 0?t.global:!1,this.canWrapX_=!!(this.global_&&this.extent_),this.getPointResolutionFunc_=t.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=t.metersPerUnit}canWrapX(){return this.canWrapX_}getCode(){return this.code_}getExtent(){return this.extent_}getUnits(){return this.units_}getMetersPerUnit(){return this.metersPerUnit_||hr[this.units_]}getWorldExtent(){return this.worldExtent_}getAxisOrientation(){return this.axisOrientation_}isGlobal(){return this.global_}setGlobal(t){this.global_=t,this.canWrapX_=!!(t&&this.extent_)}getDefaultTileGrid(){return this.defaultTileGrid_}setDefaultTileGrid(t){this.defaultTileGrid_=t}setExtent(t){this.extent_=t,this.canWrapX_=!!(this.global_&&t)}setWorldExtent(t){this.worldExtent_=t}setGetPointResolution(t){this.getPointResolutionFunc_=t}getPointResolutionFunc(){return this.getPointResolutionFunc_}}const sn=6378137,ri=Math.PI*sn,Ql=[-ri,-ri,ri,ri],th=[-180,-85,180,85],mn=sn*Math.log(Math.tan(Math.PI/2));class je extends cr{constructor(t){super({code:t,units:"m",extent:Ql,global:!0,worldExtent:th,getPointResolution:function(e,i){return e/Math.cosh(i[1]/sn)}})}}const io=[new je("EPSG:3857"),new je("EPSG:102100"),new je("EPSG:102113"),new je("EPSG:900913"),new je("http://www.opengis.net/def/crs/EPSG/0/3857"),new je("http://www.opengis.net/gml/srs/epsg.xml#3857")];function eh(n,t,e,i){const s=n.length;e=e>1?e:2,i=i??e,t===void 0&&(e>2?t=n.slice():t=new Array(s));for(let r=0;rmn?o=mn:o<-mn&&(o=-mn),t[r+1]=o}return t}function ih(n,t,e,i){const s=n.length;e=e>1?e:2,i=i??e,t===void 0&&(e>2?t=n.slice():t=new Array(s));for(let r=0;rao&&(t=ao);const i=we(t),s=Math.sin(i),r=Math.cos(i),o=s/r,a=o*o,l=a*a,c=we(n),h=xa(e.number),u=we(h),d=An/Math.sqrt(1-kt*s**2),f=Pe*r**2,g=r*Ws(c-u,-Math.PI,Math.PI),m=g*g,_=m*g,p=_*g,E=p*g,C=E*g,y=An*(Ea*i-ah*Math.sin(2*i)+lh*Math.sin(4*i)-hh*Math.sin(6*i)),x=Ln*d*(g+_/6*(1-a+f)+E/120*(5-18*a+l+72*f-58*Pe))+5e5;let R=Ln*(y+d*o*(m/2+p/24*(5-a+9*f+4*f**2)+C/720*(61-58*a+l+600*f-330*Pe)));return e.north||(R+=1e7),[x,R]}function xa(n){return(n-1)*6-180+3}const yh=[/^EPSG:(\d+)$/,/^urn:ogc:def:crs:EPSG::(\d+)$/,/^http:\/\/www\.opengis\.net\/def\/crs\/EPSG\/0\/(\d+)$/];function Ca(n){let t=0;for(const s of yh){const r=n.match(s);if(r){t=parseInt(r[1]);break}}if(!t)return null;let e=0,i=!1;return t>32700&&t<32761?e=t-32700:t>32600&&t<32661&&(i=!0,e=t-32600),e?{number:e,north:i}:null}function lo(n,t){return function(e,i,s,r){const o=e.length;s=s>1?s:2,r=r??s,i||(s>2?i=e.slice():i=new Array(o));for(let a=0;a=l?t[o+c]:a[c]}return e}}function gs(n,t){return wa(),mr(n,"EPSG:4326","EPSG:3857")}function _s(n,t){if(n===t)return!0;const e=n.getUnits()===t.getUnits();return(n.getCode()===t.getCode()||_r(n,t)===fr)&&e}function _r(n,t){const e=n.getCode(),i=t.getCode();let s=fs(e,i);if(s)return s;let r=null,o=null;for(const l of Ch)r||(r=l(n)),o||(o=l(t));if(!r&&!o)return null;const a="EPSG:4326";if(o)if(r)s=ms(r.inverse,o.forward);else{const l=fs(e,a);l&&(s=ms(l,o.forward))}else{const l=fs(a,i);l&&(s=ms(r.inverse,l))}return s&&(Vs(n),Vs(t),Zi(n,t,s)),s}function ms(n,t){return function(e,i,s,r){return i=n(e,i,s,r),t(i,i,s,r)}}function Mn(n,t){const e=Tt(n),i=Tt(t);return _r(e,i)}function mr(n,t,e){const i=Mn(t,e);if(!i){const s=Tt(t).getCode(),r=Tt(e).getCode();throw new Error(`No transform available between ${s} and ${r}`)}return i(n,void 0,n.length)}function js(n,t){return n}function ne(n,t){return Us&&!vn(n,[0,0])&&n[0]>=-180&&n[0]<=180&&n[1]>=-90&&n[1]<=90&&(Us=!1,ma("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),n}function Ra(n,t){return n}function xe(n,t){return n}function Sh(){co(io),co(so),Ih(so,io,eh,ih)}Sh();new Array(6);function Yt(){return[1,0,0,1,0,0]}function vh(n,t){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n[4]=t[4],n[5]=t[5],n}function ht(n,t){const e=t[0],i=t[1];return t[0]=n[0]*e+n[2]*i+n[4],t[1]=n[1]*e+n[3]*i+n[5],t}function he(n,t,e,i,s,r,o,a){const l=Math.sin(r),c=Math.cos(r);return n[0]=i*c,n[1]=s*l,n[2]=-i*l,n[3]=s*c,n[4]=o*i*c-a*i*l+t,n[5]=o*s*l+a*s*c+e,n}function Ia(n,t){const e=Lh(t);q(e!==0,"Transformation matrix cannot be inverted");const i=t[0],s=t[1],r=t[2],o=t[3],a=t[4],l=t[5];return n[0]=o/e,n[1]=-s/e,n[2]=-r/e,n[3]=i/e,n[4]=(r*l-o*a)/e,n[5]=-(i*l-s*a)/e,n}function Lh(n){return n[0]*n[3]-n[1]*n[2]}const Ah=[1e5,1e5,1e5,1e5,2,2];function Mh(n){return"matrix("+n.join(", ")+")"}function uo(n){return n.substring(7,n.length-1).split(",").map(parseFloat)}function bh(n,t){const e=uo(n),i=uo(t);for(let s=0;s<6;++s)if(Math.round((e[s]-i[s])*Ah[s])!==0)return!1;return!0}function Re(n,t,e,i,s,r,o){r=r||[],o=o||2;let a=0;for(let l=t;l{if(!i)return this.getSimplifiedGeometry(e);const s=this.clone();return s.applyTransform(i),s.getSimplifiedGeometry(e)})}simplifyTransformed(t,e){return this.simplifyTransformedInternal(this.getRevision(),t,e)}clone(){return U()}closestPointXY(t,e,i,s){return U()}containsXY(t,e){return this.closestPointXY(t,e,Oh,Number.MIN_VALUE)===0}getClosestPoint(t,e){return e=e||[NaN,NaN],this.closestPointXY(t[0],t[1],e,1/0),e}intersectsCoordinate(t){return this.containsXY(t[0],t[1])}computeExtent(t){return U()}getExtent(t){if(this.extentRevision_!=this.getRevision()){const e=this.computeExtent(this.extent_);(isNaN(e[0])||isNaN(e[1]))&&Bn(e),this.extentRevision_=this.getRevision()}return Zl(this.extent_,t)}rotate(t,e){U()}scale(t,e,i){U()}simplify(t){return this.getSimplifiedGeometry(t*t)}getSimplifiedGeometry(t){return U()}getType(){return U()}applyTransform(t){U()}intersectsExtent(t){return U()}translate(t,e){U()}transform(t,e){const i=Tt(t),s=i.getUnits()=="tile-pixels"?function(r,o,a){const l=i.getExtent(),c=i.getWorldExtent(),h=yt(c)/yt(l);he(fo,c[0],c[3],h,-h,0,0,0);const u=Re(r,0,r.length,a,fo,o),d=Mn(i,e);return d?d(u,u,a):u}:Mn(i,e);return this.applyTransform(s),this}}class $n extends Fh{constructor(){super(),this.layout="XY",this.stride=2,this.flatCoordinates}computeExtent(t){return ar(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)}getCoordinates(){return U()}getFirstCoordinate(){return this.flatCoordinates.slice(0,this.stride)}getFlatCoordinates(){return this.flatCoordinates}getLastCoordinate(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)}getLayout(){return this.layout}getSimplifiedGeometry(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||this.simplifiedGeometryMaxMinSquaredTolerance!==0&&t<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;const e=this.getSimplifiedGeometryInternal(t);return e.getFlatCoordinates().length1)u=e;else if(d>0){for(let f=0;fs&&(s=c),r=a,o=l}return s}function zh(n,t,e,i,s){for(let r=0,o=e.length;r0;){const u=c.pop(),d=c.pop();let f=0;const g=n[d],m=n[d+1],_=n[u],p=n[u+1];for(let E=d+i;Ef&&(h=E,f=x)}f>s&&(l[(h-t)/i]=1,d+i0&&m>f)&&(g<0&&_0&&_>g)){c=u,h=d;continue}r[o++]=c,r[o++]=h,a=c,l=h,c=u,h=d}return r[o++]=c,r[o++]=h,o}function va(n,t,e,i,s,r,o,a){for(let l=0,c=e.length;lr&&(c-a)*(r-l)-(s-a)*(h-l)>0&&o++:h<=r&&(c-a)*(r-l)-(s-a)*(h-l)<0&&o--,a=c,l=h}return o!==0}function La(n,t,e,i,s,r){if(e.length===0||!Fe(n,t,e[0],i,s,r))return!1;for(let o=1,a=e.length;op&&(c=(h+u)/2,La(n,t,e,i,c,g)&&(_=c,p=E)),h=u}return isNaN(_)&&(_=s[r]),o?(o.push(_,g,p),o):[_,g,p]}function Uh(n,t,e,i,s){let r=[];for(let o=0,a=e.length;o=s[0]&&r[2]<=s[2]||r[1]>=s[1]&&r[3]<=s[3]?!0:Aa(n,t,e,i,function(o,a){return Ul(s,o,a)}):!1}function Ma(n,t,e,i,s){return!!(Cr(n,t,e,i,s)||Fe(n,t,e,i,s[0],s[1])||Fe(n,t,e,i,s[0],s[3])||Fe(n,t,e,i,s[2],s[1])||Fe(n,t,e,i,s[2],s[3]))}function Vh(n,t,e,i,s){if(!Ma(n,t,e[0],i,s))return!1;if(e.length===1)return!0;for(let r=1,o=e.length;r0}function Hh(n,t,e,i,s){s=s!==void 0?s:!1;for(let r=0,o=e.length;rh&&d1&&typeof arguments[e-1]=="function"&&(i=arguments[e-1],--e);let s=0;for(;s0}getInteracting(){return this.hints_[gt.INTERACTING]>0}cancelAnimations(){this.setHint(gt.ANIMATING,-this.hints_[gt.ANIMATING]);let t;for(let e=0,i=this.animations_.length;e=0;--i){const s=this.animations_[i];let r=!0;for(let o=0,a=s.length;o0?c/l.duration:1;h>=1?(l.complete=!0,h=1):r=!1;const u=l.easing(h);if(l.sourceCenter){const d=l.sourceCenter[0],f=l.sourceCenter[1],g=l.targetCenter[0],m=l.targetCenter[1];this.nextCenter_=l.targetCenter;const _=d+u*(g-d),p=f+u*(m-f);this.targetCenter_=[_,p]}if(l.sourceResolution&&l.targetResolution){const d=u===1?l.targetResolution:l.sourceResolution+u*(l.targetResolution-l.sourceResolution);if(l.anchor){const f=this.getViewportSize_(this.getRotation()),g=this.constraints_.resolution(d,0,f,!0);this.targetCenter_=this.calculateCenterZoom(g,l.anchor)}this.nextResolution_=l.targetResolution,this.targetResolution_=d,this.applyTargetState_(!0)}if(l.sourceRotation!==void 0&&l.targetRotation!==void 0){const d=u===1?ai(l.targetRotation+Math.PI,2*Math.PI)-Math.PI:l.sourceRotation+u*(l.targetRotation-l.sourceRotation);if(l.anchor){const f=this.constraints_.rotation(d,!0);this.targetCenter_=this.calculateCenterRotate(f,l.anchor)}this.nextRotation_=l.targetRotation,this.targetRotation_=d}if(this.applyTargetState_(!0),e=!0,!l.complete)break}if(r){this.animations_[i]=null,this.setHint(gt.ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const o=s[0].callback;o&&pn(o,!0)}}this.animations_=this.animations_.filter(Boolean),e&&this.updateAnimationKey_===void 0&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}calculateCenterRotate(t,e){let i;const s=this.getCenterInternal();return s!==void 0&&(i=[s[0]-e[0],s[1]-e[1]],lr(i,t-this.getRotation()),Vl(i,e)),i}calculateCenterZoom(t,e){let i;const s=this.getCenterInternal(),r=this.getResolution();if(s!==void 0&&r!==void 0){const o=e[0]-t*(e[0]-s[0])/r,a=e[1]-t*(e[1]-s[1])/r;i=[o,a]}return i}getViewportSize_(t){const e=this.viewportSize_;if(t){const i=e[0],s=e[1];return[Math.abs(i*Math.cos(t))+Math.abs(s*Math.sin(t)),Math.abs(i*Math.sin(t))+Math.abs(s*Math.cos(t))]}return e}setViewportSize(t){this.viewportSize_=Array.isArray(t)?t.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)}getCenter(){const t=this.getCenterInternal();return t&&js(t,this.getProjection())}getCenterInternal(){return this.get(zt.CENTER)}getConstraints(){return this.constraints_}getConstrainResolution(){return this.get("constrainResolution")}getHints(t){return t!==void 0?(t[0]=this.hints_[0],t[1]=this.hints_[1],t):this.hints_.slice()}calculateExtent(t){const e=this.calculateExtentInternal(t);return Ra(e,this.getProjection())}calculateExtentInternal(t){t=t||this.getViewportSizeMinusPadding_();const e=this.getCenterInternal();q(e,"The view center is not defined");const i=this.getResolution();q(i!==void 0,"The view resolution is not defined");const s=this.getRotation();return q(s!==void 0,"The view rotation is not defined"),Bs(e,i,s,t)}getMaxResolution(){return this.maxResolution_}getMinResolution(){return this.minResolution_}getMaxZoom(){return this.getZoomForResolution(this.minResolution_)}setMaxZoom(t){this.applyOptions_(this.getUpdatedOptions_({maxZoom:t}))}getMinZoom(){return this.getZoomForResolution(this.maxResolution_)}setMinZoom(t){this.applyOptions_(this.getUpdatedOptions_({minZoom:t}))}setConstrainResolution(t){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:t}))}getProjection(){return this.projection_}getResolution(){return this.get(zt.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(t,e){return this.getResolutionForExtentInternal(xe(t,this.getProjection()),e)}getResolutionForExtentInternal(t,e){e=e||this.getViewportSizeMinusPadding_();const i=J(t)/e[0],s=yt(t)/e[1];return Math.max(i,s)}getResolutionForValueFunction(t){t=t||2;const e=this.getConstrainedResolution(this.maxResolution_),i=this.minResolution_,s=Math.log(e/i)/Math.log(t);return function(r){return e/Math.pow(t,r*s)}}getRotation(){return this.get(zt.ROTATION)}getValueForResolutionFunction(t){const e=Math.log(t||2),i=this.getConstrainedResolution(this.maxResolution_),s=this.minResolution_,r=Math.log(i/s)/e;return function(o){return Math.log(i/o)/e/r}}getViewportSizeMinusPadding_(t){let e=this.getViewportSize_(t);const i=this.padding_;return i&&(e=[e[0]-i[1]-i[3],e[1]-i[0]-i[2]]),e}getState(){const t=this.getProjection(),e=this.getResolution(),i=this.getRotation();let s=this.getCenterInternal();const r=this.padding_;if(r){const o=this.getViewportSizeMinusPadding_();s=ys(s,this.getViewportSize_(),[o[0]/2+r[3],o[1]/2+r[0]],e,i)}return{center:s.slice(0),projection:t!==void 0?t:null,resolution:e,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:i,zoom:this.getZoom()}}getViewStateAndExtent(){return{viewState:this.getState(),extent:this.calculateExtent()}}getZoom(){let t;const e=this.getResolution();return e!==void 0&&(t=this.getZoomForResolution(e)),t}getZoomForResolution(t){let e=this.minZoom_||0,i,s;if(this.resolutions_){const r=nr(this.resolutions_,t,1);e=r,i=this.resolutions_[r],r==this.resolutions_.length-1?s=2:s=i/this.resolutions_[r+1]}else i=this.maxResolution_,s=this.zoomFactor_;return e+Math.log(i/t)/Math.log(s)}getResolutionForZoom(t){if(this.resolutions_?.length){if(this.resolutions_.length===1)return this.resolutions_[0];const e=et(Math.floor(t),0,this.resolutions_.length-2),i=this.resolutions_[e]/this.resolutions_[e+1];return this.resolutions_[e]/Math.pow(i,et(t-e,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,t-this.minZoom_)}fit(t,e){let i;if(q(Array.isArray(t)||typeof t.getSimplifiedGeometry=="function","Invalid extent or geometry provided as `geometry`"),Array.isArray(t)){q(!jn(t),"Cannot fit empty extent provided as `geometry`");const s=xe(t,this.getProjection());i=yo(s)}else if(t.getType()==="Circle"){const s=xe(t.getExtent(),this.getProjection());i=yo(s),i.rotate(this.getRotation(),Xe(s))}else i=t;this.fitInternal(i,e)}rotatedExtentForGeometry(t){const e=this.getRotation(),i=Math.cos(e),s=Math.sin(-e),r=t.getFlatCoordinates(),o=t.getStride();let a=1/0,l=1/0,c=-1/0,h=-1/0;for(let u=0,d=r.length;ui.trim().replace(/^['"]|['"]$/g,"")),e};function ot(n,t,e,i){let s;return e&&e.length?s=e.shift():sr?s=new OffscreenCanvas(n||300,t||300):s=document.createElement("canvas"),n&&(s.width=n),t&&(s.height=t),s.getContext("2d",i)}let Es;function Dn(){return Es||(Es=ot(1,1)),Es}function ts(n){const t=n.canvas;t.width=1,t.height=1,n.clearRect(0,0,1,1)}function Ro(n,t){const e=t.parentNode;e&&e.replaceChild(n,t)}function ac(n){for(;n.lastChild;)n.lastChild.remove()}function lc(n,t){const e=n.childNodes;for(let i=0;;++i){const s=e[i],r=t[i];if(!s&&!r)break;if(s!==r){if(!s){n.appendChild(r);continue}if(!r){n.removeChild(s),--i;continue}n.insertBefore(r,s)}}}class Lr extends $t{constructor(t){super();const e=t.element;e&&!t.target&&!e.style.pointerEvents&&(e.style.pointerEvents="auto"),this.element=e||null,this.target_=null,this.map_=null,this.listenerKeys=[],t.render&&(this.render=t.render),t.target&&this.setTarget(t.target)}disposeInternal(){this.element?.remove(),super.disposeInternal()}getMap(){return this.map_}setMap(t){this.map_&&this.element?.remove();for(let e=0,i=this.listenerKeys.length;es.getAttributions(t)));if(this.attributions_!==void 0&&(Array.isArray(this.attributions_)?this.attributions_.forEach(s=>i.add(s)):i.add(this.attributions_)),!this.overrideCollapsible_){const s=!e.some(r=>r.getSource()?.getAttributionsCollapsible()===!1);this.setCollapsible(s)}return Array.from(i)}async updateElement_(t){if(!t){this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1);return}const e=await Promise.all(this.collectSourceAttributions_(t).map(s=>Al(()=>s))),i=e.length>0;if(this.renderedVisible_!=i&&(this.element.style.display=i?"":"none",this.renderedVisible_=i),!Te(e,this.renderedAttributions_)){ac(this.ulElement_);for(let s=0,r=e.length;s0&&i%(2*Math.PI)!==0?e.animate({rotation:0,duration:this.duration_,easing:Ei}):e.setRotation(0))}render(t){const e=t.frameState;if(!e)return;const i=e.viewState.rotation;if(i!=this.rotation_){const s="rotate("+i+"rad)";if(this.autoHide_){const r=this.element.classList.contains(yn);!r&&i===0?this.element.classList.add(yn):r&&i!==0&&this.element.classList.remove(yn)}this.label_.style.transform=s}this.rotation_=i}}class uc extends Lr{constructor(t){t=t||{},super({element:document.createElement("div"),target:t.target});const e=t.className!==void 0?t.className:"ol-zoom",i=t.delta!==void 0?t.delta:1,s=t.zoomInClassName!==void 0?t.zoomInClassName:e+"-in",r=t.zoomOutClassName!==void 0?t.zoomOutClassName:e+"-out",o=t.zoomInLabel!==void 0?t.zoomInLabel:"+",a=t.zoomOutLabel!==void 0?t.zoomOutLabel:"–",l=t.zoomInTipLabel!==void 0?t.zoomInTipLabel:"Zoom in",c=t.zoomOutTipLabel!==void 0?t.zoomOutTipLabel:"Zoom out",h=document.createElement("button");h.className=s,h.setAttribute("type","button"),h.title=l,h.appendChild(typeof o=="string"?document.createTextNode(o):o),h.addEventListener(X.CLICK,this.handleClick_.bind(this,i),!1);const u=document.createElement("button");u.className=r,u.setAttribute("type","button"),u.title=c,u.appendChild(typeof a=="string"?document.createTextNode(a):a),u.addEventListener(X.CLICK,this.handleClick_.bind(this,-i),!1);const d=e+" "+Qn+" "+vr,f=this.element;f.className=d,f.appendChild(h),f.appendChild(u),this.duration_=t.duration!==void 0?t.duration:250}handleClick_(t,e){e.preventDefault(),this.zoomByDelta_(t)}zoomByDelta_(t){const i=this.getMap().getView();if(!i)return;const s=i.getZoom();if(s!==void 0){const r=i.getConstrainedZoom(s+t);this.duration_>0?(i.getAnimating()&&i.cancelAnimations(),i.animate({zoom:r,duration:this.duration_,easing:Ei})):i.setZoom(r)}}}function dc(n){n=n||{};const t=new Ht;return(n.zoom!==void 0?n.zoom:!0)&&t.push(new uc(n.zoomOptions)),(n.rotate!==void 0?n.rotate:!0)&&t.push(new cc(n.rotateOptions)),(n.attribution!==void 0?n.attribution:!0)&&t.push(new hc(n.attributionOptions)),t}class fc{constructor(t,e,i){this.decay_=t,this.minVelocity_=e,this.delay_=i,this.points_=[],this.angle_=0,this.initialVelocity_=0}begin(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0}update(t,e){this.points_.push(t,e,Date.now())}end(){if(this.points_.length<6)return!1;const t=Date.now()-this.delay_,e=this.points_.length-3;if(this.points_[e+2]0&&this.points_[i+2]>t;)i-=3;const s=this.points_[e+2]-this.points_[i+2];if(s<1e3/60)return!1;const r=this.points_[e]-this.points_[i],o=this.points_[e+1]-this.points_[i+1];return this.angle_=Math.atan2(o,r),this.initialVelocity_=Math.sqrt(r*r+o*o)/s,this.initialVelocity_>this.minVelocity_}getDistance(){return(this.minVelocity_-this.initialVelocity_)/this.decay_}getAngle(){return this.angle_}}const Io={ACTIVE:"active"};class rn extends $t{constructor(t){super(),this.on,this.once,this.un,t&&t.handleEvent&&(this.handleEvent=t.handleEvent),this.map_=null,this.setActive(!0)}getActive(){return this.get(Io.ACTIVE)}getMap(){return this.map_}handleEvent(t){return!0}setActive(t){this.set(Io.ACTIVE,t)}setMap(t){this.map_=t}}function gc(n,t,e){const i=n.getCenterInternal();if(i){const s=[i[0]+t[0],i[1]+t[1]];n.animateInternal({duration:e!==void 0?e:250,easing:$l,center:n.getConstrainedCenter(s)})}}function Ar(n,t,e,i){const s=n.getZoom();if(s===void 0)return;const r=n.getConstrainedZoom(s+t),o=n.getResolutionForZoom(r);n.getAnimating()&&n.cancelAnimations(),n.animate({resolution:o,anchor:e,duration:i!==void 0?i:250,easing:Ei})}class _c extends rn{constructor(t){super(),t=t||{},this.delta_=t.delta?t.delta:1,this.duration_=t.duration!==void 0?t.duration:250}handleEvent(t){let e=!1;if(t.type==nt.DBLCLICK){const i=t.originalEvent,s=t.map,r=t.coordinate,o=i.shiftKey?-this.delta_:this.delta_,a=s.getView();Ar(a,o,r,this.duration_),i.preventDefault(),e=!0}return!e}}function $s(n){const t=arguments;return function(e){let i=!0;for(let s=0,r=t.length;s0}}else if(t.type==nt.POINTERDOWN){const i=this.handleDownEvent(t);this.handlingDownUpSequence=i,e=this.stopDown(i)}else t.type==nt.POINTERMOVE&&this.handleMoveEvent(t);return!e}handleMoveEvent(t){}handleUpEvent(t){return!1}stopDown(t){return t}updateTrackedPointers_(t){t.activePointers&&(this.targetPointers=t.activePointers)}}function Mr(n){const t=n.length;let e=0,i=0;for(let s=0;s0&&this.condition_(t)){const i=t.map.getView();return this.lastCentroid=null,i.getAnimating()&&i.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1}}class Rc extends on{constructor(t){t=t||{},super({stopDown:Wn}),this.condition_=t.condition?t.condition:mc,this.lastAngle_=void 0,this.duration_=t.duration!==void 0?t.duration:250}handleDragEvent(t){if(!xs(t))return;const e=t.map,i=e.getView();if(i.getConstraints().rotation===Tr)return;const s=e.getSize(),r=t.pixel,o=Math.atan2(s[1]/2-r[1],r[0]-s[0]/2);if(this.lastAngle_!==void 0){const a=o-this.lastAngle_;i.adjustRotationInternal(-a)}this.lastAngle_=o}handleUpEvent(t){return xs(t)?(t.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(t){return xs(t)&&Da(t)&&this.condition_(t)?(t.map.getView().beginInteraction(),this.lastAngle_=void 0,!0):!1}}class Ic extends zn{constructor(t){super(),this.geometry_=null,this.element_=document.createElement("div"),this.element_.style.position="absolute",this.element_.style.pointerEvents="auto",this.element_.className="ol-box "+t,this.map_=null,this.startPixel_=null,this.endPixel_=null}disposeInternal(){this.setMap(null)}render_(){const t=this.startPixel_,e=this.endPixel_,i="px",s=this.element_.style;s.left=Math.min(t[0],e[0])+i,s.top=Math.min(t[1],e[1])+i,s.width=Math.abs(e[0]-t[0])+i,s.height=Math.abs(e[1]-t[1])+i}setMap(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);const e=this.element_.style;e.left="inherit",e.top="inherit",e.width="inherit",e.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)}setPixels(t,e){this.startPixel_=t,this.endPixel_=e,this.createOrUpdateGeometry(),this.render_()}createOrUpdateGeometry(){if(!this.map_)return;const t=this.startPixel_,e=this.endPixel_,s=[t,[t[0],e[1]],e,[e[0],t[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);s[4]=s[0].slice(),this.geometry_?this.geometry_.setCoordinates([s]):this.geometry_=new ji([s])}getGeometry(){return this.geometry_}}const He={BOXSTART:"boxstart",BOXDRAG:"boxdrag",BOXEND:"boxend",BOXCANCEL:"boxcancel"};class vi extends ce{constructor(t,e,i){super(t),this.coordinate=e,this.mapBrowserEvent=i}}class Tc extends on{constructor(t){super(),this.on,this.once,this.un,t=t??{},this.box_=new Ic(t.className||"ol-dragbox"),this.minArea_=t.minArea??64,t.onBoxEnd&&(this.onBoxEnd=t.onBoxEnd),this.startPixel_=null,this.condition_=t.condition??Da,this.boxEndCondition_=t.boxEndCondition??this.defaultBoxEndCondition}defaultBoxEndCondition(t,e,i){const s=i[0]-e[0],r=i[1]-e[1];return s*s+r*r>=this.minArea_}getGeometry(){return this.box_.getGeometry()}handleDragEvent(t){this.startPixel_&&(this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new vi(He.BOXDRAG,t.coordinate,t)))}handleUpEvent(t){if(!this.startPixel_)return!1;const e=this.boxEndCondition_(t,this.startPixel_,t.pixel);return e&&this.onBoxEnd(t),this.dispatchEvent(new vi(e?He.BOXEND:He.BOXCANCEL,t.coordinate,t)),this.box_.setMap(null),this.startPixel_=null,!1}handleDownEvent(t){return this.condition_(t)?(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new vi(He.BOXSTART,t.coordinate,t)),!0):!1}onBoxEnd(t){}setActive(t){t||(this.box_.setMap(null),this.startPixel_&&(this.dispatchEvent(new vi(He.BOXCANCEL,this.startPixel_,null)),this.startPixel_=null)),super.setActive(t)}setMap(t){this.getMap()&&(this.box_.setMap(null),this.startPixel_&&(this.dispatchEvent(new vi(He.BOXCANCEL,this.startPixel_,null)),this.startPixel_=null)),super.setMap(t)}}class Sc extends Tc{constructor(t){t=t||{};const e=t.condition?t.condition:xc;super({condition:e,className:t.className||"ol-dragzoom",minArea:t.minArea}),this.duration_=t.duration!==void 0?t.duration:200,this.out_=t.out!==void 0?t.out:!1}onBoxEnd(t){const i=this.getMap().getView();let s=this.getGeometry();if(this.out_){const r=i.rotatedExtentForGeometry(s),o=i.getResolutionForExtentInternal(r),a=i.getResolution()/o;s=s.clone(),s.scale(a*a)}i.fitInternal(s,{duration:this.duration_,easing:Ei})}}const Me={LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",DOWN:"ArrowDown"};class vc extends rn{constructor(t){super(),t=t||{},this.defaultCondition_=function(e){return Pa(e)&&Oa(e)},this.condition_=t.condition!==void 0?t.condition:this.defaultCondition_,this.duration_=t.duration!==void 0?t.duration:100,this.pixelDelta_=t.pixelDelta!==void 0?t.pixelDelta:128}handleEvent(t){let e=!1;if(t.type==X.KEYDOWN){const i=t.originalEvent,s=i.key;if(this.condition_(t)&&(s==Me.DOWN||s==Me.LEFT||s==Me.RIGHT||s==Me.UP)){const o=t.map.getView(),a=o.getResolution()*this.pixelDelta_;let l=0,c=0;s==Me.DOWN?c=-a:s==Me.LEFT?l=-a:s==Me.RIGHT?l=a:c=a;const h=[l,c];lr(h,o.getRotation()),gc(o,h,this.duration_),i.preventDefault(),e=!0}}return!e}}class Lc extends rn{constructor(t){super(),t=t||{},this.condition_=t.condition?t.condition:function(e){return!Ec(e)&&Oa(e)},this.delta_=t.delta?t.delta:1,this.duration_=t.duration!==void 0?t.duration:100}handleEvent(t){let e=!1;if(t.type==X.KEYDOWN||t.type==X.KEYPRESS){const i=t.originalEvent,s=i.key;if(this.condition_(t)&&(s==="+"||s==="-")){const r=t.map,o=s==="+"?this.delta_:-this.delta_,a=r.getView();Ar(a,o,void 0,this.duration_),i.preventDefault(),e=!0}}return!e}}const Ac=40,Mc=300;class bc extends rn{constructor(t){t=t||{},super(t),this.totalDelta_=0,this.lastDelta_=0,this.maxDelta_=t.maxDelta!==void 0?t.maxDelta:1,this.duration_=t.duration!==void 0?t.duration:250,this.timeout_=t.timeout!==void 0?t.timeout:80,this.useAnchor_=t.useAnchor!==void 0?t.useAnchor:!0,this.constrainResolution_=t.constrainResolution!==void 0?t.constrainResolution:!1;const e=t.condition?t.condition:yc;this.condition_=t.onFocusOnly?$s(ba,e):e,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_,this.mode_=void 0,this.trackpadEventGap_=400,this.trackpadTimeoutId_,this.deltaPerZoom_=300}endInteraction_(){this.trackpadTimeoutId_=void 0;const t=this.getMap();if(!t)return;t.getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_?t.getCoordinateFromPixel(this.lastAnchor_):null)}handleEvent(t){if(!this.condition_(t)||t.type!==X.WHEEL)return!0;const i=t.map,s=t.originalEvent;s.preventDefault(),this.useAnchor_&&(this.lastAnchor_=t.pixel);let r=s.deltaY;switch(s.deltaMode){case WheelEvent.DOM_DELTA_LINE:r*=Ac;break;case WheelEvent.DOM_DELTA_PAGE:r*=Mc;break}if(r===0)return!1;this.lastDelta_=r;const o=Date.now();this.startTime_===void 0&&(this.startTime_=o),(!this.mode_||o-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(r)<4?"trackpad":"wheel");const a=i.getView();if(this.mode_==="trackpad"&&!(a.getConstrainResolution()||this.constrainResolution_))return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(a.getAnimating()&&a.cancelAnimations(),a.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),a.adjustZoom(-r/this.deltaPerZoom_,this.lastAnchor_?i.getCoordinateFromPixel(this.lastAnchor_):null),this.startTime_=o,!1;this.totalDelta_+=r;const l=Math.max(this.timeout_-(o-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,i),l),!1}handleWheelZoom_(t){const e=t.getView();e.getAnimating()&&e.cancelAnimations();let i=-et(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(e.getConstrainResolution()||this.constrainResolution_)&&(i=i?i>0?1:-1:0),Ar(e,i,this.lastAnchor_?t.getCoordinateFromPixel(this.lastAnchor_):null,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0}setMouseAnchor(t){this.useAnchor_=t,t||(this.lastAnchor_=null)}}class Dc extends on{constructor(t){t=t||{};const e=t;e.stopDown||(e.stopDown=Wn),super(e),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=t.threshold!==void 0?t.threshold:.3,this.duration_=t.duration!==void 0?t.duration:250}handleDragEvent(t){let e=0;const i=this.targetPointers[0],s=this.targetPointers[1],r=Math.atan2(s.clientY-i.clientY,s.clientX-i.clientX);if(this.lastAngle_!==void 0){const l=r-this.lastAngle_;this.rotationDelta_+=l,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=l}this.lastAngle_=r;const o=t.map,a=o.getView();a.getConstraints().rotation!==Tr&&(this.anchor_=o.getCoordinateFromPixelInternal(o.getEventPixel(Mr(this.targetPointers))),this.rotating_&&(o.render(),a.adjustRotationInternal(e,this.anchor_)))}handleUpEvent(t){return this.targetPointers.length<2?(t.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}}class Pc extends on{constructor(t){t=t||{};const e=t;e.stopDown||(e.stopDown=Wn),super(e),this.anchor_=null,this.duration_=t.duration!==void 0?t.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}handleDragEvent(t){let e=1;const i=this.targetPointers[0],s=this.targetPointers[1],r=i.clientX-s.clientX,o=i.clientY-s.clientY,a=Math.sqrt(r*r+o*o);this.lastDistance_!==void 0&&(e=this.lastDistance_/a),this.lastDistance_=a;const l=t.map,c=l.getView();e!=1&&(this.lastScaleDelta_=e),this.anchor_=l.getCoordinateFromPixelInternal(l.getEventPixel(Mr(this.targetPointers))),l.render(),c.adjustResolutionInternal(e,this.anchor_)}handleUpEvent(t){if(this.targetPointers.length<2){const i=t.map.getView(),s=this.lastScaleDelta_>1?1:-1;return i.endInteraction(this.duration_,s),!1}return!0}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}}function Oc(n){n=n||{};const t=new Ht,e=new fc(-.005,.05,100);return(n.altShiftDragRotate!==void 0?n.altShiftDragRotate:!0)&&t.push(new Rc),(n.doubleClickZoom!==void 0?n.doubleClickZoom:!0)&&t.push(new _c({delta:n.zoomDelta,duration:n.zoomDuration})),(n.dragPan!==void 0?n.dragPan:!0)&&t.push(new wc({onFocusOnly:n.onFocusOnly,kinetic:e})),(n.pinchRotate!==void 0?n.pinchRotate:!0)&&t.push(new Dc),(n.pinchZoom!==void 0?n.pinchZoom:!0)&&t.push(new Pc({duration:n.zoomDuration})),(n.keyboard!==void 0?n.keyboard:!0)&&(t.push(new vc),t.push(new Lc({delta:n.zoomDelta,duration:n.zoomDuration}))),(n.mouseWheelZoom!==void 0?n.mouseWheelZoom:!0)&&t.push(new bc({onFocusOnly:n.onFocusOnly,duration:n.zoomDuration})),(n.shiftDragZoom!==void 0?n.shiftDragZoom:!0)&&t.push(new Sc({duration:n.zoomDuration})),t}const $={OPACITY:"opacity",VISIBLE:"visible",EXTENT:"extent",Z_INDEX:"zIndex",MAX_RESOLUTION:"maxResolution",MIN_RESOLUTION:"minResolution",MAX_ZOOM:"maxZoom",MIN_ZOOM:"minZoom",SOURCE:"source",MAP:"map"};class Fa extends $t{constructor(t){super(),this.on,this.once,this.un,this.background_=t.background;const e=Object.assign({},t);typeof t.properties=="object"&&(delete e.properties,Object.assign(e,t.properties)),e[$.OPACITY]=t.opacity!==void 0?t.opacity:1,q(typeof e[$.OPACITY]=="number","Layer opacity must be a number"),e[$.VISIBLE]=t.visible!==void 0?t.visible:!0,e[$.Z_INDEX]=t.zIndex,e[$.MAX_RESOLUTION]=t.maxResolution!==void 0?t.maxResolution:1/0,e[$.MIN_RESOLUTION]=t.minResolution!==void 0?t.minResolution:0,e[$.MIN_ZOOM]=t.minZoom!==void 0?t.minZoom:-1/0,e[$.MAX_ZOOM]=t.maxZoom!==void 0?t.maxZoom:1/0,this.className_=e.className!==void 0?e.className:"ol-layer",delete e.className,this.setProperties(e),this.state_=null}getBackground(){return this.background_}getClassName(){return this.className_}getLayerState(t){const e=this.state_||{layer:this,managed:t===void 0?!0:t},i=this.getZIndex();return e.opacity=et(Math.round(this.getOpacity()*100)/100,0,1),e.visible=this.getVisible(),e.extent=this.getExtent(),e.zIndex=i===void 0&&!e.managed?1/0:i,e.maxResolution=this.getMaxResolution(),e.minResolution=Math.max(this.getMinResolution(),0),e.minZoom=this.getMinZoom(),e.maxZoom=this.getMaxZoom(),this.state_=e,e}getLayersArray(t){return U()}getLayerStatesArray(t){return U()}getExtent(){return this.get($.EXTENT)}getMaxResolution(){return this.get($.MAX_RESOLUTION)}getMinResolution(){return this.get($.MIN_RESOLUTION)}getMinZoom(){return this.get($.MIN_ZOOM)}getMaxZoom(){return this.get($.MAX_ZOOM)}getOpacity(){return this.get($.OPACITY)}getSourceState(){return U()}getVisible(){return this.get($.VISIBLE)}getZIndex(){return this.get($.Z_INDEX)}setBackground(t){this.background_=t,this.changed()}setExtent(t){this.set($.EXTENT,t)}setMaxResolution(t){this.set($.MAX_RESOLUTION,t)}setMinResolution(t){this.set($.MIN_RESOLUTION,t)}setMaxZoom(t){this.set($.MAX_ZOOM,t)}setMinZoom(t){this.set($.MIN_ZOOM,t)}setOpacity(t){q(typeof t=="number","Layer opacity must be a number"),this.set($.OPACITY,t)}setVisible(t){this.set($.VISIBLE,t)}setZIndex(t){this.set($.Z_INDEX,t)}disposeInternal(){this.state_&&(this.state_.layer=null,this.state_=null),super.disposeInternal()}}class Ee extends ce{constructor(t,e){super(t),this.layer=e}}const Cs={LAYERS:"layers"};class xi extends Fa{constructor(t){t=t||{};const e=Object.assign({},t);delete e.layers;let i=t.layers;super(e),this.on,this.once,this.un,this.layersListenerKeys_=[],this.listenerKeys_={},this.addChangeListener(Cs.LAYERS,this.handleLayersChanged_),i?Array.isArray(i)?i=new Ht(i.slice(),{unique:!0}):q(typeof i.getArray=="function","Expected `layers` to be an array or a `Collection`"):i=new Ht(void 0,{unique:!0}),this.setLayers(i)}handleLayerChange_(){this.changed()}handleLayersChanged_(){this.layersListenerKeys_.forEach(tt),this.layersListenerKeys_.length=0;const t=this.getLayers();this.layersListenerKeys_.push(V(t,Et.ADD,this.handleLayersAdd_,this),V(t,Et.REMOVE,this.handleLayersRemove_,this));for(const i in this.listenerKeys_)this.listenerKeys_[i].forEach(tt);en(this.listenerKeys_);const e=t.getArray();for(let i=0,s=e.length;i{this.dispatchEvent("sourceready")},0))),this.changed()}getFeatures(t){return this.renderer_?this.renderer_.getFeatures(t):Promise.resolve([])}getData(t){return!this.renderer_||!this.rendered?null:this.renderer_.getData(t)}isVisible(t){let e;const i=this.getMapInternal();!t&&i&&(t=i.getView()),t instanceof Vt?e={viewState:t.getState(),extent:t.calculateExtent()}:e=t,!e.layerStatesArray&&i&&(e.layerStatesArray=i.getLayerGroup().getLayerStatesArray());let s;if(e.layerStatesArray){if(s=e.layerStatesArray.find(o=>o.layer===this),!s)return!1}else s=this.getLayerState();const r=this.getExtent();return br(s,e.viewState)&&(!r||wt(r,e.extent))}getAttributions(t){if(!this.isVisible(t))return[];const e=this.getSource()?.getAttributions();if(!e)return[];const i=t instanceof Vt?t.getViewStateAndExtent():t;let s=e(i);return Array.isArray(s)||(s=[s]),s}render(t,e){const i=this.getRenderer();return i.prepareFrame(t)?(this.rendered=!0,i.renderFrame(t,e)):null}unrender(){this.rendered=!1}getDeclutter(){}renderDeclutter(t,e){}renderDeferred(t){const e=this.getRenderer();e&&e.renderDeferred(t)}setMapInternal(t){t||this.unrender(),this.set($.MAP,t)}getMapInternal(){return this.get($.MAP)}setMap(t){this.mapPrecomposeKey_&&(tt(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(tt(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=V(t,Ot.PRECOMPOSE,this.handlePrecompose_,this),this.mapRenderKey_=V(this,X.CHANGE,t.render,t),this.changed())}handlePrecompose_(t){const e=t.frameState.layerStatesArray,i=this.getLayerState(!1);q(!e.some(s=>s.layer===i.layer),"A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both."),e.push(i)}setSource(t){this.set($.SOURCE,t)}getRenderer(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_}hasRenderer(){return!!this.renderer_}createRenderer(){return null}clearRenderer(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_)}disposeInternal(){this.clearRenderer(),this.setSource(null),super.disposeInternal()}}function br(n,t){if(!n.visible)return!1;const e=t.resolution;if(e=n.maxResolution)return!1;const i=t.zoom;return i>n.minZoom&&i<=n.maxZoom}function ka(n,t,e=0,i=n.length-1,s=Fc){for(;i>e;){if(i-e>600){const l=i-e+1,c=t-e+1,h=Math.log(l),u=.5*Math.exp(2*h/3),d=.5*Math.sqrt(h*u*(l-u)/l)*(c-l/2<0?-1:1),f=Math.max(e,Math.floor(t-c*u/l+d)),g=Math.min(i,Math.floor(t+(l-c)*u/l+d));ka(n,t,f,g,s)}const r=n[t];let o=e,a=i;for(Li(n,e,t),s(n[i],r)>0&&Li(n,e,i);o0;)a--}s(n[e],r)===0?Li(n,e,a):(a++,Li(n,a,i)),a<=t&&(e=a+1),t<=a&&(i=a-1)}}function Li(n,t,e){const i=n[t];n[t]=n[e],n[e]=i}function Fc(n,t){return nt?1:0}let Na=class{constructor(t=9){this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(this._maxEntries*.4)),this.clear()}all(){return this._all(this.data,[])}search(t){let e=this.data;const i=[];if(!xn(t,e))return i;const s=this.toBBox,r=[];for(;e;){for(let o=0;o=0&&r[e].children.length>this._maxEntries;)this._split(r,e),e--;this._adjustParentBBoxes(s,r,e)}_split(t,e){const i=t[e],s=i.children.length,r=this._minEntries;this._chooseSplitAxis(i,r,s);const o=this._chooseSplitIndex(i,r,s),a=ii(i.children.splice(o,i.children.length-o));a.height=i.height,a.leaf=i.leaf,qe(i,this.toBBox),qe(a,this.toBBox),e?t[e-1].children.push(a):this._splitRoot(i,a)}_splitRoot(t,e){this.data=ii([t,e]),this.data.height=t.height+1,this.data.leaf=!1,qe(this.data,this.toBBox)}_chooseSplitIndex(t,e,i){let s,r=1/0,o=1/0;for(let a=e;a<=i-e;a++){const l=Pi(t,0,a,this.toBBox),c=Pi(t,a,i,this.toBBox),h=Xc(l,c),u=ws(l)+ws(c);h=e;c--){const h=t.children[c];Oi(a,t.leaf?r(h):h),l+=En(a)}return l}_adjustParentBBoxes(t,e,i){for(let s=i;s>=0;s--)Oi(e[s],t)}_condense(t){for(let e=t.length-1,i;e>=0;e--)t[e].children.length===0?e>0?(i=t[e-1].children,i.splice(i.indexOf(t[e]),1)):this.clear():qe(t[e],this.toBBox)}};function kc(n,t,e){if(!e)return t.indexOf(n);for(let i=0;i=n.minX&&t.maxY>=n.minY}function ii(n){return{children:n,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function To(n,t,e,i,s){const r=[t,e];for(;r.length;){if(e=r.pop(),t=r.pop(),e-t<=i)continue;const o=t+Math.ceil((e-t)/i/2)*i;ka(n,o,t,e,s),r.push(t,o,o,e)}}const Dr=[NaN,NaN,NaN,0];let Is;function Wc(){return Is||(Is=ot(1,1,void 0,{willReadFrequently:!0,desynchronized:!0})),Is}const Yc=/^rgba?\(\s*(\d+%?)\s+(\d+%?)\s+(\d+%?)(?:\s*\/\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i,Kc=/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)(?:\s*,\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i,Bc=/^rgba?\(\s*(\d+%)\s*,\s*(\d+%)\s*,\s*(\d+%)(?:\s*,\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i,Zc=/^#([\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i;function Cn(n,t){return n.endsWith("%")?Number(n.substring(0,n.length-1))/t:Number(n)}function Xi(n){throw new Error('failed to parse "'+n+'" as color')}function Ga(n){if(n.toLowerCase().startsWith("rgb")){const r=n.match(Kc)||n.match(Yc)||n.match(Bc);if(r){const o=r[4],a=100/255;return[et(Cn(r[1],a)+.5|0,0,255),et(Cn(r[2],a)+.5|0,0,255),et(Cn(r[3],a)+.5|0,0,255),o!==void 0?et(Cn(o,100),0,1):1]}Xi(n)}if(n.startsWith("#")){if(Zc.test(n)){const r=n.substring(1),o=r.length<=4?1:2,a=[0,0,0,255];for(let l=0,c=r.length;l.0031308?Math.pow(n,1/2.4)*269.025-14.025:n*3294.6}function vs(n){return n>.2068965?Math.pow(n,3):(n-4/29)*(108/841)}function Ls(n){return n>10.314724?Math.pow((n+14.025)/269.025,2.4):n/3294.6}function As(n){return n>.0088564?Math.pow(n,1/3):n/(108/841)+4/29}function So(n){const t=Ls(n[0]),e=Ls(n[1]),i=Ls(n[2]),s=As(t*.222488403+e*.716873169+i*.06060791),r=500*(As(t*.452247074+e*.399439023+i*.148375274)-s),o=200*(s-As(t*.016863605+e*.117638439+i*.865350722)),a=Math.atan2(o,r)*(180/Math.PI);return[116*s-16,Math.sqrt(r*r+o*o),a<0?a+360:a,n[3]]}function Hc(n){const t=(n[0]+16)/116,e=n[1],i=n[2]*Math.PI/180,s=vs(t),r=vs(t+e/500*Math.cos(i)),o=vs(t-e/200*Math.sin(i)),a=Ss(r*3.021973625-s*1.617392459-o*.404875592),l=Ss(r*-.943766287+s*1.916279586+o*.027607165),c=Ss(r*.069407491-s*.22898585+o*1.159737864);return[et(a+.5|0,0,255),et(l+.5|0,0,255),et(c+.5|0,0,255),n[3]]}function Pr(n){if(n==="none")return Dr;if(Ai.hasOwnProperty(n))return Ai[n];if(Ts>=Vc){let e=0;for(const i in Ai)(e++&3)===0&&(delete Ai[i],--Ts)}const t=Ga(n);t.length!==4&&Xi(n);for(const e of t)isNaN(e)&&Xi(n);return Ai[n]=t,++Ts,t}function _i(n){return Array.isArray(n)?n:Pr(n)}function Or(n){let t=n[0];t!=(t|0)&&(t=t+.5|0);let e=n[1];e!=(e|0)&&(e=e+.5|0);let i=n[2];i!=(i|0)&&(i=i+.5|0);const s=n[3]===void 0?1:Math.round(n[3]*1e3)/1e3;return"rgba("+t+","+e+","+i+","+s+")"}function vo(n){return n[0]>0&&n[1]>0}function qc(n,t,e){return e===void 0&&(e=[0,0]),e[0]=n[0]*t+.5|0,e[1]=n[1]*t+.5|0,e}function It(n,t){return Array.isArray(n)?n:(t===void 0?t=[n,n]:(t[0]=n,t[1]=n),t)}let Ke=0;const pt=1<",GreaterThanOrEqualTo:">=",LessThan:"<",LessThanOrEqualTo:"<=",Multiply:"*",Divide:"/",Add:"+",Subtract:"-",Clamp:"clamp",Mod:"%",Pow:"^",Abs:"abs",Floor:"floor",Ceil:"ceil",Round:"round",Sin:"sin",Cos:"cos",Atan:"atan",Sqrt:"sqrt",Match:"match",Between:"between",Interpolate:"interpolate",Coalesce:"coalesce",Case:"case",In:"in",Number:"number",String:"string",Array:"array",Color:"color",Id:"id",Band:"band",Palette:"palette",ToString:"to-string",Has:"has"},tu={[w.Get]:N(z(1,1/0),Lo),[w.Var]:N(z(1,1),eu),[w.Has]:N(z(1,1/0),Lo),[w.Id]:N(iu,$e),[w.Concat]:N(z(2,1/0),H(xt)),[w.GeometryType]:N(nu,$e),[w.LineMetric]:N($e),[w.Resolution]:N(Ms,$e),[w.Zoom]:N(Ms,$e),[w.Time]:N(Ms,$e),[w.Any]:N(z(2,1/0),H(pt)),[w.All]:N(z(2,1/0),H(pt)),[w.Not]:N(z(1,1),H(pt)),[w.Equal]:N(z(2,2),H(wn)),[w.NotEqual]:N(z(2,2),H(wn)),[w.GreaterThan]:N(z(2,2),H(Z)),[w.GreaterThanOrEqualTo]:N(z(2,2),H(Z)),[w.LessThan]:N(z(2,2),H(Z)),[w.LessThanOrEqualTo]:N(z(2,2),H(Z)),[w.Multiply]:N(z(2,1/0),Ao),[w.Coalesce]:N(z(2,1/0),Ao),[w.Divide]:N(z(2,2),H(Z)),[w.Add]:N(z(2,1/0),H(Z)),[w.Subtract]:N(z(2,2),H(Z)),[w.Clamp]:N(z(3,3),H(Z)),[w.Mod]:N(z(2,2),H(Z)),[w.Pow]:N(z(2,2),H(Z)),[w.Abs]:N(z(1,1),H(Z)),[w.Floor]:N(z(1,1),H(Z)),[w.Ceil]:N(z(1,1),H(Z)),[w.Round]:N(z(1,1),H(Z)),[w.Sin]:N(z(1,1),H(Z)),[w.Cos]:N(z(1,1),H(Z)),[w.Atan]:N(z(1,2),H(Z)),[w.Sqrt]:N(z(1,1),H(Z)),[w.Match]:N(z(4,1/0),Mo,ru),[w.Between]:N(z(3,3),H(Z)),[w.Interpolate]:N(z(6,1/0),Mo,ou),[w.Case]:N(z(3,1/0),su,au),[w.In]:N(z(2,2),lu),[w.Number]:N(z(1,1/0),H(wn)),[w.String]:N(z(1,1/0),H(wn)),[w.Array]:N(z(1,1/0),H(Z)),[w.Color]:N(z(1,4),H(Z)),[w.Band]:N(z(1,3),H(Z)),[w.Palette]:N(z(2,2),hu),[w.ToString]:N(z(1,1),H(pt|Z|xt|Wt))};function Lo(n,t,e){const i=n.length-1,s=new Array(i);for(let r=0;rt){const a=t===1/0?`${n} or more`:`${n} to ${t}`;throw new Error(`expected ${a} arguments for ${r}, got ${o}`)}}}function Ao(n,t,e){const i=n.length-1,s=new Array(i);for(let r=0;ri.featureId;case w.GeometryType:return i=>i.geometryType;case w.Concat:{const i=n.args.map(s=>Kt(s));return s=>"".concat(...i.map(r=>r(s).toString()))}case w.Resolution:return i=>i.resolution;case w.Any:case w.All:case w.Between:case w.In:case w.Not:return gu(n);case w.Equal:case w.NotEqual:case w.LessThan:case w.LessThanOrEqualTo:case w.GreaterThan:case w.GreaterThanOrEqualTo:return fu(n);case w.Multiply:case w.Divide:case w.Add:case w.Subtract:case w.Clamp:case w.Mod:case w.Pow:case w.Abs:case w.Floor:case w.Ceil:case w.Round:case w.Sin:case w.Cos:case w.Atan:case w.Sqrt:return _u(n);case w.Case:return mu(n);case w.Match:return pu(n);case w.Interpolate:return yu(n);case w.ToString:return Eu(n);default:throw new Error(`Unsupported operator ${e}`)}}function uu(n,t){const e=n.operator,i=n.args.length,s=new Array(i);for(let r=0;r{for(let o=0;o{for(let o=0;o{const r=n.args;let o=s.properties[i];for(let a=1,l=r.length;as.variables[i];case w.Has:return s=>{const r=n.args;if(!(i in s.properties))return!1;let o=s.properties[i];for(let a=1,l=r.length;ai(r)===s(r);case w.NotEqual:return r=>i(r)!==s(r);case w.LessThan:return r=>i(r)i(r)<=s(r);case w.GreaterThan:return r=>i(r)>s(r);case w.GreaterThanOrEqualTo:return r=>i(r)>=s(r);default:throw new Error(`Unsupported comparison operator ${e}`)}}function gu(n,t){const e=n.operator,i=n.args.length,s=new Array(i);for(let r=0;r{for(let o=0;o{for(let o=0;o{const o=s[0](r),a=s[1](r),l=s[2](r);return o>=a&&o<=l};case w.In:return r=>{const o=s[0](r);for(let a=1;a!s[0](r);default:throw new Error(`Unsupported logical operator ${e}`)}}function _u(n,t){const e=n.operator,i=n.args.length,s=new Array(i);for(let r=0;r{let o=1;for(let a=0;as[0](r)/s[1](r);case w.Add:return r=>{let o=0;for(let a=0;as[0](r)-s[1](r);case w.Clamp:return r=>{const o=s[0](r),a=s[1](r);if(ol?l:o};case w.Mod:return r=>s[0](r)%s[1](r);case w.Pow:return r=>Math.pow(s[0](r),s[1](r));case w.Abs:return r=>Math.abs(s[0](r));case w.Floor:return r=>Math.floor(s[0](r));case w.Ceil:return r=>Math.ceil(s[0](r));case w.Round:return r=>Math.round(s[0](r));case w.Sin:return r=>Math.sin(s[0](r));case w.Cos:return r=>Math.cos(s[0](r));case w.Atan:return i===2?r=>Math.atan2(s[0](r),s[1](r)):r=>Math.atan(s[0](r));case w.Sqrt:return r=>Math.sqrt(s[0](r));default:throw new Error(`Unsupported numeric operator ${e}`)}}function mu(n,t){const e=n.args.length,i=new Array(e);for(let s=0;s{for(let r=0;r{const r=i[0](s);for(let o=1;o{const r=i[0](s),o=i[1](s);let a,l;for(let c=2;c=o)return c===2?u:d?xu(r,o,a,l,h,u):Gi(r,o,a,l,h,u);a=h,l=u}return l}}function Eu(n,t){const e=n.operator,i=n.args.length,s=new Array(i);for(let r=0;r{const o=s[0](r);return n.args[0].type===Wt?Or(o):o.toString()};default:throw new Error(`Unsupported convert operator ${e}`)}}function Gi(n,t,e,i,s,r){const o=s-e;if(o===0)return i;const a=t-e,l=n===1?a/o:(Math.pow(n,a)-1)/(Math.pow(n,o)-1);return i+l*(r-i)}function xu(n,t,e,i,s,r){if(s-e===0)return i;const a=So(i),l=So(r);let c=l[2]-a[2];c>180?c-=360:c<-180&&(c+=360);const h=[Gi(n,t,e,a[0],s,l[0]),Gi(n,t,e,a[1],s,l[1]),a[2]+Gi(n,t,e,0,s,c),Gi(n,t,e,i[3],s,r[3])];return Hc(h)}const W={IDLE:0,LOADING:1,LOADED:2,ERROR:3};function Cu(n,t,e){const i=n;let s=!0,r=!1,o=!1;const a=[Tn(i,X.LOAD,function(){o=!0,r||t()})];return i.src&&sa?(r=!0,i.decode().then(function(){s&&t()}).catch(function(l){s&&(o?t():e())})):a.push(Tn(i,X.ERROR,e)),function(){s=!1,a.forEach(tt)}}function wu(n,t){return new Promise((e,i)=>{function s(){o(),e(n)}function r(){o(),i(new Error("Image load error"))}function o(){n.removeEventListener("load",s),n.removeEventListener("error",r)}n.addEventListener("load",s),n.addEventListener("error",r)})}function Ru(n,t){return t&&(n.src=t),n.src&&sa?new Promise((e,i)=>n.decode().then(()=>e(n)).catch(s=>n.complete&&n.width?e(n):i(s))):wu(n)}class Iu{constructor(){this.cache_={},this.patternCache_={},this.cacheSize_=0,this.maxCacheSize_=1024}clear(){this.cache_={},this.patternCache_={},this.cacheSize_=0}canExpireCache(){return this.cacheSize_>this.maxCacheSize_}expire(){if(this.canExpireCache()){let t=0;for(const e in this.cache_){const i=this.cache_[e];(t++&3)===0&&!i.hasListener()&&(delete this.cache_[e],delete this.patternCache_[e],--this.cacheSize_)}}}get(t,e,i){const s=bs(t,e,i);return s in this.cache_?this.cache_[s]:null}getPattern(t,e,i){const s=bs(t,e,i);return s in this.patternCache_?this.patternCache_[s]:null}set(t,e,i,s,r){const o=bs(t,e,i),a=o in this.cache_;this.cache_[o]=s,r&&(s.getImageState()===W.IDLE&&s.load(),s.getImageState()===W.LOADING?s.ready().then(()=>{this.patternCache_[o]=Dn().createPattern(s.getImage(1),"repeat")}):this.patternCache_[o]=Dn().createPattern(s.getImage(1),"repeat")),a||++this.cacheSize_}setSize(t){this.maxCacheSize_=t,this.expire()}}function bs(n,t,e){const i=e?_i(e):"null";return t+":"+n+":"+i}const Ft=new Iu;let Mi=null;class Ya extends Yn{constructor(t,e,i,s,r){super(),this.hitDetectionImage_=null,this.image_=t,this.crossOrigin_=i,this.canvas_={},this.color_=r,this.imageState_=s===void 0?W.IDLE:s,this.size_=t&&t.width&&t.height?[t.width,t.height]:null,this.src_=e,this.tainted_,this.ready_=null}initializeImage_(){this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)}isTainted_(){if(this.tainted_===void 0&&this.imageState_===W.LOADED){Mi||(Mi=ot(1,1,void 0,{willReadFrequently:!0})),Mi.drawImage(this.image_,0,0);try{Mi.getImageData(0,0,1,1),this.tainted_=!1}catch{Mi=null,this.tainted_=!0}}return this.tainted_===!0}dispatchChangeEvent_(){this.dispatchEvent(X.CHANGE)}handleImageError_(){this.imageState_=W.ERROR,this.dispatchChangeEvent_()}handleImageLoad_(){this.imageState_=W.LOADED,this.size_=[this.image_.width,this.image_.height],this.dispatchChangeEvent_()}getImage(t){return this.image_||this.initializeImage_(),this.replaceColor_(t),this.canvas_[t]?this.canvas_[t]:this.image_}getPixelRatio(t){return this.replaceColor_(t),this.canvas_[t]?t:1}getImageState(){return this.imageState_}getHitDetectionImage(){if(this.image_||this.initializeImage_(),!this.hitDetectionImage_)if(this.isTainted_()){const t=this.size_[0],e=this.size_[1],i=ot(t,e);i.fillRect(0,0,t,e),this.hitDetectionImage_=i.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_}getSize(){return this.size_}getSrc(){return this.src_}load(){if(this.imageState_===W.IDLE){this.image_||this.initializeImage_(),this.imageState_=W.LOADING;try{this.src_!==void 0&&(this.image_.src=this.src_)}catch{this.handleImageError_()}this.image_ instanceof HTMLImageElement&&Ru(this.image_,this.src_).then(t=>{this.image_=t,this.handleImageLoad_()}).catch(this.handleImageError_.bind(this))}}replaceColor_(t){if(!this.color_||this.canvas_[t]||this.imageState_!==W.LOADED)return;const e=this.image_,i=ot(Math.ceil(e.width*t),Math.ceil(e.height*t)),s=i.canvas;i.scale(t,t),i.drawImage(e,0,0),i.globalCompositeOperation="multiply",i.fillStyle=Uc(this.color_),i.fillRect(0,0,s.width/t,s.height/t),i.globalCompositeOperation="destination-in",i.drawImage(e,0,0),this.canvas_[t]=s}ready(){return this.ready_||(this.ready_=new Promise(t=>{if(this.imageState_===W.LOADED||this.imageState_===W.ERROR)t();else{const e=()=>{(this.imageState_===W.LOADED||this.imageState_===W.ERROR)&&(this.removeEventListener(X.CHANGE,e),t())};this.addEventListener(X.CHANGE,e)}})),this.ready_}}function kr(n,t,e,i,s,r){let o=t===void 0?void 0:Ft.get(t,e,s);return o||(o=new Ya(n,n&&"src"in n?n.src||void 0:t,e,i,s),Ft.set(t,e,s,o,r)),r&&o&&!Ft.getPattern(t,e,s)&&Ft.set(t,e,s,o,r),o}function qt(n){return n?Array.isArray(n)?Or(n):typeof n=="object"&&"src"in n?Tu(n):n:null}function Tu(n){if(!n.offset||!n.size)return Ft.getPattern(n.src,"anonymous",n.color);const t=n.src+":"+n.offset,e=Ft.getPattern(t,void 0,n.color);if(e)return e;const i=Ft.get(n.src,"anonymous",null);if(i.getImageState()!==W.LOADED)return null;const s=ot(n.size[0],n.size[1]);return s.drawImage(i.getImage(1),n.offset[0],n.offset[1],n.size[0],n.size[1],0,0,n.size[0],n.size[1]),kr(s.canvas,t,void 0,W.LOADED,n.color,!0),Ft.getPattern(t,void 0,n.color)}const Ka="10px sans-serif",Ct="#000",mi="round",oe=[],ae=0,pi="round",Hi=10,qi="#000",$i="center",Pn="middle",ke=[0,0,0,0],Ji=1,ni=new $t;let bi=null,bo;const Js={},Su=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","emoji","math","fangsong"]);function vu(n,t,e){return`${n} ${t} 16px "${e}"`}const Lu=function(){let t,e;async function i(r){await e.ready;const o=await e.load(r);if(o.length===0)return!1;const a=qs(r),l=a.families[0].toLowerCase(),c=a.weight;return o.some(h=>{const u=h.family.replace(/^['"]|['"]$/g,"").toLowerCase(),d=Hs[h.weight]||h.weight;return u===l&&h.style===a.style&&d==c})}async function s(){await e.ready;let r=!0;const o=ni.getProperties(),a=Object.keys(o).filter(l=>o[l]<100);for(let l=a.length-1;l>=0;--l){const c=a[l];let h=o[c];h<100&&(await i(c)?(en(Js),ni.set(c,100)):(h+=10,ni.set(c,h,!0),h<100&&(r=!1)))}t=void 0,r||(t=setTimeout(s,100))}return async function(r){e||(e=sr?self.fonts:document.fonts);const o=qs(r);if(!o)return;const a=o.families;let l=!1;for(const c of a){if(Su.has(c))continue;const h=vu(o.style,o.weight,c);ni.get(h)===void 0&&(ni.set(h,0,!0),l=!0)}l&&(clearTimeout(t),t=setTimeout(s,100))}}(),Au=function(){let n;return function(t){let e=Js[t];if(e==null){if(sr){const i=qs(t),s=Ba(t,"Žg");e=(isNaN(Number(i.lineHeight))?1.2:Number(i.lineHeight))*(s.actualBoundingBoxAscent+s.actualBoundingBoxDescent)}else n||(n=document.createElement("div"),n.innerHTML="M",n.style.minHeight="0",n.style.maxHeight="none",n.style.height="auto",n.style.padding="0",n.style.border="none",n.style.position="absolute",n.style.display="block",n.style.left="-99999px"),n.style.font=t,document.body.appendChild(n),e=n.offsetHeight,document.body.removeChild(n);Js[t]=e}return e}}();function Ba(n,t){return bi||(bi=ot(1,1)),n!=bo&&(bi.font=n,bo=bi.font),bi.measureText(t)}function Za(n,t){return Ba(n,t).width}function Do(n,t,e){if(t in e)return e[t];const i=t.split(` +import{_ as xl,D as Cl,c as wl,d as Rl,f as Il}from"./index-D5fbjBmH.js";const Et={ADD:"add",REMOVE:"remove"},ui={PROPERTYCHANGE:"propertychange"},X={CHANGE:"change",ERROR:"error",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",TOUCHMOVE:"touchmove",WHEEL:"wheel"};class zn{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}}function Tl(n,t,e){let i,s;e=e||re;let r=0,o=n.length,a=!1;for(;r>1),s=+e(n[i],t),s<0?r=i+1:(o=i,a=!s);return a?r:~r}function re(n,t){return n>t?1:nt?-1:0}function nr(n,t,e){if(n[0]<=t)return 0;const i=n.length;if(t<=n[i-1])return i-1;if(typeof e=="function"){for(let s=1;s0?s-1:s}return i-1}if(e>0){for(let s=1;s0||o===0)})}function Yi(){return!0}function Wn(){return!1}function Ki(){}function ia(n){let t,e,i;return function(){const s=Array.prototype.slice.call(arguments);return(!e||this!==i||!Te(s,e))&&(i=this,e=s,t=n.apply(this,arguments)),t}}function Al(n){function t(){let e;try{e=n()}catch(i){return Promise.reject(i)}return e instanceof Promise?e:Promise.resolve(e)}return t()}function en(n){for(const t in n)delete n[t]}function di(n){let t;for(t in n)return!1;return!t}class ce{constructor(t){this.propagationStopped,this.defaultPrevented,this.type=t,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}}class Yn extends zn{constructor(t){super(),this.eventTarget_=t,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(t,e){if(!t||!e)return;const i=this.listeners_||(this.listeners_={}),s=i[t]||(i[t]=[]);s.includes(e)||s.push(e)}dispatchEvent(t){const e=typeof t=="string",i=e?t:t.type,s=this.listeners_&&this.listeners_[i];if(!s)return;const r=e?new ce(t):t;r.target||(r.target=this.eventTarget_||this);const o=this.dispatching_||(this.dispatching_={}),a=this.pendingRemovals_||(this.pendingRemovals_={});i in o||(o[i]=0,a[i]=0),++o[i];let l;for(let c=0,h=s.length;c0:!1}removeEventListener(t,e){if(!this.listeners_)return;const i=this.listeners_[t];if(!i)return;const s=i.indexOf(e);s!==-1&&(this.pendingRemovals_&&t in this.pendingRemovals_?(i[s]=Ki,++this.pendingRemovals_[t]):(i.splice(s,1),i.length===0&&delete this.listeners_[t]))}}function V(n,t,e,i,s){if(s){const o=e;e=function(a){return n.removeEventListener(t,e),o.call(i??this,a)}}else i&&i!==n&&(e=e.bind(i));const r={target:n,type:t,listener:e};return n.addEventListener(t,e),r}function Tn(n,t,e,i){return V(n,t,e,i,!0)}function tt(n){n&&n.target&&(n.target.removeEventListener(n.type,n.listener),en(n))}class nn extends Yn{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(X.CHANGE)}getRevision(){return this.revision_}onInternal(t,e){if(Array.isArray(t)){const i=t.length,s=new Array(i);for(let r=0;r0;)this.pop()}extend(t){for(let e=0,i=t.length;ethis.getLength())throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e),this.array_.splice(t,0,e),this.updateLength_(),this.dispatchEvent(new fn(Et.ADD,e,t))}pop(){return this.removeAt(this.getLength()-1)}push(t){this.unique_&&this.assertUnique_(t);const e=this.getLength();return this.insertAt(e,t),this.getLength()}remove(t){const e=this.array_;for(let i=0,s=e.length;i=this.getLength())return;const e=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new fn(Et.REMOVE,e,t)),e}setAt(t,e){const i=this.getLength();if(t>=i){this.insertAt(t,e);return}if(t<0)throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e,t);const s=this.array_[t];this.array_[t]=e,this.dispatchEvent(new fn(Et.REMOVE,s,t)),this.dispatchEvent(new fn(Et.ADD,e,t))}updateLength_(){this.set($r.LENGTH,this.array_.length)}assertUnique_(t,e){for(let i=0,s=this.array_.length;i{this.clickTimeoutId_=void 0;const i=new pe(nt.SINGLECLICK,this.map_,t);this.dispatchEvent(i)},250)}updateActivePointers_(t){const e=t,i=e.pointerId;if(e.type==nt.POINTERUP||e.type==nt.POINTERCANCEL){delete this.trackedTouches_[i];for(const s in this.trackedTouches_)if(this.trackedTouches_[s].target!==e.target){delete this.trackedTouches_[s];break}}else(e.type==nt.POINTERDOWN||e.type==nt.POINTERMOVE)&&(this.trackedTouches_[i]=e);this.activePointers_=Object.values(this.trackedTouches_)}handlePointerUp_(t){this.updateActivePointers_(t);const e=new pe(nt.POINTERUP,this.map_,t,void 0,void 0,this.activePointers_);this.dispatchEvent(e),this.emulateClicks_&&!e.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(t)&&this.emulateClick_(this.down_),this.activePointers_.length===0&&(this.dragListenerKeys_.forEach(tt),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)}isMouseActionButton_(t){return t.button===0}handlePointerDown_(t){this.emulateClicks_=this.activePointers_.length===0,this.updateActivePointers_(t);const e=new pe(nt.POINTERDOWN,this.map_,t,void 0,void 0,this.activePointers_);if(this.dispatchEvent(e),this.down_=new PointerEvent(t.type,t),Object.defineProperty(this.down_,"target",{writable:!1,value:t.target}),this.dragListenerKeys_.length===0){const i=this.map_.getOwnerDocument();this.dragListenerKeys_.push(V(i,nt.POINTERMOVE,this.handlePointerMove_,this),V(i,nt.POINTERUP,this.handlePointerUp_,this),V(this.element_,nt.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==i&&this.dragListenerKeys_.push(V(this.element_.getRootNode(),nt.POINTERUP,this.handlePointerUp_,this))}}handlePointerMove_(t){if(this.isMoving_(t)){this.updateActivePointers_(t),this.dragging_=!0;const e=new pe(nt.POINTERDRAG,this.map_,t,this.dragging_,void 0,this.activePointers_);this.dispatchEvent(e)}}relayMoveEvent_(t){this.originalPointerMoveEvent_=t;const e=!!(this.down_&&this.isMoving_(t));this.dispatchEvent(new pe(nt.POINTERMOVE,this.map_,t,e))}handleTouchMove_(t){const e=this.originalPointerMoveEvent_;(!e||e.defaultPrevented)&&(typeof t.cancelable!="boolean"||t.cancelable===!0)&&t.preventDefault()}isMoving_(t){return this.dragging_||Math.abs(t.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_}disposeInternal(){this.relayedListenerKey_&&(tt(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(X.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(tt(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(tt),this.dragListenerKeys_.length=0,this.element_=null,super.disposeInternal()}}const ye={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend",LOADSTART:"loadstart",LOADEND:"loadend"},ft={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"},P={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};function q(n,t){if(!n)throw new Error(t)}const Sn=1/0;class kl{constructor(t,e){this.priorityFunction_=t,this.keyFunction_=e,this.elements_=[],this.priorities_=[],this.queuedElements_={}}clear(){this.elements_.length=0,this.priorities_.length=0,en(this.queuedElements_)}dequeue(){const t=this.elements_,e=this.priorities_,i=t[0];t.length==1?(t.length=0,e.length=0):(t[0]=t.pop(),e[0]=e.pop(),this.siftUp_(0));const s=this.keyFunction_(i);return delete this.queuedElements_[s],i}enqueue(t){q(!(this.keyFunction_(t)in this.queuedElements_),"Tried to enqueue an `element` that was already added to the queue");const e=this.priorityFunction_(t);return e!=Sn?(this.elements_.push(t),this.priorities_.push(e),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0):!1}getCount(){return this.elements_.length}getLeftChildIndex_(t){return t*2+1}getRightChildIndex_(t){return t*2+2}getParentIndex_(t){return t-1>>1}heapify_(){let t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)}isEmpty(){return this.elements_.length===0}isKeyQueued(t){return t in this.queuedElements_}isQueued(t){return this.isKeyQueued(this.keyFunction_(t))}siftUp_(t){const e=this.elements_,i=this.priorities_,s=e.length,r=e[t],o=i[t],a=t;for(;t>1;){const l=this.getLeftChildIndex_(t),c=this.getRightChildIndex_(t),h=ct;){const a=this.getParentIndex_(e);if(s[a]>o)i[e]=i[a],s[e]=s[a],e=a;else break}i[e]=r,s[e]=o}reprioritize(){const t=this.priorityFunction_,e=this.elements_,i=this.priorities_;let s=0;const r=e.length;let o,a,l;for(a=0;at.apply(null,i),i=>i[0].getKey()),this.boundHandleTileChange_=this.handleTileChange.bind(this),this.tileChangeCallback_=e,this.tilesLoading_=0,this.tilesLoadingKeys_={}}enqueue(t){const e=super.enqueue(t);return e&&t[0].addEventListener(X.CHANGE,this.boundHandleTileChange_),e}getTilesLoading(){return this.tilesLoading_}handleTileChange(t){const e=t.target,i=e.getState();if(i===P.LOADED||i===P.ERROR||i===P.EMPTY){i!==P.ERROR&&e.removeEventListener(X.CHANGE,this.boundHandleTileChange_);const s=e.getKey();s in this.tilesLoadingKeys_&&(delete this.tilesLoadingKeys_[s],--this.tilesLoading_),this.tileChangeCallback_()}}loadMoreTiles(t,e){let i=0;for(;this.tilesLoading_0;){const s=this.dequeue()[0],r=s.getKey();s.getState()===P.IDLE&&!(r in this.tilesLoadingKeys_)&&(this.tilesLoadingKeys_[r]=!0,++this.tilesLoading_,++i,s.load())}}}function Gl(n,t,e,i,s){if(!n||!(e in n.wantedTiles)||!n.wantedTiles[e][t.getKey()])return Sn;const r=n.viewState.center,o=i[0]-r[0],a=i[1]-r[1];return 65536*Math.log(s)+Math.sqrt(o*o+a*a)/s}const gt={ANIMATING:0,INTERACTING:1},zt={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"};function et(n,t,e){return Math.min(Math.max(n,t),e)}function zl(n,t,e,i,s,r){const o=s-e,a=r-i;if(o!==0||a!==0){const l=((n-e)*o+(t-i)*a)/(o*o+a*a);l>1?(e=s,i=r):l>0&&(e+=o*l,i+=a*l)}return oi(n,t,e,i)}function oi(n,t,e,i){const s=e-n,r=i-t;return s*s+r*r}function Xl(n){const t=n.length;for(let i=0;ir&&(r=l,s=a)}if(r===0)return null;const o=n[s];n[s]=n[i],n[i]=o;for(let a=i+1;a=0;i--){e[i]=n[i][t]/n[i][i];for(let s=i-1;s>=0;s--)n[s][t]-=n[s][i]*e[i]}return e}function Jr(n){return n*180/Math.PI}function we(n){return n*Math.PI/180}function ai(n,t){const e=n%t;return e*t<0?e+t:e}function Lt(n,t,e){return n+e*(t-n)}function Kn(n,t){const e=Math.pow(10,t);return Math.round(n*e)/e}function gn(n,t){return Math.floor(Kn(n,t))}function _n(n,t){return Math.ceil(Kn(n,t))}function Ws(n,t,e){if(n>=t&&nf&&(d=(f+d)/2,f=d),g>m&&(g=(m+g)/2,m=g);let _=et(i[0],d,f),p=et(i[1],g,m);if(o&&e&&s){const E=30*s;_+=-E*Math.log(1+Math.max(0,d-i[0])/E)+E*Math.log(1+Math.max(0,i[0]-f)/E),p+=-E*Math.log(1+Math.max(0,g-i[1])/E)+E*Math.log(1+Math.max(0,i[1]-m)/E)}return[_,p]}}function Wl(n){return n}const lt={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16};function to(n){const t=Nt();for(let e=0,i=n.length;es&&(l=l|lt.RIGHT),ar&&(l=l|lt.ABOVE),l===lt.UNKNOWN&&(l=lt.INTERSECTING),l}function Nt(){return[1/0,1/0,-1/0,-1/0]}function Ie(n,t,e,i,s){return s?(s[0]=n,s[1]=t,s[2]=e,s[3]=i,s):[n,t,e,i]}function Bn(n){return Ie(1/0,1/0,-1/0,-1/0,n)}function la(n,t){const e=n[0],i=n[1];return Ie(e,i,e,i,t)}function ar(n,t,e,i,s){const r=Bn(s);return ha(r,n,t,e,i)}function Bi(n,t){return n[0]==t[0]&&n[2]==t[2]&&n[1]==t[1]&&n[3]==t[3]}function Yl(n,t){return t[0]n[2]&&(n[2]=t[2]),t[1]n[3]&&(n[3]=t[3]),n}function zi(n,t){t[0]n[2]&&(n[2]=t[0]),t[1]n[3]&&(n[3]=t[1])}function ha(n,t,e,i,s){for(;et[0]?i[0]=n[0]:i[0]=t[0],n[1]>t[1]?i[1]=n[1]:i[1]=t[1],n[2]=t[0]&&n[1]<=t[3]&&n[3]>=t[1]}function jn(n){return n[2]=o&&m<=l),!i&&r<.RIGHT&&!(s<.RIGHT)&&(_=f-(d-l)*g,i=_>=a&&_<=c),!i&&r<.BELOW&&!(s<.BELOW)&&(m=d-(f-a)/g,i=m>=o&&m<=l),!i&&r<.LEFT&&!(s<.LEFT)&&(_=f-(d-o)*g,i=_>=a&&_<=c)}return i}function da(n,t){const e=t.getExtent(),i=Xe(n);if(t.canWrapX()&&(i[0]=e[2])){const s=J(e),o=Math.floor((i[0]-e[0])/s)*s;n[0]-=o,n[2]-=o}return n}function fa(n,t,e){if(t.canWrapX()){const i=t.getExtent();if(!isFinite(n[0])||!isFinite(n[2]))return[[i[0],n[1],i[2],n[3]]];da(n,t);const s=J(i);if(J(n)>s&&!e)return[[i[0],n[1],i[2],n[3]]];if(n[0]i[2])return[[n[0],n[1],i[2],n[3]],[i[0],n[1],n[2]-s,n[3]]]}return[n]}function Vl(n,t){return n[0]+=+t[0],n[1]+=+t[1],n}function vn(n,t){let e=!0;for(let i=n.length-1;i>=0;--i)if(n[i]!=t[i]){e=!1;break}return e}function lr(n,t){const e=Math.cos(t),i=Math.sin(t),s=n[0]*e-n[1]*i,r=n[1]*e+n[0]*i;return n[0]=s,n[1]=r,n}function jl(n,t){return n[0]*=t,n[1]*=t,n}function ga(n,t){if(t.canWrapX()){const e=J(t.getExtent()),i=Hl(n,t,e);i&&(n[0]-=i*e)}return n}function Hl(n,t,e){const i=t.getExtent();let s=0;return t.canWrapX()&&(n[0]i[2])&&(e=e||J(i),s=Math.floor((n[0]-i[0])/e)),s}function _a(n){return Math.pow(n,3)}function Ei(n){return 1-_a(1-n)}function ql(n){return 3*n*n-2*n*n*n}function $l(n){return n}const Jl=63710088e-1;function eo(n,t,e){e=e||Jl;const i=we(n[1]),s=we(t[1]),r=(s-i)/2,o=we(t[0]-n[0])/2,a=Math.sin(r)*Math.sin(r)+Math.sin(o)*Math.sin(o)*Math.cos(i)*Math.cos(s);return 2*e*Math.atan2(Math.sqrt(a),Math.sqrt(1-a))}function ma(...n){console.warn(...n)}const hr={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937};class cr{constructor(t){this.code_=t.code,this.units_=t.units,this.extent_=t.extent!==void 0?t.extent:null,this.worldExtent_=t.worldExtent!==void 0?t.worldExtent:null,this.axisOrientation_=t.axisOrientation!==void 0?t.axisOrientation:"enu",this.global_=t.global!==void 0?t.global:!1,this.canWrapX_=!!(this.global_&&this.extent_),this.getPointResolutionFunc_=t.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=t.metersPerUnit}canWrapX(){return this.canWrapX_}getCode(){return this.code_}getExtent(){return this.extent_}getUnits(){return this.units_}getMetersPerUnit(){return this.metersPerUnit_||hr[this.units_]}getWorldExtent(){return this.worldExtent_}getAxisOrientation(){return this.axisOrientation_}isGlobal(){return this.global_}setGlobal(t){this.global_=t,this.canWrapX_=!!(t&&this.extent_)}getDefaultTileGrid(){return this.defaultTileGrid_}setDefaultTileGrid(t){this.defaultTileGrid_=t}setExtent(t){this.extent_=t,this.canWrapX_=!!(this.global_&&t)}setWorldExtent(t){this.worldExtent_=t}setGetPointResolution(t){this.getPointResolutionFunc_=t}getPointResolutionFunc(){return this.getPointResolutionFunc_}}const sn=6378137,ri=Math.PI*sn,Ql=[-ri,-ri,ri,ri],th=[-180,-85,180,85],mn=sn*Math.log(Math.tan(Math.PI/2));class je extends cr{constructor(t){super({code:t,units:"m",extent:Ql,global:!0,worldExtent:th,getPointResolution:function(e,i){return e/Math.cosh(i[1]/sn)}})}}const io=[new je("EPSG:3857"),new je("EPSG:102100"),new je("EPSG:102113"),new je("EPSG:900913"),new je("http://www.opengis.net/def/crs/EPSG/0/3857"),new je("http://www.opengis.net/gml/srs/epsg.xml#3857")];function eh(n,t,e,i){const s=n.length;e=e>1?e:2,i=i??e,t===void 0&&(e>2?t=n.slice():t=new Array(s));for(let r=0;rmn?o=mn:o<-mn&&(o=-mn),t[r+1]=o}return t}function ih(n,t,e,i){const s=n.length;e=e>1?e:2,i=i??e,t===void 0&&(e>2?t=n.slice():t=new Array(s));for(let r=0;rao&&(t=ao);const i=we(t),s=Math.sin(i),r=Math.cos(i),o=s/r,a=o*o,l=a*a,c=we(n),h=xa(e.number),u=we(h),d=An/Math.sqrt(1-kt*s**2),f=Pe*r**2,g=r*Ws(c-u,-Math.PI,Math.PI),m=g*g,_=m*g,p=_*g,E=p*g,C=E*g,y=An*(Ea*i-ah*Math.sin(2*i)+lh*Math.sin(4*i)-hh*Math.sin(6*i)),x=Ln*d*(g+_/6*(1-a+f)+E/120*(5-18*a+l+72*f-58*Pe))+5e5;let R=Ln*(y+d*o*(m/2+p/24*(5-a+9*f+4*f**2)+C/720*(61-58*a+l+600*f-330*Pe)));return e.north||(R+=1e7),[x,R]}function xa(n){return(n-1)*6-180+3}const yh=[/^EPSG:(\d+)$/,/^urn:ogc:def:crs:EPSG::(\d+)$/,/^http:\/\/www\.opengis\.net\/def\/crs\/EPSG\/0\/(\d+)$/];function Ca(n){let t=0;for(const s of yh){const r=n.match(s);if(r){t=parseInt(r[1]);break}}if(!t)return null;let e=0,i=!1;return t>32700&&t<32761?e=t-32700:t>32600&&t<32661&&(i=!0,e=t-32600),e?{number:e,north:i}:null}function lo(n,t){return function(e,i,s,r){const o=e.length;s=s>1?s:2,r=r??s,i||(s>2?i=e.slice():i=new Array(o));for(let a=0;a=l?t[o+c]:a[c]}return e}}function gs(n,t){return wa(),mr(n,"EPSG:4326","EPSG:3857")}function _s(n,t){if(n===t)return!0;const e=n.getUnits()===t.getUnits();return(n.getCode()===t.getCode()||_r(n,t)===fr)&&e}function _r(n,t){const e=n.getCode(),i=t.getCode();let s=fs(e,i);if(s)return s;let r=null,o=null;for(const l of Ch)r||(r=l(n)),o||(o=l(t));if(!r&&!o)return null;const a="EPSG:4326";if(o)if(r)s=ms(r.inverse,o.forward);else{const l=fs(e,a);l&&(s=ms(l,o.forward))}else{const l=fs(a,i);l&&(s=ms(r.inverse,l))}return s&&(Vs(n),Vs(t),Zi(n,t,s)),s}function ms(n,t){return function(e,i,s,r){return i=n(e,i,s,r),t(i,i,s,r)}}function Mn(n,t){const e=Tt(n),i=Tt(t);return _r(e,i)}function mr(n,t,e){const i=Mn(t,e);if(!i){const s=Tt(t).getCode(),r=Tt(e).getCode();throw new Error(`No transform available between ${s} and ${r}`)}return i(n,void 0,n.length)}function js(n,t){return n}function ne(n,t){return Us&&!vn(n,[0,0])&&n[0]>=-180&&n[0]<=180&&n[1]>=-90&&n[1]<=90&&(Us=!1,ma("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),n}function Ra(n,t){return n}function xe(n,t){return n}function Sh(){co(io),co(so),Ih(so,io,eh,ih)}Sh();new Array(6);function Yt(){return[1,0,0,1,0,0]}function vh(n,t){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n[4]=t[4],n[5]=t[5],n}function ht(n,t){const e=t[0],i=t[1];return t[0]=n[0]*e+n[2]*i+n[4],t[1]=n[1]*e+n[3]*i+n[5],t}function he(n,t,e,i,s,r,o,a){const l=Math.sin(r),c=Math.cos(r);return n[0]=i*c,n[1]=s*l,n[2]=-i*l,n[3]=s*c,n[4]=o*i*c-a*i*l+t,n[5]=o*s*l+a*s*c+e,n}function Ia(n,t){const e=Lh(t);q(e!==0,"Transformation matrix cannot be inverted");const i=t[0],s=t[1],r=t[2],o=t[3],a=t[4],l=t[5];return n[0]=o/e,n[1]=-s/e,n[2]=-r/e,n[3]=i/e,n[4]=(r*l-o*a)/e,n[5]=-(i*l-s*a)/e,n}function Lh(n){return n[0]*n[3]-n[1]*n[2]}const Ah=[1e5,1e5,1e5,1e5,2,2];function Mh(n){return"matrix("+n.join(", ")+")"}function uo(n){return n.substring(7,n.length-1).split(",").map(parseFloat)}function bh(n,t){const e=uo(n),i=uo(t);for(let s=0;s<6;++s)if(Math.round((e[s]-i[s])*Ah[s])!==0)return!1;return!0}function Re(n,t,e,i,s,r,o){r=r||[],o=o||2;let a=0;for(let l=t;l{if(!i)return this.getSimplifiedGeometry(e);const s=this.clone();return s.applyTransform(i),s.getSimplifiedGeometry(e)})}simplifyTransformed(t,e){return this.simplifyTransformedInternal(this.getRevision(),t,e)}clone(){return U()}closestPointXY(t,e,i,s){return U()}containsXY(t,e){return this.closestPointXY(t,e,Oh,Number.MIN_VALUE)===0}getClosestPoint(t,e){return e=e||[NaN,NaN],this.closestPointXY(t[0],t[1],e,1/0),e}intersectsCoordinate(t){return this.containsXY(t[0],t[1])}computeExtent(t){return U()}getExtent(t){if(this.extentRevision_!=this.getRevision()){const e=this.computeExtent(this.extent_);(isNaN(e[0])||isNaN(e[1]))&&Bn(e),this.extentRevision_=this.getRevision()}return Zl(this.extent_,t)}rotate(t,e){U()}scale(t,e,i){U()}simplify(t){return this.getSimplifiedGeometry(t*t)}getSimplifiedGeometry(t){return U()}getType(){return U()}applyTransform(t){U()}intersectsExtent(t){return U()}translate(t,e){U()}transform(t,e){const i=Tt(t),s=i.getUnits()=="tile-pixels"?function(r,o,a){const l=i.getExtent(),c=i.getWorldExtent(),h=yt(c)/yt(l);he(fo,c[0],c[3],h,-h,0,0,0);const u=Re(r,0,r.length,a,fo,o),d=Mn(i,e);return d?d(u,u,a):u}:Mn(i,e);return this.applyTransform(s),this}}class $n extends Fh{constructor(){super(),this.layout="XY",this.stride=2,this.flatCoordinates}computeExtent(t){return ar(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)}getCoordinates(){return U()}getFirstCoordinate(){return this.flatCoordinates.slice(0,this.stride)}getFlatCoordinates(){return this.flatCoordinates}getLastCoordinate(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)}getLayout(){return this.layout}getSimplifiedGeometry(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||this.simplifiedGeometryMaxMinSquaredTolerance!==0&&t<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;const e=this.getSimplifiedGeometryInternal(t);return e.getFlatCoordinates().length1)u=e;else if(d>0){for(let f=0;fs&&(s=c),r=a,o=l}return s}function zh(n,t,e,i,s){for(let r=0,o=e.length;r0;){const u=c.pop(),d=c.pop();let f=0;const g=n[d],m=n[d+1],_=n[u],p=n[u+1];for(let E=d+i;Ef&&(h=E,f=x)}f>s&&(l[(h-t)/i]=1,d+i0&&m>f)&&(g<0&&_0&&_>g)){c=u,h=d;continue}r[o++]=c,r[o++]=h,a=c,l=h,c=u,h=d}return r[o++]=c,r[o++]=h,o}function va(n,t,e,i,s,r,o,a){for(let l=0,c=e.length;lr&&(c-a)*(r-l)-(s-a)*(h-l)>0&&o++:h<=r&&(c-a)*(r-l)-(s-a)*(h-l)<0&&o--,a=c,l=h}return o!==0}function La(n,t,e,i,s,r){if(e.length===0||!Fe(n,t,e[0],i,s,r))return!1;for(let o=1,a=e.length;op&&(c=(h+u)/2,La(n,t,e,i,c,g)&&(_=c,p=E)),h=u}return isNaN(_)&&(_=s[r]),o?(o.push(_,g,p),o):[_,g,p]}function Uh(n,t,e,i,s){let r=[];for(let o=0,a=e.length;o=s[0]&&r[2]<=s[2]||r[1]>=s[1]&&r[3]<=s[3]?!0:Aa(n,t,e,i,function(o,a){return Ul(s,o,a)}):!1}function Ma(n,t,e,i,s){return!!(Cr(n,t,e,i,s)||Fe(n,t,e,i,s[0],s[1])||Fe(n,t,e,i,s[0],s[3])||Fe(n,t,e,i,s[2],s[1])||Fe(n,t,e,i,s[2],s[3]))}function Vh(n,t,e,i,s){if(!Ma(n,t,e[0],i,s))return!1;if(e.length===1)return!0;for(let r=1,o=e.length;r0}function Hh(n,t,e,i,s){s=s!==void 0?s:!1;for(let r=0,o=e.length;rh&&d1&&typeof arguments[e-1]=="function"&&(i=arguments[e-1],--e);let s=0;for(;s0}getInteracting(){return this.hints_[gt.INTERACTING]>0}cancelAnimations(){this.setHint(gt.ANIMATING,-this.hints_[gt.ANIMATING]);let t;for(let e=0,i=this.animations_.length;e=0;--i){const s=this.animations_[i];let r=!0;for(let o=0,a=s.length;o0?c/l.duration:1;h>=1?(l.complete=!0,h=1):r=!1;const u=l.easing(h);if(l.sourceCenter){const d=l.sourceCenter[0],f=l.sourceCenter[1],g=l.targetCenter[0],m=l.targetCenter[1];this.nextCenter_=l.targetCenter;const _=d+u*(g-d),p=f+u*(m-f);this.targetCenter_=[_,p]}if(l.sourceResolution&&l.targetResolution){const d=u===1?l.targetResolution:l.sourceResolution+u*(l.targetResolution-l.sourceResolution);if(l.anchor){const f=this.getViewportSize_(this.getRotation()),g=this.constraints_.resolution(d,0,f,!0);this.targetCenter_=this.calculateCenterZoom(g,l.anchor)}this.nextResolution_=l.targetResolution,this.targetResolution_=d,this.applyTargetState_(!0)}if(l.sourceRotation!==void 0&&l.targetRotation!==void 0){const d=u===1?ai(l.targetRotation+Math.PI,2*Math.PI)-Math.PI:l.sourceRotation+u*(l.targetRotation-l.sourceRotation);if(l.anchor){const f=this.constraints_.rotation(d,!0);this.targetCenter_=this.calculateCenterRotate(f,l.anchor)}this.nextRotation_=l.targetRotation,this.targetRotation_=d}if(this.applyTargetState_(!0),e=!0,!l.complete)break}if(r){this.animations_[i]=null,this.setHint(gt.ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const o=s[0].callback;o&&pn(o,!0)}}this.animations_=this.animations_.filter(Boolean),e&&this.updateAnimationKey_===void 0&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}calculateCenterRotate(t,e){let i;const s=this.getCenterInternal();return s!==void 0&&(i=[s[0]-e[0],s[1]-e[1]],lr(i,t-this.getRotation()),Vl(i,e)),i}calculateCenterZoom(t,e){let i;const s=this.getCenterInternal(),r=this.getResolution();if(s!==void 0&&r!==void 0){const o=e[0]-t*(e[0]-s[0])/r,a=e[1]-t*(e[1]-s[1])/r;i=[o,a]}return i}getViewportSize_(t){const e=this.viewportSize_;if(t){const i=e[0],s=e[1];return[Math.abs(i*Math.cos(t))+Math.abs(s*Math.sin(t)),Math.abs(i*Math.sin(t))+Math.abs(s*Math.cos(t))]}return e}setViewportSize(t){this.viewportSize_=Array.isArray(t)?t.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)}getCenter(){const t=this.getCenterInternal();return t&&js(t,this.getProjection())}getCenterInternal(){return this.get(zt.CENTER)}getConstraints(){return this.constraints_}getConstrainResolution(){return this.get("constrainResolution")}getHints(t){return t!==void 0?(t[0]=this.hints_[0],t[1]=this.hints_[1],t):this.hints_.slice()}calculateExtent(t){const e=this.calculateExtentInternal(t);return Ra(e,this.getProjection())}calculateExtentInternal(t){t=t||this.getViewportSizeMinusPadding_();const e=this.getCenterInternal();q(e,"The view center is not defined");const i=this.getResolution();q(i!==void 0,"The view resolution is not defined");const s=this.getRotation();return q(s!==void 0,"The view rotation is not defined"),Bs(e,i,s,t)}getMaxResolution(){return this.maxResolution_}getMinResolution(){return this.minResolution_}getMaxZoom(){return this.getZoomForResolution(this.minResolution_)}setMaxZoom(t){this.applyOptions_(this.getUpdatedOptions_({maxZoom:t}))}getMinZoom(){return this.getZoomForResolution(this.maxResolution_)}setMinZoom(t){this.applyOptions_(this.getUpdatedOptions_({minZoom:t}))}setConstrainResolution(t){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:t}))}getProjection(){return this.projection_}getResolution(){return this.get(zt.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(t,e){return this.getResolutionForExtentInternal(xe(t,this.getProjection()),e)}getResolutionForExtentInternal(t,e){e=e||this.getViewportSizeMinusPadding_();const i=J(t)/e[0],s=yt(t)/e[1];return Math.max(i,s)}getResolutionForValueFunction(t){t=t||2;const e=this.getConstrainedResolution(this.maxResolution_),i=this.minResolution_,s=Math.log(e/i)/Math.log(t);return function(r){return e/Math.pow(t,r*s)}}getRotation(){return this.get(zt.ROTATION)}getValueForResolutionFunction(t){const e=Math.log(t||2),i=this.getConstrainedResolution(this.maxResolution_),s=this.minResolution_,r=Math.log(i/s)/e;return function(o){return Math.log(i/o)/e/r}}getViewportSizeMinusPadding_(t){let e=this.getViewportSize_(t);const i=this.padding_;return i&&(e=[e[0]-i[1]-i[3],e[1]-i[0]-i[2]]),e}getState(){const t=this.getProjection(),e=this.getResolution(),i=this.getRotation();let s=this.getCenterInternal();const r=this.padding_;if(r){const o=this.getViewportSizeMinusPadding_();s=ys(s,this.getViewportSize_(),[o[0]/2+r[3],o[1]/2+r[0]],e,i)}return{center:s.slice(0),projection:t!==void 0?t:null,resolution:e,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:i,zoom:this.getZoom()}}getViewStateAndExtent(){return{viewState:this.getState(),extent:this.calculateExtent()}}getZoom(){let t;const e=this.getResolution();return e!==void 0&&(t=this.getZoomForResolution(e)),t}getZoomForResolution(t){let e=this.minZoom_||0,i,s;if(this.resolutions_){const r=nr(this.resolutions_,t,1);e=r,i=this.resolutions_[r],r==this.resolutions_.length-1?s=2:s=i/this.resolutions_[r+1]}else i=this.maxResolution_,s=this.zoomFactor_;return e+Math.log(i/t)/Math.log(s)}getResolutionForZoom(t){if(this.resolutions_?.length){if(this.resolutions_.length===1)return this.resolutions_[0];const e=et(Math.floor(t),0,this.resolutions_.length-2),i=this.resolutions_[e]/this.resolutions_[e+1];return this.resolutions_[e]/Math.pow(i,et(t-e,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,t-this.minZoom_)}fit(t,e){let i;if(q(Array.isArray(t)||typeof t.getSimplifiedGeometry=="function","Invalid extent or geometry provided as `geometry`"),Array.isArray(t)){q(!jn(t),"Cannot fit empty extent provided as `geometry`");const s=xe(t,this.getProjection());i=yo(s)}else if(t.getType()==="Circle"){const s=xe(t.getExtent(),this.getProjection());i=yo(s),i.rotate(this.getRotation(),Xe(s))}else i=t;this.fitInternal(i,e)}rotatedExtentForGeometry(t){const e=this.getRotation(),i=Math.cos(e),s=Math.sin(-e),r=t.getFlatCoordinates(),o=t.getStride();let a=1/0,l=1/0,c=-1/0,h=-1/0;for(let u=0,d=r.length;ui.trim().replace(/^['"]|['"]$/g,"")),e};function ot(n,t,e,i){let s;return e&&e.length?s=e.shift():sr?s=new OffscreenCanvas(n||300,t||300):s=document.createElement("canvas"),n&&(s.width=n),t&&(s.height=t),s.getContext("2d",i)}let Es;function Dn(){return Es||(Es=ot(1,1)),Es}function ts(n){const t=n.canvas;t.width=1,t.height=1,n.clearRect(0,0,1,1)}function Ro(n,t){const e=t.parentNode;e&&e.replaceChild(n,t)}function ac(n){for(;n.lastChild;)n.lastChild.remove()}function lc(n,t){const e=n.childNodes;for(let i=0;;++i){const s=e[i],r=t[i];if(!s&&!r)break;if(s!==r){if(!s){n.appendChild(r);continue}if(!r){n.removeChild(s),--i;continue}n.insertBefore(r,s)}}}class Lr extends $t{constructor(t){super();const e=t.element;e&&!t.target&&!e.style.pointerEvents&&(e.style.pointerEvents="auto"),this.element=e||null,this.target_=null,this.map_=null,this.listenerKeys=[],t.render&&(this.render=t.render),t.target&&this.setTarget(t.target)}disposeInternal(){this.element?.remove(),super.disposeInternal()}getMap(){return this.map_}setMap(t){this.map_&&this.element?.remove();for(let e=0,i=this.listenerKeys.length;es.getAttributions(t)));if(this.attributions_!==void 0&&(Array.isArray(this.attributions_)?this.attributions_.forEach(s=>i.add(s)):i.add(this.attributions_)),!this.overrideCollapsible_){const s=!e.some(r=>r.getSource()?.getAttributionsCollapsible()===!1);this.setCollapsible(s)}return Array.from(i)}async updateElement_(t){if(!t){this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1);return}const e=await Promise.all(this.collectSourceAttributions_(t).map(s=>Al(()=>s))),i=e.length>0;if(this.renderedVisible_!=i&&(this.element.style.display=i?"":"none",this.renderedVisible_=i),!Te(e,this.renderedAttributions_)){ac(this.ulElement_);for(let s=0,r=e.length;s0&&i%(2*Math.PI)!==0?e.animate({rotation:0,duration:this.duration_,easing:Ei}):e.setRotation(0))}render(t){const e=t.frameState;if(!e)return;const i=e.viewState.rotation;if(i!=this.rotation_){const s="rotate("+i+"rad)";if(this.autoHide_){const r=this.element.classList.contains(yn);!r&&i===0?this.element.classList.add(yn):r&&i!==0&&this.element.classList.remove(yn)}this.label_.style.transform=s}this.rotation_=i}}class uc extends Lr{constructor(t){t=t||{},super({element:document.createElement("div"),target:t.target});const e=t.className!==void 0?t.className:"ol-zoom",i=t.delta!==void 0?t.delta:1,s=t.zoomInClassName!==void 0?t.zoomInClassName:e+"-in",r=t.zoomOutClassName!==void 0?t.zoomOutClassName:e+"-out",o=t.zoomInLabel!==void 0?t.zoomInLabel:"+",a=t.zoomOutLabel!==void 0?t.zoomOutLabel:"–",l=t.zoomInTipLabel!==void 0?t.zoomInTipLabel:"Zoom in",c=t.zoomOutTipLabel!==void 0?t.zoomOutTipLabel:"Zoom out",h=document.createElement("button");h.className=s,h.setAttribute("type","button"),h.title=l,h.appendChild(typeof o=="string"?document.createTextNode(o):o),h.addEventListener(X.CLICK,this.handleClick_.bind(this,i),!1);const u=document.createElement("button");u.className=r,u.setAttribute("type","button"),u.title=c,u.appendChild(typeof a=="string"?document.createTextNode(a):a),u.addEventListener(X.CLICK,this.handleClick_.bind(this,-i),!1);const d=e+" "+Qn+" "+vr,f=this.element;f.className=d,f.appendChild(h),f.appendChild(u),this.duration_=t.duration!==void 0?t.duration:250}handleClick_(t,e){e.preventDefault(),this.zoomByDelta_(t)}zoomByDelta_(t){const i=this.getMap().getView();if(!i)return;const s=i.getZoom();if(s!==void 0){const r=i.getConstrainedZoom(s+t);this.duration_>0?(i.getAnimating()&&i.cancelAnimations(),i.animate({zoom:r,duration:this.duration_,easing:Ei})):i.setZoom(r)}}}function dc(n){n=n||{};const t=new Ht;return(n.zoom!==void 0?n.zoom:!0)&&t.push(new uc(n.zoomOptions)),(n.rotate!==void 0?n.rotate:!0)&&t.push(new cc(n.rotateOptions)),(n.attribution!==void 0?n.attribution:!0)&&t.push(new hc(n.attributionOptions)),t}class fc{constructor(t,e,i){this.decay_=t,this.minVelocity_=e,this.delay_=i,this.points_=[],this.angle_=0,this.initialVelocity_=0}begin(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0}update(t,e){this.points_.push(t,e,Date.now())}end(){if(this.points_.length<6)return!1;const t=Date.now()-this.delay_,e=this.points_.length-3;if(this.points_[e+2]0&&this.points_[i+2]>t;)i-=3;const s=this.points_[e+2]-this.points_[i+2];if(s<1e3/60)return!1;const r=this.points_[e]-this.points_[i],o=this.points_[e+1]-this.points_[i+1];return this.angle_=Math.atan2(o,r),this.initialVelocity_=Math.sqrt(r*r+o*o)/s,this.initialVelocity_>this.minVelocity_}getDistance(){return(this.minVelocity_-this.initialVelocity_)/this.decay_}getAngle(){return this.angle_}}const Io={ACTIVE:"active"};class rn extends $t{constructor(t){super(),this.on,this.once,this.un,t&&t.handleEvent&&(this.handleEvent=t.handleEvent),this.map_=null,this.setActive(!0)}getActive(){return this.get(Io.ACTIVE)}getMap(){return this.map_}handleEvent(t){return!0}setActive(t){this.set(Io.ACTIVE,t)}setMap(t){this.map_=t}}function gc(n,t,e){const i=n.getCenterInternal();if(i){const s=[i[0]+t[0],i[1]+t[1]];n.animateInternal({duration:e!==void 0?e:250,easing:$l,center:n.getConstrainedCenter(s)})}}function Ar(n,t,e,i){const s=n.getZoom();if(s===void 0)return;const r=n.getConstrainedZoom(s+t),o=n.getResolutionForZoom(r);n.getAnimating()&&n.cancelAnimations(),n.animate({resolution:o,anchor:e,duration:i!==void 0?i:250,easing:Ei})}class _c extends rn{constructor(t){super(),t=t||{},this.delta_=t.delta?t.delta:1,this.duration_=t.duration!==void 0?t.duration:250}handleEvent(t){let e=!1;if(t.type==nt.DBLCLICK){const i=t.originalEvent,s=t.map,r=t.coordinate,o=i.shiftKey?-this.delta_:this.delta_,a=s.getView();Ar(a,o,r,this.duration_),i.preventDefault(),e=!0}return!e}}function $s(n){const t=arguments;return function(e){let i=!0;for(let s=0,r=t.length;s0}}else if(t.type==nt.POINTERDOWN){const i=this.handleDownEvent(t);this.handlingDownUpSequence=i,e=this.stopDown(i)}else t.type==nt.POINTERMOVE&&this.handleMoveEvent(t);return!e}handleMoveEvent(t){}handleUpEvent(t){return!1}stopDown(t){return t}updateTrackedPointers_(t){t.activePointers&&(this.targetPointers=t.activePointers)}}function Mr(n){const t=n.length;let e=0,i=0;for(let s=0;s0&&this.condition_(t)){const i=t.map.getView();return this.lastCentroid=null,i.getAnimating()&&i.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1}}class Rc extends on{constructor(t){t=t||{},super({stopDown:Wn}),this.condition_=t.condition?t.condition:mc,this.lastAngle_=void 0,this.duration_=t.duration!==void 0?t.duration:250}handleDragEvent(t){if(!xs(t))return;const e=t.map,i=e.getView();if(i.getConstraints().rotation===Tr)return;const s=e.getSize(),r=t.pixel,o=Math.atan2(s[1]/2-r[1],r[0]-s[0]/2);if(this.lastAngle_!==void 0){const a=o-this.lastAngle_;i.adjustRotationInternal(-a)}this.lastAngle_=o}handleUpEvent(t){return xs(t)?(t.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(t){return xs(t)&&Da(t)&&this.condition_(t)?(t.map.getView().beginInteraction(),this.lastAngle_=void 0,!0):!1}}class Ic extends zn{constructor(t){super(),this.geometry_=null,this.element_=document.createElement("div"),this.element_.style.position="absolute",this.element_.style.pointerEvents="auto",this.element_.className="ol-box "+t,this.map_=null,this.startPixel_=null,this.endPixel_=null}disposeInternal(){this.setMap(null)}render_(){const t=this.startPixel_,e=this.endPixel_,i="px",s=this.element_.style;s.left=Math.min(t[0],e[0])+i,s.top=Math.min(t[1],e[1])+i,s.width=Math.abs(e[0]-t[0])+i,s.height=Math.abs(e[1]-t[1])+i}setMap(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);const e=this.element_.style;e.left="inherit",e.top="inherit",e.width="inherit",e.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)}setPixels(t,e){this.startPixel_=t,this.endPixel_=e,this.createOrUpdateGeometry(),this.render_()}createOrUpdateGeometry(){if(!this.map_)return;const t=this.startPixel_,e=this.endPixel_,s=[t,[t[0],e[1]],e,[e[0],t[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);s[4]=s[0].slice(),this.geometry_?this.geometry_.setCoordinates([s]):this.geometry_=new ji([s])}getGeometry(){return this.geometry_}}const He={BOXSTART:"boxstart",BOXDRAG:"boxdrag",BOXEND:"boxend",BOXCANCEL:"boxcancel"};class vi extends ce{constructor(t,e,i){super(t),this.coordinate=e,this.mapBrowserEvent=i}}class Tc extends on{constructor(t){super(),this.on,this.once,this.un,t=t??{},this.box_=new Ic(t.className||"ol-dragbox"),this.minArea_=t.minArea??64,t.onBoxEnd&&(this.onBoxEnd=t.onBoxEnd),this.startPixel_=null,this.condition_=t.condition??Da,this.boxEndCondition_=t.boxEndCondition??this.defaultBoxEndCondition}defaultBoxEndCondition(t,e,i){const s=i[0]-e[0],r=i[1]-e[1];return s*s+r*r>=this.minArea_}getGeometry(){return this.box_.getGeometry()}handleDragEvent(t){this.startPixel_&&(this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new vi(He.BOXDRAG,t.coordinate,t)))}handleUpEvent(t){if(!this.startPixel_)return!1;const e=this.boxEndCondition_(t,this.startPixel_,t.pixel);return e&&this.onBoxEnd(t),this.dispatchEvent(new vi(e?He.BOXEND:He.BOXCANCEL,t.coordinate,t)),this.box_.setMap(null),this.startPixel_=null,!1}handleDownEvent(t){return this.condition_(t)?(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new vi(He.BOXSTART,t.coordinate,t)),!0):!1}onBoxEnd(t){}setActive(t){t||(this.box_.setMap(null),this.startPixel_&&(this.dispatchEvent(new vi(He.BOXCANCEL,this.startPixel_,null)),this.startPixel_=null)),super.setActive(t)}setMap(t){this.getMap()&&(this.box_.setMap(null),this.startPixel_&&(this.dispatchEvent(new vi(He.BOXCANCEL,this.startPixel_,null)),this.startPixel_=null)),super.setMap(t)}}class Sc extends Tc{constructor(t){t=t||{};const e=t.condition?t.condition:xc;super({condition:e,className:t.className||"ol-dragzoom",minArea:t.minArea}),this.duration_=t.duration!==void 0?t.duration:200,this.out_=t.out!==void 0?t.out:!1}onBoxEnd(t){const i=this.getMap().getView();let s=this.getGeometry();if(this.out_){const r=i.rotatedExtentForGeometry(s),o=i.getResolutionForExtentInternal(r),a=i.getResolution()/o;s=s.clone(),s.scale(a*a)}i.fitInternal(s,{duration:this.duration_,easing:Ei})}}const Me={LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",DOWN:"ArrowDown"};class vc extends rn{constructor(t){super(),t=t||{},this.defaultCondition_=function(e){return Pa(e)&&Oa(e)},this.condition_=t.condition!==void 0?t.condition:this.defaultCondition_,this.duration_=t.duration!==void 0?t.duration:100,this.pixelDelta_=t.pixelDelta!==void 0?t.pixelDelta:128}handleEvent(t){let e=!1;if(t.type==X.KEYDOWN){const i=t.originalEvent,s=i.key;if(this.condition_(t)&&(s==Me.DOWN||s==Me.LEFT||s==Me.RIGHT||s==Me.UP)){const o=t.map.getView(),a=o.getResolution()*this.pixelDelta_;let l=0,c=0;s==Me.DOWN?c=-a:s==Me.LEFT?l=-a:s==Me.RIGHT?l=a:c=a;const h=[l,c];lr(h,o.getRotation()),gc(o,h,this.duration_),i.preventDefault(),e=!0}}return!e}}class Lc extends rn{constructor(t){super(),t=t||{},this.condition_=t.condition?t.condition:function(e){return!Ec(e)&&Oa(e)},this.delta_=t.delta?t.delta:1,this.duration_=t.duration!==void 0?t.duration:100}handleEvent(t){let e=!1;if(t.type==X.KEYDOWN||t.type==X.KEYPRESS){const i=t.originalEvent,s=i.key;if(this.condition_(t)&&(s==="+"||s==="-")){const r=t.map,o=s==="+"?this.delta_:-this.delta_,a=r.getView();Ar(a,o,void 0,this.duration_),i.preventDefault(),e=!0}}return!e}}const Ac=40,Mc=300;class bc extends rn{constructor(t){t=t||{},super(t),this.totalDelta_=0,this.lastDelta_=0,this.maxDelta_=t.maxDelta!==void 0?t.maxDelta:1,this.duration_=t.duration!==void 0?t.duration:250,this.timeout_=t.timeout!==void 0?t.timeout:80,this.useAnchor_=t.useAnchor!==void 0?t.useAnchor:!0,this.constrainResolution_=t.constrainResolution!==void 0?t.constrainResolution:!1;const e=t.condition?t.condition:yc;this.condition_=t.onFocusOnly?$s(ba,e):e,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_,this.mode_=void 0,this.trackpadEventGap_=400,this.trackpadTimeoutId_,this.deltaPerZoom_=300}endInteraction_(){this.trackpadTimeoutId_=void 0;const t=this.getMap();if(!t)return;t.getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_?t.getCoordinateFromPixel(this.lastAnchor_):null)}handleEvent(t){if(!this.condition_(t)||t.type!==X.WHEEL)return!0;const i=t.map,s=t.originalEvent;s.preventDefault(),this.useAnchor_&&(this.lastAnchor_=t.pixel);let r=s.deltaY;switch(s.deltaMode){case WheelEvent.DOM_DELTA_LINE:r*=Ac;break;case WheelEvent.DOM_DELTA_PAGE:r*=Mc;break}if(r===0)return!1;this.lastDelta_=r;const o=Date.now();this.startTime_===void 0&&(this.startTime_=o),(!this.mode_||o-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(r)<4?"trackpad":"wheel");const a=i.getView();if(this.mode_==="trackpad"&&!(a.getConstrainResolution()||this.constrainResolution_))return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(a.getAnimating()&&a.cancelAnimations(),a.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),a.adjustZoom(-r/this.deltaPerZoom_,this.lastAnchor_?i.getCoordinateFromPixel(this.lastAnchor_):null),this.startTime_=o,!1;this.totalDelta_+=r;const l=Math.max(this.timeout_-(o-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,i),l),!1}handleWheelZoom_(t){const e=t.getView();e.getAnimating()&&e.cancelAnimations();let i=-et(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(e.getConstrainResolution()||this.constrainResolution_)&&(i=i?i>0?1:-1:0),Ar(e,i,this.lastAnchor_?t.getCoordinateFromPixel(this.lastAnchor_):null,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0}setMouseAnchor(t){this.useAnchor_=t,t||(this.lastAnchor_=null)}}class Dc extends on{constructor(t){t=t||{};const e=t;e.stopDown||(e.stopDown=Wn),super(e),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=t.threshold!==void 0?t.threshold:.3,this.duration_=t.duration!==void 0?t.duration:250}handleDragEvent(t){let e=0;const i=this.targetPointers[0],s=this.targetPointers[1],r=Math.atan2(s.clientY-i.clientY,s.clientX-i.clientX);if(this.lastAngle_!==void 0){const l=r-this.lastAngle_;this.rotationDelta_+=l,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=l}this.lastAngle_=r;const o=t.map,a=o.getView();a.getConstraints().rotation!==Tr&&(this.anchor_=o.getCoordinateFromPixelInternal(o.getEventPixel(Mr(this.targetPointers))),this.rotating_&&(o.render(),a.adjustRotationInternal(e,this.anchor_)))}handleUpEvent(t){return this.targetPointers.length<2?(t.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}}class Pc extends on{constructor(t){t=t||{};const e=t;e.stopDown||(e.stopDown=Wn),super(e),this.anchor_=null,this.duration_=t.duration!==void 0?t.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}handleDragEvent(t){let e=1;const i=this.targetPointers[0],s=this.targetPointers[1],r=i.clientX-s.clientX,o=i.clientY-s.clientY,a=Math.sqrt(r*r+o*o);this.lastDistance_!==void 0&&(e=this.lastDistance_/a),this.lastDistance_=a;const l=t.map,c=l.getView();e!=1&&(this.lastScaleDelta_=e),this.anchor_=l.getCoordinateFromPixelInternal(l.getEventPixel(Mr(this.targetPointers))),l.render(),c.adjustResolutionInternal(e,this.anchor_)}handleUpEvent(t){if(this.targetPointers.length<2){const i=t.map.getView(),s=this.lastScaleDelta_>1?1:-1;return i.endInteraction(this.duration_,s),!1}return!0}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}}function Oc(n){n=n||{};const t=new Ht,e=new fc(-.005,.05,100);return(n.altShiftDragRotate!==void 0?n.altShiftDragRotate:!0)&&t.push(new Rc),(n.doubleClickZoom!==void 0?n.doubleClickZoom:!0)&&t.push(new _c({delta:n.zoomDelta,duration:n.zoomDuration})),(n.dragPan!==void 0?n.dragPan:!0)&&t.push(new wc({onFocusOnly:n.onFocusOnly,kinetic:e})),(n.pinchRotate!==void 0?n.pinchRotate:!0)&&t.push(new Dc),(n.pinchZoom!==void 0?n.pinchZoom:!0)&&t.push(new Pc({duration:n.zoomDuration})),(n.keyboard!==void 0?n.keyboard:!0)&&(t.push(new vc),t.push(new Lc({delta:n.zoomDelta,duration:n.zoomDuration}))),(n.mouseWheelZoom!==void 0?n.mouseWheelZoom:!0)&&t.push(new bc({onFocusOnly:n.onFocusOnly,duration:n.zoomDuration})),(n.shiftDragZoom!==void 0?n.shiftDragZoom:!0)&&t.push(new Sc({duration:n.zoomDuration})),t}const $={OPACITY:"opacity",VISIBLE:"visible",EXTENT:"extent",Z_INDEX:"zIndex",MAX_RESOLUTION:"maxResolution",MIN_RESOLUTION:"minResolution",MAX_ZOOM:"maxZoom",MIN_ZOOM:"minZoom",SOURCE:"source",MAP:"map"};class Fa extends $t{constructor(t){super(),this.on,this.once,this.un,this.background_=t.background;const e=Object.assign({},t);typeof t.properties=="object"&&(delete e.properties,Object.assign(e,t.properties)),e[$.OPACITY]=t.opacity!==void 0?t.opacity:1,q(typeof e[$.OPACITY]=="number","Layer opacity must be a number"),e[$.VISIBLE]=t.visible!==void 0?t.visible:!0,e[$.Z_INDEX]=t.zIndex,e[$.MAX_RESOLUTION]=t.maxResolution!==void 0?t.maxResolution:1/0,e[$.MIN_RESOLUTION]=t.minResolution!==void 0?t.minResolution:0,e[$.MIN_ZOOM]=t.minZoom!==void 0?t.minZoom:-1/0,e[$.MAX_ZOOM]=t.maxZoom!==void 0?t.maxZoom:1/0,this.className_=e.className!==void 0?e.className:"ol-layer",delete e.className,this.setProperties(e),this.state_=null}getBackground(){return this.background_}getClassName(){return this.className_}getLayerState(t){const e=this.state_||{layer:this,managed:t===void 0?!0:t},i=this.getZIndex();return e.opacity=et(Math.round(this.getOpacity()*100)/100,0,1),e.visible=this.getVisible(),e.extent=this.getExtent(),e.zIndex=i===void 0&&!e.managed?1/0:i,e.maxResolution=this.getMaxResolution(),e.minResolution=Math.max(this.getMinResolution(),0),e.minZoom=this.getMinZoom(),e.maxZoom=this.getMaxZoom(),this.state_=e,e}getLayersArray(t){return U()}getLayerStatesArray(t){return U()}getExtent(){return this.get($.EXTENT)}getMaxResolution(){return this.get($.MAX_RESOLUTION)}getMinResolution(){return this.get($.MIN_RESOLUTION)}getMinZoom(){return this.get($.MIN_ZOOM)}getMaxZoom(){return this.get($.MAX_ZOOM)}getOpacity(){return this.get($.OPACITY)}getSourceState(){return U()}getVisible(){return this.get($.VISIBLE)}getZIndex(){return this.get($.Z_INDEX)}setBackground(t){this.background_=t,this.changed()}setExtent(t){this.set($.EXTENT,t)}setMaxResolution(t){this.set($.MAX_RESOLUTION,t)}setMinResolution(t){this.set($.MIN_RESOLUTION,t)}setMaxZoom(t){this.set($.MAX_ZOOM,t)}setMinZoom(t){this.set($.MIN_ZOOM,t)}setOpacity(t){q(typeof t=="number","Layer opacity must be a number"),this.set($.OPACITY,t)}setVisible(t){this.set($.VISIBLE,t)}setZIndex(t){this.set($.Z_INDEX,t)}disposeInternal(){this.state_&&(this.state_.layer=null,this.state_=null),super.disposeInternal()}}class Ee extends ce{constructor(t,e){super(t),this.layer=e}}const Cs={LAYERS:"layers"};class xi extends Fa{constructor(t){t=t||{};const e=Object.assign({},t);delete e.layers;let i=t.layers;super(e),this.on,this.once,this.un,this.layersListenerKeys_=[],this.listenerKeys_={},this.addChangeListener(Cs.LAYERS,this.handleLayersChanged_),i?Array.isArray(i)?i=new Ht(i.slice(),{unique:!0}):q(typeof i.getArray=="function","Expected `layers` to be an array or a `Collection`"):i=new Ht(void 0,{unique:!0}),this.setLayers(i)}handleLayerChange_(){this.changed()}handleLayersChanged_(){this.layersListenerKeys_.forEach(tt),this.layersListenerKeys_.length=0;const t=this.getLayers();this.layersListenerKeys_.push(V(t,Et.ADD,this.handleLayersAdd_,this),V(t,Et.REMOVE,this.handleLayersRemove_,this));for(const i in this.listenerKeys_)this.listenerKeys_[i].forEach(tt);en(this.listenerKeys_);const e=t.getArray();for(let i=0,s=e.length;i{this.dispatchEvent("sourceready")},0))),this.changed()}getFeatures(t){return this.renderer_?this.renderer_.getFeatures(t):Promise.resolve([])}getData(t){return!this.renderer_||!this.rendered?null:this.renderer_.getData(t)}isVisible(t){let e;const i=this.getMapInternal();!t&&i&&(t=i.getView()),t instanceof Vt?e={viewState:t.getState(),extent:t.calculateExtent()}:e=t,!e.layerStatesArray&&i&&(e.layerStatesArray=i.getLayerGroup().getLayerStatesArray());let s;if(e.layerStatesArray){if(s=e.layerStatesArray.find(o=>o.layer===this),!s)return!1}else s=this.getLayerState();const r=this.getExtent();return br(s,e.viewState)&&(!r||wt(r,e.extent))}getAttributions(t){if(!this.isVisible(t))return[];const e=this.getSource()?.getAttributions();if(!e)return[];const i=t instanceof Vt?t.getViewStateAndExtent():t;let s=e(i);return Array.isArray(s)||(s=[s]),s}render(t,e){const i=this.getRenderer();return i.prepareFrame(t)?(this.rendered=!0,i.renderFrame(t,e)):null}unrender(){this.rendered=!1}getDeclutter(){}renderDeclutter(t,e){}renderDeferred(t){const e=this.getRenderer();e&&e.renderDeferred(t)}setMapInternal(t){t||this.unrender(),this.set($.MAP,t)}getMapInternal(){return this.get($.MAP)}setMap(t){this.mapPrecomposeKey_&&(tt(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(tt(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=V(t,Ot.PRECOMPOSE,this.handlePrecompose_,this),this.mapRenderKey_=V(this,X.CHANGE,t.render,t),this.changed())}handlePrecompose_(t){const e=t.frameState.layerStatesArray,i=this.getLayerState(!1);q(!e.some(s=>s.layer===i.layer),"A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both."),e.push(i)}setSource(t){this.set($.SOURCE,t)}getRenderer(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_}hasRenderer(){return!!this.renderer_}createRenderer(){return null}clearRenderer(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_)}disposeInternal(){this.clearRenderer(),this.setSource(null),super.disposeInternal()}}function br(n,t){if(!n.visible)return!1;const e=t.resolution;if(e=n.maxResolution)return!1;const i=t.zoom;return i>n.minZoom&&i<=n.maxZoom}function ka(n,t,e=0,i=n.length-1,s=Fc){for(;i>e;){if(i-e>600){const l=i-e+1,c=t-e+1,h=Math.log(l),u=.5*Math.exp(2*h/3),d=.5*Math.sqrt(h*u*(l-u)/l)*(c-l/2<0?-1:1),f=Math.max(e,Math.floor(t-c*u/l+d)),g=Math.min(i,Math.floor(t+(l-c)*u/l+d));ka(n,t,f,g,s)}const r=n[t];let o=e,a=i;for(Li(n,e,t),s(n[i],r)>0&&Li(n,e,i);o0;)a--}s(n[e],r)===0?Li(n,e,a):(a++,Li(n,a,i)),a<=t&&(e=a+1),t<=a&&(i=a-1)}}function Li(n,t,e){const i=n[t];n[t]=n[e],n[e]=i}function Fc(n,t){return nt?1:0}let Na=class{constructor(t=9){this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(this._maxEntries*.4)),this.clear()}all(){return this._all(this.data,[])}search(t){let e=this.data;const i=[];if(!xn(t,e))return i;const s=this.toBBox,r=[];for(;e;){for(let o=0;o=0&&r[e].children.length>this._maxEntries;)this._split(r,e),e--;this._adjustParentBBoxes(s,r,e)}_split(t,e){const i=t[e],s=i.children.length,r=this._minEntries;this._chooseSplitAxis(i,r,s);const o=this._chooseSplitIndex(i,r,s),a=ii(i.children.splice(o,i.children.length-o));a.height=i.height,a.leaf=i.leaf,qe(i,this.toBBox),qe(a,this.toBBox),e?t[e-1].children.push(a):this._splitRoot(i,a)}_splitRoot(t,e){this.data=ii([t,e]),this.data.height=t.height+1,this.data.leaf=!1,qe(this.data,this.toBBox)}_chooseSplitIndex(t,e,i){let s,r=1/0,o=1/0;for(let a=e;a<=i-e;a++){const l=Pi(t,0,a,this.toBBox),c=Pi(t,a,i,this.toBBox),h=Xc(l,c),u=ws(l)+ws(c);h=e;c--){const h=t.children[c];Oi(a,t.leaf?r(h):h),l+=En(a)}return l}_adjustParentBBoxes(t,e,i){for(let s=i;s>=0;s--)Oi(e[s],t)}_condense(t){for(let e=t.length-1,i;e>=0;e--)t[e].children.length===0?e>0?(i=t[e-1].children,i.splice(i.indexOf(t[e]),1)):this.clear():qe(t[e],this.toBBox)}};function kc(n,t,e){if(!e)return t.indexOf(n);for(let i=0;i=n.minX&&t.maxY>=n.minY}function ii(n){return{children:n,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function To(n,t,e,i,s){const r=[t,e];for(;r.length;){if(e=r.pop(),t=r.pop(),e-t<=i)continue;const o=t+Math.ceil((e-t)/i/2)*i;ka(n,o,t,e,s),r.push(t,o,o,e)}}const Dr=[NaN,NaN,NaN,0];let Is;function Wc(){return Is||(Is=ot(1,1,void 0,{willReadFrequently:!0,desynchronized:!0})),Is}const Yc=/^rgba?\(\s*(\d+%?)\s+(\d+%?)\s+(\d+%?)(?:\s*\/\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i,Kc=/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)(?:\s*,\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i,Bc=/^rgba?\(\s*(\d+%)\s*,\s*(\d+%)\s*,\s*(\d+%)(?:\s*,\s*(\d+%|\d*\.\d+|[01]))?\s*\)$/i,Zc=/^#([\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i;function Cn(n,t){return n.endsWith("%")?Number(n.substring(0,n.length-1))/t:Number(n)}function Xi(n){throw new Error('failed to parse "'+n+'" as color')}function Ga(n){if(n.toLowerCase().startsWith("rgb")){const r=n.match(Kc)||n.match(Yc)||n.match(Bc);if(r){const o=r[4],a=100/255;return[et(Cn(r[1],a)+.5|0,0,255),et(Cn(r[2],a)+.5|0,0,255),et(Cn(r[3],a)+.5|0,0,255),o!==void 0?et(Cn(o,100),0,1):1]}Xi(n)}if(n.startsWith("#")){if(Zc.test(n)){const r=n.substring(1),o=r.length<=4?1:2,a=[0,0,0,255];for(let l=0,c=r.length;l.0031308?Math.pow(n,1/2.4)*269.025-14.025:n*3294.6}function vs(n){return n>.2068965?Math.pow(n,3):(n-4/29)*(108/841)}function Ls(n){return n>10.314724?Math.pow((n+14.025)/269.025,2.4):n/3294.6}function As(n){return n>.0088564?Math.pow(n,1/3):n/(108/841)+4/29}function So(n){const t=Ls(n[0]),e=Ls(n[1]),i=Ls(n[2]),s=As(t*.222488403+e*.716873169+i*.06060791),r=500*(As(t*.452247074+e*.399439023+i*.148375274)-s),o=200*(s-As(t*.016863605+e*.117638439+i*.865350722)),a=Math.atan2(o,r)*(180/Math.PI);return[116*s-16,Math.sqrt(r*r+o*o),a<0?a+360:a,n[3]]}function Hc(n){const t=(n[0]+16)/116,e=n[1],i=n[2]*Math.PI/180,s=vs(t),r=vs(t+e/500*Math.cos(i)),o=vs(t-e/200*Math.sin(i)),a=Ss(r*3.021973625-s*1.617392459-o*.404875592),l=Ss(r*-.943766287+s*1.916279586+o*.027607165),c=Ss(r*.069407491-s*.22898585+o*1.159737864);return[et(a+.5|0,0,255),et(l+.5|0,0,255),et(c+.5|0,0,255),n[3]]}function Pr(n){if(n==="none")return Dr;if(Ai.hasOwnProperty(n))return Ai[n];if(Ts>=Vc){let e=0;for(const i in Ai)(e++&3)===0&&(delete Ai[i],--Ts)}const t=Ga(n);t.length!==4&&Xi(n);for(const e of t)isNaN(e)&&Xi(n);return Ai[n]=t,++Ts,t}function _i(n){return Array.isArray(n)?n:Pr(n)}function Or(n){let t=n[0];t!=(t|0)&&(t=t+.5|0);let e=n[1];e!=(e|0)&&(e=e+.5|0);let i=n[2];i!=(i|0)&&(i=i+.5|0);const s=n[3]===void 0?1:Math.round(n[3]*1e3)/1e3;return"rgba("+t+","+e+","+i+","+s+")"}function vo(n){return n[0]>0&&n[1]>0}function qc(n,t,e){return e===void 0&&(e=[0,0]),e[0]=n[0]*t+.5|0,e[1]=n[1]*t+.5|0,e}function It(n,t){return Array.isArray(n)?n:(t===void 0?t=[n,n]:(t[0]=n,t[1]=n),t)}let Ke=0;const pt=1<",GreaterThanOrEqualTo:">=",LessThan:"<",LessThanOrEqualTo:"<=",Multiply:"*",Divide:"/",Add:"+",Subtract:"-",Clamp:"clamp",Mod:"%",Pow:"^",Abs:"abs",Floor:"floor",Ceil:"ceil",Round:"round",Sin:"sin",Cos:"cos",Atan:"atan",Sqrt:"sqrt",Match:"match",Between:"between",Interpolate:"interpolate",Coalesce:"coalesce",Case:"case",In:"in",Number:"number",String:"string",Array:"array",Color:"color",Id:"id",Band:"band",Palette:"palette",ToString:"to-string",Has:"has"},tu={[w.Get]:N(z(1,1/0),Lo),[w.Var]:N(z(1,1),eu),[w.Has]:N(z(1,1/0),Lo),[w.Id]:N(iu,$e),[w.Concat]:N(z(2,1/0),H(xt)),[w.GeometryType]:N(nu,$e),[w.LineMetric]:N($e),[w.Resolution]:N(Ms,$e),[w.Zoom]:N(Ms,$e),[w.Time]:N(Ms,$e),[w.Any]:N(z(2,1/0),H(pt)),[w.All]:N(z(2,1/0),H(pt)),[w.Not]:N(z(1,1),H(pt)),[w.Equal]:N(z(2,2),H(wn)),[w.NotEqual]:N(z(2,2),H(wn)),[w.GreaterThan]:N(z(2,2),H(Z)),[w.GreaterThanOrEqualTo]:N(z(2,2),H(Z)),[w.LessThan]:N(z(2,2),H(Z)),[w.LessThanOrEqualTo]:N(z(2,2),H(Z)),[w.Multiply]:N(z(2,1/0),Ao),[w.Coalesce]:N(z(2,1/0),Ao),[w.Divide]:N(z(2,2),H(Z)),[w.Add]:N(z(2,1/0),H(Z)),[w.Subtract]:N(z(2,2),H(Z)),[w.Clamp]:N(z(3,3),H(Z)),[w.Mod]:N(z(2,2),H(Z)),[w.Pow]:N(z(2,2),H(Z)),[w.Abs]:N(z(1,1),H(Z)),[w.Floor]:N(z(1,1),H(Z)),[w.Ceil]:N(z(1,1),H(Z)),[w.Round]:N(z(1,1),H(Z)),[w.Sin]:N(z(1,1),H(Z)),[w.Cos]:N(z(1,1),H(Z)),[w.Atan]:N(z(1,2),H(Z)),[w.Sqrt]:N(z(1,1),H(Z)),[w.Match]:N(z(4,1/0),Mo,ru),[w.Between]:N(z(3,3),H(Z)),[w.Interpolate]:N(z(6,1/0),Mo,ou),[w.Case]:N(z(3,1/0),su,au),[w.In]:N(z(2,2),lu),[w.Number]:N(z(1,1/0),H(wn)),[w.String]:N(z(1,1/0),H(wn)),[w.Array]:N(z(1,1/0),H(Z)),[w.Color]:N(z(1,4),H(Z)),[w.Band]:N(z(1,3),H(Z)),[w.Palette]:N(z(2,2),hu),[w.ToString]:N(z(1,1),H(pt|Z|xt|Wt))};function Lo(n,t,e){const i=n.length-1,s=new Array(i);for(let r=0;rt){const a=t===1/0?`${n} or more`:`${n} to ${t}`;throw new Error(`expected ${a} arguments for ${r}, got ${o}`)}}}function Ao(n,t,e){const i=n.length-1,s=new Array(i);for(let r=0;ri.featureId;case w.GeometryType:return i=>i.geometryType;case w.Concat:{const i=n.args.map(s=>Kt(s));return s=>"".concat(...i.map(r=>r(s).toString()))}case w.Resolution:return i=>i.resolution;case w.Any:case w.All:case w.Between:case w.In:case w.Not:return gu(n);case w.Equal:case w.NotEqual:case w.LessThan:case w.LessThanOrEqualTo:case w.GreaterThan:case w.GreaterThanOrEqualTo:return fu(n);case w.Multiply:case w.Divide:case w.Add:case w.Subtract:case w.Clamp:case w.Mod:case w.Pow:case w.Abs:case w.Floor:case w.Ceil:case w.Round:case w.Sin:case w.Cos:case w.Atan:case w.Sqrt:return _u(n);case w.Case:return mu(n);case w.Match:return pu(n);case w.Interpolate:return yu(n);case w.ToString:return Eu(n);default:throw new Error(`Unsupported operator ${e}`)}}function uu(n,t){const e=n.operator,i=n.args.length,s=new Array(i);for(let r=0;r{for(let o=0;o{for(let o=0;o{const r=n.args;let o=s.properties[i];for(let a=1,l=r.length;as.variables[i];case w.Has:return s=>{const r=n.args;if(!(i in s.properties))return!1;let o=s.properties[i];for(let a=1,l=r.length;ai(r)===s(r);case w.NotEqual:return r=>i(r)!==s(r);case w.LessThan:return r=>i(r)i(r)<=s(r);case w.GreaterThan:return r=>i(r)>s(r);case w.GreaterThanOrEqualTo:return r=>i(r)>=s(r);default:throw new Error(`Unsupported comparison operator ${e}`)}}function gu(n,t){const e=n.operator,i=n.args.length,s=new Array(i);for(let r=0;r{for(let o=0;o{for(let o=0;o{const o=s[0](r),a=s[1](r),l=s[2](r);return o>=a&&o<=l};case w.In:return r=>{const o=s[0](r);for(let a=1;a!s[0](r);default:throw new Error(`Unsupported logical operator ${e}`)}}function _u(n,t){const e=n.operator,i=n.args.length,s=new Array(i);for(let r=0;r{let o=1;for(let a=0;as[0](r)/s[1](r);case w.Add:return r=>{let o=0;for(let a=0;as[0](r)-s[1](r);case w.Clamp:return r=>{const o=s[0](r),a=s[1](r);if(ol?l:o};case w.Mod:return r=>s[0](r)%s[1](r);case w.Pow:return r=>Math.pow(s[0](r),s[1](r));case w.Abs:return r=>Math.abs(s[0](r));case w.Floor:return r=>Math.floor(s[0](r));case w.Ceil:return r=>Math.ceil(s[0](r));case w.Round:return r=>Math.round(s[0](r));case w.Sin:return r=>Math.sin(s[0](r));case w.Cos:return r=>Math.cos(s[0](r));case w.Atan:return i===2?r=>Math.atan2(s[0](r),s[1](r)):r=>Math.atan(s[0](r));case w.Sqrt:return r=>Math.sqrt(s[0](r));default:throw new Error(`Unsupported numeric operator ${e}`)}}function mu(n,t){const e=n.args.length,i=new Array(e);for(let s=0;s{for(let r=0;r{const r=i[0](s);for(let o=1;o{const r=i[0](s),o=i[1](s);let a,l;for(let c=2;c=o)return c===2?u:d?xu(r,o,a,l,h,u):Gi(r,o,a,l,h,u);a=h,l=u}return l}}function Eu(n,t){const e=n.operator,i=n.args.length,s=new Array(i);for(let r=0;r{const o=s[0](r);return n.args[0].type===Wt?Or(o):o.toString()};default:throw new Error(`Unsupported convert operator ${e}`)}}function Gi(n,t,e,i,s,r){const o=s-e;if(o===0)return i;const a=t-e,l=n===1?a/o:(Math.pow(n,a)-1)/(Math.pow(n,o)-1);return i+l*(r-i)}function xu(n,t,e,i,s,r){if(s-e===0)return i;const a=So(i),l=So(r);let c=l[2]-a[2];c>180?c-=360:c<-180&&(c+=360);const h=[Gi(n,t,e,a[0],s,l[0]),Gi(n,t,e,a[1],s,l[1]),a[2]+Gi(n,t,e,0,s,c),Gi(n,t,e,i[3],s,r[3])];return Hc(h)}const W={IDLE:0,LOADING:1,LOADED:2,ERROR:3};function Cu(n,t,e){const i=n;let s=!0,r=!1,o=!1;const a=[Tn(i,X.LOAD,function(){o=!0,r||t()})];return i.src&&sa?(r=!0,i.decode().then(function(){s&&t()}).catch(function(l){s&&(o?t():e())})):a.push(Tn(i,X.ERROR,e)),function(){s=!1,a.forEach(tt)}}function wu(n,t){return new Promise((e,i)=>{function s(){o(),e(n)}function r(){o(),i(new Error("Image load error"))}function o(){n.removeEventListener("load",s),n.removeEventListener("error",r)}n.addEventListener("load",s),n.addEventListener("error",r)})}function Ru(n,t){return t&&(n.src=t),n.src&&sa?new Promise((e,i)=>n.decode().then(()=>e(n)).catch(s=>n.complete&&n.width?e(n):i(s))):wu(n)}class Iu{constructor(){this.cache_={},this.patternCache_={},this.cacheSize_=0,this.maxCacheSize_=1024}clear(){this.cache_={},this.patternCache_={},this.cacheSize_=0}canExpireCache(){return this.cacheSize_>this.maxCacheSize_}expire(){if(this.canExpireCache()){let t=0;for(const e in this.cache_){const i=this.cache_[e];(t++&3)===0&&!i.hasListener()&&(delete this.cache_[e],delete this.patternCache_[e],--this.cacheSize_)}}}get(t,e,i){const s=bs(t,e,i);return s in this.cache_?this.cache_[s]:null}getPattern(t,e,i){const s=bs(t,e,i);return s in this.patternCache_?this.patternCache_[s]:null}set(t,e,i,s,r){const o=bs(t,e,i),a=o in this.cache_;this.cache_[o]=s,r&&(s.getImageState()===W.IDLE&&s.load(),s.getImageState()===W.LOADING?s.ready().then(()=>{this.patternCache_[o]=Dn().createPattern(s.getImage(1),"repeat")}):this.patternCache_[o]=Dn().createPattern(s.getImage(1),"repeat")),a||++this.cacheSize_}setSize(t){this.maxCacheSize_=t,this.expire()}}function bs(n,t,e){const i=e?_i(e):"null";return t+":"+n+":"+i}const Ft=new Iu;let Mi=null;class Ya extends Yn{constructor(t,e,i,s,r){super(),this.hitDetectionImage_=null,this.image_=t,this.crossOrigin_=i,this.canvas_={},this.color_=r,this.imageState_=s===void 0?W.IDLE:s,this.size_=t&&t.width&&t.height?[t.width,t.height]:null,this.src_=e,this.tainted_,this.ready_=null}initializeImage_(){this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)}isTainted_(){if(this.tainted_===void 0&&this.imageState_===W.LOADED){Mi||(Mi=ot(1,1,void 0,{willReadFrequently:!0})),Mi.drawImage(this.image_,0,0);try{Mi.getImageData(0,0,1,1),this.tainted_=!1}catch{Mi=null,this.tainted_=!0}}return this.tainted_===!0}dispatchChangeEvent_(){this.dispatchEvent(X.CHANGE)}handleImageError_(){this.imageState_=W.ERROR,this.dispatchChangeEvent_()}handleImageLoad_(){this.imageState_=W.LOADED,this.size_=[this.image_.width,this.image_.height],this.dispatchChangeEvent_()}getImage(t){return this.image_||this.initializeImage_(),this.replaceColor_(t),this.canvas_[t]?this.canvas_[t]:this.image_}getPixelRatio(t){return this.replaceColor_(t),this.canvas_[t]?t:1}getImageState(){return this.imageState_}getHitDetectionImage(){if(this.image_||this.initializeImage_(),!this.hitDetectionImage_)if(this.isTainted_()){const t=this.size_[0],e=this.size_[1],i=ot(t,e);i.fillRect(0,0,t,e),this.hitDetectionImage_=i.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_}getSize(){return this.size_}getSrc(){return this.src_}load(){if(this.imageState_===W.IDLE){this.image_||this.initializeImage_(),this.imageState_=W.LOADING;try{this.src_!==void 0&&(this.image_.src=this.src_)}catch{this.handleImageError_()}this.image_ instanceof HTMLImageElement&&Ru(this.image_,this.src_).then(t=>{this.image_=t,this.handleImageLoad_()}).catch(this.handleImageError_.bind(this))}}replaceColor_(t){if(!this.color_||this.canvas_[t]||this.imageState_!==W.LOADED)return;const e=this.image_,i=ot(Math.ceil(e.width*t),Math.ceil(e.height*t)),s=i.canvas;i.scale(t,t),i.drawImage(e,0,0),i.globalCompositeOperation="multiply",i.fillStyle=Uc(this.color_),i.fillRect(0,0,s.width/t,s.height/t),i.globalCompositeOperation="destination-in",i.drawImage(e,0,0),this.canvas_[t]=s}ready(){return this.ready_||(this.ready_=new Promise(t=>{if(this.imageState_===W.LOADED||this.imageState_===W.ERROR)t();else{const e=()=>{(this.imageState_===W.LOADED||this.imageState_===W.ERROR)&&(this.removeEventListener(X.CHANGE,e),t())};this.addEventListener(X.CHANGE,e)}})),this.ready_}}function kr(n,t,e,i,s,r){let o=t===void 0?void 0:Ft.get(t,e,s);return o||(o=new Ya(n,n&&"src"in n?n.src||void 0:t,e,i,s),Ft.set(t,e,s,o,r)),r&&o&&!Ft.getPattern(t,e,s)&&Ft.set(t,e,s,o,r),o}function qt(n){return n?Array.isArray(n)?Or(n):typeof n=="object"&&"src"in n?Tu(n):n:null}function Tu(n){if(!n.offset||!n.size)return Ft.getPattern(n.src,"anonymous",n.color);const t=n.src+":"+n.offset,e=Ft.getPattern(t,void 0,n.color);if(e)return e;const i=Ft.get(n.src,"anonymous",null);if(i.getImageState()!==W.LOADED)return null;const s=ot(n.size[0],n.size[1]);return s.drawImage(i.getImage(1),n.offset[0],n.offset[1],n.size[0],n.size[1],0,0,n.size[0],n.size[1]),kr(s.canvas,t,void 0,W.LOADED,n.color,!0),Ft.getPattern(t,void 0,n.color)}const Ka="10px sans-serif",Ct="#000",mi="round",oe=[],ae=0,pi="round",Hi=10,qi="#000",$i="center",Pn="middle",ke=[0,0,0,0],Ji=1,ni=new $t;let bi=null,bo;const Js={},Su=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","emoji","math","fangsong"]);function vu(n,t,e){return`${n} ${t} 16px "${e}"`}const Lu=function(){let t,e;async function i(r){await e.ready;const o=await e.load(r);if(o.length===0)return!1;const a=qs(r),l=a.families[0].toLowerCase(),c=a.weight;return o.some(h=>{const u=h.family.replace(/^['"]|['"]$/g,"").toLowerCase(),d=Hs[h.weight]||h.weight;return u===l&&h.style===a.style&&d==c})}async function s(){await e.ready;let r=!0;const o=ni.getProperties(),a=Object.keys(o).filter(l=>o[l]<100);for(let l=a.length-1;l>=0;--l){const c=a[l];let h=o[c];h<100&&(await i(c)?(en(Js),ni.set(c,100)):(h+=10,ni.set(c,h,!0),h<100&&(r=!1)))}t=void 0,r||(t=setTimeout(s,100))}return async function(r){e||(e=sr?self.fonts:document.fonts);const o=qs(r);if(!o)return;const a=o.families;let l=!1;for(const c of a){if(Su.has(c))continue;const h=vu(o.style,o.weight,c);ni.get(h)===void 0&&(ni.set(h,0,!0),l=!0)}l&&(clearTimeout(t),t=setTimeout(s,100))}}(),Au=function(){let n;return function(t){let e=Js[t];if(e==null){if(sr){const i=qs(t),s=Ba(t,"Žg");e=(isNaN(Number(i.lineHeight))?1.2:Number(i.lineHeight))*(s.actualBoundingBoxAscent+s.actualBoundingBoxDescent)}else n||(n=document.createElement("div"),n.innerHTML="M",n.style.minHeight="0",n.style.maxHeight="none",n.style.height="auto",n.style.padding="0",n.style.border="none",n.style.position="absolute",n.style.display="block",n.style.left="-99999px"),n.style.font=t,document.body.appendChild(n),e=n.offsetHeight,document.body.removeChild(n);Js[t]=e}return e}}();function Ba(n,t){return bi||(bi=ot(1,1)),n!=bo&&(bi.font=n,bo=bi.font),bi.measureText(t)}function Za(n,t){return Ba(n,t).width}function Do(n,t,e){if(t in e)return e[t];const i=t.split(` `).reduce((s,r)=>Math.max(s,Za(n,r)),0);return e[t]=i,i}function Mu(n,t){const e=[],i=[],s=[];let r=0,o=0,a=0,l=0;for(let c=0,h=t.length;c<=h;c+=2){const u=t[c];if(u===` `||c===h){r=Math.max(r,o),s.push(o),o=0,a+=l,l=0;continue}const d=t[c+1]||n.font,f=Za(d,u);e.push(f),o+=f;const g=Au(d);i.push(g),l=Math.max(l,g)}return{width:r,height:a,widths:e,heights:i,lineWidths:s}}function bu(n,t,e,i,s,r,o,a,l,c,h){n.save(),e!==1&&(n.globalAlpha===void 0?n.globalAlpha=u=>u.globalAlpha*=e:n.globalAlpha*=e),t&&n.transform.apply(n,t),i.contextInstructions?(n.translate(l,c),n.scale(h[0],h[1]),Du(i,n)):h[0]<0||h[1]<0?(n.translate(l,c),n.scale(h[0],h[1]),n.drawImage(i,s,r,o,a,0,0,o,a)):n.drawImage(i,s,r,o,a,l,c,o*h[0],a*h[1]),n.restore()}function Du(n,t){const e=n.contextInstructions;for(let i=0,s=e.length;ithis.imageState_=W.LOADED),this.render()}clone(){const t=this.getScale(),e=new ns({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(t)?t.slice():t,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return e.setOpacity(this.getOpacity()),e}getAnchor(){const t=this.size_,e=this.getDisplacement(),i=this.getScaleArray();return[t[0]/2-e[0]/i[0],t[1]/2+e[1]/i[1]]}getAngle(){return this.angle_}getFill(){return this.fill_}setFill(t){this.fill_=t,this.render()}getHitDetectionImage(){return this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.createHitDetectionCanvas_(this.renderOptions_)),this.hitDetectionCanvas_}getImage(t){const e=this.fill_?.getKey(),i=`${t},${this.angle_},${this.radius},${this.radius2_},${this.points_},${e}`+Object.values(this.renderOptions_).join(",");let s=Ft.get(i,null,null)?.getImage(1);if(!s){const r=this.renderOptions_,o=Math.ceil(r.size*t),a=ot(o,o);this.draw_(r,a,t),s=a.canvas,Ft.set(i,null,null,new Ya(s,void 0,null,W.LOADED,null))}return s}getPixelRatio(t){return t}getImageSize(){return this.size_}getImageState(){return this.imageState_}getOrigin(){return this.origin_}getPoints(){return this.points_}getRadius(){return this.radius}getRadius2(){return this.radius2_}getSize(){return this.size_}getStroke(){return this.stroke_}setStroke(t){this.stroke_=t,this.render()}listenImageChange(t){}load(){}unlistenImageChange(t){}calculateLineJoinSize_(t,e,i){if(e===0||this.points_===1/0||t!=="bevel"&&t!=="miter")return e;let s=this.radius,r=this.radius2_===void 0?s:this.radius2_;if(s{this.patternImage_=null}),e.getImageState()===W.IDLE&&e.load(),e.getImageState()===W.LOADING&&(this.patternImage_=e)}this.color_=t}getKey(){const t=this.getColor();return t?t instanceof CanvasPattern||t instanceof CanvasGradient?j(t):typeof t=="object"&&"src"in t?t.src+":"+t.offset:_i(t).toString():""}loading(){return!!this.patternImage_}ready(){return this.patternImage_?this.patternImage_.ready():Promise.resolve()}}function Po(n,t,e,i){return e!==void 0&&i!==void 0?[e/n,i/t]:e!==void 0?e/n:i!==void 0?i/t:1}class ss extends is{constructor(t){t=t||{};const e=t.opacity!==void 0?t.opacity:1,i=t.rotation!==void 0?t.rotation:0,s=t.scale!==void 0?t.scale:1,r=t.rotateWithView!==void 0?t.rotateWithView:!1;super({opacity:e,rotation:i,scale:s,displacement:t.displacement!==void 0?t.displacement:[0,0],rotateWithView:r,declutterMode:t.declutterMode}),this.anchor_=t.anchor!==void 0?t.anchor:[.5,.5],this.normalizedAnchor_=null,this.anchorOrigin_=t.anchorOrigin!==void 0?t.anchorOrigin:"top-left",this.anchorXUnits_=t.anchorXUnits!==void 0?t.anchorXUnits:"fraction",this.anchorYUnits_=t.anchorYUnits!==void 0?t.anchorYUnits:"fraction",this.crossOrigin_=t.crossOrigin!==void 0?t.crossOrigin:null;const o=t.img!==void 0?t.img:null;let a=t.src;q(!(a!==void 0&&o),"`image` and `src` cannot be provided at the same time"),(a===void 0||a.length===0)&&o&&(a=o.src||j(o)),q(a!==void 0&&a.length>0,"A defined and non-empty `src` or `image` must be provided"),q(!((t.width!==void 0||t.height!==void 0)&&t.scale!==void 0),"`width` or `height` cannot be provided together with `scale`");let l;if(t.src!==void 0?l=W.IDLE:o!==void 0&&("complete"in o?o.complete?l=o.src?W.LOADED:W.IDLE:l=W.LOADING:l=W.LOADED),this.color_=t.color!==void 0?_i(t.color):null,this.iconImage_=kr(o,a,this.crossOrigin_,l,this.color_),this.offset_=t.offset!==void 0?t.offset:[0,0],this.offsetOrigin_=t.offsetOrigin!==void 0?t.offsetOrigin:"top-left",this.origin_=null,this.size_=t.size!==void 0?t.size:null,this.initialOptions_,t.width!==void 0||t.height!==void 0){let c,h;if(t.size)[c,h]=t.size;else{const u=this.getImage(1);if(u.width&&u.height)c=u.width,h=u.height;else if(u instanceof HTMLImageElement){this.initialOptions_=t;const d=()=>{if(this.unlistenImageChange(d),!this.initialOptions_)return;const f=this.iconImage_.getSize();this.setScale(Po(f[0],f[1],t.width,t.height))};this.listenImageChange(d);return}}c!==void 0&&this.setScale(Po(c,h,t.width,t.height))}}clone(){let t,e,i;return this.initialOptions_?(e=this.initialOptions_.width,i=this.initialOptions_.height):(t=this.getScale(),t=Array.isArray(t)?t.slice():t),new ss({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,crossOrigin:this.crossOrigin_,offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,opacity:this.getOpacity(),rotateWithView:this.getRotateWithView(),rotation:this.getRotation(),scale:t,width:e,height:i,size:this.size_!==null?this.size_.slice():void 0,src:this.getSrc(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getAnchor(){let t=this.normalizedAnchor_;if(!t){t=this.anchor_;const s=this.getSize();if(this.anchorXUnits_=="fraction"||this.anchorYUnits_=="fraction"){if(!s)return null;t=this.anchor_.slice(),this.anchorXUnits_=="fraction"&&(t[0]*=s[0]),this.anchorYUnits_=="fraction"&&(t[1]*=s[1])}if(this.anchorOrigin_!="top-left"){if(!s)return null;t===this.anchor_&&(t=this.anchor_.slice()),(this.anchorOrigin_=="top-right"||this.anchorOrigin_=="bottom-right")&&(t[0]=-t[0]+s[0]),(this.anchorOrigin_=="bottom-left"||this.anchorOrigin_=="bottom-right")&&(t[1]=-t[1]+s[1])}this.normalizedAnchor_=t}const e=this.getDisplacement(),i=this.getScaleArray();return[t[0]-e[0]/i[0],t[1]+e[1]/i[1]]}setAnchor(t){this.anchor_=t,this.normalizedAnchor_=null}getColor(){return this.color_}getImage(t){return this.iconImage_.getImage(t)}getPixelRatio(t){return this.iconImage_.getPixelRatio(t)}getImageSize(){return this.iconImage_.getSize()}getImageState(){return this.iconImage_.getImageState()}getHitDetectionImage(){return this.iconImage_.getHitDetectionImage()}getOrigin(){if(this.origin_)return this.origin_;let t=this.offset_;if(this.offsetOrigin_!="top-left"){const e=this.getSize(),i=this.iconImage_.getSize();if(!e||!i)return null;t=t.slice(),(this.offsetOrigin_=="top-right"||this.offsetOrigin_=="bottom-right")&&(t[0]=i[0]-e[0]-t[0]),(this.offsetOrigin_=="bottom-left"||this.offsetOrigin_=="bottom-right")&&(t[1]=i[1]-e[1]-t[1])}return this.origin_=t,this.origin_}getSrc(){return this.iconImage_.getSrc()}getSize(){return this.size_?this.size_:this.iconImage_.getSize()}getWidth(){const t=this.getScaleArray();if(this.size_)return this.size_[0]*t[0];if(this.iconImage_.getImageState()==W.LOADED)return this.iconImage_.getSize()[0]*t[0]}getHeight(){const t=this.getScaleArray();if(this.size_)return this.size_[1]*t[1];if(this.iconImage_.getImageState()==W.LOADED)return this.iconImage_.getSize()[1]*t[1]}setScale(t){delete this.initialOptions_,super.setScale(t)}listenImageChange(t){this.iconImage_.addEventListener(X.CHANGE,t)}load(){this.iconImage_.load()}unlistenImageChange(t){this.iconImage_.removeEventListener(X.CHANGE,t)}ready(){return this.iconImage_.ready()}}class yi{constructor(t){t=t||{},this.color_=t.color!==void 0?t.color:null,this.lineCap_=t.lineCap,this.lineDash_=t.lineDash!==void 0?t.lineDash:null,this.lineDashOffset_=t.lineDashOffset,this.lineJoin_=t.lineJoin,this.miterLimit_=t.miterLimit,this.width_=t.width}clone(){const t=this.getColor();return new yi({color:Array.isArray(t)?t.slice():t||void 0,lineCap:this.getLineCap(),lineDash:this.getLineDash()?this.getLineDash().slice():void 0,lineDashOffset:this.getLineDashOffset(),lineJoin:this.getLineJoin(),miterLimit:this.getMiterLimit(),width:this.getWidth()})}getColor(){return this.color_}getLineCap(){return this.lineCap_}getLineDash(){return this.lineDash_}getLineDashOffset(){return this.lineDashOffset_}getLineJoin(){return this.lineJoin_}getMiterLimit(){return this.miterLimit_}getWidth(){return this.width_}setColor(t){this.color_=t}setLineCap(t){this.lineCap_=t}setLineDash(t){this.lineDash_=t}setLineDashOffset(t){this.lineDashOffset_=t}setLineJoin(t){this.lineJoin_=t}setMiterLimit(t){this.miterLimit_=t}setWidth(t){this.width_=t}}class le{constructor(t){t=t||{},this.geometry_=null,this.geometryFunction_=Oo,t.geometry!==void 0&&this.setGeometry(t.geometry),this.fill_=t.fill!==void 0?t.fill:null,this.image_=t.image!==void 0?t.image:null,this.renderer_=t.renderer!==void 0?t.renderer:null,this.hitDetectionRenderer_=t.hitDetectionRenderer!==void 0?t.hitDetectionRenderer:null,this.stroke_=t.stroke!==void 0?t.stroke:null,this.text_=t.text!==void 0?t.text:null,this.zIndex_=t.zIndex}clone(){let t=this.getGeometry();return t&&typeof t=="object"&&(t=t.clone()),new le({geometry:t??void 0,fill:this.getFill()?this.getFill().clone():void 0,image:this.getImage()?this.getImage().clone():void 0,renderer:this.getRenderer()??void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,text:this.getText()?this.getText().clone():void 0,zIndex:this.getZIndex()})}getRenderer(){return this.renderer_}setRenderer(t){this.renderer_=t}setHitDetectionRenderer(t){this.hitDetectionRenderer_=t}getHitDetectionRenderer(){return this.hitDetectionRenderer_}getGeometry(){return this.geometry_}getGeometryFunction(){return this.geometryFunction_}getFill(){return this.fill_}setFill(t){this.fill_=t}getImage(){return this.image_}setImage(t){this.image_=t}getStroke(){return this.stroke_}setStroke(t){this.stroke_=t}getText(){return this.text_}setText(t){this.text_=t}getZIndex(){return this.zIndex_}setGeometry(t){typeof t=="function"?this.geometryFunction_=t:typeof t=="string"?this.geometryFunction_=function(e){return e.get(t)}:t?t!==void 0&&(this.geometryFunction_=function(){return t}):this.geometryFunction_=Oo,this.geometry_=t}setZIndex(t){this.zIndex_=t}}function Pu(n){let t;if(typeof n=="function")t=n;else{let e;Array.isArray(n)?e=n:(q(typeof n.getZIndex=="function","Expected an `Style` or an array of `Style`"),e=[n]),t=function(){return e}}return t}let Ds=null;function Ua(n,t){if(!Ds){const e=new Ci({color:"rgba(255,255,255,0.4)"}),i=new yi({color:"#3399CC",width:1.25});Ds=[new le({image:new an({fill:e,stroke:i,radius:5}),fill:e,stroke:i})]}return Ds}function Oo(n){return n.getGeometry()}const Ou="#333";class Nr{constructor(t){t=t||{},this.font_=t.font,this.rotation_=t.rotation,this.rotateWithView_=t.rotateWithView,this.keepUpright_=t.keepUpright,this.scale_=t.scale,this.scaleArray_=It(t.scale!==void 0?t.scale:1),this.text_=t.text,this.textAlign_=t.textAlign,this.justify_=t.justify,this.repeat_=t.repeat,this.textBaseline_=t.textBaseline,this.fill_=t.fill!==void 0?t.fill:new Ci({color:Ou}),this.maxAngle_=t.maxAngle!==void 0?t.maxAngle:Math.PI/4,this.placement_=t.placement!==void 0?t.placement:"point",this.overflow_=!!t.overflow,this.stroke_=t.stroke!==void 0?t.stroke:null,this.offsetX_=t.offsetX!==void 0?t.offsetX:0,this.offsetY_=t.offsetY!==void 0?t.offsetY:0,this.backgroundFill_=t.backgroundFill?t.backgroundFill:null,this.backgroundStroke_=t.backgroundStroke?t.backgroundStroke:null,this.padding_=t.padding===void 0?null:t.padding,this.declutterMode_=t.declutterMode}clone(){const t=this.getScale();return new Nr({font:this.getFont(),placement:this.getPlacement(),repeat:this.getRepeat(),maxAngle:this.getMaxAngle(),overflow:this.getOverflow(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),keepUpright:this.getKeepUpright(),scale:Array.isArray(t)?t.slice():t,text:this.getText(),textAlign:this.getTextAlign(),justify:this.getJustify(),textBaseline:this.getTextBaseline(),fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,offsetX:this.getOffsetX(),offsetY:this.getOffsetY(),backgroundFill:this.getBackgroundFill()?this.getBackgroundFill().clone():void 0,backgroundStroke:this.getBackgroundStroke()?this.getBackgroundStroke().clone():void 0,padding:this.getPadding()||void 0,declutterMode:this.getDeclutterMode()})}getOverflow(){return this.overflow_}getFont(){return this.font_}getMaxAngle(){return this.maxAngle_}getPlacement(){return this.placement_}getRepeat(){return this.repeat_}getOffsetX(){return this.offsetX_}getOffsetY(){return this.offsetY_}getFill(){return this.fill_}getRotateWithView(){return this.rotateWithView_}getKeepUpright(){return this.keepUpright_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getStroke(){return this.stroke_}getText(){return this.text_}getTextAlign(){return this.textAlign_}getJustify(){return this.justify_}getTextBaseline(){return this.textBaseline_}getBackgroundFill(){return this.backgroundFill_}getBackgroundStroke(){return this.backgroundStroke_}getPadding(){return this.padding_}getDeclutterMode(){return this.declutterMode_}setOverflow(t){this.overflow_=t}setFont(t){this.font_=t}setMaxAngle(t){this.maxAngle_=t}setOffsetX(t){this.offsetX_=t}setOffsetY(t){this.offsetY_=t}setPlacement(t){this.placement_=t}setRepeat(t){this.repeat_=t}setRotateWithView(t){this.rotateWithView_=t}setKeepUpright(t){this.keepUpright_=t}setFill(t){this.fill_=t}setRotation(t){this.rotation_=t}setScale(t){this.scale_=t,this.scaleArray_=It(t!==void 0?t:1)}setStroke(t){this.stroke_=t}setText(t){this.text_=t}setTextAlign(t){this.textAlign_=t}setJustify(t){this.justify_=t}setTextBaseline(t){this.textBaseline_=t}setBackgroundFill(t){this.backgroundFill_=t}setBackgroundStroke(t){this.backgroundStroke_=t}setPadding(t){this.padding_=t}}function Fu(n){return!0}function ku(n){const t=za(),e=Nu(n,t),i=Wa();return function(s,r){if(i.properties=s.getPropertiesInternal(),i.resolution=r,t.featureId){const o=s.getId();o!==void 0?i.featureId=o:i.featureId=null}return t.geometryType&&(i.geometryType=Xa(s.getGeometry())),e(i)}}function Fo(n){const t=za(),e=n.length,i=new Array(e);for(let o=0;onull;i=Gr(n,t+"fill-color",e)}if(!i)return null;const s=new Ci;return function(r){const o=i(r);return o===Dr?null:(s.setColor(o),s)}}function tn(n,t,e){const i=Rt(n,t+"stroke-width",e),s=Gr(n,t+"stroke-color",e);if(!i&&!s)return null;const r=se(n,t+"stroke-line-cap",e),o=se(n,t+"stroke-line-join",e),a=Va(n,t+"stroke-line-dash",e),l=Rt(n,t+"stroke-line-dash-offset",e),c=Rt(n,t+"stroke-miter-limit",e),h=new yi;return function(u){if(s){const d=s(u);if(d===Dr)return null;h.setColor(d)}if(i&&h.setWidth(i(u)),r){const d=r(u);if(d!=="butt"&&d!=="round"&&d!=="square")throw new Error("Expected butt, round, or square line cap");h.setLineCap(d)}if(o){const d=o(u);if(d!=="bevel"&&d!=="round"&&d!=="miter")throw new Error("Expected bevel, round, or miter line join");h.setLineJoin(d)}return a&&h.setLineDash(a(u)),l&&h.setLineDashOffset(l(u)),c&&h.setMiterLimit(c(u)),h}}function Gu(n,t){const e="text-",i=se(n,e+"value",t);if(!i)return null;const s=Qi(n,e,t),r=Qi(n,e+"background-",t),o=tn(n,e,t),a=tn(n,e+"background-",t),l=se(n,e+"font",t),c=Rt(n,e+"max-angle",t),h=Rt(n,e+"offset-x",t),u=Rt(n,e+"offset-y",t),d=hi(n,e+"overflow",t),f=se(n,e+"placement",t),g=Rt(n,e+"repeat",t),m=rs(n,e+"scale",t),_=hi(n,e+"rotate-with-view",t),p=Rt(n,e+"rotation",t),E=se(n,e+"align",t),C=se(n,e+"justify",t),y=se(n,e+"baseline",t),x=hi(n,e+"keep-upright",t),R=Va(n,e+"padding",t),T=os(n,e+"declutter-mode"),I=new Nr({declutterMode:T});return function(v){if(I.setText(i(v)),s&&I.setFill(s(v)),r&&I.setBackgroundFill(r(v)),o&&I.setStroke(o(v)),a&&I.setBackgroundStroke(a(v)),l&&I.setFont(l(v)),c&&I.setMaxAngle(c(v)),h&&I.setOffsetX(h(v)),u&&I.setOffsetY(u(v)),d&&I.setOverflow(d(v)),f){const L=f(v);if(L!=="point"&&L!=="line")throw new Error("Expected point or line for text-placement");I.setPlacement(L)}if(g&&I.setRepeat(g(v)),m&&I.setScale(m(v)),_&&I.setRotateWithView(_(v)),p&&I.setRotation(p(v)),E){const L=E(v);if(L!=="left"&&L!=="center"&&L!=="right"&&L!=="end"&&L!=="start")throw new Error("Expected left, right, center, start, or end for text-align");I.setTextAlign(L)}if(C){const L=C(v);if(L!=="left"&&L!=="right"&&L!=="center")throw new Error("Expected left, right, or center for text-justify");I.setJustify(L)}if(y){const L=y(v);if(L!=="bottom"&&L!=="top"&&L!=="middle"&&L!=="alphabetic"&&L!=="hanging")throw new Error("Expected bottom, top, middle, alphabetic, or hanging for text-baseline");I.setTextBaseline(L)}return R&&I.setPadding(R(v)),x&&I.setKeepUpright(x(v)),I}}function zu(n,t){return"icon-src"in n?Xu(n,t):"shape-points"in n?Wu(n,t):"circle-radius"in n?Yu(n,t):null}function Xu(n,t){const e="icon-",i=e+"src",s=ja(n[i],i),r=On(n,e+"anchor",t),o=rs(n,e+"scale",t),a=Rt(n,e+"opacity",t),l=On(n,e+"displacement",t),c=Rt(n,e+"rotation",t),h=hi(n,e+"rotate-with-view",t),u=No(n,e+"anchor-origin"),d=Go(n,e+"anchor-x-units"),f=Go(n,e+"anchor-y-units"),g=Vu(n,e+"color"),m=Zu(n,e+"cross-origin"),_=Uu(n,e+"offset"),p=No(n,e+"offset-origin"),E=Fn(n,e+"width"),C=Fn(n,e+"height"),y=Bu(n,e+"size"),x=os(n,e+"declutter-mode"),R=new ss({src:s,anchorOrigin:u,anchorXUnits:d,anchorYUnits:f,color:g,crossOrigin:m,offset:_,offsetOrigin:p,height:C,width:E,size:y,declutterMode:x});return function(T){return a&&R.setOpacity(a(T)),l&&R.setDisplacement(l(T)),c&&R.setRotation(c(T)),h&&R.setRotateWithView(h(T)),o&&R.setScale(o(T)),r&&R.setAnchor(r(T)),R}}function Wu(n,t){const e="shape-",i=e+"points",s=e+"radius",r=tr(n[i],i),o=tr(n[s],s),a=Qi(n,e,t),l=tn(n,e,t),c=rs(n,e+"scale",t),h=On(n,e+"displacement",t),u=Rt(n,e+"rotation",t),d=hi(n,e+"rotate-with-view",t),f=Fn(n,e+"radius2"),g=Fn(n,e+"angle"),m=os(n,e+"declutter-mode"),_=new ns({points:r,radius:o,radius2:f,angle:g,declutterMode:m});return function(p){return a&&_.setFill(a(p)),l&&_.setStroke(l(p)),h&&_.setDisplacement(h(p)),u&&_.setRotation(u(p)),d&&_.setRotateWithView(d(p)),c&&_.setScale(c(p)),_}}function Yu(n,t){const e="circle-",i=Qi(n,e,t),s=tn(n,e,t),r=Rt(n,e+"radius",t),o=rs(n,e+"scale",t),a=On(n,e+"displacement",t),l=Rt(n,e+"rotation",t),c=hi(n,e+"rotate-with-view",t),h=os(n,e+"declutter-mode"),u=new an({radius:5,declutterMode:h});return function(d){return r&&u.setRadius(r(d)),i&&u.setFill(i(d)),s&&u.setStroke(s(d)),a&&u.setDisplacement(a(d)),l&&u.setRotation(l(d)),c&&u.setRotateWithView(c(d)),o&&u.setScale(o(d)),u}}function Rt(n,t,e){if(!(t in n))return;const i=ue(n[t],Z,e);return function(s){return tr(i(s),t)}}function se(n,t,e){if(!(t in n))return null;const i=ue(n[t],xt,e);return function(s){return ja(i(s),t)}}function Ku(n,t,e){const i=se(n,t+"pattern-src",e),s=ko(n,t+"pattern-offset",e),r=ko(n,t+"pattern-size",e),o=Gr(n,t+"color",e);return function(a){return{src:i(a),offset:s&&s(a),size:r&&r(a),color:o&&o(a)}}}function hi(n,t,e){if(!(t in n))return null;const i=ue(n[t],pt,e);return function(s){const r=i(s);if(typeof r!="boolean")throw new Error(`Expected a boolean for ${t}`);return r}}function Gr(n,t,e){if(!(t in n))return null;const i=ue(n[t],Wt,e);return function(s){return Ha(i(s),t)}}function Va(n,t,e){if(!(t in n))return null;const i=ue(n[t],We,e);return function(s){return ln(i(s),t)}}function On(n,t,e){if(!(t in n))return null;const i=ue(n[t],We,e);return function(s){const r=ln(i(s),t);if(r.length!==2)throw new Error(`Expected two numbers for ${t}`);return r}}function ko(n,t,e){if(!(t in n))return null;const i=ue(n[t],We,e);return function(s){return qa(i(s),t)}}function rs(n,t,e){if(!(t in n))return null;const i=ue(n[t],We|Z,e);return function(s){return ju(i(s),t)}}function Fn(n,t){const e=n[t];if(e!==void 0){if(typeof e!="number")throw new Error(`Expected a number for ${t}`);return e}}function Bu(n,t){const e=n[t];if(e!==void 0){if(typeof e=="number")return It(e);if(!Array.isArray(e))throw new Error(`Expected a number or size array for ${t}`);if(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number")throw new Error(`Expected a number or size array for ${t}`);return e}}function Zu(n,t){const e=n[t];if(e!==void 0){if(typeof e!="string")throw new Error(`Expected a string for ${t}`);return e}}function No(n,t){const e=n[t];if(e!==void 0){if(e!=="bottom-left"&&e!=="bottom-right"&&e!=="top-left"&&e!=="top-right")throw new Error(`Expected bottom-left, bottom-right, top-left, or top-right for ${t}`);return e}}function Go(n,t){const e=n[t];if(e!==void 0){if(e!=="pixels"&&e!=="fraction")throw new Error(`Expected pixels or fraction for ${t}`);return e}}function Uu(n,t){const e=n[t];if(e!==void 0)return ln(e,t)}function os(n,t){const e=n[t];if(e!==void 0){if(typeof e!="string")throw new Error(`Expected a string for ${t}`);if(e!=="declutter"&&e!=="obstacle"&&e!=="none")throw new Error(`Expected declutter, obstacle, or none for ${t}`);return e}}function Vu(n,t){const e=n[t];if(e!==void 0)return Ha(e,t)}function ln(n,t){if(!Array.isArray(n))throw new Error(`Expected an array for ${t}`);const e=n.length;for(let i=0;i4)throw new Error(`Expected a color with 3 or 4 values for ${t}`);return e}function qa(n,t){const e=ln(n,t);if(e.length!==2)throw new Error(`Expected an array of two numbers for ${t}`);return e}function ju(n,t){return typeof n=="number"?n:qa(n,t)}const zo={RENDER_ORDER:"renderOrder"};class $a extends es{constructor(t){t=t||{};const e=Object.assign({},t);delete e.style,delete e.renderBuffer,delete e.updateWhileAnimating,delete e.updateWhileInteracting,super(e),this.declutter_=t.declutter?String(t.declutter):void 0,this.renderBuffer_=t.renderBuffer!==void 0?t.renderBuffer:100,this.style_=null,this.styleFunction_=void 0,this.setStyle(t.style),this.updateWhileAnimating_=t.updateWhileAnimating!==void 0?t.updateWhileAnimating:!1,this.updateWhileInteracting_=t.updateWhileInteracting!==void 0?t.updateWhileInteracting:!1}getDeclutter(){return this.declutter_}getFeatures(t){return super.getFeatures(t)}getRenderBuffer(){return this.renderBuffer_}getRenderOrder(){return this.get(zo.RENDER_ORDER)}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}getUpdateWhileAnimating(){return this.updateWhileAnimating_}getUpdateWhileInteracting(){return this.updateWhileInteracting_}renderDeclutter(t,e){const i=this.getDeclutter();i in t.declutter||(t.declutter[i]=new Na(9)),this.getRenderer().renderDeclutter(t,e)}setRenderOrder(t){this.set(zo.RENDER_ORDER,t)}setStyle(t){this.style_=t===void 0?Ua:t;const e=Hu(t);this.styleFunction_=t===null?void 0:Pu(e),this.changed()}setDeclutter(t){this.declutter_=t?String(t):void 0,this.changed()}}function Hu(n){if(n===void 0)return Ua;if(!n)return null;if(typeof n=="function"||n instanceof le)return n;if(!Array.isArray(n))return Fo([n]);if(n.length===0)return[];const t=n.length,e=n[0];if(e instanceof le){const s=new Array(t);for(let r=0;r=0;--x){const R=m[x],T=R.layer;if(T.hasRenderer()&&br(R,h)&&a.call(l,T)){const I=T.getRenderer(),v=T.getSource();if(I&&v){const L=v.getWrapX()?f:t,k=u.bind(null,R.managed);E[0]=L[0]+g[y][0],E[1]=L[1]+g[y][1],c=I.forEachFeatureAtCoordinate(E,e,i,k,p)}if(c)return c}}if(p.length===0)return;const C=1/p.length;return p.forEach((y,x)=>y.distanceSq+=x*C),p.sort((y,x)=>y.distanceSq-x.distanceSq),p.some(y=>c=y.callback(y.feature,y.layer,y.geometry)),c}hasFeatureAtCoordinate(t,e,i,s,r,o){return this.forEachFeatureAtCoordinate(t,e,i,s,Yi,this,r,o)!==void 0}getMap(){return this.map_}renderFrame(t){U()}scheduleExpireIconCache(t){Ft.canExpireCache()&&t.postRenderFunctions.push($u)}}function $u(n,t){Ft.expire()}class Ju extends qu{constructor(t){super(t),this.fontChangeListenerKey_=V(ni,ui.PROPERTYCHANGE,t.redrawText,t),this.element_=document.createElement("div");const e=this.element_.style;e.position="absolute",e.width="100%",e.height="100%",e.zIndex="0",this.element_.className=Qn+" ol-layers";const i=t.getViewport();i.insertBefore(this.element_,i.firstChild||null),this.children_=[],this.renderedVisible_=!0}dispatchRenderEvent(t,e){const i=this.getMap();if(i.hasListener(t)){const s=new Ja(t,void 0,e);i.dispatchEvent(s)}}disposeInternal(){tt(this.fontChangeListenerKey_),this.element_.remove(),super.disposeInternal()}renderFrame(t){if(!t){this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1);return}this.calculateMatrices2D(t),this.dispatchRenderEvent(Ot.PRECOMPOSE,t);const e=t.layerStatesArray.sort((a,l)=>a.zIndex-l.zIndex);e.some(a=>a.layer instanceof $a&&a.layer.getDeclutter())&&(t.declutter={});const s=t.viewState;this.children_.length=0;const r=[];let o=null;for(let a=0,l=e.length;a=0;--i){const s=e[i],r=s.layer;r.getDeclutter()&&r.renderDeclutter(t,s)}e.forEach(i=>i.layer.renderDeferred(t))}}}function Qa(n){if(n instanceof es){n.setMapInternal(null);return}n instanceof xi&&n.getLayers().forEach(Qa)}function tl(n,t){if(n instanceof es){n.setMapInternal(t);return}if(n instanceof xi){const e=n.getLayers().getArray();for(let i=0,s=e.length;ithis.updateSize()),this.controls=e.controls||dc(),this.interactions=e.interactions||Oc({onFocusOnly:!0}),this.overlays_=e.overlays,this.overlayIdIndex_={},this.renderer_=null,this.postRenderFunctions_=[],this.tileQueue_=new Nl(this.getTilePriority.bind(this),this.handleTileChange_.bind(this)),this.addChangeListener(ft.LAYERGROUP,this.handleLayerGroupChanged_),this.addChangeListener(ft.VIEW,this.handleViewChanged_),this.addChangeListener(ft.SIZE,this.handleSizeChanged_),this.addChangeListener(ft.TARGET,this.handleTargetChanged_),this.setProperties(e.values);const i=this;t.view&&!(t.view instanceof Vt)&&t.view.then(function(s){i.setView(new Vt(s))}),this.controls.addEventListener(Et.ADD,s=>{s.element.setMap(this)}),this.controls.addEventListener(Et.REMOVE,s=>{s.element.setMap(null)}),this.interactions.addEventListener(Et.ADD,s=>{s.element.setMap(this)}),this.interactions.addEventListener(Et.REMOVE,s=>{s.element.setMap(null)}),this.overlays_.addEventListener(Et.ADD,s=>{this.addOverlayInternal_(s.element)}),this.overlays_.addEventListener(Et.REMOVE,s=>{const r=s.element.getId();r!==void 0&&delete this.overlayIdIndex_[r.toString()],s.element.setMap(null)}),this.controls.forEach(s=>{s.setMap(this)}),this.interactions.forEach(s=>{s.setMap(this)}),this.overlays_.forEach(this.addOverlayInternal_.bind(this))}addControl(t){this.getControls().push(t)}addInteraction(t){this.getInteractions().push(t)}addLayer(t){this.getLayerGroup().getLayers().push(t)}handleLayerAdd_(t){tl(t.layer,this)}addOverlay(t){this.getOverlays().push(t)}addOverlayInternal_(t){const e=t.getId();e!==void 0&&(this.overlayIdIndex_[e.toString()]=t),t.setMap(this)}disposeInternal(){this.controls.clear(),this.interactions.clear(),this.overlays_.clear(),this.resizeObserver_.disconnect(),this.setTarget(null),super.disposeInternal()}forEachFeatureAtPixel(t,e,i){if(!this.frameState_||!this.renderer_)return;const s=this.getCoordinateFromPixelInternal(t);i=i!==void 0?i:{};const r=i.hitTolerance!==void 0?i.hitTolerance:0,o=i.layerFilter!==void 0?i.layerFilter:Yi,a=i.checkWrapped!==!1;return this.renderer_.forEachFeatureAtCoordinate(s,this.frameState_,r,a,e,null,o,null)}getFeaturesAtPixel(t,e){const i=[];return this.forEachFeatureAtPixel(t,function(s){i.push(s)},e),i}getAllLayers(){const t=[];function e(i){i.forEach(function(s){s instanceof xi?e(s.getLayers()):t.push(s)})}return e(this.getLayers()),t}hasFeatureAtPixel(t,e){if(!this.frameState_||!this.renderer_)return!1;const i=this.getCoordinateFromPixelInternal(t);e=e!==void 0?e:{};const s=e.layerFilter!==void 0?e.layerFilter:Yi,r=e.hitTolerance!==void 0?e.hitTolerance:0,o=e.checkWrapped!==!1;return this.renderer_.hasFeatureAtCoordinate(i,this.frameState_,r,o,s,null)}getEventCoordinate(t){return this.getCoordinateFromPixel(this.getEventPixel(t))}getEventCoordinateInternal(t){return this.getCoordinateFromPixelInternal(this.getEventPixel(t))}getEventPixel(t){const i=this.viewport_.getBoundingClientRect(),s=this.getSize(),r=i.width/s[0],o=i.height/s[1],a="changedTouches"in t?t.changedTouches[0]:t;return[(a.clientX-i.left)/r,(a.clientY-i.top)/o]}getTarget(){return this.get(ft.TARGET)}getTargetElement(){return this.targetElement_}getCoordinateFromPixel(t){return js(this.getCoordinateFromPixelInternal(t),this.getView().getProjection())}getCoordinateFromPixelInternal(t){const e=this.frameState_;return e?ht(e.pixelToCoordinateTransform,t.slice()):null}getControls(){return this.controls}getOverlays(){return this.overlays_}getOverlayById(t){const e=this.overlayIdIndex_[t.toString()];return e!==void 0?e:null}getInteractions(){return this.interactions}getLayerGroup(){return this.get(ft.LAYERGROUP)}setLayers(t){const e=this.getLayerGroup();if(t instanceof Ht){e.setLayers(t);return}const i=e.getLayers();i.clear(),i.extend(t)}getLayers(){return this.getLayerGroup().getLayers()}getLoadingOrNotReady(){const t=this.getLayerGroup().getLayerStatesArray();for(let e=0,i=t.length;e=0;r--){const o=s[r];if(o.getMap()!==this||!o.getActive()||!this.getTargetElement())continue;if(!o.handleEvent(t)||t.propagationStopped)break}}}handlePostRender(){const t=this.frameState_,e=this.tileQueue_;if(!e.isEmpty()){let s=this.maxTilesLoading_,r=s;if(t){const o=t.viewHints;if(o[gt.ANIMATING]||o[gt.INTERACTING]){const a=Date.now()-t.time>8;s=a?0:8,r=a?0:2}}e.getTilesLoading(){this.postRenderTimeoutHandle_=void 0,this.handlePostRender()},0))}setLayerGroup(t){const e=this.getLayerGroup();e&&this.handleLayerRemove_(new Ee("removelayer",e)),this.set(ft.LAYERGROUP,t)}setSize(t){this.set(ft.SIZE,t)}setTarget(t){this.set(ft.TARGET,t)}setView(t){if(!t||t instanceof Vt){this.set(ft.VIEW,t);return}this.set(ft.VIEW,new Vt);const e=this;t.then(function(i){e.setView(new Vt(i))})}updateSize(){const t=this.getTargetElement();let e;if(t){const s=getComputedStyle(t),r=t.offsetWidth-parseFloat(s.borderLeftWidth)-parseFloat(s.paddingLeft)-parseFloat(s.paddingRight)-parseFloat(s.borderRightWidth),o=t.offsetHeight-parseFloat(s.borderTopWidth)-parseFloat(s.paddingTop)-parseFloat(s.paddingBottom)-parseFloat(s.borderBottomWidth);!isNaN(r)&&!isNaN(o)&&(e=[Math.max(0,r),Math.max(0,o)],!vo(e)&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)&&ma("No map visible because the map container's width or height are 0."))}const i=this.getSize();e&&(!i||!Te(e,i))&&(this.setSize(e),this.updateViewportSize_(e))}updateViewportSize_(t){const e=this.getView();e&&e.setViewportSize(t)}}function td(n){let t=null;n.keyboardEventTarget!==void 0&&(t=typeof n.keyboardEventTarget=="string"?document.getElementById(n.keyboardEventTarget):n.keyboardEventTarget);const e={},i=n.layers&&typeof n.layers.getLayers=="function"?n.layers:new xi({layers:n.layers});e[ft.LAYERGROUP]=i,e[ft.TARGET]=n.target,e[ft.VIEW]=n.view instanceof Vt?n.view:new Vt;let s;n.controls!==void 0&&(Array.isArray(n.controls)?s=new Ht(n.controls.slice()):(q(typeof n.controls.getArray=="function","Expected `controls` to be an array or an `ol/Collection.js`"),s=n.controls));let r;n.interactions!==void 0&&(Array.isArray(n.interactions)?r=new Ht(n.interactions.slice()):(q(typeof n.interactions.getArray=="function","Expected `interactions` to be an array or an `ol/Collection.js`"),r=n.interactions));let o;return n.overlays!==void 0?Array.isArray(n.overlays)?o=new Ht(n.overlays.slice()):(q(typeof n.overlays.getArray=="function","Expected `overlays` to be an array or an `ol/Collection.js`"),o=n.overlays):o=new Ht,{controls:s,interactions:r,keyboardEventTarget:t,overlays:o,values:e}}class zr{constructor(t,e,i,s){this.minX=t,this.maxX=e,this.minY=i,this.maxY=s}contains(t){return this.containsXY(t[1],t[2])}containsTileRange(t){return this.minX<=t.minX&&t.maxX<=this.maxX&&this.minY<=t.minY&&t.maxY<=this.maxY}containsXY(t,e){return this.minX<=t&&t<=this.maxX&&this.minY<=e&&e<=this.maxY}equals(t){return this.minX==t.minX&&this.minY==t.minY&&this.maxX==t.maxX&&this.maxY==t.maxY}extend(t){t.minXthis.maxX&&(this.maxX=t.maxX),t.minYthis.maxY&&(this.maxY=t.maxY)}getHeight(){return this.maxY-this.minY+1}getSize(){return[this.getWidth(),this.getHeight()]}getWidth(){return this.maxX-this.minX+1}intersects(t){return this.minX<=t.maxX&&this.maxX>=t.minX&&this.minY<=t.maxY&&this.maxY>=t.minY}}function Je(n,t,e,i,s){return s!==void 0?(s.minX=n,s.maxX=t,s.minY=e,s.maxY=i,s):new zr(n,t,e,i)}function kn(n,t,e,i){return i!==void 0?(i[0]=n,i[1]=t,i[2]=e,i):[n,t,e]}function ed(n,t,e){return n+"/"+t+"/"+e}function id(n){return nd(n[0],n[1],n[2])}function nd(n,t,e){return(t<e||e>t.getMaxZoom())return!1;const r=t.getFullTileRange(e);return r?r.containsXY(i,s):!0}const Qe=[0,0,0],fe=5;class el{constructor(t){this.minZoom=t.minZoom!==void 0?t.minZoom:0,this.resolutions_=t.resolutions,q(Ll(this.resolutions_,(s,r)=>r-s),"`resolutions` must be sorted in descending order");let e;if(!t.origins){for(let s=0,r=this.resolutions_.length-1;s{const o=new zr(Math.min(0,s[0]),Math.max(s[0]-1,-1),Math.min(0,s[1]),Math.max(s[1]-1,-1));if(i){const a=this.getTileRangeForExtentAndZ(i,r);o.minX=Math.max(a.minX,o.minX),o.maxX=Math.min(a.maxX,o.maxX),o.minY=Math.max(a.minY,o.minY),o.maxY=Math.min(a.maxY,o.maxY)}return o}):i&&this.calculateTileRanges_(i)}forEachTileCoord(t,e,i){const s=this.getTileRangeForExtentAndZ(t,e);for(let r=s.minX,o=s.maxX;r<=o;++r)for(let a=s.minY,l=s.maxY;a<=l;++a)i([e,r,a])}forEachTileCoordParentTileRange(t,e,i,s){let r,o,a,l=null,c=t[0]-1;for(this.zoomFactor_===2?(o=t[1],a=t[2]):l=this.getTileCoordExtent(t,s);c>=this.minZoom;){if(o!==void 0&&a!==void 0?(o=Math.floor(o/2),a=Math.floor(a/2),r=Je(o,o,a,a,i)):r=this.getTileRangeForExtentAndZ(l,c,i),e(c,r))return!0;--c}return!1}getExtent(){return this.extent_}getMaxZoom(){return this.maxZoom}getMinZoom(){return this.minZoom}getOrigin(t){return this.origin_?this.origin_:this.origins_[t]}getResolution(t){return this.resolutions_[t]}getResolutions(){return this.resolutions_}getTileCoordChildTileRange(t,e,i){if(t[0]this.maxZoom||e0?i:Math.max(r/e[0],s/e[1]);const o=t+1,a=new Array(o);for(let l=0;lt)throw new Error("Tile load sequence violation");this.state=t,this.changed()}}load(){U()}getAlpha(t,e){if(!this.transition_)return 1;let i=this.transitionStarts_[t];if(!i)i=e,this.transitionStarts_[t]=i;else if(i===-1)return 1;const s=e-i+1e3/60;return s>=this.transition_?1:_a(s/this.transition_)}inTransition(t){return this.transition_?this.transitionStarts_[t]!==-1:!1}endTransition(t){this.transition_&&(this.transitionStarts_[t]=-1)}disposeInternal(){this.release(),super.disposeInternal()}}class sl extends Wr{constructor(t,e,i,s,r,o){super(t,e,o),this.crossOrigin_=s,this.src_=i,this.key=i,this.image_=new Image,s!==null&&(this.image_.crossOrigin=s),this.unlisten_=null,this.tileLoadFunction_=r}getImage(){return this.image_}setImage(t){this.image_=t,this.state=P.LOADED,this.unlistenImage_(),this.changed()}handleImageError_(){this.state=P.ERROR,this.unlistenImage_(),this.image_=hd(),this.changed()}handleImageLoad_(){const t=this.image_;t.naturalWidth&&t.naturalHeight?this.state=P.LOADED:this.state=P.EMPTY,this.unlistenImage_(),this.changed()}load(){this.state==P.ERROR&&(this.state=P.IDLE,this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==P.IDLE&&(this.state=P.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=Cu(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}disposeInternal(){this.unlistenImage_(),this.image_=null,super.disposeInternal()}}function hd(){const n=ot(1,1);return n.fillStyle="rgba(0,0,0,0)",n.fillRect(0,0,1,1),n.canvas}let Ps;const ci=[];function Xo(n,t,e,i,s){n.beginPath(),n.moveTo(0,0),n.lineTo(t,e),n.lineTo(i,s),n.closePath(),n.save(),n.clip(),n.fillRect(0,0,Math.max(t,i)+1,Math.max(e,s)),n.restore()}function Os(n,t){return Math.abs(n[t*4]-210)>2||Math.abs(n[t*4+3]-.75*255)>2}function cd(){if(Ps===void 0){const n=ot(6,6,ci);n.globalCompositeOperation="lighter",n.fillStyle="rgba(210, 0, 0, 0.75)",Xo(n,4,5,4,0),Xo(n,4,5,0,5);const t=n.getImageData(0,0,3,3).data;Ps=Os(t,0)||Os(t,4)||Os(t,8),ts(n),ci.push(n.canvas)}return Ps}function Wo(n,t,e,i){const s=mr(e,t,n);let r=ho(t,i,e);const o=t.getMetersPerUnit();o!==void 0&&(r*=o);const a=n.getMetersPerUnit();a!==void 0&&(r/=a);const l=n.getExtent();if(!l||fi(l,s)){const c=ho(n,r,s)/r;isFinite(c)&&c>0&&(r/=c)}return r}function ud(n,t,e,i){const s=Xe(e);let r=Wo(n,t,s,i);return(!isFinite(r)||r<=0)&&ca(e,function(o){return r=Wo(n,t,o,i),isFinite(r)&&r>0}),r}function dd(n,t,e,i,s,r,o,a,l,c,h,u,d,f){const g=ot(Math.round(e*n),Math.round(e*t),ci);if(u||(g.imageSmoothingEnabled=!1),l.length===0)return g.canvas;g.scale(e,e);function m(x){return Math.round(x*e)/e}g.globalCompositeOperation="lighter";const _=Nt();l.forEach(function(x,R,T){Yl(_,x.extent)});let p;const E=e/i,C=(u?1:1+Math.pow(2,-24))/E;p=ot(Math.round(J(_)*E),Math.round(yt(_)*E),ci),u||(p.imageSmoothingEnabled=!1),l.forEach(function(x,R,T){if(x.image.width>0&&x.image.height>0){if(x.clipExtent){p.save();const b=(x.clipExtent[0]-_[0])*E,A=-(x.clipExtent[3]-_[3])*E,M=J(x.clipExtent)*E,Y=yt(x.clipExtent)*E;p.rect(u?b:Math.round(b),u?A:Math.round(A),u?M:Math.round(b+M)-Math.round(b),u?Y:Math.round(A+Y)-Math.round(A)),p.clip()}const I=(x.extent[0]-_[0])*E,v=-(x.extent[3]-_[3])*E,L=J(x.extent)*E,k=yt(x.extent)*E;p.drawImage(x.image,c,c,x.image.width-2*c,x.image.height-2*c,u?I:Math.round(I),u?v:Math.round(v),u?L:Math.round(I+L)-Math.round(I),u?k:Math.round(v+k)-Math.round(v)),x.clipExtent&&p.restore()}});const y=Ye(o);return a.getTriangles().forEach(function(x,R,T){const I=x.source,v=x.target;let L=I[0][0],k=I[0][1],b=I[1][0],A=I[1][1],M=I[2][0],Y=I[2][1];const F=m((v[0][0]-y[0])/r),G=m(-(v[0][1]-y[1])/r),O=m((v[1][0]-y[0])/r),K=m(-(v[1][1]-y[1])/r),B=m((v[2][0]-y[0])/r),Q=m(-(v[2][1]-y[1])/r),S=L,ut=k;L=0,k=0,b-=S,A-=ut,M-=S,Y-=ut;const _t=[[b,A,0,0,O-F],[M,Y,0,0,B-F],[0,0,b,A,K-G],[0,0,M,Y,Q-G]],st=Xl(_t);if(!st)return;if(g.save(),g.beginPath(),cd()||!u){g.moveTo(O,K);const dt=4,Bt=F-O,Gt=G-K;for(let vt=0;vtht(a,mr(C,this.targetProj_,this.sourceProj_))):Mn(this.targetProj_,this.sourceProj_);this.transformInv_=function(C){const y=C[0]+"/"+C[1];return l[y]||(l[y]=c(C)),l[y]},this.maxSourceExtent_=s,this.errorThresholdSquared_=r*r,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!s&&!!this.sourceProj_.getExtent()&&J(s)>=J(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?J(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?J(this.targetProj_.getExtent()):null;const h=Ye(i),u=Vn(i),d=Un(i),f=Zn(i),g=this.transformInv_(h),m=this.transformInv_(u),_=this.transformInv_(d),p=this.transformInv_(f),E=fd+(o?Math.max(0,Math.ceil(Math.log2(Ks(i)/(o*o*256*256)))):0);if(this.addQuad_(h,u,d,f,g,m,_,p,E),this.wrapsXInSource_){let C=1/0;this.triangles_.forEach(function(y,x,R){C=Math.min(C,y.source[0][0],y.source[1][0],y.source[2][0])}),this.triangles_.forEach(y=>{if(Math.max(y.source[0][0],y.source[1][0],y.source[2][0])-C>this.sourceWorldWidth_/2){const x=[[y.source[0][0],y.source[0][1]],[y.source[1][0],y.source[1][1]],[y.source[2][0],y.source[2][1]]];x[0][0]-C>this.sourceWorldWidth_/2&&(x[0][0]-=this.sourceWorldWidth_),x[1][0]-C>this.sourceWorldWidth_/2&&(x[1][0]-=this.sourceWorldWidth_),x[2][0]-C>this.sourceWorldWidth_/2&&(x[2][0]-=this.sourceWorldWidth_);const R=Math.min(x[0][0],x[1][0],x[2][0]);Math.max(x[0][0],x[1][0],x[2][0])-R.5&&u<1;let g=!1;if(c>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){const _=to([t,e,i,s]);g=J(_)/this.targetWorldWidth_>Yo||g}!f&&this.sourceProj_.isGlobal()&&u&&(g=u>Yo||g)}if(!g&&this.maxSourceExtent_&&isFinite(h[0])&&isFinite(h[1])&&isFinite(h[2])&&isFinite(h[3])&&!wt(h,this.maxSourceExtent_))return;let m=0;if(!g&&(!isFinite(r[0])||!isFinite(r[1])||!isFinite(o[0])||!isFinite(o[1])||!isFinite(a[0])||!isFinite(a[1])||!isFinite(l[0])||!isFinite(l[1]))){if(c>0)g=!0;else if(m=(!isFinite(r[0])||!isFinite(r[1])?8:0)+(!isFinite(o[0])||!isFinite(o[1])?4:0)+(!isFinite(a[0])||!isFinite(a[1])?2:0)+(!isFinite(l[0])||!isFinite(l[1])?1:0),m!=1&&m!=2&&m!=4&&m!=8)return}if(c>0){if(!g){const _=[(t[0]+i[0])/2,(t[1]+i[1])/2],p=this.transformInv_(_);let E;f?E=(ai(r[0],d)+ai(a[0],d))/2-ai(p[0],d):E=(r[0]+a[0])/2-p[0];const C=(r[1]+a[1])/2-p[1];g=E*E+C*C>this.errorThresholdSquared_}if(g){if(Math.abs(t[0]-i[0])<=Math.abs(t[1]-i[1])){const _=[(e[0]+i[0])/2,(e[1]+i[1])/2],p=this.transformInv_(_),E=[(s[0]+t[0])/2,(s[1]+t[1])/2],C=this.transformInv_(E);this.addQuad_(t,e,_,E,r,o,p,C,c-1),this.addQuad_(E,_,i,s,C,p,a,l,c-1)}else{const _=[(t[0]+e[0])/2,(t[1]+e[1])/2],p=this.transformInv_(_),E=[(i[0]+s[0])/2,(i[1]+s[1])/2],C=this.transformInv_(E);this.addQuad_(t,_,E,s,r,p,C,l,c-1),this.addQuad_(_,e,i,E,p,o,a,C,c-1)}return}}if(f){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}(m&11)==0&&this.addTriangle_(t,i,s,r,a,l),(m&14)==0&&this.addTriangle_(t,i,e,r,a,o),m&&((m&13)==0&&this.addTriangle_(e,s,t,o,l,r),(m&7)==0&&this.addTriangle_(e,s,i,o,l,a))}calculateSourceExtent(){const t=Nt();return this.triangles_.forEach(function(e,i,s){const r=e.source;zi(t,r[0]),zi(t,r[1]),zi(t,r[2])}),t}getTriangles(){return this.triangles_}}const _d=.5;class rl extends Wr{constructor(t,e,i,s,r,o,a,l,c,h,u,d){super(r,P.IDLE,d),this.renderEdges_=u!==void 0?u:!1,this.pixelRatio_=a,this.gutter_=l,this.canvas_=null,this.sourceTileGrid_=e,this.targetTileGrid_=s,this.wrappedTileCoord_=o||r,this.sourceTiles_=[],this.sourcesListenerKeys_=null,this.sourceZ_=0,this.clipExtent_=t.canWrapX()?t.getExtent():void 0;const f=s.getTileCoordExtent(this.wrappedTileCoord_),g=this.targetTileGrid_.getExtent();let m=this.sourceTileGrid_.getExtent();const _=g?Ge(f,g):f;if(Ks(_)===0){this.state=P.EMPTY;return}const p=t.getExtent();p&&(m?m=Ge(m,p):m=p);const E=s.getResolution(this.wrappedTileCoord_[0]),C=ud(t,i,_,E);if(!isFinite(C)||C<=0){this.state=P.EMPTY;return}const y=h!==void 0?h:_d;if(this.triangulation_=new gd(t,i,_,m,C*y,E),this.triangulation_.getTriangles().length===0){this.state=P.EMPTY;return}this.sourceZ_=e.getZForResolution(C);let x=this.triangulation_.calculateSourceExtent();if(m&&(t.canWrapX()?(x[1]=et(x[1],m[1],m[3]),x[3]=et(x[3],m[1],m[3])):x=Ge(x,m)),!Ks(x))this.state=P.EMPTY;else{let R=0,T=0;t.canWrapX()&&(R=J(p),T=Math.floor((x[0]-p[0])/R)),fa(x.slice(),t,!0).forEach(v=>{const L=e.getTileRangeForExtentAndZ(v,this.sourceZ_);for(let k=L.minX;k<=L.maxX;k++)for(let b=L.minY;b<=L.maxY;b++){const A=c(this.sourceZ_,k,b,a);if(A){const M=T*R;this.sourceTiles_.push({tile:A,offset:M})}}++T}),this.sourceTiles_.length===0&&(this.state=P.EMPTY)}}getImage(){return this.canvas_}reproject_(){const t=[];if(this.sourceTiles_.forEach(e=>{const i=e.tile;if(i&&i.getState()==P.LOADED){const s=this.sourceTileGrid_.getTileCoordExtent(i.tileCoord);s[0]+=e.offset,s[2]+=e.offset;const r=this.clipExtent_?.slice();r&&(r[0]+=e.offset,r[2]+=e.offset),t.push({extent:s,clipExtent:r,image:i.getImage()})}}),this.sourceTiles_.length=0,t.length===0)this.state=P.ERROR;else{const e=this.wrappedTileCoord_[0],i=this.targetTileGrid_.getTileSize(e),s=typeof i=="number"?i:i[0],r=typeof i=="number"?i:i[1],o=this.targetTileGrid_.getResolution(e),a=this.sourceTileGrid_.getResolution(this.sourceZ_),l=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=dd(s,r,this.pixelRatio_,a,this.sourceTileGrid_.getExtent(),o,l,this.triangulation_,t,this.gutter_,this.renderEdges_,this.interpolate),this.state=P.LOADED}this.changed()}load(){if(this.state==P.IDLE){this.state=P.LOADING,this.changed();let t=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(({tile:e})=>{const i=e.getState();if(i==P.IDLE||i==P.LOADING){t++;const s=V(e,X.CHANGE,r=>{const o=e.getState();(o==P.LOADED||o==P.ERROR||o==P.EMPTY)&&(tt(s),t--,t===0&&(this.unlistenSources_(),this.reproject_()))});this.sourcesListenerKeys_.push(s)}}),t===0?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach(function({tile:e},i,s){e.getState()==P.IDLE&&e.load()})}}unlistenSources_(){this.sourcesListenerKeys_.forEach(tt),this.sourcesListenerKeys_=null}release(){this.canvas_&&(ts(this.canvas_.getContext("2d")),ci.push(this.canvas_),this.canvas_=null),super.release()}}const md=/\{z\}/g,pd=/\{x\}/g,yd=/\{y\}/g,Ed=/\{-y\}/g;function xd(n,t,e,i,s){return n.replace(md,t.toString()).replace(pd,e.toString()).replace(yd,i.toString()).replace(Ed,function(){if(s===void 0)throw new Error("If the URL template has a {-y} placeholder, the grid extent must be known");return(s-i).toString()})}function Cd(n){const t=[];let e=/\{([a-z])-([a-z])\}/.exec(n);if(e){const i=e[1].charCodeAt(0),s=e[2].charCodeAt(0);let r;for(r=i;r<=s;++r)t.push(n.replace(e[0],String.fromCharCode(r)));return t}if(e=/\{(\d+)-(\d+)\}/.exec(n),e){const i=parseInt(e[2],10);for(let s=parseInt(e[1],10);s<=i;s++)t.push(n.replace(e[0],s.toString()));return t}return t.push(n),t}function wd(n,t){return function(e,i,s){if(!e)return;let r;const o=e[0];if(t){const a=t.getFullTileRange(o);a&&(r=a.getHeight()-1)}return xd(n,o,e[1],e[2],r)}}function Rd(n,t){const e=n.length,i=new Array(e);for(let s=0;sn):null}class Td extends ol{constructor(t){super({attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,projection:t.projection,state:t.state,wrapX:t.wrapX,interpolate:t.interpolate}),this.on,this.once,this.un,this.tilePixelRatio_=t.tilePixelRatio!==void 0?t.tilePixelRatio:1,this.tileGrid=t.tileGrid!==void 0?t.tileGrid:null;const e=[256,256];this.tileGrid&&It(this.tileGrid.getTileSize(this.tileGrid.getMinZoom()),e),this.tmpSize=[0,0],this.key_=t.key||j(this),this.tileOptions={transition:t.transition,interpolate:t.interpolate},this.zDirection=t.zDirection?t.zDirection:0}getGutterForProjection(t){return 0}getKey(){return this.key_}setKey(t){this.key_!==t&&(this.key_=t,this.changed())}getResolutions(t){const e=t?this.getTileGridForProjection(t):this.tileGrid;return e?e.getResolutions():null}getTile(t,e,i,s,r){return U()}getTileGrid(){return this.tileGrid}getTileGridForProjection(t){return this.tileGrid?this.tileGrid:il(t)}getTilePixelRatio(t){return this.tilePixelRatio_}getTilePixelSize(t,e,i){const s=this.getTileGridForProjection(i),r=this.getTilePixelRatio(e),o=It(s.getTileSize(t),this.tmpSize);return r==1?o:qc(o,r,this.tmpSize)}getTileCoordForTileUrlFunction(t,e){const i=e!==void 0?e:this.getProjection(),s=e!==void 0?this.getTileGridForProjection(i):this.tileGrid||this.getTileGridForProjection(i);return this.getWrapX()&&i.isGlobal()&&(t=rd(s,t,i)),sd(t,s)?t:null}clear(){}refresh(){this.clear(),super.refresh()}}class Sd extends ce{constructor(t,e){super(t),this.tile=e}}const Fs={TILELOADSTART:"tileloadstart",TILELOADEND:"tileloadend",TILELOADERROR:"tileloaderror"};class Yr extends Td{constructor(t){super({attributions:t.attributions,cacheSize:t.cacheSize,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tilePixelRatio:t.tilePixelRatio,wrapX:t.wrapX,transition:t.transition,interpolate:t.interpolate,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.generateTileUrlFunction_=this.tileUrlFunction===Yr.prototype.tileUrlFunction,this.tileLoadFunction=t.tileLoadFunction,t.tileUrlFunction&&(this.tileUrlFunction=t.tileUrlFunction),this.urls=null,t.urls?this.setUrls(t.urls):t.url&&this.setUrl(t.url),this.tileLoadingKeys_={}}getTileLoadFunction(){return this.tileLoadFunction}getTileUrlFunction(){return Object.getPrototypeOf(this).tileUrlFunction===this.tileUrlFunction?this.tileUrlFunction.bind(this):this.tileUrlFunction}getUrls(){return this.urls}handleTileChange(t){const e=t.target,i=j(e),s=e.getState();let r;s==P.LOADING?(this.tileLoadingKeys_[i]=!0,r=Fs.TILELOADSTART):i in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[i],r=s==P.ERROR?Fs.TILELOADERROR:s==P.LOADED?Fs.TILELOADEND:void 0),r!=null&&this.dispatchEvent(new Sd(r,e))}setTileLoadFunction(t){this.tileLoadFunction=t,this.changed()}setTileUrlFunction(t,e){this.tileUrlFunction=t,typeof e<"u"?this.setKey(e):this.changed()}setUrl(t){const e=Cd(t);this.urls=e,this.setUrls(e)}setUrls(t){this.urls=t;const e=t.join(` `);this.generateTileUrlFunction_?this.setTileUrlFunction(Rd(t,this.tileGrid),e):this.setKey(e)}tileUrlFunction(t,e,i){}}class vd extends Yr{constructor(t){super({attributions:t.attributions,cacheSize:t.cacheSize,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:Ld,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX,transition:t.transition,interpolate:t.interpolate!==void 0?t.interpolate:!0,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.crossOrigin=t.crossOrigin!==void 0?t.crossOrigin:null,this.tileClass=t.tileClass!==void 0?t.tileClass:sl,this.tileGridForProjection={},this.reprojectionErrorThreshold_=t.reprojectionErrorThreshold,this.renderReprojectionEdges_=!1}getGutterForProjection(t){return this.getProjection()&&t&&!_s(this.getProjection(),t)?0:this.getGutter()}getGutter(){return 0}getKey(){let t=super.getKey();return this.getInterpolate()||(t+=":disable-interpolation"),t}getTileGridForProjection(t){const e=this.getProjection();if(this.tileGrid&&(!e||_s(e,t)))return this.tileGrid;const i=j(t);return i in this.tileGridForProjection||(this.tileGridForProjection[i]=il(t)),this.tileGridForProjection[i]}createTile_(t,e,i,s,r,o){const a=[t,e,i],l=this.getTileCoordForTileUrlFunction(a,r),c=l?this.tileUrlFunction(l,s,r):void 0,h=new this.tileClass(a,c!==void 0?P.IDLE:P.EMPTY,c!==void 0?c:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return h.key=o,h.addEventListener(X.CHANGE,this.handleTileChange.bind(this)),h}getTile(t,e,i,s,r){const o=this.getProjection();if(!o||!r||_s(o,r))return this.getTileInternal(t,e,i,s,o||r);const a=[t,e,i],l=this.getKey(),c=this.getTileGridForProjection(o),h=this.getTileGridForProjection(r),u=this.getTileCoordForTileUrlFunction(a,r),d=new rl(o,c,r,h,a,u,this.getTilePixelRatio(s),this.getGutter(),(f,g,m,_)=>this.getTileInternal(f,g,m,_,o),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.tileOptions);return d.key=l,d}getTileInternal(t,e,i,s,r){const o=this.getKey();return this.createTile_(t,e,i,s,r,o)}setRenderReprojectionEdges(t){this.renderReprojectionEdges_!=t&&(this.renderReprojectionEdges_=t,this.changed())}setTileGridForProjection(t,e){const i=Tt(t);if(i){const s=j(i);s in this.tileGridForProjection||(this.tileGridForProjection[s]=e)}}}function Ld(n,t){n.getImage().src=t}class Ad extends vd{constructor(t){t=t||{};const e=t.projection!==void 0?t.projection:"EPSG:3857",i=t.tileGrid!==void 0?t.tileGrid:ad({extent:Xr(e),maxResolution:t.maxResolution,maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize});super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,projection:e,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:i,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX!==void 0?t.wrapX:!0,transition:t.transition,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.gutter_=t.gutter!==void 0?t.gutter:0}getGutter(){return this.gutter_}}const Md='© OpenStreetMap contributors.';class bd extends Ad{constructor(t){t=t||{};let e;t.attributions!==void 0?e=t.attributions:e=[Md];const i=t.crossOrigin!==void 0?t.crossOrigin:"anonymous",s=t.url!==void 0?t.url:"https://tile.openstreetmap.org/{z}/{x}/{y}.png";super({attributions:e,attributionsCollapsible:!1,cacheSize:t.cacheSize,crossOrigin:i,interpolate:t.interpolate,maxZoom:t.maxZoom!==void 0?t.maxZoom:19,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,transition:t.transition,url:s,wrapX:t.wrapX,zDirection:t.zDirection})}}function er(n){return n instanceof Image||n instanceof HTMLCanvasElement||n instanceof HTMLVideoElement||n instanceof ImageBitmap?n:null}const Dd=new Error("disposed"),Pd=[256,256];class Bo extends Wr{constructor(t){const e=P.IDLE;super(t.tileCoord,e,{transition:t.transition,interpolate:t.interpolate}),this.loader_=t.loader,this.data_=null,this.error_=null,this.size_=t.size||null,this.controller_=t.controller||null}getSize(){if(this.size_)return this.size_;const t=er(this.data_);return t?[t.width,t.height]:Pd}getData(){return this.data_}getError(){return this.error_}load(){if(this.state!==P.IDLE&&this.state!==P.ERROR)return;this.state=P.LOADING,this.changed();const t=this;this.loader_().then(function(e){t.data_=e,t.state=P.LOADED,t.changed()}).catch(function(e){t.error_=e,t.state=P.ERROR,t.changed()})}disposeInternal(){this.controller_&&(this.controller_.abort(Dd),this.controller_=null),super.disposeInternal()}}class Od{constructor(t){this.highWaterMark=t!==void 0?t:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}deleteOldest(){const t=this.pop();t instanceof zn&&t.dispose()}canExpireCache(){return this.highWaterMark>0&&this.getCount()>this.highWaterMark}expireCache(t){for(;this.canExpireCache();)this.deleteOldest()}clear(){for(;this.oldest_;)this.deleteOldest()}containsKey(t){return this.entries_.hasOwnProperty(t)}forEach(t){let e=this.oldest_;for(;e;)t(e.value_,e.key_,this),e=e.newer}get(t,e){const i=this.entries_[t];return q(i!==void 0,"Tried to get a value for a key that does not exist in the cache"),i===this.newest_||(i===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(i.newer.older=i.older,i.older.newer=i.newer),i.newer=null,i.older=this.newest_,this.newest_.newer=i,this.newest_=i),i.value_}remove(t){const e=this.entries_[t];return q(e!==void 0,"Tried to get a value for a key that does not exist in the cache"),e===this.newest_?(this.newest_=e.older,this.newest_&&(this.newest_.newer=null)):e===this.oldest_?(this.oldest_=e.newer,this.oldest_&&(this.oldest_.older=null)):(e.newer.older=e.older,e.older.newer=e.newer),delete this.entries_[t],--this.count_,e.value_}getCount(){return this.count_}getKeys(){const t=new Array(this.count_);let e=0,i;for(i=this.newest_;i;i=i.older)t[e++]=i.key_;return t}getValues(){const t=new Array(this.count_);let e=0,i;for(i=this.newest_;i;i=i.older)t[e++]=i.value_;return t}peekLast(){return this.oldest_.value_}peekLastKey(){return this.oldest_.key_}peekFirstKey(){return this.newest_.key_}peek(t){return this.entries_[t]?.value_}pop(){const t=this.oldest_;return delete this.entries_[t.key_],t.newer&&(t.newer.older=null),this.oldest_=t.newer,this.oldest_||(this.newest_=null),--this.count_,t.value_}replace(t,e){this.get(t),this.entries_[t].value_=e}set(t,e){q(!(t in this.entries_),"Tried to set a value for a key that is used already");const i={key_:t,newer:null,older:this.newest_,value_:e};this.newest_?this.newest_.newer=i:this.oldest_=i,this.newest_=i,this.entries_[t]=i,++this.count_}setSize(t){this.highWaterMark=t}}class al{constructor(){this.instructions_=[],this.zIndex=0,this.offset_=0,this.context_=new Proxy(Dn(),{get:(t,e)=>{if(typeof Dn()[e]=="function")return this.push_(e),this.pushMethodArgs_},set:(t,e,i)=>(this.push_(e,i),!0)})}push_(...t){const e=this.instructions_,i=this.zIndex+this.offset_;e[i]||(e[i]=[]),e[i].push(...t)}pushMethodArgs_=(...t)=>(this.push_(t),this);pushFunction(t){this.push_(t)}getContext(){return this.context_}draw(t){this.instructions_.forEach(e=>{for(let i=0,s=e.length;ithis.maxStaleKeys&&(this.staleKeys_.length=this.maxStaleKeys)}getFeatures(t){return U()}getData(t){return null}prepareFrame(t){return U()}renderFrame(t,e){return U()}forEachFeatureAtCoordinate(t,e,i,s,r){}getLayer(){return this.layer_}handleFontsChanged(){}handleImageChange_(t){const e=t.target;(e.getState()===W.LOADED||e.getState()===W.ERROR)&&this.renderIfReadyAndVisible()}loadImage(t){let e=t.getState();return e!=W.LOADED&&e!=W.ERROR&&t.addEventListener(X.CHANGE,this.boundHandleImageChange_),e==W.IDLE&&(t.load(),e=t.getState()),e==W.LOADED}renderIfReadyAndVisible(){const t=this.getLayer();t&&t.getVisible()&&t.getSourceState()==="ready"&&t.changed()}renderDeferred(t){}disposeInternal(){delete this.layer_,super.disposeInternal()}}const Zo=[];let si=null;function Nd(){si=ot(1,1,void 0,{willReadFrequently:!0})}class ll extends kd{constructor(t){super(t),this.container=null,this.renderedResolution,this.tempTransform=Yt(),this.pixelTransform=Yt(),this.inversePixelTransform=Yt(),this.context=null,this.deferredContext_=null,this.containerReused=!1,this.frameState=null}getImageData(t,e,i){si||Nd(),si.clearRect(0,0,1,1);let s;try{si.drawImage(t,e,i,1,1,0,0,1,1),s=si.getImageData(0,0,1,1).data}catch{return si=null,null}return s}getBackground(t){let i=this.getLayer().getBackground();return typeof i=="function"&&(i=i(t.viewState.resolution)),i||void 0}useContainer(t,e,i){const s=this.getLayer().getClassName();let r,o;if(t&&t.className===s&&(!i||t&&t.style.backgroundColor&&Te(_i(t.style.backgroundColor),_i(i)))){const a=t.firstElementChild;a instanceof HTMLCanvasElement&&(o=a.getContext("2d"))}if(o&&bh(o.canvas.style.transform,e)?(this.container=t,this.context=o,this.containerReused=!0):this.containerReused?(this.container=null,this.context=null,this.containerReused=!1):this.container&&(this.container.style.backgroundColor=null),!this.container){r=document.createElement("div"),r.className=s;let a=r.style;a.position="absolute",a.width="100%",a.height="100%",o=ot();const l=o.canvas;r.appendChild(l),a=l.style,a.position="absolute",a.left="0",a.transformOrigin="top left",this.container=r,this.context=o}!this.containerReused&&i&&!this.container.style.backgroundColor&&(this.container.style.backgroundColor=i)}clipUnrotated(t,e,i){const s=Ye(i),r=Vn(i),o=Un(i),a=Zn(i);ht(e.coordinateToPixelTransform,s),ht(e.coordinateToPixelTransform,r),ht(e.coordinateToPixelTransform,o),ht(e.coordinateToPixelTransform,a);const l=this.inversePixelTransform;ht(l,s),ht(l,r),ht(l,o),ht(l,a),t.save(),t.beginPath(),t.moveTo(Math.round(s[0]),Math.round(s[1])),t.lineTo(Math.round(r[0]),Math.round(r[1])),t.lineTo(Math.round(o[0]),Math.round(o[1])),t.lineTo(Math.round(a[0]),Math.round(a[1])),t.clip()}prepareContainer(t,e){const i=t.extent,s=t.viewState.resolution,r=t.viewState.rotation,o=t.pixelRatio,a=Math.round(J(i)/s*o),l=Math.round(yt(i)/s*o);he(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/o,1/o,r,-a/2,-l/2),Ia(this.inversePixelTransform,this.pixelTransform);const c=Mh(this.pixelTransform);if(this.useContainer(e,c,this.getBackground(t)),!this.containerReused){const h=this.context.canvas;h.width!=a||h.height!=l?(h.width=a,h.height=l):this.context.clearRect(0,0,a,l),c!==h.style.transform&&(h.style.transform=c)}}dispatchRenderEvent_(t,e,i){const s=this.getLayer();if(s.hasListener(t)){const r=new Ja(t,this.inversePixelTransform,i,e);s.dispatchEvent(r)}}preRender(t,e){this.frameState=e,!e.declutter&&this.dispatchRenderEvent_(Ot.PRERENDER,t,e)}postRender(t,e){e.declutter||this.dispatchRenderEvent_(Ot.POSTRENDER,t,e)}renderDeferredInternal(t){}getRenderContext(t){return t.declutter&&!this.deferredContext_&&(this.deferredContext_=new al),t.declutter?this.deferredContext_.getContext():this.context}renderDeferred(t){t.declutter&&(this.dispatchRenderEvent_(Ot.PRERENDER,this.context,t),t.declutter&&this.deferredContext_&&(this.deferredContext_.draw(this.context),this.deferredContext_.clear()),this.renderDeferredInternal(t),this.dispatchRenderEvent_(Ot.POSTRENDER,this.context,t))}getRenderTransform(t,e,i,s,r,o,a){const l=r/2,c=o/2,h=s/e,u=-h,d=-t[0]+a,f=-t[1];return he(this.tempTransform,l,c,h,u,-i,d,f)}disposeInternal(){delete this.frameState,super.disposeInternal()}}function ks(n,t,e,i,s){return`${j(n)},${t},${ed(e,i,s)}`}function Ns(n,t,e){if(!(e in n))return n[e]=new Set([t]),!0;const i=n[e],s=i.has(t);return s||i.add(t),!s}function Gd(n,t,e){const i=n[e];return i?i.delete(t):!1}function Uo(n,t){const e=n.layerStatesArray[n.layerIndex];e.extent&&(t=Ge(t,xe(e.extent,n.viewState.projection)));const i=e.layer.getRenderSource();if(!i.getWrapX()){const s=i.getTileGridForProjection(n.viewState.projection).getExtent();s&&(t=Ge(t,s))}return t}class zd extends ll{constructor(t,e){super(t),e=e||{},this.extentChanged=!0,this.renderComplete=!1,this.renderedExtent_=null,this.renderedPixelRatio,this.renderedProjection=null,this.renderedTiles=[],this.renderedSourceKey_,this.renderedSourceRevision_,this.tempExtent=Nt(),this.tempTileRange_=new zr(0,0,0,0),this.tempTileCoord_=kn(0,0,0);const i=e.cacheSize!==void 0?e.cacheSize:512;this.tileCache_=new Od(i),this.maxStaleKeys=i*.5}getTileCache(){return this.tileCache_}getOrCreateTile(t,e,i,s){const r=this.tileCache_,a=this.getLayer().getSource(),l=ks(a,a.getKey(),t,e,i);let c;if(r.containsKey(l))c=r.get(l);else{if(c=a.getTile(t,e,i,s.pixelRatio,s.viewState.projection),!c)return null;r.set(l,c)}return c}getTile(t,e,i,s){const r=this.getOrCreateTile(t,e,i,s);return r||null}getData(t){const e=this.frameState;if(!e)return null;const i=this.getLayer(),s=ht(e.pixelToCoordinateTransform,t.slice()),r=i.getExtent();if(r&&!fi(r,s))return null;const o=e.viewState,a=i.getRenderSource(),l=a.getTileGridForProjection(o.projection),c=a.getTilePixelRatio(e.pixelRatio);for(let h=l.getZForResolution(o.resolution);h>=l.getMinZoom();--h){const u=l.getTileCoordForCoordAndZ(s,h),d=this.getTile(h,u[1],u[2],e);if(!d||d.getState()!==P.LOADED)continue;const f=l.getOrigin(h),g=It(l.getTileSize(h)),m=l.getResolution(h);let _;if(d instanceof sl||d instanceof rl)_=d.getImage();else if(d instanceof Bo){if(_=er(d.getData()),!_)continue}else continue;const p=Math.floor(c*((s[0]-f[0])/m-u[1]*g[0])),E=Math.floor(c*((f[1]-s[1])/m-u[2]*g[1])),C=Math.round(c*a.getGutterForProjection(o.projection));return this.getImageData(_,p+C,E+C)}return null}prepareFrame(t){this.renderedProjection?t.viewState.projection!==this.renderedProjection&&(this.tileCache_.clear(),this.renderedProjection=t.viewState.projection):this.renderedProjection=t.viewState.projection;const e=this.getLayer().getSource();if(!e)return!1;const i=e.getRevision();return this.renderedSourceRevision_?this.renderedSourceRevision_!==i&&(this.renderedSourceRevision_=i,this.renderedSourceKey_===e.getKey()&&this.tileCache_.clear()):this.renderedSourceRevision_=i,!0}enqueueTiles(t,e,i,s,r){const o=t.viewState,a=this.getLayer(),l=a.getRenderSource(),c=l.getTileGridForProjection(o.projection),h=j(l);h in t.wantedTiles||(t.wantedTiles[h]={});const u=t.wantedTiles[h],d=a.getMapInternal(),f=Math.max(i-r,c.getMinZoom(),c.getZForResolution(Math.min(a.getMaxResolution(),d?d.getView().getResolutionForZoom(Math.max(a.getMinZoom(),0)):c.getResolution(0)),l.zDirection)),g=o.rotation,m=g?ua(o.center,o.resolution,g,t.size):void 0;for(let _=i;_>=f;--_){const p=c.getTileRangeForExtentAndZ(e,_,this.tempTileRange_),E=c.getResolution(_);for(let C=p.minX;C<=p.maxX;++C)for(let y=p.minY;y<=p.maxY;++y){if(g&&!c.tileCoordIntersectsViewport([_,C,y],m))continue;const x=this.getTile(_,C,y,t);if(!x||!Ns(s,x,_))continue;const T=x.getKey();if(u[T]=!0,x.getState()===P.IDLE&&!t.tileQueue.isKeyQueued(T)){const I=kn(_,C,y,this.tempTileCoord_);t.tileQueue.enqueue([x,h,c.getTileCoordCenter(I),E])}}}}findStaleTile_(t,e){const i=this.tileCache_,s=t[0],r=t[1],o=t[2],a=this.getStaleKeys();for(let l=0;l0&&setTimeout(()=>{this.enqueueTiles(t,v,d-1,T,I-1)},0),!(d in T))return this.container;const L=j(this),k=t.time;for(const O of T[d]){const K=O.getState();if(K===P.EMPTY)continue;const B=O.tileCoord;if(K===P.LOADED&&O.getAlpha(L,k)===1){O.endTransition(L);continue}if(K!==P.ERROR&&(this.renderComplete=!1),this.findStaleTile_(B,T)){Gd(T,O,d),t.animate=!0;continue}if(this.findAltTiles_(u,B,d+1,T))continue;const ut=u.getMinZoom();for(let _t=d-1;_t>=ut&&!this.findAltTiles_(u,B,_t,T);--_t);}const b=f/o*l/_,A=this.getRenderContext(t);he(this.tempTransform,p/2,E/2,b,b,0,-p/2,-E/2),i.extent&&this.clipUnrotated(A,t,C),h.getInterpolate()||(A.imageSmoothingEnabled=!1),this.preRender(A,t);const M=Object.keys(T).map(Number);M.sort(re);let Y;const F=[],G=[];for(let O=M.length-1;O>=0;--O){const K=M[O],B=h.getTilePixelSize(K,l,r),S=u.getResolution(K)/f,ut=B[0]*S*b,_t=B[1]*S*b,st=u.getTileCoordForCoordAndZ(Ye(R),K),St=u.getTileCoordExtent(st),dt=ht(this.tempTransform,[_*(St[0]-R[0])/f,_*(R[3]-St[3])/f]),Bt=_*h.getGutterForProjection(r);for(const Gt of T[K]){if(Gt.getState()!==P.LOADED)continue;const vt=Gt.tileCoord,cn=st[1]-vt[1],as=Math.round(dt[0]-(cn-1)*ut),wi=st[2]-vt[2],Se=Math.round(dt[1]-(wi-1)*_t),At=Math.round(dt[0]-cn*ut),Zt=Math.round(dt[1]-wi*_t),Be=as-At,Ze=Se-Zt,Ri=M.length===1;let ve=!1;Y=[At,Zt,At+Be,Zt,At+Be,Zt+Ze,At,Zt+Ze];for(let Ue=0,Ve=F.length;Ue{const Q=j(h),S=B.wantedTiles[Q],ut=S?Object.keys(S).length:0;this.updateCacheSize(ut),this.tileCache_.expireCache()};t.postRenderFunctions.push(O)}return this.container}updateCacheSize(t){this.tileCache_.highWaterMark=Math.max(this.tileCache_.highWaterMark,t*2)}drawTile(t,e,i,s,r,o,a,l){let c;if(t instanceof Bo){if(c=er(t.getData()),!c)throw new Error("Rendering array data is not yet supported")}else c=this.getTileImage(t);if(!c)return;const h=this.getRenderContext(e),u=j(this),d=e.layerStatesArray[e.layerIndex],f=d.opacity*(l?t.getAlpha(u,e.time):1),g=f!==h.globalAlpha;g&&(h.save(),h.globalAlpha=f),h.drawImage(c,a,a,c.width-2*a,c.height-2*a,i,s,r,o),g&&h.restore(),f!==d.opacity?e.animate=!0:l&&t.endTransition(u)}getImage(){const t=this.context;return t?t.canvas:null}getTileImage(t){return t.getImage()}updateUsedTiles(t,e,i){const s=j(e);s in t||(t[s]={}),t[s][i.getKey()]=!0}}const Rn={PRELOAD:"preload",USE_INTERIM_TILES_ON_ERROR:"useInterimTilesOnError"};class Xd extends es{constructor(t){t=t||{};const e=Object.assign({},t),i=t.cacheSize;delete t.cacheSize,delete e.preload,delete e.useInterimTilesOnError,super(e),this.on,this.once,this.un,this.cacheSize_=i,this.setPreload(t.preload!==void 0?t.preload:0),this.setUseInterimTilesOnError(t.useInterimTilesOnError!==void 0?t.useInterimTilesOnError:!0)}getCacheSize(){return this.cacheSize_}getPreload(){return this.get(Rn.PRELOAD)}setPreload(t){this.set(Rn.PRELOAD,t)}getUseInterimTilesOnError(){return this.get(Rn.USE_INTERIM_TILES_ON_ERROR)}setUseInterimTilesOnError(t){this.set(Rn.USE_INTERIM_TILES_ON_ERROR,t)}getData(t){return super.getData(t)}}class Wd extends Xd{constructor(t){super(t)}createRenderer(){return new zd(this,{cacheSize:this.getCacheSize()})}}class Wi extends $t{constructor(t){if(super(),this.on,this.once,this.un,this.id_=void 0,this.geometryName_="geometry",this.style_=null,this.styleFunction_=void 0,this.geometryChangeKey_=null,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),t)if(typeof t.getSimplifiedGeometry=="function"){const e=t;this.setGeometry(e)}else{const e=t;this.setProperties(e)}}clone(){const t=new Wi(this.hasProperties()?this.getProperties():null);t.setGeometryName(this.getGeometryName());const e=this.getGeometry();e&&t.setGeometry(e.clone());const i=this.getStyle();return i&&t.setStyle(i),t}getGeometry(){return this.get(this.geometryName_)}getId(){return this.id_}getGeometryName(){return this.geometryName_}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}handleGeometryChange_(){this.changed()}handleGeometryChanged_(){this.geometryChangeKey_&&(tt(this.geometryChangeKey_),this.geometryChangeKey_=null);const t=this.getGeometry();t&&(this.geometryChangeKey_=V(t,X.CHANGE,this.handleGeometryChange_,this)),this.changed()}setGeometry(t){this.set(this.geometryName_,t)}setStyle(t){this.style_=t,this.styleFunction_=t?Yd(t):void 0,this.changed()}setId(t){this.id_=t,this.changed()}setGeometryName(t){this.removeChangeListener(this.geometryName_,this.handleGeometryChanged_),this.geometryName_=t,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),this.handleGeometryChanged_()}}function Yd(n){if(typeof n=="function")return n;let t;return Array.isArray(n)?t=n:(q(typeof n.getZIndex=="function","Expected an `ol/style/Style` or an array of `ol/style/Style.js`"),t=[n]),function(){return t}}function ir(n,t,e,i,s,r,o){let a,l;const c=(e-t)/i;if(c===1)a=t;else if(c===2)a=t,l=s;else if(c!==0){let h=n[t],u=n[t+1],d=0;const f=[0];for(let _=t+i;_1?o:2,r=r||new Array(o);for(let h=0;h>1;su*this.pixelRatio_),lineDashOffset:(o||ae)*this.pixelRatio_,lineJoin:a!==void 0?a:pi,lineWidth:(l!==void 0?l:Ji)*this.pixelRatio_,miterLimit:c!==void 0?c:Hi,strokeStyle:qt(i||qi)}}}setImageStyle(t){let e;if(!t||!(e=t.getSize())){this.image_=null;return}const i=t.getPixelRatio(this.pixelRatio_),s=t.getAnchor(),r=t.getOrigin();this.image_=t.getImage(this.pixelRatio_),this.imageAnchorX_=s[0]*i,this.imageAnchorY_=s[1]*i,this.imageHeight_=e[1]*i,this.imageOpacity_=t.getOpacity(),this.imageOriginX_=r[0],this.imageOriginY_=r[1],this.imageRotateWithView_=t.getRotateWithView(),this.imageRotation_=t.getRotation();const o=t.getScaleArray();this.imageScale_=[o[0]*this.pixelRatio_/i,o[1]*this.pixelRatio_/i],this.imageWidth_=e[0]*i}setTextStyle(t){if(!t)this.text_="";else{const e=t.getFill();if(!e)this.textFillState_=null;else{const f=e.getColor();this.textFillState_={fillStyle:qt(f||Ct)}}const i=t.getStroke();if(!i)this.textStrokeState_=null;else{const f=i.getColor(),g=i.getLineCap(),m=i.getLineDash(),_=i.getLineDashOffset(),p=i.getLineJoin(),E=i.getWidth(),C=i.getMiterLimit();this.textStrokeState_={lineCap:g!==void 0?g:mi,lineDash:m||oe,lineDashOffset:_||ae,lineJoin:p!==void 0?p:pi,lineWidth:E!==void 0?E:Ji,miterLimit:C!==void 0?C:Hi,strokeStyle:qt(f||qi)}}const s=t.getFont(),r=t.getOffsetX(),o=t.getOffsetY(),a=t.getRotateWithView(),l=t.getRotation(),c=t.getScaleArray(),h=t.getText(),u=t.getTextAlign(),d=t.getTextBaseline();this.textState_={font:s!==void 0?s:Ka,textAlign:u!==void 0?u:$i,textBaseline:d!==void 0?d:Pn},this.text_=h!==void 0?Array.isArray(h)?h.reduce((f,g,m)=>f+=m%2?" ":g,""):h:"",this.textOffsetX_=r!==void 0?this.pixelRatio_*r:0,this.textOffsetY_=o!==void 0?this.pixelRatio_*o:0,this.textRotateWithView_=a!==void 0?a:!1,this.textRotation_=l!==void 0?l:0,this.textScale_=[this.pixelRatio_*c[0],this.pixelRatio_*c[1]]}}}const Zd=.5,ul={Point:Qd,LineString:qd,Polygon:ef,MultiPoint:tf,MultiLineString:$d,MultiPolygon:Jd,GeometryCollection:Hd,Circle:Vd};function Ud(n,t){return parseInt(j(n),10)-parseInt(j(t),10)}function Vo(n,t){const e=dl(n,t);return e*e}function dl(n,t){return Zd*n/t}function Vd(n,t,e,i,s){const r=e.getFill(),o=e.getStroke();if(r||o){const l=n.getBuilder(e.getZIndex(),"Circle");l.setFillStrokeStyle(r,o),l.drawCircle(t,i,s)}const a=e.getText();if(a&&a.getText()){const l=n.getBuilder(e.getZIndex(),"Text");l.setTextStyle(a),l.drawText(t,i)}}function jo(n,t,e,i,s,r,o,a){const l=[],c=e.getImage();if(c){let d=!0;const f=c.getImageState();f==W.LOADED||f==W.ERROR?d=!1:f==W.IDLE&&c.load(),d&&l.push(c.ready())}const h=e.getFill();h&&h.loading()&&l.push(h.ready());const u=l.length>0;return u&&Promise.all(l).then(()=>s(null)),jd(n,t,e,i,r,o,a),u}function jd(n,t,e,i,s,r,o){const a=e.getGeometryFunction()(t);if(!a)return;const l=a.simplifyTransformed(i,s);if(e.getRenderer())fl(n,l,e,t,o);else{const h=ul[l.getType()];h(n,l,e,t,o,r)}}function fl(n,t,e,i,s){if(t.getType()=="GeometryCollection"){const o=t.getGeometries();for(let a=0,l=o.length;a=200&&a.status<300){const c=t.getType();try{let h;c=="text"||c=="json"?h=a.responseText:c=="xml"?h=a.responseXML||a.responseText:c=="arraybuffer"&&(h=a.response),h?r(t.readFeatures(h,{extent:e,featureProjection:s}),t.readProjection(h)):o()}catch{o()}}else o()},a.onerror=o,a.send()}function Ho(n,t){return function(e,i,s,r,o){sf(n,t,e,i,s,(a,l)=>{this.addFeatures(a),r!==void 0&&r(a)},()=>{this.changed(),o!==void 0&&o()})}}function rf(n,t){return[[-1/0,-1/0,1/0,1/0]]}function of(n,t,e,i){const s=[];let r=Nt();for(let o=0,a=e.length;o{if(t===this.squaredTolerance_)return this.simplifiedGeometry_;this.simplifiedGeometry_=this.clone(),e&&this.simplifiedGeometry_.applyTransform(e);const i=this.simplifiedGeometry_.getFlatCoordinates();let s;switch(this.type_){case"LineString":i.length=Jn(i,0,this.simplifiedGeometry_.flatCoordinates_.length,this.simplifiedGeometry_.stride_,t,i,0),s=[i.length];break;case"MultiLineString":s=[],i.length=Kh(i,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,t,i,0,s);break;case"Polygon":s=[],i.length=va(i,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,Math.sqrt(t),i,0,s);break}return s&&(this.simplifiedGeometry_=new Xt(this.type_,i,s,2,this.properties_,this.id_)),this.squaredTolerance_=t,this.simplifiedGeometry_}),this}}Xt.prototype.getFlatCoordinates=Xt.prototype.getOrientedFlatCoordinates;class $o{constructor(t){this.rbush_=new Na(t),this.items_={}}insert(t,e){const i={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};this.rbush_.insert(i),this.items_[j(e)]=i}load(t,e){const i=new Array(e.length);for(let s=0,r=e.length;s{e||(e=!0,this.addFeature(i.element),e=!1)}),t.addEventListener(Et.REMOVE,i=>{e||(e=!0,this.removeFeature(i.element),e=!1)}),this.featuresCollection_=t}clear(t){if(t){for(const i in this.featureChangeKeys_)this.featureChangeKeys_[i].forEach(tt);this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_){this.featuresRtree_.forEach(i=>{this.removeFeatureInternal(i)});for(const i in this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[i])}this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};const e=new ge(Pt.CLEAR);this.dispatchEvent(e),this.changed()}forEachFeature(t){if(this.featuresRtree_)return this.featuresRtree_.forEach(t);this.featuresCollection_&&this.featuresCollection_.forEach(t)}forEachFeatureAtCoordinateDirect(t,e){const i=[t[0],t[1],t[0],t[1]];return this.forEachFeatureInExtent(i,function(s){const r=s.getGeometry();if(r instanceof Xt||r.intersectsCoordinate(t))return e(s)})}forEachFeatureInExtent(t,e){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(t,e);this.featuresCollection_&&this.featuresCollection_.forEach(e)}forEachFeatureIntersectingExtent(t,e){return this.forEachFeatureInExtent(t,function(i){const s=i.getGeometry();if(s instanceof Xt||s.intersectsExtent(t)){const r=e(i);if(r)return r}})}getFeaturesCollection(){return this.featuresCollection_}getFeatures(){let t;return this.featuresCollection_?t=this.featuresCollection_.getArray().slice(0):this.featuresRtree_&&(t=this.featuresRtree_.getAll(),di(this.nullGeometryFeatures_)||Xn(t,Object.values(this.nullGeometryFeatures_))),t}getFeaturesAtCoordinate(t){const e=[];return this.forEachFeatureAtCoordinateDirect(t,function(i){e.push(i)}),e}getFeaturesInExtent(t,e){if(this.featuresRtree_){if(!(e&&e.canWrapX()&&this.getWrapX()))return this.featuresRtree_.getInExtent(t);const s=fa(t,e);return[].concat(...s.map(r=>this.featuresRtree_.getInExtent(r)))}return this.featuresCollection_?this.featuresCollection_.getArray().slice(0):[]}getClosestFeatureToCoordinate(t,e){const i=t[0],s=t[1];let r=null;const o=[NaN,NaN];let a=1/0;const l=[-1/0,-1/0,1/0,1/0];return e=e||Yi,this.featuresRtree_.forEachInExtent(l,function(c){if(e(c)){const h=c.getGeometry(),u=a;if(a=h instanceof Xt?0:h.closestPointXY(i,s,o,a),a{--this.loadingExtentsCount_,this.dispatchEvent(new ge(Pt.FEATURESLOADEND,void 0,h))},()=>{--this.loadingExtentsCount_,this.dispatchEvent(new ge(Pt.FEATURESLOADERROR))}),s.insert(l,{extent:l.slice()}))}this.loading=this.loader_.length<4?!1:this.loadingExtentsCount_>0}refresh(){this.clear(!0),this.loadedExtentsRtree_.clear(),super.refresh()}removeLoadedExtent(t){const e=this.loadedExtentsRtree_,i=e.forEachInExtent(t,function(s){if(Bi(s.extent,t))return s});i&&e.remove(i)}removeFeatures(t){let e=!1;for(let i=0,s=t.length;il&&(this.instructions.push([D.CUSTOM,l,h,t,i,Oe,r]),this.hitDetectionInstructions.push([D.CUSTOM,l,h,t,s||i,Oe,r]));break;case"Point":c=t.getFlatCoordinates(),this.coordinates.push(c[0],c[1]),h=this.coordinates.length,this.instructions.push([D.CUSTOM,l,h,t,i,void 0,r]),this.hitDetectionInstructions.push([D.CUSTOM,l,h,t,s||i,void 0,r]);break}this.endGeometry(e)}beginGeometry(t,e,i){this.beginGeometryInstruction1_=[D.BEGIN_GEOMETRY,e,0,t,i],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[D.BEGIN_GEOMETRY,e,0,t,i],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)}finish(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}}reverseHitDetectionInstructions(){const t=this.hitDetectionInstructions;t.reverse();let e;const i=t.length;let s,r,o=-1;for(e=0;ethis.maxLineWidth&&(this.maxLineWidth=e.lineWidth,this.bufferedMaxExtent_=null)}else e.strokeStyle=void 0,e.lineCap=void 0,e.lineDash=null,e.lineDashOffset=void 0,e.lineJoin=void 0,e.lineWidth=void 0,e.miterLimit=void 0;return e}setFillStrokeStyle(t,e){const i=this.state;this.fillStyleToState(t,i),this.strokeStyleToState(e,i)}createFill(t){const e=t.fillStyle,i=[D.SET_FILL_STYLE,e];return typeof e!="string"&&i.push(t.fillPatternScale),i}applyStroke(t){this.instructions.push(this.createStroke(t))}createStroke(t){return[D.SET_STROKE_STYLE,t.strokeStyle,t.lineWidth*this.pixelRatio,t.lineCap,t.lineJoin,t.miterLimit,t.lineDash?this.applyPixelRatio(t.lineDash):null,t.lineDashOffset*this.pixelRatio]}updateFillStyle(t,e){const i=t.fillStyle;(typeof i!="string"||t.currentFillStyle!=i)&&(this.instructions.push(e.call(this,t)),t.currentFillStyle=i)}updateStrokeStyle(t,e){const i=t.strokeStyle,s=t.lineCap,r=t.lineDash,o=t.lineDashOffset,a=t.lineJoin,l=t.lineWidth,c=t.miterLimit;(t.currentStrokeStyle!=i||t.currentLineCap!=s||r!=t.currentLineDash&&!Te(t.currentLineDash,r)||t.currentLineDashOffset!=o||t.currentLineJoin!=a||t.currentLineWidth!=l||t.currentMiterLimit!=c)&&(e.call(this,t),t.currentStrokeStyle=i,t.currentLineCap=s,t.currentLineDash=r,t.currentLineDashOffset=o,t.currentLineJoin=a,t.currentLineWidth=l,t.currentMiterLimit=c)}endGeometry(t){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;const e=[D.END_GEOMETRY,t];this.instructions.push(e),this.hitDetectionInstructions.push(e)}getBufferedMaxExtent(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=oa(this.maxExtent),this.maxLineWidth>0)){const t=this.resolution*(this.maxLineWidth+1)/2;rr(this.bufferedMaxExtent_,t,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_}}class lf extends hn{constructor(t,e,i,s){super(t,e,i,s),this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.anchorX_=void 0,this.anchorY_=void 0,this.height_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.scale_=void 0,this.width_=void 0,this.declutterMode_=void 0,this.declutterImageWithText_=void 0}drawPoint(t,e,i){if(!this.image_||this.maxExtent&&!fi(this.maxExtent,t.getFlatCoordinates()))return;this.beginGeometry(t,e,i);const s=t.getFlatCoordinates(),r=t.getStride(),o=this.coordinates.length,a=this.appendFlatPointCoordinates(s,r);this.instructions.push([D.DRAW_IMAGE,o,a,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([D.DRAW_IMAGE,o,a,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(e)}drawMultiPoint(t,e,i){if(!this.image_)return;this.beginGeometry(t,e,i);const s=t.getFlatCoordinates(),r=[];for(let l=0,c=s.length;l=n){const g=(n-a+f)/f,m=Lt(c,u,g),_=Lt(h,d,g);l.push(m,_),r.push(l),l=[m,_],a==n&&(o+=s),a=0}else if(a0&&r.push(l),r}function uf(n,t,e,i,s){let r=e,o=e,a=0,l=0,c=e,h,u,d,f,g,m,_,p,E,C;for(u=e;un&&(l>a&&(a=l,r=c,o=u),l=0,c=u-s)),d=f,_=E,p=C),g=y,m=x}return l+=f,l>a?[c,u]:[r,o]}const Gn={left:0,center:.5,right:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1};class df extends hn{constructor(t,e,i,s){super(t,e,i,s),this.labels_=null,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=void 0,this.textKeepUpright_=void 0,this.textRotation_=0,this.textFillState_=null,this.fillStates={},this.fillStates[Ct]={fillStyle:Ct},this.textStrokeState_=null,this.strokeStates={},this.textState_={},this.textStates={},this.textKey_="",this.fillKey_="",this.strokeKey_="",this.declutterMode_=void 0,this.declutterImageWithText_=void 0}finish(){const t=super.finish();return t.textStates=this.textStates,t.fillStates=this.fillStates,t.strokeStates=this.strokeStates,t}drawText(t,e,i){const s=this.textFillState_,r=this.textStrokeState_,o=this.textState_;if(this.text_===""||!o||!s&&!r)return;const a=this.coordinates;let l=a.length;const c=t.getType();let h=null,u=t.getStride();if(o.placement==="line"&&(c=="LineString"||c=="MultiLineString"||c=="Polygon"||c=="MultiPolygon")){if(!wt(this.maxExtent,t.getExtent()))return;let d;if(h=t.getFlatCoordinates(),c=="LineString")d=[h.length];else if(c=="MultiLineString")d=t.getEnds();else if(c=="Polygon")d=t.getEnds().slice(0,1);else if(c=="MultiPolygon"){const _=t.getEndss();d=[];for(let p=0,E=_.length;p{const T=a[(y+R)*2]===h[R*u]&&a[(y+R)*2+1]===h[R*u+1];return T||--y,T})}this.saveTextStates_();const g=o.backgroundFill?this.createFill(this.fillStyleToState(o.backgroundFill)):null,m=o.backgroundStroke?this.createStroke(this.strokeStyleToState(o.backgroundStroke)):null;this.beginGeometry(t,e,i);let _=o.padding;if(_!=ke&&(o.scale[0]<0||o.scale[1]<0)){let y=o.padding[0],x=o.padding[1],R=o.padding[2],T=o.padding[3];o.scale[0]<0&&(x=-x,T=-T),o.scale[1]<0&&(y=-y,R=-R),_=[y,x,R,T]}const p=this.pixelRatio;this.instructions.push([D.DRAW_IMAGE,l,f,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[1,1],NaN,this.declutterMode_,this.declutterImageWithText_,_==ke?ke:_.map(function(y){return y*p}),g,m,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,d]);const E=1/p,C=g?g.slice(0):null;C&&(C[1]=Ct),this.hitDetectionInstructions.push([D.DRAW_IMAGE,l,f,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[E,E],NaN,this.declutterMode_,this.declutterImageWithText_,_,C,m,this.text_,this.textKey_,this.strokeKey_,this.fillKey_?Ct:this.fillKey_,this.textOffsetX_,this.textOffsetY_,d]),this.endGeometry(e)}}saveTextStates_(){const t=this.textStrokeState_,e=this.textState_,i=this.textFillState_,s=this.strokeKey_;t&&(s in this.strokeStates||(this.strokeStates[s]={strokeStyle:t.strokeStyle,lineCap:t.lineCap,lineDashOffset:t.lineDashOffset,lineWidth:t.lineWidth,lineJoin:t.lineJoin,miterLimit:t.miterLimit,lineDash:t.lineDash}));const r=this.textKey_;r in this.textStates||(this.textStates[r]={font:e.font,textAlign:e.textAlign||$i,justify:e.justify,textBaseline:e.textBaseline||Pn,scale:e.scale});const o=this.fillKey_;i&&(o in this.fillStates||(this.fillStates[o]={fillStyle:i.fillStyle}))}drawChars_(t,e){const i=this.textStrokeState_,s=this.textState_,r=this.strokeKey_,o=this.textKey_,a=this.fillKey_;this.saveTextStates_();const l=this.pixelRatio,c=Gn[s.textBaseline],h=this.textOffsetY_*l,u=this.text_,d=i?i.lineWidth*Math.abs(s.scale[0])/2:0;this.instructions.push([D.DRAW_CHARS,t,e,c,s.overflow,a,s.maxAngle,l,h,r,d*l,u,o,1,this.declutterMode_,this.textKeepUpright_]),this.hitDetectionInstructions.push([D.DRAW_CHARS,t,e,c,s.overflow,a&&Ct,s.maxAngle,l,h,r,d*l,u,o,1/l,this.declutterMode_,this.textKeepUpright_])}setTextStyle(t,e){let i,s,r;if(!t)this.text_="";else{const o=t.getFill();o?(s=this.textFillState_,s||(s={},this.textFillState_=s),s.fillStyle=qt(o.getColor()||Ct)):(s=null,this.textFillState_=s);const a=t.getStroke();if(!a)r=null,this.textStrokeState_=r;else{r=this.textStrokeState_,r||(r={},this.textStrokeState_=r);const m=a.getLineDash(),_=a.getLineDashOffset(),p=a.getWidth(),E=a.getMiterLimit();r.lineCap=a.getLineCap()||mi,r.lineDash=m?m.slice():oe,r.lineDashOffset=_===void 0?ae:_,r.lineJoin=a.getLineJoin()||pi,r.lineWidth=p===void 0?Ji:p,r.miterLimit=E===void 0?Hi:E,r.strokeStyle=qt(a.getColor()||qi)}i=this.textState_;const l=t.getFont()||Ka;Lu(l);const c=t.getScaleArray();i.overflow=t.getOverflow(),i.font=l,i.maxAngle=t.getMaxAngle(),i.placement=t.getPlacement(),i.textAlign=t.getTextAlign(),i.repeat=t.getRepeat(),i.justify=t.getJustify(),i.textBaseline=t.getTextBaseline()||Pn,i.backgroundFill=t.getBackgroundFill(),i.backgroundStroke=t.getBackgroundStroke(),i.padding=t.getPadding()||ke,i.scale=c===void 0?[1,1]:c;const h=t.getOffsetX(),u=t.getOffsetY(),d=t.getRotateWithView(),f=t.getKeepUpright(),g=t.getRotation();this.text_=t.getText()||"",this.textOffsetX_=h===void 0?0:h,this.textOffsetY_=u===void 0?0:u,this.textRotateWithView_=d===void 0?!1:d,this.textKeepUpright_=f===void 0?!0:f,this.textRotation_=g===void 0?0:g,this.strokeKey_=r?(typeof r.strokeStyle=="string"?r.strokeStyle:j(r.strokeStyle))+r.lineCap+r.lineDashOffset+"|"+r.lineWidth+r.lineJoin+r.miterLimit+"["+r.lineDash.join()+"]":"",this.textKey_=i.font+i.scale+(i.textAlign||"?")+(i.repeat||"?")+(i.justify||"?")+(i.textBaseline||"?"),this.fillKey_=s&&s.fillStyle?typeof s.fillStyle=="string"?s.fillStyle:"|"+j(s.fillStyle):""}this.declutterMode_=t.getDeclutterMode(),this.declutterImageWithText_=e}}const ff={Circle:Qo,Default:hn,Image:lf,LineString:hf,Polygon:Qo,Text:df};class gf{constructor(t,e,i,s){this.tolerance_=t,this.maxExtent_=e,this.pixelRatio_=s,this.resolution_=i,this.buildersByZIndex_={}}finish(){const t={};for(const e in this.buildersByZIndex_){t[e]=t[e]||{};const i=this.buildersByZIndex_[e];for(const s in i){const r=i[s].finish();t[e][s]=r}}return t}getBuilder(t,e){const i=t!==void 0?t.toString():"0";let s=this.buildersByZIndex_[i];s===void 0&&(s={},this.buildersByZIndex_[i]=s);let r=s[e];if(r===void 0){const o=ff[e];r=new o(this.tolerance_,this.maxExtent_,this.resolution_,this.pixelRatio_),s[e]=r}return r}}function _f(n,t,e,i,s,r,o,a,l,c,h,u,d=!0){let f=n[t],g=n[t+1],m=0,_=0,p=0,E=0;function C(){m=f,_=g,t+=i,f=n[t],g=n[t+1],E+=p,p=Math.sqrt((f-m)*(f-m)+(g-_)*(g-_))}do C();while(tG[2]}else b=x>L;const A=Math.PI,M=[],Y=T+i===t;t=T,p=0,E=I,f=n[t],g=n[t+1];let F;if(Y){C(),F=Math.atan2(g-_,f-m),b&&(F+=F>0?-A:A);const G=(L+x)/2,O=(k+R)/2;return M[0]=[G,O,(v-r)/2,F,s],M}s=s.replace(/\n/g," ");for(let G=0,O=s.length;G0?-A:A),F!==void 0){let st=K-F;if(st+=st>A?-2*A:st<-A?2*A:0,Math.abs(st)>o)return null}F=K;const B=G;let Q=0;for(;G0&&n.push(` diff --git a/src/static/app/dist/assets/osmap-DZ_3lbim.css b/src/static/dist/WGDashboardAdmin/assets/osmap-DZ_3lbim.css similarity index 100% rename from src/static/app/dist/assets/osmap-DZ_3lbim.css rename to src/static/dist/WGDashboardAdmin/assets/osmap-DZ_3lbim.css diff --git a/src/static/app/dist/assets/peerAssignModal--_bmFbmn.css b/src/static/dist/WGDashboardAdmin/assets/peerAssignModal--_bmFbmn.css similarity index 100% rename from src/static/app/dist/assets/peerAssignModal--_bmFbmn.css rename to src/static/dist/WGDashboardAdmin/assets/peerAssignModal--_bmFbmn.css diff --git a/src/static/app/dist/assets/peerAssignModal-TXmFT9UH.js b/src/static/dist/WGDashboardAdmin/assets/peerAssignModal-BlY9USB3.js similarity index 97% rename from src/static/app/dist/assets/peerAssignModal-TXmFT9UH.js rename to src/static/dist/WGDashboardAdmin/assets/peerAssignModal-BlY9USB3.js index f5d1814a..9a5fc4bd 100644 --- a/src/static/app/dist/assets/peerAssignModal-TXmFT9UH.js +++ b/src/static/dist/WGDashboardAdmin/assets/peerAssignModal-BlY9USB3.js @@ -1 +1 @@ -import{L as _}from"./localeText-IWgb3jjT.js";import{q as N,c as l,f as n,a as e,t as v,F as y,i as $,u as g,n as f,b as u,r as k,E,m as G,y as I,e as P,j as S,d as w,_ as D,w as L,T,L as A}from"./index-BiMgJckX.js";import{D as x}from"./DashboardClientAssignmentStore-hnc4wS2g.js";const V={class:"d-flex flex-column gap-2"},B={class:"mb-0"},M={key:0,class:"d-flex flex-column gap-2"},j={class:"bg-body-secondary rounded-3 text-start p-2 d-flex"},U={class:"d-flex flex-column"},F={class:"mb-0"},O={class:"text-muted"},q=["onClick"],z={key:0,class:"spinner-border spinner-border-sm"},H={key:1,class:"bi bi-plus-circle-fill"},J={key:1},K={class:"text-muted"},Q={__name:"searchClientsGroup",props:["group","groupName","searchString"],emits:["count","assign"],setup(r,{emit:p}){const i=r,t=p,a=x(),m=N(()=>{let s=i.group.filter(d=>!a.assignments.map(o=>o.Client.ClientID).includes(d.ClientID));if(i.searchString){let d=s.filter(o=>o.Name&&o.Name.includes(i.searchString)||o.Email&&o.Email.includes(i.searchString));return t("count",d.length),d}return t("count",s.length),s});return(s,d)=>(n(),l("div",V,[e("h6",B,[e("small",null,v(r.groupName),1)]),m.value.length>0?(n(),l("div",M,[(n(!0),l(y,null,$(m.value,o=>(n(),l("div",j,[e("div",U,[e("small",F,v(o.Email),1),e("small",O,v(o.Name?o.Name:"No Name"),1)]),e("button",{onClick:c=>t("assign",o.ClientID),class:f([{disabled:g(a).assigning},"btn bg-success-subtle text-success-emphasis ms-auto"])},[g(a).assigning===o.ClientID?(n(),l("span",z)):(n(),l("i",H))],10,q)]))),256))])):(n(),l("div",J,[e("small",K,[u(_,{t:"No result"})])]))]))}},R={class:"p-3 bg-body-tertiary rounded-3 position-relative"},W={for:"SearchClient",class:"form-label"},X={class:"text-muted"},Y={class:"w-100 rounded-3 d-flex flex-column gap-2"},Z={class:"mt-1"},ee=["onClick"],se={class:"p-3 border rounded-3 d-flex flex-column gap-2 overflow-y-scroll",style:{height:"400px"}},te={__name:"searchClients",props:["clients","newAssignClients","assignments"],emits:["assign"],setup(r,{emit:p}){const i=x(),t=k(""),a=k(""),m=N(()=>t.value?{[t.value]:i.clients[t.value]}:i.clients),s=E({});Object.keys(i.clients).forEach(o=>s[o]=i.clients[o].length);const d=p;return(o,c)=>(n(),l("div",R,[e("h6",null,[u(_,{t:"Assign to Clients"})]),e("label",W,[e("small",X,[u(_,{t:"Enter Email or Name to Search"})])]),G(e("input",{class:"form-control rounded-3 mb-2",id:"SearchClient","onUpdate:modelValue":c[0]||(c[0]=b=>a.value=b),type:"email"},null,512),[[I,a.value]]),e("div",Y,[e("div",null,[c[3]||(c[3]=e("small",{class:"text-muted"},"Groups",-1)),e("div",Z,[e("button",{class:f([{active:!t.value},"btn bg-primary-subtle text-primary-emphasis btn-sm me-2 rounded-3"]),onClick:c[1]||(c[1]=b=>t.value="")},[u(_,{t:"All"})],2),(n(!0),l(y,null,$(g(i).clients,(b,h)=>(n(),l("button",{onClick:C=>t.value=h,class:f([{active:t.value===h},"btn bg-primary-subtle text-primary-emphasis btn-sm me-2 rounded-3"])},[P(v(h)+" ",1),e("span",{class:f(["ms-1 badge",[s[h]>0?"bg-primary":"bg-secondary"]])},v(s[h]),3)],10,ee))),256))])]),e("div",se,[(n(!0),l(y,null,$(m.value,(b,h)=>(n(),S(Q,{onAssign:c[2]||(c[2]=C=>d("assign",C)),onCount:C=>s[h]=C,searchString:a.value,group:b,groupName:h},null,8,["onCount","searchString","group","groupName"]))),256))])])]))}},ne={class:"bg-body-secondary rounded-3 text-start p-2 mb-2 assignment"},ie={key:0,class:"d-flex"},le={class:"d-flex flex-column"},ae={class:"text-muted"},oe={key:1,class:"d-flex gap-2"},re={class:"d-flex flex-column"},ce={class:"text-muted"},de={key:0,class:"spinner-border spinner-border-sm"},ue={key:1,class:"bi bi-check-lg"},me={__name:"assignment",props:["assignment"],emits:["unassign"],setup(r,{emit:p}){const i=p,t=k(!1),a=x();return(m,s)=>(n(),l("div",ne,[t.value?(n(),l("div",oe,[e("div",re,[e("small",null,[u(_,{t:"Are you sure to delete assignment for"})]),e("small",ce,[u(_,{t:r.assignment.Client.Email+" in group "+(r.assignment.Client.ClientGroup?r.assignment.Client.ClientGroup:"Local")+"?"},null,8,["t"])])]),e("button",{onClick:s[1]||(s[1]=d=>i("unassign")),"aria-label":"Delete Assignment",class:f([{disabled:g(a).unassigning},"btn bg-danger-subtle text-danger-emphasis ms-auto"])},[g(a).unassigning?(n(),l("span",de)):(n(),l("i",ue))],2),e("button",{class:f([{disabled:g(a).unassigning},"btn bg-secondary-subtle text-secondary-emphasis"]),onClick:s[2]||(s[2]=d=>t.value=!t.value),"aria-label":"Cancel Delete Assignment"},s[4]||(s[4]=[e("i",{class:"bi bi-x-lg"},null,-1)]),2)])):(n(),l("div",ie,[e("div",le,[e("small",null,v(r.assignment.Client.Email),1),e("small",ae,v(r.assignment.Client.Name?r.assignment.Client.Name+" | ":"")+v(r.assignment.Client.ClientGroup?r.assignment.Client.ClientGroup:"Local"),1)]),t.value?w("",!0):(n(),l("button",{key:0,onClick:s[0]||(s[0]=d=>t.value=!t.value),class:f([{disabled:g(a).unassigning},"btn bg-danger-subtle text-danger-emphasis ms-auto"]),"aria-label":"Delete Assignment"},s[3]||(s[3]=[e("i",{class:"bi bi-trash-fill"},null,-1)]),2))]))]))}},ge={class:"p-3 bg-body-tertiary rounded-3 d-flex flex-column gap-2"},_e={class:"mb-0"},pe={key:0,class:"text-center"},be={class:"text-muted"},he={__name:"assignedClients",props:["configurationName","peer"],emits:["unassign"],setup(r,{emit:p}){const i=x();return(t,a)=>(n(),l("div",ge,[e("h6",_e,[u(_,{t:"Assigned Clients"})]),u(T,{name:"list",tag:"div",class:"position-relative"},{default:L(()=>[(n(!0),l(y,null,$(g(i).assignments,m=>(n(),S(me,{assignment:m,key:m.AssignmentID,onUnassign:s=>g(i).unassignClient(r.configurationName,r.peer,m.AssignmentID)},null,8,["assignment","onUnassign"]))),128))]),_:1}),g(i).assignments.length===0?(n(),l("div",pe,[e("small",be,[u(_,{t:"No client assigned to this peer yet"})])])):w("",!0)]))}},ve=D(he,[["__scopeId","data-v-99c0844e"]]),fe={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},xe={class:"container d-flex h-100 w-100"},Ce={class:"m-auto modal-dialog-centered dashboardModal",style:{width:"700px"}},ye={class:"card rounded-3 shadow flex-grow-1"},$e={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4"},ke={class:"mb-0"},Ae={class:"card-body px-4 pb-4 d-flex gap-2 flex-column"},Ne={__name:"peerAssignModal",props:{selectedPeer:Object},emits:["close"],async setup(r,{emit:p}){let i,t;const a=r,m=p,s=x();s.clients.length>0?s.getClients():([i,t]=A(()=>s.getClients()),await i,t()),[i,t]=A(()=>s.getAssignedClients(a.selectedPeer.configuration.Name,a.selectedPeer.id)),await i,t();const d=async o=>{await s.assignClient(a.selectedPeer.configuration.Name,a.selectedPeer.id,o)};return(o,c)=>(n(),l("div",fe,[e("div",xe,[e("div",Ce,[e("div",ye,[e("div",$e,[e("h4",ke,[u(_,{t:"Assign Peer to Client"})]),e("button",{type:"button",class:"btn-close ms-auto",onClick:c[0]||(c[0]=b=>m("close"))})]),e("div",Ae,[u(ve,{"configuration-name":a.selectedPeer.configuration.Name,peer:a.selectedPeer.id},null,8,["configuration-name","peer"]),u(te,{onAssign:c[1]||(c[1]=b=>d(b))})])])])])]))}},Ee=D(Ne,[["__scopeId","data-v-b52659b4"]]);export{Ee as default}; +import{L as _}from"./localeText-BwlyH2uL.js";import{q as N,c as l,f as n,a as e,t as v,F as y,i as $,u as g,n as f,b as u,r as k,E,m as G,y as I,e as P,j as S,d as w,_ as D,w as L,T,L as A}from"./index-D5fbjBmH.js";import{D as x}from"./DashboardClientAssignmentStore-C45wUqOp.js";const V={class:"d-flex flex-column gap-2"},B={class:"mb-0"},M={key:0,class:"d-flex flex-column gap-2"},j={class:"bg-body-secondary rounded-3 text-start p-2 d-flex"},U={class:"d-flex flex-column"},F={class:"mb-0"},O={class:"text-muted"},q=["onClick"],z={key:0,class:"spinner-border spinner-border-sm"},H={key:1,class:"bi bi-plus-circle-fill"},J={key:1},K={class:"text-muted"},Q={__name:"searchClientsGroup",props:["group","groupName","searchString"],emits:["count","assign"],setup(r,{emit:p}){const i=r,t=p,a=x(),m=N(()=>{let s=i.group.filter(d=>!a.assignments.map(o=>o.Client.ClientID).includes(d.ClientID));if(i.searchString){let d=s.filter(o=>o.Name&&o.Name.includes(i.searchString)||o.Email&&o.Email.includes(i.searchString));return t("count",d.length),d}return t("count",s.length),s});return(s,d)=>(n(),l("div",V,[e("h6",B,[e("small",null,v(r.groupName),1)]),m.value.length>0?(n(),l("div",M,[(n(!0),l(y,null,$(m.value,o=>(n(),l("div",j,[e("div",U,[e("small",F,v(o.Email),1),e("small",O,v(o.Name?o.Name:"No Name"),1)]),e("button",{onClick:c=>t("assign",o.ClientID),class:f([{disabled:g(a).assigning},"btn bg-success-subtle text-success-emphasis ms-auto"])},[g(a).assigning===o.ClientID?(n(),l("span",z)):(n(),l("i",H))],10,q)]))),256))])):(n(),l("div",J,[e("small",K,[u(_,{t:"No result"})])]))]))}},R={class:"p-3 bg-body-tertiary rounded-3 position-relative"},W={for:"SearchClient",class:"form-label"},X={class:"text-muted"},Y={class:"w-100 rounded-3 d-flex flex-column gap-2"},Z={class:"mt-1"},ee=["onClick"],se={class:"p-3 border rounded-3 d-flex flex-column gap-2 overflow-y-scroll",style:{height:"400px"}},te={__name:"searchClients",props:["clients","newAssignClients","assignments"],emits:["assign"],setup(r,{emit:p}){const i=x(),t=k(""),a=k(""),m=N(()=>t.value?{[t.value]:i.clients[t.value]}:i.clients),s=E({});Object.keys(i.clients).forEach(o=>s[o]=i.clients[o].length);const d=p;return(o,c)=>(n(),l("div",R,[e("h6",null,[u(_,{t:"Assign to Clients"})]),e("label",W,[e("small",X,[u(_,{t:"Enter Email or Name to Search"})])]),G(e("input",{class:"form-control rounded-3 mb-2",id:"SearchClient","onUpdate:modelValue":c[0]||(c[0]=b=>a.value=b),type:"email"},null,512),[[I,a.value]]),e("div",Y,[e("div",null,[c[3]||(c[3]=e("small",{class:"text-muted"},"Groups",-1)),e("div",Z,[e("button",{class:f([{active:!t.value},"btn bg-primary-subtle text-primary-emphasis btn-sm me-2 rounded-3"]),onClick:c[1]||(c[1]=b=>t.value="")},[u(_,{t:"All"})],2),(n(!0),l(y,null,$(g(i).clients,(b,h)=>(n(),l("button",{onClick:C=>t.value=h,class:f([{active:t.value===h},"btn bg-primary-subtle text-primary-emphasis btn-sm me-2 rounded-3"])},[P(v(h)+" ",1),e("span",{class:f(["ms-1 badge",[s[h]>0?"bg-primary":"bg-secondary"]])},v(s[h]),3)],10,ee))),256))])]),e("div",se,[(n(!0),l(y,null,$(m.value,(b,h)=>(n(),S(Q,{onAssign:c[2]||(c[2]=C=>d("assign",C)),onCount:C=>s[h]=C,searchString:a.value,group:b,groupName:h},null,8,["onCount","searchString","group","groupName"]))),256))])])]))}},ne={class:"bg-body-secondary rounded-3 text-start p-2 mb-2 assignment"},ie={key:0,class:"d-flex"},le={class:"d-flex flex-column"},ae={class:"text-muted"},oe={key:1,class:"d-flex gap-2"},re={class:"d-flex flex-column"},ce={class:"text-muted"},de={key:0,class:"spinner-border spinner-border-sm"},ue={key:1,class:"bi bi-check-lg"},me={__name:"assignment",props:["assignment"],emits:["unassign"],setup(r,{emit:p}){const i=p,t=k(!1),a=x();return(m,s)=>(n(),l("div",ne,[t.value?(n(),l("div",oe,[e("div",re,[e("small",null,[u(_,{t:"Are you sure to delete assignment for"})]),e("small",ce,[u(_,{t:r.assignment.Client.Email+" in group "+(r.assignment.Client.ClientGroup?r.assignment.Client.ClientGroup:"Local")+"?"},null,8,["t"])])]),e("button",{onClick:s[1]||(s[1]=d=>i("unassign")),"aria-label":"Delete Assignment",class:f([{disabled:g(a).unassigning},"btn bg-danger-subtle text-danger-emphasis ms-auto"])},[g(a).unassigning?(n(),l("span",de)):(n(),l("i",ue))],2),e("button",{class:f([{disabled:g(a).unassigning},"btn bg-secondary-subtle text-secondary-emphasis"]),onClick:s[2]||(s[2]=d=>t.value=!t.value),"aria-label":"Cancel Delete Assignment"},s[4]||(s[4]=[e("i",{class:"bi bi-x-lg"},null,-1)]),2)])):(n(),l("div",ie,[e("div",le,[e("small",null,v(r.assignment.Client.Email),1),e("small",ae,v(r.assignment.Client.Name?r.assignment.Client.Name+" | ":"")+v(r.assignment.Client.ClientGroup?r.assignment.Client.ClientGroup:"Local"),1)]),t.value?w("",!0):(n(),l("button",{key:0,onClick:s[0]||(s[0]=d=>t.value=!t.value),class:f([{disabled:g(a).unassigning},"btn bg-danger-subtle text-danger-emphasis ms-auto"]),"aria-label":"Delete Assignment"},s[3]||(s[3]=[e("i",{class:"bi bi-trash-fill"},null,-1)]),2))]))]))}},ge={class:"p-3 bg-body-tertiary rounded-3 d-flex flex-column gap-2"},_e={class:"mb-0"},pe={key:0,class:"text-center"},be={class:"text-muted"},he={__name:"assignedClients",props:["configurationName","peer"],emits:["unassign"],setup(r,{emit:p}){const i=x();return(t,a)=>(n(),l("div",ge,[e("h6",_e,[u(_,{t:"Assigned Clients"})]),u(T,{name:"list",tag:"div",class:"position-relative"},{default:L(()=>[(n(!0),l(y,null,$(g(i).assignments,m=>(n(),S(me,{assignment:m,key:m.AssignmentID,onUnassign:s=>g(i).unassignClient(r.configurationName,r.peer,m.AssignmentID)},null,8,["assignment","onUnassign"]))),128))]),_:1}),g(i).assignments.length===0?(n(),l("div",pe,[e("small",be,[u(_,{t:"No client assigned to this peer yet"})])])):w("",!0)]))}},ve=D(he,[["__scopeId","data-v-99c0844e"]]),fe={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},xe={class:"container d-flex h-100 w-100"},Ce={class:"m-auto modal-dialog-centered dashboardModal",style:{width:"700px"}},ye={class:"card rounded-3 shadow flex-grow-1"},$e={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4"},ke={class:"mb-0"},Ae={class:"card-body px-4 pb-4 d-flex gap-2 flex-column"},Ne={__name:"peerAssignModal",props:{selectedPeer:Object},emits:["close"],async setup(r,{emit:p}){let i,t;const a=r,m=p,s=x();s.clients.length>0?s.getClients():([i,t]=A(()=>s.getClients()),await i,t()),[i,t]=A(()=>s.getAssignedClients(a.selectedPeer.configuration.Name,a.selectedPeer.id)),await i,t();const d=async o=>{await s.assignClient(a.selectedPeer.configuration.Name,a.selectedPeer.id,o)};return(o,c)=>(n(),l("div",fe,[e("div",xe,[e("div",Ce,[e("div",ye,[e("div",$e,[e("h4",ke,[u(_,{t:"Assign Peer to Client"})]),e("button",{type:"button",class:"btn-close ms-auto",onClick:c[0]||(c[0]=b=>m("close"))})]),e("div",Ae,[u(ve,{"configuration-name":a.selectedPeer.configuration.Name,peer:a.selectedPeer.id},null,8,["configuration-name","peer"]),u(te,{onAssign:c[1]||(c[1]=b=>d(b))})])])])])]))}},Ee=D(Ne,[["__scopeId","data-v-b52659b4"]]);export{Ee as default}; diff --git a/src/static/app/dist/assets/peerConfigurationFile-Brga1VzN.js b/src/static/dist/WGDashboardAdmin/assets/peerConfigurationFile-CdJ_2hj_.js similarity index 92% rename from src/static/app/dist/assets/peerConfigurationFile-Brga1VzN.js rename to src/static/dist/WGDashboardAdmin/assets/peerConfigurationFile-CdJ_2hj_.js index 8db23a48..9179ad13 100644 --- a/src/static/app/dist/assets/peerConfigurationFile-Brga1VzN.js +++ b/src/static/dist/WGDashboardAdmin/assets/peerConfigurationFile-CdJ_2hj_.js @@ -1 +1 @@ -import{_ as v,D as g,r as o,o as h,K as x,g as y,c as i,f as n,a as s,b as c,d as w,n as C,w as k,k as F}from"./index-BiMgJckX.js";import{L as T}from"./localeText-IWgb3jjT.js";import"./browser-CwJzqt71.js";const M={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0"},S={class:"container d-flex h-100 w-100"},D={class:"m-auto modal-dialog-centered dashboardModal justify-content-center"},P={class:"card rounded-3 shadow w-100"},B={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},G={class:"mb-0"},L={class:"card-body p-4 d-flex flex-column gap-3"},N={style:{height:"300px"},class:"d-flex"},V=["value"],j={key:0,class:"spinner-border m-auto",role:"status"},I={class:"d-flex"},W=["disabled"],$={key:0,class:"d-block"},q={key:1,class:"d-block",id:"check"},z={__name:"peerConfigurationFile",props:{selectedPeer:Object},emits:["close"],setup(u,{emit:p}){const m=p,f=u,r=g(),t=o(!1),l=o(""),a=o(!0);o({error:!1,message:void 0}),h(()=>{const d=x();y("/api/downloadPeer/"+d.params.id,{id:f.selectedPeer.id},e=>{e.status?(l.value=e.data.file,a.value=!1):this.dashboardStore.newMessage("Server",e.message,"danger")})});const b=async()=>{navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(l.value).then(()=>{t.value=!0,setTimeout(()=>{t.value=!1},3e3)}).catch(()=>{r.newMessage("WGDashboard","Failed to copy","danger")}):(document.querySelector("#peerConfigurationFile").select(),document.execCommand("copy")?(t.value=!0,setTimeout(()=>{t.value=!1},3e3)):r.newMessage("WGDashboard","Failed to copy","danger"))};return(d,e)=>(n(),i("div",M,[s("div",S,[s("div",D,[s("div",P,[s("div",B,[s("h4",G,[c(T,{t:"Peer Configuration File"})]),s("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=_=>m("close"))})]),s("div",L,[s("div",N,[s("textarea",{style:{height:"300px"},class:C(["form-control w-100 rounded-3 animate__fadeIn animate__faster animate__animated",{"d-none":a.value}]),id:"peerConfigurationFile",value:l.value},null,10,V),a.value?(n(),i("div",j,e[2]||(e[2]=[s("span",{class:"visually-hidden"},"Loading...",-1)]))):w("",!0)]),s("div",I,[s("button",{onClick:e[1]||(e[1]=_=>b()),disabled:t.value||a.value,class:"ms-auto btn bg-primary-subtle border-primary-subtle text-primary-emphasis rounded-3 position-relative"},[c(F,{name:"slide-up",mode:"out-in"},{default:k(()=>[t.value?(n(),i("span",q,e[4]||(e[4]=[s("i",{class:"bi bi-check-circle-fill"},null,-1)]))):(n(),i("span",$,e[3]||(e[3]=[s("i",{class:"bi bi-clipboard-fill"},null,-1)])))]),_:1})],8,W)])])])])])]))}},R=v(z,[["__scopeId","data-v-b0ea2d46"]]);export{R as default}; +import{_ as v,D as g,r as o,o as h,K as x,g as y,c as i,f as n,a as s,b as c,d as w,n as C,w as k,k as F}from"./index-D5fbjBmH.js";import{L as T}from"./localeText-BwlyH2uL.js";import"./browser-DpR0RqZi.js";const M={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0"},S={class:"container d-flex h-100 w-100"},D={class:"m-auto modal-dialog-centered dashboardModal justify-content-center"},P={class:"card rounded-3 shadow w-100"},B={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},G={class:"mb-0"},L={class:"card-body p-4 d-flex flex-column gap-3"},N={style:{height:"300px"},class:"d-flex"},V=["value"],j={key:0,class:"spinner-border m-auto",role:"status"},I={class:"d-flex"},W=["disabled"],$={key:0,class:"d-block"},q={key:1,class:"d-block",id:"check"},z={__name:"peerConfigurationFile",props:{selectedPeer:Object},emits:["close"],setup(u,{emit:p}){const m=p,f=u,r=g(),t=o(!1),l=o(""),a=o(!0);o({error:!1,message:void 0}),h(()=>{const d=x();y("/api/downloadPeer/"+d.params.id,{id:f.selectedPeer.id},e=>{e.status?(l.value=e.data.file,a.value=!1):this.dashboardStore.newMessage("Server",e.message,"danger")})});const b=async()=>{navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(l.value).then(()=>{t.value=!0,setTimeout(()=>{t.value=!1},3e3)}).catch(()=>{r.newMessage("WGDashboard","Failed to copy","danger")}):(document.querySelector("#peerConfigurationFile").select(),document.execCommand("copy")?(t.value=!0,setTimeout(()=>{t.value=!1},3e3)):r.newMessage("WGDashboard","Failed to copy","danger"))};return(d,e)=>(n(),i("div",M,[s("div",S,[s("div",D,[s("div",P,[s("div",B,[s("h4",G,[c(T,{t:"Peer Configuration File"})]),s("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=_=>m("close"))})]),s("div",L,[s("div",N,[s("textarea",{style:{height:"300px"},class:C(["form-control w-100 rounded-3 animate__fadeIn animate__faster animate__animated",{"d-none":a.value}]),id:"peerConfigurationFile",value:l.value},null,10,V),a.value?(n(),i("div",j,e[2]||(e[2]=[s("span",{class:"visually-hidden"},"Loading...",-1)]))):w("",!0)]),s("div",I,[s("button",{onClick:e[1]||(e[1]=_=>b()),disabled:t.value||a.value,class:"ms-auto btn bg-primary-subtle border-primary-subtle text-primary-emphasis rounded-3 position-relative"},[c(F,{name:"slide-up",mode:"out-in"},{default:k(()=>[t.value?(n(),i("span",q,e[4]||(e[4]=[s("i",{class:"bi bi-check-circle-fill"},null,-1)]))):(n(),i("span",$,e[3]||(e[3]=[s("i",{class:"bi bi-clipboard-fill"},null,-1)])))]),_:1})],8,W)])])])])])]))}},R=v(z,[["__scopeId","data-v-b0ea2d46"]]);export{R as default}; diff --git a/src/static/app/dist/assets/peerConfigurationFile-Z9ms5mIx.css b/src/static/dist/WGDashboardAdmin/assets/peerConfigurationFile-Z9ms5mIx.css similarity index 100% rename from src/static/app/dist/assets/peerConfigurationFile-Z9ms5mIx.css rename to src/static/dist/WGDashboardAdmin/assets/peerConfigurationFile-Z9ms5mIx.css diff --git a/src/static/app/dist/assets/peerJobs-D_dDl936.css b/src/static/dist/WGDashboardAdmin/assets/peerJobs-D_dDl936.css similarity index 100% rename from src/static/app/dist/assets/peerJobs-D_dDl936.css rename to src/static/dist/WGDashboardAdmin/assets/peerJobs-D_dDl936.css diff --git a/src/static/app/dist/assets/peerJobs-D6QHckFc.js b/src/static/dist/WGDashboardAdmin/assets/peerJobs-Dy2B-B5E.js similarity index 88% rename from src/static/app/dist/assets/peerJobs-D6QHckFc.js rename to src/static/dist/WGDashboardAdmin/assets/peerJobs-Dy2B-B5E.js index 1a4b9ae0..ec615a52 100644 --- a/src/static/app/dist/assets/peerJobs-D6QHckFc.js +++ b/src/static/dist/WGDashboardAdmin/assets/peerJobs-Dy2B-B5E.js @@ -1 +1 @@ -import{S as p,a as b}from"./peerList-CoKpGl0t.js";import{_ as h,h as i,c as a,f as s,a as e,b as r,w as u,d as m,F as _,i as f,j as v,T as J,A as x,W as g}from"./index-BiMgJckX.js";import{L as w}from"./localeText-IWgb3jjT.js";import"./protocolBadge-CIPV5pRM.js";import"./index-CaZlhoCi.js";import"./dayjs.min-DfzgISij.js";import"./vue-datepicker-COurIrvQ.js";const P={name:"peerJobs",setup(){return{store:g()}},props:{selectedPeer:Object},components:{LocaleText:w,SchedulePeerJob:b,ScheduleDropdown:p},data(){return{}},methods:{deleteJob(d){this.selectedPeer.jobs=this.selectedPeer.jobs.filter(t=>t.JobID!==d.JobID)},addJob(){this.selectedPeer.jobs.unshift(JSON.parse(JSON.stringify({JobID:x().toString(),Configuration:this.selectedPeer.configuration.Name,Peer:this.selectedPeer.id,Field:this.store.PeerScheduleJobs.dropdowns.Field[0].value,Operator:this.store.PeerScheduleJobs.dropdowns.Operator[0].value,Value:"",CreationDate:"",ExpireDate:"",Action:this.store.PeerScheduleJobs.dropdowns.Action[0].value})))}}},S={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},y={class:"container d-flex h-100 w-100"},$={class:"m-auto modal-dialog-centered dashboardModal"},C={class:"card rounded-3 shadow",style:{width:"700px"}},D={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},j={class:"mb-0 fw-normal"},k={class:"card-body px-4 pb-4 pt-2 position-relative"},T={class:"d-flex align-items-center mb-3"},N={class:"card shadow-sm",key:"none",style:{height:"153px"}},I={class:"card-body text-muted text-center d-flex"},L={class:"m-auto"};function O(d,t,B,F,V,A){const n=i("LocaleText"),l=i("SchedulePeerJob");return s(),a("div",S,[e("div",y,[e("div",$,[e("div",C,[e("div",D,[e("h4",j,[r(n,{t:"Schedule Jobs"})]),e("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=o=>this.$emit("close"))})]),e("div",k,[e("div",T,[e("button",{class:"btn bg-primary-subtle border-1 border-primary-subtle text-primary-emphasis rounded-3 shadow",onClick:t[1]||(t[1]=o=>this.addJob())},[t[3]||(t[3]=e("i",{class:"bi bi-plus-lg me-2"},null,-1)),r(n,{t:"Job"})])]),r(J,{name:"schedulePeerJobTransition",tag:"div",class:"position-relative"},{default:u(()=>[(s(!0),a(_,null,f(this.selectedPeer.jobs,(o,E)=>(s(),v(l,{onRefresh:t[2]||(t[2]=c=>this.$emit("refresh")),onDelete:c=>this.deleteJob(o),dropdowns:this.store.PeerScheduleJobs.dropdowns,key:o.JobID,pjob:o},null,8,["onDelete","dropdowns","pjob"]))),128)),this.selectedPeer.jobs.length===0?(s(),a("div",N,[e("div",I,[e("h6",L,[r(n,{t:"This peer does not have any job yet."})])])])):m("",!0)]),_:1})])])])])])}const K=h(P,[["render",O],["__scopeId","data-v-5bbdd42b"]]);export{K as default}; +import{S as p,a as b}from"./peerList-Bnc70xia.js";import{_ as h,h as i,c as a,f as s,a as e,b as r,w as u,d as m,F as _,i as f,j as v,T as J,A as x,W as g}from"./index-D5fbjBmH.js";import{L as w}from"./localeText-BwlyH2uL.js";import"./protocolBadge-BVQE6rMK.js";import"./index-DEZPVeS-.js";import"./dayjs.min-Rf3-f83x.js";import"./vue-datepicker-TsAnng-H.js";const P={name:"peerJobs",setup(){return{store:g()}},props:{selectedPeer:Object},components:{LocaleText:w,SchedulePeerJob:b,ScheduleDropdown:p},data(){return{}},methods:{deleteJob(d){this.selectedPeer.jobs=this.selectedPeer.jobs.filter(t=>t.JobID!==d.JobID)},addJob(){this.selectedPeer.jobs.unshift(JSON.parse(JSON.stringify({JobID:x().toString(),Configuration:this.selectedPeer.configuration.Name,Peer:this.selectedPeer.id,Field:this.store.PeerScheduleJobs.dropdowns.Field[0].value,Operator:this.store.PeerScheduleJobs.dropdowns.Operator[0].value,Value:"",CreationDate:"",ExpireDate:"",Action:this.store.PeerScheduleJobs.dropdowns.Action[0].value})))}}},S={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},y={class:"container d-flex h-100 w-100"},$={class:"m-auto modal-dialog-centered dashboardModal"},C={class:"card rounded-3 shadow",style:{width:"700px"}},D={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},j={class:"mb-0 fw-normal"},k={class:"card-body px-4 pb-4 pt-2 position-relative"},T={class:"d-flex align-items-center mb-3"},N={class:"card shadow-sm",key:"none",style:{height:"153px"}},I={class:"card-body text-muted text-center d-flex"},L={class:"m-auto"};function O(d,t,B,F,V,A){const n=i("LocaleText"),l=i("SchedulePeerJob");return s(),a("div",S,[e("div",y,[e("div",$,[e("div",C,[e("div",D,[e("h4",j,[r(n,{t:"Schedule Jobs"})]),e("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=o=>this.$emit("close"))})]),e("div",k,[e("div",T,[e("button",{class:"btn bg-primary-subtle border-1 border-primary-subtle text-primary-emphasis rounded-3 shadow",onClick:t[1]||(t[1]=o=>this.addJob())},[t[3]||(t[3]=e("i",{class:"bi bi-plus-lg me-2"},null,-1)),r(n,{t:"Job"})])]),r(J,{name:"schedulePeerJobTransition",tag:"div",class:"position-relative"},{default:u(()=>[(s(!0),a(_,null,f(this.selectedPeer.jobs,(o,E)=>(s(),v(l,{onRefresh:t[2]||(t[2]=c=>this.$emit("refresh")),onDelete:c=>this.deleteJob(o),dropdowns:this.store.PeerScheduleJobs.dropdowns,key:o.JobID,pjob:o},null,8,["onDelete","dropdowns","pjob"]))),128)),this.selectedPeer.jobs.length===0?(s(),a("div",N,[e("div",I,[e("h6",L,[r(n,{t:"This peer does not have any job yet."})])])])):m("",!0)]),_:1})])])])])])}const K=h(P,[["render",O],["__scopeId","data-v-5bbdd42b"]]);export{K as default}; diff --git a/src/static/app/dist/assets/peerList-BH1nrHD0.css b/src/static/dist/WGDashboardAdmin/assets/peerList-BH1nrHD0.css similarity index 100% rename from src/static/app/dist/assets/peerList-BH1nrHD0.css rename to src/static/dist/WGDashboardAdmin/assets/peerList-BH1nrHD0.css diff --git a/src/static/app/dist/assets/peerList-CoKpGl0t.js b/src/static/dist/WGDashboardAdmin/assets/peerList-Bnc70xia.js similarity index 98% rename from src/static/app/dist/assets/peerList-CoKpGl0t.js rename to src/static/dist/WGDashboardAdmin/assets/peerList-Bnc70xia.js index 4d96ac53..feb67e04 100644 --- a/src/static/app/dist/assets/peerList-CoKpGl0t.js +++ b/src/static/dist/WGDashboardAdmin/assets/peerList-Bnc70xia.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/peerAssignModal-TXmFT9UH.js","assets/localeText-IWgb3jjT.js","assets/index-BiMgJckX.js","assets/index-C4LstPme.css","assets/DashboardClientAssignmentStore-hnc4wS2g.js","assets/peerAssignModal--_bmFbmn.css","assets/peerShareLinkModal-C9EC33RC.js","assets/dayjs.min-DfzgISij.js","assets/vue-datepicker-COurIrvQ.js","assets/peerShareLinkModal-DgDHiTOw.css","assets/peerJobs-D6QHckFc.js","assets/protocolBadge-CIPV5pRM.js","assets/index-CaZlhoCi.js","assets/peerJobs-D_dDl936.css","assets/peerQRCode-DY-P0WRZ.js","assets/browser-CwJzqt71.js","assets/peerQRCode-DuWWfBch.css","assets/peerConfigurationFile-Brga1VzN.js","assets/peerConfigurationFile-Z9ms5mIx.css","assets/peerSettings-CNJkZEkI.js","assets/peerSettings-CSjO_Okh.css"])))=>i.map(i=>d[i]); -import{r as w,K as Y,D as U,o as X,H as G,x as me,q as W,c as m,f as i,a as e,b as l,u as E,d as $,t as S,g as K,_ as R,h as j,F as N,i as V,n as I,z as J,G as F,W as q,M as we,N as xe,O as Z,w as z,k as oe,e as O,j as A,P as ee,T as le,Q as te,J as he,m as D,y as M,R as ce,I as pe,v as H,E as ae,U as ke,s as Q,C as ge,V as Se,L as be,p as Pe,S as Ce}from"./index-BiMgJckX.js";import{_ as Ie}from"./protocolBadge-CIPV5pRM.js";import{L as f}from"./localeText-IWgb3jjT.js";import{C as Ae,L as De,B as Le,a as Oe,b as Me,c as Ne,p as Re,d as Be,e as Te,f as je,P as Je,h as Ue,g as fe}from"./index-CaZlhoCi.js";import{d as ie}from"./dayjs.min-DfzgISij.js";import{Q as Ve}from"./vue-datepicker-COurIrvQ.js";const Ee={class:"row gx-2 gy-2 mb-3"},Ke={class:"col-12"},Fe={class:"card rounded-3 bg-transparent",style:{height:"270px"}},We={class:"card-header bg-transparent border-0"},ze={class:"text-muted"},He={class:"card-body pt-1"},qe={class:"col-sm col-lg-6"},Ge={class:"card rounded-3 bg-transparent",style:{height:"270px"}},Ye={class:"card-header bg-transparent border-0 d-flex align-items-center"},Qe={class:"text-muted"},Ze={key:0,class:"text-primary fw-bold ms-auto"},Xe={class:"card-body pt-1"},et={class:"col-sm col-lg-6"},tt={class:"card rounded-3 bg-transparent",style:{height:"270px"}},st={class:"card-header bg-transparent border-0 d-flex align-items-center"},ot={class:"text-muted"},lt={key:0,class:"text-success fw-bold ms-auto"},nt={class:"card-body pt-1"},at={__name:"peerDataUsageCharts",props:{configurationPeers:Array,configurationInfo:Object},setup(s){Ae.register(De,Le,Oe,Me,Ne,Re,Be,Te,je,Je);const t=s,n=w({timestamp:[],data:[]}),d=w({timestamp:[],data:[]}),c=Y(),p=U(),o=w(void 0),r=async()=>{await K("/api/getWireguardConfigurationRealtimeTraffic",{configurationName:c.params.id},g=>{let _=ie().format("hh:mm:ss A");(g.data.sent!==0&&g.data.recv!==0||n.value.data.length>0&&d.value.data.length>0)&&(n.value.timestamp.push(_),n.value.data.push(g.data.sent),d.value.timestamp.push(_),d.value.data.push(g.data.recv))})},u=()=>{clearInterval(o.value),o.value=void 0,t.configurationInfo.Status&&(o.value=setInterval(()=>{r()},parseInt(p.Configuration.Server.dashboard_refresh_interval)))};X(()=>{u()}),G(()=>t.configurationInfo.Status,()=>{u()}),G(()=>p.Configuration.Server.dashboard_refresh_interval,()=>{u()}),me(()=>{clearInterval(o.value),o.value=void 0});const v=W(()=>{let g=t.configurationPeers.filter(_=>_.cumu_data+_.total_data>0);return{labels:g.map(_=>_.name?_.name:`Untitled Peer - ${_.id}`),datasets:[{label:"Total Data Usage",data:g.map(_=>_.cumu_data+_.total_data),backgroundColor:g.map(_=>"#ffc107"),tooltip:{callbacks:{label:_=>`${_.formattedValue} GB`}}}]}}),h=W(()=>({labels:[...n.value.timestamp],datasets:[{label:"Data Sent",data:[...n.value.data],fill:!1,borderColor:"#198754",backgroundColor:"#198754",tension:0}]})),P=W(()=>({labels:[...d.value.timestamp],datasets:[{label:"Data Received",data:[...d.value.data],fill:!1,borderColor:"#0d6efd",backgroundColor:"#0d6efd",tension:0}]})),x=W(()=>({responsive:!0,plugins:{legend:{display:!1}},scales:{x:{ticks:{display:!1},grid:{display:!1}},y:{ticks:{callback:(g,_)=>`${Math.round((g+Number.EPSILON)*1e3)/1e3} GB`},grid:{display:!1}}}})),C=W(()=>({responsive:!0,plugins:{legend:{display:!1},tooltip:{callbacks:{label:g=>`${g.formattedValue} MB/s`}}},scales:{x:{ticks:{display:!1},grid:{display:!0}},y:{ticks:{callback:(g,_)=>`${Math.round((g+Number.EPSILON)*1e3)/1e3} MB/s`},grid:{display:!0}}}}));return(g,_)=>(i(),m("div",Ee,[e("div",Ke,[e("div",Fe,[e("div",We,[e("small",ze,[l(f,{t:"Peers Data Usage"})])]),e("div",He,[l(E(Ue),{data:v.value,options:x.value,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["data","options"])])])]),e("div",qe,[e("div",Ge,[e("div",Ye,[e("small",Qe,[l(f,{t:"Real Time Received Data Usage"})]),d.value.data.length>0?(i(),m("small",Ze,S(d.value.data[d.value.data.length-1])+" MB/s ",1)):$("",!0)]),e("div",Xe,[l(E(fe),{options:C.value,data:P.value,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])]),e("div",et,[e("div",tt,[e("div",st,[e("small",ot,[l(f,{t:"Real Time Sent Data Usage"})]),n.value.data.length>0?(i(),m("small",lt,S(n.value.data[n.value.data.length-1])+" MB/s ",1)):$("",!0)]),e("div",nt,[l(E(fe),{options:C.value,data:h.value,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])])]))}},it={name:"peerSearch",components:{LocaleText:f},setup(){const s=U(),t=q();return{store:s,wireguardConfigurationStore:t}},props:{configuration:Object},data(){return{sort:{status:F("Status"),name:F("Name"),allowed_ip:F("Allowed IPs"),restricted:F("Restricted")},interval:{5e3:F("5 Seconds"),1e4:F("10 Seconds"),3e4:F("30 Seconds"),6e4:F("1 Minutes")},display:{grid:F("Grid"),list:F("List")},searchString:"",searchStringTimeout:void 0,showDisplaySettings:!1,showMoreSettings:!1}},methods:{updateSort(s){J("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_sort",value:s},t=>{t.status&&this.store.getConfiguration()})},updateRefreshInterval(s){J("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_refresh_interval",value:s},t=>{t.status&&this.store.getConfiguration()})},updateDisplay(s){J("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_peer_list_display",value:s},t=>{t.status&&this.store.getConfiguration()})},downloadAllPeer(){K(`/api/downloadAllPeers/${this.configuration.Name}`,{},s=>{s.data.forEach(t=>{t.fileName=t.fileName+".conf"}),window.wireguard.generateZipFiles(s,this.configuration.Name)})}}},rt={class:"d-flex flex-column gap-2 my-4"},dt={class:"d-flex gap-2 peerSearchContainer"},ut={class:"dropdown"},ct={"data-bs-toggle":"dropdown",class:"btn w-100 btn-sm text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle position-relative"},mt={class:"badge text-bg-primary ms-2"},pt={class:"dropdown-menu rounded-3"},bt=["onClick"],ft={class:"ms-auto"},vt={key:0,class:"bi bi-check-circle-fill"},ht={class:"dropdown"},gt={"data-bs-toggle":"dropdown",class:"btn btn-sm w-100 text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle position-relative"},_t={class:"badge text-bg-primary ms-2"},yt={class:"dropdown-menu rounded-3"},$t=["onClick"],wt={class:"ms-auto"},xt={key:0,class:"bi bi-check-circle-fill"},kt={class:"dropdown"},St={"data-bs-toggle":"dropdown",class:"btn btn-sm w-100 text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle position-relative"},Pt={class:"badge text-bg-primary ms-2"},Ct={class:"dropdown-menu rounded-3"},It=["onClick"],At={class:"ms-auto"},Dt={key:0,class:"bi bi-check-circle-fill"};function Lt(s,t,n,d,c,p){const o=j("LocaleText");return i(),m("div",rt,[e("div",dt,[e("div",ut,[e("button",ct,[t[4]||(t[4]=e("i",{class:"bi bi-sort-up me-2"},null,-1)),l(o,{t:"Sort By"}),e("span",mt,S(this.sort[d.store.Configuration.Server.dashboard_sort]),1)]),e("ul",pt,[(i(!0),m(N,null,V(this.sort,(r,u)=>(i(),m("li",null,[e("button",{class:"dropdown-item d-flex align-items-center",onClick:v=>this.updateSort(u)},[e("small",null,S(r),1),e("small",ft,[d.store.Configuration.Server.dashboard_sort===u?(i(),m("i",vt)):$("",!0)])],8,bt)]))),256))])]),e("div",ht,[e("button",gt,[t[5]||(t[5]=e("i",{class:"bi bi-arrow-repeat me-2"},null,-1)),l(o,{t:"Refresh Interval"}),e("span",_t,S(this.interval[d.store.Configuration.Server.dashboard_refresh_interval]),1)]),e("ul",yt,[(i(!0),m(N,null,V(this.interval,(r,u)=>(i(),m("li",null,[e("button",{class:"dropdown-item d-flex align-items-center",onClick:v=>this.updateRefreshInterval(u)},[e("small",null,S(r),1),e("small",wt,[d.store.Configuration.Server.dashboard_refresh_interval===u?(i(),m("i",xt)):$("",!0)])],8,$t)]))),256))])]),e("div",kt,[e("button",St,[e("i",{class:I(["bi me-2","bi-"+d.store.Configuration.Server.dashboard_peer_list_display])},null,2),l(o,{t:"Display"}),e("span",Pt,S(this.display[d.store.Configuration.Server.dashboard_peer_list_display]),1)]),e("ul",Ct,[(i(!0),m(N,null,V(this.display,(r,u)=>(i(),m("li",null,[e("button",{class:"dropdown-item d-flex align-items-center",onClick:v=>this.updateDisplay(u)},[e("small",null,S(r),1),e("small",At,[d.store.Configuration.Server.dashboard_peer_list_display===u?(i(),m("i",Dt)):$("",!0)])],8,It)]))),256))])]),e("button",{class:"btn btn-sm text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle ms-lg-auto",onClick:t[0]||(t[0]=r=>this.$emit("search"))},[t[6]||(t[6]=e("i",{class:"bi bi-search me-2"},null,-1)),l(o,{t:"Search"})]),e("button",{class:"btn btn-sm text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle",onClick:t[1]||(t[1]=r=>this.downloadAllPeer())},[t[7]||(t[7]=e("i",{class:"bi bi-download me-2 me-lg-0 me-xl-2"},null,-1)),l(o,{t:"Download All",class:"d-sm-block d-lg-none d-xl-block"})]),e("button",{class:"btn btn-sm text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle",onClick:t[2]||(t[2]=r=>this.$emit("selectPeers"))},[t[8]||(t[8]=e("i",{class:"bi bi-check2-all me-2 me-lg-0 me-xl-2"},null,-1)),l(o,{t:"Select Peers",class:"d-sm-block d-lg-none d-xl-block"})]),e("button",{class:"btn btn-sm text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle",onClick:t[3]||(t[3]=r=>this.$emit("jobsAll")),type:"button","aria-expanded":"false"},[t[9]||(t[9]=e("i",{class:"bi bi-person-walking me-2 me-lg-0 me-xl-2"},null,-1)),l(o,{t:"Active Jobs",class:"d-sm-block d-lg-none d-xl-block"})])])])}const Ot=R(it,[["render",Lt],["__scopeId","data-v-7af0f399"]]);function Mt(s){return we()?(xe(s),!0):!1}const _e=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Nt=Object.prototype.toString,Rt=s=>Nt.call(s)==="[object Object]",se=()=>{},Bt=Tt();function Tt(){var s,t;return _e&&((s=window?.navigator)==null?void 0:s.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function de(s){return Array.isArray(s)?s:[s]}function jt(s,t,n){return G(s,t,{...n,immediate:!0})}const ye=_e?window:void 0;function ne(s){var t;const n=Z(s);return(t=n?.$el)!=null?t:n}function ue(...s){const t=[],n=()=>{t.forEach(r=>r()),t.length=0},d=(r,u,v,h)=>(r.addEventListener(u,v,h),()=>r.removeEventListener(u,v,h)),c=W(()=>{const r=de(Z(s[0])).filter(u=>u!=null);return r.every(u=>typeof u!="string")?r:void 0}),p=jt(()=>{var r,u;return[(u=(r=c.value)==null?void 0:r.map(v=>ne(v)))!=null?u:[ye].filter(v=>v!=null),de(Z(c.value?s[1]:s[0])),de(E(c.value?s[2]:s[1])),Z(c.value?s[3]:s[2])]},([r,u,v,h])=>{if(n(),!r?.length||!u?.length||!v?.length)return;const P=Rt(h)?{...h}:h;t.push(...r.flatMap(x=>u.flatMap(C=>v.map(g=>d(x,C,g,P)))))},{flush:"post"}),o=()=>{p(),n()};return Mt(n),o}let ve=!1;function Jt(s,t,n={}){const{window:d=ye,ignore:c=[],capture:p=!0,detectIframe:o=!1,controls:r=!1}=n;if(!d)return r?{stop:se,cancel:se,trigger:se}:se;if(Bt&&!ve){ve=!0;const k={passive:!0};Array.from(d.document.body.children).forEach(L=>L.addEventListener("click",se,k)),d.document.documentElement.addEventListener("click",se,k)}let u=!0;const v=k=>Z(c).some(L=>{if(typeof L=="string")return Array.from(d.document.querySelectorAll(L)).some(B=>B===k.target||k.composedPath().includes(B));{const B=ne(L);return B&&(k.target===B||k.composedPath().includes(B))}});function h(k){const L=Z(k);return L&&L.$.subTree.shapeFlag===16}function P(k,L){const B=Z(k),b=B.$.subTree&&B.$.subTree.children;return b==null||!Array.isArray(b)?!1:b.some(a=>a.el===L.target||L.composedPath().includes(a.el))}const x=k=>{const L=ne(s);if(k.target!=null&&!(!(L instanceof Element)&&h(s)&&P(s,k))&&!(!L||L===k.target||k.composedPath().includes(L))){if("detail"in k&&k.detail===0&&(u=!v(k)),!u){u=!0;return}t(k)}};let C=!1;const g=[ue(d,"click",k=>{C||(C=!0,setTimeout(()=>{C=!1},0),x(k))},{passive:!0,capture:p}),ue(d,"pointerdown",k=>{const L=ne(s);u=!v(k)&&!!(L&&!k.composedPath().includes(L))},{passive:!0}),o&&ue(d,"blur",k=>{setTimeout(()=>{var L;const B=ne(s);((L=d.document.activeElement)==null?void 0:L.tagName)==="IFRAME"&&!B?.contains(d.document.activeElement)&&t(k)},0)},{passive:!0})].filter(Boolean),_=()=>g.forEach(k=>k());return r?{stop:_,cancel:()=>{u=!1},trigger:k=>{u=!0,x(k),u=!1}}:_}const Ut={key:0,class:"position-absolute d-block p-1 px-2 bg-body text-body rounded-3 border shadow"},Vt={__name:"peerSettingsDropdownTool",props:{icon:String,title:String},emits:["click"],setup(s,{emit:t}){const n=t,d=w(!1);return(c,p)=>(i(),m("a",{class:"dropdown-item text-center px-0 rounded-3 position-relative",role:"button",onMouseenter:p[0]||(p[0]=o=>d.value=!0),onMouseleave:p[1]||(p[1]=o=>d.value=!1),onClick:p[2]||(p[2]=o=>n("click"))},[e("i",{class:I(["me-auto bi",s.icon])},null,2),l(oe,{name:"zoomReversed"},{default:z(()=>[d.value?(i(),m("span",Ut,[e("small",null,[l(f,{t:s.title},null,8,["t"])])])):$("",!0)]),_:1})],32))}},Et=R(Vt,[["__scopeId","data-v-d4e41a56"]]),Kt={name:"peerSettingsDropdown",components:{PeerSettingsDropdownTool:Et,LocaleText:f},setup(){return{dashboardStore:U()}},props:{Peer:Object},data(){return{deleteBtnDisabled:!1,restrictBtnDisabled:!1,allowAccessBtnDisabled:!1,confirmDelete:!1}},methods:{downloadPeer(){K("/api/downloadPeer/"+this.$route.params.id,{id:this.Peer.id},s=>{if(s.status){const t=new Blob([s.data.file],{type:"text/plain"}),n=URL.createObjectURL(t),d=`${s.data.fileName}.conf`,c=document.createElement("a");c.href=n,c.download=d,c.click(),this.dashboardStore.newMessage("WGDashboard","Peer download started","success")}else this.dashboardStore.newMessage("Server",s.message,"danger")})},downloadQRCode(s){K("/api/downloadPeer/"+this.$route.params.id,{id:this.Peer.id},t=>{t.status?this.$emit(s,t.data.file):this.dashboardStore.newMessage("Server",t.message,"danger")})},deletePeer(){this.deleteBtnDisabled=!0,J(`/api/deletePeers/${this.$route.params.id}`,{peers:[this.Peer.id]},s=>{this.dashboardStore.newMessage("Server",s.message,s.status?"success":"danger"),this.$emit("refresh"),this.deleteBtnDisabled=!1})},restrictPeer(){this.restrictBtnDisabled=!0,J(`/api/restrictPeers/${this.$route.params.id}`,{peers:[this.Peer.id]},s=>{this.dashboardStore.newMessage("Server",s.message,s.status?"success":"danger"),this.$emit("refresh"),this.restrictBtnDisabled=!1})},allowAccessPeer(){this.allowAccessBtnDisabled=!0,J(`/api/allowAccessPeers/${this.$route.params.id}`,{peers:[this.Peer.id]},s=>{this.dashboardStore.newMessage("Server",s.message,s.status?"success":"danger"),this.$emit("refresh"),this.allowAccessBtnDisabled=!1})}}},Ft={class:"dropdown-menu mt-2 shadow-lg d-block rounded-3",style:{"max-width":"200px"}},Wt={style:{"font-size":"0.8rem","padding-left":"var(--bs-dropdown-item-padding-x)","padding-right":"var(--bs-dropdown-item-padding-x)"}},zt={class:"text-body d-flex"},Ht={class:"ms-auto"},qt={key:1},Gt={class:"w-100 dropdown-item text-muted",style:{"white-space":"break-spaces","font-size":"0.7rem"}},Yt={key:2},Qt={class:"d-flex",style:{"padding-left":"var(--bs-dropdown-item-padding-x)","padding-right":"var(--bs-dropdown-item-padding-x)"}},Zt={key:1,class:"confirmDelete"},Xt={style:{"white-space":"break-spaces"},class:"mb-2 d-block fw-bold"},es={class:"d-flex w-100 gap-2"},ts=["disabled"],ss=["disabled"],os={key:1};function ls(s,t,n,d,c,p){const o=j("LocaleText"),r=j("PeerSettingsDropdownTool");return i(),m("ul",Ft,[this.Peer.restricted?(i(),m("li",os,[e("a",{class:I(["dropdown-item d-flex text-warning",{disabled:this.allowAccessBtnDisabled}]),onClick:t[11]||(t[11]=u=>this.allowAccessPeer()),role:"button"},[t[25]||(t[25]=e("i",{class:"me-auto bi bi-unlock"},null,-1)),this.allowAccessBtnDisabled?(i(),A(o,{key:1,t:"Allowing Access..."})):(i(),A(o,{key:0,t:"Allow Access"}))],2)])):(i(),m(N,{key:0},[this.confirmDelete?(i(),m("li",Zt,[e("p",Xt,[l(o,{t:"Are you sure to delete this peer?"})]),e("div",es,[e("button",{onClick:t[9]||(t[9]=u=>this.deletePeer()),disabled:this.deleteBtnDisabled,class:"flex-grow-1 ms-auto btn btn-sm bg-danger"},[l(o,{t:"Yes"})],8,ts),e("button",{disabled:this.deleteBtnDisabled,onClick:t[10]||(t[10]=u=>this.confirmDelete=!1),class:"flex-grow-1 btn btn-sm bg-secondary-subtle text-secondary-emphasis border border-secondary-subtle"},[l(o,{t:"No"})],8,ss)])])):(i(),m(N,{key:0},[this.Peer.status==="running"?(i(),m(N,{key:0},[e("li",Wt,[e("span",zt,[t[12]||(t[12]=e("i",{class:"bi bi-box-arrow-in-right"},null,-1)),e("span",Ht,S(this.Peer.endpoint),1)])]),t[13]||(t[13]=e("li",null,[e("hr",{class:"dropdown-divider"})],-1))],64)):$("",!0),this.Peer.private_key?(i(),m("li",Yt,[t[14]||(t[14]=e("div",{class:"text-center text-muted"},null,-1)),e("div",Qt,[l(r,{icon:"bi-download",title:"Download",onClick:t[0]||(t[0]=u=>this.downloadPeer())}),l(r,{icon:"bi-qr-code",title:"QR Code",onClick:t[1]||(t[1]=u=>this.$emit("qrcode"))}),l(r,{icon:"bi-body-text",title:"Configuration File",onClick:t[2]||(t[2]=u=>this.$emit("configurationFile"))}),l(r,{icon:"bi-share",title:"Share Peer",onClick:t[3]||(t[3]=u=>this.$emit("share"))})])])):(i(),m("li",qt,[e("small",Gt,[l(o,{t:"Download & QR Code is not available due to no private key set for this peer"})])])),t[23]||(t[23]=e("li",null,[e("hr",{class:"dropdown-divider"})],-1)),e("li",null,[e("a",{class:"dropdown-item d-flex",role:"button",onClick:t[4]||(t[4]=u=>this.$emit("setting"))},[t[15]||(t[15]=e("i",{class:"me-auto bi bi-pen"},null,-1)),t[16]||(t[16]=O()),l(o,{t:"Peer Settings"})])]),e("li",null,[e("a",{class:"dropdown-item d-flex",role:"button",onClick:t[5]||(t[5]=u=>this.$emit("jobs"))},[t[17]||(t[17]=e("i",{class:"me-auto bi bi-app-indicator"},null,-1)),t[18]||(t[18]=O()),l(o,{t:"Schedule Jobs"})])]),e("li",null,[e("a",{class:"dropdown-item d-flex",role:"button",onClick:t[6]||(t[6]=u=>this.$emit("assign"))},[t[19]||(t[19]=e("i",{class:"me-auto bi bi-diagram-2"},null,-1)),t[20]||(t[20]=O()),l(o,{t:"Assign Peer"})])]),t[24]||(t[24]=e("li",null,[e("hr",{class:"dropdown-divider"})],-1)),e("li",null,[e("a",{class:I(["dropdown-item d-flex text-warning",{disabled:this.restrictBtnDisabled}]),onClick:t[7]||(t[7]=u=>this.restrictPeer()),role:"button"},[t[21]||(t[21]=e("i",{class:"me-auto bi bi-lock"},null,-1)),this.restrictBtnDisabled?(i(),A(o,{key:1,t:"Restricting..."})):(i(),A(o,{key:0,t:"Restrict Access"}))],2)]),e("li",null,[e("a",{class:I(["dropdown-item d-flex fw-bold text-danger",{disabled:this.deleteBtnDisabled}]),onClick:t[8]||(t[8]=u=>this.confirmDelete=!0),role:"button"},[t[22]||(t[22]=e("i",{class:"me-auto bi bi-trash"},null,-1)),this.deleteBtnDisabled?(i(),A(o,{key:1,t:"Deleting..."})):(i(),A(o,{key:0,t:"Delete"}))],2)])],64))],64))])}const ns=R(Kt,[["render",ls],["__scopeId","data-v-d636c35d"]]),as={name:"peer",methods:{GetLocale:F},components:{LocaleText:f,PeerSettingsDropdown:ns},props:{Peer:Object},data(){return{}},setup(){const s=w(null),t=w(!1),n=U();return Jt(s,d=>{t.value=!1}),{target:s,subMenuOpened:t,dashboardStore:n}},computed:{getLatestHandshake(){return this.Peer.latest_handshake.includes(",")?this.Peer.latest_handshake.split(",")[0]:this.Peer.latest_handshake}}},is=["id"],rs={key:0,class:"card-header bg-transparent d-flex align-items-center gap-2 border-0"},ds={key:0,style:{"font-size":"0.8rem",color:"#28a745"},class:"d-flex align-items-center"},us={style:{"font-size":"0.8rem"},class:"ms-auto d-flex gap-2"},cs={class:"text-primary"},ms={class:"text-success"},ps={key:0,class:"text-secondary"},bs={key:1,class:"border-0 card-header bg-transparent text-warning fw-bold",style:{"font-size":"0.8rem"}},fs={class:"card-body pt-1",style:{"font-size":"0.9rem"}},vs={class:"text-muted"},hs={class:"d-block"},gs={class:"text-muted"},_s={class:"d-block"},ys={class:"d-flex align-items-end ms-auto"};function $s(s,t,n,d,c,p){const o=j("LocaleText"),r=j("PeerSettingsDropdown");return i(),m("div",{class:I(["card shadow-sm rounded-3 peerCard",{"border-warning":n.Peer.restricted}]),id:"peer_"+n.Peer.id},[e("div",null,[n.Peer.restricted?(i(),m("div",bs,[t[14]||(t[14]=e("i",{class:"bi-lock-fill me-2"},null,-1)),l(o,{t:"Access Restricted"})])):(i(),m("div",rs,[e("div",{class:I(["dot ms-0",{active:n.Peer.status==="running"}])},null,2),d.dashboardStore.Configuration.Server.dashboard_peer_list_display==="list"&&n.Peer.status==="running"?(i(),m("div",ds,[t[8]||(t[8]=e("i",{class:"bi bi-box-arrow-in-right me-2"},null,-1)),e("span",null,S(n.Peer.endpoint),1)])):$("",!0),e("div",us,[e("span",cs,[t[9]||(t[9]=e("i",{class:"bi bi-arrow-down"},null,-1)),e("strong",null,S((n.Peer.cumu_receive+n.Peer.total_receive).toFixed(4)),1),t[10]||(t[10]=O(" GB "))]),e("span",ms,[t[11]||(t[11]=e("i",{class:"bi bi-arrow-up"},null,-1)),e("strong",null,S((n.Peer.cumu_sent+n.Peer.total_sent).toFixed(4)),1),t[12]||(t[12]=O(" GB "))]),n.Peer.latest_handshake!=="No Handshake"?(i(),m("span",ps,[t[13]||(t[13]=e("i",{class:"bi bi-arrows-angle-contract"},null,-1)),O(" "+S(p.getLatestHandshake)+" ago ",1)])):$("",!0)])]))]),e("div",fs,[e("h6",null,S(n.Peer.name?n.Peer.name:p.GetLocale("Untitled Peer")),1),e("div",{class:I(["d-flex",[d.dashboardStore.Configuration.Server.dashboard_peer_list_display==="grid"?"gap-1 flex-column":"flex-row gap-3"]])},[e("div",{class:I({"d-flex gap-2 align-items-center":d.dashboardStore.Configuration.Server.dashboard_peer_list_display==="list"})},[e("small",vs,[l(o,{t:"Public Key"})]),e("small",hs,[e("samp",null,S(n.Peer.id),1)])],2),e("div",{class:I({"d-flex gap-2 align-items-center":d.dashboardStore.Configuration.Server.dashboard_peer_list_display==="list"})},[e("small",gs,[l(o,{t:"Allowed IPs"})]),e("small",_s,[e("samp",null,S(n.Peer.allowed_ip),1)])],2),e("div",ys,[e("div",{class:I(["ms-auto px-2 rounded-3 subMenuBtn",{active:this.subMenuOpened}])},[e("a",{role:"button",class:"text-body",onClick:t[0]||(t[0]=u=>this.subMenuOpened=!0)},t[15]||(t[15]=[e("h5",{class:"mb-0"},[e("i",{class:"bi bi-three-dots"})],-1)])),l(oe,{name:"slide-fade"},{default:z(()=>[this.subMenuOpened?(i(),A(r,{key:0,onQrcode:t[1]||(t[1]=u=>this.$emit("qrcode")),onConfigurationFile:t[2]||(t[2]=u=>this.$emit("configurationFile")),onSetting:t[3]||(t[3]=u=>this.$emit("setting")),onJobs:t[4]||(t[4]=u=>this.$emit("jobs")),onRefresh:t[5]||(t[5]=u=>this.$emit("refresh")),onShare:t[6]||(t[6]=u=>this.$emit("share")),onAssign:t[7]||(t[7]=u=>this.$emit("assign")),Peer:n.Peer,ref:"target"},null,8,["Peer"])):$("",!0)]),_:1})],2)])],2)])],10,is)}const ws=R(as,[["render",$s],["__scopeId","data-v-b909bf3c"]]),xs={__name:"peerListModals",props:{configurationModals:Object,configurationModalSelectedPeer:Object},emits:["refresh"],setup(s,{emit:t}){const n=t,d=ee(()=>te(()=>import("./peerAssignModal-TXmFT9UH.js"),__vite__mapDeps([0,1,2,3,4,5]))),c=ee(()=>te(()=>import("./peerShareLinkModal-C9EC33RC.js"),__vite__mapDeps([6,2,3,7,8,1,9]))),p=ee(()=>te(()=>import("./peerJobs-D6QHckFc.js"),__vite__mapDeps([10,2,3,1,11,12,7,8,13]))),o=ee(()=>te(()=>import("./peerQRCode-DY-P0WRZ.js"),__vite__mapDeps([14,15,2,3,1,16]))),r=ee(()=>te(()=>import("./peerConfigurationFile-Brga1VzN.js"),__vite__mapDeps([17,2,3,1,15,18]))),u=ee(()=>te(()=>import("./peerSettings-CNJkZEkI.js"),__vite__mapDeps([19,2,3,1,20])));return(v,h)=>(i(),A(le,{name:"zoom"},{default:z(()=>[s.configurationModals.peerSetting.modalOpen?(i(),A(E(u),{key:"PeerSettingsModal",selectedPeer:s.configurationModalSelectedPeer,onRefresh:h[0]||(h[0]=P=>n("refresh")),onClose:h[1]||(h[1]=P=>s.configurationModals.peerSetting.modalOpen=!1)},null,8,["selectedPeer"])):$("",!0),s.configurationModals.peerQRCode.modalOpen?(i(),A(E(o),{key:"PeerQRCodeModal",selectedPeer:s.configurationModalSelectedPeer,onClose:h[2]||(h[2]=P=>s.configurationModals.peerQRCode.modalOpen=!1)},null,8,["selectedPeer"])):$("",!0),s.configurationModals.peerScheduleJobs.modalOpen?(i(),A(E(p),{key:"PeerJobsModal",onRefresh:h[3]||(h[3]=P=>n("refresh")),selectedPeer:s.configurationModalSelectedPeer,onClose:h[4]||(h[4]=P=>s.configurationModals.peerScheduleJobs.modalOpen=!1)},null,8,["selectedPeer"])):$("",!0),s.configurationModals.peerShare.modalOpen?(i(),A(E(c),{key:"PeerShareLinkModal",onClose:h[5]||(h[5]=P=>{s.configurationModals.peerShare.modalOpen=!1}),selectedPeer:s.configurationModalSelectedPeer},null,8,["selectedPeer"])):$("",!0),s.configurationModals.peerConfigurationFile.modalOpen?(i(),A(E(r),{key:4,onClose:h[6]||(h[6]=P=>s.configurationModals.peerConfigurationFile.modalOpen=!1),selectedPeer:s.configurationModalSelectedPeer},null,8,["selectedPeer"])):$("",!0),s.configurationModals.assignPeer.modalOpen?(i(),A(E(d),{key:5,selectedPeer:s.configurationModalSelectedPeer,onClose:h[7]||(h[7]=P=>s.configurationModals.assignPeer.modalOpen=!1)},null,8,["selectedPeer"])):$("",!0)]),_:1}))}},ks={style:{"margin-bottom":"20px",height:"1px"},id:"loadMore"},Ss={__name:"peerIntersectionObserver",props:["peerListLength","showPeersCount"],emits:["loadMore"],setup(s,{emit:t}){const n=w(void 0),d=t;return X(()=>{n.value=new IntersectionObserver(c=>{c.forEach(p=>{p.isIntersecting&&d("loadMore")})},{rootMargin:"20px",threshold:1}),n.value.observe(document.querySelector("#loadMore"))}),me(()=>{n.value.disconnect()}),(c,p)=>(i(),m("div",ks))}},Ps={class:"d-flex gap-1 flex-column"},Cs=he({__name:"configurationDescription",props:["configuration"],setup(s){const t=s,n=w(t.configuration.Info.Description),d=w(!1),c=w(!1),p=async()=>{await J("/api/updateWireguardConfigurationInfo",{Name:t.configuration.Name,Key:"Description",Value:n.value},r=>{c.value=r.status,o()})},o=()=>{d.value=!0,setTimeout(()=>{d.value=!1},3e3)};return(r,u)=>(i(),m("div",Ps,[u[2]||(u[2]=e("label",{for:"configurationDescription"},[e("small",{style:{"white-space":"nowrap"},class:"text-muted"},[e("i",{class:"bi bi-pencil-fill me-2"}),O("Notes ")])],-1)),D(e("input",{type:"text",class:I([[d.value?[c.value?"is-valid":"is-invalid"]:void 0],"form-control rounded-3 bg-transparent form-control-sm"]),id:"configurationDescription","onUpdate:modelValue":u[0]||(u[0]=v=>n.value=v),onChange:u[1]||(u[1]=v=>p())},null,34),[[M,n.value]])]))}}),Is={class:"fixed-bottom w-100 bottom-0 z-2",style:{"z-index":"1"}},As={class:"container-fluid"},Ds={class:"row g-0"},Ls={class:"col-md-9 col-lg-10 d-flex justify-content-center py-2"},Os={class:"rounded-3 p-2 border shadow searchPeersContainer bg-body-tertiary"},Ms={class:"d-flex gap-1 align-items-center px-2"},Ns=["placeholder"],Rs={__name:"peerSearchBar",emits:["close"],setup(s,{emit:t}){const n=W(()=>F("Search Peers..."));let d;const c=q(),p=w(c.searchString),o=()=>{d?(clearTimeout(d),d=setTimeout(()=>{c.searchString=p.value},300)):d=setTimeout(()=>{c.searchString=p.value},300)},r=t,u=ce("searchBar"),v=Y(),h=pe();return v.query.peer&&(p.value=v.query.peer,h.replace({query:null})),X(()=>{u.value.focus()}),(P,x)=>(i(),A(oe,{name:"slideUp",appear:"",type:"animation",style:{"animation-delay":"1s"}},{default:z(()=>[e("div",Is,[e("div",As,[e("div",Ds,[x[5]||(x[5]=e("div",{class:"col-md-3 col-lg-2"},null,-1)),e("div",Ls,[e("div",Os,[e("div",Ms,[x[4]||(x[4]=e("h6",{class:"mb-0 me-2"},[e("label",{for:"searchPeers"},[e("i",{class:"bi bi-search"})])],-1)),D(e("input",{ref:"searchBar",class:"flex-grow-1 form-control rounded-3 bg-secondary-subtle border-1 border-secondary-subtle",placeholder:n.value,id:"searchPeers",onKeyup:x[0]||(x[0]=C=>o()),"onUpdate:modelValue":x[1]||(x[1]=C=>p.value=C)},null,40,Ns),[[M,p.value]]),e("button",{onClick:x[2]||(x[2]=C=>r("close")),style:{"white-space":"nowrap"},class:"btn bg-secondary-subtle text-secondary-emphasis border-secondary-subtle rounded-3 d-flex align-items-center"},[e("span",null,[x[3]||(x[3]=e("i",{class:"bi bi-x-circle-fill me-2"},null,-1)),l(f,{t:"Done"})])])])])])])])])]),_:1}))}},Bs=R(Rs,[["__scopeId","data-v-e976c90a"]]),Ts={name:"scheduleDropdown",props:{options:Array,data:String,edit:!1},setup(s){s.data===void 0&&this.$emit("update",this.options[0].value)},computed:{currentSelection(){return this.options.find(s=>s.value===this.data)}}},js={class:"dropdown scheduleDropdown"},Js={class:"dropdown-menu rounded-3 shadow",style:{"font-size":"0.875rem",width:"200px"}},Us=["onClick"],Vs={key:0,class:"bi bi-check ms-auto"};function Es(s,t,n,d,c,p){return i(),m("div",js,[e("button",{class:I(["btn btn-sm btn-outline-primary rounded-3",{"disabled border-transparent":!n.edit}]),type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[e("samp",null,S(this.currentSelection.display),1)],2),e("ul",Js,[n.edit?(i(!0),m(N,{key:0},V(this.options,o=>(i(),m("li",null,[e("a",{class:"dropdown-item d-flex align-items-center",role:"button",onClick:r=>s.$emit("update",o.value)},[e("samp",null,S(o.display),1),o.value===this.currentSelection.value?(i(),m("i",Vs)):$("",!0)],8,Us)]))),256)):$("",!0)])])}const Ks=R(Ts,[["render",Es],["__scopeId","data-v-6a5aba2a"]]),Fs={name:"schedulePeerJob",components:{LocaleText:f,VueDatePicker:Ve,ScheduleDropdown:Ks},props:{dropdowns:Array[Object],pjob:Object,viewOnly:!1},setup(s){const t=w({}),n=w(!1),d=w(!1);t.value=JSON.parse(JSON.stringify(s.pjob)),t.value.CreationDate||(n.value=!0,d.value=!0);const c=U();return{job:t,edit:n,newJob:d,store:c}},data(){return{inputType:void 0}},watch:{pjob:{deep:!0,immediate:!0,handler(s){this.edit||(this.job=JSON.parse(JSON.stringify(s)))}}},methods:{save(){this.job.Field&&this.job.Operator&&this.job.Action&&this.job.Value?J("/api/savePeerScheduleJob",{Job:this.job},s=>{s.status?(this.edit=!1,this.store.newMessage("Server","Peer job saved","success"),console.log(s.data),this.$emit("refresh",s.data[0]),this.newJob=!1):this.store.newMessage("Server",s.message,"danger")}):this.alert()},alert(){let s="animate__flash",t=this.$el.querySelectorAll(".scheduleDropdown"),n=this.$el.querySelectorAll("input");t.forEach(d=>d.classList.add("animate__animated",s)),n.forEach(d=>d.classList.add("animate__animated",s)),setTimeout(()=>{t.forEach(d=>d.classList.remove("animate__animated",s)),n.forEach(d=>d.classList.remove("animate__animated",s))},2e3)},reset(){this.job.CreationDate?(this.job=JSON.parse(JSON.stringify(this.pjob)),this.edit=!1):this.$emit("delete")},delete(){this.job.CreationDate&&J("/api/deletePeerScheduleJob",{Job:this.job},s=>{s.status?this.store.newMessage("Server","Peer job deleted","success"):(this.store.newMessage("Server",s.message,"danger"),this.$emit("delete"))}),this.$emit("delete")},parseTime(s){s&&(this.job.Value=ie(s).format("YYYY-MM-DD HH:mm:ss"))}}},Ws={class:"card-header bg-transparent text-muted border-0"},zs={key:0,class:"d-flex"},Hs={class:"me-auto"},qs={key:1},Gs={class:"badge text-bg-warning"},Ys={class:"card-body pt-1",style:{"font-family":"var(--bs-font-monospace)"}},Qs={class:"d-flex gap-2 align-items-center mb-2"},Zs=["disabled"],Xs={class:"px-5 d-flex gap-2 align-items-center"},eo={class:"d-flex gap-3"},to={key:0,class:"ms-auto d-flex gap-3"},so={key:1,class:"ms-auto d-flex gap-3"};function oo(s,t,n,d,c,p){const o=j("LocaleText"),r=j("ScheduleDropdown"),u=j("VueDatePicker");return i(),m("div",{class:I(["card shadow-sm rounded-3 mb-2",{"border-warning-subtle":this.newJob}])},[e("div",Ws,[this.newJob?(i(),m("small",qs,[e("span",Gs,[l(o,{t:"Unsaved Job"})])])):(i(),m("small",zs,[e("strong",Hs,[l(o,{t:"Job ID"})]),e("samp",null,S(this.job.JobID),1)]))]),e("div",Ys,[e("div",Qs,[e("samp",null,[l(o,{t:"if"})]),l(r,{edit:d.edit,options:this.dropdowns.Field,data:this.job.Field,onUpdate:t[0]||(t[0]=v=>{this.job.Field=v})},null,8,["edit","options","data"]),e("samp",null,[l(o,{t:"is"})]),l(r,{edit:d.edit,options:this.dropdowns.Operator,data:this.job.Operator,onUpdate:t[1]||(t[1]=v=>this.job.Operator=v)},null,8,["edit","options","data"]),this.job.Field==="date"?(i(),A(u,{key:0,is24:!0,"min-date":new Date,"model-value":this.job.Value,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",clearable:!1,disabled:!d.edit,dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","disabled","dark"])):D((i(),m("input",{key:1,class:"form-control form-control-sm form-control-dark rounded-3 flex-grow-1",disabled:!d.edit,"onUpdate:modelValue":t[2]||(t[2]=v=>this.job.Value=v),style:{width:"auto"}},null,8,Zs)),[[M,this.job.Value]]),e("samp",null,S(this.dropdowns.Field.find(v=>v.value===this.job.Field)?.unit)+" { ",1)]),e("div",Xs,[e("samp",null,[l(o,{t:"then"})]),l(r,{edit:d.edit,options:this.dropdowns.Action,data:this.job.Action,onUpdate:t[3]||(t[3]=v=>this.job.Action=v)},null,8,["edit","options","data"])]),e("div",eo,[t[12]||(t[12]=e("samp",null,"}",-1)),this.edit?(i(),m("div",so,[e("a",{role:"button",class:"text-secondary text-decoration-none",onClick:t[6]||(t[6]=v=>this.reset())},[t[10]||(t[10]=O("[C] ")),l(o,{t:"Cancel"})]),e("a",{role:"button",class:"text-primary ms-auto text-decoration-none",onClick:t[7]||(t[7]=v=>this.save())},[t[11]||(t[11]=O("[S] ")),l(o,{t:"Save"})])])):(i(),m("div",to,[e("a",{role:"button",class:"ms-auto text-decoration-none",onClick:t[4]||(t[4]=v=>this.edit=!0)},[t[8]||(t[8]=O("[E] ")),l(o,{t:"Edit"})]),e("a",{role:"button",onClick:t[5]||(t[5]=v=>this.delete()),class:"text-danger text-decoration-none"},[t[9]||(t[9]=O("[D] ")),l(o,{t:"Delete"})])]))])])],2)}const lo=R(Fs,[["render",oo],["__scopeId","data-v-4aa63a3e"]]),no={name:"peerJobsAllModal",setup(){return{store:q()}},components:{LocaleText:f,SchedulePeerJob:lo},props:{configurationPeers:Array[Object]},computed:{getAllJobs(){return this.configurationPeers.filter(s=>s.jobs.length>0)}}},ao={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},io={class:"container d-flex h-100 w-100"},ro={class:"m-auto modal-dialog-centered dashboardModal"},uo={class:"card rounded-3 shadow",style:{width:"900px"}},co={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},mo={class:"mb-0 fw-normal"},po={class:"card-body px-4 pb-4 pt-2"},bo={key:0,class:"accordion",id:"peerJobsLogsModalAccordion"},fo={class:"accordion-header"},vo=["data-bs-target"],ho={key:0},go={class:"text-muted"},_o=["id"],yo={class:"accordion-body"},$o={key:1,class:"card shadow-sm",style:{height:"153px"}},wo={class:"card-body text-muted text-center d-flex"},xo={class:"m-auto"};function ko(s,t,n,d,c,p){const o=j("LocaleText"),r=j("SchedulePeerJob");return i(),m("div",ao,[e("div",io,[e("div",ro,[e("div",uo,[e("div",co,[e("h4",mo,[l(o,{t:"All Active Jobs"})]),e("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=u=>this.$emit("close"))})]),e("div",po,[e("button",{class:"btn bg-primary-subtle border-1 border-primary-subtle text-primary-emphasis rounded-3 shadow mb-2",onClick:t[1]||(t[1]=u=>this.$emit("allLogs"))},[t[4]||(t[4]=e("i",{class:"bi bi-clock me-2"},null,-1)),l(o,{t:"Logs"})]),this.getAllJobs.length>0?(i(),m("div",bo,[(i(!0),m(N,null,V(this.getAllJobs,(u,v)=>(i(),m("div",{class:"accordion-item",key:u.id},[e("h2",fo,[e("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapse_"+v},[e("small",null,[e("strong",null,[u.name?(i(),m("span",ho,S(u.name)+" • ",1)):$("",!0),e("samp",go,S(u.id),1)])])],8,vo)]),e("div",{id:"collapse_"+v,class:"accordion-collapse collapse","data-bs-parent":"#peerJobsLogsModalAccordion"},[e("div",yo,[(i(!0),m(N,null,V(u.jobs,h=>(i(),A(r,{onDelete:t[2]||(t[2]=P=>this.$emit("refresh")),onRefresh:t[3]||(t[3]=P=>this.$emit("refresh")),dropdowns:this.store.PeerScheduleJobs.dropdowns,viewOnly:!0,key:h.JobID,pjob:h},null,8,["dropdowns","pjob"]))),128))])],8,_o)]))),128))])):(i(),m("div",$o,[e("div",wo,[e("span",xo,[l(o,{t:"No active job at the moment."})])])]))])])])])])}const So=R(no,[["render",ko]]),Po={name:"peerJobsLogsModal",components:{LocaleText:f},props:{configurationInfo:Object},data(){return{dataLoading:!0,data:[],logFetchTime:void 0,showLogID:!1,showJobID:!0,showSuccessJob:!0,showFailedJob:!0,showLogAmount:10}},async mounted(){await this.fetchLog()},methods:{async fetchLog(){this.dataLoading=!0,await K(`/api/getPeerScheduleJobLogs/${this.configurationInfo.Name}`,{},s=>{this.data=s.data,this.logFetchTime=ie().format("YYYY-MM-DD HH:mm:ss"),this.dataLoading=!1})}},computed:{getLogs(){return this.data.filter(s=>this.showSuccessJob&&["1","true"].includes(s.Status)||this.showFailedJob&&["0","false"].includes(s.Status))},showLogs(){return this.getLogs.slice(0,this.showLogAmount)}}},Co={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},Io={class:"container-fluid d-flex h-100 w-100"},Ao={class:"m-auto mt-0 modal-dialog-centered dashboardModal",style:{width:"100%"}},Do={class:"card rounded-3 shadow w-100"},Lo={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},Oo={class:"mb-0"},Mo={class:"card-body px-4 pb-4 pt-2"},No={key:0},Ro={class:"mb-2 d-flex gap-3"},Bo={class:"d-flex gap-3 align-items-center"},To={class:"text-muted"},jo={class:"form-check"},Jo={class:"form-check-label",for:"jobLogsShowSuccessCheck"},Uo={class:"badge text-success-emphasis bg-success-subtle"},Vo={class:"form-check"},Eo={class:"form-check-label",for:"jobLogsShowFailedCheck"},Ko={class:"badge text-danger-emphasis bg-danger-subtle"},Fo={class:"d-flex gap-3 align-items-center ms-auto"},Wo={class:"text-muted"},zo={class:"form-check"},Ho={class:"form-check-label",for:"jobLogsShowJobIDCheck"},qo={class:"form-check"},Go={class:"form-check-label",for:"jobLogsShowLogIDCheck"},Yo={class:"table"},Qo={scope:"col"},Zo={key:0,scope:"col"},Xo={key:1,scope:"col"},el={scope:"col"},tl={scope:"col"},sl={style:{"font-size":"0.875rem"}},ol={scope:"row"},ll={key:0},nl={class:"text-muted"},al={key:1},il={class:"text-muted"},rl={class:"d-flex gap-2"},dl={key:1,class:"d-flex align-items-center flex-column"};function ul(s,t,n,d,c,p){const o=j("LocaleText");return i(),m("div",Co,[e("div",Io,[e("div",Ao,[e("div",Do,[e("div",Lo,[e("h4",Oo,[l(o,{t:"Jobs Logs"})]),e("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=r=>this.$emit("close"))})]),e("div",Mo,[this.dataLoading?(i(),m("div",dl,t[11]||(t[11]=[e("div",{class:"spinner-border text-body",role:"status"},[e("span",{class:"visually-hidden"},"Loading...")],-1)]))):(i(),m("div",No,[e("p",null,[l(o,{t:"Updated at"}),O(" : "+S(this.logFetchTime),1)]),e("div",Ro,[e("button",{onClick:t[1]||(t[1]=r=>this.fetchLog()),class:"btn btn-sm rounded-3 shadow-sm text-info-emphasis bg-info-subtle border-1 border-info-subtle me-1"},[t[8]||(t[8]=e("i",{class:"bi bi-arrow-clockwise me-2"},null,-1)),l(o,{t:"Refresh"})]),e("div",Bo,[e("span",To,[l(o,{t:"Filter"})]),e("div",jo,[D(e("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[2]||(t[2]=r=>this.showSuccessJob=r),id:"jobLogsShowSuccessCheck"},null,512),[[H,this.showSuccessJob]]),e("label",Jo,[e("span",Uo,[l(o,{t:"Success"})])])]),e("div",Vo,[D(e("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[3]||(t[3]=r=>this.showFailedJob=r),id:"jobLogsShowFailedCheck"},null,512),[[H,this.showFailedJob]]),e("label",Eo,[e("span",Ko,[l(o,{t:"Failed"})])])])]),e("div",Fo,[e("span",Wo,[l(o,{t:"Display"})]),e("div",zo,[D(e("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[4]||(t[4]=r=>c.showJobID=r),id:"jobLogsShowJobIDCheck"},null,512),[[H,c.showJobID]]),e("label",Ho,[l(o,{t:"Job ID"})])]),e("div",qo,[D(e("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[5]||(t[5]=r=>c.showLogID=r),id:"jobLogsShowLogIDCheck"},null,512),[[H,c.showLogID]]),e("label",Go,[l(o,{t:"Log ID"})])])])]),e("table",Yo,[e("thead",null,[e("tr",null,[e("th",Qo,[l(o,{t:"Date"})]),c.showLogID?(i(),m("th",Zo,[l(o,{t:"Log ID"})])):$("",!0),c.showJobID?(i(),m("th",Xo,[l(o,{t:"Job ID"})])):$("",!0),e("th",el,[l(o,{t:"Status"})]),e("th",tl,[l(o,{t:"Message"})])])]),e("tbody",null,[(i(!0),m(N,null,V(this.showLogs,r=>(i(),m("tr",sl,[e("th",ol,S(r.LogDate),1),c.showLogID?(i(),m("td",ll,[e("samp",nl,S(r.LogID),1)])):$("",!0),c.showJobID?(i(),m("td",al,[e("samp",il,S(r.JobID),1)])):$("",!0),e("td",null,[e("span",{class:I(["badge",[r.Status==="1"?"text-success-emphasis bg-success-subtle":"text-danger-emphasis bg-danger-subtle"]])},S(r.Status==="1"?"Success":"Failed"),3)]),e("td",null,S(r.Message),1)]))),256))])]),e("div",rl,[this.getLogs.length>this.showLogAmount?(i(),m("button",{key:0,onClick:t[6]||(t[6]=r=>this.showLogAmount+=20),class:"btn btn-sm rounded-3 shadow-sm text-primary-emphasis bg-primary-subtle border-1 border-primary-subtle"},t[9]||(t[9]=[e("i",{class:"bi bi-chevron-down me-2"},null,-1),O(" Show More ")]))):$("",!0),this.showLogAmount>20?(i(),m("button",{key:1,onClick:t[7]||(t[7]=r=>this.showLogAmount=20),class:"btn btn-sm rounded-3 shadow-sm text-primary-emphasis bg-primary-subtle border-1 border-primary-subtle"},t[10]||(t[10]=[e("i",{class:"bi bi-chevron-up me-2"},null,-1),O(" Collapse ")]))):$("",!0)])]))])])])])])}const cl=R(Po,[["render",ul]]),ml={class:"card rounded-3 flex-grow-1 bg-danger-subtle border-danger-subtle border shadow"},pl={class:"card-body"},bl={class:"d-flex align-items-center gap-3 inputGroup"},fl=["value"],vl={class:"mb-0"},hl={class:"d-flex mt-3"},gl=["disabled"],_l={__name:"updateConfigurationName",props:{configurationName:String},emits:["close"],setup(s,{emit:t}){const n=s,d=t,c=ae({data:"",valid:!1}),p=q();X(()=>{G(()=>c.data,h=>{c.valid=/^[a-zA-Z0-9_=+.-]{1,15}$/.test(h)&&h.length>0&&!p.Configurations.find(P=>P.Name===h)})});const o=U(),r=w(!1),u=pe(),v=async()=>{c.data&&(r.value=!0,clearInterval(o.Peers.RefreshInterval),await J("/api/renameWireguardConfiguration",{ConfigurationName:n.configurationName,NewConfigurationName:c.data},async h=>{h.status?(await p.getConfigurations(),o.newMessage("Server","Configuration renamed","success"),u.push(`/configuration/${c.data}/peers`)):(o.newMessage("Server",h.message,"danger"),r.value=!1)}))};return(h,P)=>(i(),m("div",ml,[e("div",pl,[e("p",null,[l(f,{t:"To update this configuration's name, WGDashboard will execute the following operations:"})]),e("ol",null,[e("li",null,[l(f,{t:"Duplicate current configuration's database table and .conf file with the new name"})]),e("li",null,[l(f,{t:"Delete current configuration's database table and .conf file"})])]),e("div",bl,[e("input",{class:"form-control form-control-sm rounded-3",value:s.configurationName,disabled:""},null,8,fl),P[3]||(P[3]=e("h3",{class:"mb-0"},[e("i",{class:"bi bi-arrow-right"})],-1)),D(e("input",{class:I(["form-control form-control-sm rounded-3",[c.data?c.valid?"is-valid":"is-invalid":""]]),id:"newConfigurationName","onUpdate:modelValue":P[0]||(P[0]=x=>c.data=x)},null,2),[[M,c.data]])]),e("div",{class:I(["invalid-feedback",{"d-block":!c.valid&&c.data}])},[l(f,{t:"Configuration name is invalid. Possible reasons:"}),e("ul",vl,[e("li",null,[l(f,{t:"Configuration name already exist"})]),e("li",null,[l(f,{t:"Configuration name can only contain 15 lower/uppercase alphabet, numbers, underscore, equal sign, plus sign, period and hyphen."})])])],2),e("div",hl,[e("button",{onClick:P[1]||(P[1]=x=>d("close")),class:"btn btn-sm bg-secondary-subtle border-secondary-subtle text-secondary-emphasis rounded-3"},[l(f,{t:"Cancel"})]),e("button",{onClick:P[2]||(P[2]=x=>v()),disabled:!c.data||r.value,class:"btn btn-sm btn-danger rounded-3 ms-auto"},[l(f,{t:"Save"})],8,gl)])])]))}},yl=R(_l,[["__scopeId","data-v-33ea9576"]]),$l={name:"Dropdown",props:{width:{type:String,default:"80px"},height:{type:String,default:"auto"},title:{type:String,default:""},disabled:{type:Boolean,default:!1},defaultDisplay:{type:Boolean,default:!1}}},wl={class:"title"};function xl(s,t,n,d,c,p){return i(),m("div",{class:I(["dropdown",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(...o)=>s.toggleDropdown&&s.toggleDropdown(...o)),onFocusout:t[1]||(t[1]=(...o)=>s.hideDropdown&&s.hideDropdown(...o)),tabindex:"0"},[e("div",wl,[e("div",null,S(n.title),1)])],34)}const kl=R($l,[["render",xl]]),Sl={components:{Dropdown:kl},name:"CodeEditor",props:{lineNums:{type:Boolean,default:!1},modelValue:{type:String},value:{type:String},theme:{type:String,default:"github-dark"},tabSpaces:{type:Number,default:2},wrap:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},header:{type:Boolean,default:!0},width:{type:String,default:"540px"},height:{type:String,default:"auto"},maxWidth:{type:String},minWidth:{type:String},maxHeight:{type:String},minHeight:{type:String},borderRadius:{type:String,default:"12px"},languages:{type:Array,default:function(){return[["javascript","JS"]]}},langListWidth:{type:String,default:"110px"},langListHeight:{type:String,default:"auto"},langListDisplay:{type:Boolean,default:!1},displayLanguage:{type:Boolean,default:!0},zIndex:{type:String,default:"0"},fontSize:{type:String,default:"17px"},padding:{type:String,default:"20px"}},directives:{highlight:{mounted(s,t){s.textContent=t.value},updated(s,t){s.scrolling?s.scrolling=!1:s.textContent=t.value}}},data(){return{scrollBarWidth:0,scrollBarHeight:0,top:0,left:0,languageClass:"hljs language-"+this.languages[0][0],languageTitle:this.languages[0][1]?this.languages[0][1]:this.languages[0][0],content:this.value,cursorPosition:0,insertTab:!1,lineNum:0,lineNumsWidth:0,scrolling:!1,textareaHeight:0,showLineNums:this.wrap?!1:this.lineNums}},computed:{tabWidth(){let s="";for(let t=0;ti.map(i=>d[i]); +import{r as w,K as Y,D as U,o as X,H as G,x as me,q as W,c as m,f as i,a as e,b as l,u as E,d as $,t as S,g as K,_ as R,h as j,F as N,i as V,n as I,z as J,G as F,W as q,M as we,N as xe,O as Z,w as z,k as oe,e as O,j as A,P as ee,T as le,Q as te,J as he,m as D,y as M,R as ce,I as pe,v as H,E as ae,U as ke,s as Q,C as ge,V as Se,L as be,p as Pe,S as Ce}from"./index-D5fbjBmH.js";import{_ as Ie}from"./protocolBadge-BVQE6rMK.js";import{L as f}from"./localeText-BwlyH2uL.js";import{C as Ae,L as De,B as Le,a as Oe,b as Me,c as Ne,p as Re,d as Be,e as Te,f as je,P as Je,h as Ue,g as fe}from"./index-DEZPVeS-.js";import{d as ie}from"./dayjs.min-Rf3-f83x.js";import{Q as Ve}from"./vue-datepicker-TsAnng-H.js";const Ee={class:"row gx-2 gy-2 mb-3"},Ke={class:"col-12"},Fe={class:"card rounded-3 bg-transparent",style:{height:"270px"}},We={class:"card-header bg-transparent border-0"},ze={class:"text-muted"},He={class:"card-body pt-1"},qe={class:"col-sm col-lg-6"},Ge={class:"card rounded-3 bg-transparent",style:{height:"270px"}},Ye={class:"card-header bg-transparent border-0 d-flex align-items-center"},Qe={class:"text-muted"},Ze={key:0,class:"text-primary fw-bold ms-auto"},Xe={class:"card-body pt-1"},et={class:"col-sm col-lg-6"},tt={class:"card rounded-3 bg-transparent",style:{height:"270px"}},st={class:"card-header bg-transparent border-0 d-flex align-items-center"},ot={class:"text-muted"},lt={key:0,class:"text-success fw-bold ms-auto"},nt={class:"card-body pt-1"},at={__name:"peerDataUsageCharts",props:{configurationPeers:Array,configurationInfo:Object},setup(s){Ae.register(De,Le,Oe,Me,Ne,Re,Be,Te,je,Je);const t=s,n=w({timestamp:[],data:[]}),d=w({timestamp:[],data:[]}),c=Y(),p=U(),o=w(void 0),r=async()=>{await K("/api/getWireguardConfigurationRealtimeTraffic",{configurationName:c.params.id},g=>{let _=ie().format("hh:mm:ss A");(g.data.sent!==0&&g.data.recv!==0||n.value.data.length>0&&d.value.data.length>0)&&(n.value.timestamp.push(_),n.value.data.push(g.data.sent),d.value.timestamp.push(_),d.value.data.push(g.data.recv))})},u=()=>{clearInterval(o.value),o.value=void 0,t.configurationInfo.Status&&(o.value=setInterval(()=>{r()},parseInt(p.Configuration.Server.dashboard_refresh_interval)))};X(()=>{u()}),G(()=>t.configurationInfo.Status,()=>{u()}),G(()=>p.Configuration.Server.dashboard_refresh_interval,()=>{u()}),me(()=>{clearInterval(o.value),o.value=void 0});const v=W(()=>{let g=t.configurationPeers.filter(_=>_.cumu_data+_.total_data>0);return{labels:g.map(_=>_.name?_.name:`Untitled Peer - ${_.id}`),datasets:[{label:"Total Data Usage",data:g.map(_=>_.cumu_data+_.total_data),backgroundColor:g.map(_=>"#ffc107"),tooltip:{callbacks:{label:_=>`${_.formattedValue} GB`}}}]}}),h=W(()=>({labels:[...n.value.timestamp],datasets:[{label:"Data Sent",data:[...n.value.data],fill:!1,borderColor:"#198754",backgroundColor:"#198754",tension:0}]})),P=W(()=>({labels:[...d.value.timestamp],datasets:[{label:"Data Received",data:[...d.value.data],fill:!1,borderColor:"#0d6efd",backgroundColor:"#0d6efd",tension:0}]})),x=W(()=>({responsive:!0,plugins:{legend:{display:!1}},scales:{x:{ticks:{display:!1},grid:{display:!1}},y:{ticks:{callback:(g,_)=>`${Math.round((g+Number.EPSILON)*1e3)/1e3} GB`},grid:{display:!1}}}})),C=W(()=>({responsive:!0,plugins:{legend:{display:!1},tooltip:{callbacks:{label:g=>`${g.formattedValue} MB/s`}}},scales:{x:{ticks:{display:!1},grid:{display:!0}},y:{ticks:{callback:(g,_)=>`${Math.round((g+Number.EPSILON)*1e3)/1e3} MB/s`},grid:{display:!0}}}}));return(g,_)=>(i(),m("div",Ee,[e("div",Ke,[e("div",Fe,[e("div",We,[e("small",ze,[l(f,{t:"Peers Data Usage"})])]),e("div",He,[l(E(Ue),{data:v.value,options:x.value,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["data","options"])])])]),e("div",qe,[e("div",Ge,[e("div",Ye,[e("small",Qe,[l(f,{t:"Real Time Received Data Usage"})]),d.value.data.length>0?(i(),m("small",Ze,S(d.value.data[d.value.data.length-1])+" MB/s ",1)):$("",!0)]),e("div",Xe,[l(E(fe),{options:C.value,data:P.value,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])]),e("div",et,[e("div",tt,[e("div",st,[e("small",ot,[l(f,{t:"Real Time Sent Data Usage"})]),n.value.data.length>0?(i(),m("small",lt,S(n.value.data[n.value.data.length-1])+" MB/s ",1)):$("",!0)]),e("div",nt,[l(E(fe),{options:C.value,data:h.value,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])])]))}},it={name:"peerSearch",components:{LocaleText:f},setup(){const s=U(),t=q();return{store:s,wireguardConfigurationStore:t}},props:{configuration:Object},data(){return{sort:{status:F("Status"),name:F("Name"),allowed_ip:F("Allowed IPs"),restricted:F("Restricted")},interval:{5e3:F("5 Seconds"),1e4:F("10 Seconds"),3e4:F("30 Seconds"),6e4:F("1 Minutes")},display:{grid:F("Grid"),list:F("List")},searchString:"",searchStringTimeout:void 0,showDisplaySettings:!1,showMoreSettings:!1}},methods:{updateSort(s){J("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_sort",value:s},t=>{t.status&&this.store.getConfiguration()})},updateRefreshInterval(s){J("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_refresh_interval",value:s},t=>{t.status&&this.store.getConfiguration()})},updateDisplay(s){J("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_peer_list_display",value:s},t=>{t.status&&this.store.getConfiguration()})},downloadAllPeer(){K(`/api/downloadAllPeers/${this.configuration.Name}`,{},s=>{s.data.forEach(t=>{t.fileName=t.fileName+".conf"}),window.wireguard.generateZipFiles(s,this.configuration.Name)})}}},rt={class:"d-flex flex-column gap-2 my-4"},dt={class:"d-flex gap-2 peerSearchContainer"},ut={class:"dropdown"},ct={"data-bs-toggle":"dropdown",class:"btn w-100 btn-sm text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle position-relative"},mt={class:"badge text-bg-primary ms-2"},pt={class:"dropdown-menu rounded-3"},bt=["onClick"],ft={class:"ms-auto"},vt={key:0,class:"bi bi-check-circle-fill"},ht={class:"dropdown"},gt={"data-bs-toggle":"dropdown",class:"btn btn-sm w-100 text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle position-relative"},_t={class:"badge text-bg-primary ms-2"},yt={class:"dropdown-menu rounded-3"},$t=["onClick"],wt={class:"ms-auto"},xt={key:0,class:"bi bi-check-circle-fill"},kt={class:"dropdown"},St={"data-bs-toggle":"dropdown",class:"btn btn-sm w-100 text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle position-relative"},Pt={class:"badge text-bg-primary ms-2"},Ct={class:"dropdown-menu rounded-3"},It=["onClick"],At={class:"ms-auto"},Dt={key:0,class:"bi bi-check-circle-fill"};function Lt(s,t,n,d,c,p){const o=j("LocaleText");return i(),m("div",rt,[e("div",dt,[e("div",ut,[e("button",ct,[t[4]||(t[4]=e("i",{class:"bi bi-sort-up me-2"},null,-1)),l(o,{t:"Sort By"}),e("span",mt,S(this.sort[d.store.Configuration.Server.dashboard_sort]),1)]),e("ul",pt,[(i(!0),m(N,null,V(this.sort,(r,u)=>(i(),m("li",null,[e("button",{class:"dropdown-item d-flex align-items-center",onClick:v=>this.updateSort(u)},[e("small",null,S(r),1),e("small",ft,[d.store.Configuration.Server.dashboard_sort===u?(i(),m("i",vt)):$("",!0)])],8,bt)]))),256))])]),e("div",ht,[e("button",gt,[t[5]||(t[5]=e("i",{class:"bi bi-arrow-repeat me-2"},null,-1)),l(o,{t:"Refresh Interval"}),e("span",_t,S(this.interval[d.store.Configuration.Server.dashboard_refresh_interval]),1)]),e("ul",yt,[(i(!0),m(N,null,V(this.interval,(r,u)=>(i(),m("li",null,[e("button",{class:"dropdown-item d-flex align-items-center",onClick:v=>this.updateRefreshInterval(u)},[e("small",null,S(r),1),e("small",wt,[d.store.Configuration.Server.dashboard_refresh_interval===u?(i(),m("i",xt)):$("",!0)])],8,$t)]))),256))])]),e("div",kt,[e("button",St,[e("i",{class:I(["bi me-2","bi-"+d.store.Configuration.Server.dashboard_peer_list_display])},null,2),l(o,{t:"Display"}),e("span",Pt,S(this.display[d.store.Configuration.Server.dashboard_peer_list_display]),1)]),e("ul",Ct,[(i(!0),m(N,null,V(this.display,(r,u)=>(i(),m("li",null,[e("button",{class:"dropdown-item d-flex align-items-center",onClick:v=>this.updateDisplay(u)},[e("small",null,S(r),1),e("small",At,[d.store.Configuration.Server.dashboard_peer_list_display===u?(i(),m("i",Dt)):$("",!0)])],8,It)]))),256))])]),e("button",{class:"btn btn-sm text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle ms-lg-auto",onClick:t[0]||(t[0]=r=>this.$emit("search"))},[t[6]||(t[6]=e("i",{class:"bi bi-search me-2"},null,-1)),l(o,{t:"Search"})]),e("button",{class:"btn btn-sm text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle",onClick:t[1]||(t[1]=r=>this.downloadAllPeer())},[t[7]||(t[7]=e("i",{class:"bi bi-download me-2 me-lg-0 me-xl-2"},null,-1)),l(o,{t:"Download All",class:"d-sm-block d-lg-none d-xl-block"})]),e("button",{class:"btn btn-sm text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle",onClick:t[2]||(t[2]=r=>this.$emit("selectPeers"))},[t[8]||(t[8]=e("i",{class:"bi bi-check2-all me-2 me-lg-0 me-xl-2"},null,-1)),l(o,{t:"Select Peers",class:"d-sm-block d-lg-none d-xl-block"})]),e("button",{class:"btn btn-sm text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle",onClick:t[3]||(t[3]=r=>this.$emit("jobsAll")),type:"button","aria-expanded":"false"},[t[9]||(t[9]=e("i",{class:"bi bi-person-walking me-2 me-lg-0 me-xl-2"},null,-1)),l(o,{t:"Active Jobs",class:"d-sm-block d-lg-none d-xl-block"})])])])}const Ot=R(it,[["render",Lt],["__scopeId","data-v-7af0f399"]]);function Mt(s){return we()?(xe(s),!0):!1}const _e=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Nt=Object.prototype.toString,Rt=s=>Nt.call(s)==="[object Object]",se=()=>{},Bt=Tt();function Tt(){var s,t;return _e&&((s=window?.navigator)==null?void 0:s.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function de(s){return Array.isArray(s)?s:[s]}function jt(s,t,n){return G(s,t,{...n,immediate:!0})}const ye=_e?window:void 0;function ne(s){var t;const n=Z(s);return(t=n?.$el)!=null?t:n}function ue(...s){const t=[],n=()=>{t.forEach(r=>r()),t.length=0},d=(r,u,v,h)=>(r.addEventListener(u,v,h),()=>r.removeEventListener(u,v,h)),c=W(()=>{const r=de(Z(s[0])).filter(u=>u!=null);return r.every(u=>typeof u!="string")?r:void 0}),p=jt(()=>{var r,u;return[(u=(r=c.value)==null?void 0:r.map(v=>ne(v)))!=null?u:[ye].filter(v=>v!=null),de(Z(c.value?s[1]:s[0])),de(E(c.value?s[2]:s[1])),Z(c.value?s[3]:s[2])]},([r,u,v,h])=>{if(n(),!r?.length||!u?.length||!v?.length)return;const P=Rt(h)?{...h}:h;t.push(...r.flatMap(x=>u.flatMap(C=>v.map(g=>d(x,C,g,P)))))},{flush:"post"}),o=()=>{p(),n()};return Mt(n),o}let ve=!1;function Jt(s,t,n={}){const{window:d=ye,ignore:c=[],capture:p=!0,detectIframe:o=!1,controls:r=!1}=n;if(!d)return r?{stop:se,cancel:se,trigger:se}:se;if(Bt&&!ve){ve=!0;const k={passive:!0};Array.from(d.document.body.children).forEach(L=>L.addEventListener("click",se,k)),d.document.documentElement.addEventListener("click",se,k)}let u=!0;const v=k=>Z(c).some(L=>{if(typeof L=="string")return Array.from(d.document.querySelectorAll(L)).some(B=>B===k.target||k.composedPath().includes(B));{const B=ne(L);return B&&(k.target===B||k.composedPath().includes(B))}});function h(k){const L=Z(k);return L&&L.$.subTree.shapeFlag===16}function P(k,L){const B=Z(k),b=B.$.subTree&&B.$.subTree.children;return b==null||!Array.isArray(b)?!1:b.some(a=>a.el===L.target||L.composedPath().includes(a.el))}const x=k=>{const L=ne(s);if(k.target!=null&&!(!(L instanceof Element)&&h(s)&&P(s,k))&&!(!L||L===k.target||k.composedPath().includes(L))){if("detail"in k&&k.detail===0&&(u=!v(k)),!u){u=!0;return}t(k)}};let C=!1;const g=[ue(d,"click",k=>{C||(C=!0,setTimeout(()=>{C=!1},0),x(k))},{passive:!0,capture:p}),ue(d,"pointerdown",k=>{const L=ne(s);u=!v(k)&&!!(L&&!k.composedPath().includes(L))},{passive:!0}),o&&ue(d,"blur",k=>{setTimeout(()=>{var L;const B=ne(s);((L=d.document.activeElement)==null?void 0:L.tagName)==="IFRAME"&&!B?.contains(d.document.activeElement)&&t(k)},0)},{passive:!0})].filter(Boolean),_=()=>g.forEach(k=>k());return r?{stop:_,cancel:()=>{u=!1},trigger:k=>{u=!0,x(k),u=!1}}:_}const Ut={key:0,class:"position-absolute d-block p-1 px-2 bg-body text-body rounded-3 border shadow"},Vt={__name:"peerSettingsDropdownTool",props:{icon:String,title:String},emits:["click"],setup(s,{emit:t}){const n=t,d=w(!1);return(c,p)=>(i(),m("a",{class:"dropdown-item text-center px-0 rounded-3 position-relative",role:"button",onMouseenter:p[0]||(p[0]=o=>d.value=!0),onMouseleave:p[1]||(p[1]=o=>d.value=!1),onClick:p[2]||(p[2]=o=>n("click"))},[e("i",{class:I(["me-auto bi",s.icon])},null,2),l(oe,{name:"zoomReversed"},{default:z(()=>[d.value?(i(),m("span",Ut,[e("small",null,[l(f,{t:s.title},null,8,["t"])])])):$("",!0)]),_:1})],32))}},Et=R(Vt,[["__scopeId","data-v-d4e41a56"]]),Kt={name:"peerSettingsDropdown",components:{PeerSettingsDropdownTool:Et,LocaleText:f},setup(){return{dashboardStore:U()}},props:{Peer:Object},data(){return{deleteBtnDisabled:!1,restrictBtnDisabled:!1,allowAccessBtnDisabled:!1,confirmDelete:!1}},methods:{downloadPeer(){K("/api/downloadPeer/"+this.$route.params.id,{id:this.Peer.id},s=>{if(s.status){const t=new Blob([s.data.file],{type:"text/plain"}),n=URL.createObjectURL(t),d=`${s.data.fileName}.conf`,c=document.createElement("a");c.href=n,c.download=d,c.click(),this.dashboardStore.newMessage("WGDashboard","Peer download started","success")}else this.dashboardStore.newMessage("Server",s.message,"danger")})},downloadQRCode(s){K("/api/downloadPeer/"+this.$route.params.id,{id:this.Peer.id},t=>{t.status?this.$emit(s,t.data.file):this.dashboardStore.newMessage("Server",t.message,"danger")})},deletePeer(){this.deleteBtnDisabled=!0,J(`/api/deletePeers/${this.$route.params.id}`,{peers:[this.Peer.id]},s=>{this.dashboardStore.newMessage("Server",s.message,s.status?"success":"danger"),this.$emit("refresh"),this.deleteBtnDisabled=!1})},restrictPeer(){this.restrictBtnDisabled=!0,J(`/api/restrictPeers/${this.$route.params.id}`,{peers:[this.Peer.id]},s=>{this.dashboardStore.newMessage("Server",s.message,s.status?"success":"danger"),this.$emit("refresh"),this.restrictBtnDisabled=!1})},allowAccessPeer(){this.allowAccessBtnDisabled=!0,J(`/api/allowAccessPeers/${this.$route.params.id}`,{peers:[this.Peer.id]},s=>{this.dashboardStore.newMessage("Server",s.message,s.status?"success":"danger"),this.$emit("refresh"),this.allowAccessBtnDisabled=!1})}}},Ft={class:"dropdown-menu mt-2 shadow-lg d-block rounded-3",style:{"max-width":"200px"}},Wt={style:{"font-size":"0.8rem","padding-left":"var(--bs-dropdown-item-padding-x)","padding-right":"var(--bs-dropdown-item-padding-x)"}},zt={class:"text-body d-flex"},Ht={class:"ms-auto"},qt={key:1},Gt={class:"w-100 dropdown-item text-muted",style:{"white-space":"break-spaces","font-size":"0.7rem"}},Yt={key:2},Qt={class:"d-flex",style:{"padding-left":"var(--bs-dropdown-item-padding-x)","padding-right":"var(--bs-dropdown-item-padding-x)"}},Zt={key:1,class:"confirmDelete"},Xt={style:{"white-space":"break-spaces"},class:"mb-2 d-block fw-bold"},es={class:"d-flex w-100 gap-2"},ts=["disabled"],ss=["disabled"],os={key:1};function ls(s,t,n,d,c,p){const o=j("LocaleText"),r=j("PeerSettingsDropdownTool");return i(),m("ul",Ft,[this.Peer.restricted?(i(),m("li",os,[e("a",{class:I(["dropdown-item d-flex text-warning",{disabled:this.allowAccessBtnDisabled}]),onClick:t[11]||(t[11]=u=>this.allowAccessPeer()),role:"button"},[t[25]||(t[25]=e("i",{class:"me-auto bi bi-unlock"},null,-1)),this.allowAccessBtnDisabled?(i(),A(o,{key:1,t:"Allowing Access..."})):(i(),A(o,{key:0,t:"Allow Access"}))],2)])):(i(),m(N,{key:0},[this.confirmDelete?(i(),m("li",Zt,[e("p",Xt,[l(o,{t:"Are you sure to delete this peer?"})]),e("div",es,[e("button",{onClick:t[9]||(t[9]=u=>this.deletePeer()),disabled:this.deleteBtnDisabled,class:"flex-grow-1 ms-auto btn btn-sm bg-danger"},[l(o,{t:"Yes"})],8,ts),e("button",{disabled:this.deleteBtnDisabled,onClick:t[10]||(t[10]=u=>this.confirmDelete=!1),class:"flex-grow-1 btn btn-sm bg-secondary-subtle text-secondary-emphasis border border-secondary-subtle"},[l(o,{t:"No"})],8,ss)])])):(i(),m(N,{key:0},[this.Peer.status==="running"?(i(),m(N,{key:0},[e("li",Wt,[e("span",zt,[t[12]||(t[12]=e("i",{class:"bi bi-box-arrow-in-right"},null,-1)),e("span",Ht,S(this.Peer.endpoint),1)])]),t[13]||(t[13]=e("li",null,[e("hr",{class:"dropdown-divider"})],-1))],64)):$("",!0),this.Peer.private_key?(i(),m("li",Yt,[t[14]||(t[14]=e("div",{class:"text-center text-muted"},null,-1)),e("div",Qt,[l(r,{icon:"bi-download",title:"Download",onClick:t[0]||(t[0]=u=>this.downloadPeer())}),l(r,{icon:"bi-qr-code",title:"QR Code",onClick:t[1]||(t[1]=u=>this.$emit("qrcode"))}),l(r,{icon:"bi-body-text",title:"Configuration File",onClick:t[2]||(t[2]=u=>this.$emit("configurationFile"))}),l(r,{icon:"bi-share",title:"Share Peer",onClick:t[3]||(t[3]=u=>this.$emit("share"))})])])):(i(),m("li",qt,[e("small",Gt,[l(o,{t:"Download & QR Code is not available due to no private key set for this peer"})])])),t[23]||(t[23]=e("li",null,[e("hr",{class:"dropdown-divider"})],-1)),e("li",null,[e("a",{class:"dropdown-item d-flex",role:"button",onClick:t[4]||(t[4]=u=>this.$emit("setting"))},[t[15]||(t[15]=e("i",{class:"me-auto bi bi-pen"},null,-1)),t[16]||(t[16]=O()),l(o,{t:"Peer Settings"})])]),e("li",null,[e("a",{class:"dropdown-item d-flex",role:"button",onClick:t[5]||(t[5]=u=>this.$emit("jobs"))},[t[17]||(t[17]=e("i",{class:"me-auto bi bi-app-indicator"},null,-1)),t[18]||(t[18]=O()),l(o,{t:"Schedule Jobs"})])]),e("li",null,[e("a",{class:"dropdown-item d-flex",role:"button",onClick:t[6]||(t[6]=u=>this.$emit("assign"))},[t[19]||(t[19]=e("i",{class:"me-auto bi bi-diagram-2"},null,-1)),t[20]||(t[20]=O()),l(o,{t:"Assign Peer"})])]),t[24]||(t[24]=e("li",null,[e("hr",{class:"dropdown-divider"})],-1)),e("li",null,[e("a",{class:I(["dropdown-item d-flex text-warning",{disabled:this.restrictBtnDisabled}]),onClick:t[7]||(t[7]=u=>this.restrictPeer()),role:"button"},[t[21]||(t[21]=e("i",{class:"me-auto bi bi-lock"},null,-1)),this.restrictBtnDisabled?(i(),A(o,{key:1,t:"Restricting..."})):(i(),A(o,{key:0,t:"Restrict Access"}))],2)]),e("li",null,[e("a",{class:I(["dropdown-item d-flex fw-bold text-danger",{disabled:this.deleteBtnDisabled}]),onClick:t[8]||(t[8]=u=>this.confirmDelete=!0),role:"button"},[t[22]||(t[22]=e("i",{class:"me-auto bi bi-trash"},null,-1)),this.deleteBtnDisabled?(i(),A(o,{key:1,t:"Deleting..."})):(i(),A(o,{key:0,t:"Delete"}))],2)])],64))],64))])}const ns=R(Kt,[["render",ls],["__scopeId","data-v-d636c35d"]]),as={name:"peer",methods:{GetLocale:F},components:{LocaleText:f,PeerSettingsDropdown:ns},props:{Peer:Object},data(){return{}},setup(){const s=w(null),t=w(!1),n=U();return Jt(s,d=>{t.value=!1}),{target:s,subMenuOpened:t,dashboardStore:n}},computed:{getLatestHandshake(){return this.Peer.latest_handshake.includes(",")?this.Peer.latest_handshake.split(",")[0]:this.Peer.latest_handshake}}},is=["id"],rs={key:0,class:"card-header bg-transparent d-flex align-items-center gap-2 border-0"},ds={key:0,style:{"font-size":"0.8rem",color:"#28a745"},class:"d-flex align-items-center"},us={style:{"font-size":"0.8rem"},class:"ms-auto d-flex gap-2"},cs={class:"text-primary"},ms={class:"text-success"},ps={key:0,class:"text-secondary"},bs={key:1,class:"border-0 card-header bg-transparent text-warning fw-bold",style:{"font-size":"0.8rem"}},fs={class:"card-body pt-1",style:{"font-size":"0.9rem"}},vs={class:"text-muted"},hs={class:"d-block"},gs={class:"text-muted"},_s={class:"d-block"},ys={class:"d-flex align-items-end ms-auto"};function $s(s,t,n,d,c,p){const o=j("LocaleText"),r=j("PeerSettingsDropdown");return i(),m("div",{class:I(["card shadow-sm rounded-3 peerCard",{"border-warning":n.Peer.restricted}]),id:"peer_"+n.Peer.id},[e("div",null,[n.Peer.restricted?(i(),m("div",bs,[t[14]||(t[14]=e("i",{class:"bi-lock-fill me-2"},null,-1)),l(o,{t:"Access Restricted"})])):(i(),m("div",rs,[e("div",{class:I(["dot ms-0",{active:n.Peer.status==="running"}])},null,2),d.dashboardStore.Configuration.Server.dashboard_peer_list_display==="list"&&n.Peer.status==="running"?(i(),m("div",ds,[t[8]||(t[8]=e("i",{class:"bi bi-box-arrow-in-right me-2"},null,-1)),e("span",null,S(n.Peer.endpoint),1)])):$("",!0),e("div",us,[e("span",cs,[t[9]||(t[9]=e("i",{class:"bi bi-arrow-down"},null,-1)),e("strong",null,S((n.Peer.cumu_receive+n.Peer.total_receive).toFixed(4)),1),t[10]||(t[10]=O(" GB "))]),e("span",ms,[t[11]||(t[11]=e("i",{class:"bi bi-arrow-up"},null,-1)),e("strong",null,S((n.Peer.cumu_sent+n.Peer.total_sent).toFixed(4)),1),t[12]||(t[12]=O(" GB "))]),n.Peer.latest_handshake!=="No Handshake"?(i(),m("span",ps,[t[13]||(t[13]=e("i",{class:"bi bi-arrows-angle-contract"},null,-1)),O(" "+S(p.getLatestHandshake)+" ago ",1)])):$("",!0)])]))]),e("div",fs,[e("h6",null,S(n.Peer.name?n.Peer.name:p.GetLocale("Untitled Peer")),1),e("div",{class:I(["d-flex",[d.dashboardStore.Configuration.Server.dashboard_peer_list_display==="grid"?"gap-1 flex-column":"flex-row gap-3"]])},[e("div",{class:I({"d-flex gap-2 align-items-center":d.dashboardStore.Configuration.Server.dashboard_peer_list_display==="list"})},[e("small",vs,[l(o,{t:"Public Key"})]),e("small",hs,[e("samp",null,S(n.Peer.id),1)])],2),e("div",{class:I({"d-flex gap-2 align-items-center":d.dashboardStore.Configuration.Server.dashboard_peer_list_display==="list"})},[e("small",gs,[l(o,{t:"Allowed IPs"})]),e("small",_s,[e("samp",null,S(n.Peer.allowed_ip),1)])],2),e("div",ys,[e("div",{class:I(["ms-auto px-2 rounded-3 subMenuBtn",{active:this.subMenuOpened}])},[e("a",{role:"button",class:"text-body",onClick:t[0]||(t[0]=u=>this.subMenuOpened=!0)},t[15]||(t[15]=[e("h5",{class:"mb-0"},[e("i",{class:"bi bi-three-dots"})],-1)])),l(oe,{name:"slide-fade"},{default:z(()=>[this.subMenuOpened?(i(),A(r,{key:0,onQrcode:t[1]||(t[1]=u=>this.$emit("qrcode")),onConfigurationFile:t[2]||(t[2]=u=>this.$emit("configurationFile")),onSetting:t[3]||(t[3]=u=>this.$emit("setting")),onJobs:t[4]||(t[4]=u=>this.$emit("jobs")),onRefresh:t[5]||(t[5]=u=>this.$emit("refresh")),onShare:t[6]||(t[6]=u=>this.$emit("share")),onAssign:t[7]||(t[7]=u=>this.$emit("assign")),Peer:n.Peer,ref:"target"},null,8,["Peer"])):$("",!0)]),_:1})],2)])],2)])],10,is)}const ws=R(as,[["render",$s],["__scopeId","data-v-b909bf3c"]]),xs={__name:"peerListModals",props:{configurationModals:Object,configurationModalSelectedPeer:Object},emits:["refresh"],setup(s,{emit:t}){const n=t,d=ee(()=>te(()=>import("./peerAssignModal-BlY9USB3.js"),__vite__mapDeps([0,1,2,3,4,5]))),c=ee(()=>te(()=>import("./peerShareLinkModal-vYd2is_h.js"),__vite__mapDeps([6,2,3,7,8,1,9]))),p=ee(()=>te(()=>import("./peerJobs-Dy2B-B5E.js"),__vite__mapDeps([10,2,3,1,11,12,7,8,13]))),o=ee(()=>te(()=>import("./peerQRCode-BuSsVfWC.js"),__vite__mapDeps([14,15,2,3,1,16]))),r=ee(()=>te(()=>import("./peerConfigurationFile-CdJ_2hj_.js"),__vite__mapDeps([17,2,3,1,15,18]))),u=ee(()=>te(()=>import("./peerSettings-BWazN9hG.js"),__vite__mapDeps([19,2,3,1,20])));return(v,h)=>(i(),A(le,{name:"zoom"},{default:z(()=>[s.configurationModals.peerSetting.modalOpen?(i(),A(E(u),{key:"PeerSettingsModal",selectedPeer:s.configurationModalSelectedPeer,onRefresh:h[0]||(h[0]=P=>n("refresh")),onClose:h[1]||(h[1]=P=>s.configurationModals.peerSetting.modalOpen=!1)},null,8,["selectedPeer"])):$("",!0),s.configurationModals.peerQRCode.modalOpen?(i(),A(E(o),{key:"PeerQRCodeModal",selectedPeer:s.configurationModalSelectedPeer,onClose:h[2]||(h[2]=P=>s.configurationModals.peerQRCode.modalOpen=!1)},null,8,["selectedPeer"])):$("",!0),s.configurationModals.peerScheduleJobs.modalOpen?(i(),A(E(p),{key:"PeerJobsModal",onRefresh:h[3]||(h[3]=P=>n("refresh")),selectedPeer:s.configurationModalSelectedPeer,onClose:h[4]||(h[4]=P=>s.configurationModals.peerScheduleJobs.modalOpen=!1)},null,8,["selectedPeer"])):$("",!0),s.configurationModals.peerShare.modalOpen?(i(),A(E(c),{key:"PeerShareLinkModal",onClose:h[5]||(h[5]=P=>{s.configurationModals.peerShare.modalOpen=!1}),selectedPeer:s.configurationModalSelectedPeer},null,8,["selectedPeer"])):$("",!0),s.configurationModals.peerConfigurationFile.modalOpen?(i(),A(E(r),{key:4,onClose:h[6]||(h[6]=P=>s.configurationModals.peerConfigurationFile.modalOpen=!1),selectedPeer:s.configurationModalSelectedPeer},null,8,["selectedPeer"])):$("",!0),s.configurationModals.assignPeer.modalOpen?(i(),A(E(d),{key:5,selectedPeer:s.configurationModalSelectedPeer,onClose:h[7]||(h[7]=P=>s.configurationModals.assignPeer.modalOpen=!1)},null,8,["selectedPeer"])):$("",!0)]),_:1}))}},ks={style:{"margin-bottom":"20px",height:"1px"},id:"loadMore"},Ss={__name:"peerIntersectionObserver",props:["peerListLength","showPeersCount"],emits:["loadMore"],setup(s,{emit:t}){const n=w(void 0),d=t;return X(()=>{n.value=new IntersectionObserver(c=>{c.forEach(p=>{p.isIntersecting&&d("loadMore")})},{rootMargin:"20px",threshold:1}),n.value.observe(document.querySelector("#loadMore"))}),me(()=>{n.value.disconnect()}),(c,p)=>(i(),m("div",ks))}},Ps={class:"d-flex gap-1 flex-column"},Cs=he({__name:"configurationDescription",props:["configuration"],setup(s){const t=s,n=w(t.configuration.Info.Description),d=w(!1),c=w(!1),p=async()=>{await J("/api/updateWireguardConfigurationInfo",{Name:t.configuration.Name,Key:"Description",Value:n.value},r=>{c.value=r.status,o()})},o=()=>{d.value=!0,setTimeout(()=>{d.value=!1},3e3)};return(r,u)=>(i(),m("div",Ps,[u[2]||(u[2]=e("label",{for:"configurationDescription"},[e("small",{style:{"white-space":"nowrap"},class:"text-muted"},[e("i",{class:"bi bi-pencil-fill me-2"}),O("Notes ")])],-1)),D(e("input",{type:"text",class:I([[d.value?[c.value?"is-valid":"is-invalid"]:void 0],"form-control rounded-3 bg-transparent form-control-sm"]),id:"configurationDescription","onUpdate:modelValue":u[0]||(u[0]=v=>n.value=v),onChange:u[1]||(u[1]=v=>p())},null,34),[[M,n.value]])]))}}),Is={class:"fixed-bottom w-100 bottom-0 z-2",style:{"z-index":"1"}},As={class:"container-fluid"},Ds={class:"row g-0"},Ls={class:"col-md-9 col-lg-10 d-flex justify-content-center py-2"},Os={class:"rounded-3 p-2 border shadow searchPeersContainer bg-body-tertiary"},Ms={class:"d-flex gap-1 align-items-center px-2"},Ns=["placeholder"],Rs={__name:"peerSearchBar",emits:["close"],setup(s,{emit:t}){const n=W(()=>F("Search Peers..."));let d;const c=q(),p=w(c.searchString),o=()=>{d?(clearTimeout(d),d=setTimeout(()=>{c.searchString=p.value},300)):d=setTimeout(()=>{c.searchString=p.value},300)},r=t,u=ce("searchBar"),v=Y(),h=pe();return v.query.peer&&(p.value=v.query.peer,h.replace({query:null})),X(()=>{u.value.focus()}),(P,x)=>(i(),A(oe,{name:"slideUp",appear:"",type:"animation",style:{"animation-delay":"1s"}},{default:z(()=>[e("div",Is,[e("div",As,[e("div",Ds,[x[5]||(x[5]=e("div",{class:"col-md-3 col-lg-2"},null,-1)),e("div",Ls,[e("div",Os,[e("div",Ms,[x[4]||(x[4]=e("h6",{class:"mb-0 me-2"},[e("label",{for:"searchPeers"},[e("i",{class:"bi bi-search"})])],-1)),D(e("input",{ref:"searchBar",class:"flex-grow-1 form-control rounded-3 bg-secondary-subtle border-1 border-secondary-subtle",placeholder:n.value,id:"searchPeers",onKeyup:x[0]||(x[0]=C=>o()),"onUpdate:modelValue":x[1]||(x[1]=C=>p.value=C)},null,40,Ns),[[M,p.value]]),e("button",{onClick:x[2]||(x[2]=C=>r("close")),style:{"white-space":"nowrap"},class:"btn bg-secondary-subtle text-secondary-emphasis border-secondary-subtle rounded-3 d-flex align-items-center"},[e("span",null,[x[3]||(x[3]=e("i",{class:"bi bi-x-circle-fill me-2"},null,-1)),l(f,{t:"Done"})])])])])])])])])]),_:1}))}},Bs=R(Rs,[["__scopeId","data-v-e976c90a"]]),Ts={name:"scheduleDropdown",props:{options:Array,data:String,edit:!1},setup(s){s.data===void 0&&this.$emit("update",this.options[0].value)},computed:{currentSelection(){return this.options.find(s=>s.value===this.data)}}},js={class:"dropdown scheduleDropdown"},Js={class:"dropdown-menu rounded-3 shadow",style:{"font-size":"0.875rem",width:"200px"}},Us=["onClick"],Vs={key:0,class:"bi bi-check ms-auto"};function Es(s,t,n,d,c,p){return i(),m("div",js,[e("button",{class:I(["btn btn-sm btn-outline-primary rounded-3",{"disabled border-transparent":!n.edit}]),type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[e("samp",null,S(this.currentSelection.display),1)],2),e("ul",Js,[n.edit?(i(!0),m(N,{key:0},V(this.options,o=>(i(),m("li",null,[e("a",{class:"dropdown-item d-flex align-items-center",role:"button",onClick:r=>s.$emit("update",o.value)},[e("samp",null,S(o.display),1),o.value===this.currentSelection.value?(i(),m("i",Vs)):$("",!0)],8,Us)]))),256)):$("",!0)])])}const Ks=R(Ts,[["render",Es],["__scopeId","data-v-6a5aba2a"]]),Fs={name:"schedulePeerJob",components:{LocaleText:f,VueDatePicker:Ve,ScheduleDropdown:Ks},props:{dropdowns:Array[Object],pjob:Object,viewOnly:!1},setup(s){const t=w({}),n=w(!1),d=w(!1);t.value=JSON.parse(JSON.stringify(s.pjob)),t.value.CreationDate||(n.value=!0,d.value=!0);const c=U();return{job:t,edit:n,newJob:d,store:c}},data(){return{inputType:void 0}},watch:{pjob:{deep:!0,immediate:!0,handler(s){this.edit||(this.job=JSON.parse(JSON.stringify(s)))}}},methods:{save(){this.job.Field&&this.job.Operator&&this.job.Action&&this.job.Value?J("/api/savePeerScheduleJob",{Job:this.job},s=>{s.status?(this.edit=!1,this.store.newMessage("Server","Peer job saved","success"),console.log(s.data),this.$emit("refresh",s.data[0]),this.newJob=!1):this.store.newMessage("Server",s.message,"danger")}):this.alert()},alert(){let s="animate__flash",t=this.$el.querySelectorAll(".scheduleDropdown"),n=this.$el.querySelectorAll("input");t.forEach(d=>d.classList.add("animate__animated",s)),n.forEach(d=>d.classList.add("animate__animated",s)),setTimeout(()=>{t.forEach(d=>d.classList.remove("animate__animated",s)),n.forEach(d=>d.classList.remove("animate__animated",s))},2e3)},reset(){this.job.CreationDate?(this.job=JSON.parse(JSON.stringify(this.pjob)),this.edit=!1):this.$emit("delete")},delete(){this.job.CreationDate&&J("/api/deletePeerScheduleJob",{Job:this.job},s=>{s.status?this.store.newMessage("Server","Peer job deleted","success"):(this.store.newMessage("Server",s.message,"danger"),this.$emit("delete"))}),this.$emit("delete")},parseTime(s){s&&(this.job.Value=ie(s).format("YYYY-MM-DD HH:mm:ss"))}}},Ws={class:"card-header bg-transparent text-muted border-0"},zs={key:0,class:"d-flex"},Hs={class:"me-auto"},qs={key:1},Gs={class:"badge text-bg-warning"},Ys={class:"card-body pt-1",style:{"font-family":"var(--bs-font-monospace)"}},Qs={class:"d-flex gap-2 align-items-center mb-2"},Zs=["disabled"],Xs={class:"px-5 d-flex gap-2 align-items-center"},eo={class:"d-flex gap-3"},to={key:0,class:"ms-auto d-flex gap-3"},so={key:1,class:"ms-auto d-flex gap-3"};function oo(s,t,n,d,c,p){const o=j("LocaleText"),r=j("ScheduleDropdown"),u=j("VueDatePicker");return i(),m("div",{class:I(["card shadow-sm rounded-3 mb-2",{"border-warning-subtle":this.newJob}])},[e("div",Ws,[this.newJob?(i(),m("small",qs,[e("span",Gs,[l(o,{t:"Unsaved Job"})])])):(i(),m("small",zs,[e("strong",Hs,[l(o,{t:"Job ID"})]),e("samp",null,S(this.job.JobID),1)]))]),e("div",Ys,[e("div",Qs,[e("samp",null,[l(o,{t:"if"})]),l(r,{edit:d.edit,options:this.dropdowns.Field,data:this.job.Field,onUpdate:t[0]||(t[0]=v=>{this.job.Field=v})},null,8,["edit","options","data"]),e("samp",null,[l(o,{t:"is"})]),l(r,{edit:d.edit,options:this.dropdowns.Operator,data:this.job.Operator,onUpdate:t[1]||(t[1]=v=>this.job.Operator=v)},null,8,["edit","options","data"]),this.job.Field==="date"?(i(),A(u,{key:0,is24:!0,"min-date":new Date,"model-value":this.job.Value,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",clearable:!1,disabled:!d.edit,dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","disabled","dark"])):D((i(),m("input",{key:1,class:"form-control form-control-sm form-control-dark rounded-3 flex-grow-1",disabled:!d.edit,"onUpdate:modelValue":t[2]||(t[2]=v=>this.job.Value=v),style:{width:"auto"}},null,8,Zs)),[[M,this.job.Value]]),e("samp",null,S(this.dropdowns.Field.find(v=>v.value===this.job.Field)?.unit)+" { ",1)]),e("div",Xs,[e("samp",null,[l(o,{t:"then"})]),l(r,{edit:d.edit,options:this.dropdowns.Action,data:this.job.Action,onUpdate:t[3]||(t[3]=v=>this.job.Action=v)},null,8,["edit","options","data"])]),e("div",eo,[t[12]||(t[12]=e("samp",null,"}",-1)),this.edit?(i(),m("div",so,[e("a",{role:"button",class:"text-secondary text-decoration-none",onClick:t[6]||(t[6]=v=>this.reset())},[t[10]||(t[10]=O("[C] ")),l(o,{t:"Cancel"})]),e("a",{role:"button",class:"text-primary ms-auto text-decoration-none",onClick:t[7]||(t[7]=v=>this.save())},[t[11]||(t[11]=O("[S] ")),l(o,{t:"Save"})])])):(i(),m("div",to,[e("a",{role:"button",class:"ms-auto text-decoration-none",onClick:t[4]||(t[4]=v=>this.edit=!0)},[t[8]||(t[8]=O("[E] ")),l(o,{t:"Edit"})]),e("a",{role:"button",onClick:t[5]||(t[5]=v=>this.delete()),class:"text-danger text-decoration-none"},[t[9]||(t[9]=O("[D] ")),l(o,{t:"Delete"})])]))])])],2)}const lo=R(Fs,[["render",oo],["__scopeId","data-v-4aa63a3e"]]),no={name:"peerJobsAllModal",setup(){return{store:q()}},components:{LocaleText:f,SchedulePeerJob:lo},props:{configurationPeers:Array[Object]},computed:{getAllJobs(){return this.configurationPeers.filter(s=>s.jobs.length>0)}}},ao={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},io={class:"container d-flex h-100 w-100"},ro={class:"m-auto modal-dialog-centered dashboardModal"},uo={class:"card rounded-3 shadow",style:{width:"900px"}},co={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},mo={class:"mb-0 fw-normal"},po={class:"card-body px-4 pb-4 pt-2"},bo={key:0,class:"accordion",id:"peerJobsLogsModalAccordion"},fo={class:"accordion-header"},vo=["data-bs-target"],ho={key:0},go={class:"text-muted"},_o=["id"],yo={class:"accordion-body"},$o={key:1,class:"card shadow-sm",style:{height:"153px"}},wo={class:"card-body text-muted text-center d-flex"},xo={class:"m-auto"};function ko(s,t,n,d,c,p){const o=j("LocaleText"),r=j("SchedulePeerJob");return i(),m("div",ao,[e("div",io,[e("div",ro,[e("div",uo,[e("div",co,[e("h4",mo,[l(o,{t:"All Active Jobs"})]),e("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=u=>this.$emit("close"))})]),e("div",po,[e("button",{class:"btn bg-primary-subtle border-1 border-primary-subtle text-primary-emphasis rounded-3 shadow mb-2",onClick:t[1]||(t[1]=u=>this.$emit("allLogs"))},[t[4]||(t[4]=e("i",{class:"bi bi-clock me-2"},null,-1)),l(o,{t:"Logs"})]),this.getAllJobs.length>0?(i(),m("div",bo,[(i(!0),m(N,null,V(this.getAllJobs,(u,v)=>(i(),m("div",{class:"accordion-item",key:u.id},[e("h2",fo,[e("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapse_"+v},[e("small",null,[e("strong",null,[u.name?(i(),m("span",ho,S(u.name)+" • ",1)):$("",!0),e("samp",go,S(u.id),1)])])],8,vo)]),e("div",{id:"collapse_"+v,class:"accordion-collapse collapse","data-bs-parent":"#peerJobsLogsModalAccordion"},[e("div",yo,[(i(!0),m(N,null,V(u.jobs,h=>(i(),A(r,{onDelete:t[2]||(t[2]=P=>this.$emit("refresh")),onRefresh:t[3]||(t[3]=P=>this.$emit("refresh")),dropdowns:this.store.PeerScheduleJobs.dropdowns,viewOnly:!0,key:h.JobID,pjob:h},null,8,["dropdowns","pjob"]))),128))])],8,_o)]))),128))])):(i(),m("div",$o,[e("div",wo,[e("span",xo,[l(o,{t:"No active job at the moment."})])])]))])])])])])}const So=R(no,[["render",ko]]),Po={name:"peerJobsLogsModal",components:{LocaleText:f},props:{configurationInfo:Object},data(){return{dataLoading:!0,data:[],logFetchTime:void 0,showLogID:!1,showJobID:!0,showSuccessJob:!0,showFailedJob:!0,showLogAmount:10}},async mounted(){await this.fetchLog()},methods:{async fetchLog(){this.dataLoading=!0,await K(`/api/getPeerScheduleJobLogs/${this.configurationInfo.Name}`,{},s=>{this.data=s.data,this.logFetchTime=ie().format("YYYY-MM-DD HH:mm:ss"),this.dataLoading=!1})}},computed:{getLogs(){return this.data.filter(s=>this.showSuccessJob&&["1","true"].includes(s.Status)||this.showFailedJob&&["0","false"].includes(s.Status))},showLogs(){return this.getLogs.slice(0,this.showLogAmount)}}},Co={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},Io={class:"container-fluid d-flex h-100 w-100"},Ao={class:"m-auto mt-0 modal-dialog-centered dashboardModal",style:{width:"100%"}},Do={class:"card rounded-3 shadow w-100"},Lo={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},Oo={class:"mb-0"},Mo={class:"card-body px-4 pb-4 pt-2"},No={key:0},Ro={class:"mb-2 d-flex gap-3"},Bo={class:"d-flex gap-3 align-items-center"},To={class:"text-muted"},jo={class:"form-check"},Jo={class:"form-check-label",for:"jobLogsShowSuccessCheck"},Uo={class:"badge text-success-emphasis bg-success-subtle"},Vo={class:"form-check"},Eo={class:"form-check-label",for:"jobLogsShowFailedCheck"},Ko={class:"badge text-danger-emphasis bg-danger-subtle"},Fo={class:"d-flex gap-3 align-items-center ms-auto"},Wo={class:"text-muted"},zo={class:"form-check"},Ho={class:"form-check-label",for:"jobLogsShowJobIDCheck"},qo={class:"form-check"},Go={class:"form-check-label",for:"jobLogsShowLogIDCheck"},Yo={class:"table"},Qo={scope:"col"},Zo={key:0,scope:"col"},Xo={key:1,scope:"col"},el={scope:"col"},tl={scope:"col"},sl={style:{"font-size":"0.875rem"}},ol={scope:"row"},ll={key:0},nl={class:"text-muted"},al={key:1},il={class:"text-muted"},rl={class:"d-flex gap-2"},dl={key:1,class:"d-flex align-items-center flex-column"};function ul(s,t,n,d,c,p){const o=j("LocaleText");return i(),m("div",Co,[e("div",Io,[e("div",Ao,[e("div",Do,[e("div",Lo,[e("h4",Oo,[l(o,{t:"Jobs Logs"})]),e("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=r=>this.$emit("close"))})]),e("div",Mo,[this.dataLoading?(i(),m("div",dl,t[11]||(t[11]=[e("div",{class:"spinner-border text-body",role:"status"},[e("span",{class:"visually-hidden"},"Loading...")],-1)]))):(i(),m("div",No,[e("p",null,[l(o,{t:"Updated at"}),O(" : "+S(this.logFetchTime),1)]),e("div",Ro,[e("button",{onClick:t[1]||(t[1]=r=>this.fetchLog()),class:"btn btn-sm rounded-3 shadow-sm text-info-emphasis bg-info-subtle border-1 border-info-subtle me-1"},[t[8]||(t[8]=e("i",{class:"bi bi-arrow-clockwise me-2"},null,-1)),l(o,{t:"Refresh"})]),e("div",Bo,[e("span",To,[l(o,{t:"Filter"})]),e("div",jo,[D(e("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[2]||(t[2]=r=>this.showSuccessJob=r),id:"jobLogsShowSuccessCheck"},null,512),[[H,this.showSuccessJob]]),e("label",Jo,[e("span",Uo,[l(o,{t:"Success"})])])]),e("div",Vo,[D(e("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[3]||(t[3]=r=>this.showFailedJob=r),id:"jobLogsShowFailedCheck"},null,512),[[H,this.showFailedJob]]),e("label",Eo,[e("span",Ko,[l(o,{t:"Failed"})])])])]),e("div",Fo,[e("span",Wo,[l(o,{t:"Display"})]),e("div",zo,[D(e("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[4]||(t[4]=r=>c.showJobID=r),id:"jobLogsShowJobIDCheck"},null,512),[[H,c.showJobID]]),e("label",Ho,[l(o,{t:"Job ID"})])]),e("div",qo,[D(e("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[5]||(t[5]=r=>c.showLogID=r),id:"jobLogsShowLogIDCheck"},null,512),[[H,c.showLogID]]),e("label",Go,[l(o,{t:"Log ID"})])])])]),e("table",Yo,[e("thead",null,[e("tr",null,[e("th",Qo,[l(o,{t:"Date"})]),c.showLogID?(i(),m("th",Zo,[l(o,{t:"Log ID"})])):$("",!0),c.showJobID?(i(),m("th",Xo,[l(o,{t:"Job ID"})])):$("",!0),e("th",el,[l(o,{t:"Status"})]),e("th",tl,[l(o,{t:"Message"})])])]),e("tbody",null,[(i(!0),m(N,null,V(this.showLogs,r=>(i(),m("tr",sl,[e("th",ol,S(r.LogDate),1),c.showLogID?(i(),m("td",ll,[e("samp",nl,S(r.LogID),1)])):$("",!0),c.showJobID?(i(),m("td",al,[e("samp",il,S(r.JobID),1)])):$("",!0),e("td",null,[e("span",{class:I(["badge",[r.Status==="1"?"text-success-emphasis bg-success-subtle":"text-danger-emphasis bg-danger-subtle"]])},S(r.Status==="1"?"Success":"Failed"),3)]),e("td",null,S(r.Message),1)]))),256))])]),e("div",rl,[this.getLogs.length>this.showLogAmount?(i(),m("button",{key:0,onClick:t[6]||(t[6]=r=>this.showLogAmount+=20),class:"btn btn-sm rounded-3 shadow-sm text-primary-emphasis bg-primary-subtle border-1 border-primary-subtle"},t[9]||(t[9]=[e("i",{class:"bi bi-chevron-down me-2"},null,-1),O(" Show More ")]))):$("",!0),this.showLogAmount>20?(i(),m("button",{key:1,onClick:t[7]||(t[7]=r=>this.showLogAmount=20),class:"btn btn-sm rounded-3 shadow-sm text-primary-emphasis bg-primary-subtle border-1 border-primary-subtle"},t[10]||(t[10]=[e("i",{class:"bi bi-chevron-up me-2"},null,-1),O(" Collapse ")]))):$("",!0)])]))])])])])])}const cl=R(Po,[["render",ul]]),ml={class:"card rounded-3 flex-grow-1 bg-danger-subtle border-danger-subtle border shadow"},pl={class:"card-body"},bl={class:"d-flex align-items-center gap-3 inputGroup"},fl=["value"],vl={class:"mb-0"},hl={class:"d-flex mt-3"},gl=["disabled"],_l={__name:"updateConfigurationName",props:{configurationName:String},emits:["close"],setup(s,{emit:t}){const n=s,d=t,c=ae({data:"",valid:!1}),p=q();X(()=>{G(()=>c.data,h=>{c.valid=/^[a-zA-Z0-9_=+.-]{1,15}$/.test(h)&&h.length>0&&!p.Configurations.find(P=>P.Name===h)})});const o=U(),r=w(!1),u=pe(),v=async()=>{c.data&&(r.value=!0,clearInterval(o.Peers.RefreshInterval),await J("/api/renameWireguardConfiguration",{ConfigurationName:n.configurationName,NewConfigurationName:c.data},async h=>{h.status?(await p.getConfigurations(),o.newMessage("Server","Configuration renamed","success"),u.push(`/configuration/${c.data}/peers`)):(o.newMessage("Server",h.message,"danger"),r.value=!1)}))};return(h,P)=>(i(),m("div",ml,[e("div",pl,[e("p",null,[l(f,{t:"To update this configuration's name, WGDashboard will execute the following operations:"})]),e("ol",null,[e("li",null,[l(f,{t:"Duplicate current configuration's database table and .conf file with the new name"})]),e("li",null,[l(f,{t:"Delete current configuration's database table and .conf file"})])]),e("div",bl,[e("input",{class:"form-control form-control-sm rounded-3",value:s.configurationName,disabled:""},null,8,fl),P[3]||(P[3]=e("h3",{class:"mb-0"},[e("i",{class:"bi bi-arrow-right"})],-1)),D(e("input",{class:I(["form-control form-control-sm rounded-3",[c.data?c.valid?"is-valid":"is-invalid":""]]),id:"newConfigurationName","onUpdate:modelValue":P[0]||(P[0]=x=>c.data=x)},null,2),[[M,c.data]])]),e("div",{class:I(["invalid-feedback",{"d-block":!c.valid&&c.data}])},[l(f,{t:"Configuration name is invalid. Possible reasons:"}),e("ul",vl,[e("li",null,[l(f,{t:"Configuration name already exist"})]),e("li",null,[l(f,{t:"Configuration name can only contain 15 lower/uppercase alphabet, numbers, underscore, equal sign, plus sign, period and hyphen."})])])],2),e("div",hl,[e("button",{onClick:P[1]||(P[1]=x=>d("close")),class:"btn btn-sm bg-secondary-subtle border-secondary-subtle text-secondary-emphasis rounded-3"},[l(f,{t:"Cancel"})]),e("button",{onClick:P[2]||(P[2]=x=>v()),disabled:!c.data||r.value,class:"btn btn-sm btn-danger rounded-3 ms-auto"},[l(f,{t:"Save"})],8,gl)])])]))}},yl=R(_l,[["__scopeId","data-v-33ea9576"]]),$l={name:"Dropdown",props:{width:{type:String,default:"80px"},height:{type:String,default:"auto"},title:{type:String,default:""},disabled:{type:Boolean,default:!1},defaultDisplay:{type:Boolean,default:!1}}},wl={class:"title"};function xl(s,t,n,d,c,p){return i(),m("div",{class:I(["dropdown",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(...o)=>s.toggleDropdown&&s.toggleDropdown(...o)),onFocusout:t[1]||(t[1]=(...o)=>s.hideDropdown&&s.hideDropdown(...o)),tabindex:"0"},[e("div",wl,[e("div",null,S(n.title),1)])],34)}const kl=R($l,[["render",xl]]),Sl={components:{Dropdown:kl},name:"CodeEditor",props:{lineNums:{type:Boolean,default:!1},modelValue:{type:String},value:{type:String},theme:{type:String,default:"github-dark"},tabSpaces:{type:Number,default:2},wrap:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},header:{type:Boolean,default:!0},width:{type:String,default:"540px"},height:{type:String,default:"auto"},maxWidth:{type:String},minWidth:{type:String},maxHeight:{type:String},minHeight:{type:String},borderRadius:{type:String,default:"12px"},languages:{type:Array,default:function(){return[["javascript","JS"]]}},langListWidth:{type:String,default:"110px"},langListHeight:{type:String,default:"auto"},langListDisplay:{type:Boolean,default:!1},displayLanguage:{type:Boolean,default:!0},zIndex:{type:String,default:"0"},fontSize:{type:String,default:"17px"},padding:{type:String,default:"20px"}},directives:{highlight:{mounted(s,t){s.textContent=t.value},updated(s,t){s.scrolling?s.scrolling=!1:s.textContent=t.value}}},data(){return{scrollBarWidth:0,scrollBarHeight:0,top:0,left:0,languageClass:"hljs language-"+this.languages[0][0],languageTitle:this.languages[0][1]?this.languages[0][1]:this.languages[0][0],content:this.value,cursorPosition:0,insertTab:!1,lineNum:0,lineNumsWidth:0,scrolling:!1,textareaHeight:0,showLineNums:this.wrap?!1:this.lineNums}},computed:{tabWidth(){let s="";for(let t=0;t{this.scrollBarWidth=n[0].target.offsetWidth-n[0].target.clientWidth,this.scrollBarHeight=n[0].target.offsetHeight-n[0].target.clientHeight,this.textareaHeight=n[0].target.offsetHeight}).observe(this.$refs.textarea);const t=new ResizeObserver(n=>{this.lineNumsWidth=n[0].target.offsetWidth});this.$refs.lineNums&&t.observe(this.$refs.lineNums)},copy(){document.execCommand("copy")?(this.$refs.textarea.select(),document.execCommand("copy"),window.getSelection().removeAllRanges()):navigator.clipboard.writeText(this.$refs.textarea.value)},getLineNum(){const s=this.$refs.textarea.value;let t=0,n=s.indexOf(` `);for(;n!==-1;)t++,n=s.indexOf(` diff --git a/src/static/app/dist/assets/peerQRCode-DY-P0WRZ.js b/src/static/dist/WGDashboardAdmin/assets/peerQRCode-BuSsVfWC.js similarity index 90% rename from src/static/app/dist/assets/peerQRCode-DY-P0WRZ.js rename to src/static/dist/WGDashboardAdmin/assets/peerQRCode-BuSsVfWC.js index 5c4f1b3b..3bee5898 100644 --- a/src/static/app/dist/assets/peerQRCode-DY-P0WRZ.js +++ b/src/static/dist/WGDashboardAdmin/assets/peerQRCode-BuSsVfWC.js @@ -1 +1 @@ -import{Q as i}from"./browser-CwJzqt71.js";import{L as c}from"./localeText-IWgb3jjT.js";import{_ as l,h as p,c as n,f as d,a as e,b as _,d as m,n as u,g as h,D as f}from"./index-BiMgJckX.js";const g={name:"peerQRCode",components:{LocaleText:c},props:{selectedPeer:Object},setup(){return{dashboardStore:f()}},data(){return{loading:!0}},mounted(){h("/api/downloadPeer/"+this.$route.params.id,{id:this.selectedPeer.id},o=>{if(this.loading=!1,o.status){let t="";if(this.selectedPeer.configuration.Protocol==="awg"){let a={containers:[{awg:{isThirdPartyConfig:!0,last_config:o.data.file,port:this.selectedPeer.configuration.ListenPort,transport_proto:"udp"},container:"amnezia-awg"}],defaultContainer:"amnezia-awg",description:this.selectedPeer.name,hostName:this.dashboardStore.Configuration.Peers.remote_endpoint};t=JSON.stringify(a)}else t=o.data.file;i.toCanvas(document.querySelector("#qrcode"),t,a=>{a&&console.error(a)})}else this.dashboardStore.newMessage("Server",o.message,"danger")})}},b={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0"},v={class:"container d-flex h-100 w-100"},C={class:"m-auto modal-dialog-centered dashboardModal justify-content-center"},w={class:"card rounded-3 shadow"},P={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},x={class:"mb-0"},S={class:"card-body p-4"},y={class:"d-flex"},L={key:0,class:"spinner-border m-auto",role:"status"};function Q(o,t,a,N,s,R){const r=p("LocaleText");return d(),n("div",b,[e("div",v,[e("div",C,[e("div",w,[e("div",P,[e("h4",x,[_(r,{t:"QR Code"})]),e("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=$=>this.$emit("close"))})]),e("div",S,[e("div",y,[e("canvas",{id:"qrcode",class:u(["rounded-3 shadow animate__animated animate__fadeIn animate__faster",{"d-none":s.loading}])},null,2),s.loading?(d(),n("div",L,t[1]||(t[1]=[e("span",{class:"visually-hidden"},"Loading...",-1)]))):m("",!0)])])])])])])}const q=l(g,[["render",Q],["__scopeId","data-v-5816a147"]]);export{q as default}; +import{Q as i}from"./browser-DpR0RqZi.js";import{L as c}from"./localeText-BwlyH2uL.js";import{_ as l,h as p,c as n,f as d,a as e,b as _,d as m,n as u,g as h,D as f}from"./index-D5fbjBmH.js";const g={name:"peerQRCode",components:{LocaleText:c},props:{selectedPeer:Object},setup(){return{dashboardStore:f()}},data(){return{loading:!0}},mounted(){h("/api/downloadPeer/"+this.$route.params.id,{id:this.selectedPeer.id},o=>{if(this.loading=!1,o.status){let t="";if(this.selectedPeer.configuration.Protocol==="awg"){let a={containers:[{awg:{isThirdPartyConfig:!0,last_config:o.data.file,port:this.selectedPeer.configuration.ListenPort,transport_proto:"udp"},container:"amnezia-awg"}],defaultContainer:"amnezia-awg",description:this.selectedPeer.name,hostName:this.dashboardStore.Configuration.Peers.remote_endpoint};t=JSON.stringify(a)}else t=o.data.file;i.toCanvas(document.querySelector("#qrcode"),t,a=>{a&&console.error(a)})}else this.dashboardStore.newMessage("Server",o.message,"danger")})}},b={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0"},v={class:"container d-flex h-100 w-100"},C={class:"m-auto modal-dialog-centered dashboardModal justify-content-center"},w={class:"card rounded-3 shadow"},P={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},x={class:"mb-0"},S={class:"card-body p-4"},y={class:"d-flex"},L={key:0,class:"spinner-border m-auto",role:"status"};function Q(o,t,a,N,s,R){const r=p("LocaleText");return d(),n("div",b,[e("div",v,[e("div",C,[e("div",w,[e("div",P,[e("h4",x,[_(r,{t:"QR Code"})]),e("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=$=>this.$emit("close"))})]),e("div",S,[e("div",y,[e("canvas",{id:"qrcode",class:u(["rounded-3 shadow animate__animated animate__fadeIn animate__faster",{"d-none":s.loading}])},null,2),s.loading?(d(),n("div",L,t[1]||(t[1]=[e("span",{class:"visually-hidden"},"Loading...",-1)]))):m("",!0)])])])])])])}const q=l(g,[["render",Q],["__scopeId","data-v-5816a147"]]);export{q as default}; diff --git a/src/static/app/dist/assets/peerQRCode-DuWWfBch.css b/src/static/dist/WGDashboardAdmin/assets/peerQRCode-DuWWfBch.css similarity index 100% rename from src/static/app/dist/assets/peerQRCode-DuWWfBch.css rename to src/static/dist/WGDashboardAdmin/assets/peerQRCode-DuWWfBch.css diff --git a/src/static/app/dist/assets/peerSettings-CNJkZEkI.js b/src/static/dist/WGDashboardAdmin/assets/peerSettings-BWazN9hG.js similarity index 98% rename from src/static/app/dist/assets/peerSettings-CNJkZEkI.js rename to src/static/dist/WGDashboardAdmin/assets/peerSettings-BWazN9hG.js index 0a2120be..bfb46b5b 100644 --- a/src/static/app/dist/assets/peerSettings-CNJkZEkI.js +++ b/src/static/dist/WGDashboardAdmin/assets/peerSettings-BWazN9hG.js @@ -1 +1 @@ -import{_ as u,h as c,c as n,f as r,a as e,d as m,b as a,t as h,m as i,y as d,n as b,ah as _,z as p,D as f}from"./index-BiMgJckX.js";import{L as g}from"./localeText-IWgb3jjT.js";const v={name:"peerSettings",components:{LocaleText:g},props:{selectedPeer:Object},data(){return{data:void 0,dataChanged:!1,showKey:!1,saving:!1}},setup(){return{dashboardConfigurationStore:f()}},methods:{reset(){this.selectedPeer&&(this.data=JSON.parse(JSON.stringify(this.selectedPeer)),this.dataChanged=!1)},savePeer(){this.saving=!0,p(`/api/updatePeerSettings/${this.$route.params.id}`,this.data,l=>{this.saving=!1,l.status?this.dashboardConfigurationStore.newMessage("Server","Peer saved","success"):this.dashboardConfigurationStore.newMessage("Server",l.message,"danger"),this.$emit("refresh")})},resetPeerData(l){this.saving=!0,p(`/api/resetPeerData/${this.$route.params.id}`,{id:this.data.id,type:l},t=>{this.saving=!1,t.status?this.dashboardConfigurationStore.newMessage("Server","Peer data usage reset successfully","success"):this.dashboardConfigurationStore.newMessage("Server",t.message,"danger"),this.$emit("refresh")})}},beforeMount(){this.reset()},mounted(){this.$el.querySelectorAll("input").forEach(l=>{l.addEventListener("change",()=>{this.dataChanged=!0})})}},x={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},y={class:"container d-flex h-100 w-100"},w={class:"m-auto modal-dialog-centered dashboardModal"},S={class:"card rounded-3 shadow flex-grow-1"},C={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},k={class:"mb-0"},P={key:0,class:"card-body px-4"},$={class:"d-flex flex-column gap-2 mb-4"},D={class:"d-flex align-items-center"},N={class:"text-muted"},V={class:"ms-auto"},K={for:"peer_name_textbox",class:"form-label"},U={class:"text-muted"},M=["disabled"],A={class:"d-flex position-relative"},R={for:"peer_private_key_textbox",class:"form-label"},O={class:"text-muted"},T=["type","disabled"],L={for:"peer_allowed_ip_textbox",class:"form-label"},q={class:"text-muted"},E=["disabled"],B={for:"peer_endpoint_allowed_ips",class:"form-label"},I={class:"text-muted"},z=["disabled"],J={for:"peer_DNS_textbox",class:"form-label"},j={class:"text-muted"},Q=["disabled"],F={class:"accordion my-3",id:"peerSettingsAccordion"},G={class:"accordion-item"},H={class:"accordion-header"},W={class:"accordion-button rounded-3 collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#peerSettingsAccordionOptional"},X={id:"peerSettingsAccordionOptional",class:"accordion-collapse collapse","data-bs-parent":"#peerSettingsAccordion"},Y={class:"accordion-body d-flex flex-column gap-2 mb-2"},Z={for:"peer_preshared_key_textbox",class:"form-label"},ee={class:"text-muted"},te=["disabled"],se={for:"peer_mtu",class:"form-label"},oe={class:"text-muted"},ae=["disabled"],le={for:"peer_keep_alive",class:"form-label"},ie={class:"text-muted"},de=["disabled"],ne={class:"d-flex align-items-center gap-2"},re=["disabled"],pe=["disabled"],ue={class:"d-flex gap-2 align-items-center"},ce={class:"d-flex gap-2 ms-auto"};function me(l,t,he,be,_e,fe){const o=c("LocaleText");return r(),n("div",x,[e("div",y,[e("div",w,[e("div",S,[e("div",C,[e("h4",k,[a(o,{t:"Peer Settings"})]),e("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=s=>this.$emit("close"))})]),this.data?(r(),n("div",P,[e("div",$,[e("div",D,[e("small",N,[a(o,{t:"Public Key"})]),e("small",V,[e("samp",null,h(this.data.id),1)])]),e("div",null,[e("label",K,[e("small",U,[a(o,{t:"Name"})])]),i(e("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[1]||(t[1]=s=>this.data.name=s),id:"peer_name_textbox",placeholder:""},null,8,M),[[d,this.data.name]])]),e("div",null,[e("div",A,[e("label",R,[e("small",O,[a(o,{t:"Private Key"}),e("code",null,[a(o,{t:"(Required for QR Code and Download)"})])])]),e("a",{role:"button",class:"ms-auto text-decoration-none toggleShowKey",onClick:t[2]||(t[2]=s=>this.showKey=!this.showKey)},[e("i",{class:b(["bi",[this.showKey?"bi-eye-slash-fill":"bi-eye-fill"]])},null,2)])]),i(e("input",{type:[this.showKey?"text":"password"],class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[3]||(t[3]=s=>this.data.private_key=s),id:"peer_private_key_textbox",style:{"padding-right":"40px"}},null,8,T),[[_,this.data.private_key]])]),e("div",null,[e("label",L,[e("small",q,[a(o,{t:"Allowed IPs"}),e("code",null,[a(o,{t:"(Required)"})])])]),i(e("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[4]||(t[4]=s=>this.data.allowed_ip=s),id:"peer_allowed_ip_textbox"},null,8,E),[[d,this.data.allowed_ip]])]),e("div",null,[e("label",B,[e("small",I,[a(o,{t:"Endpoint Allowed IPs"}),e("code",null,[a(o,{t:"(Required)"})])])]),i(e("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[5]||(t[5]=s=>this.data.endpoint_allowed_ip=s),id:"peer_endpoint_allowed_ips"},null,8,z),[[d,this.data.endpoint_allowed_ip]])]),e("div",null,[e("label",J,[e("small",j,[a(o,{t:"DNS"})])]),i(e("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[6]||(t[6]=s=>this.data.DNS=s),id:"peer_DNS_textbox"},null,8,Q),[[d,this.data.DNS]])]),e("div",F,[e("div",G,[e("h2",H,[e("button",W,[a(o,{t:"Optional Settings"})])]),e("div",X,[e("div",Y,[e("div",null,[e("label",Z,[e("small",ee,[a(o,{t:"Pre-Shared Key"})])]),i(e("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[7]||(t[7]=s=>this.data.preshared_key=s),id:"peer_preshared_key_textbox"},null,8,te),[[d,this.data.preshared_key]])]),e("div",null,[e("label",se,[e("small",oe,[a(o,{t:"MTU"})])]),i(e("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[8]||(t[8]=s=>this.data.mtu=s),id:"peer_mtu"},null,8,ae),[[d,this.data.mtu]])]),e("div",null,[e("label",le,[e("small",ie,[a(o,{t:"Persistent Keepalive"})])]),i(e("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[9]||(t[9]=s=>this.data.keepalive=s),id:"peer_keep_alive"},null,8,de),[[d,this.data.keepalive]])])])])])]),e("div",ne,[e("button",{class:"btn bg-secondary-subtle border-secondary-subtle text-secondary-emphasis rounded-3 shadow ms-auto px-3 py-2",onClick:t[10]||(t[10]=s=>this.reset()),disabled:!this.dataChanged||this.saving},[t[15]||(t[15]=e("i",{class:"bi bi-arrow-clockwise me-2"},null,-1)),a(o,{t:"Reset"})],8,re),e("button",{class:"btn bg-primary-subtle border-primary-subtle text-primary-emphasis rounded-3 px-3 py-2 shadow",disabled:!this.dataChanged||this.saving,onClick:t[11]||(t[11]=s=>this.savePeer())},[t[16]||(t[16]=e("i",{class:"bi bi-save-fill me-2"},null,-1)),a(o,{t:"Save"})],8,pe)]),t[20]||(t[20]=e("hr",null,null,-1)),e("div",ue,[e("strong",null,[a(o,{t:"Reset Data Usage"})]),e("div",ce,[e("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:t[12]||(t[12]=s=>this.resetPeerData("total"))},[t[17]||(t[17]=e("i",{class:"bi bi-arrow-down-up me-2"},null,-1)),a(o,{t:"Total"})]),e("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:t[13]||(t[13]=s=>this.resetPeerData("receive"))},[t[18]||(t[18]=e("i",{class:"bi bi-arrow-down me-2"},null,-1)),a(o,{t:"Received"})]),e("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:t[14]||(t[14]=s=>this.resetPeerData("sent"))},[t[19]||(t[19]=e("i",{class:"bi bi-arrow-up me-2"},null,-1)),a(o,{t:"Sent"})])])])])])):m("",!0)])])])])}const xe=u(v,[["render",me],["__scopeId","data-v-12b3ae8e"]]);export{xe as default}; +import{_ as u,h as c,c as n,f as r,a as e,d as m,b as a,t as h,m as i,y as d,n as b,ah as _,z as p,D as f}from"./index-D5fbjBmH.js";import{L as g}from"./localeText-BwlyH2uL.js";const v={name:"peerSettings",components:{LocaleText:g},props:{selectedPeer:Object},data(){return{data:void 0,dataChanged:!1,showKey:!1,saving:!1}},setup(){return{dashboardConfigurationStore:f()}},methods:{reset(){this.selectedPeer&&(this.data=JSON.parse(JSON.stringify(this.selectedPeer)),this.dataChanged=!1)},savePeer(){this.saving=!0,p(`/api/updatePeerSettings/${this.$route.params.id}`,this.data,l=>{this.saving=!1,l.status?this.dashboardConfigurationStore.newMessage("Server","Peer saved","success"):this.dashboardConfigurationStore.newMessage("Server",l.message,"danger"),this.$emit("refresh")})},resetPeerData(l){this.saving=!0,p(`/api/resetPeerData/${this.$route.params.id}`,{id:this.data.id,type:l},t=>{this.saving=!1,t.status?this.dashboardConfigurationStore.newMessage("Server","Peer data usage reset successfully","success"):this.dashboardConfigurationStore.newMessage("Server",t.message,"danger"),this.$emit("refresh")})}},beforeMount(){this.reset()},mounted(){this.$el.querySelectorAll("input").forEach(l=>{l.addEventListener("change",()=>{this.dataChanged=!0})})}},x={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},y={class:"container d-flex h-100 w-100"},w={class:"m-auto modal-dialog-centered dashboardModal"},S={class:"card rounded-3 shadow flex-grow-1"},C={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},k={class:"mb-0"},P={key:0,class:"card-body px-4"},$={class:"d-flex flex-column gap-2 mb-4"},D={class:"d-flex align-items-center"},N={class:"text-muted"},V={class:"ms-auto"},K={for:"peer_name_textbox",class:"form-label"},U={class:"text-muted"},M=["disabled"],A={class:"d-flex position-relative"},R={for:"peer_private_key_textbox",class:"form-label"},O={class:"text-muted"},T=["type","disabled"],L={for:"peer_allowed_ip_textbox",class:"form-label"},q={class:"text-muted"},E=["disabled"],B={for:"peer_endpoint_allowed_ips",class:"form-label"},I={class:"text-muted"},z=["disabled"],J={for:"peer_DNS_textbox",class:"form-label"},j={class:"text-muted"},Q=["disabled"],F={class:"accordion my-3",id:"peerSettingsAccordion"},G={class:"accordion-item"},H={class:"accordion-header"},W={class:"accordion-button rounded-3 collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#peerSettingsAccordionOptional"},X={id:"peerSettingsAccordionOptional",class:"accordion-collapse collapse","data-bs-parent":"#peerSettingsAccordion"},Y={class:"accordion-body d-flex flex-column gap-2 mb-2"},Z={for:"peer_preshared_key_textbox",class:"form-label"},ee={class:"text-muted"},te=["disabled"],se={for:"peer_mtu",class:"form-label"},oe={class:"text-muted"},ae=["disabled"],le={for:"peer_keep_alive",class:"form-label"},ie={class:"text-muted"},de=["disabled"],ne={class:"d-flex align-items-center gap-2"},re=["disabled"],pe=["disabled"],ue={class:"d-flex gap-2 align-items-center"},ce={class:"d-flex gap-2 ms-auto"};function me(l,t,he,be,_e,fe){const o=c("LocaleText");return r(),n("div",x,[e("div",y,[e("div",w,[e("div",S,[e("div",C,[e("h4",k,[a(o,{t:"Peer Settings"})]),e("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=s=>this.$emit("close"))})]),this.data?(r(),n("div",P,[e("div",$,[e("div",D,[e("small",N,[a(o,{t:"Public Key"})]),e("small",V,[e("samp",null,h(this.data.id),1)])]),e("div",null,[e("label",K,[e("small",U,[a(o,{t:"Name"})])]),i(e("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[1]||(t[1]=s=>this.data.name=s),id:"peer_name_textbox",placeholder:""},null,8,M),[[d,this.data.name]])]),e("div",null,[e("div",A,[e("label",R,[e("small",O,[a(o,{t:"Private Key"}),e("code",null,[a(o,{t:"(Required for QR Code and Download)"})])])]),e("a",{role:"button",class:"ms-auto text-decoration-none toggleShowKey",onClick:t[2]||(t[2]=s=>this.showKey=!this.showKey)},[e("i",{class:b(["bi",[this.showKey?"bi-eye-slash-fill":"bi-eye-fill"]])},null,2)])]),i(e("input",{type:[this.showKey?"text":"password"],class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[3]||(t[3]=s=>this.data.private_key=s),id:"peer_private_key_textbox",style:{"padding-right":"40px"}},null,8,T),[[_,this.data.private_key]])]),e("div",null,[e("label",L,[e("small",q,[a(o,{t:"Allowed IPs"}),e("code",null,[a(o,{t:"(Required)"})])])]),i(e("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[4]||(t[4]=s=>this.data.allowed_ip=s),id:"peer_allowed_ip_textbox"},null,8,E),[[d,this.data.allowed_ip]])]),e("div",null,[e("label",B,[e("small",I,[a(o,{t:"Endpoint Allowed IPs"}),e("code",null,[a(o,{t:"(Required)"})])])]),i(e("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[5]||(t[5]=s=>this.data.endpoint_allowed_ip=s),id:"peer_endpoint_allowed_ips"},null,8,z),[[d,this.data.endpoint_allowed_ip]])]),e("div",null,[e("label",J,[e("small",j,[a(o,{t:"DNS"})])]),i(e("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[6]||(t[6]=s=>this.data.DNS=s),id:"peer_DNS_textbox"},null,8,Q),[[d,this.data.DNS]])]),e("div",F,[e("div",G,[e("h2",H,[e("button",W,[a(o,{t:"Optional Settings"})])]),e("div",X,[e("div",Y,[e("div",null,[e("label",Z,[e("small",ee,[a(o,{t:"Pre-Shared Key"})])]),i(e("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[7]||(t[7]=s=>this.data.preshared_key=s),id:"peer_preshared_key_textbox"},null,8,te),[[d,this.data.preshared_key]])]),e("div",null,[e("label",se,[e("small",oe,[a(o,{t:"MTU"})])]),i(e("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[8]||(t[8]=s=>this.data.mtu=s),id:"peer_mtu"},null,8,ae),[[d,this.data.mtu]])]),e("div",null,[e("label",le,[e("small",ie,[a(o,{t:"Persistent Keepalive"})])]),i(e("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[9]||(t[9]=s=>this.data.keepalive=s),id:"peer_keep_alive"},null,8,de),[[d,this.data.keepalive]])])])])])]),e("div",ne,[e("button",{class:"btn bg-secondary-subtle border-secondary-subtle text-secondary-emphasis rounded-3 shadow ms-auto px-3 py-2",onClick:t[10]||(t[10]=s=>this.reset()),disabled:!this.dataChanged||this.saving},[t[15]||(t[15]=e("i",{class:"bi bi-arrow-clockwise me-2"},null,-1)),a(o,{t:"Reset"})],8,re),e("button",{class:"btn bg-primary-subtle border-primary-subtle text-primary-emphasis rounded-3 px-3 py-2 shadow",disabled:!this.dataChanged||this.saving,onClick:t[11]||(t[11]=s=>this.savePeer())},[t[16]||(t[16]=e("i",{class:"bi bi-save-fill me-2"},null,-1)),a(o,{t:"Save"})],8,pe)]),t[20]||(t[20]=e("hr",null,null,-1)),e("div",ue,[e("strong",null,[a(o,{t:"Reset Data Usage"})]),e("div",ce,[e("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:t[12]||(t[12]=s=>this.resetPeerData("total"))},[t[17]||(t[17]=e("i",{class:"bi bi-arrow-down-up me-2"},null,-1)),a(o,{t:"Total"})]),e("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:t[13]||(t[13]=s=>this.resetPeerData("receive"))},[t[18]||(t[18]=e("i",{class:"bi bi-arrow-down me-2"},null,-1)),a(o,{t:"Received"})]),e("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:t[14]||(t[14]=s=>this.resetPeerData("sent"))},[t[19]||(t[19]=e("i",{class:"bi bi-arrow-up me-2"},null,-1)),a(o,{t:"Sent"})])])])])])):m("",!0)])])])])}const xe=u(v,[["render",me],["__scopeId","data-v-12b3ae8e"]]);export{xe as default}; diff --git a/src/static/app/dist/assets/peerSettings-CSjO_Okh.css b/src/static/dist/WGDashboardAdmin/assets/peerSettings-CSjO_Okh.css similarity index 100% rename from src/static/app/dist/assets/peerSettings-CSjO_Okh.css rename to src/static/dist/WGDashboardAdmin/assets/peerSettings-CSjO_Okh.css diff --git a/src/static/app/dist/assets/peerShareLinkModal-DgDHiTOw.css b/src/static/dist/WGDashboardAdmin/assets/peerShareLinkModal-DgDHiTOw.css similarity index 100% rename from src/static/app/dist/assets/peerShareLinkModal-DgDHiTOw.css rename to src/static/dist/WGDashboardAdmin/assets/peerShareLinkModal-DgDHiTOw.css diff --git a/src/static/app/dist/assets/peerShareLinkModal-C9EC33RC.js b/src/static/dist/WGDashboardAdmin/assets/peerShareLinkModal-vYd2is_h.js similarity index 98% rename from src/static/app/dist/assets/peerShareLinkModal-C9EC33RC.js rename to src/static/dist/WGDashboardAdmin/assets/peerShareLinkModal-vYd2is_h.js index 21e10bb7..2a2f690a 100644 --- a/src/static/app/dist/assets/peerShareLinkModal-C9EC33RC.js +++ b/src/static/dist/WGDashboardAdmin/assets/peerShareLinkModal-vYd2is_h.js @@ -1 +1 @@ -import{_ as L,r as y,L as V,H as B,c,f as o,a as e,d as S,t as N,n as w,z as P,g as I,D as W,E as U,h as k,e as R,b as l,m as g,y as C,u as $,G as E,v as T,w as M,s as j,j as _,S as A}from"./index-BiMgJckX.js";import{d as D}from"./dayjs.min-DfzgISij.js";import{Q as O}from"./vue-datepicker-COurIrvQ.js";import{L as b}from"./localeText-IWgb3jjT.js";const J={class:"card rounded-0 border-start-0 border-bottom-0 bg-body-secondary",style:{height:"400px",overflow:"scroll"}},q={class:"card-body"},z={key:0,class:"alert alert-danger rounded-3"},G={class:"font-monospace"},Q=["innerText"],F={__name:"peerShareWithEmailBodyPreview",props:["body","selectedPeer"],async setup(s){let t,f;const h=s,m=y(""),p=y(!1),r=y(""),n=async()=>{h.body&&(p.value=!1,m.value="",await P("/api/email/previewBody",{Body:h.body,ConfigurationName:h.selectedPeer.configuration.Name,Peer:h.selectedPeer.id},i=>{i.status?m.value=i.data:r.value=i.message,p.value=!i.status}))};[t,f]=V(()=>n()),await t,f();let d;return B(()=>h.body,async()=>{d===void 0?d=setTimeout(async()=>{await n()},500):(clearTimeout(d),d=setTimeout(async()=>{await n()},500))}),(i,x)=>(o(),c("div",J,[e("div",q,[p.value&&s.body?(o(),c("div",z,[x[0]||(x[0]=e("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1)),e("span",G,N(r.value),1)])):S("",!0),s.body?(o(),c("div",{key:1,class:w({"opacity-50":p.value}),innerText:m.value},null,10,Q)):S("",!0)])]))}},K=L(F,[["__scopeId","data-v-8cfb4d4d"]]),X={key:0},Z={class:"d-flex mb-3 align-items-center"},ee={class:"mb-0 ms-auto"},te={class:"position-relative"},se=["disabled","placeholder"],ae={class:"position-relative"},ie=["placeholder","disabled"],oe={class:"row g-0"},le=["disabled","placeholder"],re={key:0,class:"col-6"},ne={class:"card border-top-0 rounded-top-0 rounded-bottom-3 bg-body-tertiary",style:{border:"var(--bs-border-width) solid var(--bs-border-color)"}},de={class:"card-body d-flex flex-column gap-2"},ce={class:"form-check form-switch ms-auto"},ue={class:"form-check-label",for:"livePreview"},me={class:"form-check form-switch"},he={class:"form-check-label",for:"includeAttachment"},pe=["disabled"],be={key:0},fe={key:1},ye={key:1},ve={__name:"peerShareWithEmail",props:["dataCopy","selectedPeer"],emits:["fullscreen","hide"],async setup(s,{emit:t}){let f,h;const m=s,p=y(!1);[f,h]=V(()=>I("/api/email/ready",{},v=>{p.value=v.status})),await f,h();const r=W(),n=U({Receiver:"",Body:r.Configuration.Email.email_template,Subject:"",IncludeAttachment:!1,ConfigurationName:m.selectedPeer.configuration.Name,Peer:m.selectedPeer.id}),d=y(!1),i=y(!1),x=async()=>{i.value=!0,await P("/api/email/send",n,v=>{v.status?r.newMessage("Server","Email sent successfully!","success"):r.newMessage("Server",`Email sent failed! Reason: ${v.message}`,"danger"),i.value=!1})},H=t;return B(d,()=>{H("fullscreen",d.value)}),(v,a)=>{const Y=k("RouterLink");return p.value?(o(),c("div",X,[e("div",Z,[e("a",{role:"button",class:"d-flex text-decoration-none text-body text-muted",onClick:a[0]||(a[0]=u=>H("hide"))},a[7]||(a[7]=[e("i",{class:"bi bi-chevron-left me-2"},null,-1),R(" Back ")])),e("h6",ee,[l(b,{t:"Share with Email"})])]),e("form",{class:"d-flex gap-3 flex-column",onSubmit:a[6]||(a[6]=u=>{u.preventDefault(),x()})},[e("div",null,[e("div",te,[a[8]||(a[8]=e("i",{class:"bi bi-person-circle",style:{position:"absolute",top:"0.4rem",left:"0.75rem"}},null,-1)),g(e("input",{type:"email",class:"form-control rounded-top-3 rounded-bottom-0",style:{"padding-left":"calc( 0.75rem + 24px )"},"onUpdate:modelValue":a[1]||(a[1]=u=>n.Receiver=u),disabled:i.value,placeholder:$(E)("Who are you sending to?"),required:"",id:"email_receiver","aria-describedby":"emailHelp"},null,8,se),[[C,n.Receiver]])]),e("div",ae,[a[9]||(a[9]=e("i",{class:"bi bi-hash",style:{position:"absolute",top:"0.4rem",left:"0.75rem"}},null,-1)),g(e("input",{type:"text",class:"form-control rounded-0 border-top-0 border-bottom-0",style:{"padding-left":"calc( 0.75rem + 24px )"},placeholder:$(E)("What's the subject?"),disabled:i.value,"onUpdate:modelValue":a[2]||(a[2]=u=>n.Subject=u),id:"email_subject","aria-describedby":"emailHelp"},null,8,ie),[[C,n.Subject]])]),e("div",oe,[e("div",{class:w([d.value?"col-6":"col-12"])},[g(e("textarea",{class:"form-control rounded-top-0 rounded-bottom-0 font-monospace border-bottom-0","onUpdate:modelValue":a[3]||(a[3]=u=>n.Body=u),disabled:i.value,placeholder:$(E)("What's the body?"),style:{height:"400px","max-height":"400px"}},null,8,le),[[C,n.Body]])],2),d.value?(o(),c("div",re,[l(K,{body:n.Body,selectedPeer:s.selectedPeer},null,8,["body","selectedPeer"])])):S("",!0)]),e("div",ne,[e("div",de,[e("div",ce,[g(e("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":a[4]||(a[4]=u=>d.value=u),role:"switch",id:"livePreview"},null,512),[[T,d.value]]),e("label",ue,[l(b,{t:"Live Preview"})])])])])]),e("div",me,[g(e("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":a[5]||(a[5]=u=>n.IncludeAttachment=u),role:"switch",id:"includeAttachment"},null,512),[[T,n.IncludeAttachment]]),e("label",he,[l(b,{t:"Include configuration file as an attachment"})])]),e("button",{disabled:i.value,class:"btn bg-primary-subtle text-primary-emphasis border-primary-subtle rounded-3"},[i.value?(o(),c("span",fe,[a[11]||(a[11]=e("span",{class:"spinner-border spinner-border-sm me-2"},null,-1)),l(b,{t:"Sending..."})])):(o(),c("span",be,[a[10]||(a[10]=e("i",{class:"bi bi-send me-2"},null,-1)),l(b,{t:"Send"})]))],8,pe)],32)])):(o(),c("div",ye,[e("small",null,[l(b,{t:"SMTP is not configured, please navigate to "}),l(Y,{to:"/settings"},{default:M(()=>[l(b,{t:"Settings"})]),_:1}),l(b,{t:" to finish setup"})])]))}}},ge=L(ve,[["__scopeId","data-v-913bd64b"]]),_e={name:"peerShareLinkModal",props:{selectedPeer:Object},components:{PeerShareWithEmail:ge,LocaleText:b,VueDatePicker:O},data(){return{dataCopy:void 0,loading:!1,fullscreen:!1,shareWithEmail:!1}},setup(){return{store:W()}},mounted(){this.dataCopy=JSON.parse(JSON.stringify(this.selectedPeer.ShareLink)).at(0)},watch:{"selectedPeer.ShareLink":{deep:!0,handler(s,t){t.length!==s.length&&(this.dataCopy=JSON.parse(JSON.stringify(this.selectedPeer.ShareLink)).at(0))}}},methods:{startSharing(){this.loading=!0,P("/api/sharePeer/create",{Configuration:this.selectedPeer.configuration.Name,Peer:this.selectedPeer.id,ExpireDate:D().add(7,"d").format("YYYY-MM-DD HH:mm:ss")},s=>{s.status?(this.selectedPeer.ShareLink=s.data,this.dataCopy=s.data.at(0)):this.store.newMessage("Server","Share link failed to create. Reason: "+s.message,"danger"),this.loading=!1})},updateLinkExpireDate(){P("/api/sharePeer/update",this.dataCopy,s=>{s.status?(this.dataCopy=s.data.at(0),this.selectedPeer.ShareLink=s.data,this.store.newMessage("Server","Link expire date updated","success")):this.store.newMessage("Server","Link expire date failed to update. Reason: "+s.message,"danger"),this.loading=!1})},stopSharing(){this.loading=!0,this.dataCopy.ExpireDate=D().format("YYYY-MM-DD HH:mm:ss"),this.updateLinkExpireDate()},parseTime(s){s?this.dataCopy.ExpireDate=D(s).format("YYYY-MM-DD HH:mm:ss"):this.dataCopy.ExpireDate=void 0,this.updateLinkExpireDate()}},computed:{getUrl(){const s=this.store.getActiveCrossServer();return s?`${s.host}/${this.$router.resolve({path:"/share",query:{ShareID:this.dataCopy.ShareID}}).href}`:window.location.origin+window.location.pathname+this.$router.resolve({path:"/share",query:{ShareID:this.dataCopy.ShareID}}).href}}},xe={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},ke={class:"container d-flex h-100 w-100"},Se={class:"card rounded-3 shadow flex-grow-1"},we={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4"},Pe={class:"mb-0"},Ce={key:0,class:"card-body px-4 pb-4"},$e={key:0},Ee={class:"mb-3 text-muted"},De=["disabled"],Me={key:1},Le={key:0},He={class:"d-flex gap-2 mb-4"},Te=["href"],Ve={class:"d-flex flex-column gap-2 mb-3"},Be={class:"d-flex gap-2 flex-column flex-sm-row"},Ne=["disabled"],We={class:"text-muted"};function Ye(s,t,f,h,m,p){const r=k("LocaleText"),n=k("VueDatePicker"),d=k("PeerShareWithEmail");return o(),c("div",xe,[e("div",ke,[e("div",{class:"m-auto modal-dialog-centered dashboardModal",style:j([this.fullscreen?"width: 100%":"width: 700px"])},[e("div",Se,[e("div",we,[e("h4",Pe,[l(r,{t:"Share Peer"})]),e("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=i=>this.$emit("close"))})]),this.selectedPeer.ShareLink?(o(),c("div",Ce,[this.dataCopy?(o(),c("div",Me,[m.shareWithEmail?(o(),_(A,{key:1},{fallback:M(()=>[e("h6",We,[t[11]||(t[11]=e("span",{class:"spinner-border me-2 spinner-border-sm",role:"status"},null,-1)),l(r,{t:"Checking SMTP Configuration..."})])]),default:M(()=>[l(d,{onHide:t[4]||(t[4]=i=>m.shareWithEmail=!1),onFullscreen:t[5]||(t[5]=i=>{this.fullscreen=i}),selectedPeer:f.selectedPeer,dataCopy:m.dataCopy},null,8,["selectedPeer","dataCopy"])]),_:1})):(o(),c("div",Le,[e("div",He,[t[7]||(t[7]=e("i",{class:"bi bi-link-45deg"},null,-1)),e("a",{href:this.getUrl,class:"text-decoration-none",target:"_blank"},N(p.getUrl),9,Te)]),e("div",Ve,[e("small",null,[t[8]||(t[8]=e("i",{class:"bi bi-calendar me-2"},null,-1)),l(r,{t:"Expire At"})]),l(n,{is24:!0,"min-date":new Date,"model-value":this.dataCopy.ExpireDate,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","dark"])]),e("div",Be,[e("button",{style:{flex:"1 1 0"},onClick:t[2]||(t[2]=i=>this.stopSharing()),disabled:this.loading,class:"w-100 btn bg-danger-subtle text-danger-emphasis border-1 border-danger-subtle rounded-3 shadow-sm"},[e("span",{class:w({"animate__animated animate__flash animate__infinite animate__slower":this.loading})},t[9]||(t[9]=[e("i",{class:"bi bi-send-slash-fill me-2"},null,-1)]),2),this.loading?(o(),_(r,{key:0,t:"Stop Sharing..."})):(o(),_(r,{key:1,t:"Stop Sharing"}))],8,Ne),e("button",{style:{flex:"1 1 0"},onClick:t[3]||(t[3]=i=>m.shareWithEmail=!0),class:"btn bg-primary-subtle text-primary-emphasis border-primary-subtle rounded-3"},[t[10]||(t[10]=e("i",{class:"bi bi-envelope me-2"},null,-1)),l(r,{t:"Share with Email"})])])]))])):(o(),c("div",$e,[e("h6",Ee,[l(r,{t:"Currently the peer is not sharing"})]),e("button",{onClick:t[1]||(t[1]=i=>this.startSharing()),disabled:this.loading,class:"w-100 btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm"},[e("span",{class:w({"animate__animated animate__flash animate__infinite animate__slower":this.loading})},t[6]||(t[6]=[e("i",{class:"bi bi-send-fill me-2"},null,-1)]),2),this.loading?(o(),_(r,{key:0,t:"Sharing..."})):(o(),_(r,{key:1,t:"Start Sharing"}))],8,De)]))])):S("",!0)])],4)])])}const Ae=L(_e,[["render",Ye]]);export{Ae as default}; +import{_ as L,r as y,L as V,H as B,c,f as o,a as e,d as S,t as N,n as w,z as P,g as I,D as W,E as U,h as k,e as R,b as l,m as g,y as C,u as $,G as E,v as T,w as M,s as j,j as _,S as A}from"./index-D5fbjBmH.js";import{d as D}from"./dayjs.min-Rf3-f83x.js";import{Q as O}from"./vue-datepicker-TsAnng-H.js";import{L as b}from"./localeText-BwlyH2uL.js";const J={class:"card rounded-0 border-start-0 border-bottom-0 bg-body-secondary",style:{height:"400px",overflow:"scroll"}},q={class:"card-body"},z={key:0,class:"alert alert-danger rounded-3"},G={class:"font-monospace"},Q=["innerText"],F={__name:"peerShareWithEmailBodyPreview",props:["body","selectedPeer"],async setup(s){let t,f;const h=s,m=y(""),p=y(!1),r=y(""),n=async()=>{h.body&&(p.value=!1,m.value="",await P("/api/email/previewBody",{Body:h.body,ConfigurationName:h.selectedPeer.configuration.Name,Peer:h.selectedPeer.id},i=>{i.status?m.value=i.data:r.value=i.message,p.value=!i.status}))};[t,f]=V(()=>n()),await t,f();let d;return B(()=>h.body,async()=>{d===void 0?d=setTimeout(async()=>{await n()},500):(clearTimeout(d),d=setTimeout(async()=>{await n()},500))}),(i,x)=>(o(),c("div",J,[e("div",q,[p.value&&s.body?(o(),c("div",z,[x[0]||(x[0]=e("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1)),e("span",G,N(r.value),1)])):S("",!0),s.body?(o(),c("div",{key:1,class:w({"opacity-50":p.value}),innerText:m.value},null,10,Q)):S("",!0)])]))}},K=L(F,[["__scopeId","data-v-8cfb4d4d"]]),X={key:0},Z={class:"d-flex mb-3 align-items-center"},ee={class:"mb-0 ms-auto"},te={class:"position-relative"},se=["disabled","placeholder"],ae={class:"position-relative"},ie=["placeholder","disabled"],oe={class:"row g-0"},le=["disabled","placeholder"],re={key:0,class:"col-6"},ne={class:"card border-top-0 rounded-top-0 rounded-bottom-3 bg-body-tertiary",style:{border:"var(--bs-border-width) solid var(--bs-border-color)"}},de={class:"card-body d-flex flex-column gap-2"},ce={class:"form-check form-switch ms-auto"},ue={class:"form-check-label",for:"livePreview"},me={class:"form-check form-switch"},he={class:"form-check-label",for:"includeAttachment"},pe=["disabled"],be={key:0},fe={key:1},ye={key:1},ve={__name:"peerShareWithEmail",props:["dataCopy","selectedPeer"],emits:["fullscreen","hide"],async setup(s,{emit:t}){let f,h;const m=s,p=y(!1);[f,h]=V(()=>I("/api/email/ready",{},v=>{p.value=v.status})),await f,h();const r=W(),n=U({Receiver:"",Body:r.Configuration.Email.email_template,Subject:"",IncludeAttachment:!1,ConfigurationName:m.selectedPeer.configuration.Name,Peer:m.selectedPeer.id}),d=y(!1),i=y(!1),x=async()=>{i.value=!0,await P("/api/email/send",n,v=>{v.status?r.newMessage("Server","Email sent successfully!","success"):r.newMessage("Server",`Email sent failed! Reason: ${v.message}`,"danger"),i.value=!1})},H=t;return B(d,()=>{H("fullscreen",d.value)}),(v,a)=>{const Y=k("RouterLink");return p.value?(o(),c("div",X,[e("div",Z,[e("a",{role:"button",class:"d-flex text-decoration-none text-body text-muted",onClick:a[0]||(a[0]=u=>H("hide"))},a[7]||(a[7]=[e("i",{class:"bi bi-chevron-left me-2"},null,-1),R(" Back ")])),e("h6",ee,[l(b,{t:"Share with Email"})])]),e("form",{class:"d-flex gap-3 flex-column",onSubmit:a[6]||(a[6]=u=>{u.preventDefault(),x()})},[e("div",null,[e("div",te,[a[8]||(a[8]=e("i",{class:"bi bi-person-circle",style:{position:"absolute",top:"0.4rem",left:"0.75rem"}},null,-1)),g(e("input",{type:"email",class:"form-control rounded-top-3 rounded-bottom-0",style:{"padding-left":"calc( 0.75rem + 24px )"},"onUpdate:modelValue":a[1]||(a[1]=u=>n.Receiver=u),disabled:i.value,placeholder:$(E)("Who are you sending to?"),required:"",id:"email_receiver","aria-describedby":"emailHelp"},null,8,se),[[C,n.Receiver]])]),e("div",ae,[a[9]||(a[9]=e("i",{class:"bi bi-hash",style:{position:"absolute",top:"0.4rem",left:"0.75rem"}},null,-1)),g(e("input",{type:"text",class:"form-control rounded-0 border-top-0 border-bottom-0",style:{"padding-left":"calc( 0.75rem + 24px )"},placeholder:$(E)("What's the subject?"),disabled:i.value,"onUpdate:modelValue":a[2]||(a[2]=u=>n.Subject=u),id:"email_subject","aria-describedby":"emailHelp"},null,8,ie),[[C,n.Subject]])]),e("div",oe,[e("div",{class:w([d.value?"col-6":"col-12"])},[g(e("textarea",{class:"form-control rounded-top-0 rounded-bottom-0 font-monospace border-bottom-0","onUpdate:modelValue":a[3]||(a[3]=u=>n.Body=u),disabled:i.value,placeholder:$(E)("What's the body?"),style:{height:"400px","max-height":"400px"}},null,8,le),[[C,n.Body]])],2),d.value?(o(),c("div",re,[l(K,{body:n.Body,selectedPeer:s.selectedPeer},null,8,["body","selectedPeer"])])):S("",!0)]),e("div",ne,[e("div",de,[e("div",ce,[g(e("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":a[4]||(a[4]=u=>d.value=u),role:"switch",id:"livePreview"},null,512),[[T,d.value]]),e("label",ue,[l(b,{t:"Live Preview"})])])])])]),e("div",me,[g(e("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":a[5]||(a[5]=u=>n.IncludeAttachment=u),role:"switch",id:"includeAttachment"},null,512),[[T,n.IncludeAttachment]]),e("label",he,[l(b,{t:"Include configuration file as an attachment"})])]),e("button",{disabled:i.value,class:"btn bg-primary-subtle text-primary-emphasis border-primary-subtle rounded-3"},[i.value?(o(),c("span",fe,[a[11]||(a[11]=e("span",{class:"spinner-border spinner-border-sm me-2"},null,-1)),l(b,{t:"Sending..."})])):(o(),c("span",be,[a[10]||(a[10]=e("i",{class:"bi bi-send me-2"},null,-1)),l(b,{t:"Send"})]))],8,pe)],32)])):(o(),c("div",ye,[e("small",null,[l(b,{t:"SMTP is not configured, please navigate to "}),l(Y,{to:"/settings"},{default:M(()=>[l(b,{t:"Settings"})]),_:1}),l(b,{t:" to finish setup"})])]))}}},ge=L(ve,[["__scopeId","data-v-913bd64b"]]),_e={name:"peerShareLinkModal",props:{selectedPeer:Object},components:{PeerShareWithEmail:ge,LocaleText:b,VueDatePicker:O},data(){return{dataCopy:void 0,loading:!1,fullscreen:!1,shareWithEmail:!1}},setup(){return{store:W()}},mounted(){this.dataCopy=JSON.parse(JSON.stringify(this.selectedPeer.ShareLink)).at(0)},watch:{"selectedPeer.ShareLink":{deep:!0,handler(s,t){t.length!==s.length&&(this.dataCopy=JSON.parse(JSON.stringify(this.selectedPeer.ShareLink)).at(0))}}},methods:{startSharing(){this.loading=!0,P("/api/sharePeer/create",{Configuration:this.selectedPeer.configuration.Name,Peer:this.selectedPeer.id,ExpireDate:D().add(7,"d").format("YYYY-MM-DD HH:mm:ss")},s=>{s.status?(this.selectedPeer.ShareLink=s.data,this.dataCopy=s.data.at(0)):this.store.newMessage("Server","Share link failed to create. Reason: "+s.message,"danger"),this.loading=!1})},updateLinkExpireDate(){P("/api/sharePeer/update",this.dataCopy,s=>{s.status?(this.dataCopy=s.data.at(0),this.selectedPeer.ShareLink=s.data,this.store.newMessage("Server","Link expire date updated","success")):this.store.newMessage("Server","Link expire date failed to update. Reason: "+s.message,"danger"),this.loading=!1})},stopSharing(){this.loading=!0,this.dataCopy.ExpireDate=D().format("YYYY-MM-DD HH:mm:ss"),this.updateLinkExpireDate()},parseTime(s){s?this.dataCopy.ExpireDate=D(s).format("YYYY-MM-DD HH:mm:ss"):this.dataCopy.ExpireDate=void 0,this.updateLinkExpireDate()}},computed:{getUrl(){const s=this.store.getActiveCrossServer();return s?`${s.host}/${this.$router.resolve({path:"/share",query:{ShareID:this.dataCopy.ShareID}}).href}`:window.location.origin+window.location.pathname+this.$router.resolve({path:"/share",query:{ShareID:this.dataCopy.ShareID}}).href}}},xe={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},ke={class:"container d-flex h-100 w-100"},Se={class:"card rounded-3 shadow flex-grow-1"},we={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4"},Pe={class:"mb-0"},Ce={key:0,class:"card-body px-4 pb-4"},$e={key:0},Ee={class:"mb-3 text-muted"},De=["disabled"],Me={key:1},Le={key:0},He={class:"d-flex gap-2 mb-4"},Te=["href"],Ve={class:"d-flex flex-column gap-2 mb-3"},Be={class:"d-flex gap-2 flex-column flex-sm-row"},Ne=["disabled"],We={class:"text-muted"};function Ye(s,t,f,h,m,p){const r=k("LocaleText"),n=k("VueDatePicker"),d=k("PeerShareWithEmail");return o(),c("div",xe,[e("div",ke,[e("div",{class:"m-auto modal-dialog-centered dashboardModal",style:j([this.fullscreen?"width: 100%":"width: 700px"])},[e("div",Se,[e("div",we,[e("h4",Pe,[l(r,{t:"Share Peer"})]),e("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=i=>this.$emit("close"))})]),this.selectedPeer.ShareLink?(o(),c("div",Ce,[this.dataCopy?(o(),c("div",Me,[m.shareWithEmail?(o(),_(A,{key:1},{fallback:M(()=>[e("h6",We,[t[11]||(t[11]=e("span",{class:"spinner-border me-2 spinner-border-sm",role:"status"},null,-1)),l(r,{t:"Checking SMTP Configuration..."})])]),default:M(()=>[l(d,{onHide:t[4]||(t[4]=i=>m.shareWithEmail=!1),onFullscreen:t[5]||(t[5]=i=>{this.fullscreen=i}),selectedPeer:f.selectedPeer,dataCopy:m.dataCopy},null,8,["selectedPeer","dataCopy"])]),_:1})):(o(),c("div",Le,[e("div",He,[t[7]||(t[7]=e("i",{class:"bi bi-link-45deg"},null,-1)),e("a",{href:this.getUrl,class:"text-decoration-none",target:"_blank"},N(p.getUrl),9,Te)]),e("div",Ve,[e("small",null,[t[8]||(t[8]=e("i",{class:"bi bi-calendar me-2"},null,-1)),l(r,{t:"Expire At"})]),l(n,{is24:!0,"min-date":new Date,"model-value":this.dataCopy.ExpireDate,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","dark"])]),e("div",Be,[e("button",{style:{flex:"1 1 0"},onClick:t[2]||(t[2]=i=>this.stopSharing()),disabled:this.loading,class:"w-100 btn bg-danger-subtle text-danger-emphasis border-1 border-danger-subtle rounded-3 shadow-sm"},[e("span",{class:w({"animate__animated animate__flash animate__infinite animate__slower":this.loading})},t[9]||(t[9]=[e("i",{class:"bi bi-send-slash-fill me-2"},null,-1)]),2),this.loading?(o(),_(r,{key:0,t:"Stop Sharing..."})):(o(),_(r,{key:1,t:"Stop Sharing"}))],8,Ne),e("button",{style:{flex:"1 1 0"},onClick:t[3]||(t[3]=i=>m.shareWithEmail=!0),class:"btn bg-primary-subtle text-primary-emphasis border-primary-subtle rounded-3"},[t[10]||(t[10]=e("i",{class:"bi bi-envelope me-2"},null,-1)),l(r,{t:"Share with Email"})])])]))])):(o(),c("div",$e,[e("h6",Ee,[l(r,{t:"Currently the peer is not sharing"})]),e("button",{onClick:t[1]||(t[1]=i=>this.startSharing()),disabled:this.loading,class:"w-100 btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm"},[e("span",{class:w({"animate__animated animate__flash animate__infinite animate__slower":this.loading})},t[6]||(t[6]=[e("i",{class:"bi bi-send-fill me-2"},null,-1)]),2),this.loading?(o(),_(r,{key:0,t:"Sharing..."})):(o(),_(r,{key:1,t:"Start Sharing"}))],8,De)]))])):S("",!0)])],4)])])}const Ae=L(_e,[["render",Ye]]);export{Ae as default}; diff --git a/src/static/app/dist/assets/ping-D2r67TEy.js b/src/static/dist/WGDashboardAdmin/assets/ping-BblC0zpt.js similarity index 97% rename from src/static/app/dist/assets/ping-D2r67TEy.js rename to src/static/dist/WGDashboardAdmin/assets/ping-BblC0zpt.js index 11ce3caa..81f6f0bd 100644 --- a/src/static/app/dist/assets/ping-D2r67TEy.js +++ b/src/static/dist/WGDashboardAdmin/assets/ping-BblC0zpt.js @@ -1 +1 @@ -import{_ as R,c as l,a as e,m as u,b as d,h as b,B as _,F as c,i as p,d as m,y as k,t as i,w as f,k as v,g as x,D as I,f as n,e as g,s as P,n as h,j as w}from"./index-BiMgJckX.js";import{L as C}from"./localeText-IWgb3jjT.js";import{O as A}from"./osmap-C5d_TZww.js";const S={name:"ping",components:{OSMap:A,LocaleText:C},data(){return{loading:!1,cips:{},selectedConfiguration:void 0,selectedPeer:void 0,selectedIp:void 0,count:4,pingResult:void 0,pinging:!1}},setup(){return{store:I()}},mounted(){x("/api/ping/getAllPeersIpAddress",{},a=>{a.status&&(this.loading=!0,this.cips=a.data,console.log(this.cips))})},methods:{execute(){this.selectedIp&&(this.pinging=!0,this.pingResult=void 0,x("/api/ping/execute",{ipAddress:this.selectedIp,count:this.count},a=>{a.status?this.pingResult=a.data:this.store.newMessage("Server",a.message,"danger"),this.pinging=!1}))}},watch:{selectedConfiguration(){this.selectedPeer=void 0,this.selectedIp=void 0},selectedPeer(){this.selectedIp=void 0}}},M={class:"mt-md-5 mt-3 text-body"},T={class:"container"},V={class:"row"},$={class:"col-sm-4 d-flex gap-2 flex-column"},L={class:"mb-1 text-muted",for:"configuration"},B=["disabled"],N=["value"],O={class:"mb-1 text-muted",for:"peer"},D=["disabled"],U=["value"],z={class:"mb-1 text-muted",for:"ip"},E=["disabled"],F={class:"d-flex align-items-center gap-2"},G={class:"text-muted"},j={class:"mb-1 text-muted",for:"ipAddress"},H=["disabled"],Y={class:"mb-1 text-muted",for:"count"},q={class:"d-flex gap-3 align-items-center"},J=["disabled"],K=["disabled"],Q={key:0,class:"d-block"},W={key:1,class:"d-block"},X={class:"col-sm-8 position-relative"},Z={key:"pingPlaceholder"},ee={key:"pingResult",class:"d-flex flex-column gap-2 w-100"},se={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.15s"}},te={class:"card-body row"},ie={class:"col-sm"},ne={class:"mb-0 text-muted"},le={key:0,class:"col-sm"},de={class:"mb-0 text-muted"},oe={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.3s"}},ae={class:"card-body"},re={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.45s"}},ue={class:"card-body"},ce={class:"mb-0 text-muted"},pe={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.6s"}},me={class:"card-body"},ge={class:"mb-0 text-muted"};function _e(a,s,he,be,fe,ve){const o=b("LocaleText"),y=b("OSMap");return n(),l("div",M,[e("div",T,[s[19]||(s[19]=e("h3",{class:"mb-3 text-body"},"Ping",-1)),e("div",V,[e("div",$,[e("div",null,[e("label",L,[e("small",null,[d(o,{t:"Configuration"})])]),u(e("select",{class:"form-select","onUpdate:modelValue":s[0]||(s[0]=t=>this.selectedConfiguration=t),disabled:this.pinging},[s[7]||(s[7]=e("option",{disabled:"",selected:"",value:void 0},null,-1)),(n(!0),l(c,null,p(this.cips,(t,r)=>(n(),l("option",{value:r},i(r),9,N))),256))],8,B),[[_,this.selectedConfiguration]])]),e("div",null,[e("label",O,[e("small",null,[d(o,{t:"Peer"})])]),u(e("select",{id:"peer",class:"form-select","onUpdate:modelValue":s[1]||(s[1]=t=>this.selectedPeer=t),disabled:this.selectedConfiguration===void 0||this.pinging},[s[8]||(s[8]=e("option",{disabled:"",selected:"",value:void 0},null,-1)),this.selectedConfiguration!==void 0?(n(!0),l(c,{key:0},p(this.cips[this.selectedConfiguration],(t,r)=>(n(),l("option",{value:r},i(r),9,U))),256)):m("",!0)],8,D),[[_,this.selectedPeer]])]),e("div",null,[e("label",z,[e("small",null,[d(o,{t:"IP Address"})])]),u(e("select",{id:"ip",class:"form-select","onUpdate:modelValue":s[2]||(s[2]=t=>this.selectedIp=t),disabled:this.selectedPeer===void 0||this.pinging},[s[9]||(s[9]=e("option",{disabled:"",selected:"",value:void 0},null,-1)),this.selectedPeer!==void 0?(n(!0),l(c,{key:0},p(this.cips[this.selectedConfiguration][this.selectedPeer].allowed_ips,t=>(n(),l("option",null,i(t),1))),256)):m("",!0)],8,E),[[_,this.selectedIp]])]),e("div",F,[s[10]||(s[10]=e("div",{class:"flex-grow-1 border-top"},null,-1)),e("small",G,[d(o,{t:"OR"})]),s[11]||(s[11]=e("div",{class:"flex-grow-1 border-top"},null,-1))]),e("div",null,[e("label",j,[e("small",null,[d(o,{t:"Enter IP Address / Hostname"})])]),u(e("input",{class:"form-control",type:"text",id:"ipAddress",disabled:this.pinging,"onUpdate:modelValue":s[3]||(s[3]=t=>this.selectedIp=t)},null,8,H),[[k,this.selectedIp]])]),s[16]||(s[16]=e("div",{class:"w-100 border-top my-2"},null,-1)),e("div",null,[e("label",Y,[e("small",null,[d(o,{t:"Count"})])]),e("div",q,[e("button",{onClick:s[4]||(s[4]=t=>this.count--),disabled:this.count===1,class:"btn btn-sm bg-secondary-subtle text-secondary-emphasis"},s[12]||(s[12]=[e("i",{class:"bi bi-dash-lg"},null,-1)]),8,J),e("strong",null,i(this.count),1),e("button",{role:"button",onClick:s[5]||(s[5]=t=>this.count++),class:"btn btn-sm bg-secondary-subtle text-secondary-emphasis"},s[13]||(s[13]=[e("i",{class:"bi bi-plus-lg"},null,-1)]))])]),e("button",{class:"btn btn-primary rounded-3 mt-3 position-relative",disabled:!this.selectedIp||this.pinging,onClick:s[6]||(s[6]=t=>this.execute())},[d(v,{name:"slide"},{default:f(()=>[this.pinging?(n(),l("span",W,s[15]||(s[15]=[e("span",{class:"spinner-border spinner-border-sm","aria-hidden":"true"},null,-1),e("span",{class:"visually-hidden",role:"status"},"Loading...",-1)]))):(n(),l("span",Q,s[14]||(s[14]=[e("i",{class:"bi bi-person-walking me-2"},null,-1),g("Ping! ")])))]),_:1})],8,K)]),e("div",X,[d(v,{name:"ping"},{default:f(()=>[this.pingResult?(n(),l("div",ee,[this.pingResult.geo&&this.pingResult.geo.status==="success"?(n(),w(y,{key:0,d:this.pingResult},null,8,["d"])):m("",!0),e("div",se,[e("div",te,[e("div",ie,[e("p",ne,[e("small",null,[d(o,{t:"IP Address"})])]),g(" "+i(this.pingResult.address),1)]),this.pingResult.geo&&this.pingResult.geo.status==="success"?(n(),l("div",le,[e("p",de,[e("small",null,[d(o,{t:"Geolocation"})])]),g(" "+i(this.pingResult.geo.city)+", "+i(this.pingResult.geo.country),1)])):m("",!0)])]),e("div",oe,[e("div",ae,[s[18]||(s[18]=e("p",{class:"mb-0 text-muted"},[e("small",null,"Is Alive")],-1)),e("span",{class:h([this.pingResult.is_alive?"text-success":"text-danger"])},[e("i",{class:h(["bi me-1",[this.pingResult.is_alive?"bi-check-circle-fill":"bi-x-circle-fill"]])},null,2),g(" "+i(this.pingResult.is_alive?"Yes":"No"),1)],2)])]),e("div",re,[e("div",ue,[e("p",ce,[e("small",null,[d(o,{t:"Average / Min / Max Round Trip Time"})])]),e("samp",null,i(this.pingResult.avg_rtt)+"ms / "+i(this.pingResult.min_rtt)+"ms / "+i(this.pingResult.max_rtt)+"ms ",1)])]),e("div",pe,[e("div",me,[e("p",ge,[e("small",null,[d(o,{t:"Sent / Received / Lost Package"})])]),e("samp",null,i(this.pingResult.package_sent)+" / "+i(this.pingResult.package_received)+" / "+i(this.pingResult.package_loss),1)])])])):(n(),l("div",Z,[s[17]||(s[17]=e("div",{class:"pingPlaceholder bg-body-secondary rounded-3 mb-3",style:{height:"300px"}},null,-1)),(n(),l(c,null,p(4,t=>e("div",{class:h(["pingPlaceholder bg-body-secondary rounded-3 mb-3",{"animate__animated animate__flash animate__slower animate__infinite":this.pinging}]),style:P({"animation-delay":`${t*.15}s`})},null,6)),64))]))]),_:1})])])])])}const ke=R(S,[["render",_e],["__scopeId","data-v-a08ce97e"]]);export{ke as default}; +import{_ as R,c as l,a as e,m as u,b as d,h as b,B as _,F as c,i as p,d as m,y as k,t as i,w as f,k as v,g as x,D as I,f as n,e as g,s as P,n as h,j as w}from"./index-D5fbjBmH.js";import{L as C}from"./localeText-BwlyH2uL.js";import{O as A}from"./osmap-DPICc3dZ.js";const S={name:"ping",components:{OSMap:A,LocaleText:C},data(){return{loading:!1,cips:{},selectedConfiguration:void 0,selectedPeer:void 0,selectedIp:void 0,count:4,pingResult:void 0,pinging:!1}},setup(){return{store:I()}},mounted(){x("/api/ping/getAllPeersIpAddress",{},a=>{a.status&&(this.loading=!0,this.cips=a.data,console.log(this.cips))})},methods:{execute(){this.selectedIp&&(this.pinging=!0,this.pingResult=void 0,x("/api/ping/execute",{ipAddress:this.selectedIp,count:this.count},a=>{a.status?this.pingResult=a.data:this.store.newMessage("Server",a.message,"danger"),this.pinging=!1}))}},watch:{selectedConfiguration(){this.selectedPeer=void 0,this.selectedIp=void 0},selectedPeer(){this.selectedIp=void 0}}},M={class:"mt-md-5 mt-3 text-body"},T={class:"container"},V={class:"row"},$={class:"col-sm-4 d-flex gap-2 flex-column"},L={class:"mb-1 text-muted",for:"configuration"},B=["disabled"],N=["value"],O={class:"mb-1 text-muted",for:"peer"},D=["disabled"],U=["value"],z={class:"mb-1 text-muted",for:"ip"},E=["disabled"],F={class:"d-flex align-items-center gap-2"},G={class:"text-muted"},j={class:"mb-1 text-muted",for:"ipAddress"},H=["disabled"],Y={class:"mb-1 text-muted",for:"count"},q={class:"d-flex gap-3 align-items-center"},J=["disabled"],K=["disabled"],Q={key:0,class:"d-block"},W={key:1,class:"d-block"},X={class:"col-sm-8 position-relative"},Z={key:"pingPlaceholder"},ee={key:"pingResult",class:"d-flex flex-column gap-2 w-100"},se={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.15s"}},te={class:"card-body row"},ie={class:"col-sm"},ne={class:"mb-0 text-muted"},le={key:0,class:"col-sm"},de={class:"mb-0 text-muted"},oe={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.3s"}},ae={class:"card-body"},re={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.45s"}},ue={class:"card-body"},ce={class:"mb-0 text-muted"},pe={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.6s"}},me={class:"card-body"},ge={class:"mb-0 text-muted"};function _e(a,s,he,be,fe,ve){const o=b("LocaleText"),y=b("OSMap");return n(),l("div",M,[e("div",T,[s[19]||(s[19]=e("h3",{class:"mb-3 text-body"},"Ping",-1)),e("div",V,[e("div",$,[e("div",null,[e("label",L,[e("small",null,[d(o,{t:"Configuration"})])]),u(e("select",{class:"form-select","onUpdate:modelValue":s[0]||(s[0]=t=>this.selectedConfiguration=t),disabled:this.pinging},[s[7]||(s[7]=e("option",{disabled:"",selected:"",value:void 0},null,-1)),(n(!0),l(c,null,p(this.cips,(t,r)=>(n(),l("option",{value:r},i(r),9,N))),256))],8,B),[[_,this.selectedConfiguration]])]),e("div",null,[e("label",O,[e("small",null,[d(o,{t:"Peer"})])]),u(e("select",{id:"peer",class:"form-select","onUpdate:modelValue":s[1]||(s[1]=t=>this.selectedPeer=t),disabled:this.selectedConfiguration===void 0||this.pinging},[s[8]||(s[8]=e("option",{disabled:"",selected:"",value:void 0},null,-1)),this.selectedConfiguration!==void 0?(n(!0),l(c,{key:0},p(this.cips[this.selectedConfiguration],(t,r)=>(n(),l("option",{value:r},i(r),9,U))),256)):m("",!0)],8,D),[[_,this.selectedPeer]])]),e("div",null,[e("label",z,[e("small",null,[d(o,{t:"IP Address"})])]),u(e("select",{id:"ip",class:"form-select","onUpdate:modelValue":s[2]||(s[2]=t=>this.selectedIp=t),disabled:this.selectedPeer===void 0||this.pinging},[s[9]||(s[9]=e("option",{disabled:"",selected:"",value:void 0},null,-1)),this.selectedPeer!==void 0?(n(!0),l(c,{key:0},p(this.cips[this.selectedConfiguration][this.selectedPeer].allowed_ips,t=>(n(),l("option",null,i(t),1))),256)):m("",!0)],8,E),[[_,this.selectedIp]])]),e("div",F,[s[10]||(s[10]=e("div",{class:"flex-grow-1 border-top"},null,-1)),e("small",G,[d(o,{t:"OR"})]),s[11]||(s[11]=e("div",{class:"flex-grow-1 border-top"},null,-1))]),e("div",null,[e("label",j,[e("small",null,[d(o,{t:"Enter IP Address / Hostname"})])]),u(e("input",{class:"form-control",type:"text",id:"ipAddress",disabled:this.pinging,"onUpdate:modelValue":s[3]||(s[3]=t=>this.selectedIp=t)},null,8,H),[[k,this.selectedIp]])]),s[16]||(s[16]=e("div",{class:"w-100 border-top my-2"},null,-1)),e("div",null,[e("label",Y,[e("small",null,[d(o,{t:"Count"})])]),e("div",q,[e("button",{onClick:s[4]||(s[4]=t=>this.count--),disabled:this.count===1,class:"btn btn-sm bg-secondary-subtle text-secondary-emphasis"},s[12]||(s[12]=[e("i",{class:"bi bi-dash-lg"},null,-1)]),8,J),e("strong",null,i(this.count),1),e("button",{role:"button",onClick:s[5]||(s[5]=t=>this.count++),class:"btn btn-sm bg-secondary-subtle text-secondary-emphasis"},s[13]||(s[13]=[e("i",{class:"bi bi-plus-lg"},null,-1)]))])]),e("button",{class:"btn btn-primary rounded-3 mt-3 position-relative",disabled:!this.selectedIp||this.pinging,onClick:s[6]||(s[6]=t=>this.execute())},[d(v,{name:"slide"},{default:f(()=>[this.pinging?(n(),l("span",W,s[15]||(s[15]=[e("span",{class:"spinner-border spinner-border-sm","aria-hidden":"true"},null,-1),e("span",{class:"visually-hidden",role:"status"},"Loading...",-1)]))):(n(),l("span",Q,s[14]||(s[14]=[e("i",{class:"bi bi-person-walking me-2"},null,-1),g("Ping! ")])))]),_:1})],8,K)]),e("div",X,[d(v,{name:"ping"},{default:f(()=>[this.pingResult?(n(),l("div",ee,[this.pingResult.geo&&this.pingResult.geo.status==="success"?(n(),w(y,{key:0,d:this.pingResult},null,8,["d"])):m("",!0),e("div",se,[e("div",te,[e("div",ie,[e("p",ne,[e("small",null,[d(o,{t:"IP Address"})])]),g(" "+i(this.pingResult.address),1)]),this.pingResult.geo&&this.pingResult.geo.status==="success"?(n(),l("div",le,[e("p",de,[e("small",null,[d(o,{t:"Geolocation"})])]),g(" "+i(this.pingResult.geo.city)+", "+i(this.pingResult.geo.country),1)])):m("",!0)])]),e("div",oe,[e("div",ae,[s[18]||(s[18]=e("p",{class:"mb-0 text-muted"},[e("small",null,"Is Alive")],-1)),e("span",{class:h([this.pingResult.is_alive?"text-success":"text-danger"])},[e("i",{class:h(["bi me-1",[this.pingResult.is_alive?"bi-check-circle-fill":"bi-x-circle-fill"]])},null,2),g(" "+i(this.pingResult.is_alive?"Yes":"No"),1)],2)])]),e("div",re,[e("div",ue,[e("p",ce,[e("small",null,[d(o,{t:"Average / Min / Max Round Trip Time"})])]),e("samp",null,i(this.pingResult.avg_rtt)+"ms / "+i(this.pingResult.min_rtt)+"ms / "+i(this.pingResult.max_rtt)+"ms ",1)])]),e("div",pe,[e("div",me,[e("p",ge,[e("small",null,[d(o,{t:"Sent / Received / Lost Package"})])]),e("samp",null,i(this.pingResult.package_sent)+" / "+i(this.pingResult.package_received)+" / "+i(this.pingResult.package_loss),1)])])])):(n(),l("div",Z,[s[17]||(s[17]=e("div",{class:"pingPlaceholder bg-body-secondary rounded-3 mb-3",style:{height:"300px"}},null,-1)),(n(),l(c,null,p(4,t=>e("div",{class:h(["pingPlaceholder bg-body-secondary rounded-3 mb-3",{"animate__animated animate__flash animate__slower animate__infinite":this.pinging}]),style:P({"animation-delay":`${t*.15}s`})},null,6)),64))]))]),_:1})])])])])}const ke=R(S,[["render",_e],["__scopeId","data-v-a08ce97e"]]);export{ke as default}; diff --git a/src/static/app/dist/assets/ping-DgbK5UF9.css b/src/static/dist/WGDashboardAdmin/assets/ping-DgbK5UF9.css similarity index 100% rename from src/static/app/dist/assets/ping-DgbK5UF9.css rename to src/static/dist/WGDashboardAdmin/assets/ping-DgbK5UF9.css diff --git a/src/static/app/dist/assets/protocolBadge-CIPV5pRM.js b/src/static/dist/WGDashboardAdmin/assets/protocolBadge-BVQE6rMK.js similarity index 79% rename from src/static/app/dist/assets/protocolBadge-CIPV5pRM.js rename to src/static/dist/WGDashboardAdmin/assets/protocolBadge-BVQE6rMK.js index 3f8e5817..c8896bc5 100644 --- a/src/static/app/dist/assets/protocolBadge-CIPV5pRM.js +++ b/src/static/dist/WGDashboardAdmin/assets/protocolBadge-BVQE6rMK.js @@ -1 +1 @@ -import{L as n}from"./localeText-IWgb3jjT.js";import{c as a,d as r,e as s,j as i,f as e}from"./index-BiMgJckX.js";const d={class:"position-relative"},c={key:0,class:"badge wireguardBg rounded-3 shadow z-1"},l={key:1,class:"badge amneziawgBg rounded-3 shadow"},p={__name:"protocolBadge",props:{protocol:String,mini:!1},setup(o){return(m,t)=>(e(),a("div",d,[o.protocol==="wg"?(e(),a("span",c,[t[0]||(t[0]=s(" WireGuard ")),o.mini?r("",!0):(e(),i(n,{key:0,t:"Configuration"}))])):o.protocol==="awg"?(e(),a("span",l,[t[1]||(t[1]=s(" AmneziaWG ")),o.mini?r("",!0):(e(),i(n,{key:0,t:"Configuration"}))])):r("",!0)]))}};export{p as _}; +import{L as n}from"./localeText-BwlyH2uL.js";import{c as a,d as r,e as s,j as i,f as e}from"./index-D5fbjBmH.js";const d={class:"position-relative"},c={key:0,class:"badge wireguardBg rounded-3 shadow z-1"},l={key:1,class:"badge amneziawgBg rounded-3 shadow"},p={__name:"protocolBadge",props:{protocol:String,mini:!1},setup(o){return(m,t)=>(e(),a("div",d,[o.protocol==="wg"?(e(),a("span",c,[t[0]||(t[0]=s(" WireGuard ")),o.mini?r("",!0):(e(),i(n,{key:0,t:"Configuration"}))])):o.protocol==="awg"?(e(),a("span",l,[t[1]||(t[1]=s(" AmneziaWG ")),o.mini?r("",!0):(e(),i(n,{key:0,t:"Configuration"}))])):r("",!0)]))}};export{p as _}; diff --git a/src/static/app/dist/assets/restoreConfiguration-Cc45Wpop.js b/src/static/dist/WGDashboardAdmin/assets/restoreConfiguration-DEs2Vp9D.js similarity index 98% rename from src/static/app/dist/assets/restoreConfiguration-Cc45Wpop.js rename to src/static/dist/WGDashboardAdmin/assets/restoreConfiguration-DEs2Vp9D.js index ab50abb6..349ab94c 100644 --- a/src/static/app/dist/assets/restoreConfiguration-Cc45Wpop.js +++ b/src/static/dist/WGDashboardAdmin/assets/restoreConfiguration-DEs2Vp9D.js @@ -1,4 +1,4 @@ -import{_ as E,r as k,o as A,c as r,f as n,a as e,d as w,t as y,F as N,i as D,j as f,b as l,n as v,u as W,E as z,W as F,q as C,H as G,D as T,I as H,m as g,y as _,e as $,z as Z,g as J,w as B,h as Q,k as V}from"./index-BiMgJckX.js";import{L as o}from"./localeText-IWgb3jjT.js";import{d as X}from"./dayjs.min-DfzgISij.js";import{_ as q}from"./protocolBadge-CIPV5pRM.js";import{p as O}from"./index-6o26Ihmr.js";const ee={class:"card rounded-3 shadow-sm"},te={class:"mb-0 d-flex align-items-center gap-3"},se={class:"text-muted ms-auto d-block"},oe={key:0,class:"card-footer p-3 d-flex flex-column gap-2"},le=["onClick","id"],ne={class:"card-body d-flex p-3 gap-3 align-items-center"},ae={__name:"backupGroup",props:{configurationName:String,backups:Array,open:!1,selectedConfigurationBackup:Object,protocol:Array},emits:["select"],setup(m,{emit:u}){const t=m,h=u,p=k(t.open);return A(()=>{t.selectedConfigurationBackup&&document.querySelector(`#${t.selectedConfigurationBackup.filename.replace(".conf","")}`).scrollIntoView({behavior:"smooth"})}),(x,a)=>(n(),r("div",ee,[e("a",{role:"button",class:"card-body d-flex align-items-center text-decoration-none d-flex gap-3",onClick:a[0]||(a[0]=c=>p.value=!p.value)},[e("h6",te,[e("samp",null,y(m.configurationName),1),(n(!0),r(N,null,D(m.protocol,c=>(n(),f(q,{protocol:c},null,8,["protocol"]))),256))]),e("small",se,[l(o,{t:m.backups.length+(m.backups.length>1?" Backups":" Backup")},null,8,["t"])]),e("h5",{class:v(["mb-0 dropdownIcon text-muted",{active:p.value}])},a[1]||(a[1]=[e("i",{class:"bi bi-chevron-down"},null,-1)]),2)]),p.value?(n(),r("div",oe,[(n(!0),r(N,null,D(m.backups,c=>(n(),r("div",{class:"card rounded-3 shadow-sm animate__animated",key:c.filename,onClick:()=>{h("select",c)},id:c.filename.replace(".conf",""),role:"button"},[e("div",ne,[e("small",null,[a[2]||(a[2]=e("i",{class:"bi bi-file-earmark me-2"},null,-1)),e("samp",null,y(c.filename),1)]),e("small",null,[a[3]||(a[3]=e("i",{class:"bi bi-clock-history me-2"},null,-1)),e("samp",null,y(W(X)(c.backupDate).format("YYYY-MM-DD HH:mm:ss")),1)]),e("small",null,[a[4]||(a[4]=e("i",{class:"bi bi-database me-2"},null,-1)),c.database?(n(),f(o,{key:0,t:"Yes"})):(n(),f(o,{key:1,t:"No"}))]),a[5]||(a[5]=e("small",{class:"text-muted ms-auto"},[e("i",{class:"bi bi-chevron-right"})],-1))])],8,le))),128))])):w("",!0)]))}},ie=E(ae,[["__scopeId","data-v-ccf48ac7"]]),re={class:"d-flex flex-column gap-5",id:"confirmBackup"},de={class:"d-flex flex-column gap-3"},ue={class:"d-flex flex-column flex-sm-row align-items-start align-items-sm-center gap-3"},ce={class:"mb-0"},me={class:"text-muted mb-1"},fe={class:"mb-0"},pe={class:"text-muted mb-1",for:"ConfigurationName"},ve={class:"invalid-feedback"},be={key:0},ge={key:1},_e={class:"mb-0"},ke={class:"row g-3"},ye={class:"col-sm"},he={class:"text-muted mb-1",for:"PrivateKey"},xe={class:"input-group"},Ce={class:"col-sm"},Pe={class:"text-muted mb-1",for:"PublicKey"},we={class:"text-muted mb-1",for:"ListenPort"},$e={class:"invalid-feedback"},Be={key:0},Ne={key:1},De={class:"mb-0"},Ae={class:"text-muted mb-1 d-flex",for:"ListenPort"},Ie={class:"invalid-feedback"},Le={key:0},Se={key:1},Ue={class:"accordion",id:"newConfigurationOptionalAccordion"},Ke={class:"accordion-item"},Re={class:"accordion-header"},Ve={class:"accordion-button collapsed rounded-3",type:"button","data-bs-toggle":"collapse","data-bs-target":"#newConfigurationOptionalAccordionCollapse"},Oe={id:"newConfigurationOptionalAccordionCollapse",class:"accordion-collapse collapse","data-bs-parent":"#newConfigurationOptionalAccordion"},Ee={class:"accordion-body d-flex flex-column gap-3"},Te={class:"text-muted mb-1",for:"PreUp"},qe={class:"text-muted mb-1",for:"PreDown"},je={class:"text-muted mb-1",for:"PostUp"},Me={class:"text-muted mb-1",for:"PostDown"},Ye={class:"d-flex flex-column gap-3"},We={class:"d-flex flex-column flex-sm-row align-items-start align-items-sm-center gap-3"},ze={class:"mb-0"},Fe={key:0},Ge={class:"row g-3"},He={class:"col-sm"},Ze={class:"card text-bg-success rounded-3"},Je={class:"card-body"},Qe={class:"col-sm"},Xe={class:"card text-bg-warning rounded-3"},et={class:"card-body"},tt={class:"d-flex"},st=["disabled"],ot={__name:"confirmBackup",props:{selectedConfigurationBackup:Object},setup(m){const u=m,t=z({ConfigurationName:u.selectedConfigurationBackup.filename.split("_")[0],Backup:u.selectedConfigurationBackup.filename,Protocol:u.selectedConfigurationBackup.protocol}),h=u.selectedConfigurationBackup.content.split(` +import{_ as E,r as k,o as A,c as r,f as n,a as e,d as w,t as y,F as N,i as D,j as f,b as l,n as v,u as W,E as z,W as F,q as C,H as G,D as T,I as H,m as g,y as _,e as $,z as Z,g as J,w as B,h as Q,k as V}from"./index-D5fbjBmH.js";import{L as o}from"./localeText-BwlyH2uL.js";import{d as X}from"./dayjs.min-Rf3-f83x.js";import{_ as q}from"./protocolBadge-BVQE6rMK.js";import{p as O}from"./index-6o26Ihmr.js";const ee={class:"card rounded-3 shadow-sm"},te={class:"mb-0 d-flex align-items-center gap-3"},se={class:"text-muted ms-auto d-block"},oe={key:0,class:"card-footer p-3 d-flex flex-column gap-2"},le=["onClick","id"],ne={class:"card-body d-flex p-3 gap-3 align-items-center"},ae={__name:"backupGroup",props:{configurationName:String,backups:Array,open:!1,selectedConfigurationBackup:Object,protocol:Array},emits:["select"],setup(m,{emit:u}){const t=m,h=u,p=k(t.open);return A(()=>{t.selectedConfigurationBackup&&document.querySelector(`#${t.selectedConfigurationBackup.filename.replace(".conf","")}`).scrollIntoView({behavior:"smooth"})}),(x,a)=>(n(),r("div",ee,[e("a",{role:"button",class:"card-body d-flex align-items-center text-decoration-none d-flex gap-3",onClick:a[0]||(a[0]=c=>p.value=!p.value)},[e("h6",te,[e("samp",null,y(m.configurationName),1),(n(!0),r(N,null,D(m.protocol,c=>(n(),f(q,{protocol:c},null,8,["protocol"]))),256))]),e("small",se,[l(o,{t:m.backups.length+(m.backups.length>1?" Backups":" Backup")},null,8,["t"])]),e("h5",{class:v(["mb-0 dropdownIcon text-muted",{active:p.value}])},a[1]||(a[1]=[e("i",{class:"bi bi-chevron-down"},null,-1)]),2)]),p.value?(n(),r("div",oe,[(n(!0),r(N,null,D(m.backups,c=>(n(),r("div",{class:"card rounded-3 shadow-sm animate__animated",key:c.filename,onClick:()=>{h("select",c)},id:c.filename.replace(".conf",""),role:"button"},[e("div",ne,[e("small",null,[a[2]||(a[2]=e("i",{class:"bi bi-file-earmark me-2"},null,-1)),e("samp",null,y(c.filename),1)]),e("small",null,[a[3]||(a[3]=e("i",{class:"bi bi-clock-history me-2"},null,-1)),e("samp",null,y(W(X)(c.backupDate).format("YYYY-MM-DD HH:mm:ss")),1)]),e("small",null,[a[4]||(a[4]=e("i",{class:"bi bi-database me-2"},null,-1)),c.database?(n(),f(o,{key:0,t:"Yes"})):(n(),f(o,{key:1,t:"No"}))]),a[5]||(a[5]=e("small",{class:"text-muted ms-auto"},[e("i",{class:"bi bi-chevron-right"})],-1))])],8,le))),128))])):w("",!0)]))}},ie=E(ae,[["__scopeId","data-v-ccf48ac7"]]),re={class:"d-flex flex-column gap-5",id:"confirmBackup"},de={class:"d-flex flex-column gap-3"},ue={class:"d-flex flex-column flex-sm-row align-items-start align-items-sm-center gap-3"},ce={class:"mb-0"},me={class:"text-muted mb-1"},fe={class:"mb-0"},pe={class:"text-muted mb-1",for:"ConfigurationName"},ve={class:"invalid-feedback"},be={key:0},ge={key:1},_e={class:"mb-0"},ke={class:"row g-3"},ye={class:"col-sm"},he={class:"text-muted mb-1",for:"PrivateKey"},xe={class:"input-group"},Ce={class:"col-sm"},Pe={class:"text-muted mb-1",for:"PublicKey"},we={class:"text-muted mb-1",for:"ListenPort"},$e={class:"invalid-feedback"},Be={key:0},Ne={key:1},De={class:"mb-0"},Ae={class:"text-muted mb-1 d-flex",for:"ListenPort"},Ie={class:"invalid-feedback"},Le={key:0},Se={key:1},Ue={class:"accordion",id:"newConfigurationOptionalAccordion"},Ke={class:"accordion-item"},Re={class:"accordion-header"},Ve={class:"accordion-button collapsed rounded-3",type:"button","data-bs-toggle":"collapse","data-bs-target":"#newConfigurationOptionalAccordionCollapse"},Oe={id:"newConfigurationOptionalAccordionCollapse",class:"accordion-collapse collapse","data-bs-parent":"#newConfigurationOptionalAccordion"},Ee={class:"accordion-body d-flex flex-column gap-3"},Te={class:"text-muted mb-1",for:"PreUp"},qe={class:"text-muted mb-1",for:"PreDown"},je={class:"text-muted mb-1",for:"PostUp"},Me={class:"text-muted mb-1",for:"PostDown"},Ye={class:"d-flex flex-column gap-3"},We={class:"d-flex flex-column flex-sm-row align-items-start align-items-sm-center gap-3"},ze={class:"mb-0"},Fe={key:0},Ge={class:"row g-3"},He={class:"col-sm"},Ze={class:"card text-bg-success rounded-3"},Je={class:"card-body"},Qe={class:"col-sm"},Xe={class:"card text-bg-warning rounded-3"},et={class:"card-body"},tt={class:"d-flex"},st=["disabled"],ot={__name:"confirmBackup",props:{selectedConfigurationBackup:Object},setup(m){const u=m,t=z({ConfigurationName:u.selectedConfigurationBackup.filename.split("_")[0],Backup:u.selectedConfigurationBackup.filename,Protocol:u.selectedConfigurationBackup.protocol}),h=u.selectedConfigurationBackup.content.split(` `);for(let i of h){if(i==="[Peer]")break;if(i.length>0){let s=i.replace(" = ","=").split("=");s[0]==="ListenPort"?t[s[0]]=parseInt(s[1]):t[s[0]]=s[1]}}const p=k(!1),x=k(!1),a=k(""),c=F(),b=C(()=>/^[a-zA-Z0-9_=+.-]{1,15}$/.test(t.ConfigurationName)&&t.ConfigurationName.length>0&&!c.Configurations.find(i=>i.Name===t.ConfigurationName)),P=C(()=>{try{window.wireguard.generatePublicKey(t.PrivateKey)}catch{return!1}return!0}),I=C(()=>t.ListenPort>0&&t.ListenPort<=65353&&Number.isInteger(t.ListenPort)&&!c.Configurations.find(i=>parseInt(i.ListenPort)===t.ListenPort)),L=C(()=>{try{return O(t.Address),!0}catch{return!1}}),S=C(()=>L.value&&I.value&&P.value&&b.value);A(()=>{document.querySelector("main").scrollTo({top:0,behavior:"smooth"}),G(()=>P,i=>{i&&(t.PublicKey=window.wireguard.generatePublicKey(t.PrivateKey))},{immediate:!0})});const U=C(()=>{let i;try{i=O(t.Address)}catch{return 0}return i.end-i.start}),K=C(()=>u.selectedConfigurationBackup.database?u.selectedConfigurationBackup.databaseContent.split(` `).filter(s=>s.search(`INSERT INTO "${t.ConfigurationName}"`)>=0).length:0),R=C(()=>u.selectedConfigurationBackup.database?u.selectedConfigurationBackup.databaseContent.split(` `).filter(s=>s.search(`INSERT INTO "${t.ConfigurationName}_restrict_access"`)>=0).length:0),j=T(),M=H(),Y=async()=>{S.value&&(x.value=!0,await Z("/api/addWireguardConfiguration",t,async i=>{i.status?(j.newMessage("Server","Configuration restored","success"),await c.getConfigurations(),await M.push(`/configuration/${t.ConfigurationName}/peers`)):x.value=!1}))};return(i,s)=>(n(),r("div",re,[e("form",de,[e("div",ue,[e("h4",ce,[l(o,{t:"Configuration"})])]),e("div",null,[e("label",me,[e("small",null,[l(o,{t:"Protocol"})])]),e("h5",fe,[l(q,{protocol:m.selectedConfigurationBackup.protocol,mini:!0},null,8,["protocol"])])]),e("div",null,[e("label",pe,[e("small",null,[l(o,{t:"Configuration Name"})])]),g(e("input",{type:"text",class:v(["form-control rounded-3",[b.value?"is-valid":"is-invalid"]]),placeholder:"ex. wg1",id:"ConfigurationName","onUpdate:modelValue":s[0]||(s[0]=d=>t.ConfigurationName=d),disabled:"",required:""},null,2),[[_,t.ConfigurationName]]),e("div",ve,[p.value?(n(),r("div",be,y(a.value),1)):(n(),r("div",ge,[l(o,{t:"Configuration name is invalid. Possible reasons:"}),e("ul",_e,[e("li",null,[l(o,{t:"Configuration name already exist."})]),e("li",null,[l(o,{t:"Configuration name can only contain 15 lower/uppercase alphabet, numbers, underscore, equal sign, plus sign, period and hyphen."})])])]))])]),e("div",ke,[e("div",ye,[e("div",null,[e("label",he,[e("small",null,[l(o,{t:"Private Key"})])]),e("div",xe,[g(e("input",{type:"text",class:v(["form-control rounded-start-3",[P.value?"is-valid":"is-invalid"]]),id:"PrivateKey",required:"","onUpdate:modelValue":s[1]||(s[1]=d=>t.PrivateKey=d),disabled:""},null,2),[[_,t.PrivateKey]])])])]),e("div",Ce,[e("div",null,[e("label",Pe,[e("small",null,[l(o,{t:"Public Key"})])]),g(e("input",{type:"text",class:"form-control rounded-3",id:"PublicKey","onUpdate:modelValue":s[2]||(s[2]=d=>t.PublicKey=d),disabled:""},null,512),[[_,t.PublicKey]])])])]),e("div",null,[e("label",we,[e("small",null,[l(o,{t:"Listen Port"})])]),g(e("input",{type:"number",class:v(["form-control rounded-3",[I.value?"is-valid":"is-invalid"]]),placeholder:"0-65353",id:"ListenPort",min:"1",max:"65353","onUpdate:modelValue":s[3]||(s[3]=d=>t.ListenPort=d),disabled:"",required:""},null,2),[[_,t.ListenPort]]),e("div",$e,[p.value?(n(),r("div",Be,y(a.value),1)):(n(),r("div",Ne,[l(o,{t:"Listen Port is invalid. Possible reasons:"}),e("ul",De,[e("li",null,[l(o,{t:"Invalid port."})]),e("li",null,[l(o,{t:"Port is assigned to existing WireGuard Configuration."})])])]))])]),e("div",null,[e("label",Ae,[e("small",null,[l(o,{t:"IP Address/CIDR"})]),e("small",{class:v(["ms-auto",[U.value>0?"text-success":"text-danger"]])},[l(o,{t:U.value+" Available IP Address"},null,8,["t"])],2)]),g(e("input",{type:"text",class:v(["form-control",[L.value?"is-valid":"is-invalid"]]),placeholder:"Ex: 10.0.0.1/24",id:"Address","onUpdate:modelValue":s[4]||(s[4]=d=>t.Address=d),disabled:"",required:""},null,2),[[_,t.Address]]),e("div",Ie,[p.value?(n(),r("div",Le,y(a.value),1)):(n(),r("div",Se,[l(o,{t:"IP Address/CIDR is invalid"})]))])]),e("div",Ue,[e("div",Ke,[e("h2",Re,[e("button",Ve,[l(o,{t:"Optional Settings"})])]),e("div",Oe,[e("div",Ee,[e("div",null,[e("label",Te,[e("small",null,[l(o,{t:"PreUp"})])]),g(e("input",{type:"text",class:"form-control rounded-3",id:"PreUp",disabled:"","onUpdate:modelValue":s[5]||(s[5]=d=>t.PreUp=d)},null,512),[[_,t.PreUp]])]),e("div",null,[e("label",qe,[e("small",null,[l(o,{t:"PreDown"})])]),g(e("input",{type:"text",class:"form-control rounded-3",id:"PreDown",disabled:"","onUpdate:modelValue":s[6]||(s[6]=d=>t.PreDown=d)},null,512),[[_,t.PreDown]])]),e("div",null,[e("label",je,[e("small",null,[l(o,{t:"PostUp"})])]),g(e("input",{type:"text",class:"form-control rounded-3",id:"PostUp",disabled:"","onUpdate:modelValue":s[7]||(s[7]=d=>t.PostUp=d)},null,512),[[_,t.PostUp]])]),e("div",null,[e("label",Me,[e("small",null,[l(o,{t:"PostDown"})])]),g(e("input",{type:"text",class:"form-control rounded-3",id:"PostDown",disabled:"","onUpdate:modelValue":s[8]||(s[8]=d=>t.PostDown=d)},null,512),[[_,t.PostDown]])])])])])])]),e("div",Ye,[e("div",We,[e("h4",ze,[l(o,{t:"Database File"})]),e("h4",{class:v(["mb-0 ms-auto",[m.selectedConfigurationBackup.database?"text-success":"text-danger"]])},[e("i",{class:v(["bi",[m.selectedConfigurationBackup.database?"bi-check-circle-fill":"bi-x-circle-fill"]])},null,2)],2)]),m.selectedConfigurationBackup.database?(n(),r("div",Fe,[e("div",Ge,[e("div",He,[e("div",Ze,[e("div",Je,[s[10]||(s[10]=e("i",{class:"bi bi-person-fill me-2"},null,-1)),l(o,{t:"Contain"}),s[11]||(s[11]=$()),e("strong",null,y(K.value),1),s[12]||(s[12]=$()),K.value>1?(n(),f(o,{key:0,t:"Peer"})):(n(),f(o,{key:1,t:"Peer"}))])])]),e("div",Qe,[e("div",Xe,[e("div",et,[s[13]||(s[13]=e("i",{class:"bi bi-person-fill-lock me-2"},null,-1)),l(o,{t:"Contain"}),s[14]||(s[14]=$()),e("strong",null,y(R.value),1),s[15]||(s[15]=$()),R.value>1?(n(),f(o,{key:0,t:"Restricted Peers"})):(n(),f(o,{key:1,t:"Restricted Peers"}))])])])])])):w("",!0)]),e("div",tt,[e("button",{class:"btn btn-dark btn-brand rounded-3 px-3 py-2 shadow ms-auto",disabled:!S.value||x.value,onClick:s[9]||(s[9]=d=>Y())},[s[16]||(s[16]=e("i",{class:"bi bi-clock-history me-2"},null,-1)),l(o,{t:x.value?"Restoring...":"Restore"},null,8,["t"])],8,st)])]))}},lt={class:"mt-md-5 mt-3 text-body"},nt={class:"container mb-4"},at={class:"mb-5 d-flex align-items-center gap-4"},it={class:"mb-0"},rt={key:0},dt={class:"d-flex text-decoration-none text-body flex-grow-1 align-items-center gap-3"},ut={class:"mb-0"},ct={class:"text-muted"},mt={key:0,class:"ms-sm-auto"},ft={class:"text-muted"},pt={key:0,id:"step1Detail"},vt={class:"mb-4"},bt={class:"d-flex gap-3 flex-column"},gt={key:0},_t={class:"card rounded-3"},kt={class:"card-body"},yt={class:"mb-0"},ht={class:"my-5",key:"step2",id:"step2"},xt={class:"text-muted"},Ct={__name:"restoreConfiguration",setup(m){const u=k(void 0);T(),k(!1),A(()=>{J("/api/getAllWireguardConfigurationBackup",{},x=>{u.value=x.data})});const t=k(!1),h=k(void 0),p=k("");return(x,a)=>{const c=Q("RouterLink");return n(),r("div",lt,[e("div",nt,[e("div",at,[l(c,{to:"/",class:"btn btn-dark btn-brand p-2 shadow",style:{"border-radius":"100%"}},{default:B(()=>a[1]||(a[1]=[e("h2",{class:"mb-0",style:{"line-height":"0"}},[e("i",{class:"bi bi-arrow-left-circle"})],-1)])),_:1,__:[1]}),e("h2",it,[l(o,{t:"Restore Configuration"})])]),l(V,{name:"fade",appear:""},{default:B(()=>[u.value?(n(),r("div",rt,[e("div",{class:v(["d-flex mb-5 align-items-center steps",{active:!t.value}]),role:"button",onClick:a[0]||(a[0]=b=>t.value=!1),key:"step1"},[e("div",dt,[a[2]||(a[2]=e("h1",{class:"mb-0",style:{"line-height":"0"}},[e("i",{class:"bi bi-1-circle-fill"})],-1)),e("div",null,[e("h4",ut,[l(o,{t:"Step 1"})]),e("small",ct,[t.value?(n(),f(o,{key:1,t:"Click to change a backup"})):(n(),f(o,{key:0,t:"Select a backup you want to restore"}))])])]),l(V,{name:"zoomReversed"},{default:B(()=>[t.value?(n(),r("div",mt,[e("small",ft,[l(o,{t:"Selected Backup"})]),e("h6",null,[e("samp",null,y(h.value.filename),1)])])):w("",!0)]),_:1})],2),t.value?w("",!0):(n(),r("div",pt,[e("div",vt,[e("div",bt,[(n(!0),r(N,null,D(Object.keys(u.value.NonExistingConfigurations),b=>(n(),f(ie,{onSelect:P=>{h.value=P,p.value=b,t.value=!0},selectedConfigurationBackup:h.value,open:p.value===b,protocol:[...new Set(u.value.NonExistingConfigurations[b].map(P=>P.protocol))],"configuration-name":b,backups:u.value.NonExistingConfigurations[b]},null,8,["onSelect","selectedConfigurationBackup","open","protocol","configuration-name","backups"]))),256)),Object.keys(u.value.NonExistingConfigurations).length===0?(n(),r("div",gt,[e("div",_t,[e("div",kt,[e("p",yt,[l(o,{t:"You don't have any configuration to restore"})])])])])):w("",!0)])])])),e("div",ht,[e("div",{class:v(["steps d-flex text-decoration-none text-body flex-grow-1 align-items-center gap-3",{active:t.value}])},[a[4]||(a[4]=e("h1",{class:"mb-0",style:{"line-height":"0"}},[e("i",{class:"bi bi-2-circle-fill"})],-1)),e("div",null,[a[3]||(a[3]=e("h4",{class:"mb-0"},"Step 2",-1)),e("small",xt,[t.value?(n(),f(o,{key:1,t:"Confirm & edit restore information"})):(n(),f(o,{key:0,t:"Backup not selected"}))])])],2)]),t.value?(n(),f(ot,{selectedConfigurationBackup:h.value,key:"confirm"},null,8,["selectedConfigurationBackup"])):w("",!0)])):w("",!0)]),_:1})])])}}},Dt=E(Ct,[["__scopeId","data-v-324df2b1"]]);export{Dt as default}; diff --git a/src/static/app/dist/assets/restoreConfiguration-Go8Q_2zy.css b/src/static/dist/WGDashboardAdmin/assets/restoreConfiguration-Go8Q_2zy.css similarity index 100% rename from src/static/app/dist/assets/restoreConfiguration-Go8Q_2zy.css rename to src/static/dist/WGDashboardAdmin/assets/restoreConfiguration-Go8Q_2zy.css diff --git a/src/static/app/dist/assets/settings-CfX7xCKW.css b/src/static/dist/WGDashboardAdmin/assets/settings-CfX7xCKW.css similarity index 100% rename from src/static/app/dist/assets/settings-CfX7xCKW.css rename to src/static/dist/WGDashboardAdmin/assets/settings-CfX7xCKW.css diff --git a/src/static/app/dist/assets/settings-DaewGhaX.js b/src/static/dist/WGDashboardAdmin/assets/settings-DKCR2haZ.js similarity index 99% rename from src/static/app/dist/assets/settings-DaewGhaX.js rename to src/static/dist/WGDashboardAdmin/assets/settings-DKCR2haZ.js index f0bbbf9f..ca1f6735 100644 --- a/src/static/app/dist/assets/settings-DaewGhaX.js +++ b/src/static/dist/WGDashboardAdmin/assets/settings-DKCR2haZ.js @@ -1 +1 @@ -import{_ as k,z as v,D as y,A as I,c as l,a as t,m as b,d as _,b as i,h as m,y as f,n as $,t as D,f as n,W as M,e as S,v as L,j as x,F as P,g as E,w as F,T as j,k as U,i as K,r as T,q as z,o as O,u as w,B as q}from"./index-BiMgJckX.js";import{L as p}from"./localeText-IWgb3jjT.js";import{d as A}from"./dayjs.min-DfzgISij.js";import{Q}from"./vue-datepicker-COurIrvQ.js";const J={components:{LocaleText:p},props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const s=y(),e=`input_${I()}`;return{store:s,uuid:e}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Peers[this.targetData]},methods:{async useValidation(){this.changed&&await v("/api/updateDashboardConfigurationItem",{section:"Peers",key:this.targetData,value:this.value},s=>{s.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Peers[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=s.message),this.changed=!1,this.updating=!1})}}},X={class:"form-group mb-2"},Z=["for"],tt=["id","disabled"],et={class:"invalid-feedback"},st={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1"};function at(s,e,c,h,u,g){const o=m("LocaleText");return n(),l("div",X,[t("label",{for:this.uuid,class:"text-muted mb-1"},[t("strong",null,[t("small",null,[i(o,{t:this.title},null,8,["t"])])])],8,Z),b(t("input",{type:"text",class:$(["form-control",{"is-invalid":u.showInvalidFeedback,"is-valid":u.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=a=>this.value=a),onKeydown:e[1]||(e[1]=a=>this.changed=!0),onBlur:e[2]||(e[2]=a=>g.useValidation()),disabled:this.updating},null,42,tt),[[f,this.value]]),t("div",et,D(this.invalidFeedback),1),c.warning?(n(),l("div",st,[t("small",null,[e[3]||(e[3]=t("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1)),i(o,{t:c.warningText},null,8,["t"])])])):_("",!0)])}const it=k(J,[["render",at]]),ot={name:"accountSettingsInputUsername",components:{LocaleText:p},props:{targetData:String,title:String},setup(){const s=y(),e=`input_${I()}`;return{store:s,uuid:e}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Account[this.targetData]},methods:{async useValidation(s){this.changed&&(this.updating=!0,await v("/api/updateDashboardConfigurationItem",{section:"Account",key:this.targetData,value:this.value},e=>{e.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=e.message),this.changed=!1,this.updating=!1}))}}},nt={class:"form-group mb-2"},lt=["for"],dt=["id","disabled"],rt={class:"invalid-feedback"};function ut(s,e,c,h,u,g){const o=m("LocaleText");return n(),l("div",nt,[t("label",{for:this.uuid,class:"text-muted mb-1"},[t("strong",null,[t("small",null,[i(o,{t:this.title},null,8,["t"])])])],8,lt),b(t("input",{type:"text",class:$(["form-control",{"is-invalid":u.showInvalidFeedback,"is-valid":u.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=a=>this.value=a),onKeydown:e[1]||(e[1]=a=>this.changed=!0),onBlur:e[2]||(e[2]=a=>g.useValidation()),disabled:this.updating},null,42,dt),[[f,this.value]]),t("div",rt,D(this.invalidFeedback),1)])}const ct=k(ot,[["render",ut]]),ht={name:"accountSettingsInputPassword",components:{LocaleText:p},props:{targetData:String,warning:!1,warningText:""},setup(){const s=y(),e=`input_${I()}`;return{store:s,uuid:e}},data(){return{value:{currentPassword:"",newPassword:"",repeatNewPassword:""},invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0}},methods:{async useValidation(){Object.values(this.value).find(s=>s.length===0)===void 0?this.value.newPassword===this.value.repeatNewPassword?await v("/api/updateDashboardConfigurationItem",{section:"Account",key:this.targetData,value:this.value},s=>{s.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.isValid=!1,this.value={currentPassword:"",newPassword:"",repeatNewPassword:""}},5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=s.message)}):(this.showInvalidFeedback=!0,this.invalidFeedback="New passwords does not match"):(this.showInvalidFeedback=!0,this.invalidFeedback="Please fill in all required fields.")}},computed:{passwordValid(){return Object.values(this.value).find(s=>s.length===0)===void 0&&this.value.newPassword===this.value.repeatNewPassword}}},mt={class:"d-flex flex-column gap-2"},pt={class:"row g-2"},gt={class:"col-sm"},bt={class:"form-group"},_t=["for"],ft=["id"],vt={key:0,class:"invalid-feedback d-block"},yt={class:"col-sm"},wt={class:"form-group"},$t=["for"],kt=["id"],xt={class:"col-sm"},Dt={class:"form-group"},St=["for"],It=["id"],Pt=["disabled"];function Ct(s,e,c,h,u,g){const o=m("LocaleText");return n(),l("form",mt,[t("div",pt,[t("div",gt,[t("div",bt,[t("label",{for:"currentPassword_"+this.uuid,class:"text-muted mb-1"},[t("strong",null,[t("small",null,[i(o,{t:"Current Password"})])])],8,_t),b(t("input",{type:"password",class:$(["form-control",{"is-invalid":u.showInvalidFeedback,"is-valid":u.isValid}]),autocomplete:"current-password","onUpdate:modelValue":e[0]||(e[0]=a=>this.value.currentPassword=a),id:"currentPassword_"+this.uuid},null,10,ft),[[f,this.value.currentPassword]]),u.showInvalidFeedback?(n(),l("div",vt,D(this.invalidFeedback),1)):_("",!0)])]),t("div",yt,[t("div",wt,[t("label",{for:"newPassword_"+this.uuid,class:"text-muted mb-1"},[t("strong",null,[t("small",null,[i(o,{t:"New Password"})])])],8,$t),b(t("input",{type:"password",class:$(["form-control",{"is-invalid":u.showInvalidFeedback,"is-valid":u.isValid}]),autocomplete:"new-password","onUpdate:modelValue":e[1]||(e[1]=a=>this.value.newPassword=a),id:"newPassword_"+this.uuid},null,10,kt),[[f,this.value.newPassword]])])]),t("div",xt,[t("div",Dt,[t("label",{for:"repeatNewPassword_"+this.uuid,class:"text-muted mb-1"},[t("strong",null,[t("small",null,[i(o,{t:"Repeat New Password"})])])],8,St),b(t("input",{type:"password",class:$(["form-control",{"is-invalid":u.showInvalidFeedback,"is-valid":u.isValid}]),autocomplete:"new-password","onUpdate:modelValue":e[2]||(e[2]=a=>this.value.repeatNewPassword=a),id:"repeatNewPassword_"+this.uuid},null,10,It),[[f,this.value.repeatNewPassword]])])])]),t("button",{disabled:!this.passwordValid,class:"ms-auto btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm",onClick:e[3]||(e[3]=a=>this.useValidation())},[e[4]||(e[4]=t("i",{class:"bi bi-save2-fill me-2"},null,-1)),i(o,{t:"Update Password"})],8,Pt)])}const At=k(ht,[["render",Ct]]),Tt={name:"dashboardSettingsInputWireguardConfigurationPath",components:{LocaleText:p},props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const s=y(),e=M(),c=`input_${I()}`;return{store:s,uuid:c,WireguardConfigurationStore:e}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Server[this.targetData]},methods:{async useValidation(){this.changed&&(this.updating=!0,await v("/api/updateDashboardConfigurationItem",{section:"Server",key:this.targetData,value:this.value},s=>{s.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3),this.WireguardConfigurationStore.getConfigurations(),this.store.newMessage("Server","WireGuard configuration path saved","success")):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=s.message),this.changed=!1,this.updating=!1}))}}},Kt={class:"card"},Vt={class:"card-header"},Ft={class:"my-2"},Lt={class:"card-body"},Et={class:"form-group"},Mt=["for"],Ut={class:"d-flex gap-2 align-items-start"},Nt={class:"flex-grow-1"},Wt=["id","disabled"],Gt={class:"invalid-feedback fw-bold"},Yt=["disabled"],Rt={key:0,class:"bi bi-save2-fill"},Ht={key:1,class:"spinner-border spinner-border-sm"},Bt={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1 mb-2"};function jt(s,e,c,h,u,g){const o=m("LocaleText");return n(),l("div",Kt,[t("div",Vt,[t("h6",Ft,[i(o,{t:"Path"})])]),t("div",Lt,[t("div",Et,[t("label",{for:this.uuid,class:"text-muted mb-1"},[t("strong",null,[t("small",null,[i(o,{t:this.title},null,8,["t"])])])],8,Mt),t("div",Ut,[t("div",Nt,[b(t("input",{type:"text",class:$(["form-control rounded-3",{"is-invalid":this.showInvalidFeedback,"is-valid":this.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=a=>this.value=a),onKeydown:e[1]||(e[1]=a=>this.changed=!0),disabled:this.updating},null,42,Wt),[[f,this.value]]),t("div",Gt,D(this.invalidFeedback),1)]),t("button",{onClick:e[2]||(e[2]=a=>this.useValidation()),disabled:!this.changed,class:"ms-auto btn rounded-3 border-success-subtle bg-success-subtle text-success-emphasis"},[this.updating?(n(),l("span",Ht)):(n(),l("i",Rt))],8,Yt)]),c.warning?(n(),l("div",Bt,[t("small",null,[e[3]||(e[3]=t("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1)),i(o,{t:c.warningText},null,8,["t"])])])):_("",!0)])])])}const zt=k(Tt,[["render",jt]]),Ot={name:"dashboardTheme",components:{LocaleText:p},setup(){return{dashboardConfigurationStore:y()}},methods:{async switchTheme(s){await v("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_theme",value:s},e=>{e.status&&(this.dashboardConfigurationStore.Configuration.Server.dashboard_theme=s)})}}},qt={class:"text-muted mb-1 d-block"},Qt={class:"d-flex gap-1"};function Jt(s,e,c,h,u,g){const o=m("LocaleText");return n(),l("div",null,[t("small",qt,[t("strong",null,[i(o,{t:"Theme"})])]),t("div",Qt,[t("button",{class:$(["btn bg-primary-subtle text-primary-emphasis flex-grow-1",{active:this.dashboardConfigurationStore.Configuration.Server.dashboard_theme==="light"}]),onClick:e[0]||(e[0]=a=>this.switchTheme("light"))},[e[2]||(e[2]=t("i",{class:"bi bi-sun-fill me-2"},null,-1)),i(o,{t:"Light"})],2),t("button",{class:$(["btn bg-primary-subtle text-primary-emphasis flex-grow-1",{active:this.dashboardConfigurationStore.Configuration.Server.dashboard_theme==="dark"}]),onClick:e[1]||(e[1]=a=>this.switchTheme("dark"))},[e[3]||(e[3]=t("i",{class:"bi bi-moon-fill me-2"},null,-1)),i(o,{t:"Dark"})],2)])])}const Xt=k(Ot,[["render",Jt]]),Zt={name:"dashboardSettingsInputIPAddressAndPort",props:{},setup(){const s=y(),e=`input_${I()}`;return{store:s,uuid:e}},data(){return{app_ip:"",app_port:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.app_ip=this.store.Configuration.Server.app_ip,this.app_port=this.store.Configuration.Server.app_port},methods:{async useValidation(){this.changed&&await v("/api/updateDashboardConfigurationItem",{section:"Server",key:this.targetData,value:this.value},s=>{s.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=s.message)})}}},te={class:"invalid-feedback d-block mt-0"},ee={class:"row"},se={class:"form-group mb-2 col-sm"},ae=["for"],ie=["id"],oe={class:"form-group col-sm"},ne=["for"],le=["id"];function de(s,e,c,h,u,g){return n(),l("div",null,[t("div",te,D(this.invalidFeedback),1),t("div",ee,[t("div",se,[t("label",{for:"app_ip_"+this.uuid,class:"text-muted mb-1"},e[2]||(e[2]=[t("strong",null,[t("small",null,"Dashboard IP Address")],-1)]),8,ae),b(t("input",{type:"text",class:"form-control mb-2",id:"app_ip_"+this.uuid,"onUpdate:modelValue":e[0]||(e[0]=o=>this.app_ip=o)},null,8,ie),[[f,this.app_ip]]),e[3]||(e[3]=t("div",{class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block"},[t("small",null,[t("i",{class:"bi bi-exclamation-triangle-fill me-2"}),t("code",null,"0.0.0.0"),S(" means it can be access by anyone with your server IP Address.")])],-1))]),t("div",oe,[t("label",{for:"app_port_"+this.uuid,class:"text-muted mb-1"},e[4]||(e[4]=[t("strong",null,[t("small",null,"Dashboard Port")],-1)]),8,ne),b(t("input",{type:"text",class:"form-control mb-2",id:"app_port_"+this.uuid,"onUpdate:modelValue":e[1]||(e[1]=o=>this.app_port=o)},null,8,le),[[f,this.app_port]])])]),e[5]||(e[5]=t("button",{class:"btn btn-success btn-sm fw-bold rounded-3"},[t("i",{class:"bi bi-floppy-fill me-2"}),S("Update Dashboard Settings & Restart ")],-1))])}const re=k(Zt,[["render",de]]),ue={name:"newDashboardAPIKey",components:{LocaleText:p,VueDatePicker:Q},data(){return{newKeyData:{ExpiredAt:A().add(7,"d").format("YYYY-MM-DD HH:mm:ss"),NeverExpire:!1},submitting:!1}},setup(){return{store:y()}},mounted(){console.log(this.newKeyData.ExpiredAt)},methods:{submitNewAPIKey(){this.submitting=!0,v("/api/newDashboardAPIKey",this.newKeyData,s=>{s.status?(this.$emit("created",s.data),this.store.newMessage("Server","API Key created","success"),this.$emit("close")):this.store.newMessage("Server",s.message,"danger"),this.submitting=!1})},fixDate(s){return console.log(A(s).format("YYYY-MM-DDTHH:mm:ss")),A(s).format("YYYY-MM-DDTHH:mm:ss")},parseTime(s){s?this.newKeyData.ExpiredAt=A(s).format("YYYY-MM-DD HH:mm:ss"):this.newKeyData.ExpiredAt=void 0}}},ce={class:"position-absolute w-100 h-100 top-0 start-0 rounded-bottom-3 p-3 d-flex",style:{"background-color":"#00000060","backdrop-filter":"blur(3px)"}},he={class:"card m-auto rounded-3 mt-5"},me={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},pe={class:"mb-0"},ge={class:"card-body d-flex gap-2 p-4 flex-column"},be={class:"text-muted"},_e={class:"d-flex align-items-center gap-2"},fe={class:"form-check"},ve=["disabled"],ye={class:"form-check-label",for:"neverExpire"},we={key:0,class:"bi bi-check-lg me-2"};function $e(s,e,c,h,u,g){const o=m("LocaleText"),a=m("VueDatePicker");return n(),l("div",ce,[t("div",he,[t("div",me,[t("h6",pe,[i(o,{t:"Create API Key"})]),t("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=r=>this.$emit("close"))})]),t("div",ge,[t("small",be,[i(o,{t:"When should this API Key expire?"})]),t("div",_e,[i(a,{is24:!0,"min-date":new Date,"model-value":this.newKeyData.ExpiredAt,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",clearable:!1,disabled:this.newKeyData.NeverExpire||this.submitting,dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","disabled","dark"])]),t("div",fe,[b(t("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[1]||(e[1]=r=>this.newKeyData.NeverExpire=r),id:"neverExpire",disabled:this.submitting},null,8,ve),[[L,this.newKeyData.NeverExpire]]),t("label",ye,[i(o,{t:"Never Expire"}),e[3]||(e[3]=S(" (")),e[4]||(e[4]=t("i",{class:"bi bi-emoji-grimace-fill me-2"},null,-1)),i(o,{t:"Don't think that's a good idea"}),e[5]||(e[5]=S(") "))])]),t("button",{class:$(["ms-auto btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm",{disabled:this.submitting}]),onClick:e[2]||(e[2]=r=>this.submitNewAPIKey())},[this.submitting?_("",!0):(n(),l("i",we)),this.submitting?(n(),x(o,{key:1,t:"Creating..."})):(n(),x(o,{key:2,t:"Create"}))],2)])])])}const ke=k(ue,[["render",$e]]),xe={name:"dashboardAPIKey",components:{LocaleText:p},props:{apiKey:Object},setup(){return{store:y()}},data(){return{confirmDelete:!1}},methods:{deleteAPIKey(){v("/api/deleteDashboardAPIKey",{Key:this.apiKey.Key},s=>{s.status?(this.$emit("deleted",s.data),this.store.newMessage("Server","API Key deleted","success")):this.store.newMessage("Server",s.message,"danger")})}}},De={class:"card rounded-3 shadow-sm"},Se={key:0,class:"card-body d-flex gap-3 align-items-center apiKey-card-body"},Ie={class:"d-flex align-items-center gap-2"},Pe={class:"text-muted"},Ce={style:{"word-break":"break-all"}},Ae={class:"d-flex align-items-center gap-2 ms-auto"},Te={class:"text-muted"},Ke={key:0,class:"card-body d-flex gap-3 align-items-center justify-content-end"};function Ve(s,e,c,h,u,g){const o=m("LocaleText");return n(),l("div",De,[this.confirmDelete?(n(),l(P,{key:1},[this.store.getActiveCrossServer()?_("",!0):(n(),l("div",Ke,[i(o,{t:"Are you sure to delete this API key?"}),t("a",{role:"button",class:"btn btn-sm bg-success-subtle text-success-emphasis rounded-3",onClick:e[1]||(e[1]=a=>this.deleteAPIKey())},e[4]||(e[4]=[t("i",{class:"bi bi-check-lg"},null,-1)])),t("a",{role:"button",class:"btn btn-sm bg-secondary-subtle text-secondary-emphasis rounded-3",onClick:e[2]||(e[2]=a=>this.confirmDelete=!1)},e[5]||(e[5]=[t("i",{class:"bi bi-x-lg"},null,-1)]))]))],64)):(n(),l("div",Se,[t("div",Ie,[t("small",Pe,[i(o,{t:"Key"})]),t("span",Ce,D(this.apiKey.Key),1)]),t("div",Ae,[t("small",Te,[i(o,{t:"Expire At"})]),this.apiKey.ExpiredAt?_("",!0):(n(),x(o,{key:0,t:"Never Expire"})),t("span",null,D(this.apiKey.ExpiredAt),1)]),this.store.getActiveCrossServer()?_("",!0):(n(),l("a",{key:0,role:"button",class:"btn btn-sm bg-danger-subtle text-danger-emphasis rounded-3",onClick:e[0]||(e[0]=a=>this.confirmDelete=!0)},e[3]||(e[3]=[t("i",{class:"bi bi-trash-fill"},null,-1)])))]))])}const Fe=k(xe,[["render",Ve],["__scopeId","data-v-a76253c8"]]),Le={name:"dashboardAPIKeys",components:{LocaleText:p,DashboardAPIKey:Fe,NewDashboardAPIKey:ke},setup(){return{store:y()}},data(){return{value:this.store.Configuration.Server.dashboard_api_key,apiKeys:[],newDashboardAPIKey:!1}},methods:{async toggleDashboardAPIKeys(){await v("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_api_key",value:this.value},s=>{s.status?(this.store.Configuration.Peers[this.targetData]=this.value,this.store.newMessage("Server",`API Keys function is successfully ${this.value?"enabled":"disabled"}`,"success")):(this.value=this.store.Configuration.Peers[this.targetData],this.store.newMessage("Server",`API Keys function is failed to ${this.value?"enabled":"disabled"}`,"danger"))})}},watch:{value:{immediate:!0,handler(s){s?E("/api/getDashboardAPIKeys",{},e=>{e.status?this.apiKeys=e.data:(this.apiKeys=[],this.store.newMessage("Server",e.message,"danger"))}):this.apiKeys=[]}}}},Ee={class:"card rounded-3"},Me={class:"my-2"},Ue={key:0,class:"form-check form-switch ms-auto"},Ne={class:"form-check-label",for:"allowAPIKeysSwitch"},We={key:0,class:"card-body position-relative d-flex flex-column gap-2"},Ge={key:1,class:"card",style:{height:"300px"}},Ye={class:"card-body d-flex text-muted"},Re={class:"m-auto"},He={key:2,class:"d-flex flex-column gap-2 position-relative",style:{"min-height":"300px"}};function Be(s,e,c,h,u,g){const o=m("LocaleText"),a=m("DashboardAPIKey"),r=m("NewDashboardAPIKey");return n(),l("div",Ee,[t("div",{class:$(["card-header d-flex align-items-center",{"border-bottom-0 rounded-3":!this.value}])},[t("h6",Me,[i(o,{t:"API Keys"})]),this.store.getActiveCrossServer()?_("",!0):(n(),l("div",Ue,[b(t("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=d=>this.value=d),onChange:e[1]||(e[1]=d=>this.toggleDashboardAPIKeys()),role:"switch",id:"allowAPIKeysSwitch"},null,544),[[L,this.value]]),t("label",Ne,[this.value?(n(),x(o,{key:0,t:"Enabled"})):(n(),x(o,{key:1,t:"Disabled"}))])]))],2),this.value?(n(),l("div",We,[this.store.getActiveCrossServer()?_("",!0):(n(),l("button",{key:0,class:"btn bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle rounded-3 shadow-sm",onClick:e[2]||(e[2]=d=>this.newDashboardAPIKey=!0)},[e[6]||(e[6]=t("i",{class:"bi bi-plus-circle-fill me-2"},null,-1)),i(o,{t:"API Key"})])),this.apiKeys.length===0?(n(),l("div",Ge,[t("div",Ye,[t("span",Re,[i(o,{t:"No WGDashboard API Key"})])])])):(n(),l("div",He,[i(j,{name:"apiKey"},{default:F(()=>[(n(!0),l(P,null,K(this.apiKeys,d=>(n(),x(a,{apiKey:d,key:d.Key,onDeleted:e[3]||(e[3]=C=>this.apiKeys=C)},null,8,["apiKey"]))),128))]),_:1})])),i(U,{name:"zoomReversed"},{default:F(()=>[this.newDashboardAPIKey?(n(),x(r,{key:0,onCreated:e[4]||(e[4]=d=>this.apiKeys=d),onClose:e[5]||(e[5]=d=>this.newDashboardAPIKey=!1)})):_("",!0)]),_:1})])):_("",!0)])}const je=k(Le,[["render",Be],["__scopeId","data-v-100ee9f9"]]),ze={name:"accountSettingsMFA",components:{LocaleText:p},setup(){const s=y(),e=`input_${I()}`;return{store:s,uuid:e}},data(){return{status:!1}},mounted(){this.status=this.store.Configuration.Account.enable_totp},methods:{async resetMFA(){await v("/api/updateDashboardConfigurationItem",{section:"Account",key:"totp_verified",value:"false"},async s=>{await v("/api/updateDashboardConfigurationItem",{section:"Account",key:"enable_totp",value:"false"},e=>{e.status&&this.$router.push("/2FASetup")})})}}},Oe={class:"d-flex align-items-center"},qe={class:"form-check form-switch"},Qe={for:"allowMFAKeysSwitch"};function Je(s,e,c,h,u,g){const o=m("LocaleText");return n(),l("div",null,[t("div",Oe,[t("div",qe,[b(t("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=a=>this.status=a),role:"switch",id:"allowMFAKeysSwitch"},null,512),[[L,this.status]]),t("label",Qe,[this.status?(n(),x(o,{key:0,t:"Enabled"})):(n(),x(o,{key:1,t:"Disabled"}))])]),this.status?(n(),l("button",{key:0,class:"btn bg-warning-subtle text-warning-emphasis border-1 border-warning-subtle ms-auto rounded-3 shadow-sm",onClick:e[1]||(e[1]=a=>this.resetMFA())},[e[2]||(e[2]=t("i",{class:"bi bi-shield-lock-fill me-2"},null,-1)),this.store.Configuration.Account.totp_verified?(n(),x(o,{key:0,t:"Reset"})):(n(),x(o,{key:1,t:"Setup"})),e[3]||(e[3]=S(" MFA "))])):_("",!0)])])}const Xe=k(ze,[["render",Je]]),Ze={name:"dashboardLanguage",components:{LocaleText:p},setup(){return{store:y()}},data(){return{languages:void 0}},mounted(){E("/api/locale/available",{},s=>{this.languages=s.data})},methods:{changeLanguage(s){v("/api/locale/update",{lang_id:s},e=>{e.status?(this.store.Configuration.Server.dashboard_language=s,this.store.Locale=e.data):this.store.newMessage("Server","WGDashboard language update failed","danger")})}},computed:{currentLanguage(){let s=this.store.Configuration.Server.dashboard_language;return this.languages.find(e=>e.lang_id===s)}}},ts={class:"text-muted d-block mb-1"},es={class:"d-flex gap-2"},ss={class:"dropdown w-100"},as=["disabled"],is={key:1},os={class:"dropdown-menu rounded-3 shadow",style:{"max-height":"500px","overflow-y":"scroll"}},ns=["onClick"],ls={class:"me-auto mb-0"},ds={class:"d-block",style:{"font-size":"0.8rem"}},rs={key:0,class:"bi bi-check text-primary fs-5"};function us(s,e,c,h,u,g){const o=m("LocaleText");return n(),l("div",null,[t("small",ts,[t("strong",null,[i(o,{t:"Language"})])]),t("div",es,[t("div",ss,[t("button",{class:"btn bg-primary-subtle text-primary-emphasis dropdown-toggle w-100 rounded-3",disabled:!this.languages,type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[this.languages?(n(),l("span",is,D(g.currentLanguage?.lang_name_localized),1)):(n(),x(o,{key:0,t:"Loading..."}))],8,as),t("ul",os,[(n(!0),l(P,null,K(this.languages,a=>(n(),l("li",null,[t("a",{class:"dropdown-item d-flex align-items-center",role:"button",onClick:r=>this.changeLanguage(a.lang_id)},[t("p",ls,[S(D(a.lang_name_localized)+" ",1),t("small",ds,D(a.lang_name),1)]),g.currentLanguage?.lang_id===a.lang_id?(n(),l("i",rs)):_("",!0)],8,ns)]))),256))])])])])}const cs=k(Ze,[["render",us],["__scopeId","data-v-4e34593e"]]),hs={name:"dashboardIPPortInput",components:{LocaleText:p},setup(){return{store:y()}},data(){return{ipAddress:"",port:0,invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.ipAddress=this.store.Configuration.Server.app_ip,this.port=this.store.Configuration.Server.app_port},methods:{async useValidation(s,e,c){this.changed&&(this.updating=!0,await v("/api/updateDashboardConfigurationItem",{section:"Server",key:e,value:c},h=>{h.status?(s.target.classList.add("is-valid"),this.showInvalidFeedback=!1,this.store.Configuration.Server[e]=c,clearTimeout(this.timeout),this.timeout=setTimeout(()=>{s.target.classList.remove("is-valid")},5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=h.message),this.changed=!1,this.updating=!1}))}}},ms={class:"row g-2"},ps={class:"col-sm"},gs={class:"form-group"},bs={for:"input_dashboard_ip",class:"text-muted mb-1"},_s=["disabled"],fs={class:"invalid-feedback"},vs={class:"col-sm"},ys={class:"form-group"},ws={for:"input_dashboard_ip",class:"text-muted mb-1"},$s=["disabled"],ks={class:"invalid-feedback"},xs={class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mb-2 mt-2"};function Ds(s,e,c,h,u,g){const o=m("LocaleText");return n(),l("div",null,[t("div",ms,[t("div",ps,[t("div",gs,[t("label",bs,[t("strong",null,[t("small",null,[i(o,{t:"IP Address / Hostname"})])])]),b(t("input",{type:"text",class:$(["form-control",{"is-invalid":u.showInvalidFeedback,"is-valid":u.isValid}]),id:"input_dashboard_ip","onUpdate:modelValue":e[0]||(e[0]=a=>this.ipAddress=a),onKeydown:e[1]||(e[1]=a=>this.changed=!0),onBlur:e[2]||(e[2]=a=>g.useValidation(a,"app_ip",this.ipAddress)),disabled:this.updating},null,42,_s),[[f,this.ipAddress]]),t("div",fs,D(this.invalidFeedback),1)])]),t("div",vs,[t("div",ys,[t("label",ws,[t("strong",null,[t("small",null,[i(o,{t:"Listen Port"})])])]),b(t("input",{type:"number",class:$(["form-control",{"is-invalid":u.showInvalidFeedback,"is-valid":u.isValid}]),id:"input_dashboard_ip","onUpdate:modelValue":e[3]||(e[3]=a=>this.port=a),onKeydown:e[4]||(e[4]=a=>this.changed=!0),onBlur:e[5]||(e[5]=a=>g.useValidation(a,"app_port",this.port)),disabled:this.updating},null,42,$s),[[f,this.port]]),t("div",ks,D(this.invalidFeedback),1)])])]),t("div",xs,[t("small",null,[e[6]||(e[6]=t("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1)),i(o,{t:"Manual restart of WGDashboard is needed to apply changes on IP Address and Listen Port"})])])])}const Ss=k(hs,[["render",Ds]]),Is={class:"card rounded-3"},Ps={class:"card-header"},Cs={class:"my-2"},As={class:"card-body d-flex gap-2"},Ts={class:"list-group w-100"},Ks=["onClick"],Vs={__name:"dashboardSettingsWireguardConfigurationAutostart",setup(s){const e=y(),c=M(),h=T(e.Configuration.WireGuardConfiguration.autostart),u=z(()=>c.Configurations.map(a=>a.Name)),g=async()=>{await v("/api/updateDashboardConfigurationItem",{section:"WireGuardConfiguration",key:"autostart",value:h.value},async a=>{a.status?(e.newMessage("Server","Start up configurations saved","success"),h.value=a.data):e.newMessage("Server","Start up configurations failed to save","danger")})},o=a=>{h.value.includes(a)?h.value=h.value.filter(r=>r!==a):h.value.push(a),g()};return(a,r)=>(n(),l("div",Is,[t("div",Ps,[t("h6",Cs,[i(p,{t:"Toggle When Start Up"})])]),t("div",As,[t("div",Ts,[(n(!0),l(P,null,K(u.value,d=>(n(),l("button",{type:"button",key:d,onClick:C=>o(d),class:"list-group-item list-group-item-action py-2 w-100 d-flex align-items-center"},[t("samp",null,D(d),1),t("i",{class:$(["ms-auto",[h.value.includes(d)?"bi-check-circle-fill":"bi-circle"]])},null,2)],8,Ks))),128))])])]))}},Fs=k(Vs,[["__scopeId","data-v-4aa2aed9"]]),Ls={class:"card"},Es={class:"card-header"},Ms={class:"my-2 d-flex"},Us={key:0,class:"text-success ms-auto"},Ns={class:"card-body d-flex flex-column gap-3"},Ws={class:"row gx-2 gy-2"},Gs={class:"col-12 col-lg-4"},Ys={class:"form-group"},Rs={for:"server",class:"text-muted mb-1"},Hs={class:"col-12 col-lg-4"},Bs={class:"form-group"},js={for:"port",class:"text-muted mb-1"},zs={class:"col-12 col-lg-4"},Os={class:"form-group"},qs={for:"encryption",class:"text-muted mb-1"},Qs={value:"NOTLS"},Js={class:"col-12 col-lg-4"},Xs={class:"form-group"},Zs={for:"username",class:"text-muted mb-1"},ta={class:"col-12 col-lg-4"},ea={class:"form-group"},sa={for:"email_password",class:"text-muted mb-1"},aa={class:"col-12 col-lg-4"},ia={class:"form-group"},oa={for:"send_from",class:"text-muted mb-1"},na={key:0},la={key:1},da={class:"text-muted mb-1",for:"test_email"},ra={class:"fw-bold"},ua=["disabled"],ca=["disabled"],ha={key:0,class:"bi bi-send me-2"},ma={key:1,class:"spinner-border spinner-border-sm me-2"},pa={class:"text-muted mb-1",for:"email_template"},ga={class:"fw-bold"},ba={__name:"dashboardEmailSettings",setup(s){const e=y();O(()=>{g(),document.querySelectorAll("#emailAccount input, #emailAccount select, #email_template").forEach(a=>{a.addEventListener("change",async()=>{let r=a.attributes.getNamedItem("id").value;await v("/api/updateDashboardConfigurationItem",{section:"Email",key:r,value:a.value},d=>{d.status?(a.classList.remove("is-invalid"),a.classList.add("is-valid")):(a.classList.remove("is-valid"),a.classList.add("is-invalid")),g()})})})});const c=T(!1),h=T(""),u=T(!1),g=async()=>{await E("/api/email/ready",{},a=>{c.value=a.status})},o=async()=>{u.value=!0,await v("/api/email/send",{Receiver:h.value,Subject:"WGDashboard Testing Email",Body:"Test 1, 2, 3! Hello World :)"},a=>{a.status?e.newMessage("Server","Test email sent successfully!","success"):e.newMessage("Server",`Test email sent failed! Reason: ${a.message}`,"danger"),u.value=!1})};return(a,r)=>(n(),l("div",Ls,[t("div",Es,[t("h6",Ms,[i(p,{t:"Email Account"}),c.value?(n(),l("span",Us,[r[10]||(r[10]=t("i",{class:"bi bi-check-circle-fill me-2"},null,-1)),i(p,{t:"Ready"})])):_("",!0)])]),t("div",Ns,[t("form",{onSubmit:r[6]||(r[6]=d=>d.preventDefault(d)),id:"emailAccount"},[t("div",Ws,[t("div",Gs,[t("div",Ys,[t("label",Rs,[t("strong",null,[t("small",null,[i(p,{t:"Server"})])])]),b(t("input",{id:"server","onUpdate:modelValue":r[0]||(r[0]=d=>w(e).Configuration.Email.server=d),type:"text",class:"form-control"},null,512),[[f,w(e).Configuration.Email.server]])])]),t("div",Hs,[t("div",Bs,[t("label",js,[t("strong",null,[t("small",null,[i(p,{t:"Port"})])])]),b(t("input",{id:"port","onUpdate:modelValue":r[1]||(r[1]=d=>w(e).Configuration.Email.port=d),type:"text",class:"form-control"},null,512),[[f,w(e).Configuration.Email.port]])])]),t("div",zs,[t("div",Os,[t("label",qs,[t("strong",null,[t("small",null,[i(p,{t:"Encryption"})])])]),b(t("select",{class:"form-select","onUpdate:modelValue":r[2]||(r[2]=d=>w(e).Configuration.Email.encryption=d),id:"encryption"},[r[11]||(r[11]=t("option",{value:"STARTTLS"}," STARTTLS ",-1)),t("option",Qs,[i(p,{t:"No Encryption"})])],512),[[q,w(e).Configuration.Email.encryption]])])]),t("div",Js,[t("div",Xs,[t("label",Zs,[t("strong",null,[t("small",null,[i(p,{t:"Username"})])])]),b(t("input",{id:"username","onUpdate:modelValue":r[3]||(r[3]=d=>w(e).Configuration.Email.username=d),type:"text",class:"form-control"},null,512),[[f,w(e).Configuration.Email.username]])])]),t("div",ta,[t("div",ea,[t("label",sa,[t("strong",null,[t("small",null,[i(p,{t:"Password"})])])]),b(t("input",{id:"email_password","onUpdate:modelValue":r[4]||(r[4]=d=>w(e).Configuration.Email.email_password=d),type:"password",class:"form-control"},null,512),[[f,w(e).Configuration.Email.email_password]])])]),t("div",aa,[t("div",ia,[t("label",oa,[t("strong",null,[t("small",null,[i(p,{t:"Send From"})])])]),b(t("input",{id:"send_from","onUpdate:modelValue":r[5]||(r[5]=d=>w(e).Configuration.Email.send_from=d),type:"text",class:"form-control"},null,512),[[f,w(e).Configuration.Email.send_from]])])])])],32),c.value?(n(),l("hr",na)):_("",!0),c.value?(n(),l("div",la,[t("label",da,[t("small",ra,[i(p,{t:"Send Test Email"})])]),t("form",{onSubmit:r[8]||(r[8]=d=>{d.preventDefault(),o()}),class:"input-group"},[b(t("input",{type:"email",class:"form-control rounded-start-3",id:"test_email",placeholder:"john@example.com","onUpdate:modelValue":r[7]||(r[7]=d=>h.value=d),disabled:u.value},null,8,ua),[[f,h.value]]),t("button",{class:"btn bg-primary-subtle text-primary-emphasis border-primary-subtle rounded-end-3",type:"submit",value:"Submit",disabled:h.value.length===0||u.value,id:"button-addon2"},[u.value?(n(),l("span",ma)):(n(),l("i",ha)),i(p,{t:u.value?"Sending...":"Send"},null,8,["t"])],8,ca)],32)])):_("",!0),r[12]||(r[12]=t("hr",null,null,-1)),t("div",null,[t("label",pa,[t("small",ga,[i(p,{t:"Email Body Template"})])]),b(t("textarea",{class:"form-control rounded-3 font-monospace","onUpdate:modelValue":r[9]||(r[9]=d=>w(e).Configuration.Email.email_template=d),id:"email_template",style:{"min-height":"400px"}},null,512),[[f,w(e).Configuration.Email.email_template]])])])]))}},_a={name:"settings",components:{DashboardEmailSettings:ba,DashboardSettingsWireguardConfigurationAutostart:Fs,DashboardIPPortInput:Ss,DashboardLanguage:cs,LocaleText:p,AccountSettingsMFA:Xe,DashboardAPIKeys:je,DashboardSettingsInputIPAddressAndPort:re,DashboardTheme:Xt,DashboardSettingsInputWireguardConfigurationPath:zt,AccountSettingsInputPassword:At,AccountSettingsInputUsername:ct,PeersDefaultSettingsInput:it},setup(){return{dashboardConfigurationStore:y()}},data(){return{activeTab:"WGDashboard",tabs:[{id:"WGDashboard",title:"WGDashboard Settings"},{id:"Peers",title:"Peers Settings"},{id:"WireGuardConfiguration",title:"WireGuard Configuration Settings"}]}}},fa={class:"mt-md-5 mt-3 text-body mb-3"},va={class:"container-md d-flex flex-column gap-4"},ya={class:"nav nav-pills nav-justified align-items-center gap-2"},wa={class:"nav-item"},$a=["onClick"],ka={class:"my-2"},xa={key:0,class:"d-flex gap-3 flex-column"},Da={key:1,class:"d-flex gap-3 flex-column"},Sa={class:"card rounded-3"},Ia={class:"card-header"},Pa={class:"my-2"},Ca={class:"card-body"},Aa={key:2,class:"d-flex gap-3 flex-column"},Ta={class:"card rounded-3"},Ka={class:"card-header"},Va={class:"my-2"},Fa={class:"card-body"},La={class:"row g-2"},Ea={class:"col-sm"},Ma={class:"col-sm"},Ua={class:"card"},Na={class:"card-header"},Wa={class:"my-2"},Ga={class:"card-body"},Ya={class:"card"},Ra={class:"card-header"},Ha={class:"my-2"},Ba={class:"card-body d-flex flex-column gap-3"},ja={class:"card"},za={class:"card-header"},Oa={class:"my-2"},qa={class:"card-body"};function Qa(s,e,c,h,u,g){const o=m("LocaleText"),a=m("DashboardSettingsInputWireguardConfigurationPath"),r=m("DashboardSettingsWireguardConfigurationAutostart"),d=m("PeersDefaultSettingsInput"),C=m("DashboardTheme"),N=m("DashboardLanguage"),W=m("DashboardIPPortInput"),G=m("AccountSettingsInputUsername"),Y=m("AccountSettingsInputPassword"),R=m("AccountSettingsMFA"),H=m("DashboardAPIKeys"),B=m("DashboardEmailSettings");return n(),l("div",fa,[t("div",va,[t("div",null,[t("ul",ya,[(n(!0),l(P,null,K(this.tabs,V=>(n(),l("li",wa,[t("a",{class:$(["nav-link rounded-3",{active:this.activeTab===V.id}]),onClick:Ja=>this.activeTab=V.id,role:"button"},[t("h6",ka,[i(o,{t:V.title},null,8,["t"])])],10,$a)]))),256))]),e[1]||(e[1]=t("hr",null,null,-1)),t("div",null,[i(U,{name:"fade2",mode:"out-in"},{default:F(()=>[u.activeTab==="WireGuardConfiguration"?(n(),l("div",xa,[i(a,{targetData:"wg_conf_path",title:"Configurations Directory",warning:!0,"warning-text":"Remember to remove / at the end of your path. e.g /etc/wireguard"}),i(r)])):u.activeTab==="Peers"?(n(),l("div",Da,[t("div",Sa,[t("div",Ia,[t("h6",Pa,[i(o,{t:"Peer Default Settings"})])]),t("div",Ca,[t("div",null,[i(d,{targetData:"peer_global_dns",title:"DNS"}),i(d,{targetData:"peer_endpoint_allowed_ip",title:"Endpoint Allowed IPs"}),i(d,{targetData:"peer_mtu",title:"MTU"}),i(d,{targetData:"peer_keep_alive",title:"Persistent Keepalive"}),i(d,{targetData:"remote_endpoint",title:"Peer Remote Endpoint",warning:!0,warningText:"This will be changed globally, and will be apply to all peer's QR code and configuration file."})])])])])):u.activeTab==="WGDashboard"?(n(),l("div",Aa,[t("div",Ta,[t("div",Ka,[t("h6",Va,[i(o,{t:"Appearance"})])]),t("div",Fa,[t("div",La,[t("div",Ea,[i(C)]),t("div",Ma,[i(N)])])])]),t("div",Ua,[t("div",Na,[t("h6",Wa,[i(o,{t:"Dashboard IP Address & Listen Port"})])]),t("div",Ga,[i(W)])]),t("div",Ya,[t("div",Ra,[t("h6",Ha,[i(o,{t:"Account Settings"})])]),t("div",Ba,[t("div",null,[i(G,{targetData:"username",title:"Username"})]),e[0]||(e[0]=t("hr",null,null,-1)),t("div",null,[i(Y,{targetData:"password"})])])]),t("div",ja,[t("div",za,[t("h6",Oa,[i(o,{t:"Multi-Factor Authentication (MFA)"})])]),t("div",qa,[this.dashboardConfigurationStore.getActiveCrossServer()?_("",!0):(n(),x(R,{key:0}))])]),i(H),i(B)])):_("",!0)]),_:1})])])])])}const si=k(_a,[["render",Qa]]);export{si as default}; +import{_ as k,z as v,D as y,A as I,c as l,a as t,m as b,d as _,b as i,h as m,y as f,n as $,t as D,f as n,W as M,e as S,v as L,j as x,F as P,g as E,w as F,T as j,k as U,i as K,r as T,q as z,o as O,u as w,B as q}from"./index-D5fbjBmH.js";import{L as p}from"./localeText-BwlyH2uL.js";import{d as A}from"./dayjs.min-Rf3-f83x.js";import{Q}from"./vue-datepicker-TsAnng-H.js";const J={components:{LocaleText:p},props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const s=y(),e=`input_${I()}`;return{store:s,uuid:e}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Peers[this.targetData]},methods:{async useValidation(){this.changed&&await v("/api/updateDashboardConfigurationItem",{section:"Peers",key:this.targetData,value:this.value},s=>{s.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Peers[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=s.message),this.changed=!1,this.updating=!1})}}},X={class:"form-group mb-2"},Z=["for"],tt=["id","disabled"],et={class:"invalid-feedback"},st={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1"};function at(s,e,c,h,u,g){const o=m("LocaleText");return n(),l("div",X,[t("label",{for:this.uuid,class:"text-muted mb-1"},[t("strong",null,[t("small",null,[i(o,{t:this.title},null,8,["t"])])])],8,Z),b(t("input",{type:"text",class:$(["form-control",{"is-invalid":u.showInvalidFeedback,"is-valid":u.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=a=>this.value=a),onKeydown:e[1]||(e[1]=a=>this.changed=!0),onBlur:e[2]||(e[2]=a=>g.useValidation()),disabled:this.updating},null,42,tt),[[f,this.value]]),t("div",et,D(this.invalidFeedback),1),c.warning?(n(),l("div",st,[t("small",null,[e[3]||(e[3]=t("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1)),i(o,{t:c.warningText},null,8,["t"])])])):_("",!0)])}const it=k(J,[["render",at]]),ot={name:"accountSettingsInputUsername",components:{LocaleText:p},props:{targetData:String,title:String},setup(){const s=y(),e=`input_${I()}`;return{store:s,uuid:e}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Account[this.targetData]},methods:{async useValidation(s){this.changed&&(this.updating=!0,await v("/api/updateDashboardConfigurationItem",{section:"Account",key:this.targetData,value:this.value},e=>{e.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=e.message),this.changed=!1,this.updating=!1}))}}},nt={class:"form-group mb-2"},lt=["for"],dt=["id","disabled"],rt={class:"invalid-feedback"};function ut(s,e,c,h,u,g){const o=m("LocaleText");return n(),l("div",nt,[t("label",{for:this.uuid,class:"text-muted mb-1"},[t("strong",null,[t("small",null,[i(o,{t:this.title},null,8,["t"])])])],8,lt),b(t("input",{type:"text",class:$(["form-control",{"is-invalid":u.showInvalidFeedback,"is-valid":u.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=a=>this.value=a),onKeydown:e[1]||(e[1]=a=>this.changed=!0),onBlur:e[2]||(e[2]=a=>g.useValidation()),disabled:this.updating},null,42,dt),[[f,this.value]]),t("div",rt,D(this.invalidFeedback),1)])}const ct=k(ot,[["render",ut]]),ht={name:"accountSettingsInputPassword",components:{LocaleText:p},props:{targetData:String,warning:!1,warningText:""},setup(){const s=y(),e=`input_${I()}`;return{store:s,uuid:e}},data(){return{value:{currentPassword:"",newPassword:"",repeatNewPassword:""},invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0}},methods:{async useValidation(){Object.values(this.value).find(s=>s.length===0)===void 0?this.value.newPassword===this.value.repeatNewPassword?await v("/api/updateDashboardConfigurationItem",{section:"Account",key:this.targetData,value:this.value},s=>{s.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.isValid=!1,this.value={currentPassword:"",newPassword:"",repeatNewPassword:""}},5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=s.message)}):(this.showInvalidFeedback=!0,this.invalidFeedback="New passwords does not match"):(this.showInvalidFeedback=!0,this.invalidFeedback="Please fill in all required fields.")}},computed:{passwordValid(){return Object.values(this.value).find(s=>s.length===0)===void 0&&this.value.newPassword===this.value.repeatNewPassword}}},mt={class:"d-flex flex-column gap-2"},pt={class:"row g-2"},gt={class:"col-sm"},bt={class:"form-group"},_t=["for"],ft=["id"],vt={key:0,class:"invalid-feedback d-block"},yt={class:"col-sm"},wt={class:"form-group"},$t=["for"],kt=["id"],xt={class:"col-sm"},Dt={class:"form-group"},St=["for"],It=["id"],Pt=["disabled"];function Ct(s,e,c,h,u,g){const o=m("LocaleText");return n(),l("form",mt,[t("div",pt,[t("div",gt,[t("div",bt,[t("label",{for:"currentPassword_"+this.uuid,class:"text-muted mb-1"},[t("strong",null,[t("small",null,[i(o,{t:"Current Password"})])])],8,_t),b(t("input",{type:"password",class:$(["form-control",{"is-invalid":u.showInvalidFeedback,"is-valid":u.isValid}]),autocomplete:"current-password","onUpdate:modelValue":e[0]||(e[0]=a=>this.value.currentPassword=a),id:"currentPassword_"+this.uuid},null,10,ft),[[f,this.value.currentPassword]]),u.showInvalidFeedback?(n(),l("div",vt,D(this.invalidFeedback),1)):_("",!0)])]),t("div",yt,[t("div",wt,[t("label",{for:"newPassword_"+this.uuid,class:"text-muted mb-1"},[t("strong",null,[t("small",null,[i(o,{t:"New Password"})])])],8,$t),b(t("input",{type:"password",class:$(["form-control",{"is-invalid":u.showInvalidFeedback,"is-valid":u.isValid}]),autocomplete:"new-password","onUpdate:modelValue":e[1]||(e[1]=a=>this.value.newPassword=a),id:"newPassword_"+this.uuid},null,10,kt),[[f,this.value.newPassword]])])]),t("div",xt,[t("div",Dt,[t("label",{for:"repeatNewPassword_"+this.uuid,class:"text-muted mb-1"},[t("strong",null,[t("small",null,[i(o,{t:"Repeat New Password"})])])],8,St),b(t("input",{type:"password",class:$(["form-control",{"is-invalid":u.showInvalidFeedback,"is-valid":u.isValid}]),autocomplete:"new-password","onUpdate:modelValue":e[2]||(e[2]=a=>this.value.repeatNewPassword=a),id:"repeatNewPassword_"+this.uuid},null,10,It),[[f,this.value.repeatNewPassword]])])])]),t("button",{disabled:!this.passwordValid,class:"ms-auto btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm",onClick:e[3]||(e[3]=a=>this.useValidation())},[e[4]||(e[4]=t("i",{class:"bi bi-save2-fill me-2"},null,-1)),i(o,{t:"Update Password"})],8,Pt)])}const At=k(ht,[["render",Ct]]),Tt={name:"dashboardSettingsInputWireguardConfigurationPath",components:{LocaleText:p},props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const s=y(),e=M(),c=`input_${I()}`;return{store:s,uuid:c,WireguardConfigurationStore:e}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Server[this.targetData]},methods:{async useValidation(){this.changed&&(this.updating=!0,await v("/api/updateDashboardConfigurationItem",{section:"Server",key:this.targetData,value:this.value},s=>{s.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3),this.WireguardConfigurationStore.getConfigurations(),this.store.newMessage("Server","WireGuard configuration path saved","success")):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=s.message),this.changed=!1,this.updating=!1}))}}},Kt={class:"card"},Vt={class:"card-header"},Ft={class:"my-2"},Lt={class:"card-body"},Et={class:"form-group"},Mt=["for"],Ut={class:"d-flex gap-2 align-items-start"},Nt={class:"flex-grow-1"},Wt=["id","disabled"],Gt={class:"invalid-feedback fw-bold"},Yt=["disabled"],Rt={key:0,class:"bi bi-save2-fill"},Ht={key:1,class:"spinner-border spinner-border-sm"},Bt={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1 mb-2"};function jt(s,e,c,h,u,g){const o=m("LocaleText");return n(),l("div",Kt,[t("div",Vt,[t("h6",Ft,[i(o,{t:"Path"})])]),t("div",Lt,[t("div",Et,[t("label",{for:this.uuid,class:"text-muted mb-1"},[t("strong",null,[t("small",null,[i(o,{t:this.title},null,8,["t"])])])],8,Mt),t("div",Ut,[t("div",Nt,[b(t("input",{type:"text",class:$(["form-control rounded-3",{"is-invalid":this.showInvalidFeedback,"is-valid":this.isValid}]),id:this.uuid,"onUpdate:modelValue":e[0]||(e[0]=a=>this.value=a),onKeydown:e[1]||(e[1]=a=>this.changed=!0),disabled:this.updating},null,42,Wt),[[f,this.value]]),t("div",Gt,D(this.invalidFeedback),1)]),t("button",{onClick:e[2]||(e[2]=a=>this.useValidation()),disabled:!this.changed,class:"ms-auto btn rounded-3 border-success-subtle bg-success-subtle text-success-emphasis"},[this.updating?(n(),l("span",Ht)):(n(),l("i",Rt))],8,Yt)]),c.warning?(n(),l("div",Bt,[t("small",null,[e[3]||(e[3]=t("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1)),i(o,{t:c.warningText},null,8,["t"])])])):_("",!0)])])])}const zt=k(Tt,[["render",jt]]),Ot={name:"dashboardTheme",components:{LocaleText:p},setup(){return{dashboardConfigurationStore:y()}},methods:{async switchTheme(s){await v("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_theme",value:s},e=>{e.status&&(this.dashboardConfigurationStore.Configuration.Server.dashboard_theme=s)})}}},qt={class:"text-muted mb-1 d-block"},Qt={class:"d-flex gap-1"};function Jt(s,e,c,h,u,g){const o=m("LocaleText");return n(),l("div",null,[t("small",qt,[t("strong",null,[i(o,{t:"Theme"})])]),t("div",Qt,[t("button",{class:$(["btn bg-primary-subtle text-primary-emphasis flex-grow-1",{active:this.dashboardConfigurationStore.Configuration.Server.dashboard_theme==="light"}]),onClick:e[0]||(e[0]=a=>this.switchTheme("light"))},[e[2]||(e[2]=t("i",{class:"bi bi-sun-fill me-2"},null,-1)),i(o,{t:"Light"})],2),t("button",{class:$(["btn bg-primary-subtle text-primary-emphasis flex-grow-1",{active:this.dashboardConfigurationStore.Configuration.Server.dashboard_theme==="dark"}]),onClick:e[1]||(e[1]=a=>this.switchTheme("dark"))},[e[3]||(e[3]=t("i",{class:"bi bi-moon-fill me-2"},null,-1)),i(o,{t:"Dark"})],2)])])}const Xt=k(Ot,[["render",Jt]]),Zt={name:"dashboardSettingsInputIPAddressAndPort",props:{},setup(){const s=y(),e=`input_${I()}`;return{store:s,uuid:e}},data(){return{app_ip:"",app_port:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.app_ip=this.store.Configuration.Server.app_ip,this.app_port=this.store.Configuration.Server.app_port},methods:{async useValidation(){this.changed&&await v("/api/updateDashboardConfigurationItem",{section:"Server",key:this.targetData,value:this.value},s=>{s.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=s.message)})}}},te={class:"invalid-feedback d-block mt-0"},ee={class:"row"},se={class:"form-group mb-2 col-sm"},ae=["for"],ie=["id"],oe={class:"form-group col-sm"},ne=["for"],le=["id"];function de(s,e,c,h,u,g){return n(),l("div",null,[t("div",te,D(this.invalidFeedback),1),t("div",ee,[t("div",se,[t("label",{for:"app_ip_"+this.uuid,class:"text-muted mb-1"},e[2]||(e[2]=[t("strong",null,[t("small",null,"Dashboard IP Address")],-1)]),8,ae),b(t("input",{type:"text",class:"form-control mb-2",id:"app_ip_"+this.uuid,"onUpdate:modelValue":e[0]||(e[0]=o=>this.app_ip=o)},null,8,ie),[[f,this.app_ip]]),e[3]||(e[3]=t("div",{class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block"},[t("small",null,[t("i",{class:"bi bi-exclamation-triangle-fill me-2"}),t("code",null,"0.0.0.0"),S(" means it can be access by anyone with your server IP Address.")])],-1))]),t("div",oe,[t("label",{for:"app_port_"+this.uuid,class:"text-muted mb-1"},e[4]||(e[4]=[t("strong",null,[t("small",null,"Dashboard Port")],-1)]),8,ne),b(t("input",{type:"text",class:"form-control mb-2",id:"app_port_"+this.uuid,"onUpdate:modelValue":e[1]||(e[1]=o=>this.app_port=o)},null,8,le),[[f,this.app_port]])])]),e[5]||(e[5]=t("button",{class:"btn btn-success btn-sm fw-bold rounded-3"},[t("i",{class:"bi bi-floppy-fill me-2"}),S("Update Dashboard Settings & Restart ")],-1))])}const re=k(Zt,[["render",de]]),ue={name:"newDashboardAPIKey",components:{LocaleText:p,VueDatePicker:Q},data(){return{newKeyData:{ExpiredAt:A().add(7,"d").format("YYYY-MM-DD HH:mm:ss"),NeverExpire:!1},submitting:!1}},setup(){return{store:y()}},mounted(){console.log(this.newKeyData.ExpiredAt)},methods:{submitNewAPIKey(){this.submitting=!0,v("/api/newDashboardAPIKey",this.newKeyData,s=>{s.status?(this.$emit("created",s.data),this.store.newMessage("Server","API Key created","success"),this.$emit("close")):this.store.newMessage("Server",s.message,"danger"),this.submitting=!1})},fixDate(s){return console.log(A(s).format("YYYY-MM-DDTHH:mm:ss")),A(s).format("YYYY-MM-DDTHH:mm:ss")},parseTime(s){s?this.newKeyData.ExpiredAt=A(s).format("YYYY-MM-DD HH:mm:ss"):this.newKeyData.ExpiredAt=void 0}}},ce={class:"position-absolute w-100 h-100 top-0 start-0 rounded-bottom-3 p-3 d-flex",style:{"background-color":"#00000060","backdrop-filter":"blur(3px)"}},he={class:"card m-auto rounded-3 mt-5"},me={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},pe={class:"mb-0"},ge={class:"card-body d-flex gap-2 p-4 flex-column"},be={class:"text-muted"},_e={class:"d-flex align-items-center gap-2"},fe={class:"form-check"},ve=["disabled"],ye={class:"form-check-label",for:"neverExpire"},we={key:0,class:"bi bi-check-lg me-2"};function $e(s,e,c,h,u,g){const o=m("LocaleText"),a=m("VueDatePicker");return n(),l("div",ce,[t("div",he,[t("div",me,[t("h6",pe,[i(o,{t:"Create API Key"})]),t("button",{type:"button",class:"btn-close ms-auto",onClick:e[0]||(e[0]=r=>this.$emit("close"))})]),t("div",ge,[t("small",be,[i(o,{t:"When should this API Key expire?"})]),t("div",_e,[i(a,{is24:!0,"min-date":new Date,"model-value":this.newKeyData.ExpiredAt,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",clearable:!1,disabled:this.newKeyData.NeverExpire||this.submitting,dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","disabled","dark"])]),t("div",fe,[b(t("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[1]||(e[1]=r=>this.newKeyData.NeverExpire=r),id:"neverExpire",disabled:this.submitting},null,8,ve),[[L,this.newKeyData.NeverExpire]]),t("label",ye,[i(o,{t:"Never Expire"}),e[3]||(e[3]=S(" (")),e[4]||(e[4]=t("i",{class:"bi bi-emoji-grimace-fill me-2"},null,-1)),i(o,{t:"Don't think that's a good idea"}),e[5]||(e[5]=S(") "))])]),t("button",{class:$(["ms-auto btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm",{disabled:this.submitting}]),onClick:e[2]||(e[2]=r=>this.submitNewAPIKey())},[this.submitting?_("",!0):(n(),l("i",we)),this.submitting?(n(),x(o,{key:1,t:"Creating..."})):(n(),x(o,{key:2,t:"Create"}))],2)])])])}const ke=k(ue,[["render",$e]]),xe={name:"dashboardAPIKey",components:{LocaleText:p},props:{apiKey:Object},setup(){return{store:y()}},data(){return{confirmDelete:!1}},methods:{deleteAPIKey(){v("/api/deleteDashboardAPIKey",{Key:this.apiKey.Key},s=>{s.status?(this.$emit("deleted",s.data),this.store.newMessage("Server","API Key deleted","success")):this.store.newMessage("Server",s.message,"danger")})}}},De={class:"card rounded-3 shadow-sm"},Se={key:0,class:"card-body d-flex gap-3 align-items-center apiKey-card-body"},Ie={class:"d-flex align-items-center gap-2"},Pe={class:"text-muted"},Ce={style:{"word-break":"break-all"}},Ae={class:"d-flex align-items-center gap-2 ms-auto"},Te={class:"text-muted"},Ke={key:0,class:"card-body d-flex gap-3 align-items-center justify-content-end"};function Ve(s,e,c,h,u,g){const o=m("LocaleText");return n(),l("div",De,[this.confirmDelete?(n(),l(P,{key:1},[this.store.getActiveCrossServer()?_("",!0):(n(),l("div",Ke,[i(o,{t:"Are you sure to delete this API key?"}),t("a",{role:"button",class:"btn btn-sm bg-success-subtle text-success-emphasis rounded-3",onClick:e[1]||(e[1]=a=>this.deleteAPIKey())},e[4]||(e[4]=[t("i",{class:"bi bi-check-lg"},null,-1)])),t("a",{role:"button",class:"btn btn-sm bg-secondary-subtle text-secondary-emphasis rounded-3",onClick:e[2]||(e[2]=a=>this.confirmDelete=!1)},e[5]||(e[5]=[t("i",{class:"bi bi-x-lg"},null,-1)]))]))],64)):(n(),l("div",Se,[t("div",Ie,[t("small",Pe,[i(o,{t:"Key"})]),t("span",Ce,D(this.apiKey.Key),1)]),t("div",Ae,[t("small",Te,[i(o,{t:"Expire At"})]),this.apiKey.ExpiredAt?_("",!0):(n(),x(o,{key:0,t:"Never Expire"})),t("span",null,D(this.apiKey.ExpiredAt),1)]),this.store.getActiveCrossServer()?_("",!0):(n(),l("a",{key:0,role:"button",class:"btn btn-sm bg-danger-subtle text-danger-emphasis rounded-3",onClick:e[0]||(e[0]=a=>this.confirmDelete=!0)},e[3]||(e[3]=[t("i",{class:"bi bi-trash-fill"},null,-1)])))]))])}const Fe=k(xe,[["render",Ve],["__scopeId","data-v-a76253c8"]]),Le={name:"dashboardAPIKeys",components:{LocaleText:p,DashboardAPIKey:Fe,NewDashboardAPIKey:ke},setup(){return{store:y()}},data(){return{value:this.store.Configuration.Server.dashboard_api_key,apiKeys:[],newDashboardAPIKey:!1}},methods:{async toggleDashboardAPIKeys(){await v("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_api_key",value:this.value},s=>{s.status?(this.store.Configuration.Peers[this.targetData]=this.value,this.store.newMessage("Server",`API Keys function is successfully ${this.value?"enabled":"disabled"}`,"success")):(this.value=this.store.Configuration.Peers[this.targetData],this.store.newMessage("Server",`API Keys function is failed to ${this.value?"enabled":"disabled"}`,"danger"))})}},watch:{value:{immediate:!0,handler(s){s?E("/api/getDashboardAPIKeys",{},e=>{e.status?this.apiKeys=e.data:(this.apiKeys=[],this.store.newMessage("Server",e.message,"danger"))}):this.apiKeys=[]}}}},Ee={class:"card rounded-3"},Me={class:"my-2"},Ue={key:0,class:"form-check form-switch ms-auto"},Ne={class:"form-check-label",for:"allowAPIKeysSwitch"},We={key:0,class:"card-body position-relative d-flex flex-column gap-2"},Ge={key:1,class:"card",style:{height:"300px"}},Ye={class:"card-body d-flex text-muted"},Re={class:"m-auto"},He={key:2,class:"d-flex flex-column gap-2 position-relative",style:{"min-height":"300px"}};function Be(s,e,c,h,u,g){const o=m("LocaleText"),a=m("DashboardAPIKey"),r=m("NewDashboardAPIKey");return n(),l("div",Ee,[t("div",{class:$(["card-header d-flex align-items-center",{"border-bottom-0 rounded-3":!this.value}])},[t("h6",Me,[i(o,{t:"API Keys"})]),this.store.getActiveCrossServer()?_("",!0):(n(),l("div",Ue,[b(t("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=d=>this.value=d),onChange:e[1]||(e[1]=d=>this.toggleDashboardAPIKeys()),role:"switch",id:"allowAPIKeysSwitch"},null,544),[[L,this.value]]),t("label",Ne,[this.value?(n(),x(o,{key:0,t:"Enabled"})):(n(),x(o,{key:1,t:"Disabled"}))])]))],2),this.value?(n(),l("div",We,[this.store.getActiveCrossServer()?_("",!0):(n(),l("button",{key:0,class:"btn bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle rounded-3 shadow-sm",onClick:e[2]||(e[2]=d=>this.newDashboardAPIKey=!0)},[e[6]||(e[6]=t("i",{class:"bi bi-plus-circle-fill me-2"},null,-1)),i(o,{t:"API Key"})])),this.apiKeys.length===0?(n(),l("div",Ge,[t("div",Ye,[t("span",Re,[i(o,{t:"No WGDashboard API Key"})])])])):(n(),l("div",He,[i(j,{name:"apiKey"},{default:F(()=>[(n(!0),l(P,null,K(this.apiKeys,d=>(n(),x(a,{apiKey:d,key:d.Key,onDeleted:e[3]||(e[3]=C=>this.apiKeys=C)},null,8,["apiKey"]))),128))]),_:1})])),i(U,{name:"zoomReversed"},{default:F(()=>[this.newDashboardAPIKey?(n(),x(r,{key:0,onCreated:e[4]||(e[4]=d=>this.apiKeys=d),onClose:e[5]||(e[5]=d=>this.newDashboardAPIKey=!1)})):_("",!0)]),_:1})])):_("",!0)])}const je=k(Le,[["render",Be],["__scopeId","data-v-100ee9f9"]]),ze={name:"accountSettingsMFA",components:{LocaleText:p},setup(){const s=y(),e=`input_${I()}`;return{store:s,uuid:e}},data(){return{status:!1}},mounted(){this.status=this.store.Configuration.Account.enable_totp},methods:{async resetMFA(){await v("/api/updateDashboardConfigurationItem",{section:"Account",key:"totp_verified",value:"false"},async s=>{await v("/api/updateDashboardConfigurationItem",{section:"Account",key:"enable_totp",value:"false"},e=>{e.status&&this.$router.push("/2FASetup")})})}}},Oe={class:"d-flex align-items-center"},qe={class:"form-check form-switch"},Qe={for:"allowMFAKeysSwitch"};function Je(s,e,c,h,u,g){const o=m("LocaleText");return n(),l("div",null,[t("div",Oe,[t("div",qe,[b(t("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=a=>this.status=a),role:"switch",id:"allowMFAKeysSwitch"},null,512),[[L,this.status]]),t("label",Qe,[this.status?(n(),x(o,{key:0,t:"Enabled"})):(n(),x(o,{key:1,t:"Disabled"}))])]),this.status?(n(),l("button",{key:0,class:"btn bg-warning-subtle text-warning-emphasis border-1 border-warning-subtle ms-auto rounded-3 shadow-sm",onClick:e[1]||(e[1]=a=>this.resetMFA())},[e[2]||(e[2]=t("i",{class:"bi bi-shield-lock-fill me-2"},null,-1)),this.store.Configuration.Account.totp_verified?(n(),x(o,{key:0,t:"Reset"})):(n(),x(o,{key:1,t:"Setup"})),e[3]||(e[3]=S(" MFA "))])):_("",!0)])])}const Xe=k(ze,[["render",Je]]),Ze={name:"dashboardLanguage",components:{LocaleText:p},setup(){return{store:y()}},data(){return{languages:void 0}},mounted(){E("/api/locale/available",{},s=>{this.languages=s.data})},methods:{changeLanguage(s){v("/api/locale/update",{lang_id:s},e=>{e.status?(this.store.Configuration.Server.dashboard_language=s,this.store.Locale=e.data):this.store.newMessage("Server","WGDashboard language update failed","danger")})}},computed:{currentLanguage(){let s=this.store.Configuration.Server.dashboard_language;return this.languages.find(e=>e.lang_id===s)}}},ts={class:"text-muted d-block mb-1"},es={class:"d-flex gap-2"},ss={class:"dropdown w-100"},as=["disabled"],is={key:1},os={class:"dropdown-menu rounded-3 shadow",style:{"max-height":"500px","overflow-y":"scroll"}},ns=["onClick"],ls={class:"me-auto mb-0"},ds={class:"d-block",style:{"font-size":"0.8rem"}},rs={key:0,class:"bi bi-check text-primary fs-5"};function us(s,e,c,h,u,g){const o=m("LocaleText");return n(),l("div",null,[t("small",ts,[t("strong",null,[i(o,{t:"Language"})])]),t("div",es,[t("div",ss,[t("button",{class:"btn bg-primary-subtle text-primary-emphasis dropdown-toggle w-100 rounded-3",disabled:!this.languages,type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[this.languages?(n(),l("span",is,D(g.currentLanguage?.lang_name_localized),1)):(n(),x(o,{key:0,t:"Loading..."}))],8,as),t("ul",os,[(n(!0),l(P,null,K(this.languages,a=>(n(),l("li",null,[t("a",{class:"dropdown-item d-flex align-items-center",role:"button",onClick:r=>this.changeLanguage(a.lang_id)},[t("p",ls,[S(D(a.lang_name_localized)+" ",1),t("small",ds,D(a.lang_name),1)]),g.currentLanguage?.lang_id===a.lang_id?(n(),l("i",rs)):_("",!0)],8,ns)]))),256))])])])])}const cs=k(Ze,[["render",us],["__scopeId","data-v-4e34593e"]]),hs={name:"dashboardIPPortInput",components:{LocaleText:p},setup(){return{store:y()}},data(){return{ipAddress:"",port:0,invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.ipAddress=this.store.Configuration.Server.app_ip,this.port=this.store.Configuration.Server.app_port},methods:{async useValidation(s,e,c){this.changed&&(this.updating=!0,await v("/api/updateDashboardConfigurationItem",{section:"Server",key:e,value:c},h=>{h.status?(s.target.classList.add("is-valid"),this.showInvalidFeedback=!1,this.store.Configuration.Server[e]=c,clearTimeout(this.timeout),this.timeout=setTimeout(()=>{s.target.classList.remove("is-valid")},5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=h.message),this.changed=!1,this.updating=!1}))}}},ms={class:"row g-2"},ps={class:"col-sm"},gs={class:"form-group"},bs={for:"input_dashboard_ip",class:"text-muted mb-1"},_s=["disabled"],fs={class:"invalid-feedback"},vs={class:"col-sm"},ys={class:"form-group"},ws={for:"input_dashboard_ip",class:"text-muted mb-1"},$s=["disabled"],ks={class:"invalid-feedback"},xs={class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mb-2 mt-2"};function Ds(s,e,c,h,u,g){const o=m("LocaleText");return n(),l("div",null,[t("div",ms,[t("div",ps,[t("div",gs,[t("label",bs,[t("strong",null,[t("small",null,[i(o,{t:"IP Address / Hostname"})])])]),b(t("input",{type:"text",class:$(["form-control",{"is-invalid":u.showInvalidFeedback,"is-valid":u.isValid}]),id:"input_dashboard_ip","onUpdate:modelValue":e[0]||(e[0]=a=>this.ipAddress=a),onKeydown:e[1]||(e[1]=a=>this.changed=!0),onBlur:e[2]||(e[2]=a=>g.useValidation(a,"app_ip",this.ipAddress)),disabled:this.updating},null,42,_s),[[f,this.ipAddress]]),t("div",fs,D(this.invalidFeedback),1)])]),t("div",vs,[t("div",ys,[t("label",ws,[t("strong",null,[t("small",null,[i(o,{t:"Listen Port"})])])]),b(t("input",{type:"number",class:$(["form-control",{"is-invalid":u.showInvalidFeedback,"is-valid":u.isValid}]),id:"input_dashboard_ip","onUpdate:modelValue":e[3]||(e[3]=a=>this.port=a),onKeydown:e[4]||(e[4]=a=>this.changed=!0),onBlur:e[5]||(e[5]=a=>g.useValidation(a,"app_port",this.port)),disabled:this.updating},null,42,$s),[[f,this.port]]),t("div",ks,D(this.invalidFeedback),1)])])]),t("div",xs,[t("small",null,[e[6]||(e[6]=t("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1)),i(o,{t:"Manual restart of WGDashboard is needed to apply changes on IP Address and Listen Port"})])])])}const Ss=k(hs,[["render",Ds]]),Is={class:"card rounded-3"},Ps={class:"card-header"},Cs={class:"my-2"},As={class:"card-body d-flex gap-2"},Ts={class:"list-group w-100"},Ks=["onClick"],Vs={__name:"dashboardSettingsWireguardConfigurationAutostart",setup(s){const e=y(),c=M(),h=T(e.Configuration.WireGuardConfiguration.autostart),u=z(()=>c.Configurations.map(a=>a.Name)),g=async()=>{await v("/api/updateDashboardConfigurationItem",{section:"WireGuardConfiguration",key:"autostart",value:h.value},async a=>{a.status?(e.newMessage("Server","Start up configurations saved","success"),h.value=a.data):e.newMessage("Server","Start up configurations failed to save","danger")})},o=a=>{h.value.includes(a)?h.value=h.value.filter(r=>r!==a):h.value.push(a),g()};return(a,r)=>(n(),l("div",Is,[t("div",Ps,[t("h6",Cs,[i(p,{t:"Toggle When Start Up"})])]),t("div",As,[t("div",Ts,[(n(!0),l(P,null,K(u.value,d=>(n(),l("button",{type:"button",key:d,onClick:C=>o(d),class:"list-group-item list-group-item-action py-2 w-100 d-flex align-items-center"},[t("samp",null,D(d),1),t("i",{class:$(["ms-auto",[h.value.includes(d)?"bi-check-circle-fill":"bi-circle"]])},null,2)],8,Ks))),128))])])]))}},Fs=k(Vs,[["__scopeId","data-v-4aa2aed9"]]),Ls={class:"card"},Es={class:"card-header"},Ms={class:"my-2 d-flex"},Us={key:0,class:"text-success ms-auto"},Ns={class:"card-body d-flex flex-column gap-3"},Ws={class:"row gx-2 gy-2"},Gs={class:"col-12 col-lg-4"},Ys={class:"form-group"},Rs={for:"server",class:"text-muted mb-1"},Hs={class:"col-12 col-lg-4"},Bs={class:"form-group"},js={for:"port",class:"text-muted mb-1"},zs={class:"col-12 col-lg-4"},Os={class:"form-group"},qs={for:"encryption",class:"text-muted mb-1"},Qs={value:"NOTLS"},Js={class:"col-12 col-lg-4"},Xs={class:"form-group"},Zs={for:"username",class:"text-muted mb-1"},ta={class:"col-12 col-lg-4"},ea={class:"form-group"},sa={for:"email_password",class:"text-muted mb-1"},aa={class:"col-12 col-lg-4"},ia={class:"form-group"},oa={for:"send_from",class:"text-muted mb-1"},na={key:0},la={key:1},da={class:"text-muted mb-1",for:"test_email"},ra={class:"fw-bold"},ua=["disabled"],ca=["disabled"],ha={key:0,class:"bi bi-send me-2"},ma={key:1,class:"spinner-border spinner-border-sm me-2"},pa={class:"text-muted mb-1",for:"email_template"},ga={class:"fw-bold"},ba={__name:"dashboardEmailSettings",setup(s){const e=y();O(()=>{g(),document.querySelectorAll("#emailAccount input, #emailAccount select, #email_template").forEach(a=>{a.addEventListener("change",async()=>{let r=a.attributes.getNamedItem("id").value;await v("/api/updateDashboardConfigurationItem",{section:"Email",key:r,value:a.value},d=>{d.status?(a.classList.remove("is-invalid"),a.classList.add("is-valid")):(a.classList.remove("is-valid"),a.classList.add("is-invalid")),g()})})})});const c=T(!1),h=T(""),u=T(!1),g=async()=>{await E("/api/email/ready",{},a=>{c.value=a.status})},o=async()=>{u.value=!0,await v("/api/email/send",{Receiver:h.value,Subject:"WGDashboard Testing Email",Body:"Test 1, 2, 3! Hello World :)"},a=>{a.status?e.newMessage("Server","Test email sent successfully!","success"):e.newMessage("Server",`Test email sent failed! Reason: ${a.message}`,"danger"),u.value=!1})};return(a,r)=>(n(),l("div",Ls,[t("div",Es,[t("h6",Ms,[i(p,{t:"Email Account"}),c.value?(n(),l("span",Us,[r[10]||(r[10]=t("i",{class:"bi bi-check-circle-fill me-2"},null,-1)),i(p,{t:"Ready"})])):_("",!0)])]),t("div",Ns,[t("form",{onSubmit:r[6]||(r[6]=d=>d.preventDefault(d)),id:"emailAccount"},[t("div",Ws,[t("div",Gs,[t("div",Ys,[t("label",Rs,[t("strong",null,[t("small",null,[i(p,{t:"Server"})])])]),b(t("input",{id:"server","onUpdate:modelValue":r[0]||(r[0]=d=>w(e).Configuration.Email.server=d),type:"text",class:"form-control"},null,512),[[f,w(e).Configuration.Email.server]])])]),t("div",Hs,[t("div",Bs,[t("label",js,[t("strong",null,[t("small",null,[i(p,{t:"Port"})])])]),b(t("input",{id:"port","onUpdate:modelValue":r[1]||(r[1]=d=>w(e).Configuration.Email.port=d),type:"text",class:"form-control"},null,512),[[f,w(e).Configuration.Email.port]])])]),t("div",zs,[t("div",Os,[t("label",qs,[t("strong",null,[t("small",null,[i(p,{t:"Encryption"})])])]),b(t("select",{class:"form-select","onUpdate:modelValue":r[2]||(r[2]=d=>w(e).Configuration.Email.encryption=d),id:"encryption"},[r[11]||(r[11]=t("option",{value:"STARTTLS"}," STARTTLS ",-1)),t("option",Qs,[i(p,{t:"No Encryption"})])],512),[[q,w(e).Configuration.Email.encryption]])])]),t("div",Js,[t("div",Xs,[t("label",Zs,[t("strong",null,[t("small",null,[i(p,{t:"Username"})])])]),b(t("input",{id:"username","onUpdate:modelValue":r[3]||(r[3]=d=>w(e).Configuration.Email.username=d),type:"text",class:"form-control"},null,512),[[f,w(e).Configuration.Email.username]])])]),t("div",ta,[t("div",ea,[t("label",sa,[t("strong",null,[t("small",null,[i(p,{t:"Password"})])])]),b(t("input",{id:"email_password","onUpdate:modelValue":r[4]||(r[4]=d=>w(e).Configuration.Email.email_password=d),type:"password",class:"form-control"},null,512),[[f,w(e).Configuration.Email.email_password]])])]),t("div",aa,[t("div",ia,[t("label",oa,[t("strong",null,[t("small",null,[i(p,{t:"Send From"})])])]),b(t("input",{id:"send_from","onUpdate:modelValue":r[5]||(r[5]=d=>w(e).Configuration.Email.send_from=d),type:"text",class:"form-control"},null,512),[[f,w(e).Configuration.Email.send_from]])])])])],32),c.value?(n(),l("hr",na)):_("",!0),c.value?(n(),l("div",la,[t("label",da,[t("small",ra,[i(p,{t:"Send Test Email"})])]),t("form",{onSubmit:r[8]||(r[8]=d=>{d.preventDefault(),o()}),class:"input-group"},[b(t("input",{type:"email",class:"form-control rounded-start-3",id:"test_email",placeholder:"john@example.com","onUpdate:modelValue":r[7]||(r[7]=d=>h.value=d),disabled:u.value},null,8,ua),[[f,h.value]]),t("button",{class:"btn bg-primary-subtle text-primary-emphasis border-primary-subtle rounded-end-3",type:"submit",value:"Submit",disabled:h.value.length===0||u.value,id:"button-addon2"},[u.value?(n(),l("span",ma)):(n(),l("i",ha)),i(p,{t:u.value?"Sending...":"Send"},null,8,["t"])],8,ca)],32)])):_("",!0),r[12]||(r[12]=t("hr",null,null,-1)),t("div",null,[t("label",pa,[t("small",ga,[i(p,{t:"Email Body Template"})])]),b(t("textarea",{class:"form-control rounded-3 font-monospace","onUpdate:modelValue":r[9]||(r[9]=d=>w(e).Configuration.Email.email_template=d),id:"email_template",style:{"min-height":"400px"}},null,512),[[f,w(e).Configuration.Email.email_template]])])])]))}},_a={name:"settings",components:{DashboardEmailSettings:ba,DashboardSettingsWireguardConfigurationAutostart:Fs,DashboardIPPortInput:Ss,DashboardLanguage:cs,LocaleText:p,AccountSettingsMFA:Xe,DashboardAPIKeys:je,DashboardSettingsInputIPAddressAndPort:re,DashboardTheme:Xt,DashboardSettingsInputWireguardConfigurationPath:zt,AccountSettingsInputPassword:At,AccountSettingsInputUsername:ct,PeersDefaultSettingsInput:it},setup(){return{dashboardConfigurationStore:y()}},data(){return{activeTab:"WGDashboard",tabs:[{id:"WGDashboard",title:"WGDashboard Settings"},{id:"Peers",title:"Peers Settings"},{id:"WireGuardConfiguration",title:"WireGuard Configuration Settings"}]}}},fa={class:"mt-md-5 mt-3 text-body mb-3"},va={class:"container-md d-flex flex-column gap-4"},ya={class:"nav nav-pills nav-justified align-items-center gap-2"},wa={class:"nav-item"},$a=["onClick"],ka={class:"my-2"},xa={key:0,class:"d-flex gap-3 flex-column"},Da={key:1,class:"d-flex gap-3 flex-column"},Sa={class:"card rounded-3"},Ia={class:"card-header"},Pa={class:"my-2"},Ca={class:"card-body"},Aa={key:2,class:"d-flex gap-3 flex-column"},Ta={class:"card rounded-3"},Ka={class:"card-header"},Va={class:"my-2"},Fa={class:"card-body"},La={class:"row g-2"},Ea={class:"col-sm"},Ma={class:"col-sm"},Ua={class:"card"},Na={class:"card-header"},Wa={class:"my-2"},Ga={class:"card-body"},Ya={class:"card"},Ra={class:"card-header"},Ha={class:"my-2"},Ba={class:"card-body d-flex flex-column gap-3"},ja={class:"card"},za={class:"card-header"},Oa={class:"my-2"},qa={class:"card-body"};function Qa(s,e,c,h,u,g){const o=m("LocaleText"),a=m("DashboardSettingsInputWireguardConfigurationPath"),r=m("DashboardSettingsWireguardConfigurationAutostart"),d=m("PeersDefaultSettingsInput"),C=m("DashboardTheme"),N=m("DashboardLanguage"),W=m("DashboardIPPortInput"),G=m("AccountSettingsInputUsername"),Y=m("AccountSettingsInputPassword"),R=m("AccountSettingsMFA"),H=m("DashboardAPIKeys"),B=m("DashboardEmailSettings");return n(),l("div",fa,[t("div",va,[t("div",null,[t("ul",ya,[(n(!0),l(P,null,K(this.tabs,V=>(n(),l("li",wa,[t("a",{class:$(["nav-link rounded-3",{active:this.activeTab===V.id}]),onClick:Ja=>this.activeTab=V.id,role:"button"},[t("h6",ka,[i(o,{t:V.title},null,8,["t"])])],10,$a)]))),256))]),e[1]||(e[1]=t("hr",null,null,-1)),t("div",null,[i(U,{name:"fade2",mode:"out-in"},{default:F(()=>[u.activeTab==="WireGuardConfiguration"?(n(),l("div",xa,[i(a,{targetData:"wg_conf_path",title:"Configurations Directory",warning:!0,"warning-text":"Remember to remove / at the end of your path. e.g /etc/wireguard"}),i(r)])):u.activeTab==="Peers"?(n(),l("div",Da,[t("div",Sa,[t("div",Ia,[t("h6",Pa,[i(o,{t:"Peer Default Settings"})])]),t("div",Ca,[t("div",null,[i(d,{targetData:"peer_global_dns",title:"DNS"}),i(d,{targetData:"peer_endpoint_allowed_ip",title:"Endpoint Allowed IPs"}),i(d,{targetData:"peer_mtu",title:"MTU"}),i(d,{targetData:"peer_keep_alive",title:"Persistent Keepalive"}),i(d,{targetData:"remote_endpoint",title:"Peer Remote Endpoint",warning:!0,warningText:"This will be changed globally, and will be apply to all peer's QR code and configuration file."})])])])])):u.activeTab==="WGDashboard"?(n(),l("div",Aa,[t("div",Ta,[t("div",Ka,[t("h6",Va,[i(o,{t:"Appearance"})])]),t("div",Fa,[t("div",La,[t("div",Ea,[i(C)]),t("div",Ma,[i(N)])])])]),t("div",Ua,[t("div",Na,[t("h6",Wa,[i(o,{t:"Dashboard IP Address & Listen Port"})])]),t("div",Ga,[i(W)])]),t("div",Ya,[t("div",Ra,[t("h6",Ha,[i(o,{t:"Account Settings"})])]),t("div",Ba,[t("div",null,[i(G,{targetData:"username",title:"Username"})]),e[0]||(e[0]=t("hr",null,null,-1)),t("div",null,[i(Y,{targetData:"password"})])])]),t("div",ja,[t("div",za,[t("h6",Oa,[i(o,{t:"Multi-Factor Authentication (MFA)"})])]),t("div",qa,[this.dashboardConfigurationStore.getActiveCrossServer()?_("",!0):(n(),x(R,{key:0}))])]),i(H),i(B)])):_("",!0)]),_:1})])])])])}const si=k(_a,[["render",Qa]]);export{si as default}; diff --git a/src/static/app/dist/assets/setup-Bd36RYKX.js b/src/static/dist/WGDashboardAdmin/assets/setup-D0XyMxzo.js similarity index 96% rename from src/static/app/dist/assets/setup-Bd36RYKX.js rename to src/static/dist/WGDashboardAdmin/assets/setup-D0XyMxzo.js index 4d204abe..06c47c05 100644 --- a/src/static/app/dist/assets/setup-Bd36RYKX.js +++ b/src/static/dist/WGDashboardAdmin/assets/setup-D0XyMxzo.js @@ -1 +1 @@ -import{_ as u,c as r,a as e,b as o,h as m,e as p,d as c,t as h,m as l,y as d,z as f,D as w,f as i}from"./index-BiMgJckX.js";import{L as g}from"./localeText-IWgb3jjT.js";const b={name:"setup",components:{LocaleText:g},setup(){return{store:w()}},data(){return{setup:{username:"",newPassword:"",repeatNewPassword:"",enable_totp:!0},loading:!1,errorMessage:"",done:!1}},computed:{goodToSubmit(){return this.setup.username&&this.setup.newPassword.length>=8&&this.setup.repeatNewPassword.length>=8&&this.setup.newPassword===this.setup.repeatNewPassword}},methods:{submit(){this.loading=!0,f("/api/Welcome_Finish",this.setup,n=>{n.status?(this.done=!0,this.$router.push("/2FASetup")):(document.querySelectorAll("#createAccount input").forEach(s=>s.classList.add("is-invalid")),this.errorMessage=n.message,document.querySelector(".login-container-fluid").scrollTo({top:0,left:0,behavior:"smooth"})),this.loading=!1})}}},_=["data-bs-theme"],x={class:"m-auto text-body",style:{width:"500px"}},v={class:"dashboardLogo display-4"},y={class:"mb-5"},P={key:0,class:"alert alert-danger"},N={class:"d-flex flex-column gap-3"},k={id:"createAccount",class:"d-flex flex-column gap-2"},S={class:"form-group text-body"},T={for:"username",class:"mb-1 text-muted"},C={class:"form-group text-body"},L={for:"password",class:"mb-1 text-muted"},V={class:"form-group text-body"},$={for:"confirmPassword",class:"mb-1 text-muted"},q=["disabled"],A={key:0,class:"d-flex align-items-center w-100"},M={key:1,class:"d-flex align-items-center w-100"};function B(n,s,D,E,U,F){const t=m("LocaleText");return i(),r("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.store.Configuration.Server.dashboard_theme},[e("div",x,[e("span",v,[o(t,{t:"Nice to meet you!"})]),e("p",y,[o(t,{t:"Please fill in the following fields to finish setup"}),s[4]||(s[4]=p(" 😊"))]),e("div",null,[e("h3",null,[o(t,{t:"Create an account"})]),this.errorMessage?(i(),r("div",P,h(this.errorMessage),1)):c("",!0),e("div",N,[e("form",k,[e("div",S,[e("label",T,[e("small",null,[o(t,{t:"Enter an username you like"})])]),l(e("input",{type:"text",autocomplete:"username","onUpdate:modelValue":s[0]||(s[0]=a=>this.setup.username=a),class:"form-control",id:"username",name:"username",required:""},null,512),[[d,this.setup.username]])]),e("div",C,[e("label",L,[e("small",null,[o(t,{t:"Enter a password"}),e("code",null,[o(t,{t:"(At least 8 characters and make sure is strong enough!)"})])])]),l(e("input",{type:"password",autocomplete:"new-password","onUpdate:modelValue":s[1]||(s[1]=a=>this.setup.newPassword=a),class:"form-control",id:"password",name:"password",required:""},null,512),[[d,this.setup.newPassword]])]),e("div",V,[e("label",$,[e("small",null,[o(t,{t:"Confirm password"})])]),l(e("input",{type:"password",autocomplete:"confirm-new-password","onUpdate:modelValue":s[2]||(s[2]=a=>this.setup.repeatNewPassword=a),class:"form-control",id:"confirmPassword",name:"confirmPassword",required:""},null,512),[[d,this.setup.repeatNewPassword]])])]),e("button",{class:"btn btn-dark btn-lg mb-5 d-flex btn-brand shadow align-items-center",ref:"signInBtn",disabled:!this.goodToSubmit||this.loading||this.done,onClick:s[3]||(s[3]=a=>this.submit())},[!this.loading&&!this.done?(i(),r("span",A,[o(t,{t:"Next"}),s[5]||(s[5]=e("i",{class:"bi bi-chevron-right ms-auto"},null,-1))])):(i(),r("span",M,[o(t,{t:"Saving..."}),s[6]||(s[6]=e("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},[e("span",{class:"visually-hidden"},"Loading...")],-1))]))],8,q)])])])],8,_)}const W=u(b,[["render",B]]);export{W as default}; +import{_ as u,c as r,a as e,b as o,h as m,e as p,d as c,t as h,m as l,y as d,z as f,D as w,f as i}from"./index-D5fbjBmH.js";import{L as g}from"./localeText-BwlyH2uL.js";const b={name:"setup",components:{LocaleText:g},setup(){return{store:w()}},data(){return{setup:{username:"",newPassword:"",repeatNewPassword:"",enable_totp:!0},loading:!1,errorMessage:"",done:!1}},computed:{goodToSubmit(){return this.setup.username&&this.setup.newPassword.length>=8&&this.setup.repeatNewPassword.length>=8&&this.setup.newPassword===this.setup.repeatNewPassword}},methods:{submit(){this.loading=!0,f("/api/Welcome_Finish",this.setup,n=>{n.status?(this.done=!0,this.$router.push("/2FASetup")):(document.querySelectorAll("#createAccount input").forEach(s=>s.classList.add("is-invalid")),this.errorMessage=n.message,document.querySelector(".login-container-fluid").scrollTo({top:0,left:0,behavior:"smooth"})),this.loading=!1})}}},_=["data-bs-theme"],x={class:"m-auto text-body",style:{width:"500px"}},v={class:"dashboardLogo display-4"},y={class:"mb-5"},P={key:0,class:"alert alert-danger"},N={class:"d-flex flex-column gap-3"},k={id:"createAccount",class:"d-flex flex-column gap-2"},S={class:"form-group text-body"},T={for:"username",class:"mb-1 text-muted"},C={class:"form-group text-body"},L={for:"password",class:"mb-1 text-muted"},V={class:"form-group text-body"},$={for:"confirmPassword",class:"mb-1 text-muted"},q=["disabled"],A={key:0,class:"d-flex align-items-center w-100"},M={key:1,class:"d-flex align-items-center w-100"};function B(n,s,D,E,U,F){const t=m("LocaleText");return i(),r("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.store.Configuration.Server.dashboard_theme},[e("div",x,[e("span",v,[o(t,{t:"Nice to meet you!"})]),e("p",y,[o(t,{t:"Please fill in the following fields to finish setup"}),s[4]||(s[4]=p(" 😊"))]),e("div",null,[e("h3",null,[o(t,{t:"Create an account"})]),this.errorMessage?(i(),r("div",P,h(this.errorMessage),1)):c("",!0),e("div",N,[e("form",k,[e("div",S,[e("label",T,[e("small",null,[o(t,{t:"Enter an username you like"})])]),l(e("input",{type:"text",autocomplete:"username","onUpdate:modelValue":s[0]||(s[0]=a=>this.setup.username=a),class:"form-control",id:"username",name:"username",required:""},null,512),[[d,this.setup.username]])]),e("div",C,[e("label",L,[e("small",null,[o(t,{t:"Enter a password"}),e("code",null,[o(t,{t:"(At least 8 characters and make sure is strong enough!)"})])])]),l(e("input",{type:"password",autocomplete:"new-password","onUpdate:modelValue":s[1]||(s[1]=a=>this.setup.newPassword=a),class:"form-control",id:"password",name:"password",required:""},null,512),[[d,this.setup.newPassword]])]),e("div",V,[e("label",$,[e("small",null,[o(t,{t:"Confirm password"})])]),l(e("input",{type:"password",autocomplete:"confirm-new-password","onUpdate:modelValue":s[2]||(s[2]=a=>this.setup.repeatNewPassword=a),class:"form-control",id:"confirmPassword",name:"confirmPassword",required:""},null,512),[[d,this.setup.repeatNewPassword]])])]),e("button",{class:"btn btn-dark btn-lg mb-5 d-flex btn-brand shadow align-items-center",ref:"signInBtn",disabled:!this.goodToSubmit||this.loading||this.done,onClick:s[3]||(s[3]=a=>this.submit())},[!this.loading&&!this.done?(i(),r("span",A,[o(t,{t:"Next"}),s[5]||(s[5]=e("i",{class:"bi bi-chevron-right ms-auto"},null,-1))])):(i(),r("span",M,[o(t,{t:"Saving..."}),s[6]||(s[6]=e("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},[e("span",{class:"visually-hidden"},"Loading...")],-1))]))],8,q)])])])],8,_)}const W=u(b,[["render",B]]);export{W as default}; diff --git a/src/static/app/dist/assets/share-DiWC7XJA.js b/src/static/dist/WGDashboardAdmin/assets/share-D1OkSpyp.js similarity index 95% rename from src/static/app/dist/assets/share-DiWC7XJA.js rename to src/static/dist/WGDashboardAdmin/assets/share-D1OkSpyp.js index e0c5de7e..31e5d9c7 100644 --- a/src/static/app/dist/assets/share-DiWC7XJA.js +++ b/src/static/dist/WGDashboardAdmin/assets/share-D1OkSpyp.js @@ -1 +1 @@ -import{_,c as m,a as t,b as r,h,r as c,D as p,g as u,K as b,f}from"./index-BiMgJckX.js";import{Q as v}from"./browser-CwJzqt71.js";import{L as y}from"./localeText-IWgb3jjT.js";const g={name:"share",components:{LocaleText:y},async setup(){const o=b(),e=c(!1),s=p(),n=c(""),i=c(void 0),l=c(new Blob);await u("/api/getDashboardTheme",{},d=>{n.value=d.data});const a=o.query.ShareID;return a===void 0||a.length===0?(i.value=void 0,e.value=!0):await u("/api/sharePeer/get",{ShareID:a},d=>{d.status?(i.value=d.data,l.value=new Blob([i.value.file],{type:"text/plain"})):i.value=void 0,e.value=!0}),{store:s,theme:n,peerConfiguration:i,blob:l}},mounted(){this.peerConfiguration&&v.toCanvas(document.querySelector("#qrcode"),this.peerConfiguration.file,o=>{o&&console.error(o)})},methods:{download(){const o=new Blob([this.peerConfiguration.file],{type:"text/plain"}),e=URL.createObjectURL(o),s=`${this.peerConfiguration.fileName}.conf`,n=document.createElement("a");n.href=e,n.download=s,n.click()}},computed:{getBlob(){return URL.createObjectURL(this.blob)}}},x=["data-bs-theme"],w={class:"m-auto text-body",style:{width:"500px"}},C={key:0,class:"text-center position-relative",style:{}},U={class:"position-absolute w-100 h-100 top-0 start-0 d-flex animate__animated animate__fadeInUp",style:{"animation-delay":"0.1s"}},I={class:"m-auto"},L={key:1,class:"d-flex align-items-center flex-column gap-3"},B={class:"h1 dashboardLogo text-center animate__animated animate__fadeInUp"},k={id:"qrcode",class:"rounded-3 shadow animate__animated animate__fadeInUp mb-3",ref:"qrcode"},R={class:"text-muted animate__animated animate__fadeInUp mb-1",style:{"animation-delay":"0.2s"}},D=["download","href"];function q(o,e,s,n,i,l){const a=h("LocaleText");return f(),m("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.theme},[t("div",w,[this.peerConfiguration?(f(),m("div",L,[t("div",B,[e[1]||(e[1]=t("h6",null,"WGDashboard",-1)),r(a,{t:"Scan QR Code with the WireGuard App to add peer"})]),t("canvas",k,null,512),t("p",R,[r(a,{t:"or click the button below to download the "}),e[2]||(e[2]=t("samp",null,".conf",-1)),r(a,{t:" file"})]),t("a",{download:this.peerConfiguration.fileName+".conf",href:l.getBlob,class:"btn btn-lg bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle animate__animated animate__fadeInUp shadow-sm",style:{"animation-delay":"0.25s"}},e[3]||(e[3]=[t("i",{class:"bi bi-download"},null,-1)]),8,D)])):(f(),m("div",C,[e[0]||(e[0]=t("div",{class:"animate__animated animate__fadeInUp"},[t("h1",{style:{"font-size":"20rem",filter:"blur(1rem)","animation-duration":"7s"},class:"animate__animated animate__flash animate__infinite"},[t("i",{class:"bi bi-file-binary"})])],-1)),t("div",U,[t("h3",I,[r(a,{t:"Oh no... This link is either expired or invalid."})])])]))])],8,x)}const N=_(g,[["render",q],["__scopeId","data-v-1b44aacd"]]);export{N as default}; +import{_,c as m,a as t,b as r,h,r as c,D as p,g as u,K as b,f}from"./index-D5fbjBmH.js";import{Q as v}from"./browser-DpR0RqZi.js";import{L as y}from"./localeText-BwlyH2uL.js";const g={name:"share",components:{LocaleText:y},async setup(){const o=b(),e=c(!1),s=p(),n=c(""),i=c(void 0),l=c(new Blob);await u("/api/getDashboardTheme",{},d=>{n.value=d.data});const a=o.query.ShareID;return a===void 0||a.length===0?(i.value=void 0,e.value=!0):await u("/api/sharePeer/get",{ShareID:a},d=>{d.status?(i.value=d.data,l.value=new Blob([i.value.file],{type:"text/plain"})):i.value=void 0,e.value=!0}),{store:s,theme:n,peerConfiguration:i,blob:l}},mounted(){this.peerConfiguration&&v.toCanvas(document.querySelector("#qrcode"),this.peerConfiguration.file,o=>{o&&console.error(o)})},methods:{download(){const o=new Blob([this.peerConfiguration.file],{type:"text/plain"}),e=URL.createObjectURL(o),s=`${this.peerConfiguration.fileName}.conf`,n=document.createElement("a");n.href=e,n.download=s,n.click()}},computed:{getBlob(){return URL.createObjectURL(this.blob)}}},x=["data-bs-theme"],w={class:"m-auto text-body",style:{width:"500px"}},C={key:0,class:"text-center position-relative",style:{}},U={class:"position-absolute w-100 h-100 top-0 start-0 d-flex animate__animated animate__fadeInUp",style:{"animation-delay":"0.1s"}},I={class:"m-auto"},L={key:1,class:"d-flex align-items-center flex-column gap-3"},B={class:"h1 dashboardLogo text-center animate__animated animate__fadeInUp"},k={id:"qrcode",class:"rounded-3 shadow animate__animated animate__fadeInUp mb-3",ref:"qrcode"},R={class:"text-muted animate__animated animate__fadeInUp mb-1",style:{"animation-delay":"0.2s"}},D=["download","href"];function q(o,e,s,n,i,l){const a=h("LocaleText");return f(),m("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.theme},[t("div",w,[this.peerConfiguration?(f(),m("div",L,[t("div",B,[e[1]||(e[1]=t("h6",null,"WGDashboard",-1)),r(a,{t:"Scan QR Code with the WireGuard App to add peer"})]),t("canvas",k,null,512),t("p",R,[r(a,{t:"or click the button below to download the "}),e[2]||(e[2]=t("samp",null,".conf",-1)),r(a,{t:" file"})]),t("a",{download:this.peerConfiguration.fileName+".conf",href:l.getBlob,class:"btn btn-lg bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle animate__animated animate__fadeInUp shadow-sm",style:{"animation-delay":"0.25s"}},e[3]||(e[3]=[t("i",{class:"bi bi-download"},null,-1)]),8,D)])):(f(),m("div",C,[e[0]||(e[0]=t("div",{class:"animate__animated animate__fadeInUp"},[t("h1",{style:{"font-size":"20rem",filter:"blur(1rem)","animation-duration":"7s"},class:"animate__animated animate__flash animate__infinite"},[t("i",{class:"bi bi-file-binary"})])],-1)),t("div",U,[t("h3",I,[r(a,{t:"Oh no... This link is either expired or invalid."})])])]))])],8,x)}const N=_(g,[["render",q],["__scopeId","data-v-1b44aacd"]]);export{N as default}; diff --git a/src/static/app/dist/assets/share-e5E8P3Ro.css b/src/static/dist/WGDashboardAdmin/assets/share-e5E8P3Ro.css similarity index 100% rename from src/static/app/dist/assets/share-e5E8P3Ro.css rename to src/static/dist/WGDashboardAdmin/assets/share-e5E8P3Ro.css diff --git a/src/static/app/dist/assets/signin-Dv_WT7fq.js b/src/static/dist/WGDashboardAdmin/assets/signin-BSqwRvQ7.js similarity index 98% rename from src/static/app/dist/assets/signin-Dv_WT7fq.js rename to src/static/dist/WGDashboardAdmin/assets/signin-BSqwRvQ7.js index c27f861f..b72dfc08 100644 --- a/src/static/app/dist/assets/signin-Dv_WT7fq.js +++ b/src/static/dist/WGDashboardAdmin/assets/signin-BSqwRvQ7.js @@ -1 +1 @@ -import{_ as g,G as m,c as n,a as t,m as u,y as h,n as w,t as k,f as i,D as S,b as l,h as f,d as _,F as T,i as C,j as $,ah as E,v as M,e as V,w as D,T as A,z as R,g as y}from"./index-BiMgJckX.js";import{M as P}from"./message-BbMgwdPm.js";import{d as x}from"./dayjs.min-DfzgISij.js";import{L}from"./localeText-IWgb3jjT.js";const U={name:"RemoteServer",props:{server:Object},data(){return{active:!1,startTime:void 0,endTime:void 0,errorMsg:"",refreshing:!1}},methods:{async handshake(){this.active=!1,this.server.host&&this.server.apiKey&&(this.refreshing=!0,this.startTime=void 0,this.endTime=void 0,this.startTime=x(),await fetch(`${this.server.host}/api/handshake`,{headers:{"content-type":"application/json","wg-dashboard-apikey":this.server.apiKey},method:"GET",signal:AbortSignal.timeout(5e3)}).then(s=>{if(s.status===200)return s.json();throw new Error(s.statusText)}).then(()=>{this.endTime=x(),this.active=!0}).catch(s=>{this.active=!1,this.errorMsg=s}),this.refreshing=!1)},async connect(){await fetch(`${this.server.host}/api/authenticate`,{headers:{"content-type":"application/json","wg-dashboard-apikey":this.server.apiKey},body:JSON.stringify({host:window.location.hostname}),method:"POST",signal:AbortSignal.timeout(5e3)}).then(s=>s.json()).then(s=>{this.$emit("setActiveServer"),this.$router.push("/")})}},mounted(){this.handshake()},computed:{getHandshakeTime(){return this.startTime&&this.endTime?`${x().subtract(this.startTime).millisecond()}ms`:this.refreshing?m("Pinging..."):this.errorMsg?this.errorMsg:"N/A"}}},q={class:"card rounded-3"},B={class:"card-body"},j={class:"d-flex gap-3 w-100 remoteServerContainer"},O={class:"d-flex gap-3 align-items-center flex-grow-1"},G={class:"d-flex gap-3 align-items-center flex-grow-1"},N={class:"d-flex gap-2 button-group"},K={class:"card-footer gap-2 d-flex align-items-center"},z={key:0,class:"spin ms-auto text-primary-emphasis"};function W(s,e,d,c,a,p){return i(),n("div",q,[t("div",B,[t("div",j,[t("div",O,[e[7]||(e[7]=t("i",{class:"bi bi-server"},null,-1)),u(t("input",{class:"form-control form-control-sm",onBlur:e[0]||(e[0]=o=>this.handshake()),"onUpdate:modelValue":e[1]||(e[1]=o=>this.server.host=o),type:"url"},null,544),[[h,this.server.host]])]),t("div",G,[e[8]||(e[8]=t("i",{class:"bi bi-key-fill"},null,-1)),u(t("input",{class:"form-control form-control-sm",onBlur:e[2]||(e[2]=o=>this.handshake()),"onUpdate:modelValue":e[3]||(e[3]=o=>this.server.apiKey=o),type:"text"},null,544),[[h,this.server.apiKey]])]),t("div",N,[t("button",{onClick:e[4]||(e[4]=o=>this.$emit("delete")),class:"ms-auto btn btn-sm bg-danger-subtle text-danger-emphasis border-1 border-danger-subtle"},e[9]||(e[9]=[t("i",{class:"bi bi-trash"},null,-1)])),t("button",{onClick:e[5]||(e[5]=o=>this.connect()),class:w([{disabled:!this.active},"ms-auto btn btn-sm bg-success-subtle text-success-emphasis border-1 border-success-subtle"])},e[10]||(e[10]=[t("i",{class:"bi bi-arrow-right-circle"},null,-1)]),2)])])]),t("div",K,[t("span",{class:w(["dot ms-0 me-2",[this.active?"active":"inactive"]])},null,2),t("small",null,k(this.getHandshakeTime),1),this.refreshing?(i(),n("div",z,e[11]||(e[11]=[t("i",{class:"bi bi-arrow-clockwise"},null,-1)]))):(i(),n("a",{key:1,role:"button",onClick:e[6]||(e[6]=o=>this.handshake()),class:"text-primary-emphasis text-decoration-none ms-auto disabled"},e[12]||(e[12]=[t("i",{class:"bi bi-arrow-clockwise me"},null,-1)])))])])}const F=g(U,[["render",W],["__scopeId","data-v-ed7817c7"]]),H={name:"RemoteServerList",setup(){return{store:S()}},components:{LocaleText:L,RemoteServer:F}},J={class:"w-100 mt-3"},Z={class:"d-flex align-items-center mb-3"},Q={class:"mb-0"},X={class:"w-100 d-flex gap-3 flex-column p-3 border border-1 border-secondary-subtle rounded-3",style:{height:"400px","overflow-y":"scroll"}},Y={key:0,class:"text-muted m-auto"};function ee(s,e,d,c,a,p){const o=f("LocaleText"),v=f("RemoteServer");return i(),n("div",J,[t("div",Z,[t("h5",Q,[l(o,{t:"Server List"})]),t("button",{onClick:e[0]||(e[0]=b=>this.store.addCrossServerConfiguration()),class:"btn bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle shadow-sm ms-auto"},[e[1]||(e[1]=t("i",{class:"bi bi-plus-circle-fill me-2"},null,-1)),l(o,{t:"Server"})])]),t("div",X,[(i(!0),n(T,null,C(this.store.CrossServerConfiguration.ServerList,(b,r)=>(i(),$(v,{onSetActiveServer:I=>this.store.setActiveCrossServer(r),onDelete:I=>this.store.deleteCrossServerConfiguration(r),key:r,server:b},null,8,["onSetActiveServer","onDelete","server"]))),128)),Object.keys(this.store.CrossServerConfiguration.ServerList).length===0?(i(),n("h6",Y,[l(o,{t:"Click"}),e[2]||(e[2]=t("i",{class:"bi bi-plus-circle-fill mx-1"},null,-1)),l(o,{t:"to add your server"})])):_("",!0)])])}const te=g(H,[["render",ee]]),se={name:"signInInput",methods:{GetLocale:m},props:{id:"",data:"",type:"",placeholder:""},computed:{getLocaleText(){return m(this.placeholder)}}},oe=["type","id","name","placeholder"];function ie(s,e,d,c,a,p){return u((i(),n("input",{type:d.type,"onUpdate:modelValue":e[0]||(e[0]=o=>this.data[this.id]=o),class:"form-control rounded-3",id:this.id,name:this.id,autocomplete:"on",placeholder:this.getLocaleText,required:""},null,8,oe)),[[E,this.data[this.id]]])}const re=g(se,[["render",ie]]),ne={name:"signInTOTP",methods:{GetLocale:m},props:{data:""},computed:{getLocaleText(){return m("OTP from your authenticator")}}},ae=["placeholder"];function le(s,e,d,c,a,p){return u((i(),n("input",{class:"form-control totp",required:"",id:"totp",maxlength:"6",type:"text",inputmode:"numeric",autocomplete:"one-time-code",placeholder:this.getLocaleText,"onUpdate:modelValue":e[0]||(e[0]=o=>this.data.totp=o)},null,8,ae)),[[h,this.data.totp]])}const de=g(ne,[["render",le]]),ue={name:"signin",components:{SignInTOTP:de,SignInInput:re,LocaleText:L,RemoteServerList:te,Message:P},async setup(){const s=S();let e="dark",d=!1,c;return s.IsElectronApp||await Promise.all([y("/api/getDashboardTheme",{},a=>{e=a.data}),y("/api/isTotpEnabled",{},a=>{d=a.data}),y("/api/getDashboardVersion",{},a=>{c=a.data})]),s.removeActiveCrossServer(),{store:s,theme:e,totpEnabled:d,version:c}},data(){return{data:{username:"",password:"",totp:""},loginError:!1,loginErrorMessage:"",loading:!1}},computed:{getMessages(){return this.store.Messages.filter(s=>s.show)},applyLocale(s){return m(s)},formValid(){return this.data.username&&this.data.password&&(this.totpEnabled&&this.data.totp||!this.totpEnabled)}},methods:{GetLocale:m,async auth(){this.formValid?(this.loading=!0,await R("/api/authenticate",this.data,s=>{s.status?(this.loginError=!1,this.$refs.signInBtn.classList.add("signedIn"),s.message?this.$router.push("/welcome"):this.store.Redirect!==void 0?this.$router.push(this.store.Redirect):this.$router.push("/")):(this.store.newMessage("Server",s.message,"danger"),document.querySelectorAll("input[required]").forEach(e=>{e.classList.remove("is-valid"),e.classList.add("is-invalid")}),this.loading=!1)})):document.querySelectorAll("input[required]").forEach(s=>{s.value.length===0?(s.classList.remove("is-valid"),s.classList.add("is-invalid")):(s.classList.remove("is-invalid"),s.classList.add("is-valid"))})}}},ce=["data-bs-theme"],me={class:"login-box m-auto"},he={class:"m-auto signInContainer",style:{width:"700px"}},pe={class:"mb-0 text-body"},fe={class:"form-floating mb-2"},ge=["disabled"],be={for:"floatingInput",class:"d-flex"},ve={class:"form-floating mb-2"},ye=["disabled"],xe={for:"floatingInput",class:"d-flex"},_e={key:0,class:"form-floating mb-2"},$e=["disabled"],we={for:"floatingInput",class:"d-flex"},ke=["disabled"],Se={key:0,class:"d-flex w-100"},Te={key:1,class:"d-flex w-100 align-items-center"},Ce={key:2,class:"d-flex mt-3"},Le={class:"form-check form-switch ms-auto"},Ie=["disabled"],Ee={class:"form-check-label",for:"flexSwitchCheckChecked"},Me={class:"text-muted pb-3 d-block w-100 text-center mt-3"},Ve={class:"messageCentre text-body position-absolute d-flex"};function De(s,e,d,c,a,p){const o=f("LocaleText"),v=f("RemoteServerList"),b=f("Message");return i(),n("div",{class:"container-fluid login-container-fluid d-flex main flex-column py-4 text-body h-100",style:{"overflow-y":"scroll"},"data-bs-theme":this.theme},[t("div",me,[t("div",he,[t("h4",pe,[l(o,{t:"Welcome to"})]),e[10]||(e[10]=t("span",{class:"dashboardLogo display-3"},[t("strong",null,"WGDashboard")],-1)),this.store.CrossServerConfiguration.Enable?(i(),$(v,{key:1})):(i(),n("form",{key:0,onSubmit:e[3]||(e[3]=r=>{r.preventDefault(),this.auth()}),class:"mt-3"},[t("div",fe,[u(t("input",{type:"text",required:"",disabled:a.loading,"onUpdate:modelValue":e[0]||(e[0]=r=>this.data.username=r),name:"username",autocomplete:"username",autofocus:"",class:"form-control rounded-3",id:"username",placeholder:"Username"},null,8,ge),[[h,this.data.username]]),t("label",be,[e[5]||(e[5]=t("i",{class:"bi bi-person-circle me-2"},null,-1)),l(o,{t:"Username"})])]),t("div",ve,[u(t("input",{type:"password",required:"",disabled:a.loading,autocomplete:"current-password","onUpdate:modelValue":e[1]||(e[1]=r=>this.data.password=r),class:"form-control rounded-3",id:"password",placeholder:"Password"},null,8,ye),[[h,this.data.password]]),t("label",xe,[e[6]||(e[6]=t("i",{class:"bi bi-key-fill me-2"},null,-1)),l(o,{t:"Password"})])]),this.totpEnabled?(i(),n("div",_e,[u(t("input",{type:"text",id:"totp",required:"",disabled:a.loading,placeholder:"totp","onUpdate:modelValue":e[2]||(e[2]=r=>this.data.totp=r),class:"form-control rounded-3",maxlength:"6",inputmode:"numeric",autocomplete:"one-time-code"},null,8,$e),[[h,this.data.totp]]),t("label",we,[e[7]||(e[7]=t("i",{class:"bi bi-lock-fill me-2"},null,-1)),l(o,{t:"OTP from your authenticator"})])])):_("",!0),t("button",{class:"btn btn-lg btn-dark ms-auto mt-5 w-100 d-flex btn-brand signInBtn rounded-3",disabled:this.loading||!this.formValid,ref:"signInBtn"},[this.loading?(i(),n("span",Te,[l(o,{t:"Signing In..."}),e[9]||(e[9]=t("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},null,-1))])):(i(),n("span",Se,[l(o,{t:"Sign In"}),e[8]||(e[8]=t("i",{class:"ms-auto bi bi-chevron-right"},null,-1))]))],8,ke)],32)),this.store.IsElectronApp?_("",!0):(i(),n("div",Ce,[t("div",Le,[u(t("input",{"onUpdate:modelValue":e[4]||(e[4]=r=>this.store.CrossServerConfiguration.Enable=r),disabled:a.loading,class:"form-check-input",type:"checkbox",role:"switch",id:"flexSwitchCheckChecked"},null,8,Ie),[[M,this.store.CrossServerConfiguration.Enable]]),t("label",Ee,[l(o,{t:"Access Remote Server"})])])]))])]),t("small",Me,[V(" WGDashboard "+k(this.version)+" | Developed with ❤️ by ",1),e[11]||(e[11]=t("a",{href:"https://github.com/donaldzou",target:"_blank"},[t("strong",null,"Donald Zou")],-1))]),t("div",Ve,[l(A,{name:"message",tag:"div",class:"position-relative flex-sm-grow-0 flex-grow-1 d-flex align-items-end ms-sm-auto flex-column gap-2"},{default:D(()=>[(i(!0),n(T,null,C(p.getMessages.slice().reverse(),r=>(i(),$(b,{message:r,key:r.id},null,8,["message"]))),128))]),_:1})])],8,ce)}const qe=g(ue,[["render",De],["__scopeId","data-v-80e20da4"]]);export{qe as default}; +import{_ as g,G as m,c as n,a as t,m as u,y as h,n as w,t as k,f as i,D as S,b as l,h as f,d as _,F as T,i as C,j as $,ah as E,v as M,e as V,w as D,T as A,z as R,g as y}from"./index-D5fbjBmH.js";import{M as P}from"./message-DXxfTvqC.js";import{d as x}from"./dayjs.min-Rf3-f83x.js";import{L}from"./localeText-BwlyH2uL.js";const U={name:"RemoteServer",props:{server:Object},data(){return{active:!1,startTime:void 0,endTime:void 0,errorMsg:"",refreshing:!1}},methods:{async handshake(){this.active=!1,this.server.host&&this.server.apiKey&&(this.refreshing=!0,this.startTime=void 0,this.endTime=void 0,this.startTime=x(),await fetch(`${this.server.host}/api/handshake`,{headers:{"content-type":"application/json","wg-dashboard-apikey":this.server.apiKey},method:"GET",signal:AbortSignal.timeout(5e3)}).then(s=>{if(s.status===200)return s.json();throw new Error(s.statusText)}).then(()=>{this.endTime=x(),this.active=!0}).catch(s=>{this.active=!1,this.errorMsg=s}),this.refreshing=!1)},async connect(){await fetch(`${this.server.host}/api/authenticate`,{headers:{"content-type":"application/json","wg-dashboard-apikey":this.server.apiKey},body:JSON.stringify({host:window.location.hostname}),method:"POST",signal:AbortSignal.timeout(5e3)}).then(s=>s.json()).then(s=>{this.$emit("setActiveServer"),this.$router.push("/")})}},mounted(){this.handshake()},computed:{getHandshakeTime(){return this.startTime&&this.endTime?`${x().subtract(this.startTime).millisecond()}ms`:this.refreshing?m("Pinging..."):this.errorMsg?this.errorMsg:"N/A"}}},q={class:"card rounded-3"},B={class:"card-body"},j={class:"d-flex gap-3 w-100 remoteServerContainer"},O={class:"d-flex gap-3 align-items-center flex-grow-1"},G={class:"d-flex gap-3 align-items-center flex-grow-1"},N={class:"d-flex gap-2 button-group"},K={class:"card-footer gap-2 d-flex align-items-center"},z={key:0,class:"spin ms-auto text-primary-emphasis"};function W(s,e,d,c,a,p){return i(),n("div",q,[t("div",B,[t("div",j,[t("div",O,[e[7]||(e[7]=t("i",{class:"bi bi-server"},null,-1)),u(t("input",{class:"form-control form-control-sm",onBlur:e[0]||(e[0]=o=>this.handshake()),"onUpdate:modelValue":e[1]||(e[1]=o=>this.server.host=o),type:"url"},null,544),[[h,this.server.host]])]),t("div",G,[e[8]||(e[8]=t("i",{class:"bi bi-key-fill"},null,-1)),u(t("input",{class:"form-control form-control-sm",onBlur:e[2]||(e[2]=o=>this.handshake()),"onUpdate:modelValue":e[3]||(e[3]=o=>this.server.apiKey=o),type:"text"},null,544),[[h,this.server.apiKey]])]),t("div",N,[t("button",{onClick:e[4]||(e[4]=o=>this.$emit("delete")),class:"ms-auto btn btn-sm bg-danger-subtle text-danger-emphasis border-1 border-danger-subtle"},e[9]||(e[9]=[t("i",{class:"bi bi-trash"},null,-1)])),t("button",{onClick:e[5]||(e[5]=o=>this.connect()),class:w([{disabled:!this.active},"ms-auto btn btn-sm bg-success-subtle text-success-emphasis border-1 border-success-subtle"])},e[10]||(e[10]=[t("i",{class:"bi bi-arrow-right-circle"},null,-1)]),2)])])]),t("div",K,[t("span",{class:w(["dot ms-0 me-2",[this.active?"active":"inactive"]])},null,2),t("small",null,k(this.getHandshakeTime),1),this.refreshing?(i(),n("div",z,e[11]||(e[11]=[t("i",{class:"bi bi-arrow-clockwise"},null,-1)]))):(i(),n("a",{key:1,role:"button",onClick:e[6]||(e[6]=o=>this.handshake()),class:"text-primary-emphasis text-decoration-none ms-auto disabled"},e[12]||(e[12]=[t("i",{class:"bi bi-arrow-clockwise me"},null,-1)])))])])}const F=g(U,[["render",W],["__scopeId","data-v-ed7817c7"]]),H={name:"RemoteServerList",setup(){return{store:S()}},components:{LocaleText:L,RemoteServer:F}},J={class:"w-100 mt-3"},Z={class:"d-flex align-items-center mb-3"},Q={class:"mb-0"},X={class:"w-100 d-flex gap-3 flex-column p-3 border border-1 border-secondary-subtle rounded-3",style:{height:"400px","overflow-y":"scroll"}},Y={key:0,class:"text-muted m-auto"};function ee(s,e,d,c,a,p){const o=f("LocaleText"),v=f("RemoteServer");return i(),n("div",J,[t("div",Z,[t("h5",Q,[l(o,{t:"Server List"})]),t("button",{onClick:e[0]||(e[0]=b=>this.store.addCrossServerConfiguration()),class:"btn bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle shadow-sm ms-auto"},[e[1]||(e[1]=t("i",{class:"bi bi-plus-circle-fill me-2"},null,-1)),l(o,{t:"Server"})])]),t("div",X,[(i(!0),n(T,null,C(this.store.CrossServerConfiguration.ServerList,(b,r)=>(i(),$(v,{onSetActiveServer:I=>this.store.setActiveCrossServer(r),onDelete:I=>this.store.deleteCrossServerConfiguration(r),key:r,server:b},null,8,["onSetActiveServer","onDelete","server"]))),128)),Object.keys(this.store.CrossServerConfiguration.ServerList).length===0?(i(),n("h6",Y,[l(o,{t:"Click"}),e[2]||(e[2]=t("i",{class:"bi bi-plus-circle-fill mx-1"},null,-1)),l(o,{t:"to add your server"})])):_("",!0)])])}const te=g(H,[["render",ee]]),se={name:"signInInput",methods:{GetLocale:m},props:{id:"",data:"",type:"",placeholder:""},computed:{getLocaleText(){return m(this.placeholder)}}},oe=["type","id","name","placeholder"];function ie(s,e,d,c,a,p){return u((i(),n("input",{type:d.type,"onUpdate:modelValue":e[0]||(e[0]=o=>this.data[this.id]=o),class:"form-control rounded-3",id:this.id,name:this.id,autocomplete:"on",placeholder:this.getLocaleText,required:""},null,8,oe)),[[E,this.data[this.id]]])}const re=g(se,[["render",ie]]),ne={name:"signInTOTP",methods:{GetLocale:m},props:{data:""},computed:{getLocaleText(){return m("OTP from your authenticator")}}},ae=["placeholder"];function le(s,e,d,c,a,p){return u((i(),n("input",{class:"form-control totp",required:"",id:"totp",maxlength:"6",type:"text",inputmode:"numeric",autocomplete:"one-time-code",placeholder:this.getLocaleText,"onUpdate:modelValue":e[0]||(e[0]=o=>this.data.totp=o)},null,8,ae)),[[h,this.data.totp]])}const de=g(ne,[["render",le]]),ue={name:"signin",components:{SignInTOTP:de,SignInInput:re,LocaleText:L,RemoteServerList:te,Message:P},async setup(){const s=S();let e="dark",d=!1,c;return s.IsElectronApp||await Promise.all([y("/api/getDashboardTheme",{},a=>{e=a.data}),y("/api/isTotpEnabled",{},a=>{d=a.data}),y("/api/getDashboardVersion",{},a=>{c=a.data})]),s.removeActiveCrossServer(),{store:s,theme:e,totpEnabled:d,version:c}},data(){return{data:{username:"",password:"",totp:""},loginError:!1,loginErrorMessage:"",loading:!1}},computed:{getMessages(){return this.store.Messages.filter(s=>s.show)},applyLocale(s){return m(s)},formValid(){return this.data.username&&this.data.password&&(this.totpEnabled&&this.data.totp||!this.totpEnabled)}},methods:{GetLocale:m,async auth(){this.formValid?(this.loading=!0,await R("/api/authenticate",this.data,s=>{s.status?(this.loginError=!1,this.$refs.signInBtn.classList.add("signedIn"),s.message?this.$router.push("/welcome"):this.store.Redirect!==void 0?this.$router.push(this.store.Redirect):this.$router.push("/")):(this.store.newMessage("Server",s.message,"danger"),document.querySelectorAll("input[required]").forEach(e=>{e.classList.remove("is-valid"),e.classList.add("is-invalid")}),this.loading=!1)})):document.querySelectorAll("input[required]").forEach(s=>{s.value.length===0?(s.classList.remove("is-valid"),s.classList.add("is-invalid")):(s.classList.remove("is-invalid"),s.classList.add("is-valid"))})}}},ce=["data-bs-theme"],me={class:"login-box m-auto"},he={class:"m-auto signInContainer",style:{width:"700px"}},pe={class:"mb-0 text-body"},fe={class:"form-floating mb-2"},ge=["disabled"],be={for:"floatingInput",class:"d-flex"},ve={class:"form-floating mb-2"},ye=["disabled"],xe={for:"floatingInput",class:"d-flex"},_e={key:0,class:"form-floating mb-2"},$e=["disabled"],we={for:"floatingInput",class:"d-flex"},ke=["disabled"],Se={key:0,class:"d-flex w-100"},Te={key:1,class:"d-flex w-100 align-items-center"},Ce={key:2,class:"d-flex mt-3"},Le={class:"form-check form-switch ms-auto"},Ie=["disabled"],Ee={class:"form-check-label",for:"flexSwitchCheckChecked"},Me={class:"text-muted pb-3 d-block w-100 text-center mt-3"},Ve={class:"messageCentre text-body position-absolute d-flex"};function De(s,e,d,c,a,p){const o=f("LocaleText"),v=f("RemoteServerList"),b=f("Message");return i(),n("div",{class:"container-fluid login-container-fluid d-flex main flex-column py-4 text-body h-100",style:{"overflow-y":"scroll"},"data-bs-theme":this.theme},[t("div",me,[t("div",he,[t("h4",pe,[l(o,{t:"Welcome to"})]),e[10]||(e[10]=t("span",{class:"dashboardLogo display-3"},[t("strong",null,"WGDashboard")],-1)),this.store.CrossServerConfiguration.Enable?(i(),$(v,{key:1})):(i(),n("form",{key:0,onSubmit:e[3]||(e[3]=r=>{r.preventDefault(),this.auth()}),class:"mt-3"},[t("div",fe,[u(t("input",{type:"text",required:"",disabled:a.loading,"onUpdate:modelValue":e[0]||(e[0]=r=>this.data.username=r),name:"username",autocomplete:"username",autofocus:"",class:"form-control rounded-3",id:"username",placeholder:"Username"},null,8,ge),[[h,this.data.username]]),t("label",be,[e[5]||(e[5]=t("i",{class:"bi bi-person-circle me-2"},null,-1)),l(o,{t:"Username"})])]),t("div",ve,[u(t("input",{type:"password",required:"",disabled:a.loading,autocomplete:"current-password","onUpdate:modelValue":e[1]||(e[1]=r=>this.data.password=r),class:"form-control rounded-3",id:"password",placeholder:"Password"},null,8,ye),[[h,this.data.password]]),t("label",xe,[e[6]||(e[6]=t("i",{class:"bi bi-key-fill me-2"},null,-1)),l(o,{t:"Password"})])]),this.totpEnabled?(i(),n("div",_e,[u(t("input",{type:"text",id:"totp",required:"",disabled:a.loading,placeholder:"totp","onUpdate:modelValue":e[2]||(e[2]=r=>this.data.totp=r),class:"form-control rounded-3",maxlength:"6",inputmode:"numeric",autocomplete:"one-time-code"},null,8,$e),[[h,this.data.totp]]),t("label",we,[e[7]||(e[7]=t("i",{class:"bi bi-lock-fill me-2"},null,-1)),l(o,{t:"OTP from your authenticator"})])])):_("",!0),t("button",{class:"btn btn-lg btn-dark ms-auto mt-5 w-100 d-flex btn-brand signInBtn rounded-3",disabled:this.loading||!this.formValid,ref:"signInBtn"},[this.loading?(i(),n("span",Te,[l(o,{t:"Signing In..."}),e[9]||(e[9]=t("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},null,-1))])):(i(),n("span",Se,[l(o,{t:"Sign In"}),e[8]||(e[8]=t("i",{class:"ms-auto bi bi-chevron-right"},null,-1))]))],8,ke)],32)),this.store.IsElectronApp?_("",!0):(i(),n("div",Ce,[t("div",Le,[u(t("input",{"onUpdate:modelValue":e[4]||(e[4]=r=>this.store.CrossServerConfiguration.Enable=r),disabled:a.loading,class:"form-check-input",type:"checkbox",role:"switch",id:"flexSwitchCheckChecked"},null,8,Ie),[[M,this.store.CrossServerConfiguration.Enable]]),t("label",Ee,[l(o,{t:"Access Remote Server"})])])]))])]),t("small",Me,[V(" WGDashboard "+k(this.version)+" | Developed with ❤️ by ",1),e[11]||(e[11]=t("a",{href:"https://github.com/donaldzou",target:"_blank"},[t("strong",null,"Donald Zou")],-1))]),t("div",Ve,[l(A,{name:"message",tag:"div",class:"position-relative flex-sm-grow-0 flex-grow-1 d-flex align-items-end ms-sm-auto flex-column gap-2"},{default:D(()=>[(i(!0),n(T,null,C(p.getMessages.slice().reverse(),r=>(i(),$(b,{message:r,key:r.id},null,8,["message"]))),128))]),_:1})])],8,ce)}const qe=g(ue,[["render",De],["__scopeId","data-v-80e20da4"]]);export{qe as default}; diff --git a/src/static/app/dist/assets/signin-CC0REHXm.css b/src/static/dist/WGDashboardAdmin/assets/signin-CC0REHXm.css similarity index 100% rename from src/static/app/dist/assets/signin-CC0REHXm.css rename to src/static/dist/WGDashboardAdmin/assets/signin-CC0REHXm.css diff --git a/src/static/app/dist/assets/storageMount-Bw-_Mzzo.css b/src/static/dist/WGDashboardAdmin/assets/storageMount-Bw-_Mzzo.css similarity index 100% rename from src/static/app/dist/assets/storageMount-Bw-_Mzzo.css rename to src/static/dist/WGDashboardAdmin/assets/storageMount-Bw-_Mzzo.css diff --git a/src/static/app/dist/assets/storageMount.vue_vue_type_style_index_0_scoped_9509d7a0_lang-W5WxuFyn.js b/src/static/dist/WGDashboardAdmin/assets/storageMount.vue_vue_type_style_index_0_scoped_9509d7a0_lang-KDIKOXhL.js similarity index 93% rename from src/static/app/dist/assets/storageMount.vue_vue_type_style_index_0_scoped_9509d7a0_lang-W5WxuFyn.js rename to src/static/dist/WGDashboardAdmin/assets/storageMount.vue_vue_type_style_index_0_scoped_9509d7a0_lang-KDIKOXhL.js index b8af2912..05c7ae6a 100644 --- a/src/static/app/dist/assets/storageMount.vue_vue_type_style_index_0_scoped_9509d7a0_lang-W5WxuFyn.js +++ b/src/static/dist/WGDashboardAdmin/assets/storageMount.vue_vue_type_style_index_0_scoped_9509d7a0_lang-KDIKOXhL.js @@ -1 +1 @@ -import{_ as b,p as m,q as p,r as v,c as t,f as r,b as f,w as g,d as x,n as C,s as n,a as l,t as d,k as w}from"./index-BiMgJckX.js";const y={class:"text-muted me-2"},_={class:"fw-bold"},k={__name:"cpuCore",props:{core_number:Number,percentage:Number,align:Boolean,square:Boolean},setup(e){m(c=>({"2ec4d3bc":o.value}));const u=e,s=v(!1),o=p(()=>u.square?"40px":"25px");return(c,a)=>(r(),t("div",{class:"flex-grow-1 square rounded-3 border position-relative p-2",onMouseenter:a[0]||(a[0]=i=>s.value=!0),onMouseleave:a[1]||(a[1]=i=>s.value=!1),style:n({"background-color":`rgb(13 110 253 / ${e.percentage*10}%)`})},[f(w,{name:"zoomReversed"},{default:g(()=>[s.value?(r(),t("div",{key:0,style:n([{"white-space":"nowrap"},{top:o.value}]),class:C(["floatingLabel z-3 border position-absolute d-block p-1 px-2 bg-body text-body rounded-3 border shadow d-flex",[e.align?"end-0":"start-0"]])},[l("small",y," Core #"+d(e.core_number+1),1),l("small",_,d(e.percentage)+"% ",1)],6)):x("",!0)]),_:1})],36))}},B=b(k,[["__scopeId","data-v-2ad535bb"]]);export{B as C}; +import{_ as b,p as m,q as p,r as v,c as t,f as r,b as f,w as g,d as x,n as C,s as n,a as l,t as d,k as w}from"./index-D5fbjBmH.js";const y={class:"text-muted me-2"},_={class:"fw-bold"},k={__name:"cpuCore",props:{core_number:Number,percentage:Number,align:Boolean,square:Boolean},setup(e){m(c=>({"2ec4d3bc":o.value}));const u=e,s=v(!1),o=p(()=>u.square?"40px":"25px");return(c,a)=>(r(),t("div",{class:"flex-grow-1 square rounded-3 border position-relative p-2",onMouseenter:a[0]||(a[0]=i=>s.value=!0),onMouseleave:a[1]||(a[1]=i=>s.value=!1),style:n({"background-color":`rgb(13 110 253 / ${e.percentage*10}%)`})},[f(w,{name:"zoomReversed"},{default:g(()=>[s.value?(r(),t("div",{key:0,style:n([{"white-space":"nowrap"},{top:o.value}]),class:C(["floatingLabel z-3 border position-absolute d-block p-1 px-2 bg-body text-body rounded-3 border shadow d-flex",[e.align?"end-0":"start-0"]])},[l("small",y," Core #"+d(e.core_number+1),1),l("small",_,d(e.percentage)+"% ",1)],6)):x("",!0)]),_:1})],36))}},B=b(k,[["__scopeId","data-v-2ad535bb"]]);export{B as C}; diff --git a/src/static/app/dist/assets/systemStatus-CDJI7TSf.js b/src/static/dist/WGDashboardAdmin/assets/systemStatus-C9p8AMJS.js similarity index 96% rename from src/static/app/dist/assets/systemStatus-CDJI7TSf.js rename to src/static/dist/WGDashboardAdmin/assets/systemStatus-C9p8AMJS.js index 6759990d..dfd681e0 100644 --- a/src/static/app/dist/assets/systemStatus-CDJI7TSf.js +++ b/src/static/dist/WGDashboardAdmin/assets/systemStatus-C9p8AMJS.js @@ -1 +1 @@ -import{_ as E,c as o,f as l,a as e,t as d,D as T,q as _,o as H,x as W,r as p,g as q,G as b,b as r,s as h,F as v,i as g,u as N,w as O,T as $,d as y,e as x,j as C}from"./index-BiMgJckX.js";import{L as c}from"./localeText-IWgb3jjT.js";import{C as F}from"./storageMount.vue_vue_type_style_index_0_scoped_9509d7a0_lang-W5WxuFyn.js";import{C as z,L as A,B as J,a as K,b as Q,c as X,p as Y,d as Z,e as ee,f as se,P as te,i as ae,g as M}from"./index-CaZlhoCi.js";import{d as le}from"./dayjs.min-DfzgISij.js";const oe={class:"mb-1 d-flex gap-5"},re={class:"title"},ne={class:"ms-auto"},ie={__name:"process",props:["process","cpu"],setup(m){return(w,s)=>(l(),o("div",oe,[e("small",re,[s[0]||(s[0]=e("i",{class:"bi bi-code-square me-2"},null,-1)),e("samp",null,d(m.process.command?m.process.command:m.process.name),1)]),e("small",ne,d(Math.round((m.process.percent+Number.EPSILON)*10)/10)+"% ",1)]))}},D=E(ie,[["__scopeId","data-v-ffe5ad8f"]]),ce={class:"text-body row g-2 mb-2"},de={class:"col-sm-6"},ue={class:"card rounded-3 h-100 shadow"},_e={class:"card-body p-4"},pe={class:"d-flex flex-column gap-3"},he={class:"d-flex flex-column gap-3",style:{height:"130px"}},me={class:"d-flex align-items-center"},be={class:"text-muted mb-0"},ve={class:"ms-auto mb-0"},ge={key:0},ye={key:1,class:"spinner-border"},fe={class:"progress",role:"progressbar",style:{height:"10px"}},xe={class:"d-flex gap-1"},we={class:"d-flex align-items-center"},ke={class:"mb-0"},Ne={class:"mb-0 ms-auto text-muted"},Ce={class:"position-relative"},Me={class:"col-sm-6"},Se={class:"card rounded-3 h-100 shadow"},Ie={class:"card-body p-4"},Pe={class:"d-flex flex-column gap-3"},Ue={class:"d-flex flex-column gap-3",style:{height:"130px"}},Le={class:"d-flex align-items-center"},Be={class:"text-muted"},Oe={class:"ms-auto"},$e={key:0},De={key:1,class:"spinner-border"},Ee={class:"progress",role:"progressbar",style:{height:"10px"}},Ve={class:"d-flex align-items-center"},Re={class:"mb-0"},je={class:"mb-0 ms-auto"},Ge={class:"progress",role:"progressbar",style:{height:"10px"}},Te={class:"d-flex align-items-center"},He={class:"mb-0"},We={class:"mb-0 ms-auto text-muted"},qe={class:"position-relative"},Fe={class:"col-sm-12"},ze={class:"card rounded-3 h-100 shadow"},Ae={class:"card-body p-4 d-flex gap-3 flex-column"},Je={class:"d-flex align-items-center gap-3"},Ke={class:"text-muted mb-0"},Qe={class:"ms-auto mb-0"},Xe={key:0},Ye={key:1,class:"spinner-border"},Ze={key:0,class:"mb-0 text-end"},es={class:"text-info"},ss={class:"text-warning"},ts={key:0,class:"row g-3"},as={class:"col-sm-6 fadeIn"},ls={class:"d-flex mb-2"},os={class:"mb-0"},rs={class:"mb-0 ms-auto d-flex gap-2"},ns={class:"text-info"},is={class:"text-warning"},cs={class:"progress",role:"progressbar",style:{height:"10px"}},ds={class:"col-sm-12"},us={class:"card rounded-3 h-100 shadow"},_s={class:"card-body p-4 d-flex gap-3 flex-column"},ps={class:"d-flex align-items-center"},hs={class:"text-muted mb-0"},ms={class:"ms-auto mb-0"},bs={key:0},vs={key:1,class:"spinner-border"},gs={class:"row g-3"},ys={class:"col-sm-6 fadeIn"},fs={class:"d-flex mb-2"},xs={class:"mb-0"},ws={class:"mb-0 ms-auto d-flex gap-2"},ks={class:"text-success"},Ns={class:"progress",role:"progressbar",style:{height:"20px"}},Cs={__name:"systemStatus",setup(m){const w=T(),s=_(()=>w.SystemStatus);let S=null;z.register(A,J,K,Q,X,Y,Z,ee,se,te,ae),H(()=>{L(),S=setInterval(()=>{L()},5e3)}),W(()=>{clearInterval(S)});const f=p([]),I=p([]),P=p([]),U=p([]),i=p({bytes_recv:[],bytes_sent:[]}),u=p({bytes_recv:[],bytes_sent:[]}),L=()=>{q("/api/systemStatus",{},n=>{if(f.value.push(le().format("HH:mm:ss A")),w.SystemStatus=n.data,I.value.push(n.data.CPU.cpu_percent),P.value.push(n.data.Memory.VirtualMemory.percent),U.value.push(n.data.Memory.SwapMemory.percent),i.value.bytes_recv.push(Object.values(n.data.NetworkInterfaces).map(t=>t.bytes_recv).reduce((t,a)=>t+a)),i.value.bytes_sent.push(Object.values(n.data.NetworkInterfaces).map(t=>t.bytes_sent).reduce((t,a)=>t+a)),i.value.bytes_recv.length===1&&i.value.bytes_sent.length===1)u.value.bytes_recv.push(0),u.value.bytes_sent.push(0);else{let t=i.value.bytes_recv[i.value.bytes_recv.length-1]-i.value.bytes_recv[i.value.bytes_recv.length-2],a=i.value.bytes_sent[i.value.bytes_sent.length-1]-i.value.bytes_sent[i.value.bytes_sent.length-2];u.value.bytes_recv.push(Math.round((t/1024e3+Number.EPSILON)*1e4)/1e4),u.value.bytes_sent.push(Math.round((a/1024e3+Number.EPSILON)*1e4)/1e4)}})},B=_(()=>({responsive:!0,plugins:{legend:{display:!0},tooltip:{callbacks:{label:n=>`${n.formattedValue}%`}}},scales:{x:{ticks:{display:!1},grid:{display:!1}},y:{ticks:{callback:(n,t)=>`${n}%`},grid:{display:!1}}}})),V=_(()=>({responsive:!0,plugins:{legend:{display:!0},tooltip:{callbacks:{label:n=>`${n.formattedValue} MB/s`}}},scales:{x:{ticks:{display:!1},grid:{display:!1}},y:{ticks:{callback:(n,t)=>`${n} MB/s`},grid:{display:!1}}}})),R=_(()=>({labels:[...f.value],datasets:[{label:b("CPU Usage"),data:[...I.value],fill:"start",backgroundColor:"#0d6efd90",borderColor:"#0d6efd",tension:0,pointRadius:2,borderWidth:1}]})),j=_(()=>({labels:[...f.value],datasets:[{label:b("Memory Usage"),data:[...P.value],fill:1,borderColor:"#0dcaf0",backgroundColor:"#0dcaf090",tension:0,pointRadius:2,borderWidth:1},{label:b("Swap Memory Usage"),data:[...U.value],fill:"start",backgroundColor:"#ffc10790",borderColor:"#ffc107",tension:0,pointRadius:2,borderWidth:1}]})),G=_(()=>({labels:[...f.value],datasets:[{label:b("Real Time Received Data Usage"),data:[...u.value.bytes_recv],fill:"origin",borderColor:"#0dcaf0",backgroundColor:"#0dcaf090",tension:0,pointRadius:2,borderWidth:1},{label:b("Real Time Sent Data Usage"),data:[...u.value.bytes_sent],fill:"origin",backgroundColor:"#ffc10790",borderColor:"#ffc107",tension:0,pointRadius:2,borderWidth:1}]}));return(n,t)=>(l(),o("div",ce,[e("div",de,[e("div",ue,[e("div",_e,[e("div",pe,[e("div",he,[e("div",me,[e("h3",be,[t[0]||(t[0]=e("i",{class:"bi bi-cpu-fill me-2"},null,-1)),r(c,{t:"CPU"})]),e("h3",ve,[s.value?(l(),o("span",ge,d(s.value.CPU.cpu_percent)+"% ",1)):(l(),o("span",ye))])]),e("div",fe,[e("div",{class:"progress-bar",style:h({width:`${s.value?.CPU.cpu_percent}%`})},null,4)]),e("div",xe,[(l(!0),o(v,null,g(s.value?.CPU.cpu_percent_per_cpu,(a,k)=>(l(),C(F,{square:!0,key:k,align:k+1>Math.round(s.value?.CPU.cpu_percent_per_cpu.length/2),core_number:k,percentage:a},null,8,["align","core_number","percentage"]))),128))])]),r(N(M),{options:B.value,data:R.value,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"]),e("div",we,[e("h5",ke,[r(c,{t:"Processes"})]),e("h6",Ne,[e("small",null,[r(c,{t:"CPU Usage"})])])]),t[1]||(t[1]=e("hr",{class:"my-1"},null,-1)),e("div",Ce,[r($,{name:"process"},{default:O(()=>[(l(!0),o(v,null,g(s.value?.Processes.cpu_top_10,a=>(l(),C(D,{key:a.pid,cpu:!0,process:a},null,8,["process"]))),128))]),_:1})])])])])]),e("div",Me,[e("div",Se,[e("div",Ie,[e("div",Pe,[e("div",Ue,[e("div",Le,[e("h3",Be,[t[2]||(t[2]=e("i",{class:"bi bi-memory me-2"},null,-1)),r(c,{t:"Memory"})]),e("h3",Oe,[s.value?(l(),o("span",$e,d(s.value?.Memory.VirtualMemory.percent)+"% ",1)):(l(),o("span",De))])]),e("div",Ee,[e("div",{class:"progress-bar bg-info",style:h({width:`${s.value?.Memory.VirtualMemory.percent}%`})},null,4)]),e("div",Ve,[e("h6",Re,[r(c,{t:"Swap Memory"})]),e("h6",je,d(s.value?.Memory.SwapMemory.percent)+"%",1)]),e("div",Ge,[e("div",{class:"progress-bar bg-info-subtle",style:h({width:`${s.value?.Memory.SwapMemory.percent}%`})},null,4)])]),r(N(M),{options:B.value,data:j.value,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"]),e("div",Te,[e("h5",He,[r(c,{t:"Processes"})]),e("h6",We,[e("small",null,[r(c,{t:"Memory Usage"})])])]),t[3]||(t[3]=e("hr",{class:"my-1"},null,-1)),e("div",qe,[r($,{name:"process"},{default:O(()=>[(l(!0),o(v,null,g(s.value?.Processes.memory_top_10,a=>(l(),C(D,{key:a.pid,process:a},null,8,["process"]))),128))]),_:1})])])])])]),e("div",Fe,[e("div",ze,[e("div",Ae,[e("div",Je,[e("h3",Ke,[t[4]||(t[4]=e("i",{class:"bi bi-ethernet me-2"},null,-1)),r(c,{t:"Network"})]),e("h3",Qe,[s.value?(l(),o("span",Xe,[r(c,{t:Object.keys(s.value.NetworkInterfaces).length+" Interface"+(Object.keys(s.value.NetworkInterfaces).length>1?"s":"")},null,8,["t"])])):(l(),o("span",Ye))])]),e("div",null,[s.value?(l(),o("h5",Ze,[e("span",es,[t[5]||(t[5]=e("i",{class:"bi bi-arrow-down"},null,-1)),x(" "+d(u.value.bytes_recv[u.value.bytes_recv.length-1])+" MB/s ",1)]),e("span",ss,[t[6]||(t[6]=e("i",{class:"bi bi-arrow-up"},null,-1)),x(" "+d(u.value.bytes_sent[u.value.bytes_sent.length-1])+" MB/s ",1)])])):y("",!0)]),r(N(M),{options:V.value,data:G.value,style:{width:"100%",height:"300px","max-height":"300px"}},null,8,["options","data"]),s.value?(l(),o("div",ts,[(l(!0),o(v,null,g(Object.keys(s.value.NetworkInterfaces).sort(),a=>(l(),o("div",as,[e("div",ls,[e("h6",os,[e("samp",null,d(a),1)]),e("h6",rs,[e("span",ns,[t[7]||(t[7]=e("i",{class:"bi bi-arrow-down"},null,-1)),x(" "+d(Math.round((s.value.NetworkInterfaces[a].bytes_recv/1024e6+Number.EPSILON)*1e4)/1e4)+" GB ",1)]),e("span",is,[t[8]||(t[8]=e("i",{class:"bi bi-arrow-up"},null,-1)),x(" "+d(Math.round((s.value.NetworkInterfaces[a].bytes_sent/1024e6+Number.EPSILON)*1e4)/1e4)+" GB ",1)])])]),e("div",cs,[s.value.NetworkInterfaces[a].bytes_recv>0?(l(),o("div",{key:0,class:"progress-bar bg-info",style:h({width:`${s.value.NetworkInterfaces[a].bytes_recv/(s.value.NetworkInterfaces[a].bytes_sent+s.value.NetworkInterfaces[a].bytes_recv)*100}%`})},null,4)):y("",!0),s.value.NetworkInterfaces[a].bytes_sent>0?(l(),o("div",{key:1,class:"progress-bar bg-warning",style:h({width:`${s.value.NetworkInterfaces[a].bytes_sent/(s.value.NetworkInterfaces[a].bytes_sent+s.value.NetworkInterfaces[a].bytes_recv)*100}%`})},null,4)):y("",!0)])]))),256))])):y("",!0)])])]),e("div",ds,[e("div",us,[e("div",_s,[e("div",ps,[e("h3",hs,[t[9]||(t[9]=e("i",{class:"bi bi-device-ssd-fill me-2"},null,-1)),r(c,{t:"Storage"})]),e("h3",ms,[s.value?(l(),o("span",bs,[r(c,{t:s.value.Disks.length+" Partition"+(s.value.Disks.length>1?"s":"")},null,8,["t"])])):(l(),o("span",vs))])]),e("div",gs,[s.value?(l(!0),o(v,{key:0},g(s.value.Disks,a=>(l(),o("div",ys,[e("div",fs,[e("h6",xs,[e("samp",null,d(a.mountPoint),1)]),e("h6",ws,[e("span",ks,[r(c,{t:Math.round((a.used/1024e6+Number.EPSILON)*100)/100+" / "+Math.round((a.total/1024e6+Number.EPSILON)*100)/100+" GB Used"},null,8,["t"])])])]),e("div",Ns,[e("div",{class:"progress-bar bg-success",style:h({width:`${a.percent}%`})},d(a.percent)+"% ",5)])]))),256)):y("",!0)])])])])]))}},Ls=E(Cs,[["__scopeId","data-v-977dc46d"]]);export{Ls as default}; +import{_ as E,c as o,f as l,a as e,t as d,D as T,q as _,o as H,x as W,r as p,g as q,G as b,b as r,s as h,F as v,i as g,u as N,w as O,T as $,d as y,e as x,j as C}from"./index-D5fbjBmH.js";import{L as c}from"./localeText-BwlyH2uL.js";import{C as F}from"./storageMount.vue_vue_type_style_index_0_scoped_9509d7a0_lang-KDIKOXhL.js";import{C as z,L as A,B as J,a as K,b as Q,c as X,p as Y,d as Z,e as ee,f as se,P as te,i as ae,g as M}from"./index-DEZPVeS-.js";import{d as le}from"./dayjs.min-Rf3-f83x.js";const oe={class:"mb-1 d-flex gap-5"},re={class:"title"},ne={class:"ms-auto"},ie={__name:"process",props:["process","cpu"],setup(m){return(w,s)=>(l(),o("div",oe,[e("small",re,[s[0]||(s[0]=e("i",{class:"bi bi-code-square me-2"},null,-1)),e("samp",null,d(m.process.command?m.process.command:m.process.name),1)]),e("small",ne,d(Math.round((m.process.percent+Number.EPSILON)*10)/10)+"% ",1)]))}},D=E(ie,[["__scopeId","data-v-ffe5ad8f"]]),ce={class:"text-body row g-2 mb-2"},de={class:"col-sm-6"},ue={class:"card rounded-3 h-100 shadow"},_e={class:"card-body p-4"},pe={class:"d-flex flex-column gap-3"},he={class:"d-flex flex-column gap-3",style:{height:"130px"}},me={class:"d-flex align-items-center"},be={class:"text-muted mb-0"},ve={class:"ms-auto mb-0"},ge={key:0},ye={key:1,class:"spinner-border"},fe={class:"progress",role:"progressbar",style:{height:"10px"}},xe={class:"d-flex gap-1"},we={class:"d-flex align-items-center"},ke={class:"mb-0"},Ne={class:"mb-0 ms-auto text-muted"},Ce={class:"position-relative"},Me={class:"col-sm-6"},Se={class:"card rounded-3 h-100 shadow"},Ie={class:"card-body p-4"},Pe={class:"d-flex flex-column gap-3"},Ue={class:"d-flex flex-column gap-3",style:{height:"130px"}},Le={class:"d-flex align-items-center"},Be={class:"text-muted"},Oe={class:"ms-auto"},$e={key:0},De={key:1,class:"spinner-border"},Ee={class:"progress",role:"progressbar",style:{height:"10px"}},Ve={class:"d-flex align-items-center"},Re={class:"mb-0"},je={class:"mb-0 ms-auto"},Ge={class:"progress",role:"progressbar",style:{height:"10px"}},Te={class:"d-flex align-items-center"},He={class:"mb-0"},We={class:"mb-0 ms-auto text-muted"},qe={class:"position-relative"},Fe={class:"col-sm-12"},ze={class:"card rounded-3 h-100 shadow"},Ae={class:"card-body p-4 d-flex gap-3 flex-column"},Je={class:"d-flex align-items-center gap-3"},Ke={class:"text-muted mb-0"},Qe={class:"ms-auto mb-0"},Xe={key:0},Ye={key:1,class:"spinner-border"},Ze={key:0,class:"mb-0 text-end"},es={class:"text-info"},ss={class:"text-warning"},ts={key:0,class:"row g-3"},as={class:"col-sm-6 fadeIn"},ls={class:"d-flex mb-2"},os={class:"mb-0"},rs={class:"mb-0 ms-auto d-flex gap-2"},ns={class:"text-info"},is={class:"text-warning"},cs={class:"progress",role:"progressbar",style:{height:"10px"}},ds={class:"col-sm-12"},us={class:"card rounded-3 h-100 shadow"},_s={class:"card-body p-4 d-flex gap-3 flex-column"},ps={class:"d-flex align-items-center"},hs={class:"text-muted mb-0"},ms={class:"ms-auto mb-0"},bs={key:0},vs={key:1,class:"spinner-border"},gs={class:"row g-3"},ys={class:"col-sm-6 fadeIn"},fs={class:"d-flex mb-2"},xs={class:"mb-0"},ws={class:"mb-0 ms-auto d-flex gap-2"},ks={class:"text-success"},Ns={class:"progress",role:"progressbar",style:{height:"20px"}},Cs={__name:"systemStatus",setup(m){const w=T(),s=_(()=>w.SystemStatus);let S=null;z.register(A,J,K,Q,X,Y,Z,ee,se,te,ae),H(()=>{L(),S=setInterval(()=>{L()},5e3)}),W(()=>{clearInterval(S)});const f=p([]),I=p([]),P=p([]),U=p([]),i=p({bytes_recv:[],bytes_sent:[]}),u=p({bytes_recv:[],bytes_sent:[]}),L=()=>{q("/api/systemStatus",{},n=>{if(f.value.push(le().format("HH:mm:ss A")),w.SystemStatus=n.data,I.value.push(n.data.CPU.cpu_percent),P.value.push(n.data.Memory.VirtualMemory.percent),U.value.push(n.data.Memory.SwapMemory.percent),i.value.bytes_recv.push(Object.values(n.data.NetworkInterfaces).map(t=>t.bytes_recv).reduce((t,a)=>t+a)),i.value.bytes_sent.push(Object.values(n.data.NetworkInterfaces).map(t=>t.bytes_sent).reduce((t,a)=>t+a)),i.value.bytes_recv.length===1&&i.value.bytes_sent.length===1)u.value.bytes_recv.push(0),u.value.bytes_sent.push(0);else{let t=i.value.bytes_recv[i.value.bytes_recv.length-1]-i.value.bytes_recv[i.value.bytes_recv.length-2],a=i.value.bytes_sent[i.value.bytes_sent.length-1]-i.value.bytes_sent[i.value.bytes_sent.length-2];u.value.bytes_recv.push(Math.round((t/1024e3+Number.EPSILON)*1e4)/1e4),u.value.bytes_sent.push(Math.round((a/1024e3+Number.EPSILON)*1e4)/1e4)}})},B=_(()=>({responsive:!0,plugins:{legend:{display:!0},tooltip:{callbacks:{label:n=>`${n.formattedValue}%`}}},scales:{x:{ticks:{display:!1},grid:{display:!1}},y:{ticks:{callback:(n,t)=>`${n}%`},grid:{display:!1}}}})),V=_(()=>({responsive:!0,plugins:{legend:{display:!0},tooltip:{callbacks:{label:n=>`${n.formattedValue} MB/s`}}},scales:{x:{ticks:{display:!1},grid:{display:!1}},y:{ticks:{callback:(n,t)=>`${n} MB/s`},grid:{display:!1}}}})),R=_(()=>({labels:[...f.value],datasets:[{label:b("CPU Usage"),data:[...I.value],fill:"start",backgroundColor:"#0d6efd90",borderColor:"#0d6efd",tension:0,pointRadius:2,borderWidth:1}]})),j=_(()=>({labels:[...f.value],datasets:[{label:b("Memory Usage"),data:[...P.value],fill:1,borderColor:"#0dcaf0",backgroundColor:"#0dcaf090",tension:0,pointRadius:2,borderWidth:1},{label:b("Swap Memory Usage"),data:[...U.value],fill:"start",backgroundColor:"#ffc10790",borderColor:"#ffc107",tension:0,pointRadius:2,borderWidth:1}]})),G=_(()=>({labels:[...f.value],datasets:[{label:b("Real Time Received Data Usage"),data:[...u.value.bytes_recv],fill:"origin",borderColor:"#0dcaf0",backgroundColor:"#0dcaf090",tension:0,pointRadius:2,borderWidth:1},{label:b("Real Time Sent Data Usage"),data:[...u.value.bytes_sent],fill:"origin",backgroundColor:"#ffc10790",borderColor:"#ffc107",tension:0,pointRadius:2,borderWidth:1}]}));return(n,t)=>(l(),o("div",ce,[e("div",de,[e("div",ue,[e("div",_e,[e("div",pe,[e("div",he,[e("div",me,[e("h3",be,[t[0]||(t[0]=e("i",{class:"bi bi-cpu-fill me-2"},null,-1)),r(c,{t:"CPU"})]),e("h3",ve,[s.value?(l(),o("span",ge,d(s.value.CPU.cpu_percent)+"% ",1)):(l(),o("span",ye))])]),e("div",fe,[e("div",{class:"progress-bar",style:h({width:`${s.value?.CPU.cpu_percent}%`})},null,4)]),e("div",xe,[(l(!0),o(v,null,g(s.value?.CPU.cpu_percent_per_cpu,(a,k)=>(l(),C(F,{square:!0,key:k,align:k+1>Math.round(s.value?.CPU.cpu_percent_per_cpu.length/2),core_number:k,percentage:a},null,8,["align","core_number","percentage"]))),128))])]),r(N(M),{options:B.value,data:R.value,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"]),e("div",we,[e("h5",ke,[r(c,{t:"Processes"})]),e("h6",Ne,[e("small",null,[r(c,{t:"CPU Usage"})])])]),t[1]||(t[1]=e("hr",{class:"my-1"},null,-1)),e("div",Ce,[r($,{name:"process"},{default:O(()=>[(l(!0),o(v,null,g(s.value?.Processes.cpu_top_10,a=>(l(),C(D,{key:a.pid,cpu:!0,process:a},null,8,["process"]))),128))]),_:1})])])])])]),e("div",Me,[e("div",Se,[e("div",Ie,[e("div",Pe,[e("div",Ue,[e("div",Le,[e("h3",Be,[t[2]||(t[2]=e("i",{class:"bi bi-memory me-2"},null,-1)),r(c,{t:"Memory"})]),e("h3",Oe,[s.value?(l(),o("span",$e,d(s.value?.Memory.VirtualMemory.percent)+"% ",1)):(l(),o("span",De))])]),e("div",Ee,[e("div",{class:"progress-bar bg-info",style:h({width:`${s.value?.Memory.VirtualMemory.percent}%`})},null,4)]),e("div",Ve,[e("h6",Re,[r(c,{t:"Swap Memory"})]),e("h6",je,d(s.value?.Memory.SwapMemory.percent)+"%",1)]),e("div",Ge,[e("div",{class:"progress-bar bg-info-subtle",style:h({width:`${s.value?.Memory.SwapMemory.percent}%`})},null,4)])]),r(N(M),{options:B.value,data:j.value,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"]),e("div",Te,[e("h5",He,[r(c,{t:"Processes"})]),e("h6",We,[e("small",null,[r(c,{t:"Memory Usage"})])])]),t[3]||(t[3]=e("hr",{class:"my-1"},null,-1)),e("div",qe,[r($,{name:"process"},{default:O(()=>[(l(!0),o(v,null,g(s.value?.Processes.memory_top_10,a=>(l(),C(D,{key:a.pid,process:a},null,8,["process"]))),128))]),_:1})])])])])]),e("div",Fe,[e("div",ze,[e("div",Ae,[e("div",Je,[e("h3",Ke,[t[4]||(t[4]=e("i",{class:"bi bi-ethernet me-2"},null,-1)),r(c,{t:"Network"})]),e("h3",Qe,[s.value?(l(),o("span",Xe,[r(c,{t:Object.keys(s.value.NetworkInterfaces).length+" Interface"+(Object.keys(s.value.NetworkInterfaces).length>1?"s":"")},null,8,["t"])])):(l(),o("span",Ye))])]),e("div",null,[s.value?(l(),o("h5",Ze,[e("span",es,[t[5]||(t[5]=e("i",{class:"bi bi-arrow-down"},null,-1)),x(" "+d(u.value.bytes_recv[u.value.bytes_recv.length-1])+" MB/s ",1)]),e("span",ss,[t[6]||(t[6]=e("i",{class:"bi bi-arrow-up"},null,-1)),x(" "+d(u.value.bytes_sent[u.value.bytes_sent.length-1])+" MB/s ",1)])])):y("",!0)]),r(N(M),{options:V.value,data:G.value,style:{width:"100%",height:"300px","max-height":"300px"}},null,8,["options","data"]),s.value?(l(),o("div",ts,[(l(!0),o(v,null,g(Object.keys(s.value.NetworkInterfaces).sort(),a=>(l(),o("div",as,[e("div",ls,[e("h6",os,[e("samp",null,d(a),1)]),e("h6",rs,[e("span",ns,[t[7]||(t[7]=e("i",{class:"bi bi-arrow-down"},null,-1)),x(" "+d(Math.round((s.value.NetworkInterfaces[a].bytes_recv/1024e6+Number.EPSILON)*1e4)/1e4)+" GB ",1)]),e("span",is,[t[8]||(t[8]=e("i",{class:"bi bi-arrow-up"},null,-1)),x(" "+d(Math.round((s.value.NetworkInterfaces[a].bytes_sent/1024e6+Number.EPSILON)*1e4)/1e4)+" GB ",1)])])]),e("div",cs,[s.value.NetworkInterfaces[a].bytes_recv>0?(l(),o("div",{key:0,class:"progress-bar bg-info",style:h({width:`${s.value.NetworkInterfaces[a].bytes_recv/(s.value.NetworkInterfaces[a].bytes_sent+s.value.NetworkInterfaces[a].bytes_recv)*100}%`})},null,4)):y("",!0),s.value.NetworkInterfaces[a].bytes_sent>0?(l(),o("div",{key:1,class:"progress-bar bg-warning",style:h({width:`${s.value.NetworkInterfaces[a].bytes_sent/(s.value.NetworkInterfaces[a].bytes_sent+s.value.NetworkInterfaces[a].bytes_recv)*100}%`})},null,4)):y("",!0)])]))),256))])):y("",!0)])])]),e("div",ds,[e("div",us,[e("div",_s,[e("div",ps,[e("h3",hs,[t[9]||(t[9]=e("i",{class:"bi bi-device-ssd-fill me-2"},null,-1)),r(c,{t:"Storage"})]),e("h3",ms,[s.value?(l(),o("span",bs,[r(c,{t:s.value.Disks.length+" Partition"+(s.value.Disks.length>1?"s":"")},null,8,["t"])])):(l(),o("span",vs))])]),e("div",gs,[s.value?(l(!0),o(v,{key:0},g(s.value.Disks,a=>(l(),o("div",ys,[e("div",fs,[e("h6",xs,[e("samp",null,d(a.mountPoint),1)]),e("h6",ws,[e("span",ks,[r(c,{t:Math.round((a.used/1024e6+Number.EPSILON)*100)/100+" / "+Math.round((a.total/1024e6+Number.EPSILON)*100)/100+" GB Used"},null,8,["t"])])])]),e("div",Ns,[e("div",{class:"progress-bar bg-success",style:h({width:`${a.percent}%`})},d(a.percent)+"% ",5)])]))),256)):y("",!0)])])])])]))}},Ls=E(Cs,[["__scopeId","data-v-977dc46d"]]);export{Ls as default}; diff --git a/src/static/app/dist/assets/systemStatus-CPnafN3D.css b/src/static/dist/WGDashboardAdmin/assets/systemStatus-CPnafN3D.css similarity index 100% rename from src/static/app/dist/assets/systemStatus-CPnafN3D.css rename to src/static/dist/WGDashboardAdmin/assets/systemStatus-CPnafN3D.css diff --git a/src/static/app/dist/assets/totp-DxDD7Jz9.js b/src/static/dist/WGDashboardAdmin/assets/totp-CYq1d4cZ.js similarity index 94% rename from src/static/app/dist/assets/totp-DxDD7Jz9.js rename to src/static/dist/WGDashboardAdmin/assets/totp-CYq1d4cZ.js index f65f9980..047371f0 100644 --- a/src/static/app/dist/assets/totp-DxDD7Jz9.js +++ b/src/static/dist/WGDashboardAdmin/assets/totp-CYq1d4cZ.js @@ -1 +1 @@ -import{_ as h,c as m,a as t,b as i,h as d,t as p,m as f,y as _,j as r,w as c,z as b,D as v,g,f as n}from"./index-BiMgJckX.js";import{Q as x}from"./browser-CwJzqt71.js";import{L as y}from"./localeText-IWgb3jjT.js";const T={name:"totp",components:{LocaleText:y},async setup(){const s=v();let e="";return await g("/api/Welcome_GetTotpLink",{},a=>{a.status&&(e=a.data)}),{l:e,store:s}},mounted(){this.l&&x.toCanvas(document.getElementById("qrcode"),this.l,function(s){})},data(){return{totp:"",totpInvalidMessage:"",verified:!1}},methods:{validateTotp(){}},watch:{totp(s){const e=document.querySelector("#totp");e.classList.remove("is-invalid","is-valid"),s.length===6&&(console.log(s),/[0-9]{6}/.test(s)?b("/api/Welcome_VerifyTotpLink",{totp:s},a=>{a.status?(this.verified=!0,e.classList.add("is-valid"),this.$emit("verified")):(e.classList.add("is-invalid"),this.totpInvalidMessage="TOTP does not match.")}):(e.classList.add("is-invalid"),this.totpInvalidMessage="TOTP can only contain numbers"))}}},k=["data-bs-theme"],L={class:"m-auto text-body",style:{width:"500px"}},w={class:"d-flex flex-column"},C={class:"dashboardLogo display-4"},M={class:"mb-2"},P={class:"text-muted"},I={class:"p-3 bg-body-secondary rounded-3 border mb-3"},O={class:"text-muted mb-0"},B=["href"],$={style:{"line-break":"anywhere"}},D={for:"totp",class:"mb-2"},R={class:"text-muted"},S={class:"form-group mb-2"},q=["disabled"],A={class:"invalid-feedback"},E={class:"valid-feedback"},F={class:"d-flex gap-3 mt-5 flex-column"};function Q(s,e,a,G,N,W){const o=d("LocaleText"),l=d("RouterLink");return n(),m("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.store.Configuration.Server.dashboard_theme},[t("div",L,[t("div",w,[t("div",null,[t("h1",C,[i(o,{t:"Multi-Factor Authentication (MFA)"})]),t("p",M,[t("small",P,[i(o,{t:"1. Please scan the following QR Code to generate TOTP with your choice of authenticator"})])]),e[1]||(e[1]=t("canvas",{id:"qrcode",class:"rounded-3 mb-2"},null,-1)),t("div",I,[t("p",O,[t("small",null,[i(o,{t:"Or you can click the link below:"})])]),t("a",{href:this.l},[t("code",$,p(this.l),1)],8,B)]),t("label",D,[t("small",R,[i(o,{t:"2. Enter the TOTP generated by your authenticator to verify"})])]),t("div",S,[f(t("input",{class:"form-control text-center totp",id:"totp",maxlength:"6",type:"text",inputmode:"numeric",autocomplete:"one-time-code","onUpdate:modelValue":e[0]||(e[0]=u=>this.totp=u),disabled:this.verified},null,8,q),[[_,this.totp]]),t("div",A,[i(o,{t:this.totpInvalidMessage},null,8,["t"])]),t("div",E,[i(o,{t:"TOTP verified!"})])])]),e[4]||(e[4]=t("hr",null,null,-1)),t("div",F,[this.verified?(n(),r(l,{key:1,to:"/",class:"btn btn-dark btn-lg d-flex btn-brand shadow align-items-center flex-grow-1 rounded-3"},{default:c(()=>[i(o,{t:"Complete"}),e[3]||(e[3]=t("i",{class:"bi bi-chevron-right ms-auto"},null,-1))]),_:1,__:[3]})):(n(),r(l,{key:0,to:"/",class:"btn bg-secondary-subtle text-secondary-emphasis rounded-3 flex-grow-1 btn-lg border-1 border-secondary-subtle shadow d-flex"},{default:c(()=>[i(o,{t:"I don't need MFA"}),e[2]||(e[2]=t("i",{class:"bi bi-chevron-right ms-auto"},null,-1))]),_:1,__:[2]}))])])])],8,k)}const V=h(T,[["render",Q]]);export{V as default}; +import{_ as h,c as m,a as t,b as i,h as d,t as p,m as f,y as _,j as r,w as c,z as b,D as v,g,f as n}from"./index-D5fbjBmH.js";import{Q as x}from"./browser-DpR0RqZi.js";import{L as y}from"./localeText-BwlyH2uL.js";const T={name:"totp",components:{LocaleText:y},async setup(){const s=v();let e="";return await g("/api/Welcome_GetTotpLink",{},a=>{a.status&&(e=a.data)}),{l:e,store:s}},mounted(){this.l&&x.toCanvas(document.getElementById("qrcode"),this.l,function(s){})},data(){return{totp:"",totpInvalidMessage:"",verified:!1}},methods:{validateTotp(){}},watch:{totp(s){const e=document.querySelector("#totp");e.classList.remove("is-invalid","is-valid"),s.length===6&&(console.log(s),/[0-9]{6}/.test(s)?b("/api/Welcome_VerifyTotpLink",{totp:s},a=>{a.status?(this.verified=!0,e.classList.add("is-valid"),this.$emit("verified")):(e.classList.add("is-invalid"),this.totpInvalidMessage="TOTP does not match.")}):(e.classList.add("is-invalid"),this.totpInvalidMessage="TOTP can only contain numbers"))}}},k=["data-bs-theme"],L={class:"m-auto text-body",style:{width:"500px"}},w={class:"d-flex flex-column"},C={class:"dashboardLogo display-4"},M={class:"mb-2"},P={class:"text-muted"},I={class:"p-3 bg-body-secondary rounded-3 border mb-3"},O={class:"text-muted mb-0"},B=["href"],$={style:{"line-break":"anywhere"}},D={for:"totp",class:"mb-2"},R={class:"text-muted"},S={class:"form-group mb-2"},q=["disabled"],A={class:"invalid-feedback"},E={class:"valid-feedback"},F={class:"d-flex gap-3 mt-5 flex-column"};function Q(s,e,a,G,N,W){const o=d("LocaleText"),l=d("RouterLink");return n(),m("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.store.Configuration.Server.dashboard_theme},[t("div",L,[t("div",w,[t("div",null,[t("h1",C,[i(o,{t:"Multi-Factor Authentication (MFA)"})]),t("p",M,[t("small",P,[i(o,{t:"1. Please scan the following QR Code to generate TOTP with your choice of authenticator"})])]),e[1]||(e[1]=t("canvas",{id:"qrcode",class:"rounded-3 mb-2"},null,-1)),t("div",I,[t("p",O,[t("small",null,[i(o,{t:"Or you can click the link below:"})])]),t("a",{href:this.l},[t("code",$,p(this.l),1)],8,B)]),t("label",D,[t("small",R,[i(o,{t:"2. Enter the TOTP generated by your authenticator to verify"})])]),t("div",S,[f(t("input",{class:"form-control text-center totp",id:"totp",maxlength:"6",type:"text",inputmode:"numeric",autocomplete:"one-time-code","onUpdate:modelValue":e[0]||(e[0]=u=>this.totp=u),disabled:this.verified},null,8,q),[[_,this.totp]]),t("div",A,[i(o,{t:this.totpInvalidMessage},null,8,["t"])]),t("div",E,[i(o,{t:"TOTP verified!"})])])]),e[4]||(e[4]=t("hr",null,null,-1)),t("div",F,[this.verified?(n(),r(l,{key:1,to:"/",class:"btn btn-dark btn-lg d-flex btn-brand shadow align-items-center flex-grow-1 rounded-3"},{default:c(()=>[i(o,{t:"Complete"}),e[3]||(e[3]=t("i",{class:"bi bi-chevron-right ms-auto"},null,-1))]),_:1,__:[3]})):(n(),r(l,{key:0,to:"/",class:"btn bg-secondary-subtle text-secondary-emphasis rounded-3 flex-grow-1 btn-lg border-1 border-secondary-subtle shadow d-flex"},{default:c(()=>[i(o,{t:"I don't need MFA"}),e[2]||(e[2]=t("i",{class:"bi bi-chevron-right ms-auto"},null,-1))]),_:1,__:[2]}))])])])],8,k)}const V=h(T,[["render",Q]]);export{V as default}; diff --git a/src/static/app/dist/assets/traceroute-CfGjFLHs.js b/src/static/dist/WGDashboardAdmin/assets/traceroute-BmGBOOEH.js similarity index 96% rename from src/static/app/dist/assets/traceroute-CfGjFLHs.js rename to src/static/dist/WGDashboardAdmin/assets/traceroute-BmGBOOEH.js index 215fe942..b077a5c2 100644 --- a/src/static/app/dist/assets/traceroute-CfGjFLHs.js +++ b/src/static/dist/WGDashboardAdmin/assets/traceroute-BmGBOOEH.js @@ -1 +1 @@ -import{_ as h,c as o,a as t,b as n,h as r,m as g,y as b,C as y,w as c,k as u,g as f,W as x,f as l,e as v,F as m,i as _,s as k,n as T,t as i}from"./index-BiMgJckX.js";import{O as A}from"./osmap-C5d_TZww.js";import{L as w}from"./localeText-IWgb3jjT.js";const R={name:"traceroute",components:{LocaleText:w,OSMap:A},data(){return{tracing:!1,ipAddress:void 0,tracerouteResult:void 0}},setup(){return{store:x()}},methods:{execute(){this.ipAddress&&(this.tracing=!0,this.tracerouteResult=void 0,f("/api/traceroute/execute",{ipAddress:this.ipAddress},d=>{d.status?this.tracerouteResult=d.data:this.store.newMessage("Server",d.message,"danger"),this.tracing=!1}))}}},M={class:"mt-md-5 mt-3 text-body"},S={class:"container-md"},$={class:"mb-3 text-body"},C={class:"d-flex gap-2 mb-3 flex-column"},L={class:"flex-grow-1"},P={class:"mb-1 text-muted",for:"ipAddress"},O=["disabled"],V=["disabled"],B={key:0,class:"d-block"},I={key:1,class:"d-block"},N={class:"position-relative"},z={key:"pingPlaceholder"},D={key:1},E={key:"table",class:"w-100 mt-2"},F={class:"table table-sm rounded-3 w-100"},G={scope:"col"},H={scope:"col"},K={scope:"col"},W={scope:"col"},U={scope:"col"},j={scope:"col"},q={key:0},J={key:1};function Q(d,s,X,Y,Z,tt){const a=r("LocaleText"),p=r("OSMap");return l(),o("div",M,[t("div",S,[t("h3",$,[n(a,{t:"Traceroute"})]),t("div",C,[t("div",L,[t("label",P,[t("small",null,[n(a,{t:"Enter IP Address / Hostname"})])]),g(t("input",{disabled:this.tracing,id:"ipAddress",class:"form-control rounded-3","onUpdate:modelValue":s[0]||(s[0]=e=>this.ipAddress=e),onKeyup:s[1]||(s[1]=y(e=>this.execute(),["enter"])),type:"text"},null,40,O),[[b,this.ipAddress]])]),t("button",{class:"btn btn-primary rounded-3 position-relative flex-grow-1",disabled:this.tracing||!this.ipAddress,onClick:s[2]||(s[2]=e=>this.execute())},[n(u,{name:"slide"},{default:c(()=>[this.tracing?(l(),o("span",I,s[4]||(s[4]=[t("span",{class:"spinner-border spinner-border-sm","aria-hidden":"true"},null,-1),t("span",{class:"visually-hidden",role:"status"},"Loading...",-1)]))):(l(),o("span",B,s[3]||(s[3]=[t("i",{class:"bi bi-person-walking me-2"},null,-1),v("Trace! ")])))]),_:1})],8,V)]),t("div",N,[n(u,{name:"ping"},{default:c(()=>[this.tracerouteResult?(l(),o("div",D,[n(p,{d:this.tracerouteResult,type:"traceroute"},null,8,["d"]),t("div",E,[t("table",F,[t("thead",null,[t("tr",null,[t("th",G,[n(a,{t:"Hop"})]),t("th",H,[n(a,{t:"IP Address"})]),t("th",K,[n(a,{t:"Average RTT (ms)"})]),t("th",W,[n(a,{t:"Min RTT (ms)"})]),t("th",U,[n(a,{t:"Max RTT (ms)"})]),t("th",j,[n(a,{t:"Geolocation"})])])]),t("tbody",null,[(l(!0),o(m,null,_(this.tracerouteResult,(e,et)=>(l(),o("tr",null,[t("td",null,[t("small",null,i(e.hop),1)]),t("td",null,[t("small",null,[t("samp",null,i(e.ip),1)])]),t("td",null,[t("small",null,[t("samp",null,i(e.avg_rtt),1)])]),t("td",null,[t("small",null,[t("samp",null,i(e.min_rtt),1)])]),t("td",null,[t("small",null,[t("samp",null,i(e.max_rtt),1)])]),t("td",null,[e.geo.city&&e.geo.country?(l(),o("span",q,[t("small",null,i(e.geo.city)+", "+i(e.geo.country),1)])):(l(),o("span",J," - "))])]))),256))])])])])):(l(),o("div",z,[s[5]||(s[5]=t("div",{class:"pingPlaceholder bg-body-secondary rounded-3 mb-3",style:{height:"300px !important"}},null,-1)),(l(),o(m,null,_(5,e=>t("div",{class:T(["pingPlaceholder bg-body-secondary rounded-3 mb-3",{"animate__animated animate__flash animate__slower animate__infinite":this.tracing}]),style:k({"animation-delay":`${e*.05}s`})},null,6)),64))]))]),_:1})])])])}const lt=h(R,[["render",Q],["__scopeId","data-v-3e75b4d4"]]);export{lt as default}; +import{_ as h,c as o,a as t,b as n,h as r,m as g,y as b,C as y,w as c,k as u,g as f,W as x,f as l,e as v,F as m,i as _,s as k,n as T,t as i}from"./index-D5fbjBmH.js";import{O as A}from"./osmap-DPICc3dZ.js";import{L as w}from"./localeText-BwlyH2uL.js";const R={name:"traceroute",components:{LocaleText:w,OSMap:A},data(){return{tracing:!1,ipAddress:void 0,tracerouteResult:void 0}},setup(){return{store:x()}},methods:{execute(){this.ipAddress&&(this.tracing=!0,this.tracerouteResult=void 0,f("/api/traceroute/execute",{ipAddress:this.ipAddress},d=>{d.status?this.tracerouteResult=d.data:this.store.newMessage("Server",d.message,"danger"),this.tracing=!1}))}}},M={class:"mt-md-5 mt-3 text-body"},S={class:"container-md"},$={class:"mb-3 text-body"},C={class:"d-flex gap-2 mb-3 flex-column"},L={class:"flex-grow-1"},P={class:"mb-1 text-muted",for:"ipAddress"},O=["disabled"],V=["disabled"],B={key:0,class:"d-block"},I={key:1,class:"d-block"},N={class:"position-relative"},z={key:"pingPlaceholder"},D={key:1},E={key:"table",class:"w-100 mt-2"},F={class:"table table-sm rounded-3 w-100"},G={scope:"col"},H={scope:"col"},K={scope:"col"},W={scope:"col"},U={scope:"col"},j={scope:"col"},q={key:0},J={key:1};function Q(d,s,X,Y,Z,tt){const a=r("LocaleText"),p=r("OSMap");return l(),o("div",M,[t("div",S,[t("h3",$,[n(a,{t:"Traceroute"})]),t("div",C,[t("div",L,[t("label",P,[t("small",null,[n(a,{t:"Enter IP Address / Hostname"})])]),g(t("input",{disabled:this.tracing,id:"ipAddress",class:"form-control rounded-3","onUpdate:modelValue":s[0]||(s[0]=e=>this.ipAddress=e),onKeyup:s[1]||(s[1]=y(e=>this.execute(),["enter"])),type:"text"},null,40,O),[[b,this.ipAddress]])]),t("button",{class:"btn btn-primary rounded-3 position-relative flex-grow-1",disabled:this.tracing||!this.ipAddress,onClick:s[2]||(s[2]=e=>this.execute())},[n(u,{name:"slide"},{default:c(()=>[this.tracing?(l(),o("span",I,s[4]||(s[4]=[t("span",{class:"spinner-border spinner-border-sm","aria-hidden":"true"},null,-1),t("span",{class:"visually-hidden",role:"status"},"Loading...",-1)]))):(l(),o("span",B,s[3]||(s[3]=[t("i",{class:"bi bi-person-walking me-2"},null,-1),v("Trace! ")])))]),_:1})],8,V)]),t("div",N,[n(u,{name:"ping"},{default:c(()=>[this.tracerouteResult?(l(),o("div",D,[n(p,{d:this.tracerouteResult,type:"traceroute"},null,8,["d"]),t("div",E,[t("table",F,[t("thead",null,[t("tr",null,[t("th",G,[n(a,{t:"Hop"})]),t("th",H,[n(a,{t:"IP Address"})]),t("th",K,[n(a,{t:"Average RTT (ms)"})]),t("th",W,[n(a,{t:"Min RTT (ms)"})]),t("th",U,[n(a,{t:"Max RTT (ms)"})]),t("th",j,[n(a,{t:"Geolocation"})])])]),t("tbody",null,[(l(!0),o(m,null,_(this.tracerouteResult,(e,et)=>(l(),o("tr",null,[t("td",null,[t("small",null,i(e.hop),1)]),t("td",null,[t("small",null,[t("samp",null,i(e.ip),1)])]),t("td",null,[t("small",null,[t("samp",null,i(e.avg_rtt),1)])]),t("td",null,[t("small",null,[t("samp",null,i(e.min_rtt),1)])]),t("td",null,[t("small",null,[t("samp",null,i(e.max_rtt),1)])]),t("td",null,[e.geo.city&&e.geo.country?(l(),o("span",q,[t("small",null,i(e.geo.city)+", "+i(e.geo.country),1)])):(l(),o("span",J," - "))])]))),256))])])])])):(l(),o("div",z,[s[5]||(s[5]=t("div",{class:"pingPlaceholder bg-body-secondary rounded-3 mb-3",style:{height:"300px !important"}},null,-1)),(l(),o(m,null,_(5,e=>t("div",{class:T(["pingPlaceholder bg-body-secondary rounded-3 mb-3",{"animate__animated animate__flash animate__slower animate__infinite":this.tracing}]),style:k({"animation-delay":`${e*.05}s`})},null,6)),64))]))]),_:1})])])])}const lt=h(R,[["render",Q],["__scopeId","data-v-3e75b4d4"]]);export{lt as default}; diff --git a/src/static/app/dist/assets/traceroute-cPX-1ydq.css b/src/static/dist/WGDashboardAdmin/assets/traceroute-cPX-1ydq.css similarity index 100% rename from src/static/app/dist/assets/traceroute-cPX-1ydq.css rename to src/static/dist/WGDashboardAdmin/assets/traceroute-cPX-1ydq.css diff --git a/src/static/app/dist/assets/vue-datepicker-COurIrvQ.js b/src/static/dist/WGDashboardAdmin/assets/vue-datepicker-TsAnng-H.js similarity index 99% rename from src/static/app/dist/assets/vue-datepicker-COurIrvQ.js rename to src/static/dist/WGDashboardAdmin/assets/vue-datepicker-TsAnng-H.js index 4ca765d0..444568f7 100644 --- a/src/static/app/dist/assets/vue-datepicker-COurIrvQ.js +++ b/src/static/dist/WGDashboardAdmin/assets/vue-datepicker-TsAnng-H.js @@ -1 +1 @@ -import{J as tt,X as Kt,r as K,Y as ha,o as at,Z as mt,$ as ia,H as yt,q as j,c as z,b as vt,j as Oe,a0 as ot,i as Fe,w as De,a1 as ie,a2 as Ze,a3 as it,u as i,a4 as Je,a5 as Yn,d as G,k as da,l as Na,a6 as Ur,n as xe,a7 as Qr,E as ka,a8 as jr,a9 as Cn,f as T,a as ge,V as ga,F as ke,s as pt,t as lt,O as Gr,aa as Kr,e as Rt,M as Xr,N as Zr,ab as Jr,m as Aa,ac as Ya,C as el}from"./index-BiMgJckX.js";const Jn=6048e5,tl=864e5,al=6e4,er=36e5,nl=1e3,Rn=Symbol.for("constructDateFrom");function Se(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Rn in e?e[Rn](t):e instanceof Date?new e.constructor(t):new Date(t)}function pe(e,t){return Se(t||e,e)}function ft(e,t,n){const a=pe(e,n?.in);return isNaN(t)?Se(n?.in||e,NaN):(t&&a.setDate(a.getDate()+t),a)}function bt(e,t,n){const a=pe(e,n?.in);if(isNaN(t))return Se(e,NaN);if(!t)return a;const r=a.getDate(),o=Se(e,a.getTime());o.setMonth(a.getMonth()+t+1,0);const s=o.getDate();return r>=s?o:(a.setFullYear(o.getFullYear(),o.getMonth(),r),a)}function tr(e,t,n){const{years:a=0,months:r=0,weeks:o=0,days:s=0,hours:c=0,minutes:d=0,seconds:P=0}=t,v=pe(e,n?.in),m=r||a?bt(v,r+a*12):v,p=s||o?ft(m,s+o*7):m,x=d+c*60,R=(P+x*60)*1e3;return Se(e,+p+R)}function rl(e,t,n){return Se(e,+pe(e)+t)}function ll(e,t,n){return rl(e,t*er)}let ol={};function Xt(){return ol}function _t(e,t){const n=Xt(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=pe(e,t?.in),o=r.getDay(),s=(o=o.getTime()?a+1:n.getTime()>=c.getTime()?a:a-1}function Ca(e){const t=pe(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Da(e,...t){const n=Se.bind(null,t.find(a=>typeof a=="object"));return t.map(n)}function Sn(e,t){const n=pe(e,t?.in);return n.setHours(0,0,0,0),n}function nr(e,t,n){const[a,r]=Da(n?.in,e,t),o=Sn(a),s=Sn(r),c=+o-Ca(o),d=+s-Ca(s);return Math.round((c-d)/tl)}function sl(e,t){const n=ar(e,t),a=Se(e,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),na(a)}function ul(e,t,n){return bt(e,t*3,n)}function mn(e,t,n){return bt(e,t*12,n)}function Nn(e,t){const n=+pe(e)-+pe(t);return n<0?-1:n>0?1:n}function rr(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function pa(e){return!(!rr(e)&&typeof e!="number"||isNaN(+pe(e)))}function In(e,t){const n=pe(e,t?.in);return Math.trunc(n.getMonth()/3)+1}function il(e,t,n){const[a,r]=Da(n?.in,e,t);return a.getFullYear()-r.getFullYear()}function dl(e,t,n){const[a,r]=Da(n?.in,e,t),o=Nn(a,r),s=Math.abs(il(a,r));a.setFullYear(1584),r.setFullYear(1584);const c=Nn(a,r)===-o,d=o*(s-+c);return d===0?0:d}function lr(e,t){const[n,a]=Da(e,t.start,t.end);return{start:n,end:a}}function or(e,t){const{start:n,end:a}=lr(t?.in,e);let r=+n>+a;const o=r?+n:+a,s=r?a:n;s.setHours(0,0,0,0);let c=1;const d=[];for(;+s<=o;)d.push(Se(n,s)),s.setDate(s.getDate()+c),s.setHours(0,0,0,0);return r?d.reverse():d}function Ut(e,t){const n=pe(e,t?.in),a=n.getMonth(),r=a-a%3;return n.setMonth(r,1),n.setHours(0,0,0,0),n}function cl(e,t){const{start:n,end:a}=lr(t?.in,e);let r=+n>+a;const o=r?+Ut(n):+Ut(a);let s=Ut(r?a:n),c=1;const d=[];for(;+s<=o;)d.push(Se(n,s)),s=ul(s,c);return r?d.reverse():d}function vl(e,t){const n=pe(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function sr(e,t){const n=pe(e,t?.in),a=n.getFullYear();return n.setFullYear(a+1,0,0),n.setHours(23,59,59,999),n}function wa(e,t){const n=pe(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function ur(e,t){const n=Xt(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=pe(e,t?.in),o=r.getDay(),s=(o{let a;const r=ml[e];return typeof r=="string"?a=r:t===1?a=r.one:a=r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function Qa(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const pl={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},yl={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},hl={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},gl={date:Qa({formats:pl,defaultWidth:"full"}),time:Qa({formats:yl,defaultWidth:"full"}),dateTime:Qa({formats:hl,defaultWidth:"full"})},wl={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},bl=(e,t,n,a)=>wl[e];function va(e){return(t,n)=>{const a=n?.context?String(n.context):"standalone";let r;if(a==="formatting"&&e.formattingValues){const s=e.defaultFormattingWidth||e.defaultWidth,c=n?.width?String(n.width):s;r=e.formattingValues[c]||e.formattingValues[s]}else{const s=e.defaultWidth,c=n?.width?String(n.width):e.defaultWidth;r=e.values[c]||e.values[s]}const o=e.argumentCallback?e.argumentCallback(t):t;return r[o]}}const _l={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},kl={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Dl={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},xl={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Ml={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Pl={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Tl=(e,t)=>{const n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Ol={ordinalNumber:Tl,era:va({values:_l,defaultWidth:"wide"}),quarter:va({values:kl,defaultWidth:"wide",argumentCallback:e=>e-1}),month:va({values:Dl,defaultWidth:"wide"}),day:va({values:xl,defaultWidth:"wide"}),dayPeriod:va({values:Ml,defaultWidth:"wide",formattingValues:Pl,defaultFormattingWidth:"wide"})};function ma(e){return(t,n={})=>{const a=n.width,r=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=t.match(r);if(!o)return null;const s=o[0],c=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(c)?Al(c,m=>m.test(s)):$l(c,m=>m.test(s));let P;P=e.valueCallback?e.valueCallback(d):d,P=n.valueCallback?n.valueCallback(P):P;const v=t.slice(s.length);return{value:P,rest:v}}}function $l(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Al(e,t){for(let n=0;n{const a=t.match(e.matchPattern);if(!a)return null;const r=a[0],o=t.match(e.parsePattern);if(!o)return null;let s=e.valueCallback?e.valueCallback(o[0]):o[0];s=n.valueCallback?n.valueCallback(s):s;const c=t.slice(r.length);return{value:s,rest:c}}}const Cl=/^(\d+)(th|st|nd|rd)?/i,Rl=/\d+/i,Sl={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Nl={any:[/^b/i,/^(a|c)/i]},Il={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},El={any:[/1/i,/2/i,/3/i,/4/i]},Fl={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Bl={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Ll={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Hl={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Vl={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Wl={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},zl={ordinalNumber:Yl({matchPattern:Cl,parsePattern:Rl,valueCallback:e=>parseInt(e,10)}),era:ma({matchPatterns:Sl,defaultMatchWidth:"wide",parsePatterns:Nl,defaultParseWidth:"any"}),quarter:ma({matchPatterns:Il,defaultMatchWidth:"wide",parsePatterns:El,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ma({matchPatterns:Fl,defaultMatchWidth:"wide",parsePatterns:Bl,defaultParseWidth:"any"}),day:ma({matchPatterns:Ll,defaultMatchWidth:"wide",parsePatterns:Hl,defaultParseWidth:"any"}),dayPeriod:ma({matchPatterns:Vl,defaultMatchWidth:"any",parsePatterns:Wl,defaultParseWidth:"any"})},ir={code:"en-US",formatDistance:fl,formatLong:gl,formatRelative:bl,localize:Ol,match:zl,options:{weekStartsOn:0,firstWeekContainsDate:1}};function ql(e,t){const n=pe(e,t?.in);return nr(n,wa(n))+1}function fn(e,t){const n=pe(e,t?.in),a=+na(n)-+sl(n);return Math.round(a/Jn)+1}function pn(e,t){const n=pe(e,t?.in),a=n.getFullYear(),r=Xt(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,s=Se(t?.in||e,0);s.setFullYear(a+1,0,o),s.setHours(0,0,0,0);const c=_t(s,t),d=Se(t?.in||e,0);d.setFullYear(a,0,o),d.setHours(0,0,0,0);const P=_t(d,t);return+n>=+c?a+1:+n>=+P?a:a-1}function Ul(e,t){const n=Xt(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,r=pn(e,t),o=Se(t?.in||e,0);return o.setFullYear(r,0,a),o.setHours(0,0,0,0),_t(o,t)}function yn(e,t){const n=pe(e,t?.in),a=+_t(n,t)-+Ul(n,t);return Math.round(a/Jn)+1}function Re(e,t){const n=e<0?"-":"",a=Math.abs(e).toString().padStart(t,"0");return n+a}const It={y(e,t){const n=e.getFullYear(),a=n>0?n:1-n;return Re(t==="yy"?a%100:a,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):Re(n+1,2)},d(e,t){return Re(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return Re(e.getHours()%12||12,t.length)},H(e,t){return Re(e.getHours(),t.length)},m(e,t){return Re(e.getMinutes(),t.length)},s(e,t){return Re(e.getSeconds(),t.length)},S(e,t){const n=t.length,a=e.getMilliseconds(),r=Math.trunc(a*Math.pow(10,n-3));return Re(r,t.length)}},Zt={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Fn={G:function(e,t,n){const a=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});case"GGGG":default:return n.era(a,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const a=e.getFullYear(),r=a>0?a:1-a;return n.ordinalNumber(r,{unit:"year"})}return It.y(e,t)},Y:function(e,t,n,a){const r=pn(e,a),o=r>0?r:1-r;if(t==="YY"){const s=o%100;return Re(s,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):Re(o,t.length)},R:function(e,t){const n=ar(e);return Re(n,t.length)},u:function(e,t){const n=e.getFullYear();return Re(n,t.length)},Q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return Re(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return Re(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,n){const a=e.getMonth();switch(t){case"M":case"MM":return It.M(e,t);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,n){const a=e.getMonth();switch(t){case"L":return String(a+1);case"LL":return Re(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,n,a){const r=yn(e,a);return t==="wo"?n.ordinalNumber(r,{unit:"week"}):Re(r,t.length)},I:function(e,t,n){const a=fn(e);return t==="Io"?n.ordinalNumber(a,{unit:"week"}):Re(a,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):It.d(e,t)},D:function(e,t,n){const a=ql(e);return t==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):Re(a,t.length)},E:function(e,t,n){const a=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});case"EEEE":default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,n,a){const r=e.getDay(),o=(r-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return Re(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,a){const r=e.getDay(),o=(r-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return Re(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){const a=e.getDay(),r=a===0?7:a;switch(t){case"i":return String(r);case"ii":return Re(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});case"iiii":default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const a=e.getHours();let r;switch(a===12?r=Zt.noon:a===0?r=Zt.midnight:r=a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){const a=e.getHours();let r;switch(a>=17?r=Zt.evening:a>=12?r=Zt.afternoon:a>=4?r=Zt.morning:r=Zt.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let a=e.getHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return It.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):It.H(e,t)},K:function(e,t,n){const a=e.getHours()%12;return t==="Ko"?n.ordinalNumber(a,{unit:"hour"}):Re(a,t.length)},k:function(e,t,n){let a=e.getHours();return a===0&&(a=24),t==="ko"?n.ordinalNumber(a,{unit:"hour"}):Re(a,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):It.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):It.s(e,t)},S:function(e,t){return It.S(e,t)},X:function(e,t,n){const a=e.getTimezoneOffset();if(a===0)return"Z";switch(t){case"X":return Ln(a);case"XXXX":case"XX":return qt(a);case"XXXXX":case"XXX":default:return qt(a,":")}},x:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"x":return Ln(a);case"xxxx":case"xx":return qt(a);case"xxxxx":case"xxx":default:return qt(a,":")}},O:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Bn(a,":");case"OOOO":default:return"GMT"+qt(a,":")}},z:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Bn(a,":");case"zzzz":default:return"GMT"+qt(a,":")}},t:function(e,t,n){const a=Math.trunc(+e/1e3);return Re(a,t.length)},T:function(e,t,n){return Re(+e,t.length)}};function Bn(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),r=Math.trunc(a/60),o=a%60;return o===0?n+String(r):n+String(r)+t+Re(o,2)}function Ln(e,t){return e%60===0?(e>0?"-":"+")+Re(Math.abs(e)/60,2):qt(e,t)}function qt(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),r=Re(Math.trunc(a/60),2),o=Re(a%60,2);return n+r+t+o}const Hn=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},dr=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Ql=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],a=n[1],r=n[2];if(!r)return Hn(e,t);let o;switch(a){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",Hn(a,t)).replace("{{time}}",dr(r,t))},ln={p:dr,P:Ql},jl=/^D+$/,Gl=/^Y+$/,Kl=["D","DD","YY","YYYY"];function cr(e){return jl.test(e)}function vr(e){return Gl.test(e)}function on(e,t,n){const a=Xl(e,t,n);if(console.warn(a),Kl.includes(e))throw new RangeError(a)}function Xl(e,t,n){const a=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${a} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Zl=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Jl=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eo=/^'([^]*?)'?$/,to=/''/g,ao=/[a-zA-Z]/;function $t(e,t,n){const a=Xt(),r=n?.locale??a.locale??ir,o=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,s=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,c=pe(e,n?.in);if(!pa(c))throw new RangeError("Invalid time value");let d=t.match(Jl).map(v=>{const m=v[0];if(m==="p"||m==="P"){const p=ln[m];return p(v,r.formatLong)}return v}).join("").match(Zl).map(v=>{if(v==="''")return{isToken:!1,value:"'"};const m=v[0];if(m==="'")return{isToken:!1,value:no(v)};if(Fn[m])return{isToken:!0,value:v};if(m.match(ao))throw new RangeError("Format string contains an unescaped latin alphabet character `"+m+"`");return{isToken:!1,value:v}});r.localize.preprocessor&&(d=r.localize.preprocessor(c,d));const P={firstWeekContainsDate:o,weekStartsOn:s,locale:r};return d.map(v=>{if(!v.isToken)return v.value;const m=v.value;(!n?.useAdditionalWeekYearTokens&&vr(m)||!n?.useAdditionalDayOfYearTokens&&cr(m))&&on(m,t,String(e));const p=Fn[m[0]];return p(c,m,r.localize,P)}).join("")}function no(e){const t=e.match(eo);return t?t[1].replace(to,"'"):e}function ro(e,t){return pe(e,t?.in).getDay()}function lo(e,t){const n=pe(e,t?.in),a=n.getFullYear(),r=n.getMonth(),o=Se(n,0);return o.setFullYear(a,r+1,0),o.setHours(0,0,0,0),o.getDate()}function oo(){return Object.assign({},Xt())}function St(e,t){return pe(e,t?.in).getHours()}function so(e,t){const n=pe(e,t?.in).getDay();return n===0?7:n}function Ht(e,t){return pe(e,t?.in).getMinutes()}function Pe(e,t){return pe(e,t?.in).getMonth()}function ra(e){return pe(e).getSeconds()}function he(e,t){return pe(e,t?.in).getFullYear()}function Gt(e,t){return+pe(e)>+pe(t)}function la(e,t){return+pe(e)<+pe(t)}function ta(e,t){return+pe(e)==+pe(t)}function uo(e,t){const n=io(t)?new t(0):Se(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}function io(e){return typeof e=="function"&&e.prototype?.constructor===e}const co=10;class mr{subPriority=0;validate(t,n){return!0}}class vo extends mr{constructor(t,n,a,r,o){super(),this.value=t,this.validateValue=n,this.setValue=a,this.priority=r,o&&(this.subPriority=o)}validate(t,n){return this.validateValue(t,this.value,n)}set(t,n,a){return this.setValue(t,n,this.value,a)}}class mo extends mr{priority=co;subPriority=-1;constructor(t,n){super(),this.context=t||(a=>Se(n,a))}set(t,n){return n.timestampIsSet?t:Se(t,uo(t,this.context))}}class Ae{run(t,n,a,r){const o=this.parse(t,n,a,r);return o?{setter:new vo(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(t,n,a){return!0}}class fo extends Ae{priority=140;parse(t,n,a){switch(n){case"G":case"GG":case"GGG":return a.era(t,{width:"abbreviated"})||a.era(t,{width:"narrow"});case"GGGGG":return a.era(t,{width:"narrow"});case"GGGG":default:return a.era(t,{width:"wide"})||a.era(t,{width:"abbreviated"})||a.era(t,{width:"narrow"})}}set(t,n,a){return n.era=a,t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["R","u","t","T"]}const Ue={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Pt={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Qe(e,t){return e&&{value:t(e.value),rest:e.rest}}function Le(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Tt(e,t){const n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};const a=n[1]==="+"?1:-1,r=n[2]?parseInt(n[2],10):0,o=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:a*(r*er+o*al+s*nl),rest:t.slice(n[0].length)}}function fr(e){return Le(Ue.anyDigitsSigned,e)}function Ve(e,t){switch(e){case 1:return Le(Ue.singleDigit,t);case 2:return Le(Ue.twoDigits,t);case 3:return Le(Ue.threeDigits,t);case 4:return Le(Ue.fourDigits,t);default:return Le(new RegExp("^\\d{1,"+e+"}"),t)}}function Ra(e,t){switch(e){case 1:return Le(Ue.singleDigitSigned,t);case 2:return Le(Ue.twoDigitsSigned,t);case 3:return Le(Ue.threeDigitsSigned,t);case 4:return Le(Ue.fourDigitsSigned,t);default:return Le(new RegExp("^-?\\d{1,"+e+"}"),t)}}function hn(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function pr(e,t){const n=t>0,a=n?t:1-t;let r;if(a<=50)r=e||100;else{const o=a+50,s=Math.trunc(o/100)*100,c=e>=o%100;r=e+s-(c?100:0)}return n?r:1-r}function yr(e){return e%400===0||e%4===0&&e%100!==0}class po extends Ae{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(t,n,a){const r=o=>({year:o,isTwoDigitYear:n==="yy"});switch(n){case"y":return Qe(Ve(4,t),r);case"yo":return Qe(a.ordinalNumber(t,{unit:"year"}),r);default:return Qe(Ve(n.length,t),r)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,a){const r=t.getFullYear();if(a.isTwoDigitYear){const s=pr(a.year,r);return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}const o=!("era"in n)||n.era===1?a.year:1-a.year;return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}class yo extends Ae{priority=130;parse(t,n,a){const r=o=>({year:o,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Qe(Ve(4,t),r);case"Yo":return Qe(a.ordinalNumber(t,{unit:"year"}),r);default:return Qe(Ve(n.length,t),r)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,a,r){const o=pn(t,r);if(a.isTwoDigitYear){const c=pr(a.year,o);return t.setFullYear(c,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),_t(t,r)}const s=!("era"in n)||n.era===1?a.year:1-a.year;return t.setFullYear(s,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),_t(t,r)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}class ho extends Ae{priority=130;parse(t,n){return Ra(n==="R"?4:n.length,t)}set(t,n,a){const r=Se(t,0);return r.setFullYear(a,0,4),r.setHours(0,0,0,0),na(r)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}class go extends Ae{priority=130;parse(t,n){return Ra(n==="u"?4:n.length,t)}set(t,n,a){return t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}class wo extends Ae{priority=120;parse(t,n,a){switch(n){case"Q":case"QQ":return Ve(n.length,t);case"Qo":return a.ordinalNumber(t,{unit:"quarter"});case"QQQ":return a.quarter(t,{width:"abbreviated",context:"formatting"})||a.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(t,{width:"wide",context:"formatting"})||a.quarter(t,{width:"abbreviated",context:"formatting"})||a.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,a){return t.setMonth((a-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}class bo extends Ae{priority=120;parse(t,n,a){switch(n){case"q":case"qq":return Ve(n.length,t);case"qo":return a.ordinalNumber(t,{unit:"quarter"});case"qqq":return a.quarter(t,{width:"abbreviated",context:"standalone"})||a.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(t,{width:"wide",context:"standalone"})||a.quarter(t,{width:"abbreviated",context:"standalone"})||a.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,a){return t.setMonth((a-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}class _o extends Ae{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(t,n,a){const r=o=>o-1;switch(n){case"M":return Qe(Le(Ue.month,t),r);case"MM":return Qe(Ve(2,t),r);case"Mo":return Qe(a.ordinalNumber(t,{unit:"month"}),r);case"MMM":return a.month(t,{width:"abbreviated",context:"formatting"})||a.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(t,{width:"wide",context:"formatting"})||a.month(t,{width:"abbreviated",context:"formatting"})||a.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,a){return t.setMonth(a,1),t.setHours(0,0,0,0),t}}class ko extends Ae{priority=110;parse(t,n,a){const r=o=>o-1;switch(n){case"L":return Qe(Le(Ue.month,t),r);case"LL":return Qe(Ve(2,t),r);case"Lo":return Qe(a.ordinalNumber(t,{unit:"month"}),r);case"LLL":return a.month(t,{width:"abbreviated",context:"standalone"})||a.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(t,{width:"wide",context:"standalone"})||a.month(t,{width:"abbreviated",context:"standalone"})||a.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,a){return t.setMonth(a,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}function Do(e,t,n){const a=pe(e,n?.in),r=yn(a,n)-t;return a.setDate(a.getDate()-r*7),pe(a,n?.in)}class xo extends Ae{priority=100;parse(t,n,a){switch(n){case"w":return Le(Ue.week,t);case"wo":return a.ordinalNumber(t,{unit:"week"});default:return Ve(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,a,r){return _t(Do(t,a,r),r)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}function Mo(e,t,n){const a=pe(e,n?.in),r=fn(a,n)-t;return a.setDate(a.getDate()-r*7),a}class Po extends Ae{priority=100;parse(t,n,a){switch(n){case"I":return Le(Ue.week,t);case"Io":return a.ordinalNumber(t,{unit:"week"});default:return Ve(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,a){return na(Mo(t,a))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}const To=[31,28,31,30,31,30,31,31,30,31,30,31],Oo=[31,29,31,30,31,30,31,31,30,31,30,31];class $o extends Ae{priority=90;subPriority=1;parse(t,n,a){switch(n){case"d":return Le(Ue.date,t);case"do":return a.ordinalNumber(t,{unit:"date"});default:return Ve(n.length,t)}}validate(t,n){const a=t.getFullYear(),r=yr(a),o=t.getMonth();return r?n>=1&&n<=Oo[o]:n>=1&&n<=To[o]}set(t,n,a){return t.setDate(a),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}class Ao extends Ae{priority=90;subpriority=1;parse(t,n,a){switch(n){case"D":case"DD":return Le(Ue.dayOfYear,t);case"Do":return a.ordinalNumber(t,{unit:"date"});default:return Ve(n.length,t)}}validate(t,n){const a=t.getFullYear();return yr(a)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,a){return t.setMonth(0,a),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}function gn(e,t,n){const a=Xt(),r=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,o=pe(e,n?.in),s=o.getDay(),d=(t%7+7)%7,P=7-r,v=t<0||t>6?t-(s+P)%7:(d+P)%7-(s+P)%7;return ft(o,v,n)}class Yo extends Ae{priority=90;parse(t,n,a){switch(n){case"E":case"EE":case"EEE":return a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return a.day(t,{width:"wide",context:"formatting"})||a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,a,r){return t=gn(t,a,r),t.setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]}class Co extends Ae{priority=90;parse(t,n,a,r){const o=s=>{const c=Math.floor((s-1)/7)*7;return(s+r.weekStartsOn+6)%7+c};switch(n){case"e":case"ee":return Qe(Ve(n.length,t),o);case"eo":return Qe(a.ordinalNumber(t,{unit:"day"}),o);case"eee":return a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"eeeee":return a.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return a.day(t,{width:"wide",context:"formatting"})||a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,a,r){return t=gn(t,a,r),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}class Ro extends Ae{priority=90;parse(t,n,a,r){const o=s=>{const c=Math.floor((s-1)/7)*7;return(s+r.weekStartsOn+6)%7+c};switch(n){case"c":case"cc":return Qe(Ve(n.length,t),o);case"co":return Qe(a.ordinalNumber(t,{unit:"day"}),o);case"ccc":return a.day(t,{width:"abbreviated",context:"standalone"})||a.day(t,{width:"short",context:"standalone"})||a.day(t,{width:"narrow",context:"standalone"});case"ccccc":return a.day(t,{width:"narrow",context:"standalone"});case"cccccc":return a.day(t,{width:"short",context:"standalone"})||a.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return a.day(t,{width:"wide",context:"standalone"})||a.day(t,{width:"abbreviated",context:"standalone"})||a.day(t,{width:"short",context:"standalone"})||a.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,a,r){return t=gn(t,a,r),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}function So(e,t,n){const a=pe(e,n?.in),r=so(a,n),o=t-r;return ft(a,o,n)}class No extends Ae{priority=90;parse(t,n,a){const r=o=>o===0?7:o;switch(n){case"i":case"ii":return Ve(n.length,t);case"io":return a.ordinalNumber(t,{unit:"day"});case"iii":return Qe(a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"}),r);case"iiiii":return Qe(a.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return Qe(a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"}),r);case"iiii":default:return Qe(a.day(t,{width:"wide",context:"formatting"})||a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"}),r)}}validate(t,n){return n>=1&&n<=7}set(t,n,a){return t=So(t,a),t.setHours(0,0,0,0),t}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}class Io extends Ae{priority=80;parse(t,n,a){switch(n){case"a":case"aa":case"aaa":return a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(t,{width:"wide",context:"formatting"})||a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,a){return t.setHours(hn(a),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]}class Eo extends Ae{priority=80;parse(t,n,a){switch(n){case"b":case"bb":case"bbb":return a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(t,{width:"wide",context:"formatting"})||a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,a){return t.setHours(hn(a),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]}class Fo extends Ae{priority=80;parse(t,n,a){switch(n){case"B":case"BB":case"BBB":return a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(t,{width:"wide",context:"formatting"})||a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,a){return t.setHours(hn(a),0,0,0),t}incompatibleTokens=["a","b","t","T"]}class Bo extends Ae{priority=70;parse(t,n,a){switch(n){case"h":return Le(Ue.hour12h,t);case"ho":return a.ordinalNumber(t,{unit:"hour"});default:return Ve(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,a){const r=t.getHours()>=12;return r&&a<12?t.setHours(a+12,0,0,0):!r&&a===12?t.setHours(0,0,0,0):t.setHours(a,0,0,0),t}incompatibleTokens=["H","K","k","t","T"]}class Lo extends Ae{priority=70;parse(t,n,a){switch(n){case"H":return Le(Ue.hour23h,t);case"Ho":return a.ordinalNumber(t,{unit:"hour"});default:return Ve(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,a){return t.setHours(a,0,0,0),t}incompatibleTokens=["a","b","h","K","k","t","T"]}class Ho extends Ae{priority=70;parse(t,n,a){switch(n){case"K":return Le(Ue.hour11h,t);case"Ko":return a.ordinalNumber(t,{unit:"hour"});default:return Ve(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,a){return t.getHours()>=12&&a<12?t.setHours(a+12,0,0,0):t.setHours(a,0,0,0),t}incompatibleTokens=["h","H","k","t","T"]}class Vo extends Ae{priority=70;parse(t,n,a){switch(n){case"k":return Le(Ue.hour24h,t);case"ko":return a.ordinalNumber(t,{unit:"hour"});default:return Ve(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,a){const r=a<=24?a%24:a;return t.setHours(r,0,0,0),t}incompatibleTokens=["a","b","h","H","K","t","T"]}class Wo extends Ae{priority=60;parse(t,n,a){switch(n){case"m":return Le(Ue.minute,t);case"mo":return a.ordinalNumber(t,{unit:"minute"});default:return Ve(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,a){return t.setMinutes(a,0,0),t}incompatibleTokens=["t","T"]}class zo extends Ae{priority=50;parse(t,n,a){switch(n){case"s":return Le(Ue.second,t);case"so":return a.ordinalNumber(t,{unit:"second"});default:return Ve(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,a){return t.setSeconds(a,0),t}incompatibleTokens=["t","T"]}class qo extends Ae{priority=30;parse(t,n){const a=r=>Math.trunc(r*Math.pow(10,-n.length+3));return Qe(Ve(n.length,t),a)}set(t,n,a){return t.setMilliseconds(a),t}incompatibleTokens=["t","T"]}class Uo extends Ae{priority=10;parse(t,n){switch(n){case"X":return Tt(Pt.basicOptionalMinutes,t);case"XX":return Tt(Pt.basic,t);case"XXXX":return Tt(Pt.basicOptionalSeconds,t);case"XXXXX":return Tt(Pt.extendedOptionalSeconds,t);case"XXX":default:return Tt(Pt.extended,t)}}set(t,n,a){return n.timestampIsSet?t:Se(t,t.getTime()-Ca(t)-a)}incompatibleTokens=["t","T","x"]}class Qo extends Ae{priority=10;parse(t,n){switch(n){case"x":return Tt(Pt.basicOptionalMinutes,t);case"xx":return Tt(Pt.basic,t);case"xxxx":return Tt(Pt.basicOptionalSeconds,t);case"xxxxx":return Tt(Pt.extendedOptionalSeconds,t);case"xxx":default:return Tt(Pt.extended,t)}}set(t,n,a){return n.timestampIsSet?t:Se(t,t.getTime()-Ca(t)-a)}incompatibleTokens=["t","T","X"]}class jo extends Ae{priority=40;parse(t){return fr(t)}set(t,n,a){return[Se(t,a*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"}class Go extends Ae{priority=20;parse(t){return fr(t)}set(t,n,a){return[Se(t,a),{timestampIsSet:!0}]}incompatibleTokens="*"}const Ko={G:new fo,y:new po,Y:new yo,R:new ho,u:new go,Q:new wo,q:new bo,M:new _o,L:new ko,w:new xo,I:new Po,d:new $o,D:new Ao,E:new Yo,e:new Co,c:new Ro,i:new No,a:new Io,b:new Eo,B:new Fo,h:new Bo,H:new Lo,K:new Ho,k:new Vo,m:new Wo,s:new zo,S:new qo,X:new Uo,x:new Qo,t:new jo,T:new Go},Xo=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Zo=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Jo=/^'([^]*?)'?$/,es=/''/g,ts=/\S/,as=/[a-zA-Z]/;function sn(e,t,n,a){const r=()=>Se(a?.in||n,NaN),o=oo(),s=a?.locale??o.locale??ir,c=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,d=a?.weekStartsOn??a?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0;if(!t)return e?r():pe(n,a?.in);const P={firstWeekContainsDate:c,weekStartsOn:d,locale:s},v=[new mo(a?.in,n)],m=t.match(Zo).map(M=>{const b=M[0];if(b in ln){const S=ln[b];return S(M,s.formatLong)}return M}).join("").match(Xo),p=[];for(let M of m){!a?.useAdditionalWeekYearTokens&&vr(M)&&on(M,t,e),!a?.useAdditionalDayOfYearTokens&&cr(M)&&on(M,t,e);const b=M[0],S=Ko[b];if(S){const{incompatibleTokens:C}=S;if(Array.isArray(C)){const U=p.find(Y=>C.includes(Y.token)||Y.token===b);if(U)throw new RangeError(`The format string mustn't contain \`${U.fullToken}\` and \`${M}\` at the same time`)}else if(S.incompatibleTokens==="*"&&p.length>0)throw new RangeError(`The format string mustn't contain \`${M}\` and any other token at the same time`);p.push({token:b,fullToken:M});const L=S.run(e,M,s.match,P);if(!L)return r();v.push(L.setter),e=L.rest}else{if(b.match(as))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");if(M==="''"?M="'":b==="'"&&(M=ns(M)),e.indexOf(M)===0)e=e.slice(M.length);else return r()}}if(e.length>0&&ts.test(e))return r();const x=v.map(M=>M.priority).sort((M,b)=>b-M).filter((M,b,S)=>S.indexOf(M)===b).map(M=>v.filter(b=>b.priority===M).sort((b,S)=>S.subPriority-b.subPriority)).map(M=>M[0]);let A=pe(n,a?.in);if(isNaN(+A))return r();const R={};for(const M of x){if(!M.validate(A,P))return r();const b=M.set(A,R,P);Array.isArray(b)?(A=b[0],Object.assign(R,b[1])):A=b}return A}function ns(e){return e.match(Jo)[1].replace(es,"'")}function Vn(e,t,n){const[a,r]=Da(n?.in,e,t);return+Ut(a)==+Ut(r)}function hr(e,t,n){return ft(e,-t,n)}function gr(e,t,n){const a=pe(e,n?.in),r=a.getFullYear(),o=a.getDate(),s=Se(e,0);s.setFullYear(r,t,15),s.setHours(0,0,0,0);const c=lo(s);return a.setMonth(t,Math.min(o,c)),a}function Ne(e,t,n){let a=pe(e,n?.in);return isNaN(+a)?Se(e,NaN):(t.year!=null&&a.setFullYear(t.year),t.month!=null&&(a=gr(a,t.month)),t.date!=null&&a.setDate(t.date),t.hours!=null&&a.setHours(t.hours),t.minutes!=null&&a.setMinutes(t.minutes),t.seconds!=null&&a.setSeconds(t.seconds),t.milliseconds!=null&&a.setMilliseconds(t.milliseconds),a)}function rs(e,t,n){const a=pe(e,n?.in);return a.setHours(t),a}function wr(e,t,n){const a=pe(e,n?.in);return a.setMilliseconds(t),a}function ls(e,t,n){const a=pe(e,n?.in);return a.setMinutes(t),a}function br(e,t,n){const a=pe(e,n?.in);return a.setSeconds(t),a}function Ot(e,t,n){const a=pe(e,n?.in);return isNaN(+a)?Se(e,NaN):(a.setFullYear(t),a)}function oa(e,t,n){return bt(e,-t,n)}function os(e,t,n){const{years:a=0,months:r=0,weeks:o=0,days:s=0,hours:c=0,minutes:d=0,seconds:P=0}=t,v=oa(e,r+a*12,n),m=hr(v,s+o*7,n),p=d+c*60,A=(P+p*60)*1e3;return Se(e,+m-A)}function _r(e,t,n){return mn(e,-t,n)}function ca(){const e=Kr();return T(),z("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img",...e},[ge("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),ge("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),ge("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),ge("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}ca.compatConfig={MODE:3};function kr(){return T(),z("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[ge("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),ge("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}kr.compatConfig={MODE:3};function wn(){return T(),z("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[ge("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}wn.compatConfig={MODE:3};function bn(){return T(),z("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[ge("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}bn.compatConfig={MODE:3};function _n(){return T(),z("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[ge("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),ge("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}_n.compatConfig={MODE:3};function kn(){return T(),z("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[ge("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}kn.compatConfig={MODE:3};function Dn(){return T(),z("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[ge("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Dn.compatConfig={MODE:3};const dt=(e,t)=>t?new Date(e.toLocaleString("en-US",{timeZone:t})):new Date(e),xn=(e,t,n)=>un(e,t,n)||q(),ss=(e,t,n)=>{const a=t.dateInTz?dt(new Date(e),t.dateInTz):q(e);return n?et(a,!0):a},un=(e,t,n)=>{if(!e)return null;const a=n?et(q(e),!0):q(e);return t?t.exactMatch?ss(e,t,n):dt(a,t.timezone):a},us=e=>{const t=new Date(e.getFullYear(),0,1).getTimezoneOffset();return e.getTimezoneOffset(){if(!e)return 0;const n=new Date,a=new Date(n.toLocaleString("en-US",{timeZone:"UTC"})),r=new Date(n.toLocaleString("en-US",{timeZone:e})),o=(us(t??r)?r:t??r).getTimezoneOffset()/60;return(+a-+r)/(1e3*60*60)-o};var ht=(e=>(e.month="month",e.year="year",e))(ht||{}),gt=(e=>(e.top="top",e.bottom="bottom",e))(gt||{}),Qt=(e=>(e.header="header",e.calendar="calendar",e.timePicker="timePicker",e))(Qt||{}),rt=(e=>(e.month="month",e.year="year",e.calendar="calendar",e.time="time",e.minutes="minutes",e.hours="hours",e.seconds="seconds",e))(rt||{});const ds=["timestamp","date","iso"];var st=(e=>(e.up="up",e.down="down",e.left="left",e.right="right",e))(st||{}),Ee=(e=>(e.arrowUp="ArrowUp",e.arrowDown="ArrowDown",e.arrowLeft="ArrowLeft",e.arrowRight="ArrowRight",e.enter="Enter",e.space=" ",e.esc="Escape",e.tab="Tab",e.home="Home",e.end="End",e.pageUp="PageUp",e.pageDown="PageDown",e))(Ee||{}),aa=(e=>(e.MONTH_AND_YEAR="MM-yyyy",e.YEAR="yyyy",e.DATE="dd-MM-yyyy",e))(aa||{});function Wn(e){return t=>{const n=new Intl.DateTimeFormat(e,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${t}T00:00:00+00:00`));return e==="ar"?n.slice(2,5):n.slice(0,2)}}function cs(e){return t=>$t(dt(new Date(`2017-01-0${t}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:e})}const vs=(e,t,n)=>{const a=[1,2,3,4,5,6,7];let r;if(e!==null)try{r=a.map(cs(e))}catch{r=a.map(Wn(t))}else r=a.map(Wn(t));const o=r.slice(0,n),s=r.slice(n+1,r.length);return[r[n]].concat(...s).concat(...o)},Mn=(e,t,n)=>{const a=[];for(let r=+e[0];r<=+e[1];r++)a.push({value:+r,text:Pr(r,t)});return n?a.reverse():a},Dr=(e,t,n)=>{const a=[1,2,3,4,5,6,7,8,9,10,11,12].map(o=>{const s=o<10?`0${o}`:o;return new Date(`2017-${s}-01T00:00:00+00:00`)});if(e!==null)try{const o=n==="long"?"LLLL":"LLL";return a.map((s,c)=>{const d=$t(dt(s,"UTC"),o,{locale:e});return{text:d.charAt(0).toUpperCase()+d.substring(1),value:c}})}catch{}const r=new Intl.DateTimeFormat(t,{month:n,timeZone:"UTC"});return a.map((o,s)=>{const c=r.format(o);return{text:c.charAt(0).toUpperCase()+c.substring(1),value:s}})},ms=e=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][e],je=e=>{const t=i(e);return t!=null&&t.$el?t?.$el:t},fs=e=>({type:"dot",...e??{}}),xr=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,Pn={prop:e=>`"${e}" prop must be enabled!`,dateArr:e=>`You need to use array as "model-value" binding in order to support "${e}"`},Xe=e=>e,zn=e=>e===0?e:!e||isNaN(+e)?null:+e,qn=e=>e===null,Mr=e=>{if(e)return[...e.querySelectorAll("input, button, select, textarea, a[href]")][0]},ps=e=>{const t=[],n=a=>a.filter(r=>r);for(let a=0;a{const a=n!=null,r=t!=null;if(!a&&!r)return!1;const o=+n,s=+t;return a&&r?+e>o||+eo:r?+eps(e).map(n=>n.map(a=>{const{active:r,disabled:o,isBetween:s,highlighted:c}=t(a);return{...a,active:r,disabled:o,className:{dp__overlay_cell_active:r,dp__overlay_cell:!r,dp__overlay_cell_disabled:o,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:o&&r,dp__cell_in_between:s,"dp--highlighted":c}}})),Bt=(e,t,n=!1)=>{e&&t.allowStopPropagation&&(n&&e.stopImmediatePropagation(),e.stopPropagation())},ys=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function hs(e,t){let n=[...document.querySelectorAll(ys())];n=n.filter(r=>!e.contains(r)||r.hasAttribute("data-datepicker-instance"));const a=n.indexOf(e);if(a>=0&&(t?a-1>=0:a+1<=n.length))return n[a+(t?-1:1)]}const dn=(e,t)=>e?.querySelector(`[data-dp-element="${t}"]`),Pr=(e,t)=>new Intl.NumberFormat(t,{useGrouping:!1,style:"decimal"}).format(e),Tn=(e,t)=>$t(e,t??aa.DATE),ja=e=>Array.isArray(e),Sa=(e,t,n)=>t.get(Tn(e,n)),gs=(e,t)=>e?t?t instanceof Map?!!Sa(e,t):t(q(e)):!1:!0,ut=(e,t,n=!1,a)=>{if(e.key===Ee.enter||e.key===Ee.space)return n&&e.preventDefault(),t();if(a)return a(e)},ws=()=>"ontouchstart"in window||navigator.maxTouchPoints>0,Tr=(e,t)=>e?aa.MONTH_AND_YEAR:t?aa.YEAR:aa.DATE,Or=e=>e<10?`0${e}`:e,Un=(e,t,n,a,r,o)=>{const s=sn(e,t.slice(0,e.length),new Date,{locale:o});return pa(s)&&rr(s)?a||r?s:Ne(s,{hours:+n.hours,minutes:+n?.minutes,seconds:+n?.seconds,milliseconds:0}):null},bs=(e,t,n,a,r,o)=>{const s=Array.isArray(n)?n[0]:n;if(typeof t=="string")return Un(e,t,s,a,r,o);if(Array.isArray(t)){let c=null;for(const d of t)if(c=Un(e,d,s,a,r,o),c)break;return c}return typeof t=="function"?t(e):null},q=e=>e?new Date(e):new Date,_s=(e,t,n)=>{if(t){const r=(e.getMonth()+1).toString().padStart(2,"0"),o=e.getDate().toString().padStart(2,"0"),s=e.getHours().toString().padStart(2,"0"),c=e.getMinutes().toString().padStart(2,"0"),d=n?e.getSeconds().toString().padStart(2,"0"):"00";return`${e.getFullYear()}-${r}-${o}T${s}:${c}:${d}.000Z`}const a=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds());return new Date(a).toISOString()},et=(e,t)=>{const n=q(JSON.parse(JSON.stringify(e))),a=Ne(n,{hours:0,minutes:0,seconds:0,milliseconds:0});return t?vl(a):a},Lt=(e,t,n,a)=>{let r=e?q(e):q();return(t||t===0)&&(r=rs(r,+t)),(n||n===0)&&(r=ls(r,+n)),(a||a===0)&&(r=br(r,+a)),wr(r,0)},He=(e,t)=>!e||!t?!1:la(et(e),et(t)),Te=(e,t)=>!e||!t?!1:ta(et(e),et(t)),qe=(e,t)=>!e||!t?!1:Gt(et(e),et(t)),_a=(e,t,n)=>e!=null&&e[0]&&e!=null&&e[1]?qe(n,e[0])&&He(n,e[1]):e!=null&&e[0]&&t?qe(n,e[0])&&He(n,t)||He(n,e[0])&&qe(n,t):!1,wt=e=>{const t=Ne(new Date(e),{date:1});return et(t)},Ga=(e,t,n)=>t&&(n||n===0)?Object.fromEntries(["hours","minutes","seconds"].map(a=>a===t?[a,n]:[a,isNaN(+e[a])?void 0:+e[a]])):{hours:isNaN(+e.hours)?void 0:+e.hours,minutes:isNaN(+e.minutes)?void 0:+e.minutes,seconds:isNaN(+e.seconds)?void 0:+e.seconds},jt=e=>({hours:St(e),minutes:Ht(e),seconds:ra(e)}),$r=(e,t)=>{if(t){const n=he(q(t));if(n>e)return 12;if(n===e)return Pe(q(t))}},Ar=(e,t)=>{if(t){const n=he(q(t));return n{if(e)return he(q(e))},Yr=(e,t)=>{const n=qe(e,t)?t:e,a=qe(t,e)?t:e;return or({start:n,end:a})},ks=e=>{const t=bt(e,1);return{month:Pe(t),year:he(t)}},Yt=(e,t)=>{const n=_t(e,{weekStartsOn:+t}),a=ur(e,{weekStartsOn:+t});return[n,a]},Cr=(e,t)=>{const n={hours:St(q()),minutes:Ht(q()),seconds:t?ra(q()):0};return Object.assign(n,e)},Ft=(e,t,n)=>[Ne(q(e),{date:1}),Ne(q(),{month:t,year:n,date:1})],Ct=(e,t,n)=>{let a=e?q(e):q();return(t||t===0)&&(a=gr(a,t)),n&&(a=Ot(a,n)),a},Rr=(e,t,n,a,r)=>{if(!a||r&&!t||!r&&!n)return!1;const o=r?bt(e,1):oa(e,1),s=[Pe(o),he(o)];return r?!xs(...s,t):!Ds(...s,n)},Ds=(e,t,n)=>He(...Ft(n,e,t))||Te(...Ft(n,e,t)),xs=(e,t,n)=>qe(...Ft(n,e,t))||Te(...Ft(n,e,t)),Sr=(e,t,n,a,r,o,s)=>{if(typeof t=="function"&&!s)return t(e);const c=n?{locale:n}:void 0;return Array.isArray(e)?`${$t(e[0],o,c)}${r&&!e[1]?"":a}${e[1]?$t(e[1],o,c):""}`:$t(e,o,c)},Jt=e=>{if(e)return null;throw new Error(Pn.prop("partial-range"))},Oa=(e,t)=>{if(t)return e();throw new Error(Pn.prop("range"))},cn=e=>Array.isArray(e)?pa(e[0])&&(e[1]?pa(e[1]):!0):e?pa(e):!1,Ms=(e,t)=>Ne(t??q(),{hours:+e.hours||0,minutes:+e.minutes||0,seconds:+e.seconds||0}),Ka=(e,t,n,a)=>{if(!e)return!0;if(a){const r=n==="max"?la(e,t):Gt(e,t),o={seconds:0,milliseconds:0};return r||ta(Ne(e,o),Ne(t,o))}return n==="max"?e.getTime()<=t.getTime():e.getTime()>=t.getTime()},Xa=(e,t,n)=>e?Ms(e,t):q(n??t),Qn=(e,t,n,a,r)=>{if(Array.isArray(a)){const s=Xa(e,a[0],t),c=Xa(e,a[1],t);return Ka(a[0],s,n,!!t)&&Ka(a[1],c,n,!!t)&&r}const o=Xa(e,a,t);return Ka(a,o,n,!!t)&&r},Za=e=>Ne(q(),jt(e)),Ps=(e,t,n)=>{if(e instanceof Map){const a=`${Or(n+1)}-${t}`;return e.size?e.has(a):!1}return typeof e=="function"?e(et(Ne(q(),{month:n,year:t}),!0)):!1},Ts=(e,t,n)=>{if(e instanceof Map){const a=`${Or(n+1)}-${t}`;return e.size?e.has(a):!0}return!0},Nr=(e,t,n)=>typeof e=="function"?e({month:t,year:n}):!!e.months.find(a=>a.month===t&&a.year===n),On=(e,t)=>typeof e=="function"?e(t):e.years.includes(t),vn=e=>`dp-${$t(e,"yyyy-MM-dd")}`,jn=(e,t)=>{const n=hr(et(t),e),a=ft(et(t),e);return{before:n,after:a}},fa=ka({menuFocused:!1,shiftKeyInMenu:!1}),Ir=()=>{const e=n=>{fa.menuFocused=n},t=n=>{fa.shiftKeyInMenu!==n&&(fa.shiftKeyInMenu=n)};return{control:j(()=>({shiftKeyInMenu:fa.shiftKeyInMenu,menuFocused:fa.menuFocused})),setMenuFocused:e,setShiftKey:t}},Ie=ka({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),Ja=K(null),$a=K(!1),en=K(!1),tn=K(!1),an=K(!1),nt=K(0),ze=K(0),Vt=()=>{const e=j(()=>$a.value?[...Ie.selectionGrid,Ie.actionRow].filter(m=>m.length):en.value?[...Ie.timePicker[0],...Ie.timePicker[1],an.value?[]:[Ja.value],Ie.actionRow].filter(m=>m.length):tn.value?[...Ie.monthPicker,Ie.actionRow]:[Ie.monthYear,...Ie.calendar,Ie.time,Ie.actionRow].filter(m=>m.length)),t=m=>{nt.value=m?nt.value+1:nt.value-1;let p=null;e.value[ze.value]&&(p=e.value[ze.value][nt.value]),!p&&e.value[ze.value+(m?1:-1)]?(ze.value=ze.value+(m?1:-1),nt.value=m?0:e.value[ze.value].length-1):p||(nt.value=m?nt.value-1:nt.value+1)},n=m=>{ze.value===0&&!m||ze.value===e.value.length&&m||(ze.value=m?ze.value+1:ze.value-1,e.value[ze.value]?e.value[ze.value]&&!e.value[ze.value][nt.value]&&nt.value!==0&&(nt.value=e.value[ze.value].length-1):ze.value=m?ze.value-1:ze.value+1)},a=m=>{let p=null;e.value[ze.value]&&(p=e.value[ze.value][nt.value]),p?p.focus({preventScroll:!$a.value}):nt.value=m?nt.value-1:nt.value+1},r=()=>{t(!0),a(!0)},o=()=>{t(!1),a(!1)},s=()=>{n(!1),a(!0)},c=()=>{n(!0),a(!0)},d=(m,p)=>{Ie[p]=m},P=(m,p)=>{Ie[p]=m},v=()=>{nt.value=0,ze.value=0};return{buildMatrix:d,buildMultiLevelMatrix:P,setTimePickerBackRef:m=>{Ja.value=m},setSelectionGrid:m=>{$a.value=m,v(),m||(Ie.selectionGrid=[])},setTimePicker:(m,p=!1)=>{en.value=m,an.value=p,v(),m||(Ie.timePicker[0]=[],Ie.timePicker[1]=[])},setTimePickerElements:(m,p=0)=>{Ie.timePicker[p]=m},arrowRight:r,arrowLeft:o,arrowUp:s,arrowDown:c,clearArrowNav:()=>{Ie.monthYear=[],Ie.calendar=[],Ie.time=[],Ie.actionRow=[],Ie.selectionGrid=[],Ie.timePicker[0]=[],Ie.timePicker[1]=[],$a.value=!1,en.value=!1,an.value=!1,tn.value=!1,v(),Ja.value=null},setMonthPicker:m=>{tn.value=m,v()},refSets:Ie}},Gn=e=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...e??{}}),Os=e=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:t=>`Increment ${t}`,decrementValue:t=>`Decrement ${t}`,openTpOverlay:t=>`Open ${t} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,clearInput:"Clear value",calendarIcon:"Calendar icon",timePicker:"Time picker",monthPicker:t=>`Month picker${t?" overlay":""}`,yearPicker:t=>`Year picker${t?" overlay":""}`,timeOverlay:t=>`${t} overlay`,...e??{}}),Kn=e=>e?typeof e=="boolean"?e?2:0:+e>=2?+e:2:0,$s=e=>{const t=typeof e=="object"&&e,n={static:!0,solo:!1};if(!e)return{...n,count:Kn(!1)};const a=t?e:{},r=t?a.count??!0:e,o=Kn(r);return Object.assign(n,a,{count:o})},As=(e,t,n)=>e||(typeof n=="string"?n:t),Ys=e=>typeof e=="boolean"?e?Gn({}):!1:Gn(e),Cs=e=>{const t={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - ",escClose:!0};return typeof e=="object"?{...t,...e??{},enabled:!0}:{...t,enabled:e}},Rs=e=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...e??{}}),Ss=e=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...e??{}}),Ns=e=>{const t={input:!1};return typeof e=="object"?{...t,...e??{},enabled:!0}:{enabled:e,...t}},Is=e=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,arrowLeft:void 0,keepViewOnOffsetClick:!1,timeArrowHoldThreshold:0,shadowDom:!1,mobileBreakpoint:600,setDateOnMenuClose:!1,...e??{}}),Es=e=>{const t={dates:Array.isArray(e)?e.map(n=>q(n)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof e=="function"?e:{...t,...e??{}}},Fs=e=>typeof e=="object"?{type:e?.type??"local",hideOnOffsetDates:e?.hideOnOffsetDates??!1}:{type:e,hideOnOffsetDates:!1},Bs=e=>{const t={noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1};return typeof e=="object"?{enabled:!0,...t,...e}:{enabled:e,...t}},Ls=e=>e?typeof e=="string"?{timezone:e,exactMatch:!1,dateInTz:void 0,emitTimezone:void 0,convertModel:!0}:{timezone:e.timezone,exactMatch:e.exactMatch??!1,dateInTz:e.dateInTz??void 0,emitTimezone:e.emitTimezone??void 0,convertModel:e.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:void 0},nn=(e,t,n,a)=>new Map(e.map(r=>{const o=xn(r,t,a);return[Tn(o,n),o]})),Hs=(e,t)=>e.length?new Map(e.map(n=>{const a=xn(n.date,t);return[Tn(a,aa.DATE),n]})):null,Vs=e=>{var t;const n=Tr(e.isMonthPicker,e.isYearPicker);return{minDate:un(e.minDate,e.timezone,e.isSpecific),maxDate:un(e.maxDate,e.timezone,e.isSpecific),disabledDates:ja(e.disabledDates)?nn(e.disabledDates,e.timezone,n,e.isSpecific):e.disabledDates,allowedDates:ja(e.allowedDates)?nn(e.allowedDates,e.timezone,n,e.isSpecific):null,highlight:typeof e.highlight=="object"&&ja((t=e.highlight)==null?void 0:t.dates)?nn(e.highlight.dates,e.timezone,n):e.highlight,markers:Hs(e.markers,e.timezone)}},Ws=e=>typeof e=="boolean"?{enabled:e,dragSelect:!0,limit:null}:{enabled:!!e,limit:e.limit?+e.limit:null,dragSelect:e.dragSelect??!0},zs=e=>({...Object.fromEntries(Object.keys(e).map(t=>{const n=t,a=e[n],r=typeof e[n]=="string"?{[a]:!0}:Object.fromEntries(a.map(o=>[o,!0]));return[t,r]}))}),Be=e=>{const t=()=>{const Y=e.enableSeconds?":ss":"",N=e.enableMinutes?":mm":"";return e.is24?`HH${N}${Y}`:`hh${N}${Y} aa`},n=()=>{var Y;return e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?t():e.weekPicker?`${((Y=M.value)==null?void 0:Y.type)==="iso"?"II":"ww"}-RR`:e.yearPicker?"yyyy":e.quarterPicker?"QQQ/yyyy":e.enableTimePicker?`MM/dd/yyyy, ${t()}`:"MM/dd/yyyy"},a=Y=>Cr(Y,e.enableSeconds),r=()=>L.value.enabled?e.startTime&&Array.isArray(e.startTime)?[a(e.startTime[0]),a(e.startTime[1])]:null:e.startTime&&!Array.isArray(e.startTime)?a(e.startTime):null,o=j(()=>$s(e.multiCalendars)),s=j(()=>r()),c=j(()=>Os(e.ariaLabels)),d=j(()=>Rs(e.filters)),P=j(()=>Ys(e.transitions)),v=j(()=>Ss(e.actionRow)),m=j(()=>As(e.previewFormat,e.format,n())),p=j(()=>Cs(e.textInput)),x=j(()=>Ns(e.inline)),A=j(()=>Is(e.config)),R=j(()=>Es(e.highlight)),M=j(()=>Fs(e.weekNumbers)),b=j(()=>Ls(e.timezone)),S=j(()=>Ws(e.multiDates)),C=j(()=>Vs({minDate:e.minDate,maxDate:e.maxDate,disabledDates:e.disabledDates,allowedDates:e.allowedDates,highlight:R.value,markers:e.markers,timezone:b.value,isSpecific:e.monthPicker||e.yearPicker||e.quarterPicker,isMonthPicker:e.monthPicker,isYearPicker:e.yearPicker})),L=j(()=>Bs(e.range)),U=j(()=>zs(e.ui));return{defaultedTransitions:P,defaultedMultiCalendars:o,defaultedStartTime:s,defaultedAriaLabels:c,defaultedFilters:d,defaultedActionRow:v,defaultedPreviewFormat:m,defaultedTextInput:p,defaultedInline:x,defaultedConfig:A,defaultedHighlight:R,defaultedWeekNumbers:M,defaultedRange:L,propDates:C,defaultedTz:b,defaultedMultiDates:S,defaultedUI:U,getDefaultPattern:n,getDefaultStartTime:r,handleEventPropagation:Y=>{A.value.allowStopPropagation&&Y.stopPropagation(),A.value.allowPreventDefault&&Y.preventDefault()}}},qs=(e,t,n)=>{const a=K(),{defaultedTextInput:r,defaultedRange:o,defaultedTz:s,defaultedMultiDates:c,getDefaultPattern:d}=Be(t),P=K(""),v=ha(t,"format"),m=ha(t,"formatLocale");yt(a,()=>{typeof t.onInternalModelChange=="function"&&e("internal-model-change",a.value,W(!0))},{deep:!0}),yt(o,(l,_)=>{l.enabled!==_.enabled&&(a.value=null)}),yt(v,()=>{J()});const p=l=>s.value.timezone&&s.value.convertModel?dt(l,s.value.timezone):l,x=l=>{if(s.value.timezone&&s.value.convertModel){const _=is(s.value.timezone,l);return ll(l,_)}return l},A=(l,_,oe=!1)=>Sr(l,t.format,t.formatLocale,r.value.rangeSeparator,t.modelAuto,_??d(),oe),R=l=>l?t.modelType?ee(l):{hours:St(l),minutes:Ht(l),seconds:t.enableSeconds?ra(l):0}:null,M=l=>t.modelType?ee(l):{month:Pe(l),year:he(l)},b=l=>Array.isArray(l)?c.value.enabled?l.map(_=>S(_,Ot(q(),_))):Oa(()=>[Ot(q(),l[0]),l[1]?Ot(q(),l[1]):Jt(o.value.partialRange)],o.value.enabled):Ot(q(),+l),S=(l,_)=>(typeof l=="string"||typeof l=="number")&&t.modelType?E(l):_,C=l=>Array.isArray(l)?[S(l[0],Lt(null,+l[0].hours,+l[0].minutes,l[0].seconds)),S(l[1],Lt(null,+l[1].hours,+l[1].minutes,l[1].seconds))]:S(l,Lt(null,l.hours,l.minutes,l.seconds)),L=l=>{const _=Ne(q(),{date:1});return Array.isArray(l)?c.value.enabled?l.map(oe=>S(oe,Ct(_,+oe.month,+oe.year))):Oa(()=>[S(l[0],Ct(_,+l[0].month,+l[0].year)),S(l[1],l[1]?Ct(_,+l[1].month,+l[1].year):Jt(o.value.partialRange))],o.value.enabled):S(l,Ct(_,+l.month,+l.year))},U=l=>{if(Array.isArray(l))return l.map(_=>E(_));throw new Error(Pn.dateArr("multi-dates"))},Y=l=>{if(Array.isArray(l)&&o.value.enabled){const _=l[0],oe=l[1];return[q(Array.isArray(_)?_[0]:null),Array.isArray(oe)&&oe.length?q(oe[0]):null]}return q(l[0])},N=l=>t.modelAuto?Array.isArray(l)?[E(l[0]),E(l[1])]:t.autoApply?[E(l)]:[E(l),null]:Array.isArray(l)?Oa(()=>l[1]?[E(l[0]),l[1]?E(l[1]):Jt(o.value.partialRange)]:[E(l[0])],o.value.enabled):E(l),re=()=>{Array.isArray(a.value)&&o.value.enabled&&a.value.length===1&&a.value.push(Jt(o.value.partialRange))},V=()=>{const l=a.value;return[ee(l[0]),l[1]?ee(l[1]):Jt(o.value.partialRange)]},I=()=>Array.isArray(a.value)?a.value[1]?V():ee(Xe(a.value[0])):[],se=()=>(a.value||[]).map(l=>ee(l)),ce=(l=!1)=>(l||re(),t.modelAuto?I():c.value.enabled?se():Array.isArray(a.value)?Oa(()=>V(),o.value.enabled):ee(Xe(a.value))),ye=l=>!l||Array.isArray(l)&&!l.length?null:t.timePicker?C(Xe(l)):t.monthPicker?L(Xe(l)):t.yearPicker?b(Xe(l)):c.value.enabled?U(Xe(l)):t.weekPicker?Y(Xe(l)):N(Xe(l)),y=l=>{const _=ye(l);cn(Xe(_))?(a.value=Xe(_),J()):(a.value=null,P.value="")},D=()=>{const l=_=>$t(_,r.value.format);return`${l(a.value[0])} ${r.value.rangeSeparator} ${a.value[1]?l(a.value[1]):""}`},h=()=>n.value&&a.value?Array.isArray(a.value)?D():$t(a.value,r.value.format):A(a.value),H=()=>a.value?c.value.enabled?a.value.map(l=>A(l)).join("; "):r.value.enabled&&typeof r.value.format=="string"?h():A(a.value):"",J=()=>{!t.format||typeof t.format=="string"||r.value.enabled&&typeof r.value.format=="string"?P.value=H():P.value=t.format(a.value)},E=l=>{if(t.utc){const _=new Date(l);return t.utc==="preserve"?new Date(_.getTime()+_.getTimezoneOffset()*6e4):_}return t.modelType?ds.includes(t.modelType)?p(new Date(l)):t.modelType==="format"&&(typeof t.format=="string"||!t.format)?p(sn(l,d(),new Date,{locale:m.value})):p(sn(l,t.modelType,new Date,{locale:m.value})):p(new Date(l))},ee=l=>l?t.utc?_s(l,t.utc==="preserve",t.enableSeconds):t.modelType?t.modelType==="timestamp"?+x(l):t.modelType==="iso"?x(l).toISOString():t.modelType==="format"&&(typeof t.format=="string"||!t.format)?A(x(l)):A(x(l),t.modelType,!0):x(l):"",O=(l,_=!1,oe=!1)=>{if(oe)return l;if(e("update:model-value",l),s.value.emitTimezone&&_){const Ye=Array.isArray(l)?l.map($=>dt(Xe($),s.value.emitTimezone)):dt(Xe(l),s.value.emitTimezone);e("update:model-timezone-value",Ye)}},de=l=>Array.isArray(a.value)?c.value.enabled?a.value.map(_=>l(_)):[l(a.value[0]),a.value[1]?l(a.value[1]):Jt(o.value.partialRange)]:l(Xe(a.value)),f=()=>{if(Array.isArray(a.value)){const l=Yt(a.value[0],t.weekStart),_=a.value[1]?Yt(a.value[1],t.weekStart):[];return[l.map(oe=>q(oe)),_.map(oe=>q(oe))]}return Yt(a.value,t.weekStart).map(l=>q(l))},k=(l,_)=>O(Xe(de(l)),!1,_),F=l=>{const _=f();return l?_:e("update:model-value",f())},W=(l=!1)=>(l||J(),t.monthPicker?k(M,l):t.timePicker?k(R,l):t.yearPicker?k(he,l):t.weekPicker?F(l):O(ce(l),!0,l));return{inputValue:P,internalModelValue:a,checkBeforeEmit:()=>a.value?o.value.enabled?o.value.partialRange?a.value.length>=1:a.value.length===2:!!a.value:!1,parseExternalModelValue:y,formatInputValue:J,emitModelValue:W}},Us=(e,t)=>{const{defaultedFilters:n,propDates:a}=Be(e),{validateMonthYearInRange:r}=Wt(e),o=(v,m)=>{let p=v;return n.value.months.includes(Pe(p))?(p=m?bt(v,1):oa(v,1),o(p,m)):p},s=(v,m)=>{let p=v;return n.value.years.includes(he(p))?(p=m?mn(v,1):_r(v,1),s(p,m)):p},c=(v,m=!1)=>{const p=Ne(q(),{month:e.month,year:e.year});let x=v?bt(p,1):oa(p,1);e.disableYearSelect&&(x=Ot(x,e.year));let A=Pe(x),R=he(x);n.value.months.includes(A)&&(x=o(x,v),A=Pe(x),R=he(x)),n.value.years.includes(R)&&(x=s(x,v),R=he(x)),r(A,R,v,e.preventMinMaxNavigation)&&d(A,R,m)},d=(v,m,p)=>{t("update-month-year",{month:v,year:m,fromNav:p})},P=j(()=>v=>Rr(Ne(q(),{month:e.month,year:e.year}),a.value.maxDate,a.value.minDate,e.preventMinMaxNavigation,v));return{handleMonthYearChange:c,isDisabled:P,updateMonthYear:d}},Ia={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:[Boolean,String],default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[Boolean,String,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},alwaysClearable:{type:Boolean,default:!1},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},onInternalModelChange:{type:[Function,Object],default:null},enableMinutes:{type:Boolean,default:!0},ui:{type:Object,default:()=>({})}},kt={...Ia,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1},isMobile:{type:Boolean,default:void 0}},Qs=["title"],js=["disabled"],Gs=tt({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...kt},emits:["close-picker","select-date","select-now","invalid-select"],setup(e,{emit:t}){const n=t,a=e,{defaultedActionRow:r,defaultedPreviewFormat:o,defaultedMultiCalendars:s,defaultedTextInput:c,defaultedInline:d,defaultedRange:P,defaultedMultiDates:v}=Be(a),{isTimeValid:m,isMonthValid:p}=Wt(a),{buildMatrix:x}=Vt(),A=K(null),R=K(null),M=K(!1),b=K({}),S=K(null),C=K(null);at(()=>{a.arrowNavigation&&x([je(A),je(R)],"actionRow"),L(),window.addEventListener("resize",L)}),ia(()=>{window.removeEventListener("resize",L)});const L=()=>{M.value=!1,setTimeout(()=>{var y,D;const h=(y=S.value)==null?void 0:y.getBoundingClientRect(),H=(D=C.value)==null?void 0:D.getBoundingClientRect();h&&H&&(b.value.maxWidth=`${H.width-h.width-20}px`),M.value=!0},0)},U=j(()=>P.value.enabled&&!P.value.partialRange&&a.internalModelValue?a.internalModelValue.length===2:!0),Y=j(()=>!m.value(a.internalModelValue)||!p.value(a.internalModelValue)||!U.value),N=()=>{const y=o.value;return a.timePicker||a.monthPicker,y(Xe(a.internalModelValue))},re=()=>{const y=a.internalModelValue;return s.value.count>0?`${V(y[0])} - ${V(y[1])}`:[V(y[0]),V(y[1])]},V=y=>Sr(y,o.value,a.formatLocale,c.value.rangeSeparator,a.modelAuto,o.value),I=j(()=>!a.internalModelValue||!a.menuMount?"":typeof o.value=="string"?Array.isArray(a.internalModelValue)?a.internalModelValue.length===2&&a.internalModelValue[1]?re():v.value.enabled?a.internalModelValue.map(y=>`${V(y)}`):a.modelAuto?`${V(a.internalModelValue[0])}`:`${V(a.internalModelValue[0])} -`:V(a.internalModelValue):N()),se=()=>v.value.enabled?"; ":" - ",ce=j(()=>Array.isArray(I.value)?I.value.join(se()):I.value),ye=()=>{m.value(a.internalModelValue)&&p.value(a.internalModelValue)&&U.value?n("select-date"):n("invalid-select")};return(y,D)=>(T(),z("div",{ref_key:"actionRowRef",ref:C,class:"dp__action_row"},[y.$slots["action-row"]?ie(y.$slots,"action-row",Ze(Je({key:0},{internalModelValue:y.internalModelValue,disabled:Y.value,selectDate:()=>y.$emit("select-date"),closePicker:()=>y.$emit("close-picker")}))):(T(),z(ke,{key:1},[i(r).showPreview?(T(),z("div",{key:0,class:"dp__selection_preview",title:ce.value,style:pt(b.value)},[y.$slots["action-preview"]&&M.value?ie(y.$slots,"action-preview",{key:0,value:y.internalModelValue}):G("",!0),!y.$slots["action-preview"]&&M.value?(T(),z(ke,{key:1},[Rt(lt(ce.value),1)],64)):G("",!0)],12,Qs)):G("",!0),ge("div",{ref_key:"actionBtnContainer",ref:S,class:"dp__action_buttons","data-dp-element":"action-row"},[y.$slots["action-buttons"]?ie(y.$slots,"action-buttons",{key:0,value:y.internalModelValue}):G("",!0),y.$slots["action-buttons"]?G("",!0):(T(),z(ke,{key:1},[!i(d).enabled&&i(r).showCancel?(T(),z("button",{key:0,ref_key:"cancelButtonRef",ref:A,type:"button",class:"dp__action_button dp__action_cancel",onClick:D[0]||(D[0]=h=>y.$emit("close-picker")),onKeydown:D[1]||(D[1]=h=>i(ut)(h,()=>y.$emit("close-picker")))},lt(y.cancelText),545)):G("",!0),i(r).showNow?(T(),z("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:D[2]||(D[2]=h=>y.$emit("select-now")),onKeydown:D[3]||(D[3]=h=>i(ut)(h,()=>y.$emit("select-now")))},lt(y.nowButtonLabel),33)):G("",!0),i(r).showSelect?(T(),z("button",{key:2,ref_key:"selectButtonRef",ref:R,type:"button",class:"dp__action_button dp__action_select",disabled:Y.value,"data-test-id":"select-button",onKeydown:D[4]||(D[4]=h=>i(ut)(h,()=>ye())),onClick:ye},lt(y.selectText),41,js)):G("",!0)],64))],512)],64))],512))}}),Ks=["role","aria-label","tabindex"],Xs={class:"dp__selection_grid_header"},Zs=["aria-selected","aria-disabled","data-test-id","onClick","onKeydown","onMouseover"],Js=["aria-label"],xa=tt({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{},overlayLabel:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(e,{expose:t,emit:n}){const{setSelectionGrid:a,buildMultiLevelMatrix:r,setMonthPicker:o}=Vt(),s=n,c=e,{defaultedAriaLabels:d,defaultedTextInput:P,defaultedConfig:v,handleEventPropagation:m}=Be(c),{hideNavigationButtons:p}=Ba(),x=K(!1),A=K(null),R=K(null),M=K([]),b=K(),S=K(null),C=K(0),L=K(null);Jr(()=>{A.value=null}),at(()=>{mt().then(()=>ce()),c.noOverlayFocus||Y(),U(!0)}),ia(()=>U(!1));const U=f=>{var k;c.arrowNavigation&&((k=c.headerRefs)!=null&&k.length?o(f):a(f))},Y=()=>{var f;const k=je(R);k&&(P.value.enabled||(A.value?(f=A.value)==null||f.focus({preventScroll:!0}):k.focus({preventScroll:!0})),x.value=k.clientHeight({dp__overlay:!0,"dp--overlay-absolute":!c.useRelative,"dp--overlay-relative":c.useRelative})),re=j(()=>c.useRelative?{height:`${c.height}px`,width:"var(--dp-menu-min-width)"}:void 0),V=j(()=>({dp__overlay_col:!0})),I=j(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:x.value,dp__button_bottom:c.isLast})),se=j(()=>{var f,k;return{dp__overlay_container:!0,dp__container_flex:((f=c.items)==null?void 0:f.length)<=6,dp__container_block:((k=c.items)==null?void 0:k.length)>6}});yt(()=>c.items,()=>ce(!1),{deep:!0});const ce=(f=!0)=>{mt().then(()=>{const k=je(A),F=je(R),W=je(S),l=je(L),_=W?W.getBoundingClientRect().height:0;F&&(F.getBoundingClientRect().height?C.value=F.getBoundingClientRect().height-_:C.value=v.value.modeHeight-_),k&&l&&f&&(l.scrollTop=k.offsetTop-l.offsetTop-(C.value/2-k.getBoundingClientRect().height)-_)})},ye=f=>{f.disabled||s("selected",f.value)},y=()=>{s("toggle"),s("reset-flow")},D=f=>{c.escClose&&(y(),m(f))},h=(f,k,F,W)=>{f&&((k.active||k.value===c.focusValue)&&(A.value=f),c.arrowNavigation&&(Array.isArray(M.value[F])?M.value[F][W]=f:M.value[F]=[f],H()))},H=()=>{var f,k;const F=(f=c.headerRefs)!=null&&f.length?[c.headerRefs].concat(M.value):M.value.concat([c.skipButtonRef?[]:[S.value]]);r(Xe(F),(k=c.headerRefs)!=null&&k.length?"monthPicker":"selectionGrid")},J=f=>{c.arrowNavigation||Bt(f,v.value,!0)},E=f=>{b.value=f,s("hover-value",f)},ee=()=>{if(y(),!c.isLast){const f=dn(c.menuWrapRef??null,"action-row");if(f){const k=Mr(f);k?.focus()}}},O=f=>{switch(f.key){case Ee.esc:return D(f);case Ee.arrowLeft:return J(f);case Ee.arrowRight:return J(f);case Ee.arrowUp:return J(f);case Ee.arrowDown:return J(f);default:return}},de=f=>{if(f.key===Ee.enter)return y();if(f.key===Ee.tab)return ee()};return t({focusGrid:Y}),(f,k)=>{var F;return T(),z("div",{ref_key:"gridWrapRef",ref:R,class:xe(N.value),style:pt(re.value),role:f.useRelative?void 0:"dialog","aria-label":f.overlayLabel,tabindex:f.useRelative?void 0:"0",onKeydown:O,onClick:k[0]||(k[0]=ga(()=>{},["prevent"]))},[ge("div",{ref_key:"containerRef",ref:L,class:xe(se.value),style:pt({"--dp-overlay-height":`${C.value}px`}),role:"grid"},[ge("div",Xs,[ie(f.$slots,"header")]),f.$slots.overlay?ie(f.$slots,"overlay",{key:0}):(T(!0),z(ke,{key:1},Fe(f.items,(W,l)=>(T(),z("div",{key:l,class:xe(["dp__overlay_row",{dp__flex_row:f.items.length>=3}]),role:"row"},[(T(!0),z(ke,null,Fe(W,(_,oe)=>(T(),z("div",{key:_.value,ref_for:!0,ref:Ye=>h(Ye,_,l,oe),role:"gridcell",class:xe(V.value),"aria-selected":_.active||void 0,"aria-disabled":_.disabled||void 0,tabindex:"0","data-test-id":_.text,onClick:ga(Ye=>ye(_),["prevent"]),onKeydown:Ye=>i(ut)(Ye,()=>ye(_),!0),onMouseover:Ye=>E(_.value)},[ge("div",{class:xe(_.className)},[f.$slots.item?ie(f.$slots,"item",{key:0,item:_}):G("",!0),f.$slots.item?G("",!0):(T(),z(ke,{key:1},[Rt(lt(_.text),1)],64))],2)],42,Zs))),128))],2))),128))],6),f.$slots["button-icon"]?Aa((T(),z("button",{key:0,ref_key:"toggleButton",ref:S,type:"button","aria-label":(F=i(d))==null?void 0:F.toggleOverlay,class:xe(I.value),tabindex:"0",onClick:y,onKeydown:de},[ie(f.$slots,"button-icon")],42,Js)),[[Ya,!i(p)(f.hideNavigation,f.type)]]):G("",!0)],46,Ks)}}}),eu=["data-dp-mobile"],Ea=tt({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean},isMobile:{type:Boolean}},setup(e){const t=e,n=j(()=>t.multiCalendars>0?[...Array(t.multiCalendars).keys()]:[0]),a=j(()=>({dp__instance_calendar:t.multiCalendars>0}));return(r,o)=>(T(),z("div",{class:xe({dp__menu_inner:!r.stretch,"dp--menu--inner-stretched":r.stretch,dp__flex_display:r.multiCalendars>0,"dp--flex-display-collapsed":r.collapse}),"data-dp-mobile":r.isMobile},[(T(!0),z(ke,null,Fe(n.value,(s,c)=>(T(),z("div",{key:s,class:xe(a.value)},[ie(r.$slots,"default",{instance:s,index:c})],2))),128))],10,eu))}}),tu=["data-dp-element","aria-label","aria-disabled"],ya=tt({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(e,{emit:t}){const n=t,a=K(null);return at(()=>n("set-ref",a)),(r,o)=>(T(),z("button",{ref_key:"elRef",ref:a,type:"button","data-dp-element":r.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":r.ariaLabel,"aria-disabled":r.disabled||void 0,onClick:o[0]||(o[0]=s=>r.$emit("activate")),onKeydown:o[1]||(o[1]=s=>i(ut)(s,()=>r.$emit("activate"),!0))},[ge("span",{class:xe(["dp__inner_nav",{dp__inner_nav_disabled:r.disabled}])},[ie(r.$slots,"default")],2)],40,tu))}}),au=["aria-label","data-test-id"],Er=tt({__name:"YearModePicker",props:{...kt,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(e,{emit:t}){const n=t,a=e,{showRightIcon:r,showLeftIcon:o}=Ba(),{defaultedConfig:s,defaultedMultiCalendars:c,defaultedAriaLabels:d,defaultedTransitions:P,defaultedUI:v}=Be(a),{showTransition:m,transitionName:p}=Ma(P),x=K(!1),A=(b=!1,S)=>{x.value=!x.value,n("toggle-year-picker",{flow:b,show:S})},R=b=>{x.value=!1,n("year-select",b)},M=(b=!1)=>{n("handle-year",b)};return(b,S)=>{var C,L,U,Y,N;return T(),z(ke,null,[ge("div",{class:xe(["dp--year-mode-picker",{"dp--hidden-el":x.value}])},[i(o)(i(c),e.instance)?(T(),Oe(ya,{key:0,ref:"mpPrevIconRef","aria-label":(C=i(d))==null?void 0:C.prevYear,disabled:e.isDisabled(!1),class:xe((L=i(v))==null?void 0:L.navBtnPrev),onActivate:S[0]||(S[0]=re=>M(!1))},{default:De(()=>[b.$slots["arrow-left"]?ie(b.$slots,"arrow-left",{key:0}):G("",!0),b.$slots["arrow-left"]?G("",!0):(T(),Oe(i(wn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):G("",!0),ge("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${e.year}-${(U=i(d))==null?void 0:U.openYearsOverlay}`,"data-test-id":`year-mode-btn-${e.instance}`,onClick:S[1]||(S[1]=()=>A(!1)),onKeydown:S[2]||(S[2]=el(()=>A(!1),["enter"]))},[b.$slots.year?ie(b.$slots,"year",{key:0,year:e.year}):G("",!0),b.$slots.year?G("",!0):(T(),z(ke,{key:1},[Rt(lt(e.year),1)],64))],40,au),i(r)(i(c),e.instance)?(T(),Oe(ya,{key:1,ref:"mpNextIconRef","aria-label":(Y=i(d))==null?void 0:Y.nextYear,disabled:e.isDisabled(!0),class:xe((N=i(v))==null?void 0:N.navBtnNext),onActivate:S[3]||(S[3]=re=>M(!0))},{default:De(()=>[b.$slots["arrow-right"]?ie(b.$slots,"arrow-right",{key:0}):G("",!0),b.$slots["arrow-right"]?G("",!0):(T(),Oe(i(bn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):G("",!0)],2),vt(da,{name:i(p)(e.showYearPicker),css:i(m)},{default:De(()=>{var re,V;return[e.showYearPicker?(T(),Oe(xa,{key:0,items:e.items,"text-input":b.textInput,"esc-close":b.escClose,config:b.config,"is-last":b.autoApply&&!i(s).keepActionRow,"hide-navigation":b.hideNavigation,"aria-labels":b.ariaLabels,"overlay-label":(V=(re=i(d))==null?void 0:re.yearPicker)==null?void 0:V.call(re,!0),type:"year",onToggle:A,onSelected:S[4]||(S[4]=I=>R(I))},ot({"button-icon":De(()=>[b.$slots["calendar-icon"]?ie(b.$slots,"calendar-icon",{key:0}):G("",!0),b.$slots["calendar-icon"]?G("",!0):(T(),Oe(i(ca),{key:1}))]),_:2},[b.$slots["year-overlay-value"]?{name:"item",fn:De(({item:I})=>[ie(b.$slots,"year-overlay-value",{text:I.text,value:I.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):G("",!0)]}),_:3},8,["name","css"])],64)}}}),$n=(e,t,n)=>{if(t.value&&Array.isArray(t.value))if(t.value.some(a=>Te(e,a))){const a=t.value.filter(r=>!Te(r,e));t.value=a.length?a:null}else(n&&+n>t.value.length||!n)&&t.value.push(e);else t.value=[e]},An=(e,t,n)=>{let a=e.value?e.value.slice():[];return a.length===2&&a[1]!==null&&(a=[]),a.length?(He(t,a[0])?a.unshift(t):a[1]=t,n("range-end",t)):(a=[t],n("range-start",t)),a},Fa=(e,t,n,a)=>{e&&(e[0]&&e[1]&&n&&t("auto-apply"),e[0]&&!e[1]&&a&&n&&t("auto-apply"))},Fr=e=>{Array.isArray(e.value)&&e.value.length<=2&&e.range?e.modelValue.value=e.value.map(t=>dt(q(t),e.timezone)):Array.isArray(e.value)||(e.modelValue.value=dt(q(e.value),e.timezone))},Br=(e,t,n,a)=>Array.isArray(t.value)&&(t.value.length===2||t.value.length===1&&a.value.partialRange)?a.value.fixedStart&&(qe(e,t.value[0])||Te(e,t.value[0]))?[t.value[0],e]:a.value.fixedEnd&&(He(e,t.value[1])||Te(e,t.value[1]))?[e,t.value[1]]:(n("invalid-fixed-range",e),t.value):[],Lr=({multiCalendars:e,range:t,highlight:n,propDates:a,calendars:r,modelValue:o,props:s,filters:c,year:d,month:P,emit:v})=>{const m=j(()=>Mn(s.yearRange,s.locale,s.reverseYears)),p=K([!1]),x=j(()=>(I,se)=>{const ce=Ne(wt(new Date),{month:P.value(I),year:d.value(I)}),ye=se?sr(ce):wa(ce);return Rr(ye,a.value.maxDate,a.value.minDate,s.preventMinMaxNavigation,se)}),A=()=>Array.isArray(o.value)&&e.value.solo&&o.value[1],R=()=>{for(let I=0;I{if(!I)return R();const se=Ne(q(),r.value[I]);return r.value[0].year=he(_r(se,e.value.count-1)),R()},b=(I,se)=>{const ce=dl(se,I);return t.value.showLastInRange&&ce>1?se:I},S=I=>s.focusStartDate||e.value.solo?I[0]:I[1]?b(I[0],I[1]):I[0],C=()=>{if(o.value){const I=Array.isArray(o.value)?S(o.value):o.value;r.value[0]={month:Pe(I),year:he(I)}}},L=()=>{C(),e.value.count&&R()};yt(o,(I,se)=>{s.isTextInputDate&&JSON.stringify(I??{})!==JSON.stringify(se??{})&&L()}),at(()=>{L()});const U=(I,se)=>{r.value[se].year=I,v("update-month-year",{instance:se,year:I,month:r.value[se].month}),e.value.count&&!e.value.solo&&M(se)},Y=j(()=>I=>sa(m.value,se=>{var ce;const ye=d.value(I)===se.value,y=ba(se.value,ua(a.value.minDate),ua(a.value.maxDate))||((ce=c.value.years)==null?void 0:ce.includes(d.value(I))),D=On(n.value,se.value);return{active:ye,disabled:y,highlighted:D}})),N=(I,se)=>{U(I,se),V(se)},re=(I,se=!1)=>{if(!x.value(I,se)){const ce=se?d.value(I)+1:d.value(I)-1;U(ce,I)}},V=(I,se=!1,ce)=>{se||v("reset-flow"),ce!==void 0?p.value[I]=ce:p.value[I]=!p.value[I],p.value[I]?v("overlay-toggle",{open:!0,overlay:rt.year}):(v("overlay-closed"),v("overlay-toggle",{open:!1,overlay:rt.year}))};return{isDisabled:x,groupedYears:Y,showYearPicker:p,selectYear:U,toggleYearPicker:V,handleYearSelect:N,handleYear:re}},nu=(e,t)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:a,defaultedTransitions:r,defaultedConfig:o,defaultedRange:s,defaultedHighlight:c,propDates:d,defaultedTz:P,defaultedFilters:v,defaultedMultiDates:m}=Be(e),p=()=>{e.isTextInputDate&&L(he(q(e.startDate)),0)},{modelValue:x,year:A,month:R,calendars:M}=Pa(e,t,p),b=j(()=>Dr(e.formatLocale,e.locale,e.monthNameFormat)),S=K(null),{checkMinMaxRange:C}=Wt(e),{selectYear:L,groupedYears:U,showYearPicker:Y,toggleYearPicker:N,handleYearSelect:re,handleYear:V,isDisabled:I}=Lr({modelValue:x,multiCalendars:n,range:s,highlight:c,calendars:M,year:A,propDates:d,month:R,filters:v,props:e,emit:t});at(()=>{e.startDate&&(x.value&&e.focusStartDate||!x.value)&&L(he(q(e.startDate)),0)});const se=k=>k?{month:Pe(k),year:he(k)}:{month:null,year:null},ce=()=>x.value?Array.isArray(x.value)?x.value.map(k=>se(k)):se(x.value):se(),ye=(k,F)=>{const W=M.value[k],l=ce();return Array.isArray(l)?l.some(_=>_.year===W?.year&&_.month===F):W?.year===l.year&&F===l.month},y=(k,F,W)=>{var l,_;const oe=ce();return Array.isArray(oe)?A.value(F)===((l=oe[W])==null?void 0:l.year)&&k===((_=oe[W])==null?void 0:_.month):!1},D=(k,F)=>{if(s.value.enabled){const W=ce();if(Array.isArray(x.value)&&Array.isArray(W)){const l=y(k,F,0)||y(k,F,1),_=Ct(wt(q()),k,A.value(F));return _a(x.value,S.value,_)&&!l}return!1}return!1},h=j(()=>k=>sa(b.value,F=>{var W;const l=ye(k,F.value),_=ba(F.value,$r(A.value(k),d.value.minDate),Ar(A.value(k),d.value.maxDate))||Ps(d.value.disabledDates,A.value(k),F.value)||((W=v.value.months)==null?void 0:W.includes(F.value))||!Ts(d.value.allowedDates,A.value(k),F.value),oe=D(F.value,k),Ye=Nr(c.value,F.value,A.value(k));return{active:l,disabled:_,isBetween:oe,highlighted:Ye}})),H=(k,F)=>Ct(wt(q()),k,A.value(F)),J=(k,F)=>{const W=x.value?x.value:wt(new Date);x.value=Ct(W,k,A.value(F)),t("auto-apply"),t("update-flow-step")},E=(k,F)=>{const W=H(k,F);s.value.fixedEnd||s.value.fixedStart?x.value=Br(W,x,t,s):x.value?C(W,x.value)&&(x.value=An(x,H(k,F),t)):x.value=[H(k,F)],mt().then(()=>{Fa(x.value,t,e.autoApply,e.modelAuto)})},ee=(k,F)=>{$n(H(k,F),x,m.value.limit),t("auto-apply",!0)},O=(k,F)=>(M.value[F].month=k,f(F,M.value[F].year,k),m.value.enabled?ee(k,F):s.value.enabled?E(k,F):J(k,F)),de=(k,F)=>{L(k,F),f(F,k,null)},f=(k,F,W)=>{let l=W;if(!l&&l!==0){const _=ce();l=Array.isArray(_)?_[k].month:_.month}t("update-month-year",{instance:k,year:F,month:l})};return{groupedMonths:h,groupedYears:U,year:A,isDisabled:I,defaultedMultiCalendars:n,defaultedAriaLabels:a,defaultedTransitions:r,defaultedConfig:o,showYearPicker:Y,modelValue:x,presetDate:(k,F)=>{Fr({value:k,modelValue:x,range:s.value.enabled,timezone:F?void 0:P.value.timezone}),t("auto-apply")},setHoverDate:(k,F)=>{S.value=H(k,F)},selectMonth:O,selectYear:de,toggleYearPicker:N,handleYearSelect:re,handleYear:V,getModelMonthYear:ce}},ru=tt({compatConfig:{MODE:3},__name:"MonthPicker",props:{...kt},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range","overlay-toggle"],setup(e,{expose:t,emit:n}){const a=n,r=Kt(),o=ct(r,"yearMode"),s=e;at(()=>{s.shadow||a("mount",null)});const{groupedMonths:c,groupedYears:d,year:P,isDisabled:v,defaultedMultiCalendars:m,defaultedConfig:p,showYearPicker:x,modelValue:A,presetDate:R,setHoverDate:M,selectMonth:b,selectYear:S,toggleYearPicker:C,handleYearSelect:L,handleYear:U,getModelMonthYear:Y}=nu(s,a);return t({getSidebarProps:()=>({modelValue:A,year:P,getModelMonthYear:Y,selectMonth:b,selectYear:S,handleYear:U}),presetDate:R,toggleYearPicker:N=>C(0,N)}),(N,re)=>(T(),Oe(Ea,{"multi-calendars":i(m).count,collapse:N.collapse,stretch:"","is-mobile":N.isMobile},{default:De(({instance:V})=>[N.$slots["top-extra"]?ie(N.$slots,"top-extra",{key:0,value:N.internalModelValue}):G("",!0),N.$slots["month-year"]?ie(N.$slots,"month-year",Ze(Je({key:1},{year:i(P),months:i(c)(V),years:i(d)(V),selectMonth:i(b),selectYear:i(S),instance:V}))):(T(),Oe(xa,{key:2,items:i(c)(V),"arrow-navigation":N.arrowNavigation,"is-last":N.autoApply&&!i(p).keepActionRow,"esc-close":N.escClose,height:i(p).modeHeight,config:N.config,"no-overlay-focus":!!(N.noOverlayFocus||N.textInput),"use-relative":"",type:"month",onSelected:I=>i(b)(I,V),onHoverValue:I=>i(M)(I,V)},ot({header:De(()=>[vt(Er,Je(N.$props,{items:i(d)(V),instance:V,"show-year-picker":i(x)[V],year:i(P)(V),"is-disabled":I=>i(v)(V,I),onHandleYear:I=>i(U)(V,I),onYearSelect:I=>i(L)(I,V),onToggleYearPicker:I=>i(C)(V,I?.flow,I?.show)}),ot({_:2},[Fe(i(o),(I,se)=>({name:I,fn:De(ce=>[ie(N.$slots,I,Ze(it(ce)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[N.$slots["month-overlay-value"]?{name:"item",fn:De(({item:I})=>[ie(N.$slots,"month-overlay-value",{text:I.text,value:I.value})]),key:"0"}:void 0]),1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse","is-mobile"]))}}),lu=(e,t)=>{const n=()=>{e.isTextInputDate&&(v.value=he(q(e.startDate)))},{modelValue:a}=Pa(e,t,n),r=K(null),{defaultedHighlight:o,defaultedMultiDates:s,defaultedFilters:c,defaultedRange:d,propDates:P}=Be(e),v=K();at(()=>{e.startDate&&(a.value&&e.focusStartDate||!a.value)&&(v.value=he(q(e.startDate)))});const m=b=>Array.isArray(a.value)?a.value.some(S=>he(S)===b):a.value?he(a.value)===b:!1,p=b=>d.value.enabled&&Array.isArray(a.value)?_a(a.value,r.value,M(b)):!1,x=b=>P.value.allowedDates instanceof Map?P.value.allowedDates.size?P.value.allowedDates.has(`${b}`):!1:!0,A=b=>P.value.disabledDates instanceof Map?P.value.disabledDates.size?P.value.disabledDates.has(`${b}`):!1:!0,R=j(()=>sa(Mn(e.yearRange,e.locale,e.reverseYears),b=>{const S=m(b.value),C=ba(b.value,ua(P.value.minDate),ua(P.value.maxDate))||c.value.years.includes(b.value)||!x(b.value)||A(b.value),L=p(b.value)&&!S,U=On(o.value,b.value);return{active:S,disabled:C,isBetween:L,highlighted:U}})),M=b=>Ot(wt(wa(new Date)),b);return{groupedYears:R,modelValue:a,focusYear:v,setHoverValue:b=>{r.value=Ot(wt(new Date),b)},selectYear:b=>{var S;if(t("update-month-year",{instance:0,year:b}),s.value.enabled)return a.value?Array.isArray(a.value)&&(((S=a.value)==null?void 0:S.map(C=>he(C))).includes(b)?a.value=a.value.filter(C=>he(C)!==b):a.value.push(Ot(et(q()),b))):a.value=[Ot(et(wa(q())),b)],t("auto-apply",!0);d.value.enabled?(a.value=An(a,M(b),t),mt().then(()=>{Fa(a.value,t,e.autoApply,e.modelAuto)})):(a.value=M(b),t("auto-apply"))}}},ou=tt({compatConfig:{MODE:3},__name:"YearPicker",props:{...kt},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(e,{expose:t,emit:n}){const a=n,r=e,{groupedYears:o,modelValue:s,focusYear:c,selectYear:d,setHoverValue:P}=lu(r,a),{defaultedConfig:v}=Be(r);return t({getSidebarProps:()=>({modelValue:s,selectYear:d})}),(m,p)=>(T(),z("div",null,[m.$slots["top-extra"]?ie(m.$slots,"top-extra",{key:0,value:m.internalModelValue}):G("",!0),m.$slots["month-year"]?ie(m.$slots,"month-year",Ze(Je({key:1},{years:i(o),selectYear:i(d)}))):(T(),Oe(xa,{key:2,items:i(o),"is-last":m.autoApply&&!i(v).keepActionRow,height:i(v).modeHeight,config:m.config,"no-overlay-focus":!!(m.noOverlayFocus||m.textInput),"focus-value":i(c),type:"year","use-relative":"",onSelected:i(d),onHoverValue:i(P)},ot({_:2},[m.$slots["year-overlay-value"]?{name:"item",fn:De(({item:x})=>[ie(m.$slots,"year-overlay-value",{text:x.text,value:x.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),su={key:0,class:"dp__time_input"},uu=["data-compact","data-collapsed"],iu=["data-test-id","aria-label","onKeydown","onClick","onMousedown"],du=["aria-label","disabled","data-test-id","onKeydown","onClick"],cu=["data-test-id","aria-label","onKeydown","onClick","onMousedown"],vu={key:0},mu=["aria-label","data-compact"],fu=tt({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...kt},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","overlay-opened","am-pm-change"],setup(e,{expose:t,emit:n}){const a=n,r=e,{setTimePickerElements:o,setTimePickerBackRef:s}=Vt(),{defaultedAriaLabels:c,defaultedTransitions:d,defaultedFilters:P,defaultedConfig:v,defaultedRange:m,defaultedMultiCalendars:p}=Be(r),{transitionName:x,showTransition:A}=Ma(d),R=ka({hours:!1,minutes:!1,seconds:!1}),M=K("AM"),b=K(null),S=K([]),C=K(),L=K(!1);at(()=>{a("mounted")});const U=u=>Ne(new Date,{hours:u.hours,minutes:u.minutes,seconds:r.enableSeconds?u.seconds:0,milliseconds:0}),Y=j(()=>u=>E(u,r[u])||re(u,r[u])),N=j(()=>({hours:r.hours,minutes:r.minutes,seconds:r.seconds})),re=(u,Z)=>m.value.enabled&&!m.value.disableTimeRangeValidation?!r.validateTime(u,Z):!1,V=(u,Z)=>{if(m.value.enabled&&!m.value.disableTimeRangeValidation){const ae=Z?+r[`${u}Increment`]:-+r[`${u}Increment`],ne=r[u]+ae;return!r.validateTime(u,ne)}return!1},I=j(()=>u=>!k(+r[u]+ +r[`${u}Increment`],u)||V(u,!0)),se=j(()=>u=>!k(+r[u]-+r[`${u}Increment`],u)||V(u,!1)),ce=(u,Z)=>tr(Ne(q(),u),Z),ye=(u,Z)=>os(Ne(q(),u),Z),y=j(()=>({dp__time_col:!0,dp__time_col_block:!r.timePickerInline,dp__time_col_reg_block:!r.enableSeconds&&r.is24&&!r.timePickerInline,dp__time_col_reg_inline:!r.enableSeconds&&r.is24&&r.timePickerInline,dp__time_col_reg_with_button:!r.enableSeconds&&!r.is24,dp__time_col_sec:r.enableSeconds&&r.is24,dp__time_col_sec_with_button:r.enableSeconds&&!r.is24})),D=j(()=>r.timePickerInline&&m.value.enabled&&!p.value.count),h=j(()=>{const u=[{type:"hours"}];return r.enableMinutes&&u.push({type:"",separator:!0},{type:"minutes"}),r.enableSeconds&&u.push({type:"",separator:!0},{type:"seconds"}),u}),H=j(()=>h.value.filter(u=>!u.separator)),J=j(()=>u=>{if(u==="hours"){const Z=Ye(+r.hours);return{text:Z<10?`0${Z}`:`${Z}`,value:Z}}return{text:r[u]<10?`0${r[u]}`:`${r[u]}`,value:r[u]}}),E=(u,Z)=>{var ae;if(!r.disabledTimesConfig)return!1;const ne=r.disabledTimesConfig(r.order,u==="hours"?Z:void 0);return ne[u]?!!((ae=ne[u])!=null&&ae.includes(Z)):!0},ee=(u,Z)=>Z!=="hours"||M.value==="AM"?u:u+12,O=u=>{const Z=r.is24?24:12,ae=u==="hours"?Z:60,ne=+r[`${u}GridIncrement`],Me=u==="hours"&&!r.is24?ne:0,be=[];for(let Ce=Me;Ce({active:!1,disabled:P.value.times[u].includes(Ce.value)||!k(Ce.value,u)||E(u,Ce.value)||re(u,Ce.value)}))},de=u=>u>=0?u:59,f=u=>u>=0?u:23,k=(u,Z)=>{const ae=r.minTime?U(Ga(r.minTime)):null,ne=r.maxTime?U(Ga(r.maxTime)):null,Me=U(Ga(N.value,Z,Z==="minutes"||Z==="seconds"?de(u):f(u)));return ae&&ne?(la(Me,ne)||ta(Me,ne))&&(Gt(Me,ae)||ta(Me,ae)):ae?Gt(Me,ae)||ta(Me,ae):ne?la(Me,ne)||ta(Me,ne):!0},F=u=>r[`no${u[0].toUpperCase()+u.slice(1)}Overlay`],W=u=>{F(u)||(R[u]=!R[u],R[u]?(L.value=!0,a("overlay-opened",u)):(L.value=!1,a("overlay-closed",u)))},l=u=>u==="hours"?St:u==="minutes"?Ht:ra,_=()=>{C.value&&clearTimeout(C.value)},oe=(u,Z=!0,ae)=>{const ne=Z?ce:ye,Me=Z?+r[`${u}Increment`]:-+r[`${u}Increment`];k(+r[u]+Me,u)&&a(`update:${u}`,l(u)(ne({[u]:+r[u]},{[u]:+r[`${u}Increment`]}))),!(ae!=null&&ae.keyboard)&&v.value.timeArrowHoldThreshold&&(C.value=setTimeout(()=>{oe(u,Z)},v.value.timeArrowHoldThreshold))},Ye=u=>r.is24?u:(u>=12?M.value="PM":M.value="AM",ms(u)),$=()=>{M.value==="PM"?(M.value="AM",a("update:hours",r.hours-12)):(M.value="PM",a("update:hours",r.hours+12)),a("am-pm-change",M.value)},we=u=>{R[u]=!0},Q=(u,Z,ae)=>{if(u&&r.arrowNavigation){Array.isArray(S.value[Z])?S.value[Z][ae]=u:S.value[Z]=[u];const ne=S.value.reduce((Me,be)=>be.map((Ce,We)=>[...Me[We]||[],be[We]]),[]);s(r.closeTimePickerBtn),b.value&&(ne[1]=ne[1].concat(b.value)),o(ne,r.order)}},te=(u,Z)=>(W(u),a(`update:${u}`,Z));return t({openChildCmp:we}),(u,Z)=>{var ae;return u.disabled?G("",!0):(T(),z("div",su,[(T(!0),z(ke,null,Fe(h.value,(ne,Me)=>{var be,Ce,We;return T(),z("div",{key:Me,class:xe(y.value),"data-compact":D.value&&!u.enableSeconds,"data-collapsed":D.value&&u.enableSeconds},[ne.separator?(T(),z(ke,{key:0},[L.value?G("",!0):(T(),z(ke,{key:0},[Rt(":")],64))],64)):(T(),z(ke,{key:1},[ge("button",{ref_for:!0,ref:g=>Q(g,Me,0),type:"button",class:xe({dp__btn:!0,dp__inc_dec_button:!u.timePickerInline,dp__inc_dec_button_inline:u.timePickerInline,dp__tp_inline_btn_top:u.timePickerInline,dp__inc_dec_button_disabled:I.value(ne.type),"dp--hidden-el":L.value}),"data-test-id":`${ne.type}-time-inc-btn-${r.order}`,"aria-label":(be=i(c))==null?void 0:be.incrementValue(ne.type),tabindex:"0",onKeydown:g=>i(ut)(g,()=>oe(ne.type,!0,{keyboard:!0}),!0),onClick:g=>i(v).timeArrowHoldThreshold?void 0:oe(ne.type,!0),onMousedown:g=>i(v).timeArrowHoldThreshold?oe(ne.type,!0):void 0,onMouseup:_},[r.timePickerInline?(T(),z(ke,{key:1},[u.$slots["tp-inline-arrow-up"]?ie(u.$slots,"tp-inline-arrow-up",{key:0}):(T(),z(ke,{key:1},[Z[2]||(Z[2]=ge("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),Z[3]||(Z[3]=ge("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(T(),z(ke,{key:0},[u.$slots["arrow-up"]?ie(u.$slots,"arrow-up",{key:0}):G("",!0),u.$slots["arrow-up"]?G("",!0):(T(),Oe(i(kn),{key:1}))],64))],42,iu),ge("button",{ref_for:!0,ref:g=>Q(g,Me,1),type:"button","aria-label":`${J.value(ne.type).text}-${(Ce=i(c))==null?void 0:Ce.openTpOverlay(ne.type)}`,class:xe({dp__time_display:!0,dp__time_display_block:!u.timePickerInline,dp__time_display_inline:u.timePickerInline,"dp--time-invalid":Y.value(ne.type),"dp--time-overlay-btn":!Y.value(ne.type),"dp--hidden-el":L.value}),disabled:F(ne.type),tabindex:"0","data-test-id":`${ne.type}-toggle-overlay-btn-${r.order}`,onKeydown:g=>i(ut)(g,()=>W(ne.type),!0),onClick:g=>W(ne.type)},[u.$slots[ne.type]?ie(u.$slots,ne.type,{key:0,text:J.value(ne.type).text,value:J.value(ne.type).value}):G("",!0),u.$slots[ne.type]?G("",!0):(T(),z(ke,{key:1},[Rt(lt(J.value(ne.type).text),1)],64))],42,du),ge("button",{ref_for:!0,ref:g=>Q(g,Me,2),type:"button",class:xe({dp__btn:!0,dp__inc_dec_button:!u.timePickerInline,dp__inc_dec_button_inline:u.timePickerInline,dp__tp_inline_btn_bottom:u.timePickerInline,dp__inc_dec_button_disabled:se.value(ne.type),"dp--hidden-el":L.value}),"data-test-id":`${ne.type}-time-dec-btn-${r.order}`,"aria-label":(We=i(c))==null?void 0:We.decrementValue(ne.type),tabindex:"0",onKeydown:g=>i(ut)(g,()=>oe(ne.type,!1,{keyboard:!0}),!0),onClick:g=>i(v).timeArrowHoldThreshold?void 0:oe(ne.type,!1),onMousedown:g=>i(v).timeArrowHoldThreshold?oe(ne.type,!1):void 0,onMouseup:_},[r.timePickerInline?(T(),z(ke,{key:1},[u.$slots["tp-inline-arrow-down"]?ie(u.$slots,"tp-inline-arrow-down",{key:0}):(T(),z(ke,{key:1},[Z[4]||(Z[4]=ge("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),Z[5]||(Z[5]=ge("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(T(),z(ke,{key:0},[u.$slots["arrow-down"]?ie(u.$slots,"arrow-down",{key:0}):G("",!0),u.$slots["arrow-down"]?G("",!0):(T(),Oe(i(Dn),{key:1}))],64))],42,cu)],64))],10,uu)}),128)),u.is24?G("",!0):(T(),z("div",vu,[u.$slots["am-pm-button"]?ie(u.$slots,"am-pm-button",{key:0,toggle:$,value:M.value}):G("",!0),u.$slots["am-pm-button"]?G("",!0):(T(),z("button",{key:1,ref_key:"amPmButton",ref:b,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(ae=i(c))==null?void 0:ae.amPmButton,tabindex:"0","data-compact":D.value,onClick:$,onKeydown:Z[0]||(Z[0]=ne=>i(ut)(ne,()=>$(),!0))},lt(M.value),41,mu))])),(T(!0),z(ke,null,Fe(H.value,(ne,Me)=>(T(),Oe(da,{key:Me,name:i(x)(R[ne.type]),css:i(A)},{default:De(()=>{var be,Ce;return[R[ne.type]?(T(),Oe(xa,{key:0,items:O(ne.type),"is-last":u.autoApply&&!i(v).keepActionRow,"esc-close":u.escClose,type:ne.type,"text-input":u.textInput,config:u.config,"arrow-navigation":u.arrowNavigation,"aria-labels":u.ariaLabels,"overlay-label":(Ce=(be=i(c)).timeOverlay)==null?void 0:Ce.call(be,ne.type),onSelected:We=>te(ne.type,We),onToggle:We=>W(ne.type),onResetFlow:Z[1]||(Z[1]=We=>u.$emit("reset-flow"))},ot({"button-icon":De(()=>[u.$slots["clock-icon"]?ie(u.$slots,"clock-icon",{key:0}):G("",!0),u.$slots["clock-icon"]?G("",!0):(T(),Oe(Na(u.timePickerInline?i(ca):i(_n)),{key:1}))]),_:2},[u.$slots[`${ne.type}-overlay-value`]?{name:"item",fn:De(({item:We})=>[ie(u.$slots,`${ne.type}-overlay-value`,{text:We.text,value:We.value})]),key:"0"}:void 0,u.$slots[`${ne.type}-overlay-header`]?{name:"header",fn:De(()=>[ie(u.$slots,`${ne.type}-overlay-header`,{toggle:()=>W(ne.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):G("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),pu=["data-dp-mobile"],yu=["aria-label","tabindex"],hu=["role","aria-label","tabindex"],gu=["aria-label"],Hr=tt({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...kt},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(e,{expose:t,emit:n}){const a=n,r=e,{buildMatrix:o,setTimePicker:s}=Vt(),c=Kt(),{defaultedTransitions:d,defaultedAriaLabels:P,defaultedTextInput:v,defaultedConfig:m,defaultedRange:p}=Be(r),{transitionName:x,showTransition:A}=Ma(d),{hideNavigationButtons:R}=Ba(),M=K(null),b=K(null),S=K([]),C=K(null),L=K(!1);at(()=>{a("mount"),!r.timePicker&&r.arrowNavigation?o([je(M.value)],"time"):s(!0,r.timePicker)});const U=j(()=>p.value.enabled&&r.modelAuto?xr(r.internalModelValue):!0),Y=K(!1),N=E=>({hours:Array.isArray(r.hours)?r.hours[E]:r.hours,minutes:Array.isArray(r.minutes)?r.minutes[E]:r.minutes,seconds:Array.isArray(r.seconds)?r.seconds[E]:r.seconds}),re=j(()=>{const E=[];if(p.value.enabled)for(let ee=0;ee<2;ee++)E.push(N(ee));else E.push(N(0));return E}),V=(E,ee=!1,O="")=>{ee||a("reset-flow"),Y.value=E,a(E?"overlay-opened":"overlay-closed",rt.time),r.arrowNavigation&&s(E),mt(()=>{O!==""&&S.value[0]&&S.value[0].openChildCmp(O)})},I=j(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:r.autoApply&&!m.value.keepActionRow})),se=ct(c,"timePicker"),ce=(E,ee,O)=>p.value.enabled?ee===0?[E,re.value[1][O]]:[re.value[0][O],E]:E,ye=E=>{a("update:hours",E)},y=E=>{a("update:minutes",E)},D=E=>{a("update:seconds",E)},h=()=>{if(C.value&&!v.value.enabled&&!r.noOverlayFocus){const E=Mr(C.value);E&&E.focus({preventScroll:!0})}},H=E=>{L.value=!1,a("overlay-closed",E)},J=E=>{L.value=!0,a("overlay-opened",E)};return t({toggleTimePicker:V}),(E,ee)=>{var O;return T(),z("div",{class:"dp--tp-wrap","data-dp-mobile":E.isMobile},[!E.timePicker&&!E.timePickerInline?Aa((T(),z("button",{key:0,ref_key:"openTimePickerBtn",ref:M,type:"button",class:xe({...I.value,"dp--hidden-el":Y.value}),"aria-label":(O=i(P))==null?void 0:O.openTimePicker,tabindex:E.noOverlayFocus?void 0:0,"data-test-id":"open-time-picker-btn",onKeydown:ee[0]||(ee[0]=de=>i(ut)(de,()=>V(!0))),onClick:ee[1]||(ee[1]=de=>V(!0))},[E.$slots["clock-icon"]?ie(E.$slots,"clock-icon",{key:0}):G("",!0),E.$slots["clock-icon"]?G("",!0):(T(),Oe(i(_n),{key:1}))],42,yu)),[[Ya,!i(R)(E.hideNavigation,"time")]]):G("",!0),vt(da,{name:i(x)(Y.value),css:i(A)&&!E.timePickerInline},{default:De(()=>{var de,f;return[Y.value||E.timePicker||E.timePickerInline?(T(),z("div",{key:0,ref_key:"overlayRef",ref:C,role:E.timePickerInline?void 0:"dialog",class:xe({dp__overlay:!E.timePickerInline,"dp--overlay-absolute":!r.timePicker&&!E.timePickerInline,"dp--overlay-relative":r.timePicker}),style:pt(E.timePicker?{height:`${i(m).modeHeight}px`}:void 0),"aria-label":(de=i(P))==null?void 0:de.timePicker,tabindex:E.timePickerInline?void 0:0},[ge("div",{class:xe(E.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[E.$slots["time-picker-overlay"]?ie(E.$slots,"time-picker-overlay",{key:0,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:ye,setMinutes:y,setSeconds:D}):G("",!0),E.$slots["time-picker-overlay"]?G("",!0):(T(),z("div",{key:1,class:xe(E.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(T(!0),z(ke,null,Fe(re.value,(k,F)=>Aa((T(),Oe(fu,Je({key:F,ref_for:!0},{...E.$props,order:F,hours:k.hours,minutes:k.minutes,seconds:k.seconds,closeTimePickerBtn:b.value,disabledTimesConfig:e.disabledTimesConfig,disabled:F===0?i(p).fixedStart:i(p).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:S,"validate-time":(W,l)=>e.validateTime(W,ce(l,F,W)),"onUpdate:hours":W=>ye(ce(W,F,"hours")),"onUpdate:minutes":W=>y(ce(W,F,"minutes")),"onUpdate:seconds":W=>D(ce(W,F,"seconds")),onMounted:h,onOverlayClosed:H,onOverlayOpened:J,onAmPmChange:ee[2]||(ee[2]=W=>E.$emit("am-pm-change",W))}),ot({_:2},[Fe(i(se),(W,l)=>({name:W,fn:De(_=>[ie(E.$slots,W,Je({ref_for:!0},_))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[Ya,F===0?!0:U.value]])),128))],2)),!E.timePicker&&!E.timePickerInline?Aa((T(),z("button",{key:2,ref_key:"closeTimePickerBtn",ref:b,type:"button",class:xe({...I.value,"dp--hidden-el":L.value}),"aria-label":(f=i(P))==null?void 0:f.closeTimePicker,tabindex:"0",onKeydown:ee[3]||(ee[3]=k=>i(ut)(k,()=>V(!1))),onClick:ee[4]||(ee[4]=k=>V(!1))},[E.$slots["calendar-icon"]?ie(E.$slots,"calendar-icon",{key:0}):G("",!0),E.$slots["calendar-icon"]?G("",!0):(T(),Oe(i(ca),{key:1}))],42,gu)),[[Ya,!i(R)(E.hideNavigation,"time")]]):G("",!0)],2)],14,hu)):G("",!0)]}),_:3},8,["name","css"])],8,pu)}}}),Vr=(e,t,n,a)=>{const{defaultedRange:r}=Be(e),o=(C,L)=>Array.isArray(t[C])?t[C][L]:t[C],s=C=>e.enableSeconds?Array.isArray(t.seconds)?t.seconds[C]:t.seconds:0,c=(C,L)=>C?L!==void 0?Lt(C,o("hours",L),o("minutes",L),s(L)):Lt(C,t.hours,t.minutes,s()):br(q(),s(L)),d=(C,L)=>{t[C]=L},P=j(()=>e.modelAuto&&r.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:r.value.enabled),v=(C,L)=>{const U=Object.fromEntries(Object.keys(t).map(Y=>Y===C?[Y,L]:[Y,t[Y]].slice()));if(P.value&&!r.value.disableTimeRangeValidation){const Y=re=>n.value?Lt(n.value[re],U.hours[re],U.minutes[re],U.seconds[re]):null,N=re=>wr(n.value[re],0);return!(Te(Y(0),Y(1))&&(Gt(Y(0),N(1))||la(Y(1),N(0))))}return!0},m=(C,L)=>{v(C,L)&&(d(C,L),a&&a())},p=C=>{m("hours",C)},x=C=>{m("minutes",C)},A=C=>{m("seconds",C)},R=(C,L,U,Y)=>{L&&p(C),!L&&!U&&x(C),U&&A(C),n.value&&Y(n.value)},M=C=>{if(C){const L=Array.isArray(C),U=L?[+C[0].hours,+C[1].hours]:+C.hours,Y=L?[+C[0].minutes,+C[1].minutes]:+C.minutes,N=L?[+C[0].seconds,+C[1].seconds]:+C.seconds;d("hours",U),d("minutes",Y),e.enableSeconds&&d("seconds",N)}},b=(C,L)=>{const U={hours:Array.isArray(t.hours)?t.hours[C]:t.hours,disabledArr:[]};return(L||L===0)&&(U.hours=L),Array.isArray(e.disabledTimes)&&(U.disabledArr=r.value.enabled&&Array.isArray(e.disabledTimes[C])?e.disabledTimes[C]:e.disabledTimes),U},S=j(()=>(C,L)=>{var U;if(Array.isArray(e.disabledTimes)){const{disabledArr:Y,hours:N}=b(C,L),re=Y.filter(V=>+V.hours===N);return((U=re[0])==null?void 0:U.minutes)==="*"?{hours:[N],minutes:void 0,seconds:void 0}:{hours:[],minutes:re?.map(V=>+V.minutes)??[],seconds:re?.map(V=>V.seconds?+V.seconds:void 0)??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:d,updateHours:p,updateMinutes:x,updateSeconds:A,getSetDateTime:c,updateTimeValues:R,getSecondsValue:s,assignStartTime:M,validateTime:v,disabledTimesConfig:S}},wu=(e,t)=>{const n=()=>{e.isTextInputDate&&L()},{modelValue:a,time:r}=Pa(e,t,n),{defaultedStartTime:o,defaultedRange:s,defaultedTz:c}=Be(e),{updateTimeValues:d,getSetDateTime:P,setTime:v,assignStartTime:m,disabledTimesConfig:p,validateTime:x}=Vr(e,r,a,A);function A(){t("update-flow-step")}const R=Y=>{const{hours:N,minutes:re,seconds:V}=Y;return{hours:+N,minutes:+re,seconds:V?+V:0}},M=()=>{if(e.startTime){if(Array.isArray(e.startTime)){const N=R(e.startTime[0]),re=R(e.startTime[1]);return[Ne(q(),N),Ne(q(),re)]}const Y=R(e.startTime);return Ne(q(),Y)}return s.value.enabled?[null,null]:null},b=()=>{if(s.value.enabled){const[Y,N]=M();a.value=[dt(P(Y,0),c.value.timezone),dt(P(N,1),c.value.timezone)]}else a.value=dt(P(M()),c.value.timezone)},S=Y=>Array.isArray(Y)?[jt(q(Y[0])),jt(q(Y[1]))]:[jt(Y??q())],C=(Y,N,re)=>{v("hours",Y),v("minutes",N),v("seconds",e.enableSeconds?re:0)},L=()=>{const[Y,N]=S(a.value);return s.value.enabled?C([Y.hours,N.hours],[Y.minutes,N.minutes],[Y.seconds,N.seconds]):C(Y.hours,Y.minutes,Y.seconds)};at(()=>{if(!e.shadow)return m(o.value),a.value?L():b()});const U=()=>{Array.isArray(a.value)?a.value=a.value.map((Y,N)=>Y&&P(Y,N)):a.value=P(a.value),t("time-update")};return{modelValue:a,time:r,disabledTimesConfig:p,updateTime:(Y,N=!0,re=!1)=>{d(Y,N,re,U)},validateTime:x}},bu=tt({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...kt},emits:["update:internal-model-value","time-update","am-pm-change","mount","reset-flow","update-flow-step","overlay-toggle"],setup(e,{expose:t,emit:n}){const a=n,r=e,o=Kt(),s=ct(o,"timePicker"),c=K(null),{time:d,modelValue:P,disabledTimesConfig:v,updateTime:m,validateTime:p}=wu(r,a);return at(()=>{r.shadow||a("mount",null)}),t({getSidebarProps:()=>({modelValue:P,time:d,updateTime:m}),toggleTimePicker:(x,A=!1,R="")=>{var M;(M=c.value)==null||M.toggleTimePicker(x,A,R)}}),(x,A)=>(T(),Oe(Ea,{"multi-calendars":0,stretch:"","is-mobile":x.isMobile},{default:De(()=>[vt(Hr,Je({ref_key:"tpRef",ref:c},x.$props,{hours:i(d).hours,minutes:i(d).minutes,seconds:i(d).seconds,"internal-model-value":x.internalModelValue,"disabled-times-config":i(v),"validate-time":i(p),"onUpdate:hours":A[0]||(A[0]=R=>i(m)(R)),"onUpdate:minutes":A[1]||(A[1]=R=>i(m)(R,!1)),"onUpdate:seconds":A[2]||(A[2]=R=>i(m)(R,!1,!0)),onAmPmChange:A[3]||(A[3]=R=>x.$emit("am-pm-change",R)),onResetFlow:A[4]||(A[4]=R=>x.$emit("reset-flow")),onOverlayClosed:A[5]||(A[5]=R=>x.$emit("overlay-toggle",{open:!1,overlay:R})),onOverlayOpened:A[6]||(A[6]=R=>x.$emit("overlay-toggle",{open:!0,overlay:R}))}),ot({_:2},[Fe(i(s),(R,M)=>({name:R,fn:De(b=>[ie(x.$slots,R,Ze(it(b)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3},8,["is-mobile"]))}}),_u={class:"dp--header-wrap"},ku={key:0,class:"dp__month_year_wrap"},Du={key:0},xu={class:"dp__month_year_wrap"},Mu=["data-dp-element","aria-label","data-test-id","onClick","onKeydown"],Pu=tt({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...kt},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(e,{expose:t,emit:n}){const a=n,r=e,{defaultedTransitions:o,defaultedAriaLabels:s,defaultedMultiCalendars:c,defaultedFilters:d,defaultedConfig:P,defaultedHighlight:v,propDates:m,defaultedUI:p}=Be(r),{transitionName:x,showTransition:A}=Ma(o),{buildMatrix:R}=Vt(),{handleMonthYearChange:M,isDisabled:b,updateMonthYear:S}=Us(r,a),{showLeftIcon:C,showRightIcon:L}=Ba(),U=K(!1),Y=K(!1),N=K(!1),re=K([null,null,null,null]);at(()=>{a("mount")});const V=f=>({get:()=>r[f],set:k=>{const F=f===ht.month?ht.year:ht.month;a("update-month-year",{[f]:k,[F]:r[F]}),f===ht.month?H(!0):J(!0)}}),I=j(V(ht.month)),se=j(V(ht.year)),ce=j(()=>f=>({month:r.month,year:r.year,items:f===ht.month?r.months:r.years,instance:r.instance,updateMonthYear:S,toggle:f===ht.month?H:J})),ye=j(()=>r.months.find(k=>k.value===r.month)||{text:"",value:0}),y=j(()=>sa(r.months,f=>{const k=r.month===f.value,F=ba(f.value,$r(r.year,m.value.minDate),Ar(r.year,m.value.maxDate))||d.value.months.includes(f.value),W=Nr(v.value,f.value,r.year);return{active:k,disabled:F,highlighted:W}})),D=j(()=>sa(r.years,f=>{const k=r.year===f.value,F=ba(f.value,ua(m.value.minDate),ua(m.value.maxDate))||d.value.years.includes(f.value),W=On(v.value,f.value);return{active:k,disabled:F,highlighted:W}})),h=(f,k,F)=>{F!==void 0?f.value=F:f.value=!f.value,f.value?(N.value=!0,a("overlay-opened",k)):(N.value=!1,a("overlay-closed",k))},H=(f=!1,k)=>{E(f),h(U,rt.month,k)},J=(f=!1,k)=>{E(f),h(Y,rt.year,k)},E=f=>{f||a("reset-flow")},ee=(f,k)=>{r.arrowNavigation&&(re.value[k]=je(f),R(re.value,"monthYear"))},O=j(()=>{var f,k,F,W,l,_;return[{type:ht.month,index:1,toggle:H,modelValue:I.value,updateModelValue:oe=>I.value=oe,text:ye.value.text,showSelectionGrid:U.value,items:y.value,ariaLabel:(f=s.value)==null?void 0:f.openMonthsOverlay,overlayLabel:((F=(k=s.value).monthPicker)==null?void 0:F.call(k,!0))??void 0},{type:ht.year,index:2,toggle:J,modelValue:se.value,updateModelValue:oe=>se.value=oe,text:Pr(r.year,r.locale),showSelectionGrid:Y.value,items:D.value,ariaLabel:(W=s.value)==null?void 0:W.openYearsOverlay,overlayLabel:((_=(l=s.value).yearPicker)==null?void 0:_.call(l,!0))??void 0}]}),de=j(()=>r.disableYearSelect?[O.value[0]]:r.yearFirst?[...O.value].reverse():O.value);return t({toggleMonthPicker:H,toggleYearPicker:J,handleMonthYearChange:M}),(f,k)=>{var F,W,l,_,oe,Ye;return T(),z("div",_u,[f.$slots["month-year"]?(T(),z("div",ku,[ie(f.$slots,"month-year",Ze(it({month:e.month,year:e.year,months:e.months,years:e.years,updateMonthYear:i(S),handleMonthYearChange:i(M),instance:e.instance,isDisabled:i(b)})))])):(T(),z(ke,{key:1},[f.$slots["top-extra"]?(T(),z("div",Du,[ie(f.$slots,"top-extra",{value:f.internalModelValue})])):G("",!0),ge("div",xu,[i(C)(i(c),e.instance)&&!f.vertical?(T(),Oe(ya,{key:0,"aria-label":(F=i(s))==null?void 0:F.prevMonth,disabled:i(b)(!1),class:xe((W=i(p))==null?void 0:W.navBtnPrev),"el-name":"action-prev",onActivate:k[0]||(k[0]=$=>i(M)(!1,!0)),onSetRef:k[1]||(k[1]=$=>ee($,0))},{default:De(()=>[f.$slots["arrow-left"]?ie(f.$slots,"arrow-left",{key:0}):G("",!0),f.$slots["arrow-left"]?G("",!0):(T(),Oe(i(wn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):G("",!0),ge("div",{class:xe(["dp__month_year_wrap",{dp__year_disable_select:f.disableYearSelect}])},[(T(!0),z(ke,null,Fe(de.value,($,we)=>(T(),z(ke,{key:$.type},[ge("button",{ref_for:!0,ref:Q=>ee(Q,we+1),type:"button","data-dp-element":`overlay-${$.type}`,class:xe(["dp__btn dp__month_year_select",{"dp--hidden-el":N.value}]),"aria-label":`${$.text}-${$.ariaLabel}`,"data-test-id":`${$.type}-toggle-overlay-${e.instance}`,onClick:$.toggle,onKeydown:Q=>i(ut)(Q,()=>$.toggle(),!0)},[f.$slots[$.type]?ie(f.$slots,$.type,{key:0,text:$.text,value:r[$.type]}):G("",!0),f.$slots[$.type]?G("",!0):(T(),z(ke,{key:1},[Rt(lt($.text),1)],64))],42,Mu),vt(da,{name:i(x)($.showSelectionGrid),css:i(A)},{default:De(()=>[$.showSelectionGrid?(T(),Oe(xa,{key:0,items:$.items,"arrow-navigation":f.arrowNavigation,"hide-navigation":f.hideNavigation,"is-last":f.autoApply&&!i(P).keepActionRow,"skip-button-ref":!1,config:f.config,type:$.type,"header-refs":[],"esc-close":f.escClose,"menu-wrap-ref":f.menuWrapRef,"text-input":f.textInput,"aria-labels":f.ariaLabels,"overlay-label":$.overlayLabel,onSelected:$.updateModelValue,onToggle:$.toggle},ot({"button-icon":De(()=>[f.$slots["calendar-icon"]?ie(f.$slots,"calendar-icon",{key:0}):G("",!0),f.$slots["calendar-icon"]?G("",!0):(T(),Oe(i(ca),{key:1}))]),_:2},[f.$slots[`${$.type}-overlay-value`]?{name:"item",fn:De(({item:Q})=>[ie(f.$slots,`${$.type}-overlay-value`,{text:Q.text,value:Q.value})]),key:"0"}:void 0,f.$slots[`${$.type}-overlay`]?{name:"overlay",fn:De(()=>[ie(f.$slots,`${$.type}-overlay`,Je({ref_for:!0},ce.value($.type)))]),key:"1"}:void 0,f.$slots[`${$.type}-overlay-header`]?{name:"header",fn:De(()=>[ie(f.$slots,`${$.type}-overlay-header`,{toggle:$.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","overlay-label","onSelected","onToggle"])):G("",!0)]),_:2},1032,["name","css"])],64))),128))],2),i(C)(i(c),e.instance)&&f.vertical?(T(),Oe(ya,{key:1,"aria-label":(l=i(s))==null?void 0:l.prevMonth,"el-name":"action-prev",disabled:i(b)(!1),class:xe((_=i(p))==null?void 0:_.navBtnPrev),onActivate:k[2]||(k[2]=$=>i(M)(!1,!0))},{default:De(()=>[f.$slots["arrow-up"]?ie(f.$slots,"arrow-up",{key:0}):G("",!0),f.$slots["arrow-up"]?G("",!0):(T(),Oe(i(kn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):G("",!0),i(L)(i(c),e.instance)?(T(),Oe(ya,{key:2,ref:"rightIcon","el-name":"action-next",disabled:i(b)(!0),"aria-label":(oe=i(s))==null?void 0:oe.nextMonth,class:xe((Ye=i(p))==null?void 0:Ye.navBtnNext),onActivate:k[3]||(k[3]=$=>i(M)(!0,!0)),onSetRef:k[4]||(k[4]=$=>ee($,f.disableYearSelect?2:3))},{default:De(()=>[f.$slots[f.vertical?"arrow-down":"arrow-right"]?ie(f.$slots,f.vertical?"arrow-down":"arrow-right",{key:0}):G("",!0),f.$slots[f.vertical?"arrow-down":"arrow-right"]?G("",!0):(T(),Oe(Na(f.vertical?i(Dn):i(bn)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):G("",!0)])],64))])}}}),Tu={class:"dp__calendar_header",role:"row"},Ou={key:0,class:"dp__calendar_header_item",role:"gridcell"},$u=["aria-label"],Au={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},Yu={class:"dp__cell_inner"},Cu=["id","aria-pressed","aria-disabled","aria-label","tabindex","data-test-id","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],Ru=tt({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...kt},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(e,{expose:t,emit:n}){const a=n,r=e,{buildMultiLevelMatrix:o}=Vt(),{defaultedTransitions:s,defaultedConfig:c,defaultedAriaLabels:d,defaultedMultiCalendars:P,defaultedWeekNumbers:v,defaultedMultiDates:m,defaultedUI:p}=Be(r),x=K(null),A=K({bottom:"",left:"",transform:""}),R=K([]),M=K(null),b=K(!0),S=K(""),C=K({startX:0,endX:0,startY:0,endY:0}),L=K([]),U=K({left:"50%"}),Y=K(!1),N=j(()=>r.calendar?r.calendar(r.mappedDates):r.mappedDates),re=j(()=>r.dayNames?Array.isArray(r.dayNames)?r.dayNames:r.dayNames(r.locale,+r.weekStart):vs(r.formatLocale,r.locale,+r.weekStart));at(()=>{a("mount",{cmp:"calendar",refs:R}),c.value.noSwipe||M.value&&(M.value.addEventListener("touchstart",ee,{passive:!1}),M.value.addEventListener("touchend",O,{passive:!1}),M.value.addEventListener("touchmove",de,{passive:!1})),r.monthChangeOnScroll&&M.value&&M.value.addEventListener("wheel",F,{passive:!1})}),ia(()=>{c.value.noSwipe||M.value&&(M.value.removeEventListener("touchstart",ee),M.value.removeEventListener("touchend",O),M.value.removeEventListener("touchmove",de)),r.monthChangeOnScroll&&M.value&&M.value.removeEventListener("wheel",F)});const V=$=>$?r.vertical?"vNext":"next":r.vertical?"vPrevious":"previous",I=($,we)=>{if(r.transitions){const Q=et(Ct(q(),r.month,r.year));S.value=qe(et(Ct(q(),$,we)),Q)?s.value[V(!0)]:s.value[V(!1)],b.value=!1,mt(()=>{b.value=!0})}},se=j(()=>({...p.value.calendar??{}})),ce=j(()=>$=>{const we=fs($);return{dp__marker_dot:we.type==="dot",dp__marker_line:we.type==="line"}}),ye=j(()=>$=>Te($,x.value)),y=j(()=>({dp__calendar:!0,dp__calendar_next:P.value.count>0&&r.instance!==0})),D=j(()=>$=>r.hideOffsetDates?$.current:!0),h=async($,we)=>{const{width:Q,height:te}=$.getBoundingClientRect();x.value=we.value;let u={left:`${Q/2}px`},Z=-50;if(await mt(),L.value[0]){const{left:ae,width:ne}=L.value[0].getBoundingClientRect();ae<0&&(u={left:"0"},Z=0,U.value.left=`${Q/2}px`),window.innerWidth{var te,u,Z;const ae=je(R.value[we][Q]);ae&&((te=$.marker)!=null&&te.customPosition&&(Z=(u=$.marker)==null?void 0:u.tooltip)!=null&&Z.length?A.value=$.marker.customPosition(ae):await h(ae,$),a("tooltip-open",$.marker))},J=async($,we,Q)=>{var te,u;if(Y.value&&m.value.enabled&&m.value.dragSelect)return a("select-date",$);if(a("set-hover-date",$),(u=(te=$.marker)==null?void 0:te.tooltip)!=null&&u.length){if(r.hideOffsetDates&&!$.current)return;await H($,we,Q)}},E=$=>{x.value&&(x.value=null,A.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),a("tooltip-close",$.marker))},ee=$=>{C.value.startX=$.changedTouches[0].screenX,C.value.startY=$.changedTouches[0].screenY},O=$=>{C.value.endX=$.changedTouches[0].screenX,C.value.endY=$.changedTouches[0].screenY,f()},de=$=>{r.vertical&&!r.inline&&$.preventDefault()},f=()=>{const $=r.vertical?"Y":"X";Math.abs(C.value[`start${$}`]-C.value[`end${$}`])>10&&a("handle-swipe",C.value[`start${$}`]>C.value[`end${$}`]?"right":"left")},k=($,we,Q)=>{$&&(Array.isArray(R.value[we])?R.value[we][Q]=$:R.value[we]=[$]),r.arrowNavigation&&o(R.value,"calendar")},F=$=>{r.monthChangeOnScroll&&($.preventDefault(),a("handle-scroll",$))},W=$=>v.value.type==="local"?yn($.value,{weekStartsOn:+r.weekStart}):v.value.type==="iso"?fn($.value):typeof v.value.type=="function"?v.value.type($.value):"",l=$=>{const we=$[0];return v.value.hideOnOffsetDates?$.some(Q=>Q.current)?W(we):"":W(we)},_=($,we,Q=!0)=>{!Q&&ws()||(!m.value.enabled||c.value.allowPreventDefault)&&(Bt($,c.value),a("select-date",we))},oe=$=>{Bt($,c.value)},Ye=$=>{m.value.enabled&&m.value.dragSelect?(Y.value=!0,a("select-date",$)):m.value.enabled&&a("select-date",$)};return t({triggerTransition:I}),($,we)=>(T(),z("div",{class:xe(y.value)},[ge("div",{ref_key:"calendarWrapRef",ref:M,class:xe(se.value),role:"grid"},[ge("div",Tu,[$.weekNumbers?(T(),z("div",Ou,lt($.weekNumName),1)):G("",!0),(T(!0),z(ke,null,Fe(re.value,(Q,te)=>{var u,Z;return T(),z("div",{key:te,class:"dp__calendar_header_item",role:"gridcell","data-test-id":"calendar-header","aria-label":(Z=(u=i(d))==null?void 0:u.weekDay)==null?void 0:Z.call(u,te)},[$.$slots["calendar-header"]?ie($.$slots,"calendar-header",{key:0,day:Q,index:te}):G("",!0),$.$slots["calendar-header"]?G("",!0):(T(),z(ke,{key:1},[Rt(lt(Q),1)],64))],8,$u)}),128))]),we[2]||(we[2]=ge("div",{class:"dp__calendar_header_separator"},null,-1)),vt(da,{name:S.value,css:!!$.transitions},{default:De(()=>[b.value?(T(),z("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:we[1]||(we[1]=Q=>Y.value=!1)},[(T(!0),z(ke,null,Fe(N.value,(Q,te)=>(T(),z("div",{key:te,class:"dp__calendar_row",role:"row"},[$.weekNumbers?(T(),z("div",Au,[ge("div",Yu,lt(l(Q.days)),1)])):G("",!0),(T(!0),z(ke,null,Fe(Q.days,(u,Z)=>{var ae,ne,Me;return T(),z("div",{id:i(vn)(u.value),ref_for:!0,ref:be=>k(be,te,Z),key:Z+te,role:"gridcell",class:"dp__calendar_item","aria-pressed":(u.classData.dp__active_date||u.classData.dp__range_start||u.classData.dp__range_start)??void 0,"aria-disabled":u.classData.dp__cell_disabled||void 0,"aria-label":(ne=(ae=i(d))==null?void 0:ae.day)==null?void 0:ne.call(ae,u),tabindex:!u.current&&$.hideOffsetDates?void 0:0,"data-test-id":i(vn)(u.value),onClick:ga(be=>_(be,u),["prevent"]),onTouchend:be=>_(be,u,!1),onKeydown:be=>i(ut)(be,()=>$.$emit("select-date",u)),onMouseenter:be=>J(u,te,Z),onMouseleave:be=>E(u),onMousedown:be=>Ye(u),onMouseup:we[0]||(we[0]=be=>Y.value=!1)},[ge("div",{class:xe(["dp__cell_inner",u.classData])},[$.$slots.day&&D.value(u)?ie($.$slots,"day",{key:0,day:+u.text,date:u.value}):G("",!0),$.$slots.day?G("",!0):(T(),z(ke,{key:1},[Rt(lt(u.text),1)],64)),u.marker&&D.value(u)?(T(),z(ke,{key:2},[$.$slots.marker?ie($.$slots,"marker",{key:0,marker:u.marker,day:+u.text,date:u.value}):(T(),z("div",{key:1,class:xe(ce.value(u.marker)),style:pt(u.marker.color?{backgroundColor:u.marker.color}:{})},null,6))],64)):G("",!0),ye.value(u.value)?(T(),z("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:L,class:"dp__marker_tooltip",style:pt(A.value)},[(Me=u.marker)!=null&&Me.tooltip?(T(),z("div",{key:0,class:"dp__tooltip_content",onClick:oe},[(T(!0),z(ke,null,Fe(u.marker.tooltip,(be,Ce)=>(T(),z("div",{key:Ce,class:"dp__tooltip_text"},[$.$slots["marker-tooltip"]?ie($.$slots,"marker-tooltip",{key:0,tooltip:be,day:u.value}):G("",!0),$.$slots["marker-tooltip"]?G("",!0):(T(),z(ke,{key:1},[ge("div",{class:"dp__tooltip_mark",style:pt(be.color?{backgroundColor:be.color}:{})},null,4),ge("div",null,lt(be.text),1)],64))]))),128)),ge("div",{class:"dp__arrow_bottom_tp",style:pt(U.value)},null,4)])):G("",!0)],4)):G("",!0)],2)],40,Cu)}),128))]))),128))],32)):G("",!0)]),_:3},8,["name","css"])],2)],2))}}),Xn=e=>Array.isArray(e),Su=(e,t,n,a)=>{const r=K([]),o=K(new Date),s=K(),c=()=>O(e.isTextInputDate),{modelValue:d,calendars:P,time:v,today:m}=Pa(e,t,c),{defaultedMultiCalendars:p,defaultedStartTime:x,defaultedRange:A,defaultedConfig:R,defaultedTz:M,propDates:b,defaultedMultiDates:S}=Be(e),{validateMonthYearInRange:C,isDisabled:L,isDateRangeAllowed:U,checkMinMaxRange:Y}=Wt(e),{updateTimeValues:N,getSetDateTime:re,setTime:V,assignStartTime:I,validateTime:se,disabledTimesConfig:ce}=Vr(e,v,d,a),ye=j(()=>w=>P.value[w]?P.value[w].month:0),y=j(()=>w=>P.value[w]?P.value[w].year:0),D=w=>!R.value.keepViewOnOffsetClick||w?!0:!s.value,h=(w,X,fe,_e=!1)=>{var B,ue;D(_e)&&(P.value[w]||(P.value[w]={month:0,year:0}),P.value[w].month=qn(X)?(B=P.value[w])==null?void 0:B.month:X,P.value[w].year=qn(fe)?(ue=P.value[w])==null?void 0:ue.year:fe)},H=()=>{e.autoApply&&t("select-date")},J=()=>{x.value&&I(x.value)};at(()=>{e.shadow||(d.value||(we(),J()),O(!0),e.focusStartDate&&e.startDate&&we())});const E=j(()=>{var w;return(w=e.flow)!=null&&w.length&&!e.partialFlow?e.flowStep===e.flow.length:!0}),ee=()=>{e.autoApply&&E.value&&t("auto-apply",e.partialFlow?e.flowStep!==e.flow.length:!1)},O=(w=!1)=>{if(d.value)return Array.isArray(d.value)?(r.value=d.value,_(w)):k(d.value,w);if(p.value.count&&w&&!e.startDate)return f(q(),w)},de=()=>Array.isArray(d.value)&&A.value.enabled?Pe(d.value[0])===Pe(d.value[1]??d.value[0]):!1,f=(w=new Date,X=!1)=>{if((!p.value.count||!p.value.static||X)&&h(0,Pe(w),he(w)),p.value.count&&(!d.value||de()||!p.value.solo)&&(!p.value.solo||X))for(let fe=1;fe{f(w),V("hours",St(w)),V("minutes",Ht(w)),V("seconds",ra(w)),p.value.count&&X&&$()},F=w=>{if(p.value.count){if(p.value.solo)return 0;const X=Pe(w[0]),fe=Pe(w[1]);return Math.abs(fe-X){w[1]&&A.value.showLastInRange?f(w[F(w)],X):f(w[0],X);const fe=(_e,B)=>[_e(w[0]),w[1]?_e(w[1]):v[B][1]];V("hours",fe(St,"hours")),V("minutes",fe(Ht,"minutes")),V("seconds",fe(ra,"seconds"))},l=(w,X)=>{if((A.value.enabled||e.weekPicker)&&!S.value.enabled)return W(w,X);if(S.value.enabled&&X){const fe=w[w.length-1];return k(fe,X)}},_=w=>{const X=d.value;l(X,w),p.value.count&&p.value.solo&&$()},oe=(w,X)=>{const fe=Ne(q(),{month:ye.value(X),year:y.value(X)}),_e=w<0?bt(fe,1):oa(fe,1);C(Pe(_e),he(_e),w<0,e.preventMinMaxNavigation)&&(h(X,Pe(_e),he(_e)),t("update-month-year",{instance:X,month:Pe(_e),year:he(_e)}),p.value.count&&!p.value.solo&&Ye(X),n())},Ye=w=>{for(let X=w-1;X>=0;X--){const fe=oa(Ne(q(),{month:ye.value(X+1),year:y.value(X+1)}),1);h(X,Pe(fe),he(fe))}for(let X=w+1;X<=p.value.count-1;X++){const fe=bt(Ne(q(),{month:ye.value(X-1),year:y.value(X-1)}),1);h(X,Pe(fe),he(fe))}},$=()=>{if(Array.isArray(d.value)&&d.value.length===2){const w=q(q(d.value[1]?d.value[1]:bt(d.value[0],1))),[X,fe]=[Pe(d.value[0]),he(d.value[0])],[_e,B]=[Pe(d.value[1]),he(d.value[1])];(X!==_e||X===_e&&fe!==B)&&p.value.solo&&h(1,Pe(w),he(w))}else d.value&&!Array.isArray(d.value)&&(h(0,Pe(d.value),he(d.value)),f(q()))},we=()=>{e.startDate&&(h(0,Pe(q(e.startDate)),he(q(e.startDate))),p.value.count&&Ye(0))},Q=(w,X)=>{if(e.monthChangeOnScroll){const fe=new Date().getTime()-o.value.getTime(),_e=Math.abs(w.deltaY);let B=500;_e>1&&(B=100),_e>100&&(B=0),fe>B&&(o.value=new Date,oe(e.monthChangeOnScroll!=="inverse"?-w.deltaY:w.deltaY,X))}},te=(w,X,fe=!1)=>{e.monthChangeOnArrows&&e.vertical===fe&&u(w,X)},u=(w,X)=>{oe(w==="right"?-1:1,X)},Z=w=>{if(b.value.markers)return Sa(w.value,b.value.markers)},ae=(w,X)=>{switch(e.sixWeeks===!0?"append":e.sixWeeks){case"prepend":return[!0,!1];case"center":return[w==0,!0];case"fair":return[w==0||X>w,!0];case"append":return[!1,!1];default:return[!1,!1]}},ne=(w,X,fe,_e)=>{if(e.sixWeeks&&w.length<6){const B=6-w.length,ue=(X.getDay()+7-_e)%7,me=6-(fe.getDay()+7-_e)%7,[At,Mt]=ae(ue,me);for(let zt=1;zt<=B;zt++)if(Mt?!!(zt%2)==At:At){const Nt=w[0].days[0],Ua=Me(ft(Nt.value,-7),Pe(X));w.unshift({days:Ua})}else{const Nt=w[w.length-1],Ua=Nt.days[Nt.days.length-1],qr=Me(ft(Ua.value,1),Pe(X));w.push({days:qr})}}return w},Me=(w,X)=>{const fe=q(w),_e=[];for(let B=0;B<7;B++){const ue=ft(fe,B),me=Pe(ue)!==X;_e.push({text:e.hideOffsetDates&&me?"":ue.getDate(),value:ue,current:!me,classData:{}})}return _e},be=(w,X)=>{const fe=[],_e=new Date(X,w),B=new Date(X,w+1,0),ue=e.weekStart,me=_t(_e,{weekStartsOn:ue}),At=Mt=>{const zt=Me(Mt,w);if(fe.push({days:zt}),!fe[fe.length-1].days.some(Nt=>Te(et(Nt.value),et(B)))){const Nt=ft(Mt,7);At(Nt)}};return At(me),ne(fe,_e,B,ue)},Ce=w=>{const X=Lt(q(w.value),v.hours,v.minutes,ve());t("date-update",X),S.value.enabled?$n(X,d,S.value.limit):d.value=X,a(),mt().then(()=>{ee()})},We=w=>A.value.noDisabledRange?Yr(r.value[0],w).some(X=>L(X)):!1,g=()=>{r.value=d.value?d.value.slice():[],r.value.length===2&&!(A.value.fixedStart||A.value.fixedEnd)&&(r.value=[])},le=(w,X)=>{const fe=[q(w.value),ft(q(w.value),+A.value.autoRange)];U(fe)?(X&&$e(w.value),r.value=fe):t("invalid-date",w.value)},$e=w=>{const X=Pe(q(w)),fe=he(q(w));if(h(0,X,fe),p.value.count>0)for(let _e=1;_e{if(We(w.value)||!Y(w.value,d.value,A.value.fixedStart?0:1))return t("invalid-date",w.value);r.value=Br(q(w.value),d,t,A)},Dt=(w,X)=>{if(g(),A.value.autoRange)return le(w,X);if(A.value.fixedStart||A.value.fixedEnd)return Ge(w);r.value[0]?Y(q(w.value),d.value)&&!We(w.value)?He(q(w.value),q(r.value[0]))?(r.value.unshift(q(w.value)),t("range-end",r.value[0])):(r.value[1]=q(w.value),t("range-end",r.value[1])):(e.autoApply&&t("auto-apply-invalid",w.value),t("invalid-date",w.value)):(r.value[0]=q(w.value),t("range-start",r.value[0]))},ve=(w=!0)=>e.enableSeconds?Array.isArray(v.seconds)?w?v.seconds[0]:v.seconds[1]:v.seconds:0,Ke=w=>{r.value[w]=Lt(r.value[w],v.hours[w],v.minutes[w],ve(w!==1))},xt=()=>{var w,X;r.value[0]&&r.value[1]&&+((w=r.value)==null?void 0:w[0])>+((X=r.value)==null?void 0:X[1])&&(r.value.reverse(),t("range-start",r.value[0]),t("range-end",r.value[1]))},La=()=>{r.value.length&&(r.value[0]&&!r.value[1]?Ke(0):(Ke(0),Ke(1),a()),xt(),d.value=r.value.slice(),Fa(r.value,t,e.autoApply,e.modelAuto))},Ta=(w,X=!1)=>{if(L(w.value)||!w.current&&e.hideOffsetDates)return t("invalid-date",w.value);if(s.value=JSON.parse(JSON.stringify(w)),!A.value.enabled)return Ce(w);Xn(v.hours)&&Xn(v.minutes)&&!S.value.enabled&&(Dt(w,X),La())},Ha=(w,X)=>{var fe;h(w,X.month,X.year,!0),p.value.count&&!p.value.solo&&Ye(w),t("update-month-year",{instance:w,month:X.month,year:X.year}),n(p.value.solo?w:void 0);const _e=(fe=e.flow)!=null&&fe.length?e.flow[e.flowStep]:void 0;!X.fromNav&&(_e===rt.month||_e===rt.year)&&a()},Va=(w,X)=>{Fr({value:w,modelValue:d,range:A.value.enabled,timezone:X?void 0:M.value.timezone}),H(),e.multiCalendars&&mt().then(()=>O(!0))},Wa=()=>{const w=xn(q(),M.value);!A.value.enabled&&!S.value.enabled?d.value=w:d.value&&Array.isArray(d.value)&&d.value[0]?S.value.enabled?d.value=[...d.value,w]:d.value=He(w,d.value[0])?[w,d.value[0]]:[d.value[0],w]:d.value=[w],H()},za=()=>{if(Array.isArray(d.value))if(S.value.enabled){const w=qa();d.value[d.value.length-1]=re(w)}else d.value=d.value.map((w,X)=>w&&re(w,X));else d.value=re(d.value);t("time-update")},qa=()=>Array.isArray(d.value)&&d.value.length?d.value[d.value.length-1]:null;return{calendars:P,modelValue:d,month:ye,year:y,time:v,disabledTimesConfig:ce,today:m,validateTime:se,getCalendarDays:be,getMarker:Z,handleScroll:Q,handleSwipe:u,handleArrow:te,selectDate:Ta,updateMonthYear:Ha,presetDate:Va,selectCurrentDate:Wa,updateTime:(w,X=!0,fe=!1)=>{N(w,X,fe,za)},assignMonthAndYear:f,setStartTime:J}},Nu={key:0},Iu=tt({__name:"DatePicker",props:{...kt},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:t,emit:n}){const a=n,r=e,{calendars:o,month:s,year:c,modelValue:d,time:P,disabledTimesConfig:v,today:m,validateTime:p,getCalendarDays:x,getMarker:A,handleArrow:R,handleScroll:M,handleSwipe:b,selectDate:S,updateMonthYear:C,presetDate:L,selectCurrentDate:U,updateTime:Y,assignMonthAndYear:N,setStartTime:re}=Su(r,a,de,f),V=Kt(),{setHoverDate:I,getDayClassData:se,clearHoverDate:ce}=Ju(d,r),{defaultedMultiCalendars:ye}=Be(r),y=K([]),D=K([]),h=K(null),H=ct(V,"calendar"),J=ct(V,"monthYear"),E=ct(V,"timePicker"),ee=Q=>{r.shadow||a("mount",Q)};yt(o,()=>{r.shadow||setTimeout(()=>{a("recalculate-position")},0)},{deep:!0}),yt(ye,(Q,te)=>{Q.count-te.count>0&&N()},{deep:!0});const O=j(()=>Q=>x(s.value(Q),c.value(Q)).map(te=>({...te,days:te.days.map(u=>(u.marker=A(u),u.classData=se(u),u))})));function de(Q){var te;Q||Q===0?(te=D.value[Q])==null||te.triggerTransition(s.value(Q),c.value(Q)):D.value.forEach((u,Z)=>u.triggerTransition(s.value(Z),c.value(Z)))}function f(){a("update-flow-step")}const k=(Q,te=!1)=>{S(Q,te),r.spaceConfirm&&a("select-date")},F=(Q,te,u=0)=>{var Z;(Z=y.value[u])==null||Z.toggleMonthPicker(Q,te)},W=(Q,te,u=0)=>{var Z;(Z=y.value[u])==null||Z.toggleYearPicker(Q,te)},l=(Q,te,u)=>{var Z;(Z=h.value)==null||Z.toggleTimePicker(Q,te,u)},_=(Q,te)=>{var u;if(!r.range){const Z=d.value?d.value:m,ae=te?new Date(te):Z,ne=Q?_t(ae,{weekStartsOn:1}):ur(ae,{weekStartsOn:1});S({value:ne,current:Pe(ae)===s.value(0),text:"",classData:{}}),(u=document.getElementById(vn(ne)))==null||u.focus()}},oe=Q=>{var te;(te=y.value[0])==null||te.handleMonthYearChange(Q,!0)},Ye=Q=>{C(0,{month:s.value(0),year:c.value(0)+(Q?1:-1),fromNav:!0})},$=(Q,te)=>{Q===rt.time&&a(`time-picker-${te?"open":"close"}`),a("overlay-toggle",{open:te,overlay:Q})},we=Q=>{a("overlay-toggle",{open:!1,overlay:Q}),a("focus-menu")};return t({clearHoverDate:ce,presetDate:L,selectCurrentDate:U,toggleMonthPicker:F,toggleYearPicker:W,toggleTimePicker:l,handleArrow:R,updateMonthYear:C,getSidebarProps:()=>({modelValue:d,month:s,year:c,time:P,updateTime:Y,updateMonthYear:C,selectDate:S,presetDate:L}),changeMonth:oe,changeYear:Ye,selectWeekDate:_,setStartTime:re}),(Q,te)=>(T(),z(ke,null,[vt(Ea,{"multi-calendars":i(ye).count,collapse:Q.collapse,"is-mobile":Q.isMobile},{default:De(({instance:u,index:Z})=>[Q.disableMonthYearSelect?G("",!0):(T(),Oe(Pu,Je({key:0,ref:ae=>{ae&&(y.value[Z]=ae)},months:i(Dr)(Q.formatLocale,Q.locale,Q.monthNameFormat),years:i(Mn)(Q.yearRange,Q.locale,Q.reverseYears),month:i(s)(u),year:i(c)(u),instance:u},Q.$props,{onMount:te[0]||(te[0]=ae=>ee(i(Qt).header)),onResetFlow:te[1]||(te[1]=ae=>Q.$emit("reset-flow")),onUpdateMonthYear:ae=>i(C)(u,ae),onOverlayClosed:we,onOverlayOpened:te[2]||(te[2]=ae=>Q.$emit("overlay-toggle",{open:!0,overlay:ae}))}),ot({_:2},[Fe(i(J),(ae,ne)=>({name:ae,fn:De(Me=>[ie(Q.$slots,ae,Ze(it(Me)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),vt(Ru,Je({ref:ae=>{ae&&(D.value[Z]=ae)},"mapped-dates":O.value(u),month:i(s)(u),year:i(c)(u),instance:u},Q.$props,{onSelectDate:ae=>i(S)(ae,u!==1),onHandleSpace:ae=>k(ae,u!==1),onSetHoverDate:te[3]||(te[3]=ae=>i(I)(ae)),onHandleScroll:ae=>i(M)(ae,u),onHandleSwipe:ae=>i(b)(ae,u),onMount:te[4]||(te[4]=ae=>ee(i(Qt).calendar)),onResetFlow:te[5]||(te[5]=ae=>Q.$emit("reset-flow")),onTooltipOpen:te[6]||(te[6]=ae=>Q.$emit("tooltip-open",ae)),onTooltipClose:te[7]||(te[7]=ae=>Q.$emit("tooltip-close",ae))}),ot({_:2},[Fe(i(H),(ae,ne)=>({name:ae,fn:De(Me=>[ie(Q.$slots,ae,Ze(it({...Me})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse","is-mobile"]),Q.enableTimePicker?(T(),z("div",Nu,[Q.$slots["time-picker"]?ie(Q.$slots,"time-picker",Ze(Je({key:0},{time:i(P),updateTime:i(Y)}))):(T(),Oe(Hr,Je({key:1,ref_key:"timePickerRef",ref:h},Q.$props,{hours:i(P).hours,minutes:i(P).minutes,seconds:i(P).seconds,"internal-model-value":Q.internalModelValue,"disabled-times-config":i(v),"validate-time":i(p),onMount:te[8]||(te[8]=u=>ee(i(Qt).timePicker)),"onUpdate:hours":te[9]||(te[9]=u=>i(Y)(u)),"onUpdate:minutes":te[10]||(te[10]=u=>i(Y)(u,!1)),"onUpdate:seconds":te[11]||(te[11]=u=>i(Y)(u,!1,!0)),onResetFlow:te[12]||(te[12]=u=>Q.$emit("reset-flow")),onOverlayClosed:te[13]||(te[13]=u=>$(u,!1)),onOverlayOpened:te[14]||(te[14]=u=>$(u,!0)),onAmPmChange:te[15]||(te[15]=u=>Q.$emit("am-pm-change",u))}),ot({_:2},[Fe(i(E),(u,Z)=>({name:u,fn:De(ae=>[ie(Q.$slots,u,Ze(it(ae)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):G("",!0)],64))}}),Eu=(e,t)=>{const n=K(),{defaultedMultiCalendars:a,defaultedConfig:r,defaultedHighlight:o,defaultedRange:s,propDates:c,defaultedFilters:d,defaultedMultiDates:P}=Be(e),{modelValue:v,year:m,month:p,calendars:x}=Pa(e,t),{isDisabled:A}=Wt(e),{selectYear:R,groupedYears:M,showYearPicker:b,isDisabled:S,toggleYearPicker:C,handleYearSelect:L,handleYear:U}=Lr({modelValue:v,multiCalendars:a,range:s,highlight:o,calendars:x,propDates:c,month:p,year:m,filters:d,props:e,emit:t}),Y=(D,h)=>[D,h].map(H=>$t(H,"MMMM",{locale:e.formatLocale})).join("-"),N=j(()=>D=>v.value?Array.isArray(v.value)?v.value.some(h=>Vn(D,h)):Vn(v.value,D):!1),re=D=>{if(s.value.enabled){if(Array.isArray(v.value)){const h=Te(D,v.value[0])||Te(D,v.value[1]);return _a(v.value,n.value,D)&&!h}return!1}return!1},V=(D,h)=>D.quarter===In(h)&&D.year===he(h),I=D=>typeof o.value=="function"?o.value({quarter:In(D),year:he(D)}):!!o.value.quarters.find(h=>V(h,D)),se=j(()=>D=>{const h=Ne(new Date,{year:m.value(D)});return cl({start:wa(h),end:sr(h)}).map(H=>{const J=Ut(H),E=En(H),ee=A(H),O=re(J),de=I(J);return{text:Y(J,E),value:J,active:N.value(J),highlighted:de,disabled:ee,isBetween:O}})}),ce=D=>{$n(D,v,P.value.limit),t("auto-apply",!0)},ye=D=>{v.value=An(v,D,t),Fa(v.value,t,e.autoApply,e.modelAuto)},y=D=>{v.value=D,t("auto-apply")};return{defaultedConfig:r,defaultedMultiCalendars:a,groupedYears:M,year:m,isDisabled:S,quarters:se,showYearPicker:b,modelValue:v,setHoverDate:D=>{n.value=D},selectYear:R,selectQuarter:(D,h,H)=>{if(!H)return x.value[h].month=Pe(En(D)),P.value.enabled?ce(D):s.value.enabled?ye(D):y(D)},toggleYearPicker:C,handleYearSelect:L,handleYear:U}},Fu={class:"dp--quarter-items"},Bu=["data-test-id","disabled","onClick","onMouseover"],Lu=tt({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...kt},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end","overlay-toggle","update-month-year"],setup(e,{expose:t,emit:n}){const a=n,r=e,o=Kt(),s=ct(o,"yearMode"),{defaultedMultiCalendars:c,defaultedConfig:d,groupedYears:P,year:v,isDisabled:m,quarters:p,modelValue:x,showYearPicker:A,setHoverDate:R,selectQuarter:M,toggleYearPicker:b,handleYearSelect:S,handleYear:C}=Eu(r,a);return t({getSidebarProps:()=>({modelValue:x,year:v,selectQuarter:M,handleYearSelect:S,handleYear:C})}),(L,U)=>(T(),Oe(Ea,{"multi-calendars":i(c).count,collapse:L.collapse,stretch:"","is-mobile":L.isMobile},{default:De(({instance:Y})=>[ge("div",{class:"dp-quarter-picker-wrap",style:pt({minHeight:`${i(d).modeHeight}px`})},[L.$slots["top-extra"]?ie(L.$slots,"top-extra",{key:0,value:L.internalModelValue}):G("",!0),ge("div",null,[vt(Er,Je(L.$props,{items:i(P)(Y),instance:Y,"show-year-picker":i(A)[Y],year:i(v)(Y),"is-disabled":N=>i(m)(Y,N),onHandleYear:N=>i(C)(Y,N),onYearSelect:N=>i(S)(N,Y),onToggleYearPicker:N=>i(b)(Y,N?.flow,N?.show)}),ot({_:2},[Fe(i(s),(N,re)=>({name:N,fn:De(V=>[ie(L.$slots,N,Ze(it(V)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),ge("div",Fu,[(T(!0),z(ke,null,Fe(i(p)(Y),(N,re)=>(T(),z("div",{key:re},[ge("button",{type:"button",class:xe(["dp--qr-btn",{"dp--qr-btn-active":N.active,"dp--qr-btn-between":N.isBetween,"dp--qr-btn-disabled":N.disabled,"dp--highlighted":N.highlighted}]),"data-test-id":N.value,disabled:N.disabled,onClick:V=>i(M)(N.value,Y,N.disabled),onMouseover:V=>i(R)(N.value)},[L.$slots.quarter?ie(L.$slots,"quarter",{key:0,value:N.value,text:N.text}):(T(),z(ke,{key:1},[Rt(lt(N.text),1)],64))],42,Bu)]))),128))])],4)]),_:3},8,["multi-calendars","collapse","is-mobile"]))}}),Wr=(e,t)=>{const n=K(0);at(()=>{a(),window.addEventListener("resize",a,{passive:!0})}),ia(()=>{window.removeEventListener("resize",a)});const a=()=>{n.value=window.document.documentElement.clientWidth};return{isMobile:j(()=>n.value<=e.value.mobileBreakpoint&&!t?!0:void 0)}},Hu=["id","tabindex","role","aria-label"],Vu={key:0,class:"dp--menu-load-container"},Wu={key:1,class:"dp--menu-header"},zu=["data-dp-mobile"],qu={key:0,class:"dp__sidebar_left"},Uu=["data-dp-mobile"],Qu=["data-test-id","data-dp-mobile","onClick","onKeydown"],ju={key:2,class:"dp__sidebar_right"},Gu={key:3,class:"dp__action_extra"},Zn=tt({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...Ia,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date","overlay-toggle","menu-blur"],setup(e,{expose:t,emit:n}){const a=n,r=e,o=K(null),s=j(()=>{const{openOnTop:g,...le}=r;return{...le,isMobile:M.value,flowStep:ye.value,menuWrapRef:o.value}}),{setMenuFocused:c,setShiftKey:d,control:P}=Ir(),v=Kt(),{defaultedTextInput:m,defaultedInline:p,defaultedConfig:x,defaultedUI:A,handleEventPropagation:R}=Be(r),{isMobile:M}=Wr(x,r.shadow),b=K(null),S=K(0),C=K(null),L=K(!1),U=K(null),Y=K(!1),N=g=>{Y.value=!0,x.value.allowPreventDefault&&g.preventDefault(),Bt(g,x.value,!0)};at(()=>{if(!r.shadow){L.value=!0,re(),window.addEventListener("resize",re);const g=je(o);g&&!m.value.enabled&&!p.value.enabled&&(c(!0),ee()),g&&(g.addEventListener("pointerdown",N),g.addEventListener("mousedown",N))}document.addEventListener("mousedown",We)}),ia(()=>{window.removeEventListener("resize",re),document.removeEventListener("mousedown",We);const g=je(o);g&&(g.removeEventListener("pointerdown",N),g.removeEventListener("mousedown",N))});const re=()=>{const g=je(C);g&&(S.value=g.getBoundingClientRect().width)},{arrowRight:V,arrowLeft:I,arrowDown:se,arrowUp:ce}=Vt(),{flowStep:ye,updateFlowStep:y,childMount:D,resetFlow:h,handleFlow:H}=ei(r,a,U),J=j(()=>r.monthPicker?ru:r.yearPicker?ou:r.timePicker?bu:r.quarterPicker?Lu:Iu),E=j(()=>{var g;if(x.value.arrowLeft)return x.value.arrowLeft;const le=(g=o.value)==null?void 0:g.getBoundingClientRect(),$e=r.getInputRect();return $e?.width=(le?.right??0)&&$e?.width{const g=je(o);g&&g.focus({preventScroll:!0})},O=j(()=>{var g;return((g=U.value)==null?void 0:g.getSidebarProps())||{}}),de=()=>{r.openOnTop&&a("recalculate-position")},f=ct(v,"action"),k=j(()=>r.monthPicker||r.yearPicker?ct(v,"monthYear"):r.timePicker?ct(v,"timePicker"):ct(v,"shared")),F=j(()=>r.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),W=j(()=>({dp__menu_disabled:r.disabled,dp__menu_readonly:r.readonly,"dp-menu-loading":r.loading})),l=j(()=>({dp__menu:!0,dp__menu_index:!p.value.enabled,dp__relative:p.value.enabled,...A.value.menu??{}})),_=g=>{Bt(g,x.value,!0)},oe=g=>{r.escClose&&(a("close-picker"),R(g))},Ye=g=>{if(r.arrowNavigation){if(g===st.up)return ce();if(g===st.down)return se();if(g===st.left)return I();if(g===st.right)return V()}else g===st.left||g===st.up?u("handleArrow",st.left,0,g===st.up):u("handleArrow",st.right,0,g===st.down)},$=g=>{d(g.shiftKey),!r.disableMonthYearSelect&&g.code===Ee.tab&&g.target.classList.contains("dp__menu")&&P.value.shiftKeyInMenu&&(g.preventDefault(),Bt(g,x.value,!0),a("close-picker"))},we=()=>{ee(),a("time-picker-close")},Q=g=>{var le,$e,Ge;(le=U.value)==null||le.toggleTimePicker(!1,!1),($e=U.value)==null||$e.toggleMonthPicker(!1,!1,g),(Ge=U.value)==null||Ge.toggleYearPicker(!1,!1,g)},te=(g,le=0)=>{var $e,Ge,Dt;return g==="month"?($e=U.value)==null?void 0:$e.toggleMonthPicker(!1,!0,le):g==="year"?(Ge=U.value)==null?void 0:Ge.toggleYearPicker(!1,!0,le):g==="time"?(Dt=U.value)==null?void 0:Dt.toggleTimePicker(!0,!1):Q(le)},u=(g,...le)=>{var $e,Ge;($e=U.value)!=null&&$e[g]&&((Ge=U.value)==null||Ge[g](...le))},Z=()=>{u("selectCurrentDate")},ae=(g,le)=>{u("presetDate",Gr(g),le)},ne=()=>{u("clearHoverDate")},Me=(g,le)=>{u("updateMonthYear",g,le)},be=(g,le)=>{g.preventDefault(),Ye(le)},Ce=g=>{var le,$e,Ge;if($(g),g.key===Ee.home||g.key===Ee.end)return u("selectWeekDate",g.key===Ee.home,g.target.getAttribute("id"));switch((g.key===Ee.pageUp||g.key===Ee.pageDown)&&(g.shiftKey?(u("changeYear",g.key===Ee.pageUp),(le=dn(o.value,"overlay-year"))==null||le.focus()):(u("changeMonth",g.key===Ee.pageUp),($e=dn(o.value,g.key===Ee.pageUp?"action-prev":"action-next"))==null||$e.focus()),g.target.getAttribute("id")&&((Ge=o.value)==null||Ge.focus({preventScroll:!0}))),g.key){case Ee.esc:return oe(g);case Ee.arrowLeft:return be(g,st.left);case Ee.arrowRight:return be(g,st.right);case Ee.arrowUp:return be(g,st.up);case Ee.arrowDown:return be(g,st.down);default:return}},We=g=>{var le;p.value.enabled&&!p.value.input&&!((le=o.value)!=null&&le.contains(g.target))&&Y.value&&(Y.value=!1,a("menu-blur"))};return t({updateMonthYear:Me,switchView:te,handleFlow:H,onValueCleared:()=>{var g,le;(le=(g=U.value)==null?void 0:g.setStartTime)==null||le.call(g)}}),(g,le)=>{var $e,Ge,Dt;return T(),z("div",{id:g.uid?`dp-menu-${g.uid}`:void 0,ref_key:"dpMenuRef",ref:o,tabindex:i(p).enabled?void 0:"0",role:i(p).enabled?void 0:"dialog","aria-label":($e=g.ariaLabels)==null?void 0:$e.menu,class:xe(l.value),style:pt({"--dp-arrow-left":E.value}),onMouseleave:ne,onClick:_,onKeydown:Ce},[(g.disabled||g.readonly)&&i(p).enabled||g.loading?(T(),z("div",{key:0,class:xe(W.value)},[g.loading?(T(),z("div",Vu,le[19]||(le[19]=[ge("span",{class:"dp--menu-loader"},null,-1)]))):G("",!0)],2)):G("",!0),g.$slots["menu-header"]?(T(),z("div",Wu,[ie(g.$slots,"menu-header")])):G("",!0),!i(p).enabled&&!g.teleportCenter?(T(),z("div",{key:2,class:xe(F.value)},null,2)):G("",!0),ge("div",{ref_key:"innerMenuRef",ref:C,class:xe({dp__menu_content_wrapper:((Ge=g.presetDates)==null?void 0:Ge.length)||!!g.$slots["left-sidebar"]||!!g.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":e.collapse&&(((Dt=g.presetDates)==null?void 0:Dt.length)||!!g.$slots["left-sidebar"]||!!g.$slots["right-sidebar"])}),"data-dp-mobile":i(M),style:pt({"--dp-menu-width":`${S.value}px`})},[g.$slots["left-sidebar"]?(T(),z("div",qu,[ie(g.$slots,"left-sidebar",Ze(it(O.value)))])):G("",!0),g.presetDates.length?(T(),z("div",{key:1,class:xe({"dp--preset-dates-collapsed":e.collapse,"dp--preset-dates":!0}),"data-dp-mobile":i(M)},[(T(!0),z(ke,null,Fe(g.presetDates,(ve,Ke)=>(T(),z(ke,{key:Ke},[ve.slot?ie(g.$slots,ve.slot,{key:0,presetDate:ae,label:ve.label,value:ve.value}):(T(),z("button",{key:1,type:"button",style:pt(ve.style||{}),class:xe(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":e.collapse}]),"data-test-id":ve.testId??void 0,"data-dp-mobile":i(M),onClick:ga(xt=>ae(ve.value,ve.noTz),["prevent"]),onKeydown:xt=>i(ut)(xt,()=>ae(ve.value,ve.noTz),!0)},lt(ve.label),47,Qu))],64))),128))],10,Uu)):G("",!0),ge("div",{ref_key:"calendarWrapperRef",ref:b,class:"dp__instance_calendar",role:"document"},[(T(),Oe(Na(J.value),Je({ref_key:"dynCmpRef",ref:U},s.value,{"flow-step":i(ye),onMount:i(D),onUpdateFlowStep:i(y),onResetFlow:i(h),onFocusMenu:ee,onSelectDate:le[0]||(le[0]=ve=>g.$emit("select-date")),onDateUpdate:le[1]||(le[1]=ve=>g.$emit("date-update",ve)),onTooltipOpen:le[2]||(le[2]=ve=>g.$emit("tooltip-open",ve)),onTooltipClose:le[3]||(le[3]=ve=>g.$emit("tooltip-close",ve)),onAutoApply:le[4]||(le[4]=ve=>g.$emit("auto-apply",ve)),onRangeStart:le[5]||(le[5]=ve=>g.$emit("range-start",ve)),onRangeEnd:le[6]||(le[6]=ve=>g.$emit("range-end",ve)),onInvalidFixedRange:le[7]||(le[7]=ve=>g.$emit("invalid-fixed-range",ve)),onTimeUpdate:le[8]||(le[8]=ve=>g.$emit("time-update")),onAmPmChange:le[9]||(le[9]=ve=>g.$emit("am-pm-change",ve)),onTimePickerOpen:le[10]||(le[10]=ve=>g.$emit("time-picker-open",ve)),onTimePickerClose:we,onRecalculatePosition:de,onUpdateMonthYear:le[11]||(le[11]=ve=>g.$emit("update-month-year",ve)),onAutoApplyInvalid:le[12]||(le[12]=ve=>g.$emit("auto-apply-invalid",ve)),onInvalidDate:le[13]||(le[13]=ve=>g.$emit("invalid-date",ve)),onOverlayToggle:le[14]||(le[14]=ve=>g.$emit("overlay-toggle",ve)),"onUpdate:internalModelValue":le[15]||(le[15]=ve=>g.$emit("update:internal-model-value",ve))}),ot({_:2},[Fe(k.value,(ve,Ke)=>({name:ve,fn:De(xt=>[ie(g.$slots,ve,Ze(it({...xt})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),g.$slots["right-sidebar"]?(T(),z("div",ju,[ie(g.$slots,"right-sidebar",Ze(it(O.value)))])):G("",!0),g.$slots["action-extra"]?(T(),z("div",Gu,[g.$slots["action-extra"]?ie(g.$slots,"action-extra",{key:0,selectCurrentDate:Z}):G("",!0)])):G("",!0)],14,zu),!g.autoApply||i(x).keepActionRow?(T(),Oe(Gs,Je({key:3,"menu-mount":L.value},s.value,{"calendar-width":S.value,onClosePicker:le[16]||(le[16]=ve=>g.$emit("close-picker")),onSelectDate:le[17]||(le[17]=ve=>g.$emit("select-date")),onInvalidSelect:le[18]||(le[18]=ve=>g.$emit("invalid-select")),onSelectNow:Z}),ot({_:2},[Fe(i(f),(ve,Ke)=>({name:ve,fn:De(xt=>[ie(g.$slots,ve,Ze(it({...xt})))])}))]),1040,["menu-mount","calendar-width"])):G("",!0)],46,Hu)}}});var ea=(e=>(e.center="center",e.left="left",e.right="right",e))(ea||{});const Ku=({menuRef:e,menuRefInner:t,inputRef:n,pickerWrapperRef:a,inline:r,emit:o,props:s,slots:c})=>{const{defaultedConfig:d}=Be(s),P=K({}),v=K(!1),m=K({top:"0",left:"0"}),p=K(!1),x=ha(s,"teleportCenter");yt(x,()=>{m.value=JSON.parse(JSON.stringify({})),U()});const A=h=>{if(s.teleport){const H=h.getBoundingClientRect();return{left:H.left+window.scrollX,top:H.top+window.scrollY}}return{top:0,left:0}},R=(h,H)=>{m.value.left=`${h+H-P.value.width}px`},M=h=>{m.value.left=`${h}px`},b=(h,H)=>{s.position===ea.left&&M(h),s.position===ea.right&&R(h,H),s.position===ea.center&&(m.value.left=`${h+H/2-P.value.width/2}px`)},S=h=>{const{width:H,height:J}=h.getBoundingClientRect(),{top:E,left:ee}=A(h);return{top:+E,left:+ee,width:H,height:J}},C=()=>{m.value.left="50%",m.value.top="50%",m.value.transform="translate(-50%, -50%)",m.value.position="fixed",delete m.value.opacity},L=()=>{const h=je(n);m.value=s.altPosition(h)},U=(h=!0)=>{var H;if(!r.value.enabled){if(x.value)return C();if(s.altPosition!==null)return L();if(h){const J=s.teleport?(H=t.value)==null?void 0:H.$el:e.value;J&&(P.value=J.getBoundingClientRect()),o("recalculate-position")}return ce()}},Y=({inputEl:h,left:H,width:J})=>{window.screen.width>768&&!v.value&&b(H,J),V(h)},N=h=>{const{top:H,left:J,height:E,width:ee}=S(h);m.value.top=`${E+H+ +s.offset}px`,p.value=!1,v.value||(m.value.left=`${J+ee/2-P.value.width/2}px`),Y({inputEl:h,left:J,width:ee})},re=h=>{const{top:H,left:J,width:E}=S(h);m.value.top=`${H-+s.offset-P.value.height}px`,p.value=!0,Y({inputEl:h,left:J,width:E})},V=h=>{if(s.autoPosition){const{left:H,width:J}=S(h),{left:E,right:ee}=P.value;if(!v.value){if(Math.abs(E)!==Math.abs(ee)){if(E<=0)return v.value=!0,M(H);if(ee>=document.documentElement.clientWidth)return v.value=!0,R(H,J)}return b(H,J)}}},I=()=>{const h=je(n);if(h){if(s.autoPosition===gt.top)return gt.top;if(s.autoPosition===gt.bottom)return gt.bottom;const{height:H}=P.value,{top:J,height:E}=h.getBoundingClientRect(),ee=window.innerHeight-J-E,O=J;return H<=ee?gt.bottom:H>ee&&H<=O?gt.top:ee>=O?gt.bottom:gt.top}return gt.bottom},se=h=>I()===gt.bottom?N(h):re(h),ce=()=>{const h=je(n);if(h)return s.autoPosition?se(h):N(h)},ye=function(h){if(h){const H=h.scrollHeight>h.clientHeight,J=window.getComputedStyle(h).overflowY.indexOf("hidden")!==-1;return H&&!J}return!0},y=function(h){return!h||h===document.body||h.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:ye(h)?h:y(h.assignedSlot&&d.value.shadowDom?h.assignedSlot.parentNode:h.parentNode)},D=h=>{if(h)switch(s.position){case ea.left:return{left:0,transform:"translateX(0)"};case ea.right:return{left:`${h.width}px`,transform:"translateX(-100%)"};default:return{left:`${h.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:p,menuStyle:m,xCorrect:v,setMenuPosition:U,getScrollableParent:y,shadowRender:(h,H,J)=>{var E,ee,O;const de=document.createElement("div"),f=(E=je(n))==null?void 0:E.getBoundingClientRect();de.setAttribute("id","dp--temp-container");const k=(ee=a.value)!=null&&ee.clientWidth?a.value:document.body;k.append(de);const F=D(f),W=d.value.shadowDom?Object.keys(c).filter(_=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(_)):Object.keys(c),l=jr(H,{...J,shadow:!0,style:{opacity:0,position:"absolute",...F}},Object.fromEntries(W.map(_=>[_,c[_]])));h!=null&&(l.appContext=h.appContext),Cn(l,de),P.value=(O=l.el)==null?void 0:O.getBoundingClientRect(),Cn(null,de),k.removeChild(de)}}},Et=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"hours-overlay-header",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-header",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-header",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]},{name:"top-extra",use:["shared","month-year"]},{name:"tp-inline-arrow-up",use:["shared","time"]},{name:"tp-inline-arrow-down",use:["shared","time"]},{name:"menu-header",use:["menu"]}],Xu=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],Zu={all:()=>Et,monthYear:()=>Et.filter(e=>e.use.includes("month-year")),input:()=>Xu,timePicker:()=>Et.filter(e=>e.use.includes("time")),action:()=>Et.filter(e=>e.use.includes("action")),calendar:()=>Et.filter(e=>e.use.includes("calendar")),menu:()=>Et.filter(e=>e.use.includes("menu")),shared:()=>Et.filter(e=>e.use.includes("shared")),yearMode:()=>Et.filter(e=>e.use.includes("year-mode"))},ct=(e,t,n)=>{const a=[];return Zu[t]().forEach(r=>{e[r.name]&&a.push(r.name)}),n!=null&&n.length&&n.forEach(r=>{r.slot&&a.push(r.slot)}),a},Ma=e=>{const t=j(()=>a=>e.value?a?e.value.open:e.value.close:""),n=j(()=>a=>e.value?a?e.value.menuAppearTop:e.value.menuAppearBottom:"");return{transitionName:t,showTransition:!!e.value,menuTransition:n}},Pa=(e,t,n)=>{const{defaultedRange:a,defaultedTz:r}=Be(e),o=q(dt(q(),r.value.timezone)),s=K([{month:Pe(o),year:he(o)}]),c=p=>{const x={hours:St(o),minutes:Ht(o),seconds:0};return a.value.enabled?[x[p],x[p]]:x[p]},d=ka({hours:c("hours"),minutes:c("minutes"),seconds:c("seconds")});yt(a,(p,x)=>{p.enabled!==x.enabled&&(d.hours=c("hours"),d.minutes=c("minutes"),d.seconds=c("seconds"))},{deep:!0});const P=j({get:()=>e.internalModelValue,set:p=>{!e.readonly&&!e.disabled&&t("update:internal-model-value",p)}}),v=j(()=>p=>s.value[p]?s.value[p].month:0),m=j(()=>p=>s.value[p]?s.value[p].year:0);return yt(P,(p,x)=>{n&&JSON.stringify(p??{})!==JSON.stringify(x??{})&&n()},{deep:!0}),{calendars:s,time:d,modelValue:P,month:v,year:m,today:o}},Ju=(e,t)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:a,defaultedUI:r,defaultedHighlight:o,defaultedTz:s,propDates:c,defaultedRange:d}=Be(t),{isDisabled:P}=Wt(t),v=K(null),m=K(dt(new Date,s.value.timezone)),p=l=>{!l.current&&t.hideOffsetDates||(v.value=l.value)},x=()=>{v.value=null},A=l=>Array.isArray(e.value)&&d.value.enabled&&e.value[0]&&v.value?l?qe(v.value,e.value[0]):He(v.value,e.value[0]):!0,R=(l,_)=>{const oe=()=>e.value?_?e.value[0]||null:e.value[1]:null,Ye=e.value&&Array.isArray(e.value)?oe():null;return Te(q(l.value),Ye)},M=l=>{const _=Array.isArray(e.value)?e.value[0]:null;return l?!He(v.value??null,_):!0},b=(l,_=!0)=>(d.value.enabled||t.weekPicker)&&Array.isArray(e.value)&&e.value.length===2?t.hideOffsetDates&&!l.current?!1:Te(q(l.value),e.value[_?0:1]):d.value.enabled?R(l,_)&&M(_)||Te(l.value,Array.isArray(e.value)?e.value[0]:null)&&A(_):!1,S=(l,_)=>{if(Array.isArray(e.value)&&e.value[0]&&e.value.length===1){const oe=Te(l.value,v.value);return _?qe(e.value[0],l.value)&&oe:He(e.value[0],l.value)&&oe}return!1},C=l=>!e.value||t.hideOffsetDates&&!l.current?!1:d.value.enabled?t.modelAuto&&Array.isArray(e.value)?Te(l.value,e.value[0]?e.value[0]:m.value):!1:a.value.enabled&&Array.isArray(e.value)?e.value.some(_=>Te(_,l.value)):Te(l.value,e.value?e.value:m.value),L=l=>{if(d.value.autoRange||t.weekPicker){if(v.value){if(t.hideOffsetDates&&!l.current)return!1;const _=ft(v.value,+d.value.autoRange),oe=Yt(q(v.value),t.weekStart);return t.weekPicker?Te(oe[1],q(l.value)):Te(_,q(l.value))}return!1}return!1},U=l=>{if(d.value.autoRange||t.weekPicker){if(v.value){const _=ft(v.value,+d.value.autoRange);if(t.hideOffsetDates&&!l.current)return!1;const oe=Yt(q(v.value),t.weekStart);return t.weekPicker?qe(l.value,oe[0])&&He(l.value,oe[1]):qe(l.value,v.value)&&He(l.value,_)}return!1}return!1},Y=l=>{if(d.value.autoRange||t.weekPicker){if(v.value){if(t.hideOffsetDates&&!l.current)return!1;const _=Yt(q(v.value),t.weekStart);return t.weekPicker?Te(_[0],l.value):Te(v.value,l.value)}return!1}return!1},N=l=>_a(e.value,v.value,l.value),re=()=>t.modelAuto&&Array.isArray(t.internalModelValue)?!!t.internalModelValue[0]:!1,V=()=>t.modelAuto?xr(t.internalModelValue):!0,I=l=>{if(t.weekPicker)return!1;const _=d.value.enabled?!b(l)&&!b(l,!1):!0;return!P(l.value)&&!C(l)&&!(!l.current&&t.hideOffsetDates)&&_},se=l=>d.value.enabled?t.modelAuto?re()&&C(l):!1:C(l),ce=l=>o.value?gs(l.value,c.value.highlight):!1,ye=l=>{const _=P(l.value);return _&&(typeof o.value=="function"?!o.value(l.value,_):!o.value.options.highlightDisabled)},y=l=>{var _;return typeof o.value=="function"?o.value(l.value):(_=o.value.weekdays)==null?void 0:_.includes(l.value.getDay())},D=l=>(d.value.enabled||t.weekPicker)&&(!(n.value.count>0)||l.current)&&V()&&!(!l.current&&t.hideOffsetDates)&&!C(l)?N(l):!1,h=l=>{if(Array.isArray(e.value)&&e.value.length===1){const{before:_,after:oe}=jn(+d.value.maxRange,e.value[0]);return la(l.value,_)||Gt(l.value,oe)}return!1},H=l=>{if(Array.isArray(e.value)&&e.value.length===1){const{before:_,after:oe}=jn(+d.value.minRange,e.value[0]);return _a([_,oe],e.value[0],l.value)}return!1},J=l=>d.value.enabled&&(d.value.maxRange||d.value.minRange)?d.value.maxRange&&d.value.minRange?h(l)||H(l):d.value.maxRange?h(l):H(l):!1,E=l=>{const{isRangeStart:_,isRangeEnd:oe}=f(l),Ye=d.value.enabled?_||oe:!1;return{dp__cell_offset:!l.current,dp__pointer:!t.disabled&&!(!l.current&&t.hideOffsetDates)&&!P(l.value)&&!J(l),dp__cell_disabled:P(l.value)||J(l),dp__cell_highlight:!ye(l)&&(ce(l)||y(l))&&!se(l)&&!Ye&&!Y(l)&&!(D(l)&&t.weekPicker)&&!oe,dp__cell_highlight_active:!ye(l)&&(ce(l)||y(l))&&se(l),dp__today:!t.noToday&&Te(l.value,m.value)&&l.current,"dp--past":He(l.value,m.value),"dp--future":qe(l.value,m.value)}},ee=l=>({dp__active_date:se(l),dp__date_hover:I(l)}),O=l=>{if(e.value&&!Array.isArray(e.value)){const _=Yt(e.value,t.weekStart);return{...F(l),dp__range_start:Te(_[0],l.value),dp__range_end:Te(_[1],l.value),dp__range_between_week:qe(l.value,_[0])&&He(l.value,_[1])}}return{...F(l)}},de=l=>{if(e.value&&Array.isArray(e.value)){const _=Yt(e.value[0],t.weekStart),oe=e.value[1]?Yt(e.value[1],t.weekStart):[];return{...F(l),dp__range_start:Te(_[0],l.value)||Te(oe[0],l.value),dp__range_end:Te(_[1],l.value)||Te(oe[1],l.value),dp__range_between_week:qe(l.value,_[0])&&He(l.value,_[1])||qe(l.value,oe[0])&&He(l.value,oe[1]),dp__range_between:qe(l.value,_[1])&&He(l.value,oe[0])}}return{...F(l)}},f=l=>{const _=n.value.count>0?l.current&&b(l)&&V():b(l)&&V(),oe=n.value.count>0?l.current&&b(l,!1)&&V():b(l,!1)&&V();return{isRangeStart:_,isRangeEnd:oe}},k=l=>{const{isRangeStart:_,isRangeEnd:oe}=f(l);return{dp__range_start:_,dp__range_end:oe,dp__range_between:D(l),dp__date_hover:Te(l.value,v.value)&&!_&&!oe&&!t.weekPicker,dp__date_hover_start:S(l,!0),dp__date_hover_end:S(l,!1)}},F=l=>({...k(l),dp__cell_auto_range:U(l),dp__cell_auto_range_start:Y(l),dp__cell_auto_range_end:L(l)}),W=l=>d.value.enabled?d.value.autoRange?F(l):t.modelAuto?{...ee(l),...k(l)}:t.weekPicker?de(l):k(l):t.weekPicker?O(l):ee(l);return{setHoverDate:p,clearHoverDate:x,getDayClassData:l=>t.hideOffsetDates&&!l.current?{}:{...E(l),...W(l),[t.dayClass?t.dayClass(l.value,t.internalModelValue):""]:!0,...r.value.calendarCell??{}}}},Wt=e=>{const{defaultedFilters:t,defaultedRange:n,propDates:a,defaultedMultiDates:r}=Be(e),o=y=>a.value.disabledDates?typeof a.value.disabledDates=="function"?a.value.disabledDates(q(y)):!!Sa(y,a.value.disabledDates):!1,s=y=>a.value.maxDate?e.yearPicker?he(y)>he(a.value.maxDate):qe(y,a.value.maxDate):!1,c=y=>a.value.minDate?e.yearPicker?he(y){const D=s(y),h=c(y),H=o(y),J=t.value.months.map(f=>+f).includes(Pe(y)),E=e.disabledWeekDays.length?e.disabledWeekDays.some(f=>+f===ro(y)):!1,ee=x(y),O=he(y),de=O<+e.yearRange[0]||O>+e.yearRange[1];return!(D||h||H||J||de||E||ee)},P=(y,D)=>He(...Ft(a.value.minDate,y,D))||Te(...Ft(a.value.minDate,y,D)),v=(y,D)=>qe(...Ft(a.value.maxDate,y,D))||Te(...Ft(a.value.maxDate,y,D)),m=(y,D,h)=>{let H=!1;return a.value.maxDate&&h&&v(y,D)&&(H=!0),a.value.minDate&&!h&&P(y,D)&&(H=!0),H},p=(y,D,h,H)=>{let J=!1;return H&&(a.value.minDate||a.value.maxDate)?a.value.minDate&&a.value.maxDate?J=m(y,D,h):(a.value.minDate&&P(y,D)||a.value.maxDate&&v(y,D))&&(J=!0):J=!0,J},x=y=>Array.isArray(a.value.allowedDates)&&!a.value.allowedDates.length?!0:a.value.allowedDates?!Sa(y,a.value.allowedDates,Tr(e.monthPicker,e.yearPicker)):!1,A=y=>!d(y),R=y=>n.value.noDisabledRange?!or({start:y[0],end:y[1]}).some(D=>A(D)):!0,M=y=>{if(y){const D=he(y);return D>=+e.yearRange[0]&&D<=e.yearRange[1]}return!0},b=(y,D)=>!!(Array.isArray(y)&&y[D]&&(n.value.maxRange||n.value.minRange)&&M(y[D])),S=(y,D,h=0)=>{if(b(D,h)&&M(y)){const H=nr(y,D[h]),J=Yr(D[h],y),E=J.length===1?0:J.filter(O=>A(O)).length,ee=Math.abs(H)-(n.value.minMaxRawRange?0:E);if(n.value.minRange&&n.value.maxRange)return ee>=+n.value.minRange&&ee<=+n.value.maxRange;if(n.value.minRange)return ee>=+n.value.minRange;if(n.value.maxRange)return ee<=+n.value.maxRange}return!0},C=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,L=y=>Array.isArray(y)?[y[0]?Za(y[0]):null,y[1]?Za(y[1]):null]:Za(y),U=(y,D,h)=>y.find(H=>+H.hours===St(D)&&H.minutes==="*"?!0:+H.minutes===Ht(D)&&+H.hours===St(D))&&h,Y=(y,D,h)=>{const[H,J]=y,[E,ee]=D;return!U(H,E,h)&&!U(J,ee,h)&&h},N=(y,D)=>{const h=Array.isArray(D)?D:[D];return Array.isArray(e.disabledTimes)?Array.isArray(e.disabledTimes[0])?Y(e.disabledTimes,h,y):!h.some(H=>U(e.disabledTimes,H,y)):y},re=(y,D)=>{const h=Array.isArray(D)?[jt(D[0]),D[1]?jt(D[1]):void 0]:jt(D),H=!e.disabledTimes(h);return y&&H},V=(y,D)=>e.disabledTimes?Array.isArray(e.disabledTimes)?N(D,y):re(D,y):D,I=y=>{let D=!0;if(!y||C())return!0;const h=!a.value.minDate&&!a.value.maxDate?L(y):y;return(e.maxTime||a.value.maxDate)&&(D=Qn(e.maxTime,a.value.maxDate,"max",Xe(h),D)),(e.minTime||a.value.minDate)&&(D=Qn(e.minTime,a.value.minDate,"min",Xe(h),D)),V(y,D)},se=y=>{if(!e.monthPicker)return!0;let D=!0;const h=q(wt(y));if(a.value.minDate&&a.value.maxDate){const H=q(wt(a.value.minDate)),J=q(wt(a.value.maxDate));return qe(h,H)&&He(h,J)||Te(h,H)||Te(h,J)}if(a.value.minDate){const H=q(wt(a.value.minDate));D=qe(h,H)||Te(h,H)}if(a.value.maxDate){const H=q(wt(a.value.maxDate));D=He(h,H)||Te(h,H)}return D},ce=j(()=>y=>!e.enableTimePicker||e.ignoreTimeValidation?!0:I(y)),ye=j(()=>y=>e.monthPicker?Array.isArray(y)&&(n.value.enabled||r.value.enabled)?!y.filter(D=>!se(D)).length:se(y):!0);return{isDisabled:A,validateDate:d,validateMonthYearInRange:p,isDateRangeAllowed:R,checkMinMaxRange:S,isValidTime:I,isTimeValid:ce,isMonthValid:ye}},Ba=()=>{const e=j(()=>(a,r)=>a?.includes(r)),t=j(()=>(a,r)=>a.count?a.solo?!0:r===0:!0),n=j(()=>(a,r)=>a.count?a.solo?!0:r===a.count-1:!0);return{hideNavigationButtons:e,showLeftIcon:t,showRightIcon:n}},ei=(e,t,n)=>{const a=K(0),r=ka({[Qt.timePicker]:!e.enableTimePicker||e.timePicker||e.monthPicker,[Qt.calendar]:!1,[Qt.header]:!1}),o=j(()=>e.monthPicker||e.timePicker),s=m=>{var p;if((p=e.flow)!=null&&p.length){if(!m&&o.value)return v();r[m]=!0,Object.keys(r).filter(x=>!r[x]).length||v()}},c=()=>{var m,p;(m=e.flow)!=null&&m.length&&a.value!==-1&&(a.value+=1,t("flow-step",a.value),v()),((p=e.flow)==null?void 0:p.length)===a.value&&mt().then(()=>d())},d=()=>{a.value=-1},P=(m,p,...x)=>{var A,R;e.flow[a.value]===m&&n.value&&((R=(A=n.value)[p])==null||R.call(A,...x))},v=(m=0)=>{m&&(a.value+=m),P(rt.month,"toggleMonthPicker",!0),P(rt.year,"toggleYearPicker",!0),P(rt.calendar,"toggleTimePicker",!1,!0),P(rt.time,"toggleTimePicker",!0,!0);const p=e.flow[a.value];(p===rt.hours||p===rt.minutes||p===rt.seconds)&&P(p,"toggleTimePicker",!0,!0,p)};return{childMount:s,updateFlowStep:c,resetFlow:d,handleFlow:v,flowStep:a}},ti={key:1,class:"dp__input_wrap"},ai=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],ni={key:2,class:"dp--clear-btn"},ri=["aria-label"],li=tt({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Ia},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur","text-input"],setup(e,{expose:t,emit:n}){const a=n,r=e,{defaultedTextInput:o,defaultedAriaLabels:s,defaultedInline:c,defaultedConfig:d,defaultedRange:P,defaultedMultiDates:v,defaultedUI:m,getDefaultPattern:p,getDefaultStartTime:x}=Be(r),{checkMinMaxRange:A}=Wt(r),R=K(),M=K(null),b=K(!1),S=K(!1),C=j(()=>({dp__pointer:!r.disabled&&!r.readonly&&!o.value.enabled,dp__disabled:r.disabled,dp__input_readonly:!o.value.enabled,dp__input:!0,dp__input_icon_pad:!r.hideInputIcon,dp__input_valid:typeof r.state=="boolean"?r.state:!1,dp__input_invalid:typeof r.state=="boolean"?!r.state:!1,dp__input_focus:b.value||r.isMenuOpen,dp__input_reg:!o.value.enabled,...m.value.input??{}})),L=()=>{a("set-input-date",null),r.clearable&&r.autoApply&&(a("set-empty-date"),R.value=null)},U=O=>{const de=x();return bs(O,o.value.format??p(),de??Cr({},r.enableSeconds),r.inputValue,S.value,r.formatLocale)},Y=O=>{const{rangeSeparator:de}=o.value,[f,k]=O.split(`${de}`);if(f){const F=U(f.trim()),W=k?U(k.trim()):void 0;if(Gt(F,W))return;const l=F&&W?[F,W]:[F];A(W,l,0)&&(R.value=F?l:null)}},N=()=>{S.value=!0},re=O=>{if(P.value.enabled)Y(O);else if(v.value.enabled){const de=O.split(";");R.value=de.map(f=>U(f.trim())).filter(f=>f)}else R.value=U(O)},V=O=>{var de;const f=typeof O=="string"?O:(de=O.target)==null?void 0:de.value;f!==""?(o.value.openMenu&&!r.isMenuOpen&&a("open"),re(f),a("set-input-date",R.value)):L(),S.value=!1,a("update:input-value",f),a("text-input",O,R.value)},I=O=>{o.value.enabled?(re(O.target.value),o.value.enterSubmit&&cn(R.value)&&r.inputValue!==""?(a("set-input-date",R.value,!0),R.value=null):o.value.enterSubmit&&r.inputValue===""&&(R.value=null,a("clear"))):ye(O)},se=(O,de)=>{o.value.enabled&&o.value.tabSubmit&&!de&&re(O.target.value),o.value.tabSubmit&&cn(R.value)&&r.inputValue!==""?(a("set-input-date",R.value,!0,!0),R.value=null):o.value.tabSubmit&&r.inputValue===""&&(R.value=null,a("clear",!0))},ce=()=>{b.value=!0,a("focus"),mt().then(()=>{var O;o.value.enabled&&o.value.selectOnFocus&&((O=M.value)==null||O.select())})},ye=O=>{if(Bt(O,d.value,!0),o.value.enabled&&o.value.openMenu&&!c.value.input){if(o.value.openMenu==="open"&&!r.isMenuOpen)return a("open");if(o.value.openMenu==="toggle")return a("toggle")}else o.value.enabled||a("toggle")},y=()=>{a("real-blur"),b.value=!1,(!r.isMenuOpen||c.value.enabled&&c.value.input)&&a("blur"),r.autoApply&&o.value.enabled&&R.value&&!r.isMenuOpen&&(a("set-input-date",R.value),a("select-date"),R.value=null)},D=O=>{Bt(O,d.value,!0),a("clear")},h=()=>{a("close")},H=O=>{if(O.key==="Tab"&&se(O),O.key==="Enter"&&I(O),O.key==="Escape"&&o.value.escClose&&h(),!o.value.enabled){if(O.code==="Tab")return;O.preventDefault()}},J=()=>{var O;(O=M.value)==null||O.focus({preventScroll:!0})},E=O=>{R.value=O},ee=O=>{O.key===Ee.tab&&se(O,!0)};return t({focusInput:J,setParsedDate:E}),(O,de)=>{var f,k,F;return T(),z("div",{onClick:ye},[O.$slots.trigger&&!O.$slots["dp-input"]&&!i(c).enabled?ie(O.$slots,"trigger",{key:0}):G("",!0),!O.$slots.trigger&&(!i(c).enabled||i(c).input)?(T(),z("div",ti,[O.$slots["dp-input"]&&!O.$slots.trigger&&(!i(c).enabled||i(c).enabled&&i(c).input)?ie(O.$slots,"dp-input",{key:0,value:e.inputValue,isMenuOpen:e.isMenuOpen,onInput:V,onEnter:I,onTab:se,onClear:D,onBlur:y,onKeypress:H,onPaste:N,onFocus:ce,openMenu:()=>O.$emit("open"),closeMenu:()=>O.$emit("close"),toggleMenu:()=>O.$emit("toggle")}):G("",!0),O.$slots["dp-input"]?G("",!0):(T(),z("input",{key:1,id:O.uid?`dp-input-${O.uid}`:void 0,ref_key:"inputRef",ref:M,"data-test-id":"dp-input",name:O.name,class:xe(C.value),inputmode:i(o).enabled?"text":"none",placeholder:O.placeholder,disabled:O.disabled,readonly:O.readonly,required:O.required,value:e.inputValue,autocomplete:O.autocomplete,"aria-label":(f=i(s))==null?void 0:f.input,"aria-disabled":O.disabled||void 0,"aria-invalid":O.state===!1?!0:void 0,onInput:V,onBlur:y,onFocus:ce,onKeypress:H,onKeydown:de[0]||(de[0]=W=>H(W)),onPaste:N},null,42,ai)),ge("div",{onClick:de[3]||(de[3]=W=>a("toggle"))},[O.$slots["input-icon"]&&!O.hideInputIcon?(T(),z("span",{key:0,class:"dp__input_icon",onClick:de[1]||(de[1]=W=>a("toggle"))},[ie(O.$slots,"input-icon")])):G("",!0),!O.$slots["input-icon"]&&!O.hideInputIcon&&!O.$slots["dp-input"]?(T(),Oe(i(ca),{key:1,"aria-label":(k=i(s))==null?void 0:k.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:de[2]||(de[2]=W=>a("toggle"))},null,8,["aria-label"])):G("",!0)]),O.$slots["clear-icon"]&&(O.alwaysClearable||e.inputValue&&O.clearable&&!O.disabled&&!O.readonly)?(T(),z("span",ni,[ie(O.$slots,"clear-icon",{clear:D})])):G("",!0),!O.$slots["clear-icon"]&&(O.alwaysClearable||O.clearable&&e.inputValue&&!O.disabled&&!O.readonly)?(T(),z("button",{key:3,"aria-label":(F=i(s))==null?void 0:F.clearInput,class:"dp--clear-btn",type:"button",onKeydown:de[4]||(de[4]=W=>i(ut)(W,()=>D(W),!0,ee)),onClick:de[5]||(de[5]=ga(W=>D(W),["prevent"]))},[vt(i(kr),{class:"dp__input_icons","data-test-id":"clear-icon"})],40,ri)):G("",!0)])):G("",!0)])}}}),oi=typeof window<"u"?window:void 0,rn=()=>{},si=e=>Xr()?(Zr(e),!0):!1,ui=(e,t,n,a)=>{if(!e)return rn;let r=rn;const o=yt(()=>i(e),c=>{r(),c&&(c.removeEventListener(t,n),c.addEventListener(t,n,a),r=()=>{c.removeEventListener(t,n,a),r=rn})},{immediate:!0,flush:"post"}),s=()=>{o(),r()};return si(s),s},ii=(e,t,n,a={})=>{const{window:r=oi,event:o="pointerdown"}=a;return r?ui(r,o,s=>{const c=je(e),d=je(t);!c||!d||c===s.target||s.composedPath().includes(c)||s.composedPath().includes(d)||n(s)},{passive:!0}):void 0},di=["data-dp-mobile"],ci=tt({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...Ia},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date","overlay-toggle","text-input"],setup(e,{expose:t,emit:n}){const a=n,r=e,o=Kt(),s=K(!1),c=ha(r,"modelValue"),d=ha(r,"timezone"),P=K(null),v=K(null),m=K(null),p=K(!1),x=K(null),A=K(!1),R=K(!1),M=K(!1),b=K(!1),{setMenuFocused:S,setShiftKey:C}=Ir(),{clearArrowNav:L}=Vt(),{validateDate:U,isValidTime:Y}=Wt(r),{defaultedTransitions:N,defaultedTextInput:re,defaultedInline:V,defaultedConfig:I,defaultedRange:se,defaultedMultiDates:ce}=Be(r),{menuTransition:ye,showTransition:y}=Ma(N),{isMobile:D}=Wr(I),h=Qr();at(()=>{l(r.modelValue),mt().then(()=>{if(!V.value.enabled){const B=f(x.value);B?.addEventListener("scroll",ae),window?.addEventListener("resize",ne)}}),V.value.enabled&&(s.value=!0),window?.addEventListener("keyup",Me),window?.addEventListener("keydown",be)}),ia(()=>{if(!V.value.enabled){const B=f(x.value);B?.removeEventListener("scroll",ae),window?.removeEventListener("resize",ne)}window?.removeEventListener("keyup",Me),window?.removeEventListener("keydown",be)});const H=ct(o,"all",r.presetDates),J=ct(o,"input");yt([c,d],()=>{l(c.value)},{deep:!0});const{openOnTop:E,menuStyle:ee,xCorrect:O,setMenuPosition:de,getScrollableParent:f,shadowRender:k}=Ku({menuRef:P,menuRefInner:v,inputRef:m,pickerWrapperRef:x,inline:V,emit:a,props:r,slots:o}),{inputValue:F,internalModelValue:W,parseExternalModelValue:l,emitModelValue:_,formatInputValue:oe,checkBeforeEmit:Ye}=qs(a,r,p),$=j(()=>({dp__main:!0,dp__theme_dark:r.dark,dp__theme_light:!r.dark,dp__flex_display:V.value.enabled,"dp--flex-display-collapsed":M.value,dp__flex_display_with_input:V.value.input})),we=j(()=>r.dark?"dp__theme_dark":"dp__theme_light"),Q=j(()=>r.teleport?{to:typeof r.teleport=="boolean"?"body":r.teleport,disabled:!r.teleport||V.value.enabled}:{}),te=j(()=>({class:"dp__outer_menu_wrap"})),u=j(()=>V.value.enabled&&(r.timePicker||r.monthPicker||r.yearPicker||r.quarterPicker)),Z=()=>{var B,ue;return((ue=(B=m.value)==null?void 0:B.$el)==null?void 0:ue.getBoundingClientRect())??{width:0,left:0,right:0}},ae=()=>{s.value&&(I.value.closeOnScroll?Ke():de())},ne=()=>{var B;s.value&&de();const ue=((B=v.value)==null?void 0:B.$el.getBoundingClientRect().width)??0;M.value=document.body.offsetWidth<=ue},Me=B=>{B.key==="Tab"&&!V.value.enabled&&!r.teleport&&I.value.tabOutClosesMenu&&(x.value.contains(document.activeElement)||Ke()),R.value=B.shiftKey},be=B=>{R.value=B.shiftKey},Ce=()=>{!r.disabled&&!r.readonly&&(k(h,Zn,r),de(!1),s.value=!0,s.value&&a("open"),s.value||ve(),l(r.modelValue))},We=()=>{var B,ue;F.value="",ve(),(B=v.value)==null||B.onValueCleared(),(ue=m.value)==null||ue.setParsedDate(null),a("update:model-value",null),a("update:model-timezone-value",null),a("cleared"),I.value.closeOnClearValue&&Ke()},g=()=>{const B=W.value;return!B||!Array.isArray(B)&&U(B)?!0:Array.isArray(B)?ce.value.enabled||B.length===2&&U(B[0])&&U(B[1])?!0:se.value.partialRange&&!r.timePicker?U(B[0]):!1:!1},le=()=>{Ye()&&g()?(_(),Ke()):a("invalid-select",W.value)},$e=B=>{Ge(),_(),I.value.closeOnAutoApply&&!B&&Ke()},Ge=()=>{m.value&&re.value.enabled&&m.value.setParsedDate(W.value)},Dt=(B=!1)=>{r.autoApply&&Y(W.value)&&g()&&(se.value.enabled&&Array.isArray(W.value)?(se.value.partialRange||W.value.length===2)&&$e(B):$e(B))},ve=()=>{re.value.enabled||(W.value=null)},Ke=(B=!1)=>{var ue,me;B&&W.value&&I.value.setDateOnMenuClose&&le(),V.value.enabled||(s.value&&(s.value=!1,O.value=!1,S(!1),C(!1),L(),a("closed"),F.value&&l(c.value)),ve(),a("blur"),(me=(ue=v.value)==null?void 0:ue.$el)==null||me.remove())},xt=(B,ue,me=!1)=>{if(!B){W.value=null;return}const At=Array.isArray(B)?!B.some(zt=>!U(zt)):U(B),Mt=Y(B);At&&Mt?(b.value=!0,W.value=B,ue?(A.value=me,le(),a("text-submit")):r.autoApply&&Dt(),mt().then(()=>{b.value=!1})):a("invalid-date",B)},La=()=>{r.autoApply&&Y(W.value)&&_(),Ge()},Ta=()=>s.value?Ke():Ce(),Ha=B=>{W.value=B},Va=()=>{re.value.enabled&&(p.value=!0,oe()),a("focus")},Wa=()=>{if(re.value.enabled&&(p.value=!1,l(r.modelValue),A.value)){const B=hs(x.value,R.value);B?.focus()}a("blur")},za=B=>{v.value&&v.value.updateMonthYear(0,{month:zn(B.month),year:zn(B.year)})},qa=B=>{l(B??r.modelValue)},w=(B,ue)=>{var me;(me=v.value)==null||me.switchView(B,ue)},X=(B,ue)=>I.value.onClickOutside?I.value.onClickOutside(B,ue):Ke(!0),fe=(B=0)=>{var ue;(ue=v.value)==null||ue.handleFlow(B)},_e=()=>P;return ii(P,m,B=>X(g,B)),t({closeMenu:Ke,selectDate:le,clearValue:We,openMenu:Ce,onScroll:ae,formatInputValue:oe,updateInternalModelValue:Ha,setMonthYear:za,parseModel:qa,switchView:w,toggleMenu:Ta,handleFlow:fe,getDpWrapMenuRef:_e}),(B,ue)=>(T(),z("div",{ref_key:"pickerWrapperRef",ref:x,class:xe($.value),"data-datepicker-instance":"","data-dp-mobile":i(D)},[vt(li,Je({ref_key:"inputRef",ref:m,"input-value":i(F),"onUpdate:inputValue":ue[0]||(ue[0]=me=>Yn(F)?F.value=me:null),"is-menu-open":s.value},B.$props,{onClear:We,onOpen:Ce,onSetInputDate:xt,onSetEmptyDate:i(_),onSelectDate:le,onToggle:Ta,onClose:Ke,onFocus:Va,onBlur:Wa,onRealBlur:ue[1]||(ue[1]=me=>p.value=!1),onTextInput:ue[2]||(ue[2]=me=>B.$emit("text-input",me))}),ot({_:2},[Fe(i(J),(me,At)=>({name:me,fn:De(Mt=>[ie(B.$slots,me,Ze(it(Mt)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(T(),Oe(Na(B.teleport?Ur:"div"),Ze(it(Q.value)),{default:De(()=>[vt(da,{name:i(ye)(i(E)),css:i(y)&&!i(V).enabled},{default:De(()=>[s.value?(T(),z("div",Je({key:0,ref_key:"dpWrapMenuRef",ref:P},te.value,{class:{"dp--menu-wrapper":!i(V).enabled},style:i(V).enabled?void 0:i(ee)}),[vt(Zn,Je({ref_key:"dpMenuRef",ref:v},B.$props,{"internal-model-value":i(W),"onUpdate:internalModelValue":ue[3]||(ue[3]=me=>Yn(W)?W.value=me:null),class:{[we.value]:!0,"dp--menu-wrapper":B.teleport},"open-on-top":i(E),"no-overlay-focus":u.value,collapse:M.value,"get-input-rect":Z,"is-text-input-date":b.value,onClosePicker:Ke,onSelectDate:le,onAutoApply:Dt,onTimeUpdate:La,onFlowStep:ue[4]||(ue[4]=me=>B.$emit("flow-step",me)),onUpdateMonthYear:ue[5]||(ue[5]=me=>B.$emit("update-month-year",me)),onInvalidSelect:ue[6]||(ue[6]=me=>B.$emit("invalid-select",i(W))),onAutoApplyInvalid:ue[7]||(ue[7]=me=>B.$emit("invalid-select",me)),onInvalidFixedRange:ue[8]||(ue[8]=me=>B.$emit("invalid-fixed-range",me)),onRecalculatePosition:i(de),onTooltipOpen:ue[9]||(ue[9]=me=>B.$emit("tooltip-open",me)),onTooltipClose:ue[10]||(ue[10]=me=>B.$emit("tooltip-close",me)),onTimePickerOpen:ue[11]||(ue[11]=me=>B.$emit("time-picker-open",me)),onTimePickerClose:ue[12]||(ue[12]=me=>B.$emit("time-picker-close",me)),onAmPmChange:ue[13]||(ue[13]=me=>B.$emit("am-pm-change",me)),onRangeStart:ue[14]||(ue[14]=me=>B.$emit("range-start",me)),onRangeEnd:ue[15]||(ue[15]=me=>B.$emit("range-end",me)),onDateUpdate:ue[16]||(ue[16]=me=>B.$emit("date-update",me)),onInvalidDate:ue[17]||(ue[17]=me=>B.$emit("invalid-date",me)),onOverlayToggle:ue[18]||(ue[18]=me=>B.$emit("overlay-toggle",me)),onMenuBlur:ue[19]||(ue[19]=me=>B.$emit("blur"))}),ot({_:2},[Fe(i(H),(me,At)=>({name:me,fn:De(Mt=>[ie(B.$slots,me,Ze(it({...Mt})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):G("",!0)]),_:3},8,["name","css"])]),_:3},16))],10,di))}}),zr=(()=>{const e=ci;return e.install=t=>{t.component("Vue3DatePicker",e)},e})(),vi=Object.freeze(Object.defineProperty({__proto__:null,default:zr},Symbol.toStringTag,{value:"Module"}));Object.entries(vi).forEach(([e,t])=>{e!=="default"&&(zr[e]=t)});export{zr as Q}; +import{J as tt,X as Kt,r as K,Y as ha,o as at,Z as mt,$ as ia,H as yt,q as j,c as z,b as vt,j as Oe,a0 as ot,i as Fe,w as De,a1 as ie,a2 as Ze,a3 as it,u as i,a4 as Je,a5 as Yn,d as G,k as da,l as Na,a6 as Ur,n as xe,a7 as Qr,E as ka,a8 as jr,a9 as Cn,f as T,a as ge,V as ga,F as ke,s as pt,t as lt,O as Gr,aa as Kr,e as Rt,M as Xr,N as Zr,ab as Jr,m as Aa,ac as Ya,C as el}from"./index-D5fbjBmH.js";const Jn=6048e5,tl=864e5,al=6e4,er=36e5,nl=1e3,Rn=Symbol.for("constructDateFrom");function Se(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Rn in e?e[Rn](t):e instanceof Date?new e.constructor(t):new Date(t)}function pe(e,t){return Se(t||e,e)}function ft(e,t,n){const a=pe(e,n?.in);return isNaN(t)?Se(n?.in||e,NaN):(t&&a.setDate(a.getDate()+t),a)}function bt(e,t,n){const a=pe(e,n?.in);if(isNaN(t))return Se(e,NaN);if(!t)return a;const r=a.getDate(),o=Se(e,a.getTime());o.setMonth(a.getMonth()+t+1,0);const s=o.getDate();return r>=s?o:(a.setFullYear(o.getFullYear(),o.getMonth(),r),a)}function tr(e,t,n){const{years:a=0,months:r=0,weeks:o=0,days:s=0,hours:c=0,minutes:d=0,seconds:P=0}=t,v=pe(e,n?.in),m=r||a?bt(v,r+a*12):v,p=s||o?ft(m,s+o*7):m,x=d+c*60,R=(P+x*60)*1e3;return Se(e,+p+R)}function rl(e,t,n){return Se(e,+pe(e)+t)}function ll(e,t,n){return rl(e,t*er)}let ol={};function Xt(){return ol}function _t(e,t){const n=Xt(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=pe(e,t?.in),o=r.getDay(),s=(o=o.getTime()?a+1:n.getTime()>=c.getTime()?a:a-1}function Ca(e){const t=pe(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Da(e,...t){const n=Se.bind(null,t.find(a=>typeof a=="object"));return t.map(n)}function Sn(e,t){const n=pe(e,t?.in);return n.setHours(0,0,0,0),n}function nr(e,t,n){const[a,r]=Da(n?.in,e,t),o=Sn(a),s=Sn(r),c=+o-Ca(o),d=+s-Ca(s);return Math.round((c-d)/tl)}function sl(e,t){const n=ar(e,t),a=Se(e,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),na(a)}function ul(e,t,n){return bt(e,t*3,n)}function mn(e,t,n){return bt(e,t*12,n)}function Nn(e,t){const n=+pe(e)-+pe(t);return n<0?-1:n>0?1:n}function rr(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function pa(e){return!(!rr(e)&&typeof e!="number"||isNaN(+pe(e)))}function In(e,t){const n=pe(e,t?.in);return Math.trunc(n.getMonth()/3)+1}function il(e,t,n){const[a,r]=Da(n?.in,e,t);return a.getFullYear()-r.getFullYear()}function dl(e,t,n){const[a,r]=Da(n?.in,e,t),o=Nn(a,r),s=Math.abs(il(a,r));a.setFullYear(1584),r.setFullYear(1584);const c=Nn(a,r)===-o,d=o*(s-+c);return d===0?0:d}function lr(e,t){const[n,a]=Da(e,t.start,t.end);return{start:n,end:a}}function or(e,t){const{start:n,end:a}=lr(t?.in,e);let r=+n>+a;const o=r?+n:+a,s=r?a:n;s.setHours(0,0,0,0);let c=1;const d=[];for(;+s<=o;)d.push(Se(n,s)),s.setDate(s.getDate()+c),s.setHours(0,0,0,0);return r?d.reverse():d}function Ut(e,t){const n=pe(e,t?.in),a=n.getMonth(),r=a-a%3;return n.setMonth(r,1),n.setHours(0,0,0,0),n}function cl(e,t){const{start:n,end:a}=lr(t?.in,e);let r=+n>+a;const o=r?+Ut(n):+Ut(a);let s=Ut(r?a:n),c=1;const d=[];for(;+s<=o;)d.push(Se(n,s)),s=ul(s,c);return r?d.reverse():d}function vl(e,t){const n=pe(e,t?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function sr(e,t){const n=pe(e,t?.in),a=n.getFullYear();return n.setFullYear(a+1,0,0),n.setHours(23,59,59,999),n}function wa(e,t){const n=pe(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function ur(e,t){const n=Xt(),a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,r=pe(e,t?.in),o=r.getDay(),s=(o{let a;const r=ml[e];return typeof r=="string"?a=r:t===1?a=r.one:a=r.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function Qa(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const pl={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},yl={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},hl={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},gl={date:Qa({formats:pl,defaultWidth:"full"}),time:Qa({formats:yl,defaultWidth:"full"}),dateTime:Qa({formats:hl,defaultWidth:"full"})},wl={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},bl=(e,t,n,a)=>wl[e];function va(e){return(t,n)=>{const a=n?.context?String(n.context):"standalone";let r;if(a==="formatting"&&e.formattingValues){const s=e.defaultFormattingWidth||e.defaultWidth,c=n?.width?String(n.width):s;r=e.formattingValues[c]||e.formattingValues[s]}else{const s=e.defaultWidth,c=n?.width?String(n.width):e.defaultWidth;r=e.values[c]||e.values[s]}const o=e.argumentCallback?e.argumentCallback(t):t;return r[o]}}const _l={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},kl={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Dl={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},xl={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Ml={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Pl={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Tl=(e,t)=>{const n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Ol={ordinalNumber:Tl,era:va({values:_l,defaultWidth:"wide"}),quarter:va({values:kl,defaultWidth:"wide",argumentCallback:e=>e-1}),month:va({values:Dl,defaultWidth:"wide"}),day:va({values:xl,defaultWidth:"wide"}),dayPeriod:va({values:Ml,defaultWidth:"wide",formattingValues:Pl,defaultFormattingWidth:"wide"})};function ma(e){return(t,n={})=>{const a=n.width,r=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=t.match(r);if(!o)return null;const s=o[0],c=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(c)?Al(c,m=>m.test(s)):$l(c,m=>m.test(s));let P;P=e.valueCallback?e.valueCallback(d):d,P=n.valueCallback?n.valueCallback(P):P;const v=t.slice(s.length);return{value:P,rest:v}}}function $l(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Al(e,t){for(let n=0;n{const a=t.match(e.matchPattern);if(!a)return null;const r=a[0],o=t.match(e.parsePattern);if(!o)return null;let s=e.valueCallback?e.valueCallback(o[0]):o[0];s=n.valueCallback?n.valueCallback(s):s;const c=t.slice(r.length);return{value:s,rest:c}}}const Cl=/^(\d+)(th|st|nd|rd)?/i,Rl=/\d+/i,Sl={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Nl={any:[/^b/i,/^(a|c)/i]},Il={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},El={any:[/1/i,/2/i,/3/i,/4/i]},Fl={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Bl={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Ll={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Hl={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Vl={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Wl={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},zl={ordinalNumber:Yl({matchPattern:Cl,parsePattern:Rl,valueCallback:e=>parseInt(e,10)}),era:ma({matchPatterns:Sl,defaultMatchWidth:"wide",parsePatterns:Nl,defaultParseWidth:"any"}),quarter:ma({matchPatterns:Il,defaultMatchWidth:"wide",parsePatterns:El,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ma({matchPatterns:Fl,defaultMatchWidth:"wide",parsePatterns:Bl,defaultParseWidth:"any"}),day:ma({matchPatterns:Ll,defaultMatchWidth:"wide",parsePatterns:Hl,defaultParseWidth:"any"}),dayPeriod:ma({matchPatterns:Vl,defaultMatchWidth:"any",parsePatterns:Wl,defaultParseWidth:"any"})},ir={code:"en-US",formatDistance:fl,formatLong:gl,formatRelative:bl,localize:Ol,match:zl,options:{weekStartsOn:0,firstWeekContainsDate:1}};function ql(e,t){const n=pe(e,t?.in);return nr(n,wa(n))+1}function fn(e,t){const n=pe(e,t?.in),a=+na(n)-+sl(n);return Math.round(a/Jn)+1}function pn(e,t){const n=pe(e,t?.in),a=n.getFullYear(),r=Xt(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,s=Se(t?.in||e,0);s.setFullYear(a+1,0,o),s.setHours(0,0,0,0);const c=_t(s,t),d=Se(t?.in||e,0);d.setFullYear(a,0,o),d.setHours(0,0,0,0);const P=_t(d,t);return+n>=+c?a+1:+n>=+P?a:a-1}function Ul(e,t){const n=Xt(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,r=pn(e,t),o=Se(t?.in||e,0);return o.setFullYear(r,0,a),o.setHours(0,0,0,0),_t(o,t)}function yn(e,t){const n=pe(e,t?.in),a=+_t(n,t)-+Ul(n,t);return Math.round(a/Jn)+1}function Re(e,t){const n=e<0?"-":"",a=Math.abs(e).toString().padStart(t,"0");return n+a}const It={y(e,t){const n=e.getFullYear(),a=n>0?n:1-n;return Re(t==="yy"?a%100:a,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):Re(n+1,2)},d(e,t){return Re(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return Re(e.getHours()%12||12,t.length)},H(e,t){return Re(e.getHours(),t.length)},m(e,t){return Re(e.getMinutes(),t.length)},s(e,t){return Re(e.getSeconds(),t.length)},S(e,t){const n=t.length,a=e.getMilliseconds(),r=Math.trunc(a*Math.pow(10,n-3));return Re(r,t.length)}},Zt={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Fn={G:function(e,t,n){const a=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});case"GGGG":default:return n.era(a,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const a=e.getFullYear(),r=a>0?a:1-a;return n.ordinalNumber(r,{unit:"year"})}return It.y(e,t)},Y:function(e,t,n,a){const r=pn(e,a),o=r>0?r:1-r;if(t==="YY"){const s=o%100;return Re(s,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):Re(o,t.length)},R:function(e,t){const n=ar(e);return Re(n,t.length)},u:function(e,t){const n=e.getFullYear();return Re(n,t.length)},Q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return Re(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,n){const a=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return Re(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,n){const a=e.getMonth();switch(t){case"M":case"MM":return It.M(e,t);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,n){const a=e.getMonth();switch(t){case"L":return String(a+1);case"LL":return Re(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,n,a){const r=yn(e,a);return t==="wo"?n.ordinalNumber(r,{unit:"week"}):Re(r,t.length)},I:function(e,t,n){const a=fn(e);return t==="Io"?n.ordinalNumber(a,{unit:"week"}):Re(a,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):It.d(e,t)},D:function(e,t,n){const a=ql(e);return t==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):Re(a,t.length)},E:function(e,t,n){const a=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});case"EEEE":default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,n,a){const r=e.getDay(),o=(r-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return Re(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,a){const r=e.getDay(),o=(r-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return Re(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){const a=e.getDay(),r=a===0?7:a;switch(t){case"i":return String(r);case"ii":return Re(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});case"iiii":default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const a=e.getHours();let r;switch(a===12?r=Zt.noon:a===0?r=Zt.midnight:r=a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){const a=e.getHours();let r;switch(a>=17?r=Zt.evening:a>=12?r=Zt.afternoon:a>=4?r=Zt.morning:r=Zt.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let a=e.getHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return It.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):It.H(e,t)},K:function(e,t,n){const a=e.getHours()%12;return t==="Ko"?n.ordinalNumber(a,{unit:"hour"}):Re(a,t.length)},k:function(e,t,n){let a=e.getHours();return a===0&&(a=24),t==="ko"?n.ordinalNumber(a,{unit:"hour"}):Re(a,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):It.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):It.s(e,t)},S:function(e,t){return It.S(e,t)},X:function(e,t,n){const a=e.getTimezoneOffset();if(a===0)return"Z";switch(t){case"X":return Ln(a);case"XXXX":case"XX":return qt(a);case"XXXXX":case"XXX":default:return qt(a,":")}},x:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"x":return Ln(a);case"xxxx":case"xx":return qt(a);case"xxxxx":case"xxx":default:return qt(a,":")}},O:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Bn(a,":");case"OOOO":default:return"GMT"+qt(a,":")}},z:function(e,t,n){const a=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Bn(a,":");case"zzzz":default:return"GMT"+qt(a,":")}},t:function(e,t,n){const a=Math.trunc(+e/1e3);return Re(a,t.length)},T:function(e,t,n){return Re(+e,t.length)}};function Bn(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),r=Math.trunc(a/60),o=a%60;return o===0?n+String(r):n+String(r)+t+Re(o,2)}function Ln(e,t){return e%60===0?(e>0?"-":"+")+Re(Math.abs(e)/60,2):qt(e,t)}function qt(e,t=""){const n=e>0?"-":"+",a=Math.abs(e),r=Re(Math.trunc(a/60),2),o=Re(a%60,2);return n+r+t+o}const Hn=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},dr=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Ql=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],a=n[1],r=n[2];if(!r)return Hn(e,t);let o;switch(a){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",Hn(a,t)).replace("{{time}}",dr(r,t))},ln={p:dr,P:Ql},jl=/^D+$/,Gl=/^Y+$/,Kl=["D","DD","YY","YYYY"];function cr(e){return jl.test(e)}function vr(e){return Gl.test(e)}function on(e,t,n){const a=Xl(e,t,n);if(console.warn(a),Kl.includes(e))throw new RangeError(a)}function Xl(e,t,n){const a=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${a} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Zl=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Jl=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eo=/^'([^]*?)'?$/,to=/''/g,ao=/[a-zA-Z]/;function $t(e,t,n){const a=Xt(),r=n?.locale??a.locale??ir,o=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,s=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,c=pe(e,n?.in);if(!pa(c))throw new RangeError("Invalid time value");let d=t.match(Jl).map(v=>{const m=v[0];if(m==="p"||m==="P"){const p=ln[m];return p(v,r.formatLong)}return v}).join("").match(Zl).map(v=>{if(v==="''")return{isToken:!1,value:"'"};const m=v[0];if(m==="'")return{isToken:!1,value:no(v)};if(Fn[m])return{isToken:!0,value:v};if(m.match(ao))throw new RangeError("Format string contains an unescaped latin alphabet character `"+m+"`");return{isToken:!1,value:v}});r.localize.preprocessor&&(d=r.localize.preprocessor(c,d));const P={firstWeekContainsDate:o,weekStartsOn:s,locale:r};return d.map(v=>{if(!v.isToken)return v.value;const m=v.value;(!n?.useAdditionalWeekYearTokens&&vr(m)||!n?.useAdditionalDayOfYearTokens&&cr(m))&&on(m,t,String(e));const p=Fn[m[0]];return p(c,m,r.localize,P)}).join("")}function no(e){const t=e.match(eo);return t?t[1].replace(to,"'"):e}function ro(e,t){return pe(e,t?.in).getDay()}function lo(e,t){const n=pe(e,t?.in),a=n.getFullYear(),r=n.getMonth(),o=Se(n,0);return o.setFullYear(a,r+1,0),o.setHours(0,0,0,0),o.getDate()}function oo(){return Object.assign({},Xt())}function St(e,t){return pe(e,t?.in).getHours()}function so(e,t){const n=pe(e,t?.in).getDay();return n===0?7:n}function Ht(e,t){return pe(e,t?.in).getMinutes()}function Pe(e,t){return pe(e,t?.in).getMonth()}function ra(e){return pe(e).getSeconds()}function he(e,t){return pe(e,t?.in).getFullYear()}function Gt(e,t){return+pe(e)>+pe(t)}function la(e,t){return+pe(e)<+pe(t)}function ta(e,t){return+pe(e)==+pe(t)}function uo(e,t){const n=io(t)?new t(0):Se(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}function io(e){return typeof e=="function"&&e.prototype?.constructor===e}const co=10;class mr{subPriority=0;validate(t,n){return!0}}class vo extends mr{constructor(t,n,a,r,o){super(),this.value=t,this.validateValue=n,this.setValue=a,this.priority=r,o&&(this.subPriority=o)}validate(t,n){return this.validateValue(t,this.value,n)}set(t,n,a){return this.setValue(t,n,this.value,a)}}class mo extends mr{priority=co;subPriority=-1;constructor(t,n){super(),this.context=t||(a=>Se(n,a))}set(t,n){return n.timestampIsSet?t:Se(t,uo(t,this.context))}}class Ae{run(t,n,a,r){const o=this.parse(t,n,a,r);return o?{setter:new vo(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(t,n,a){return!0}}class fo extends Ae{priority=140;parse(t,n,a){switch(n){case"G":case"GG":case"GGG":return a.era(t,{width:"abbreviated"})||a.era(t,{width:"narrow"});case"GGGGG":return a.era(t,{width:"narrow"});case"GGGG":default:return a.era(t,{width:"wide"})||a.era(t,{width:"abbreviated"})||a.era(t,{width:"narrow"})}}set(t,n,a){return n.era=a,t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["R","u","t","T"]}const Ue={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Pt={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Qe(e,t){return e&&{value:t(e.value),rest:e.rest}}function Le(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Tt(e,t){const n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};const a=n[1]==="+"?1:-1,r=n[2]?parseInt(n[2],10):0,o=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:a*(r*er+o*al+s*nl),rest:t.slice(n[0].length)}}function fr(e){return Le(Ue.anyDigitsSigned,e)}function Ve(e,t){switch(e){case 1:return Le(Ue.singleDigit,t);case 2:return Le(Ue.twoDigits,t);case 3:return Le(Ue.threeDigits,t);case 4:return Le(Ue.fourDigits,t);default:return Le(new RegExp("^\\d{1,"+e+"}"),t)}}function Ra(e,t){switch(e){case 1:return Le(Ue.singleDigitSigned,t);case 2:return Le(Ue.twoDigitsSigned,t);case 3:return Le(Ue.threeDigitsSigned,t);case 4:return Le(Ue.fourDigitsSigned,t);default:return Le(new RegExp("^-?\\d{1,"+e+"}"),t)}}function hn(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function pr(e,t){const n=t>0,a=n?t:1-t;let r;if(a<=50)r=e||100;else{const o=a+50,s=Math.trunc(o/100)*100,c=e>=o%100;r=e+s-(c?100:0)}return n?r:1-r}function yr(e){return e%400===0||e%4===0&&e%100!==0}class po extends Ae{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(t,n,a){const r=o=>({year:o,isTwoDigitYear:n==="yy"});switch(n){case"y":return Qe(Ve(4,t),r);case"yo":return Qe(a.ordinalNumber(t,{unit:"year"}),r);default:return Qe(Ve(n.length,t),r)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,a){const r=t.getFullYear();if(a.isTwoDigitYear){const s=pr(a.year,r);return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}const o=!("era"in n)||n.era===1?a.year:1-a.year;return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}class yo extends Ae{priority=130;parse(t,n,a){const r=o=>({year:o,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Qe(Ve(4,t),r);case"Yo":return Qe(a.ordinalNumber(t,{unit:"year"}),r);default:return Qe(Ve(n.length,t),r)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,a,r){const o=pn(t,r);if(a.isTwoDigitYear){const c=pr(a.year,o);return t.setFullYear(c,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),_t(t,r)}const s=!("era"in n)||n.era===1?a.year:1-a.year;return t.setFullYear(s,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),_t(t,r)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}class ho extends Ae{priority=130;parse(t,n){return Ra(n==="R"?4:n.length,t)}set(t,n,a){const r=Se(t,0);return r.setFullYear(a,0,4),r.setHours(0,0,0,0),na(r)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}class go extends Ae{priority=130;parse(t,n){return Ra(n==="u"?4:n.length,t)}set(t,n,a){return t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}class wo extends Ae{priority=120;parse(t,n,a){switch(n){case"Q":case"QQ":return Ve(n.length,t);case"Qo":return a.ordinalNumber(t,{unit:"quarter"});case"QQQ":return a.quarter(t,{width:"abbreviated",context:"formatting"})||a.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(t,{width:"wide",context:"formatting"})||a.quarter(t,{width:"abbreviated",context:"formatting"})||a.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,a){return t.setMonth((a-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}class bo extends Ae{priority=120;parse(t,n,a){switch(n){case"q":case"qq":return Ve(n.length,t);case"qo":return a.ordinalNumber(t,{unit:"quarter"});case"qqq":return a.quarter(t,{width:"abbreviated",context:"standalone"})||a.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(t,{width:"wide",context:"standalone"})||a.quarter(t,{width:"abbreviated",context:"standalone"})||a.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,a){return t.setMonth((a-1)*3,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}class _o extends Ae{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(t,n,a){const r=o=>o-1;switch(n){case"M":return Qe(Le(Ue.month,t),r);case"MM":return Qe(Ve(2,t),r);case"Mo":return Qe(a.ordinalNumber(t,{unit:"month"}),r);case"MMM":return a.month(t,{width:"abbreviated",context:"formatting"})||a.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(t,{width:"wide",context:"formatting"})||a.month(t,{width:"abbreviated",context:"formatting"})||a.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,a){return t.setMonth(a,1),t.setHours(0,0,0,0),t}}class ko extends Ae{priority=110;parse(t,n,a){const r=o=>o-1;switch(n){case"L":return Qe(Le(Ue.month,t),r);case"LL":return Qe(Ve(2,t),r);case"Lo":return Qe(a.ordinalNumber(t,{unit:"month"}),r);case"LLL":return a.month(t,{width:"abbreviated",context:"standalone"})||a.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(t,{width:"wide",context:"standalone"})||a.month(t,{width:"abbreviated",context:"standalone"})||a.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,a){return t.setMonth(a,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}function Do(e,t,n){const a=pe(e,n?.in),r=yn(a,n)-t;return a.setDate(a.getDate()-r*7),pe(a,n?.in)}class xo extends Ae{priority=100;parse(t,n,a){switch(n){case"w":return Le(Ue.week,t);case"wo":return a.ordinalNumber(t,{unit:"week"});default:return Ve(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,a,r){return _t(Do(t,a,r),r)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}function Mo(e,t,n){const a=pe(e,n?.in),r=fn(a,n)-t;return a.setDate(a.getDate()-r*7),a}class Po extends Ae{priority=100;parse(t,n,a){switch(n){case"I":return Le(Ue.week,t);case"Io":return a.ordinalNumber(t,{unit:"week"});default:return Ve(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,a){return na(Mo(t,a))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}const To=[31,28,31,30,31,30,31,31,30,31,30,31],Oo=[31,29,31,30,31,30,31,31,30,31,30,31];class $o extends Ae{priority=90;subPriority=1;parse(t,n,a){switch(n){case"d":return Le(Ue.date,t);case"do":return a.ordinalNumber(t,{unit:"date"});default:return Ve(n.length,t)}}validate(t,n){const a=t.getFullYear(),r=yr(a),o=t.getMonth();return r?n>=1&&n<=Oo[o]:n>=1&&n<=To[o]}set(t,n,a){return t.setDate(a),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}class Ao extends Ae{priority=90;subpriority=1;parse(t,n,a){switch(n){case"D":case"DD":return Le(Ue.dayOfYear,t);case"Do":return a.ordinalNumber(t,{unit:"date"});default:return Ve(n.length,t)}}validate(t,n){const a=t.getFullYear();return yr(a)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,a){return t.setMonth(0,a),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}function gn(e,t,n){const a=Xt(),r=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,o=pe(e,n?.in),s=o.getDay(),d=(t%7+7)%7,P=7-r,v=t<0||t>6?t-(s+P)%7:(d+P)%7-(s+P)%7;return ft(o,v,n)}class Yo extends Ae{priority=90;parse(t,n,a){switch(n){case"E":case"EE":case"EEE":return a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return a.day(t,{width:"wide",context:"formatting"})||a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,a,r){return t=gn(t,a,r),t.setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]}class Co extends Ae{priority=90;parse(t,n,a,r){const o=s=>{const c=Math.floor((s-1)/7)*7;return(s+r.weekStartsOn+6)%7+c};switch(n){case"e":case"ee":return Qe(Ve(n.length,t),o);case"eo":return Qe(a.ordinalNumber(t,{unit:"day"}),o);case"eee":return a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"eeeee":return a.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return a.day(t,{width:"wide",context:"formatting"})||a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,a,r){return t=gn(t,a,r),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}class Ro extends Ae{priority=90;parse(t,n,a,r){const o=s=>{const c=Math.floor((s-1)/7)*7;return(s+r.weekStartsOn+6)%7+c};switch(n){case"c":case"cc":return Qe(Ve(n.length,t),o);case"co":return Qe(a.ordinalNumber(t,{unit:"day"}),o);case"ccc":return a.day(t,{width:"abbreviated",context:"standalone"})||a.day(t,{width:"short",context:"standalone"})||a.day(t,{width:"narrow",context:"standalone"});case"ccccc":return a.day(t,{width:"narrow",context:"standalone"});case"cccccc":return a.day(t,{width:"short",context:"standalone"})||a.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return a.day(t,{width:"wide",context:"standalone"})||a.day(t,{width:"abbreviated",context:"standalone"})||a.day(t,{width:"short",context:"standalone"})||a.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,a,r){return t=gn(t,a,r),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}function So(e,t,n){const a=pe(e,n?.in),r=so(a,n),o=t-r;return ft(a,o,n)}class No extends Ae{priority=90;parse(t,n,a){const r=o=>o===0?7:o;switch(n){case"i":case"ii":return Ve(n.length,t);case"io":return a.ordinalNumber(t,{unit:"day"});case"iii":return Qe(a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"}),r);case"iiiii":return Qe(a.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return Qe(a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"}),r);case"iiii":default:return Qe(a.day(t,{width:"wide",context:"formatting"})||a.day(t,{width:"abbreviated",context:"formatting"})||a.day(t,{width:"short",context:"formatting"})||a.day(t,{width:"narrow",context:"formatting"}),r)}}validate(t,n){return n>=1&&n<=7}set(t,n,a){return t=So(t,a),t.setHours(0,0,0,0),t}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}class Io extends Ae{priority=80;parse(t,n,a){switch(n){case"a":case"aa":case"aaa":return a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(t,{width:"wide",context:"formatting"})||a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,a){return t.setHours(hn(a),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]}class Eo extends Ae{priority=80;parse(t,n,a){switch(n){case"b":case"bb":case"bbb":return a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(t,{width:"wide",context:"formatting"})||a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,a){return t.setHours(hn(a),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]}class Fo extends Ae{priority=80;parse(t,n,a){switch(n){case"B":case"BB":case"BBB":return a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(t,{width:"wide",context:"formatting"})||a.dayPeriod(t,{width:"abbreviated",context:"formatting"})||a.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,a){return t.setHours(hn(a),0,0,0),t}incompatibleTokens=["a","b","t","T"]}class Bo extends Ae{priority=70;parse(t,n,a){switch(n){case"h":return Le(Ue.hour12h,t);case"ho":return a.ordinalNumber(t,{unit:"hour"});default:return Ve(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,a){const r=t.getHours()>=12;return r&&a<12?t.setHours(a+12,0,0,0):!r&&a===12?t.setHours(0,0,0,0):t.setHours(a,0,0,0),t}incompatibleTokens=["H","K","k","t","T"]}class Lo extends Ae{priority=70;parse(t,n,a){switch(n){case"H":return Le(Ue.hour23h,t);case"Ho":return a.ordinalNumber(t,{unit:"hour"});default:return Ve(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,a){return t.setHours(a,0,0,0),t}incompatibleTokens=["a","b","h","K","k","t","T"]}class Ho extends Ae{priority=70;parse(t,n,a){switch(n){case"K":return Le(Ue.hour11h,t);case"Ko":return a.ordinalNumber(t,{unit:"hour"});default:return Ve(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,a){return t.getHours()>=12&&a<12?t.setHours(a+12,0,0,0):t.setHours(a,0,0,0),t}incompatibleTokens=["h","H","k","t","T"]}class Vo extends Ae{priority=70;parse(t,n,a){switch(n){case"k":return Le(Ue.hour24h,t);case"ko":return a.ordinalNumber(t,{unit:"hour"});default:return Ve(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,a){const r=a<=24?a%24:a;return t.setHours(r,0,0,0),t}incompatibleTokens=["a","b","h","H","K","t","T"]}class Wo extends Ae{priority=60;parse(t,n,a){switch(n){case"m":return Le(Ue.minute,t);case"mo":return a.ordinalNumber(t,{unit:"minute"});default:return Ve(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,a){return t.setMinutes(a,0,0),t}incompatibleTokens=["t","T"]}class zo extends Ae{priority=50;parse(t,n,a){switch(n){case"s":return Le(Ue.second,t);case"so":return a.ordinalNumber(t,{unit:"second"});default:return Ve(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,a){return t.setSeconds(a,0),t}incompatibleTokens=["t","T"]}class qo extends Ae{priority=30;parse(t,n){const a=r=>Math.trunc(r*Math.pow(10,-n.length+3));return Qe(Ve(n.length,t),a)}set(t,n,a){return t.setMilliseconds(a),t}incompatibleTokens=["t","T"]}class Uo extends Ae{priority=10;parse(t,n){switch(n){case"X":return Tt(Pt.basicOptionalMinutes,t);case"XX":return Tt(Pt.basic,t);case"XXXX":return Tt(Pt.basicOptionalSeconds,t);case"XXXXX":return Tt(Pt.extendedOptionalSeconds,t);case"XXX":default:return Tt(Pt.extended,t)}}set(t,n,a){return n.timestampIsSet?t:Se(t,t.getTime()-Ca(t)-a)}incompatibleTokens=["t","T","x"]}class Qo extends Ae{priority=10;parse(t,n){switch(n){case"x":return Tt(Pt.basicOptionalMinutes,t);case"xx":return Tt(Pt.basic,t);case"xxxx":return Tt(Pt.basicOptionalSeconds,t);case"xxxxx":return Tt(Pt.extendedOptionalSeconds,t);case"xxx":default:return Tt(Pt.extended,t)}}set(t,n,a){return n.timestampIsSet?t:Se(t,t.getTime()-Ca(t)-a)}incompatibleTokens=["t","T","X"]}class jo extends Ae{priority=40;parse(t){return fr(t)}set(t,n,a){return[Se(t,a*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"}class Go extends Ae{priority=20;parse(t){return fr(t)}set(t,n,a){return[Se(t,a),{timestampIsSet:!0}]}incompatibleTokens="*"}const Ko={G:new fo,y:new po,Y:new yo,R:new ho,u:new go,Q:new wo,q:new bo,M:new _o,L:new ko,w:new xo,I:new Po,d:new $o,D:new Ao,E:new Yo,e:new Co,c:new Ro,i:new No,a:new Io,b:new Eo,B:new Fo,h:new Bo,H:new Lo,K:new Ho,k:new Vo,m:new Wo,s:new zo,S:new qo,X:new Uo,x:new Qo,t:new jo,T:new Go},Xo=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Zo=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Jo=/^'([^]*?)'?$/,es=/''/g,ts=/\S/,as=/[a-zA-Z]/;function sn(e,t,n,a){const r=()=>Se(a?.in||n,NaN),o=oo(),s=a?.locale??o.locale??ir,c=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,d=a?.weekStartsOn??a?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0;if(!t)return e?r():pe(n,a?.in);const P={firstWeekContainsDate:c,weekStartsOn:d,locale:s},v=[new mo(a?.in,n)],m=t.match(Zo).map(M=>{const b=M[0];if(b in ln){const S=ln[b];return S(M,s.formatLong)}return M}).join("").match(Xo),p=[];for(let M of m){!a?.useAdditionalWeekYearTokens&&vr(M)&&on(M,t,e),!a?.useAdditionalDayOfYearTokens&&cr(M)&&on(M,t,e);const b=M[0],S=Ko[b];if(S){const{incompatibleTokens:C}=S;if(Array.isArray(C)){const U=p.find(Y=>C.includes(Y.token)||Y.token===b);if(U)throw new RangeError(`The format string mustn't contain \`${U.fullToken}\` and \`${M}\` at the same time`)}else if(S.incompatibleTokens==="*"&&p.length>0)throw new RangeError(`The format string mustn't contain \`${M}\` and any other token at the same time`);p.push({token:b,fullToken:M});const L=S.run(e,M,s.match,P);if(!L)return r();v.push(L.setter),e=L.rest}else{if(b.match(as))throw new RangeError("Format string contains an unescaped latin alphabet character `"+b+"`");if(M==="''"?M="'":b==="'"&&(M=ns(M)),e.indexOf(M)===0)e=e.slice(M.length);else return r()}}if(e.length>0&&ts.test(e))return r();const x=v.map(M=>M.priority).sort((M,b)=>b-M).filter((M,b,S)=>S.indexOf(M)===b).map(M=>v.filter(b=>b.priority===M).sort((b,S)=>S.subPriority-b.subPriority)).map(M=>M[0]);let A=pe(n,a?.in);if(isNaN(+A))return r();const R={};for(const M of x){if(!M.validate(A,P))return r();const b=M.set(A,R,P);Array.isArray(b)?(A=b[0],Object.assign(R,b[1])):A=b}return A}function ns(e){return e.match(Jo)[1].replace(es,"'")}function Vn(e,t,n){const[a,r]=Da(n?.in,e,t);return+Ut(a)==+Ut(r)}function hr(e,t,n){return ft(e,-t,n)}function gr(e,t,n){const a=pe(e,n?.in),r=a.getFullYear(),o=a.getDate(),s=Se(e,0);s.setFullYear(r,t,15),s.setHours(0,0,0,0);const c=lo(s);return a.setMonth(t,Math.min(o,c)),a}function Ne(e,t,n){let a=pe(e,n?.in);return isNaN(+a)?Se(e,NaN):(t.year!=null&&a.setFullYear(t.year),t.month!=null&&(a=gr(a,t.month)),t.date!=null&&a.setDate(t.date),t.hours!=null&&a.setHours(t.hours),t.minutes!=null&&a.setMinutes(t.minutes),t.seconds!=null&&a.setSeconds(t.seconds),t.milliseconds!=null&&a.setMilliseconds(t.milliseconds),a)}function rs(e,t,n){const a=pe(e,n?.in);return a.setHours(t),a}function wr(e,t,n){const a=pe(e,n?.in);return a.setMilliseconds(t),a}function ls(e,t,n){const a=pe(e,n?.in);return a.setMinutes(t),a}function br(e,t,n){const a=pe(e,n?.in);return a.setSeconds(t),a}function Ot(e,t,n){const a=pe(e,n?.in);return isNaN(+a)?Se(e,NaN):(a.setFullYear(t),a)}function oa(e,t,n){return bt(e,-t,n)}function os(e,t,n){const{years:a=0,months:r=0,weeks:o=0,days:s=0,hours:c=0,minutes:d=0,seconds:P=0}=t,v=oa(e,r+a*12,n),m=hr(v,s+o*7,n),p=d+c*60,A=(P+p*60)*1e3;return Se(e,+m-A)}function _r(e,t,n){return mn(e,-t,n)}function ca(){const e=Kr();return T(),z("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img",...e},[ge("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),ge("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),ge("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),ge("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}ca.compatConfig={MODE:3};function kr(){return T(),z("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[ge("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),ge("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}kr.compatConfig={MODE:3};function wn(){return T(),z("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[ge("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}wn.compatConfig={MODE:3};function bn(){return T(),z("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[ge("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}bn.compatConfig={MODE:3};function _n(){return T(),z("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[ge("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),ge("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}_n.compatConfig={MODE:3};function kn(){return T(),z("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[ge("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}kn.compatConfig={MODE:3};function Dn(){return T(),z("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[ge("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Dn.compatConfig={MODE:3};const dt=(e,t)=>t?new Date(e.toLocaleString("en-US",{timeZone:t})):new Date(e),xn=(e,t,n)=>un(e,t,n)||q(),ss=(e,t,n)=>{const a=t.dateInTz?dt(new Date(e),t.dateInTz):q(e);return n?et(a,!0):a},un=(e,t,n)=>{if(!e)return null;const a=n?et(q(e),!0):q(e);return t?t.exactMatch?ss(e,t,n):dt(a,t.timezone):a},us=e=>{const t=new Date(e.getFullYear(),0,1).getTimezoneOffset();return e.getTimezoneOffset(){if(!e)return 0;const n=new Date,a=new Date(n.toLocaleString("en-US",{timeZone:"UTC"})),r=new Date(n.toLocaleString("en-US",{timeZone:e})),o=(us(t??r)?r:t??r).getTimezoneOffset()/60;return(+a-+r)/(1e3*60*60)-o};var ht=(e=>(e.month="month",e.year="year",e))(ht||{}),gt=(e=>(e.top="top",e.bottom="bottom",e))(gt||{}),Qt=(e=>(e.header="header",e.calendar="calendar",e.timePicker="timePicker",e))(Qt||{}),rt=(e=>(e.month="month",e.year="year",e.calendar="calendar",e.time="time",e.minutes="minutes",e.hours="hours",e.seconds="seconds",e))(rt||{});const ds=["timestamp","date","iso"];var st=(e=>(e.up="up",e.down="down",e.left="left",e.right="right",e))(st||{}),Ee=(e=>(e.arrowUp="ArrowUp",e.arrowDown="ArrowDown",e.arrowLeft="ArrowLeft",e.arrowRight="ArrowRight",e.enter="Enter",e.space=" ",e.esc="Escape",e.tab="Tab",e.home="Home",e.end="End",e.pageUp="PageUp",e.pageDown="PageDown",e))(Ee||{}),aa=(e=>(e.MONTH_AND_YEAR="MM-yyyy",e.YEAR="yyyy",e.DATE="dd-MM-yyyy",e))(aa||{});function Wn(e){return t=>{const n=new Intl.DateTimeFormat(e,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${t}T00:00:00+00:00`));return e==="ar"?n.slice(2,5):n.slice(0,2)}}function cs(e){return t=>$t(dt(new Date(`2017-01-0${t}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:e})}const vs=(e,t,n)=>{const a=[1,2,3,4,5,6,7];let r;if(e!==null)try{r=a.map(cs(e))}catch{r=a.map(Wn(t))}else r=a.map(Wn(t));const o=r.slice(0,n),s=r.slice(n+1,r.length);return[r[n]].concat(...s).concat(...o)},Mn=(e,t,n)=>{const a=[];for(let r=+e[0];r<=+e[1];r++)a.push({value:+r,text:Pr(r,t)});return n?a.reverse():a},Dr=(e,t,n)=>{const a=[1,2,3,4,5,6,7,8,9,10,11,12].map(o=>{const s=o<10?`0${o}`:o;return new Date(`2017-${s}-01T00:00:00+00:00`)});if(e!==null)try{const o=n==="long"?"LLLL":"LLL";return a.map((s,c)=>{const d=$t(dt(s,"UTC"),o,{locale:e});return{text:d.charAt(0).toUpperCase()+d.substring(1),value:c}})}catch{}const r=new Intl.DateTimeFormat(t,{month:n,timeZone:"UTC"});return a.map((o,s)=>{const c=r.format(o);return{text:c.charAt(0).toUpperCase()+c.substring(1),value:s}})},ms=e=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][e],je=e=>{const t=i(e);return t!=null&&t.$el?t?.$el:t},fs=e=>({type:"dot",...e??{}}),xr=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,Pn={prop:e=>`"${e}" prop must be enabled!`,dateArr:e=>`You need to use array as "model-value" binding in order to support "${e}"`},Xe=e=>e,zn=e=>e===0?e:!e||isNaN(+e)?null:+e,qn=e=>e===null,Mr=e=>{if(e)return[...e.querySelectorAll("input, button, select, textarea, a[href]")][0]},ps=e=>{const t=[],n=a=>a.filter(r=>r);for(let a=0;a{const a=n!=null,r=t!=null;if(!a&&!r)return!1;const o=+n,s=+t;return a&&r?+e>o||+eo:r?+eps(e).map(n=>n.map(a=>{const{active:r,disabled:o,isBetween:s,highlighted:c}=t(a);return{...a,active:r,disabled:o,className:{dp__overlay_cell_active:r,dp__overlay_cell:!r,dp__overlay_cell_disabled:o,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:o&&r,dp__cell_in_between:s,"dp--highlighted":c}}})),Bt=(e,t,n=!1)=>{e&&t.allowStopPropagation&&(n&&e.stopImmediatePropagation(),e.stopPropagation())},ys=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function hs(e,t){let n=[...document.querySelectorAll(ys())];n=n.filter(r=>!e.contains(r)||r.hasAttribute("data-datepicker-instance"));const a=n.indexOf(e);if(a>=0&&(t?a-1>=0:a+1<=n.length))return n[a+(t?-1:1)]}const dn=(e,t)=>e?.querySelector(`[data-dp-element="${t}"]`),Pr=(e,t)=>new Intl.NumberFormat(t,{useGrouping:!1,style:"decimal"}).format(e),Tn=(e,t)=>$t(e,t??aa.DATE),ja=e=>Array.isArray(e),Sa=(e,t,n)=>t.get(Tn(e,n)),gs=(e,t)=>e?t?t instanceof Map?!!Sa(e,t):t(q(e)):!1:!0,ut=(e,t,n=!1,a)=>{if(e.key===Ee.enter||e.key===Ee.space)return n&&e.preventDefault(),t();if(a)return a(e)},ws=()=>"ontouchstart"in window||navigator.maxTouchPoints>0,Tr=(e,t)=>e?aa.MONTH_AND_YEAR:t?aa.YEAR:aa.DATE,Or=e=>e<10?`0${e}`:e,Un=(e,t,n,a,r,o)=>{const s=sn(e,t.slice(0,e.length),new Date,{locale:o});return pa(s)&&rr(s)?a||r?s:Ne(s,{hours:+n.hours,minutes:+n?.minutes,seconds:+n?.seconds,milliseconds:0}):null},bs=(e,t,n,a,r,o)=>{const s=Array.isArray(n)?n[0]:n;if(typeof t=="string")return Un(e,t,s,a,r,o);if(Array.isArray(t)){let c=null;for(const d of t)if(c=Un(e,d,s,a,r,o),c)break;return c}return typeof t=="function"?t(e):null},q=e=>e?new Date(e):new Date,_s=(e,t,n)=>{if(t){const r=(e.getMonth()+1).toString().padStart(2,"0"),o=e.getDate().toString().padStart(2,"0"),s=e.getHours().toString().padStart(2,"0"),c=e.getMinutes().toString().padStart(2,"0"),d=n?e.getSeconds().toString().padStart(2,"0"):"00";return`${e.getFullYear()}-${r}-${o}T${s}:${c}:${d}.000Z`}const a=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds());return new Date(a).toISOString()},et=(e,t)=>{const n=q(JSON.parse(JSON.stringify(e))),a=Ne(n,{hours:0,minutes:0,seconds:0,milliseconds:0});return t?vl(a):a},Lt=(e,t,n,a)=>{let r=e?q(e):q();return(t||t===0)&&(r=rs(r,+t)),(n||n===0)&&(r=ls(r,+n)),(a||a===0)&&(r=br(r,+a)),wr(r,0)},He=(e,t)=>!e||!t?!1:la(et(e),et(t)),Te=(e,t)=>!e||!t?!1:ta(et(e),et(t)),qe=(e,t)=>!e||!t?!1:Gt(et(e),et(t)),_a=(e,t,n)=>e!=null&&e[0]&&e!=null&&e[1]?qe(n,e[0])&&He(n,e[1]):e!=null&&e[0]&&t?qe(n,e[0])&&He(n,t)||He(n,e[0])&&qe(n,t):!1,wt=e=>{const t=Ne(new Date(e),{date:1});return et(t)},Ga=(e,t,n)=>t&&(n||n===0)?Object.fromEntries(["hours","minutes","seconds"].map(a=>a===t?[a,n]:[a,isNaN(+e[a])?void 0:+e[a]])):{hours:isNaN(+e.hours)?void 0:+e.hours,minutes:isNaN(+e.minutes)?void 0:+e.minutes,seconds:isNaN(+e.seconds)?void 0:+e.seconds},jt=e=>({hours:St(e),minutes:Ht(e),seconds:ra(e)}),$r=(e,t)=>{if(t){const n=he(q(t));if(n>e)return 12;if(n===e)return Pe(q(t))}},Ar=(e,t)=>{if(t){const n=he(q(t));return n{if(e)return he(q(e))},Yr=(e,t)=>{const n=qe(e,t)?t:e,a=qe(t,e)?t:e;return or({start:n,end:a})},ks=e=>{const t=bt(e,1);return{month:Pe(t),year:he(t)}},Yt=(e,t)=>{const n=_t(e,{weekStartsOn:+t}),a=ur(e,{weekStartsOn:+t});return[n,a]},Cr=(e,t)=>{const n={hours:St(q()),minutes:Ht(q()),seconds:t?ra(q()):0};return Object.assign(n,e)},Ft=(e,t,n)=>[Ne(q(e),{date:1}),Ne(q(),{month:t,year:n,date:1})],Ct=(e,t,n)=>{let a=e?q(e):q();return(t||t===0)&&(a=gr(a,t)),n&&(a=Ot(a,n)),a},Rr=(e,t,n,a,r)=>{if(!a||r&&!t||!r&&!n)return!1;const o=r?bt(e,1):oa(e,1),s=[Pe(o),he(o)];return r?!xs(...s,t):!Ds(...s,n)},Ds=(e,t,n)=>He(...Ft(n,e,t))||Te(...Ft(n,e,t)),xs=(e,t,n)=>qe(...Ft(n,e,t))||Te(...Ft(n,e,t)),Sr=(e,t,n,a,r,o,s)=>{if(typeof t=="function"&&!s)return t(e);const c=n?{locale:n}:void 0;return Array.isArray(e)?`${$t(e[0],o,c)}${r&&!e[1]?"":a}${e[1]?$t(e[1],o,c):""}`:$t(e,o,c)},Jt=e=>{if(e)return null;throw new Error(Pn.prop("partial-range"))},Oa=(e,t)=>{if(t)return e();throw new Error(Pn.prop("range"))},cn=e=>Array.isArray(e)?pa(e[0])&&(e[1]?pa(e[1]):!0):e?pa(e):!1,Ms=(e,t)=>Ne(t??q(),{hours:+e.hours||0,minutes:+e.minutes||0,seconds:+e.seconds||0}),Ka=(e,t,n,a)=>{if(!e)return!0;if(a){const r=n==="max"?la(e,t):Gt(e,t),o={seconds:0,milliseconds:0};return r||ta(Ne(e,o),Ne(t,o))}return n==="max"?e.getTime()<=t.getTime():e.getTime()>=t.getTime()},Xa=(e,t,n)=>e?Ms(e,t):q(n??t),Qn=(e,t,n,a,r)=>{if(Array.isArray(a)){const s=Xa(e,a[0],t),c=Xa(e,a[1],t);return Ka(a[0],s,n,!!t)&&Ka(a[1],c,n,!!t)&&r}const o=Xa(e,a,t);return Ka(a,o,n,!!t)&&r},Za=e=>Ne(q(),jt(e)),Ps=(e,t,n)=>{if(e instanceof Map){const a=`${Or(n+1)}-${t}`;return e.size?e.has(a):!1}return typeof e=="function"?e(et(Ne(q(),{month:n,year:t}),!0)):!1},Ts=(e,t,n)=>{if(e instanceof Map){const a=`${Or(n+1)}-${t}`;return e.size?e.has(a):!0}return!0},Nr=(e,t,n)=>typeof e=="function"?e({month:t,year:n}):!!e.months.find(a=>a.month===t&&a.year===n),On=(e,t)=>typeof e=="function"?e(t):e.years.includes(t),vn=e=>`dp-${$t(e,"yyyy-MM-dd")}`,jn=(e,t)=>{const n=hr(et(t),e),a=ft(et(t),e);return{before:n,after:a}},fa=ka({menuFocused:!1,shiftKeyInMenu:!1}),Ir=()=>{const e=n=>{fa.menuFocused=n},t=n=>{fa.shiftKeyInMenu!==n&&(fa.shiftKeyInMenu=n)};return{control:j(()=>({shiftKeyInMenu:fa.shiftKeyInMenu,menuFocused:fa.menuFocused})),setMenuFocused:e,setShiftKey:t}},Ie=ka({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),Ja=K(null),$a=K(!1),en=K(!1),tn=K(!1),an=K(!1),nt=K(0),ze=K(0),Vt=()=>{const e=j(()=>$a.value?[...Ie.selectionGrid,Ie.actionRow].filter(m=>m.length):en.value?[...Ie.timePicker[0],...Ie.timePicker[1],an.value?[]:[Ja.value],Ie.actionRow].filter(m=>m.length):tn.value?[...Ie.monthPicker,Ie.actionRow]:[Ie.monthYear,...Ie.calendar,Ie.time,Ie.actionRow].filter(m=>m.length)),t=m=>{nt.value=m?nt.value+1:nt.value-1;let p=null;e.value[ze.value]&&(p=e.value[ze.value][nt.value]),!p&&e.value[ze.value+(m?1:-1)]?(ze.value=ze.value+(m?1:-1),nt.value=m?0:e.value[ze.value].length-1):p||(nt.value=m?nt.value-1:nt.value+1)},n=m=>{ze.value===0&&!m||ze.value===e.value.length&&m||(ze.value=m?ze.value+1:ze.value-1,e.value[ze.value]?e.value[ze.value]&&!e.value[ze.value][nt.value]&&nt.value!==0&&(nt.value=e.value[ze.value].length-1):ze.value=m?ze.value-1:ze.value+1)},a=m=>{let p=null;e.value[ze.value]&&(p=e.value[ze.value][nt.value]),p?p.focus({preventScroll:!$a.value}):nt.value=m?nt.value-1:nt.value+1},r=()=>{t(!0),a(!0)},o=()=>{t(!1),a(!1)},s=()=>{n(!1),a(!0)},c=()=>{n(!0),a(!0)},d=(m,p)=>{Ie[p]=m},P=(m,p)=>{Ie[p]=m},v=()=>{nt.value=0,ze.value=0};return{buildMatrix:d,buildMultiLevelMatrix:P,setTimePickerBackRef:m=>{Ja.value=m},setSelectionGrid:m=>{$a.value=m,v(),m||(Ie.selectionGrid=[])},setTimePicker:(m,p=!1)=>{en.value=m,an.value=p,v(),m||(Ie.timePicker[0]=[],Ie.timePicker[1]=[])},setTimePickerElements:(m,p=0)=>{Ie.timePicker[p]=m},arrowRight:r,arrowLeft:o,arrowUp:s,arrowDown:c,clearArrowNav:()=>{Ie.monthYear=[],Ie.calendar=[],Ie.time=[],Ie.actionRow=[],Ie.selectionGrid=[],Ie.timePicker[0]=[],Ie.timePicker[1]=[],$a.value=!1,en.value=!1,an.value=!1,tn.value=!1,v(),Ja.value=null},setMonthPicker:m=>{tn.value=m,v()},refSets:Ie}},Gn=e=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...e??{}}),Os=e=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:t=>`Increment ${t}`,decrementValue:t=>`Decrement ${t}`,openTpOverlay:t=>`Open ${t} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,clearInput:"Clear value",calendarIcon:"Calendar icon",timePicker:"Time picker",monthPicker:t=>`Month picker${t?" overlay":""}`,yearPicker:t=>`Year picker${t?" overlay":""}`,timeOverlay:t=>`${t} overlay`,...e??{}}),Kn=e=>e?typeof e=="boolean"?e?2:0:+e>=2?+e:2:0,$s=e=>{const t=typeof e=="object"&&e,n={static:!0,solo:!1};if(!e)return{...n,count:Kn(!1)};const a=t?e:{},r=t?a.count??!0:e,o=Kn(r);return Object.assign(n,a,{count:o})},As=(e,t,n)=>e||(typeof n=="string"?n:t),Ys=e=>typeof e=="boolean"?e?Gn({}):!1:Gn(e),Cs=e=>{const t={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - ",escClose:!0};return typeof e=="object"?{...t,...e??{},enabled:!0}:{...t,enabled:e}},Rs=e=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...e??{}}),Ss=e=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...e??{}}),Ns=e=>{const t={input:!1};return typeof e=="object"?{...t,...e??{},enabled:!0}:{enabled:e,...t}},Is=e=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,arrowLeft:void 0,keepViewOnOffsetClick:!1,timeArrowHoldThreshold:0,shadowDom:!1,mobileBreakpoint:600,setDateOnMenuClose:!1,...e??{}}),Es=e=>{const t={dates:Array.isArray(e)?e.map(n=>q(n)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof e=="function"?e:{...t,...e??{}}},Fs=e=>typeof e=="object"?{type:e?.type??"local",hideOnOffsetDates:e?.hideOnOffsetDates??!1}:{type:e,hideOnOffsetDates:!1},Bs=e=>{const t={noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1};return typeof e=="object"?{enabled:!0,...t,...e}:{enabled:e,...t}},Ls=e=>e?typeof e=="string"?{timezone:e,exactMatch:!1,dateInTz:void 0,emitTimezone:void 0,convertModel:!0}:{timezone:e.timezone,exactMatch:e.exactMatch??!1,dateInTz:e.dateInTz??void 0,emitTimezone:e.emitTimezone??void 0,convertModel:e.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:void 0},nn=(e,t,n,a)=>new Map(e.map(r=>{const o=xn(r,t,a);return[Tn(o,n),o]})),Hs=(e,t)=>e.length?new Map(e.map(n=>{const a=xn(n.date,t);return[Tn(a,aa.DATE),n]})):null,Vs=e=>{var t;const n=Tr(e.isMonthPicker,e.isYearPicker);return{minDate:un(e.minDate,e.timezone,e.isSpecific),maxDate:un(e.maxDate,e.timezone,e.isSpecific),disabledDates:ja(e.disabledDates)?nn(e.disabledDates,e.timezone,n,e.isSpecific):e.disabledDates,allowedDates:ja(e.allowedDates)?nn(e.allowedDates,e.timezone,n,e.isSpecific):null,highlight:typeof e.highlight=="object"&&ja((t=e.highlight)==null?void 0:t.dates)?nn(e.highlight.dates,e.timezone,n):e.highlight,markers:Hs(e.markers,e.timezone)}},Ws=e=>typeof e=="boolean"?{enabled:e,dragSelect:!0,limit:null}:{enabled:!!e,limit:e.limit?+e.limit:null,dragSelect:e.dragSelect??!0},zs=e=>({...Object.fromEntries(Object.keys(e).map(t=>{const n=t,a=e[n],r=typeof e[n]=="string"?{[a]:!0}:Object.fromEntries(a.map(o=>[o,!0]));return[t,r]}))}),Be=e=>{const t=()=>{const Y=e.enableSeconds?":ss":"",N=e.enableMinutes?":mm":"";return e.is24?`HH${N}${Y}`:`hh${N}${Y} aa`},n=()=>{var Y;return e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?t():e.weekPicker?`${((Y=M.value)==null?void 0:Y.type)==="iso"?"II":"ww"}-RR`:e.yearPicker?"yyyy":e.quarterPicker?"QQQ/yyyy":e.enableTimePicker?`MM/dd/yyyy, ${t()}`:"MM/dd/yyyy"},a=Y=>Cr(Y,e.enableSeconds),r=()=>L.value.enabled?e.startTime&&Array.isArray(e.startTime)?[a(e.startTime[0]),a(e.startTime[1])]:null:e.startTime&&!Array.isArray(e.startTime)?a(e.startTime):null,o=j(()=>$s(e.multiCalendars)),s=j(()=>r()),c=j(()=>Os(e.ariaLabels)),d=j(()=>Rs(e.filters)),P=j(()=>Ys(e.transitions)),v=j(()=>Ss(e.actionRow)),m=j(()=>As(e.previewFormat,e.format,n())),p=j(()=>Cs(e.textInput)),x=j(()=>Ns(e.inline)),A=j(()=>Is(e.config)),R=j(()=>Es(e.highlight)),M=j(()=>Fs(e.weekNumbers)),b=j(()=>Ls(e.timezone)),S=j(()=>Ws(e.multiDates)),C=j(()=>Vs({minDate:e.minDate,maxDate:e.maxDate,disabledDates:e.disabledDates,allowedDates:e.allowedDates,highlight:R.value,markers:e.markers,timezone:b.value,isSpecific:e.monthPicker||e.yearPicker||e.quarterPicker,isMonthPicker:e.monthPicker,isYearPicker:e.yearPicker})),L=j(()=>Bs(e.range)),U=j(()=>zs(e.ui));return{defaultedTransitions:P,defaultedMultiCalendars:o,defaultedStartTime:s,defaultedAriaLabels:c,defaultedFilters:d,defaultedActionRow:v,defaultedPreviewFormat:m,defaultedTextInput:p,defaultedInline:x,defaultedConfig:A,defaultedHighlight:R,defaultedWeekNumbers:M,defaultedRange:L,propDates:C,defaultedTz:b,defaultedMultiDates:S,defaultedUI:U,getDefaultPattern:n,getDefaultStartTime:r,handleEventPropagation:Y=>{A.value.allowStopPropagation&&Y.stopPropagation(),A.value.allowPreventDefault&&Y.preventDefault()}}},qs=(e,t,n)=>{const a=K(),{defaultedTextInput:r,defaultedRange:o,defaultedTz:s,defaultedMultiDates:c,getDefaultPattern:d}=Be(t),P=K(""),v=ha(t,"format"),m=ha(t,"formatLocale");yt(a,()=>{typeof t.onInternalModelChange=="function"&&e("internal-model-change",a.value,W(!0))},{deep:!0}),yt(o,(l,_)=>{l.enabled!==_.enabled&&(a.value=null)}),yt(v,()=>{J()});const p=l=>s.value.timezone&&s.value.convertModel?dt(l,s.value.timezone):l,x=l=>{if(s.value.timezone&&s.value.convertModel){const _=is(s.value.timezone,l);return ll(l,_)}return l},A=(l,_,oe=!1)=>Sr(l,t.format,t.formatLocale,r.value.rangeSeparator,t.modelAuto,_??d(),oe),R=l=>l?t.modelType?ee(l):{hours:St(l),minutes:Ht(l),seconds:t.enableSeconds?ra(l):0}:null,M=l=>t.modelType?ee(l):{month:Pe(l),year:he(l)},b=l=>Array.isArray(l)?c.value.enabled?l.map(_=>S(_,Ot(q(),_))):Oa(()=>[Ot(q(),l[0]),l[1]?Ot(q(),l[1]):Jt(o.value.partialRange)],o.value.enabled):Ot(q(),+l),S=(l,_)=>(typeof l=="string"||typeof l=="number")&&t.modelType?E(l):_,C=l=>Array.isArray(l)?[S(l[0],Lt(null,+l[0].hours,+l[0].minutes,l[0].seconds)),S(l[1],Lt(null,+l[1].hours,+l[1].minutes,l[1].seconds))]:S(l,Lt(null,l.hours,l.minutes,l.seconds)),L=l=>{const _=Ne(q(),{date:1});return Array.isArray(l)?c.value.enabled?l.map(oe=>S(oe,Ct(_,+oe.month,+oe.year))):Oa(()=>[S(l[0],Ct(_,+l[0].month,+l[0].year)),S(l[1],l[1]?Ct(_,+l[1].month,+l[1].year):Jt(o.value.partialRange))],o.value.enabled):S(l,Ct(_,+l.month,+l.year))},U=l=>{if(Array.isArray(l))return l.map(_=>E(_));throw new Error(Pn.dateArr("multi-dates"))},Y=l=>{if(Array.isArray(l)&&o.value.enabled){const _=l[0],oe=l[1];return[q(Array.isArray(_)?_[0]:null),Array.isArray(oe)&&oe.length?q(oe[0]):null]}return q(l[0])},N=l=>t.modelAuto?Array.isArray(l)?[E(l[0]),E(l[1])]:t.autoApply?[E(l)]:[E(l),null]:Array.isArray(l)?Oa(()=>l[1]?[E(l[0]),l[1]?E(l[1]):Jt(o.value.partialRange)]:[E(l[0])],o.value.enabled):E(l),re=()=>{Array.isArray(a.value)&&o.value.enabled&&a.value.length===1&&a.value.push(Jt(o.value.partialRange))},V=()=>{const l=a.value;return[ee(l[0]),l[1]?ee(l[1]):Jt(o.value.partialRange)]},I=()=>Array.isArray(a.value)?a.value[1]?V():ee(Xe(a.value[0])):[],se=()=>(a.value||[]).map(l=>ee(l)),ce=(l=!1)=>(l||re(),t.modelAuto?I():c.value.enabled?se():Array.isArray(a.value)?Oa(()=>V(),o.value.enabled):ee(Xe(a.value))),ye=l=>!l||Array.isArray(l)&&!l.length?null:t.timePicker?C(Xe(l)):t.monthPicker?L(Xe(l)):t.yearPicker?b(Xe(l)):c.value.enabled?U(Xe(l)):t.weekPicker?Y(Xe(l)):N(Xe(l)),y=l=>{const _=ye(l);cn(Xe(_))?(a.value=Xe(_),J()):(a.value=null,P.value="")},D=()=>{const l=_=>$t(_,r.value.format);return`${l(a.value[0])} ${r.value.rangeSeparator} ${a.value[1]?l(a.value[1]):""}`},h=()=>n.value&&a.value?Array.isArray(a.value)?D():$t(a.value,r.value.format):A(a.value),H=()=>a.value?c.value.enabled?a.value.map(l=>A(l)).join("; "):r.value.enabled&&typeof r.value.format=="string"?h():A(a.value):"",J=()=>{!t.format||typeof t.format=="string"||r.value.enabled&&typeof r.value.format=="string"?P.value=H():P.value=t.format(a.value)},E=l=>{if(t.utc){const _=new Date(l);return t.utc==="preserve"?new Date(_.getTime()+_.getTimezoneOffset()*6e4):_}return t.modelType?ds.includes(t.modelType)?p(new Date(l)):t.modelType==="format"&&(typeof t.format=="string"||!t.format)?p(sn(l,d(),new Date,{locale:m.value})):p(sn(l,t.modelType,new Date,{locale:m.value})):p(new Date(l))},ee=l=>l?t.utc?_s(l,t.utc==="preserve",t.enableSeconds):t.modelType?t.modelType==="timestamp"?+x(l):t.modelType==="iso"?x(l).toISOString():t.modelType==="format"&&(typeof t.format=="string"||!t.format)?A(x(l)):A(x(l),t.modelType,!0):x(l):"",O=(l,_=!1,oe=!1)=>{if(oe)return l;if(e("update:model-value",l),s.value.emitTimezone&&_){const Ye=Array.isArray(l)?l.map($=>dt(Xe($),s.value.emitTimezone)):dt(Xe(l),s.value.emitTimezone);e("update:model-timezone-value",Ye)}},de=l=>Array.isArray(a.value)?c.value.enabled?a.value.map(_=>l(_)):[l(a.value[0]),a.value[1]?l(a.value[1]):Jt(o.value.partialRange)]:l(Xe(a.value)),f=()=>{if(Array.isArray(a.value)){const l=Yt(a.value[0],t.weekStart),_=a.value[1]?Yt(a.value[1],t.weekStart):[];return[l.map(oe=>q(oe)),_.map(oe=>q(oe))]}return Yt(a.value,t.weekStart).map(l=>q(l))},k=(l,_)=>O(Xe(de(l)),!1,_),F=l=>{const _=f();return l?_:e("update:model-value",f())},W=(l=!1)=>(l||J(),t.monthPicker?k(M,l):t.timePicker?k(R,l):t.yearPicker?k(he,l):t.weekPicker?F(l):O(ce(l),!0,l));return{inputValue:P,internalModelValue:a,checkBeforeEmit:()=>a.value?o.value.enabled?o.value.partialRange?a.value.length>=1:a.value.length===2:!!a.value:!1,parseExternalModelValue:y,formatInputValue:J,emitModelValue:W}},Us=(e,t)=>{const{defaultedFilters:n,propDates:a}=Be(e),{validateMonthYearInRange:r}=Wt(e),o=(v,m)=>{let p=v;return n.value.months.includes(Pe(p))?(p=m?bt(v,1):oa(v,1),o(p,m)):p},s=(v,m)=>{let p=v;return n.value.years.includes(he(p))?(p=m?mn(v,1):_r(v,1),s(p,m)):p},c=(v,m=!1)=>{const p=Ne(q(),{month:e.month,year:e.year});let x=v?bt(p,1):oa(p,1);e.disableYearSelect&&(x=Ot(x,e.year));let A=Pe(x),R=he(x);n.value.months.includes(A)&&(x=o(x,v),A=Pe(x),R=he(x)),n.value.years.includes(R)&&(x=s(x,v),R=he(x)),r(A,R,v,e.preventMinMaxNavigation)&&d(A,R,m)},d=(v,m,p)=>{t("update-month-year",{month:v,year:m,fromNav:p})},P=j(()=>v=>Rr(Ne(q(),{month:e.month,year:e.year}),a.value.maxDate,a.value.minDate,e.preventMinMaxNavigation,v));return{handleMonthYearChange:c,isDisabled:P,updateMonthYear:d}},Ia={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:[Boolean,String],default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[Boolean,String,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},alwaysClearable:{type:Boolean,default:!1},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},onInternalModelChange:{type:[Function,Object],default:null},enableMinutes:{type:Boolean,default:!0},ui:{type:Object,default:()=>({})}},kt={...Ia,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1},isMobile:{type:Boolean,default:void 0}},Qs=["title"],js=["disabled"],Gs=tt({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...kt},emits:["close-picker","select-date","select-now","invalid-select"],setup(e,{emit:t}){const n=t,a=e,{defaultedActionRow:r,defaultedPreviewFormat:o,defaultedMultiCalendars:s,defaultedTextInput:c,defaultedInline:d,defaultedRange:P,defaultedMultiDates:v}=Be(a),{isTimeValid:m,isMonthValid:p}=Wt(a),{buildMatrix:x}=Vt(),A=K(null),R=K(null),M=K(!1),b=K({}),S=K(null),C=K(null);at(()=>{a.arrowNavigation&&x([je(A),je(R)],"actionRow"),L(),window.addEventListener("resize",L)}),ia(()=>{window.removeEventListener("resize",L)});const L=()=>{M.value=!1,setTimeout(()=>{var y,D;const h=(y=S.value)==null?void 0:y.getBoundingClientRect(),H=(D=C.value)==null?void 0:D.getBoundingClientRect();h&&H&&(b.value.maxWidth=`${H.width-h.width-20}px`),M.value=!0},0)},U=j(()=>P.value.enabled&&!P.value.partialRange&&a.internalModelValue?a.internalModelValue.length===2:!0),Y=j(()=>!m.value(a.internalModelValue)||!p.value(a.internalModelValue)||!U.value),N=()=>{const y=o.value;return a.timePicker||a.monthPicker,y(Xe(a.internalModelValue))},re=()=>{const y=a.internalModelValue;return s.value.count>0?`${V(y[0])} - ${V(y[1])}`:[V(y[0]),V(y[1])]},V=y=>Sr(y,o.value,a.formatLocale,c.value.rangeSeparator,a.modelAuto,o.value),I=j(()=>!a.internalModelValue||!a.menuMount?"":typeof o.value=="string"?Array.isArray(a.internalModelValue)?a.internalModelValue.length===2&&a.internalModelValue[1]?re():v.value.enabled?a.internalModelValue.map(y=>`${V(y)}`):a.modelAuto?`${V(a.internalModelValue[0])}`:`${V(a.internalModelValue[0])} -`:V(a.internalModelValue):N()),se=()=>v.value.enabled?"; ":" - ",ce=j(()=>Array.isArray(I.value)?I.value.join(se()):I.value),ye=()=>{m.value(a.internalModelValue)&&p.value(a.internalModelValue)&&U.value?n("select-date"):n("invalid-select")};return(y,D)=>(T(),z("div",{ref_key:"actionRowRef",ref:C,class:"dp__action_row"},[y.$slots["action-row"]?ie(y.$slots,"action-row",Ze(Je({key:0},{internalModelValue:y.internalModelValue,disabled:Y.value,selectDate:()=>y.$emit("select-date"),closePicker:()=>y.$emit("close-picker")}))):(T(),z(ke,{key:1},[i(r).showPreview?(T(),z("div",{key:0,class:"dp__selection_preview",title:ce.value,style:pt(b.value)},[y.$slots["action-preview"]&&M.value?ie(y.$slots,"action-preview",{key:0,value:y.internalModelValue}):G("",!0),!y.$slots["action-preview"]&&M.value?(T(),z(ke,{key:1},[Rt(lt(ce.value),1)],64)):G("",!0)],12,Qs)):G("",!0),ge("div",{ref_key:"actionBtnContainer",ref:S,class:"dp__action_buttons","data-dp-element":"action-row"},[y.$slots["action-buttons"]?ie(y.$slots,"action-buttons",{key:0,value:y.internalModelValue}):G("",!0),y.$slots["action-buttons"]?G("",!0):(T(),z(ke,{key:1},[!i(d).enabled&&i(r).showCancel?(T(),z("button",{key:0,ref_key:"cancelButtonRef",ref:A,type:"button",class:"dp__action_button dp__action_cancel",onClick:D[0]||(D[0]=h=>y.$emit("close-picker")),onKeydown:D[1]||(D[1]=h=>i(ut)(h,()=>y.$emit("close-picker")))},lt(y.cancelText),545)):G("",!0),i(r).showNow?(T(),z("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:D[2]||(D[2]=h=>y.$emit("select-now")),onKeydown:D[3]||(D[3]=h=>i(ut)(h,()=>y.$emit("select-now")))},lt(y.nowButtonLabel),33)):G("",!0),i(r).showSelect?(T(),z("button",{key:2,ref_key:"selectButtonRef",ref:R,type:"button",class:"dp__action_button dp__action_select",disabled:Y.value,"data-test-id":"select-button",onKeydown:D[4]||(D[4]=h=>i(ut)(h,()=>ye())),onClick:ye},lt(y.selectText),41,js)):G("",!0)],64))],512)],64))],512))}}),Ks=["role","aria-label","tabindex"],Xs={class:"dp__selection_grid_header"},Zs=["aria-selected","aria-disabled","data-test-id","onClick","onKeydown","onMouseover"],Js=["aria-label"],xa=tt({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{},overlayLabel:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(e,{expose:t,emit:n}){const{setSelectionGrid:a,buildMultiLevelMatrix:r,setMonthPicker:o}=Vt(),s=n,c=e,{defaultedAriaLabels:d,defaultedTextInput:P,defaultedConfig:v,handleEventPropagation:m}=Be(c),{hideNavigationButtons:p}=Ba(),x=K(!1),A=K(null),R=K(null),M=K([]),b=K(),S=K(null),C=K(0),L=K(null);Jr(()=>{A.value=null}),at(()=>{mt().then(()=>ce()),c.noOverlayFocus||Y(),U(!0)}),ia(()=>U(!1));const U=f=>{var k;c.arrowNavigation&&((k=c.headerRefs)!=null&&k.length?o(f):a(f))},Y=()=>{var f;const k=je(R);k&&(P.value.enabled||(A.value?(f=A.value)==null||f.focus({preventScroll:!0}):k.focus({preventScroll:!0})),x.value=k.clientHeight({dp__overlay:!0,"dp--overlay-absolute":!c.useRelative,"dp--overlay-relative":c.useRelative})),re=j(()=>c.useRelative?{height:`${c.height}px`,width:"var(--dp-menu-min-width)"}:void 0),V=j(()=>({dp__overlay_col:!0})),I=j(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:x.value,dp__button_bottom:c.isLast})),se=j(()=>{var f,k;return{dp__overlay_container:!0,dp__container_flex:((f=c.items)==null?void 0:f.length)<=6,dp__container_block:((k=c.items)==null?void 0:k.length)>6}});yt(()=>c.items,()=>ce(!1),{deep:!0});const ce=(f=!0)=>{mt().then(()=>{const k=je(A),F=je(R),W=je(S),l=je(L),_=W?W.getBoundingClientRect().height:0;F&&(F.getBoundingClientRect().height?C.value=F.getBoundingClientRect().height-_:C.value=v.value.modeHeight-_),k&&l&&f&&(l.scrollTop=k.offsetTop-l.offsetTop-(C.value/2-k.getBoundingClientRect().height)-_)})},ye=f=>{f.disabled||s("selected",f.value)},y=()=>{s("toggle"),s("reset-flow")},D=f=>{c.escClose&&(y(),m(f))},h=(f,k,F,W)=>{f&&((k.active||k.value===c.focusValue)&&(A.value=f),c.arrowNavigation&&(Array.isArray(M.value[F])?M.value[F][W]=f:M.value[F]=[f],H()))},H=()=>{var f,k;const F=(f=c.headerRefs)!=null&&f.length?[c.headerRefs].concat(M.value):M.value.concat([c.skipButtonRef?[]:[S.value]]);r(Xe(F),(k=c.headerRefs)!=null&&k.length?"monthPicker":"selectionGrid")},J=f=>{c.arrowNavigation||Bt(f,v.value,!0)},E=f=>{b.value=f,s("hover-value",f)},ee=()=>{if(y(),!c.isLast){const f=dn(c.menuWrapRef??null,"action-row");if(f){const k=Mr(f);k?.focus()}}},O=f=>{switch(f.key){case Ee.esc:return D(f);case Ee.arrowLeft:return J(f);case Ee.arrowRight:return J(f);case Ee.arrowUp:return J(f);case Ee.arrowDown:return J(f);default:return}},de=f=>{if(f.key===Ee.enter)return y();if(f.key===Ee.tab)return ee()};return t({focusGrid:Y}),(f,k)=>{var F;return T(),z("div",{ref_key:"gridWrapRef",ref:R,class:xe(N.value),style:pt(re.value),role:f.useRelative?void 0:"dialog","aria-label":f.overlayLabel,tabindex:f.useRelative?void 0:"0",onKeydown:O,onClick:k[0]||(k[0]=ga(()=>{},["prevent"]))},[ge("div",{ref_key:"containerRef",ref:L,class:xe(se.value),style:pt({"--dp-overlay-height":`${C.value}px`}),role:"grid"},[ge("div",Xs,[ie(f.$slots,"header")]),f.$slots.overlay?ie(f.$slots,"overlay",{key:0}):(T(!0),z(ke,{key:1},Fe(f.items,(W,l)=>(T(),z("div",{key:l,class:xe(["dp__overlay_row",{dp__flex_row:f.items.length>=3}]),role:"row"},[(T(!0),z(ke,null,Fe(W,(_,oe)=>(T(),z("div",{key:_.value,ref_for:!0,ref:Ye=>h(Ye,_,l,oe),role:"gridcell",class:xe(V.value),"aria-selected":_.active||void 0,"aria-disabled":_.disabled||void 0,tabindex:"0","data-test-id":_.text,onClick:ga(Ye=>ye(_),["prevent"]),onKeydown:Ye=>i(ut)(Ye,()=>ye(_),!0),onMouseover:Ye=>E(_.value)},[ge("div",{class:xe(_.className)},[f.$slots.item?ie(f.$slots,"item",{key:0,item:_}):G("",!0),f.$slots.item?G("",!0):(T(),z(ke,{key:1},[Rt(lt(_.text),1)],64))],2)],42,Zs))),128))],2))),128))],6),f.$slots["button-icon"]?Aa((T(),z("button",{key:0,ref_key:"toggleButton",ref:S,type:"button","aria-label":(F=i(d))==null?void 0:F.toggleOverlay,class:xe(I.value),tabindex:"0",onClick:y,onKeydown:de},[ie(f.$slots,"button-icon")],42,Js)),[[Ya,!i(p)(f.hideNavigation,f.type)]]):G("",!0)],46,Ks)}}}),eu=["data-dp-mobile"],Ea=tt({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean},isMobile:{type:Boolean}},setup(e){const t=e,n=j(()=>t.multiCalendars>0?[...Array(t.multiCalendars).keys()]:[0]),a=j(()=>({dp__instance_calendar:t.multiCalendars>0}));return(r,o)=>(T(),z("div",{class:xe({dp__menu_inner:!r.stretch,"dp--menu--inner-stretched":r.stretch,dp__flex_display:r.multiCalendars>0,"dp--flex-display-collapsed":r.collapse}),"data-dp-mobile":r.isMobile},[(T(!0),z(ke,null,Fe(n.value,(s,c)=>(T(),z("div",{key:s,class:xe(a.value)},[ie(r.$slots,"default",{instance:s,index:c})],2))),128))],10,eu))}}),tu=["data-dp-element","aria-label","aria-disabled"],ya=tt({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(e,{emit:t}){const n=t,a=K(null);return at(()=>n("set-ref",a)),(r,o)=>(T(),z("button",{ref_key:"elRef",ref:a,type:"button","data-dp-element":r.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":r.ariaLabel,"aria-disabled":r.disabled||void 0,onClick:o[0]||(o[0]=s=>r.$emit("activate")),onKeydown:o[1]||(o[1]=s=>i(ut)(s,()=>r.$emit("activate"),!0))},[ge("span",{class:xe(["dp__inner_nav",{dp__inner_nav_disabled:r.disabled}])},[ie(r.$slots,"default")],2)],40,tu))}}),au=["aria-label","data-test-id"],Er=tt({__name:"YearModePicker",props:{...kt,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(e,{emit:t}){const n=t,a=e,{showRightIcon:r,showLeftIcon:o}=Ba(),{defaultedConfig:s,defaultedMultiCalendars:c,defaultedAriaLabels:d,defaultedTransitions:P,defaultedUI:v}=Be(a),{showTransition:m,transitionName:p}=Ma(P),x=K(!1),A=(b=!1,S)=>{x.value=!x.value,n("toggle-year-picker",{flow:b,show:S})},R=b=>{x.value=!1,n("year-select",b)},M=(b=!1)=>{n("handle-year",b)};return(b,S)=>{var C,L,U,Y,N;return T(),z(ke,null,[ge("div",{class:xe(["dp--year-mode-picker",{"dp--hidden-el":x.value}])},[i(o)(i(c),e.instance)?(T(),Oe(ya,{key:0,ref:"mpPrevIconRef","aria-label":(C=i(d))==null?void 0:C.prevYear,disabled:e.isDisabled(!1),class:xe((L=i(v))==null?void 0:L.navBtnPrev),onActivate:S[0]||(S[0]=re=>M(!1))},{default:De(()=>[b.$slots["arrow-left"]?ie(b.$slots,"arrow-left",{key:0}):G("",!0),b.$slots["arrow-left"]?G("",!0):(T(),Oe(i(wn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):G("",!0),ge("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${e.year}-${(U=i(d))==null?void 0:U.openYearsOverlay}`,"data-test-id":`year-mode-btn-${e.instance}`,onClick:S[1]||(S[1]=()=>A(!1)),onKeydown:S[2]||(S[2]=el(()=>A(!1),["enter"]))},[b.$slots.year?ie(b.$slots,"year",{key:0,year:e.year}):G("",!0),b.$slots.year?G("",!0):(T(),z(ke,{key:1},[Rt(lt(e.year),1)],64))],40,au),i(r)(i(c),e.instance)?(T(),Oe(ya,{key:1,ref:"mpNextIconRef","aria-label":(Y=i(d))==null?void 0:Y.nextYear,disabled:e.isDisabled(!0),class:xe((N=i(v))==null?void 0:N.navBtnNext),onActivate:S[3]||(S[3]=re=>M(!0))},{default:De(()=>[b.$slots["arrow-right"]?ie(b.$slots,"arrow-right",{key:0}):G("",!0),b.$slots["arrow-right"]?G("",!0):(T(),Oe(i(bn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):G("",!0)],2),vt(da,{name:i(p)(e.showYearPicker),css:i(m)},{default:De(()=>{var re,V;return[e.showYearPicker?(T(),Oe(xa,{key:0,items:e.items,"text-input":b.textInput,"esc-close":b.escClose,config:b.config,"is-last":b.autoApply&&!i(s).keepActionRow,"hide-navigation":b.hideNavigation,"aria-labels":b.ariaLabels,"overlay-label":(V=(re=i(d))==null?void 0:re.yearPicker)==null?void 0:V.call(re,!0),type:"year",onToggle:A,onSelected:S[4]||(S[4]=I=>R(I))},ot({"button-icon":De(()=>[b.$slots["calendar-icon"]?ie(b.$slots,"calendar-icon",{key:0}):G("",!0),b.$slots["calendar-icon"]?G("",!0):(T(),Oe(i(ca),{key:1}))]),_:2},[b.$slots["year-overlay-value"]?{name:"item",fn:De(({item:I})=>[ie(b.$slots,"year-overlay-value",{text:I.text,value:I.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):G("",!0)]}),_:3},8,["name","css"])],64)}}}),$n=(e,t,n)=>{if(t.value&&Array.isArray(t.value))if(t.value.some(a=>Te(e,a))){const a=t.value.filter(r=>!Te(r,e));t.value=a.length?a:null}else(n&&+n>t.value.length||!n)&&t.value.push(e);else t.value=[e]},An=(e,t,n)=>{let a=e.value?e.value.slice():[];return a.length===2&&a[1]!==null&&(a=[]),a.length?(He(t,a[0])?a.unshift(t):a[1]=t,n("range-end",t)):(a=[t],n("range-start",t)),a},Fa=(e,t,n,a)=>{e&&(e[0]&&e[1]&&n&&t("auto-apply"),e[0]&&!e[1]&&a&&n&&t("auto-apply"))},Fr=e=>{Array.isArray(e.value)&&e.value.length<=2&&e.range?e.modelValue.value=e.value.map(t=>dt(q(t),e.timezone)):Array.isArray(e.value)||(e.modelValue.value=dt(q(e.value),e.timezone))},Br=(e,t,n,a)=>Array.isArray(t.value)&&(t.value.length===2||t.value.length===1&&a.value.partialRange)?a.value.fixedStart&&(qe(e,t.value[0])||Te(e,t.value[0]))?[t.value[0],e]:a.value.fixedEnd&&(He(e,t.value[1])||Te(e,t.value[1]))?[e,t.value[1]]:(n("invalid-fixed-range",e),t.value):[],Lr=({multiCalendars:e,range:t,highlight:n,propDates:a,calendars:r,modelValue:o,props:s,filters:c,year:d,month:P,emit:v})=>{const m=j(()=>Mn(s.yearRange,s.locale,s.reverseYears)),p=K([!1]),x=j(()=>(I,se)=>{const ce=Ne(wt(new Date),{month:P.value(I),year:d.value(I)}),ye=se?sr(ce):wa(ce);return Rr(ye,a.value.maxDate,a.value.minDate,s.preventMinMaxNavigation,se)}),A=()=>Array.isArray(o.value)&&e.value.solo&&o.value[1],R=()=>{for(let I=0;I{if(!I)return R();const se=Ne(q(),r.value[I]);return r.value[0].year=he(_r(se,e.value.count-1)),R()},b=(I,se)=>{const ce=dl(se,I);return t.value.showLastInRange&&ce>1?se:I},S=I=>s.focusStartDate||e.value.solo?I[0]:I[1]?b(I[0],I[1]):I[0],C=()=>{if(o.value){const I=Array.isArray(o.value)?S(o.value):o.value;r.value[0]={month:Pe(I),year:he(I)}}},L=()=>{C(),e.value.count&&R()};yt(o,(I,se)=>{s.isTextInputDate&&JSON.stringify(I??{})!==JSON.stringify(se??{})&&L()}),at(()=>{L()});const U=(I,se)=>{r.value[se].year=I,v("update-month-year",{instance:se,year:I,month:r.value[se].month}),e.value.count&&!e.value.solo&&M(se)},Y=j(()=>I=>sa(m.value,se=>{var ce;const ye=d.value(I)===se.value,y=ba(se.value,ua(a.value.minDate),ua(a.value.maxDate))||((ce=c.value.years)==null?void 0:ce.includes(d.value(I))),D=On(n.value,se.value);return{active:ye,disabled:y,highlighted:D}})),N=(I,se)=>{U(I,se),V(se)},re=(I,se=!1)=>{if(!x.value(I,se)){const ce=se?d.value(I)+1:d.value(I)-1;U(ce,I)}},V=(I,se=!1,ce)=>{se||v("reset-flow"),ce!==void 0?p.value[I]=ce:p.value[I]=!p.value[I],p.value[I]?v("overlay-toggle",{open:!0,overlay:rt.year}):(v("overlay-closed"),v("overlay-toggle",{open:!1,overlay:rt.year}))};return{isDisabled:x,groupedYears:Y,showYearPicker:p,selectYear:U,toggleYearPicker:V,handleYearSelect:N,handleYear:re}},nu=(e,t)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:a,defaultedTransitions:r,defaultedConfig:o,defaultedRange:s,defaultedHighlight:c,propDates:d,defaultedTz:P,defaultedFilters:v,defaultedMultiDates:m}=Be(e),p=()=>{e.isTextInputDate&&L(he(q(e.startDate)),0)},{modelValue:x,year:A,month:R,calendars:M}=Pa(e,t,p),b=j(()=>Dr(e.formatLocale,e.locale,e.monthNameFormat)),S=K(null),{checkMinMaxRange:C}=Wt(e),{selectYear:L,groupedYears:U,showYearPicker:Y,toggleYearPicker:N,handleYearSelect:re,handleYear:V,isDisabled:I}=Lr({modelValue:x,multiCalendars:n,range:s,highlight:c,calendars:M,year:A,propDates:d,month:R,filters:v,props:e,emit:t});at(()=>{e.startDate&&(x.value&&e.focusStartDate||!x.value)&&L(he(q(e.startDate)),0)});const se=k=>k?{month:Pe(k),year:he(k)}:{month:null,year:null},ce=()=>x.value?Array.isArray(x.value)?x.value.map(k=>se(k)):se(x.value):se(),ye=(k,F)=>{const W=M.value[k],l=ce();return Array.isArray(l)?l.some(_=>_.year===W?.year&&_.month===F):W?.year===l.year&&F===l.month},y=(k,F,W)=>{var l,_;const oe=ce();return Array.isArray(oe)?A.value(F)===((l=oe[W])==null?void 0:l.year)&&k===((_=oe[W])==null?void 0:_.month):!1},D=(k,F)=>{if(s.value.enabled){const W=ce();if(Array.isArray(x.value)&&Array.isArray(W)){const l=y(k,F,0)||y(k,F,1),_=Ct(wt(q()),k,A.value(F));return _a(x.value,S.value,_)&&!l}return!1}return!1},h=j(()=>k=>sa(b.value,F=>{var W;const l=ye(k,F.value),_=ba(F.value,$r(A.value(k),d.value.minDate),Ar(A.value(k),d.value.maxDate))||Ps(d.value.disabledDates,A.value(k),F.value)||((W=v.value.months)==null?void 0:W.includes(F.value))||!Ts(d.value.allowedDates,A.value(k),F.value),oe=D(F.value,k),Ye=Nr(c.value,F.value,A.value(k));return{active:l,disabled:_,isBetween:oe,highlighted:Ye}})),H=(k,F)=>Ct(wt(q()),k,A.value(F)),J=(k,F)=>{const W=x.value?x.value:wt(new Date);x.value=Ct(W,k,A.value(F)),t("auto-apply"),t("update-flow-step")},E=(k,F)=>{const W=H(k,F);s.value.fixedEnd||s.value.fixedStart?x.value=Br(W,x,t,s):x.value?C(W,x.value)&&(x.value=An(x,H(k,F),t)):x.value=[H(k,F)],mt().then(()=>{Fa(x.value,t,e.autoApply,e.modelAuto)})},ee=(k,F)=>{$n(H(k,F),x,m.value.limit),t("auto-apply",!0)},O=(k,F)=>(M.value[F].month=k,f(F,M.value[F].year,k),m.value.enabled?ee(k,F):s.value.enabled?E(k,F):J(k,F)),de=(k,F)=>{L(k,F),f(F,k,null)},f=(k,F,W)=>{let l=W;if(!l&&l!==0){const _=ce();l=Array.isArray(_)?_[k].month:_.month}t("update-month-year",{instance:k,year:F,month:l})};return{groupedMonths:h,groupedYears:U,year:A,isDisabled:I,defaultedMultiCalendars:n,defaultedAriaLabels:a,defaultedTransitions:r,defaultedConfig:o,showYearPicker:Y,modelValue:x,presetDate:(k,F)=>{Fr({value:k,modelValue:x,range:s.value.enabled,timezone:F?void 0:P.value.timezone}),t("auto-apply")},setHoverDate:(k,F)=>{S.value=H(k,F)},selectMonth:O,selectYear:de,toggleYearPicker:N,handleYearSelect:re,handleYear:V,getModelMonthYear:ce}},ru=tt({compatConfig:{MODE:3},__name:"MonthPicker",props:{...kt},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range","overlay-toggle"],setup(e,{expose:t,emit:n}){const a=n,r=Kt(),o=ct(r,"yearMode"),s=e;at(()=>{s.shadow||a("mount",null)});const{groupedMonths:c,groupedYears:d,year:P,isDisabled:v,defaultedMultiCalendars:m,defaultedConfig:p,showYearPicker:x,modelValue:A,presetDate:R,setHoverDate:M,selectMonth:b,selectYear:S,toggleYearPicker:C,handleYearSelect:L,handleYear:U,getModelMonthYear:Y}=nu(s,a);return t({getSidebarProps:()=>({modelValue:A,year:P,getModelMonthYear:Y,selectMonth:b,selectYear:S,handleYear:U}),presetDate:R,toggleYearPicker:N=>C(0,N)}),(N,re)=>(T(),Oe(Ea,{"multi-calendars":i(m).count,collapse:N.collapse,stretch:"","is-mobile":N.isMobile},{default:De(({instance:V})=>[N.$slots["top-extra"]?ie(N.$slots,"top-extra",{key:0,value:N.internalModelValue}):G("",!0),N.$slots["month-year"]?ie(N.$slots,"month-year",Ze(Je({key:1},{year:i(P),months:i(c)(V),years:i(d)(V),selectMonth:i(b),selectYear:i(S),instance:V}))):(T(),Oe(xa,{key:2,items:i(c)(V),"arrow-navigation":N.arrowNavigation,"is-last":N.autoApply&&!i(p).keepActionRow,"esc-close":N.escClose,height:i(p).modeHeight,config:N.config,"no-overlay-focus":!!(N.noOverlayFocus||N.textInput),"use-relative":"",type:"month",onSelected:I=>i(b)(I,V),onHoverValue:I=>i(M)(I,V)},ot({header:De(()=>[vt(Er,Je(N.$props,{items:i(d)(V),instance:V,"show-year-picker":i(x)[V],year:i(P)(V),"is-disabled":I=>i(v)(V,I),onHandleYear:I=>i(U)(V,I),onYearSelect:I=>i(L)(I,V),onToggleYearPicker:I=>i(C)(V,I?.flow,I?.show)}),ot({_:2},[Fe(i(o),(I,se)=>({name:I,fn:De(ce=>[ie(N.$slots,I,Ze(it(ce)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[N.$slots["month-overlay-value"]?{name:"item",fn:De(({item:I})=>[ie(N.$slots,"month-overlay-value",{text:I.text,value:I.value})]),key:"0"}:void 0]),1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse","is-mobile"]))}}),lu=(e,t)=>{const n=()=>{e.isTextInputDate&&(v.value=he(q(e.startDate)))},{modelValue:a}=Pa(e,t,n),r=K(null),{defaultedHighlight:o,defaultedMultiDates:s,defaultedFilters:c,defaultedRange:d,propDates:P}=Be(e),v=K();at(()=>{e.startDate&&(a.value&&e.focusStartDate||!a.value)&&(v.value=he(q(e.startDate)))});const m=b=>Array.isArray(a.value)?a.value.some(S=>he(S)===b):a.value?he(a.value)===b:!1,p=b=>d.value.enabled&&Array.isArray(a.value)?_a(a.value,r.value,M(b)):!1,x=b=>P.value.allowedDates instanceof Map?P.value.allowedDates.size?P.value.allowedDates.has(`${b}`):!1:!0,A=b=>P.value.disabledDates instanceof Map?P.value.disabledDates.size?P.value.disabledDates.has(`${b}`):!1:!0,R=j(()=>sa(Mn(e.yearRange,e.locale,e.reverseYears),b=>{const S=m(b.value),C=ba(b.value,ua(P.value.minDate),ua(P.value.maxDate))||c.value.years.includes(b.value)||!x(b.value)||A(b.value),L=p(b.value)&&!S,U=On(o.value,b.value);return{active:S,disabled:C,isBetween:L,highlighted:U}})),M=b=>Ot(wt(wa(new Date)),b);return{groupedYears:R,modelValue:a,focusYear:v,setHoverValue:b=>{r.value=Ot(wt(new Date),b)},selectYear:b=>{var S;if(t("update-month-year",{instance:0,year:b}),s.value.enabled)return a.value?Array.isArray(a.value)&&(((S=a.value)==null?void 0:S.map(C=>he(C))).includes(b)?a.value=a.value.filter(C=>he(C)!==b):a.value.push(Ot(et(q()),b))):a.value=[Ot(et(wa(q())),b)],t("auto-apply",!0);d.value.enabled?(a.value=An(a,M(b),t),mt().then(()=>{Fa(a.value,t,e.autoApply,e.modelAuto)})):(a.value=M(b),t("auto-apply"))}}},ou=tt({compatConfig:{MODE:3},__name:"YearPicker",props:{...kt},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(e,{expose:t,emit:n}){const a=n,r=e,{groupedYears:o,modelValue:s,focusYear:c,selectYear:d,setHoverValue:P}=lu(r,a),{defaultedConfig:v}=Be(r);return t({getSidebarProps:()=>({modelValue:s,selectYear:d})}),(m,p)=>(T(),z("div",null,[m.$slots["top-extra"]?ie(m.$slots,"top-extra",{key:0,value:m.internalModelValue}):G("",!0),m.$slots["month-year"]?ie(m.$slots,"month-year",Ze(Je({key:1},{years:i(o),selectYear:i(d)}))):(T(),Oe(xa,{key:2,items:i(o),"is-last":m.autoApply&&!i(v).keepActionRow,height:i(v).modeHeight,config:m.config,"no-overlay-focus":!!(m.noOverlayFocus||m.textInput),"focus-value":i(c),type:"year","use-relative":"",onSelected:i(d),onHoverValue:i(P)},ot({_:2},[m.$slots["year-overlay-value"]?{name:"item",fn:De(({item:x})=>[ie(m.$slots,"year-overlay-value",{text:x.text,value:x.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),su={key:0,class:"dp__time_input"},uu=["data-compact","data-collapsed"],iu=["data-test-id","aria-label","onKeydown","onClick","onMousedown"],du=["aria-label","disabled","data-test-id","onKeydown","onClick"],cu=["data-test-id","aria-label","onKeydown","onClick","onMousedown"],vu={key:0},mu=["aria-label","data-compact"],fu=tt({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...kt},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","overlay-opened","am-pm-change"],setup(e,{expose:t,emit:n}){const a=n,r=e,{setTimePickerElements:o,setTimePickerBackRef:s}=Vt(),{defaultedAriaLabels:c,defaultedTransitions:d,defaultedFilters:P,defaultedConfig:v,defaultedRange:m,defaultedMultiCalendars:p}=Be(r),{transitionName:x,showTransition:A}=Ma(d),R=ka({hours:!1,minutes:!1,seconds:!1}),M=K("AM"),b=K(null),S=K([]),C=K(),L=K(!1);at(()=>{a("mounted")});const U=u=>Ne(new Date,{hours:u.hours,minutes:u.minutes,seconds:r.enableSeconds?u.seconds:0,milliseconds:0}),Y=j(()=>u=>E(u,r[u])||re(u,r[u])),N=j(()=>({hours:r.hours,minutes:r.minutes,seconds:r.seconds})),re=(u,Z)=>m.value.enabled&&!m.value.disableTimeRangeValidation?!r.validateTime(u,Z):!1,V=(u,Z)=>{if(m.value.enabled&&!m.value.disableTimeRangeValidation){const ae=Z?+r[`${u}Increment`]:-+r[`${u}Increment`],ne=r[u]+ae;return!r.validateTime(u,ne)}return!1},I=j(()=>u=>!k(+r[u]+ +r[`${u}Increment`],u)||V(u,!0)),se=j(()=>u=>!k(+r[u]-+r[`${u}Increment`],u)||V(u,!1)),ce=(u,Z)=>tr(Ne(q(),u),Z),ye=(u,Z)=>os(Ne(q(),u),Z),y=j(()=>({dp__time_col:!0,dp__time_col_block:!r.timePickerInline,dp__time_col_reg_block:!r.enableSeconds&&r.is24&&!r.timePickerInline,dp__time_col_reg_inline:!r.enableSeconds&&r.is24&&r.timePickerInline,dp__time_col_reg_with_button:!r.enableSeconds&&!r.is24,dp__time_col_sec:r.enableSeconds&&r.is24,dp__time_col_sec_with_button:r.enableSeconds&&!r.is24})),D=j(()=>r.timePickerInline&&m.value.enabled&&!p.value.count),h=j(()=>{const u=[{type:"hours"}];return r.enableMinutes&&u.push({type:"",separator:!0},{type:"minutes"}),r.enableSeconds&&u.push({type:"",separator:!0},{type:"seconds"}),u}),H=j(()=>h.value.filter(u=>!u.separator)),J=j(()=>u=>{if(u==="hours"){const Z=Ye(+r.hours);return{text:Z<10?`0${Z}`:`${Z}`,value:Z}}return{text:r[u]<10?`0${r[u]}`:`${r[u]}`,value:r[u]}}),E=(u,Z)=>{var ae;if(!r.disabledTimesConfig)return!1;const ne=r.disabledTimesConfig(r.order,u==="hours"?Z:void 0);return ne[u]?!!((ae=ne[u])!=null&&ae.includes(Z)):!0},ee=(u,Z)=>Z!=="hours"||M.value==="AM"?u:u+12,O=u=>{const Z=r.is24?24:12,ae=u==="hours"?Z:60,ne=+r[`${u}GridIncrement`],Me=u==="hours"&&!r.is24?ne:0,be=[];for(let Ce=Me;Ce({active:!1,disabled:P.value.times[u].includes(Ce.value)||!k(Ce.value,u)||E(u,Ce.value)||re(u,Ce.value)}))},de=u=>u>=0?u:59,f=u=>u>=0?u:23,k=(u,Z)=>{const ae=r.minTime?U(Ga(r.minTime)):null,ne=r.maxTime?U(Ga(r.maxTime)):null,Me=U(Ga(N.value,Z,Z==="minutes"||Z==="seconds"?de(u):f(u)));return ae&&ne?(la(Me,ne)||ta(Me,ne))&&(Gt(Me,ae)||ta(Me,ae)):ae?Gt(Me,ae)||ta(Me,ae):ne?la(Me,ne)||ta(Me,ne):!0},F=u=>r[`no${u[0].toUpperCase()+u.slice(1)}Overlay`],W=u=>{F(u)||(R[u]=!R[u],R[u]?(L.value=!0,a("overlay-opened",u)):(L.value=!1,a("overlay-closed",u)))},l=u=>u==="hours"?St:u==="minutes"?Ht:ra,_=()=>{C.value&&clearTimeout(C.value)},oe=(u,Z=!0,ae)=>{const ne=Z?ce:ye,Me=Z?+r[`${u}Increment`]:-+r[`${u}Increment`];k(+r[u]+Me,u)&&a(`update:${u}`,l(u)(ne({[u]:+r[u]},{[u]:+r[`${u}Increment`]}))),!(ae!=null&&ae.keyboard)&&v.value.timeArrowHoldThreshold&&(C.value=setTimeout(()=>{oe(u,Z)},v.value.timeArrowHoldThreshold))},Ye=u=>r.is24?u:(u>=12?M.value="PM":M.value="AM",ms(u)),$=()=>{M.value==="PM"?(M.value="AM",a("update:hours",r.hours-12)):(M.value="PM",a("update:hours",r.hours+12)),a("am-pm-change",M.value)},we=u=>{R[u]=!0},Q=(u,Z,ae)=>{if(u&&r.arrowNavigation){Array.isArray(S.value[Z])?S.value[Z][ae]=u:S.value[Z]=[u];const ne=S.value.reduce((Me,be)=>be.map((Ce,We)=>[...Me[We]||[],be[We]]),[]);s(r.closeTimePickerBtn),b.value&&(ne[1]=ne[1].concat(b.value)),o(ne,r.order)}},te=(u,Z)=>(W(u),a(`update:${u}`,Z));return t({openChildCmp:we}),(u,Z)=>{var ae;return u.disabled?G("",!0):(T(),z("div",su,[(T(!0),z(ke,null,Fe(h.value,(ne,Me)=>{var be,Ce,We;return T(),z("div",{key:Me,class:xe(y.value),"data-compact":D.value&&!u.enableSeconds,"data-collapsed":D.value&&u.enableSeconds},[ne.separator?(T(),z(ke,{key:0},[L.value?G("",!0):(T(),z(ke,{key:0},[Rt(":")],64))],64)):(T(),z(ke,{key:1},[ge("button",{ref_for:!0,ref:g=>Q(g,Me,0),type:"button",class:xe({dp__btn:!0,dp__inc_dec_button:!u.timePickerInline,dp__inc_dec_button_inline:u.timePickerInline,dp__tp_inline_btn_top:u.timePickerInline,dp__inc_dec_button_disabled:I.value(ne.type),"dp--hidden-el":L.value}),"data-test-id":`${ne.type}-time-inc-btn-${r.order}`,"aria-label":(be=i(c))==null?void 0:be.incrementValue(ne.type),tabindex:"0",onKeydown:g=>i(ut)(g,()=>oe(ne.type,!0,{keyboard:!0}),!0),onClick:g=>i(v).timeArrowHoldThreshold?void 0:oe(ne.type,!0),onMousedown:g=>i(v).timeArrowHoldThreshold?oe(ne.type,!0):void 0,onMouseup:_},[r.timePickerInline?(T(),z(ke,{key:1},[u.$slots["tp-inline-arrow-up"]?ie(u.$slots,"tp-inline-arrow-up",{key:0}):(T(),z(ke,{key:1},[Z[2]||(Z[2]=ge("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),Z[3]||(Z[3]=ge("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(T(),z(ke,{key:0},[u.$slots["arrow-up"]?ie(u.$slots,"arrow-up",{key:0}):G("",!0),u.$slots["arrow-up"]?G("",!0):(T(),Oe(i(kn),{key:1}))],64))],42,iu),ge("button",{ref_for:!0,ref:g=>Q(g,Me,1),type:"button","aria-label":`${J.value(ne.type).text}-${(Ce=i(c))==null?void 0:Ce.openTpOverlay(ne.type)}`,class:xe({dp__time_display:!0,dp__time_display_block:!u.timePickerInline,dp__time_display_inline:u.timePickerInline,"dp--time-invalid":Y.value(ne.type),"dp--time-overlay-btn":!Y.value(ne.type),"dp--hidden-el":L.value}),disabled:F(ne.type),tabindex:"0","data-test-id":`${ne.type}-toggle-overlay-btn-${r.order}`,onKeydown:g=>i(ut)(g,()=>W(ne.type),!0),onClick:g=>W(ne.type)},[u.$slots[ne.type]?ie(u.$slots,ne.type,{key:0,text:J.value(ne.type).text,value:J.value(ne.type).value}):G("",!0),u.$slots[ne.type]?G("",!0):(T(),z(ke,{key:1},[Rt(lt(J.value(ne.type).text),1)],64))],42,du),ge("button",{ref_for:!0,ref:g=>Q(g,Me,2),type:"button",class:xe({dp__btn:!0,dp__inc_dec_button:!u.timePickerInline,dp__inc_dec_button_inline:u.timePickerInline,dp__tp_inline_btn_bottom:u.timePickerInline,dp__inc_dec_button_disabled:se.value(ne.type),"dp--hidden-el":L.value}),"data-test-id":`${ne.type}-time-dec-btn-${r.order}`,"aria-label":(We=i(c))==null?void 0:We.decrementValue(ne.type),tabindex:"0",onKeydown:g=>i(ut)(g,()=>oe(ne.type,!1,{keyboard:!0}),!0),onClick:g=>i(v).timeArrowHoldThreshold?void 0:oe(ne.type,!1),onMousedown:g=>i(v).timeArrowHoldThreshold?oe(ne.type,!1):void 0,onMouseup:_},[r.timePickerInline?(T(),z(ke,{key:1},[u.$slots["tp-inline-arrow-down"]?ie(u.$slots,"tp-inline-arrow-down",{key:0}):(T(),z(ke,{key:1},[Z[4]||(Z[4]=ge("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),Z[5]||(Z[5]=ge("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(T(),z(ke,{key:0},[u.$slots["arrow-down"]?ie(u.$slots,"arrow-down",{key:0}):G("",!0),u.$slots["arrow-down"]?G("",!0):(T(),Oe(i(Dn),{key:1}))],64))],42,cu)],64))],10,uu)}),128)),u.is24?G("",!0):(T(),z("div",vu,[u.$slots["am-pm-button"]?ie(u.$slots,"am-pm-button",{key:0,toggle:$,value:M.value}):G("",!0),u.$slots["am-pm-button"]?G("",!0):(T(),z("button",{key:1,ref_key:"amPmButton",ref:b,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(ae=i(c))==null?void 0:ae.amPmButton,tabindex:"0","data-compact":D.value,onClick:$,onKeydown:Z[0]||(Z[0]=ne=>i(ut)(ne,()=>$(),!0))},lt(M.value),41,mu))])),(T(!0),z(ke,null,Fe(H.value,(ne,Me)=>(T(),Oe(da,{key:Me,name:i(x)(R[ne.type]),css:i(A)},{default:De(()=>{var be,Ce;return[R[ne.type]?(T(),Oe(xa,{key:0,items:O(ne.type),"is-last":u.autoApply&&!i(v).keepActionRow,"esc-close":u.escClose,type:ne.type,"text-input":u.textInput,config:u.config,"arrow-navigation":u.arrowNavigation,"aria-labels":u.ariaLabels,"overlay-label":(Ce=(be=i(c)).timeOverlay)==null?void 0:Ce.call(be,ne.type),onSelected:We=>te(ne.type,We),onToggle:We=>W(ne.type),onResetFlow:Z[1]||(Z[1]=We=>u.$emit("reset-flow"))},ot({"button-icon":De(()=>[u.$slots["clock-icon"]?ie(u.$slots,"clock-icon",{key:0}):G("",!0),u.$slots["clock-icon"]?G("",!0):(T(),Oe(Na(u.timePickerInline?i(ca):i(_n)),{key:1}))]),_:2},[u.$slots[`${ne.type}-overlay-value`]?{name:"item",fn:De(({item:We})=>[ie(u.$slots,`${ne.type}-overlay-value`,{text:We.text,value:We.value})]),key:"0"}:void 0,u.$slots[`${ne.type}-overlay-header`]?{name:"header",fn:De(()=>[ie(u.$slots,`${ne.type}-overlay-header`,{toggle:()=>W(ne.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):G("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),pu=["data-dp-mobile"],yu=["aria-label","tabindex"],hu=["role","aria-label","tabindex"],gu=["aria-label"],Hr=tt({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...kt},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(e,{expose:t,emit:n}){const a=n,r=e,{buildMatrix:o,setTimePicker:s}=Vt(),c=Kt(),{defaultedTransitions:d,defaultedAriaLabels:P,defaultedTextInput:v,defaultedConfig:m,defaultedRange:p}=Be(r),{transitionName:x,showTransition:A}=Ma(d),{hideNavigationButtons:R}=Ba(),M=K(null),b=K(null),S=K([]),C=K(null),L=K(!1);at(()=>{a("mount"),!r.timePicker&&r.arrowNavigation?o([je(M.value)],"time"):s(!0,r.timePicker)});const U=j(()=>p.value.enabled&&r.modelAuto?xr(r.internalModelValue):!0),Y=K(!1),N=E=>({hours:Array.isArray(r.hours)?r.hours[E]:r.hours,minutes:Array.isArray(r.minutes)?r.minutes[E]:r.minutes,seconds:Array.isArray(r.seconds)?r.seconds[E]:r.seconds}),re=j(()=>{const E=[];if(p.value.enabled)for(let ee=0;ee<2;ee++)E.push(N(ee));else E.push(N(0));return E}),V=(E,ee=!1,O="")=>{ee||a("reset-flow"),Y.value=E,a(E?"overlay-opened":"overlay-closed",rt.time),r.arrowNavigation&&s(E),mt(()=>{O!==""&&S.value[0]&&S.value[0].openChildCmp(O)})},I=j(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:r.autoApply&&!m.value.keepActionRow})),se=ct(c,"timePicker"),ce=(E,ee,O)=>p.value.enabled?ee===0?[E,re.value[1][O]]:[re.value[0][O],E]:E,ye=E=>{a("update:hours",E)},y=E=>{a("update:minutes",E)},D=E=>{a("update:seconds",E)},h=()=>{if(C.value&&!v.value.enabled&&!r.noOverlayFocus){const E=Mr(C.value);E&&E.focus({preventScroll:!0})}},H=E=>{L.value=!1,a("overlay-closed",E)},J=E=>{L.value=!0,a("overlay-opened",E)};return t({toggleTimePicker:V}),(E,ee)=>{var O;return T(),z("div",{class:"dp--tp-wrap","data-dp-mobile":E.isMobile},[!E.timePicker&&!E.timePickerInline?Aa((T(),z("button",{key:0,ref_key:"openTimePickerBtn",ref:M,type:"button",class:xe({...I.value,"dp--hidden-el":Y.value}),"aria-label":(O=i(P))==null?void 0:O.openTimePicker,tabindex:E.noOverlayFocus?void 0:0,"data-test-id":"open-time-picker-btn",onKeydown:ee[0]||(ee[0]=de=>i(ut)(de,()=>V(!0))),onClick:ee[1]||(ee[1]=de=>V(!0))},[E.$slots["clock-icon"]?ie(E.$slots,"clock-icon",{key:0}):G("",!0),E.$slots["clock-icon"]?G("",!0):(T(),Oe(i(_n),{key:1}))],42,yu)),[[Ya,!i(R)(E.hideNavigation,"time")]]):G("",!0),vt(da,{name:i(x)(Y.value),css:i(A)&&!E.timePickerInline},{default:De(()=>{var de,f;return[Y.value||E.timePicker||E.timePickerInline?(T(),z("div",{key:0,ref_key:"overlayRef",ref:C,role:E.timePickerInline?void 0:"dialog",class:xe({dp__overlay:!E.timePickerInline,"dp--overlay-absolute":!r.timePicker&&!E.timePickerInline,"dp--overlay-relative":r.timePicker}),style:pt(E.timePicker?{height:`${i(m).modeHeight}px`}:void 0),"aria-label":(de=i(P))==null?void 0:de.timePicker,tabindex:E.timePickerInline?void 0:0},[ge("div",{class:xe(E.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[E.$slots["time-picker-overlay"]?ie(E.$slots,"time-picker-overlay",{key:0,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:ye,setMinutes:y,setSeconds:D}):G("",!0),E.$slots["time-picker-overlay"]?G("",!0):(T(),z("div",{key:1,class:xe(E.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(T(!0),z(ke,null,Fe(re.value,(k,F)=>Aa((T(),Oe(fu,Je({key:F,ref_for:!0},{...E.$props,order:F,hours:k.hours,minutes:k.minutes,seconds:k.seconds,closeTimePickerBtn:b.value,disabledTimesConfig:e.disabledTimesConfig,disabled:F===0?i(p).fixedStart:i(p).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:S,"validate-time":(W,l)=>e.validateTime(W,ce(l,F,W)),"onUpdate:hours":W=>ye(ce(W,F,"hours")),"onUpdate:minutes":W=>y(ce(W,F,"minutes")),"onUpdate:seconds":W=>D(ce(W,F,"seconds")),onMounted:h,onOverlayClosed:H,onOverlayOpened:J,onAmPmChange:ee[2]||(ee[2]=W=>E.$emit("am-pm-change",W))}),ot({_:2},[Fe(i(se),(W,l)=>({name:W,fn:De(_=>[ie(E.$slots,W,Je({ref_for:!0},_))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[Ya,F===0?!0:U.value]])),128))],2)),!E.timePicker&&!E.timePickerInline?Aa((T(),z("button",{key:2,ref_key:"closeTimePickerBtn",ref:b,type:"button",class:xe({...I.value,"dp--hidden-el":L.value}),"aria-label":(f=i(P))==null?void 0:f.closeTimePicker,tabindex:"0",onKeydown:ee[3]||(ee[3]=k=>i(ut)(k,()=>V(!1))),onClick:ee[4]||(ee[4]=k=>V(!1))},[E.$slots["calendar-icon"]?ie(E.$slots,"calendar-icon",{key:0}):G("",!0),E.$slots["calendar-icon"]?G("",!0):(T(),Oe(i(ca),{key:1}))],42,gu)),[[Ya,!i(R)(E.hideNavigation,"time")]]):G("",!0)],2)],14,hu)):G("",!0)]}),_:3},8,["name","css"])],8,pu)}}}),Vr=(e,t,n,a)=>{const{defaultedRange:r}=Be(e),o=(C,L)=>Array.isArray(t[C])?t[C][L]:t[C],s=C=>e.enableSeconds?Array.isArray(t.seconds)?t.seconds[C]:t.seconds:0,c=(C,L)=>C?L!==void 0?Lt(C,o("hours",L),o("minutes",L),s(L)):Lt(C,t.hours,t.minutes,s()):br(q(),s(L)),d=(C,L)=>{t[C]=L},P=j(()=>e.modelAuto&&r.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:r.value.enabled),v=(C,L)=>{const U=Object.fromEntries(Object.keys(t).map(Y=>Y===C?[Y,L]:[Y,t[Y]].slice()));if(P.value&&!r.value.disableTimeRangeValidation){const Y=re=>n.value?Lt(n.value[re],U.hours[re],U.minutes[re],U.seconds[re]):null,N=re=>wr(n.value[re],0);return!(Te(Y(0),Y(1))&&(Gt(Y(0),N(1))||la(Y(1),N(0))))}return!0},m=(C,L)=>{v(C,L)&&(d(C,L),a&&a())},p=C=>{m("hours",C)},x=C=>{m("minutes",C)},A=C=>{m("seconds",C)},R=(C,L,U,Y)=>{L&&p(C),!L&&!U&&x(C),U&&A(C),n.value&&Y(n.value)},M=C=>{if(C){const L=Array.isArray(C),U=L?[+C[0].hours,+C[1].hours]:+C.hours,Y=L?[+C[0].minutes,+C[1].minutes]:+C.minutes,N=L?[+C[0].seconds,+C[1].seconds]:+C.seconds;d("hours",U),d("minutes",Y),e.enableSeconds&&d("seconds",N)}},b=(C,L)=>{const U={hours:Array.isArray(t.hours)?t.hours[C]:t.hours,disabledArr:[]};return(L||L===0)&&(U.hours=L),Array.isArray(e.disabledTimes)&&(U.disabledArr=r.value.enabled&&Array.isArray(e.disabledTimes[C])?e.disabledTimes[C]:e.disabledTimes),U},S=j(()=>(C,L)=>{var U;if(Array.isArray(e.disabledTimes)){const{disabledArr:Y,hours:N}=b(C,L),re=Y.filter(V=>+V.hours===N);return((U=re[0])==null?void 0:U.minutes)==="*"?{hours:[N],minutes:void 0,seconds:void 0}:{hours:[],minutes:re?.map(V=>+V.minutes)??[],seconds:re?.map(V=>V.seconds?+V.seconds:void 0)??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:d,updateHours:p,updateMinutes:x,updateSeconds:A,getSetDateTime:c,updateTimeValues:R,getSecondsValue:s,assignStartTime:M,validateTime:v,disabledTimesConfig:S}},wu=(e,t)=>{const n=()=>{e.isTextInputDate&&L()},{modelValue:a,time:r}=Pa(e,t,n),{defaultedStartTime:o,defaultedRange:s,defaultedTz:c}=Be(e),{updateTimeValues:d,getSetDateTime:P,setTime:v,assignStartTime:m,disabledTimesConfig:p,validateTime:x}=Vr(e,r,a,A);function A(){t("update-flow-step")}const R=Y=>{const{hours:N,minutes:re,seconds:V}=Y;return{hours:+N,minutes:+re,seconds:V?+V:0}},M=()=>{if(e.startTime){if(Array.isArray(e.startTime)){const N=R(e.startTime[0]),re=R(e.startTime[1]);return[Ne(q(),N),Ne(q(),re)]}const Y=R(e.startTime);return Ne(q(),Y)}return s.value.enabled?[null,null]:null},b=()=>{if(s.value.enabled){const[Y,N]=M();a.value=[dt(P(Y,0),c.value.timezone),dt(P(N,1),c.value.timezone)]}else a.value=dt(P(M()),c.value.timezone)},S=Y=>Array.isArray(Y)?[jt(q(Y[0])),jt(q(Y[1]))]:[jt(Y??q())],C=(Y,N,re)=>{v("hours",Y),v("minutes",N),v("seconds",e.enableSeconds?re:0)},L=()=>{const[Y,N]=S(a.value);return s.value.enabled?C([Y.hours,N.hours],[Y.minutes,N.minutes],[Y.seconds,N.seconds]):C(Y.hours,Y.minutes,Y.seconds)};at(()=>{if(!e.shadow)return m(o.value),a.value?L():b()});const U=()=>{Array.isArray(a.value)?a.value=a.value.map((Y,N)=>Y&&P(Y,N)):a.value=P(a.value),t("time-update")};return{modelValue:a,time:r,disabledTimesConfig:p,updateTime:(Y,N=!0,re=!1)=>{d(Y,N,re,U)},validateTime:x}},bu=tt({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...kt},emits:["update:internal-model-value","time-update","am-pm-change","mount","reset-flow","update-flow-step","overlay-toggle"],setup(e,{expose:t,emit:n}){const a=n,r=e,o=Kt(),s=ct(o,"timePicker"),c=K(null),{time:d,modelValue:P,disabledTimesConfig:v,updateTime:m,validateTime:p}=wu(r,a);return at(()=>{r.shadow||a("mount",null)}),t({getSidebarProps:()=>({modelValue:P,time:d,updateTime:m}),toggleTimePicker:(x,A=!1,R="")=>{var M;(M=c.value)==null||M.toggleTimePicker(x,A,R)}}),(x,A)=>(T(),Oe(Ea,{"multi-calendars":0,stretch:"","is-mobile":x.isMobile},{default:De(()=>[vt(Hr,Je({ref_key:"tpRef",ref:c},x.$props,{hours:i(d).hours,minutes:i(d).minutes,seconds:i(d).seconds,"internal-model-value":x.internalModelValue,"disabled-times-config":i(v),"validate-time":i(p),"onUpdate:hours":A[0]||(A[0]=R=>i(m)(R)),"onUpdate:minutes":A[1]||(A[1]=R=>i(m)(R,!1)),"onUpdate:seconds":A[2]||(A[2]=R=>i(m)(R,!1,!0)),onAmPmChange:A[3]||(A[3]=R=>x.$emit("am-pm-change",R)),onResetFlow:A[4]||(A[4]=R=>x.$emit("reset-flow")),onOverlayClosed:A[5]||(A[5]=R=>x.$emit("overlay-toggle",{open:!1,overlay:R})),onOverlayOpened:A[6]||(A[6]=R=>x.$emit("overlay-toggle",{open:!0,overlay:R}))}),ot({_:2},[Fe(i(s),(R,M)=>({name:R,fn:De(b=>[ie(x.$slots,R,Ze(it(b)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3},8,["is-mobile"]))}}),_u={class:"dp--header-wrap"},ku={key:0,class:"dp__month_year_wrap"},Du={key:0},xu={class:"dp__month_year_wrap"},Mu=["data-dp-element","aria-label","data-test-id","onClick","onKeydown"],Pu=tt({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...kt},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(e,{expose:t,emit:n}){const a=n,r=e,{defaultedTransitions:o,defaultedAriaLabels:s,defaultedMultiCalendars:c,defaultedFilters:d,defaultedConfig:P,defaultedHighlight:v,propDates:m,defaultedUI:p}=Be(r),{transitionName:x,showTransition:A}=Ma(o),{buildMatrix:R}=Vt(),{handleMonthYearChange:M,isDisabled:b,updateMonthYear:S}=Us(r,a),{showLeftIcon:C,showRightIcon:L}=Ba(),U=K(!1),Y=K(!1),N=K(!1),re=K([null,null,null,null]);at(()=>{a("mount")});const V=f=>({get:()=>r[f],set:k=>{const F=f===ht.month?ht.year:ht.month;a("update-month-year",{[f]:k,[F]:r[F]}),f===ht.month?H(!0):J(!0)}}),I=j(V(ht.month)),se=j(V(ht.year)),ce=j(()=>f=>({month:r.month,year:r.year,items:f===ht.month?r.months:r.years,instance:r.instance,updateMonthYear:S,toggle:f===ht.month?H:J})),ye=j(()=>r.months.find(k=>k.value===r.month)||{text:"",value:0}),y=j(()=>sa(r.months,f=>{const k=r.month===f.value,F=ba(f.value,$r(r.year,m.value.minDate),Ar(r.year,m.value.maxDate))||d.value.months.includes(f.value),W=Nr(v.value,f.value,r.year);return{active:k,disabled:F,highlighted:W}})),D=j(()=>sa(r.years,f=>{const k=r.year===f.value,F=ba(f.value,ua(m.value.minDate),ua(m.value.maxDate))||d.value.years.includes(f.value),W=On(v.value,f.value);return{active:k,disabled:F,highlighted:W}})),h=(f,k,F)=>{F!==void 0?f.value=F:f.value=!f.value,f.value?(N.value=!0,a("overlay-opened",k)):(N.value=!1,a("overlay-closed",k))},H=(f=!1,k)=>{E(f),h(U,rt.month,k)},J=(f=!1,k)=>{E(f),h(Y,rt.year,k)},E=f=>{f||a("reset-flow")},ee=(f,k)=>{r.arrowNavigation&&(re.value[k]=je(f),R(re.value,"monthYear"))},O=j(()=>{var f,k,F,W,l,_;return[{type:ht.month,index:1,toggle:H,modelValue:I.value,updateModelValue:oe=>I.value=oe,text:ye.value.text,showSelectionGrid:U.value,items:y.value,ariaLabel:(f=s.value)==null?void 0:f.openMonthsOverlay,overlayLabel:((F=(k=s.value).monthPicker)==null?void 0:F.call(k,!0))??void 0},{type:ht.year,index:2,toggle:J,modelValue:se.value,updateModelValue:oe=>se.value=oe,text:Pr(r.year,r.locale),showSelectionGrid:Y.value,items:D.value,ariaLabel:(W=s.value)==null?void 0:W.openYearsOverlay,overlayLabel:((_=(l=s.value).yearPicker)==null?void 0:_.call(l,!0))??void 0}]}),de=j(()=>r.disableYearSelect?[O.value[0]]:r.yearFirst?[...O.value].reverse():O.value);return t({toggleMonthPicker:H,toggleYearPicker:J,handleMonthYearChange:M}),(f,k)=>{var F,W,l,_,oe,Ye;return T(),z("div",_u,[f.$slots["month-year"]?(T(),z("div",ku,[ie(f.$slots,"month-year",Ze(it({month:e.month,year:e.year,months:e.months,years:e.years,updateMonthYear:i(S),handleMonthYearChange:i(M),instance:e.instance,isDisabled:i(b)})))])):(T(),z(ke,{key:1},[f.$slots["top-extra"]?(T(),z("div",Du,[ie(f.$slots,"top-extra",{value:f.internalModelValue})])):G("",!0),ge("div",xu,[i(C)(i(c),e.instance)&&!f.vertical?(T(),Oe(ya,{key:0,"aria-label":(F=i(s))==null?void 0:F.prevMonth,disabled:i(b)(!1),class:xe((W=i(p))==null?void 0:W.navBtnPrev),"el-name":"action-prev",onActivate:k[0]||(k[0]=$=>i(M)(!1,!0)),onSetRef:k[1]||(k[1]=$=>ee($,0))},{default:De(()=>[f.$slots["arrow-left"]?ie(f.$slots,"arrow-left",{key:0}):G("",!0),f.$slots["arrow-left"]?G("",!0):(T(),Oe(i(wn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):G("",!0),ge("div",{class:xe(["dp__month_year_wrap",{dp__year_disable_select:f.disableYearSelect}])},[(T(!0),z(ke,null,Fe(de.value,($,we)=>(T(),z(ke,{key:$.type},[ge("button",{ref_for:!0,ref:Q=>ee(Q,we+1),type:"button","data-dp-element":`overlay-${$.type}`,class:xe(["dp__btn dp__month_year_select",{"dp--hidden-el":N.value}]),"aria-label":`${$.text}-${$.ariaLabel}`,"data-test-id":`${$.type}-toggle-overlay-${e.instance}`,onClick:$.toggle,onKeydown:Q=>i(ut)(Q,()=>$.toggle(),!0)},[f.$slots[$.type]?ie(f.$slots,$.type,{key:0,text:$.text,value:r[$.type]}):G("",!0),f.$slots[$.type]?G("",!0):(T(),z(ke,{key:1},[Rt(lt($.text),1)],64))],42,Mu),vt(da,{name:i(x)($.showSelectionGrid),css:i(A)},{default:De(()=>[$.showSelectionGrid?(T(),Oe(xa,{key:0,items:$.items,"arrow-navigation":f.arrowNavigation,"hide-navigation":f.hideNavigation,"is-last":f.autoApply&&!i(P).keepActionRow,"skip-button-ref":!1,config:f.config,type:$.type,"header-refs":[],"esc-close":f.escClose,"menu-wrap-ref":f.menuWrapRef,"text-input":f.textInput,"aria-labels":f.ariaLabels,"overlay-label":$.overlayLabel,onSelected:$.updateModelValue,onToggle:$.toggle},ot({"button-icon":De(()=>[f.$slots["calendar-icon"]?ie(f.$slots,"calendar-icon",{key:0}):G("",!0),f.$slots["calendar-icon"]?G("",!0):(T(),Oe(i(ca),{key:1}))]),_:2},[f.$slots[`${$.type}-overlay-value`]?{name:"item",fn:De(({item:Q})=>[ie(f.$slots,`${$.type}-overlay-value`,{text:Q.text,value:Q.value})]),key:"0"}:void 0,f.$slots[`${$.type}-overlay`]?{name:"overlay",fn:De(()=>[ie(f.$slots,`${$.type}-overlay`,Je({ref_for:!0},ce.value($.type)))]),key:"1"}:void 0,f.$slots[`${$.type}-overlay-header`]?{name:"header",fn:De(()=>[ie(f.$slots,`${$.type}-overlay-header`,{toggle:$.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","overlay-label","onSelected","onToggle"])):G("",!0)]),_:2},1032,["name","css"])],64))),128))],2),i(C)(i(c),e.instance)&&f.vertical?(T(),Oe(ya,{key:1,"aria-label":(l=i(s))==null?void 0:l.prevMonth,"el-name":"action-prev",disabled:i(b)(!1),class:xe((_=i(p))==null?void 0:_.navBtnPrev),onActivate:k[2]||(k[2]=$=>i(M)(!1,!0))},{default:De(()=>[f.$slots["arrow-up"]?ie(f.$slots,"arrow-up",{key:0}):G("",!0),f.$slots["arrow-up"]?G("",!0):(T(),Oe(i(kn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):G("",!0),i(L)(i(c),e.instance)?(T(),Oe(ya,{key:2,ref:"rightIcon","el-name":"action-next",disabled:i(b)(!0),"aria-label":(oe=i(s))==null?void 0:oe.nextMonth,class:xe((Ye=i(p))==null?void 0:Ye.navBtnNext),onActivate:k[3]||(k[3]=$=>i(M)(!0,!0)),onSetRef:k[4]||(k[4]=$=>ee($,f.disableYearSelect?2:3))},{default:De(()=>[f.$slots[f.vertical?"arrow-down":"arrow-right"]?ie(f.$slots,f.vertical?"arrow-down":"arrow-right",{key:0}):G("",!0),f.$slots[f.vertical?"arrow-down":"arrow-right"]?G("",!0):(T(),Oe(Na(f.vertical?i(Dn):i(bn)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):G("",!0)])],64))])}}}),Tu={class:"dp__calendar_header",role:"row"},Ou={key:0,class:"dp__calendar_header_item",role:"gridcell"},$u=["aria-label"],Au={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},Yu={class:"dp__cell_inner"},Cu=["id","aria-pressed","aria-disabled","aria-label","tabindex","data-test-id","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],Ru=tt({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...kt},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(e,{expose:t,emit:n}){const a=n,r=e,{buildMultiLevelMatrix:o}=Vt(),{defaultedTransitions:s,defaultedConfig:c,defaultedAriaLabels:d,defaultedMultiCalendars:P,defaultedWeekNumbers:v,defaultedMultiDates:m,defaultedUI:p}=Be(r),x=K(null),A=K({bottom:"",left:"",transform:""}),R=K([]),M=K(null),b=K(!0),S=K(""),C=K({startX:0,endX:0,startY:0,endY:0}),L=K([]),U=K({left:"50%"}),Y=K(!1),N=j(()=>r.calendar?r.calendar(r.mappedDates):r.mappedDates),re=j(()=>r.dayNames?Array.isArray(r.dayNames)?r.dayNames:r.dayNames(r.locale,+r.weekStart):vs(r.formatLocale,r.locale,+r.weekStart));at(()=>{a("mount",{cmp:"calendar",refs:R}),c.value.noSwipe||M.value&&(M.value.addEventListener("touchstart",ee,{passive:!1}),M.value.addEventListener("touchend",O,{passive:!1}),M.value.addEventListener("touchmove",de,{passive:!1})),r.monthChangeOnScroll&&M.value&&M.value.addEventListener("wheel",F,{passive:!1})}),ia(()=>{c.value.noSwipe||M.value&&(M.value.removeEventListener("touchstart",ee),M.value.removeEventListener("touchend",O),M.value.removeEventListener("touchmove",de)),r.monthChangeOnScroll&&M.value&&M.value.removeEventListener("wheel",F)});const V=$=>$?r.vertical?"vNext":"next":r.vertical?"vPrevious":"previous",I=($,we)=>{if(r.transitions){const Q=et(Ct(q(),r.month,r.year));S.value=qe(et(Ct(q(),$,we)),Q)?s.value[V(!0)]:s.value[V(!1)],b.value=!1,mt(()=>{b.value=!0})}},se=j(()=>({...p.value.calendar??{}})),ce=j(()=>$=>{const we=fs($);return{dp__marker_dot:we.type==="dot",dp__marker_line:we.type==="line"}}),ye=j(()=>$=>Te($,x.value)),y=j(()=>({dp__calendar:!0,dp__calendar_next:P.value.count>0&&r.instance!==0})),D=j(()=>$=>r.hideOffsetDates?$.current:!0),h=async($,we)=>{const{width:Q,height:te}=$.getBoundingClientRect();x.value=we.value;let u={left:`${Q/2}px`},Z=-50;if(await mt(),L.value[0]){const{left:ae,width:ne}=L.value[0].getBoundingClientRect();ae<0&&(u={left:"0"},Z=0,U.value.left=`${Q/2}px`),window.innerWidth{var te,u,Z;const ae=je(R.value[we][Q]);ae&&((te=$.marker)!=null&&te.customPosition&&(Z=(u=$.marker)==null?void 0:u.tooltip)!=null&&Z.length?A.value=$.marker.customPosition(ae):await h(ae,$),a("tooltip-open",$.marker))},J=async($,we,Q)=>{var te,u;if(Y.value&&m.value.enabled&&m.value.dragSelect)return a("select-date",$);if(a("set-hover-date",$),(u=(te=$.marker)==null?void 0:te.tooltip)!=null&&u.length){if(r.hideOffsetDates&&!$.current)return;await H($,we,Q)}},E=$=>{x.value&&(x.value=null,A.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),a("tooltip-close",$.marker))},ee=$=>{C.value.startX=$.changedTouches[0].screenX,C.value.startY=$.changedTouches[0].screenY},O=$=>{C.value.endX=$.changedTouches[0].screenX,C.value.endY=$.changedTouches[0].screenY,f()},de=$=>{r.vertical&&!r.inline&&$.preventDefault()},f=()=>{const $=r.vertical?"Y":"X";Math.abs(C.value[`start${$}`]-C.value[`end${$}`])>10&&a("handle-swipe",C.value[`start${$}`]>C.value[`end${$}`]?"right":"left")},k=($,we,Q)=>{$&&(Array.isArray(R.value[we])?R.value[we][Q]=$:R.value[we]=[$]),r.arrowNavigation&&o(R.value,"calendar")},F=$=>{r.monthChangeOnScroll&&($.preventDefault(),a("handle-scroll",$))},W=$=>v.value.type==="local"?yn($.value,{weekStartsOn:+r.weekStart}):v.value.type==="iso"?fn($.value):typeof v.value.type=="function"?v.value.type($.value):"",l=$=>{const we=$[0];return v.value.hideOnOffsetDates?$.some(Q=>Q.current)?W(we):"":W(we)},_=($,we,Q=!0)=>{!Q&&ws()||(!m.value.enabled||c.value.allowPreventDefault)&&(Bt($,c.value),a("select-date",we))},oe=$=>{Bt($,c.value)},Ye=$=>{m.value.enabled&&m.value.dragSelect?(Y.value=!0,a("select-date",$)):m.value.enabled&&a("select-date",$)};return t({triggerTransition:I}),($,we)=>(T(),z("div",{class:xe(y.value)},[ge("div",{ref_key:"calendarWrapRef",ref:M,class:xe(se.value),role:"grid"},[ge("div",Tu,[$.weekNumbers?(T(),z("div",Ou,lt($.weekNumName),1)):G("",!0),(T(!0),z(ke,null,Fe(re.value,(Q,te)=>{var u,Z;return T(),z("div",{key:te,class:"dp__calendar_header_item",role:"gridcell","data-test-id":"calendar-header","aria-label":(Z=(u=i(d))==null?void 0:u.weekDay)==null?void 0:Z.call(u,te)},[$.$slots["calendar-header"]?ie($.$slots,"calendar-header",{key:0,day:Q,index:te}):G("",!0),$.$slots["calendar-header"]?G("",!0):(T(),z(ke,{key:1},[Rt(lt(Q),1)],64))],8,$u)}),128))]),we[2]||(we[2]=ge("div",{class:"dp__calendar_header_separator"},null,-1)),vt(da,{name:S.value,css:!!$.transitions},{default:De(()=>[b.value?(T(),z("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:we[1]||(we[1]=Q=>Y.value=!1)},[(T(!0),z(ke,null,Fe(N.value,(Q,te)=>(T(),z("div",{key:te,class:"dp__calendar_row",role:"row"},[$.weekNumbers?(T(),z("div",Au,[ge("div",Yu,lt(l(Q.days)),1)])):G("",!0),(T(!0),z(ke,null,Fe(Q.days,(u,Z)=>{var ae,ne,Me;return T(),z("div",{id:i(vn)(u.value),ref_for:!0,ref:be=>k(be,te,Z),key:Z+te,role:"gridcell",class:"dp__calendar_item","aria-pressed":(u.classData.dp__active_date||u.classData.dp__range_start||u.classData.dp__range_start)??void 0,"aria-disabled":u.classData.dp__cell_disabled||void 0,"aria-label":(ne=(ae=i(d))==null?void 0:ae.day)==null?void 0:ne.call(ae,u),tabindex:!u.current&&$.hideOffsetDates?void 0:0,"data-test-id":i(vn)(u.value),onClick:ga(be=>_(be,u),["prevent"]),onTouchend:be=>_(be,u,!1),onKeydown:be=>i(ut)(be,()=>$.$emit("select-date",u)),onMouseenter:be=>J(u,te,Z),onMouseleave:be=>E(u),onMousedown:be=>Ye(u),onMouseup:we[0]||(we[0]=be=>Y.value=!1)},[ge("div",{class:xe(["dp__cell_inner",u.classData])},[$.$slots.day&&D.value(u)?ie($.$slots,"day",{key:0,day:+u.text,date:u.value}):G("",!0),$.$slots.day?G("",!0):(T(),z(ke,{key:1},[Rt(lt(u.text),1)],64)),u.marker&&D.value(u)?(T(),z(ke,{key:2},[$.$slots.marker?ie($.$slots,"marker",{key:0,marker:u.marker,day:+u.text,date:u.value}):(T(),z("div",{key:1,class:xe(ce.value(u.marker)),style:pt(u.marker.color?{backgroundColor:u.marker.color}:{})},null,6))],64)):G("",!0),ye.value(u.value)?(T(),z("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:L,class:"dp__marker_tooltip",style:pt(A.value)},[(Me=u.marker)!=null&&Me.tooltip?(T(),z("div",{key:0,class:"dp__tooltip_content",onClick:oe},[(T(!0),z(ke,null,Fe(u.marker.tooltip,(be,Ce)=>(T(),z("div",{key:Ce,class:"dp__tooltip_text"},[$.$slots["marker-tooltip"]?ie($.$slots,"marker-tooltip",{key:0,tooltip:be,day:u.value}):G("",!0),$.$slots["marker-tooltip"]?G("",!0):(T(),z(ke,{key:1},[ge("div",{class:"dp__tooltip_mark",style:pt(be.color?{backgroundColor:be.color}:{})},null,4),ge("div",null,lt(be.text),1)],64))]))),128)),ge("div",{class:"dp__arrow_bottom_tp",style:pt(U.value)},null,4)])):G("",!0)],4)):G("",!0)],2)],40,Cu)}),128))]))),128))],32)):G("",!0)]),_:3},8,["name","css"])],2)],2))}}),Xn=e=>Array.isArray(e),Su=(e,t,n,a)=>{const r=K([]),o=K(new Date),s=K(),c=()=>O(e.isTextInputDate),{modelValue:d,calendars:P,time:v,today:m}=Pa(e,t,c),{defaultedMultiCalendars:p,defaultedStartTime:x,defaultedRange:A,defaultedConfig:R,defaultedTz:M,propDates:b,defaultedMultiDates:S}=Be(e),{validateMonthYearInRange:C,isDisabled:L,isDateRangeAllowed:U,checkMinMaxRange:Y}=Wt(e),{updateTimeValues:N,getSetDateTime:re,setTime:V,assignStartTime:I,validateTime:se,disabledTimesConfig:ce}=Vr(e,v,d,a),ye=j(()=>w=>P.value[w]?P.value[w].month:0),y=j(()=>w=>P.value[w]?P.value[w].year:0),D=w=>!R.value.keepViewOnOffsetClick||w?!0:!s.value,h=(w,X,fe,_e=!1)=>{var B,ue;D(_e)&&(P.value[w]||(P.value[w]={month:0,year:0}),P.value[w].month=qn(X)?(B=P.value[w])==null?void 0:B.month:X,P.value[w].year=qn(fe)?(ue=P.value[w])==null?void 0:ue.year:fe)},H=()=>{e.autoApply&&t("select-date")},J=()=>{x.value&&I(x.value)};at(()=>{e.shadow||(d.value||(we(),J()),O(!0),e.focusStartDate&&e.startDate&&we())});const E=j(()=>{var w;return(w=e.flow)!=null&&w.length&&!e.partialFlow?e.flowStep===e.flow.length:!0}),ee=()=>{e.autoApply&&E.value&&t("auto-apply",e.partialFlow?e.flowStep!==e.flow.length:!1)},O=(w=!1)=>{if(d.value)return Array.isArray(d.value)?(r.value=d.value,_(w)):k(d.value,w);if(p.value.count&&w&&!e.startDate)return f(q(),w)},de=()=>Array.isArray(d.value)&&A.value.enabled?Pe(d.value[0])===Pe(d.value[1]??d.value[0]):!1,f=(w=new Date,X=!1)=>{if((!p.value.count||!p.value.static||X)&&h(0,Pe(w),he(w)),p.value.count&&(!d.value||de()||!p.value.solo)&&(!p.value.solo||X))for(let fe=1;fe{f(w),V("hours",St(w)),V("minutes",Ht(w)),V("seconds",ra(w)),p.value.count&&X&&$()},F=w=>{if(p.value.count){if(p.value.solo)return 0;const X=Pe(w[0]),fe=Pe(w[1]);return Math.abs(fe-X){w[1]&&A.value.showLastInRange?f(w[F(w)],X):f(w[0],X);const fe=(_e,B)=>[_e(w[0]),w[1]?_e(w[1]):v[B][1]];V("hours",fe(St,"hours")),V("minutes",fe(Ht,"minutes")),V("seconds",fe(ra,"seconds"))},l=(w,X)=>{if((A.value.enabled||e.weekPicker)&&!S.value.enabled)return W(w,X);if(S.value.enabled&&X){const fe=w[w.length-1];return k(fe,X)}},_=w=>{const X=d.value;l(X,w),p.value.count&&p.value.solo&&$()},oe=(w,X)=>{const fe=Ne(q(),{month:ye.value(X),year:y.value(X)}),_e=w<0?bt(fe,1):oa(fe,1);C(Pe(_e),he(_e),w<0,e.preventMinMaxNavigation)&&(h(X,Pe(_e),he(_e)),t("update-month-year",{instance:X,month:Pe(_e),year:he(_e)}),p.value.count&&!p.value.solo&&Ye(X),n())},Ye=w=>{for(let X=w-1;X>=0;X--){const fe=oa(Ne(q(),{month:ye.value(X+1),year:y.value(X+1)}),1);h(X,Pe(fe),he(fe))}for(let X=w+1;X<=p.value.count-1;X++){const fe=bt(Ne(q(),{month:ye.value(X-1),year:y.value(X-1)}),1);h(X,Pe(fe),he(fe))}},$=()=>{if(Array.isArray(d.value)&&d.value.length===2){const w=q(q(d.value[1]?d.value[1]:bt(d.value[0],1))),[X,fe]=[Pe(d.value[0]),he(d.value[0])],[_e,B]=[Pe(d.value[1]),he(d.value[1])];(X!==_e||X===_e&&fe!==B)&&p.value.solo&&h(1,Pe(w),he(w))}else d.value&&!Array.isArray(d.value)&&(h(0,Pe(d.value),he(d.value)),f(q()))},we=()=>{e.startDate&&(h(0,Pe(q(e.startDate)),he(q(e.startDate))),p.value.count&&Ye(0))},Q=(w,X)=>{if(e.monthChangeOnScroll){const fe=new Date().getTime()-o.value.getTime(),_e=Math.abs(w.deltaY);let B=500;_e>1&&(B=100),_e>100&&(B=0),fe>B&&(o.value=new Date,oe(e.monthChangeOnScroll!=="inverse"?-w.deltaY:w.deltaY,X))}},te=(w,X,fe=!1)=>{e.monthChangeOnArrows&&e.vertical===fe&&u(w,X)},u=(w,X)=>{oe(w==="right"?-1:1,X)},Z=w=>{if(b.value.markers)return Sa(w.value,b.value.markers)},ae=(w,X)=>{switch(e.sixWeeks===!0?"append":e.sixWeeks){case"prepend":return[!0,!1];case"center":return[w==0,!0];case"fair":return[w==0||X>w,!0];case"append":return[!1,!1];default:return[!1,!1]}},ne=(w,X,fe,_e)=>{if(e.sixWeeks&&w.length<6){const B=6-w.length,ue=(X.getDay()+7-_e)%7,me=6-(fe.getDay()+7-_e)%7,[At,Mt]=ae(ue,me);for(let zt=1;zt<=B;zt++)if(Mt?!!(zt%2)==At:At){const Nt=w[0].days[0],Ua=Me(ft(Nt.value,-7),Pe(X));w.unshift({days:Ua})}else{const Nt=w[w.length-1],Ua=Nt.days[Nt.days.length-1],qr=Me(ft(Ua.value,1),Pe(X));w.push({days:qr})}}return w},Me=(w,X)=>{const fe=q(w),_e=[];for(let B=0;B<7;B++){const ue=ft(fe,B),me=Pe(ue)!==X;_e.push({text:e.hideOffsetDates&&me?"":ue.getDate(),value:ue,current:!me,classData:{}})}return _e},be=(w,X)=>{const fe=[],_e=new Date(X,w),B=new Date(X,w+1,0),ue=e.weekStart,me=_t(_e,{weekStartsOn:ue}),At=Mt=>{const zt=Me(Mt,w);if(fe.push({days:zt}),!fe[fe.length-1].days.some(Nt=>Te(et(Nt.value),et(B)))){const Nt=ft(Mt,7);At(Nt)}};return At(me),ne(fe,_e,B,ue)},Ce=w=>{const X=Lt(q(w.value),v.hours,v.minutes,ve());t("date-update",X),S.value.enabled?$n(X,d,S.value.limit):d.value=X,a(),mt().then(()=>{ee()})},We=w=>A.value.noDisabledRange?Yr(r.value[0],w).some(X=>L(X)):!1,g=()=>{r.value=d.value?d.value.slice():[],r.value.length===2&&!(A.value.fixedStart||A.value.fixedEnd)&&(r.value=[])},le=(w,X)=>{const fe=[q(w.value),ft(q(w.value),+A.value.autoRange)];U(fe)?(X&&$e(w.value),r.value=fe):t("invalid-date",w.value)},$e=w=>{const X=Pe(q(w)),fe=he(q(w));if(h(0,X,fe),p.value.count>0)for(let _e=1;_e{if(We(w.value)||!Y(w.value,d.value,A.value.fixedStart?0:1))return t("invalid-date",w.value);r.value=Br(q(w.value),d,t,A)},Dt=(w,X)=>{if(g(),A.value.autoRange)return le(w,X);if(A.value.fixedStart||A.value.fixedEnd)return Ge(w);r.value[0]?Y(q(w.value),d.value)&&!We(w.value)?He(q(w.value),q(r.value[0]))?(r.value.unshift(q(w.value)),t("range-end",r.value[0])):(r.value[1]=q(w.value),t("range-end",r.value[1])):(e.autoApply&&t("auto-apply-invalid",w.value),t("invalid-date",w.value)):(r.value[0]=q(w.value),t("range-start",r.value[0]))},ve=(w=!0)=>e.enableSeconds?Array.isArray(v.seconds)?w?v.seconds[0]:v.seconds[1]:v.seconds:0,Ke=w=>{r.value[w]=Lt(r.value[w],v.hours[w],v.minutes[w],ve(w!==1))},xt=()=>{var w,X;r.value[0]&&r.value[1]&&+((w=r.value)==null?void 0:w[0])>+((X=r.value)==null?void 0:X[1])&&(r.value.reverse(),t("range-start",r.value[0]),t("range-end",r.value[1]))},La=()=>{r.value.length&&(r.value[0]&&!r.value[1]?Ke(0):(Ke(0),Ke(1),a()),xt(),d.value=r.value.slice(),Fa(r.value,t,e.autoApply,e.modelAuto))},Ta=(w,X=!1)=>{if(L(w.value)||!w.current&&e.hideOffsetDates)return t("invalid-date",w.value);if(s.value=JSON.parse(JSON.stringify(w)),!A.value.enabled)return Ce(w);Xn(v.hours)&&Xn(v.minutes)&&!S.value.enabled&&(Dt(w,X),La())},Ha=(w,X)=>{var fe;h(w,X.month,X.year,!0),p.value.count&&!p.value.solo&&Ye(w),t("update-month-year",{instance:w,month:X.month,year:X.year}),n(p.value.solo?w:void 0);const _e=(fe=e.flow)!=null&&fe.length?e.flow[e.flowStep]:void 0;!X.fromNav&&(_e===rt.month||_e===rt.year)&&a()},Va=(w,X)=>{Fr({value:w,modelValue:d,range:A.value.enabled,timezone:X?void 0:M.value.timezone}),H(),e.multiCalendars&&mt().then(()=>O(!0))},Wa=()=>{const w=xn(q(),M.value);!A.value.enabled&&!S.value.enabled?d.value=w:d.value&&Array.isArray(d.value)&&d.value[0]?S.value.enabled?d.value=[...d.value,w]:d.value=He(w,d.value[0])?[w,d.value[0]]:[d.value[0],w]:d.value=[w],H()},za=()=>{if(Array.isArray(d.value))if(S.value.enabled){const w=qa();d.value[d.value.length-1]=re(w)}else d.value=d.value.map((w,X)=>w&&re(w,X));else d.value=re(d.value);t("time-update")},qa=()=>Array.isArray(d.value)&&d.value.length?d.value[d.value.length-1]:null;return{calendars:P,modelValue:d,month:ye,year:y,time:v,disabledTimesConfig:ce,today:m,validateTime:se,getCalendarDays:be,getMarker:Z,handleScroll:Q,handleSwipe:u,handleArrow:te,selectDate:Ta,updateMonthYear:Ha,presetDate:Va,selectCurrentDate:Wa,updateTime:(w,X=!0,fe=!1)=>{N(w,X,fe,za)},assignMonthAndYear:f,setStartTime:J}},Nu={key:0},Iu=tt({__name:"DatePicker",props:{...kt},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:t,emit:n}){const a=n,r=e,{calendars:o,month:s,year:c,modelValue:d,time:P,disabledTimesConfig:v,today:m,validateTime:p,getCalendarDays:x,getMarker:A,handleArrow:R,handleScroll:M,handleSwipe:b,selectDate:S,updateMonthYear:C,presetDate:L,selectCurrentDate:U,updateTime:Y,assignMonthAndYear:N,setStartTime:re}=Su(r,a,de,f),V=Kt(),{setHoverDate:I,getDayClassData:se,clearHoverDate:ce}=Ju(d,r),{defaultedMultiCalendars:ye}=Be(r),y=K([]),D=K([]),h=K(null),H=ct(V,"calendar"),J=ct(V,"monthYear"),E=ct(V,"timePicker"),ee=Q=>{r.shadow||a("mount",Q)};yt(o,()=>{r.shadow||setTimeout(()=>{a("recalculate-position")},0)},{deep:!0}),yt(ye,(Q,te)=>{Q.count-te.count>0&&N()},{deep:!0});const O=j(()=>Q=>x(s.value(Q),c.value(Q)).map(te=>({...te,days:te.days.map(u=>(u.marker=A(u),u.classData=se(u),u))})));function de(Q){var te;Q||Q===0?(te=D.value[Q])==null||te.triggerTransition(s.value(Q),c.value(Q)):D.value.forEach((u,Z)=>u.triggerTransition(s.value(Z),c.value(Z)))}function f(){a("update-flow-step")}const k=(Q,te=!1)=>{S(Q,te),r.spaceConfirm&&a("select-date")},F=(Q,te,u=0)=>{var Z;(Z=y.value[u])==null||Z.toggleMonthPicker(Q,te)},W=(Q,te,u=0)=>{var Z;(Z=y.value[u])==null||Z.toggleYearPicker(Q,te)},l=(Q,te,u)=>{var Z;(Z=h.value)==null||Z.toggleTimePicker(Q,te,u)},_=(Q,te)=>{var u;if(!r.range){const Z=d.value?d.value:m,ae=te?new Date(te):Z,ne=Q?_t(ae,{weekStartsOn:1}):ur(ae,{weekStartsOn:1});S({value:ne,current:Pe(ae)===s.value(0),text:"",classData:{}}),(u=document.getElementById(vn(ne)))==null||u.focus()}},oe=Q=>{var te;(te=y.value[0])==null||te.handleMonthYearChange(Q,!0)},Ye=Q=>{C(0,{month:s.value(0),year:c.value(0)+(Q?1:-1),fromNav:!0})},$=(Q,te)=>{Q===rt.time&&a(`time-picker-${te?"open":"close"}`),a("overlay-toggle",{open:te,overlay:Q})},we=Q=>{a("overlay-toggle",{open:!1,overlay:Q}),a("focus-menu")};return t({clearHoverDate:ce,presetDate:L,selectCurrentDate:U,toggleMonthPicker:F,toggleYearPicker:W,toggleTimePicker:l,handleArrow:R,updateMonthYear:C,getSidebarProps:()=>({modelValue:d,month:s,year:c,time:P,updateTime:Y,updateMonthYear:C,selectDate:S,presetDate:L}),changeMonth:oe,changeYear:Ye,selectWeekDate:_,setStartTime:re}),(Q,te)=>(T(),z(ke,null,[vt(Ea,{"multi-calendars":i(ye).count,collapse:Q.collapse,"is-mobile":Q.isMobile},{default:De(({instance:u,index:Z})=>[Q.disableMonthYearSelect?G("",!0):(T(),Oe(Pu,Je({key:0,ref:ae=>{ae&&(y.value[Z]=ae)},months:i(Dr)(Q.formatLocale,Q.locale,Q.monthNameFormat),years:i(Mn)(Q.yearRange,Q.locale,Q.reverseYears),month:i(s)(u),year:i(c)(u),instance:u},Q.$props,{onMount:te[0]||(te[0]=ae=>ee(i(Qt).header)),onResetFlow:te[1]||(te[1]=ae=>Q.$emit("reset-flow")),onUpdateMonthYear:ae=>i(C)(u,ae),onOverlayClosed:we,onOverlayOpened:te[2]||(te[2]=ae=>Q.$emit("overlay-toggle",{open:!0,overlay:ae}))}),ot({_:2},[Fe(i(J),(ae,ne)=>({name:ae,fn:De(Me=>[ie(Q.$slots,ae,Ze(it(Me)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),vt(Ru,Je({ref:ae=>{ae&&(D.value[Z]=ae)},"mapped-dates":O.value(u),month:i(s)(u),year:i(c)(u),instance:u},Q.$props,{onSelectDate:ae=>i(S)(ae,u!==1),onHandleSpace:ae=>k(ae,u!==1),onSetHoverDate:te[3]||(te[3]=ae=>i(I)(ae)),onHandleScroll:ae=>i(M)(ae,u),onHandleSwipe:ae=>i(b)(ae,u),onMount:te[4]||(te[4]=ae=>ee(i(Qt).calendar)),onResetFlow:te[5]||(te[5]=ae=>Q.$emit("reset-flow")),onTooltipOpen:te[6]||(te[6]=ae=>Q.$emit("tooltip-open",ae)),onTooltipClose:te[7]||(te[7]=ae=>Q.$emit("tooltip-close",ae))}),ot({_:2},[Fe(i(H),(ae,ne)=>({name:ae,fn:De(Me=>[ie(Q.$slots,ae,Ze(it({...Me})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse","is-mobile"]),Q.enableTimePicker?(T(),z("div",Nu,[Q.$slots["time-picker"]?ie(Q.$slots,"time-picker",Ze(Je({key:0},{time:i(P),updateTime:i(Y)}))):(T(),Oe(Hr,Je({key:1,ref_key:"timePickerRef",ref:h},Q.$props,{hours:i(P).hours,minutes:i(P).minutes,seconds:i(P).seconds,"internal-model-value":Q.internalModelValue,"disabled-times-config":i(v),"validate-time":i(p),onMount:te[8]||(te[8]=u=>ee(i(Qt).timePicker)),"onUpdate:hours":te[9]||(te[9]=u=>i(Y)(u)),"onUpdate:minutes":te[10]||(te[10]=u=>i(Y)(u,!1)),"onUpdate:seconds":te[11]||(te[11]=u=>i(Y)(u,!1,!0)),onResetFlow:te[12]||(te[12]=u=>Q.$emit("reset-flow")),onOverlayClosed:te[13]||(te[13]=u=>$(u,!1)),onOverlayOpened:te[14]||(te[14]=u=>$(u,!0)),onAmPmChange:te[15]||(te[15]=u=>Q.$emit("am-pm-change",u))}),ot({_:2},[Fe(i(E),(u,Z)=>({name:u,fn:De(ae=>[ie(Q.$slots,u,Ze(it(ae)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):G("",!0)],64))}}),Eu=(e,t)=>{const n=K(),{defaultedMultiCalendars:a,defaultedConfig:r,defaultedHighlight:o,defaultedRange:s,propDates:c,defaultedFilters:d,defaultedMultiDates:P}=Be(e),{modelValue:v,year:m,month:p,calendars:x}=Pa(e,t),{isDisabled:A}=Wt(e),{selectYear:R,groupedYears:M,showYearPicker:b,isDisabled:S,toggleYearPicker:C,handleYearSelect:L,handleYear:U}=Lr({modelValue:v,multiCalendars:a,range:s,highlight:o,calendars:x,propDates:c,month:p,year:m,filters:d,props:e,emit:t}),Y=(D,h)=>[D,h].map(H=>$t(H,"MMMM",{locale:e.formatLocale})).join("-"),N=j(()=>D=>v.value?Array.isArray(v.value)?v.value.some(h=>Vn(D,h)):Vn(v.value,D):!1),re=D=>{if(s.value.enabled){if(Array.isArray(v.value)){const h=Te(D,v.value[0])||Te(D,v.value[1]);return _a(v.value,n.value,D)&&!h}return!1}return!1},V=(D,h)=>D.quarter===In(h)&&D.year===he(h),I=D=>typeof o.value=="function"?o.value({quarter:In(D),year:he(D)}):!!o.value.quarters.find(h=>V(h,D)),se=j(()=>D=>{const h=Ne(new Date,{year:m.value(D)});return cl({start:wa(h),end:sr(h)}).map(H=>{const J=Ut(H),E=En(H),ee=A(H),O=re(J),de=I(J);return{text:Y(J,E),value:J,active:N.value(J),highlighted:de,disabled:ee,isBetween:O}})}),ce=D=>{$n(D,v,P.value.limit),t("auto-apply",!0)},ye=D=>{v.value=An(v,D,t),Fa(v.value,t,e.autoApply,e.modelAuto)},y=D=>{v.value=D,t("auto-apply")};return{defaultedConfig:r,defaultedMultiCalendars:a,groupedYears:M,year:m,isDisabled:S,quarters:se,showYearPicker:b,modelValue:v,setHoverDate:D=>{n.value=D},selectYear:R,selectQuarter:(D,h,H)=>{if(!H)return x.value[h].month=Pe(En(D)),P.value.enabled?ce(D):s.value.enabled?ye(D):y(D)},toggleYearPicker:C,handleYearSelect:L,handleYear:U}},Fu={class:"dp--quarter-items"},Bu=["data-test-id","disabled","onClick","onMouseover"],Lu=tt({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...kt},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end","overlay-toggle","update-month-year"],setup(e,{expose:t,emit:n}){const a=n,r=e,o=Kt(),s=ct(o,"yearMode"),{defaultedMultiCalendars:c,defaultedConfig:d,groupedYears:P,year:v,isDisabled:m,quarters:p,modelValue:x,showYearPicker:A,setHoverDate:R,selectQuarter:M,toggleYearPicker:b,handleYearSelect:S,handleYear:C}=Eu(r,a);return t({getSidebarProps:()=>({modelValue:x,year:v,selectQuarter:M,handleYearSelect:S,handleYear:C})}),(L,U)=>(T(),Oe(Ea,{"multi-calendars":i(c).count,collapse:L.collapse,stretch:"","is-mobile":L.isMobile},{default:De(({instance:Y})=>[ge("div",{class:"dp-quarter-picker-wrap",style:pt({minHeight:`${i(d).modeHeight}px`})},[L.$slots["top-extra"]?ie(L.$slots,"top-extra",{key:0,value:L.internalModelValue}):G("",!0),ge("div",null,[vt(Er,Je(L.$props,{items:i(P)(Y),instance:Y,"show-year-picker":i(A)[Y],year:i(v)(Y),"is-disabled":N=>i(m)(Y,N),onHandleYear:N=>i(C)(Y,N),onYearSelect:N=>i(S)(N,Y),onToggleYearPicker:N=>i(b)(Y,N?.flow,N?.show)}),ot({_:2},[Fe(i(s),(N,re)=>({name:N,fn:De(V=>[ie(L.$slots,N,Ze(it(V)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),ge("div",Fu,[(T(!0),z(ke,null,Fe(i(p)(Y),(N,re)=>(T(),z("div",{key:re},[ge("button",{type:"button",class:xe(["dp--qr-btn",{"dp--qr-btn-active":N.active,"dp--qr-btn-between":N.isBetween,"dp--qr-btn-disabled":N.disabled,"dp--highlighted":N.highlighted}]),"data-test-id":N.value,disabled:N.disabled,onClick:V=>i(M)(N.value,Y,N.disabled),onMouseover:V=>i(R)(N.value)},[L.$slots.quarter?ie(L.$slots,"quarter",{key:0,value:N.value,text:N.text}):(T(),z(ke,{key:1},[Rt(lt(N.text),1)],64))],42,Bu)]))),128))])],4)]),_:3},8,["multi-calendars","collapse","is-mobile"]))}}),Wr=(e,t)=>{const n=K(0);at(()=>{a(),window.addEventListener("resize",a,{passive:!0})}),ia(()=>{window.removeEventListener("resize",a)});const a=()=>{n.value=window.document.documentElement.clientWidth};return{isMobile:j(()=>n.value<=e.value.mobileBreakpoint&&!t?!0:void 0)}},Hu=["id","tabindex","role","aria-label"],Vu={key:0,class:"dp--menu-load-container"},Wu={key:1,class:"dp--menu-header"},zu=["data-dp-mobile"],qu={key:0,class:"dp__sidebar_left"},Uu=["data-dp-mobile"],Qu=["data-test-id","data-dp-mobile","onClick","onKeydown"],ju={key:2,class:"dp__sidebar_right"},Gu={key:3,class:"dp__action_extra"},Zn=tt({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...Ia,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date","overlay-toggle","menu-blur"],setup(e,{expose:t,emit:n}){const a=n,r=e,o=K(null),s=j(()=>{const{openOnTop:g,...le}=r;return{...le,isMobile:M.value,flowStep:ye.value,menuWrapRef:o.value}}),{setMenuFocused:c,setShiftKey:d,control:P}=Ir(),v=Kt(),{defaultedTextInput:m,defaultedInline:p,defaultedConfig:x,defaultedUI:A,handleEventPropagation:R}=Be(r),{isMobile:M}=Wr(x,r.shadow),b=K(null),S=K(0),C=K(null),L=K(!1),U=K(null),Y=K(!1),N=g=>{Y.value=!0,x.value.allowPreventDefault&&g.preventDefault(),Bt(g,x.value,!0)};at(()=>{if(!r.shadow){L.value=!0,re(),window.addEventListener("resize",re);const g=je(o);g&&!m.value.enabled&&!p.value.enabled&&(c(!0),ee()),g&&(g.addEventListener("pointerdown",N),g.addEventListener("mousedown",N))}document.addEventListener("mousedown",We)}),ia(()=>{window.removeEventListener("resize",re),document.removeEventListener("mousedown",We);const g=je(o);g&&(g.removeEventListener("pointerdown",N),g.removeEventListener("mousedown",N))});const re=()=>{const g=je(C);g&&(S.value=g.getBoundingClientRect().width)},{arrowRight:V,arrowLeft:I,arrowDown:se,arrowUp:ce}=Vt(),{flowStep:ye,updateFlowStep:y,childMount:D,resetFlow:h,handleFlow:H}=ei(r,a,U),J=j(()=>r.monthPicker?ru:r.yearPicker?ou:r.timePicker?bu:r.quarterPicker?Lu:Iu),E=j(()=>{var g;if(x.value.arrowLeft)return x.value.arrowLeft;const le=(g=o.value)==null?void 0:g.getBoundingClientRect(),$e=r.getInputRect();return $e?.width=(le?.right??0)&&$e?.width{const g=je(o);g&&g.focus({preventScroll:!0})},O=j(()=>{var g;return((g=U.value)==null?void 0:g.getSidebarProps())||{}}),de=()=>{r.openOnTop&&a("recalculate-position")},f=ct(v,"action"),k=j(()=>r.monthPicker||r.yearPicker?ct(v,"monthYear"):r.timePicker?ct(v,"timePicker"):ct(v,"shared")),F=j(()=>r.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),W=j(()=>({dp__menu_disabled:r.disabled,dp__menu_readonly:r.readonly,"dp-menu-loading":r.loading})),l=j(()=>({dp__menu:!0,dp__menu_index:!p.value.enabled,dp__relative:p.value.enabled,...A.value.menu??{}})),_=g=>{Bt(g,x.value,!0)},oe=g=>{r.escClose&&(a("close-picker"),R(g))},Ye=g=>{if(r.arrowNavigation){if(g===st.up)return ce();if(g===st.down)return se();if(g===st.left)return I();if(g===st.right)return V()}else g===st.left||g===st.up?u("handleArrow",st.left,0,g===st.up):u("handleArrow",st.right,0,g===st.down)},$=g=>{d(g.shiftKey),!r.disableMonthYearSelect&&g.code===Ee.tab&&g.target.classList.contains("dp__menu")&&P.value.shiftKeyInMenu&&(g.preventDefault(),Bt(g,x.value,!0),a("close-picker"))},we=()=>{ee(),a("time-picker-close")},Q=g=>{var le,$e,Ge;(le=U.value)==null||le.toggleTimePicker(!1,!1),($e=U.value)==null||$e.toggleMonthPicker(!1,!1,g),(Ge=U.value)==null||Ge.toggleYearPicker(!1,!1,g)},te=(g,le=0)=>{var $e,Ge,Dt;return g==="month"?($e=U.value)==null?void 0:$e.toggleMonthPicker(!1,!0,le):g==="year"?(Ge=U.value)==null?void 0:Ge.toggleYearPicker(!1,!0,le):g==="time"?(Dt=U.value)==null?void 0:Dt.toggleTimePicker(!0,!1):Q(le)},u=(g,...le)=>{var $e,Ge;($e=U.value)!=null&&$e[g]&&((Ge=U.value)==null||Ge[g](...le))},Z=()=>{u("selectCurrentDate")},ae=(g,le)=>{u("presetDate",Gr(g),le)},ne=()=>{u("clearHoverDate")},Me=(g,le)=>{u("updateMonthYear",g,le)},be=(g,le)=>{g.preventDefault(),Ye(le)},Ce=g=>{var le,$e,Ge;if($(g),g.key===Ee.home||g.key===Ee.end)return u("selectWeekDate",g.key===Ee.home,g.target.getAttribute("id"));switch((g.key===Ee.pageUp||g.key===Ee.pageDown)&&(g.shiftKey?(u("changeYear",g.key===Ee.pageUp),(le=dn(o.value,"overlay-year"))==null||le.focus()):(u("changeMonth",g.key===Ee.pageUp),($e=dn(o.value,g.key===Ee.pageUp?"action-prev":"action-next"))==null||$e.focus()),g.target.getAttribute("id")&&((Ge=o.value)==null||Ge.focus({preventScroll:!0}))),g.key){case Ee.esc:return oe(g);case Ee.arrowLeft:return be(g,st.left);case Ee.arrowRight:return be(g,st.right);case Ee.arrowUp:return be(g,st.up);case Ee.arrowDown:return be(g,st.down);default:return}},We=g=>{var le;p.value.enabled&&!p.value.input&&!((le=o.value)!=null&&le.contains(g.target))&&Y.value&&(Y.value=!1,a("menu-blur"))};return t({updateMonthYear:Me,switchView:te,handleFlow:H,onValueCleared:()=>{var g,le;(le=(g=U.value)==null?void 0:g.setStartTime)==null||le.call(g)}}),(g,le)=>{var $e,Ge,Dt;return T(),z("div",{id:g.uid?`dp-menu-${g.uid}`:void 0,ref_key:"dpMenuRef",ref:o,tabindex:i(p).enabled?void 0:"0",role:i(p).enabled?void 0:"dialog","aria-label":($e=g.ariaLabels)==null?void 0:$e.menu,class:xe(l.value),style:pt({"--dp-arrow-left":E.value}),onMouseleave:ne,onClick:_,onKeydown:Ce},[(g.disabled||g.readonly)&&i(p).enabled||g.loading?(T(),z("div",{key:0,class:xe(W.value)},[g.loading?(T(),z("div",Vu,le[19]||(le[19]=[ge("span",{class:"dp--menu-loader"},null,-1)]))):G("",!0)],2)):G("",!0),g.$slots["menu-header"]?(T(),z("div",Wu,[ie(g.$slots,"menu-header")])):G("",!0),!i(p).enabled&&!g.teleportCenter?(T(),z("div",{key:2,class:xe(F.value)},null,2)):G("",!0),ge("div",{ref_key:"innerMenuRef",ref:C,class:xe({dp__menu_content_wrapper:((Ge=g.presetDates)==null?void 0:Ge.length)||!!g.$slots["left-sidebar"]||!!g.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":e.collapse&&(((Dt=g.presetDates)==null?void 0:Dt.length)||!!g.$slots["left-sidebar"]||!!g.$slots["right-sidebar"])}),"data-dp-mobile":i(M),style:pt({"--dp-menu-width":`${S.value}px`})},[g.$slots["left-sidebar"]?(T(),z("div",qu,[ie(g.$slots,"left-sidebar",Ze(it(O.value)))])):G("",!0),g.presetDates.length?(T(),z("div",{key:1,class:xe({"dp--preset-dates-collapsed":e.collapse,"dp--preset-dates":!0}),"data-dp-mobile":i(M)},[(T(!0),z(ke,null,Fe(g.presetDates,(ve,Ke)=>(T(),z(ke,{key:Ke},[ve.slot?ie(g.$slots,ve.slot,{key:0,presetDate:ae,label:ve.label,value:ve.value}):(T(),z("button",{key:1,type:"button",style:pt(ve.style||{}),class:xe(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":e.collapse}]),"data-test-id":ve.testId??void 0,"data-dp-mobile":i(M),onClick:ga(xt=>ae(ve.value,ve.noTz),["prevent"]),onKeydown:xt=>i(ut)(xt,()=>ae(ve.value,ve.noTz),!0)},lt(ve.label),47,Qu))],64))),128))],10,Uu)):G("",!0),ge("div",{ref_key:"calendarWrapperRef",ref:b,class:"dp__instance_calendar",role:"document"},[(T(),Oe(Na(J.value),Je({ref_key:"dynCmpRef",ref:U},s.value,{"flow-step":i(ye),onMount:i(D),onUpdateFlowStep:i(y),onResetFlow:i(h),onFocusMenu:ee,onSelectDate:le[0]||(le[0]=ve=>g.$emit("select-date")),onDateUpdate:le[1]||(le[1]=ve=>g.$emit("date-update",ve)),onTooltipOpen:le[2]||(le[2]=ve=>g.$emit("tooltip-open",ve)),onTooltipClose:le[3]||(le[3]=ve=>g.$emit("tooltip-close",ve)),onAutoApply:le[4]||(le[4]=ve=>g.$emit("auto-apply",ve)),onRangeStart:le[5]||(le[5]=ve=>g.$emit("range-start",ve)),onRangeEnd:le[6]||(le[6]=ve=>g.$emit("range-end",ve)),onInvalidFixedRange:le[7]||(le[7]=ve=>g.$emit("invalid-fixed-range",ve)),onTimeUpdate:le[8]||(le[8]=ve=>g.$emit("time-update")),onAmPmChange:le[9]||(le[9]=ve=>g.$emit("am-pm-change",ve)),onTimePickerOpen:le[10]||(le[10]=ve=>g.$emit("time-picker-open",ve)),onTimePickerClose:we,onRecalculatePosition:de,onUpdateMonthYear:le[11]||(le[11]=ve=>g.$emit("update-month-year",ve)),onAutoApplyInvalid:le[12]||(le[12]=ve=>g.$emit("auto-apply-invalid",ve)),onInvalidDate:le[13]||(le[13]=ve=>g.$emit("invalid-date",ve)),onOverlayToggle:le[14]||(le[14]=ve=>g.$emit("overlay-toggle",ve)),"onUpdate:internalModelValue":le[15]||(le[15]=ve=>g.$emit("update:internal-model-value",ve))}),ot({_:2},[Fe(k.value,(ve,Ke)=>({name:ve,fn:De(xt=>[ie(g.$slots,ve,Ze(it({...xt})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),g.$slots["right-sidebar"]?(T(),z("div",ju,[ie(g.$slots,"right-sidebar",Ze(it(O.value)))])):G("",!0),g.$slots["action-extra"]?(T(),z("div",Gu,[g.$slots["action-extra"]?ie(g.$slots,"action-extra",{key:0,selectCurrentDate:Z}):G("",!0)])):G("",!0)],14,zu),!g.autoApply||i(x).keepActionRow?(T(),Oe(Gs,Je({key:3,"menu-mount":L.value},s.value,{"calendar-width":S.value,onClosePicker:le[16]||(le[16]=ve=>g.$emit("close-picker")),onSelectDate:le[17]||(le[17]=ve=>g.$emit("select-date")),onInvalidSelect:le[18]||(le[18]=ve=>g.$emit("invalid-select")),onSelectNow:Z}),ot({_:2},[Fe(i(f),(ve,Ke)=>({name:ve,fn:De(xt=>[ie(g.$slots,ve,Ze(it({...xt})))])}))]),1040,["menu-mount","calendar-width"])):G("",!0)],46,Hu)}}});var ea=(e=>(e.center="center",e.left="left",e.right="right",e))(ea||{});const Ku=({menuRef:e,menuRefInner:t,inputRef:n,pickerWrapperRef:a,inline:r,emit:o,props:s,slots:c})=>{const{defaultedConfig:d}=Be(s),P=K({}),v=K(!1),m=K({top:"0",left:"0"}),p=K(!1),x=ha(s,"teleportCenter");yt(x,()=>{m.value=JSON.parse(JSON.stringify({})),U()});const A=h=>{if(s.teleport){const H=h.getBoundingClientRect();return{left:H.left+window.scrollX,top:H.top+window.scrollY}}return{top:0,left:0}},R=(h,H)=>{m.value.left=`${h+H-P.value.width}px`},M=h=>{m.value.left=`${h}px`},b=(h,H)=>{s.position===ea.left&&M(h),s.position===ea.right&&R(h,H),s.position===ea.center&&(m.value.left=`${h+H/2-P.value.width/2}px`)},S=h=>{const{width:H,height:J}=h.getBoundingClientRect(),{top:E,left:ee}=A(h);return{top:+E,left:+ee,width:H,height:J}},C=()=>{m.value.left="50%",m.value.top="50%",m.value.transform="translate(-50%, -50%)",m.value.position="fixed",delete m.value.opacity},L=()=>{const h=je(n);m.value=s.altPosition(h)},U=(h=!0)=>{var H;if(!r.value.enabled){if(x.value)return C();if(s.altPosition!==null)return L();if(h){const J=s.teleport?(H=t.value)==null?void 0:H.$el:e.value;J&&(P.value=J.getBoundingClientRect()),o("recalculate-position")}return ce()}},Y=({inputEl:h,left:H,width:J})=>{window.screen.width>768&&!v.value&&b(H,J),V(h)},N=h=>{const{top:H,left:J,height:E,width:ee}=S(h);m.value.top=`${E+H+ +s.offset}px`,p.value=!1,v.value||(m.value.left=`${J+ee/2-P.value.width/2}px`),Y({inputEl:h,left:J,width:ee})},re=h=>{const{top:H,left:J,width:E}=S(h);m.value.top=`${H-+s.offset-P.value.height}px`,p.value=!0,Y({inputEl:h,left:J,width:E})},V=h=>{if(s.autoPosition){const{left:H,width:J}=S(h),{left:E,right:ee}=P.value;if(!v.value){if(Math.abs(E)!==Math.abs(ee)){if(E<=0)return v.value=!0,M(H);if(ee>=document.documentElement.clientWidth)return v.value=!0,R(H,J)}return b(H,J)}}},I=()=>{const h=je(n);if(h){if(s.autoPosition===gt.top)return gt.top;if(s.autoPosition===gt.bottom)return gt.bottom;const{height:H}=P.value,{top:J,height:E}=h.getBoundingClientRect(),ee=window.innerHeight-J-E,O=J;return H<=ee?gt.bottom:H>ee&&H<=O?gt.top:ee>=O?gt.bottom:gt.top}return gt.bottom},se=h=>I()===gt.bottom?N(h):re(h),ce=()=>{const h=je(n);if(h)return s.autoPosition?se(h):N(h)},ye=function(h){if(h){const H=h.scrollHeight>h.clientHeight,J=window.getComputedStyle(h).overflowY.indexOf("hidden")!==-1;return H&&!J}return!0},y=function(h){return!h||h===document.body||h.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:ye(h)?h:y(h.assignedSlot&&d.value.shadowDom?h.assignedSlot.parentNode:h.parentNode)},D=h=>{if(h)switch(s.position){case ea.left:return{left:0,transform:"translateX(0)"};case ea.right:return{left:`${h.width}px`,transform:"translateX(-100%)"};default:return{left:`${h.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:p,menuStyle:m,xCorrect:v,setMenuPosition:U,getScrollableParent:y,shadowRender:(h,H,J)=>{var E,ee,O;const de=document.createElement("div"),f=(E=je(n))==null?void 0:E.getBoundingClientRect();de.setAttribute("id","dp--temp-container");const k=(ee=a.value)!=null&&ee.clientWidth?a.value:document.body;k.append(de);const F=D(f),W=d.value.shadowDom?Object.keys(c).filter(_=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(_)):Object.keys(c),l=jr(H,{...J,shadow:!0,style:{opacity:0,position:"absolute",...F}},Object.fromEntries(W.map(_=>[_,c[_]])));h!=null&&(l.appContext=h.appContext),Cn(l,de),P.value=(O=l.el)==null?void 0:O.getBoundingClientRect(),Cn(null,de),k.removeChild(de)}}},Et=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"hours-overlay-header",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-header",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-header",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]},{name:"top-extra",use:["shared","month-year"]},{name:"tp-inline-arrow-up",use:["shared","time"]},{name:"tp-inline-arrow-down",use:["shared","time"]},{name:"menu-header",use:["menu"]}],Xu=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],Zu={all:()=>Et,monthYear:()=>Et.filter(e=>e.use.includes("month-year")),input:()=>Xu,timePicker:()=>Et.filter(e=>e.use.includes("time")),action:()=>Et.filter(e=>e.use.includes("action")),calendar:()=>Et.filter(e=>e.use.includes("calendar")),menu:()=>Et.filter(e=>e.use.includes("menu")),shared:()=>Et.filter(e=>e.use.includes("shared")),yearMode:()=>Et.filter(e=>e.use.includes("year-mode"))},ct=(e,t,n)=>{const a=[];return Zu[t]().forEach(r=>{e[r.name]&&a.push(r.name)}),n!=null&&n.length&&n.forEach(r=>{r.slot&&a.push(r.slot)}),a},Ma=e=>{const t=j(()=>a=>e.value?a?e.value.open:e.value.close:""),n=j(()=>a=>e.value?a?e.value.menuAppearTop:e.value.menuAppearBottom:"");return{transitionName:t,showTransition:!!e.value,menuTransition:n}},Pa=(e,t,n)=>{const{defaultedRange:a,defaultedTz:r}=Be(e),o=q(dt(q(),r.value.timezone)),s=K([{month:Pe(o),year:he(o)}]),c=p=>{const x={hours:St(o),minutes:Ht(o),seconds:0};return a.value.enabled?[x[p],x[p]]:x[p]},d=ka({hours:c("hours"),minutes:c("minutes"),seconds:c("seconds")});yt(a,(p,x)=>{p.enabled!==x.enabled&&(d.hours=c("hours"),d.minutes=c("minutes"),d.seconds=c("seconds"))},{deep:!0});const P=j({get:()=>e.internalModelValue,set:p=>{!e.readonly&&!e.disabled&&t("update:internal-model-value",p)}}),v=j(()=>p=>s.value[p]?s.value[p].month:0),m=j(()=>p=>s.value[p]?s.value[p].year:0);return yt(P,(p,x)=>{n&&JSON.stringify(p??{})!==JSON.stringify(x??{})&&n()},{deep:!0}),{calendars:s,time:d,modelValue:P,month:v,year:m,today:o}},Ju=(e,t)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:a,defaultedUI:r,defaultedHighlight:o,defaultedTz:s,propDates:c,defaultedRange:d}=Be(t),{isDisabled:P}=Wt(t),v=K(null),m=K(dt(new Date,s.value.timezone)),p=l=>{!l.current&&t.hideOffsetDates||(v.value=l.value)},x=()=>{v.value=null},A=l=>Array.isArray(e.value)&&d.value.enabled&&e.value[0]&&v.value?l?qe(v.value,e.value[0]):He(v.value,e.value[0]):!0,R=(l,_)=>{const oe=()=>e.value?_?e.value[0]||null:e.value[1]:null,Ye=e.value&&Array.isArray(e.value)?oe():null;return Te(q(l.value),Ye)},M=l=>{const _=Array.isArray(e.value)?e.value[0]:null;return l?!He(v.value??null,_):!0},b=(l,_=!0)=>(d.value.enabled||t.weekPicker)&&Array.isArray(e.value)&&e.value.length===2?t.hideOffsetDates&&!l.current?!1:Te(q(l.value),e.value[_?0:1]):d.value.enabled?R(l,_)&&M(_)||Te(l.value,Array.isArray(e.value)?e.value[0]:null)&&A(_):!1,S=(l,_)=>{if(Array.isArray(e.value)&&e.value[0]&&e.value.length===1){const oe=Te(l.value,v.value);return _?qe(e.value[0],l.value)&&oe:He(e.value[0],l.value)&&oe}return!1},C=l=>!e.value||t.hideOffsetDates&&!l.current?!1:d.value.enabled?t.modelAuto&&Array.isArray(e.value)?Te(l.value,e.value[0]?e.value[0]:m.value):!1:a.value.enabled&&Array.isArray(e.value)?e.value.some(_=>Te(_,l.value)):Te(l.value,e.value?e.value:m.value),L=l=>{if(d.value.autoRange||t.weekPicker){if(v.value){if(t.hideOffsetDates&&!l.current)return!1;const _=ft(v.value,+d.value.autoRange),oe=Yt(q(v.value),t.weekStart);return t.weekPicker?Te(oe[1],q(l.value)):Te(_,q(l.value))}return!1}return!1},U=l=>{if(d.value.autoRange||t.weekPicker){if(v.value){const _=ft(v.value,+d.value.autoRange);if(t.hideOffsetDates&&!l.current)return!1;const oe=Yt(q(v.value),t.weekStart);return t.weekPicker?qe(l.value,oe[0])&&He(l.value,oe[1]):qe(l.value,v.value)&&He(l.value,_)}return!1}return!1},Y=l=>{if(d.value.autoRange||t.weekPicker){if(v.value){if(t.hideOffsetDates&&!l.current)return!1;const _=Yt(q(v.value),t.weekStart);return t.weekPicker?Te(_[0],l.value):Te(v.value,l.value)}return!1}return!1},N=l=>_a(e.value,v.value,l.value),re=()=>t.modelAuto&&Array.isArray(t.internalModelValue)?!!t.internalModelValue[0]:!1,V=()=>t.modelAuto?xr(t.internalModelValue):!0,I=l=>{if(t.weekPicker)return!1;const _=d.value.enabled?!b(l)&&!b(l,!1):!0;return!P(l.value)&&!C(l)&&!(!l.current&&t.hideOffsetDates)&&_},se=l=>d.value.enabled?t.modelAuto?re()&&C(l):!1:C(l),ce=l=>o.value?gs(l.value,c.value.highlight):!1,ye=l=>{const _=P(l.value);return _&&(typeof o.value=="function"?!o.value(l.value,_):!o.value.options.highlightDisabled)},y=l=>{var _;return typeof o.value=="function"?o.value(l.value):(_=o.value.weekdays)==null?void 0:_.includes(l.value.getDay())},D=l=>(d.value.enabled||t.weekPicker)&&(!(n.value.count>0)||l.current)&&V()&&!(!l.current&&t.hideOffsetDates)&&!C(l)?N(l):!1,h=l=>{if(Array.isArray(e.value)&&e.value.length===1){const{before:_,after:oe}=jn(+d.value.maxRange,e.value[0]);return la(l.value,_)||Gt(l.value,oe)}return!1},H=l=>{if(Array.isArray(e.value)&&e.value.length===1){const{before:_,after:oe}=jn(+d.value.minRange,e.value[0]);return _a([_,oe],e.value[0],l.value)}return!1},J=l=>d.value.enabled&&(d.value.maxRange||d.value.minRange)?d.value.maxRange&&d.value.minRange?h(l)||H(l):d.value.maxRange?h(l):H(l):!1,E=l=>{const{isRangeStart:_,isRangeEnd:oe}=f(l),Ye=d.value.enabled?_||oe:!1;return{dp__cell_offset:!l.current,dp__pointer:!t.disabled&&!(!l.current&&t.hideOffsetDates)&&!P(l.value)&&!J(l),dp__cell_disabled:P(l.value)||J(l),dp__cell_highlight:!ye(l)&&(ce(l)||y(l))&&!se(l)&&!Ye&&!Y(l)&&!(D(l)&&t.weekPicker)&&!oe,dp__cell_highlight_active:!ye(l)&&(ce(l)||y(l))&&se(l),dp__today:!t.noToday&&Te(l.value,m.value)&&l.current,"dp--past":He(l.value,m.value),"dp--future":qe(l.value,m.value)}},ee=l=>({dp__active_date:se(l),dp__date_hover:I(l)}),O=l=>{if(e.value&&!Array.isArray(e.value)){const _=Yt(e.value,t.weekStart);return{...F(l),dp__range_start:Te(_[0],l.value),dp__range_end:Te(_[1],l.value),dp__range_between_week:qe(l.value,_[0])&&He(l.value,_[1])}}return{...F(l)}},de=l=>{if(e.value&&Array.isArray(e.value)){const _=Yt(e.value[0],t.weekStart),oe=e.value[1]?Yt(e.value[1],t.weekStart):[];return{...F(l),dp__range_start:Te(_[0],l.value)||Te(oe[0],l.value),dp__range_end:Te(_[1],l.value)||Te(oe[1],l.value),dp__range_between_week:qe(l.value,_[0])&&He(l.value,_[1])||qe(l.value,oe[0])&&He(l.value,oe[1]),dp__range_between:qe(l.value,_[1])&&He(l.value,oe[0])}}return{...F(l)}},f=l=>{const _=n.value.count>0?l.current&&b(l)&&V():b(l)&&V(),oe=n.value.count>0?l.current&&b(l,!1)&&V():b(l,!1)&&V();return{isRangeStart:_,isRangeEnd:oe}},k=l=>{const{isRangeStart:_,isRangeEnd:oe}=f(l);return{dp__range_start:_,dp__range_end:oe,dp__range_between:D(l),dp__date_hover:Te(l.value,v.value)&&!_&&!oe&&!t.weekPicker,dp__date_hover_start:S(l,!0),dp__date_hover_end:S(l,!1)}},F=l=>({...k(l),dp__cell_auto_range:U(l),dp__cell_auto_range_start:Y(l),dp__cell_auto_range_end:L(l)}),W=l=>d.value.enabled?d.value.autoRange?F(l):t.modelAuto?{...ee(l),...k(l)}:t.weekPicker?de(l):k(l):t.weekPicker?O(l):ee(l);return{setHoverDate:p,clearHoverDate:x,getDayClassData:l=>t.hideOffsetDates&&!l.current?{}:{...E(l),...W(l),[t.dayClass?t.dayClass(l.value,t.internalModelValue):""]:!0,...r.value.calendarCell??{}}}},Wt=e=>{const{defaultedFilters:t,defaultedRange:n,propDates:a,defaultedMultiDates:r}=Be(e),o=y=>a.value.disabledDates?typeof a.value.disabledDates=="function"?a.value.disabledDates(q(y)):!!Sa(y,a.value.disabledDates):!1,s=y=>a.value.maxDate?e.yearPicker?he(y)>he(a.value.maxDate):qe(y,a.value.maxDate):!1,c=y=>a.value.minDate?e.yearPicker?he(y){const D=s(y),h=c(y),H=o(y),J=t.value.months.map(f=>+f).includes(Pe(y)),E=e.disabledWeekDays.length?e.disabledWeekDays.some(f=>+f===ro(y)):!1,ee=x(y),O=he(y),de=O<+e.yearRange[0]||O>+e.yearRange[1];return!(D||h||H||J||de||E||ee)},P=(y,D)=>He(...Ft(a.value.minDate,y,D))||Te(...Ft(a.value.minDate,y,D)),v=(y,D)=>qe(...Ft(a.value.maxDate,y,D))||Te(...Ft(a.value.maxDate,y,D)),m=(y,D,h)=>{let H=!1;return a.value.maxDate&&h&&v(y,D)&&(H=!0),a.value.minDate&&!h&&P(y,D)&&(H=!0),H},p=(y,D,h,H)=>{let J=!1;return H&&(a.value.minDate||a.value.maxDate)?a.value.minDate&&a.value.maxDate?J=m(y,D,h):(a.value.minDate&&P(y,D)||a.value.maxDate&&v(y,D))&&(J=!0):J=!0,J},x=y=>Array.isArray(a.value.allowedDates)&&!a.value.allowedDates.length?!0:a.value.allowedDates?!Sa(y,a.value.allowedDates,Tr(e.monthPicker,e.yearPicker)):!1,A=y=>!d(y),R=y=>n.value.noDisabledRange?!or({start:y[0],end:y[1]}).some(D=>A(D)):!0,M=y=>{if(y){const D=he(y);return D>=+e.yearRange[0]&&D<=e.yearRange[1]}return!0},b=(y,D)=>!!(Array.isArray(y)&&y[D]&&(n.value.maxRange||n.value.minRange)&&M(y[D])),S=(y,D,h=0)=>{if(b(D,h)&&M(y)){const H=nr(y,D[h]),J=Yr(D[h],y),E=J.length===1?0:J.filter(O=>A(O)).length,ee=Math.abs(H)-(n.value.minMaxRawRange?0:E);if(n.value.minRange&&n.value.maxRange)return ee>=+n.value.minRange&&ee<=+n.value.maxRange;if(n.value.minRange)return ee>=+n.value.minRange;if(n.value.maxRange)return ee<=+n.value.maxRange}return!0},C=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,L=y=>Array.isArray(y)?[y[0]?Za(y[0]):null,y[1]?Za(y[1]):null]:Za(y),U=(y,D,h)=>y.find(H=>+H.hours===St(D)&&H.minutes==="*"?!0:+H.minutes===Ht(D)&&+H.hours===St(D))&&h,Y=(y,D,h)=>{const[H,J]=y,[E,ee]=D;return!U(H,E,h)&&!U(J,ee,h)&&h},N=(y,D)=>{const h=Array.isArray(D)?D:[D];return Array.isArray(e.disabledTimes)?Array.isArray(e.disabledTimes[0])?Y(e.disabledTimes,h,y):!h.some(H=>U(e.disabledTimes,H,y)):y},re=(y,D)=>{const h=Array.isArray(D)?[jt(D[0]),D[1]?jt(D[1]):void 0]:jt(D),H=!e.disabledTimes(h);return y&&H},V=(y,D)=>e.disabledTimes?Array.isArray(e.disabledTimes)?N(D,y):re(D,y):D,I=y=>{let D=!0;if(!y||C())return!0;const h=!a.value.minDate&&!a.value.maxDate?L(y):y;return(e.maxTime||a.value.maxDate)&&(D=Qn(e.maxTime,a.value.maxDate,"max",Xe(h),D)),(e.minTime||a.value.minDate)&&(D=Qn(e.minTime,a.value.minDate,"min",Xe(h),D)),V(y,D)},se=y=>{if(!e.monthPicker)return!0;let D=!0;const h=q(wt(y));if(a.value.minDate&&a.value.maxDate){const H=q(wt(a.value.minDate)),J=q(wt(a.value.maxDate));return qe(h,H)&&He(h,J)||Te(h,H)||Te(h,J)}if(a.value.minDate){const H=q(wt(a.value.minDate));D=qe(h,H)||Te(h,H)}if(a.value.maxDate){const H=q(wt(a.value.maxDate));D=He(h,H)||Te(h,H)}return D},ce=j(()=>y=>!e.enableTimePicker||e.ignoreTimeValidation?!0:I(y)),ye=j(()=>y=>e.monthPicker?Array.isArray(y)&&(n.value.enabled||r.value.enabled)?!y.filter(D=>!se(D)).length:se(y):!0);return{isDisabled:A,validateDate:d,validateMonthYearInRange:p,isDateRangeAllowed:R,checkMinMaxRange:S,isValidTime:I,isTimeValid:ce,isMonthValid:ye}},Ba=()=>{const e=j(()=>(a,r)=>a?.includes(r)),t=j(()=>(a,r)=>a.count?a.solo?!0:r===0:!0),n=j(()=>(a,r)=>a.count?a.solo?!0:r===a.count-1:!0);return{hideNavigationButtons:e,showLeftIcon:t,showRightIcon:n}},ei=(e,t,n)=>{const a=K(0),r=ka({[Qt.timePicker]:!e.enableTimePicker||e.timePicker||e.monthPicker,[Qt.calendar]:!1,[Qt.header]:!1}),o=j(()=>e.monthPicker||e.timePicker),s=m=>{var p;if((p=e.flow)!=null&&p.length){if(!m&&o.value)return v();r[m]=!0,Object.keys(r).filter(x=>!r[x]).length||v()}},c=()=>{var m,p;(m=e.flow)!=null&&m.length&&a.value!==-1&&(a.value+=1,t("flow-step",a.value),v()),((p=e.flow)==null?void 0:p.length)===a.value&&mt().then(()=>d())},d=()=>{a.value=-1},P=(m,p,...x)=>{var A,R;e.flow[a.value]===m&&n.value&&((R=(A=n.value)[p])==null||R.call(A,...x))},v=(m=0)=>{m&&(a.value+=m),P(rt.month,"toggleMonthPicker",!0),P(rt.year,"toggleYearPicker",!0),P(rt.calendar,"toggleTimePicker",!1,!0),P(rt.time,"toggleTimePicker",!0,!0);const p=e.flow[a.value];(p===rt.hours||p===rt.minutes||p===rt.seconds)&&P(p,"toggleTimePicker",!0,!0,p)};return{childMount:s,updateFlowStep:c,resetFlow:d,handleFlow:v,flowStep:a}},ti={key:1,class:"dp__input_wrap"},ai=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],ni={key:2,class:"dp--clear-btn"},ri=["aria-label"],li=tt({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Ia},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur","text-input"],setup(e,{expose:t,emit:n}){const a=n,r=e,{defaultedTextInput:o,defaultedAriaLabels:s,defaultedInline:c,defaultedConfig:d,defaultedRange:P,defaultedMultiDates:v,defaultedUI:m,getDefaultPattern:p,getDefaultStartTime:x}=Be(r),{checkMinMaxRange:A}=Wt(r),R=K(),M=K(null),b=K(!1),S=K(!1),C=j(()=>({dp__pointer:!r.disabled&&!r.readonly&&!o.value.enabled,dp__disabled:r.disabled,dp__input_readonly:!o.value.enabled,dp__input:!0,dp__input_icon_pad:!r.hideInputIcon,dp__input_valid:typeof r.state=="boolean"?r.state:!1,dp__input_invalid:typeof r.state=="boolean"?!r.state:!1,dp__input_focus:b.value||r.isMenuOpen,dp__input_reg:!o.value.enabled,...m.value.input??{}})),L=()=>{a("set-input-date",null),r.clearable&&r.autoApply&&(a("set-empty-date"),R.value=null)},U=O=>{const de=x();return bs(O,o.value.format??p(),de??Cr({},r.enableSeconds),r.inputValue,S.value,r.formatLocale)},Y=O=>{const{rangeSeparator:de}=o.value,[f,k]=O.split(`${de}`);if(f){const F=U(f.trim()),W=k?U(k.trim()):void 0;if(Gt(F,W))return;const l=F&&W?[F,W]:[F];A(W,l,0)&&(R.value=F?l:null)}},N=()=>{S.value=!0},re=O=>{if(P.value.enabled)Y(O);else if(v.value.enabled){const de=O.split(";");R.value=de.map(f=>U(f.trim())).filter(f=>f)}else R.value=U(O)},V=O=>{var de;const f=typeof O=="string"?O:(de=O.target)==null?void 0:de.value;f!==""?(o.value.openMenu&&!r.isMenuOpen&&a("open"),re(f),a("set-input-date",R.value)):L(),S.value=!1,a("update:input-value",f),a("text-input",O,R.value)},I=O=>{o.value.enabled?(re(O.target.value),o.value.enterSubmit&&cn(R.value)&&r.inputValue!==""?(a("set-input-date",R.value,!0),R.value=null):o.value.enterSubmit&&r.inputValue===""&&(R.value=null,a("clear"))):ye(O)},se=(O,de)=>{o.value.enabled&&o.value.tabSubmit&&!de&&re(O.target.value),o.value.tabSubmit&&cn(R.value)&&r.inputValue!==""?(a("set-input-date",R.value,!0,!0),R.value=null):o.value.tabSubmit&&r.inputValue===""&&(R.value=null,a("clear",!0))},ce=()=>{b.value=!0,a("focus"),mt().then(()=>{var O;o.value.enabled&&o.value.selectOnFocus&&((O=M.value)==null||O.select())})},ye=O=>{if(Bt(O,d.value,!0),o.value.enabled&&o.value.openMenu&&!c.value.input){if(o.value.openMenu==="open"&&!r.isMenuOpen)return a("open");if(o.value.openMenu==="toggle")return a("toggle")}else o.value.enabled||a("toggle")},y=()=>{a("real-blur"),b.value=!1,(!r.isMenuOpen||c.value.enabled&&c.value.input)&&a("blur"),r.autoApply&&o.value.enabled&&R.value&&!r.isMenuOpen&&(a("set-input-date",R.value),a("select-date"),R.value=null)},D=O=>{Bt(O,d.value,!0),a("clear")},h=()=>{a("close")},H=O=>{if(O.key==="Tab"&&se(O),O.key==="Enter"&&I(O),O.key==="Escape"&&o.value.escClose&&h(),!o.value.enabled){if(O.code==="Tab")return;O.preventDefault()}},J=()=>{var O;(O=M.value)==null||O.focus({preventScroll:!0})},E=O=>{R.value=O},ee=O=>{O.key===Ee.tab&&se(O,!0)};return t({focusInput:J,setParsedDate:E}),(O,de)=>{var f,k,F;return T(),z("div",{onClick:ye},[O.$slots.trigger&&!O.$slots["dp-input"]&&!i(c).enabled?ie(O.$slots,"trigger",{key:0}):G("",!0),!O.$slots.trigger&&(!i(c).enabled||i(c).input)?(T(),z("div",ti,[O.$slots["dp-input"]&&!O.$slots.trigger&&(!i(c).enabled||i(c).enabled&&i(c).input)?ie(O.$slots,"dp-input",{key:0,value:e.inputValue,isMenuOpen:e.isMenuOpen,onInput:V,onEnter:I,onTab:se,onClear:D,onBlur:y,onKeypress:H,onPaste:N,onFocus:ce,openMenu:()=>O.$emit("open"),closeMenu:()=>O.$emit("close"),toggleMenu:()=>O.$emit("toggle")}):G("",!0),O.$slots["dp-input"]?G("",!0):(T(),z("input",{key:1,id:O.uid?`dp-input-${O.uid}`:void 0,ref_key:"inputRef",ref:M,"data-test-id":"dp-input",name:O.name,class:xe(C.value),inputmode:i(o).enabled?"text":"none",placeholder:O.placeholder,disabled:O.disabled,readonly:O.readonly,required:O.required,value:e.inputValue,autocomplete:O.autocomplete,"aria-label":(f=i(s))==null?void 0:f.input,"aria-disabled":O.disabled||void 0,"aria-invalid":O.state===!1?!0:void 0,onInput:V,onBlur:y,onFocus:ce,onKeypress:H,onKeydown:de[0]||(de[0]=W=>H(W)),onPaste:N},null,42,ai)),ge("div",{onClick:de[3]||(de[3]=W=>a("toggle"))},[O.$slots["input-icon"]&&!O.hideInputIcon?(T(),z("span",{key:0,class:"dp__input_icon",onClick:de[1]||(de[1]=W=>a("toggle"))},[ie(O.$slots,"input-icon")])):G("",!0),!O.$slots["input-icon"]&&!O.hideInputIcon&&!O.$slots["dp-input"]?(T(),Oe(i(ca),{key:1,"aria-label":(k=i(s))==null?void 0:k.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:de[2]||(de[2]=W=>a("toggle"))},null,8,["aria-label"])):G("",!0)]),O.$slots["clear-icon"]&&(O.alwaysClearable||e.inputValue&&O.clearable&&!O.disabled&&!O.readonly)?(T(),z("span",ni,[ie(O.$slots,"clear-icon",{clear:D})])):G("",!0),!O.$slots["clear-icon"]&&(O.alwaysClearable||O.clearable&&e.inputValue&&!O.disabled&&!O.readonly)?(T(),z("button",{key:3,"aria-label":(F=i(s))==null?void 0:F.clearInput,class:"dp--clear-btn",type:"button",onKeydown:de[4]||(de[4]=W=>i(ut)(W,()=>D(W),!0,ee)),onClick:de[5]||(de[5]=ga(W=>D(W),["prevent"]))},[vt(i(kr),{class:"dp__input_icons","data-test-id":"clear-icon"})],40,ri)):G("",!0)])):G("",!0)])}}}),oi=typeof window<"u"?window:void 0,rn=()=>{},si=e=>Xr()?(Zr(e),!0):!1,ui=(e,t,n,a)=>{if(!e)return rn;let r=rn;const o=yt(()=>i(e),c=>{r(),c&&(c.removeEventListener(t,n),c.addEventListener(t,n,a),r=()=>{c.removeEventListener(t,n,a),r=rn})},{immediate:!0,flush:"post"}),s=()=>{o(),r()};return si(s),s},ii=(e,t,n,a={})=>{const{window:r=oi,event:o="pointerdown"}=a;return r?ui(r,o,s=>{const c=je(e),d=je(t);!c||!d||c===s.target||s.composedPath().includes(c)||s.composedPath().includes(d)||n(s)},{passive:!0}):void 0},di=["data-dp-mobile"],ci=tt({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...Ia},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date","overlay-toggle","text-input"],setup(e,{expose:t,emit:n}){const a=n,r=e,o=Kt(),s=K(!1),c=ha(r,"modelValue"),d=ha(r,"timezone"),P=K(null),v=K(null),m=K(null),p=K(!1),x=K(null),A=K(!1),R=K(!1),M=K(!1),b=K(!1),{setMenuFocused:S,setShiftKey:C}=Ir(),{clearArrowNav:L}=Vt(),{validateDate:U,isValidTime:Y}=Wt(r),{defaultedTransitions:N,defaultedTextInput:re,defaultedInline:V,defaultedConfig:I,defaultedRange:se,defaultedMultiDates:ce}=Be(r),{menuTransition:ye,showTransition:y}=Ma(N),{isMobile:D}=Wr(I),h=Qr();at(()=>{l(r.modelValue),mt().then(()=>{if(!V.value.enabled){const B=f(x.value);B?.addEventListener("scroll",ae),window?.addEventListener("resize",ne)}}),V.value.enabled&&(s.value=!0),window?.addEventListener("keyup",Me),window?.addEventListener("keydown",be)}),ia(()=>{if(!V.value.enabled){const B=f(x.value);B?.removeEventListener("scroll",ae),window?.removeEventListener("resize",ne)}window?.removeEventListener("keyup",Me),window?.removeEventListener("keydown",be)});const H=ct(o,"all",r.presetDates),J=ct(o,"input");yt([c,d],()=>{l(c.value)},{deep:!0});const{openOnTop:E,menuStyle:ee,xCorrect:O,setMenuPosition:de,getScrollableParent:f,shadowRender:k}=Ku({menuRef:P,menuRefInner:v,inputRef:m,pickerWrapperRef:x,inline:V,emit:a,props:r,slots:o}),{inputValue:F,internalModelValue:W,parseExternalModelValue:l,emitModelValue:_,formatInputValue:oe,checkBeforeEmit:Ye}=qs(a,r,p),$=j(()=>({dp__main:!0,dp__theme_dark:r.dark,dp__theme_light:!r.dark,dp__flex_display:V.value.enabled,"dp--flex-display-collapsed":M.value,dp__flex_display_with_input:V.value.input})),we=j(()=>r.dark?"dp__theme_dark":"dp__theme_light"),Q=j(()=>r.teleport?{to:typeof r.teleport=="boolean"?"body":r.teleport,disabled:!r.teleport||V.value.enabled}:{}),te=j(()=>({class:"dp__outer_menu_wrap"})),u=j(()=>V.value.enabled&&(r.timePicker||r.monthPicker||r.yearPicker||r.quarterPicker)),Z=()=>{var B,ue;return((ue=(B=m.value)==null?void 0:B.$el)==null?void 0:ue.getBoundingClientRect())??{width:0,left:0,right:0}},ae=()=>{s.value&&(I.value.closeOnScroll?Ke():de())},ne=()=>{var B;s.value&&de();const ue=((B=v.value)==null?void 0:B.$el.getBoundingClientRect().width)??0;M.value=document.body.offsetWidth<=ue},Me=B=>{B.key==="Tab"&&!V.value.enabled&&!r.teleport&&I.value.tabOutClosesMenu&&(x.value.contains(document.activeElement)||Ke()),R.value=B.shiftKey},be=B=>{R.value=B.shiftKey},Ce=()=>{!r.disabled&&!r.readonly&&(k(h,Zn,r),de(!1),s.value=!0,s.value&&a("open"),s.value||ve(),l(r.modelValue))},We=()=>{var B,ue;F.value="",ve(),(B=v.value)==null||B.onValueCleared(),(ue=m.value)==null||ue.setParsedDate(null),a("update:model-value",null),a("update:model-timezone-value",null),a("cleared"),I.value.closeOnClearValue&&Ke()},g=()=>{const B=W.value;return!B||!Array.isArray(B)&&U(B)?!0:Array.isArray(B)?ce.value.enabled||B.length===2&&U(B[0])&&U(B[1])?!0:se.value.partialRange&&!r.timePicker?U(B[0]):!1:!1},le=()=>{Ye()&&g()?(_(),Ke()):a("invalid-select",W.value)},$e=B=>{Ge(),_(),I.value.closeOnAutoApply&&!B&&Ke()},Ge=()=>{m.value&&re.value.enabled&&m.value.setParsedDate(W.value)},Dt=(B=!1)=>{r.autoApply&&Y(W.value)&&g()&&(se.value.enabled&&Array.isArray(W.value)?(se.value.partialRange||W.value.length===2)&&$e(B):$e(B))},ve=()=>{re.value.enabled||(W.value=null)},Ke=(B=!1)=>{var ue,me;B&&W.value&&I.value.setDateOnMenuClose&&le(),V.value.enabled||(s.value&&(s.value=!1,O.value=!1,S(!1),C(!1),L(),a("closed"),F.value&&l(c.value)),ve(),a("blur"),(me=(ue=v.value)==null?void 0:ue.$el)==null||me.remove())},xt=(B,ue,me=!1)=>{if(!B){W.value=null;return}const At=Array.isArray(B)?!B.some(zt=>!U(zt)):U(B),Mt=Y(B);At&&Mt?(b.value=!0,W.value=B,ue?(A.value=me,le(),a("text-submit")):r.autoApply&&Dt(),mt().then(()=>{b.value=!1})):a("invalid-date",B)},La=()=>{r.autoApply&&Y(W.value)&&_(),Ge()},Ta=()=>s.value?Ke():Ce(),Ha=B=>{W.value=B},Va=()=>{re.value.enabled&&(p.value=!0,oe()),a("focus")},Wa=()=>{if(re.value.enabled&&(p.value=!1,l(r.modelValue),A.value)){const B=hs(x.value,R.value);B?.focus()}a("blur")},za=B=>{v.value&&v.value.updateMonthYear(0,{month:zn(B.month),year:zn(B.year)})},qa=B=>{l(B??r.modelValue)},w=(B,ue)=>{var me;(me=v.value)==null||me.switchView(B,ue)},X=(B,ue)=>I.value.onClickOutside?I.value.onClickOutside(B,ue):Ke(!0),fe=(B=0)=>{var ue;(ue=v.value)==null||ue.handleFlow(B)},_e=()=>P;return ii(P,m,B=>X(g,B)),t({closeMenu:Ke,selectDate:le,clearValue:We,openMenu:Ce,onScroll:ae,formatInputValue:oe,updateInternalModelValue:Ha,setMonthYear:za,parseModel:qa,switchView:w,toggleMenu:Ta,handleFlow:fe,getDpWrapMenuRef:_e}),(B,ue)=>(T(),z("div",{ref_key:"pickerWrapperRef",ref:x,class:xe($.value),"data-datepicker-instance":"","data-dp-mobile":i(D)},[vt(li,Je({ref_key:"inputRef",ref:m,"input-value":i(F),"onUpdate:inputValue":ue[0]||(ue[0]=me=>Yn(F)?F.value=me:null),"is-menu-open":s.value},B.$props,{onClear:We,onOpen:Ce,onSetInputDate:xt,onSetEmptyDate:i(_),onSelectDate:le,onToggle:Ta,onClose:Ke,onFocus:Va,onBlur:Wa,onRealBlur:ue[1]||(ue[1]=me=>p.value=!1),onTextInput:ue[2]||(ue[2]=me=>B.$emit("text-input",me))}),ot({_:2},[Fe(i(J),(me,At)=>({name:me,fn:De(Mt=>[ie(B.$slots,me,Ze(it(Mt)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(T(),Oe(Na(B.teleport?Ur:"div"),Ze(it(Q.value)),{default:De(()=>[vt(da,{name:i(ye)(i(E)),css:i(y)&&!i(V).enabled},{default:De(()=>[s.value?(T(),z("div",Je({key:0,ref_key:"dpWrapMenuRef",ref:P},te.value,{class:{"dp--menu-wrapper":!i(V).enabled},style:i(V).enabled?void 0:i(ee)}),[vt(Zn,Je({ref_key:"dpMenuRef",ref:v},B.$props,{"internal-model-value":i(W),"onUpdate:internalModelValue":ue[3]||(ue[3]=me=>Yn(W)?W.value=me:null),class:{[we.value]:!0,"dp--menu-wrapper":B.teleport},"open-on-top":i(E),"no-overlay-focus":u.value,collapse:M.value,"get-input-rect":Z,"is-text-input-date":b.value,onClosePicker:Ke,onSelectDate:le,onAutoApply:Dt,onTimeUpdate:La,onFlowStep:ue[4]||(ue[4]=me=>B.$emit("flow-step",me)),onUpdateMonthYear:ue[5]||(ue[5]=me=>B.$emit("update-month-year",me)),onInvalidSelect:ue[6]||(ue[6]=me=>B.$emit("invalid-select",i(W))),onAutoApplyInvalid:ue[7]||(ue[7]=me=>B.$emit("invalid-select",me)),onInvalidFixedRange:ue[8]||(ue[8]=me=>B.$emit("invalid-fixed-range",me)),onRecalculatePosition:i(de),onTooltipOpen:ue[9]||(ue[9]=me=>B.$emit("tooltip-open",me)),onTooltipClose:ue[10]||(ue[10]=me=>B.$emit("tooltip-close",me)),onTimePickerOpen:ue[11]||(ue[11]=me=>B.$emit("time-picker-open",me)),onTimePickerClose:ue[12]||(ue[12]=me=>B.$emit("time-picker-close",me)),onAmPmChange:ue[13]||(ue[13]=me=>B.$emit("am-pm-change",me)),onRangeStart:ue[14]||(ue[14]=me=>B.$emit("range-start",me)),onRangeEnd:ue[15]||(ue[15]=me=>B.$emit("range-end",me)),onDateUpdate:ue[16]||(ue[16]=me=>B.$emit("date-update",me)),onInvalidDate:ue[17]||(ue[17]=me=>B.$emit("invalid-date",me)),onOverlayToggle:ue[18]||(ue[18]=me=>B.$emit("overlay-toggle",me)),onMenuBlur:ue[19]||(ue[19]=me=>B.$emit("blur"))}),ot({_:2},[Fe(i(H),(me,At)=>({name:me,fn:De(Mt=>[ie(B.$slots,me,Ze(it({...Mt})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):G("",!0)]),_:3},8,["name","css"])]),_:3},16))],10,di))}}),zr=(()=>{const e=ci;return e.install=t=>{t.component("Vue3DatePicker",e)},e})(),vi=Object.freeze(Object.defineProperty({__proto__:null,default:zr},Symbol.toStringTag,{value:"Module"}));Object.entries(vi).forEach(([e,t])=>{e!=="default"&&(zr[e]=t)});export{zr as Q}; diff --git a/src/static/app/dist/img/Logo-1-128x128.png b/src/static/dist/WGDashboardAdmin/img/Logo-1-128x128.png similarity index 100% rename from src/static/app/dist/img/Logo-1-128x128.png rename to src/static/dist/WGDashboardAdmin/img/Logo-1-128x128.png diff --git a/src/static/app/dist/img/Logo-1-256x256.png b/src/static/dist/WGDashboardAdmin/img/Logo-1-256x256.png similarity index 100% rename from src/static/app/dist/img/Logo-1-256x256.png rename to src/static/dist/WGDashboardAdmin/img/Logo-1-256x256.png diff --git a/src/static/app/dist/img/Logo-1-384x384.png b/src/static/dist/WGDashboardAdmin/img/Logo-1-384x384.png similarity index 100% rename from src/static/app/dist/img/Logo-1-384x384.png rename to src/static/dist/WGDashboardAdmin/img/Logo-1-384x384.png diff --git a/src/static/app/dist/img/Logo-1-512x512.png b/src/static/dist/WGDashboardAdmin/img/Logo-1-512x512.png similarity index 100% rename from src/static/app/dist/img/Logo-1-512x512.png rename to src/static/dist/WGDashboardAdmin/img/Logo-1-512x512.png diff --git a/src/static/app/dist/img/Logo-1-Maskable-512x512.png b/src/static/dist/WGDashboardAdmin/img/Logo-1-Maskable-512x512.png similarity index 100% rename from src/static/app/dist/img/Logo-1-Maskable-512x512.png rename to src/static/dist/WGDashboardAdmin/img/Logo-1-Maskable-512x512.png diff --git a/src/static/app/dist/img/Logo-1-Rounded-128x128.png b/src/static/dist/WGDashboardAdmin/img/Logo-1-Rounded-128x128.png similarity index 100% rename from src/static/app/dist/img/Logo-1-Rounded-128x128.png rename to src/static/dist/WGDashboardAdmin/img/Logo-1-Rounded-128x128.png diff --git a/src/static/app/dist/img/Logo-1-Rounded-256x256.png b/src/static/dist/WGDashboardAdmin/img/Logo-1-Rounded-256x256.png similarity index 100% rename from src/static/app/dist/img/Logo-1-Rounded-256x256.png rename to src/static/dist/WGDashboardAdmin/img/Logo-1-Rounded-256x256.png diff --git a/src/static/app/dist/img/Logo-1-Rounded-384x384.png b/src/static/dist/WGDashboardAdmin/img/Logo-1-Rounded-384x384.png similarity index 100% rename from src/static/app/dist/img/Logo-1-Rounded-384x384.png rename to src/static/dist/WGDashboardAdmin/img/Logo-1-Rounded-384x384.png diff --git a/src/static/app/dist/img/Logo-1-Rounded-512x512.png b/src/static/dist/WGDashboardAdmin/img/Logo-1-Rounded-512x512.png similarity index 100% rename from src/static/app/dist/img/Logo-1-Rounded-512x512.png rename to src/static/dist/WGDashboardAdmin/img/Logo-1-Rounded-512x512.png diff --git a/src/static/app/dist/img/Logo-2-128x128.png b/src/static/dist/WGDashboardAdmin/img/Logo-2-128x128.png similarity index 100% rename from src/static/app/dist/img/Logo-2-128x128.png rename to src/static/dist/WGDashboardAdmin/img/Logo-2-128x128.png diff --git a/src/static/app/dist/img/Logo-2-256x256.png b/src/static/dist/WGDashboardAdmin/img/Logo-2-256x256.png similarity index 100% rename from src/static/app/dist/img/Logo-2-256x256.png rename to src/static/dist/WGDashboardAdmin/img/Logo-2-256x256.png diff --git a/src/static/app/dist/img/Logo-2-384x384.png b/src/static/dist/WGDashboardAdmin/img/Logo-2-384x384.png similarity index 100% rename from src/static/app/dist/img/Logo-2-384x384.png rename to src/static/dist/WGDashboardAdmin/img/Logo-2-384x384.png diff --git a/src/static/app/dist/img/Logo-2-512x512.png b/src/static/dist/WGDashboardAdmin/img/Logo-2-512x512.png similarity index 100% rename from src/static/app/dist/img/Logo-2-512x512.png rename to src/static/dist/WGDashboardAdmin/img/Logo-2-512x512.png diff --git a/src/static/app/dist/img/Logo-2-Rounded-128x128.png b/src/static/dist/WGDashboardAdmin/img/Logo-2-Rounded-128x128.png similarity index 100% rename from src/static/app/dist/img/Logo-2-Rounded-128x128.png rename to src/static/dist/WGDashboardAdmin/img/Logo-2-Rounded-128x128.png diff --git a/src/static/app/dist/img/Logo-2-Rounded-256x256.png b/src/static/dist/WGDashboardAdmin/img/Logo-2-Rounded-256x256.png similarity index 100% rename from src/static/app/dist/img/Logo-2-Rounded-256x256.png rename to src/static/dist/WGDashboardAdmin/img/Logo-2-Rounded-256x256.png diff --git a/src/static/app/dist/img/Logo-2-Rounded-384x384.png b/src/static/dist/WGDashboardAdmin/img/Logo-2-Rounded-384x384.png similarity index 100% rename from src/static/app/dist/img/Logo-2-Rounded-384x384.png rename to src/static/dist/WGDashboardAdmin/img/Logo-2-Rounded-384x384.png diff --git a/src/static/app/dist/img/Logo-2-Rounded-512x512.png b/src/static/dist/WGDashboardAdmin/img/Logo-2-Rounded-512x512.png similarity index 100% rename from src/static/app/dist/img/Logo-2-Rounded-512x512.png rename to src/static/dist/WGDashboardAdmin/img/Logo-2-Rounded-512x512.png diff --git a/src/static/app/dist/index.html b/src/static/dist/WGDashboardAdmin/index.html similarity index 55% rename from src/static/app/dist/index.html rename to src/static/dist/WGDashboardAdmin/index.html index c7c1b920..55d567da 100644 --- a/src/static/app/dist/index.html +++ b/src/static/dist/WGDashboardAdmin/index.html @@ -6,12 +6,12 @@ - - + + WGDashboard - - + +
diff --git a/src/static/app/dist/json/manifest.json b/src/static/dist/WGDashboardAdmin/json/manifest.json similarity index 100% rename from src/static/app/dist/json/manifest.json rename to src/static/dist/WGDashboardAdmin/json/manifest.json diff --git a/src/static/client/dist/assets/PlusJakartaSans-Italic-VariableFont_wght-BdWtZZ8T.ttf b/src/static/dist/WGDashboardClient/assets/PlusJakartaSans-Italic-VariableFont_wght-BdWtZZ8T.ttf similarity index 100% rename from src/static/client/dist/assets/PlusJakartaSans-Italic-VariableFont_wght-BdWtZZ8T.ttf rename to src/static/dist/WGDashboardClient/assets/PlusJakartaSans-Italic-VariableFont_wght-BdWtZZ8T.ttf diff --git a/src/static/client/dist/assets/PlusJakartaSans-VariableFont_wght-D_DSbd_K.ttf b/src/static/dist/WGDashboardClient/assets/PlusJakartaSans-VariableFont_wght-D_DSbd_K.ttf similarity index 100% rename from src/static/client/dist/assets/PlusJakartaSans-VariableFont_wght-D_DSbd_K.ttf rename to src/static/dist/WGDashboardClient/assets/PlusJakartaSans-VariableFont_wght-D_DSbd_K.ttf diff --git a/src/static/client/dist/assets/bootstrap-icons-BeopsB42.woff b/src/static/dist/WGDashboardClient/assets/bootstrap-icons-BeopsB42.woff similarity index 100% rename from src/static/client/dist/assets/bootstrap-icons-BeopsB42.woff rename to src/static/dist/WGDashboardClient/assets/bootstrap-icons-BeopsB42.woff diff --git a/src/static/client/dist/assets/bootstrap-icons-mSm7cUeB.woff2 b/src/static/dist/WGDashboardClient/assets/bootstrap-icons-mSm7cUeB.woff2 similarity index 100% rename from src/static/client/dist/assets/bootstrap-icons-mSm7cUeB.woff2 rename to src/static/dist/WGDashboardClient/assets/bootstrap-icons-mSm7cUeB.woff2 diff --git a/src/static/dist/WGDashboardClient/assets/index-2OJLsfIF.css b/src/static/dist/WGDashboardClient/assets/index-2OJLsfIF.css new file mode 100644 index 00000000..6bf062fd --- /dev/null +++ b/src/static/dist/WGDashboardClient/assets/index-2OJLsfIF.css @@ -0,0 +1,9 @@ +@charset "UTF-8";/*! + * Bootstrap v5.3.6 (https://getbootstrap.com/) + * Copyright 2011-2025 The Bootstrap Authors + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */:root,[data-bs-theme=light]{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: #052c65;--bs-secondary-text-emphasis: #2b2f32;--bs-success-text-emphasis: #0a3622;--bs-info-text-emphasis: #055160;--bs-warning-text-emphasis: #664d03;--bs-danger-text-emphasis: #58151c;--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: #cfe2ff;--bs-secondary-bg-subtle: #e2e3e5;--bs-success-bg-subtle: #d1e7dd;--bs-info-bg-subtle: #cff4fc;--bs-warning-bg-subtle: #fff3cd;--bs-danger-bg-subtle: #f8d7da;--bs-light-bg-subtle: #fcfcfd;--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: #9ec5fe;--bs-secondary-border-subtle: #c4c8cb;--bs-success-border-subtle: #a3cfbb;--bs-info-border-subtle: #9eeaf9;--bs-warning-border-subtle: #ffe69c;--bs-danger-border-subtle: #f1aeb5;--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, .75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, .5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: #0a58ca;--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: #fff3cd;--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, .175);--bs-border-radius: .375rem;--bs-border-radius-sm: .25rem;--bs-border-radius-lg: .5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-box-shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-focus-ring-width: .25rem;--bs-focus-ring-opacity: .25;--bs-focus-ring-color: rgba(13, 110, 253, .25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, .75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, .5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: #2b3035;--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: #6ea8fe;--bs-secondary-text-emphasis: #a7acb1;--bs-success-text-emphasis: #75b798;--bs-info-text-emphasis: #6edff6;--bs-warning-text-emphasis: #ffda6a;--bs-danger-text-emphasis: #ea868f;--bs-light-text-emphasis: #f8f9fa;--bs-dark-text-emphasis: #dee2e6;--bs-primary-bg-subtle: #031633;--bs-secondary-bg-subtle: #161719;--bs-success-bg-subtle: #051b11;--bs-info-bg-subtle: #032830;--bs-warning-bg-subtle: #332701;--bs-danger-bg-subtle: #2c0b0e;--bs-light-bg-subtle: #343a40;--bs-dark-bg-subtle: #1a1d20;--bs-primary-border-subtle: #084298;--bs-secondary-border-subtle: #41464b;--bs-success-border-subtle: #0f5132;--bs-info-border-subtle: #087990;--bs-warning-border-subtle: #997404;--bs-danger-border-subtle: #842029;--bs-light-border-subtle: #495057;--bs-dark-border-subtle: #343a40;--bs-heading-color: inherit;--bs-link-color: #6ea8fe;--bs-link-hover-color: #8bb9fe;--bs-link-color-rgb: 110, 168, 254;--bs-link-hover-color-rgb: 139, 185, 254;--bs-code-color: #e685b5;--bs-highlight-color: #dee2e6;--bs-highlight-bg: #664d03;--bs-border-color: #495057;--bs-border-color-translucent: rgba(255, 255, 255, .15);--bs-form-valid-color: #75b798;--bs-form-valid-border-color: #75b798;--bs-form-invalid-color: #ea868f;--bs-form-invalid-border-color: #ea868f}*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:.25}h6,.h6,h5,.h5,h4,.h4,h3,.h3,h2,.h2,h1,.h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color)}h1,.h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width: 1200px){h1,.h1{font-size:2.5rem}}h2,.h2{font-size:calc(1.325rem + .9vw)}@media (min-width: 1200px){h2,.h2{font-size:2rem}}h3,.h3{font-size:calc(1.3rem + .6vw)}@media (min-width: 1200px){h3,.h3{font-size:1.75rem}}h4,.h4{font-size:calc(1.275rem + .3vw)}@media (min-width: 1200px){h4,.h4{font-size:1.5rem}}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small,.small{font-size:.875em}mark,.mark{padding:.1875em;color:var(--bs-highlight-color);background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, 1));text-decoration:underline}a:hover{--bs-link-color-rgb: var(--bs-link-hover-color-rgb)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-secondary-color);text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;line-height:inherit;font-size:calc(1.275rem + .3vw)}@media (min-width: 1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-weight:300;line-height:1.2;font-size:calc(1.625rem + 4.5vw)}@media (min-width: 1200px){.display-1{font-size:5rem}}.display-2{font-weight:300;line-height:1.2;font-size:calc(1.575rem + 3.9vw)}@media (min-width: 1200px){.display-2{font-size:4.5rem}}.display-3{font-weight:300;line-height:1.2;font-size:calc(1.525rem + 3.3vw)}@media (min-width: 1200px){.display-3{font-size:4rem}}.display-4{font-weight:300;line-height:1.2;font-size:calc(1.475rem + 2.7vw)}@media (min-width: 1200px){.display-4{font-size:3.5rem}}.display-5{font-weight:300;line-height:1.2;font-size:calc(1.425rem + 2.1vw)}@media (min-width: 1200px){.display-5{font-size:3rem}}.display-6{font-weight:300;line-height:1.2;font-size:calc(1.375rem + 1.5vw)}@media (min-width: 1200px){.display-6{font-size:2.5rem}}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:var(--bs-body-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:var(--bs-secondary-color)}.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width: 576px){.container-sm,.container{max-width:540px}}@media (min-width: 768px){.container-md,.container-sm,.container{max-width:720px}}@media (min-width: 992px){.container-lg,.container-md,.container-sm,.container{max-width:960px}}@media (min-width: 1200px){.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1140px}}@media (min-width: 1400px){.container-xxl,.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1320px}}:root{--bs-breakpoint-xs: 0;--bs-breakpoint-sm: 576px;--bs-breakpoint-md: 768px;--bs-breakpoint-lg: 992px;--bs-breakpoint-xl: 1200px;--bs-breakpoint-xxl: 1400px}.row{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.66666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: .25rem}.g-1,.gy-1{--bs-gutter-y: .25rem}.g-2,.gx-2{--bs-gutter-x: .5rem}.g-2,.gy-2{--bs-gutter-y: .5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}@media (min-width: 576px){.col-sm{flex:1 0 0}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.66666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: .25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: .25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: .5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: .5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}@media (min-width: 768px){.col-md{flex:1 0 0}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.66666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: .25rem}.g-md-1,.gy-md-1{--bs-gutter-y: .25rem}.g-md-2,.gx-md-2{--bs-gutter-x: .5rem}.g-md-2,.gy-md-2{--bs-gutter-y: .5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}@media (min-width: 992px){.col-lg{flex:1 0 0}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.66666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: .25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: .25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: .5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: .5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}@media (min-width: 1200px){.col-xl{flex:1 0 0}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.66666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: .25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: .25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: .5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: .5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}@media (min-width: 1400px){.col-xxl{flex:1 0 0}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.33333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.66666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x: 0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y: 0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x: .25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y: .25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x: .5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y: .5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x: 1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y: 1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x: 1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y: 1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x: 3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y: 3rem}}.table{--bs-table-color-type: initial;--bs-table-bg-type: initial;--bs-table-color-state: initial;--bs-table-bg-state: initial;--bs-table-color: var(--bs-emphasis-color);--bs-table-bg: var(--bs-body-bg);--bs-table-border-color: var(--bs-border-color);--bs-table-accent-bg: transparent;--bs-table-striped-color: var(--bs-emphasis-color);--bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), .05);--bs-table-active-color: var(--bs-emphasis-color);--bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), .1);--bs-table-hover-color: var(--bs-emphasis-color);--bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), .075);width:100%;margin-bottom:1rem;vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;color:var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));background-color:var(--bs-table-bg);border-bottom-width:var(--bs-border-width);box-shadow:inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)))}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:calc(var(--bs-border-width) * 2) solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:var(--bs-border-width) 0}.table-bordered>:not(caption)>*>*{border-width:0 var(--bs-border-width)}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-color-type: var(--bs-table-striped-color);--bs-table-bg-type: var(--bs-table-striped-bg)}.table-active{--bs-table-color-state: var(--bs-table-active-color);--bs-table-bg-state: var(--bs-table-active-bg)}.table-hover>tbody>tr:hover>*{--bs-table-color-state: var(--bs-table-hover-color);--bs-table-bg-state: var(--bs-table-hover-bg)}.table-primary{--bs-table-color: #000;--bs-table-bg: #cfe2ff;--bs-table-border-color: #a6b5cc;--bs-table-striped-bg: #c5d7f2;--bs-table-striped-color: #000;--bs-table-active-bg: #bacbe6;--bs-table-active-color: #000;--bs-table-hover-bg: #bfd1ec;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color: #000;--bs-table-bg: #e2e3e5;--bs-table-border-color: #b5b6b7;--bs-table-striped-bg: #d7d8da;--bs-table-striped-color: #000;--bs-table-active-bg: #cbccce;--bs-table-active-color: #000;--bs-table-hover-bg: #d1d2d4;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color: #000;--bs-table-bg: #d1e7dd;--bs-table-border-color: #a7b9b1;--bs-table-striped-bg: #c7dbd2;--bs-table-striped-color: #000;--bs-table-active-bg: #bcd0c7;--bs-table-active-color: #000;--bs-table-hover-bg: #c1d6cc;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color: #000;--bs-table-bg: #cff4fc;--bs-table-border-color: #a6c3ca;--bs-table-striped-bg: #c5e8ef;--bs-table-striped-color: #000;--bs-table-active-bg: #badce3;--bs-table-active-color: #000;--bs-table-hover-bg: #bfe2e9;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color: #000;--bs-table-bg: #fff3cd;--bs-table-border-color: #ccc2a4;--bs-table-striped-bg: #f2e7c3;--bs-table-striped-color: #000;--bs-table-active-bg: #e6dbb9;--bs-table-active-color: #000;--bs-table-hover-bg: #ece1be;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color: #000;--bs-table-bg: #f8d7da;--bs-table-border-color: #c6acae;--bs-table-striped-bg: #eccccf;--bs-table-striped-color: #000;--bs-table-active-bg: #dfc2c4;--bs-table-active-color: #000;--bs-table-hover-bg: #e5c7ca;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color: #000;--bs-table-bg: #f8f9fa;--bs-table-border-color: #c6c7c8;--bs-table-striped-bg: #ecedee;--bs-table-striped-color: #000;--bs-table-active-bg: #dfe0e1;--bs-table-active-color: #000;--bs-table-hover-bg: #e5e6e7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color: #fff;--bs-table-bg: #212529;--bs-table-border-color: #4d5154;--bs-table-striped-bg: #2c3034;--bs-table-striped-color: #fff;--bs-table-active-bg: #373b3e;--bs-table-active-color: #fff;--bs-table-hover-bg: #323539;--bs-table-hover-color: #fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width: 575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + var(--bs-border-width));padding-bottom:calc(.375rem + var(--bs-border-width));margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + var(--bs-border-width));padding-bottom:calc(.5rem + var(--bs-border-width));font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + var(--bs-border-width));padding-bottom:calc(.25rem + var(--bs-border-width));font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:var(--bs-secondary-color)}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:var(--bs-body-color);background-color:var(--bs-body-bg);border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-control::-webkit-date-and-time-value{min-width:85px;height:1.5em;margin:0}.form-control::-webkit-datetime-edit{display:block;padding:0}.form-control::placeholder{color:var(--bs-secondary-color);opacity:1}.form-control:disabled{background-color:var(--bs-secondary-bg);opacity:1}.form-control::-webkit-file-upload-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;-webkit-transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;-webkit-margin-end:.75rem;margin-inline-end:.75rem;color:var(--bs-body-color);background-color:var(--bs-tertiary-bg);pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:var(--bs-border-width);border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control::-webkit-file-upload-button{-webkit-transition:none;transition:none}.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button{background-color:var(--bs-secondary-bg)}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:var(--bs-secondary-bg)}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:var(--bs-body-color);background-color:transparent;border:solid transparent;border-width:var(--bs-border-width) 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2));padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-control-sm::-webkit-file-upload-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.form-control-lg::-webkit-file-upload-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2))}textarea.form-control-sm{min-height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}textarea.form-control-lg{min-height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-control-color{width:3rem;height:calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color::-webkit-color-swatch{border:0!important;border-radius:var(--bs-border-radius)}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + calc(var(--bs-border-width) * 2))}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + calc(var(--bs-border-width) * 2))}.form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-body-bg);background-image:var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon, none);background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-select{transition:none}}.form-select:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:var(--bs-secondary-bg)}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--bs-body-color)}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}[data-bs-theme=dark] .form-select{--bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{--bs-form-check-bg: var(--bs-body-bg);flex-shrink:0;width:1em;height:1em;margin-top:.25em;vertical-align:top;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bs-form-check-bg);background-image:var(--bs-form-check-bg-image);background-repeat:no-repeat;background-position:center;background-size:contain;border:var(--bs-border-width) solid var(--bs-border-color);-webkit-print-color-adjust:exact;color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#86b7fe;outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.form-check-input:checked{background-color:#0d6efd;border-color:#0d6efd}.form-check-input:checked[type=checkbox]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#0d6efd;border-color:#0d6efd;--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input[disabled]~.form-check-label,.form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");width:2em;margin-left:-2.5em;background-image:var(--bs-form-switch-bg);background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check[disabled]+.btn,.btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus){--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e")}.form-range{width:100%;height:1.5rem;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #0d6efd40}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;-webkit-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#b6d4fe}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;-moz-appearance:none;appearance:none;background-color:#0d6efd;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#b6d4fe}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:var(--bs-secondary-bg);border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:var(--bs-secondary-color)}.form-range:disabled::-moz-range-thumb{background-color:var(--bs-secondary-color)}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + calc(var(--bs-border-width) * 2));min-height:calc(3.5rem + calc(var(--bs-border-width) * 2));line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;z-index:2;max-width:100%;height:100%;padding:1rem .75rem;overflow:hidden;color:rgba(var(--bs-body-color-rgb),.65);text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:var(--bs-border-width) solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion: reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control::placeholder,.form-floating>.form-control-plaintext::placeholder{color:transparent}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown),.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill,.form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem;padding-left:.75rem}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-control-plaintext~label,.form-floating>.form-select~label{transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:-webkit-autofill~label{transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>textarea:focus~label:after,.form-floating>textarea:not(:placeholder-shown)~label:after{position:absolute;inset:1rem .375rem;z-index:-1;height:1.5em;content:"";background-color:var(--bs-body-bg);border-radius:var(--bs-border-radius)}.form-floating>textarea:disabled~label:after{background-color:var(--bs-secondary-bg)}.form-floating>.form-control-plaintext~label{border-width:var(--bs-border-width) 0}.form-floating>:disabled~label,.form-floating>.form-control:disabled~label{color:#6c757d}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select,.input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus,.input-group>.form-floating:focus-within{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);text-align:center;white-space:nowrap;background-color:var(--bs-tertiary-bg);border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius)}.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text,.input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:var(--bs-border-radius-lg)}.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text,.input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:var(--bs-border-radius-sm)}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:calc(-1 * var(--bs-border-width));border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-valid-color)}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-success);border-radius:var(--bs-border-radius)}.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip,.is-valid~.valid-feedback,.is-valid~.valid-tooltip{display:block}.was-validated .form-control:valid,.form-control.is-valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:valid:focus,.form-control.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:valid,.form-select.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:valid:focus,.form-select.is-valid:focus{border-color:var(--bs-form-valid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-control-color:valid,.form-control-color.is-valid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:valid,.form-check-input.is-valid{border-color:var(--bs-form-valid-border-color)}.was-validated .form-check-input:valid:checked,.form-check-input.is-valid:checked{background-color:var(--bs-form-valid-color)}.was-validated .form-check-input:valid:focus,.form-check-input.is-valid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-success-rgb),.25)}.was-validated .form-check-input:valid~.form-check-label,.form-check-input.is-valid~.form-check-label{color:var(--bs-form-valid-color)}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):valid,.input-group>.form-control:not(:focus).is-valid,.was-validated .input-group>.form-select:not(:focus):valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.input-group>.form-floating:not(:focus-within).is-valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:var(--bs-form-invalid-color)}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:var(--bs-danger);border-radius:var(--bs-border-radius)}.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip,.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip{display:block}.was-validated .form-control:invalid,.form-control.is-invalid{border-color:var(--bs-form-invalid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:invalid:focus,.form-control.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"]{--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus{border-color:var(--bs-form-invalid-border-color);box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-control-color:invalid,.form-control-color.is-invalid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:invalid,.form-check-input.is-invalid{border-color:var(--bs-form-invalid-border-color)}.was-validated .form-check-input:invalid:checked,.form-check-input.is-invalid:checked{background-color:var(--bs-form-invalid-color)}.was-validated .form-check-input:invalid:focus,.form-check-input.is-invalid:focus{box-shadow:0 0 0 .25rem rgba(var(--bs-danger-rgb),.25)}.was-validated .form-check-input:invalid~.form-check-label,.form-check-input.is-invalid~.form-check-label{color:var(--bs-form-invalid-color)}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):invalid,.input-group>.form-control:not(:focus).is-invalid,.was-validated .input-group>.form-select:not(:focus):invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.input-group>.form-floating:not(:focus-within).is-invalid{z-index:4}.btn{--bs-btn-padding-x: .75rem;--bs-btn-padding-y: .375rem;--bs-btn-font-family: ;--bs-btn-font-size: 1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: var(--bs-body-color);--bs-btn-bg: transparent;--bs-btn-border-width: var(--bs-border-width);--bs-btn-border-color: transparent;--bs-btn-border-radius: var(--bs-border-radius);--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity: .65;--bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked:focus-visible+.btn{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color: #fff;--bs-btn-bg: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0b5ed7;--bs-btn-hover-border-color: #0a58ca;--bs-btn-focus-shadow-rgb: 49, 132, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0a58ca;--bs-btn-active-border-color: #0a53be;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #0d6efd;--bs-btn-disabled-border-color: #0d6efd}.btn-secondary{--bs-btn-color: #fff;--bs-btn-bg: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #5c636a;--bs-btn-hover-border-color: #565e64;--bs-btn-focus-shadow-rgb: 130, 138, 145;--bs-btn-active-color: #fff;--bs-btn-active-bg: #565e64;--bs-btn-active-border-color: #51585e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #6c757d;--bs-btn-disabled-border-color: #6c757d}.btn-success{--bs-btn-color: #fff;--bs-btn-bg: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #157347;--bs-btn-hover-border-color: #146c43;--bs-btn-focus-shadow-rgb: 60, 153, 110;--bs-btn-active-color: #fff;--bs-btn-active-bg: #146c43;--bs-btn-active-border-color: #13653f;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #198754;--bs-btn-disabled-border-color: #198754}.btn-info{--bs-btn-color: #000;--bs-btn-bg: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #31d2f2;--bs-btn-hover-border-color: #25cff2;--bs-btn-focus-shadow-rgb: 11, 172, 204;--bs-btn-active-color: #000;--bs-btn-active-bg: #3dd5f3;--bs-btn-active-border-color: #25cff2;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #0dcaf0;--bs-btn-disabled-border-color: #0dcaf0}.btn-warning{--bs-btn-color: #000;--bs-btn-bg: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffca2c;--bs-btn-hover-border-color: #ffc720;--bs-btn-focus-shadow-rgb: 217, 164, 6;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffcd39;--bs-btn-active-border-color: #ffc720;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ffc107;--bs-btn-disabled-border-color: #ffc107}.btn-danger{--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #bb2d3b;--bs-btn-hover-border-color: #b02a37;--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: #b02a37;--bs-btn-active-border-color: #a52834;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545}.btn-light{--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #d3d4d5;--bs-btn-hover-border-color: #c6c7c8;--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: #c6c7c8;--bs-btn-active-border-color: #babbbc;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa}.btn-dark{--bs-btn-color: #fff;--bs-btn-bg: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #424649;--bs-btn-hover-border-color: #373b3e;--bs-btn-focus-shadow-rgb: 66, 70, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: #4d5154;--bs-btn-active-border-color: #373b3e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #212529;--bs-btn-disabled-border-color: #212529}.btn-outline-primary{--bs-btn-color: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0d6efd;--bs-btn-hover-border-color: #0d6efd;--bs-btn-focus-shadow-rgb: 13, 110, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0d6efd;--bs-btn-active-border-color: #0d6efd;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0d6efd;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0d6efd;--bs-gradient: none}.btn-outline-secondary{--bs-btn-color: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #6c757d;--bs-btn-hover-border-color: #6c757d;--bs-btn-focus-shadow-rgb: 108, 117, 125;--bs-btn-active-color: #fff;--bs-btn-active-bg: #6c757d;--bs-btn-active-border-color: #6c757d;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #6c757d;--bs-gradient: none}.btn-outline-success{--bs-btn-color: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #198754;--bs-btn-hover-border-color: #198754;--bs-btn-focus-shadow-rgb: 25, 135, 84;--bs-btn-active-color: #fff;--bs-btn-active-bg: #198754;--bs-btn-active-border-color: #198754;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #198754;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #198754;--bs-gradient: none}.btn-outline-info{--bs-btn-color: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #0dcaf0;--bs-btn-hover-border-color: #0dcaf0;--bs-btn-focus-shadow-rgb: 13, 202, 240;--bs-btn-active-color: #000;--bs-btn-active-bg: #0dcaf0;--bs-btn-active-border-color: #0dcaf0;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0dcaf0;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0dcaf0;--bs-gradient: none}.btn-outline-warning{--bs-btn-color: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffc107;--bs-btn-hover-border-color: #ffc107;--bs-btn-focus-shadow-rgb: 255, 193, 7;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffc107;--bs-btn-active-border-color: #ffc107;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #ffc107;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ffc107;--bs-gradient: none}.btn-outline-danger{--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none}.btn-outline-light{--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none}.btn-outline-dark{--bs-btn-color: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #212529;--bs-btn-hover-border-color: #212529;--bs-btn-focus-shadow-rgb: 33, 37, 41;--bs-btn-active-color: #fff;--bs-btn-active-bg: #212529;--bs-btn-active-border-color: #212529;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #212529;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #212529;--bs-gradient: none}.btn-link{--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: 0 0 0 #000;--bs-btn-focus-shadow-rgb: 49, 132, 253;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg,.btn-group-lg>.btn{--bs-btn-padding-y: .5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size: 1.25rem;--bs-btn-border-radius: var(--bs-border-radius-lg)}.btn-sm,.btn-group-sm>.btn{--bs-btn-padding-y: .25rem;--bs-btn-padding-x: .5rem;--bs-btn-font-size: .875rem;--bs-btn-border-radius: var(--bs-border-radius-sm)}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion: reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion: reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion: reduce){.collapsing.collapse-horizontal{transition:none}}.dropup,.dropend,.dropdown,.dropstart,.dropup-center,.dropdown-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex: 1000;--bs-dropdown-min-width: 10rem;--bs-dropdown-padding-x: 0;--bs-dropdown-padding-y: .5rem;--bs-dropdown-spacer: .125rem;--bs-dropdown-font-size: 1rem;--bs-dropdown-color: var(--bs-body-color);--bs-dropdown-bg: var(--bs-body-bg);--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-border-radius: var(--bs-border-radius);--bs-dropdown-border-width: var(--bs-border-width);--bs-dropdown-inner-border-radius: calc(var(--bs-border-radius) - var(--bs-border-width));--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y: .5rem;--bs-dropdown-box-shadow: var(--bs-box-shadow);--bs-dropdown-link-color: var(--bs-body-color);--bs-dropdown-link-hover-color: var(--bs-body-color);--bs-dropdown-link-hover-bg: var(--bs-tertiary-bg);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: var(--bs-tertiary-color);--bs-dropdown-item-padding-x: 1rem;--bs-dropdown-item-padding-y: .25rem;--bs-dropdown-header-color: #6c757d;--bs-dropdown-header-padding-x: 1rem;--bs-dropdown-header-padding-y: .5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position: start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position: end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width: 576px){.dropdown-menu-sm-start{--bs-position: start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position: end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 768px){.dropdown-menu-md-start{--bs-position: start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position: end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 992px){.dropdown-menu-lg-start{--bs-position: start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position: end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1200px){.dropdown-menu-xl-start{--bs-position: start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position: end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1400px){.dropdown-menu-xxl-start{--bs-position: start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position: end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;border-radius:var(--bs-dropdown-item-border-radius, 0)}.dropdown-item:hover,.dropdown-item:focus{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color: #dee2e6;--bs-dropdown-bg: #343a40;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color: #dee2e6;--bs-dropdown-link-hover-color: #fff;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg: rgba(255, 255, 255, .15);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #0d6efd;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-header-color: #adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;flex:1 1 auto}.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:var(--bs-border-radius)}.btn-group>:not(.btn-check:first-child)+.btn,.btn-group>.btn-group:not(:first-child){margin-left:calc(-1 * var(--bs-border-width))}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn,.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:calc(-1 * var(--bs-border-width))}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:nth-child(n+3),.btn-group-vertical>:not(.btn-check)+.btn,.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;background:none;border:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion: reduce){.nav-link{transition:none}}.nav-link:hover,.nav-link:focus{color:var(--bs-nav-link-hover-color)}.nav-link:focus-visible{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.nav-link.disabled,.nav-link:disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width: var(--bs-border-width);--bs-nav-tabs-border-color: var(--bs-border-color);--bs-nav-tabs-border-radius: var(--bs-border-radius);--bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);--bs-nav-tabs-link-active-color: var(--bs-emphasis-color);--bs-nav-tabs-link-active-bg: var(--bs-body-bg);--bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius: var(--bs-border-radius);--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #0d6efd}.nav-pills .nav-link{border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-underline{--bs-nav-underline-gap: 1rem;--bs-nav-underline-border-width: .125rem;--bs-nav-underline-link-active-color: var(--bs-emphasis-color);gap:var(--bs-nav-underline-gap)}.nav-underline .nav-link{padding-right:0;padding-left:0;border-bottom:var(--bs-nav-underline-border-width) solid transparent}.nav-underline .nav-link:hover,.nav-underline .nav-link:focus{border-bottom-color:currentcolor}.nav-underline .nav-link.active,.nav-underline .show>.nav-link{font-weight:700;color:var(--bs-nav-underline-link-active-color);border-bottom-color:currentcolor}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-grow:1;flex-basis:0;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: .5rem;--bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), .65);--bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), .8);--bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), .3);--bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-padding-y: .3125rem;--bs-navbar-brand-margin-end: 1rem;--bs-navbar-brand-font-size: 1.25rem;--bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);--bs-navbar-nav-link-padding-x: .5rem;--bs-navbar-toggler-padding-y: .25rem;--bs-navbar-toggler-padding-x: .75rem;--bs-navbar-toggler-font-size: 1.25rem;--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), .15);--bs-navbar-toggler-border-radius: var(--bs-border-radius);--bs-navbar-toggler-focus-width: .25rem;--bs-navbar-toggler-transition: box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-sm,.navbar>.container-md,.navbar>.container-lg,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .nav-link.active,.navbar-nav .nav-link.show{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:hover,.navbar-text a:focus{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-grow:1;flex-basis:100%;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion: reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height, 75vh);overflow-y:auto}@media (min-width: 576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark,.navbar[data-bs-theme=dark]{--bs-navbar-color: rgba(255, 255, 255, .55);--bs-navbar-hover-color: rgba(255, 255, 255, .75);--bs-navbar-disabled-color: rgba(255, 255, 255, .25);--bs-navbar-active-color: #fff;--bs-navbar-brand-color: #fff;--bs-navbar-brand-hover-color: #fff;--bs-navbar-toggler-border-color: rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}[data-bs-theme=dark] .navbar-toggler-icon{--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y: 1rem;--bs-card-spacer-x: 1rem;--bs-card-title-spacer-y: .5rem;--bs-card-title-color: ;--bs-card-subtitle-color: ;--bs-card-border-width: var(--bs-border-width);--bs-card-border-color: var(--bs-border-color-translucent);--bs-card-border-radius: var(--bs-border-radius);--bs-card-box-shadow: ;--bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-card-cap-padding-y: .5rem;--bs-card-cap-padding-x: 1rem;--bs-card-cap-bg: rgba(var(--bs-body-color-rgb), .03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg: var(--bs-body-bg);--bs-card-img-overlay-padding: 1rem;--bs-card-group-margin: .75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);color:var(--bs-body-color);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y);color:var(--bs-card-title-color)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0;color:var(--bs-card-subtitle-color)}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;inset:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-top,.card-img-bottom{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width: 576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child)>.card-img-top,.card-group>.card:not(:last-child)>.card-header{border-top-right-radius:0}.card-group>.card:not(:last-child)>.card-img-bottom,.card-group>.card:not(:last-child)>.card-footer{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child)>.card-img-top,.card-group>.card:not(:first-child)>.card-header{border-top-left-radius:0}.card-group>.card:not(:first-child)>.card-img-bottom,.card-group>.card:not(:first-child)>.card-footer{border-bottom-left-radius:0}}.accordion{--bs-accordion-color: var(--bs-body-color);--bs-accordion-bg: var(--bs-body-bg);--bs-accordion-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;--bs-accordion-border-color: var(--bs-border-color);--bs-accordion-border-width: var(--bs-border-width);--bs-accordion-border-radius: var(--bs-border-radius);--bs-accordion-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));--bs-accordion-btn-padding-x: 1.25rem;--bs-accordion-btn-padding-y: 1rem;--bs-accordion-btn-color: var(--bs-body-color);--bs-accordion-btn-bg: var(--bs-accordion-bg);--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width: 1.25rem;--bs-accordion-btn-icon-transform: rotate(-180deg);--bs-accordion-btn-icon-transition: transform .2s ease-in-out;--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23052c65' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");--bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-accordion-body-padding-x: 1.25rem;--bs-accordion-body-padding-y: 1rem;--bs-accordion-active-color: var(--bs-primary-text-emphasis);--bs-accordion-active-bg: var(--bs-primary-bg-subtle)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion: reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion: reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type>.accordion-header .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type>.accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush>.accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush>.accordion-item:first-child{border-top:0}.accordion-flush>.accordion-item:last-child{border-bottom:0}.accordion-flush>.accordion-item>.accordion-collapse,.accordion-flush>.accordion-item>.accordion-header .accordion-button,.accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed{border-radius:0}[data-bs-theme=dark] .accordion-button:after{--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e")}.breadcrumb{--bs-breadcrumb-padding-x: 0;--bs-breadcrumb-padding-y: 0;--bs-breadcrumb-margin-bottom: 1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color: var(--bs-secondary-color);--bs-breadcrumb-item-padding-x: .5rem;--bs-breadcrumb-item-active-color: var(--bs-secondary-color);display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x: .75rem;--bs-pagination-padding-y: .375rem;--bs-pagination-font-size: 1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: var(--bs-body-bg);--bs-pagination-border-width: var(--bs-border-width);--bs-pagination-border-color: var(--bs-border-color);--bs-pagination-border-radius: var(--bs-border-radius);--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: var(--bs-tertiary-bg);--bs-pagination-hover-border-color: var(--bs-border-color);--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: var(--bs-secondary-bg);--bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #0d6efd;--bs-pagination-active-border-color: #0d6efd;--bs-pagination-disabled-color: var(--bs-secondary-color);--bs-pagination-disabled-bg: var(--bs-secondary-bg);--bs-pagination-disabled-border-color: var(--bs-border-color);display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.page-link.active,.active>.page-link{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.page-link.disabled,.disabled>.page-link{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:calc(-1 * var(--bs-border-width))}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x: 1.5rem;--bs-pagination-padding-y: .75rem;--bs-pagination-font-size: 1.25rem;--bs-pagination-border-radius: var(--bs-border-radius-lg)}.pagination-sm{--bs-pagination-padding-x: .5rem;--bs-pagination-padding-y: .25rem;--bs-pagination-font-size: .875rem;--bs-pagination-border-radius: var(--bs-border-radius-sm)}.badge{--bs-badge-padding-x: .65em;--bs-badge-padding-y: .35em;--bs-badge-font-size: .75em;--bs-badge-font-weight: 700;--bs-badge-color: #fff;--bs-badge-border-radius: var(--bs-border-radius);display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg: transparent;--bs-alert-padding-x: 1rem;--bs-alert-padding-y: 1rem;--bs-alert-margin-bottom: 1rem;--bs-alert-color: inherit;--bs-alert-border-color: transparent;--bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color);--bs-alert-border-radius: var(--bs-border-radius);--bs-alert-link-color: inherit;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700;color:var(--bs-alert-link-color)}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color: var(--bs-primary-text-emphasis);--bs-alert-bg: var(--bs-primary-bg-subtle);--bs-alert-border-color: var(--bs-primary-border-subtle);--bs-alert-link-color: var(--bs-primary-text-emphasis)}.alert-secondary{--bs-alert-color: var(--bs-secondary-text-emphasis);--bs-alert-bg: var(--bs-secondary-bg-subtle);--bs-alert-border-color: var(--bs-secondary-border-subtle);--bs-alert-link-color: var(--bs-secondary-text-emphasis)}.alert-success{--bs-alert-color: var(--bs-success-text-emphasis);--bs-alert-bg: var(--bs-success-bg-subtle);--bs-alert-border-color: var(--bs-success-border-subtle);--bs-alert-link-color: var(--bs-success-text-emphasis)}.alert-info{--bs-alert-color: var(--bs-info-text-emphasis);--bs-alert-bg: var(--bs-info-bg-subtle);--bs-alert-border-color: var(--bs-info-border-subtle);--bs-alert-link-color: var(--bs-info-text-emphasis)}.alert-warning{--bs-alert-color: var(--bs-warning-text-emphasis);--bs-alert-bg: var(--bs-warning-bg-subtle);--bs-alert-border-color: var(--bs-warning-border-subtle);--bs-alert-link-color: var(--bs-warning-text-emphasis)}.alert-danger{--bs-alert-color: var(--bs-danger-text-emphasis);--bs-alert-bg: var(--bs-danger-bg-subtle);--bs-alert-border-color: var(--bs-danger-border-subtle);--bs-alert-link-color: var(--bs-danger-text-emphasis)}.alert-light{--bs-alert-color: var(--bs-light-text-emphasis);--bs-alert-bg: var(--bs-light-bg-subtle);--bs-alert-border-color: var(--bs-light-border-subtle);--bs-alert-link-color: var(--bs-light-text-emphasis)}.alert-dark{--bs-alert-color: var(--bs-dark-text-emphasis);--bs-alert-bg: var(--bs-dark-bg-subtle);--bs-alert-border-color: var(--bs-dark-border-subtle);--bs-alert-link-color: var(--bs-dark-text-emphasis)}@keyframes progress-bar-stripes{0%{background-position-x:var(--bs-progress-height)}}.progress,.progress-stacked{--bs-progress-height: 1rem;--bs-progress-font-size: .75rem;--bs-progress-bg: var(--bs-secondary-bg);--bs-progress-border-radius: var(--bs-border-radius);--bs-progress-box-shadow: var(--bs-box-shadow-inset);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #0d6efd;--bs-progress-bar-transition: width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion: reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-stacked>.progress{overflow:visible}.progress-stacked>.progress>.progress-bar{width:100%}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion: reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color: var(--bs-body-color);--bs-list-group-bg: var(--bs-body-bg);--bs-list-group-border-color: var(--bs-border-color);--bs-list-group-border-width: var(--bs-border-width);--bs-list-group-border-radius: var(--bs-border-radius);--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: var(--bs-secondary-color);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-tertiary-bg);--bs-list-group-action-active-color: var(--bs-body-color);--bs-list-group-action-active-bg: var(--bs-secondary-bg);--bs-list-group-disabled-color: var(--bs-secondary-color);--bs-list-group-disabled-bg: var(--bs-body-bg);--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #0d6efd;--bs-list-group-active-border-color: #0d6efd;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:not(.active):hover,.list-group-item-action:not(.active):focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:not(.active):active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width: 576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{--bs-list-group-color: var(--bs-primary-text-emphasis);--bs-list-group-bg: var(--bs-primary-bg-subtle);--bs-list-group-border-color: var(--bs-primary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-primary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-primary-border-subtle);--bs-list-group-active-color: var(--bs-primary-bg-subtle);--bs-list-group-active-bg: var(--bs-primary-text-emphasis);--bs-list-group-active-border-color: var(--bs-primary-text-emphasis)}.list-group-item-secondary{--bs-list-group-color: var(--bs-secondary-text-emphasis);--bs-list-group-bg: var(--bs-secondary-bg-subtle);--bs-list-group-border-color: var(--bs-secondary-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-secondary-border-subtle);--bs-list-group-active-color: var(--bs-secondary-bg-subtle);--bs-list-group-active-bg: var(--bs-secondary-text-emphasis);--bs-list-group-active-border-color: var(--bs-secondary-text-emphasis)}.list-group-item-success{--bs-list-group-color: var(--bs-success-text-emphasis);--bs-list-group-bg: var(--bs-success-bg-subtle);--bs-list-group-border-color: var(--bs-success-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-success-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-success-border-subtle);--bs-list-group-active-color: var(--bs-success-bg-subtle);--bs-list-group-active-bg: var(--bs-success-text-emphasis);--bs-list-group-active-border-color: var(--bs-success-text-emphasis)}.list-group-item-info{--bs-list-group-color: var(--bs-info-text-emphasis);--bs-list-group-bg: var(--bs-info-bg-subtle);--bs-list-group-border-color: var(--bs-info-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-info-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-info-border-subtle);--bs-list-group-active-color: var(--bs-info-bg-subtle);--bs-list-group-active-bg: var(--bs-info-text-emphasis);--bs-list-group-active-border-color: var(--bs-info-text-emphasis)}.list-group-item-warning{--bs-list-group-color: var(--bs-warning-text-emphasis);--bs-list-group-bg: var(--bs-warning-bg-subtle);--bs-list-group-border-color: var(--bs-warning-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-warning-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-warning-border-subtle);--bs-list-group-active-color: var(--bs-warning-bg-subtle);--bs-list-group-active-bg: var(--bs-warning-text-emphasis);--bs-list-group-active-border-color: var(--bs-warning-text-emphasis)}.list-group-item-danger{--bs-list-group-color: var(--bs-danger-text-emphasis);--bs-list-group-bg: var(--bs-danger-bg-subtle);--bs-list-group-border-color: var(--bs-danger-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-danger-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-danger-border-subtle);--bs-list-group-active-color: var(--bs-danger-bg-subtle);--bs-list-group-active-bg: var(--bs-danger-text-emphasis);--bs-list-group-active-border-color: var(--bs-danger-text-emphasis)}.list-group-item-light{--bs-list-group-color: var(--bs-light-text-emphasis);--bs-list-group-bg: var(--bs-light-bg-subtle);--bs-list-group-border-color: var(--bs-light-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-light-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-light-border-subtle);--bs-list-group-active-color: var(--bs-light-bg-subtle);--bs-list-group-active-bg: var(--bs-light-text-emphasis);--bs-list-group-active-border-color: var(--bs-light-text-emphasis)}.list-group-item-dark{--bs-list-group-color: var(--bs-dark-text-emphasis);--bs-list-group-bg: var(--bs-dark-bg-subtle);--bs-list-group-border-color: var(--bs-dark-border-subtle);--bs-list-group-action-hover-color: var(--bs-emphasis-color);--bs-list-group-action-hover-bg: var(--bs-dark-border-subtle);--bs-list-group-action-active-color: var(--bs-emphasis-color);--bs-list-group-action-active-bg: var(--bs-dark-border-subtle);--bs-list-group-active-color: var(--bs-dark-bg-subtle);--bs-list-group-active-bg: var(--bs-dark-text-emphasis);--bs-list-group-active-border-color: var(--bs-dark-text-emphasis)}.btn-close{--bs-btn-close-color: #000;--bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");--bs-btn-close-opacity: .5;--bs-btn-close-hover-opacity: .75;--bs-btn-close-focus-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);--bs-btn-close-focus-opacity: 1;--bs-btn-close-disabled-opacity: .25;box-sizing:content-box;width:1em;height:1em;padding:.25em;color:var(--bs-btn-close-color);background:transparent var(--bs-btn-close-bg) center/1em auto no-repeat;filter:var(--bs-btn-close-filter);border:0;border-radius:.375rem;opacity:var(--bs-btn-close-opacity)}.btn-close:hover{color:var(--bs-btn-close-color);text-decoration:none;opacity:var(--bs-btn-close-hover-opacity)}.btn-close:focus{outline:0;box-shadow:var(--bs-btn-close-focus-shadow);opacity:var(--bs-btn-close-focus-opacity)}.btn-close:disabled,.btn-close.disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--bs-btn-close-disabled-opacity)}.btn-close-white{--bs-btn-close-filter: invert(1) grayscale(100%) brightness(200%)}:root,[data-bs-theme=light]{--bs-btn-close-filter: }[data-bs-theme=dark]{--bs-btn-close-filter: invert(1) grayscale(100%) brightness(200%)}.toast{--bs-toast-zindex: 1090;--bs-toast-padding-x: .75rem;--bs-toast-padding-y: .5rem;--bs-toast-spacing: 1.5rem;--bs-toast-max-width: 350px;--bs-toast-font-size: .875rem;--bs-toast-color: ;--bs-toast-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-border-width: var(--bs-border-width);--bs-toast-border-color: var(--bs-border-color-translucent);--bs-toast-border-radius: var(--bs-border-radius);--bs-toast-box-shadow: var(--bs-box-shadow);--bs-toast-header-color: var(--bs-secondary-color);--bs-toast-header-bg: rgba(var(--bs-body-bg-rgb), .85);--bs-toast-header-border-color: var(--bs-border-color-translucent);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex: 1090;position:absolute;z-index:var(--bs-toast-zindex);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: var(--bs-body-color);--bs-modal-bg: var(--bs-body-bg);--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: var(--bs-border-width);--bs-modal-border-radius: var(--bs-border-radius-lg);--bs-modal-box-shadow: var(--bs-box-shadow-sm);--bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: var(--bs-border-width);--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: var(--bs-border-width);position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transform:translateY(-50px);transition:transform .3s ease-out}@media (prefers-reduced-motion: reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin-top:calc(-.5 * var(--bs-modal-header-padding-y));margin-right:calc(-.5 * var(--bs-modal-header-padding-x));margin-bottom:calc(-.5 * var(--bs-modal-header-padding-y));margin-left:auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width: 576px){.modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: var(--bs-box-shadow)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width: 300px}}@media (min-width: 992px){.modal-lg,.modal-xl{--bs-modal-width: 800px}}@media (min-width: 1200px){.modal-xl{--bs-modal-width: 1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header,.modal-fullscreen .modal-footer{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width: 575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header,.modal-fullscreen-sm-down .modal-footer{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width: 767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header,.modal-fullscreen-md-down .modal-footer{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width: 991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header,.modal-fullscreen-lg-down .modal-footer{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width: 1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header,.modal-fullscreen-xl-down .modal-footer{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width: 1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header,.modal-fullscreen-xxl-down .modal-footer{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex: 1080;--bs-tooltip-max-width: 200px;--bs-tooltip-padding-x: .5rem;--bs-tooltip-padding-y: .25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size: .875rem;--bs-tooltip-color: var(--bs-body-bg);--bs-tooltip-bg: var(--bs-emphasis-color);--bs-tooltip-border-radius: var(--bs-border-radius);--bs-tooltip-opacity: .9;--bs-tooltip-arrow-width: .8rem;--bs-tooltip-arrow-height: .4rem;z-index:var(--bs-tooltip-zindex);display:block;margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-top .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{bottom:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-top .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-end .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow{left:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-end .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-bottom .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{top:calc(-1 * var(--bs-tooltip-arrow-height))}.bs-tooltip-bottom .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-start .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow{right:calc(-1 * var(--bs-tooltip-arrow-height));width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-start .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex: 1070;--bs-popover-max-width: 276px;--bs-popover-font-size: .875rem;--bs-popover-bg: var(--bs-body-bg);--bs-popover-border-width: var(--bs-border-width);--bs-popover-border-color: var(--bs-border-color-translucent);--bs-popover-border-radius: var(--bs-border-radius-lg);--bs-popover-inner-border-radius: calc(var(--bs-border-radius-lg) - var(--bs-border-width));--bs-popover-box-shadow: var(--bs-box-shadow);--bs-popover-header-padding-x: 1rem;--bs-popover-header-padding-y: .5rem;--bs-popover-header-font-size: 1rem;--bs-popover-header-color: inherit;--bs-popover-header-bg: var(--bs-secondary-bg);--bs-popover-body-padding-x: 1rem;--bs-popover-body-padding-y: 1rem;--bs-popover-body-color: var(--bs-body-color);--bs-popover-arrow-width: 1rem;--bs-popover-arrow-height: .5rem;--bs-popover-arrow-border: var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:before,.popover .popover-arrow:after{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-top>.popover-arrow,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-end>.popover-arrow,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-bottom>.popover-arrow,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-bottom .popover-header:before,.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-start>.popover-arrow,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion: reduce){.carousel-item{transition:none}}.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-start),.active.carousel-item-end{transform:translate(100%)}.carousel-item-prev:not(.carousel-item-end),.active.carousel-item-start{transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion: reduce){.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{transition:none}}.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;filter:var(--bs-carousel-control-icon-filter);border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion: reduce){.carousel-control-prev,.carousel-control-next{transition:none}}.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:var(--bs-carousel-indicator-active-bg);background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion: reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:var(--bs-carousel-caption-color);text-align:center}.carousel-dark{--bs-carousel-indicator-active-bg: #000;--bs-carousel-caption-color: #000;--bs-carousel-control-icon-filter: invert(1) grayscale(100)}:root,[data-bs-theme=light]{--bs-carousel-indicator-active-bg: #fff;--bs-carousel-caption-color: #fff;--bs-carousel-control-icon-filter: }[data-bs-theme=dark]{--bs-carousel-indicator-active-bg: #000;--bs-carousel-caption-color: #000;--bs-carousel-control-icon-filter: invert(1) grayscale(100)}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media (prefers-reduced-motion: reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed: 1.5s}}.offcanvas,.offcanvas-xxl,.offcanvas-xl,.offcanvas-lg,.offcanvas-md,.offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: var(--bs-body-color);--bs-offcanvas-bg: var(--bs-body-bg);--bs-offcanvas-border-width: var(--bs-border-width);--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: var(--bs-box-shadow-sm);--bs-offcanvas-transition: transform .3s ease-in-out;--bs-offcanvas-title-line-height: 1.5}@media (max-width: 575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 575.98px) and (prefers-reduced-motion: reduce){.offcanvas-sm{transition:none}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.showing,.offcanvas-sm.show:not(.hiding){transform:none}.offcanvas-sm.showing,.offcanvas-sm.hiding,.offcanvas-sm.show{visibility:visible}}@media (min-width: 576px){.offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 767.98px) and (prefers-reduced-motion: reduce){.offcanvas-md{transition:none}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.showing,.offcanvas-md.show:not(.hiding){transform:none}.offcanvas-md.showing,.offcanvas-md.hiding,.offcanvas-md.show{visibility:visible}}@media (min-width: 768px){.offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 991.98px) and (prefers-reduced-motion: reduce){.offcanvas-lg{transition:none}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.showing,.offcanvas-lg.show:not(.hiding){transform:none}.offcanvas-lg.showing,.offcanvas-lg.hiding,.offcanvas-lg.show{visibility:visible}}@media (min-width: 992px){.offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce){.offcanvas-xl{transition:none}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.showing,.offcanvas-xl.show:not(.hiding){transform:none}.offcanvas-xl.showing,.offcanvas-xl.hiding,.offcanvas-xl.show{visibility:visible}}@media (min-width: 1200px){.offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}}@media (max-width: 1399.98px) and (prefers-reduced-motion: reduce){.offcanvas-xxl{transition:none}}@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.showing,.offcanvas-xxl.show:not(.hiding){transform:none}.offcanvas-xxl.showing,.offcanvas-xxl.hiding,.offcanvas-xxl.show{visibility:visible}}@media (min-width: 1400px){.offcanvas-xxl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:var(--bs-offcanvas-transition)}@media (prefers-reduced-motion: reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.showing,.offcanvas.show:not(.hiding){transform:none}.offcanvas.showing,.offcanvas.hiding,.offcanvas.show{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y));margin-left:auto}.offcanvas-title{margin-bottom:0;line-height:var(--bs-offcanvas-title-line-height)}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,#000c,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#fff!important;background-color:RGBA(var(--bs-primary-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(var(--bs-secondary-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(var(--bs-success-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-info{color:#000!important;background-color:RGBA(var(--bs-info-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(var(--bs-danger-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-light{color:#000!important;background-color:RGBA(var(--bs-light-rgb),var(--bs-bg-opacity, 1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(var(--bs-dark-rgb),var(--bs-bg-opacity, 1))!important}.link-primary{color:RGBA(var(--bs-primary-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-primary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-primary:hover,.link-primary:focus{color:RGBA(10,88,202,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(10,88,202,var(--bs-link-underline-opacity, 1))!important}.link-secondary{color:RGBA(var(--bs-secondary-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-secondary-rgb),var(--bs-link-underline-opacity, 1))!important}.link-secondary:hover,.link-secondary:focus{color:RGBA(86,94,100,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(86,94,100,var(--bs-link-underline-opacity, 1))!important}.link-success{color:RGBA(var(--bs-success-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-success-rgb),var(--bs-link-underline-opacity, 1))!important}.link-success:hover,.link-success:focus{color:RGBA(20,108,67,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(20,108,67,var(--bs-link-underline-opacity, 1))!important}.link-info{color:RGBA(var(--bs-info-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-info-rgb),var(--bs-link-underline-opacity, 1))!important}.link-info:hover,.link-info:focus{color:RGBA(61,213,243,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(61,213,243,var(--bs-link-underline-opacity, 1))!important}.link-warning{color:RGBA(var(--bs-warning-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-warning-rgb),var(--bs-link-underline-opacity, 1))!important}.link-warning:hover,.link-warning:focus{color:RGBA(255,205,57,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(255,205,57,var(--bs-link-underline-opacity, 1))!important}.link-danger{color:RGBA(var(--bs-danger-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-danger-rgb),var(--bs-link-underline-opacity, 1))!important}.link-danger:hover,.link-danger:focus{color:RGBA(176,42,55,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(176,42,55,var(--bs-link-underline-opacity, 1))!important}.link-light{color:RGBA(var(--bs-light-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-light-rgb),var(--bs-link-underline-opacity, 1))!important}.link-light:hover,.link-light:focus{color:RGBA(249,250,251,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(249,250,251,var(--bs-link-underline-opacity, 1))!important}.link-dark{color:RGBA(var(--bs-dark-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-dark-rgb),var(--bs-link-underline-opacity, 1))!important}.link-dark:hover,.link-dark:focus{color:RGBA(26,30,33,var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(26,30,33,var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, 1))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-body-emphasis:hover,.link-body-emphasis:focus{color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-opacity, .75))!important;-webkit-text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, .75))!important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb),var(--bs-link-underline-opacity, .75))!important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:.375rem;align-items:center;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-opacity, .5));text-underline-offset:.25em;-webkit-backface-visibility:hidden;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:.2s ease-in-out transform}@media (prefers-reduced-motion: reduce){.icon-link>.bi{transition:none}}.icon-link-hover:hover>.bi,.icon-link-hover:focus-visible>.bi{transform:var(--bs-icon-link-transform, translate3d(.25em, 0, 0))}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio: 100%}.ratio-4x3{--bs-aspect-ratio: 75%}.ratio-16x9{--bs-aspect-ratio: 56.25%}.ratio-21x9{--bs-aspect-ratio: 42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}@media (min-width: 576px){.sticky-sm-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width: 768px){.sticky-md-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width: 992px){.sticky-lg-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width: 1200px){.sticky-xl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}@media (min-width: 1400px){.sticky-xxl-top{position:-webkit-sticky;position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:-webkit-sticky;position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.visually-hidden:not(caption),.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption){position:absolute!important}.visually-hidden *,.visually-hidden-focusable:not(:focus):not(:focus-within) *{overflow:hidden!important}.stretched-link:after{position:absolute;inset:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.object-fit-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-none{-o-object-fit:none!important;object-fit:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.overflow-x-auto{overflow-x:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-x-visible{overflow-x:visible!important}.overflow-x-scroll{overflow-x:scroll!important}.overflow-y-auto{overflow-y:auto!important}.overflow-y-hidden{overflow-y:hidden!important}.overflow-y-visible{overflow-y:visible!important}.overflow-y-scroll{overflow-y:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-inline-grid{display:inline-grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:var(--bs-box-shadow)!important}.shadow-sm{box-shadow:var(--bs-box-shadow-sm)!important}.shadow-lg{box-shadow:var(--bs-box-shadow-lg)!important}.shadow-none{box-shadow:none!important}.focus-ring-primary{--bs-focus-ring-color: rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-secondary{--bs-focus-ring-color: rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity))}.focus-ring-success{--bs-focus-ring-color: rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity))}.focus-ring-info{--bs-focus-ring-color: rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity))}.focus-ring-warning{--bs-focus-ring-color: rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity))}.focus-ring-danger{--bs-focus-ring-color: rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity))}.focus-ring-light{--bs-focus-ring-color: rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity))}.focus-ring-dark{--bs-focus-ring-color: rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity))}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:-webkit-sticky!important;position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity: 1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity: 1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity: 1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity: 1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity: 1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity: 1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-black{--bs-border-opacity: 1;border-color:rgba(var(--bs-black-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity: 1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-primary-subtle{border-color:var(--bs-primary-border-subtle)!important}.border-secondary-subtle{border-color:var(--bs-secondary-border-subtle)!important}.border-success-subtle{border-color:var(--bs-success-border-subtle)!important}.border-info-subtle{border-color:var(--bs-info-border-subtle)!important}.border-warning-subtle{border-color:var(--bs-warning-border-subtle)!important}.border-danger-subtle{border-color:var(--bs-danger-border-subtle)!important}.border-light-subtle{border-color:var(--bs-light-border-subtle)!important}.border-dark-subtle{border-color:var(--bs-dark-border-subtle)!important}.border-1{border-width:1px!important}.border-2{border-width:2px!important}.border-3{border-width:3px!important}.border-4{border-width:4px!important}.border-5{border-width:5px!important}.border-opacity-10{--bs-border-opacity: .1}.border-opacity-25{--bs-border-opacity: .25}.border-opacity-50{--bs-border-opacity: .5}.border-opacity-75{--bs-border-opacity: .75}.border-opacity-100{--bs-border-opacity: 1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.row-gap-0{row-gap:0!important}.row-gap-1{row-gap:.25rem!important}.row-gap-2{row-gap:.5rem!important}.row-gap-3{row-gap:1rem!important}.row-gap-4{row-gap:1.5rem!important}.row-gap-5{row-gap:3rem!important}.column-gap-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-lighter{font-weight:lighter!important}.fw-light{font-weight:300!important}.fw-normal{font-weight:400!important}.fw-medium{font-weight:500!important}.fw-semibold{font-weight:600!important}.fw-bold{font-weight:700!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity: 1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity: 1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity: 1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity: 1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity: 1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity: 1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity: 1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity: 1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity: 1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-black-50{--bs-text-opacity: 1;color:#00000080!important}.text-white-50{--bs-text-opacity: 1;color:#ffffff80!important}.text-body-secondary{--bs-text-opacity: 1;color:var(--bs-secondary-color)!important}.text-body-tertiary{--bs-text-opacity: 1;color:var(--bs-tertiary-color)!important}.text-body-emphasis{--bs-text-opacity: 1;color:var(--bs-emphasis-color)!important}.text-reset{--bs-text-opacity: 1;color:inherit!important}.text-opacity-25{--bs-text-opacity: .25}.text-opacity-50{--bs-text-opacity: .5}.text-opacity-75{--bs-text-opacity: .75}.text-opacity-100{--bs-text-opacity: 1}.text-primary-emphasis{color:var(--bs-primary-text-emphasis)!important}.text-secondary-emphasis{color:var(--bs-secondary-text-emphasis)!important}.text-success-emphasis{color:var(--bs-success-text-emphasis)!important}.text-info-emphasis{color:var(--bs-info-text-emphasis)!important}.text-warning-emphasis{color:var(--bs-warning-text-emphasis)!important}.text-danger-emphasis{color:var(--bs-danger-text-emphasis)!important}.text-light-emphasis{color:var(--bs-light-text-emphasis)!important}.text-dark-emphasis{color:var(--bs-dark-text-emphasis)!important}.link-opacity-10,.link-opacity-10-hover:hover{--bs-link-opacity: .1}.link-opacity-25,.link-opacity-25-hover:hover{--bs-link-opacity: .25}.link-opacity-50,.link-opacity-50-hover:hover{--bs-link-opacity: .5}.link-opacity-75,.link-opacity-75-hover:hover{--bs-link-opacity: .75}.link-opacity-100,.link-opacity-100-hover:hover{--bs-link-opacity: 1}.link-offset-1,.link-offset-1-hover:hover{text-underline-offset:.125em!important}.link-offset-2,.link-offset-2-hover:hover{text-underline-offset:.25em!important}.link-offset-3,.link-offset-3-hover:hover{text-underline-offset:.375em!important}.link-underline-primary{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-primary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-secondary{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-secondary-rgb),var(--bs-link-underline-opacity))!important}.link-underline-success{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-success-rgb),var(--bs-link-underline-opacity))!important}.link-underline-info{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-info-rgb),var(--bs-link-underline-opacity))!important}.link-underline-warning{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-warning-rgb),var(--bs-link-underline-opacity))!important}.link-underline-danger{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-danger-rgb),var(--bs-link-underline-opacity))!important}.link-underline-light{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-light-rgb),var(--bs-link-underline-opacity))!important}.link-underline-dark{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important;text-decoration-color:rgba(var(--bs-dark-rgb),var(--bs-link-underline-opacity))!important}.link-underline{--bs-link-underline-opacity: 1;-webkit-text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity, 1))!important;text-decoration-color:rgba(var(--bs-link-color-rgb),var(--bs-link-underline-opacity, 1))!important}.link-underline-opacity-0,.link-underline-opacity-0-hover:hover{--bs-link-underline-opacity: 0}.link-underline-opacity-10,.link-underline-opacity-10-hover:hover{--bs-link-underline-opacity: .1}.link-underline-opacity-25,.link-underline-opacity-25-hover:hover{--bs-link-underline-opacity: .25}.link-underline-opacity-50,.link-underline-opacity-50-hover:hover{--bs-link-underline-opacity: .5}.link-underline-opacity-75,.link-underline-opacity-75-hover:hover{--bs-link-underline-opacity: .75}.link-underline-opacity-100,.link-underline-opacity-100-hover:hover{--bs-link-underline-opacity: 1}.bg-primary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity: 1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity: 1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity: 1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity: 1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity: 1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity: 1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity: 1;background-color:transparent!important}.bg-body-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-bg-rgb),var(--bs-bg-opacity))!important}.bg-body-tertiary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-tertiary-bg-rgb),var(--bs-bg-opacity))!important}.bg-opacity-10{--bs-bg-opacity: .1}.bg-opacity-25{--bs-bg-opacity: .25}.bg-opacity-50{--bs-bg-opacity: .5}.bg-opacity-75{--bs-bg-opacity: .75}.bg-opacity-100{--bs-bg-opacity: 1}.bg-primary-subtle{background-color:var(--bs-primary-bg-subtle)!important}.bg-secondary-subtle{background-color:var(--bs-secondary-bg-subtle)!important}.bg-success-subtle{background-color:var(--bs-success-bg-subtle)!important}.bg-info-subtle{background-color:var(--bs-info-bg-subtle)!important}.bg-warning-subtle{background-color:var(--bs-warning-bg-subtle)!important}.bg-danger-subtle{background-color:var(--bs-danger-bg-subtle)!important}.bg-light-subtle{background-color:var(--bs-light-bg-subtle)!important}.bg-dark-subtle{background-color:var(--bs-dark-bg-subtle)!important}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;-moz-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;-moz-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-xxl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-0{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-top-1{border-top-left-radius:var(--bs-border-radius-sm)!important;border-top-right-radius:var(--bs-border-radius-sm)!important}.rounded-top-2{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-top-3{border-top-left-radius:var(--bs-border-radius-lg)!important;border-top-right-radius:var(--bs-border-radius-lg)!important}.rounded-top-4{border-top-left-radius:var(--bs-border-radius-xl)!important;border-top-right-radius:var(--bs-border-radius-xl)!important}.rounded-top-5{border-top-left-radius:var(--bs-border-radius-xxl)!important;border-top-right-radius:var(--bs-border-radius-xxl)!important}.rounded-top-circle{border-top-left-radius:50%!important;border-top-right-radius:50%!important}.rounded-top-pill{border-top-left-radius:var(--bs-border-radius-pill)!important;border-top-right-radius:var(--bs-border-radius-pill)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-0{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-end-1{border-top-right-radius:var(--bs-border-radius-sm)!important;border-bottom-right-radius:var(--bs-border-radius-sm)!important}.rounded-end-2{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-end-3{border-top-right-radius:var(--bs-border-radius-lg)!important;border-bottom-right-radius:var(--bs-border-radius-lg)!important}.rounded-end-4{border-top-right-radius:var(--bs-border-radius-xl)!important;border-bottom-right-radius:var(--bs-border-radius-xl)!important}.rounded-end-5{border-top-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-right-radius:var(--bs-border-radius-xxl)!important}.rounded-end-circle{border-top-right-radius:50%!important;border-bottom-right-radius:50%!important}.rounded-end-pill{border-top-right-radius:var(--bs-border-radius-pill)!important;border-bottom-right-radius:var(--bs-border-radius-pill)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-0{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.rounded-bottom-1{border-bottom-right-radius:var(--bs-border-radius-sm)!important;border-bottom-left-radius:var(--bs-border-radius-sm)!important}.rounded-bottom-2{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-bottom-3{border-bottom-right-radius:var(--bs-border-radius-lg)!important;border-bottom-left-radius:var(--bs-border-radius-lg)!important}.rounded-bottom-4{border-bottom-right-radius:var(--bs-border-radius-xl)!important;border-bottom-left-radius:var(--bs-border-radius-xl)!important}.rounded-bottom-5{border-bottom-right-radius:var(--bs-border-radius-xxl)!important;border-bottom-left-radius:var(--bs-border-radius-xxl)!important}.rounded-bottom-circle{border-bottom-right-radius:50%!important;border-bottom-left-radius:50%!important}.rounded-bottom-pill{border-bottom-right-radius:var(--bs-border-radius-pill)!important;border-bottom-left-radius:var(--bs-border-radius-pill)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-0{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.rounded-start-1{border-bottom-left-radius:var(--bs-border-radius-sm)!important;border-top-left-radius:var(--bs-border-radius-sm)!important}.rounded-start-2{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.rounded-start-3{border-bottom-left-radius:var(--bs-border-radius-lg)!important;border-top-left-radius:var(--bs-border-radius-lg)!important}.rounded-start-4{border-bottom-left-radius:var(--bs-border-radius-xl)!important;border-top-left-radius:var(--bs-border-radius-xl)!important}.rounded-start-5{border-bottom-left-radius:var(--bs-border-radius-xxl)!important;border-top-left-radius:var(--bs-border-radius-xxl)!important}.rounded-start-circle{border-bottom-left-radius:50%!important;border-top-left-radius:50%!important}.rounded-start-pill{border-bottom-left-radius:var(--bs-border-radius-pill)!important;border-top-left-radius:var(--bs-border-radius-pill)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}.z-n1{z-index:-1!important}.z-0{z-index:0!important}.z-1{z-index:1!important}.z-2{z-index:2!important}.z-3{z-index:3!important}@media (min-width: 576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.object-fit-sm-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-sm-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-sm-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-sm-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-sm-none{-o-object-fit:none!important;object-fit:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-inline-grid{display:inline-grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.row-gap-sm-0{row-gap:0!important}.row-gap-sm-1{row-gap:.25rem!important}.row-gap-sm-2{row-gap:.5rem!important}.row-gap-sm-3{row-gap:1rem!important}.row-gap-sm-4{row-gap:1.5rem!important}.row-gap-sm-5{row-gap:3rem!important}.column-gap-sm-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-sm-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-sm-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-sm-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-sm-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-sm-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width: 768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.object-fit-md-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-md-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-md-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-md-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-md-none{-o-object-fit:none!important;object-fit:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-inline-grid{display:inline-grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.row-gap-md-0{row-gap:0!important}.row-gap-md-1{row-gap:.25rem!important}.row-gap-md-2{row-gap:.5rem!important}.row-gap-md-3{row-gap:1rem!important}.row-gap-md-4{row-gap:1.5rem!important}.row-gap-md-5{row-gap:3rem!important}.column-gap-md-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-md-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-md-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-md-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-md-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-md-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width: 992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.object-fit-lg-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-lg-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-lg-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-lg-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-lg-none{-o-object-fit:none!important;object-fit:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-inline-grid{display:inline-grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.row-gap-lg-0{row-gap:0!important}.row-gap-lg-1{row-gap:.25rem!important}.row-gap-lg-2{row-gap:.5rem!important}.row-gap-lg-3{row-gap:1rem!important}.row-gap-lg-4{row-gap:1.5rem!important}.row-gap-lg-5{row-gap:3rem!important}.column-gap-lg-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-lg-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-lg-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-lg-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-lg-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-lg-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width: 1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.object-fit-xl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xl-none{-o-object-fit:none!important;object-fit:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-inline-grid{display:inline-grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.row-gap-xl-0{row-gap:0!important}.row-gap-xl-1{row-gap:.25rem!important}.row-gap-xl-2{row-gap:.5rem!important}.row-gap-xl-3{row-gap:1rem!important}.row-gap-xl-4{row-gap:1.5rem!important}.row-gap-xl-5{row-gap:3rem!important}.column-gap-xl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width: 1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.object-fit-xxl-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-fit-xxl-cover{-o-object-fit:cover!important;object-fit:cover!important}.object-fit-xxl-fill{-o-object-fit:fill!important;object-fit:fill!important}.object-fit-xxl-scale{-o-object-fit:scale-down!important;object-fit:scale-down!important}.object-fit-xxl-none{-o-object-fit:none!important;object-fit:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-inline-grid{display:inline-grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.row-gap-xxl-0{row-gap:0!important}.row-gap-xxl-1{row-gap:.25rem!important}.row-gap-xxl-2{row-gap:.5rem!important}.row-gap-xxl-3{row-gap:1rem!important}.row-gap-xxl-4{row-gap:1.5rem!important}.row-gap-xxl-5{row-gap:3rem!important}.column-gap-xxl-0{-moz-column-gap:0!important;column-gap:0!important}.column-gap-xxl-1{-moz-column-gap:.25rem!important;column-gap:.25rem!important}.column-gap-xxl-2{-moz-column-gap:.5rem!important;column-gap:.5rem!important}.column-gap-xxl-3{-moz-column-gap:1rem!important;column-gap:1rem!important}.column-gap-xxl-4{-moz-column-gap:1.5rem!important;column-gap:1.5rem!important}.column-gap-xxl-5{-moz-column-gap:3rem!important;column-gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width: 1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-inline-grid{display:inline-grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}/*! + * Bootstrap Icons v1.13.1 (https://icons.getbootstrap.com/) + * Copyright 2019-2024 The Bootstrap Authors + * Licensed under MIT (https://github.com/twbs/icons/blob/main/LICENSE) + */@font-face{font-display:block;font-family:bootstrap-icons;src:url(/static/dist/WGDashboardClient/assets/bootstrap-icons-mSm7cUeB.woff2?e34853135f9e39acf64315236852cd5a) format("woff2"),url(/static/dist/WGDashboardClient/assets/bootstrap-icons-BeopsB42.woff?e34853135f9e39acf64315236852cd5a) format("woff")}.bi:before,[class^=bi-]:before,[class*=" bi-"]:before{display:inline-block;font-family:bootstrap-icons!important;font-style:normal;font-weight:400!important;font-variant:normal;text-transform:none;line-height:1;vertical-align:-.125em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bi-123:before{content:""}.bi-alarm-fill:before{content:""}.bi-alarm:before{content:""}.bi-align-bottom:before{content:""}.bi-align-center:before{content:""}.bi-align-end:before{content:""}.bi-align-middle:before{content:""}.bi-align-start:before{content:""}.bi-align-top:before{content:""}.bi-alt:before{content:""}.bi-app-indicator:before{content:""}.bi-app:before{content:""}.bi-archive-fill:before{content:""}.bi-archive:before{content:""}.bi-arrow-90deg-down:before{content:""}.bi-arrow-90deg-left:before{content:""}.bi-arrow-90deg-right:before{content:""}.bi-arrow-90deg-up:before{content:""}.bi-arrow-bar-down:before{content:""}.bi-arrow-bar-left:before{content:""}.bi-arrow-bar-right:before{content:""}.bi-arrow-bar-up:before{content:""}.bi-arrow-clockwise:before{content:""}.bi-arrow-counterclockwise:before{content:""}.bi-arrow-down-circle-fill:before{content:""}.bi-arrow-down-circle:before{content:""}.bi-arrow-down-left-circle-fill:before{content:""}.bi-arrow-down-left-circle:before{content:""}.bi-arrow-down-left-square-fill:before{content:""}.bi-arrow-down-left-square:before{content:""}.bi-arrow-down-left:before{content:""}.bi-arrow-down-right-circle-fill:before{content:""}.bi-arrow-down-right-circle:before{content:""}.bi-arrow-down-right-square-fill:before{content:""}.bi-arrow-down-right-square:before{content:""}.bi-arrow-down-right:before{content:""}.bi-arrow-down-short:before{content:""}.bi-arrow-down-square-fill:before{content:""}.bi-arrow-down-square:before{content:""}.bi-arrow-down-up:before{content:""}.bi-arrow-down:before{content:""}.bi-arrow-left-circle-fill:before{content:""}.bi-arrow-left-circle:before{content:""}.bi-arrow-left-right:before{content:""}.bi-arrow-left-short:before{content:""}.bi-arrow-left-square-fill:before{content:""}.bi-arrow-left-square:before{content:""}.bi-arrow-left:before{content:""}.bi-arrow-repeat:before{content:""}.bi-arrow-return-left:before{content:""}.bi-arrow-return-right:before{content:""}.bi-arrow-right-circle-fill:before{content:""}.bi-arrow-right-circle:before{content:""}.bi-arrow-right-short:before{content:""}.bi-arrow-right-square-fill:before{content:""}.bi-arrow-right-square:before{content:""}.bi-arrow-right:before{content:""}.bi-arrow-up-circle-fill:before{content:""}.bi-arrow-up-circle:before{content:""}.bi-arrow-up-left-circle-fill:before{content:""}.bi-arrow-up-left-circle:before{content:""}.bi-arrow-up-left-square-fill:before{content:""}.bi-arrow-up-left-square:before{content:""}.bi-arrow-up-left:before{content:""}.bi-arrow-up-right-circle-fill:before{content:""}.bi-arrow-up-right-circle:before{content:""}.bi-arrow-up-right-square-fill:before{content:""}.bi-arrow-up-right-square:before{content:""}.bi-arrow-up-right:before{content:""}.bi-arrow-up-short:before{content:""}.bi-arrow-up-square-fill:before{content:""}.bi-arrow-up-square:before{content:""}.bi-arrow-up:before{content:""}.bi-arrows-angle-contract:before{content:""}.bi-arrows-angle-expand:before{content:""}.bi-arrows-collapse:before{content:""}.bi-arrows-expand:before{content:""}.bi-arrows-fullscreen:before{content:""}.bi-arrows-move:before{content:""}.bi-aspect-ratio-fill:before{content:""}.bi-aspect-ratio:before{content:""}.bi-asterisk:before{content:""}.bi-at:before{content:""}.bi-award-fill:before{content:""}.bi-award:before{content:""}.bi-back:before{content:""}.bi-backspace-fill:before{content:""}.bi-backspace-reverse-fill:before{content:""}.bi-backspace-reverse:before{content:""}.bi-backspace:before{content:""}.bi-badge-3d-fill:before{content:""}.bi-badge-3d:before{content:""}.bi-badge-4k-fill:before{content:""}.bi-badge-4k:before{content:""}.bi-badge-8k-fill:before{content:""}.bi-badge-8k:before{content:""}.bi-badge-ad-fill:before{content:""}.bi-badge-ad:before{content:""}.bi-badge-ar-fill:before{content:""}.bi-badge-ar:before{content:""}.bi-badge-cc-fill:before{content:""}.bi-badge-cc:before{content:""}.bi-badge-hd-fill:before{content:""}.bi-badge-hd:before{content:""}.bi-badge-tm-fill:before{content:""}.bi-badge-tm:before{content:""}.bi-badge-vo-fill:before{content:""}.bi-badge-vo:before{content:""}.bi-badge-vr-fill:before{content:""}.bi-badge-vr:before{content:""}.bi-badge-wc-fill:before{content:""}.bi-badge-wc:before{content:""}.bi-bag-check-fill:before{content:""}.bi-bag-check:before{content:""}.bi-bag-dash-fill:before{content:""}.bi-bag-dash:before{content:""}.bi-bag-fill:before{content:""}.bi-bag-plus-fill:before{content:""}.bi-bag-plus:before{content:""}.bi-bag-x-fill:before{content:""}.bi-bag-x:before{content:""}.bi-bag:before{content:""}.bi-bar-chart-fill:before{content:""}.bi-bar-chart-line-fill:before{content:""}.bi-bar-chart-line:before{content:""}.bi-bar-chart-steps:before{content:""}.bi-bar-chart:before{content:""}.bi-basket-fill:before{content:""}.bi-basket:before{content:""}.bi-basket2-fill:before{content:""}.bi-basket2:before{content:""}.bi-basket3-fill:before{content:""}.bi-basket3:before{content:""}.bi-battery-charging:before{content:""}.bi-battery-full:before{content:""}.bi-battery-half:before{content:""}.bi-battery:before{content:""}.bi-bell-fill:before{content:""}.bi-bell:before{content:""}.bi-bezier:before{content:""}.bi-bezier2:before{content:""}.bi-bicycle:before{content:""}.bi-binoculars-fill:before{content:""}.bi-binoculars:before{content:""}.bi-blockquote-left:before{content:""}.bi-blockquote-right:before{content:""}.bi-book-fill:before{content:""}.bi-book-half:before{content:""}.bi-book:before{content:""}.bi-bookmark-check-fill:before{content:""}.bi-bookmark-check:before{content:""}.bi-bookmark-dash-fill:before{content:""}.bi-bookmark-dash:before{content:""}.bi-bookmark-fill:before{content:""}.bi-bookmark-heart-fill:before{content:""}.bi-bookmark-heart:before{content:""}.bi-bookmark-plus-fill:before{content:""}.bi-bookmark-plus:before{content:""}.bi-bookmark-star-fill:before{content:""}.bi-bookmark-star:before{content:""}.bi-bookmark-x-fill:before{content:""}.bi-bookmark-x:before{content:""}.bi-bookmark:before{content:""}.bi-bookmarks-fill:before{content:""}.bi-bookmarks:before{content:""}.bi-bookshelf:before{content:""}.bi-bootstrap-fill:before{content:""}.bi-bootstrap-reboot:before{content:""}.bi-bootstrap:before{content:""}.bi-border-all:before{content:""}.bi-border-bottom:before{content:""}.bi-border-center:before{content:""}.bi-border-inner:before{content:""}.bi-border-left:before{content:""}.bi-border-middle:before{content:""}.bi-border-outer:before{content:""}.bi-border-right:before{content:""}.bi-border-style:before{content:""}.bi-border-top:before{content:""}.bi-border-width:before{content:""}.bi-border:before{content:""}.bi-bounding-box-circles:before{content:""}.bi-bounding-box:before{content:""}.bi-box-arrow-down-left:before{content:""}.bi-box-arrow-down-right:before{content:""}.bi-box-arrow-down:before{content:""}.bi-box-arrow-in-down-left:before{content:""}.bi-box-arrow-in-down-right:before{content:""}.bi-box-arrow-in-down:before{content:""}.bi-box-arrow-in-left:before{content:""}.bi-box-arrow-in-right:before{content:""}.bi-box-arrow-in-up-left:before{content:""}.bi-box-arrow-in-up-right:before{content:""}.bi-box-arrow-in-up:before{content:""}.bi-box-arrow-left:before{content:""}.bi-box-arrow-right:before{content:""}.bi-box-arrow-up-left:before{content:""}.bi-box-arrow-up-right:before{content:""}.bi-box-arrow-up:before{content:""}.bi-box-seam:before{content:""}.bi-box:before{content:""}.bi-braces:before{content:""}.bi-bricks:before{content:""}.bi-briefcase-fill:before{content:""}.bi-briefcase:before{content:""}.bi-brightness-alt-high-fill:before{content:""}.bi-brightness-alt-high:before{content:""}.bi-brightness-alt-low-fill:before{content:""}.bi-brightness-alt-low:before{content:""}.bi-brightness-high-fill:before{content:""}.bi-brightness-high:before{content:""}.bi-brightness-low-fill:before{content:""}.bi-brightness-low:before{content:""}.bi-broadcast-pin:before{content:""}.bi-broadcast:before{content:""}.bi-brush-fill:before{content:""}.bi-brush:before{content:""}.bi-bucket-fill:before{content:""}.bi-bucket:before{content:""}.bi-bug-fill:before{content:""}.bi-bug:before{content:""}.bi-building:before{content:""}.bi-bullseye:before{content:""}.bi-calculator-fill:before{content:""}.bi-calculator:before{content:""}.bi-calendar-check-fill:before{content:""}.bi-calendar-check:before{content:""}.bi-calendar-date-fill:before{content:""}.bi-calendar-date:before{content:""}.bi-calendar-day-fill:before{content:""}.bi-calendar-day:before{content:""}.bi-calendar-event-fill:before{content:""}.bi-calendar-event:before{content:""}.bi-calendar-fill:before{content:""}.bi-calendar-minus-fill:before{content:""}.bi-calendar-minus:before{content:""}.bi-calendar-month-fill:before{content:""}.bi-calendar-month:before{content:""}.bi-calendar-plus-fill:before{content:""}.bi-calendar-plus:before{content:""}.bi-calendar-range-fill:before{content:""}.bi-calendar-range:before{content:""}.bi-calendar-week-fill:before{content:""}.bi-calendar-week:before{content:""}.bi-calendar-x-fill:before{content:""}.bi-calendar-x:before{content:""}.bi-calendar:before{content:""}.bi-calendar2-check-fill:before{content:""}.bi-calendar2-check:before{content:""}.bi-calendar2-date-fill:before{content:""}.bi-calendar2-date:before{content:""}.bi-calendar2-day-fill:before{content:""}.bi-calendar2-day:before{content:""}.bi-calendar2-event-fill:before{content:""}.bi-calendar2-event:before{content:""}.bi-calendar2-fill:before{content:""}.bi-calendar2-minus-fill:before{content:""}.bi-calendar2-minus:before{content:""}.bi-calendar2-month-fill:before{content:""}.bi-calendar2-month:before{content:""}.bi-calendar2-plus-fill:before{content:""}.bi-calendar2-plus:before{content:""}.bi-calendar2-range-fill:before{content:""}.bi-calendar2-range:before{content:""}.bi-calendar2-week-fill:before{content:""}.bi-calendar2-week:before{content:""}.bi-calendar2-x-fill:before{content:""}.bi-calendar2-x:before{content:""}.bi-calendar2:before{content:""}.bi-calendar3-event-fill:before{content:""}.bi-calendar3-event:before{content:""}.bi-calendar3-fill:before{content:""}.bi-calendar3-range-fill:before{content:""}.bi-calendar3-range:before{content:""}.bi-calendar3-week-fill:before{content:""}.bi-calendar3-week:before{content:""}.bi-calendar3:before{content:""}.bi-calendar4-event:before{content:""}.bi-calendar4-range:before{content:""}.bi-calendar4-week:before{content:""}.bi-calendar4:before{content:""}.bi-camera-fill:before{content:""}.bi-camera-reels-fill:before{content:""}.bi-camera-reels:before{content:""}.bi-camera-video-fill:before{content:""}.bi-camera-video-off-fill:before{content:""}.bi-camera-video-off:before{content:""}.bi-camera-video:before{content:""}.bi-camera:before{content:""}.bi-camera2:before{content:""}.bi-capslock-fill:before{content:""}.bi-capslock:before{content:""}.bi-card-checklist:before{content:""}.bi-card-heading:before{content:""}.bi-card-image:before{content:""}.bi-card-list:before{content:""}.bi-card-text:before{content:""}.bi-caret-down-fill:before{content:""}.bi-caret-down-square-fill:before{content:""}.bi-caret-down-square:before{content:""}.bi-caret-down:before{content:""}.bi-caret-left-fill:before{content:""}.bi-caret-left-square-fill:before{content:""}.bi-caret-left-square:before{content:""}.bi-caret-left:before{content:""}.bi-caret-right-fill:before{content:""}.bi-caret-right-square-fill:before{content:""}.bi-caret-right-square:before{content:""}.bi-caret-right:before{content:""}.bi-caret-up-fill:before{content:""}.bi-caret-up-square-fill:before{content:""}.bi-caret-up-square:before{content:""}.bi-caret-up:before{content:""}.bi-cart-check-fill:before{content:""}.bi-cart-check:before{content:""}.bi-cart-dash-fill:before{content:""}.bi-cart-dash:before{content:""}.bi-cart-fill:before{content:""}.bi-cart-plus-fill:before{content:""}.bi-cart-plus:before{content:""}.bi-cart-x-fill:before{content:""}.bi-cart-x:before{content:""}.bi-cart:before{content:""}.bi-cart2:before{content:""}.bi-cart3:before{content:""}.bi-cart4:before{content:""}.bi-cash-stack:before{content:""}.bi-cash:before{content:""}.bi-cast:before{content:""}.bi-chat-dots-fill:before{content:""}.bi-chat-dots:before{content:""}.bi-chat-fill:before{content:""}.bi-chat-left-dots-fill:before{content:""}.bi-chat-left-dots:before{content:""}.bi-chat-left-fill:before{content:""}.bi-chat-left-quote-fill:before{content:""}.bi-chat-left-quote:before{content:""}.bi-chat-left-text-fill:before{content:""}.bi-chat-left-text:before{content:""}.bi-chat-left:before{content:""}.bi-chat-quote-fill:before{content:""}.bi-chat-quote:before{content:""}.bi-chat-right-dots-fill:before{content:""}.bi-chat-right-dots:before{content:""}.bi-chat-right-fill:before{content:""}.bi-chat-right-quote-fill:before{content:""}.bi-chat-right-quote:before{content:""}.bi-chat-right-text-fill:before{content:""}.bi-chat-right-text:before{content:""}.bi-chat-right:before{content:""}.bi-chat-square-dots-fill:before{content:""}.bi-chat-square-dots:before{content:""}.bi-chat-square-fill:before{content:""}.bi-chat-square-quote-fill:before{content:""}.bi-chat-square-quote:before{content:""}.bi-chat-square-text-fill:before{content:""}.bi-chat-square-text:before{content:""}.bi-chat-square:before{content:""}.bi-chat-text-fill:before{content:""}.bi-chat-text:before{content:""}.bi-chat:before{content:""}.bi-check-all:before{content:""}.bi-check-circle-fill:before{content:""}.bi-check-circle:before{content:""}.bi-check-square-fill:before{content:""}.bi-check-square:before{content:""}.bi-check:before{content:""}.bi-check2-all:before{content:""}.bi-check2-circle:before{content:""}.bi-check2-square:before{content:""}.bi-check2:before{content:""}.bi-chevron-bar-contract:before{content:""}.bi-chevron-bar-down:before{content:""}.bi-chevron-bar-expand:before{content:""}.bi-chevron-bar-left:before{content:""}.bi-chevron-bar-right:before{content:""}.bi-chevron-bar-up:before{content:""}.bi-chevron-compact-down:before{content:""}.bi-chevron-compact-left:before{content:""}.bi-chevron-compact-right:before{content:""}.bi-chevron-compact-up:before{content:""}.bi-chevron-contract:before{content:""}.bi-chevron-double-down:before{content:""}.bi-chevron-double-left:before{content:""}.bi-chevron-double-right:before{content:""}.bi-chevron-double-up:before{content:""}.bi-chevron-down:before{content:""}.bi-chevron-expand:before{content:""}.bi-chevron-left:before{content:""}.bi-chevron-right:before{content:""}.bi-chevron-up:before{content:""}.bi-circle-fill:before{content:""}.bi-circle-half:before{content:""}.bi-circle-square:before{content:""}.bi-circle:before{content:""}.bi-clipboard-check:before{content:""}.bi-clipboard-data:before{content:""}.bi-clipboard-minus:before{content:""}.bi-clipboard-plus:before{content:""}.bi-clipboard-x:before{content:""}.bi-clipboard:before{content:""}.bi-clock-fill:before{content:""}.bi-clock-history:before{content:""}.bi-clock:before{content:""}.bi-cloud-arrow-down-fill:before{content:""}.bi-cloud-arrow-down:before{content:""}.bi-cloud-arrow-up-fill:before{content:""}.bi-cloud-arrow-up:before{content:""}.bi-cloud-check-fill:before{content:""}.bi-cloud-check:before{content:""}.bi-cloud-download-fill:before{content:""}.bi-cloud-download:before{content:""}.bi-cloud-drizzle-fill:before{content:""}.bi-cloud-drizzle:before{content:""}.bi-cloud-fill:before{content:""}.bi-cloud-fog-fill:before{content:""}.bi-cloud-fog:before{content:""}.bi-cloud-fog2-fill:before{content:""}.bi-cloud-fog2:before{content:""}.bi-cloud-hail-fill:before{content:""}.bi-cloud-hail:before{content:""}.bi-cloud-haze-fill:before{content:""}.bi-cloud-haze:before{content:""}.bi-cloud-haze2-fill:before{content:""}.bi-cloud-lightning-fill:before{content:""}.bi-cloud-lightning-rain-fill:before{content:""}.bi-cloud-lightning-rain:before{content:""}.bi-cloud-lightning:before{content:""}.bi-cloud-minus-fill:before{content:""}.bi-cloud-minus:before{content:""}.bi-cloud-moon-fill:before{content:""}.bi-cloud-moon:before{content:""}.bi-cloud-plus-fill:before{content:""}.bi-cloud-plus:before{content:""}.bi-cloud-rain-fill:before{content:""}.bi-cloud-rain-heavy-fill:before{content:""}.bi-cloud-rain-heavy:before{content:""}.bi-cloud-rain:before{content:""}.bi-cloud-slash-fill:before{content:""}.bi-cloud-slash:before{content:""}.bi-cloud-sleet-fill:before{content:""}.bi-cloud-sleet:before{content:""}.bi-cloud-snow-fill:before{content:""}.bi-cloud-snow:before{content:""}.bi-cloud-sun-fill:before{content:""}.bi-cloud-sun:before{content:""}.bi-cloud-upload-fill:before{content:""}.bi-cloud-upload:before{content:""}.bi-cloud:before{content:""}.bi-clouds-fill:before{content:""}.bi-clouds:before{content:""}.bi-cloudy-fill:before{content:""}.bi-cloudy:before{content:""}.bi-code-slash:before{content:""}.bi-code-square:before{content:""}.bi-code:before{content:""}.bi-collection-fill:before{content:""}.bi-collection-play-fill:before{content:""}.bi-collection-play:before{content:""}.bi-collection:before{content:""}.bi-columns-gap:before{content:""}.bi-columns:before{content:""}.bi-command:before{content:""}.bi-compass-fill:before{content:""}.bi-compass:before{content:""}.bi-cone-striped:before{content:""}.bi-cone:before{content:""}.bi-controller:before{content:""}.bi-cpu-fill:before{content:""}.bi-cpu:before{content:""}.bi-credit-card-2-back-fill:before{content:""}.bi-credit-card-2-back:before{content:""}.bi-credit-card-2-front-fill:before{content:""}.bi-credit-card-2-front:before{content:""}.bi-credit-card-fill:before{content:""}.bi-credit-card:before{content:""}.bi-crop:before{content:""}.bi-cup-fill:before{content:""}.bi-cup-straw:before{content:""}.bi-cup:before{content:""}.bi-cursor-fill:before{content:""}.bi-cursor-text:before{content:""}.bi-cursor:before{content:""}.bi-dash-circle-dotted:before{content:""}.bi-dash-circle-fill:before{content:""}.bi-dash-circle:before{content:""}.bi-dash-square-dotted:before{content:""}.bi-dash-square-fill:before{content:""}.bi-dash-square:before{content:""}.bi-dash:before{content:""}.bi-diagram-2-fill:before{content:""}.bi-diagram-2:before{content:""}.bi-diagram-3-fill:before{content:""}.bi-diagram-3:before{content:""}.bi-diamond-fill:before{content:""}.bi-diamond-half:before{content:""}.bi-diamond:before{content:""}.bi-dice-1-fill:before{content:""}.bi-dice-1:before{content:""}.bi-dice-2-fill:before{content:""}.bi-dice-2:before{content:""}.bi-dice-3-fill:before{content:""}.bi-dice-3:before{content:""}.bi-dice-4-fill:before{content:""}.bi-dice-4:before{content:""}.bi-dice-5-fill:before{content:""}.bi-dice-5:before{content:""}.bi-dice-6-fill:before{content:""}.bi-dice-6:before{content:""}.bi-disc-fill:before{content:""}.bi-disc:before{content:""}.bi-discord:before{content:""}.bi-display-fill:before{content:""}.bi-display:before{content:""}.bi-distribute-horizontal:before{content:""}.bi-distribute-vertical:before{content:""}.bi-door-closed-fill:before{content:""}.bi-door-closed:before{content:""}.bi-door-open-fill:before{content:""}.bi-door-open:before{content:""}.bi-dot:before{content:""}.bi-download:before{content:""}.bi-droplet-fill:before{content:""}.bi-droplet-half:before{content:""}.bi-droplet:before{content:""}.bi-earbuds:before{content:""}.bi-easel-fill:before{content:""}.bi-easel:before{content:""}.bi-egg-fill:before{content:""}.bi-egg-fried:before{content:""}.bi-egg:before{content:""}.bi-eject-fill:before{content:""}.bi-eject:before{content:""}.bi-emoji-angry-fill:before{content:""}.bi-emoji-angry:before{content:""}.bi-emoji-dizzy-fill:before{content:""}.bi-emoji-dizzy:before{content:""}.bi-emoji-expressionless-fill:before{content:""}.bi-emoji-expressionless:before{content:""}.bi-emoji-frown-fill:before{content:""}.bi-emoji-frown:before{content:""}.bi-emoji-heart-eyes-fill:before{content:""}.bi-emoji-heart-eyes:before{content:""}.bi-emoji-laughing-fill:before{content:""}.bi-emoji-laughing:before{content:""}.bi-emoji-neutral-fill:before{content:""}.bi-emoji-neutral:before{content:""}.bi-emoji-smile-fill:before{content:""}.bi-emoji-smile-upside-down-fill:before{content:""}.bi-emoji-smile-upside-down:before{content:""}.bi-emoji-smile:before{content:""}.bi-emoji-sunglasses-fill:before{content:""}.bi-emoji-sunglasses:before{content:""}.bi-emoji-wink-fill:before{content:""}.bi-emoji-wink:before{content:""}.bi-envelope-fill:before{content:""}.bi-envelope-open-fill:before{content:""}.bi-envelope-open:before{content:""}.bi-envelope:before{content:""}.bi-eraser-fill:before{content:""}.bi-eraser:before{content:""}.bi-exclamation-circle-fill:before{content:""}.bi-exclamation-circle:before{content:""}.bi-exclamation-diamond-fill:before{content:""}.bi-exclamation-diamond:before{content:""}.bi-exclamation-octagon-fill:before{content:""}.bi-exclamation-octagon:before{content:""}.bi-exclamation-square-fill:before{content:""}.bi-exclamation-square:before{content:""}.bi-exclamation-triangle-fill:before{content:""}.bi-exclamation-triangle:before{content:""}.bi-exclamation:before{content:""}.bi-exclude:before{content:""}.bi-eye-fill:before{content:""}.bi-eye-slash-fill:before{content:""}.bi-eye-slash:before{content:""}.bi-eye:before{content:""}.bi-eyedropper:before{content:""}.bi-eyeglasses:before{content:""}.bi-facebook:before{content:""}.bi-file-arrow-down-fill:before{content:""}.bi-file-arrow-down:before{content:""}.bi-file-arrow-up-fill:before{content:""}.bi-file-arrow-up:before{content:""}.bi-file-bar-graph-fill:before{content:""}.bi-file-bar-graph:before{content:""}.bi-file-binary-fill:before{content:""}.bi-file-binary:before{content:""}.bi-file-break-fill:before{content:""}.bi-file-break:before{content:""}.bi-file-check-fill:before{content:""}.bi-file-check:before{content:""}.bi-file-code-fill:before{content:""}.bi-file-code:before{content:""}.bi-file-diff-fill:before{content:""}.bi-file-diff:before{content:""}.bi-file-earmark-arrow-down-fill:before{content:""}.bi-file-earmark-arrow-down:before{content:""}.bi-file-earmark-arrow-up-fill:before{content:""}.bi-file-earmark-arrow-up:before{content:""}.bi-file-earmark-bar-graph-fill:before{content:""}.bi-file-earmark-bar-graph:before{content:""}.bi-file-earmark-binary-fill:before{content:""}.bi-file-earmark-binary:before{content:""}.bi-file-earmark-break-fill:before{content:""}.bi-file-earmark-break:before{content:""}.bi-file-earmark-check-fill:before{content:""}.bi-file-earmark-check:before{content:""}.bi-file-earmark-code-fill:before{content:""}.bi-file-earmark-code:before{content:""}.bi-file-earmark-diff-fill:before{content:""}.bi-file-earmark-diff:before{content:""}.bi-file-earmark-easel-fill:before{content:""}.bi-file-earmark-easel:before{content:""}.bi-file-earmark-excel-fill:before{content:""}.bi-file-earmark-excel:before{content:""}.bi-file-earmark-fill:before{content:""}.bi-file-earmark-font-fill:before{content:""}.bi-file-earmark-font:before{content:""}.bi-file-earmark-image-fill:before{content:""}.bi-file-earmark-image:before{content:""}.bi-file-earmark-lock-fill:before{content:""}.bi-file-earmark-lock:before{content:""}.bi-file-earmark-lock2-fill:before{content:""}.bi-file-earmark-lock2:before{content:""}.bi-file-earmark-medical-fill:before{content:""}.bi-file-earmark-medical:before{content:""}.bi-file-earmark-minus-fill:before{content:""}.bi-file-earmark-minus:before{content:""}.bi-file-earmark-music-fill:before{content:""}.bi-file-earmark-music:before{content:""}.bi-file-earmark-person-fill:before{content:""}.bi-file-earmark-person:before{content:""}.bi-file-earmark-play-fill:before{content:""}.bi-file-earmark-play:before{content:""}.bi-file-earmark-plus-fill:before{content:""}.bi-file-earmark-plus:before{content:""}.bi-file-earmark-post-fill:before{content:""}.bi-file-earmark-post:before{content:""}.bi-file-earmark-ppt-fill:before{content:""}.bi-file-earmark-ppt:before{content:""}.bi-file-earmark-richtext-fill:before{content:""}.bi-file-earmark-richtext:before{content:""}.bi-file-earmark-ruled-fill:before{content:""}.bi-file-earmark-ruled:before{content:""}.bi-file-earmark-slides-fill:before{content:""}.bi-file-earmark-slides:before{content:""}.bi-file-earmark-spreadsheet-fill:before{content:""}.bi-file-earmark-spreadsheet:before{content:""}.bi-file-earmark-text-fill:before{content:""}.bi-file-earmark-text:before{content:""}.bi-file-earmark-word-fill:before{content:""}.bi-file-earmark-word:before{content:""}.bi-file-earmark-x-fill:before{content:""}.bi-file-earmark-x:before{content:""}.bi-file-earmark-zip-fill:before{content:""}.bi-file-earmark-zip:before{content:""}.bi-file-earmark:before{content:""}.bi-file-easel-fill:before{content:""}.bi-file-easel:before{content:""}.bi-file-excel-fill:before{content:""}.bi-file-excel:before{content:""}.bi-file-fill:before{content:""}.bi-file-font-fill:before{content:""}.bi-file-font:before{content:""}.bi-file-image-fill:before{content:""}.bi-file-image:before{content:""}.bi-file-lock-fill:before{content:""}.bi-file-lock:before{content:""}.bi-file-lock2-fill:before{content:""}.bi-file-lock2:before{content:""}.bi-file-medical-fill:before{content:""}.bi-file-medical:before{content:""}.bi-file-minus-fill:before{content:""}.bi-file-minus:before{content:""}.bi-file-music-fill:before{content:""}.bi-file-music:before{content:""}.bi-file-person-fill:before{content:""}.bi-file-person:before{content:""}.bi-file-play-fill:before{content:""}.bi-file-play:before{content:""}.bi-file-plus-fill:before{content:""}.bi-file-plus:before{content:""}.bi-file-post-fill:before{content:""}.bi-file-post:before{content:""}.bi-file-ppt-fill:before{content:""}.bi-file-ppt:before{content:""}.bi-file-richtext-fill:before{content:""}.bi-file-richtext:before{content:""}.bi-file-ruled-fill:before{content:""}.bi-file-ruled:before{content:""}.bi-file-slides-fill:before{content:""}.bi-file-slides:before{content:""}.bi-file-spreadsheet-fill:before{content:""}.bi-file-spreadsheet:before{content:""}.bi-file-text-fill:before{content:""}.bi-file-text:before{content:""}.bi-file-word-fill:before{content:""}.bi-file-word:before{content:""}.bi-file-x-fill:before{content:""}.bi-file-x:before{content:""}.bi-file-zip-fill:before{content:""}.bi-file-zip:before{content:""}.bi-file:before{content:""}.bi-files-alt:before{content:""}.bi-files:before{content:""}.bi-film:before{content:""}.bi-filter-circle-fill:before{content:""}.bi-filter-circle:before{content:""}.bi-filter-left:before{content:""}.bi-filter-right:before{content:""}.bi-filter-square-fill:before{content:""}.bi-filter-square:before{content:""}.bi-filter:before{content:""}.bi-flag-fill:before{content:""}.bi-flag:before{content:""}.bi-flower1:before{content:""}.bi-flower2:before{content:""}.bi-flower3:before{content:""}.bi-folder-check:before{content:""}.bi-folder-fill:before{content:""}.bi-folder-minus:before{content:""}.bi-folder-plus:before{content:""}.bi-folder-symlink-fill:before{content:""}.bi-folder-symlink:before{content:""}.bi-folder-x:before{content:""}.bi-folder:before{content:""}.bi-folder2-open:before{content:""}.bi-folder2:before{content:""}.bi-fonts:before{content:""}.bi-forward-fill:before{content:""}.bi-forward:before{content:""}.bi-front:before{content:""}.bi-fullscreen-exit:before{content:""}.bi-fullscreen:before{content:""}.bi-funnel-fill:before{content:""}.bi-funnel:before{content:""}.bi-gear-fill:before{content:""}.bi-gear-wide-connected:before{content:""}.bi-gear-wide:before{content:""}.bi-gear:before{content:""}.bi-gem:before{content:""}.bi-geo-alt-fill:before{content:""}.bi-geo-alt:before{content:""}.bi-geo-fill:before{content:""}.bi-geo:before{content:""}.bi-gift-fill:before{content:""}.bi-gift:before{content:""}.bi-github:before{content:""}.bi-globe:before{content:""}.bi-globe2:before{content:""}.bi-google:before{content:""}.bi-graph-down:before{content:""}.bi-graph-up:before{content:""}.bi-grid-1x2-fill:before{content:""}.bi-grid-1x2:before{content:""}.bi-grid-3x2-gap-fill:before{content:""}.bi-grid-3x2-gap:before{content:""}.bi-grid-3x2:before{content:""}.bi-grid-3x3-gap-fill:before{content:""}.bi-grid-3x3-gap:before{content:""}.bi-grid-3x3:before{content:""}.bi-grid-fill:before{content:""}.bi-grid:before{content:""}.bi-grip-horizontal:before{content:""}.bi-grip-vertical:before{content:""}.bi-hammer:before{content:""}.bi-hand-index-fill:before{content:""}.bi-hand-index-thumb-fill:before{content:""}.bi-hand-index-thumb:before{content:""}.bi-hand-index:before{content:""}.bi-hand-thumbs-down-fill:before{content:""}.bi-hand-thumbs-down:before{content:""}.bi-hand-thumbs-up-fill:before{content:""}.bi-hand-thumbs-up:before{content:""}.bi-handbag-fill:before{content:""}.bi-handbag:before{content:""}.bi-hash:before{content:""}.bi-hdd-fill:before{content:""}.bi-hdd-network-fill:before{content:""}.bi-hdd-network:before{content:""}.bi-hdd-rack-fill:before{content:""}.bi-hdd-rack:before{content:""}.bi-hdd-stack-fill:before{content:""}.bi-hdd-stack:before{content:""}.bi-hdd:before{content:""}.bi-headphones:before{content:""}.bi-headset:before{content:""}.bi-heart-fill:before{content:""}.bi-heart-half:before{content:""}.bi-heart:before{content:""}.bi-heptagon-fill:before{content:""}.bi-heptagon-half:before{content:""}.bi-heptagon:before{content:""}.bi-hexagon-fill:before{content:""}.bi-hexagon-half:before{content:""}.bi-hexagon:before{content:""}.bi-hourglass-bottom:before{content:""}.bi-hourglass-split:before{content:""}.bi-hourglass-top:before{content:""}.bi-hourglass:before{content:""}.bi-house-door-fill:before{content:""}.bi-house-door:before{content:""}.bi-house-fill:before{content:""}.bi-house:before{content:""}.bi-hr:before{content:""}.bi-hurricane:before{content:""}.bi-image-alt:before{content:""}.bi-image-fill:before{content:""}.bi-image:before{content:""}.bi-images:before{content:""}.bi-inbox-fill:before{content:""}.bi-inbox:before{content:""}.bi-inboxes-fill:before{content:""}.bi-inboxes:before{content:""}.bi-info-circle-fill:before{content:""}.bi-info-circle:before{content:""}.bi-info-square-fill:before{content:""}.bi-info-square:before{content:""}.bi-info:before{content:""}.bi-input-cursor-text:before{content:""}.bi-input-cursor:before{content:""}.bi-instagram:before{content:""}.bi-intersect:before{content:""}.bi-journal-album:before{content:""}.bi-journal-arrow-down:before{content:""}.bi-journal-arrow-up:before{content:""}.bi-journal-bookmark-fill:before{content:""}.bi-journal-bookmark:before{content:""}.bi-journal-check:before{content:""}.bi-journal-code:before{content:""}.bi-journal-medical:before{content:""}.bi-journal-minus:before{content:""}.bi-journal-plus:before{content:""}.bi-journal-richtext:before{content:""}.bi-journal-text:before{content:""}.bi-journal-x:before{content:""}.bi-journal:before{content:""}.bi-journals:before{content:""}.bi-joystick:before{content:""}.bi-justify-left:before{content:""}.bi-justify-right:before{content:""}.bi-justify:before{content:""}.bi-kanban-fill:before{content:""}.bi-kanban:before{content:""}.bi-key-fill:before{content:""}.bi-key:before{content:""}.bi-keyboard-fill:before{content:""}.bi-keyboard:before{content:""}.bi-ladder:before{content:""}.bi-lamp-fill:before{content:""}.bi-lamp:before{content:""}.bi-laptop-fill:before{content:""}.bi-laptop:before{content:""}.bi-layer-backward:before{content:""}.bi-layer-forward:before{content:""}.bi-layers-fill:before{content:""}.bi-layers-half:before{content:""}.bi-layers:before{content:""}.bi-layout-sidebar-inset-reverse:before{content:""}.bi-layout-sidebar-inset:before{content:""}.bi-layout-sidebar-reverse:before{content:""}.bi-layout-sidebar:before{content:""}.bi-layout-split:before{content:""}.bi-layout-text-sidebar-reverse:before{content:""}.bi-layout-text-sidebar:before{content:""}.bi-layout-text-window-reverse:before{content:""}.bi-layout-text-window:before{content:""}.bi-layout-three-columns:before{content:""}.bi-layout-wtf:before{content:""}.bi-life-preserver:before{content:""}.bi-lightbulb-fill:before{content:""}.bi-lightbulb-off-fill:before{content:""}.bi-lightbulb-off:before{content:""}.bi-lightbulb:before{content:""}.bi-lightning-charge-fill:before{content:""}.bi-lightning-charge:before{content:""}.bi-lightning-fill:before{content:""}.bi-lightning:before{content:""}.bi-link-45deg:before{content:""}.bi-link:before{content:""}.bi-linkedin:before{content:""}.bi-list-check:before{content:""}.bi-list-nested:before{content:""}.bi-list-ol:before{content:""}.bi-list-stars:before{content:""}.bi-list-task:before{content:""}.bi-list-ul:before{content:""}.bi-list:before{content:""}.bi-lock-fill:before{content:""}.bi-lock:before{content:""}.bi-mailbox:before{content:""}.bi-mailbox2:before{content:""}.bi-map-fill:before{content:""}.bi-map:before{content:""}.bi-markdown-fill:before{content:""}.bi-markdown:before{content:""}.bi-mask:before{content:""}.bi-megaphone-fill:before{content:""}.bi-megaphone:before{content:""}.bi-menu-app-fill:before{content:""}.bi-menu-app:before{content:""}.bi-menu-button-fill:before{content:""}.bi-menu-button-wide-fill:before{content:""}.bi-menu-button-wide:before{content:""}.bi-menu-button:before{content:""}.bi-menu-down:before{content:""}.bi-menu-up:before{content:""}.bi-mic-fill:before{content:""}.bi-mic-mute-fill:before{content:""}.bi-mic-mute:before{content:""}.bi-mic:before{content:""}.bi-minecart-loaded:before{content:""}.bi-minecart:before{content:""}.bi-moisture:before{content:""}.bi-moon-fill:before{content:""}.bi-moon-stars-fill:before{content:""}.bi-moon-stars:before{content:""}.bi-moon:before{content:""}.bi-mouse-fill:before{content:""}.bi-mouse:before{content:""}.bi-mouse2-fill:before{content:""}.bi-mouse2:before{content:""}.bi-mouse3-fill:before{content:""}.bi-mouse3:before{content:""}.bi-music-note-beamed:before{content:""}.bi-music-note-list:before{content:""}.bi-music-note:before{content:""}.bi-music-player-fill:before{content:""}.bi-music-player:before{content:""}.bi-newspaper:before{content:""}.bi-node-minus-fill:before{content:""}.bi-node-minus:before{content:""}.bi-node-plus-fill:before{content:""}.bi-node-plus:before{content:""}.bi-nut-fill:before{content:""}.bi-nut:before{content:""}.bi-octagon-fill:before{content:""}.bi-octagon-half:before{content:""}.bi-octagon:before{content:""}.bi-option:before{content:""}.bi-outlet:before{content:""}.bi-paint-bucket:before{content:""}.bi-palette-fill:before{content:""}.bi-palette:before{content:""}.bi-palette2:before{content:""}.bi-paperclip:before{content:""}.bi-paragraph:before{content:""}.bi-patch-check-fill:before{content:""}.bi-patch-check:before{content:""}.bi-patch-exclamation-fill:before{content:""}.bi-patch-exclamation:before{content:""}.bi-patch-minus-fill:before{content:""}.bi-patch-minus:before{content:""}.bi-patch-plus-fill:before{content:""}.bi-patch-plus:before{content:""}.bi-patch-question-fill:before{content:""}.bi-patch-question:before{content:""}.bi-pause-btn-fill:before{content:""}.bi-pause-btn:before{content:""}.bi-pause-circle-fill:before{content:""}.bi-pause-circle:before{content:""}.bi-pause-fill:before{content:""}.bi-pause:before{content:""}.bi-peace-fill:before{content:""}.bi-peace:before{content:""}.bi-pen-fill:before{content:""}.bi-pen:before{content:""}.bi-pencil-fill:before{content:""}.bi-pencil-square:before{content:""}.bi-pencil:before{content:""}.bi-pentagon-fill:before{content:""}.bi-pentagon-half:before{content:""}.bi-pentagon:before{content:""}.bi-people-fill:before{content:""}.bi-people:before{content:""}.bi-percent:before{content:""}.bi-person-badge-fill:before{content:""}.bi-person-badge:before{content:""}.bi-person-bounding-box:before{content:""}.bi-person-check-fill:before{content:""}.bi-person-check:before{content:""}.bi-person-circle:before{content:""}.bi-person-dash-fill:before{content:""}.bi-person-dash:before{content:""}.bi-person-fill:before{content:""}.bi-person-lines-fill:before{content:""}.bi-person-plus-fill:before{content:""}.bi-person-plus:before{content:""}.bi-person-square:before{content:""}.bi-person-x-fill:before{content:""}.bi-person-x:before{content:""}.bi-person:before{content:""}.bi-phone-fill:before{content:""}.bi-phone-landscape-fill:before{content:""}.bi-phone-landscape:before{content:""}.bi-phone-vibrate-fill:before{content:""}.bi-phone-vibrate:before{content:""}.bi-phone:before{content:""}.bi-pie-chart-fill:before{content:""}.bi-pie-chart:before{content:""}.bi-pin-angle-fill:before{content:""}.bi-pin-angle:before{content:""}.bi-pin-fill:before{content:""}.bi-pin:before{content:""}.bi-pip-fill:before{content:""}.bi-pip:before{content:""}.bi-play-btn-fill:before{content:""}.bi-play-btn:before{content:""}.bi-play-circle-fill:before{content:""}.bi-play-circle:before{content:""}.bi-play-fill:before{content:""}.bi-play:before{content:""}.bi-plug-fill:before{content:""}.bi-plug:before{content:""}.bi-plus-circle-dotted:before{content:""}.bi-plus-circle-fill:before{content:""}.bi-plus-circle:before{content:""}.bi-plus-square-dotted:before{content:""}.bi-plus-square-fill:before{content:""}.bi-plus-square:before{content:""}.bi-plus:before{content:""}.bi-power:before{content:""}.bi-printer-fill:before{content:""}.bi-printer:before{content:""}.bi-puzzle-fill:before{content:""}.bi-puzzle:before{content:""}.bi-question-circle-fill:before{content:""}.bi-question-circle:before{content:""}.bi-question-diamond-fill:before{content:""}.bi-question-diamond:before{content:""}.bi-question-octagon-fill:before{content:""}.bi-question-octagon:before{content:""}.bi-question-square-fill:before{content:""}.bi-question-square:before{content:""}.bi-question:before{content:""}.bi-rainbow:before{content:""}.bi-receipt-cutoff:before{content:""}.bi-receipt:before{content:""}.bi-reception-0:before{content:""}.bi-reception-1:before{content:""}.bi-reception-2:before{content:""}.bi-reception-3:before{content:""}.bi-reception-4:before{content:""}.bi-record-btn-fill:before{content:""}.bi-record-btn:before{content:""}.bi-record-circle-fill:before{content:""}.bi-record-circle:before{content:""}.bi-record-fill:before{content:""}.bi-record:before{content:""}.bi-record2-fill:before{content:""}.bi-record2:before{content:""}.bi-reply-all-fill:before{content:""}.bi-reply-all:before{content:""}.bi-reply-fill:before{content:""}.bi-reply:before{content:""}.bi-rss-fill:before{content:""}.bi-rss:before{content:""}.bi-rulers:before{content:""}.bi-save-fill:before{content:""}.bi-save:before{content:""}.bi-save2-fill:before{content:""}.bi-save2:before{content:""}.bi-scissors:before{content:""}.bi-screwdriver:before{content:""}.bi-search:before{content:""}.bi-segmented-nav:before{content:""}.bi-server:before{content:""}.bi-share-fill:before{content:""}.bi-share:before{content:""}.bi-shield-check:before{content:""}.bi-shield-exclamation:before{content:""}.bi-shield-fill-check:before{content:""}.bi-shield-fill-exclamation:before{content:""}.bi-shield-fill-minus:before{content:""}.bi-shield-fill-plus:before{content:""}.bi-shield-fill-x:before{content:""}.bi-shield-fill:before{content:""}.bi-shield-lock-fill:before{content:""}.bi-shield-lock:before{content:""}.bi-shield-minus:before{content:""}.bi-shield-plus:before{content:""}.bi-shield-shaded:before{content:""}.bi-shield-slash-fill:before{content:""}.bi-shield-slash:before{content:""}.bi-shield-x:before{content:""}.bi-shield:before{content:""}.bi-shift-fill:before{content:""}.bi-shift:before{content:""}.bi-shop-window:before{content:""}.bi-shop:before{content:""}.bi-shuffle:before{content:""}.bi-signpost-2-fill:before{content:""}.bi-signpost-2:before{content:""}.bi-signpost-fill:before{content:""}.bi-signpost-split-fill:before{content:""}.bi-signpost-split:before{content:""}.bi-signpost:before{content:""}.bi-sim-fill:before{content:""}.bi-sim:before{content:""}.bi-skip-backward-btn-fill:before{content:""}.bi-skip-backward-btn:before{content:""}.bi-skip-backward-circle-fill:before{content:""}.bi-skip-backward-circle:before{content:""}.bi-skip-backward-fill:before{content:""}.bi-skip-backward:before{content:""}.bi-skip-end-btn-fill:before{content:""}.bi-skip-end-btn:before{content:""}.bi-skip-end-circle-fill:before{content:""}.bi-skip-end-circle:before{content:""}.bi-skip-end-fill:before{content:""}.bi-skip-end:before{content:""}.bi-skip-forward-btn-fill:before{content:""}.bi-skip-forward-btn:before{content:""}.bi-skip-forward-circle-fill:before{content:""}.bi-skip-forward-circle:before{content:""}.bi-skip-forward-fill:before{content:""}.bi-skip-forward:before{content:""}.bi-skip-start-btn-fill:before{content:""}.bi-skip-start-btn:before{content:""}.bi-skip-start-circle-fill:before{content:""}.bi-skip-start-circle:before{content:""}.bi-skip-start-fill:before{content:""}.bi-skip-start:before{content:""}.bi-slack:before{content:""}.bi-slash-circle-fill:before{content:""}.bi-slash-circle:before{content:""}.bi-slash-square-fill:before{content:""}.bi-slash-square:before{content:""}.bi-slash:before{content:""}.bi-sliders:before{content:""}.bi-smartwatch:before{content:""}.bi-snow:before{content:""}.bi-snow2:before{content:""}.bi-snow3:before{content:""}.bi-sort-alpha-down-alt:before{content:""}.bi-sort-alpha-down:before{content:""}.bi-sort-alpha-up-alt:before{content:""}.bi-sort-alpha-up:before{content:""}.bi-sort-down-alt:before{content:""}.bi-sort-down:before{content:""}.bi-sort-numeric-down-alt:before{content:""}.bi-sort-numeric-down:before{content:""}.bi-sort-numeric-up-alt:before{content:""}.bi-sort-numeric-up:before{content:""}.bi-sort-up-alt:before{content:""}.bi-sort-up:before{content:""}.bi-soundwave:before{content:""}.bi-speaker-fill:before{content:""}.bi-speaker:before{content:""}.bi-speedometer:before{content:""}.bi-speedometer2:before{content:""}.bi-spellcheck:before{content:""}.bi-square-fill:before{content:""}.bi-square-half:before{content:""}.bi-square:before{content:""}.bi-stack:before{content:""}.bi-star-fill:before{content:""}.bi-star-half:before{content:""}.bi-star:before{content:""}.bi-stars:before{content:""}.bi-stickies-fill:before{content:""}.bi-stickies:before{content:""}.bi-sticky-fill:before{content:""}.bi-sticky:before{content:""}.bi-stop-btn-fill:before{content:""}.bi-stop-btn:before{content:""}.bi-stop-circle-fill:before{content:""}.bi-stop-circle:before{content:""}.bi-stop-fill:before{content:""}.bi-stop:before{content:""}.bi-stoplights-fill:before{content:""}.bi-stoplights:before{content:""}.bi-stopwatch-fill:before{content:""}.bi-stopwatch:before{content:""}.bi-subtract:before{content:""}.bi-suit-club-fill:before{content:""}.bi-suit-club:before{content:""}.bi-suit-diamond-fill:before{content:""}.bi-suit-diamond:before{content:""}.bi-suit-heart-fill:before{content:""}.bi-suit-heart:before{content:""}.bi-suit-spade-fill:before{content:""}.bi-suit-spade:before{content:""}.bi-sun-fill:before{content:""}.bi-sun:before{content:""}.bi-sunglasses:before{content:""}.bi-sunrise-fill:before{content:""}.bi-sunrise:before{content:""}.bi-sunset-fill:before{content:""}.bi-sunset:before{content:""}.bi-symmetry-horizontal:before{content:""}.bi-symmetry-vertical:before{content:""}.bi-table:before{content:""}.bi-tablet-fill:before{content:""}.bi-tablet-landscape-fill:before{content:""}.bi-tablet-landscape:before{content:""}.bi-tablet:before{content:""}.bi-tag-fill:before{content:""}.bi-tag:before{content:""}.bi-tags-fill:before{content:""}.bi-tags:before{content:""}.bi-telegram:before{content:""}.bi-telephone-fill:before{content:""}.bi-telephone-forward-fill:before{content:""}.bi-telephone-forward:before{content:""}.bi-telephone-inbound-fill:before{content:""}.bi-telephone-inbound:before{content:""}.bi-telephone-minus-fill:before{content:""}.bi-telephone-minus:before{content:""}.bi-telephone-outbound-fill:before{content:""}.bi-telephone-outbound:before{content:""}.bi-telephone-plus-fill:before{content:""}.bi-telephone-plus:before{content:""}.bi-telephone-x-fill:before{content:""}.bi-telephone-x:before{content:""}.bi-telephone:before{content:""}.bi-terminal-fill:before{content:""}.bi-terminal:before{content:""}.bi-text-center:before{content:""}.bi-text-indent-left:before{content:""}.bi-text-indent-right:before{content:""}.bi-text-left:before{content:""}.bi-text-paragraph:before{content:""}.bi-text-right:before{content:""}.bi-textarea-resize:before{content:""}.bi-textarea-t:before{content:""}.bi-textarea:before{content:""}.bi-thermometer-half:before{content:""}.bi-thermometer-high:before{content:""}.bi-thermometer-low:before{content:""}.bi-thermometer-snow:before{content:""}.bi-thermometer-sun:before{content:""}.bi-thermometer:before{content:""}.bi-three-dots-vertical:before{content:""}.bi-three-dots:before{content:""}.bi-toggle-off:before{content:""}.bi-toggle-on:before{content:""}.bi-toggle2-off:before{content:""}.bi-toggle2-on:before{content:""}.bi-toggles:before{content:""}.bi-toggles2:before{content:""}.bi-tools:before{content:""}.bi-tornado:before{content:""}.bi-trash-fill:before{content:""}.bi-trash:before{content:""}.bi-trash2-fill:before{content:""}.bi-trash2:before{content:""}.bi-tree-fill:before{content:""}.bi-tree:before{content:""}.bi-triangle-fill:before{content:""}.bi-triangle-half:before{content:""}.bi-triangle:before{content:""}.bi-trophy-fill:before{content:""}.bi-trophy:before{content:""}.bi-tropical-storm:before{content:""}.bi-truck-flatbed:before{content:""}.bi-truck:before{content:""}.bi-tsunami:before{content:""}.bi-tv-fill:before{content:""}.bi-tv:before{content:""}.bi-twitch:before{content:""}.bi-twitter:before{content:""}.bi-type-bold:before{content:""}.bi-type-h1:before{content:""}.bi-type-h2:before{content:""}.bi-type-h3:before{content:""}.bi-type-italic:before{content:""}.bi-type-strikethrough:before{content:""}.bi-type-underline:before{content:""}.bi-type:before{content:""}.bi-ui-checks-grid:before{content:""}.bi-ui-checks:before{content:""}.bi-ui-radios-grid:before{content:""}.bi-ui-radios:before{content:""}.bi-umbrella-fill:before{content:""}.bi-umbrella:before{content:""}.bi-union:before{content:""}.bi-unlock-fill:before{content:""}.bi-unlock:before{content:""}.bi-upc-scan:before{content:""}.bi-upc:before{content:""}.bi-upload:before{content:""}.bi-vector-pen:before{content:""}.bi-view-list:before{content:""}.bi-view-stacked:before{content:""}.bi-vinyl-fill:before{content:""}.bi-vinyl:before{content:""}.bi-voicemail:before{content:""}.bi-volume-down-fill:before{content:""}.bi-volume-down:before{content:""}.bi-volume-mute-fill:before{content:""}.bi-volume-mute:before{content:""}.bi-volume-off-fill:before{content:""}.bi-volume-off:before{content:""}.bi-volume-up-fill:before{content:""}.bi-volume-up:before{content:""}.bi-vr:before{content:""}.bi-wallet-fill:before{content:""}.bi-wallet:before{content:""}.bi-wallet2:before{content:""}.bi-watch:before{content:""}.bi-water:before{content:""}.bi-whatsapp:before{content:""}.bi-wifi-1:before{content:""}.bi-wifi-2:before{content:""}.bi-wifi-off:before{content:""}.bi-wifi:before{content:""}.bi-wind:before{content:""}.bi-window-dock:before{content:""}.bi-window-sidebar:before{content:""}.bi-window:before{content:""}.bi-wrench:before{content:""}.bi-x-circle-fill:before{content:""}.bi-x-circle:before{content:""}.bi-x-diamond-fill:before{content:""}.bi-x-diamond:before{content:""}.bi-x-octagon-fill:before{content:""}.bi-x-octagon:before{content:""}.bi-x-square-fill:before{content:""}.bi-x-square:before{content:""}.bi-x:before{content:""}.bi-youtube:before{content:""}.bi-zoom-in:before{content:""}.bi-zoom-out:before{content:""}.bi-bank:before{content:""}.bi-bank2:before{content:""}.bi-bell-slash-fill:before{content:""}.bi-bell-slash:before{content:""}.bi-cash-coin:before{content:""}.bi-check-lg:before{content:""}.bi-coin:before{content:""}.bi-currency-bitcoin:before{content:""}.bi-currency-dollar:before{content:""}.bi-currency-euro:before{content:""}.bi-currency-exchange:before{content:""}.bi-currency-pound:before{content:""}.bi-currency-yen:before{content:""}.bi-dash-lg:before{content:""}.bi-exclamation-lg:before{content:""}.bi-file-earmark-pdf-fill:before{content:""}.bi-file-earmark-pdf:before{content:""}.bi-file-pdf-fill:before{content:""}.bi-file-pdf:before{content:""}.bi-gender-ambiguous:before{content:""}.bi-gender-female:before{content:""}.bi-gender-male:before{content:""}.bi-gender-trans:before{content:""}.bi-headset-vr:before{content:""}.bi-info-lg:before{content:""}.bi-mastodon:before{content:""}.bi-messenger:before{content:""}.bi-piggy-bank-fill:before{content:""}.bi-piggy-bank:before{content:""}.bi-pin-map-fill:before{content:""}.bi-pin-map:before{content:""}.bi-plus-lg:before{content:""}.bi-question-lg:before{content:""}.bi-recycle:before{content:""}.bi-reddit:before{content:""}.bi-safe-fill:before{content:""}.bi-safe2-fill:before{content:""}.bi-safe2:before{content:""}.bi-sd-card-fill:before{content:""}.bi-sd-card:before{content:""}.bi-skype:before{content:""}.bi-slash-lg:before{content:""}.bi-translate:before{content:""}.bi-x-lg:before{content:""}.bi-safe:before{content:""}.bi-apple:before{content:""}.bi-microsoft:before{content:""}.bi-windows:before{content:""}.bi-behance:before{content:""}.bi-dribbble:before{content:""}.bi-line:before{content:""}.bi-medium:before{content:""}.bi-paypal:before{content:""}.bi-pinterest:before{content:""}.bi-signal:before{content:""}.bi-snapchat:before{content:""}.bi-spotify:before{content:""}.bi-stack-overflow:before{content:""}.bi-strava:before{content:""}.bi-wordpress:before{content:""}.bi-vimeo:before{content:""}.bi-activity:before{content:""}.bi-easel2-fill:before{content:""}.bi-easel2:before{content:""}.bi-easel3-fill:before{content:""}.bi-easel3:before{content:""}.bi-fan:before{content:""}.bi-fingerprint:before{content:""}.bi-graph-down-arrow:before{content:""}.bi-graph-up-arrow:before{content:""}.bi-hypnotize:before{content:""}.bi-magic:before{content:""}.bi-person-rolodex:before{content:""}.bi-person-video:before{content:""}.bi-person-video2:before{content:""}.bi-person-video3:before{content:""}.bi-person-workspace:before{content:""}.bi-radioactive:before{content:""}.bi-webcam-fill:before{content:""}.bi-webcam:before{content:""}.bi-yin-yang:before{content:""}.bi-bandaid-fill:before{content:""}.bi-bandaid:before{content:""}.bi-bluetooth:before{content:""}.bi-body-text:before{content:""}.bi-boombox:before{content:""}.bi-boxes:before{content:""}.bi-dpad-fill:before{content:""}.bi-dpad:before{content:""}.bi-ear-fill:before{content:""}.bi-ear:before{content:""}.bi-envelope-check-fill:before{content:""}.bi-envelope-check:before{content:""}.bi-envelope-dash-fill:before{content:""}.bi-envelope-dash:before{content:""}.bi-envelope-exclamation-fill:before{content:""}.bi-envelope-exclamation:before{content:""}.bi-envelope-plus-fill:before{content:""}.bi-envelope-plus:before{content:""}.bi-envelope-slash-fill:before{content:""}.bi-envelope-slash:before{content:""}.bi-envelope-x-fill:before{content:""}.bi-envelope-x:before{content:""}.bi-explicit-fill:before{content:""}.bi-explicit:before{content:""}.bi-git:before{content:""}.bi-infinity:before{content:""}.bi-list-columns-reverse:before{content:""}.bi-list-columns:before{content:""}.bi-meta:before{content:""}.bi-nintendo-switch:before{content:""}.bi-pc-display-horizontal:before{content:""}.bi-pc-display:before{content:""}.bi-pc-horizontal:before{content:""}.bi-pc:before{content:""}.bi-playstation:before{content:""}.bi-plus-slash-minus:before{content:""}.bi-projector-fill:before{content:""}.bi-projector:before{content:""}.bi-qr-code-scan:before{content:""}.bi-qr-code:before{content:""}.bi-quora:before{content:""}.bi-quote:before{content:""}.bi-robot:before{content:""}.bi-send-check-fill:before{content:""}.bi-send-check:before{content:""}.bi-send-dash-fill:before{content:""}.bi-send-dash:before{content:""}.bi-send-exclamation-fill:before{content:""}.bi-send-exclamation:before{content:""}.bi-send-fill:before{content:""}.bi-send-plus-fill:before{content:""}.bi-send-plus:before{content:""}.bi-send-slash-fill:before{content:""}.bi-send-slash:before{content:""}.bi-send-x-fill:before{content:""}.bi-send-x:before{content:""}.bi-send:before{content:""}.bi-steam:before{content:""}.bi-terminal-dash:before{content:""}.bi-terminal-plus:before{content:""}.bi-terminal-split:before{content:""}.bi-ticket-detailed-fill:before{content:""}.bi-ticket-detailed:before{content:""}.bi-ticket-fill:before{content:""}.bi-ticket-perforated-fill:before{content:""}.bi-ticket-perforated:before{content:""}.bi-ticket:before{content:""}.bi-tiktok:before{content:""}.bi-window-dash:before{content:""}.bi-window-desktop:before{content:""}.bi-window-fullscreen:before{content:""}.bi-window-plus:before{content:""}.bi-window-split:before{content:""}.bi-window-stack:before{content:""}.bi-window-x:before{content:""}.bi-xbox:before{content:""}.bi-ethernet:before{content:""}.bi-hdmi-fill:before{content:""}.bi-hdmi:before{content:""}.bi-usb-c-fill:before{content:""}.bi-usb-c:before{content:""}.bi-usb-fill:before{content:""}.bi-usb-plug-fill:before{content:""}.bi-usb-plug:before{content:""}.bi-usb-symbol:before{content:""}.bi-usb:before{content:""}.bi-boombox-fill:before{content:""}.bi-displayport:before{content:""}.bi-gpu-card:before{content:""}.bi-memory:before{content:""}.bi-modem-fill:before{content:""}.bi-modem:before{content:""}.bi-motherboard-fill:before{content:""}.bi-motherboard:before{content:""}.bi-optical-audio-fill:before{content:""}.bi-optical-audio:before{content:""}.bi-pci-card:before{content:""}.bi-router-fill:before{content:""}.bi-router:before{content:""}.bi-thunderbolt-fill:before{content:""}.bi-thunderbolt:before{content:""}.bi-usb-drive-fill:before{content:""}.bi-usb-drive:before{content:""}.bi-usb-micro-fill:before{content:""}.bi-usb-micro:before{content:""}.bi-usb-mini-fill:before{content:""}.bi-usb-mini:before{content:""}.bi-cloud-haze2:before{content:""}.bi-device-hdd-fill:before{content:""}.bi-device-hdd:before{content:""}.bi-device-ssd-fill:before{content:""}.bi-device-ssd:before{content:""}.bi-displayport-fill:before{content:""}.bi-mortarboard-fill:before{content:""}.bi-mortarboard:before{content:""}.bi-terminal-x:before{content:""}.bi-arrow-through-heart-fill:before{content:""}.bi-arrow-through-heart:before{content:""}.bi-badge-sd-fill:before{content:""}.bi-badge-sd:before{content:""}.bi-bag-heart-fill:before{content:""}.bi-bag-heart:before{content:""}.bi-balloon-fill:before{content:""}.bi-balloon-heart-fill:before{content:""}.bi-balloon-heart:before{content:""}.bi-balloon:before{content:""}.bi-box2-fill:before{content:""}.bi-box2-heart-fill:before{content:""}.bi-box2-heart:before{content:""}.bi-box2:before{content:""}.bi-braces-asterisk:before{content:""}.bi-calendar-heart-fill:before{content:""}.bi-calendar-heart:before{content:""}.bi-calendar2-heart-fill:before{content:""}.bi-calendar2-heart:before{content:""}.bi-chat-heart-fill:before{content:""}.bi-chat-heart:before{content:""}.bi-chat-left-heart-fill:before{content:""}.bi-chat-left-heart:before{content:""}.bi-chat-right-heart-fill:before{content:""}.bi-chat-right-heart:before{content:""}.bi-chat-square-heart-fill:before{content:""}.bi-chat-square-heart:before{content:""}.bi-clipboard-check-fill:before{content:""}.bi-clipboard-data-fill:before{content:""}.bi-clipboard-fill:before{content:""}.bi-clipboard-heart-fill:before{content:""}.bi-clipboard-heart:before{content:""}.bi-clipboard-minus-fill:before{content:""}.bi-clipboard-plus-fill:before{content:""}.bi-clipboard-pulse:before{content:""}.bi-clipboard-x-fill:before{content:""}.bi-clipboard2-check-fill:before{content:""}.bi-clipboard2-check:before{content:""}.bi-clipboard2-data-fill:before{content:""}.bi-clipboard2-data:before{content:""}.bi-clipboard2-fill:before{content:""}.bi-clipboard2-heart-fill:before{content:""}.bi-clipboard2-heart:before{content:""}.bi-clipboard2-minus-fill:before{content:""}.bi-clipboard2-minus:before{content:""}.bi-clipboard2-plus-fill:before{content:""}.bi-clipboard2-plus:before{content:""}.bi-clipboard2-pulse-fill:before{content:""}.bi-clipboard2-pulse:before{content:""}.bi-clipboard2-x-fill:before{content:""}.bi-clipboard2-x:before{content:""}.bi-clipboard2:before{content:""}.bi-emoji-kiss-fill:before{content:""}.bi-emoji-kiss:before{content:""}.bi-envelope-heart-fill:before{content:""}.bi-envelope-heart:before{content:""}.bi-envelope-open-heart-fill:before{content:""}.bi-envelope-open-heart:before{content:""}.bi-envelope-paper-fill:before{content:""}.bi-envelope-paper-heart-fill:before{content:""}.bi-envelope-paper-heart:before{content:""}.bi-envelope-paper:before{content:""}.bi-filetype-aac:before{content:""}.bi-filetype-ai:before{content:""}.bi-filetype-bmp:before{content:""}.bi-filetype-cs:before{content:""}.bi-filetype-css:before{content:""}.bi-filetype-csv:before{content:""}.bi-filetype-doc:before{content:""}.bi-filetype-docx:before{content:""}.bi-filetype-exe:before{content:""}.bi-filetype-gif:before{content:""}.bi-filetype-heic:before{content:""}.bi-filetype-html:before{content:""}.bi-filetype-java:before{content:""}.bi-filetype-jpg:before{content:""}.bi-filetype-js:before{content:""}.bi-filetype-jsx:before{content:""}.bi-filetype-key:before{content:""}.bi-filetype-m4p:before{content:""}.bi-filetype-md:before{content:""}.bi-filetype-mdx:before{content:""}.bi-filetype-mov:before{content:""}.bi-filetype-mp3:before{content:""}.bi-filetype-mp4:before{content:""}.bi-filetype-otf:before{content:""}.bi-filetype-pdf:before{content:""}.bi-filetype-php:before{content:""}.bi-filetype-png:before{content:""}.bi-filetype-ppt:before{content:""}.bi-filetype-psd:before{content:""}.bi-filetype-py:before{content:""}.bi-filetype-raw:before{content:""}.bi-filetype-rb:before{content:""}.bi-filetype-sass:before{content:""}.bi-filetype-scss:before{content:""}.bi-filetype-sh:before{content:""}.bi-filetype-svg:before{content:""}.bi-filetype-tiff:before{content:""}.bi-filetype-tsx:before{content:""}.bi-filetype-ttf:before{content:""}.bi-filetype-txt:before{content:""}.bi-filetype-wav:before{content:""}.bi-filetype-woff:before{content:""}.bi-filetype-xls:before{content:""}.bi-filetype-xml:before{content:""}.bi-filetype-yml:before{content:""}.bi-heart-arrow:before{content:""}.bi-heart-pulse-fill:before{content:""}.bi-heart-pulse:before{content:""}.bi-heartbreak-fill:before{content:""}.bi-heartbreak:before{content:""}.bi-hearts:before{content:""}.bi-hospital-fill:before{content:""}.bi-hospital:before{content:""}.bi-house-heart-fill:before{content:""}.bi-house-heart:before{content:""}.bi-incognito:before{content:""}.bi-magnet-fill:before{content:""}.bi-magnet:before{content:""}.bi-person-heart:before{content:""}.bi-person-hearts:before{content:""}.bi-phone-flip:before{content:""}.bi-plugin:before{content:""}.bi-postage-fill:before{content:""}.bi-postage-heart-fill:before{content:""}.bi-postage-heart:before{content:""}.bi-postage:before{content:""}.bi-postcard-fill:before{content:""}.bi-postcard-heart-fill:before{content:""}.bi-postcard-heart:before{content:""}.bi-postcard:before{content:""}.bi-search-heart-fill:before{content:""}.bi-search-heart:before{content:""}.bi-sliders2-vertical:before{content:""}.bi-sliders2:before{content:""}.bi-trash3-fill:before{content:""}.bi-trash3:before{content:""}.bi-valentine:before{content:""}.bi-valentine2:before{content:""}.bi-wrench-adjustable-circle-fill:before{content:""}.bi-wrench-adjustable-circle:before{content:""}.bi-wrench-adjustable:before{content:""}.bi-filetype-json:before{content:""}.bi-filetype-pptx:before{content:""}.bi-filetype-xlsx:before{content:""}.bi-1-circle-fill:before{content:""}.bi-1-circle:before{content:""}.bi-1-square-fill:before{content:""}.bi-1-square:before{content:""}.bi-2-circle-fill:before{content:""}.bi-2-circle:before{content:""}.bi-2-square-fill:before{content:""}.bi-2-square:before{content:""}.bi-3-circle-fill:before{content:""}.bi-3-circle:before{content:""}.bi-3-square-fill:before{content:""}.bi-3-square:before{content:""}.bi-4-circle-fill:before{content:""}.bi-4-circle:before{content:""}.bi-4-square-fill:before{content:""}.bi-4-square:before{content:""}.bi-5-circle-fill:before{content:""}.bi-5-circle:before{content:""}.bi-5-square-fill:before{content:""}.bi-5-square:before{content:""}.bi-6-circle-fill:before{content:""}.bi-6-circle:before{content:""}.bi-6-square-fill:before{content:""}.bi-6-square:before{content:""}.bi-7-circle-fill:before{content:""}.bi-7-circle:before{content:""}.bi-7-square-fill:before{content:""}.bi-7-square:before{content:""}.bi-8-circle-fill:before{content:""}.bi-8-circle:before{content:""}.bi-8-square-fill:before{content:""}.bi-8-square:before{content:""}.bi-9-circle-fill:before{content:""}.bi-9-circle:before{content:""}.bi-9-square-fill:before{content:""}.bi-9-square:before{content:""}.bi-airplane-engines-fill:before{content:""}.bi-airplane-engines:before{content:""}.bi-airplane-fill:before{content:""}.bi-airplane:before{content:""}.bi-alexa:before{content:""}.bi-alipay:before{content:""}.bi-android:before{content:""}.bi-android2:before{content:""}.bi-box-fill:before{content:""}.bi-box-seam-fill:before{content:""}.bi-browser-chrome:before{content:""}.bi-browser-edge:before{content:""}.bi-browser-firefox:before{content:""}.bi-browser-safari:before{content:""}.bi-c-circle-fill:before{content:""}.bi-c-circle:before{content:""}.bi-c-square-fill:before{content:""}.bi-c-square:before{content:""}.bi-capsule-pill:before{content:""}.bi-capsule:before{content:""}.bi-car-front-fill:before{content:""}.bi-car-front:before{content:""}.bi-cassette-fill:before{content:""}.bi-cassette:before{content:""}.bi-cc-circle-fill:before{content:""}.bi-cc-circle:before{content:""}.bi-cc-square-fill:before{content:""}.bi-cc-square:before{content:""}.bi-cup-hot-fill:before{content:""}.bi-cup-hot:before{content:""}.bi-currency-rupee:before{content:""}.bi-dropbox:before{content:""}.bi-escape:before{content:""}.bi-fast-forward-btn-fill:before{content:""}.bi-fast-forward-btn:before{content:""}.bi-fast-forward-circle-fill:before{content:""}.bi-fast-forward-circle:before{content:""}.bi-fast-forward-fill:before{content:""}.bi-fast-forward:before{content:""}.bi-filetype-sql:before{content:""}.bi-fire:before{content:""}.bi-google-play:before{content:""}.bi-h-circle-fill:before{content:""}.bi-h-circle:before{content:""}.bi-h-square-fill:before{content:""}.bi-h-square:before{content:""}.bi-indent:before{content:""}.bi-lungs-fill:before{content:""}.bi-lungs:before{content:""}.bi-microsoft-teams:before{content:""}.bi-p-circle-fill:before{content:""}.bi-p-circle:before{content:""}.bi-p-square-fill:before{content:""}.bi-p-square:before{content:""}.bi-pass-fill:before{content:""}.bi-pass:before{content:""}.bi-prescription:before{content:""}.bi-prescription2:before{content:""}.bi-r-circle-fill:before{content:""}.bi-r-circle:before{content:""}.bi-r-square-fill:before{content:""}.bi-r-square:before{content:""}.bi-repeat-1:before{content:""}.bi-repeat:before{content:""}.bi-rewind-btn-fill:before{content:""}.bi-rewind-btn:before{content:""}.bi-rewind-circle-fill:before{content:""}.bi-rewind-circle:before{content:""}.bi-rewind-fill:before{content:""}.bi-rewind:before{content:""}.bi-train-freight-front-fill:before{content:""}.bi-train-freight-front:before{content:""}.bi-train-front-fill:before{content:""}.bi-train-front:before{content:""}.bi-train-lightrail-front-fill:before{content:""}.bi-train-lightrail-front:before{content:""}.bi-truck-front-fill:before{content:""}.bi-truck-front:before{content:""}.bi-ubuntu:before{content:""}.bi-unindent:before{content:""}.bi-unity:before{content:""}.bi-universal-access-circle:before{content:""}.bi-universal-access:before{content:""}.bi-virus:before{content:""}.bi-virus2:before{content:""}.bi-wechat:before{content:""}.bi-yelp:before{content:""}.bi-sign-stop-fill:before{content:""}.bi-sign-stop-lights-fill:before{content:""}.bi-sign-stop-lights:before{content:""}.bi-sign-stop:before{content:""}.bi-sign-turn-left-fill:before{content:""}.bi-sign-turn-left:before{content:""}.bi-sign-turn-right-fill:before{content:""}.bi-sign-turn-right:before{content:""}.bi-sign-turn-slight-left-fill:before{content:""}.bi-sign-turn-slight-left:before{content:""}.bi-sign-turn-slight-right-fill:before{content:""}.bi-sign-turn-slight-right:before{content:""}.bi-sign-yield-fill:before{content:""}.bi-sign-yield:before{content:""}.bi-ev-station-fill:before{content:""}.bi-ev-station:before{content:""}.bi-fuel-pump-diesel-fill:before{content:""}.bi-fuel-pump-diesel:before{content:""}.bi-fuel-pump-fill:before{content:""}.bi-fuel-pump:before{content:""}.bi-0-circle-fill:before{content:""}.bi-0-circle:before{content:""}.bi-0-square-fill:before{content:""}.bi-0-square:before{content:""}.bi-rocket-fill:before{content:""}.bi-rocket-takeoff-fill:before{content:""}.bi-rocket-takeoff:before{content:""}.bi-rocket:before{content:""}.bi-stripe:before{content:""}.bi-subscript:before{content:""}.bi-superscript:before{content:""}.bi-trello:before{content:""}.bi-envelope-at-fill:before{content:""}.bi-envelope-at:before{content:""}.bi-regex:before{content:""}.bi-text-wrap:before{content:""}.bi-sign-dead-end-fill:before{content:""}.bi-sign-dead-end:before{content:""}.bi-sign-do-not-enter-fill:before{content:""}.bi-sign-do-not-enter:before{content:""}.bi-sign-intersection-fill:before{content:""}.bi-sign-intersection-side-fill:before{content:""}.bi-sign-intersection-side:before{content:""}.bi-sign-intersection-t-fill:before{content:""}.bi-sign-intersection-t:before{content:""}.bi-sign-intersection-y-fill:before{content:""}.bi-sign-intersection-y:before{content:""}.bi-sign-intersection:before{content:""}.bi-sign-merge-left-fill:before{content:""}.bi-sign-merge-left:before{content:""}.bi-sign-merge-right-fill:before{content:""}.bi-sign-merge-right:before{content:""}.bi-sign-no-left-turn-fill:before{content:""}.bi-sign-no-left-turn:before{content:""}.bi-sign-no-parking-fill:before{content:""}.bi-sign-no-parking:before{content:""}.bi-sign-no-right-turn-fill:before{content:""}.bi-sign-no-right-turn:before{content:""}.bi-sign-railroad-fill:before{content:""}.bi-sign-railroad:before{content:""}.bi-building-add:before{content:""}.bi-building-check:before{content:""}.bi-building-dash:before{content:""}.bi-building-down:before{content:""}.bi-building-exclamation:before{content:""}.bi-building-fill-add:before{content:""}.bi-building-fill-check:before{content:""}.bi-building-fill-dash:before{content:""}.bi-building-fill-down:before{content:""}.bi-building-fill-exclamation:before{content:""}.bi-building-fill-gear:before{content:""}.bi-building-fill-lock:before{content:""}.bi-building-fill-slash:before{content:""}.bi-building-fill-up:before{content:""}.bi-building-fill-x:before{content:""}.bi-building-fill:before{content:""}.bi-building-gear:before{content:""}.bi-building-lock:before{content:""}.bi-building-slash:before{content:""}.bi-building-up:before{content:""}.bi-building-x:before{content:""}.bi-buildings-fill:before{content:""}.bi-buildings:before{content:""}.bi-bus-front-fill:before{content:""}.bi-bus-front:before{content:""}.bi-ev-front-fill:before{content:""}.bi-ev-front:before{content:""}.bi-globe-americas:before{content:""}.bi-globe-asia-australia:before{content:""}.bi-globe-central-south-asia:before{content:""}.bi-globe-europe-africa:before{content:""}.bi-house-add-fill:before{content:""}.bi-house-add:before{content:""}.bi-house-check-fill:before{content:""}.bi-house-check:before{content:""}.bi-house-dash-fill:before{content:""}.bi-house-dash:before{content:""}.bi-house-down-fill:before{content:""}.bi-house-down:before{content:""}.bi-house-exclamation-fill:before{content:""}.bi-house-exclamation:before{content:""}.bi-house-gear-fill:before{content:""}.bi-house-gear:before{content:""}.bi-house-lock-fill:before{content:""}.bi-house-lock:before{content:""}.bi-house-slash-fill:before{content:""}.bi-house-slash:before{content:""}.bi-house-up-fill:before{content:""}.bi-house-up:before{content:""}.bi-house-x-fill:before{content:""}.bi-house-x:before{content:""}.bi-person-add:before{content:""}.bi-person-down:before{content:""}.bi-person-exclamation:before{content:""}.bi-person-fill-add:before{content:""}.bi-person-fill-check:before{content:""}.bi-person-fill-dash:before{content:""}.bi-person-fill-down:before{content:""}.bi-person-fill-exclamation:before{content:""}.bi-person-fill-gear:before{content:""}.bi-person-fill-lock:before{content:""}.bi-person-fill-slash:before{content:""}.bi-person-fill-up:before{content:""}.bi-person-fill-x:before{content:""}.bi-person-gear:before{content:""}.bi-person-lock:before{content:""}.bi-person-slash:before{content:""}.bi-person-up:before{content:""}.bi-scooter:before{content:""}.bi-taxi-front-fill:before{content:""}.bi-taxi-front:before{content:""}.bi-amd:before{content:""}.bi-database-add:before{content:""}.bi-database-check:before{content:""}.bi-database-dash:before{content:""}.bi-database-down:before{content:""}.bi-database-exclamation:before{content:""}.bi-database-fill-add:before{content:""}.bi-database-fill-check:before{content:""}.bi-database-fill-dash:before{content:""}.bi-database-fill-down:before{content:""}.bi-database-fill-exclamation:before{content:""}.bi-database-fill-gear:before{content:""}.bi-database-fill-lock:before{content:""}.bi-database-fill-slash:before{content:""}.bi-database-fill-up:before{content:""}.bi-database-fill-x:before{content:""}.bi-database-fill:before{content:""}.bi-database-gear:before{content:""}.bi-database-lock:before{content:""}.bi-database-slash:before{content:""}.bi-database-up:before{content:""}.bi-database-x:before{content:""}.bi-database:before{content:""}.bi-houses-fill:before{content:""}.bi-houses:before{content:""}.bi-nvidia:before{content:""}.bi-person-vcard-fill:before{content:""}.bi-person-vcard:before{content:""}.bi-sina-weibo:before{content:""}.bi-tencent-qq:before{content:""}.bi-wikipedia:before{content:""}.bi-alphabet-uppercase:before{content:""}.bi-alphabet:before{content:""}.bi-amazon:before{content:""}.bi-arrows-collapse-vertical:before{content:""}.bi-arrows-expand-vertical:before{content:""}.bi-arrows-vertical:before{content:""}.bi-arrows:before{content:""}.bi-ban-fill:before{content:""}.bi-ban:before{content:""}.bi-bing:before{content:""}.bi-cake:before{content:""}.bi-cake2:before{content:""}.bi-cookie:before{content:""}.bi-copy:before{content:""}.bi-crosshair:before{content:""}.bi-crosshair2:before{content:""}.bi-emoji-astonished-fill:before{content:""}.bi-emoji-astonished:before{content:""}.bi-emoji-grimace-fill:before{content:""}.bi-emoji-grimace:before{content:""}.bi-emoji-grin-fill:before{content:""}.bi-emoji-grin:before{content:""}.bi-emoji-surprise-fill:before{content:""}.bi-emoji-surprise:before{content:""}.bi-emoji-tear-fill:before{content:""}.bi-emoji-tear:before{content:""}.bi-envelope-arrow-down-fill:before{content:""}.bi-envelope-arrow-down:before{content:""}.bi-envelope-arrow-up-fill:before{content:""}.bi-envelope-arrow-up:before{content:""}.bi-feather:before{content:""}.bi-feather2:before{content:""}.bi-floppy-fill:before{content:""}.bi-floppy:before{content:""}.bi-floppy2-fill:before{content:""}.bi-floppy2:before{content:""}.bi-gitlab:before{content:""}.bi-highlighter:before{content:""}.bi-marker-tip:before{content:""}.bi-nvme-fill:before{content:""}.bi-nvme:before{content:""}.bi-opencollective:before{content:""}.bi-pci-card-network:before{content:""}.bi-pci-card-sound:before{content:""}.bi-radar:before{content:""}.bi-send-arrow-down-fill:before{content:""}.bi-send-arrow-down:before{content:""}.bi-send-arrow-up-fill:before{content:""}.bi-send-arrow-up:before{content:""}.bi-sim-slash-fill:before{content:""}.bi-sim-slash:before{content:""}.bi-sourceforge:before{content:""}.bi-substack:before{content:""}.bi-threads-fill:before{content:""}.bi-threads:before{content:""}.bi-transparency:before{content:""}.bi-twitter-x:before{content:""}.bi-type-h4:before{content:""}.bi-type-h5:before{content:""}.bi-type-h6:before{content:""}.bi-backpack-fill:before{content:""}.bi-backpack:before{content:""}.bi-backpack2-fill:before{content:""}.bi-backpack2:before{content:""}.bi-backpack3-fill:before{content:""}.bi-backpack3:before{content:""}.bi-backpack4-fill:before{content:""}.bi-backpack4:before{content:""}.bi-brilliance:before{content:""}.bi-cake-fill:before{content:""}.bi-cake2-fill:before{content:""}.bi-duffle-fill:before{content:""}.bi-duffle:before{content:""}.bi-exposure:before{content:""}.bi-gender-neuter:before{content:""}.bi-highlights:before{content:""}.bi-luggage-fill:before{content:""}.bi-luggage:before{content:""}.bi-mailbox-flag:before{content:""}.bi-mailbox2-flag:before{content:""}.bi-noise-reduction:before{content:""}.bi-passport-fill:before{content:""}.bi-passport:before{content:""}.bi-person-arms-up:before{content:""}.bi-person-raised-hand:before{content:""}.bi-person-standing-dress:before{content:""}.bi-person-standing:before{content:""}.bi-person-walking:before{content:""}.bi-person-wheelchair:before{content:""}.bi-shadows:before{content:""}.bi-suitcase-fill:before{content:""}.bi-suitcase-lg-fill:before{content:""}.bi-suitcase-lg:before{content:""}.bi-suitcase:before{content:"豈"}.bi-suitcase2-fill:before{content:"更"}.bi-suitcase2:before{content:"車"}.bi-vignette:before{content:"賈"}.bi-bluesky:before{content:""}.bi-tux:before{content:"滑"}.bi-beaker-fill:before{content:"串"}.bi-beaker:before{content:"句"}.bi-flask-fill:before{content:"龜"}.bi-flask-florence-fill:before{content:"龜"}.bi-flask-florence:before{content:"契"}.bi-flask:before{content:"金"}.bi-leaf-fill:before{content:"喇"}.bi-leaf:before{content:"奈"}.bi-measuring-cup-fill:before{content:"懶"}.bi-measuring-cup:before{content:"癩"}.bi-unlock2-fill:before{content:"羅"}.bi-unlock2:before{content:"蘿"}.bi-battery-low:before{content:"螺"}.bi-anthropic:before{content:"裸"}.bi-apple-music:before{content:"邏"}.bi-claude:before{content:"樂"}.bi-openai:before{content:"洛"}.bi-perplexity:before{content:"烙"}.bi-css:before{content:"珞"}.bi-javascript:before{content:"落"}.bi-typescript:before{content:"酪"}.bi-fork-knife:before{content:"駱"}.bi-globe-americas-fill:before{content:"亂"}.bi-globe-asia-australia-fill:before{content:"卵"}.bi-globe-central-south-asia-fill:before{content:"欄"}.bi-globe-europe-africa-fill:before{content:"爛"}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-weight:200 800;src:url(/static/dist/WGDashboardClient/assets/PlusJakartaSans-VariableFont_wght-D_DSbd_K.ttf) format("ttf")}@font-face{font-family:Plus Jakarta Sans;font-style:italic;font-weight:200 800;src:url(/static/dist/WGDashboardClient/assets/PlusJakartaSans-Italic-VariableFont_wght-BdWtZZ8T.ttf) format("ttf")}*{font-family:Plus Jakarta Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol!important}@property --brandColor1{syntax: ""; initial-value: #009dff; inherits: false;}@property --brandColor2{syntax: ""; initial-value: #F94647; inherits: false;}@property --distance1{syntax: ""; initial-value: 0%; inherits: false;}@property --degree{syntax: ""; initial-value: 234deg; inherits: false;}.btn-brand{background:linear-gradient(var(--degree),var(--brandColor1) var(--distance1),var(--brandColor2) 100%);border:0!important;transition:--brandColor1 .3s,--brandColor2 .3s!important}.btn-brand:hover{--brandColor1: rgb(0, 142, 216);--brandColor2: rgba(249, 70, 71) }::-webkit-scrollbar{display:none}.slide-right-enter-active,.slide-right-leave-active{transition:all .3s cubic-bezier(.82,.58,.17,1)}.slide-right-enter-from,.slide-right-leave-to{opacity:0}.slide-right-enter-from{transform:translate(-20px)}.slide-right-leave-to{transform:translate(20px)}.app-enter-active,.app-leave-active{transition:all .4s cubic-bezier(.82,.58,.17,1)}.app-enter-from,.app-leave-to{opacity:0;filter:blur(8px)}.app-enter-from{transform:scale(1.03)}.app-leave-to{transform:scale(.97)}.btn-outline-body{color:#000;border-color:#000!important;background-color:transparent}[data-bs-theme=dark] .btn-outline-body{color:#fff;border-color:#fff!important;background-color:transparent}.btn-body{border-color:#000!important;color:#fff!important;background-color:#000}.btn-body:hover{border-color:#373737!important;color:#fff!important;background-color:#373737!important}[data-bs-theme=dark] .btn-body{border-color:#fff!important;color:#000!important;background-color:#fff}[data-bs-theme=dark] .btn-body:hover{border-color:#e8e8e8!important;color:#000!important;background-color:#e8e8e8!important}.form-control{border-width:0}.amneziawgBg{background:#91c7c1;background:linear-gradient(90deg,#91c7c1,#6b5fa1,#e38e41)}.wireguardBg{background:#7d2020;background:linear-gradient(90deg,#7d2020,#ff3838)}.notification[data-v-3303bfcd]{width:100%;word-break:break-word}@media screen and (min-width: 576px){.notification[data-v-3303bfcd]{width:400px}}.message-move[data-v-e4fed80c],.message-enter-active[data-v-e4fed80c],.message-leave-active[data-v-e4fed80c]{transition:all .5s cubic-bezier(.82,.58,.17,1)}.message-enter-from[data-v-e4fed80c],.message-leave-to[data-v-e4fed80c]{filter:blur(2px);opacity:0}.message-enter-from[data-v-e4fed80c]{transform:translateY(-30px)}.message-leave-to[data-v-e4fed80c]{transform:translateY(30px)}.messageCentre[data-v-e4fed80c]{z-index:9999;top:1rem;right:1rem}@media screen and (max-width: 768px){.messageCentre[data-v-e4fed80c]{width:calc(100% - 2rem)}}@media screen and (max-width: 576px){#listContainer[data-v-8742499d]{border-radius:0!important}}.qrcodeContainer[data-v-cc8c55c7]{background-color:#00000050;backdrop-filter:blur(8px) brightness(.8);z-index:9999}.button-group a[data-v-5d0ec739]:hover{background-color:#ffffff20}.dot[data-v-5d0ec739]{width:10px;height:10px;border-radius:50px;display:inline-block;margin-left:auto!important;background-color:#6c757d}.dot.active[data-v-5d0ec739]{background-color:#28a745!important;box-shadow:0 0 0 .2rem #28a74545}.nav-link[data-v-98284be0]{padding:1rem}@media screen and (max-width: 576px){.nav-links a span[data-v-98284be0]{display:none}} diff --git a/src/static/dist/WGDashboardClient/assets/index-Dnx8i95a.js b/src/static/dist/WGDashboardClient/assets/index-Dnx8i95a.js new file mode 100644 index 00000000..e2433492 --- /dev/null +++ b/src/static/dist/WGDashboardClient/assets/index-Dnx8i95a.js @@ -0,0 +1,41 @@ +(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** +* @vue/shared v3.5.16 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function pl(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const Ft={},Ks=[],cn=()=>{},ab=()=>!1,Wi=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),ml=t=>t.startsWith("onUpdate:"),ne=Object.assign,gl=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},lb=Object.prototype.hasOwnProperty,Dt=(t,e)=>lb.call(t,e),dt=Array.isArray,Ws=t=>Ur(t)==="[object Map]",er=t=>Ur(t)==="[object Set]",Eu=t=>Ur(t)==="[object Date]",gt=t=>typeof t=="function",Jt=t=>typeof t=="string",fn=t=>typeof t=="symbol",Ht=t=>t!==null&&typeof t=="object",_l=t=>(Ht(t)||gt(t))&>(t.then)&>(t.catch),bd=Object.prototype.toString,Ur=t=>bd.call(t),cb=t=>Ur(t).slice(8,-1),yd=t=>Ur(t)==="[object Object]",vl=t=>Jt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Tr=pl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Yi=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},ub=/-(\w)/g,je=Yi(t=>t.replace(ub,(e,n)=>n?n.toUpperCase():"")),fb=/\B([A-Z])/g,Es=Yi(t=>t.replace(fb,"-$1").toLowerCase()),zi=Yi(t=>t.charAt(0).toUpperCase()+t.slice(1)),Zo=Yi(t=>t?`on${zi(t)}`:""),Vn=(t,e)=>!Object.is(t,e),Ti=(t,...e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:s,value:n})},Di=t=>{const e=parseFloat(t);return isNaN(e)?t:e},wd=t=>{const e=Jt(t)?Number(t):NaN;return isNaN(e)?t:e};let wu;const Gi=()=>wu||(wu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ji(t){if(dt(t)){const e={};for(let n=0;n{if(n){const s=n.split(hb);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function ln(t){let e="";if(Jt(t))e=t;else if(dt(t))for(let n=0;n_s(n,e))}const Ad=t=>!!(t&&t.__v_isRef===!0),Te=t=>Jt(t)?t:t==null?"":dt(t)||Ht(t)&&(t.toString===bd||!gt(t.toString))?Ad(t)?Te(t.value):JSON.stringify(t,Sd,2):String(t),Sd=(t,e)=>Ad(e)?Sd(t,e.value):Ws(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,r],o)=>(n[ta(s,o)+" =>"]=r,n),{})}:er(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>ta(n))}:fn(e)?ta(e):Ht(e)&&!dt(e)&&!yd(e)?String(e):e,ta=(t,e="")=>{var n;return fn(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/** +* @vue/reactivity v3.5.16 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let de;class Cd{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=de,!e&&de&&(this.index=(de.scopes||(de.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e0&&--this._on===0&&(de=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n0)return;if(Sr){let e=Sr;for(Sr=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;Ar;){let e=Ar;for(Ar=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(s){t||(t=s)}e=n}}if(t)throw t}function Pd(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Dd(t){let e,n=t.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),wl(s),yb(s)):e=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}t.deps=e,t.depsTail=n}function ja(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Ld(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Ld(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Pr)||(t.globalVersion=Pr,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!ja(t))))return;t.flags|=2;const e=t.dep,n=jt,s=ze;jt=t,ze=!0;try{Pd(t);const r=t.fn(t._value);(e.version===0||Vn(r,t._value))&&(t.flags|=128,t._value=r,e.version++)}catch(r){throw e.version++,r}finally{jt=n,ze=s,Dd(t),t.flags&=-3}}function wl(t,e=!1){const{dep:n,prevSub:s,nextSub:r}=t;if(s&&(s.nextSub=r,t.prevSub=void 0),r&&(r.prevSub=s,t.nextSub=void 0),n.subs===t&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)wl(o,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function yb(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let ze=!0;const Id=[];function Tn(){Id.push(ze),ze=!1}function An(){const t=Id.pop();ze=t===void 0?!0:t}function Tu(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=jt;jt=void 0;try{e()}finally{jt=n}}}let Pr=0;class Eb{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Tl{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!jt||!ze||jt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==jt)n=this.activeLink=new Eb(jt,this),jt.deps?(n.prevDep=jt.depsTail,jt.depsTail.nextDep=n,jt.depsTail=n):jt.deps=jt.depsTail=n,Md(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=jt.depsTail,n.nextDep=void 0,jt.depsTail.nextDep=n,jt.depsTail=n,jt.deps===n&&(jt.deps=s)}return n}trigger(e){this.version++,Pr++,this.notify(e)}notify(e){yl();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{El()}}}function Md(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let s=e.deps;s;s=s.nextDep)Md(s)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Li=new WeakMap,ps=Symbol(""),qa=Symbol(""),Dr=Symbol("");function he(t,e,n){if(ze&&jt){let s=Li.get(t);s||Li.set(t,s=new Map);let r=s.get(n);r||(s.set(n,r=new Tl),r.map=s,r.key=n),r.track()}}function bn(t,e,n,s,r,o){const a=Li.get(t);if(!a){Pr++;return}const l=u=>{u&&u.trigger()};if(yl(),e==="clear")a.forEach(l);else{const u=dt(t),f=u&&vl(n);if(u&&n==="length"){const h=Number(s);a.forEach((p,_)=>{(_==="length"||_===Dr||!fn(_)&&_>=h)&&l(p)})}else switch((n!==void 0||a.has(void 0))&&l(a.get(n)),f&&l(a.get(Dr)),e){case"add":u?f&&l(a.get("length")):(l(a.get(ps)),Ws(t)&&l(a.get(qa)));break;case"delete":u||(l(a.get(ps)),Ws(t)&&l(a.get(qa)));break;case"set":Ws(t)&&l(a.get(ps));break}}El()}function wb(t,e){const n=Li.get(t);return n&&n.get(e)}function Hs(t){const e=Rt(t);return e===t?e:(he(e,"iterate",Dr),Ve(t)?e:e.map(le))}function Qi(t){return he(t=Rt(t),"iterate",Dr),t}const Tb={__proto__:null,[Symbol.iterator](){return na(this,Symbol.iterator,le)},concat(...t){return Hs(this).concat(...t.map(e=>dt(e)?Hs(e):e))},entries(){return na(this,"entries",t=>(t[1]=le(t[1]),t))},every(t,e){return gn(this,"every",t,e,void 0,arguments)},filter(t,e){return gn(this,"filter",t,e,n=>n.map(le),arguments)},find(t,e){return gn(this,"find",t,e,le,arguments)},findIndex(t,e){return gn(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return gn(this,"findLast",t,e,le,arguments)},findLastIndex(t,e){return gn(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return gn(this,"forEach",t,e,void 0,arguments)},includes(...t){return sa(this,"includes",t)},indexOf(...t){return sa(this,"indexOf",t)},join(t){return Hs(this).join(t)},lastIndexOf(...t){return sa(this,"lastIndexOf",t)},map(t,e){return gn(this,"map",t,e,void 0,arguments)},pop(){return gr(this,"pop")},push(...t){return gr(this,"push",t)},reduce(t,...e){return Au(this,"reduce",t,e)},reduceRight(t,...e){return Au(this,"reduceRight",t,e)},shift(){return gr(this,"shift")},some(t,e){return gn(this,"some",t,e,void 0,arguments)},splice(...t){return gr(this,"splice",t)},toReversed(){return Hs(this).toReversed()},toSorted(t){return Hs(this).toSorted(t)},toSpliced(...t){return Hs(this).toSpliced(...t)},unshift(...t){return gr(this,"unshift",t)},values(){return na(this,"values",le)}};function na(t,e,n){const s=Qi(t),r=s[e]();return s!==t&&!Ve(t)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const Ab=Array.prototype;function gn(t,e,n,s,r,o){const a=Qi(t),l=a!==t&&!Ve(t),u=a[e];if(u!==Ab[e]){const p=u.apply(t,o);return l?le(p):p}let f=n;a!==t&&(l?f=function(p,_){return n.call(this,le(p),_,t)}:n.length>2&&(f=function(p,_){return n.call(this,p,_,t)}));const h=u.call(a,f,s);return l&&r?r(h):h}function Au(t,e,n,s){const r=Qi(t);let o=n;return r!==t&&(Ve(t)?n.length>3&&(o=function(a,l,u){return n.call(this,a,l,u,t)}):o=function(a,l,u){return n.call(this,a,le(l),u,t)}),r[e](o,...s)}function sa(t,e,n){const s=Rt(t);he(s,"iterate",Dr);const r=s[e](...n);return(r===-1||r===!1)&&Cl(n[0])?(n[0]=Rt(n[0]),s[e](...n)):r}function gr(t,e,n=[]){Tn(),yl();const s=Rt(t)[e].apply(t,n);return El(),An(),s}const Sb=pl("__proto__,__v_isRef,__isVue"),kd=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(fn));function Cb(t){fn(t)||(t=String(t));const e=Rt(this);return he(e,"has",t),e.hasOwnProperty(t)}class Bd{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,s){if(n==="__v_skip")return e.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Mb:Ud:o?Vd:Hd).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(s)?e:void 0;const a=dt(e);if(!r){let u;if(a&&(u=Tb[n]))return u;if(n==="hasOwnProperty")return Cb}const l=Reflect.get(e,n,Zt(e)?e:s);return(fn(n)?kd.has(n):Sb(n))||(r||he(e,"get",n),o)?l:Zt(l)?a&&vl(n)?l:l.value:Ht(l)?r?qd(l):Sn(l):l}}class Fd extends Bd{constructor(e=!1){super(!1,e)}set(e,n,s,r){let o=e[n];if(!this._isShallow){const u=jn(o);if(!Ve(s)&&!jn(s)&&(o=Rt(o),s=Rt(s)),!dt(e)&&Zt(o)&&!Zt(s))return u?!1:(o.value=s,!0)}const a=dt(e)&&vl(n)?Number(n)t,_i=t=>Reflect.getPrototypeOf(t);function $b(t,e,n){return function(...s){const r=this.__v_raw,o=Rt(r),a=Ws(o),l=t==="entries"||t===Symbol.iterator&&a,u=t==="keys"&&a,f=r[t](...s),h=n?Ka:e?Ii:le;return!e&&he(o,"iterate",u?qa:ps),{next(){const{value:p,done:_}=f.next();return _?{value:p,done:_}:{value:l?[h(p[0]),h(p[1])]:h(p),done:_}},[Symbol.iterator](){return this}}}}function vi(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Pb(t,e){const n={get(r){const o=this.__v_raw,a=Rt(o),l=Rt(r);t||(Vn(r,l)&&he(a,"get",r),he(a,"get",l));const{has:u}=_i(a),f=e?Ka:t?Ii:le;if(u.call(a,r))return f(o.get(r));if(u.call(a,l))return f(o.get(l));o!==a&&o.get(r)},get size(){const r=this.__v_raw;return!t&&he(Rt(r),"iterate",ps),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,a=Rt(o),l=Rt(r);return t||(Vn(r,l)&&he(a,"has",r),he(a,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const a=this,l=a.__v_raw,u=Rt(l),f=e?Ka:t?Ii:le;return!t&&he(u,"iterate",ps),l.forEach((h,p)=>r.call(o,f(h),f(p),a))}};return ne(n,t?{add:vi("add"),set:vi("set"),delete:vi("delete"),clear:vi("clear")}:{add(r){!e&&!Ve(r)&&!jn(r)&&(r=Rt(r));const o=Rt(this);return _i(o).has.call(o,r)||(o.add(r),bn(o,"add",r,r)),this},set(r,o){!e&&!Ve(o)&&!jn(o)&&(o=Rt(o));const a=Rt(this),{has:l,get:u}=_i(a);let f=l.call(a,r);f||(r=Rt(r),f=l.call(a,r));const h=u.call(a,r);return a.set(r,o),f?Vn(o,h)&&bn(a,"set",r,o):bn(a,"add",r,o),this},delete(r){const o=Rt(this),{has:a,get:l}=_i(o);let u=a.call(o,r);u||(r=Rt(r),u=a.call(o,r)),l&&l.call(o,r);const f=o.delete(r);return u&&bn(o,"delete",r,void 0),f},clear(){const r=Rt(this),o=r.size!==0,a=r.clear();return o&&bn(r,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=$b(r,t,e)}),n}function Al(t,e){const n=Pb(t,e);return(s,r,o)=>r==="__v_isReactive"?!t:r==="__v_isReadonly"?t:r==="__v_raw"?s:Reflect.get(Dt(n,r)&&r in s?n:s,r,o)}const Db={get:Al(!1,!1)},Lb={get:Al(!1,!0)},Ib={get:Al(!0,!1)};const Hd=new WeakMap,Vd=new WeakMap,Ud=new WeakMap,Mb=new WeakMap;function kb(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Bb(t){return t.__v_skip||!Object.isExtensible(t)?0:kb(cb(t))}function Sn(t){return jn(t)?t:Sl(t,!1,Rb,Db,Hd)}function jd(t){return Sl(t,!1,xb,Lb,Vd)}function qd(t){return Sl(t,!0,Nb,Ib,Ud)}function Sl(t,e,n,s,r){if(!Ht(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=Bb(t);if(o===0)return t;const a=r.get(t);if(a)return a;const l=new Proxy(t,o===2?s:n);return r.set(t,l),l}function Un(t){return jn(t)?Un(t.__v_raw):!!(t&&t.__v_isReactive)}function jn(t){return!!(t&&t.__v_isReadonly)}function Ve(t){return!!(t&&t.__v_isShallow)}function Cl(t){return t?!!t.__v_raw:!1}function Rt(t){const e=t&&t.__v_raw;return e?Rt(e):t}function Ol(t){return!Dt(t,"__v_skip")&&Object.isExtensible(t)&&Ed(t,"__v_skip",!0),t}const le=t=>Ht(t)?Sn(t):t,Ii=t=>Ht(t)?qd(t):t;function Zt(t){return t?t.__v_isRef===!0:!1}function te(t){return Kd(t,!1)}function Fb(t){return Kd(t,!0)}function Kd(t,e){return Zt(t)?t:new Hb(t,e)}class Hb{constructor(e,n){this.dep=new Tl,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:Rt(e),this._value=n?e:le(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,s=this.__v_isShallow||Ve(e)||jn(e);e=s?e:Rt(e),Vn(e,n)&&(this._rawValue=e,this._value=s?e:le(e),this.dep.trigger())}}function Ce(t){return Zt(t)?t.value:t}const Vb={get:(t,e,n)=>e==="__v_raw"?t:Ce(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const r=t[e];return Zt(r)&&!Zt(n)?(r.value=n,!0):Reflect.set(t,e,n,s)}};function Wd(t){return Un(t)?t:new Proxy(t,Vb)}function Ub(t){const e=dt(t)?new Array(t.length):{};for(const n in t)e[n]=qb(t,n);return e}class jb{constructor(e,n,s){this._object=e,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return wb(Rt(this._object),this._key)}}function qb(t,e,n){const s=t[e];return Zt(s)?s:new jb(t,e,n)}class Kb{constructor(e,n,s){this.fn=e,this.setter=n,this._value=void 0,this.dep=new Tl(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Pr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&jt!==this)return $d(this,!0),!0}get value(){const e=this.dep.track();return Ld(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Wb(t,e,n=!1){let s,r;return gt(t)?s=t:(s=t.get,r=t.set),new Kb(s,r,n)}const bi={},Mi=new WeakMap;let ds;function Yb(t,e=!1,n=ds){if(n){let s=Mi.get(n);s||Mi.set(n,s=[]),s.push(t)}}function zb(t,e,n=Ft){const{immediate:s,deep:r,once:o,scheduler:a,augmentJob:l,call:u}=n,f=U=>r?U:Ve(U)||r===!1||r===0?yn(U,1):yn(U);let h,p,_,g,E=!1,A=!1;if(Zt(t)?(p=()=>t.value,E=Ve(t)):Un(t)?(p=()=>f(t),E=!0):dt(t)?(A=!0,E=t.some(U=>Un(U)||Ve(U)),p=()=>t.map(U=>{if(Zt(U))return U.value;if(Un(U))return f(U);if(gt(U))return u?u(U,2):U()})):gt(t)?e?p=u?()=>u(t,2):t:p=()=>{if(_){Tn();try{_()}finally{An()}}const U=ds;ds=h;try{return u?u(t,3,[g]):t(g)}finally{ds=U}}:p=cn,e&&r){const U=p,q=r===!0?1/0:r;p=()=>yn(U(),q)}const H=Rd(),I=()=>{h.stop(),H&&H.active&&gl(H.effects,h)};if(o&&e){const U=e;e=(...q)=>{U(...q),I()}}let F=A?new Array(t.length).fill(bi):bi;const k=U=>{if(!(!(h.flags&1)||!h.dirty&&!U))if(e){const q=h.run();if(r||E||(A?q.some((O,R)=>Vn(O,F[R])):Vn(q,F))){_&&_();const O=ds;ds=h;try{const R=[q,F===bi?void 0:A&&F[0]===bi?[]:F,g];F=q,u?u(e,3,R):e(...R)}finally{ds=O}}}else h.run()};return l&&l(k),h=new Nd(p),h.scheduler=a?()=>a(k,!1):k,g=U=>Yb(U,!1,h),_=h.onStop=()=>{const U=Mi.get(h);if(U){if(u)u(U,4);else for(const q of U)q();Mi.delete(h)}},e?s?k(!0):F=h.run():a?a(k.bind(null,!0),!0):h.run(),I.pause=h.pause.bind(h),I.resume=h.resume.bind(h),I.stop=I,I}function yn(t,e=1/0,n){if(e<=0||!Ht(t)||t.__v_skip||(n=n||new Set,n.has(t)))return t;if(n.add(t),e--,Zt(t))yn(t.value,e,n);else if(dt(t))for(let s=0;s{yn(s,e,n)});else if(yd(t)){for(const s in t)yn(t[s],e,n);for(const s of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,s)&&yn(t[s],e,n)}return t}/** +* @vue/runtime-core v3.5.16 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function jr(t,e,n,s){try{return s?t(...s):t()}catch(r){qr(r,e,n)}}function Ge(t,e,n,s){if(gt(t)){const r=jr(t,e,n,s);return r&&_l(r)&&r.catch(o=>{qr(o,e,n)}),r}if(dt(t)){const r=[];for(let o=0;o>>1,r=Ee[s],o=Lr(r);o=Lr(n)?Ee.push(t):Ee.splice(Jb(e),0,t),t.flags|=1,zd()}}function zd(){ki||(ki=Yd.then(Jd))}function Wa(t){dt(t)?Ys.push(...t):kn&&t.id===-1?kn.splice(js+1,0,t):t.flags&1||(Ys.push(t),t.flags|=1),zd()}function Su(t,e,n=on+1){for(;nLr(n)-Lr(s));if(Ys.length=0,kn){kn.push(...e);return}for(kn=e,js=0;jst.id==null?t.flags&2?-1:1/0:t.id;function Jd(t){try{for(on=0;on{s._d&&ku(-1);const o=Bi(e);let a;try{a=t(...r)}finally{Bi(o),s._d&&ku(1)}return a};return s._n=!0,s._c=!0,s._d=!0,s}function un(t,e){if(Ae===null)return t;const n=io(Ae),s=t.dirs||(t.dirs=[]);for(let r=0;rt.__isTeleport,Bn=Symbol("_leaveCb"),yi=Symbol("_enterCb");function Zd(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ws(()=>{t.isMounted=!0}),uh(()=>{t.isUnmounting=!0}),t}const He=[Function,Array],th={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:He,onEnter:He,onAfterEnter:He,onEnterCancelled:He,onBeforeLeave:He,onLeave:He,onAfterLeave:He,onLeaveCancelled:He,onBeforeAppear:He,onAppear:He,onAfterAppear:He,onAppearCancelled:He},eh=t=>{const e=t.subTree;return e.component?eh(e.component):e},Xb={name:"BaseTransition",props:th,setup(t,{slots:e}){const n=Il(),s=Zd();return()=>{const r=e.default&&Nl(e.default(),!0);if(!r||!r.length)return;const o=nh(r),a=Rt(t),{mode:l}=a;if(s.isLeaving)return ra(o);const u=Cu(o);if(!u)return ra(o);let f=Ir(u,a,s,n,p=>f=p);u.type!==ce&&vs(u,f);let h=n.subTree&&Cu(n.subTree);if(h&&h.type!==ce&&!an(u,h)&&eh(n).type!==ce){let p=Ir(h,a,s,n);if(vs(h,p),l==="out-in"&&u.type!==ce)return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave,h=void 0},ra(o);l==="in-out"&&u.type!==ce?p.delayLeave=(_,g,E)=>{const A=sh(s,h);A[String(h.key)]=h,_[Bn]=()=>{g(),_[Bn]=void 0,delete f.delayedLeave,h=void 0},f.delayedLeave=()=>{E(),delete f.delayedLeave,h=void 0}}:h=void 0}else h&&(h=void 0);return o}}};function nh(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==ce){e=n;break}}return e}const Zb=Xb;function sh(t,e){const{leavingVNodes:n}=t;let s=n.get(e.type);return s||(s=Object.create(null),n.set(e.type,s)),s}function Ir(t,e,n,s,r){const{appear:o,mode:a,persisted:l=!1,onBeforeEnter:u,onEnter:f,onAfterEnter:h,onEnterCancelled:p,onBeforeLeave:_,onLeave:g,onAfterLeave:E,onLeaveCancelled:A,onBeforeAppear:H,onAppear:I,onAfterAppear:F,onAppearCancelled:k}=e,U=String(t.key),q=sh(n,t),O=(S,L)=>{S&&Ge(S,s,9,L)},R=(S,L)=>{const M=L[1];O(S,L),dt(S)?S.every(D=>D.length<=1)&&M():S.length<=1&&M()},w={mode:a,persisted:l,beforeEnter(S){let L=u;if(!n.isMounted)if(o)L=H||u;else return;S[Bn]&&S[Bn](!0);const M=q[U];M&&an(t,M)&&M.el[Bn]&&M.el[Bn](),O(L,[S])},enter(S){let L=f,M=h,D=p;if(!n.isMounted)if(o)L=I||f,M=F||h,D=k||p;else return;let z=!1;const j=S[yi]=X=>{z||(z=!0,X?O(D,[S]):O(M,[S]),w.delayedLeave&&w.delayedLeave(),S[yi]=void 0)};L?R(L,[S,j]):j()},leave(S,L){const M=String(t.key);if(S[yi]&&S[yi](!0),n.isUnmounting)return L();O(_,[S]);let D=!1;const z=S[Bn]=j=>{D||(D=!0,L(),j?O(A,[S]):O(E,[S]),S[Bn]=void 0,q[M]===t&&delete q[M])};q[M]=t,g?R(g,[S,z]):z()},clone(S){const L=Ir(S,e,n,s,r);return r&&r(L),L}};return w}function ra(t){if(Zi(t))return t=qn(t),t.children=null,t}function Cu(t){if(!Zi(t))return Xd(t.type)&&t.children?nh(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&>(n.default))return n.default()}}function vs(t,e){t.shapeFlag&6&&t.component?(t.transition=e,vs(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Nl(t,e=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;oFi(E,e&&(dt(e)?e[A]:e),n,s,r));return}if(Cr(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Fi(t,e,n,s.component.subTree);return}const o=s.shapeFlag&4?io(s.component):s.el,a=r?null:o,{i:l,r:u}=t,f=e&&e.r,h=l.refs===Ft?l.refs={}:l.refs,p=l.setupState,_=Rt(p),g=p===Ft?()=>!1:E=>Dt(_,E);if(f!=null&&f!==u&&(Jt(f)?(h[f]=null,g(f)&&(p[f]=null)):Zt(f)&&(f.value=null)),gt(u))jr(u,l,12,[a,h]);else{const E=Jt(u),A=Zt(u);if(E||A){const H=()=>{if(t.f){const I=E?g(u)?p[u]:h[u]:u.value;r?dt(I)&&gl(I,o):dt(I)?I.includes(o)||I.push(o):E?(h[u]=[o],g(u)&&(p[u]=h[u])):(u.value=[o],t.k&&(h[t.k]=u.value))}else E?(h[u]=a,g(u)&&(p[u]=a)):A&&(u.value=a,t.k&&(h[t.k]=a))};a?(H.id=-1,Ie(H,n)):H()}}}Gi().requestIdleCallback;Gi().cancelIdleCallback;const Cr=t=>!!t.type.__asyncLoader,Zi=t=>t.type.__isKeepAlive;function oh(t,e){lh(t,"a",e)}function ah(t,e){lh(t,"da",e)}function lh(t,e,n=re){const s=t.__wdc||(t.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return t()});if(to(e,s,n),n){let r=n.parent;for(;r&&r.parent;)Zi(r.parent.vnode)&&ty(s,e,n,r),r=r.parent}}function ty(t,e,n,s){const r=to(e,t,s,!0);xl(()=>{gl(s[e],r)},n)}function to(t,e,n=re,s=!1){if(n){const r=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...a)=>{Tn();const l=bs(n),u=Ge(e,n,t,a);return l(),An(),u});return s?r.unshift(o):r.push(o),o}}const Cn=t=>(e,n=re)=>{(!Br||t==="sp")&&to(t,(...s)=>e(...s),n)},ey=Cn("bm"),ws=Cn("m"),ny=Cn("bu"),ch=Cn("u"),uh=Cn("bum"),xl=Cn("um"),sy=Cn("sp"),ry=Cn("rtg"),iy=Cn("rtc");function oy(t,e=re){to("ec",t,e)}const fh="components";function Kr(t,e){return hh(fh,t,!0,e)||t}const dh=Symbol.for("v-ndc");function ay(t){return Jt(t)?hh(fh,t,!1)||t:t||dh}function hh(t,e,n=!0,s=!1){const r=Ae||re;if(r){const o=r.type;{const l=Zy(o,!1);if(l&&(l===e||l===je(e)||l===zi(je(e))))return o}const a=Ou(r[t]||o[t],e)||Ou(r.appContext[t],e);return!a&&s?o:a}}function Ou(t,e){return t&&(t[e]||t[je(e)]||t[zi(je(e))])}function eo(t,e,n,s){let r;const o=n,a=dt(t);if(a||Jt(t)){const l=a&&Un(t);let u=!1,f=!1;l&&(u=!Ve(t),f=jn(t),t=Qi(t)),r=new Array(t.length);for(let h=0,p=t.length;he(l,u,void 0,o));else{const l=Object.keys(t);r=new Array(l.length);for(let u=0,f=l.length;ut?Mh(t)?io(t):Ya(t.parent):null,Or=ne(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Ya(t.parent),$root:t=>Ya(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>mh(t),$forceUpdate:t=>t.f||(t.f=()=>{Rl(t.update)}),$nextTick:t=>t.n||(t.n=Xi.bind(t.proxy)),$watch:t=>Ny.bind(t)}),ia=(t,e)=>t!==Ft&&!t.__isScriptSetup&&Dt(t,e),ly={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:a,type:l,appContext:u}=t;let f;if(e[0]!=="$"){const g=a[e];if(g!==void 0)switch(g){case 1:return s[e];case 2:return r[e];case 4:return n[e];case 3:return o[e]}else{if(ia(s,e))return a[e]=1,s[e];if(r!==Ft&&Dt(r,e))return a[e]=2,r[e];if((f=t.propsOptions[0])&&Dt(f,e))return a[e]=3,o[e];if(n!==Ft&&Dt(n,e))return a[e]=4,n[e];za&&(a[e]=0)}}const h=Or[e];let p,_;if(h)return e==="$attrs"&&he(t.attrs,"get",""),h(t);if((p=l.__cssModules)&&(p=p[e]))return p;if(n!==Ft&&Dt(n,e))return a[e]=4,n[e];if(_=u.config.globalProperties,Dt(_,e))return _[e]},set({_:t},e,n){const{data:s,setupState:r,ctx:o}=t;return ia(r,e)?(r[e]=n,!0):s!==Ft&&Dt(s,e)?(s[e]=n,!0):Dt(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(o[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:s,appContext:r,propsOptions:o}},a){let l;return!!n[a]||t!==Ft&&Dt(t,a)||ia(e,a)||(l=o[0])&&Dt(l,a)||Dt(s,a)||Dt(Or,a)||Dt(r.config.globalProperties,a)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:Dt(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function Ru(t){return dt(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function no(t){const e=Il();let n=t();return Za(),_l(n)&&(n=n.catch(s=>{throw bs(e),s})),[n,()=>bs(e)]}let za=!0;function cy(t){const e=mh(t),n=t.proxy,s=t.ctx;za=!1,e.beforeCreate&&Nu(e.beforeCreate,t,"bc");const{data:r,computed:o,methods:a,watch:l,provide:u,inject:f,created:h,beforeMount:p,mounted:_,beforeUpdate:g,updated:E,activated:A,deactivated:H,beforeDestroy:I,beforeUnmount:F,destroyed:k,unmounted:U,render:q,renderTracked:O,renderTriggered:R,errorCaptured:w,serverPrefetch:S,expose:L,inheritAttrs:M,components:D,directives:z,filters:j}=e;if(f&&uy(f,s,null),a)for(const Q in a){const J=a[Q];gt(J)&&(s[Q]=J.bind(n))}if(r){const Q=r.call(n,n);Ht(Q)&&(t.data=Sn(Q))}if(za=!0,o)for(const Q in o){const J=o[Q],ct=gt(J)?J.bind(n,n):gt(J.get)?J.get.bind(n,n):cn,ut=!gt(J)&>(J.set)?J.set.bind(n):cn,_t=zt({get:ct,set:ut});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>_t.value,set:bt=>_t.value=bt})}if(l)for(const Q in l)ph(l[Q],s,n,Q);if(u){const Q=gt(u)?u.call(n):u;Reflect.ownKeys(Q).forEach(J=>{Ai(J,Q[J])})}h&&Nu(h,t,"c");function Y(Q,J){dt(J)?J.forEach(ct=>Q(ct.bind(n))):J&&Q(J.bind(n))}if(Y(ey,p),Y(ws,_),Y(ny,g),Y(ch,E),Y(oh,A),Y(ah,H),Y(oy,w),Y(iy,O),Y(ry,R),Y(uh,F),Y(xl,U),Y(sy,S),dt(L))if(L.length){const Q=t.exposed||(t.exposed={});L.forEach(J=>{Object.defineProperty(Q,J,{get:()=>n[J],set:ct=>n[J]=ct})})}else t.exposed||(t.exposed={});q&&t.render===cn&&(t.render=q),M!=null&&(t.inheritAttrs=M),D&&(t.components=D),z&&(t.directives=z),S&&ih(t)}function uy(t,e,n=cn){dt(t)&&(t=Ga(t));for(const s in t){const r=t[s];let o;Ht(r)?"default"in r?o=Me(r.from||s,r.default,!0):o=Me(r.from||s):o=Me(r),Zt(o)?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):e[s]=o}}function Nu(t,e,n){Ge(dt(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function ph(t,e,n,s){let r=s.includes(".")?Rh(n,s):()=>n[s];if(Jt(t)){const o=e[t];gt(o)&&zs(r,o)}else if(gt(t))zs(r,t.bind(n));else if(Ht(t))if(dt(t))t.forEach(o=>ph(o,e,n,s));else{const o=gt(t.handler)?t.handler.bind(n):e[t.handler];gt(o)&&zs(r,o,t)}}function mh(t){const e=t.type,{mixins:n,extends:s}=e,{mixins:r,optionsCache:o,config:{optionMergeStrategies:a}}=t.appContext,l=o.get(e);let u;return l?u=l:!r.length&&!n&&!s?u=e:(u={},r.length&&r.forEach(f=>Hi(u,f,a,!0)),Hi(u,e,a)),Ht(e)&&o.set(e,u),u}function Hi(t,e,n,s=!1){const{mixins:r,extends:o}=e;o&&Hi(t,o,n,!0),r&&r.forEach(a=>Hi(t,a,n,!0));for(const a in e)if(!(s&&a==="expose")){const l=fy[a]||n&&n[a];t[a]=l?l(t[a],e[a]):e[a]}return t}const fy={data:xu,props:$u,emits:$u,methods:Er,computed:Er,beforeCreate:ye,created:ye,beforeMount:ye,mounted:ye,beforeUpdate:ye,updated:ye,beforeDestroy:ye,beforeUnmount:ye,destroyed:ye,unmounted:ye,activated:ye,deactivated:ye,errorCaptured:ye,serverPrefetch:ye,components:Er,directives:Er,watch:hy,provide:xu,inject:dy};function xu(t,e){return e?t?function(){return ne(gt(t)?t.call(this,this):t,gt(e)?e.call(this,this):e)}:e:t}function dy(t,e){return Er(Ga(t),Ga(e))}function Ga(t){if(dt(t)){const e={};for(let n=0;n1)return n&>(e)?e.call(s&&s.proxy):e}}function gy(){return!!(re||Ae||ms)}const _h={},vh=()=>Object.create(_h),bh=t=>Object.getPrototypeOf(t)===_h;function _y(t,e,n,s=!1){const r={},o=vh();t.propsDefaults=Object.create(null),yh(t,e,r,o);for(const a in t.propsOptions[0])a in r||(r[a]=void 0);n?t.props=s?r:jd(r):t.type.props?t.props=r:t.props=o,t.attrs=o}function vy(t,e,n,s){const{props:r,attrs:o,vnode:{patchFlag:a}}=t,l=Rt(r),[u]=t.propsOptions;let f=!1;if((s||a>0)&&!(a&16)){if(a&8){const h=t.vnode.dynamicProps;for(let p=0;p{u=!0;const[_,g]=Eh(p,e,!0);ne(a,_),g&&l.push(...g)};!n&&e.mixins.length&&e.mixins.forEach(h),t.extends&&h(t.extends),t.mixins&&t.mixins.forEach(h)}if(!o&&!u)return Ht(t)&&s.set(t,Ks),Ks;if(dt(o))for(let h=0;ht[0]==="_"||t==="$stable",Pl=t=>dt(t)?t.map(Ye):[Ye(t)],yy=(t,e,n)=>{if(e._n)return e;const s=Oe((...r)=>Pl(e(...r)),n);return s._c=!1,s},wh=(t,e,n)=>{const s=t._ctx;for(const r in t){if($l(r))continue;const o=t[r];if(gt(o))e[r]=yy(r,o,s);else if(o!=null){const a=Pl(o);e[r]=()=>a}}},Th=(t,e)=>{const n=Pl(e);t.slots.default=()=>n},Ah=(t,e,n)=>{for(const s in e)(n||!$l(s))&&(t[s]=e[s])},Ey=(t,e,n)=>{const s=t.slots=vh();if(t.vnode.shapeFlag&32){const r=e._;r?(Ah(s,e,n),n&&Ed(s,"_",r,!0)):wh(e,s)}else e&&Th(t,e)},wy=(t,e,n)=>{const{vnode:s,slots:r}=t;let o=!0,a=Ft;if(s.shapeFlag&32){const l=e._;l?n&&l===1?o=!1:Ah(r,e,n):(o=!e.$stable,wh(e,r)),a=e}else e&&(Th(t,e),a={default:1});if(o)for(const l in r)!$l(l)&&a[l]==null&&delete r[l]},Ie=Vy;function Ty(t){return Ay(t)}function Ay(t,e){const n=Gi();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:a,createText:l,createComment:u,setText:f,setElementText:h,parentNode:p,nextSibling:_,setScopeId:g=cn,insertStaticContent:E}=t,A=(v,b,C,K=null,G=null,N=null,ot=void 0,rt=null,st=!!b.dynamicChildren)=>{if(v===b)return;v&&!an(v,b)&&(K=V(v),bt(v,G,N,!0),v=null),b.patchFlag===-2&&(st=!1,b.dynamicChildren=null);const{type:Z,ref:ht,shapeFlag:at}=b;switch(Z){case ro:H(v,b,C,K);break;case ce:I(v,b,C,K);break;case aa:v==null&&F(b,C,K,ot);break;case we:D(v,b,C,K,G,N,ot,rt,st);break;default:at&1?q(v,b,C,K,G,N,ot,rt,st):at&6?z(v,b,C,K,G,N,ot,rt,st):(at&64||at&128)&&Z.process(v,b,C,K,G,N,ot,rt,st,it)}ht!=null&&G&&Fi(ht,v&&v.ref,N,b||v,!b)},H=(v,b,C,K)=>{if(v==null)s(b.el=l(b.children),C,K);else{const G=b.el=v.el;b.children!==v.children&&f(G,b.children)}},I=(v,b,C,K)=>{v==null?s(b.el=u(b.children||""),C,K):b.el=v.el},F=(v,b,C,K)=>{[v.el,v.anchor]=E(v.children,b,C,K,v.el,v.anchor)},k=({el:v,anchor:b},C,K)=>{let G;for(;v&&v!==b;)G=_(v),s(v,C,K),v=G;s(b,C,K)},U=({el:v,anchor:b})=>{let C;for(;v&&v!==b;)C=_(v),r(v),v=C;r(b)},q=(v,b,C,K,G,N,ot,rt,st)=>{b.type==="svg"?ot="svg":b.type==="math"&&(ot="mathml"),v==null?O(b,C,K,G,N,ot,rt,st):S(v,b,G,N,ot,rt,st)},O=(v,b,C,K,G,N,ot,rt)=>{let st,Z;const{props:ht,shapeFlag:at,transition:ft,dirs:pt}=v;if(st=v.el=a(v.type,N,ht&&ht.is,ht),at&8?h(st,v.children):at&16&&w(v.children,st,null,K,G,oa(v,N),ot,rt),pt&&cs(v,null,K,"created"),R(st,v,v.scopeId,ot,K),ht){for(const Mt in ht)Mt!=="value"&&!Tr(Mt)&&o(st,Mt,null,ht[Mt],N,K);"value"in ht&&o(st,"value",null,ht.value,N),(Z=ht.onVnodeBeforeMount)&&en(Z,K,v)}pt&&cs(v,null,K,"beforeMount");const wt=Sy(G,ft);wt&&ft.beforeEnter(st),s(st,b,C),((Z=ht&&ht.onVnodeMounted)||wt||pt)&&Ie(()=>{Z&&en(Z,K,v),wt&&ft.enter(st),pt&&cs(v,null,K,"mounted")},G)},R=(v,b,C,K,G)=>{if(C&&g(v,C),K)for(let N=0;N{for(let Z=st;Z{const rt=b.el=v.el;let{patchFlag:st,dynamicChildren:Z,dirs:ht}=b;st|=v.patchFlag&16;const at=v.props||Ft,ft=b.props||Ft;let pt;if(C&&us(C,!1),(pt=ft.onVnodeBeforeUpdate)&&en(pt,C,b,v),ht&&cs(b,v,C,"beforeUpdate"),C&&us(C,!0),(at.innerHTML&&ft.innerHTML==null||at.textContent&&ft.textContent==null)&&h(rt,""),Z?L(v.dynamicChildren,Z,rt,C,K,oa(b,G),N):ot||J(v,b,rt,null,C,K,oa(b,G),N,!1),st>0){if(st&16)M(rt,at,ft,C,G);else if(st&2&&at.class!==ft.class&&o(rt,"class",null,ft.class,G),st&4&&o(rt,"style",at.style,ft.style,G),st&8){const wt=b.dynamicProps;for(let Mt=0;Mt{pt&&en(pt,C,b,v),ht&&cs(b,v,C,"updated")},K)},L=(v,b,C,K,G,N,ot)=>{for(let rt=0;rt{if(b!==C){if(b!==Ft)for(const N in b)!Tr(N)&&!(N in C)&&o(v,N,b[N],null,G,K);for(const N in C){if(Tr(N))continue;const ot=C[N],rt=b[N];ot!==rt&&N!=="value"&&o(v,N,rt,ot,G,K)}"value"in C&&o(v,"value",b.value,C.value,G)}},D=(v,b,C,K,G,N,ot,rt,st)=>{const Z=b.el=v?v.el:l(""),ht=b.anchor=v?v.anchor:l("");let{patchFlag:at,dynamicChildren:ft,slotScopeIds:pt}=b;pt&&(rt=rt?rt.concat(pt):pt),v==null?(s(Z,C,K),s(ht,C,K),w(b.children||[],C,ht,G,N,ot,rt,st)):at>0&&at&64&&ft&&v.dynamicChildren?(L(v.dynamicChildren,ft,C,G,N,ot,rt),(b.key!=null||G&&b===G.subTree)&&Sh(v,b,!0)):J(v,b,C,ht,G,N,ot,rt,st)},z=(v,b,C,K,G,N,ot,rt,st)=>{b.slotScopeIds=rt,v==null?b.shapeFlag&512?G.ctx.activate(b,C,K,ot,st):j(b,C,K,G,N,ot,st):X(v,b,st)},j=(v,b,C,K,G,N,ot)=>{const rt=v.component=zy(v,K,G);if(Zi(v)&&(rt.ctx.renderer=it),Gy(rt,!1,ot),rt.asyncDep){if(G&&G.registerDep(rt,Y,ot),!v.el){const st=rt.subTree=Lt(ce);I(null,st,b,C)}}else Y(rt,v,b,C,G,N,ot)},X=(v,b,C)=>{const K=b.component=v.component;if(Iy(v,b,C))if(K.asyncDep&&!K.asyncResolved){Q(K,b,C);return}else K.next=b,K.update();else b.el=v.el,K.vnode=b},Y=(v,b,C,K,G,N,ot)=>{const rt=()=>{if(v.isMounted){let{next:at,bu:ft,u:pt,parent:wt,vnode:Mt}=v;{const xe=Ch(v);if(xe){at&&(at.el=Mt.el,Q(v,at,ot)),xe.asyncDep.then(()=>{v.isUnmounted||rt()});return}}let $t=at,me;us(v,!1),at?(at.el=Mt.el,Q(v,at,ot)):at=Mt,ft&&Ti(ft),(me=at.props&&at.props.onVnodeBeforeUpdate)&&en(me,wt,at,Mt),us(v,!0);const ue=Lu(v),ke=v.subTree;v.subTree=ue,A(ke,ue,p(ke.el),V(ke),v,G,N),at.el=ue.el,$t===null&&Dl(v,ue.el),pt&&Ie(pt,G),(me=at.props&&at.props.onVnodeUpdated)&&Ie(()=>en(me,wt,at,Mt),G)}else{let at;const{el:ft,props:pt}=b,{bm:wt,m:Mt,parent:$t,root:me,type:ue}=v,ke=Cr(b);us(v,!1),wt&&Ti(wt),!ke&&(at=pt&&pt.onVnodeBeforeMount)&&en(at,$t,b),us(v,!0);{me.ce&&me.ce._injectChildStyle(ue);const xe=v.subTree=Lu(v);A(null,xe,C,K,v,G,N),b.el=xe.el}if(Mt&&Ie(Mt,G),!ke&&(at=pt&&pt.onVnodeMounted)){const xe=b;Ie(()=>en(at,$t,xe),G)}(b.shapeFlag&256||$t&&Cr($t.vnode)&&$t.vnode.shapeFlag&256)&&v.a&&Ie(v.a,G),v.isMounted=!0,b=C=K=null}};v.scope.on();const st=v.effect=new Nd(rt);v.scope.off();const Z=v.update=st.run.bind(st),ht=v.job=st.runIfDirty.bind(st);ht.i=v,ht.id=v.uid,st.scheduler=()=>Rl(ht),us(v,!0),Z()},Q=(v,b,C)=>{b.component=v;const K=v.vnode.props;v.vnode=b,v.next=null,vy(v,b.props,K,C),wy(v,b.children,C),Tn(),Su(v),An()},J=(v,b,C,K,G,N,ot,rt,st=!1)=>{const Z=v&&v.children,ht=v?v.shapeFlag:0,at=b.children,{patchFlag:ft,shapeFlag:pt}=b;if(ft>0){if(ft&128){ut(Z,at,C,K,G,N,ot,rt,st);return}else if(ft&256){ct(Z,at,C,K,G,N,ot,rt,st);return}}pt&8?(ht&16&&Wt(Z,G,N),at!==Z&&h(C,at)):ht&16?pt&16?ut(Z,at,C,K,G,N,ot,rt,st):Wt(Z,G,N,!0):(ht&8&&h(C,""),pt&16&&w(at,C,K,G,N,ot,rt,st))},ct=(v,b,C,K,G,N,ot,rt,st)=>{v=v||Ks,b=b||Ks;const Z=v.length,ht=b.length,at=Math.min(Z,ht);let ft;for(ft=0;ftht?Wt(v,G,N,!0,!1,at):w(b,C,K,G,N,ot,rt,st,at)},ut=(v,b,C,K,G,N,ot,rt,st)=>{let Z=0;const ht=b.length;let at=v.length-1,ft=ht-1;for(;Z<=at&&Z<=ft;){const pt=v[Z],wt=b[Z]=st?Fn(b[Z]):Ye(b[Z]);if(an(pt,wt))A(pt,wt,C,null,G,N,ot,rt,st);else break;Z++}for(;Z<=at&&Z<=ft;){const pt=v[at],wt=b[ft]=st?Fn(b[ft]):Ye(b[ft]);if(an(pt,wt))A(pt,wt,C,null,G,N,ot,rt,st);else break;at--,ft--}if(Z>at){if(Z<=ft){const pt=ft+1,wt=ptft)for(;Z<=at;)bt(v[Z],G,N,!0),Z++;else{const pt=Z,wt=Z,Mt=new Map;for(Z=wt;Z<=ft;Z++){const ge=b[Z]=st?Fn(b[Z]):Ye(b[Z]);ge.key!=null&&Mt.set(ge.key,Z)}let $t,me=0;const ue=ft-wt+1;let ke=!1,xe=0;const Yn=new Array(ue);for(Z=0;Z=ue){bt(ge,G,N,!0);continue}let ie;if(ge.key!=null)ie=Mt.get(ge.key);else for($t=wt;$t<=ft;$t++)if(Yn[$t-wt]===0&&an(ge,b[$t])){ie=$t;break}ie===void 0?bt(ge,G,N,!0):(Yn[ie-wt]=Z+1,ie>=xe?xe=ie:ke=!0,A(ge,b[ie],C,null,G,N,ot,rt,st),me++)}const On=ke?Cy(Yn):Ks;for($t=On.length-1,Z=ue-1;Z>=0;Z--){const ge=wt+Z,ie=b[ge],zr=ge+1{const{el:N,type:ot,transition:rt,children:st,shapeFlag:Z}=v;if(Z&6){_t(v.component.subTree,b,C,K);return}if(Z&128){v.suspense.move(b,C,K);return}if(Z&64){ot.move(v,b,C,it);return}if(ot===we){s(N,b,C);for(let at=0;atrt.enter(N),G);else{const{leave:at,delayLeave:ft,afterLeave:pt}=rt,wt=()=>{v.ctx.isUnmounted?r(N):s(N,b,C)},Mt=()=>{at(N,()=>{wt(),pt&&pt()})};ft?ft(N,wt,Mt):Mt()}else s(N,b,C)},bt=(v,b,C,K=!1,G=!1)=>{const{type:N,props:ot,ref:rt,children:st,dynamicChildren:Z,shapeFlag:ht,patchFlag:at,dirs:ft,cacheIndex:pt}=v;if(at===-2&&(G=!1),rt!=null&&(Tn(),Fi(rt,null,C,v,!0),An()),pt!=null&&(b.renderCache[pt]=void 0),ht&256){b.ctx.deactivate(v);return}const wt=ht&1&&ft,Mt=!Cr(v);let $t;if(Mt&&($t=ot&&ot.onVnodeBeforeUnmount)&&en($t,b,v),ht&6)qt(v.component,C,K);else{if(ht&128){v.suspense.unmount(C,K);return}wt&&cs(v,null,b,"beforeUnmount"),ht&64?v.type.remove(v,b,C,it,K):Z&&!Z.hasOnce&&(N!==we||at>0&&at&64)?Wt(Z,b,C,!1,!0):(N===we&&at&384||!G&&ht&16)&&Wt(st,b,C),K&&Nt(v)}(Mt&&($t=ot&&ot.onVnodeUnmounted)||wt)&&Ie(()=>{$t&&en($t,b,v),wt&&cs(v,null,b,"unmounted")},C)},Nt=v=>{const{type:b,el:C,anchor:K,transition:G}=v;if(b===we){It(C,K);return}if(b===aa){U(v);return}const N=()=>{r(C),G&&!G.persisted&&G.afterLeave&&G.afterLeave()};if(v.shapeFlag&1&&G&&!G.persisted){const{leave:ot,delayLeave:rt}=G,st=()=>ot(C,N);rt?rt(v.el,N,st):st()}else N()},It=(v,b)=>{let C;for(;v!==b;)C=_(v),r(v),v=C;r(b)},qt=(v,b,C)=>{const{bum:K,scope:G,job:N,subTree:ot,um:rt,m:st,a:Z,parent:ht,slots:{__:at}}=v;Du(st),Du(Z),K&&Ti(K),ht&&dt(at)&&at.forEach(ft=>{ht.renderCache[ft]=void 0}),G.stop(),N&&(N.flags|=8,bt(ot,v,b,C)),rt&&Ie(rt,b),Ie(()=>{v.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},Wt=(v,b,C,K=!1,G=!1,N=0)=>{for(let ot=N;ot{if(v.shapeFlag&6)return V(v.component.subTree);if(v.shapeFlag&128)return v.suspense.next();const b=_(v.anchor||v.el),C=b&&b[Qb];return C?_(C):b};let T=!1;const et=(v,b,C)=>{v==null?b._vnode&&bt(b._vnode,null,null,!0):A(b._vnode||null,v,b,null,null,null,C),b._vnode=v,T||(T=!0,Su(),Gd(),T=!1)},it={p:A,um:bt,m:_t,r:Nt,mt:j,mc:w,pc:J,pbc:L,n:V,o:t};return{render:et,hydrate:void 0,createApp:my(et)}}function oa({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function us({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Sy(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Sh(t,e,n=!1){const s=t.children,r=e.children;if(dt(s)&&dt(r))for(let o=0;o>1,t[n[l]]0&&(e[s]=n[o-1]),n[o]=s)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=e[a];return n}function Ch(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Ch(e)}function Du(t){if(t)for(let e=0;eMe(Oy);function zs(t,e,n){return Oh(t,e,n)}function Oh(t,e,n=Ft){const{immediate:s,deep:r,flush:o,once:a}=n,l=ne({},n),u=e&&s||!e&&o!=="post";let f;if(Br){if(o==="sync"){const g=Ry();f=g.__watcherHandles||(g.__watcherHandles=[])}else if(!u){const g=()=>{};return g.stop=cn,g.resume=cn,g.pause=cn,g}}const h=re;l.call=(g,E,A)=>Ge(g,h,E,A);let p=!1;o==="post"?l.scheduler=g=>{Ie(g,h&&h.suspense)}:o!=="sync"&&(p=!0,l.scheduler=(g,E)=>{E?g():Rl(g)}),l.augmentJob=g=>{e&&(g.flags|=4),p&&(g.flags|=2,h&&(g.id=h.uid,g.i=h))};const _=zb(t,e,l);return Br&&(f?f.push(_):u&&_()),_}function Ny(t,e,n){const s=this.proxy,r=Jt(t)?t.includes(".")?Rh(s,t):()=>s[t]:t.bind(s,s);let o;gt(e)?o=e:(o=e.handler,n=e);const a=bs(this),l=Oh(r,o.bind(s),n);return a(),l}function Rh(t,e){const n=e.split(".");return()=>{let s=t;for(let r=0;re==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${je(e)}Modifiers`]||t[`${Es(e)}Modifiers`];function $y(t,e,...n){if(t.isUnmounted)return;const s=t.vnode.props||Ft;let r=n;const o=e.startsWith("update:"),a=o&&xy(s,e.slice(7));a&&(a.trim&&(r=n.map(h=>Jt(h)?h.trim():h)),a.number&&(r=n.map(Di)));let l,u=s[l=Zo(e)]||s[l=Zo(je(e))];!u&&o&&(u=s[l=Zo(Es(e))]),u&&Ge(u,t,6,r);const f=s[l+"Once"];if(f){if(!t.emitted)t.emitted={};else if(t.emitted[l])return;t.emitted[l]=!0,Ge(f,t,6,r)}}function Nh(t,e,n=!1){const s=e.emitsCache,r=s.get(t);if(r!==void 0)return r;const o=t.emits;let a={},l=!1;if(!gt(t)){const u=f=>{const h=Nh(f,e,!0);h&&(l=!0,ne(a,h))};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}return!o&&!l?(Ht(t)&&s.set(t,null),null):(dt(o)?o.forEach(u=>a[u]=null):ne(a,o),Ht(t)&&s.set(t,a),a)}function so(t,e){return!t||!Wi(e)?!1:(e=e.slice(2).replace(/Once$/,""),Dt(t,e[0].toLowerCase()+e.slice(1))||Dt(t,Es(e))||Dt(t,e))}function Lu(t){const{type:e,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:a,attrs:l,emit:u,render:f,renderCache:h,props:p,data:_,setupState:g,ctx:E,inheritAttrs:A}=t,H=Bi(t);let I,F;try{if(n.shapeFlag&4){const U=r||s,q=U;I=Ye(f.call(q,U,h,p,g,_,E)),F=l}else{const U=e;I=Ye(U.length>1?U(p,{attrs:l,slots:a,emit:u}):U(p,null)),F=e.props?l:Dy(l)}}catch(U){Rr.length=0,qr(U,t,1),I=Lt(ce)}let k=I;if(F&&A!==!1){const U=Object.keys(F),{shapeFlag:q}=k;U.length&&q&7&&(o&&U.some(ml)&&(F=Ly(F,o)),k=qn(k,F,!1,!0))}return n.dirs&&(k=qn(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&vs(k,n.transition),I=k,Bi(H),I}function Py(t,e=!0){let n;for(let s=0;s{let e;for(const n in t)(n==="class"||n==="style"||Wi(n))&&((e||(e={}))[n]=t[n]);return e},Ly=(t,e)=>{const n={};for(const s in t)(!ml(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function Iy(t,e,n){const{props:s,children:r,component:o}=t,{props:a,children:l,patchFlag:u}=e,f=o.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?Iu(s,a,f):!!a;if(u&8){const h=e.dynamicProps;for(let p=0;pt.__isSuspense;let Qa=0;const My={name:"Suspense",__isSuspense:!0,process(t,e,n,s,r,o,a,l,u,f){if(t==null)ky(e,n,s,r,o,a,l,u,f);else{if(o&&o.deps>0&&!t.suspense.isInFallback){e.suspense=t.suspense,e.suspense.vnode=e,e.el=t.el;return}By(t,e,n,s,r,a,l,u,f)}},hydrate:Fy,normalize:Hy},$h=My;function Mr(t,e){const n=t.props&&t.props[e];gt(n)&&n()}function ky(t,e,n,s,r,o,a,l,u){const{p:f,o:{createElement:h}}=u,p=h("div"),_=t.suspense=Ph(t,r,s,e,p,n,o,a,l,u);f(null,_.pendingBranch=t.ssContent,p,null,s,_,o,a),_.deps>0?(Mr(t,"onPending"),Mr(t,"onFallback"),f(null,t.ssFallback,e,n,s,null,o,a),Gs(_,t.ssFallback)):_.resolve(!1,!0)}function By(t,e,n,s,r,o,a,l,{p:u,um:f,o:{createElement:h}}){const p=e.suspense=t.suspense;p.vnode=e,e.el=t.el;const _=e.ssContent,g=e.ssFallback,{activeBranch:E,pendingBranch:A,isInFallback:H,isHydrating:I}=p;if(A)p.pendingBranch=_,an(_,A)?(u(A,_,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0?p.resolve():H&&(I||(u(E,g,n,s,r,null,o,a,l),Gs(p,g)))):(p.pendingId=Qa++,I?(p.isHydrating=!1,p.activeBranch=A):f(A,r,p),p.deps=0,p.effects.length=0,p.hiddenContainer=h("div"),H?(u(null,_,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0?p.resolve():(u(E,g,n,s,r,null,o,a,l),Gs(p,g))):E&&an(_,E)?(u(E,_,n,s,r,p,o,a,l),p.resolve(!0)):(u(null,_,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0&&p.resolve()));else if(E&&an(_,E))u(E,_,n,s,r,p,o,a,l),Gs(p,_);else if(Mr(e,"onPending"),p.pendingBranch=_,_.shapeFlag&512?p.pendingId=_.component.suspenseId:p.pendingId=Qa++,u(null,_,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0)p.resolve();else{const{timeout:F,pendingId:k}=p;F>0?setTimeout(()=>{p.pendingId===k&&p.fallback(g)},F):F===0&&p.fallback(g)}}function Ph(t,e,n,s,r,o,a,l,u,f,h=!1){const{p,m:_,um:g,n:E,o:{parentNode:A,remove:H}}=f;let I;const F=Uy(t);F&&e&&e.pendingBranch&&(I=e.pendingId,e.deps++);const k=t.props?wd(t.props.timeout):void 0,U=o,q={vnode:t,parent:e,parentComponent:n,namespace:a,container:s,hiddenContainer:r,deps:0,pendingId:Qa++,timeout:typeof k=="number"?k:-1,activeBranch:null,pendingBranch:null,isInFallback:!h,isHydrating:h,isUnmounted:!1,effects:[],resolve(O=!1,R=!1){const{vnode:w,activeBranch:S,pendingBranch:L,pendingId:M,effects:D,parentComponent:z,container:j}=q;let X=!1;q.isHydrating?q.isHydrating=!1:O||(X=S&&L.transition&&L.transition.mode==="out-in",X&&(S.transition.afterLeave=()=>{M===q.pendingId&&(_(L,j,o===U?E(S):o,0),Wa(D))}),S&&(A(S.el)===j&&(o=E(S)),g(S,z,q,!0)),X||_(L,j,o,0)),Gs(q,L),q.pendingBranch=null,q.isInFallback=!1;let Y=q.parent,Q=!1;for(;Y;){if(Y.pendingBranch){Y.effects.push(...D),Q=!0;break}Y=Y.parent}!Q&&!X&&Wa(D),q.effects=[],F&&e&&e.pendingBranch&&I===e.pendingId&&(e.deps--,e.deps===0&&!R&&e.resolve()),Mr(w,"onResolve")},fallback(O){if(!q.pendingBranch)return;const{vnode:R,activeBranch:w,parentComponent:S,container:L,namespace:M}=q;Mr(R,"onFallback");const D=E(w),z=()=>{q.isInFallback&&(p(null,O,L,D,S,null,M,l,u),Gs(q,O))},j=O.transition&&O.transition.mode==="out-in";j&&(w.transition.afterLeave=z),q.isInFallback=!0,g(w,S,null,!0),j||z()},move(O,R,w){q.activeBranch&&_(q.activeBranch,O,R,w),q.container=O},next(){return q.activeBranch&&E(q.activeBranch)},registerDep(O,R,w){const S=!!q.pendingBranch;S&&q.deps++;const L=O.vnode.el;O.asyncDep.catch(M=>{qr(M,O,0)}).then(M=>{if(O.isUnmounted||q.isUnmounted||q.pendingId!==O.suspenseId)return;O.asyncResolved=!0;const{vnode:D}=O;tl(O,M),L&&(D.el=L);const z=!L&&O.subTree.el;R(O,D,A(L||O.subTree.el),L?null:E(O.subTree),q,a,w),z&&H(z),Dl(O,D.el),S&&--q.deps===0&&q.resolve()})},unmount(O,R){q.isUnmounted=!0,q.activeBranch&&g(q.activeBranch,n,O,R),q.pendingBranch&&g(q.pendingBranch,n,O,R)}};return q}function Fy(t,e,n,s,r,o,a,l,u){const f=e.suspense=Ph(e,s,n,t.parentNode,document.createElement("div"),null,r,o,a,l,!0),h=u(t,f.pendingBranch=e.ssContent,n,f,o,a);return f.deps===0&&f.resolve(!1,!0),h}function Hy(t){const{shapeFlag:e,children:n}=t,s=e&32;t.ssContent=Mu(s?n.default:n),t.ssFallback=s?Mu(n.fallback):Lt(ce)}function Mu(t){let e;if(gt(t)){const n=Js&&t._c;n&&(t._d=!1,mt()),t=t(),n&&(t._d=!0,e=Se,Dh())}return dt(t)&&(t=Py(t)),t=Ye(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function Vy(t,e){e&&e.pendingBranch?dt(t)?e.effects.push(...t):e.effects.push(t):Wa(t)}function Gs(t,e){t.activeBranch=e;const{vnode:n,parentComponent:s}=t;let r=e.el;for(;!r&&e.component;)e=e.component.subTree,r=e.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,Dl(s,r))}function Uy(t){const e=t.props&&t.props.suspensible;return e!=null&&e!==!1}const we=Symbol.for("v-fgt"),ro=Symbol.for("v-txt"),ce=Symbol.for("v-cmt"),aa=Symbol.for("v-stc"),Rr=[];let Se=null;function mt(t=!1){Rr.push(Se=t?null:[])}function Dh(){Rr.pop(),Se=Rr[Rr.length-1]||null}let Js=1;function ku(t,e=!1){Js+=t,t<0&&Se&&e&&(Se.hasOnce=!0)}function Lh(t){return t.dynamicChildren=Js>0?Se||Ks:null,Dh(),Js>0&&Se&&Se.push(t),t}function Ot(t,e,n,s,r,o){return Lh($(t,e,n,s,r,o,!0))}function Je(t,e,n,s,r){return Lh(Lt(t,e,n,s,r,!0))}function kr(t){return t?t.__v_isVNode===!0:!1}function an(t,e){return t.type===e.type&&t.key===e.key}const Ih=({key:t})=>t??null,Si=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Jt(t)||Zt(t)||gt(t)?{i:Ae,r:t,k:e,f:!!n}:t:null);function $(t,e=null,n=null,s=0,r=null,o=t===we?0:1,a=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Ih(e),ref:e&&Si(e),scopeId:Qd,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ae};return l?(Ll(u,n),o&128&&t.normalize(u)):n&&(u.shapeFlag|=Jt(n)?8:16),Js>0&&!a&&Se&&(u.patchFlag>0||o&6)&&u.patchFlag!==32&&Se.push(u),u}const Lt=jy;function jy(t,e=null,n=null,s=0,r=null,o=!1){if((!t||t===dh)&&(t=ce),kr(t)){const l=qn(t,e,!0);return n&&Ll(l,n),Js>0&&!o&&Se&&(l.shapeFlag&6?Se[Se.indexOf(t)]=l:Se.push(l)),l.patchFlag=-2,l}if(tE(t)&&(t=t.__vccOpts),e){e=qy(e);let{class:l,style:u}=e;l&&!Jt(l)&&(e.class=ln(l)),Ht(u)&&(Cl(u)&&!dt(u)&&(u=ne({},u)),e.style=Ji(u))}const a=Jt(t)?1:xh(t)?128:Xd(t)?64:Ht(t)?4:gt(t)?2:0;return $(t,e,n,s,r,a,o,!0)}function qy(t){return t?Cl(t)||bh(t)?ne({},t):t:null}function qn(t,e,n=!1,s=!1){const{props:r,ref:o,patchFlag:a,children:l,transition:u}=t,f=e?Ky(r||{},e):r,h={__v_isVNode:!0,__v_skip:!0,type:t.type,props:f,key:f&&Ih(f),ref:e&&e.ref?n&&o?dt(o)?o.concat(Si(e)):[o,Si(e)]:Si(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==we?a===-1?16:a|16:a,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:u,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&qn(t.ssContent),ssFallback:t.ssFallback&&qn(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return u&&s&&vs(h,u.clone(h)),h}function Yt(t=" ",e=0){return Lt(ro,null,t,e)}function Kn(t="",e=!1){return e?(mt(),Je(ce,null,t)):Lt(ce,null,t)}function Ye(t){return t==null||typeof t=="boolean"?Lt(ce):dt(t)?Lt(we,null,t.slice()):kr(t)?Fn(t):Lt(ro,null,String(t))}function Fn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:qn(t)}function Ll(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(dt(e))n=16;else if(typeof e=="object")if(s&65){const r=e.default;r&&(r._c&&(r._d=!1),Ll(t,r()),r._c&&(r._d=!0));return}else{n=32;const r=e._;!r&&!bh(e)?e._ctx=Ae:r===3&&Ae&&(Ae.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else gt(e)?(e={default:e,_ctx:Ae},n=32):(e=String(e),s&64?(n=16,e=[Yt(e)]):n=8);t.children=e,t.shapeFlag|=n}function Ky(...t){const e={};for(let n=0;nre||Ae;let Vi,Xa;{const t=Gi(),e=(n,s)=>{let r;return(r=t[n])||(r=t[n]=[]),r.push(s),o=>{r.length>1?r.forEach(a=>a(o)):r[0](o)}};Vi=e("__VUE_INSTANCE_SETTERS__",n=>re=n),Xa=e("__VUE_SSR_SETTERS__",n=>Br=n)}const bs=t=>{const e=re;return Vi(t),t.scope.on(),()=>{t.scope.off(),Vi(e)}},Za=()=>{re&&re.scope.off(),Vi(null)};function Mh(t){return t.vnode.shapeFlag&4}let Br=!1;function Gy(t,e=!1,n=!1){e&&Xa(e);const{props:s,children:r}=t.vnode,o=Mh(t);_y(t,s,o,e),Ey(t,r,n||e);const a=o?Jy(t,e):void 0;return e&&Xa(!1),a}function Jy(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,ly);const{setup:s}=n;if(s){Tn();const r=t.setupContext=s.length>1?Xy(t):null,o=bs(t),a=jr(s,t,0,[t.props,r]),l=_l(a);if(An(),o(),(l||t.sp)&&!Cr(t)&&ih(t),l){if(a.then(Za,Za),e)return a.then(u=>{tl(t,u)}).catch(u=>{qr(u,t,0)});t.asyncDep=a}else tl(t,a)}else kh(t)}function tl(t,e,n){gt(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Ht(e)&&(t.setupState=Wd(e)),kh(t)}function kh(t,e,n){const s=t.type;t.render||(t.render=s.render||cn);{const r=bs(t);Tn();try{cy(t)}finally{An(),r()}}}const Qy={get(t,e){return he(t,"get",""),t[e]}};function Xy(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,Qy),slots:t.slots,emit:t.emit,expose:e}}function io(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Wd(Ol(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Or)return Or[n](t)},has(e,n){return n in e||n in Or}})):t.proxy}function Zy(t,e=!0){return gt(t)?t.displayName||t.name:t.name||e&&t.__name}function tE(t){return gt(t)&&"__vccOpts"in t}const zt=(t,e)=>Wb(t,e,Br);function Ml(t,e,n){const s=arguments.length;return s===2?Ht(e)&&!dt(e)?kr(e)?Lt(t,null,[e]):Lt(t,e):Lt(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&kr(n)&&(n=[n]),Lt(t,e,n))}const eE="3.5.16";/** +* @vue/runtime-dom v3.5.16 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let el;const Bu=typeof window<"u"&&window.trustedTypes;if(Bu)try{el=Bu.createPolicy("vue",{createHTML:t=>t})}catch{}const Bh=el?t=>el.createHTML(t):t=>t,nE="http://www.w3.org/2000/svg",sE="http://www.w3.org/1998/Math/MathML",vn=typeof document<"u"?document:null,Fu=vn&&vn.createElement("template"),rE={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const r=e==="svg"?vn.createElementNS(nE,t):e==="mathml"?vn.createElementNS(sE,t):n?vn.createElement(t,{is:n}):vn.createElement(t);return t==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:t=>vn.createTextNode(t),createComment:t=>vn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>vn.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,r,o){const a=n?n.previousSibling:e.lastChild;if(r&&(r===o||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Fu.innerHTML=Bh(s==="svg"?`${t}`:s==="mathml"?`${t}`:t);const l=Fu.content;if(s==="svg"||s==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}e.insertBefore(l,n)}return[a?a.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Pn="transition",_r="animation",Qs=Symbol("_vtc"),Fh={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Hh=ne({},th,Fh),iE=t=>(t.displayName="Transition",t.props=Hh,t),oo=iE((t,{slots:e})=>Ml(Zb,Vh(t),e)),fs=(t,e=[])=>{dt(t)?t.forEach(n=>n(...e)):t&&t(...e)},Hu=t=>t?dt(t)?t.some(e=>e.length>1):t.length>1:!1;function Vh(t){const e={};for(const D in t)D in Fh||(e[D]=t[D]);if(t.css===!1)return e;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:u=o,appearActiveClass:f=a,appearToClass:h=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=t,E=oE(r),A=E&&E[0],H=E&&E[1],{onBeforeEnter:I,onEnter:F,onEnterCancelled:k,onLeave:U,onLeaveCancelled:q,onBeforeAppear:O=I,onAppear:R=F,onAppearCancelled:w=k}=e,S=(D,z,j,X)=>{D._enterCancelled=X,In(D,z?h:l),In(D,z?f:a),j&&j()},L=(D,z)=>{D._isLeaving=!1,In(D,p),In(D,g),In(D,_),z&&z()},M=D=>(z,j)=>{const X=D?R:F,Y=()=>S(z,D,j);fs(X,[z,Y]),Vu(()=>{In(z,D?u:o),rn(z,D?h:l),Hu(X)||Uu(z,s,A,Y)})};return ne(e,{onBeforeEnter(D){fs(I,[D]),rn(D,o),rn(D,a)},onBeforeAppear(D){fs(O,[D]),rn(D,u),rn(D,f)},onEnter:M(!1),onAppear:M(!0),onLeave(D,z){D._isLeaving=!0;const j=()=>L(D,z);rn(D,p),D._enterCancelled?(rn(D,_),nl()):(nl(),rn(D,_)),Vu(()=>{D._isLeaving&&(In(D,p),rn(D,g),Hu(U)||Uu(D,s,H,j))}),fs(U,[D,j])},onEnterCancelled(D){S(D,!1,void 0,!0),fs(k,[D])},onAppearCancelled(D){S(D,!0,void 0,!0),fs(w,[D])},onLeaveCancelled(D){L(D),fs(q,[D])}})}function oE(t){if(t==null)return null;if(Ht(t))return[la(t.enter),la(t.leave)];{const e=la(t);return[e,e]}}function la(t){return wd(t)}function rn(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[Qs]||(t[Qs]=new Set)).add(e)}function In(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const n=t[Qs];n&&(n.delete(e),n.size||(t[Qs]=void 0))}function Vu(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let aE=0;function Uu(t,e,n,s){const r=t._endId=++aE,o=()=>{r===t._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:l,propCount:u}=Uh(t,e);if(!a)return s();const f=a+"end";let h=0;const p=()=>{t.removeEventListener(f,_),o()},_=g=>{g.target===t&&++h>=u&&p()};setTimeout(()=>{h(n[E]||"").split(", "),r=s(`${Pn}Delay`),o=s(`${Pn}Duration`),a=ju(r,o),l=s(`${_r}Delay`),u=s(`${_r}Duration`),f=ju(l,u);let h=null,p=0,_=0;e===Pn?a>0&&(h=Pn,p=a,_=o.length):e===_r?f>0&&(h=_r,p=f,_=u.length):(p=Math.max(a,f),h=p>0?a>f?Pn:_r:null,_=h?h===Pn?o.length:u.length:0);const g=h===Pn&&/\b(transform|all)(,|$)/.test(s(`${Pn}Property`).toString());return{type:h,timeout:p,propCount:_,hasTransform:g}}function ju(t,e){for(;t.lengthqu(n)+qu(t[s])))}function qu(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function nl(){return document.body.offsetHeight}function lE(t,e,n){const s=t[Qs];s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const Ku=Symbol("_vod"),cE=Symbol("_vsh"),uE=Symbol(""),fE=/(^|;)\s*display\s*:/;function dE(t,e,n){const s=t.style,r=Jt(n);let o=!1;if(n&&!r){if(e)if(Jt(e))for(const a of e.split(";")){const l=a.slice(0,a.indexOf(":")).trim();n[l]==null&&Ci(s,l,"")}else for(const a in e)n[a]==null&&Ci(s,a,"");for(const a in n)a==="display"&&(o=!0),Ci(s,a,n[a])}else if(r){if(e!==n){const a=s[uE];a&&(n+=";"+a),s.cssText=n,o=fE.test(n)}}else e&&t.removeAttribute("style");Ku in t&&(t[Ku]=o?s.display:"",t[cE]&&(s.display="none"))}const Wu=/\s*!important$/;function Ci(t,e,n){if(dt(n))n.forEach(s=>Ci(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=hE(t,e);Wu.test(n)?t.setProperty(Es(s),n.replace(Wu,""),"important"):t[s]=n}}const Yu=["Webkit","Moz","ms"],ca={};function hE(t,e){const n=ca[e];if(n)return n;let s=je(e);if(s!=="filter"&&s in t)return ca[e]=s;s=zi(s);for(let r=0;rua||(_E.then(()=>ua=0),ua=Date.now());function bE(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ge(yE(s,n.value),e,5,[s])};return n.value=t,n.attached=vE(),n}function yE(t,e){if(dt(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(s=>r=>!r._stopped&&s&&s(r))}else return e}const Zu=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,EE=(t,e,n,s,r,o)=>{const a=r==="svg";e==="class"?lE(t,s,a):e==="style"?dE(t,n,s):Wi(e)?ml(e)||mE(t,e,n,s,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):wE(t,e,s,a))?(Ju(t,e,s),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Gu(t,e,s,a,o,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!Jt(s))?Ju(t,je(e),s,o,e):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),Gu(t,e,s,a))};function wE(t,e,n,s){if(s)return!!(e==="innerHTML"||e==="textContent"||e in t&&Zu(e)&>(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const r=t.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Zu(e)&&Jt(n)?!1:e in t}const jh=new WeakMap,qh=new WeakMap,Ui=Symbol("_moveCb"),tf=Symbol("_enterCb"),TE=t=>(delete t.props.mode,t),AE=TE({name:"TransitionGroup",props:ne({},Hh,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Il(),s=Zd();let r,o;return ch(()=>{if(!r.length)return;const a=t.moveClass||`${t.name||"v"}-move`;if(!NE(r[0].el,n.vnode.el,a)){r=[];return}r.forEach(CE),r.forEach(OE);const l=r.filter(RE);nl(),l.forEach(u=>{const f=u.el,h=f.style;rn(f,a),h.transform=h.webkitTransform=h.transitionDuration="";const p=f[Ui]=_=>{_&&_.target!==f||(!_||/transform$/.test(_.propertyName))&&(f.removeEventListener("transitionend",p),f[Ui]=null,In(f,a))};f.addEventListener("transitionend",p)}),r=[]}),()=>{const a=Rt(t),l=Vh(a);let u=a.tag||we;if(r=[],o)for(let f=0;f{l.split(/\s+/).forEach(u=>u&&s.classList.remove(u))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=e.nodeType===1?e:e.parentNode;o.appendChild(s);const{hasTransform:a}=Uh(s);return o.removeChild(s),a}const Wn=t=>{const e=t.props["onUpdate:modelValue"]||!1;return dt(e)?n=>Ti(e,n):e};function xE(t){t.target.composing=!0}function ef(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Ue=Symbol("_assign"),wn={created(t,{modifiers:{lazy:e,trim:n,number:s}},r){t[Ue]=Wn(r);const o=s||r.props&&r.props.type==="number";En(t,e?"change":"input",a=>{if(a.target.composing)return;let l=t.value;n&&(l=l.trim()),o&&(l=Di(l)),t[Ue](l)}),n&&En(t,"change",()=>{t.value=t.value.trim()}),e||(En(t,"compositionstart",xE),En(t,"compositionend",ef),En(t,"change",ef))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},a){if(t[Ue]=Wn(a),t.composing)return;const l=(o||t.type==="number")&&!/^0\d/.test(t.value)?Di(t.value):t.value,u=e??"";l!==u&&(document.activeElement===t&&t.type!=="range"&&(s&&e===n||r&&t.value.trim()===u)||(t.value=u))}},$E={deep:!0,created(t,e,n){t[Ue]=Wn(n),En(t,"change",()=>{const s=t._modelValue,r=Xs(t),o=t.checked,a=t[Ue];if(dt(s)){const l=bl(s,r),u=l!==-1;if(o&&!u)a(s.concat(r));else if(!o&&u){const f=[...s];f.splice(l,1),a(f)}}else if(er(s)){const l=new Set(s);o?l.add(r):l.delete(r),a(l)}else a(Kh(t,o))})},mounted:nf,beforeUpdate(t,e,n){t[Ue]=Wn(n),nf(t,e,n)}};function nf(t,{value:e,oldValue:n},s){t._modelValue=e;let r;if(dt(e))r=bl(e,s.props.value)>-1;else if(er(e))r=e.has(s.props.value);else{if(e===n)return;r=_s(e,Kh(t,!0))}t.checked!==r&&(t.checked=r)}const PE={created(t,{value:e},n){t.checked=_s(e,n.props.value),t[Ue]=Wn(n),En(t,"change",()=>{t[Ue](Xs(t))})},beforeUpdate(t,{value:e,oldValue:n},s){t[Ue]=Wn(s),e!==n&&(t.checked=_s(e,s.props.value))}},DE={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const r=er(e);En(t,"change",()=>{const o=Array.prototype.filter.call(t.options,a=>a.selected).map(a=>n?Di(Xs(a)):Xs(a));t[Ue](t.multiple?r?new Set(o):o:o[0]),t._assigning=!0,Xi(()=>{t._assigning=!1})}),t[Ue]=Wn(s)},mounted(t,{value:e}){sf(t,e)},beforeUpdate(t,e,n){t[Ue]=Wn(n)},updated(t,{value:e}){t._assigning||sf(t,e)}};function sf(t,e){const n=t.multiple,s=dt(e);if(!(n&&!s&&!er(e))){for(let r=0,o=t.options.length;rString(f)===String(l)):a.selected=bl(e,l)>-1}else a.selected=e.has(l);else if(_s(Xs(a),e)){t.selectedIndex!==r&&(t.selectedIndex=r);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Xs(t){return"_value"in t?t._value:t.value}function Kh(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const fa={created(t,e,n){Ei(t,e,n,null,"created")},mounted(t,e,n){Ei(t,e,n,null,"mounted")},beforeUpdate(t,e,n,s){Ei(t,e,n,s,"beforeUpdate")},updated(t,e,n,s){Ei(t,e,n,s,"updated")}};function LE(t,e){switch(t){case"SELECT":return DE;case"TEXTAREA":return wn;default:switch(e){case"checkbox":return $E;case"radio":return PE;default:return wn}}}function Ei(t,e,n,s,r){const a=LE(t.tagName,n.props&&n.props.type)[r];a&&a(t,e,n,s)}const IE=ne({patchProp:EE},rE);let rf;function ME(){return rf||(rf=Ty(IE))}const kE=(...t)=>{const e=ME().createApp(...t),{mount:n}=e;return e.mount=s=>{const r=FE(s);if(!r)return;const o=e._component;!gt(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const a=n(r,!1,BE(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},e};function BE(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function FE(t){return Jt(t)?document.querySelector(t):t}/*! + * pinia v3.0.2 + * (c) 2025 Eduardo San Martin Morote + * @license MIT + */let Wh;const ao=t=>Wh=t,Yh=Symbol();function sl(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var Nr;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(Nr||(Nr={}));function HE(){const t=Od(!0),e=t.run(()=>te({}));let n=[],s=[];const r=Ol({install(o){ao(r),r._a=o,o.provide(Yh,r),o.config.globalProperties.$pinia=r,s.forEach(a=>n.push(a)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return r}const zh=()=>{};function of(t,e,n,s=zh){t.push(e);const r=()=>{const o=t.indexOf(e);o>-1&&(t.splice(o,1),s())};return!n&&Rd()&&bb(r),r}function Vs(t,...e){t.slice().forEach(n=>{n(...e)})}const VE=t=>t(),af=Symbol(),da=Symbol();function rl(t,e){t instanceof Map&&e instanceof Map?e.forEach((n,s)=>t.set(s,n)):t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const s=e[n],r=t[n];sl(r)&&sl(s)&&t.hasOwnProperty(n)&&!Zt(s)&&!Un(s)?t[n]=rl(r,s):t[n]=s}return t}const UE=Symbol();function jE(t){return!sl(t)||!Object.prototype.hasOwnProperty.call(t,UE)}const{assign:Mn}=Object;function qE(t){return!!(Zt(t)&&t.effect)}function KE(t,e,n,s){const{state:r,actions:o,getters:a}=e,l=n.state.value[t];let u;function f(){l||(n.state.value[t]=r?r():{});const h=Ub(n.state.value[t]);return Mn(h,o,Object.keys(a||{}).reduce((p,_)=>(p[_]=Ol(zt(()=>{ao(n);const g=n._s.get(t);return a[_].call(g,g)})),p),{}))}return u=Gh(t,f,e,n,s,!0),u}function Gh(t,e,n={},s,r,o){let a;const l=Mn({actions:{}},n),u={deep:!0};let f,h,p=[],_=[],g;const E=s.state.value[t];!o&&!E&&(s.state.value[t]={}),te({});let A;function H(w){let S;f=h=!1,typeof w=="function"?(w(s.state.value[t]),S={type:Nr.patchFunction,storeId:t,events:g}):(rl(s.state.value[t],w),S={type:Nr.patchObject,payload:w,storeId:t,events:g});const L=A=Symbol();Xi().then(()=>{A===L&&(f=!0)}),h=!0,Vs(p,S,s.state.value[t])}const I=o?function(){const{state:S}=n,L=S?S():{};this.$patch(M=>{Mn(M,L)})}:zh;function F(){a.stop(),p=[],_=[],s._s.delete(t)}const k=(w,S="")=>{if(af in w)return w[da]=S,w;const L=function(){ao(s);const M=Array.from(arguments),D=[],z=[];function j(Q){D.push(Q)}function X(Q){z.push(Q)}Vs(_,{args:M,name:L[da],store:q,after:j,onError:X});let Y;try{Y=w.apply(this&&this.$id===t?this:q,M)}catch(Q){throw Vs(z,Q),Q}return Y instanceof Promise?Y.then(Q=>(Vs(D,Q),Q)).catch(Q=>(Vs(z,Q),Promise.reject(Q))):(Vs(D,Y),Y)};return L[af]=!0,L[da]=S,L},U={_p:s,$id:t,$onAction:of.bind(null,_),$patch:H,$reset:I,$subscribe(w,S={}){const L=of(p,w,S.detached,()=>M()),M=a.run(()=>zs(()=>s.state.value[t],D=>{(S.flush==="sync"?h:f)&&w({storeId:t,type:Nr.direct,events:g},D)},Mn({},u,S)));return L},$dispose:F},q=Sn(U);s._s.set(t,q);const R=(s._a&&s._a.runWithContext||VE)(()=>s._e.run(()=>(a=Od()).run(()=>e({action:k}))));for(const w in R){const S=R[w];if(Zt(S)&&!qE(S)||Un(S))o||(E&&jE(S)&&(Zt(S)?S.value=E[w]:rl(S,E[w])),s.state.value[t][w]=S);else if(typeof S=="function"){const L=k(S,w);R[w]=L,l.actions[w]=S}}return Mn(q,R),Mn(Rt(q),R),Object.defineProperty(q,"$state",{get:()=>s.state.value[t],set:w=>{H(S=>{Mn(S,w)})}}),s._p.forEach(w=>{Mn(q,a.run(()=>w({store:q,app:s._a,pinia:s,options:l})))}),E&&o&&n.hydrate&&n.hydrate(q.$state,E),f=!0,h=!0,q}/*! #__NO_SIDE_EFFECTS__ */function WE(t,e,n){let s;const r=typeof e=="function";s=r?n:e;function o(a,l){const u=gy();return a=a||(u?Me(Yh,null):null),a&&ao(a),a=Wh,a._s.has(t)||(r?Gh(t,e,s,a):KE(t,s,a)),a._s.get(t)}return o.$id=t,o}const ae=[];for(let t=0;t<256;++t)ae.push((t+256).toString(16).slice(1));function YE(t,e=0){return(ae[t[e+0]]+ae[t[e+1]]+ae[t[e+2]]+ae[t[e+3]]+"-"+ae[t[e+4]]+ae[t[e+5]]+"-"+ae[t[e+6]]+ae[t[e+7]]+"-"+ae[t[e+8]]+ae[t[e+9]]+"-"+ae[t[e+10]]+ae[t[e+11]]+ae[t[e+12]]+ae[t[e+13]]+ae[t[e+14]]+ae[t[e+15]]).toLowerCase()}let ha;const zE=new Uint8Array(16);function GE(){if(!ha){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");ha=crypto.getRandomValues.bind(crypto)}return ha(zE)}const JE=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),lf={randomUUID:JE};function Jh(t,e,n){if(lf.randomUUID&&!t)return lf.randomUUID();t=t||{};const s=t.random??t.rng?.()??GE();if(s.length<16)throw new Error("Random bytes length must be >= 16");return s[6]=s[6]&15|64,s[8]=s[8]&63|128,YE(s)}function kl(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Oi={exports:{}},QE=Oi.exports,cf;function XE(){return cf||(cf=1,function(t,e){(function(n,s){t.exports=s()})(QE,function(){var n=1e3,s=6e4,r=36e5,o="millisecond",a="second",l="minute",u="hour",f="day",h="week",p="month",_="quarter",g="year",E="date",A="Invalid Date",H=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,I=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,F={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(j){var X=["th","st","nd","rd"],Y=j%100;return"["+j+(X[(Y-20)%10]||X[Y]||X[0])+"]"}},k=function(j,X,Y){var Q=String(j);return!Q||Q.length>=X?j:""+Array(X+1-Q.length).join(Y)+j},U={s:k,z:function(j){var X=-j.utcOffset(),Y=Math.abs(X),Q=Math.floor(Y/60),J=Y%60;return(X<=0?"+":"-")+k(Q,2,"0")+":"+k(J,2,"0")},m:function j(X,Y){if(X.date()1)return j(ut[0])}else{var _t=X.name;O[_t]=X,J=_t}return!Q&&J&&(q=J),J||!Q&&q},L=function(j,X){if(w(j))return j.clone();var Y=typeof X=="object"?X:{};return Y.date=j,Y.args=arguments,new D(Y)},M=U;M.l=S,M.i=w,M.w=function(j,X){return L(j,{locale:X.$L,utc:X.$u,x:X.$x,$offset:X.$offset})};var D=function(){function j(Y){this.$L=S(Y.locale,null,!0),this.parse(Y),this.$x=this.$x||Y.x||{},this[R]=!0}var X=j.prototype;return X.parse=function(Y){this.$d=function(Q){var J=Q.date,ct=Q.utc;if(J===null)return new Date(NaN);if(M.u(J))return new Date;if(J instanceof Date)return new Date(J);if(typeof J=="string"&&!/Z$/i.test(J)){var ut=J.match(H);if(ut){var _t=ut[2]-1||0,bt=(ut[7]||"0").substring(0,3);return ct?new Date(Date.UTC(ut[1],_t,ut[3]||1,ut[4]||0,ut[5]||0,ut[6]||0,bt)):new Date(ut[1],_t,ut[3]||1,ut[4]||0,ut[5]||0,ut[6]||0,bt)}}return new Date(J)}(Y),this.init()},X.init=function(){var Y=this.$d;this.$y=Y.getFullYear(),this.$M=Y.getMonth(),this.$D=Y.getDate(),this.$W=Y.getDay(),this.$H=Y.getHours(),this.$m=Y.getMinutes(),this.$s=Y.getSeconds(),this.$ms=Y.getMilliseconds()},X.$utils=function(){return M},X.isValid=function(){return this.$d.toString()!==A},X.isSame=function(Y,Q){var J=L(Y);return this.startOf(Q)<=J&&J<=this.endOf(Q)},X.isAfter=function(Y,Q){return L(Y)e=>{const n=tw.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Xe=t=>(t=t.toLowerCase(),e=>co(e)===t),uo=t=>e=>typeof e===t,{isArray:nr}=Array,Fr=uo("undefined");function ew(t){return t!==null&&!Fr(t)&&t.constructor!==null&&!Fr(t.constructor)&&Re(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Zh=Xe("ArrayBuffer");function nw(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Zh(t.buffer),e}const sw=uo("string"),Re=uo("function"),tp=uo("number"),fo=t=>t!==null&&typeof t=="object",rw=t=>t===!0||t===!1,Ri=t=>{if(co(t)!=="object")return!1;const e=Bl(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Xh in t)&&!(lo in t)},iw=Xe("Date"),ow=Xe("File"),aw=Xe("Blob"),lw=Xe("FileList"),cw=t=>fo(t)&&Re(t.pipe),uw=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Re(t.append)&&((e=co(t))==="formdata"||e==="object"&&Re(t.toString)&&t.toString()==="[object FormData]"))},fw=Xe("URLSearchParams"),[dw,hw,pw,mw]=["ReadableStream","Request","Response","Headers"].map(Xe),gw=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Wr(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,r;if(typeof t!="object"&&(t=[t]),nr(t))for(s=0,r=t.length;s0;)if(r=n[s],e===r.toLowerCase())return r;return null}const hs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,np=t=>!Fr(t)&&t!==hs;function il(){const{caseless:t}=np(this)&&this||{},e={},n=(s,r)=>{const o=t&&ep(e,r)||r;Ri(e[o])&&Ri(s)?e[o]=il(e[o],s):Ri(s)?e[o]=il({},s):nr(s)?e[o]=s.slice():e[o]=s};for(let s=0,r=arguments.length;s(Wr(e,(r,o)=>{n&&Re(r)?t[o]=Qh(r,n):t[o]=r},{allOwnKeys:s}),t),vw=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),bw=(t,e,n,s)=>{t.prototype=Object.create(e.prototype,s),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},yw=(t,e,n,s)=>{let r,o,a;const l={};if(e=e||{},t==null)return e;do{for(r=Object.getOwnPropertyNames(t),o=r.length;o-- >0;)a=r[o],(!s||s(a,t,e))&&!l[a]&&(e[a]=t[a],l[a]=!0);t=n!==!1&&Bl(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},Ew=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const s=t.indexOf(e,n);return s!==-1&&s===n},ww=t=>{if(!t)return null;if(nr(t))return t;let e=t.length;if(!tp(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Tw=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Bl(Uint8Array)),Aw=(t,e)=>{const s=(t&&t[lo]).call(t);let r;for(;(r=s.next())&&!r.done;){const o=r.value;e.call(t,o[0],o[1])}},Sw=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},Cw=Xe("HTMLFormElement"),Ow=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),uf=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Rw=Xe("RegExp"),sp=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};Wr(n,(r,o)=>{let a;(a=e(r,o,t))!==!1&&(s[o]=a||r)}),Object.defineProperties(t,s)},Nw=t=>{sp(t,(e,n)=>{if(Re(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(Re(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},xw=(t,e)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return nr(t)?s(t):s(String(t).split(e)),n},$w=()=>{},Pw=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function Dw(t){return!!(t&&Re(t.append)&&t[Xh]==="FormData"&&t[lo])}const Lw=t=>{const e=new Array(10),n=(s,r)=>{if(fo(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[r]=s;const o=nr(s)?[]:{};return Wr(s,(a,l)=>{const u=n(a,r+1);!Fr(u)&&(o[l]=u)}),e[r]=void 0,o}}return s};return n(t,0)},Iw=Xe("AsyncFunction"),Mw=t=>t&&(fo(t)||Re(t))&&Re(t.then)&&Re(t.catch),rp=((t,e)=>t?setImmediate:e?((n,s)=>(hs.addEventListener("message",({source:r,data:o})=>{r===hs&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),hs.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Re(hs.postMessage)),kw=typeof queueMicrotask<"u"?queueMicrotask.bind(hs):typeof process<"u"&&process.nextTick||rp,Bw=t=>t!=null&&Re(t[lo]),B={isArray:nr,isArrayBuffer:Zh,isBuffer:ew,isFormData:uw,isArrayBufferView:nw,isString:sw,isNumber:tp,isBoolean:rw,isObject:fo,isPlainObject:Ri,isReadableStream:dw,isRequest:hw,isResponse:pw,isHeaders:mw,isUndefined:Fr,isDate:iw,isFile:ow,isBlob:aw,isRegExp:Rw,isFunction:Re,isStream:cw,isURLSearchParams:fw,isTypedArray:Tw,isFileList:lw,forEach:Wr,merge:il,extend:_w,trim:gw,stripBOM:vw,inherits:bw,toFlatObject:yw,kindOf:co,kindOfTest:Xe,endsWith:Ew,toArray:ww,forEachEntry:Aw,matchAll:Sw,isHTMLForm:Cw,hasOwnProperty:uf,hasOwnProp:uf,reduceDescriptors:sp,freezeMethods:Nw,toObjectSet:xw,toCamelCase:Ow,noop:$w,toFiniteNumber:Pw,findKey:ep,global:hs,isContextDefined:np,isSpecCompliantForm:Dw,toJSONObject:Lw,isAsyncFn:Iw,isThenable:Mw,setImmediate:rp,asap:kw,isIterable:Bw};function yt(t,e,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}B.inherits(yt,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:B.toJSONObject(this.config),code:this.code,status:this.status}}});const ip=yt.prototype,op={};["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","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{op[t]={value:t}});Object.defineProperties(yt,op);Object.defineProperty(ip,"isAxiosError",{value:!0});yt.from=(t,e,n,s,r,o)=>{const a=Object.create(ip);return B.toFlatObject(t,a,function(u){return u!==Error.prototype},l=>l!=="isAxiosError"),yt.call(a,t.message,e,n,s,r),a.cause=t,a.name=t.name,o&&Object.assign(a,o),a};const Fw=null;function ol(t){return B.isPlainObject(t)||B.isArray(t)}function ap(t){return B.endsWith(t,"[]")?t.slice(0,-2):t}function ff(t,e,n){return t?t.concat(e).map(function(r,o){return r=ap(r),!n&&o?"["+r+"]":r}).join(n?".":""):e}function Hw(t){return B.isArray(t)&&!t.some(ol)}const Vw=B.toFlatObject(B,{},null,function(e){return/^is[A-Z]/.test(e)});function ho(t,e,n){if(!B.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=B.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(A,H){return!B.isUndefined(H[A])});const s=n.metaTokens,r=n.visitor||h,o=n.dots,a=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&B.isSpecCompliantForm(e);if(!B.isFunction(r))throw new TypeError("visitor must be a function");function f(E){if(E===null)return"";if(B.isDate(E))return E.toISOString();if(!u&&B.isBlob(E))throw new yt("Blob is not supported. Use a Buffer instead.");return B.isArrayBuffer(E)||B.isTypedArray(E)?u&&typeof Blob=="function"?new Blob([E]):Buffer.from(E):E}function h(E,A,H){let I=E;if(E&&!H&&typeof E=="object"){if(B.endsWith(A,"{}"))A=s?A:A.slice(0,-2),E=JSON.stringify(E);else if(B.isArray(E)&&Hw(E)||(B.isFileList(E)||B.endsWith(A,"[]"))&&(I=B.toArray(E)))return A=ap(A),I.forEach(function(k,U){!(B.isUndefined(k)||k===null)&&e.append(a===!0?ff([A],U,o):a===null?A:A+"[]",f(k))}),!1}return ol(E)?!0:(e.append(ff(H,A,o),f(E)),!1)}const p=[],_=Object.assign(Vw,{defaultVisitor:h,convertValue:f,isVisitable:ol});function g(E,A){if(!B.isUndefined(E)){if(p.indexOf(E)!==-1)throw Error("Circular reference detected in "+A.join("."));p.push(E),B.forEach(E,function(I,F){(!(B.isUndefined(I)||I===null)&&r.call(e,I,B.isString(F)?F.trim():F,A,_))===!0&&g(I,A?A.concat(F):[F])}),p.pop()}}if(!B.isObject(t))throw new TypeError("data must be an object");return g(t),e}function df(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Fl(t,e){this._pairs=[],t&&ho(t,this,e)}const lp=Fl.prototype;lp.append=function(e,n){this._pairs.push([e,n])};lp.toString=function(e){const n=e?function(s){return e.call(this,s,df)}:df;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Uw(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function cp(t,e,n){if(!e)return t;const s=n&&n.encode||Uw;B.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(r?o=r(e,n):o=B.isURLSearchParams(e)?e.toString():new Fl(e,n).toString(s),o){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class hf{constructor(){this.handlers=[]}use(e,n,s){return this.handlers.push({fulfilled:e,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){B.forEach(this.handlers,function(s){s!==null&&e(s)})}}const up={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},jw=typeof URLSearchParams<"u"?URLSearchParams:Fl,qw=typeof FormData<"u"?FormData:null,Kw=typeof Blob<"u"?Blob:null,Ww={isBrowser:!0,classes:{URLSearchParams:jw,FormData:qw,Blob:Kw},protocols:["http","https","file","blob","url","data"]},Hl=typeof window<"u"&&typeof document<"u",al=typeof navigator=="object"&&navigator||void 0,Yw=Hl&&(!al||["ReactNative","NativeScript","NS"].indexOf(al.product)<0),zw=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Gw=Hl&&window.location.href||"http://localhost",Jw=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Hl,hasStandardBrowserEnv:Yw,hasStandardBrowserWebWorkerEnv:zw,navigator:al,origin:Gw},Symbol.toStringTag,{value:"Module"})),pe={...Jw,...Ww};function Qw(t,e){return ho(t,new pe.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return pe.isNode&&B.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},e))}function Xw(t){return B.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Zw(t){const e={},n=Object.keys(t);let s;const r=n.length;let o;for(s=0;s=n.length;return a=!a&&B.isArray(r)?r.length:a,u?(B.hasOwnProp(r,a)?r[a]=[r[a],s]:r[a]=s,!l):((!r[a]||!B.isObject(r[a]))&&(r[a]=[]),e(n,s,r[a],o)&&B.isArray(r[a])&&(r[a]=Zw(r[a])),!l)}if(B.isFormData(t)&&B.isFunction(t.entries)){const n={};return B.forEachEntry(t,(s,r)=>{e(Xw(s),r,n,0)}),n}return null}function t0(t,e,n){if(B.isString(t))try{return(e||JSON.parse)(t),B.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const Yr={transitional:up,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=B.isObject(e);if(o&&B.isHTMLForm(e)&&(e=new FormData(e)),B.isFormData(e))return r?JSON.stringify(fp(e)):e;if(B.isArrayBuffer(e)||B.isBuffer(e)||B.isStream(e)||B.isFile(e)||B.isBlob(e)||B.isReadableStream(e))return e;if(B.isArrayBufferView(e))return e.buffer;if(B.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Qw(e,this.formSerializer).toString();if((l=B.isFileList(e))||s.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return ho(l?{"files[]":e}:e,u&&new u,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),t0(e)):e}],transformResponse:[function(e){const n=this.transitional||Yr.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(B.isResponse(e)||B.isReadableStream(e))return e;if(e&&B.isString(e)&&(s&&!this.responseType||r)){const a=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(l){if(a)throw l.name==="SyntaxError"?yt.from(l,yt.ERR_BAD_RESPONSE,this,null,this.response):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:pe.classes.FormData,Blob:pe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};B.forEach(["delete","get","head","post","put","patch"],t=>{Yr.headers[t]={}});const e0=B.toObjectSet(["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"]),n0=t=>{const e={};let n,s,r;return t&&t.split(` +`).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),s=a.substring(r+1).trim(),!(!n||e[n]&&e0[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},pf=Symbol("internals");function vr(t){return t&&String(t).trim().toLowerCase()}function Ni(t){return t===!1||t==null?t:B.isArray(t)?t.map(Ni):String(t)}function s0(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(t);)e[s[1]]=s[2];return e}const r0=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function pa(t,e,n,s,r){if(B.isFunction(s))return s.call(this,e,n);if(r&&(e=n),!!B.isString(e)){if(B.isString(s))return e.indexOf(s)!==-1;if(B.isRegExp(s))return s.test(e)}}function i0(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function o0(t,e){const n=B.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+n,{value:function(r,o,a){return this[s].call(this,e,r,o,a)},configurable:!0})})}let Ne=class{constructor(e){e&&this.set(e)}set(e,n,s){const r=this;function o(l,u,f){const h=vr(u);if(!h)throw new Error("header name must be a non-empty string");const p=B.findKey(r,h);(!p||r[p]===void 0||f===!0||f===void 0&&r[p]!==!1)&&(r[p||u]=Ni(l))}const a=(l,u)=>B.forEach(l,(f,h)=>o(f,h,u));if(B.isPlainObject(e)||e instanceof this.constructor)a(e,n);else if(B.isString(e)&&(e=e.trim())&&!r0(e))a(n0(e),n);else if(B.isObject(e)&&B.isIterable(e)){let l={},u,f;for(const h of e){if(!B.isArray(h))throw TypeError("Object iterator must return a key-value pair");l[f=h[0]]=(u=l[f])?B.isArray(u)?[...u,h[1]]:[u,h[1]]:h[1]}a(l,n)}else e!=null&&o(n,e,s);return this}get(e,n){if(e=vr(e),e){const s=B.findKey(this,e);if(s){const r=this[s];if(!n)return r;if(n===!0)return s0(r);if(B.isFunction(n))return n.call(this,r,s);if(B.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=vr(e),e){const s=B.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||pa(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let r=!1;function o(a){if(a=vr(a),a){const l=B.findKey(s,a);l&&(!n||pa(s,s[l],l,n))&&(delete s[l],r=!0)}}return B.isArray(e)?e.forEach(o):o(e),r}clear(e){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!e||pa(this,this[o],o,e,!0))&&(delete this[o],r=!0)}return r}normalize(e){const n=this,s={};return B.forEach(this,(r,o)=>{const a=B.findKey(s,o);if(a){n[a]=Ni(r),delete n[o];return}const l=e?i0(o):String(o).trim();l!==o&&delete n[o],n[l]=Ni(r),s[l]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return B.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=e&&B.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` +`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const s=new this(e);return n.forEach(r=>s.set(r)),s}static accessor(e){const s=(this[pf]=this[pf]={accessors:{}}).accessors,r=this.prototype;function o(a){const l=vr(a);s[l]||(o0(r,a),s[l]=!0)}return B.isArray(e)?e.forEach(o):o(e),this}};Ne.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);B.reduceDescriptors(Ne.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(s){this[n]=s}}});B.freezeMethods(Ne);function ma(t,e){const n=this||Yr,s=e||n,r=Ne.from(s.headers);let o=s.data;return B.forEach(t,function(l){o=l.call(n,o,r.normalize(),e?e.status:void 0)}),r.normalize(),o}function dp(t){return!!(t&&t.__CANCEL__)}function sr(t,e,n){yt.call(this,t??"canceled",yt.ERR_CANCELED,e,n),this.name="CanceledError"}B.inherits(sr,yt,{__CANCEL__:!0});function hp(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new yt("Request failed with status code "+n.status,[yt.ERR_BAD_REQUEST,yt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function a0(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function l0(t,e){t=t||10;const n=new Array(t),s=new Array(t);let r=0,o=0,a;return e=e!==void 0?e:1e3,function(u){const f=Date.now(),h=s[o];a||(a=f),n[r]=u,s[r]=f;let p=o,_=0;for(;p!==r;)_+=n[p++],p=p%t;if(r=(r+1)%t,r===o&&(o=(o+1)%t),f-a{n=h,r=null,o&&(clearTimeout(o),o=null),t.apply(null,f)};return[(...f)=>{const h=Date.now(),p=h-n;p>=s?a(f,h):(r=f,o||(o=setTimeout(()=>{o=null,a(r)},s-p)))},()=>r&&a(r)]}const ji=(t,e,n=3)=>{let s=0;const r=l0(50,250);return c0(o=>{const a=o.loaded,l=o.lengthComputable?o.total:void 0,u=a-s,f=r(u),h=a<=l;s=a;const p={loaded:a,total:l,progress:l?a/l:void 0,bytes:u,rate:f||void 0,estimated:f&&l&&h?(l-a)/f:void 0,event:o,lengthComputable:l!=null,[e?"download":"upload"]:!0};t(p)},n)},mf=(t,e)=>{const n=t!=null;return[s=>e[0]({lengthComputable:n,total:t,loaded:s}),e[1]]},gf=t=>(...e)=>B.asap(()=>t(...e)),u0=pe.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,pe.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(pe.origin),pe.navigator&&/(msie|trident)/i.test(pe.navigator.userAgent)):()=>!0,f0=pe.hasStandardBrowserEnv?{write(t,e,n,s,r,o){const a=[t+"="+encodeURIComponent(e)];B.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),B.isString(s)&&a.push("path="+s),B.isString(r)&&a.push("domain="+r),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function d0(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function h0(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function pp(t,e,n){let s=!d0(e);return t&&(s||n==!1)?h0(t,e):e}const _f=t=>t instanceof Ne?{...t}:t;function ys(t,e){e=e||{};const n={};function s(f,h,p,_){return B.isPlainObject(f)&&B.isPlainObject(h)?B.merge.call({caseless:_},f,h):B.isPlainObject(h)?B.merge({},h):B.isArray(h)?h.slice():h}function r(f,h,p,_){if(B.isUndefined(h)){if(!B.isUndefined(f))return s(void 0,f,p,_)}else return s(f,h,p,_)}function o(f,h){if(!B.isUndefined(h))return s(void 0,h)}function a(f,h){if(B.isUndefined(h)){if(!B.isUndefined(f))return s(void 0,f)}else return s(void 0,h)}function l(f,h,p){if(p in e)return s(f,h);if(p in t)return s(void 0,f)}const u={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(f,h,p)=>r(_f(f),_f(h),p,!0)};return B.forEach(Object.keys(Object.assign({},t,e)),function(h){const p=u[h]||r,_=p(t[h],e[h],h);B.isUndefined(_)&&p!==l||(n[h]=_)}),n}const mp=t=>{const e=ys({},t);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:a,auth:l}=e;e.headers=a=Ne.from(a),e.url=cp(pp(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let u;if(B.isFormData(n)){if(pe.hasStandardBrowserEnv||pe.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((u=a.getContentType())!==!1){const[f,...h]=u?u.split(";").map(p=>p.trim()).filter(Boolean):[];a.setContentType([f||"multipart/form-data",...h].join("; "))}}if(pe.hasStandardBrowserEnv&&(s&&B.isFunction(s)&&(s=s(e)),s||s!==!1&&u0(e.url))){const f=r&&o&&f0.read(o);f&&a.set(r,f)}return e},p0=typeof XMLHttpRequest<"u",m0=p0&&function(t){return new Promise(function(n,s){const r=mp(t);let o=r.data;const a=Ne.from(r.headers).normalize();let{responseType:l,onUploadProgress:u,onDownloadProgress:f}=r,h,p,_,g,E;function A(){g&&g(),E&&E(),r.cancelToken&&r.cancelToken.unsubscribe(h),r.signal&&r.signal.removeEventListener("abort",h)}let H=new XMLHttpRequest;H.open(r.method.toUpperCase(),r.url,!0),H.timeout=r.timeout;function I(){if(!H)return;const k=Ne.from("getAllResponseHeaders"in H&&H.getAllResponseHeaders()),q={data:!l||l==="text"||l==="json"?H.responseText:H.response,status:H.status,statusText:H.statusText,headers:k,config:t,request:H};hp(function(R){n(R),A()},function(R){s(R),A()},q),H=null}"onloadend"in H?H.onloadend=I:H.onreadystatechange=function(){!H||H.readyState!==4||H.status===0&&!(H.responseURL&&H.responseURL.indexOf("file:")===0)||setTimeout(I)},H.onabort=function(){H&&(s(new yt("Request aborted",yt.ECONNABORTED,t,H)),H=null)},H.onerror=function(){s(new yt("Network Error",yt.ERR_NETWORK,t,H)),H=null},H.ontimeout=function(){let U=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const q=r.transitional||up;r.timeoutErrorMessage&&(U=r.timeoutErrorMessage),s(new yt(U,q.clarifyTimeoutError?yt.ETIMEDOUT:yt.ECONNABORTED,t,H)),H=null},o===void 0&&a.setContentType(null),"setRequestHeader"in H&&B.forEach(a.toJSON(),function(U,q){H.setRequestHeader(q,U)}),B.isUndefined(r.withCredentials)||(H.withCredentials=!!r.withCredentials),l&&l!=="json"&&(H.responseType=r.responseType),f&&([_,E]=ji(f,!0),H.addEventListener("progress",_)),u&&H.upload&&([p,g]=ji(u),H.upload.addEventListener("progress",p),H.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(h=k=>{H&&(s(!k||k.type?new sr(null,t,H):k),H.abort(),H=null)},r.cancelToken&&r.cancelToken.subscribe(h),r.signal&&(r.signal.aborted?h():r.signal.addEventListener("abort",h)));const F=a0(r.url);if(F&&pe.protocols.indexOf(F)===-1){s(new yt("Unsupported protocol "+F+":",yt.ERR_BAD_REQUEST,t));return}H.send(o||null)})},g0=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let s=new AbortController,r;const o=function(f){if(!r){r=!0,l();const h=f instanceof Error?f:this.reason;s.abort(h instanceof yt?h:new sr(h instanceof Error?h.message:h))}};let a=e&&setTimeout(()=>{a=null,o(new yt(`timeout ${e} of ms exceeded`,yt.ETIMEDOUT))},e);const l=()=>{t&&(a&&clearTimeout(a),a=null,t.forEach(f=>{f.unsubscribe?f.unsubscribe(o):f.removeEventListener("abort",o)}),t=null)};t.forEach(f=>f.addEventListener("abort",o));const{signal:u}=s;return u.unsubscribe=()=>B.asap(l),u}},_0=function*(t,e){let n=t.byteLength;if(n{const r=v0(t,e);let o=0,a,l=u=>{a||(a=!0,s&&s(u))};return new ReadableStream({async pull(u){try{const{done:f,value:h}=await r.next();if(f){l(),u.close();return}let p=h.byteLength;if(n){let _=o+=p;n(_)}u.enqueue(new Uint8Array(h))}catch(f){throw l(f),f}},cancel(u){return l(u),r.return()}},{highWaterMark:2})},po=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",gp=po&&typeof ReadableStream=="function",y0=po&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),_p=(t,...e)=>{try{return!!t(...e)}catch{return!1}},E0=gp&&_p(()=>{let t=!1;const e=new Request(pe.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),bf=64*1024,ll=gp&&_p(()=>B.isReadableStream(new Response("").body)),qi={stream:ll&&(t=>t.body)};po&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!qi[e]&&(qi[e]=B.isFunction(t[e])?n=>n[e]():(n,s)=>{throw new yt(`Response type '${e}' is not supported`,yt.ERR_NOT_SUPPORT,s)})})})(new Response);const w0=async t=>{if(t==null)return 0;if(B.isBlob(t))return t.size;if(B.isSpecCompliantForm(t))return(await new Request(pe.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(B.isArrayBufferView(t)||B.isArrayBuffer(t))return t.byteLength;if(B.isURLSearchParams(t)&&(t=t+""),B.isString(t))return(await y0(t)).byteLength},T0=async(t,e)=>{const n=B.toFiniteNumber(t.getContentLength());return n??w0(e)},A0=po&&(async t=>{let{url:e,method:n,data:s,signal:r,cancelToken:o,timeout:a,onDownloadProgress:l,onUploadProgress:u,responseType:f,headers:h,withCredentials:p="same-origin",fetchOptions:_}=mp(t);f=f?(f+"").toLowerCase():"text";let g=g0([r,o&&o.toAbortSignal()],a),E;const A=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let H;try{if(u&&E0&&n!=="get"&&n!=="head"&&(H=await T0(h,s))!==0){let q=new Request(e,{method:"POST",body:s,duplex:"half"}),O;if(B.isFormData(s)&&(O=q.headers.get("content-type"))&&h.setContentType(O),q.body){const[R,w]=mf(H,ji(gf(u)));s=vf(q.body,bf,R,w)}}B.isString(p)||(p=p?"include":"omit");const I="credentials"in Request.prototype;E=new Request(e,{..._,signal:g,method:n.toUpperCase(),headers:h.normalize().toJSON(),body:s,duplex:"half",credentials:I?p:void 0});let F=await fetch(E);const k=ll&&(f==="stream"||f==="response");if(ll&&(l||k&&A)){const q={};["status","statusText","headers"].forEach(S=>{q[S]=F[S]});const O=B.toFiniteNumber(F.headers.get("content-length")),[R,w]=l&&mf(O,ji(gf(l),!0))||[];F=new Response(vf(F.body,bf,R,()=>{w&&w(),A&&A()}),q)}f=f||"text";let U=await qi[B.findKey(qi,f)||"text"](F,t);return!k&&A&&A(),await new Promise((q,O)=>{hp(q,O,{data:U,headers:Ne.from(F.headers),status:F.status,statusText:F.statusText,config:t,request:E})})}catch(I){throw A&&A(),I&&I.name==="TypeError"&&/Load failed|fetch/i.test(I.message)?Object.assign(new yt("Network Error",yt.ERR_NETWORK,t,E),{cause:I.cause||I}):yt.from(I,I&&I.code,t,E)}}),cl={http:Fw,xhr:m0,fetch:A0};B.forEach(cl,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const yf=t=>`- ${t}`,S0=t=>B.isFunction(t)||t===null||t===!1,vp={getAdapter:t=>{t=B.isArray(t)?t:[t];const{length:e}=t;let n,s;const r={};for(let o=0;o`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=e?o.length>1?`since : +`+o.map(yf).join(` +`):" "+yf(o[0]):"as no adapter specified";throw new yt("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return s},adapters:cl};function ga(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new sr(null,t)}function Ef(t){return ga(t),t.headers=Ne.from(t.headers),t.data=ma.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),vp.getAdapter(t.adapter||Yr.adapter)(t).then(function(s){return ga(t),s.data=ma.call(t,t.transformResponse,s),s.headers=Ne.from(s.headers),s},function(s){return dp(s)||(ga(t),s&&s.response&&(s.response.data=ma.call(t,t.transformResponse,s.response),s.response.headers=Ne.from(s.response.headers))),Promise.reject(s)})}const bp="1.9.0",mo={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{mo[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const wf={};mo.transitional=function(e,n,s){function r(o,a){return"[Axios v"+bp+"] Transitional option '"+o+"'"+a+(s?". "+s:"")}return(o,a,l)=>{if(e===!1)throw new yt(r(a," has been removed"+(n?" in "+n:"")),yt.ERR_DEPRECATED);return n&&!wf[a]&&(wf[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(o,a,l):!0}};mo.spelling=function(e){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${e}`),!0)};function C0(t,e,n){if(typeof t!="object")throw new yt("options must be an object",yt.ERR_BAD_OPTION_VALUE);const s=Object.keys(t);let r=s.length;for(;r-- >0;){const o=s[r],a=e[o];if(a){const l=t[o],u=l===void 0||a(l,o,t);if(u!==!0)throw new yt("option "+o+" must be "+u,yt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new yt("Unknown option "+o,yt.ERR_BAD_OPTION)}}const xi={assertOptions:C0,validators:mo},nn=xi.validators;let gs=class{constructor(e){this.defaults=e||{},this.interceptors={request:new hf,response:new hf}}async request(e,n){try{return await this._request(e,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=` +`+o):s.stack=o}catch{}}throw s}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=ys(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&xi.assertOptions(s,{silentJSONParsing:nn.transitional(nn.boolean),forcedJSONParsing:nn.transitional(nn.boolean),clarifyTimeoutError:nn.transitional(nn.boolean)},!1),r!=null&&(B.isFunction(r)?n.paramsSerializer={serialize:r}:xi.assertOptions(r,{encode:nn.function,serialize:nn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),xi.assertOptions(n,{baseUrl:nn.spelling("baseURL"),withXsrfToken:nn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&B.merge(o.common,o[n.method]);o&&B.forEach(["delete","get","head","post","put","patch","common"],E=>{delete o[E]}),n.headers=Ne.concat(a,o);const l=[];let u=!0;this.interceptors.request.forEach(function(A){typeof A.runWhen=="function"&&A.runWhen(n)===!1||(u=u&&A.synchronous,l.unshift(A.fulfilled,A.rejected))});const f=[];this.interceptors.response.forEach(function(A){f.push(A.fulfilled,A.rejected)});let h,p=0,_;if(!u){const E=[Ef.bind(this),void 0];for(E.unshift.apply(E,l),E.push.apply(E,f),_=E.length,h=Promise.resolve(n);p<_;)h=h.then(E[p++],E[p++]);return h}_=l.length;let g=n;for(p=0;p<_;){const E=l[p++],A=l[p++];try{g=E(g)}catch(H){A.call(this,H);break}}try{h=Ef.call(this,g)}catch(E){return Promise.reject(E)}for(p=0,_=f.length;p<_;)h=h.then(f[p++],f[p++]);return h}getUri(e){e=ys(this.defaults,e);const n=pp(e.baseURL,e.url,e.allowAbsoluteUrls);return cp(n,e.params,e.paramsSerializer)}};B.forEach(["delete","get","head","options"],function(e){gs.prototype[e]=function(n,s){return this.request(ys(s||{},{method:e,url:n,data:(s||{}).data}))}});B.forEach(["post","put","patch"],function(e){function n(s){return function(o,a,l){return this.request(ys(l||{},{method:e,headers:s?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}gs.prototype[e]=n(),gs.prototype[e+"Form"]=n(!0)});let O0=class yp{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const s=this;this.promise.then(r=>{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const a=new Promise(l=>{s.subscribe(l),o=l}).then(r);return a.cancel=function(){s.unsubscribe(o)},a},e(function(o,a,l){s.reason||(s.reason=new sr(o,a,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=s=>{e.abort(s)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new yp(function(r){e=r}),cancel:e}}};function R0(t){return function(n){return t.apply(null,n)}}function N0(t){return B.isObject(t)&&t.isAxiosError===!0}const ul={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ul).forEach(([t,e])=>{ul[e]=t});function Ep(t){const e=new gs(t),n=Qh(gs.prototype.request,e);return B.extend(n,gs.prototype,e,{allOwnKeys:!0}),B.extend(n,e,null,{allOwnKeys:!0}),n.create=function(r){return Ep(ys(t,r))},n}const Vt=Ep(Yr);Vt.Axios=gs;Vt.CanceledError=sr;Vt.CancelToken=O0;Vt.isCancel=dp;Vt.VERSION=bp;Vt.toFormData=ho;Vt.AxiosError=yt;Vt.Cancel=Vt.CanceledError;Vt.all=function(e){return Promise.all(e)};Vt.spread=R0;Vt.isAxiosError=N0;Vt.mergeConfig=ys;Vt.AxiosHeaders=Ne;Vt.formToJSON=t=>fp(B.isHTMLForm(t)?new FormData(t):t);Vt.getAdapter=vp.getAdapter;Vt.HttpStatusCode=ul;Vt.default=Vt;const{Axios:bS,AxiosError:yS,CanceledError:ES,isCancel:wS,CancelToken:TS,VERSION:AS,all:SS,Cancel:CS,isAxiosError:OS,spread:RS,toFormData:NS,AxiosHeaders:xS,HttpStatusCode:$S,formToJSON:PS,getAdapter:DS,mergeConfig:LS}=Vt;/*! + * vue-router v4.5.1 + * (c) 2025 Eduardo San Martin Morote + * @license MIT + */const qs=typeof document<"u";function wp(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function x0(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&wp(t.default)}const Pt=Object.assign;function _a(t,e){const n={};for(const s in e){const r=e[s];n[s]=Qe(r)?r.map(t):t(r)}return n}const xr=()=>{},Qe=Array.isArray,Tp=/#/g,$0=/&/g,P0=/\//g,D0=/=/g,L0=/\?/g,Ap=/\+/g,I0=/%5B/g,M0=/%5D/g,Sp=/%5E/g,k0=/%60/g,Cp=/%7B/g,B0=/%7C/g,Op=/%7D/g,F0=/%20/g;function Vl(t){return encodeURI(""+t).replace(B0,"|").replace(I0,"[").replace(M0,"]")}function H0(t){return Vl(t).replace(Cp,"{").replace(Op,"}").replace(Sp,"^")}function fl(t){return Vl(t).replace(Ap,"%2B").replace(F0,"+").replace(Tp,"%23").replace($0,"%26").replace(k0,"`").replace(Cp,"{").replace(Op,"}").replace(Sp,"^")}function V0(t){return fl(t).replace(D0,"%3D")}function U0(t){return Vl(t).replace(Tp,"%23").replace(L0,"%3F")}function j0(t){return t==null?"":U0(t).replace(P0,"%2F")}function Hr(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const q0=/\/$/,K0=t=>t.replace(q0,"");function va(t,e,n="/"){let s,r={},o="",a="";const l=e.indexOf("#");let u=e.indexOf("?");return l=0&&(u=-1),u>-1&&(s=e.slice(0,u),o=e.slice(u+1,l>-1?l:e.length),r=t(o)),l>-1&&(s=s||e.slice(0,l),a=e.slice(l,e.length)),s=G0(s??e,n),{fullPath:s+(o&&"?")+o+a,path:s,query:r,hash:Hr(a)}}function W0(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function Tf(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function Y0(t,e,n){const s=e.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Zs(e.matched[s],n.matched[r])&&Rp(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Zs(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Rp(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!z0(t[n],e[n]))return!1;return!0}function z0(t,e){return Qe(t)?Af(t,e):Qe(e)?Af(e,t):t===e}function Af(t,e){return Qe(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function G0(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),s=t.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,a,l;for(a=0;a1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(a).join("/")}const Dn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Vr;(function(t){t.pop="pop",t.push="push"})(Vr||(Vr={}));var $r;(function(t){t.back="back",t.forward="forward",t.unknown=""})($r||($r={}));function J0(t){if(!t)if(qs){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),K0(t)}const Q0=/^[^#]+#/;function X0(t,e){return t.replace(Q0,"#")+e}function Z0(t,e){const n=document.documentElement.getBoundingClientRect(),s=t.getBoundingClientRect();return{behavior:e.behavior,left:s.left-n.left-(e.left||0),top:s.top-n.top-(e.top||0)}}const go=()=>({left:window.scrollX,top:window.scrollY});function t1(t){let e;if("el"in t){const n=t.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;e=Z0(r,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function Sf(t,e){return(history.state?history.state.position-e:-1)+t}const dl=new Map;function e1(t,e){dl.set(t,e)}function n1(t){const e=dl.get(t);return dl.delete(t),e}let s1=()=>location.protocol+"//"+location.host;function Np(t,e){const{pathname:n,search:s,hash:r}=e,o=t.indexOf("#");if(o>-1){let l=r.includes(t.slice(o))?t.slice(o).length:1,u=r.slice(l);return u[0]!=="/"&&(u="/"+u),Tf(u,"")}return Tf(n,t)+s+r}function r1(t,e,n,s){let r=[],o=[],a=null;const l=({state:_})=>{const g=Np(t,location),E=n.value,A=e.value;let H=0;if(_){if(n.value=g,e.value=_,a&&a===E){a=null;return}H=A?_.position-A.position:0}else s(g);r.forEach(I=>{I(n.value,E,{delta:H,type:Vr.pop,direction:H?H>0?$r.forward:$r.back:$r.unknown})})};function u(){a=n.value}function f(_){r.push(_);const g=()=>{const E=r.indexOf(_);E>-1&&r.splice(E,1)};return o.push(g),g}function h(){const{history:_}=window;_.state&&_.replaceState(Pt({},_.state,{scroll:go()}),"")}function p(){for(const _ of o)_();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",h)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",h,{passive:!0}),{pauseListeners:u,listen:f,destroy:p}}function Cf(t,e,n,s=!1,r=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:r?go():null}}function i1(t){const{history:e,location:n}=window,s={value:Np(t,n)},r={value:e.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function o(u,f,h){const p=t.indexOf("#"),_=p>-1?(n.host&&document.querySelector("base")?t:t.slice(p))+u:s1()+t+u;try{e[h?"replaceState":"pushState"](f,"",_),r.value=f}catch(g){console.error(g),n[h?"replace":"assign"](_)}}function a(u,f){const h=Pt({},e.state,Cf(r.value.back,u,r.value.forward,!0),f,{position:r.value.position});o(u,h,!0),s.value=u}function l(u,f){const h=Pt({},r.value,e.state,{forward:u,scroll:go()});o(h.current,h,!0);const p=Pt({},Cf(s.value,u,null),{position:h.position+1},f);o(u,p,!1),s.value=u}return{location:s,state:r,push:l,replace:a}}function o1(t){t=J0(t);const e=i1(t),n=r1(t,e.state,e.location,e.replace);function s(o,a=!0){a||n.pauseListeners(),history.go(o)}const r=Pt({location:"",base:t,go:s,createHref:X0.bind(null,t)},e,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>e.state.value}),r}function a1(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),o1(t)}function l1(t){return typeof t=="string"||t&&typeof t=="object"}function xp(t){return typeof t=="string"||typeof t=="symbol"}const $p=Symbol("");var Of;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Of||(Of={}));function tr(t,e){return Pt(new Error,{type:t,[$p]:!0},e)}function _n(t,e){return t instanceof Error&&$p in t&&(e==null||!!(t.type&e))}const Rf="[^/]+?",c1={sensitive:!1,strict:!1,start:!0,end:!0},u1=/[.+*?^${}()[\]/\\]/g;function f1(t,e){const n=Pt({},c1,e),s=[];let r=n.start?"^":"";const o=[];for(const f of t){const h=f.length?[]:[90];n.strict&&!f.length&&(r+="/");for(let p=0;pe.length?e.length===1&&e[0]===80?1:-1:0}function Pp(t,e){let n=0;const s=t.score,r=e.score;for(;n0&&e[e.length-1]<0}const h1={type:0,value:""},p1=/[a-zA-Z0-9_]/;function m1(t){if(!t)return[[]];if(t==="/")return[[h1]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(g){throw new Error(`ERR (${n})/"${f}": ${g}`)}let n=0,s=n;const r=[];let o;function a(){o&&r.push(o),o=[]}let l=0,u,f="",h="";function p(){f&&(n===0?o.push({type:0,value:f}):n===1||n===2||n===3?(o.length>1&&(u==="*"||u==="+")&&e(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:f,regexp:h,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):e("Invalid state to consume buffer"),f="")}function _(){f+=u}for(;l{a(k)}:xr}function a(p){if(xp(p)){const _=s.get(p);_&&(s.delete(p),n.splice(n.indexOf(_),1),_.children.forEach(a),_.alias.forEach(a))}else{const _=n.indexOf(p);_>-1&&(n.splice(_,1),p.record.name&&s.delete(p.record.name),p.children.forEach(a),p.alias.forEach(a))}}function l(){return n}function u(p){const _=y1(p,n);n.splice(_,0,p),p.record.name&&!Pf(p)&&s.set(p.record.name,p)}function f(p,_){let g,E={},A,H;if("name"in p&&p.name){if(g=s.get(p.name),!g)throw tr(1,{location:p});H=g.record.name,E=Pt(xf(_.params,g.keys.filter(k=>!k.optional).concat(g.parent?g.parent.keys.filter(k=>k.optional):[]).map(k=>k.name)),p.params&&xf(p.params,g.keys.map(k=>k.name))),A=g.stringify(E)}else if(p.path!=null)A=p.path,g=n.find(k=>k.re.test(A)),g&&(E=g.parse(A),H=g.record.name);else{if(g=_.name?s.get(_.name):n.find(k=>k.re.test(_.path)),!g)throw tr(1,{location:p,currentLocation:_});H=g.record.name,E=Pt({},_.params,p.params),A=g.stringify(E)}const I=[];let F=g;for(;F;)I.unshift(F.record),F=F.parent;return{name:H,path:A,params:E,matched:I,meta:b1(I)}}t.forEach(p=>o(p));function h(){n.length=0,s.clear()}return{addRoute:o,resolve:f,removeRoute:a,clearRoutes:h,getRoutes:l,getRecordMatcher:r}}function xf(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function $f(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:v1(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function v1(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const s in t.components)e[s]=typeof n=="object"?n[s]:n;return e}function Pf(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function b1(t){return t.reduce((e,n)=>Pt(e,n.meta),{})}function Df(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function y1(t,e){let n=0,s=e.length;for(;n!==s;){const o=n+s>>1;Pp(t,e[o])<0?s=o:n=o+1}const r=E1(t);return r&&(s=e.lastIndexOf(r,s-1)),s}function E1(t){let e=t;for(;e=e.parent;)if(Dp(e)&&Pp(t,e)===0)return e}function Dp({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function w1(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let r=0;ro&&fl(o)):[s&&fl(s)]).forEach(o=>{o!==void 0&&(e+=(e.length?"&":"")+n,o!=null&&(e+="="+o))})}return e}function T1(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=Qe(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return e}const Lp=Symbol(""),If=Symbol(""),_o=Symbol(""),Ul=Symbol(""),hl=Symbol("");function br(){let t=[];function e(s){return t.push(s),()=>{const r=t.indexOf(s);r>-1&&t.splice(r,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function A1(t,e,n){const s=()=>{t[e].delete(n)};xl(s),ah(s),oh(()=>{t[e].add(n)}),t[e].add(n)}function S1(t){const e=Me(Lp,{}).value;e&&A1(e,"leaveGuards",t)}function Hn(t,e,n,s,r,o=a=>a()){const a=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,u)=>{const f=_=>{_===!1?u(tr(4,{from:n,to:e})):_ instanceof Error?u(_):l1(_)?u(tr(2,{from:e,to:_})):(a&&s.enterCallbacks[r]===a&&typeof _=="function"&&a.push(_),l())},h=o(()=>t.call(s&&s.instances[r],e,n,f));let p=Promise.resolve(h);t.length<3&&(p=p.then(f)),p.catch(_=>u(_))})}function ba(t,e,n,s,r=o=>o()){const o=[];for(const a of t)for(const l in a.components){let u=a.components[l];if(!(e!=="beforeRouteEnter"&&!a.instances[l]))if(wp(u)){const h=(u.__vccOpts||u)[e];h&&o.push(Hn(h,n,s,a,l,r))}else{let f=u();o.push(()=>f.then(h=>{if(!h)throw new Error(`Couldn't resolve component "${l}" at "${a.path}"`);const p=x0(h)?h.default:h;a.mods[l]=h,a.components[l]=p;const g=(p.__vccOpts||p)[e];return g&&Hn(g,n,s,a,l,r)()}))}}return o}function Mf(t){const e=Me(_o),n=Me(Ul),s=zt(()=>{const u=Ce(t.to);return e.resolve(u)}),r=zt(()=>{const{matched:u}=s.value,{length:f}=u,h=u[f-1],p=n.matched;if(!h||!p.length)return-1;const _=p.findIndex(Zs.bind(null,h));if(_>-1)return _;const g=kf(u[f-2]);return f>1&&kf(h)===g&&p[p.length-1].path!==g?p.findIndex(Zs.bind(null,u[f-2])):_}),o=zt(()=>r.value>-1&&x1(n.params,s.value.params)),a=zt(()=>r.value>-1&&r.value===n.matched.length-1&&Rp(n.params,s.value.params));function l(u={}){if(N1(u)){const f=e[Ce(t.replace)?"replace":"push"](Ce(t.to)).catch(xr);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:s,href:zt(()=>s.value.href),isActive:o,isExactActive:a,navigate:l}}function C1(t){return t.length===1?t[0]:t}const O1=rh({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Mf,setup(t,{slots:e}){const n=Sn(Mf(t)),{options:s}=Me(_o),r=zt(()=>({[Bf(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Bf(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=e.default&&C1(e.default(n));return t.custom?o:Ml("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),R1=O1;function N1(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function x1(t,e){for(const n in e){const s=e[n],r=t[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Qe(r)||r.length!==s.length||s.some((o,a)=>o!==r[a]))return!1}return!0}function kf(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Bf=(t,e,n)=>t??e??n,$1=rh({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=Me(hl),r=zt(()=>t.route||s.value),o=Me(If,0),a=zt(()=>{let f=Ce(o);const{matched:h}=r.value;let p;for(;(p=h[f])&&!p.components;)f++;return f}),l=zt(()=>r.value.matched[a.value]);Ai(If,zt(()=>a.value+1)),Ai(Lp,l),Ai(hl,r);const u=te();return zs(()=>[u.value,l.value,t.name],([f,h,p],[_,g,E])=>{h&&(h.instances[p]=f,g&&g!==h&&f&&f===_&&(h.leaveGuards.size||(h.leaveGuards=g.leaveGuards),h.updateGuards.size||(h.updateGuards=g.updateGuards))),f&&h&&(!g||!Zs(h,g)||!_)&&(h.enterCallbacks[p]||[]).forEach(A=>A(f))},{flush:"post"}),()=>{const f=r.value,h=t.name,p=l.value,_=p&&p.components[h];if(!_)return Ff(n.default,{Component:_,route:f});const g=p.props[h],E=g?g===!0?f.params:typeof g=="function"?g(f):g:null,H=Ml(_,Pt({},E,e,{onVnodeUnmounted:I=>{I.component.isUnmounted&&(p.instances[h]=null)},ref:u}));return Ff(n.default,{Component:H,route:f})||H}}});function Ff(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const P1=$1;function D1(t){const e=_1(t.routes,t),n=t.parseQuery||w1,s=t.stringifyQuery||Lf,r=t.history,o=br(),a=br(),l=br(),u=Fb(Dn);let f=Dn;qs&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const h=_a.bind(null,V=>""+V),p=_a.bind(null,j0),_=_a.bind(null,Hr);function g(V,T){let et,it;return xp(V)?(et=e.getRecordMatcher(V),it=T):it=V,e.addRoute(it,et)}function E(V){const T=e.getRecordMatcher(V);T&&e.removeRoute(T)}function A(){return e.getRoutes().map(V=>V.record)}function H(V){return!!e.getRecordMatcher(V)}function I(V,T){if(T=Pt({},T||u.value),typeof V=="string"){const C=va(n,V,T.path),K=e.resolve({path:C.path},T),G=r.createHref(C.fullPath);return Pt(C,K,{params:_(K.params),hash:Hr(C.hash),redirectedFrom:void 0,href:G})}let et;if(V.path!=null)et=Pt({},V,{path:va(n,V.path,T.path).path});else{const C=Pt({},V.params);for(const K in C)C[K]==null&&delete C[K];et=Pt({},V,{params:p(C)}),T.params=p(T.params)}const it=e.resolve(et,T),Et=V.hash||"";it.params=h(_(it.params));const v=W0(s,Pt({},V,{hash:H0(Et),path:it.path})),b=r.createHref(v);return Pt({fullPath:v,hash:Et,query:s===Lf?T1(V.query):V.query||{}},it,{redirectedFrom:void 0,href:b})}function F(V){return typeof V=="string"?va(n,V,u.value.path):Pt({},V)}function k(V,T){if(f!==V)return tr(8,{from:T,to:V})}function U(V){return R(V)}function q(V){return U(Pt(F(V),{replace:!0}))}function O(V){const T=V.matched[V.matched.length-1];if(T&&T.redirect){const{redirect:et}=T;let it=typeof et=="function"?et(V):et;return typeof it=="string"&&(it=it.includes("?")||it.includes("#")?it=F(it):{path:it},it.params={}),Pt({query:V.query,hash:V.hash,params:it.path!=null?{}:V.params},it)}}function R(V,T){const et=f=I(V),it=u.value,Et=V.state,v=V.force,b=V.replace===!0,C=O(et);if(C)return R(Pt(F(C),{state:typeof C=="object"?Pt({},Et,C.state):Et,force:v,replace:b}),T||et);const K=et;K.redirectedFrom=T;let G;return!v&&Y0(s,it,et)&&(G=tr(16,{to:K,from:it}),_t(it,it,!0,!1)),(G?Promise.resolve(G):L(K,it)).catch(N=>_n(N)?_n(N,2)?N:ut(N):J(N,K,it)).then(N=>{if(N){if(_n(N,2))return R(Pt({replace:b},F(N.to),{state:typeof N.to=="object"?Pt({},Et,N.to.state):Et,force:v}),T||K)}else N=D(K,it,!0,b,Et);return M(K,it,N),N})}function w(V,T){const et=k(V,T);return et?Promise.reject(et):Promise.resolve()}function S(V){const T=It.values().next().value;return T&&typeof T.runWithContext=="function"?T.runWithContext(V):V()}function L(V,T){let et;const[it,Et,v]=L1(V,T);et=ba(it.reverse(),"beforeRouteLeave",V,T);for(const C of it)C.leaveGuards.forEach(K=>{et.push(Hn(K,V,T))});const b=w.bind(null,V,T);return et.push(b),Wt(et).then(()=>{et=[];for(const C of o.list())et.push(Hn(C,V,T));return et.push(b),Wt(et)}).then(()=>{et=ba(Et,"beforeRouteUpdate",V,T);for(const C of Et)C.updateGuards.forEach(K=>{et.push(Hn(K,V,T))});return et.push(b),Wt(et)}).then(()=>{et=[];for(const C of v)if(C.beforeEnter)if(Qe(C.beforeEnter))for(const K of C.beforeEnter)et.push(Hn(K,V,T));else et.push(Hn(C.beforeEnter,V,T));return et.push(b),Wt(et)}).then(()=>(V.matched.forEach(C=>C.enterCallbacks={}),et=ba(v,"beforeRouteEnter",V,T,S),et.push(b),Wt(et))).then(()=>{et=[];for(const C of a.list())et.push(Hn(C,V,T));return et.push(b),Wt(et)}).catch(C=>_n(C,8)?C:Promise.reject(C))}function M(V,T,et){l.list().forEach(it=>S(()=>it(V,T,et)))}function D(V,T,et,it,Et){const v=k(V,T);if(v)return v;const b=T===Dn,C=qs?history.state:{};et&&(it||b?r.replace(V.fullPath,Pt({scroll:b&&C&&C.scroll},Et)):r.push(V.fullPath,Et)),u.value=V,_t(V,T,et,b),ut()}let z;function j(){z||(z=r.listen((V,T,et)=>{if(!qt.listening)return;const it=I(V),Et=O(it);if(Et){R(Pt(Et,{replace:!0,force:!0}),it).catch(xr);return}f=it;const v=u.value;qs&&e1(Sf(v.fullPath,et.delta),go()),L(it,v).catch(b=>_n(b,12)?b:_n(b,2)?(R(Pt(F(b.to),{force:!0}),it).then(C=>{_n(C,20)&&!et.delta&&et.type===Vr.pop&&r.go(-1,!1)}).catch(xr),Promise.reject()):(et.delta&&r.go(-et.delta,!1),J(b,it,v))).then(b=>{b=b||D(it,v,!1),b&&(et.delta&&!_n(b,8)?r.go(-et.delta,!1):et.type===Vr.pop&&_n(b,20)&&r.go(-1,!1)),M(it,v,b)}).catch(xr)}))}let X=br(),Y=br(),Q;function J(V,T,et){ut(V);const it=Y.list();return it.length?it.forEach(Et=>Et(V,T,et)):console.error(V),Promise.reject(V)}function ct(){return Q&&u.value!==Dn?Promise.resolve():new Promise((V,T)=>{X.add([V,T])})}function ut(V){return Q||(Q=!V,j(),X.list().forEach(([T,et])=>V?et(V):T()),X.reset()),V}function _t(V,T,et,it){const{scrollBehavior:Et}=t;if(!qs||!Et)return Promise.resolve();const v=!et&&n1(Sf(V.fullPath,0))||(it||!et)&&history.state&&history.state.scroll||null;return Xi().then(()=>Et(V,T,v)).then(b=>b&&t1(b)).catch(b=>J(b,V,T))}const bt=V=>r.go(V);let Nt;const It=new Set,qt={currentRoute:u,listening:!0,addRoute:g,removeRoute:E,clearRoutes:e.clearRoutes,hasRoute:H,getRoutes:A,resolve:I,options:t,push:U,replace:q,go:bt,back:()=>bt(-1),forward:()=>bt(1),beforeEach:o.add,beforeResolve:a.add,afterEach:l.add,onError:Y.add,isReady:ct,install(V){const T=this;V.component("RouterLink",R1),V.component("RouterView",P1),V.config.globalProperties.$router=T,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>Ce(u)}),qs&&!Nt&&u.value===Dn&&(Nt=!0,U(r.location).catch(Et=>{}));const et={};for(const Et in Dn)Object.defineProperty(et,Et,{get:()=>u.value[Et],enumerable:!0});V.provide(_o,T),V.provide(Ul,jd(et)),V.provide(hl,u);const it=V.unmount;It.add(V),V.unmount=function(){It.delete(V),It.size<1&&(f=Dn,z&&z(),z=null,u.value=Dn,Nt=!1,Q=!1),it()}}};function Wt(V){return V.reduce((T,et)=>T.then(()=>S(et)),Promise.resolve())}return qt}function L1(t,e){const n=[],s=[],r=[],o=Math.max(e.matched.length,t.matched.length);for(let a=0;aZs(f,l))?s.push(l):n.push(l));const u=t.matched[a];u&&(e.matched.find(f=>Zs(f,u))||r.push(u))}return[n,s,r]}function jl(){return Me(_o)}function I1(t){return Me(Ul)}const rr=t=>`${window.location.protocol}//${(window.location.host+window.location.pathname+t).replace(/\/\//g,"/")}`,vo=async(t,e={})=>{try{return(await Vt.post(rr(t),e)).data}catch(n){console.log(n);return}},Ki=async(t,e={})=>{try{return(await Vt.get(rr(t),e)).data}catch(n){console.log(n);return}},dn=WE("clientStore",{state:()=>({serverInformation:{},notifications:[],configurations:[],clientProfile:{Email:"",SignInMethod:"",Profile:{}}}),actions:{newNotification(t,e){this.notifications.push({id:Jh().toString(),status:e,content:t,time:wr(),show:!0})},async getClientProfile(){const t=await Ki("/api/settings/getClientProfile");t?this.clientProfile=t.data:this.newNotification("Failed to fetch client profile","danger")},async getConfigurations(){const t=await Ki("/api/configurations");t?this.configurations=t.data:this.newNotification("Failed to fetch configurations","danger")}}}),ir=(t,e)=>{const n=t.__vccOpts||t;for(const[s,r]of e)n[s]=r;return n},M1={class:"card-body"},k1={class:"d-flex align-items-center mb-2"},B1={class:"ms-auto"},F1={class:"fw-medium"},H1={__name:"notification",props:{notificationData:{id:"",show:!0,content:"",time:"",status:""}},setup(t){const e=t;let n;const s=()=>{e.notificationData.show=!0,n=setTimeout(()=>{o()},5e3)},r=()=>clearTimeout(n),o=()=>e.notificationData.show=!1;return ws(()=>{s()}),(a,l)=>(mt(),Ot("div",{onMouseenter:l[1]||(l[1]=u=>r()),onMouseleave:l[2]||(l[2]=u=>t.notificationData.show?s():void 0),class:ln([{"text-bg-success":t.notificationData.status==="success","text-bg-warning":t.notificationData.status==="warning","text-bg-danger":t.notificationData.status==="danger"},"card shadow rounded-3 position-relative message ms-auto notification"])},[$("div",M1,[$("div",k1,[$("small",null,Te(t.notificationData.time.format("hh:mm A")),1),$("small",B1,[$("a",{role:"button",onClick:l[0]||(l[0]=u=>o())},l[3]||(l[3]=[Yt(" Dismiss"),$("i",{class:"bi bi-x-lg ms-2"},null,-1)]))])]),$("span",F1,Te(t.notificationData.content),1)])],34))}},V1=ir(H1,[["__scopeId","data-v-3303bfcd"]]),U1={class:"messageCentre text-body position-absolute d-flex"},j1={__name:"notificationList",setup(t){const e=dn(),n=zt(()=>e.notifications.filter(s=>s.show).slice().reverse());return(s,r)=>(mt(),Ot("div",U1,[Lt(SE,{name:"message",tag:"div",class:"position-relative flex-sm-grow-0 flex-grow-1 d-flex align-items-end ms-sm-auto flex-column gap-2"},{default:Oe(()=>[(mt(!0),Ot(we,null,eo(n.value,o=>(mt(),Je(V1,{notificationData:o,key:o.id},null,8,["notificationData"]))),128))]),_:1})]))}},q1=ir(j1,[["__scopeId","data-v-e4fed80c"]]),K1={"data-bs-theme":"dark",class:"text-body bg-body vw-100 vh-100 bg-body-tertiary"},W1={class:"d-flex vh-100 vw-100 p-sm-4 overflow-y-scroll"},Y1={class:"mx-auto my-sm-auto position-relative",id:"listContainer",style:{width:"700px"}},z1={__name:"App",setup(t){const e=dn();return fetch("/client/api/serverInformation").then(n=>n.json()).then(n=>e.serverInformation=n.data),(n,s)=>{const r=Kr("RouterView");return mt(),Ot("div",K1,[$("div",W1,[$("div",Y1,[(mt(),Je($h,null,{default:Oe(()=>[Lt(r,null,{default:Oe(({Component:o})=>[Lt(oo,{name:"app",type:"transition",mode:"out-in"},{default:Oe(()=>[(mt(),Je(ay(o)))]),_:2},1024)]),_:1})]),_:1}))])]),Lt(q1)])}}},G1=ir(z1,[["__scopeId","data-v-8742499d"]]);var Us={},ya,Hf;function J1(){return Hf||(Hf=1,ya=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),ya}var Ea={},Ln={},Vf;function Ts(){if(Vf)return Ln;Vf=1;let t;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return Ln.getSymbolSize=function(s){if(!s)throw new Error('"version" cannot be null or undefined');if(s<1||s>40)throw new Error('"version" should be in range from 1 to 40');return s*4+17},Ln.getSymbolTotalCodewords=function(s){return e[s]},Ln.getBCHDigit=function(n){let s=0;for(;n!==0;)s++,n>>>=1;return s},Ln.setToSJISFunction=function(s){if(typeof s!="function")throw new Error('"toSJISFunc" is not a valid function.');t=s},Ln.isKanjiModeEnabled=function(){return typeof t<"u"},Ln.toSJIS=function(s){return t(s)},Ln}var wa={},Uf;function ql(){return Uf||(Uf=1,function(t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2};function e(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+n)}}t.isValid=function(s){return s&&typeof s.bit<"u"&&s.bit>=0&&s.bit<4},t.from=function(s,r){if(t.isValid(s))return s;try{return e(s)}catch{return r}}}(wa)),wa}var Ta,jf;function Q1(){if(jf)return Ta;jf=1;function t(){this.buffer=[],this.length=0}return t.prototype={get:function(e){const n=Math.floor(e/8);return(this.buffer[n]>>>7-e%8&1)===1},put:function(e,n){for(let s=0;s>>n-s-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),e&&(this.buffer[n]|=128>>>this.length%8),this.length++}},Ta=t,Ta}var Aa,qf;function X1(){if(qf)return Aa;qf=1;function t(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}return t.prototype.set=function(e,n,s,r){const o=e*this.size+n;this.data[o]=s,r&&(this.reservedBit[o]=!0)},t.prototype.get=function(e,n){return this.data[e*this.size+n]},t.prototype.xor=function(e,n,s){this.data[e*this.size+n]^=s},t.prototype.isReserved=function(e,n){return this.reservedBit[e*this.size+n]},Aa=t,Aa}var Sa={},Kf;function Z1(){return Kf||(Kf=1,function(t){const e=Ts().getSymbolSize;t.getRowColCoords=function(s){if(s===1)return[];const r=Math.floor(s/7)+2,o=e(s),a=o===145?26:Math.ceil((o-13)/(2*r-2))*2,l=[o-7];for(let u=1;u=0&&r<=7},t.from=function(r){return t.isValid(r)?parseInt(r,10):void 0},t.getPenaltyN1=function(r){const o=r.size;let a=0,l=0,u=0,f=null,h=null;for(let p=0;p=5&&(a+=e.N1+(l-5)),f=g,l=1),g=r.get(_,p),g===h?u++:(u>=5&&(a+=e.N1+(u-5)),h=g,u=1)}l>=5&&(a+=e.N1+(l-5)),u>=5&&(a+=e.N1+(u-5))}return a},t.getPenaltyN2=function(r){const o=r.size;let a=0;for(let l=0;l=10&&(l===1488||l===93)&&a++,u=u<<1&2047|r.get(h,f),h>=10&&(u===1488||u===93)&&a++}return a*e.N3},t.getPenaltyN4=function(r){let o=0;const a=r.data.length;for(let u=0;u=0;){const a=o[0];for(let u=0;u0){const l=new Uint8Array(this.degree);return l.set(o,a),l}return o},Na=e,Na}var xa={},$a={},Pa={},Xf;function Mp(){return Xf||(Xf=1,Pa.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}),Pa}var sn={},Zf;function kp(){if(Zf)return sn;Zf=1;const t="[0-9]+",e="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const s="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r +]))+`;sn.KANJI=new RegExp(n,"g"),sn.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),sn.BYTE=new RegExp(s,"g"),sn.NUMERIC=new RegExp(t,"g"),sn.ALPHANUMERIC=new RegExp(e,"g");const r=new RegExp("^"+n+"$"),o=new RegExp("^"+t+"$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return sn.testKanji=function(u){return r.test(u)},sn.testNumeric=function(u){return o.test(u)},sn.testAlphanumeric=function(u){return a.test(u)},sn}var td;function As(){return td||(td=1,function(t){const e=Mp(),n=kp();t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(o,a){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!e.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?o.ccBits[0]:a<27?o.ccBits[1]:o.ccBits[2]},t.getBestModeForData=function(o){return n.testNumeric(o)?t.NUMERIC:n.testAlphanumeric(o)?t.ALPHANUMERIC:n.testKanji(o)?t.KANJI:t.BYTE},t.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},t.isValid=function(o){return o&&o.bit&&o.ccBits};function s(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+r)}}t.from=function(o,a){if(t.isValid(o))return o;try{return s(o)}catch{return a}}}($a)),$a}var ed;function iT(){return ed||(ed=1,function(t){const e=Ts(),n=Ip(),s=ql(),r=As(),o=Mp(),a=7973,l=e.getBCHDigit(a);function u(_,g,E){for(let A=1;A<=40;A++)if(g<=t.getCapacity(A,E,_))return A}function f(_,g){return r.getCharCountIndicator(_,g)+4}function h(_,g){let E=0;return _.forEach(function(A){const H=f(A.mode,g);E+=H+A.getBitsLength()}),E}function p(_,g){for(let E=1;E<=40;E++)if(h(_,E)<=t.getCapacity(E,g,r.MIXED))return E}t.from=function(g,E){return o.isValid(g)?parseInt(g,10):E},t.getCapacity=function(g,E,A){if(!o.isValid(g))throw new Error("Invalid QR Code version");typeof A>"u"&&(A=r.BYTE);const H=e.getSymbolTotalCodewords(g),I=n.getTotalCodewordsCount(g,E),F=(H-I)*8;if(A===r.MIXED)return F;const k=F-f(A,g);switch(A){case r.NUMERIC:return Math.floor(k/10*3);case r.ALPHANUMERIC:return Math.floor(k/11*2);case r.KANJI:return Math.floor(k/13);case r.BYTE:default:return Math.floor(k/8)}},t.getBestVersionForData=function(g,E){let A;const H=s.from(E,s.M);if(Array.isArray(g)){if(g.length>1)return p(g,H);if(g.length===0)return 1;A=g[0]}else A=g;return u(A.mode,A.getLength(),H)},t.getEncodedBits=function(g){if(!o.isValid(g)||g<7)throw new Error("Invalid QR Code version");let E=g<<12;for(;e.getBCHDigit(E)-l>=0;)E^=a<=0;)u^=e<0&&(o=this.data.substr(r),a=parseInt(o,10),s.put(a,l*3+1))},Ia=e,Ia}var Ma,rd;function lT(){if(rd)return Ma;rd=1;const t=As(),e=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(s){this.mode=t.ALPHANUMERIC,this.data=s}return n.getBitsLength=function(r){return 11*Math.floor(r/2)+6*(r%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(r){let o;for(o=0;o+2<=this.data.length;o+=2){let a=e.indexOf(this.data[o])*45;a+=e.indexOf(this.data[o+1]),r.put(a,11)}this.data.length%2&&r.put(e.indexOf(this.data[o]),6)},Ma=n,Ma}var ka,id;function cT(){if(id)return ka;id=1;const t=As();function e(n){this.mode=t.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}return e.getBitsLength=function(s){return s*8},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(n){for(let s=0,r=this.data.length;s=33088&&o<=40956)o-=33088;else if(o>=57408&&o<=60351)o-=49472;else throw new Error("Invalid SJIS character: "+this.data[r]+` +Make sure your charset is UTF-8`);o=(o>>>8&255)*192+(o&255),s.put(o,13)}},Ba=n,Ba}var Fa={exports:{}},ad;function fT(){return ad||(ad=1,function(t){var e={single_source_shortest_paths:function(n,s,r){var o={},a={};a[s]=0;var l=e.PriorityQueue.make();l.push(s,0);for(var u,f,h,p,_,g,E,A,H;!l.empty();){u=l.pop(),f=u.value,p=u.cost,_=n[f]||{};for(h in _)_.hasOwnProperty(h)&&(g=_[h],E=p+g,A=a[h],H=typeof a[h]>"u",(H||A>E)&&(a[h]=E,l.push(h,E),o[h]=f))}if(typeof r<"u"&&typeof a[r]>"u"){var I=["Could not find a path from ",s," to ",r,"."].join("");throw new Error(I)}return o},extract_shortest_path_from_predecessor_list:function(n,s){for(var r=[],o=s;o;)r.push(o),n[o],o=n[o];return r.reverse(),r},find_path:function(n,s,r){var o=e.single_source_shortest_paths(n,s,r);return e.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(n){var s=e.PriorityQueue,r={},o;n=n||{};for(o in s)s.hasOwnProperty(o)&&(r[o]=s[o]);return r.queue=[],r.sorter=n.sorter||s.default_sorter,r},default_sorter:function(n,s){return n.cost-s.cost},push:function(n,s){var r={value:n,cost:s};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};t.exports=e}(Fa)),Fa.exports}var ld;function dT(){return ld||(ld=1,function(t){const e=As(),n=aT(),s=lT(),r=cT(),o=uT(),a=kp(),l=Ts(),u=fT();function f(I){return unescape(encodeURIComponent(I)).length}function h(I,F,k){const U=[];let q;for(;(q=I.exec(k))!==null;)U.push({data:q[0],index:q.index,mode:F,length:q[0].length});return U}function p(I){const F=h(a.NUMERIC,e.NUMERIC,I),k=h(a.ALPHANUMERIC,e.ALPHANUMERIC,I);let U,q;return l.isKanjiModeEnabled()?(U=h(a.BYTE,e.BYTE,I),q=h(a.KANJI,e.KANJI,I)):(U=h(a.BYTE_KANJI,e.BYTE,I),q=[]),F.concat(k,U,q).sort(function(R,w){return R.index-w.index}).map(function(R){return{data:R.data,mode:R.mode,length:R.length}})}function _(I,F){switch(F){case e.NUMERIC:return n.getBitsLength(I);case e.ALPHANUMERIC:return s.getBitsLength(I);case e.KANJI:return o.getBitsLength(I);case e.BYTE:return r.getBitsLength(I)}}function g(I){return I.reduce(function(F,k){const U=F.length-1>=0?F[F.length-1]:null;return U&&U.mode===k.mode?(F[F.length-1].data+=k.data,F):(F.push(k),F)},[])}function E(I){const F=[];for(let k=0;k=0&&z<=6&&(j===0||j===6)||j>=0&&j<=6&&(z===0||z===6)||z>=2&&z<=4&&j>=2&&j<=4?O.set(M+z,D+j,!0,!0):O.set(M+z,D+j,!1,!0))}}function E(O){const R=O.size;for(let w=8;w>z&1)===1,O.set(L,M,D,!0),O.set(M,L,D,!0)}function I(O,R,w){const S=O.size,L=h.getEncodedBits(R,w);let M,D;for(M=0;M<15;M++)D=(L>>M&1)===1,M<6?O.set(M,8,D,!0):M<8?O.set(M+1,8,D,!0):O.set(S-15+M,8,D,!0),M<8?O.set(8,S-M-1,D,!0):M<9?O.set(8,15-M-1+1,D,!0):O.set(8,15-M-1,D,!0);O.set(S-8,8,1,!0)}function F(O,R){const w=O.size;let S=-1,L=w-1,M=7,D=0;for(let z=w-1;z>0;z-=2)for(z===6&&z--;;){for(let j=0;j<2;j++)if(!O.isReserved(L,z-j)){let X=!1;D>>M&1)===1),O.set(L,z-j,X),M--,M===-1&&(D++,M=7)}if(L+=S,L<0||w<=L){L-=S,S=-S;break}}}function k(O,R,w){const S=new n;w.forEach(function(j){S.put(j.mode.bit,4),S.put(j.getLength(),p.getCharCountIndicator(j.mode,O)),j.write(S)});const L=t.getSymbolTotalCodewords(O),M=l.getTotalCodewordsCount(O,R),D=(L-M)*8;for(S.getLengthInBits()+4<=D&&S.put(0,4);S.getLengthInBits()%8!==0;)S.putBit(0);const z=(D-S.getLengthInBits())/8;for(let j=0;j=7&&H(j,R),F(j,D),isNaN(S)&&(S=a.getBestMask(j,I.bind(null,j,w))),a.applyMask(S,j),I(j,w,S),{modules:j,version:R,errorCorrectionLevel:w,maskPattern:S,segments:L}}return Ea.create=function(R,w){if(typeof R>"u"||R==="")throw new Error("No input text");let S=e.M,L,M;return typeof w<"u"&&(S=e.from(w.errorCorrectionLevel,e.M),L=f.from(w.version),M=a.from(w.maskPattern),w.toSJISFunc&&t.setToSJISFunction(w.toSJISFunc)),q(R,L,S,M)},Ea}var Ha={},Va={},ud;function Bp(){return ud||(ud=1,function(t){function e(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let s=n.slice().replace("#","").split("");if(s.length<3||s.length===5||s.length>8)throw new Error("Invalid hex color: "+n);(s.length===3||s.length===4)&&(s=Array.prototype.concat.apply([],s.map(function(o){return[o,o]}))),s.length===6&&s.push("F","F");const r=parseInt(s.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:r&255,hex:"#"+s.slice(0,6).join("")}}t.getOptions=function(s){s||(s={}),s.color||(s.color={});const r=typeof s.margin>"u"||s.margin===null||s.margin<0?4:s.margin,o=s.width&&s.width>=21?s.width:void 0,a=s.scale||4;return{width:o,scale:o?4:a,margin:r,color:{dark:e(s.color.dark||"#000000ff"),light:e(s.color.light||"#ffffffff")},type:s.type,rendererOpts:s.rendererOpts||{}}},t.getScale=function(s,r){return r.width&&r.width>=s+r.margin*2?r.width/(s+r.margin*2):r.scale},t.getImageWidth=function(s,r){const o=t.getScale(s,r);return Math.floor((s+r.margin*2)*o)},t.qrToImageData=function(s,r,o){const a=r.modules.size,l=r.modules.data,u=t.getScale(a,o),f=Math.floor((a+o.margin*2)*u),h=o.margin*u,p=[o.color.light,o.color.dark];for(let _=0;_=h&&g>=h&&_"u"&&(!a||!a.getContext)&&(u=a,a=void 0),a||(f=s()),u=e.getOptions(u);const h=e.getImageWidth(o.modules.size,u),p=f.getContext("2d"),_=p.createImageData(h,h);return e.qrToImageData(_.data,o,u),n(p,f,h),p.putImageData(_,0,0),f},t.renderToDataURL=function(o,a,l){let u=l;typeof u>"u"&&(!a||!a.getContext)&&(u=a,a=void 0),u||(u={});const f=t.render(o,a,u),h=u.type||"image/png",p=u.rendererOpts||{};return f.toDataURL(h,p.quality)}}(Ha)),Ha}var Ua={},dd;function mT(){if(dd)return Ua;dd=1;const t=Bp();function e(r,o){const a=r.a/255,l=o+'="'+r.hex+'"';return a<1?l+" "+o+'-opacity="'+a.toFixed(2).slice(1)+'"':l}function n(r,o,a){let l=r+o;return typeof a<"u"&&(l+=" "+a),l}function s(r,o,a){let l="",u=0,f=!1,h=0;for(let p=0;p0&&_>0&&r[p-1]||(l+=f?n("M",_+a,.5+g+a):n("m",u,0),u=0,f=!1),_+1':"",g="',E='viewBox="0 0 '+p+" "+p+'"',H=''+_+g+` +`;return typeof l=="function"&&l(null,H),H},Ua}var hd;function gT(){if(hd)return Us;hd=1;const t=J1(),e=hT(),n=pT(),s=mT();function r(o,a,l,u,f){const h=[].slice.call(arguments,1),p=h.length,_=typeof h[p-1]=="function";if(!_&&!t())throw new Error("Callback required as last argument");if(_){if(p<2)throw new Error("Too few arguments provided");p===2?(f=l,l=a,a=u=void 0):p===3&&(a.getContext&&typeof f>"u"?(f=u,u=void 0):(f=u,u=l,l=a,a=void 0))}else{if(p<1)throw new Error("Too few arguments provided");return p===1?(l=a,a=u=void 0):p===2&&!a.getContext&&(u=l,l=a,a=void 0),new Promise(function(g,E){try{const A=e.create(l,u);g(o(A,a,u))}catch(A){E(A)}})}try{const g=e.create(l,u);f(null,o(g,a,u))}catch(g){f(g)}}return Us.create=e.create,Us.toCanvas=r.bind(null,n.render),Us.toDataURL=r.bind(null,n.renderToDataURL),Us.toString=r.bind(null,function(o,a,l){return s.render(o,l)}),Us}var _T=gT();const vT=kl(_T),bT=["id"],Fp={__name:"qrcode",props:["content"],setup(t){const e=t,n=Jh().toString();return ws(()=>{vT.toCanvas(document.getElementById(`qrcode_${n}`),e.content,function(s){})}),(s,r)=>(mt(),Ot("div",null,[$("canvas",{id:"qrcode_"+Ce(n),class:"rounded-3"},null,8,bT)]))}},yT={class:"p-2 position-fixed top-0 start-0 vw-100 vh-100 d-flex qrcodeContainer p-3 overflow-scroll"},ET={class:"m-auto d-flex gap-3 flex-column p-3"},wT={__name:"configurationQRCode",props:["qrcodeData"],emits:["back"],setup(t,{emit:e}){const n=t,s=e;return(r,o)=>(mt(),Ot("div",yT,[$("div",ET,[$("div",null,[$("a",{role:"button",onClick:o[0]||(o[0]=a=>s("back")),class:"btn btn-body rounded-3 btn-sm"},o[1]||(o[1]=[$("i",{class:"me-2 bi bi-x-lg"},null,-1),Yt(" Dismiss ")]))]),Lt(Fp,{content:n.qrcodeData},null,8,["content"]),o[2]||(o[2]=$("button",{class:"btn bg-primary-subtle border-primary-subtle rounded-3"},[$("i",{class:"bi bi-download me-2"}),Yt("Download ")],-1))])]))}},TT=ir(wT,[["__scopeId","data-v-cc8c55c7"]]);var $i={exports:{}},AT=$i.exports,pd;function ST(){return pd||(pd=1,function(t,e){(function(n,s){t.exports=s()})(AT,function(){var n,s,r=1e3,o=6e4,a=36e5,l=864e5,u=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=31536e6,h=2628e6,p=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,_={years:f,months:h,days:l,hours:a,minutes:o,seconds:r,milliseconds:1,weeks:6048e5},g=function(O){return O instanceof U},E=function(O,R,w){return new U(O,w,R.$l)},A=function(O){return s.p(O)+"s"},H=function(O){return O<0},I=function(O){return H(O)?Math.ceil(O):Math.floor(O)},F=function(O){return Math.abs(O)},k=function(O,R){return O?H(O)?{negative:!0,format:""+F(O)+R}:{negative:!1,format:""+O+R}:{negative:!1,format:""}},U=function(){function O(w,S,L){var M=this;if(this.$d={},this.$l=L,w===void 0&&(this.$ms=0,this.parseFromMilliseconds()),S)return E(w*_[A(S)],this);if(typeof w=="number")return this.$ms=w,this.parseFromMilliseconds(),this;if(typeof w=="object")return Object.keys(w).forEach(function(j){M.$d[A(j)]=w[j]}),this.calMilliseconds(),this;if(typeof w=="string"){var D=w.match(p);if(D){var z=D.slice(2).map(function(j){return j!=null?Number(j):0});return this.$d.years=z[0],this.$d.months=z[1],this.$d.weeks=z[2],this.$d.days=z[3],this.$d.hours=z[4],this.$d.minutes=z[5],this.$d.seconds=z[6],this.calMilliseconds(),this}}return this}var R=O.prototype;return R.calMilliseconds=function(){var w=this;this.$ms=Object.keys(this.$d).reduce(function(S,L){return S+(w.$d[L]||0)*_[L]},0)},R.parseFromMilliseconds=function(){var w=this.$ms;this.$d.years=I(w/f),w%=f,this.$d.months=I(w/h),w%=h,this.$d.days=I(w/l),w%=l,this.$d.hours=I(w/a),w%=a,this.$d.minutes=I(w/o),w%=o,this.$d.seconds=I(w/r),w%=r,this.$d.milliseconds=w},R.toISOString=function(){var w=k(this.$d.years,"Y"),S=k(this.$d.months,"M"),L=+this.$d.days||0;this.$d.weeks&&(L+=7*this.$d.weeks);var M=k(L,"D"),D=k(this.$d.hours,"H"),z=k(this.$d.minutes,"M"),j=this.$d.seconds||0;this.$d.milliseconds&&(j+=this.$d.milliseconds/1e3,j=Math.round(1e3*j)/1e3);var X=k(j,"S"),Y=w.negative||S.negative||M.negative||D.negative||z.negative||X.negative,Q=D.format||z.format||X.format?"T":"",J=(Y?"-":"")+"P"+w.format+S.format+M.format+Q+D.format+z.format+X.format;return J==="P"||J==="-P"?"P0D":J},R.toJSON=function(){return this.toISOString()},R.format=function(w){var S=w||"YYYY-MM-DDTHH:mm:ss",L={Y:this.$d.years,YY:s.s(this.$d.years,2,"0"),YYYY:s.s(this.$d.years,4,"0"),M:this.$d.months,MM:s.s(this.$d.months,2,"0"),D:this.$d.days,DD:s.s(this.$d.days,2,"0"),H:this.$d.hours,HH:s.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:s.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:s.s(this.$d.seconds,2,"0"),SSS:s.s(this.$d.milliseconds,3,"0")};return S.replace(u,function(M,D){return D||String(L[M])})},R.as=function(w){return this.$ms/_[A(w)]},R.get=function(w){var S=this.$ms,L=A(w);return L==="milliseconds"?S%=1e3:S=L==="weeks"?I(S/_[L]):this.$d[L],S||0},R.add=function(w,S,L){var M;return M=S?w*_[A(S)]:g(w)?w.$ms:E(w,this).$ms,E(this.$ms+M*(L?-1:1),this)},R.subtract=function(w,S){return this.add(w,S,!0)},R.locale=function(w){var S=this.clone();return S.$l=w,S},R.clone=function(){return E(this.$ms,this)},R.humanize=function(w){return n().add(this.$ms,"ms").locale(this.$l).fromNow(!w)},R.valueOf=function(){return this.asMilliseconds()},R.milliseconds=function(){return this.get("milliseconds")},R.asMilliseconds=function(){return this.as("milliseconds")},R.seconds=function(){return this.get("seconds")},R.asSeconds=function(){return this.as("seconds")},R.minutes=function(){return this.get("minutes")},R.asMinutes=function(){return this.as("minutes")},R.hours=function(){return this.get("hours")},R.asHours=function(){return this.as("hours")},R.days=function(){return this.get("days")},R.asDays=function(){return this.as("days")},R.weeks=function(){return this.get("weeks")},R.asWeeks=function(){return this.as("weeks")},R.months=function(){return this.get("months")},R.asMonths=function(){return this.as("months")},R.years=function(){return this.get("years")},R.asYears=function(){return this.as("years")},O}(),q=function(O,R,w){return O.add(R.years()*w,"y").add(R.months()*w,"M").add(R.days()*w,"d").add(R.hours()*w,"h").add(R.minutes()*w,"m").add(R.seconds()*w,"s").add(R.milliseconds()*w,"ms")};return function(O,R,w){n=w,s=w().$utils(),w.duration=function(M,D){var z=w.locale();return E(M,{$l:z},D)},w.isDuration=g;var S=R.prototype.add,L=R.prototype.subtract;R.prototype.add=function(M,D){return g(M)?q(this,M,1):S.bind(this)(M,D)},R.prototype.subtract=function(M,D){return g(M)?q(this,M,-1):L.bind(this)(M,D)}}})}($i)),$i.exports}var CT=ST();const OT=kl(CT),RT={class:"card rounded-3 border-0 shadow"},NT={class:"card-header rounded-top-3 border-0 align-items-center d-flex p-3 flex-column flex-sm-row gap-2"},xT={class:"fw-bold"},$T={class:"card-body p-3 d-flex gap-3 flex-column"},PT={class:"mb-1 d-flex align-items-center"},DT={class:"fw-bold ms-sm-auto"},LT={class:"progress",role:"progressbar","aria-valuenow":"25","aria-valuemin":"0","aria-valuemax":"100",style:{height:"6px"}},IT={class:"mb-1 d-flex align-items-center"},MT={class:"fw-bold ms-auto"},kT={__name:"configuration",props:["config"],setup(t){wr.extend(OT);const e=t,n=te(!1),s=zt(()=>e.config.jobs.filter(u=>u.Field==="date").sort((u,f)=>wr(u.Value).isBefore(f.Value)?-1:wr(u.Value).isAfter(f.Value)?1:0)),r=zt(()=>e.config.jobs.filter(u=>u.Field==="total_data").sort((u,f)=>parseFloat(f.Value)-parseFloat(u.Value))),o=zt(()=>{if(s.value.length>0)return s.value[0].Value}),a=zt(()=>{if(r.value.length>0)return r.value[0].Value}),l=zt(()=>a.value?e.config.data/a.value*100:100);return window.dayjs=wr,(u,f)=>(mt(),Ot("div",RT,[$("div",NT,[$("small",xT,Te(e.config.name),1),e.config.protocol==="wg"?(mt(),Ot("span",{key:0,class:ln(["badge rounded-3 ms-sm-auto",[e.config.protocol==="wg"?"wireguardBg":"amneziawgBg"]])},Te(e.config.protocol==="wg"?"WireGuard":"AmneziaWG"),3)):Kn("",!0)]),$("div",$T,[$("div",null,[$("div",PT,[f[2]||(f[2]=$("small",{class:"text-muted"},[$("i",{class:"bi bi-bar-chart-fill me-1"}),Yt(" Data Usage ")],-1)),$("small",DT,Te(e.config.data.toFixed(4))+" / "+Te(a.value?parseFloat(a.value).toFixed(4):"Unlimited")+" GB ",1)]),$("div",LT,[$("div",{class:"progress-bar bg-primary",style:Ji({width:""+l.value+"%"})},null,4)])]),$("div",null,[$("div",IT,[f[3]||(f[3]=$("small",{class:"text-muted"},[$("i",{class:"bi bi-calendar me-1"}),Yt(" Valid Until ")],-1)),$("small",MT,Te(o.value?o.value:"Unlimited Time"),1)])]),$("button",{class:"btn btn-outline-body rounded-3 flex-grow-1 fw-bold w-100",onClick:f[0]||(f[0]=h=>n.value=!0)},f[4]||(f[4]=[$("i",{class:"bi bi-link-45deg me-2"},null,-1),$("small",null,"Connect",-1)]))]),Lt(oo,{name:"app"},{default:Oe(()=>[n.value?(mt(),Je(TT,{key:0,onBack:f[1]||(f[1]=h=>n.value=!1),"qrcode-data":t.config.peer_configuration_data.file},null,8,["qrcode-data"])):Kn("",!0)]),_:1})]))}},BT=ir(kT,[["__scopeId","data-v-5d0ec739"]]),FT={class:"p-sm-3"},HT={class:"w-100 d-flex align-items-center"},VT={class:"nav-link text-body border-start-0","aria-current":"page",href:"#"},UT={class:"ms-auto px-3 d-flex gap-2 nav-links"},jT={key:0,class:"d-flex flex-column gap-3"},qT={key:0,class:"p-3 d-flex flex-column gap-3"},KT={key:1,class:"text-center text-muted"},WT={key:1,class:"d-flex p-3"},YT={__name:"index",async setup(t){let e,n;const s=dn(),r=te(!0),o=zt(()=>s.configurations),a=te(void 0);[e,n]=no(()=>s.getClientProfile()),await e,n(),ws(async()=>{await s.getConfigurations(),r.value=!1,a.value=setInterval(async()=>{await s.getConfigurations()},5e3)}),S1(()=>{clearInterval(a.value)});const l=jl(),u=te(!1),f=async()=>{clearInterval(a.value),u.value=!0,await Vt.get(rr("/api/signout")).then(()=>{l.push("/signin")}).catch(()=>{l.push("/signin")}),s.newNotification("Sign out successful","success")};return(h,p)=>{const _=Kr("RouterLink");return mt(),Ot("div",FT,[$("div",HT,[$("a",VT,[$("strong",null," Hi, "+Te(Ce(s).clientProfile.Profile.Name?Ce(s).clientProfile.Profile.Name:Ce(s).clientProfile.Email),1)]),$("div",UT,[Lt(_,{to:"/settings",class:"text-body btn btn-outline-body rounded-3 ms-auto btn-sm","aria-current":"page",href:"#"},{default:Oe(()=>p[1]||(p[1]=[$("i",{class:"bi bi-gear-fill me-sm-2"},null,-1),$("span",null,"Settings",-1)])),_:1,__:[1]}),$("a",{role:"button",onClick:p[0]||(p[0]=g=>f()),class:ln(["btn btn-outline-danger rounded-3 btn-sm",{disabled:u.value}]),"aria-current":"page"},[p[2]||(p[2]=$("i",{class:"bi bi-box-arrow-left me-sm-2"},null,-1)),$("span",null,Te(u.value?"Signing out...":"Sign Out"),1)],2)])]),Lt(oo,{name:"app",mode:"out-in"},{default:Oe(()=>[r.value?(mt(),Ot("div",WT,p[4]||(p[4]=[$("div",{class:"bg-body rounded-3 d-flex",style:{width:"100%",height:"211px"}},[$("div",{class:"spinner-border m-auto"})],-1)]))):(mt(),Ot("div",jT,[o.value.length>0?(mt(),Ot("div",qT,[(mt(!0),Ot(we,null,eo(o.value,g=>(mt(),Je(BT,{config:g},null,8,["config"]))),256))])):(mt(),Ot("div",KT,p[3]||(p[3]=[$("small",null,"No configuration available",-1)])))]))]),_:1})])}}},zT=ir(YT,[["__scopeId","data-v-98284be0"]]),GT=["href"],JT={__name:"oidcBtn",props:["provider","name"],async setup(t){let e,n;const s=t,r=te(!1),o=te({}),a=new URLSearchParams({client_id:s.provider.client_id,redirect_uri:window.location.protocol+"//"+window.location.host+window.location.pathname,response_type:"code",state:s.name,scope:"openid email profile"}).toString(),l=te(void 0);try{const u=([e,n]=no(()=>Vt(`${s.provider.issuer}/.well-known/openid-configuration`)),e=await e,n(),e);console.log(u),r.value=!0,o.value=u.data,console.log(o.value),l.value=new URL(o.value.authorization_endpoint),l.value.search=a}catch{console.log("Provider not available",s.provider)}return(u,f)=>r.value?(mt(),Ot("a",{key:0,class:"btn btn-sm btn-outline-body rounded-3",href:l.value,style:{flex:"1 1 0px"}},Te(t.name),9,GT)):Kn("",!0)}},QT={key:0},XT={class:"d-flex gap-2"},ZT={__name:"oidc",async setup(t){let e,n;const s=te(!1),r=te(void 0),o=([e,n]=no(()=>Ki("/api/signin/oidc/providers")),e=await e,n(),e);return o&&(s.value=!0,r.value=o.data,console.log(r.value)),(a,l)=>r.value?(mt(),Ot("div",QT,[l[1]||(l[1]=$("hr",null,null,-1)),l[2]||(l[2]=$("h6",{class:"text-center text-muted mb-3"},[$("small",null,"Sign in with")],-1)),$("div",XT,[(mt(),Je($h,null,{fallback:Oe(()=>l[0]||(l[0]=[$("a",{class:"btn btn-sm btn-outline-body rounded-3 w-100 disabled"}," Loading... ",-1)])),default:Oe(()=>[(mt(!0),Ot(we,null,eo(r.value,(u,f)=>(mt(),Je(JT,{provider:u,name:f},null,8,["provider","name"]))),256))]),_:1}))]),l[3]||(l[3]=$("hr",null,null,-1))])):Kn("",!0)}},tA={class:"form-floating"},eA=["disabled"],nA={class:"form-floating"},sA=["disabled"],rA=["disabled"],iA={key:0,class:"d-block"},oA={key:1,class:"d-block"},aA={class:"d-flex align-items-center"},lA={__name:"signInForm",emits:["totpToken"],setup(t,{emit:e}){const n=te(!1),s=Sn({Email:"",Password:""}),r=e;te("");const o=dn(),a=async f=>{if(f.preventDefault(),!l){o.newNotification("Please fill in all fields","warning");return}n.value=!0;const h=await vo("/api/signin",s);h.status?r("totpToken",h.message):(o.newNotification(h.message,"danger"),n.value=!1)},l=zt(()=>Object.values(s).find(f=>!f)===void 0),u=I1();return u.query.Email&&(s.Email=u.query.Email),(f,h)=>{const p=Kr("RouterLink");return mt(),Ot("div",null,[h[10]||(h[10]=$("div",{class:"text-center"},[$("h1",{class:"display-4"},"Welcome back"),$("p",{class:"text-muted"},[Yt("Sign in to access your "),$("strong",null,"WGDashboard Client"),Yt(" account")])],-1)),Lt(ZT),$("form",{class:"mt-4 d-flex flex-column gap-3",onSubmit:h[2]||(h[2]=_=>a(_))},[$("div",tA,[un($("input",{type:"text",required:"",disabled:n.value,"onUpdate:modelValue":h[0]||(h[0]=_=>s.Email=_),name:"email",autocomplete:"email",autofocus:"",class:"form-control rounded-3 border-0",id:"email",placeholder:"email"},null,8,eA),[[wn,s.Email]]),h[3]||(h[3]=$("label",{for:"email",class:"d-flex"},[$("i",{class:"bi bi-person-circle me-2"}),Yt(" Email ")],-1))]),$("div",nA,[un($("input",{type:"password",required:"",disabled:n.value,"onUpdate:modelValue":h[1]||(h[1]=_=>s.Password=_),name:"password",autocomplete:"current-password",class:"form-control rounded-3 border-0",id:"password",placeholder:"Password"},null,8,sA),[[wn,s.Password]]),h[4]||(h[4]=$("label",{for:"password",class:"d-flex"},[$("i",{class:"bi bi-key me-2"}),Yt(" Password ")],-1))]),h[6]||(h[6]=$("div",{class:"d-flex"},[$("a",{href:"#",class:"text-body text-decoration-none ms-auto btn btn-sm rounded-3"}," Forgot Password? ")],-1)),$("button",{disabled:!l.value||n.value,class:"btn btn-primary rounded-3 btn-body px-3 py-2 fw-bold"},[n.value?(mt(),Ot("span",oA,h[5]||(h[5]=[Yt(" Loading..."),$("i",{class:"ms-2 spinner-border spinner-border-sm"},null,-1)]))):(mt(),Ot("span",iA," Sign In "))],8,rA)],32),$("div",null,[h[9]||(h[9]=$("hr",{class:"my-4"},null,-1)),$("div",aA,[h[8]||(h[8]=$("span",{class:"text-muted"}," Don't have an account yet? ",-1)),Lt(p,{to:"/signup",class:"text-body text-decoration-none ms-auto fw-bold btn btn-sm btn-outline-body rounded-3"},{default:Oe(()=>h[7]||(h[7]=[Yt(" Sign Up ")])),_:1,__:[7]})])])])}}},cA={class:""},uA={key:0,class:"card rounded-3"},fA={class:"card-body d-flex gap-3 flex-column"},dA={class:"card rounded-3"},hA={class:"card-body"},pA=["href"],mA={key:0},gA={class:"d-flex flex-column gap-3"},_A=["disabled"],vA=["disabled"],bA={key:0,class:"d-block"},yA={key:1,class:"d-block"},EA={__name:"totpForm",props:["totpToken"],emits:["clearToken"],setup(t,{emit:e}){const n=t,s=te(""),r=Sn({TOTP:""}),o=te(!0),a=()=>{r.TOTP=r.TOTP.replace(/\D/i,"")},l=zt(()=>/^[0-9]{6}$/.test(r.TOTP)),u=dn(),f=jl();ws(()=>{Vt.get(rr("/api/signin/totp"),{params:{Token:n.totpToken}}).then(_=>{let g=_.data;o.value=!1,g.status?g.message&&(s.value=g.message):(u.newNotification(g.message,"danger"),f.push("/signin"))})});const h=e,p=async _=>{if(_&&_.preventDefault(),l){o.value=!0;const g=await vo("/api/signin/totp",{Token:n.totpToken,UserProvidedTOTP:r.TOTP});o.value=!1,g?g.status?(u.clientProfile=g.data,f.push("/")):u.newNotification(g.message,"danger"):(u.newNotification("Sign in status is invalid","danger"),h("clearToken"))}};return zs(l,()=>{p()}),(_,g)=>(mt(),Ot("form",{class:"d-flex flex-column gap-3",onSubmit:g[3]||(g[3]=E=>p(E))},[$("div",null,[$("a",{role:"button",onClick:g[0]||(g[0]=E=>h("clearToken")),class:"btn btn-outline-body btn-sm rounded-3"},g[4]||(g[4]=[$("i",{class:"me-2 bi bi-chevron-left"},null,-1),Yt(" Back ")]))]),$("div",cA,[g[9]||(g[9]=$("h1",{class:"mb-3"},"Multi-Factor Authentication (MFA)",-1)),s.value?(mt(),Ot("div",uA,[$("div",fA,[g[5]||(g[5]=$("h2",{class:"mb-0"},"Initial Setup",-1)),g[6]||(g[6]=$("p",{class:"mb-0"},"Please scan the following QR Code to generate TOTP with your choice of authenticator",-1)),Lt(Fp,{content:s.value},null,8,["content"]),g[7]||(g[7]=$("p",{class:"mb-0"},"Or you can click the link below:",-1)),$("div",dA,[$("div",hA,[$("a",{href:s.value},Te(s.value),9,pA)])]),g[8]||(g[8]=$("div",{class:"alert alert-warning mb-0"},[$("strong",null," Please note: You won't be able to see this QR Code again, so please save it somewhere safe in case you need to recover your TOTP key ")],-1))])])):Kn("",!0)]),s.value?(mt(),Ot("hr",mA)):Kn("",!0),$("div",gA,[g[12]||(g[12]=$("label",{for:"totp"},"Enter the TOTP generated by your authenticator to verify",-1)),un($("input",{class:"form-control form-control-lg rounded-3 text-center",id:"totp",disabled:o.value,autofocus:"",onKeyup:g[1]||(g[1]=E=>a()),maxlength:"6",type:"text",inputmode:"numeric",placeholder:"- - - - - -",autocomplete:"one-time-code","onUpdate:modelValue":g[2]||(g[2]=E=>r.TOTP=E)},null,40,_A),[[wn,r.TOTP]]),$("button",{disabled:!l.value||o.value,class:"btn btn-body rounded-3 px-3 py-2 fw-bold"},[o.value?(mt(),Ot("span",yA,g[11]||(g[11]=[Yt(" Loading... "),$("i",{class:"ms-2 spinner-border spinner-border-sm"},null,-1)]))):(mt(),Ot("span",bA,g[10]||(g[10]=[Yt(" Continue "),$("i",{class:"ms-2 bi bi-arrow-right"},null,-1)])))],8,vA)])],32))}},wA={class:"p-3 p-sm-5"},TA={__name:"signin",setup(t){const e=te("");return(n,s)=>(mt(),Ot("div",wA,[Lt(oo,{name:"app",mode:"out-in"},{default:Oe(()=>[e.value?(mt(),Je(EA,{key:1,onClearToken:s[1]||(s[1]=r=>e.value=""),"totp-token":e.value},null,8,["totp-token"])):(mt(),Je(lA,{key:0,onTotpToken:s[0]||(s[0]=r=>{e.value=r})}))]),_:1})]))}},AA={class:"p-3 p-sm-5"},SA={class:"form-floating"},CA=["disabled"],OA={class:"row gx-3"},RA={class:"col-6"},NA={class:"form-floating"},xA=["disabled"],$A={class:"col-6"},PA={class:"form-floating"},DA=["disabled"],LA=["disabled"],IA={key:0,class:"d-block"},MA={key:1,class:"d-block"},kA={class:"d-flex align-items-center"},BA={__name:"signup",setup(t){const e=dn(),n=Sn({Email:"",Password:"",ConfirmPassword:""}),s=te(!1),r=jl(),o=async u=>{if(u.preventDefault(),!l){e.newNotification("Please fill in all fields","warning");return}a&&(s.value=!0,await Vt.post(rr("/api/signup"),n).then(f=>{let h=f.data;h.status?(e.newNotification("Sign up successfully!","success"),r.push({path:"/signin",query:{Email:n.Email}})):(e.newNotification(h.message,"danger"),s.value=!1)}))},a=zt(()=>n.Password&&n.ConfirmPassword?n.Password===n.ConfirmPassword:!1),l=zt(()=>Object.values(n).find(u=>!u)===void 0);return ws(()=>{document.querySelectorAll("input[type=password]").forEach(u=>u.addEventListener("blur",()=>{n.Password&&n.ConfirmPassword&&document.querySelectorAll("input[type=password]").forEach(f=>{a.value?f.classList.remove("is-invalid"):f.classList.add("is-invalid")})}))}),(u,f)=>{const h=Kr("RouterLink");return mt(),Ot("div",AA,[f[13]||(f[13]=$("div",{class:"text-center"},[$("h1",{class:"display-4"},"Hi, nice to meet you"),$("p",{class:"text-muted"},[Yt("Sign up to use "),$("strong",null,"WGDashboard Client")])],-1)),$("form",{class:"mt-4 d-flex flex-column gap-3",onSubmit:f[3]||(f[3]=p=>o(p))},[$("div",SA,[un($("input",{type:"text",disabled:s.value,required:"","onUpdate:modelValue":f[0]||(f[0]=p=>n.Email=p),name:"email",autocomplete:"email",autofocus:"",class:"form-control rounded-3",id:"email",placeholder:"email"},null,8,CA),[[wn,n.Email]]),f[4]||(f[4]=$("label",{for:"email",class:"d-flex"},[$("i",{class:"bi bi-person-circle me-2"}),Yt(" Email ")],-1))]),$("div",OA,[$("div",RA,[$("div",NA,[un($("input",{type:"password",required:"",disabled:s.value,"onUpdate:modelValue":f[1]||(f[1]=p=>n.Password=p),name:"password",autocomplete:"new-password",autofocus:"",class:"form-control rounded-3",id:"password",placeholder:"password"},null,8,xA),[[wn,n.Password]]),f[5]||(f[5]=$("label",{for:"password",class:"d-flex"},[$("i",{class:"bi bi-key me-2"}),Yt(" Password ")],-1))])]),$("div",$A,[$("div",PA,[un($("input",{type:"password",required:"",disabled:s.value,"onUpdate:modelValue":f[2]||(f[2]=p=>n.ConfirmPassword=p),name:"confirm_password",autocomplete:"new-password",autofocus:"",class:"form-control rounded-3",id:"confirm_password",placeholder:"confirm_password"},null,8,DA),[[wn,n.ConfirmPassword]]),f[6]||(f[6]=$("label",{for:"confirm_password",class:"d-flex"},[$("i",{class:"bi bi-key me-2"}),Yt(" Confirm Password ")],-1)),f[7]||(f[7]=$("div",{id:"validationServer03Feedback",class:"invalid-feedback"}," Passwords does not match ",-1))])])]),$("button",{disabled:!l.value||!a.value||s.value,class:"btn btn-primary rounded-3 btn-body px-3 py-2 fw-bold"},[s.value?(mt(),Ot("span",MA,f[9]||(f[9]=[Yt(" Loading... "),$("i",{class:"spinner-border spinner-border-sm"},null,-1)]))):(mt(),Ot("span",IA,f[8]||(f[8]=[Yt(" Continue "),$("i",{class:"ms-2 bi bi-arrow-right"},null,-1)])))],8,LA)],32),$("div",null,[f[12]||(f[12]=$("hr",{class:"my-4"},null,-1)),$("div",kA,[f[11]||(f[11]=$("span",{class:"text-muted"}," Already have an account? ",-1)),Lt(h,{to:"/signin",class:"text-body text-decoration-none ms-auto fw-bold btn btn-sm btn-outline-body rounded-3"},{default:Oe(()=>f[10]||(f[10]=[Yt(" Sign In ")])),_:1,__:[10]})])])])}}},FA={class:"p-3"},HA=["for"],VA=["id","onUpdate:modelValue"],UA={__name:"profile",setup(t){const e=dn(),n={Name:"Name"};return(s,r)=>(mt(),Ot("div",FA,[r[0]||(r[0]=$("h5",null," Profile ",-1)),(mt(!0),Ot(we,null,eo(Ce(e).clientProfile.Profile,(o,a)=>(mt(),Ot("div",null,[$("label",{for:a,class:"text-muted form-label"},[$("small",null,Te(n[a]),1)],8,HA),un($("input",{id:a,class:"form-control rounded-3","onUpdate:modelValue":l=>Ce(e).clientProfile.Profile[a]=l},null,8,VA),[[wn,Ce(e).clientProfile.Profile[a]]])]))),256))]))}},jA={class:"d-flex align-items-start"},qA={key:0,class:"alert alert-danger rounded-3 mt-3"},KA={class:"row g-2 mb-3"},WA={class:"col-sm-12"},YA=["type"],zA={class:"col-sm-6"},GA=["type"],JA={class:"col-sm-6"},QA=["type"],XA={__name:"updatePassword",setup(t){const e=Sn({CurrentPassword:"",NewPassword:"",ConfirmNewPassword:""}),n=()=>{e.CurrentPassword="",e.NewPassword="",e.ConfirmNewPassword=""},s=dn(),r=async u=>{u.preventDefault(),document.querySelectorAll("#updatePasswordForm input").forEach(h=>h.blur());const f=await vo("/api/settings/updatePassword",e);f?f.status?(a.value=!1,s.newNotification("Password updated!","success"),n()):(a.value=!0,l.value=f.message):(a.value=!0,l.value="Error occurred")},o=te(!1),a=te(!1),l=te("");return(u,f)=>(mt(),Ot("form",{onSubmit:f[4]||(f[4]=h=>r(h)),id:"updatePasswordForm",onReset:f[5]||(f[5]=h=>n()),class:"p-3"},[$("div",jA,[f[6]||(f[6]=$("h5",null," Update Password ",-1)),$("a",{role:"button",onClick:f[0]||(f[0]=h=>o.value=!o.value),class:"text-muted ms-auto text-decoration-none"},[$("small",null,[$("i",{class:ln([[o.value?"bi-eye-slash-fill":"bi-eye-fill"],"bi me-2"])},null,2),Yt(Te(o.value?"Hide":"Show")+" Password ",1)])])]),a.value?(mt(),Ot("div",qA,Te(l.value),1)):Kn("",!0),$("div",KA,[$("div",WA,[f[7]||(f[7]=$("label",{class:"text-muted form-label",for:"CurrentPassword"},[$("small",null,"Current Password")],-1)),un($("input",{class:ln(["form-control rounded-3",{"is-invalid":a.value}]),required:"",type:o.value?"text":"password",autocomplete:"current-password",id:"CurrentPassword","onUpdate:modelValue":f[1]||(f[1]=h=>e.CurrentPassword=h)},null,10,YA),[[fa,e.CurrentPassword]])]),$("div",zA,[f[8]||(f[8]=$("label",{class:"text-muted form-label",for:"NewPassword"},[$("small",null,"New Password")],-1)),un($("input",{class:ln(["form-control rounded-3",{"is-invalid":a.value}]),required:"",type:o.value?"text":"password",id:"NewPassword",autocomplete:"new-password","onUpdate:modelValue":f[2]||(f[2]=h=>e.NewPassword=h)},null,10,GA),[[fa,e.NewPassword]])]),$("div",JA,[f[9]||(f[9]=$("label",{class:"text-muted form-label",for:"ConfirmNewPassword"},[$("small",null,"Confirm New Password")],-1)),un($("input",{class:ln(["form-control rounded-3",{"is-invalid":a.value}]),required:"",type:o.value?"text":"password",id:"ConfirmNewPassword",autocomplete:"new-password","onUpdate:modelValue":f[3]||(f[3]=h=>e.ConfirmNewPassword=h)},null,10,QA),[[fa,e.ConfirmNewPassword]])])]),f[10]||(f[10]=$("div",{class:"d-flex gap-2"},[$("button",{class:"btn btn-sm btn-secondary rounded-3 ms-auto",type:"reset"},"Clear"),$("button",{class:"btn btn-sm btn-danger rounded-3",type:"submit"},"Update")],-1))],32))}},ZA={class:"p-sm-3"},tS={class:"w-100 d-flex align-items-center p-3"},eS={__name:"settings",async setup(t){let e,n;const s=dn();return[e,n]=no(()=>s.getClientProfile()),await e,n(),(r,o)=>{const a=Kr("RouterLink");return mt(),Ot("div",ZA,[$("div",tS,[Lt(a,{to:"/",class:"text-body btn btn-outline-body rounded-3 btn-sm","aria-current":"page",href:"#"},{default:Oe(()=>o[0]||(o[0]=[$("i",{class:"bi bi-chevron-left me-sm-2"},null,-1),$("span",null,"Back",-1)])),_:1,__:[0]}),o[1]||(o[1]=$("strong",{class:"ms-auto"},"Settings",-1))]),Lt(UA),Ce(s).clientProfile.SignInMethod==="local"?(mt(),Je(XA,{key:0})):Kn("",!0)])}}},Kl=D1({history:a1(),routes:[{path:"/",component:zT,meta:{auth:!0},name:"Home"},{path:"/settings",component:eS,meta:{auth:!0},name:"Settings"},{path:"/signin",component:TA,name:"Sign In"},{path:"/signup",component:BA,name:"Sign Up"},{path:"/signout",name:"Sign Out"}]});Kl.beforeEach(async(t,e,n)=>{const s=dn();t.path==="/signout"?(await Vt.get(rr("/api/signout")).then(()=>{n("/signin")}).catch(()=>{n("/signin")}),s.newNotification("Sign in session ended, please sign in again","warning")):t.meta.auth?await Ki("/api/validateAuthentication")?n():(s.newNotification("Sign in session ended, please sign in again","warning"),n("/signin")):n()});Kl.afterEach((t,e,n)=>{document.title=t.name+" | WGDashboard Client"});var Pi={exports:{}};/*! + * Bootstrap v5.3.6 (https://getbootstrap.com/) + * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */var nS=Pi.exports,md;function sS(){return md||(md=1,function(t,e){(function(n,s){t.exports=s()})(nS,function(){const n=new Map,s={set(d,i,c){n.has(d)||n.set(d,new Map);const m=n.get(d);if(!m.has(i)&&m.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(m.keys())[0]}.`);return}m.set(i,c)},get(d,i){return n.has(d)&&n.get(d).get(i)||null},remove(d,i){if(!n.has(d))return;const c=n.get(d);c.delete(i),c.size===0&&n.delete(d)}},r=1e6,o=1e3,a="transitionend",l=d=>(d&&window.CSS&&window.CSS.escape&&(d=d.replace(/#([^\s"#']+)/g,(i,c)=>`#${CSS.escape(c)}`)),d),u=d=>d==null?`${d}`:Object.prototype.toString.call(d).match(/\s([a-z]+)/i)[1].toLowerCase(),f=d=>{do d+=Math.floor(Math.random()*r);while(document.getElementById(d));return d},h=d=>{if(!d)return 0;let{transitionDuration:i,transitionDelay:c}=window.getComputedStyle(d);const m=Number.parseFloat(i),y=Number.parseFloat(c);return!m&&!y?0:(i=i.split(",")[0],c=c.split(",")[0],(Number.parseFloat(i)+Number.parseFloat(c))*o)},p=d=>{d.dispatchEvent(new Event(a))},_=d=>!d||typeof d!="object"?!1:(typeof d.jquery<"u"&&(d=d[0]),typeof d.nodeType<"u"),g=d=>_(d)?d.jquery?d[0]:d:typeof d=="string"&&d.length>0?document.querySelector(l(d)):null,E=d=>{if(!_(d)||d.getClientRects().length===0)return!1;const i=getComputedStyle(d).getPropertyValue("visibility")==="visible",c=d.closest("details:not([open])");if(!c)return i;if(c!==d){const m=d.closest("summary");if(m&&m.parentNode!==c||m===null)return!1}return i},A=d=>!d||d.nodeType!==Node.ELEMENT_NODE||d.classList.contains("disabled")?!0:typeof d.disabled<"u"?d.disabled:d.hasAttribute("disabled")&&d.getAttribute("disabled")!=="false",H=d=>{if(!document.documentElement.attachShadow)return null;if(typeof d.getRootNode=="function"){const i=d.getRootNode();return i instanceof ShadowRoot?i:null}return d instanceof ShadowRoot?d:d.parentNode?H(d.parentNode):null},I=()=>{},F=d=>{d.offsetHeight},k=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,U=[],q=d=>{document.readyState==="loading"?(U.length||document.addEventListener("DOMContentLoaded",()=>{for(const i of U)i()}),U.push(d)):d()},O=()=>document.documentElement.dir==="rtl",R=d=>{q(()=>{const i=k();if(i){const c=d.NAME,m=i.fn[c];i.fn[c]=d.jQueryInterface,i.fn[c].Constructor=d,i.fn[c].noConflict=()=>(i.fn[c]=m,d.jQueryInterface)}})},w=(d,i=[],c=d)=>typeof d=="function"?d.call(...i):c,S=(d,i,c=!0)=>{if(!c){w(d);return}const y=h(i)+5;let x=!1;const P=({target:W})=>{W===i&&(x=!0,i.removeEventListener(a,P),w(d))};i.addEventListener(a,P),setTimeout(()=>{x||p(i)},y)},L=(d,i,c,m)=>{const y=d.length;let x=d.indexOf(i);return x===-1?!c&&m?d[y-1]:d[0]:(x+=c?1:-1,m&&(x=(x+y)%y),d[Math.max(0,Math.min(x,y-1))])},M=/[^.]*(?=\..*)\.|.*/,D=/\..*/,z=/::\d+$/,j={};let X=1;const Y={mouseenter:"mouseover",mouseleave:"mouseout"},Q=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function J(d,i){return i&&`${i}::${X++}`||d.uidEvent||X++}function ct(d){const i=J(d);return d.uidEvent=i,j[i]=j[i]||{},j[i]}function ut(d,i){return function c(m){return et(m,{delegateTarget:d}),c.oneOff&&T.off(d,m.type,i),i.apply(d,[m])}}function _t(d,i,c){return function m(y){const x=d.querySelectorAll(i);for(let{target:P}=y;P&&P!==this;P=P.parentNode)for(const W of x)if(W===P)return et(y,{delegateTarget:P}),m.oneOff&&T.off(d,y.type,i,c),c.apply(P,[y])}}function bt(d,i,c=null){return Object.values(d).find(m=>m.callable===i&&m.delegationSelector===c)}function Nt(d,i,c){const m=typeof i=="string",y=m?c:i||c;let x=V(d);return Q.has(x)||(x=d),[m,y,x]}function It(d,i,c,m,y){if(typeof i!="string"||!d)return;let[x,P,W]=Nt(i,c,m);i in Y&&(P=(Ut=>function(St){if(!St.relatedTarget||St.relatedTarget!==St.delegateTarget&&!St.delegateTarget.contains(St.relatedTarget))return Ut.call(this,St)})(P));const tt=ct(d),lt=tt[W]||(tt[W]={}),nt=bt(lt,P,x?c:null);if(nt){nt.oneOff=nt.oneOff&&y;return}const Tt=J(P,i.replace(M,"")),At=x?_t(d,c,P):ut(d,P);At.delegationSelector=x?c:null,At.callable=P,At.oneOff=y,At.uidEvent=Tt,lt[Tt]=At,d.addEventListener(W,At,x)}function qt(d,i,c,m,y){const x=bt(i[c],m,y);x&&(d.removeEventListener(c,x,!!y),delete i[c][x.uidEvent])}function Wt(d,i,c,m){const y=i[c]||{};for(const[x,P]of Object.entries(y))x.includes(m)&&qt(d,i,c,P.callable,P.delegationSelector)}function V(d){return d=d.replace(D,""),Y[d]||d}const T={on(d,i,c,m){It(d,i,c,m,!1)},one(d,i,c,m){It(d,i,c,m,!0)},off(d,i,c,m){if(typeof i!="string"||!d)return;const[y,x,P]=Nt(i,c,m),W=P!==i,tt=ct(d),lt=tt[P]||{},nt=i.startsWith(".");if(typeof x<"u"){if(!Object.keys(lt).length)return;qt(d,tt,P,x,y?c:null);return}if(nt)for(const Tt of Object.keys(tt))Wt(d,tt,Tt,i.slice(1));for(const[Tt,At]of Object.entries(lt)){const vt=Tt.replace(z,"");(!W||i.includes(vt))&&qt(d,tt,P,At.callable,At.delegationSelector)}},trigger(d,i,c){if(typeof i!="string"||!d)return null;const m=k(),y=V(i),x=i!==y;let P=null,W=!0,tt=!0,lt=!1;x&&m&&(P=m.Event(i,c),m(d).trigger(P),W=!P.isPropagationStopped(),tt=!P.isImmediatePropagationStopped(),lt=P.isDefaultPrevented());const nt=et(new Event(i,{bubbles:W,cancelable:!0}),c);return lt&&nt.preventDefault(),tt&&d.dispatchEvent(nt),nt.defaultPrevented&&P&&P.preventDefault(),nt}};function et(d,i={}){for(const[c,m]of Object.entries(i))try{d[c]=m}catch{Object.defineProperty(d,c,{configurable:!0,get(){return m}})}return d}function it(d){if(d==="true")return!0;if(d==="false")return!1;if(d===Number(d).toString())return Number(d);if(d===""||d==="null")return null;if(typeof d!="string")return d;try{return JSON.parse(decodeURIComponent(d))}catch{return d}}function Et(d){return d.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`)}const v={setDataAttribute(d,i,c){d.setAttribute(`data-bs-${Et(i)}`,c)},removeDataAttribute(d,i){d.removeAttribute(`data-bs-${Et(i)}`)},getDataAttributes(d){if(!d)return{};const i={},c=Object.keys(d.dataset).filter(m=>m.startsWith("bs")&&!m.startsWith("bsConfig"));for(const m of c){let y=m.replace(/^bs/,"");y=y.charAt(0).toLowerCase()+y.slice(1),i[y]=it(d.dataset[m])}return i},getDataAttribute(d,i){return it(d.getAttribute(`data-bs-${Et(i)}`))}};class b{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(i){return i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i}_mergeConfigObj(i,c){const m=_(c)?v.getDataAttribute(c,"config"):{};return{...this.constructor.Default,...typeof m=="object"?m:{},..._(c)?v.getDataAttributes(c):{},...typeof i=="object"?i:{}}}_typeCheckConfig(i,c=this.constructor.DefaultType){for(const[m,y]of Object.entries(c)){const x=i[m],P=_(x)?"element":u(x);if(!new RegExp(y).test(P))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${m}" provided type "${P}" but expected type "${y}".`)}}}const C="5.3.6";class K extends b{constructor(i,c){super(),i=g(i),i&&(this._element=i,this._config=this._getConfig(c),s.set(this._element,this.constructor.DATA_KEY,this))}dispose(){s.remove(this._element,this.constructor.DATA_KEY),T.off(this._element,this.constructor.EVENT_KEY);for(const i of Object.getOwnPropertyNames(this))this[i]=null}_queueCallback(i,c,m=!0){S(i,c,m)}_getConfig(i){return i=this._mergeConfigObj(i,this._element),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}static getInstance(i){return s.get(g(i),this.DATA_KEY)}static getOrCreateInstance(i,c={}){return this.getInstance(i)||new this(i,typeof c=="object"?c:null)}static get VERSION(){return C}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(i){return`${i}${this.EVENT_KEY}`}}const G=d=>{let i=d.getAttribute("data-bs-target");if(!i||i==="#"){let c=d.getAttribute("href");if(!c||!c.includes("#")&&!c.startsWith("."))return null;c.includes("#")&&!c.startsWith("#")&&(c=`#${c.split("#")[1]}`),i=c&&c!=="#"?c.trim():null}return i?i.split(",").map(c=>l(c)).join(","):null},N={find(d,i=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(i,d))},findOne(d,i=document.documentElement){return Element.prototype.querySelector.call(i,d)},children(d,i){return[].concat(...d.children).filter(c=>c.matches(i))},parents(d,i){const c=[];let m=d.parentNode.closest(i);for(;m;)c.push(m),m=m.parentNode.closest(i);return c},prev(d,i){let c=d.previousElementSibling;for(;c;){if(c.matches(i))return[c];c=c.previousElementSibling}return[]},next(d,i){let c=d.nextElementSibling;for(;c;){if(c.matches(i))return[c];c=c.nextElementSibling}return[]},focusableChildren(d){const i=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(c=>`${c}:not([tabindex^="-"])`).join(",");return this.find(i,d).filter(c=>!A(c)&&E(c))},getSelectorFromElement(d){const i=G(d);return i&&N.findOne(i)?i:null},getElementFromSelector(d){const i=G(d);return i?N.findOne(i):null},getMultipleElementsFromSelector(d){const i=G(d);return i?N.find(i):[]}},ot=(d,i="hide")=>{const c=`click.dismiss${d.EVENT_KEY}`,m=d.NAME;T.on(document,c,`[data-bs-dismiss="${m}"]`,function(y){if(["A","AREA"].includes(this.tagName)&&y.preventDefault(),A(this))return;const x=N.getElementFromSelector(this)||this.closest(`.${m}`);d.getOrCreateInstance(x)[i]()})},rt="alert",Z=".bs.alert",ht=`close${Z}`,at=`closed${Z}`,ft="fade",pt="show";class wt extends K{static get NAME(){return rt}close(){if(T.trigger(this._element,ht).defaultPrevented)return;this._element.classList.remove(pt);const c=this._element.classList.contains(ft);this._queueCallback(()=>this._destroyElement(),this._element,c)}_destroyElement(){this._element.remove(),T.trigger(this._element,at),this.dispose()}static jQueryInterface(i){return this.each(function(){const c=wt.getOrCreateInstance(this);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i](this)}})}}ot(wt,"close"),R(wt);const Mt="button",me=".bs.button",ue=".data-api",ke="active",xe='[data-bs-toggle="button"]',Yn=`click${me}${ue}`;class On extends K{static get NAME(){return Mt}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(ke))}static jQueryInterface(i){return this.each(function(){const c=On.getOrCreateInstance(this);i==="toggle"&&c[i]()})}}T.on(document,Yn,xe,d=>{d.preventDefault();const i=d.target.closest(xe);On.getOrCreateInstance(i).toggle()}),R(On);const ge="swipe",ie=".bs.swipe",zr=`touchstart${ie}`,Vp=`touchmove${ie}`,Up=`touchend${ie}`,jp=`pointerdown${ie}`,qp=`pointerup${ie}`,Kp="touch",Wp="pen",Yp="pointer-event",zp=40,Gp={endCallback:null,leftCallback:null,rightCallback:null},Jp={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Gr extends b{constructor(i,c){super(),this._element=i,!(!i||!Gr.isSupported())&&(this._config=this._getConfig(c),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Gp}static get DefaultType(){return Jp}static get NAME(){return ge}dispose(){T.off(this._element,ie)}_start(i){if(!this._supportPointerEvents){this._deltaX=i.touches[0].clientX;return}this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX)}_end(i){this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX-this._deltaX),this._handleSwipe(),w(this._config.endCallback)}_move(i){this._deltaX=i.touches&&i.touches.length>1?0:i.touches[0].clientX-this._deltaX}_handleSwipe(){const i=Math.abs(this._deltaX);if(i<=zp)return;const c=i/this._deltaX;this._deltaX=0,c&&w(c>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(T.on(this._element,jp,i=>this._start(i)),T.on(this._element,qp,i=>this._end(i)),this._element.classList.add(Yp)):(T.on(this._element,zr,i=>this._start(i)),T.on(this._element,Vp,i=>this._move(i)),T.on(this._element,Up,i=>this._end(i)))}_eventIsPointerPenTouch(i){return this._supportPointerEvents&&(i.pointerType===Wp||i.pointerType===Kp)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Qp="carousel",Rn=".bs.carousel",Wl=".data-api",Xp="ArrowLeft",Zp="ArrowRight",tm=500,or="next",Ss="prev",Cs="left",Jr="right",em=`slide${Rn}`,bo=`slid${Rn}`,nm=`keydown${Rn}`,sm=`mouseenter${Rn}`,rm=`mouseleave${Rn}`,im=`dragstart${Rn}`,om=`load${Rn}${Wl}`,am=`click${Rn}${Wl}`,Yl="carousel",Qr="active",lm="slide",cm="carousel-item-end",um="carousel-item-start",fm="carousel-item-next",dm="carousel-item-prev",zl=".active",Gl=".carousel-item",hm=zl+Gl,pm=".carousel-item img",mm=".carousel-indicators",gm="[data-bs-slide], [data-bs-slide-to]",_m='[data-bs-ride="carousel"]',vm={[Xp]:Jr,[Zp]:Cs},bm={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},ym={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Os extends K{constructor(i,c){super(i,c),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=N.findOne(mm,this._element),this._addEventListeners(),this._config.ride===Yl&&this.cycle()}static get Default(){return bm}static get DefaultType(){return ym}static get NAME(){return Qp}next(){this._slide(or)}nextWhenVisible(){!document.hidden&&E(this._element)&&this.next()}prev(){this._slide(Ss)}pause(){this._isSliding&&p(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){T.one(this._element,bo,()=>this.cycle());return}this.cycle()}}to(i){const c=this._getItems();if(i>c.length-1||i<0)return;if(this._isSliding){T.one(this._element,bo,()=>this.to(i));return}const m=this._getItemIndex(this._getActive());if(m===i)return;const y=i>m?or:Ss;this._slide(y,c[i])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(i){return i.defaultInterval=i.interval,i}_addEventListeners(){this._config.keyboard&&T.on(this._element,nm,i=>this._keydown(i)),this._config.pause==="hover"&&(T.on(this._element,sm,()=>this.pause()),T.on(this._element,rm,()=>this._maybeEnableCycle())),this._config.touch&&Gr.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const m of N.find(pm,this._element))T.on(m,im,y=>y.preventDefault());const c={leftCallback:()=>this._slide(this._directionToOrder(Cs)),rightCallback:()=>this._slide(this._directionToOrder(Jr)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),tm+this._config.interval))}};this._swipeHelper=new Gr(this._element,c)}_keydown(i){if(/input|textarea/i.test(i.target.tagName))return;const c=vm[i.key];c&&(i.preventDefault(),this._slide(this._directionToOrder(c)))}_getItemIndex(i){return this._getItems().indexOf(i)}_setActiveIndicatorElement(i){if(!this._indicatorsElement)return;const c=N.findOne(zl,this._indicatorsElement);c.classList.remove(Qr),c.removeAttribute("aria-current");const m=N.findOne(`[data-bs-slide-to="${i}"]`,this._indicatorsElement);m&&(m.classList.add(Qr),m.setAttribute("aria-current","true"))}_updateInterval(){const i=this._activeElement||this._getActive();if(!i)return;const c=Number.parseInt(i.getAttribute("data-bs-interval"),10);this._config.interval=c||this._config.defaultInterval}_slide(i,c=null){if(this._isSliding)return;const m=this._getActive(),y=i===or,x=c||L(this._getItems(),m,y,this._config.wrap);if(x===m)return;const P=this._getItemIndex(x),W=vt=>T.trigger(this._element,vt,{relatedTarget:x,direction:this._orderToDirection(i),from:this._getItemIndex(m),to:P});if(W(em).defaultPrevented||!m||!x)return;const lt=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(P),this._activeElement=x;const nt=y?um:cm,Tt=y?fm:dm;x.classList.add(Tt),F(x),m.classList.add(nt),x.classList.add(nt);const At=()=>{x.classList.remove(nt,Tt),x.classList.add(Qr),m.classList.remove(Qr,Tt,nt),this._isSliding=!1,W(bo)};this._queueCallback(At,m,this._isAnimated()),lt&&this.cycle()}_isAnimated(){return this._element.classList.contains(lm)}_getActive(){return N.findOne(hm,this._element)}_getItems(){return N.find(Gl,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(i){return O()?i===Cs?Ss:or:i===Cs?or:Ss}_orderToDirection(i){return O()?i===Ss?Cs:Jr:i===Ss?Jr:Cs}static jQueryInterface(i){return this.each(function(){const c=Os.getOrCreateInstance(this,i);if(typeof i=="number"){c.to(i);return}if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}})}}T.on(document,am,gm,function(d){const i=N.getElementFromSelector(this);if(!i||!i.classList.contains(Yl))return;d.preventDefault();const c=Os.getOrCreateInstance(i),m=this.getAttribute("data-bs-slide-to");if(m){c.to(m),c._maybeEnableCycle();return}if(v.getDataAttribute(this,"slide")==="next"){c.next(),c._maybeEnableCycle();return}c.prev(),c._maybeEnableCycle()}),T.on(window,om,()=>{const d=N.find(_m);for(const i of d)Os.getOrCreateInstance(i)}),R(Os);const Em="collapse",ar=".bs.collapse",wm=".data-api",Tm=`show${ar}`,Am=`shown${ar}`,Sm=`hide${ar}`,Cm=`hidden${ar}`,Om=`click${ar}${wm}`,yo="show",Rs="collapse",Xr="collapsing",Rm="collapsed",Nm=`:scope .${Rs} .${Rs}`,xm="collapse-horizontal",$m="width",Pm="height",Dm=".collapse.show, .collapse.collapsing",Eo='[data-bs-toggle="collapse"]',Lm={parent:null,toggle:!0},Im={parent:"(null|element)",toggle:"boolean"};class Ns extends K{constructor(i,c){super(i,c),this._isTransitioning=!1,this._triggerArray=[];const m=N.find(Eo);for(const y of m){const x=N.getSelectorFromElement(y),P=N.find(x).filter(W=>W===this._element);x!==null&&P.length&&this._triggerArray.push(y)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Lm}static get DefaultType(){return Im}static get NAME(){return Em}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let i=[];if(this._config.parent&&(i=this._getFirstLevelChildren(Dm).filter(W=>W!==this._element).map(W=>Ns.getOrCreateInstance(W,{toggle:!1}))),i.length&&i[0]._isTransitioning||T.trigger(this._element,Tm).defaultPrevented)return;for(const W of i)W.hide();const m=this._getDimension();this._element.classList.remove(Rs),this._element.classList.add(Xr),this._element.style[m]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const y=()=>{this._isTransitioning=!1,this._element.classList.remove(Xr),this._element.classList.add(Rs,yo),this._element.style[m]="",T.trigger(this._element,Am)},P=`scroll${m[0].toUpperCase()+m.slice(1)}`;this._queueCallback(y,this._element,!0),this._element.style[m]=`${this._element[P]}px`}hide(){if(this._isTransitioning||!this._isShown()||T.trigger(this._element,Sm).defaultPrevented)return;const c=this._getDimension();this._element.style[c]=`${this._element.getBoundingClientRect()[c]}px`,F(this._element),this._element.classList.add(Xr),this._element.classList.remove(Rs,yo);for(const y of this._triggerArray){const x=N.getElementFromSelector(y);x&&!this._isShown(x)&&this._addAriaAndCollapsedClass([y],!1)}this._isTransitioning=!0;const m=()=>{this._isTransitioning=!1,this._element.classList.remove(Xr),this._element.classList.add(Rs),T.trigger(this._element,Cm)};this._element.style[c]="",this._queueCallback(m,this._element,!0)}_isShown(i=this._element){return i.classList.contains(yo)}_configAfterMerge(i){return i.toggle=!!i.toggle,i.parent=g(i.parent),i}_getDimension(){return this._element.classList.contains(xm)?$m:Pm}_initializeChildren(){if(!this._config.parent)return;const i=this._getFirstLevelChildren(Eo);for(const c of i){const m=N.getElementFromSelector(c);m&&this._addAriaAndCollapsedClass([c],this._isShown(m))}}_getFirstLevelChildren(i){const c=N.find(Nm,this._config.parent);return N.find(i,this._config.parent).filter(m=>!c.includes(m))}_addAriaAndCollapsedClass(i,c){if(i.length)for(const m of i)m.classList.toggle(Rm,!c),m.setAttribute("aria-expanded",c)}static jQueryInterface(i){const c={};return typeof i=="string"&&/show|hide/.test(i)&&(c.toggle=!1),this.each(function(){const m=Ns.getOrCreateInstance(this,c);if(typeof i=="string"){if(typeof m[i]>"u")throw new TypeError(`No method named "${i}"`);m[i]()}})}}T.on(document,Om,Eo,function(d){(d.target.tagName==="A"||d.delegateTarget&&d.delegateTarget.tagName==="A")&&d.preventDefault();for(const i of N.getMultipleElementsFromSelector(this))Ns.getOrCreateInstance(i,{toggle:!1}).toggle()}),R(Ns);var _e="top",$e="bottom",Pe="right",ve="left",Zr="auto",xs=[_e,$e,Pe,ve],zn="start",$s="end",Jl="clippingParents",wo="viewport",Ps="popper",Ql="reference",To=xs.reduce(function(d,i){return d.concat([i+"-"+zn,i+"-"+$s])},[]),Ao=[].concat(xs,[Zr]).reduce(function(d,i){return d.concat([i,i+"-"+zn,i+"-"+$s])},[]),Xl="beforeRead",Zl="read",tc="afterRead",ec="beforeMain",nc="main",sc="afterMain",rc="beforeWrite",ic="write",oc="afterWrite",ac=[Xl,Zl,tc,ec,nc,sc,rc,ic,oc];function Ze(d){return d?(d.nodeName||"").toLowerCase():null}function De(d){if(d==null)return window;if(d.toString()!=="[object Window]"){var i=d.ownerDocument;return i&&i.defaultView||window}return d}function Gn(d){var i=De(d).Element;return d instanceof i||d instanceof Element}function Be(d){var i=De(d).HTMLElement;return d instanceof i||d instanceof HTMLElement}function So(d){if(typeof ShadowRoot>"u")return!1;var i=De(d).ShadowRoot;return d instanceof i||d instanceof ShadowRoot}function Mm(d){var i=d.state;Object.keys(i.elements).forEach(function(c){var m=i.styles[c]||{},y=i.attributes[c]||{},x=i.elements[c];!Be(x)||!Ze(x)||(Object.assign(x.style,m),Object.keys(y).forEach(function(P){var W=y[P];W===!1?x.removeAttribute(P):x.setAttribute(P,W===!0?"":W)}))})}function km(d){var i=d.state,c={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,c.popper),i.styles=c,i.elements.arrow&&Object.assign(i.elements.arrow.style,c.arrow),function(){Object.keys(i.elements).forEach(function(m){var y=i.elements[m],x=i.attributes[m]||{},P=Object.keys(i.styles.hasOwnProperty(m)?i.styles[m]:c[m]),W=P.reduce(function(tt,lt){return tt[lt]="",tt},{});!Be(y)||!Ze(y)||(Object.assign(y.style,W),Object.keys(x).forEach(function(tt){y.removeAttribute(tt)}))})}}const Co={name:"applyStyles",enabled:!0,phase:"write",fn:Mm,effect:km,requires:["computeStyles"]};function tn(d){return d.split("-")[0]}var Jn=Math.max,ti=Math.min,Ds=Math.round;function Oo(){var d=navigator.userAgentData;return d!=null&&d.brands&&Array.isArray(d.brands)?d.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function lc(){return!/^((?!chrome|android).)*safari/i.test(Oo())}function Ls(d,i,c){i===void 0&&(i=!1),c===void 0&&(c=!1);var m=d.getBoundingClientRect(),y=1,x=1;i&&Be(d)&&(y=d.offsetWidth>0&&Ds(m.width)/d.offsetWidth||1,x=d.offsetHeight>0&&Ds(m.height)/d.offsetHeight||1);var P=Gn(d)?De(d):window,W=P.visualViewport,tt=!lc()&&c,lt=(m.left+(tt&&W?W.offsetLeft:0))/y,nt=(m.top+(tt&&W?W.offsetTop:0))/x,Tt=m.width/y,At=m.height/x;return{width:Tt,height:At,top:nt,right:lt+Tt,bottom:nt+At,left:lt,x:lt,y:nt}}function Ro(d){var i=Ls(d),c=d.offsetWidth,m=d.offsetHeight;return Math.abs(i.width-c)<=1&&(c=i.width),Math.abs(i.height-m)<=1&&(m=i.height),{x:d.offsetLeft,y:d.offsetTop,width:c,height:m}}function cc(d,i){var c=i.getRootNode&&i.getRootNode();if(d.contains(i))return!0;if(c&&So(c)){var m=i;do{if(m&&d.isSameNode(m))return!0;m=m.parentNode||m.host}while(m)}return!1}function hn(d){return De(d).getComputedStyle(d)}function Bm(d){return["table","td","th"].indexOf(Ze(d))>=0}function Nn(d){return((Gn(d)?d.ownerDocument:d.document)||window.document).documentElement}function ei(d){return Ze(d)==="html"?d:d.assignedSlot||d.parentNode||(So(d)?d.host:null)||Nn(d)}function uc(d){return!Be(d)||hn(d).position==="fixed"?null:d.offsetParent}function Fm(d){var i=/firefox/i.test(Oo()),c=/Trident/i.test(Oo());if(c&&Be(d)){var m=hn(d);if(m.position==="fixed")return null}var y=ei(d);for(So(y)&&(y=y.host);Be(y)&&["html","body"].indexOf(Ze(y))<0;){var x=hn(y);if(x.transform!=="none"||x.perspective!=="none"||x.contain==="paint"||["transform","perspective"].indexOf(x.willChange)!==-1||i&&x.willChange==="filter"||i&&x.filter&&x.filter!=="none")return y;y=y.parentNode}return null}function lr(d){for(var i=De(d),c=uc(d);c&&Bm(c)&&hn(c).position==="static";)c=uc(c);return c&&(Ze(c)==="html"||Ze(c)==="body"&&hn(c).position==="static")?i:c||Fm(d)||i}function No(d){return["top","bottom"].indexOf(d)>=0?"x":"y"}function cr(d,i,c){return Jn(d,ti(i,c))}function Hm(d,i,c){var m=cr(d,i,c);return m>c?c:m}function fc(){return{top:0,right:0,bottom:0,left:0}}function dc(d){return Object.assign({},fc(),d)}function hc(d,i){return i.reduce(function(c,m){return c[m]=d,c},{})}var Vm=function(i,c){return i=typeof i=="function"?i(Object.assign({},c.rects,{placement:c.placement})):i,dc(typeof i!="number"?i:hc(i,xs))};function Um(d){var i,c=d.state,m=d.name,y=d.options,x=c.elements.arrow,P=c.modifiersData.popperOffsets,W=tn(c.placement),tt=No(W),lt=[ve,Pe].indexOf(W)>=0,nt=lt?"height":"width";if(!(!x||!P)){var Tt=Vm(y.padding,c),At=Ro(x),vt=tt==="y"?_e:ve,Ut=tt==="y"?$e:Pe,St=c.rects.reference[nt]+c.rects.reference[tt]-P[tt]-c.rects.popper[nt],xt=P[tt]-c.rects.reference[tt],Kt=lr(x),Qt=Kt?tt==="y"?Kt.clientHeight||0:Kt.clientWidth||0:0,Xt=St/2-xt/2,Ct=Tt[vt],kt=Qt-At[nt]-Tt[Ut],Bt=Qt/2-At[nt]/2+Xt,Gt=cr(Ct,Bt,kt),oe=tt;c.modifiersData[m]=(i={},i[oe]=Gt,i.centerOffset=Gt-Bt,i)}}function jm(d){var i=d.state,c=d.options,m=c.element,y=m===void 0?"[data-popper-arrow]":m;y!=null&&(typeof y=="string"&&(y=i.elements.popper.querySelector(y),!y)||cc(i.elements.popper,y)&&(i.elements.arrow=y))}const pc={name:"arrow",enabled:!0,phase:"main",fn:Um,effect:jm,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Is(d){return d.split("-")[1]}var qm={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Km(d,i){var c=d.x,m=d.y,y=i.devicePixelRatio||1;return{x:Ds(c*y)/y||0,y:Ds(m*y)/y||0}}function mc(d){var i,c=d.popper,m=d.popperRect,y=d.placement,x=d.variation,P=d.offsets,W=d.position,tt=d.gpuAcceleration,lt=d.adaptive,nt=d.roundOffsets,Tt=d.isFixed,At=P.x,vt=At===void 0?0:At,Ut=P.y,St=Ut===void 0?0:Ut,xt=typeof nt=="function"?nt({x:vt,y:St}):{x:vt,y:St};vt=xt.x,St=xt.y;var Kt=P.hasOwnProperty("x"),Qt=P.hasOwnProperty("y"),Xt=ve,Ct=_e,kt=window;if(lt){var Bt=lr(c),Gt="clientHeight",oe="clientWidth";if(Bt===De(c)&&(Bt=Nn(c),hn(Bt).position!=="static"&&W==="absolute"&&(Gt="scrollHeight",oe="scrollWidth")),Bt=Bt,y===_e||(y===ve||y===Pe)&&x===$s){Ct=$e;var se=Tt&&Bt===kt&&kt.visualViewport?kt.visualViewport.height:Bt[Gt];St-=se-m.height,St*=tt?1:-1}if(y===ve||(y===_e||y===$e)&&x===$s){Xt=Pe;var ee=Tt&&Bt===kt&&kt.visualViewport?kt.visualViewport.width:Bt[oe];vt-=ee-m.width,vt*=tt?1:-1}}var fe=Object.assign({position:W},lt&&qm),Ke=nt===!0?Km({x:vt,y:St},De(c)):{x:vt,y:St};if(vt=Ke.x,St=Ke.y,tt){var be;return Object.assign({},fe,(be={},be[Ct]=Qt?"0":"",be[Xt]=Kt?"0":"",be.transform=(kt.devicePixelRatio||1)<=1?"translate("+vt+"px, "+St+"px)":"translate3d("+vt+"px, "+St+"px, 0)",be))}return Object.assign({},fe,(i={},i[Ct]=Qt?St+"px":"",i[Xt]=Kt?vt+"px":"",i.transform="",i))}function Wm(d){var i=d.state,c=d.options,m=c.gpuAcceleration,y=m===void 0?!0:m,x=c.adaptive,P=x===void 0?!0:x,W=c.roundOffsets,tt=W===void 0?!0:W,lt={placement:tn(i.placement),variation:Is(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:y,isFixed:i.options.strategy==="fixed"};i.modifiersData.popperOffsets!=null&&(i.styles.popper=Object.assign({},i.styles.popper,mc(Object.assign({},lt,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:P,roundOffsets:tt})))),i.modifiersData.arrow!=null&&(i.styles.arrow=Object.assign({},i.styles.arrow,mc(Object.assign({},lt,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:tt})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})}const xo={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Wm,data:{}};var ni={passive:!0};function Ym(d){var i=d.state,c=d.instance,m=d.options,y=m.scroll,x=y===void 0?!0:y,P=m.resize,W=P===void 0?!0:P,tt=De(i.elements.popper),lt=[].concat(i.scrollParents.reference,i.scrollParents.popper);return x&<.forEach(function(nt){nt.addEventListener("scroll",c.update,ni)}),W&&tt.addEventListener("resize",c.update,ni),function(){x&<.forEach(function(nt){nt.removeEventListener("scroll",c.update,ni)}),W&&tt.removeEventListener("resize",c.update,ni)}}const $o={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ym,data:{}};var zm={left:"right",right:"left",bottom:"top",top:"bottom"};function si(d){return d.replace(/left|right|bottom|top/g,function(i){return zm[i]})}var Gm={start:"end",end:"start"};function gc(d){return d.replace(/start|end/g,function(i){return Gm[i]})}function Po(d){var i=De(d),c=i.pageXOffset,m=i.pageYOffset;return{scrollLeft:c,scrollTop:m}}function Do(d){return Ls(Nn(d)).left+Po(d).scrollLeft}function Jm(d,i){var c=De(d),m=Nn(d),y=c.visualViewport,x=m.clientWidth,P=m.clientHeight,W=0,tt=0;if(y){x=y.width,P=y.height;var lt=lc();(lt||!lt&&i==="fixed")&&(W=y.offsetLeft,tt=y.offsetTop)}return{width:x,height:P,x:W+Do(d),y:tt}}function Qm(d){var i,c=Nn(d),m=Po(d),y=(i=d.ownerDocument)==null?void 0:i.body,x=Jn(c.scrollWidth,c.clientWidth,y?y.scrollWidth:0,y?y.clientWidth:0),P=Jn(c.scrollHeight,c.clientHeight,y?y.scrollHeight:0,y?y.clientHeight:0),W=-m.scrollLeft+Do(d),tt=-m.scrollTop;return hn(y||c).direction==="rtl"&&(W+=Jn(c.clientWidth,y?y.clientWidth:0)-x),{width:x,height:P,x:W,y:tt}}function Lo(d){var i=hn(d),c=i.overflow,m=i.overflowX,y=i.overflowY;return/auto|scroll|overlay|hidden/.test(c+y+m)}function _c(d){return["html","body","#document"].indexOf(Ze(d))>=0?d.ownerDocument.body:Be(d)&&Lo(d)?d:_c(ei(d))}function ur(d,i){var c;i===void 0&&(i=[]);var m=_c(d),y=m===((c=d.ownerDocument)==null?void 0:c.body),x=De(m),P=y?[x].concat(x.visualViewport||[],Lo(m)?m:[]):m,W=i.concat(P);return y?W:W.concat(ur(ei(P)))}function Io(d){return Object.assign({},d,{left:d.x,top:d.y,right:d.x+d.width,bottom:d.y+d.height})}function Xm(d,i){var c=Ls(d,!1,i==="fixed");return c.top=c.top+d.clientTop,c.left=c.left+d.clientLeft,c.bottom=c.top+d.clientHeight,c.right=c.left+d.clientWidth,c.width=d.clientWidth,c.height=d.clientHeight,c.x=c.left,c.y=c.top,c}function vc(d,i,c){return i===wo?Io(Jm(d,c)):Gn(i)?Xm(i,c):Io(Qm(Nn(d)))}function Zm(d){var i=ur(ei(d)),c=["absolute","fixed"].indexOf(hn(d).position)>=0,m=c&&Be(d)?lr(d):d;return Gn(m)?i.filter(function(y){return Gn(y)&&cc(y,m)&&Ze(y)!=="body"}):[]}function tg(d,i,c,m){var y=i==="clippingParents"?Zm(d):[].concat(i),x=[].concat(y,[c]),P=x[0],W=x.reduce(function(tt,lt){var nt=vc(d,lt,m);return tt.top=Jn(nt.top,tt.top),tt.right=ti(nt.right,tt.right),tt.bottom=ti(nt.bottom,tt.bottom),tt.left=Jn(nt.left,tt.left),tt},vc(d,P,m));return W.width=W.right-W.left,W.height=W.bottom-W.top,W.x=W.left,W.y=W.top,W}function bc(d){var i=d.reference,c=d.element,m=d.placement,y=m?tn(m):null,x=m?Is(m):null,P=i.x+i.width/2-c.width/2,W=i.y+i.height/2-c.height/2,tt;switch(y){case _e:tt={x:P,y:i.y-c.height};break;case $e:tt={x:P,y:i.y+i.height};break;case Pe:tt={x:i.x+i.width,y:W};break;case ve:tt={x:i.x-c.width,y:W};break;default:tt={x:i.x,y:i.y}}var lt=y?No(y):null;if(lt!=null){var nt=lt==="y"?"height":"width";switch(x){case zn:tt[lt]=tt[lt]-(i[nt]/2-c[nt]/2);break;case $s:tt[lt]=tt[lt]+(i[nt]/2-c[nt]/2);break}}return tt}function Ms(d,i){i===void 0&&(i={});var c=i,m=c.placement,y=m===void 0?d.placement:m,x=c.strategy,P=x===void 0?d.strategy:x,W=c.boundary,tt=W===void 0?Jl:W,lt=c.rootBoundary,nt=lt===void 0?wo:lt,Tt=c.elementContext,At=Tt===void 0?Ps:Tt,vt=c.altBoundary,Ut=vt===void 0?!1:vt,St=c.padding,xt=St===void 0?0:St,Kt=dc(typeof xt!="number"?xt:hc(xt,xs)),Qt=At===Ps?Ql:Ps,Xt=d.rects.popper,Ct=d.elements[Ut?Qt:At],kt=tg(Gn(Ct)?Ct:Ct.contextElement||Nn(d.elements.popper),tt,nt,P),Bt=Ls(d.elements.reference),Gt=bc({reference:Bt,element:Xt,placement:y}),oe=Io(Object.assign({},Xt,Gt)),se=At===Ps?oe:Bt,ee={top:kt.top-se.top+Kt.top,bottom:se.bottom-kt.bottom+Kt.bottom,left:kt.left-se.left+Kt.left,right:se.right-kt.right+Kt.right},fe=d.modifiersData.offset;if(At===Ps&&fe){var Ke=fe[y];Object.keys(ee).forEach(function(be){var rs=[Pe,$e].indexOf(be)>=0?1:-1,is=[_e,$e].indexOf(be)>=0?"y":"x";ee[be]+=Ke[is]*rs})}return ee}function eg(d,i){i===void 0&&(i={});var c=i,m=c.placement,y=c.boundary,x=c.rootBoundary,P=c.padding,W=c.flipVariations,tt=c.allowedAutoPlacements,lt=tt===void 0?Ao:tt,nt=Is(m),Tt=nt?W?To:To.filter(function(Ut){return Is(Ut)===nt}):xs,At=Tt.filter(function(Ut){return lt.indexOf(Ut)>=0});At.length===0&&(At=Tt);var vt=At.reduce(function(Ut,St){return Ut[St]=Ms(d,{placement:St,boundary:y,rootBoundary:x,padding:P})[tn(St)],Ut},{});return Object.keys(vt).sort(function(Ut,St){return vt[Ut]-vt[St]})}function ng(d){if(tn(d)===Zr)return[];var i=si(d);return[gc(d),i,gc(i)]}function sg(d){var i=d.state,c=d.options,m=d.name;if(!i.modifiersData[m]._skip){for(var y=c.mainAxis,x=y===void 0?!0:y,P=c.altAxis,W=P===void 0?!0:P,tt=c.fallbackPlacements,lt=c.padding,nt=c.boundary,Tt=c.rootBoundary,At=c.altBoundary,vt=c.flipVariations,Ut=vt===void 0?!0:vt,St=c.allowedAutoPlacements,xt=i.options.placement,Kt=tn(xt),Qt=Kt===xt,Xt=tt||(Qt||!Ut?[si(xt)]:ng(xt)),Ct=[xt].concat(Xt).reduce(function(Fs,$n){return Fs.concat(tn($n)===Zr?eg(i,{placement:$n,boundary:nt,rootBoundary:Tt,padding:lt,flipVariations:Ut,allowedAutoPlacements:St}):$n)},[]),kt=i.rects.reference,Bt=i.rects.popper,Gt=new Map,oe=!0,se=Ct[0],ee=0;ee=0,is=rs?"width":"height",Le=Ms(i,{placement:fe,boundary:nt,rootBoundary:Tt,altBoundary:At,padding:lt}),We=rs?be?Pe:ve:be?$e:_e;kt[is]>Bt[is]&&(We=si(We));var di=si(We),os=[];if(x&&os.push(Le[Ke]<=0),W&&os.push(Le[We]<=0,Le[di]<=0),os.every(function(Fs){return Fs})){se=fe,oe=!1;break}Gt.set(fe,os)}if(oe)for(var hi=Ut?3:1,Go=function($n){var mr=Ct.find(function(mi){var as=Gt.get(mi);if(as)return as.slice(0,$n).every(function(Jo){return Jo})});if(mr)return se=mr,"break"},pr=hi;pr>0;pr--){var pi=Go(pr);if(pi==="break")break}i.placement!==se&&(i.modifiersData[m]._skip=!0,i.placement=se,i.reset=!0)}}const yc={name:"flip",enabled:!0,phase:"main",fn:sg,requiresIfExists:["offset"],data:{_skip:!1}};function Ec(d,i,c){return c===void 0&&(c={x:0,y:0}),{top:d.top-i.height-c.y,right:d.right-i.width+c.x,bottom:d.bottom-i.height+c.y,left:d.left-i.width-c.x}}function wc(d){return[_e,Pe,$e,ve].some(function(i){return d[i]>=0})}function rg(d){var i=d.state,c=d.name,m=i.rects.reference,y=i.rects.popper,x=i.modifiersData.preventOverflow,P=Ms(i,{elementContext:"reference"}),W=Ms(i,{altBoundary:!0}),tt=Ec(P,m),lt=Ec(W,y,x),nt=wc(tt),Tt=wc(lt);i.modifiersData[c]={referenceClippingOffsets:tt,popperEscapeOffsets:lt,isReferenceHidden:nt,hasPopperEscaped:Tt},i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-reference-hidden":nt,"data-popper-escaped":Tt})}const Tc={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:rg};function ig(d,i,c){var m=tn(d),y=[ve,_e].indexOf(m)>=0?-1:1,x=typeof c=="function"?c(Object.assign({},i,{placement:d})):c,P=x[0],W=x[1];return P=P||0,W=(W||0)*y,[ve,Pe].indexOf(m)>=0?{x:W,y:P}:{x:P,y:W}}function og(d){var i=d.state,c=d.options,m=d.name,y=c.offset,x=y===void 0?[0,0]:y,P=Ao.reduce(function(nt,Tt){return nt[Tt]=ig(Tt,i.rects,x),nt},{}),W=P[i.placement],tt=W.x,lt=W.y;i.modifiersData.popperOffsets!=null&&(i.modifiersData.popperOffsets.x+=tt,i.modifiersData.popperOffsets.y+=lt),i.modifiersData[m]=P}const Ac={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:og};function ag(d){var i=d.state,c=d.name;i.modifiersData[c]=bc({reference:i.rects.reference,element:i.rects.popper,placement:i.placement})}const Mo={name:"popperOffsets",enabled:!0,phase:"read",fn:ag,data:{}};function lg(d){return d==="x"?"y":"x"}function cg(d){var i=d.state,c=d.options,m=d.name,y=c.mainAxis,x=y===void 0?!0:y,P=c.altAxis,W=P===void 0?!1:P,tt=c.boundary,lt=c.rootBoundary,nt=c.altBoundary,Tt=c.padding,At=c.tether,vt=At===void 0?!0:At,Ut=c.tetherOffset,St=Ut===void 0?0:Ut,xt=Ms(i,{boundary:tt,rootBoundary:lt,padding:Tt,altBoundary:nt}),Kt=tn(i.placement),Qt=Is(i.placement),Xt=!Qt,Ct=No(Kt),kt=lg(Ct),Bt=i.modifiersData.popperOffsets,Gt=i.rects.reference,oe=i.rects.popper,se=typeof St=="function"?St(Object.assign({},i.rects,{placement:i.placement})):St,ee=typeof se=="number"?{mainAxis:se,altAxis:se}:Object.assign({mainAxis:0,altAxis:0},se),fe=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,Ke={x:0,y:0};if(Bt){if(x){var be,rs=Ct==="y"?_e:ve,is=Ct==="y"?$e:Pe,Le=Ct==="y"?"height":"width",We=Bt[Ct],di=We+xt[rs],os=We-xt[is],hi=vt?-oe[Le]/2:0,Go=Qt===zn?Gt[Le]:oe[Le],pr=Qt===zn?-oe[Le]:-Gt[Le],pi=i.elements.arrow,Fs=vt&&pi?Ro(pi):{width:0,height:0},$n=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:fc(),mr=$n[rs],mi=$n[is],as=cr(0,Gt[Le],Fs[Le]),Jo=Xt?Gt[Le]/2-hi-as-mr-ee.mainAxis:Go-as-mr-ee.mainAxis,eb=Xt?-Gt[Le]/2+hi+as+mi+ee.mainAxis:pr+as+mi+ee.mainAxis,Qo=i.elements.arrow&&lr(i.elements.arrow),nb=Qo?Ct==="y"?Qo.clientTop||0:Qo.clientLeft||0:0,du=(be=fe?.[Ct])!=null?be:0,sb=We+Jo-du-nb,rb=We+eb-du,hu=cr(vt?ti(di,sb):di,We,vt?Jn(os,rb):os);Bt[Ct]=hu,Ke[Ct]=hu-We}if(W){var pu,ib=Ct==="x"?_e:ve,ob=Ct==="x"?$e:Pe,ls=Bt[kt],gi=kt==="y"?"height":"width",mu=ls+xt[ib],gu=ls-xt[ob],Xo=[_e,ve].indexOf(Kt)!==-1,_u=(pu=fe?.[kt])!=null?pu:0,vu=Xo?mu:ls-Gt[gi]-oe[gi]-_u+ee.altAxis,bu=Xo?ls+Gt[gi]+oe[gi]-_u-ee.altAxis:gu,yu=vt&&Xo?Hm(vu,ls,bu):cr(vt?vu:mu,ls,vt?bu:gu);Bt[kt]=yu,Ke[kt]=yu-ls}i.modifiersData[m]=Ke}}const Sc={name:"preventOverflow",enabled:!0,phase:"main",fn:cg,requiresIfExists:["offset"]};function ug(d){return{scrollLeft:d.scrollLeft,scrollTop:d.scrollTop}}function fg(d){return d===De(d)||!Be(d)?Po(d):ug(d)}function dg(d){var i=d.getBoundingClientRect(),c=Ds(i.width)/d.offsetWidth||1,m=Ds(i.height)/d.offsetHeight||1;return c!==1||m!==1}function hg(d,i,c){c===void 0&&(c=!1);var m=Be(i),y=Be(i)&&dg(i),x=Nn(i),P=Ls(d,y,c),W={scrollLeft:0,scrollTop:0},tt={x:0,y:0};return(m||!m&&!c)&&((Ze(i)!=="body"||Lo(x))&&(W=fg(i)),Be(i)?(tt=Ls(i,!0),tt.x+=i.clientLeft,tt.y+=i.clientTop):x&&(tt.x=Do(x))),{x:P.left+W.scrollLeft-tt.x,y:P.top+W.scrollTop-tt.y,width:P.width,height:P.height}}function pg(d){var i=new Map,c=new Set,m=[];d.forEach(function(x){i.set(x.name,x)});function y(x){c.add(x.name);var P=[].concat(x.requires||[],x.requiresIfExists||[]);P.forEach(function(W){if(!c.has(W)){var tt=i.get(W);tt&&y(tt)}}),m.push(x)}return d.forEach(function(x){c.has(x.name)||y(x)}),m}function mg(d){var i=pg(d);return ac.reduce(function(c,m){return c.concat(i.filter(function(y){return y.phase===m}))},[])}function gg(d){var i;return function(){return i||(i=new Promise(function(c){Promise.resolve().then(function(){i=void 0,c(d())})})),i}}function _g(d){var i=d.reduce(function(c,m){var y=c[m.name];return c[m.name]=y?Object.assign({},y,m,{options:Object.assign({},y.options,m.options),data:Object.assign({},y.data,m.data)}):m,c},{});return Object.keys(i).map(function(c){return i[c]})}var Cc={placement:"bottom",modifiers:[],strategy:"absolute"};function Oc(){for(var d=arguments.length,i=new Array(d),c=0;c"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let i=this._element;this._config.reference==="parent"?i=this._parent:_(this._config.reference)?i=g(this._config.reference):typeof this._config.reference=="object"&&(i=this._config.reference);const c=this._getPopperConfig();this._popper=ko(i,this._menu,c)}_isShown(){return this._menu.classList.contains(ks)}_getPlacement(){const i=this._parent;if(i.classList.contains($g))return jg;if(i.classList.contains(Pg))return qg;if(i.classList.contains(Dg))return Kg;if(i.classList.contains(Lg))return Wg;const c=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return i.classList.contains(xg)?c?Hg:Fg:c?Ug:Vg}_detectNavbar(){return this._element.closest(Mg)!==null}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(c=>Number.parseInt(c,10)):typeof i=="function"?c=>i(c,this._element):i}_getPopperConfig(){const i={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(v.setDataAttribute(this._menu,"popper","static"),i.modifiers=[{name:"applyStyles",enabled:!1}]),{...i,...w(this._config.popperConfig,[void 0,i])}}_selectMenuItem({key:i,target:c}){const m=N.find(Bg,this._menu).filter(y=>E(y));m.length&&L(m,c,i===$c,!m.includes(c)).focus()}static jQueryInterface(i){return this.each(function(){const c=qe.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i]()}})}static clearMenus(i){if(i.button===Ag||i.type==="keyup"&&i.key!==xc)return;const c=N.find(Ig);for(const m of c){const y=qe.getInstance(m);if(!y||y._config.autoClose===!1)continue;const x=i.composedPath(),P=x.includes(y._menu);if(x.includes(y._element)||y._config.autoClose==="inside"&&!P||y._config.autoClose==="outside"&&P||y._menu.contains(i.target)&&(i.type==="keyup"&&i.key===xc||/input|select|option|textarea|form/i.test(i.target.tagName)))continue;const W={relatedTarget:y._element};i.type==="click"&&(W.clickEvent=i),y._completeHide(W)}}static dataApiKeydownHandler(i){const c=/input|textarea/i.test(i.target.tagName),m=i.key===wg,y=[Tg,$c].includes(i.key);if(!y&&!m||c&&!m)return;i.preventDefault();const x=this.matches(Xn)?this:N.prev(this,Xn)[0]||N.next(this,Xn)[0]||N.findOne(Xn,i.delegateTarget.parentNode),P=qe.getOrCreateInstance(x);if(y){i.stopPropagation(),P.show(),P._selectMenuItem(i);return}P._isShown()&&(i.stopPropagation(),P.hide(),x.focus())}}T.on(document,Dc,Xn,qe.dataApiKeydownHandler),T.on(document,Dc,ii,qe.dataApiKeydownHandler),T.on(document,Pc,qe.clearMenus),T.on(document,Ng,qe.clearMenus),T.on(document,Pc,Xn,function(d){d.preventDefault(),qe.getOrCreateInstance(this).toggle()}),R(qe);const Lc="backdrop",Gg="fade",Ic="show",Mc=`mousedown.bs.${Lc}`,Jg={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Qg={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class kc extends b{constructor(i){super(),this._config=this._getConfig(i),this._isAppended=!1,this._element=null}static get Default(){return Jg}static get DefaultType(){return Qg}static get NAME(){return Lc}show(i){if(!this._config.isVisible){w(i);return}this._append();const c=this._getElement();this._config.isAnimated&&F(c),c.classList.add(Ic),this._emulateAnimation(()=>{w(i)})}hide(i){if(!this._config.isVisible){w(i);return}this._getElement().classList.remove(Ic),this._emulateAnimation(()=>{this.dispose(),w(i)})}dispose(){this._isAppended&&(T.off(this._element,Mc),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const i=document.createElement("div");i.className=this._config.className,this._config.isAnimated&&i.classList.add(Gg),this._element=i}return this._element}_configAfterMerge(i){return i.rootElement=g(i.rootElement),i}_append(){if(this._isAppended)return;const i=this._getElement();this._config.rootElement.append(i),T.on(i,Mc,()=>{w(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(i){S(i,this._getElement(),this._config.isAnimated)}}const Xg="focustrap",oi=".bs.focustrap",Zg=`focusin${oi}`,t_=`keydown.tab${oi}`,e_="Tab",n_="forward",Bc="backward",s_={autofocus:!0,trapElement:null},r_={autofocus:"boolean",trapElement:"element"};class Fc extends b{constructor(i){super(),this._config=this._getConfig(i),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return s_}static get DefaultType(){return r_}static get NAME(){return Xg}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),T.off(document,oi),T.on(document,Zg,i=>this._handleFocusin(i)),T.on(document,t_,i=>this._handleKeydown(i)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,T.off(document,oi))}_handleFocusin(i){const{trapElement:c}=this._config;if(i.target===document||i.target===c||c.contains(i.target))return;const m=N.focusableChildren(c);m.length===0?c.focus():this._lastTabNavDirection===Bc?m[m.length-1].focus():m[0].focus()}_handleKeydown(i){i.key===e_&&(this._lastTabNavDirection=i.shiftKey?Bc:n_)}}const Hc=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Vc=".sticky-top",ai="padding-right",Uc="margin-right";class Fo{constructor(){this._element=document.body}getWidth(){const i=document.documentElement.clientWidth;return Math.abs(window.innerWidth-i)}hide(){const i=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ai,c=>c+i),this._setElementAttributes(Hc,ai,c=>c+i),this._setElementAttributes(Vc,Uc,c=>c-i)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ai),this._resetElementAttributes(Hc,ai),this._resetElementAttributes(Vc,Uc)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(i,c,m){const y=this.getWidth(),x=P=>{if(P!==this._element&&window.innerWidth>P.clientWidth+y)return;this._saveInitialAttribute(P,c);const W=window.getComputedStyle(P).getPropertyValue(c);P.style.setProperty(c,`${m(Number.parseFloat(W))}px`)};this._applyManipulationCallback(i,x)}_saveInitialAttribute(i,c){const m=i.style.getPropertyValue(c);m&&v.setDataAttribute(i,c,m)}_resetElementAttributes(i,c){const m=y=>{const x=v.getDataAttribute(y,c);if(x===null){y.style.removeProperty(c);return}v.removeDataAttribute(y,c),y.style.setProperty(c,x)};this._applyManipulationCallback(i,m)}_applyManipulationCallback(i,c){if(_(i)){c(i);return}for(const m of N.find(i,this._element))c(m)}}const i_="modal",Fe=".bs.modal",o_=".data-api",a_="Escape",l_=`hide${Fe}`,c_=`hidePrevented${Fe}`,jc=`hidden${Fe}`,qc=`show${Fe}`,u_=`shown${Fe}`,f_=`resize${Fe}`,d_=`click.dismiss${Fe}`,h_=`mousedown.dismiss${Fe}`,p_=`keydown.dismiss${Fe}`,m_=`click${Fe}${o_}`,Kc="modal-open",g_="fade",Wc="show",Ho="modal-static",__=".modal.show",v_=".modal-dialog",b_=".modal-body",y_='[data-bs-toggle="modal"]',E_={backdrop:!0,focus:!0,keyboard:!0},w_={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Zn extends K{constructor(i,c){super(i,c),this._dialog=N.findOne(v_,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Fo,this._addEventListeners()}static get Default(){return E_}static get DefaultType(){return w_}static get NAME(){return i_}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){this._isShown||this._isTransitioning||T.trigger(this._element,qc,{relatedTarget:i}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Kc),this._adjustDialog(),this._backdrop.show(()=>this._showElement(i)))}hide(){!this._isShown||this._isTransitioning||T.trigger(this._element,l_).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Wc),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){T.off(window,Fe),T.off(this._dialog,Fe),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new kc({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Fc({trapElement:this._element})}_showElement(i){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const c=N.findOne(b_,this._dialog);c&&(c.scrollTop=0),F(this._element),this._element.classList.add(Wc);const m=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,T.trigger(this._element,u_,{relatedTarget:i})};this._queueCallback(m,this._dialog,this._isAnimated())}_addEventListeners(){T.on(this._element,p_,i=>{if(i.key===a_){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),T.on(window,f_,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),T.on(this._element,h_,i=>{T.one(this._element,d_,c=>{if(!(this._element!==i.target||this._element!==c.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Kc),this._resetAdjustments(),this._scrollBar.reset(),T.trigger(this._element,jc)})}_isAnimated(){return this._element.classList.contains(g_)}_triggerBackdropTransition(){if(T.trigger(this._element,c_).defaultPrevented)return;const c=this._element.scrollHeight>document.documentElement.clientHeight,m=this._element.style.overflowY;m==="hidden"||this._element.classList.contains(Ho)||(c||(this._element.style.overflowY="hidden"),this._element.classList.add(Ho),this._queueCallback(()=>{this._element.classList.remove(Ho),this._queueCallback(()=>{this._element.style.overflowY=m},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const i=this._element.scrollHeight>document.documentElement.clientHeight,c=this._scrollBar.getWidth(),m=c>0;if(m&&!i){const y=O()?"paddingLeft":"paddingRight";this._element.style[y]=`${c}px`}if(!m&&i){const y=O()?"paddingRight":"paddingLeft";this._element.style[y]=`${c}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(i,c){return this.each(function(){const m=Zn.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof m[i]>"u")throw new TypeError(`No method named "${i}"`);m[i](c)}})}}T.on(document,m_,y_,function(d){const i=N.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&d.preventDefault(),T.one(i,qc,y=>{y.defaultPrevented||T.one(i,jc,()=>{E(this)&&this.focus()})});const c=N.findOne(__);c&&Zn.getInstance(c).hide(),Zn.getOrCreateInstance(i).toggle(this)}),ot(Zn),R(Zn);const T_="offcanvas",pn=".bs.offcanvas",Yc=".data-api",A_=`load${pn}${Yc}`,S_="Escape",zc="show",Gc="showing",Jc="hiding",C_="offcanvas-backdrop",Qc=".offcanvas.show",O_=`show${pn}`,R_=`shown${pn}`,N_=`hide${pn}`,Xc=`hidePrevented${pn}`,Zc=`hidden${pn}`,x_=`resize${pn}`,$_=`click${pn}${Yc}`,P_=`keydown.dismiss${pn}`,D_='[data-bs-toggle="offcanvas"]',L_={backdrop:!0,keyboard:!0,scroll:!1},I_={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class mn extends K{constructor(i,c){super(i,c),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return L_}static get DefaultType(){return I_}static get NAME(){return T_}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){if(this._isShown||T.trigger(this._element,O_,{relatedTarget:i}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Fo().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Gc);const m=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(zc),this._element.classList.remove(Gc),T.trigger(this._element,R_,{relatedTarget:i})};this._queueCallback(m,this._element,!0)}hide(){if(!this._isShown||T.trigger(this._element,N_).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Jc),this._backdrop.hide();const c=()=>{this._element.classList.remove(zc,Jc),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Fo().reset(),T.trigger(this._element,Zc)};this._queueCallback(c,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const i=()=>{if(this._config.backdrop==="static"){T.trigger(this._element,Xc);return}this.hide()},c=!!this._config.backdrop;return new kc({className:C_,isVisible:c,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:c?i:null})}_initializeFocusTrap(){return new Fc({trapElement:this._element})}_addEventListeners(){T.on(this._element,P_,i=>{if(i.key===S_){if(this._config.keyboard){this.hide();return}T.trigger(this._element,Xc)}})}static jQueryInterface(i){return this.each(function(){const c=mn.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i](this)}})}}T.on(document,$_,D_,function(d){const i=N.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&d.preventDefault(),A(this))return;T.one(i,Zc,()=>{E(this)&&this.focus()});const c=N.findOne(Qc);c&&c!==i&&mn.getInstance(c).hide(),mn.getOrCreateInstance(i).toggle(this)}),T.on(window,A_,()=>{for(const d of N.find(Qc))mn.getOrCreateInstance(d).show()}),T.on(window,x_,()=>{for(const d of N.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(d).position!=="fixed"&&mn.getOrCreateInstance(d).hide()}),ot(mn),R(mn);const tu={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},M_=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),k_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,B_=(d,i)=>{const c=d.nodeName.toLowerCase();return i.includes(c)?M_.has(c)?!!k_.test(d.nodeValue):!0:i.filter(m=>m instanceof RegExp).some(m=>m.test(c))};function F_(d,i,c){if(!d.length)return d;if(c&&typeof c=="function")return c(d);const y=new window.DOMParser().parseFromString(d,"text/html"),x=[].concat(...y.body.querySelectorAll("*"));for(const P of x){const W=P.nodeName.toLowerCase();if(!Object.keys(i).includes(W)){P.remove();continue}const tt=[].concat(...P.attributes),lt=[].concat(i["*"]||[],i[W]||[]);for(const nt of tt)B_(nt,lt)||P.removeAttribute(nt.nodeName)}return y.body.innerHTML}const H_="TemplateFactory",V_={allowList:tu,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},U_={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},j_={entry:"(string|element|function|null)",selector:"(string|element)"};class q_ extends b{constructor(i){super(),this._config=this._getConfig(i)}static get Default(){return V_}static get DefaultType(){return U_}static get NAME(){return H_}getContent(){return Object.values(this._config.content).map(i=>this._resolvePossibleFunction(i)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(i){return this._checkContent(i),this._config.content={...this._config.content,...i},this}toHtml(){const i=document.createElement("div");i.innerHTML=this._maybeSanitize(this._config.template);for(const[y,x]of Object.entries(this._config.content))this._setContent(i,x,y);const c=i.children[0],m=this._resolvePossibleFunction(this._config.extraClass);return m&&c.classList.add(...m.split(" ")),c}_typeCheckConfig(i){super._typeCheckConfig(i),this._checkContent(i.content)}_checkContent(i){for(const[c,m]of Object.entries(i))super._typeCheckConfig({selector:c,entry:m},j_)}_setContent(i,c,m){const y=N.findOne(m,i);if(y){if(c=this._resolvePossibleFunction(c),!c){y.remove();return}if(_(c)){this._putElementInTemplate(g(c),y);return}if(this._config.html){y.innerHTML=this._maybeSanitize(c);return}y.textContent=c}}_maybeSanitize(i){return this._config.sanitize?F_(i,this._config.allowList,this._config.sanitizeFn):i}_resolvePossibleFunction(i){return w(i,[void 0,this])}_putElementInTemplate(i,c){if(this._config.html){c.innerHTML="",c.append(i);return}c.textContent=i.textContent}}const K_="tooltip",W_=new Set(["sanitize","allowList","sanitizeFn"]),Vo="fade",Y_="modal",li="show",z_=".tooltip-inner",eu=`.${Y_}`,nu="hide.bs.modal",fr="hover",Uo="focus",G_="click",J_="manual",Q_="hide",X_="hidden",Z_="show",tv="shown",ev="inserted",nv="click",sv="focusin",rv="focusout",iv="mouseenter",ov="mouseleave",av={AUTO:"auto",TOP:"top",RIGHT:O()?"left":"right",BOTTOM:"bottom",LEFT:O()?"right":"left"},lv={allowList:tu,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},cv={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class ts extends K{constructor(i,c){if(typeof Rc>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(i,c),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return lv}static get DefaultType(){return cv}static get NAME(){return K_}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),T.off(this._element.closest(eu),nu,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const i=T.trigger(this._element,this.constructor.eventName(Z_)),m=(H(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(i.defaultPrevented||!m)return;this._disposePopper();const y=this._getTipElement();this._element.setAttribute("aria-describedby",y.getAttribute("id"));const{container:x}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(x.append(y),T.trigger(this._element,this.constructor.eventName(ev))),this._popper=this._createPopper(y),y.classList.add(li),"ontouchstart"in document.documentElement)for(const W of[].concat(...document.body.children))T.on(W,"mouseover",I);const P=()=>{T.trigger(this._element,this.constructor.eventName(tv)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(P,this.tip,this._isAnimated())}hide(){if(!this._isShown()||T.trigger(this._element,this.constructor.eventName(Q_)).defaultPrevented)return;if(this._getTipElement().classList.remove(li),"ontouchstart"in document.documentElement)for(const y of[].concat(...document.body.children))T.off(y,"mouseover",I);this._activeTrigger[G_]=!1,this._activeTrigger[Uo]=!1,this._activeTrigger[fr]=!1,this._isHovered=null;const m=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),T.trigger(this._element,this.constructor.eventName(X_)))};this._queueCallback(m,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(i){const c=this._getTemplateFactory(i).toHtml();if(!c)return null;c.classList.remove(Vo,li),c.classList.add(`bs-${this.constructor.NAME}-auto`);const m=f(this.constructor.NAME).toString();return c.setAttribute("id",m),this._isAnimated()&&c.classList.add(Vo),c}setContent(i){this._newContent=i,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(i){return this._templateFactory?this._templateFactory.changeContent(i):this._templateFactory=new q_({...this._config,content:i,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[z_]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(i){return this.constructor.getOrCreateInstance(i.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Vo)}_isShown(){return this.tip&&this.tip.classList.contains(li)}_createPopper(i){const c=w(this._config.placement,[this,i,this._element]),m=av[c.toUpperCase()];return ko(this._element,i,this._getPopperConfig(m))}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(c=>Number.parseInt(c,10)):typeof i=="function"?c=>i(c,this._element):i}_resolvePossibleFunction(i){return w(i,[this._element,this._element])}_getPopperConfig(i){const c={placement:i,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:m=>{this._getTipElement().setAttribute("data-popper-placement",m.state.placement)}}]};return{...c,...w(this._config.popperConfig,[void 0,c])}}_setListeners(){const i=this._config.trigger.split(" ");for(const c of i)if(c==="click")T.on(this._element,this.constructor.eventName(nv),this._config.selector,m=>{this._initializeOnDelegatedTarget(m).toggle()});else if(c!==J_){const m=c===fr?this.constructor.eventName(iv):this.constructor.eventName(sv),y=c===fr?this.constructor.eventName(ov):this.constructor.eventName(rv);T.on(this._element,m,this._config.selector,x=>{const P=this._initializeOnDelegatedTarget(x);P._activeTrigger[x.type==="focusin"?Uo:fr]=!0,P._enter()}),T.on(this._element,y,this._config.selector,x=>{const P=this._initializeOnDelegatedTarget(x);P._activeTrigger[x.type==="focusout"?Uo:fr]=P._element.contains(x.relatedTarget),P._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},T.on(this._element.closest(eu),nu,this._hideModalHandler)}_fixTitle(){const i=this._element.getAttribute("title");i&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",i),this._element.setAttribute("data-bs-original-title",i),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(i,c){clearTimeout(this._timeout),this._timeout=setTimeout(i,c)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(i){const c=v.getDataAttributes(this._element);for(const m of Object.keys(c))W_.has(m)&&delete c[m];return i={...c,...typeof i=="object"&&i?i:{}},i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i.container=i.container===!1?document.body:g(i.container),typeof i.delay=="number"&&(i.delay={show:i.delay,hide:i.delay}),typeof i.title=="number"&&(i.title=i.title.toString()),typeof i.content=="number"&&(i.content=i.content.toString()),i}_getDelegateConfig(){const i={};for(const[c,m]of Object.entries(this._config))this.constructor.Default[c]!==m&&(i[c]=m);return i.selector=!1,i.trigger="manual",i}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(i){return this.each(function(){const c=ts.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i]()}})}}R(ts);const uv="popover",fv=".popover-header",dv=".popover-body",hv={...ts.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},pv={...ts.DefaultType,content:"(null|string|element|function)"};class ci extends ts{static get Default(){return hv}static get DefaultType(){return pv}static get NAME(){return uv}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[fv]:this._getTitle(),[dv]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(i){return this.each(function(){const c=ci.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i]()}})}}R(ci);const mv="scrollspy",jo=".bs.scrollspy",gv=".data-api",_v=`activate${jo}`,su=`click${jo}`,vv=`load${jo}${gv}`,bv="dropdown-item",Bs="active",yv='[data-bs-spy="scroll"]',qo="[href]",Ev=".nav, .list-group",ru=".nav-link",wv=`${ru}, .nav-item > ${ru}, .list-group-item`,Tv=".dropdown",Av=".dropdown-toggle",Sv={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Cv={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class dr extends K{constructor(i,c){super(i,c),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Sv}static get DefaultType(){return Cv}static get NAME(){return mv}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const i of this._observableSections.values())this._observer.observe(i)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(i){return i.target=g(i.target)||document.body,i.rootMargin=i.offset?`${i.offset}px 0px -30%`:i.rootMargin,typeof i.threshold=="string"&&(i.threshold=i.threshold.split(",").map(c=>Number.parseFloat(c))),i}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(T.off(this._config.target,su),T.on(this._config.target,su,qo,i=>{const c=this._observableSections.get(i.target.hash);if(c){i.preventDefault();const m=this._rootElement||window,y=c.offsetTop-this._element.offsetTop;if(m.scrollTo){m.scrollTo({top:y,behavior:"smooth"});return}m.scrollTop=y}}))}_getNewObserver(){const i={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(c=>this._observerCallback(c),i)}_observerCallback(i){const c=P=>this._targetLinks.get(`#${P.target.id}`),m=P=>{this._previousScrollData.visibleEntryTop=P.target.offsetTop,this._process(c(P))},y=(this._rootElement||document.documentElement).scrollTop,x=y>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=y;for(const P of i){if(!P.isIntersecting){this._activeTarget=null,this._clearActiveClass(c(P));continue}const W=P.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(x&&W){if(m(P),!y)return;continue}!x&&!W&&m(P)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const i=N.find(qo,this._config.target);for(const c of i){if(!c.hash||A(c))continue;const m=N.findOne(decodeURI(c.hash),this._element);E(m)&&(this._targetLinks.set(decodeURI(c.hash),c),this._observableSections.set(c.hash,m))}}_process(i){this._activeTarget!==i&&(this._clearActiveClass(this._config.target),this._activeTarget=i,i.classList.add(Bs),this._activateParents(i),T.trigger(this._element,_v,{relatedTarget:i}))}_activateParents(i){if(i.classList.contains(bv)){N.findOne(Av,i.closest(Tv)).classList.add(Bs);return}for(const c of N.parents(i,Ev))for(const m of N.prev(c,wv))m.classList.add(Bs)}_clearActiveClass(i){i.classList.remove(Bs);const c=N.find(`${qo}.${Bs}`,i);for(const m of c)m.classList.remove(Bs)}static jQueryInterface(i){return this.each(function(){const c=dr.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}})}}T.on(window,vv,()=>{for(const d of N.find(yv))dr.getOrCreateInstance(d)}),R(dr);const Ov="tab",es=".bs.tab",Rv=`hide${es}`,Nv=`hidden${es}`,xv=`show${es}`,$v=`shown${es}`,Pv=`click${es}`,Dv=`keydown${es}`,Lv=`load${es}`,Iv="ArrowLeft",iu="ArrowRight",Mv="ArrowUp",ou="ArrowDown",Ko="Home",au="End",ns="active",lu="fade",Wo="show",kv="dropdown",cu=".dropdown-toggle",Bv=".dropdown-menu",Yo=`:not(${cu})`,Fv='.list-group, .nav, [role="tablist"]',Hv=".nav-item, .list-group-item",Vv=`.nav-link${Yo}, .list-group-item${Yo}, [role="tab"]${Yo}`,uu='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',zo=`${Vv}, ${uu}`,Uv=`.${ns}[data-bs-toggle="tab"], .${ns}[data-bs-toggle="pill"], .${ns}[data-bs-toggle="list"]`;class ss extends K{constructor(i){super(i),this._parent=this._element.closest(Fv),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),T.on(this._element,Dv,c=>this._keydown(c)))}static get NAME(){return Ov}show(){const i=this._element;if(this._elemIsActive(i))return;const c=this._getActiveElem(),m=c?T.trigger(c,Rv,{relatedTarget:i}):null;T.trigger(i,xv,{relatedTarget:c}).defaultPrevented||m&&m.defaultPrevented||(this._deactivate(c,i),this._activate(i,c))}_activate(i,c){if(!i)return;i.classList.add(ns),this._activate(N.getElementFromSelector(i));const m=()=>{if(i.getAttribute("role")!=="tab"){i.classList.add(Wo);return}i.removeAttribute("tabindex"),i.setAttribute("aria-selected",!0),this._toggleDropDown(i,!0),T.trigger(i,$v,{relatedTarget:c})};this._queueCallback(m,i,i.classList.contains(lu))}_deactivate(i,c){if(!i)return;i.classList.remove(ns),i.blur(),this._deactivate(N.getElementFromSelector(i));const m=()=>{if(i.getAttribute("role")!=="tab"){i.classList.remove(Wo);return}i.setAttribute("aria-selected",!1),i.setAttribute("tabindex","-1"),this._toggleDropDown(i,!1),T.trigger(i,Nv,{relatedTarget:c})};this._queueCallback(m,i,i.classList.contains(lu))}_keydown(i){if(![Iv,iu,Mv,ou,Ko,au].includes(i.key))return;i.stopPropagation(),i.preventDefault();const c=this._getChildren().filter(y=>!A(y));let m;if([Ko,au].includes(i.key))m=c[i.key===Ko?0:c.length-1];else{const y=[iu,ou].includes(i.key);m=L(c,i.target,y,!0)}m&&(m.focus({preventScroll:!0}),ss.getOrCreateInstance(m).show())}_getChildren(){return N.find(zo,this._parent)}_getActiveElem(){return this._getChildren().find(i=>this._elemIsActive(i))||null}_setInitialAttributes(i,c){this._setAttributeIfNotExists(i,"role","tablist");for(const m of c)this._setInitialAttributesOnChild(m)}_setInitialAttributesOnChild(i){i=this._getInnerElement(i);const c=this._elemIsActive(i),m=this._getOuterElement(i);i.setAttribute("aria-selected",c),m!==i&&this._setAttributeIfNotExists(m,"role","presentation"),c||i.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(i,"role","tab"),this._setInitialAttributesOnTargetPanel(i)}_setInitialAttributesOnTargetPanel(i){const c=N.getElementFromSelector(i);c&&(this._setAttributeIfNotExists(c,"role","tabpanel"),i.id&&this._setAttributeIfNotExists(c,"aria-labelledby",`${i.id}`))}_toggleDropDown(i,c){const m=this._getOuterElement(i);if(!m.classList.contains(kv))return;const y=(x,P)=>{const W=N.findOne(x,m);W&&W.classList.toggle(P,c)};y(cu,ns),y(Bv,Wo),m.setAttribute("aria-expanded",c)}_setAttributeIfNotExists(i,c,m){i.hasAttribute(c)||i.setAttribute(c,m)}_elemIsActive(i){return i.classList.contains(ns)}_getInnerElement(i){return i.matches(zo)?i:N.findOne(zo,i)}_getOuterElement(i){return i.closest(Hv)||i}static jQueryInterface(i){return this.each(function(){const c=ss.getOrCreateInstance(this);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}})}}T.on(document,Pv,uu,function(d){["A","AREA"].includes(this.tagName)&&d.preventDefault(),!A(this)&&ss.getOrCreateInstance(this).show()}),T.on(window,Lv,()=>{for(const d of N.find(Uv))ss.getOrCreateInstance(d)}),R(ss);const jv="toast",xn=".bs.toast",qv=`mouseover${xn}`,Kv=`mouseout${xn}`,Wv=`focusin${xn}`,Yv=`focusout${xn}`,zv=`hide${xn}`,Gv=`hidden${xn}`,Jv=`show${xn}`,Qv=`shown${xn}`,Xv="fade",fu="hide",ui="show",fi="showing",Zv={animation:"boolean",autohide:"boolean",delay:"number"},tb={animation:!0,autohide:!0,delay:5e3};class hr extends K{constructor(i,c){super(i,c),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return tb}static get DefaultType(){return Zv}static get NAME(){return jv}show(){if(T.trigger(this._element,Jv).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Xv);const c=()=>{this._element.classList.remove(fi),T.trigger(this._element,Qv),this._maybeScheduleHide()};this._element.classList.remove(fu),F(this._element),this._element.classList.add(ui,fi),this._queueCallback(c,this._element,this._config.animation)}hide(){if(!this.isShown()||T.trigger(this._element,zv).defaultPrevented)return;const c=()=>{this._element.classList.add(fu),this._element.classList.remove(fi,ui),T.trigger(this._element,Gv)};this._element.classList.add(fi),this._queueCallback(c,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ui),super.dispose()}isShown(){return this._element.classList.contains(ui)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(i,c){switch(i.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=c;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=c;break}}if(c){this._clearTimeout();return}const m=i.relatedTarget;this._element===m||this._element.contains(m)||this._maybeScheduleHide()}_setListeners(){T.on(this._element,qv,i=>this._onInteraction(i,!0)),T.on(this._element,Kv,i=>this._onInteraction(i,!1)),T.on(this._element,Wv,i=>this._onInteraction(i,!0)),T.on(this._element,Yv,i=>this._onInteraction(i,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(i){return this.each(function(){const c=hr.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i](this)}})}}return ot(hr),R(hr),{Alert:wt,Button:On,Carousel:Os,Collapse:Ns,Dropdown:qe,Modal:Zn,Offcanvas:mn,Popover:ci,ScrollSpy:dr,Tab:ss,Toast:hr,Tooltip:ts}})}(Pi)),Pi.exports}sS();const Hp=new URLSearchParams(window.location.search),gd=Hp.get("state"),_d=Hp.get("code"),vd=()=>{const t=kE(G1);t.use(HE()),t.use(Kl),t.mount("#app")};gd&&_d?vo("/api/signin/oidc",{provider:gd,code:_d,redirect_uri:window.location.protocol+"//"+window.location.host+window.location.pathname}).then(t=>{let e=new URL(window.location.href);e.search="",history.replaceState({},document.title,e.toString()),vd(),t.status||clientStore().newNotification(t.message,"danger")}):vd(); diff --git a/src/static/client/dist/client.html b/src/static/dist/WGDashboardClient/client.html similarity index 73% rename from src/static/client/dist/client.html rename to src/static/dist/WGDashboardClient/client.html index 4115213d..a1009b7e 100644 --- a/src/static/client/dist/client.html +++ b/src/static/dist/WGDashboardClient/client.html @@ -2,7 +2,7 @@ - + WGDashboard Client - - + +
- WGDashboard Client + WGDashboard Client
diff --git a/src/static/client/dist/img/Logo-1-128x128.png b/src/static/dist/WGDashboardClient/img/Logo-1-128x128.png similarity index 100% rename from src/static/client/dist/img/Logo-1-128x128.png rename to src/static/dist/WGDashboardClient/img/Logo-1-128x128.png diff --git a/src/static/client/dist/img/Logo-1-256x256.png b/src/static/dist/WGDashboardClient/img/Logo-1-256x256.png similarity index 100% rename from src/static/client/dist/img/Logo-1-256x256.png rename to src/static/dist/WGDashboardClient/img/Logo-1-256x256.png diff --git a/src/static/client/dist/img/Logo-1-384x384.png b/src/static/dist/WGDashboardClient/img/Logo-1-384x384.png similarity index 100% rename from src/static/client/dist/img/Logo-1-384x384.png rename to src/static/dist/WGDashboardClient/img/Logo-1-384x384.png diff --git a/src/static/client/dist/img/Logo-1-512x512.png b/src/static/dist/WGDashboardClient/img/Logo-1-512x512.png similarity index 100% rename from src/static/client/dist/img/Logo-1-512x512.png rename to src/static/dist/WGDashboardClient/img/Logo-1-512x512.png diff --git a/src/static/client/dist/img/Logo-1-Maskable-512x512.png b/src/static/dist/WGDashboardClient/img/Logo-1-Maskable-512x512.png similarity index 100% rename from src/static/client/dist/img/Logo-1-Maskable-512x512.png rename to src/static/dist/WGDashboardClient/img/Logo-1-Maskable-512x512.png diff --git a/src/static/client/dist/img/Logo-1-Rounded-128x128.png b/src/static/dist/WGDashboardClient/img/Logo-1-Rounded-128x128.png similarity index 100% rename from src/static/client/dist/img/Logo-1-Rounded-128x128.png rename to src/static/dist/WGDashboardClient/img/Logo-1-Rounded-128x128.png diff --git a/src/static/client/dist/img/Logo-1-Rounded-256x256.png b/src/static/dist/WGDashboardClient/img/Logo-1-Rounded-256x256.png similarity index 100% rename from src/static/client/dist/img/Logo-1-Rounded-256x256.png rename to src/static/dist/WGDashboardClient/img/Logo-1-Rounded-256x256.png diff --git a/src/static/client/dist/img/Logo-1-Rounded-384x384.png b/src/static/dist/WGDashboardClient/img/Logo-1-Rounded-384x384.png similarity index 100% rename from src/static/client/dist/img/Logo-1-Rounded-384x384.png rename to src/static/dist/WGDashboardClient/img/Logo-1-Rounded-384x384.png diff --git a/src/static/client/dist/img/Logo-1-Rounded-512x512.png b/src/static/dist/WGDashboardClient/img/Logo-1-Rounded-512x512.png similarity index 100% rename from src/static/client/dist/img/Logo-1-Rounded-512x512.png rename to src/static/dist/WGDashboardClient/img/Logo-1-Rounded-512x512.png diff --git a/src/static/client/dist/img/Logo-2-128x128.png b/src/static/dist/WGDashboardClient/img/Logo-2-128x128.png similarity index 100% rename from src/static/client/dist/img/Logo-2-128x128.png rename to src/static/dist/WGDashboardClient/img/Logo-2-128x128.png diff --git a/src/static/client/dist/img/Logo-2-256x256.png b/src/static/dist/WGDashboardClient/img/Logo-2-256x256.png similarity index 100% rename from src/static/client/dist/img/Logo-2-256x256.png rename to src/static/dist/WGDashboardClient/img/Logo-2-256x256.png diff --git a/src/static/client/dist/img/Logo-2-384x384.png b/src/static/dist/WGDashboardClient/img/Logo-2-384x384.png similarity index 100% rename from src/static/client/dist/img/Logo-2-384x384.png rename to src/static/dist/WGDashboardClient/img/Logo-2-384x384.png diff --git a/src/static/client/dist/img/Logo-2-512x512.png b/src/static/dist/WGDashboardClient/img/Logo-2-512x512.png similarity index 100% rename from src/static/client/dist/img/Logo-2-512x512.png rename to src/static/dist/WGDashboardClient/img/Logo-2-512x512.png diff --git a/src/static/client/dist/img/Logo-2-Rounded-128x128.png b/src/static/dist/WGDashboardClient/img/Logo-2-Rounded-128x128.png similarity index 100% rename from src/static/client/dist/img/Logo-2-Rounded-128x128.png rename to src/static/dist/WGDashboardClient/img/Logo-2-Rounded-128x128.png diff --git a/src/static/client/dist/img/Logo-2-Rounded-256x256.png b/src/static/dist/WGDashboardClient/img/Logo-2-Rounded-256x256.png similarity index 100% rename from src/static/client/dist/img/Logo-2-Rounded-256x256.png rename to src/static/dist/WGDashboardClient/img/Logo-2-Rounded-256x256.png diff --git a/src/static/client/dist/img/Logo-2-Rounded-384x384.png b/src/static/dist/WGDashboardClient/img/Logo-2-Rounded-384x384.png similarity index 100% rename from src/static/client/dist/img/Logo-2-Rounded-384x384.png rename to src/static/dist/WGDashboardClient/img/Logo-2-Rounded-384x384.png diff --git a/src/static/client/dist/img/Logo-2-Rounded-512x512.png b/src/static/dist/WGDashboardClient/img/Logo-2-Rounded-512x512.png similarity index 100% rename from src/static/client/dist/img/Logo-2-Rounded-512x512.png rename to src/static/dist/WGDashboardClient/img/Logo-2-Rounded-512x512.png