From dcc84cc23a009ab1f6d33c1172f81bccc6565bd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Krysiewicz?= Date: Thu, 23 Nov 2023 18:02:40 +0100 Subject: [PATCH] Revert "Logv2 (#526)" This reverts commit b814308f031a654b7eee18098901fda79d6b4bee. --- .github/workflows/pull_requests.yml | 2 +- .npmrc | 2 +- CHANGELOG.md | 3 - README.md | 33 - bin/pos-cli-data-clean.js | 93 +- bin/pos-cli-data-export.js | 2 +- bin/pos-cli-data-import.js | 8 +- bin/pos-cli-deploy.js | 2 +- bin/pos-cli-env-list.js | 2 +- bin/pos-cli-env.js | 2 +- bin/pos-cli-gui-serve.js | 5 +- bin/pos-cli-logs.js | 57 +- bin/pos-cli-logsv2-alerts-add.js | 34 - bin/pos-cli-logsv2-alerts-list.js | 24 - bin/pos-cli-logsv2-alerts-trigger.js | 25 - bin/pos-cli-logsv2-alerts.js | 11 - bin/pos-cli-logsv2-search.js | 29 - bin/pos-cli-logsv2-searchAround.js | 27 - bin/pos-cli-logsv2.js | 10 - bin/pos-cli-migrations-run.js | 4 +- bin/pos-cli-modules-push.js | 18 +- bin/pos-cli-modules-remove.js | 1 - bin/pos-cli-sync.js | 4 +- bin/pos-cli.js | 10 +- gui/admin/dist/build/bundle.js | 28 +- gui/admin/dist/build/index2.js | 28 +- .../{11.ee72ee6d.css => 10.ee72ee6d.css} | 0 .../{13.9218cb2d.css => 12.9218cb2d.css} | 0 .../{14.bf080bcc.css => 13.bf080bcc.css} | 0 .../{18.0e0670ce.css => 15.0e0670ce.css} | 0 .../_app/immutable/assets/16.ce644cec.css | 1 - .../assets/{7.6bcda092.css => 6.6bcda092.css} | 0 .../_app/immutable/assets/6.f993e17c.css | 1 - .../assets/{8.1f0e3f28.css => 7.1f0e3f28.css} | 0 .../{10.6957ad32.css => 9.6957ad32.css} | 0 .../immutable/assets/_layout.65705946.css | 1 - .../_app/immutable/assets/_page.ce644cec.css | 1 - .../{Aside.9f09d30d.js => Aside.143a8d13.js} | 2 +- .../_app/immutable/chunks/Icon.1ce3f3fe.js | 1 + .../_app/immutable/chunks/Icon.4ad67fd0.js | 1 - .../immutable/chunks/JSONTree.45966d99.js | 2 - .../immutable/chunks/JSONTree.c31da54e.js | 2 + ...{Number.6952118c.js => Number.a1b73508.js} | 2 +- .../{each.177d9825.js => each.1577bad0.js} | 2 +- .../_app/immutable/chunks/index.13972ea2.js | 1 + .../_app/immutable/chunks/index.35d92de3.js | 1 - .../{index.606d5641.js => index.ca999c64.js} | 4 +- .../{index.95c2a168.js => index.ec985a20.js} | 2 +- .../immutable/chunks/scheduler.a497d5ec.js | 1 + .../immutable/chunks/scheduler.bed694a1.js | 1 - ...ons.aae78537.js => singletons.6b3d51ac.js} | 2 +- .../_app/immutable/chunks/state.58df2e5f.js | 1 + .../_app/immutable/chunks/state.88bbaa31.js | 1 - ...{stores.f5d1a634.js => stores.0efc77ce.js} | 2 +- .../_app/immutable/entry/app.04fdd45d.js | 1 - .../_app/immutable/entry/app.46b2bfcf.js | 1 + .../{start.6003686d.js => start.a0636888.js} | 2 +- .../nodes/{0.9e2140d4.js => 0.2a6d4585.js} | 2 +- .../nodes/{1.60820fd4.js => 1.79f29240.js} | 2 +- .../nodes/{11.7667b80e.js => 10.b3328954.js} | 6 +- .../nodes/{12.465c3ad8.js => 11.c01061b0.js} | 2 +- .../nodes/{13.09128d70.js => 12.b830ff14.js} | 22 +- .../nodes/{14.312eaf5e.js => 13.64636ee8.js} | 2 +- .../nodes/{17.32042c01.js => 14.b6fb1833.js} | 2 +- .../build/_app/immutable/nodes/15.00af44d3.js | 1 - .../nodes/{18.eb9c1c14.js => 15.1fecd492.js} | 2 +- .../build/_app/immutable/nodes/16.ef441c50.js | 3 - .../nodes/{2.02b96a81.js => 2.4c2c3fcd.js} | 6 +- .../nodes/{3.92c76c36.js => 3.89e52a69.js} | 2 +- .../nodes/{4.d1cdb0fe.js => 4.de34a058.js} | 2 +- .../nodes/{5.92c76c36.js => 5.89e52a69.js} | 2 +- .../build/_app/immutable/nodes/6.7726938e.js | 1 - .../nodes/{7.610dbe15.js => 6.9ecedd1a.js} | 8 +- .../build/_app/immutable/nodes/7.612030e1.js | 5 + .../build/_app/immutable/nodes/8.bac338d2.js | 1 + .../build/_app/immutable/nodes/8.e5df78b0.js | 5 - .../build/_app/immutable/nodes/9.00af44d3.js | 1 - .../nodes/{10.764f14d3.js => 9.d6835206.js} | 2 +- gui/next/build/_app/version.json | 2 +- gui/next/build/index.html | 18 +- gui/next/src/lib/api/logsv2.js | 40 - gui/next/src/lib/state.js | 4 - gui/next/src/lib/ui/Copy.svelte | 102 - gui/next/src/lib/ui/Icon.svelte | 1 - gui/next/src/routes/+page.svelte | 5 - gui/next/src/routes/logsv2/+layout.svelte | 147 - gui/next/src/routes/logsv2/+page.svelte | 0 gui/next/src/routes/logsv2/[id]/+page.svelte | 93 - lib/ServerError.js | 63 +- lib/apiRequest.js | 59 +- lib/data/waitForStatus.js | 32 +- lib/deploy/directAssetsUploadStrategy.js | 32 +- lib/environments.js | 23 +- lib/logger.js | 18 +- lib/logger/rainbow.js | 11 +- lib/logger/simple.js | 9 +- lib/modules.js | 19 +- lib/openobserve/alerts/slack.json | 39 - lib/openobserve/openapi.json | 5736 ---------------- lib/proxy.js | 10 +- lib/server.js | 13 +- lib/settings.js | 6 +- lib/swagger-client.js | 176 - lib/utils/password.js | 2 +- lib/watch.js | 2 +- package-lock.json | 5973 ++++++----------- package.json | 7 +- test/audit.test.js | 98 +- test/data.test.js | 24 +- test/deploy.test.js | 56 +- test/lib/commands.test.js | 62 +- test/modules-push.test.js | 1 + test/sync.test.js | 9 +- 113 files changed, 2549 insertions(+), 10922 deletions(-) delete mode 100644 bin/pos-cli-logsv2-alerts-add.js delete mode 100644 bin/pos-cli-logsv2-alerts-list.js delete mode 100644 bin/pos-cli-logsv2-alerts-trigger.js delete mode 100644 bin/pos-cli-logsv2-alerts.js delete mode 100755 bin/pos-cli-logsv2-search.js delete mode 100644 bin/pos-cli-logsv2-searchAround.js delete mode 100755 bin/pos-cli-logsv2.js rename gui/next/build/_app/immutable/assets/{11.ee72ee6d.css => 10.ee72ee6d.css} (100%) rename gui/next/build/_app/immutable/assets/{13.9218cb2d.css => 12.9218cb2d.css} (100%) rename gui/next/build/_app/immutable/assets/{14.bf080bcc.css => 13.bf080bcc.css} (100%) rename gui/next/build/_app/immutable/assets/{18.0e0670ce.css => 15.0e0670ce.css} (100%) delete mode 100644 gui/next/build/_app/immutable/assets/16.ce644cec.css rename gui/next/build/_app/immutable/assets/{7.6bcda092.css => 6.6bcda092.css} (100%) delete mode 100644 gui/next/build/_app/immutable/assets/6.f993e17c.css rename gui/next/build/_app/immutable/assets/{8.1f0e3f28.css => 7.1f0e3f28.css} (100%) rename gui/next/build/_app/immutable/assets/{10.6957ad32.css => 9.6957ad32.css} (100%) delete mode 100644 gui/next/build/_app/immutable/assets/_layout.65705946.css delete mode 100644 gui/next/build/_app/immutable/assets/_page.ce644cec.css rename gui/next/build/_app/immutable/chunks/{Aside.9f09d30d.js => Aside.143a8d13.js} (92%) create mode 100644 gui/next/build/_app/immutable/chunks/Icon.1ce3f3fe.js delete mode 100644 gui/next/build/_app/immutable/chunks/Icon.4ad67fd0.js delete mode 100644 gui/next/build/_app/immutable/chunks/JSONTree.45966d99.js create mode 100644 gui/next/build/_app/immutable/chunks/JSONTree.c31da54e.js rename gui/next/build/_app/immutable/chunks/{Number.6952118c.js => Number.a1b73508.js} (52%) rename gui/next/build/_app/immutable/chunks/{each.177d9825.js => each.1577bad0.js} (85%) create mode 100644 gui/next/build/_app/immutable/chunks/index.13972ea2.js delete mode 100644 gui/next/build/_app/immutable/chunks/index.35d92de3.js rename gui/next/build/_app/immutable/chunks/{index.606d5641.js => index.ca999c64.js} (58%) rename gui/next/build/_app/immutable/chunks/{index.95c2a168.js => index.ec985a20.js} (87%) create mode 100644 gui/next/build/_app/immutable/chunks/scheduler.a497d5ec.js delete mode 100644 gui/next/build/_app/immutable/chunks/scheduler.bed694a1.js rename gui/next/build/_app/immutable/chunks/{singletons.aae78537.js => singletons.6b3d51ac.js} (89%) create mode 100644 gui/next/build/_app/immutable/chunks/state.58df2e5f.js delete mode 100644 gui/next/build/_app/immutable/chunks/state.88bbaa31.js rename gui/next/build/_app/immutable/chunks/{stores.f5d1a634.js => stores.0efc77ce.js} (73%) delete mode 100644 gui/next/build/_app/immutable/entry/app.04fdd45d.js create mode 100644 gui/next/build/_app/immutable/entry/app.46b2bfcf.js rename gui/next/build/_app/immutable/entry/{start.6003686d.js => start.a0636888.js} (99%) rename gui/next/build/_app/immutable/nodes/{0.9e2140d4.js => 0.2a6d4585.js} (97%) rename gui/next/build/_app/immutable/nodes/{1.60820fd4.js => 1.79f29240.js} (84%) rename gui/next/build/_app/immutable/nodes/{11.7667b80e.js => 10.b3328954.js} (87%) rename gui/next/build/_app/immutable/nodes/{12.465c3ad8.js => 11.c01061b0.js} (65%) rename gui/next/build/_app/immutable/nodes/{13.09128d70.js => 12.b830ff14.js} (93%) rename gui/next/build/_app/immutable/nodes/{14.312eaf5e.js => 13.64636ee8.js} (63%) rename gui/next/build/_app/immutable/nodes/{17.32042c01.js => 14.b6fb1833.js} (65%) delete mode 100644 gui/next/build/_app/immutable/nodes/15.00af44d3.js rename gui/next/build/_app/immutable/nodes/{18.eb9c1c14.js => 15.1fecd492.js} (97%) delete mode 100644 gui/next/build/_app/immutable/nodes/16.ef441c50.js rename gui/next/build/_app/immutable/nodes/{2.02b96a81.js => 2.4c2c3fcd.js} (96%) rename gui/next/build/_app/immutable/nodes/{3.92c76c36.js => 3.89e52a69.js} (78%) rename gui/next/build/_app/immutable/nodes/{4.d1cdb0fe.js => 4.de34a058.js} (93%) rename gui/next/build/_app/immutable/nodes/{5.92c76c36.js => 5.89e52a69.js} (78%) delete mode 100644 gui/next/build/_app/immutable/nodes/6.7726938e.js rename gui/next/build/_app/immutable/nodes/{7.610dbe15.js => 6.9ecedd1a.js} (92%) create mode 100644 gui/next/build/_app/immutable/nodes/7.612030e1.js create mode 100644 gui/next/build/_app/immutable/nodes/8.bac338d2.js delete mode 100644 gui/next/build/_app/immutable/nodes/8.e5df78b0.js delete mode 100644 gui/next/build/_app/immutable/nodes/9.00af44d3.js rename gui/next/build/_app/immutable/nodes/{10.764f14d3.js => 9.d6835206.js} (90%) delete mode 100644 gui/next/src/lib/api/logsv2.js delete mode 100644 gui/next/src/lib/ui/Copy.svelte delete mode 100644 gui/next/src/routes/logsv2/+layout.svelte delete mode 100644 gui/next/src/routes/logsv2/+page.svelte delete mode 100644 gui/next/src/routes/logsv2/[id]/+page.svelte delete mode 100644 lib/openobserve/alerts/slack.json delete mode 100644 lib/openobserve/openapi.json delete mode 100644 lib/swagger-client.js diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml index 4088b0c1..9aa2e3a6 100644 --- a/.github/workflows/pull_requests.yml +++ b/.github/workflows/pull_requests.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 15 container: - image: mcr.microsoft.com/playwright:v1.40.0-jammy + image: mcr.microsoft.com/playwright:v1.39.0-jammy env: MPKIT_EMAIL: ${{ secrets.MPKIT_EMAIL }} MPKIT_TOKEN: ${{ secrets.MPKIT_TOKEN }} diff --git a/.npmrc b/.npmrc index 4e6de4b3..5779aa42 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,2 @@ scope=@platformos -save=false +save=false \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 727fc30b..d45b4fec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,5 @@ # Changelog -## 4.13.0 -* Feature: Initial alpha implementation of new logs API - ## 4.12.8 * Bug: fix adding env with `--email` option diff --git a/README.md b/README.md index d76db1bf..a28f3765 100644 --- a/README.md +++ b/README.md @@ -96,39 +96,6 @@ Example: pos-cli logs staging --filter debug -### Logs V2 - -#### LOGS - -examples: - - pos-cli logsv2 search stg --size 5 --from 0 - - pos-cli logsv2 search stg --sql "select * from logs" --json | jq - - pos-cli logsv2 search stg --sql "select message,type from logs" --json | jq - - pos-cli logsv2 search stg --sql "select * from logs where str_match(message, 'com')" --start_time 1694694303000000 --size 5 | jq - -#### ALERTS - -examples: - - pos-cli logsv2 alerts list stg # list alerts - - pos-cli logsv2 alerts add stg --url SLACK_URL --name descriptive-alert-title-slack-02 --column message --operator Contains --keyword 'this is fine' --channel gcp-alerts - - pos-cli logsv2 alerts list stg - - pos-cli logsv2 alerts trigger stg --name descriptive-alert-title-slack-02 - - -#### ROADMAP - -- alerts delete -- better errors -- GUI - ### Listing environments If you forgot what your environments are called or the URL that corresponds to any name, use: diff --git a/bin/pos-cli-data-clean.js b/bin/pos-cli-data-clean.js index f2922935..e5100dd3 100755 --- a/bin/pos-cli-data-clean.js +++ b/bin/pos-cli-data-clean.js @@ -7,68 +7,67 @@ const program = require('commander'), waitForStatus = require('../lib/data/waitForStatus'), fetchAuthData = require('../lib/settings').fetchSettings, logger = require('../lib/logger'), - ServerError = require('../lib/ServerError'), report = require('../lib/logger/report'); const confirmationText = 'CLEAN DATA'; +const spinner = ora({ text: 'Sending data', stream: process.stdout, spinner: 'bouncingBar' }); -const confirmCleanup = async (autoConfirm, includeSchema, url) => { - if (autoConfirm) return true; - try { - let schemaText = includeSchema ? 'and database schemas ' : ''; +const clean = (gateway, includeSchema) => { + logger.Info('Going to clean data'); + gateway + .dataClean(confirmationText, includeSchema) + .then((cleanTask) => { + spinner.stopAndPersist().succeed('Clean started').start(`Cleaning instance`); + waitForStatus(() => gateway.dataCleanStatus(cleanTask.id), 'pending', 'done') + .then(() => { + spinner.stopAndPersist().succeed('Cleaning done'); + }) + .catch((error) => { + logger.Debug(error); + spinner.fail('Data clean failed'); + logger.Error(`Unable to clean instance ${error.error}`); + }); + }) + .catch({ statusCode: 404 }, () => { + logger.Error('[404] Data clean is not supported by the server'); + report('[Err] Data: Clean - Not supported'); + }); +}; - logger.Warn(''); - logger.Warn(`WARNING!!! You are going to REMOVE your data ${schemaText}from instance: ${url}`); - logger.Warn('There is no coming back.'); - logger.Warn(''); +const promptConfirmation = async confirmationText => { + const message = `If you still want to continue please type: '${confirmationText}' `; - const message = `If you still want to continue please type: '${confirmationText}' `; - const response = await prompts({ type: 'text', name: 'confirmation', message: message }); + const response = await prompts({ type: 'text', name: 'confirmation', message: message }); + return response.confirmation; +}; - return response.confirmation == confirmationText; - } - catch(e) { - logger.Error(e) - return false; +const confirmCleanup = async (gateway, inlineConfirmation, includeSchema) => { + let schemaText = includeSchema ? 'and database schemas ' : ''; + + logger.Warn(''); + logger.Warn(`WARNING!!! You are going to REMOVE your data ${schemaText}from instance: ${gateway.url}`); + logger.Warn('There is no coming back.'); + logger.Warn(''); + const confirmed = inlineConfirmation || (await promptConfirmation(confirmationText)) == confirmationText; + if (confirmed) { + clean(gateway, includeSchema); + + report('[OK] Data: Clean'); + } else { + logger.Error('Wrong confirmation. Closed without cleaning instance data.'); + report('[ERR] Data: Clean - Wrong confirmation'); } }; program .name('pos-cli data clean') - .argument('[environment]', 'name of the environment. Example: staging') + .arguments('[environment]', 'name of the environment. Example: staging') .option('--auto-confirm', 'auto confirm instance clean without prompt') .option('-i, --include-schema', 'also remove instance files: pages, schemas etc.') - .action(async (environment, params) => { - const spinner = ora({ text: 'Sending data', stream: process.stdout, spinner: 'bouncingBar' }); - try { - const gateway = new Gateway(fetchAuthData(environment)); - const confirmed = await confirmCleanup(params.autoConfirm, params.includeSchema, gateway.url) - if (confirmed) { - spinner.start(`Cleaning instance`); - - const response = await gateway.dataClean(confirmationText, params.includeSchema) - logger.Debug(`Cleanup request id: ${response}`); - - const checkDataCleanJobStatus = () => { return gateway.dataCleanStatus(response.id) } - await waitForStatus(checkDataCleanJobStatus, 'pending', 'done') - - spinner.stopAndPersist().succeed("DONE. Instance cleaned") - } - else logger.Error('Wrong confirmation. Closed without cleaning instance data.'); - - } - catch(e) { - spinner.fail(`Instance cleanup has failed.`); - console.log(e.name); + .action((environment, params) => { + const gateway = new Gateway(fetchAuthData(environment, program)); - // custom handle 422 - if (e.statusCode == 422) - logger.Error('[422] Data clean is either not supported by the server or has been disabled.'); - else if (ServerError.isNetworkError(e)) - ServerError.handler(e) - else - logger.Error(e) - } + confirmCleanup(gateway, params.autoConfirm, params.includeSchema); }); program.parse(process.argv); diff --git a/bin/pos-cli-data-export.js b/bin/pos-cli-data-export.js index 13a44a0b..3fe65e42 100755 --- a/bin/pos-cli-data-export.js +++ b/bin/pos-cli-data-export.js @@ -41,7 +41,7 @@ const fetchFilesForData = async (data) => { program .name('pos-cli data export') .arguments('[environment]', 'name of the environment. Example: staging') - .requiredOption('-p --path ', 'output for exported data. Example: data.json, data.zip') + .option('-p --path ', 'output for exported data. Example: data.json, data.zip') .option( '-e --export-internal-ids ', 'use normal object `id` instead of `external_id` in exported json data', diff --git a/bin/pos-cli-data-import.js b/bin/pos-cli-data-import.js index 933e861a..3f96d2ba 100755 --- a/bin/pos-cli-data-import.js +++ b/bin/pos-cli-data-import.js @@ -83,19 +83,19 @@ const dataImport = async (filename, rawIds, isZipFile) => { program .name('pos-cli data import') - .argument('[environment]', 'name of the environment. Example: staging') + .arguments('[environment]', 'name of the environment. Example: staging') .option( '-p --path ', 'path of import .json or .zip file. Example: data.json, data.zip', 'data.json' ) - .option('--raw-ids ', 'do not remap ids after import', false) - .option('-z --zip', 'import from zip archive', false) + .option('--raw-ids ', 'do not remap ids after import', 'false') + .option('-z --zip', 'import from zip archive', 'false') .action((environment, params) => { const filename = params.path; const rawIds = params.rawIds; const zip = params.zip; - const authData = fetchAuthData(environment); + const authData = fetchAuthData(environment, program); Object.assign(process.env, { MARKETPLACE_TOKEN: authData.token, MARKETPLACE_URL: authData.url, diff --git a/bin/pos-cli-deploy.js b/bin/pos-cli-deploy.js index 7b24af48..5f02c652 100755 --- a/bin/pos-cli-deploy.js +++ b/bin/pos-cli-deploy.js @@ -16,7 +16,7 @@ const runAudit = async () => { program .name('pos-cli deploy') - .argument('[environment]', 'name of environment. Example: staging') + .arguments('[environment]', 'name of environment. Example: staging') .option('-f --force', 'deprecated') .option('-d --direct-assets-upload', 'deprecated, this is default strategy') .option('-o --old-assets-upload', 'use old assets upload strategy') diff --git a/bin/pos-cli-env-list.js b/bin/pos-cli-env-list.js index 3311431b..1ceabb08 100755 --- a/bin/pos-cli-env-list.js +++ b/bin/pos-cli-env-list.js @@ -14,7 +14,7 @@ const listEnvironments = () => { logger.Info(`- [${env}] ${settings[env].url}`, { hideTimestamp: true }); } } else { - logger.Info('No environments registered yet, please see pos-cli env add', { exit: false }); + logger.Error('No environments registered yet, please see pos-cli env add', { exit: false }); } }; diff --git a/bin/pos-cli-env.js b/bin/pos-cli-env.js index 26d98280..fd424d5e 100755 --- a/bin/pos-cli-env.js +++ b/bin/pos-cli-env.js @@ -9,4 +9,4 @@ program 'Add new environment. Example: pos-cli env add staging --email user@example.com --url https://example.com' ) .command('list', 'list all environments') - .parse(process.argv); + .parse(process.argv); \ No newline at end of file diff --git a/bin/pos-cli-gui-serve.js b/bin/pos-cli-gui-serve.js index d5810e62..bfe70972 100755 --- a/bin/pos-cli-gui-serve.js +++ b/bin/pos-cli-gui-serve.js @@ -1,5 +1,4 @@ #!/usr/bin/env node -const swagger = require('../lib/swagger-client'); const program = require('commander'), watch = require('../lib/watch'), @@ -29,8 +28,7 @@ program }); try { - const client = await swagger.SwaggerProxy.client(environment); - server.start(env, client); + await server.start(env); if (params.open) { await open(`http://localhost:${params.port}`); } @@ -39,7 +37,6 @@ program watch.start(env, true, false); } } catch (e) { - console.log(e); logger.Error('✖ Failed.'); } }); diff --git a/bin/pos-cli-logs.js b/bin/pos-cli-logs.js index 5b520388..fc9b9986 100755 --- a/bin/pos-cli-logs.js +++ b/bin/pos-cli-logs.js @@ -12,47 +12,39 @@ const fetchAuthData = require('../lib/settings').fetchSettings, Gateway = require('../lib/proxy'); class LogStream extends EventEmitter { - constructor(authData, interval) { + constructor(authData) { super(); this.authData = authData; this.gateway = new Gateway(authData); - this.interval = interval } start() { const t = this; - setInterval(() => t.fetchData(), t.interval); - logger.Debug('Starting live logging...'); + setInterval(() => t.fetchData(), program.interval); + logger.Info('Starting live logging...'); } fetchData() { - this.gateway.logs({ lastId: storage.lastId }) - .then((response) => { - const logs = response && response.logs; - if (!logs) { - return false; - } + this.gateway.logs({ lastId: storage.lastId }).then((response) => { + const logs = response && response.logs; + if (!logs) { + return false; + } - for (let k in logs) { - const row = logs[k]; - const filter = !!program.filter && program.filter.toLowerCase(); - try { - const errorType = (row.error_type || 'error').toLowerCase(); - } - catch(e) { - logger.Error(`${row.error_type} error`) - const errorType = "weird-error-type" - } + for (let k in logs) { + const row = logs[k]; + const filter = !!program.filter && program.filter.toLowerCase(); + const errorType = (row.error_type || 'error').toLowerCase(); - if (!!program.filter && filter !== errorType) continue; + if (!!program.filter && filter !== errorType) continue; - if (!storage.exists(row.id)) { - storage.add(row); - this.emit('message', row); - } + if (!storage.exists(row.id)) { + storage.add(row); + this.emit('message', row); } - }) + } + }); } } @@ -70,13 +62,13 @@ const isError = (msg) => /error/.test(msg.error_type); program .name('pos-cli logs') - .argument('[environment]', 'name of environment. Example: staging') - .option('-i, --interval ', 'time to wait between updates in ms', 3000) + .arguments('[environment]', 'name of environment. Example: staging') + .option('--interval ', 'time to wait between updates in ms', 3000) .option('--filter ', 'display only logs of given type, example: error') .option('-q, --quiet', 'show only log message, without context') - .action((environment, program, argument) => { + .action((environment) => { const authData = fetchAuthData(environment, program); - const stream = new LogStream(authData, program.interval); + const stream = new LogStream(authData); stream.on('message', ({ created_at, error_type, message, data }) => { if (message == null) message = ''; @@ -93,7 +85,7 @@ program 'app-name': 'pos-cli', }); - logger.Info(text, options); + logger.Error(text, options); } else { logger.Info(text, options); if (!program.quiet && data) { @@ -107,7 +99,7 @@ program if (data.page) parts.push(`page: ${data.page}`); if (data.partial) parts.push(`partial: ${data.partial}`); if (data.user && data.user.email) parts.push(`email: ${data.user.email}`); - if (parts.length > 0) logger.Info(parts.join(' '), options); + if (parts.length > 0) logger.Quiet(parts.join(' '), options); } } }); @@ -115,5 +107,4 @@ program stream.start(); }); -program.showHelpAfterError(); program.parse(process.argv); diff --git a/bin/pos-cli-logsv2-alerts-add.js b/bin/pos-cli-logsv2-alerts-add.js deleted file mode 100644 index 57b7e383..00000000 --- a/bin/pos-cli-logsv2-alerts-add.js +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env node - -const program = require('commander'), - logger = require('../lib/logger'), - swagger = require('../lib/swagger-client'); - -program - .name('pos-cli logsv2 alerts add') - .arguments('[environment]', 'name of environment. Example: staging') - .option('--url ', 'post alarms to this url') - .option('--name ', 'alert name') - .option('--keyword ', 'alert keyword trigger') - .option('--operator ', 'operator', "Contains") - .option('--column ', 'column', "message") - .option('--channel ') - .option('--json', 'output as json') - .action(async (environment, params) => { - try { - if (!params.channel) { - throw Error("--channel is required") - } - - const client = await swagger.SwaggerProxy.client(environment); - const response = await client.createAlert(params) - - if (!params.json) - console.log(response.body) - else - console.log(response.body) - - } catch(e) { logger.Error(e) } - }); - -program.parse(process.argv); diff --git a/bin/pos-cli-logsv2-alerts-list.js b/bin/pos-cli-logsv2-alerts-list.js deleted file mode 100644 index cdfdb547..00000000 --- a/bin/pos-cli-logsv2-alerts-list.js +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env node - -const program = require('commander'), - logger = require('../lib/logger'), - swagger = require('../lib/swagger-client'); - -program - .name('pos-cli logsv2 alerts list') - .arguments('[environment]', 'name of environment. Example: staging') - .option('--json', 'output as json') - .action(async (environment) => { - try { - const client = await swagger.SwaggerProxy.client(environment); - const response = await client.alerts(program) - - if (!program.json) - console.log(response.body) - else - console.log(response.body) - } - catch(e) { logger.Error(e) } - }) - -program.parse(process.argv); diff --git a/bin/pos-cli-logsv2-alerts-trigger.js b/bin/pos-cli-logsv2-alerts-trigger.js deleted file mode 100644 index 035cdf66..00000000 --- a/bin/pos-cli-logsv2-alerts-trigger.js +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env node - -const program = require('commander'), - logger = require('../lib/logger'), - swagger = require('../lib/swagger-client'); - -program - .name('pos-cli logsv2 alerts trigger') - .arguments('[environment]', 'name of environment. Example: staging') - .option('--name ', 'alert name') - .option('--json', 'output as json') - .action(async (environment, params) => { - try { - const client = await swagger.SwaggerProxy.client(environment); - const response = await client.triggerAlert(params) - - if (!params.json) - console.log(response.body) - else - console.log(response.body) - - } catch(e) { logger.Error(e) } - }); - -program.parse(process.argv); diff --git a/bin/pos-cli-logsv2-alerts.js b/bin/pos-cli-logsv2-alerts.js deleted file mode 100644 index 31d5be5e..00000000 --- a/bin/pos-cli-logsv2-alerts.js +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env node - -const program = require('commander'); - -program - .name('pos-cli logsv2 alerts') - .command('list [environment]', 'list alerts') - .command('add [environment]', 'add alert') - .command('rm [environment]', 'remove alert') - .command('trigger [environment]', 'trigger alert') - .parse(process.argv); diff --git a/bin/pos-cli-logsv2-search.js b/bin/pos-cli-logsv2-search.js deleted file mode 100755 index 55ae94c5..00000000 --- a/bin/pos-cli-logsv2-search.js +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env node - -const program = require('commander'), - logger = require('../lib/logger'), - swagger = require('../lib/swagger-client'); - -program - .name('pos-cli logsv2 search') - .arguments('[environment]', 'name of environment. Example: staging') - .option('--sql ', 'SQL query to fetch logs') - .option('--size ', 'rows size', 10) - .option('--from ', 'start from', 0) - .option('--start_time ', 'starttime') - .option('--end_time ', 'endtime') - .option('--json', 'output as json') - .action(async (environment, program) => { - try { - const client = await swagger.SwaggerProxy.client(environment); - const response = await client.searchSQL(program) - - if (!program.json) - swagger.search.printLogs(response) - else - console.log(response.text) - - } catch(e) { console.error(e) } - }); - -program.parse(process.argv); diff --git a/bin/pos-cli-logsv2-searchAround.js b/bin/pos-cli-logsv2-searchAround.js deleted file mode 100644 index 72fa8251..00000000 --- a/bin/pos-cli-logsv2-searchAround.js +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env node - -const program = require('commander'), - logger = require('../lib/logger'), - swagger = require('../lib/swagger-client'); - -program - .name('pos-cli logsv2 search') - .arguments('[environment]', 'name of environment. Example: staging') - .option('--stream_name ', 'stream name to search around in', 'logs') - .option('--key ', 'key') - .option('--size ', 'rows size', 10) - .option('--json', 'output as json') - .action(async (environment, params) => { - try { - const client = await swagger.SwaggerProxy.client(environment); - const response = await client.searchAround(params) - - if (!params.json) - swagger.search.printLogs(response) - else - console.log(response.body) - - } catch(e) { console.log(e) } - }); - -program.parse(process.argv); diff --git a/bin/pos-cli-logsv2.js b/bin/pos-cli-logsv2.js deleted file mode 100755 index 76300284..00000000 --- a/bin/pos-cli-logsv2.js +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env node - -const program = require('commander'); - -program - .name('pos-cli logsv2') - .command('search', 'search logs') - .command('searchAround', 'search stream for records around timestamp') - .command('alerts', 'manage alerts') - .parse(process.argv); diff --git a/bin/pos-cli-migrations-run.js b/bin/pos-cli-migrations-run.js index 889e8210..05edb86e 100755 --- a/bin/pos-cli-migrations-run.js +++ b/bin/pos-cli-migrations-run.js @@ -7,9 +7,9 @@ const program = require('commander'), program .name('pos-cli migrations run') - .arguments('', 'timestamp the migration. Example: 20180701182602') .arguments('[environment]', 'name of the environment. Example: staging') - .action((timestamp, environment) => { + .arguments('', 'timestamp the migration. Example: 20180701182602') + .action((environment, timestamp) => { const authData = fetchAuthData(environment, program); const gateway = new Gateway(authData); const formData = { timestamp: timestamp }; diff --git a/bin/pos-cli-modules-push.js b/bin/pos-cli-modules-push.js index a238e5ed..830ba71b 100644 --- a/bin/pos-cli-modules-push.js +++ b/bin/pos-cli-modules-push.js @@ -5,22 +5,24 @@ const program = require('commander'); const modules = require('../lib/modules'); const validate = require('../lib/validators'); +const help = () => { + program.outputHelp(); + process.exit(1); +} + const checkParams = params => { + validate.existence({ argumentValue: params.email, argumentName: 'email', fail: help }); validate.email(params.email); }; program .name('pos-cli modules push') - .requiredOption('--email ', 'Partner Portal account email. Example: foo@example.com') + .option('--email ', 'Partner Portal account email. Example: foo@example.com') .option('--path ', 'module root directory, default is current directory') .action(async (params) => { - try { - if (params.path) process.chdir(params.path); - checkParams(params); - await modules.publishVersion(params); - } - catch(e) { console.log(e) } + if (params.path) process.chdir(params.path); + checkParams(params); + await modules.publishVersion(params); }); -program.showHelpAfterError(); program.parse(process.argv); diff --git a/bin/pos-cli-modules-remove.js b/bin/pos-cli-modules-remove.js index 11fcba93..e92ceab6 100755 --- a/bin/pos-cli-modules-remove.js +++ b/bin/pos-cli-modules-remove.js @@ -23,5 +23,4 @@ program .catch(error => logger.Error(`Failed to remove the module ${error}`)); }); -program.showHelpAfterError(); program.parse(process.argv); diff --git a/bin/pos-cli-sync.js b/bin/pos-cli-sync.js index 54bbf817..1cfeb960 100755 --- a/bin/pos-cli-sync.js +++ b/bin/pos-cli-sync.js @@ -11,13 +11,13 @@ const DEFAULT_CONCURRENCY = 3; program .name('pos-cli sync') - .argument('[environment]', 'Name of environment. Example: staging') + .arguments('[environment]', 'Name of environment. Example: staging') .option('-c, --concurrency ', 'Maximum concurrent connections to the server', DEFAULT_CONCURRENCY) .option('-d, --direct-assets-upload', 'deprecated, this is the default strategy', true) .option('-o, --open', 'When ready, open default browser with instance') .option('-l, --livereload', 'Use livereload') .action(async (environment, params) => { - const authData = fetchAuthData(environment); + const authData = fetchAuthData(environment, program); const env = Object.assign(process.env, { MARKETPLACE_EMAIL: authData.email, MARKETPLACE_TOKEN: authData.token, diff --git a/bin/pos-cli.js b/bin/pos-cli.js index 346c58cb..f51160c0 100755 --- a/bin/pos-cli.js +++ b/bin/pos-cli.js @@ -13,7 +13,6 @@ updateNotifier({ isGlobal: true }); -program.showHelpAfterError(); program .name('pos-cli') .version(version, '-v, --version') @@ -27,10 +26,17 @@ program .command('generate', 'generates files') .command('init', 'initialize directory structure') .command('logs ', 'display logs and errors').alias('l') - .command('logsv2', 'display logs and errors').alias('l2') .command('migrations', 'manage migrations') .command('modules', 'manage modules') .command('pull', 'export app data to a zip file') .command('sync ', 'update environment on file change').alias('s') .command('uploads', 'manage uploads files') .parse(process.argv); + +const commandList = Object.keys(program._execs); +if (!commandList.includes(program.args[0])) { + program.outputHelp(); + logger.Error(`unknown command: ${program.args[0]}`); +} + +if (!program.args.length) program.help(); diff --git a/gui/admin/dist/build/bundle.js b/gui/admin/dist/build/bundle.js index 7c45a5f4..836e0006 100644 --- a/gui/admin/dist/build/bundle.js +++ b/gui/admin/dist/build/bundle.js @@ -5650,7 +5650,7 @@ var app = (function () { t5 = text("Manage records (create, read, update, delete)"); t6 = space(); a0 = element("a"); - t7 = text("Go to Records\r\n "); + t7 = text("Go to Records\n "); svg1 = svg_element("svg"); path1 = svg_element("path"); t8 = space(); @@ -5672,7 +5672,7 @@ var app = (function () { t14 = text("Manage users (create, read, update, delete)"); t15 = space(); a1 = element("a"); - t16 = text("Go to Users\r\n "); + t16 = text("Go to Users\n "); svg3 = svg_element("svg"); path3 = svg_element("path"); t17 = space(); @@ -5694,7 +5694,7 @@ var app = (function () { t23 = text("View your own logs"); t24 = space(); a2 = element("a"); - t25 = text("Go to Logs\r\n "); + t25 = text("Go to Logs\n "); svg5 = svg_element("svg"); path5 = svg_element("path"); t26 = space(); @@ -5716,7 +5716,7 @@ var app = (function () { t32 = text("Create, delete, update"); t33 = space(); a3 = element("a"); - t34 = text("Go to Constants editor\r\n "); + t34 = text("Go to Constants editor\n "); svg7 = svg_element("svg"); path7 = svg_element("path"); t35 = space(); @@ -5744,7 +5744,7 @@ var app = (function () { t44 = text("Quickly prototype your ideas"); t45 = space(); a4 = element("a"); - t46 = text("Go to Liquid Evaluator\r\n "); + t46 = text("Go to Liquid Evaluator\n "); svg8 = svg_element("svg"); path8 = svg_element("path"); t47 = space(); @@ -5767,7 +5767,7 @@ var app = (function () { t55 = text("Quickly prototype your queries and mutations"); t56 = space(); a5 = element("a"); - t57 = text("Go to GraphiQL\r\n "); + t57 = text("Go to GraphiQL\n "); svg9 = svg_element("svg"); path9 = svg_element("path"); t58 = space(); @@ -5783,7 +5783,7 @@ var app = (function () { t62 = text("Fully operational public beta version available"); t63 = space(); a6 = element("a"); - t64 = text("Try it\r\n "); + t64 = text("Try it\n "); svg10 = svg_element("svg"); path10 = svg_element("path"); t65 = space(); @@ -5847,7 +5847,7 @@ var app = (function () { t6 = claim_space(div1_nodes); a0 = claim_element(div1_nodes, "A", { href: true, class: true }); var a0_nodes = children(a0); - t7 = claim_text(a0_nodes, "Go to Records\r\n "); + t7 = claim_text(a0_nodes, "Go to Records\n "); svg1 = claim_element( a0_nodes, @@ -5923,7 +5923,7 @@ var app = (function () { t15 = claim_space(div5_nodes); a1 = claim_element(div5_nodes, "A", { href: true, class: true }); var a1_nodes = children(a1); - t16 = claim_text(a1_nodes, "Go to Users\r\n "); + t16 = claim_text(a1_nodes, "Go to Users\n "); svg3 = claim_element( a1_nodes, @@ -5999,7 +5999,7 @@ var app = (function () { t24 = claim_space(div9_nodes); a2 = claim_element(div9_nodes, "A", { href: true, class: true }); var a2_nodes = children(a2); - t25 = claim_text(a2_nodes, "Go to Logs\r\n "); + t25 = claim_text(a2_nodes, "Go to Logs\n "); svg5 = claim_element( a2_nodes, @@ -6075,7 +6075,7 @@ var app = (function () { t33 = claim_space(div13_nodes); a3 = claim_element(div13_nodes, "A", { href: true, class: true }); var a3_nodes = children(a3); - t34 = claim_text(a3_nodes, "Go to Constants editor\r\n "); + t34 = claim_text(a3_nodes, "Go to Constants editor\n "); svg7 = claim_element( a3_nodes, @@ -6145,7 +6145,7 @@ var app = (function () { t45 = claim_space(div18_nodes); a4 = claim_element(div18_nodes, "A", { href: true, target: true, class: true }); var a4_nodes = children(a4); - t46 = claim_text(a4_nodes, "Go to Liquid Evaluator\r\n "); + t46 = claim_text(a4_nodes, "Go to Liquid Evaluator\n "); svg8 = claim_element( a4_nodes, @@ -6204,7 +6204,7 @@ var app = (function () { t56 = claim_space(div21_nodes); a5 = claim_element(div21_nodes, "A", { href: true, target: true, class: true }); var a5_nodes = children(a5); - t57 = claim_text(a5_nodes, "Go to GraphiQL\r\n "); + t57 = claim_text(a5_nodes, "Go to GraphiQL\n "); svg9 = claim_element( a5_nodes, @@ -6253,7 +6253,7 @@ var app = (function () { t63 = claim_space(div26_nodes); a6 = claim_element(div26_nodes, "A", { href: true, class: true }); var a6_nodes = children(a6); - t64 = claim_text(a6_nodes, "Try it\r\n "); + t64 = claim_text(a6_nodes, "Try it\n "); svg10 = claim_element( a6_nodes, diff --git a/gui/admin/dist/build/index2.js b/gui/admin/dist/build/index2.js index 823a2587..b3af1104 100644 --- a/gui/admin/dist/build/index2.js +++ b/gui/admin/dist/build/index2.js @@ -193,7 +193,7 @@ function create_fragment(ctx) { t5 = text("Manage records (create, read, update, delete)"); t6 = space(); a0 = element("a"); - t7 = text("Go to Records\r\n "); + t7 = text("Go to Records\n "); svg1 = svg_element("svg"); path1 = svg_element("path"); t8 = space(); @@ -215,7 +215,7 @@ function create_fragment(ctx) { t14 = text("Manage users (create, read, update, delete)"); t15 = space(); a1 = element("a"); - t16 = text("Go to Users\r\n "); + t16 = text("Go to Users\n "); svg3 = svg_element("svg"); path3 = svg_element("path"); t17 = space(); @@ -237,7 +237,7 @@ function create_fragment(ctx) { t23 = text("View your own logs"); t24 = space(); a2 = element("a"); - t25 = text("Go to Logs\r\n "); + t25 = text("Go to Logs\n "); svg5 = svg_element("svg"); path5 = svg_element("path"); t26 = space(); @@ -259,7 +259,7 @@ function create_fragment(ctx) { t32 = text("Create, delete, update"); t33 = space(); a3 = element("a"); - t34 = text("Go to Constants editor\r\n "); + t34 = text("Go to Constants editor\n "); svg7 = svg_element("svg"); path7 = svg_element("path"); t35 = space(); @@ -287,7 +287,7 @@ function create_fragment(ctx) { t44 = text("Quickly prototype your ideas"); t45 = space(); a4 = element("a"); - t46 = text("Go to Liquid Evaluator\r\n "); + t46 = text("Go to Liquid Evaluator\n "); svg8 = svg_element("svg"); path8 = svg_element("path"); t47 = space(); @@ -310,7 +310,7 @@ function create_fragment(ctx) { t55 = text("Quickly prototype your queries and mutations"); t56 = space(); a5 = element("a"); - t57 = text("Go to GraphiQL\r\n "); + t57 = text("Go to GraphiQL\n "); svg9 = svg_element("svg"); path9 = svg_element("path"); t58 = space(); @@ -326,7 +326,7 @@ function create_fragment(ctx) { t62 = text("Fully operational public beta version available"); t63 = space(); a6 = element("a"); - t64 = text("Try it\r\n "); + t64 = text("Try it\n "); svg10 = svg_element("svg"); path10 = svg_element("path"); t65 = space(); @@ -390,7 +390,7 @@ function create_fragment(ctx) { t6 = claim_space(div1_nodes); a0 = claim_element(div1_nodes, "A", { href: true, class: true }); var a0_nodes = children(a0); - t7 = claim_text(a0_nodes, "Go to Records\r\n "); + t7 = claim_text(a0_nodes, "Go to Records\n "); svg1 = claim_element( a0_nodes, @@ -466,7 +466,7 @@ function create_fragment(ctx) { t15 = claim_space(div5_nodes); a1 = claim_element(div5_nodes, "A", { href: true, class: true }); var a1_nodes = children(a1); - t16 = claim_text(a1_nodes, "Go to Users\r\n "); + t16 = claim_text(a1_nodes, "Go to Users\n "); svg3 = claim_element( a1_nodes, @@ -542,7 +542,7 @@ function create_fragment(ctx) { t24 = claim_space(div9_nodes); a2 = claim_element(div9_nodes, "A", { href: true, class: true }); var a2_nodes = children(a2); - t25 = claim_text(a2_nodes, "Go to Logs\r\n "); + t25 = claim_text(a2_nodes, "Go to Logs\n "); svg5 = claim_element( a2_nodes, @@ -618,7 +618,7 @@ function create_fragment(ctx) { t33 = claim_space(div13_nodes); a3 = claim_element(div13_nodes, "A", { href: true, class: true }); var a3_nodes = children(a3); - t34 = claim_text(a3_nodes, "Go to Constants editor\r\n "); + t34 = claim_text(a3_nodes, "Go to Constants editor\n "); svg7 = claim_element( a3_nodes, @@ -688,7 +688,7 @@ function create_fragment(ctx) { t45 = claim_space(div18_nodes); a4 = claim_element(div18_nodes, "A", { href: true, target: true, class: true }); var a4_nodes = children(a4); - t46 = claim_text(a4_nodes, "Go to Liquid Evaluator\r\n "); + t46 = claim_text(a4_nodes, "Go to Liquid Evaluator\n "); svg8 = claim_element( a4_nodes, @@ -747,7 +747,7 @@ function create_fragment(ctx) { t56 = claim_space(div21_nodes); a5 = claim_element(div21_nodes, "A", { href: true, target: true, class: true }); var a5_nodes = children(a5); - t57 = claim_text(a5_nodes, "Go to GraphiQL\r\n "); + t57 = claim_text(a5_nodes, "Go to GraphiQL\n "); svg9 = claim_element( a5_nodes, @@ -796,7 +796,7 @@ function create_fragment(ctx) { t63 = claim_space(div26_nodes); a6 = claim_element(div26_nodes, "A", { href: true, class: true }); var a6_nodes = children(a6); - t64 = claim_text(a6_nodes, "Try it\r\n "); + t64 = claim_text(a6_nodes, "Try it\n "); svg10 = claim_element( a6_nodes, diff --git a/gui/next/build/_app/immutable/assets/11.ee72ee6d.css b/gui/next/build/_app/immutable/assets/10.ee72ee6d.css similarity index 100% rename from gui/next/build/_app/immutable/assets/11.ee72ee6d.css rename to gui/next/build/_app/immutable/assets/10.ee72ee6d.css diff --git a/gui/next/build/_app/immutable/assets/13.9218cb2d.css b/gui/next/build/_app/immutable/assets/12.9218cb2d.css similarity index 100% rename from gui/next/build/_app/immutable/assets/13.9218cb2d.css rename to gui/next/build/_app/immutable/assets/12.9218cb2d.css diff --git a/gui/next/build/_app/immutable/assets/14.bf080bcc.css b/gui/next/build/_app/immutable/assets/13.bf080bcc.css similarity index 100% rename from gui/next/build/_app/immutable/assets/14.bf080bcc.css rename to gui/next/build/_app/immutable/assets/13.bf080bcc.css diff --git a/gui/next/build/_app/immutable/assets/18.0e0670ce.css b/gui/next/build/_app/immutable/assets/15.0e0670ce.css similarity index 100% rename from gui/next/build/_app/immutable/assets/18.0e0670ce.css rename to gui/next/build/_app/immutable/assets/15.0e0670ce.css diff --git a/gui/next/build/_app/immutable/assets/16.ce644cec.css b/gui/next/build/_app/immutable/assets/16.ce644cec.css deleted file mode 100644 index 0722d11b..00000000 --- a/gui/next/build/_app/immutable/assets/16.ce644cec.css +++ /dev/null @@ -1 +0,0 @@ -button[aria-disabled=true].svelte-1ve7fyv{pointer-events:none}button.svelte-1ve7fyv svg{width:16px;height:16px;position:relative;top:.05em}button.progressing.svelte-1ve7fyv svg{animation-name:svelte-1ve7fyv-copied;animation-duration:.3s;animation-timing-function:ease-in-out;animation-iteration-count:1}@keyframes svelte-1ve7fyv-copied{0%{scale:1}50%{scale:0}to{scale:1}}dl.svelte-14ly6in{margin-block-start:1rem;display:grid;grid-template-columns:min-content auto;gap:.5em;column-gap:.5em}dd.svelte-14ly6in{text-align:end}h2.svelte-14ly6in{margin-block:.5em;display:flex;justify-content:space-between}a.svelte-14ly6in:hover{color:var(--color-interaction-hover)}.code.svelte-14ly6in{padding:.6em .8em;border-radius:0 1rem 1rem;background-color:var(--color-background);word-wrap:break-word}.json.svelte-14ly6in{padding-inline-start:2rem} diff --git a/gui/next/build/_app/immutable/assets/7.6bcda092.css b/gui/next/build/_app/immutable/assets/6.6bcda092.css similarity index 100% rename from gui/next/build/_app/immutable/assets/7.6bcda092.css rename to gui/next/build/_app/immutable/assets/6.6bcda092.css diff --git a/gui/next/build/_app/immutable/assets/6.f993e17c.css b/gui/next/build/_app/immutable/assets/6.f993e17c.css deleted file mode 100644 index b5910871..00000000 --- a/gui/next/build/_app/immutable/assets/6.f993e17c.css +++ /dev/null @@ -1 +0,0 @@ -.container.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u{width:100%;display:flex}.logs.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u{height:calc(100vh - 82px);overflow:auto;position:sticky;flex-grow:1}table.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u{width:100%;max-width:100vw}th.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u,td.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u{padding:1rem;border-block-end:1px solid var(--color-frame)}.time.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u,.type.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u{font-family:monospace;font-size:1rem}.time.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u{white-space:nowrap}.message.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u{width:100%;position:relative}.message.svelte-8d8f5u>a.svelte-8d8f5u.svelte-8d8f5u{padding:1rem;position:absolute;top:0;right:0;bottom:0;left:0}.message.svelte-8d8f5u>a.svelte-8d8f5u>div.svelte-8d8f5u{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.error.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u{color:var(--color-danger)} diff --git a/gui/next/build/_app/immutable/assets/8.1f0e3f28.css b/gui/next/build/_app/immutable/assets/7.1f0e3f28.css similarity index 100% rename from gui/next/build/_app/immutable/assets/8.1f0e3f28.css rename to gui/next/build/_app/immutable/assets/7.1f0e3f28.css diff --git a/gui/next/build/_app/immutable/assets/10.6957ad32.css b/gui/next/build/_app/immutable/assets/9.6957ad32.css similarity index 100% rename from gui/next/build/_app/immutable/assets/10.6957ad32.css rename to gui/next/build/_app/immutable/assets/9.6957ad32.css diff --git a/gui/next/build/_app/immutable/assets/_layout.65705946.css b/gui/next/build/_app/immutable/assets/_layout.65705946.css deleted file mode 100644 index 1f28b4ea..00000000 --- a/gui/next/build/_app/immutable/assets/_layout.65705946.css +++ /dev/null @@ -1 +0,0 @@ -.container.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u{width:100%;display:flex}.logs.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u{height:calc(100vh - 82px);overflow:auto;position:sticky;flex-grow:1}table.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u{width:100%;max-width:100vw}th.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u,td.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u{padding:1rem;border-block-end:1px solid var(--color-frame)}.time.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u,.type.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u{font-family:monospace;font-size:1rem}.time.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u{white-space:nowrap}.message.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u{width:100%;position:relative}.message.svelte-8d8f5u>a.svelte-8d8f5u.svelte-8d8f5u{padding:1rem;position:absolute;inset:0}.message.svelte-8d8f5u>a.svelte-8d8f5u>div.svelte-8d8f5u{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.error.svelte-8d8f5u.svelte-8d8f5u.svelte-8d8f5u{color:var(--color-danger)} diff --git a/gui/next/build/_app/immutable/assets/_page.ce644cec.css b/gui/next/build/_app/immutable/assets/_page.ce644cec.css deleted file mode 100644 index 0722d11b..00000000 --- a/gui/next/build/_app/immutable/assets/_page.ce644cec.css +++ /dev/null @@ -1 +0,0 @@ -button[aria-disabled=true].svelte-1ve7fyv{pointer-events:none}button.svelte-1ve7fyv svg{width:16px;height:16px;position:relative;top:.05em}button.progressing.svelte-1ve7fyv svg{animation-name:svelte-1ve7fyv-copied;animation-duration:.3s;animation-timing-function:ease-in-out;animation-iteration-count:1}@keyframes svelte-1ve7fyv-copied{0%{scale:1}50%{scale:0}to{scale:1}}dl.svelte-14ly6in{margin-block-start:1rem;display:grid;grid-template-columns:min-content auto;gap:.5em;column-gap:.5em}dd.svelte-14ly6in{text-align:end}h2.svelte-14ly6in{margin-block:.5em;display:flex;justify-content:space-between}a.svelte-14ly6in:hover{color:var(--color-interaction-hover)}.code.svelte-14ly6in{padding:.6em .8em;border-radius:0 1rem 1rem;background-color:var(--color-background);word-wrap:break-word}.json.svelte-14ly6in{padding-inline-start:2rem} diff --git a/gui/next/build/_app/immutable/chunks/Aside.9f09d30d.js b/gui/next/build/_app/immutable/chunks/Aside.143a8d13.js similarity index 92% rename from gui/next/build/_app/immutable/chunks/Aside.9f09d30d.js rename to gui/next/build/_app/immutable/chunks/Aside.143a8d13.js index 7a35a6be..d69d8340 100644 --- a/gui/next/build/_app/immutable/chunks/Aside.9f09d30d.js +++ b/gui/next/build/_app/immutable/chunks/Aside.143a8d13.js @@ -1 +1 @@ -import{s as Q,B as I,D as Y,f as E,a as W,g as z,h as A,r as F,c as S,d as v,j as g,w as L,k as q,i as U,u as p,x as H,E as Z,F as x,G as ee,y as te,v as se,l as le,m as ie,n as ae,z as ne}from"./scheduler.bed694a1.js";import{S as re,i as oe,b as G,d as R,m as V,a as w,g as X,t as y,c as $,f as N,e as J}from"./index.606d5641.js";import{g as fe}from"./globals.7f7f1b26.js";import{q as ce}from"./index.50c00146.js";import{s as B}from"./state.88bbaa31.js";import{I as K}from"./Icon.4ad67fd0.js";const{window:M}=fe;function O(o){let e,t,a,l=o[1]&&P(o),s=o[0]&&T(o);return{c(){e=E("header"),l&&l.c(),t=W(),s&&s.c(),this.h()},l(i){e=z(i,"HEADER",{class:!0});var n=A(e);l&&l.l(n),t=S(n),s&&s.l(n),n.forEach(v),this.h()},h(){g(e,"class","svelte-jrfyci")},m(i,n){U(i,e,n),l&&l.m(e,null),p(e,t),s&&s.m(e,null),a=!0},p(i,n){i[1]?l?l.p(i,n):(l=P(i),l.c(),l.m(e,t)):l&&(l.d(1),l=null),i[0]?s?(s.p(i,n),n&1&&w(s,1)):(s=T(i),s.c(),w(s,1),s.m(e,null)):s&&(X(),y(s,1,1,()=>{s=null}),$())},i(i){a||(w(s),a=!0)},o(i){y(s),a=!1},d(i){i&&v(e),l&&l.d(),s&&s.d()}}}function P(o){let e,t;return{c(){e=E("h2"),t=le(o[1]),this.h()},l(a){e=z(a,"H2",{class:!0});var l=A(e);t=ie(l,o[1]),l.forEach(v),this.h()},h(){g(e,"class","svelte-jrfyci")},m(a,l){U(a,e,l),p(e,t)},p(a,l){l&2&&ae(t,a[1])},d(a){a&&v(e)}}}function T(o){let e,t,a="Close details",l,s,i;return s=new K({props:{icon:"x"}}),{c(){e=E("a"),t=E("span"),t.textContent=a,l=W(),G(s.$$.fragment),this.h()},l(n){e=z(n,"A",{href:!0,class:!0});var f=A(e);t=z(f,"SPAN",{class:!0,"data-svelte-h":!0}),F(t)!=="svelte-1gxyewl"&&(t.textContent=a),l=S(f),R(s.$$.fragment,f),f.forEach(v),this.h()},h(){g(t,"class","label svelte-jrfyci"),g(e,"href",o[0]),g(e,"class","close svelte-jrfyci")},m(n,f){U(n,e,f),p(e,t),p(e,l),V(s,e,null),i=!0},p(n,f){(!i||f&1)&&g(e,"href",n[0])},i(n){i||(w(s.$$.fragment,n),i=!0)},o(n){y(s.$$.fragment,n),i=!1},d(n){n&&v(e),J(s)}}}function ue(o){let e,t,a,l="Drag to resize panel",s,i,n,f,b,h,m,j,C;I(o[9]),i=new K({props:{icon:"resizeHorizontal",size:"7"}});let c=(o[1]||o[0])&&O(o);const u=o[8].default,d=Y(u,o,o[7],null);return{c(){e=E("aside"),t=E("button"),a=E("span"),a.textContent=l,s=W(),G(i.$$.fragment),n=W(),f=E("div"),c&&c.c(),b=W(),d&&d.c(),this.h()},l(r){e=z(r,"ASIDE",{style:!0,class:!0});var _=A(e);t=z(_,"BUTTON",{class:!0});var k=A(t);a=z(k,"SPAN",{class:!0,"data-svelte-h":!0}),F(a)!=="svelte-ruxerc"&&(a.textContent=l),s=S(k),R(i.$$.fragment,k),k.forEach(v),n=S(_),f=z(_,"DIV",{class:!0});var D=A(f);c&&c.l(D),b=S(D),d&&d.l(D),D.forEach(v),_.forEach(v),this.h()},h(){g(a,"class","label svelte-jrfyci"),g(t,"class","resizer svelte-jrfyci"),L(t,"active",o[3]),g(f,"class","container svelte-jrfyci"),q(e,"--width",o[4].asideWidth),g(e,"class","svelte-jrfyci")},m(r,_){U(r,e,_),p(e,t),p(t,a),p(t,s),V(i,t,null),p(e,n),p(e,f),c&&c.m(f,null),p(f,b),d&&d.m(f,null),m=!0,j||(C=[H(M,"resize",o[9]),H(t,"mousedown",o[6])],j=!0)},p(r,[_]){(!m||_&8)&&L(t,"active",r[3]),r[1]||r[0]?c?(c.p(r,_),_&3&&w(c,1)):(c=O(r),c.c(),w(c,1),c.m(f,b)):c&&(X(),y(c,1,1,()=>{c=null}),$()),d&&d.p&&(!m||_&128)&&Z(d,u,r,r[7],m?ee(u,r[7],_,null):x(r[7]),null),(!m||_&16)&&q(e,"--width",r[4].asideWidth)},i(r){m||(w(i.$$.fragment,r),w(c),w(d,r),r&&I(()=>{m&&(h||(h=N(e,o[5],{},!0)),h.run(1))}),m=!0)},o(r){y(i.$$.fragment,r),y(c),y(d,r),r&&(h||(h=N(e,o[5],{},!1)),h.run(0)),m=!1},d(r){r&&v(e),J(i),c&&c.d(),d&&d.d(r),r&&h&&h.end(),j=!1,te(C)}}}function de(o,e,t){let a;se(o,B,u=>t(4,a=u));let{$$slots:l={},$$scope:s}=e,{closeUrl:i}=e,{title:n=""}=e,f,b=!1;const h=function(u,{delay:d=0,duration:r=300}){return{delay:d,duration:r,css:_=>{const k=ce(_);return`min-width: 0; width: calc(${a.asideWidth} * ${k});`}}},m=()=>{window.addEventListener("mousemove",C,!1),window.addEventListener("mouseup",j,!1),t(3,b=!0)},j=()=>{window.removeEventListener("mousemove",C,!1),window.removeEventListener("mouseup",j,!1),t(3,b=!1),localStorage.asideWidth=a.asideWidth},C=u=>{ne(B,a.asideWidth=f-u.clientX-9+"px",a)};function c(){t(2,f=M.outerWidth)}return o.$$set=u=>{"closeUrl"in u&&t(0,i=u.closeUrl),"title"in u&&t(1,n=u.title),"$$scope"in u&&t(7,s=u.$$scope)},[i,n,f,b,a,h,m,s,l,c]}class we extends re{constructor(e){super(),oe(this,e,de,ue,Q,{closeUrl:0,title:1})}}export{we as A}; +import{s as Q,B as I,D as Y,f as E,a as W,g as z,h as A,r as F,c as S,d as v,j as g,w as L,k as q,i as U,u as p,x as H,E as Z,F as x,G as ee,y as te,v as se,l as le,m as ie,n as ae,z as ne}from"./scheduler.a497d5ec.js";import{S as re,i as oe,b as G,d as R,m as V,a as w,g as X,t as y,c as $,f as N,e as J}from"./index.ca999c64.js";import{g as fe}from"./globals.7f7f1b26.js";import{q as ce}from"./index.50c00146.js";import{s as B}from"./state.58df2e5f.js";import{I as K}from"./Icon.1ce3f3fe.js";const{window:M}=fe;function O(o){let e,t,a,l=o[1]&&P(o),s=o[0]&&T(o);return{c(){e=E("header"),l&&l.c(),t=W(),s&&s.c(),this.h()},l(i){e=z(i,"HEADER",{class:!0});var n=A(e);l&&l.l(n),t=S(n),s&&s.l(n),n.forEach(v),this.h()},h(){g(e,"class","svelte-jrfyci")},m(i,n){U(i,e,n),l&&l.m(e,null),p(e,t),s&&s.m(e,null),a=!0},p(i,n){i[1]?l?l.p(i,n):(l=P(i),l.c(),l.m(e,t)):l&&(l.d(1),l=null),i[0]?s?(s.p(i,n),n&1&&w(s,1)):(s=T(i),s.c(),w(s,1),s.m(e,null)):s&&(X(),y(s,1,1,()=>{s=null}),$())},i(i){a||(w(s),a=!0)},o(i){y(s),a=!1},d(i){i&&v(e),l&&l.d(),s&&s.d()}}}function P(o){let e,t;return{c(){e=E("h2"),t=le(o[1]),this.h()},l(a){e=z(a,"H2",{class:!0});var l=A(e);t=ie(l,o[1]),l.forEach(v),this.h()},h(){g(e,"class","svelte-jrfyci")},m(a,l){U(a,e,l),p(e,t)},p(a,l){l&2&&ae(t,a[1])},d(a){a&&v(e)}}}function T(o){let e,t,a="Close details",l,s,i;return s=new K({props:{icon:"x"}}),{c(){e=E("a"),t=E("span"),t.textContent=a,l=W(),G(s.$$.fragment),this.h()},l(n){e=z(n,"A",{href:!0,class:!0});var f=A(e);t=z(f,"SPAN",{class:!0,"data-svelte-h":!0}),F(t)!=="svelte-1gxyewl"&&(t.textContent=a),l=S(f),R(s.$$.fragment,f),f.forEach(v),this.h()},h(){g(t,"class","label svelte-jrfyci"),g(e,"href",o[0]),g(e,"class","close svelte-jrfyci")},m(n,f){U(n,e,f),p(e,t),p(e,l),V(s,e,null),i=!0},p(n,f){(!i||f&1)&&g(e,"href",n[0])},i(n){i||(w(s.$$.fragment,n),i=!0)},o(n){y(s.$$.fragment,n),i=!1},d(n){n&&v(e),J(s)}}}function ue(o){let e,t,a,l="Drag to resize panel",s,i,n,f,b,h,m,j,C;I(o[9]),i=new K({props:{icon:"resizeHorizontal",size:"7"}});let c=(o[1]||o[0])&&O(o);const u=o[8].default,d=Y(u,o,o[7],null);return{c(){e=E("aside"),t=E("button"),a=E("span"),a.textContent=l,s=W(),G(i.$$.fragment),n=W(),f=E("div"),c&&c.c(),b=W(),d&&d.c(),this.h()},l(r){e=z(r,"ASIDE",{style:!0,class:!0});var _=A(e);t=z(_,"BUTTON",{class:!0});var k=A(t);a=z(k,"SPAN",{class:!0,"data-svelte-h":!0}),F(a)!=="svelte-ruxerc"&&(a.textContent=l),s=S(k),R(i.$$.fragment,k),k.forEach(v),n=S(_),f=z(_,"DIV",{class:!0});var D=A(f);c&&c.l(D),b=S(D),d&&d.l(D),D.forEach(v),_.forEach(v),this.h()},h(){g(a,"class","label svelte-jrfyci"),g(t,"class","resizer svelte-jrfyci"),L(t,"active",o[3]),g(f,"class","container svelte-jrfyci"),q(e,"--width",o[4].asideWidth),g(e,"class","svelte-jrfyci")},m(r,_){U(r,e,_),p(e,t),p(t,a),p(t,s),V(i,t,null),p(e,n),p(e,f),c&&c.m(f,null),p(f,b),d&&d.m(f,null),m=!0,j||(C=[H(M,"resize",o[9]),H(t,"mousedown",o[6])],j=!0)},p(r,[_]){(!m||_&8)&&L(t,"active",r[3]),r[1]||r[0]?c?(c.p(r,_),_&3&&w(c,1)):(c=O(r),c.c(),w(c,1),c.m(f,b)):c&&(X(),y(c,1,1,()=>{c=null}),$()),d&&d.p&&(!m||_&128)&&Z(d,u,r,r[7],m?ee(u,r[7],_,null):x(r[7]),null),(!m||_&16)&&q(e,"--width",r[4].asideWidth)},i(r){m||(w(i.$$.fragment,r),w(c),w(d,r),r&&I(()=>{m&&(h||(h=N(e,o[5],{},!0)),h.run(1))}),m=!0)},o(r){y(i.$$.fragment,r),y(c),y(d,r),r&&(h||(h=N(e,o[5],{},!1)),h.run(0)),m=!1},d(r){r&&v(e),J(i),c&&c.d(),d&&d.d(r),r&&h&&h.end(),j=!1,te(C)}}}function de(o,e,t){let a;se(o,B,u=>t(4,a=u));let{$$slots:l={},$$scope:s}=e,{closeUrl:i}=e,{title:n=""}=e,f,b=!1;const h=function(u,{delay:d=0,duration:r=300}){return{delay:d,duration:r,css:_=>{const k=ce(_);return`min-width: 0; width: calc(${a.asideWidth} * ${k});`}}},m=()=>{window.addEventListener("mousemove",C,!1),window.addEventListener("mouseup",j,!1),t(3,b=!0)},j=()=>{window.removeEventListener("mousemove",C,!1),window.removeEventListener("mouseup",j,!1),t(3,b=!1),localStorage.asideWidth=a.asideWidth},C=u=>{ne(B,a.asideWidth=f-u.clientX-9+"px",a)};function c(){t(2,f=M.outerWidth)}return o.$$set=u=>{"closeUrl"in u&&t(0,i=u.closeUrl),"title"in u&&t(1,n=u.title),"$$scope"in u&&t(7,s=u.$$scope)},[i,n,f,b,a,h,m,s,l,c]}class we extends re{constructor(e){super(),oe(this,e,de,ue,Q,{closeUrl:0,title:1})}}export{we as A}; diff --git a/gui/next/build/_app/immutable/chunks/Icon.1ce3f3fe.js b/gui/next/build/_app/immutable/chunks/Icon.1ce3f3fe.js new file mode 100644 index 00000000..11809998 --- /dev/null +++ b/gui/next/build/_app/immutable/chunks/Icon.1ce3f3fe.js @@ -0,0 +1 @@ +import{s as f,e as m,i as H,A as t,d as e,a2 as M,a3 as n,h as o,j as v,u as L}from"./scheduler.a497d5ec.js";import{S as d,i as u}from"./index.ca999c64.js";function r(s){let a,c;return{c(){a=M("svg"),c=M("path"),this.h()},l(h){a=n(h,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var l=o(a);c=n(l,"path",{d:!0}),o(c).forEach(e),l.forEach(e),this.h()},h(){v(c,"d",s[2]),v(a,"width",s[1]),v(a,"height",s[1]),v(a,"viewBox","0 0 24 24"),v(a,"fill","currentColor"),v(a,"xmlns","http://www.w3.org/2000/svg")},m(h,l){H(h,a,l),L(a,c)},p(h,l){l&4&&v(c,"d",h[2]),l&2&&v(a,"width",h[1]),l&2&&v(a,"height",h[1])},d(h){h&&e(a)}}}function A(s){let a,c=s[0]&&r(s);return{c(){c&&c.c(),a=m()},l(h){c&&c.l(h),a=m()},m(h,l){c&&c.m(h,l),H(h,a,l)},p(h,[l]){h[0]?c?c.p(h,l):(c=r(h),c.c(),c.m(a.parentNode,a)):c&&(c.d(1),c=null)},i:t,o:t,d(h){h&&e(a),c&&c.d(h)}}}function C(s,a,c){let h,{icon:l=!1}=a,{size:i=24}=a;const V={database:"M12 24c-6.841 0-12-2.257-12-5.25V5.251C0 2.258 5.159.001 12 .001s12 2.257 12 5.25V18.75C24 21.743 18.841 24 12 24zM1.5 18.75c0 1.533 3.739 3.75 10.5 3.75s10.5-2.217 10.5-3.75v-4.137c-2.053 1.622-6.023 2.637-10.5 2.637s-8.446-1.016-10.5-2.637v4.137zm0-6.75c0 1.533 3.739 3.75 10.5 3.75S22.5 13.533 22.5 12V7.863C20.446 9.485 16.477 10.5 12 10.5S3.554 9.485 1.5 7.863V12zM12 1.501c-6.761 0-10.5 2.217-10.5 3.75s3.739 3.75 10.5 3.75 10.5-2.217 10.5-3.75-3.739-3.75-10.5-3.75z",users:"M4.5 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3Zm0-4.5C3.67 4.5 3 5.17 3 6s.67 1.5 1.5 1.5S6 6.83 6 6s-.67-1.5-1.5-1.5ZM3 22.5c-.38 0-.7-.28-.74-.66l-.67-5.34H.75c-.41 0-.75-.34-.75-.75V13.5C0 11.02 2.02 9 4.5 9c.41 0 .75.34.75.75s-.34.75-.75.75c-1.65 0-3 1.35-3 3V15h.75c.38 0 .7.28.74.66L3.66 21H6c.41 0 .75.34.75.75s-.34.75-.75.75H3ZM19.5 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3Zm0-4.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5S21 6.83 21 6s-.67-1.5-1.5-1.5Zm-1.5 18c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h2.34l.67-5.34c.05-.38.37-.66.74-.66h.75v-1.5c0-1.65-1.35-3-3-3-.41 0-.75-.34-.75-.75s.34-.75.75-.75c2.48 0 4.5 2.02 4.5 4.5v2.25c0 .41-.34.75-.75.75h-.84l-.67 5.34c-.05.38-.37.66-.74.66h-3Zm-6-15c-2.07 0-3.75-1.68-3.75-3.75S9.93 0 12 0s3.75 1.68 3.75 3.75S14.07 7.5 12 7.5Zm0-6c-1.24 0-2.25 1.01-2.25 2.25S10.76 6 12 6s2.25-1.01 2.25-2.25S13.24 1.5 12 1.5ZM9.75 24a.75.75 0 0 1-.75-.67l-.68-6.83H6.75c-.41 0-.75-.34-.75-.75V13.5c0-3.31 2.69-6 6-6s6 2.69 6 6v2.25c0 .41-.34.75-.75.75h-1.57L15 23.33a.75.75 0 0 1-.75.67h-4.5Zm3.82-1.5.68-6.82c.04-.38.36-.68.75-.68h1.5v-1.5c0-2.48-2.02-4.5-4.5-4.5s-4.5 2.02-4.5 4.5V15H9c.39 0 .71.29.75.68l.68 6.82h3.14Z",log:"m5.25,24c-1.24,0-2.25-1.01-2.25-2.25v-3c0-.41.34-.75.75-.75s.75.34.75.75v3c0,.41.34.75.75.75h13.5c.41,0,.75-.34.75-.75v-3c0-.41.34-.75.75-.75s.75.34.75.75v3c0,1.24-1.01,2.25-2.25,2.25H5.25Zm15-10.5c-.41,0-.75-.34-.75-.75v-7.5c0-.41-.34-.75-.75-.75h-2.25v1.5c0,.83-.67,1.5-1.5,1.5h-6c-.83,0-1.5-.67-1.5-1.5v-1.5h-2.25c-.41,0-.75.34-.75.75v7.5c0,.41-.34.75-.75.75s-.75-.34-.75-.75v-7.5c0-1.24,1.01-2.25,2.25-2.25h2.25c0-.83.67-1.5,1.5-1.5h.31c.52-.92,1.5-1.5,2.56-1.5.04,0,.08,0,.12,0,.04,0,.09,0,.13,0,1.07,0,2.05.58,2.56,1.5h.31c.83,0,1.5.67,1.5,1.5h2.25c1.24,0,2.25,1.01,2.25,2.25v7.5c0,.41-.34.75-.75.75Zm-11.25-7.5h6v-3h-.8c-.32,0-.61-.21-.71-.51-.19-.59-.74-.99-1.37-.99-.03,0-.05,0-.08,0,0,0-.04,0-.04,0-.01,0-.09,0-.11,0-.62,0-1.18.4-1.37.99-.1.31-.39.52-.71.52h-.8v3Zm3.04,13.63c-.17,0-.34-.04-.49-.11-.27-.13-.47-.36-.57-.65l-2.08-5.73-1.37,2.73c-.19.38-.58.62-1.01.62H.75c-.41,0-.75-.34-.75-.75s.34-.75.75-.75h5.54l1.65-3.31c.13-.27.37-.47.65-.56.12-.04.24-.06.36-.06.17,0,.35.04.5.12.26.13.46.35.56.62l2.07,5.69,1.93-4.33c.18-.41.59-.67,1.03-.67.16,0,.31.03.46.1.24.11.43.29.55.52l.94,1.88h6.28c.41,0,.75.34.75.75s-.34.75-.75.75h-6.51c-.43,0-.81-.24-1.01-.62l-.69-1.37-1.98,4.45c-.12.28-.36.51-.67.61-.12.04-.24.06-.36.06Z",backgroundJob:"M23.6 7.3v.3c0 .1-.1.2-.2.3l-3 3c-.2.1-.4.1-.6.1-.2 0-.4-.1-.5-.2-.1-.1-.2-.3-.2-.5s.1-.4.2-.5L21 8H1.2c-.4 0-.8-.4-.8-.8s.3-.9.8-.9H21l-1.7-1.5c-.1-.1-.2-.3-.2-.5s.1-.4.2-.5c.1-.1.3-.2.5-.2s.4.1.5.2l3 3c.1.1.1.2.2.2.1.1.1.2.1.3zM4 10.4c-.4 0-.7.3-.7.7-.1 1.1 0 2.2.3 3.3 0 .4.3.6.7.6h.2c.4-.1.6-.5.5-.9-.2-.9-.3-1.9-.2-2.8 0-.5-.3-.8-.8-.9.1 0 0 0 0 0zm2.6 5.3c-.3 0-.6.2-.7.6-.1.4.2.8.6.9.8.2 1.6.3 2.4.3h.9c.4 0 .7-.4.7-.8s-.4-.7-.7-.7H9c-.7 0-1.4-.1-2.1-.2-.2-.1-.2-.1-.3-.1zm9.8-2.7c-.2 0-.4.1-.5.2-.1.1-.2.3-.2.5s.1.4.2.5l1.7 1.7h-3.4c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h3.4l-1.7 1.7c-.1.1-.2.3-.2.5s.1.4.2.5c.1.1.3.2.5.2s.4-.1.5-.2l3-3c.1-.1.1-.2.2-.2v-.6c0-.1-.1-.2-.2-.3l-3-3c-.2-.1-.3-.1-.5-.1z",constant:"M3 24C1.76 24 .75 22.99.75 21.75V2.25C.75 1.01 1.76 0 3 0h15.05c.59 0 1.15.23 1.57.64l2.95 2.88c.43.42.68 1.01.68 1.61v16.62c0 1.24-1.01 2.25-2.25 2.25H3ZM3 1.5c-.41 0-.75.34-.75.75v19.5c0 .41.34.75.75.75h18c.41 0 .75-.34.75-.75V5.14c0-.2-.08-.4-.23-.54l-2.95-2.88a.734.734 0 0 0-.52-.21H3Zm6.65 16.56c-1.12 0-2.06-.87-2.15-1.99v-1.31c0-.16-.11-.33-.27-.41l-1.61-.92c-.23-.13-.38-.38-.38-.65s.14-.52.38-.65l1.58-.91c.18-.1.29-.26.29-.45V9.48a2.173 2.173 0 0 1 2.15-1.99h.85a.749.749 0 1 1 0 1.5h-.85a.65.65 0 0 0-.65.58v1.21c-.02.74-.43 1.4-1.07 1.74l-.43.25.45.26c.62.33 1.02.98 1.04 1.7v1.23c.04.33.32.58.66.58h.84c.41 0 .75.34.75.75s-.34.75-.75.75h-.85Zm4.69 0h-.85c-.41 0-.75-.34-.75-.75s.34-.75.75-.75H14.34c.34 0 .62-.25.66-.58v-1.21c.02-.74.43-1.4 1.07-1.74l.43-.25-.45-.26c-.62-.33-1.02-.98-1.04-1.71V9.58a.658.658 0 0 0-.65-.58h-.85c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h.85c1.12 0 2.06.87 2.15 1.99v1.31c0 .16.11.33.27.41l1.6.92c.23.13.38.38.38.65s-.14.52-.38.65l-1.58.91c-.18.1-.29.26-.29.45v1.29a2.165 2.165 0 0 1-2.15 1.99Z",graphql:"M21 14.9V9.1c.9-.2 1.6-1.1 1.6-2.1 0-1.2-1-2.1-2.1-2.1-.6 0-1.2.3-1.5.7l-5-2.9c.1-.2.1-.4.1-.6C14.1 1 13.2 0 12 0S9.9 1 9.9 2.1c0 .2 0 .4.1.6L5 5.6c-.4-.4-.9-.7-1.5-.7-1.2 0-2.1 1-2.1 2.1 0 1 .7 1.8 1.6 2.1v5.7c-.9.2-1.6 1.1-1.6 2.1 0 1.2 1 2.1 2.1 2.1.6 0 1.2-.3 1.5-.7l5 2.9c-.1.2-.1.4-.1.6 0 1.2 1 2.1 2.1 2.1s2.1-1 2.1-2.1c0-.2 0-.4-.1-.6l5-2.9c.4.4.9.7 1.5.7 1.2 0 2.1-1 2.1-2.1.1-1-.6-1.8-1.6-2zm-17 0V9.1C4.9 8.9 5.6 8 5.6 7c0-.2 0-.4-.1-.6l5-2.9.1.1L4 14.9zm9.5 5.5c-.4-.4-.9-.7-1.5-.7s-1.2.3-1.5.7l-5-2.9v-.1h12.9v.1l-4.9 2.9zm5-4h-13c-.1-.4-.3-.8-.6-1l6.5-11.2c.2.1.4.1.6.1s.4 0 .6-.1l6.5 11.2c-.3.3-.5.6-.6 1zm1.5-1.5L13.5 3.7l.1-.1 5 2.9c-.1.2-.1.4-.1.6 0 1 .7 1.8 1.6 2.1v5.7z",liquid:"M12 24c-2.3 0-4.4-.9-6.1-2.5-1.7-1.6-2.6-3.8-2.6-6.1v-.3C3.3 8.6 9.7 0 12 0c2.3 0 8.7 8.6 8.7 15.1.1 4.8-3.8 8.8-8.6 8.9H12zm0-22.3C10.5 3 4.8 10 4.8 15.1v.2c.1 3.4 3.8 7.1 7.2 7.1h.1c3.4-.1 7.2-3.9 7.1-7.3C19.2 10 13.5 3 12 1.7zm-1 18.2c-2.1 0-3.8-1.7-3.8-3.8 0-.7.3-1.2.9-1.2s.7.7.7 1.4 1.1 1.8 1.8 1.8 1.1.4 1.1.8c.1.7 0 1-.7 1z",arrowRight:"M12.75 23.25a.752.752 0 0 1-.53-1.281l9.22-9.22H.75a.749.749 0 1 1 0-1.499h20.689l-9.22-9.22A.746.746 0 0 1 12.22.97c.141-.142.33-.22.53-.22s.389.078.53.22l10.5 10.5a.74.74 0 0 1 .163.245l.01.026a.73.73 0 0 1 0 .517l-.006.016a.755.755 0 0 1-.168.257L13.28 23.03a.743.743 0 0 1-.53.22z",arrowLeft:"M11.25 23.25a.743.743 0 0 1-.53-.22L.22 12.53a.74.74 0 0 1-.163-.245l-.01-.026a.75.75 0 0 1 .009-.541.74.74 0 0 1 .166-.249L10.72.97a.744.744 0 0 1 1.06 0c.142.141.22.33.22.53s-.078.389-.22.53l-9.22 9.22h20.69a.75.75 0 0 1 0 1.5H2.561l9.22 9.22a.75.75 0 0 1-.531 1.28z",arrowDown:"M12 18.999c-.4 0-.776-.156-1.059-.438L.22 7.841A.745.745 0 0 1 0 7.31c0-.2.078-.389.22-.53a.744.744 0 0 1 1.06 0L12 17.499 22.72 6.78a.744.744 0 0 1 1.06 0 .744.744 0 0 1 0 1.06L13.06 18.56a1.487 1.487 0 0 1-1.06.439z",search:"M23.245 23.996a.743.743 0 0 1-.53-.22L16.2 17.26a9.824 9.824 0 0 1-2.553 1.579 9.766 9.766 0 0 1-7.51.069 9.745 9.745 0 0 1-5.359-5.262c-1.025-2.412-1.05-5.08-.069-7.51S3.558 1.802 5.97.777a9.744 9.744 0 0 1 7.51-.069 9.745 9.745 0 0 1 5.359 5.262 9.748 9.748 0 0 1 .069 7.51 9.807 9.807 0 0 1-1.649 2.718l6.517 6.518a.75.75 0 0 1-.531 1.28zM9.807 1.49a8.259 8.259 0 0 0-3.25.667 8.26 8.26 0 0 0-4.458 4.54 8.26 8.26 0 0 0 .058 6.362 8.26 8.26 0 0 0 4.54 4.458 8.259 8.259 0 0 0 6.362-.059 8.285 8.285 0 0 0 2.594-1.736.365.365 0 0 1 .077-.076 8.245 8.245 0 0 0 1.786-2.728 8.255 8.255 0 0 0-.059-6.362 8.257 8.257 0 0 0-4.54-4.458 8.28 8.28 0 0 0-3.11-.608z",x:"M19.5 20.25a.743.743 0 0 1-.53-.22L12 13.061l-6.97 6.97a.744.744 0 0 1-1.06 0 .752.752 0 0 1 0-1.061L10.94 12 3.97 5.03c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53c.141-.142.33-.22.53-.22s.389.078.53.22L12 10.94l6.97-6.97a.744.744 0 0 1 1.06 0c.142.141.22.33.22.53s-.078.389-.22.53L13.061 12l6.97 6.97a.75.75 0 0 1-.531 1.28z",plus:"M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z",minus:"M.8 12.8c-.5 0-.8-.4-.8-.8s.3-.8.8-.8h22.5c.4 0 .8.3.8.8s-.3.8-.8.8H.8z",list:"M8.25 4.498a.75.75 0 0 1 0-1.5h15a.75.75 0 0 1 0 1.5h-15zM8.25 13.498a.75.75 0 0 1 0-1.5h15a.75.75 0 0 1 0 1.5h-15zM8.25 22.498a.75.75 0 0 1 0-1.5h15a.75.75 0 0 1 0 1.5h-15zM1.5 5.998c-.827 0-1.5-.673-1.5-1.5v-3c0-.827.673-1.5 1.5-1.5h3c.827 0 1.5.673 1.5 1.5v3c0 .827-.673 1.5-1.5 1.5h-3zm0-1.5h3v-3h-3v3zM1.5 14.998c-.827 0-1.5-.673-1.5-1.5v-3c0-.827.673-1.5 1.5-1.5h3c.827 0 1.5.673 1.5 1.5v3c0 .827-4.5 1.5-4.5 1.5zm0-1.5h3v-3h-3v3zM1.5 23.998c-.827 0-1.5-.673-1.5-1.5v-3c0-.827.673-1.5 1.5-1.5h3c.827 0 1.5.673 1.5 1.5v3c0 .827-.673 1.5-1.5 1.5h-3zm0-1.5h3v-3h-3v3z",tiles:"M2.25 10.497A2.252 2.252 0 0 1 0 8.247v-6a2.252 2.252 0 0 1 2.25-2.25h6a2.252 2.252 0 0 1 2.25 2.25v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6zM2.25 23.997A2.252 2.252 0 0 1 0 21.747v-6a2.252 2.252 0 0 1 2.25-2.25h6a2.252 2.252 0 0 1 2.25 2.25v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6zM15.75 10.497a2.252 2.252 0 0 1-2.25-2.25v-6a2.252 2.252 0 0 1 2.25-2.25h6A2.252 2.252 0 0 1 24 2.247v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6zM15.75 23.997a2.252 2.252 0 0 1-2.25-2.25v-6a2.252 2.252 0 0 1 2.25-2.25h6a2.252 2.252 0 0 1 2.25 2.25v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6z",pencil:"M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275-1.129 4.406zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344l4.077 4.07zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762l4.071 4.07z",expand:"M23.25 7.498a.75.75 0 0 1-.75-.75V2.559l-3.97 3.97a.746.746 0 0 1-1.06-.001c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53l3.97-3.97h-4.19a.75.75 0 0 1 0-1.5h6a.735.735 0 0 1 .293.06.75.75 0 0 1 .4.404l.01.026c.03.082.047.17.047.26v6a.75.75 0 0 1-.75.75zM.75 23.998a.755.755 0 0 1-.26-.047l-.022-.008A.754.754 0 0 1 0 23.248v-6a.75.75 0 0 1 1.5 0v4.189l3.97-3.97a.744.744 0 0 1 1.06 0 .752.752 0 0 1 0 1.061l-3.97 3.97h4.19a.75.75 0 0 1 0 1.5h-6zM.75 7.498a.75.75 0 0 1-.75-.75v-6A.74.74 0 0 1 .048.487L.055.466a.754.754 0 0 1 .41-.411L.49.045a.737.737 0 0 1 .26-.047h6a.75.75 0 0 1 0 1.5H2.561l3.97 3.97c.142.141.22.33.22.53s-.078.389-.22.53a.747.747 0 0 1-1.061 0L1.5 2.559v4.189a.75.75 0 0 1-.75.75zM17.25 23.998a.75.75 0 0 1 0-1.5h4.189l-3.97-3.97a.752.752 0 0 1 .53-1.281c.2 0 .389.078.53.22l3.97 3.97v-4.189a.75.75 0 0 1 1.501 0v6a.767.767 0 0 1-.046.258l-.006.017a.763.763 0 0 1-.412.419l-.026.01a.73.73 0 0 1-.259.047H17.25zM9 16.498c-.827 0-1.5-.673-1.5-1.5v-6c0-.827.673-1.5 1.5-1.5h6c.827 0 1.5.673 1.5 1.5v6c0 .827-.673 1.5-1.5 1.5H9zm0-1.5h6v-6H9v6z",collapse:"M17.25 7.498a.735.735 0 0 1-.261-.048l-.032-.012a.75.75 0 0 1-.4-.404l-.01-.026a.739.739 0 0 1-.047-.26v-6a.75.75 0 0 1 1.5 0v4.189l4.72-4.72a.744.744 0 0 1 1.06 0 .747.747 0 0 1 0 1.061l-4.72 4.72h4.189a.75.75 0 0 1 0 1.5H17.25zM6.75 23.998a.75.75 0 0 1-.75-.75v-4.189l-4.72 4.72a.744.744 0 0 1-1.06 0 .752.752 0 0 1 0-1.061l4.72-4.72H.75a.75.75 0 0 1 0-1.5h6c.088 0 .175.016.26.047l.022.008a.756.756 0 0 1 .468.695v6a.75.75 0 0 1-.75.75zM23.25 23.998a.743.743 0 0 1-.53-.22L18 19.059v4.189a.75.75 0 0 1-1.5 0v-6c0-.087.016-.174.046-.258l.006-.017a.763.763 0 0 1 .412-.419l.026-.01a.733.733 0 0 1 .259-.047h6a.75.75 0 0 1 0 1.5H19.06l4.72 4.72a.752.752 0 0 1-.53 1.281zM.75 7.498a.75.75 0 0 1 0-1.5h4.189l-4.72-4.72A.746.746 0 0 1 .22.218c.141-.142.33-.22.53-.22s.389.078.53.22L6 4.938V.748a.75.75 0 0 1 1.5 0v6a.735.735 0 0 1-.048.261l-.007.021a.76.76 0 0 1-.695.468h-6zM9 16.498c-.827 0-1.5-.673-1.5-1.5v-6c0-.827.673-1.5 1.5-1.5h6c.827 0 1.5.673 1.5 1.5v6c0 .827-.673 1.5-1.5 1.5H9zm0-1.5h6v-6H9v6z",eye:"M11.8 19.5c-4.3 0-8.6-3-11.2-5.9-.8-.9-.8-2.3 0-3.2 2.6-2.8 6.9-5.9 11.2-5.9h.4c4.3 0 8.6 3 11.2 5.9.8.9.8 2.3 0 3.2-2.6 2.8-6.9 5.9-11.2 5.9h-.4zM11.9 6C8 6 4.1 8.8 1.7 11.4c-.3.3-.3.9 0 1.2C4.1 15.2 8 18 11.9 18h.2c3.9 0 7.8-2.8 10.1-5.4.3-.3.3-.9 0-1.2C19.9 8.8 16 6 12.1 6h-.2zm.1 10.5c-1.2 0-2.3-.5-3.2-1.3s-1.3-2-1.3-3.2c0-2.5 2-4.5 4.5-4.5 1.2 0 2.3.5 3.2 1.3.8.9 1.3 2 1.3 3.2 0 1.2-.5 2.3-1.3 3.2-.9.8-2 1.3-3.2 1.3zM12 9c-1.7 0-3 1.3-3 3 0 .8.3 1.6.9 2.1.6.6 1.3.9 2.1.9s1.6-.3 2.1-.9.9-1.3.9-2.1-.3-1.6-.9-2.1c-.5-.6-1.3-.9-2.1-.9z",eyeStriked:"M2.8 21.8c-.2 0-.4-.1-.5-.2-.2-.2-.3-.4-.3-.6 0-.2.1-.4.2-.5L21 2.5c.1-.1.3-.2.5-.2s.4.1.5.2c.1.1.2.3.2.5s-.1.4-.2.5l-18.8 18c0 .2-.2.3-.4.3zm9.2-1.6h-.1c-1 0-2.1-.2-3.1-.5-.4-.1-.6-.5-.5-.9.1-.3.4-.5.7-.5h.2c.9.3 1.8.4 2.7.4h.2c3.9 0 7.8-2.8 10.1-5.4.3-.3.3-.9 0-1.2-.9-1-1.9-1.9-3-2.7-.1 0-.2-.2-.2-.4s0-.4.1-.6c.1-.2.4-.3.6-.3.2 0 .3.1.4.1 1.2.8 2.2 1.8 3.2 2.9.8.9.8 2.3 0 3.2-2.6 2.8-6.9 5.9-11.2 5.9H12zM3.8 17c-.2 0-.3-.1-.5-.2-1-.7-1.9-1.6-2.7-2.5-.8-.9-.8-2.3 0-3.2 2.6-2.8 6.9-5.9 11.2-5.9h.2c.8 0 1.7.1 2.5.3.4.1.6.5.5.9.1.4-.2.6-.6.6h-.2c-.7-.2-1.4-.3-2.1-.3h-.2C8 6.8 4.1 9.5 1.7 12.1c-.3.3-.3.9 0 1.2.8.8 1.6 1.6 2.5 2.3.2.1.3.3.3.5s0 .4-.2.6c-.1.2-.3.3-.5.3zm4.4-3.5c-.4 0-.8-.3-.8-.8 0-1.2.5-2.3 1.3-3.2s2-1.3 3.2-1.3c.2 0 .4.2.4.4v.8c0 .1 0 .2-.1.3s-.1.1-.2.1c-.8 0-1.6.3-2.1.9-.6.5-.9 1.2-.9 2.1 0 .2-.1.4-.2.5-.2.1-.4.2-.6.2zm3.8 3.7c-.2 0-.4-.2-.4-.4V16c0-.1 0-.2.1-.3.1-.1.2-.1.3-.1.8 0 1.6-.3 2.1-.9.6-.6.9-1.3.9-2.1 0-.4.3-.8.8-.8s.8.3.8.8c0 1.2-.5 2.3-1.3 3.2-1 1-2.1 1.4-3.3 1.4z",book:"M12 23.999a.755.755 0 0 1-.548-.238c-.017-.017-2.491-2.398-10.212-2.494A1.26 1.26 0 0 1 0 20.025V4.249c0-.334.137-.659.375-.892.242-.232.557-.358.89-.358 5.718.073 8.778 1.302 10.258 2.199a6.773 6.773 0 0 1 1.572-2.664A8.513 8.513 0 0 1 17.071.055a1.346 1.346 0 0 1 1.1.153c.353.218.57.6.579 1.02v2.053A31.709 31.709 0 0 1 22.727 3 1.259 1.259 0 0 1 24 4.245v15.772a1.265 1.265 0 0 1-1.243 1.25c-7.724.096-10.193 2.478-10.217 2.502l-.031.03a.742.742 0 0 1-.509.2zM1.5 19.771c5.263.097 8.233 1.194 9.75 2.037V6.826c-.72-.546-3.417-2.201-9.75-2.323v15.268zm17.25-2.926a.751.751 0 0 1-.598.734 7.44 7.44 0 0 0-3.967 2.238 5.3 5.3 0 0 0-1.15 1.838c1.58-.81 4.502-1.794 9.464-1.885V4.502a30.64 30.64 0 0 0-3.75.292v12.051zm-6 2.334c.11-.135.225-.266.345-.39a8.92 8.92 0 0 1 4.155-2.533V1.569a7.055 7.055 0 0 0-3.057 1.986 5.343 5.343 0 0 0-1.443 2.997v12.627z",serverSettings:"M5.3 4.1c.6 0 1.1.5 1.1 1.1s-.5 1.2-1.1 1.2-1.2-.5-1.2-1.1.5-1.2 1.2-1.2zm0 9c.6 0 1.1.5 1.1 1.1s-.5 1.1-1.1 1.1-1.1-.5-1.1-1.1.4-1.1 1.1-1.1zm0 6.4c-2.9 0-5.2-2.4-5.2-5.2 0-1.9 1-3.6 2.5-4.5C1 8.8 0 7.1 0 5.3 0 2.4 2.4 0 5.3 0h12c1.4 0 2.7.5 3.7 1.5s1.5 2.3 1.5 3.7c0 1.3-.5 2.5-1.3 3.5-.1.2-.3.3-.6.3-.2 0-.4-.1-.5-.2-.2-.1-.2-.3-.3-.5s.1-.4.2-.5c.7-.8 1-1.6 1-2.6s-.4-1.9-1.1-2.7c-.7-.7-1.6-1.1-2.7-1.1h-12c-2.1 0-3.8 1.7-3.8 3.8S3.2 9 5.3 9h7.4c.4 0 .8.3.8.8s-.3.8-.8.8H5.3c-2.1 0-3.8 1.7-3.8 3.8S3.2 18 5.3 18h3c.4 0 .7.3.7.8s-.3.8-.8.8l-2.9-.1zM10.5 6c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h6.7c.4 0 .8.3.8.8s-.3.8-.7.8h-6.8zm6.8 12.8c-1.2 0-2.2-1-2.2-2.2s1-2.2 2.2-2.2 2.2 1 2.2 2.2-1 2.2-2.2 2.2zm0-3c-.4 0-.8.3-.8.7s.3.8.8.8.8-.3.8-.8-.4-.7-.8-.7zm0 8.2c-.2 0-.4 0-.6-.1-.7-.2-1.2-.7-1.4-1.4l-.4-1.4c0-.1-.1-.2-.2-.2h-.1l-1.5.3c-.2 0-.3.1-.5.1-.4 0-.8-.1-1.1-.3-.5-.3-.8-.8-.9-1.3-.2-.7 0-1.4.5-1.9l1-1.1c.1-.1.1-.2 0-.3l-1-1.1c-.4-.4-.6-.9-.6-1.5s.3-1.1.7-1.5c.4-.4.9-.6 1.4-.6.2 0 .3 0 .5.1l1.5.3h.1c.1 0 .2-.1.2-.2l.4-1.5c.2-.5.5-1 1-1.2.3-.2.6-.2 1-.2.2 0 .4 0 .6.1.7.2 1.2.7 1.4 1.4l.4 1.4c0 .1.1.2.2.2h.1l1.5-.3c.2 0 .3-.1.5-.1.4 0 .8.1 1.1.3.5.3.8.8.9 1.3.2.7 0 1.4-.5 1.9l-1 1.1c-.1.1-.1.2 0 .3l1 1.1c.4.4.6.9.6 1.5s-.3 1.1-.7 1.5c-.4.4-.9.6-1.4.6-.2 0-.3 0-.5-.1l-1.5-.3h-.1c-.1 0-.2.1-.2.2l-.4 1.4c-.2.5-.5 1-1 1.2-.4.2-.7.3-1 .3zm-2.7-4.6c.8 0 1.4.5 1.7 1.2l.4 1.5c.1.2.2.3.4.4h.2c.1 0 .2 0 .3-.1l.3-.3.4-1.5c.2-.7.9-1.2 1.7-1.2h.4l1.5.3h.1c.1 0 .3-.1.4-.2.1-.1.2-.3.2-.4 0-.2-.1-.3-.2-.4l-1-1.1c-.6-.7-.6-1.7 0-2.4l1-1.1c.1-.1.2-.3.1-.5-.1-.3-.3-.5-.6-.5h-.1l-1.5.3h-.4c-.8 0-1.4-.5-1.7-1.2l-.4-1.5c-.1-.2-.2-.3-.4-.4h-.2c-.1 0-.2 0-.3.1l-.3.3-.4 1.5c-.2.7-.9 1.2-1.7 1.2h-.4l-1.5-.3h-.1c-.1 0-.3.1-.4.2-.1.1-.2.3-.2.4 0 .2.1.3.2.4l1 1.1c.6.7.6 1.7 0 2.4l-1 1.1c-.1.2-.1.4-.1.6 0 .2.1.3.3.4.1.1.2.1.3.1h.1l1.5-.3c.1-.1.3-.1.4-.1z",pin:"M.75 23.999a.743.743 0 0 1-.53-.22c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53l7.474-7.474-3.575-3.575a2.248 2.248 0 0 1-.588-2.16c.151-.582.52-1.07 1.039-1.374a8.266 8.266 0 0 1 5.564-1.002l3.877-6.094c.089-.139.192-.268.308-.383.424-.425.989-.659 1.59-.659s1.166.234 1.591.659L23.343 6.5a2.236 2.236 0 0 1 .605 2.079 2.238 2.238 0 0 1-.988 1.41l-6.092 3.877a8.257 8.257 0 0 1-1 5.562 2.234 2.234 0 0 1-1.942 1.114 2.239 2.239 0 0 1-1.593-.661l-3.576-3.577L1.28 23.78a.746.746 0 0 1-.53.219zM8.72 8.513c-1.186 0-2.36.318-3.394.919a.746.746 0 0 0-.148 1.175l8.214 8.214c.142.142.331.22.532.22a.743.743 0 0 0 .646-.369 6.737 6.737 0 0 0 .728-4.985.75.75 0 0 1 .326-.808l6.529-4.155a.748.748 0 0 0 .128-1.163L16.44 1.718a.745.745 0 0 0-.531-.22.743.743 0 0 0-.633.348l-4.155 6.53a.746.746 0 0 1-.808.326 6.809 6.809 0 0 0-1.593-.189z",pinFilled:"M.8 24c-.2 0-.4-.1-.5-.2-.2-.2-.3-.4-.3-.6s.1-.4.2-.5l7.5-7.5-3.6-3.6c-.1-.1-.3-.3-.4-.5-.3-.5-.4-1.1-.2-1.7.2-.6.5-1.1 1-1.4 1.3-.6 2.8-1 4.2-1 .5 0 .9 0 1.4.1L14 1c.1-.1.2-.3.3-.4.4-.4 1-.7 1.6-.7s1.2.2 1.6.7l5.8 5.8c.1.1.2.2.3.4.4.6.5 1.2.3 1.8-.1.6-.5 1.1-1 1.4l-6.1 3.9c.3 1.9 0 3.9-1 5.6-.1.2-.2.3-.4.5-.4.4-1 .7-1.6.7-.6 0-1.2-.2-1.6-.7l-3.6-3.6-7.5 7.5s-.2.1-.3.1z",trash:"M6.6 23.2c-1.2 0-2.1-.9-2.2-2.1L3.1 5.2H1.5c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h6V3c0-1.2 1-2.2 2.2-2.2h4.5c1.2 0 2.2 1 2.2 2.2v.8h6c.4 0 .8.3.8.8s-.3.8-.8.8h-1.6l-1.3 15.9c-.1 1.2-1.1 2.1-2.2 2.1H6.6zm-.7-2.1c0 .4.4.7.7.7h10.7c.4 0 .7-.3.7-.7l1.3-15.8H4.6l1.3 15.8zM15 3.8V3c0-.4-.3-.8-.8-.8H9.8c-.5 0-.8.4-.8.8v.8h6zM9.8 18c-.5 0-.8-.3-.8-.8V9.8c0-.5.3-.8.8-.8s.8.3.8.8v7.5c-.1.4-.4.7-.8.7zm4.4 0c-.4 0-.8-.3-.8-.8V9.8c0-.4.3-.8.8-.8s.8.3.8.8v7.5c0 .4-.3.7-.8.7z",navigationMenuVertical:"M11.987 24.003c-1.861 0-3.375-1.514-3.375-3.375s1.514-3.375 3.375-3.375 3.375 1.514 3.375 3.375-1.514 3.375-3.375 3.375zm0-5.25c-1.034 0-1.875.841-1.875 1.875s.841 1.875 1.875 1.875 1.875-.841 1.875-1.875-.841-1.875-1.875-1.875zM11.987 6.753c-1.861 0-3.375-1.514-3.375-3.375S10.126.003 11.987.003s3.375 1.514 3.375 3.375-1.514 3.375-3.375 3.375zm0-5.25c-1.034 0-1.875.841-1.875 1.875s.841 1.875 1.875 1.875 1.875-.841 1.875-1.875-.841-1.875-1.875-1.875zM11.987 15.378a3.379 3.379 0 0 1-3.375-3.375c0-1.861 1.514-3.375 3.375-3.375s3.375 1.514 3.375 3.375a3.379 3.379 0 0 1-3.375 3.375zm0-5.25c-1.034 0-1.875.841-1.875 1.875s.841 1.875 1.875 1.875 1.875-.841 1.875-1.875-.841-1.875-1.875-1.875z",copy:"M4.5 24a2.252 2.252 0 0 1-2.25-2.25V8.25A2.252 2.252 0 0 1 4.5 6h2.25V2.25A2.252 2.252 0 0 1 9 0h7.629c.601 0 1.165.234 1.59.658l2.872 2.872c.425.425.659.99.659 1.59v10.63A2.252 2.252 0 0 1 19.5 18h-2.25v3.75A2.252 2.252 0 0 1 15 24H4.5zm0-16.5a.75.75 0 0 0-.75.75v13.5c0 .414.336.75.75.75H15a.75.75 0 0 0 .75-.75V11.121c0-.197-.08-.39-.219-.53l-2.872-2.872a.748.748 0 0 0-.53-.219H4.5zm15 9a.75.75 0 0 0 .75-.75V5.121c0-.197-.08-.39-.219-.53l-2.872-2.872a.748.748 0 0 0-.53-.219H9a.75.75 0 0 0-.75.75V6h3.879c.6 0 1.165.234 1.59.658l2.872 2.872c.425.425.659.99.659 1.59v5.38h2.25z",refresh:"M12.723 22.497c-1.385 0-2.737-.271-4.019-.804a.747.747 0 0 1-.404-.98.748.748 0 0 1 .98-.405 8.924 8.924 0 0 0 3.445.689 8.935 8.935 0 0 0 6.204-2.489 8.91 8.91 0 0 0 2.762-6.283 8.911 8.911 0 0 0-2.482-6.399 8.892 8.892 0 0 0-6.483-2.765 8.921 8.921 0 0 0-6.199 2.485 8.937 8.937 0 0 0-2.746 5.833c-.14 2 .375 3.948 1.462 5.589v-2.72a.75.75 0 0 1 1.5 0v4.5a.75.75 0 0 1-.75.75h-.238a.364.364 0 0 1-.096 0H1.493a.75.75 0 0 1 0-1.5h2.636a10.467 10.467 0 0 1-1.822-6.964l.007-.076.019-.197.006-.045A10.54 10.54 0 0 1 5.497 4.42a10.465 10.465 0 0 1 7.264-2.913c1.385 0 2.738.269 4.019.8a.74.74 0 0 1 .26.18 10.382 10.382 0 0 1 3.253 2.301c3.991 4.171 3.844 10.812-.327 14.803a10.43 10.43 0 0 1-7.241 2.905h-.002z",resizeHorizontal:"M5.2 2.3c0-.4.3-.8.8-.8s.8.3.8.8v19.5c0 .4-.3.8-.8.8s-.8-.3-.8-.8V2.3zm6 0c0-.4.3-.8.8-.8s.8.3.8.8v19.5c0 .4-.3.8-.8.8s-.8-.3-.8-.8V2.3zm6 0c0-.4.3-.8.8-.8s.8.3.8.8v19.5c0 .4-.3.8-.8.8s-.8-.3-.8-.8V2.3z",info:"M14.6 23.5c-2.4 0-4.3-1.9-4.3-4.3v-8.5H8.2c-.6 0-1.1-.5-1.1-1.1s.5-1.1 1.1-1.1h1.6c1.5 0 2.7 1.2 2.7 2.7v8c0 1.2.9 2.1 2.1 2.1h1.6c.6 0 1.1.5 1.1 1.1s-.5 1.1-1.1 1.1h-1.6zm-4-19.2c-1 0-1.9-.9-1.9-1.9S9.6.5 10.6.5s1.9.9 1.9 1.9-.9 1.9-1.9 1.9z",sortAZ:"M8.8 0h-7C.8 0 0 .8 0 1.8v9h1.5v-4H9v3.9h1.5v-9C10.5.8 9.7 0 8.8 0zM1.5 5.4V1.8c0-.1.1-.2.2-.2h7c.2-.1.3 0 .3.2v3.6H1.5zm8.8 17.1V24H1.6c-.4 0-.9-.1-1.1-.4-.3-.3-.5-1 0-1.6l7.2-7.3H0v-1.5h8.5c.4 0 .8.2 1.1.4.5.4.5 1-.1 1.6l-7.2 7.3h8zm8.4-1.3h-.1c-.4 0-.7-.2-.9-.4l-4-4.3c-.1-.1-.2-.3-.2-.5s.1-.4.2-.5c.1-.1.3-.2.5-.2s.4.1.5.2l3.2 3.5V4c0-.4.3-.8.8-.8s.8.3.8.8v14.9l3.2-3.4c.1-.2.3-.2.5-.2s.4.1.5.2c.1.1.2.3.2.5s-.1.4-.2.5l-4 4.3c-.3.3-.6.4-.9.4h-.1z",sortZA:"M8.8 13.2h-7C.8 13.2 0 14 0 15v9h1.5v-3.9H9V24h1.5v-9c0-1-.8-1.8-1.7-1.8zm-7.3 5.4V15c0-.1.1-.2.2-.2h7c.2 0 .3.1.3.2v3.6H1.5zm8.8-9.4v1.5H1.6c-.4 0-.9-.1-1.1-.4-.3-.2-.5-.9 0-1.5l7.2-7.3H0V0h8.5c.4 0 .8.2 1.1.4.5.4.5 1-.1 1.6L2.4 9.2h7.9zm8.4 12h-.1c-.4 0-.7-.2-.9-.4l-4-4.3c-.1-.1-.2-.3-.2-.5s.1-.4.2-.5c.1-.1.3-.2.5-.2s.4.1.5.2l3.2 3.5V4c0-.4.3-.8.8-.8s.8.3.8.8v14.9l3.2-3.4c.1-.2.3-.2.5-.2s.4.1.5.2c.1.1.2.3.2.5s-.1.4-.2.5l-4 4.3c-.3.3-.6.4-.9.4h-.1z"};return s.$$set=z=>{"icon"in z&&c(0,l=z.icon),"size"in z&&c(1,i=z.size)},s.$$.update=()=>{s.$$.dirty&1&&c(2,h=V[l]),s.$$.dirty&5&&(h||console.warn(`There is no icon named %c${l} %cavailable. Not rendering anything.`,"font-weight: bold","font-weight: normal"))},[l,i,h]}class p extends d{constructor(a){super(),u(this,a,C,A,f,{icon:0,size:1})}}export{p as I}; diff --git a/gui/next/build/_app/immutable/chunks/Icon.4ad67fd0.js b/gui/next/build/_app/immutable/chunks/Icon.4ad67fd0.js deleted file mode 100644 index ed24d482..00000000 --- a/gui/next/build/_app/immutable/chunks/Icon.4ad67fd0.js +++ /dev/null @@ -1 +0,0 @@ -import{s as L,e as m,i as H,A as t,d as e,a6 as M,a7 as n,h as o,j as v,u as f}from"./scheduler.bed694a1.js";import{S as d,i as u}from"./index.606d5641.js";function r(s){let a,c;return{c(){a=M("svg"),c=M("path"),this.h()},l(h){a=n(h,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var l=o(a);c=n(l,"path",{d:!0}),o(c).forEach(e),l.forEach(e),this.h()},h(){v(c,"d",s[2]),v(a,"width",s[1]),v(a,"height",s[1]),v(a,"viewBox","0 0 24 24"),v(a,"fill","currentColor"),v(a,"xmlns","http://www.w3.org/2000/svg")},m(h,l){H(h,a,l),f(a,c)},p(h,l){l&4&&v(c,"d",h[2]),l&2&&v(a,"width",h[1]),l&2&&v(a,"height",h[1])},d(h){h&&e(a)}}}function A(s){let a,c=s[0]&&r(s);return{c(){c&&c.c(),a=m()},l(h){c&&c.l(h),a=m()},m(h,l){c&&c.m(h,l),H(h,a,l)},p(h,[l]){h[0]?c?c.p(h,l):(c=r(h),c.c(),c.m(a.parentNode,a)):c&&(c.d(1),c=null)},i:t,o:t,d(h){h&&e(a),c&&c.d(h)}}}function C(s,a,c){let h,{icon:l=!1}=a,{size:i=24}=a;const V={database:"M12 24c-6.841 0-12-2.257-12-5.25V5.251C0 2.258 5.159.001 12 .001s12 2.257 12 5.25V18.75C24 21.743 18.841 24 12 24zM1.5 18.75c0 1.533 3.739 3.75 10.5 3.75s10.5-2.217 10.5-3.75v-4.137c-2.053 1.622-6.023 2.637-10.5 2.637s-8.446-1.016-10.5-2.637v4.137zm0-6.75c0 1.533 3.739 3.75 10.5 3.75S22.5 13.533 22.5 12V7.863C20.446 9.485 16.477 10.5 12 10.5S3.554 9.485 1.5 7.863V12zM12 1.501c-6.761 0-10.5 2.217-10.5 3.75s3.739 3.75 10.5 3.75 10.5-2.217 10.5-3.75-3.739-3.75-10.5-3.75z",users:"M4.5 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3Zm0-4.5C3.67 4.5 3 5.17 3 6s.67 1.5 1.5 1.5S6 6.83 6 6s-.67-1.5-1.5-1.5ZM3 22.5c-.38 0-.7-.28-.74-.66l-.67-5.34H.75c-.41 0-.75-.34-.75-.75V13.5C0 11.02 2.02 9 4.5 9c.41 0 .75.34.75.75s-.34.75-.75.75c-1.65 0-3 1.35-3 3V15h.75c.38 0 .7.28.74.66L3.66 21H6c.41 0 .75.34.75.75s-.34.75-.75.75H3ZM19.5 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3Zm0-4.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5S21 6.83 21 6s-.67-1.5-1.5-1.5Zm-1.5 18c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h2.34l.67-5.34c.05-.38.37-.66.74-.66h.75v-1.5c0-1.65-1.35-3-3-3-.41 0-.75-.34-.75-.75s.34-.75.75-.75c2.48 0 4.5 2.02 4.5 4.5v2.25c0 .41-.34.75-.75.75h-.84l-.67 5.34c-.05.38-.37.66-.74.66h-3Zm-6-15c-2.07 0-3.75-1.68-3.75-3.75S9.93 0 12 0s3.75 1.68 3.75 3.75S14.07 7.5 12 7.5Zm0-6c-1.24 0-2.25 1.01-2.25 2.25S10.76 6 12 6s2.25-1.01 2.25-2.25S13.24 1.5 12 1.5ZM9.75 24a.75.75 0 0 1-.75-.67l-.68-6.83H6.75c-.41 0-.75-.34-.75-.75V13.5c0-3.31 2.69-6 6-6s6 2.69 6 6v2.25c0 .41-.34.75-.75.75h-1.57L15 23.33a.75.75 0 0 1-.75.67h-4.5Zm3.82-1.5.68-6.82c.04-.38.36-.68.75-.68h1.5v-1.5c0-2.48-2.02-4.5-4.5-4.5s-4.5 2.02-4.5 4.5V15H9c.39 0 .71.29.75.68l.68 6.82h3.14Z",log:"m5.25,24c-1.24,0-2.25-1.01-2.25-2.25v-3c0-.41.34-.75.75-.75s.75.34.75.75v3c0,.41.34.75.75.75h13.5c.41,0,.75-.34.75-.75v-3c0-.41.34-.75.75-.75s.75.34.75.75v3c0,1.24-1.01,2.25-2.25,2.25H5.25Zm15-10.5c-.41,0-.75-.34-.75-.75v-7.5c0-.41-.34-.75-.75-.75h-2.25v1.5c0,.83-.67,1.5-1.5,1.5h-6c-.83,0-1.5-.67-1.5-1.5v-1.5h-2.25c-.41,0-.75.34-.75.75v7.5c0,.41-.34.75-.75.75s-.75-.34-.75-.75v-7.5c0-1.24,1.01-2.25,2.25-2.25h2.25c0-.83.67-1.5,1.5-1.5h.31c.52-.92,1.5-1.5,2.56-1.5.04,0,.08,0,.12,0,.04,0,.09,0,.13,0,1.07,0,2.05.58,2.56,1.5h.31c.83,0,1.5.67,1.5,1.5h2.25c1.24,0,2.25,1.01,2.25,2.25v7.5c0,.41-.34.75-.75.75Zm-11.25-7.5h6v-3h-.8c-.32,0-.61-.21-.71-.51-.19-.59-.74-.99-1.37-.99-.03,0-.05,0-.08,0,0,0-.04,0-.04,0-.01,0-.09,0-.11,0-.62,0-1.18.4-1.37.99-.1.31-.39.52-.71.52h-.8v3Zm3.04,13.63c-.17,0-.34-.04-.49-.11-.27-.13-.47-.36-.57-.65l-2.08-5.73-1.37,2.73c-.19.38-.58.62-1.01.62H.75c-.41,0-.75-.34-.75-.75s.34-.75.75-.75h5.54l1.65-3.31c.13-.27.37-.47.65-.56.12-.04.24-.06.36-.06.17,0,.35.04.5.12.26.13.46.35.56.62l2.07,5.69,1.93-4.33c.18-.41.59-.67,1.03-.67.16,0,.31.03.46.1.24.11.43.29.55.52l.94,1.88h6.28c.41,0,.75.34.75.75s-.34.75-.75.75h-6.51c-.43,0-.81-.24-1.01-.62l-.69-1.37-1.98,4.45c-.12.28-.36.51-.67.61-.12.04-.24.06-.36.06Z",backgroundJob:"M23.6 7.3v.3c0 .1-.1.2-.2.3l-3 3c-.2.1-.4.1-.6.1-.2 0-.4-.1-.5-.2-.1-.1-.2-.3-.2-.5s.1-.4.2-.5L21 8H1.2c-.4 0-.8-.4-.8-.8s.3-.9.8-.9H21l-1.7-1.5c-.1-.1-.2-.3-.2-.5s.1-.4.2-.5c.1-.1.3-.2.5-.2s.4.1.5.2l3 3c.1.1.1.2.2.2.1.1.1.2.1.3zM4 10.4c-.4 0-.7.3-.7.7-.1 1.1 0 2.2.3 3.3 0 .4.3.6.7.6h.2c.4-.1.6-.5.5-.9-.2-.9-.3-1.9-.2-2.8 0-.5-.3-.8-.8-.9.1 0 0 0 0 0zm2.6 5.3c-.3 0-.6.2-.7.6-.1.4.2.8.6.9.8.2 1.6.3 2.4.3h.9c.4 0 .7-.4.7-.8s-.4-.7-.7-.7H9c-.7 0-1.4-.1-2.1-.2-.2-.1-.2-.1-.3-.1zm9.8-2.7c-.2 0-.4.1-.5.2-.1.1-.2.3-.2.5s.1.4.2.5l1.7 1.7h-3.4c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h3.4l-1.7 1.7c-.1.1-.2.3-.2.5s.1.4.2.5c.1.1.3.2.5.2s.4-.1.5-.2l3-3c.1-.1.1-.2.2-.2v-.6c0-.1-.1-.2-.2-.3l-3-3c-.2-.1-.3-.1-.5-.1z",constant:"M3 24C1.76 24 .75 22.99.75 21.75V2.25C.75 1.01 1.76 0 3 0h15.05c.59 0 1.15.23 1.57.64l2.95 2.88c.43.42.68 1.01.68 1.61v16.62c0 1.24-1.01 2.25-2.25 2.25H3ZM3 1.5c-.41 0-.75.34-.75.75v19.5c0 .41.34.75.75.75h18c.41 0 .75-.34.75-.75V5.14c0-.2-.08-.4-.23-.54l-2.95-2.88a.734.734 0 0 0-.52-.21H3Zm6.65 16.56c-1.12 0-2.06-.87-2.15-1.99v-1.31c0-.16-.11-.33-.27-.41l-1.61-.92c-.23-.13-.38-.38-.38-.65s.14-.52.38-.65l1.58-.91c.18-.1.29-.26.29-.45V9.48a2.173 2.173 0 0 1 2.15-1.99h.85a.749.749 0 1 1 0 1.5h-.85a.65.65 0 0 0-.65.58v1.21c-.02.74-.43 1.4-1.07 1.74l-.43.25.45.26c.62.33 1.02.98 1.04 1.7v1.23c.04.33.32.58.66.58h.84c.41 0 .75.34.75.75s-.34.75-.75.75h-.85Zm4.69 0h-.85c-.41 0-.75-.34-.75-.75s.34-.75.75-.75H14.34c.34 0 .62-.25.66-.58v-1.21c.02-.74.43-1.4 1.07-1.74l.43-.25-.45-.26c-.62-.33-1.02-.98-1.04-1.71V9.58a.658.658 0 0 0-.65-.58h-.85c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h.85c1.12 0 2.06.87 2.15 1.99v1.31c0 .16.11.33.27.41l1.6.92c.23.13.38.38.38.65s-.14.52-.38.65l-1.58.91c-.18.1-.29.26-.29.45v1.29a2.165 2.165 0 0 1-2.15 1.99Z",graphql:"M21 14.9V9.1c.9-.2 1.6-1.1 1.6-2.1 0-1.2-1-2.1-2.1-2.1-.6 0-1.2.3-1.5.7l-5-2.9c.1-.2.1-.4.1-.6C14.1 1 13.2 0 12 0S9.9 1 9.9 2.1c0 .2 0 .4.1.6L5 5.6c-.4-.4-.9-.7-1.5-.7-1.2 0-2.1 1-2.1 2.1 0 1 .7 1.8 1.6 2.1v5.7c-.9.2-1.6 1.1-1.6 2.1 0 1.2 1 2.1 2.1 2.1.6 0 1.2-.3 1.5-.7l5 2.9c-.1.2-.1.4-.1.6 0 1.2 1 2.1 2.1 2.1s2.1-1 2.1-2.1c0-.2 0-.4-.1-.6l5-2.9c.4.4.9.7 1.5.7 1.2 0 2.1-1 2.1-2.1.1-1-.6-1.8-1.6-2zm-17 0V9.1C4.9 8.9 5.6 8 5.6 7c0-.2 0-.4-.1-.6l5-2.9.1.1L4 14.9zm9.5 5.5c-.4-.4-.9-.7-1.5-.7s-1.2.3-1.5.7l-5-2.9v-.1h12.9v.1l-4.9 2.9zm5-4h-13c-.1-.4-.3-.8-.6-1l6.5-11.2c.2.1.4.1.6.1s.4 0 .6-.1l6.5 11.2c-.3.3-.5.6-.6 1zm1.5-1.5L13.5 3.7l.1-.1 5 2.9c-.1.2-.1.4-.1.6 0 1 .7 1.8 1.6 2.1v5.7z",liquid:"M12 24c-2.3 0-4.4-.9-6.1-2.5-1.7-1.6-2.6-3.8-2.6-6.1v-.3C3.3 8.6 9.7 0 12 0c2.3 0 8.7 8.6 8.7 15.1.1 4.8-3.8 8.8-8.6 8.9H12zm0-22.3C10.5 3 4.8 10 4.8 15.1v.2c.1 3.4 3.8 7.1 7.2 7.1h.1c3.4-.1 7.2-3.9 7.1-7.3C19.2 10 13.5 3 12 1.7zm-1 18.2c-2.1 0-3.8-1.7-3.8-3.8 0-.7.3-1.2.9-1.2s.7.7.7 1.4 1.1 1.8 1.8 1.8 1.1.4 1.1.8c.1.7 0 1-.7 1z",arrowRight:"M12.75 23.25a.752.752 0 0 1-.53-1.281l9.22-9.22H.75a.749.749 0 1 1 0-1.499h20.689l-9.22-9.22A.746.746 0 0 1 12.22.97c.141-.142.33-.22.53-.22s.389.078.53.22l10.5 10.5a.74.74 0 0 1 .163.245l.01.026a.73.73 0 0 1 0 .517l-.006.016a.755.755 0 0 1-.168.257L13.28 23.03a.743.743 0 0 1-.53.22z",arrowLeft:"M11.25 23.25a.743.743 0 0 1-.53-.22L.22 12.53a.74.74 0 0 1-.163-.245l-.01-.026a.75.75 0 0 1 .009-.541.74.74 0 0 1 .166-.249L10.72.97a.744.744 0 0 1 1.06 0c.142.141.22.33.22.53s-.078.389-.22.53l-9.22 9.22h20.69a.75.75 0 0 1 0 1.5H2.561l9.22 9.22a.75.75 0 0 1-.531 1.28z",arrowDown:"M12 18.999c-.4 0-.776-.156-1.059-.438L.22 7.841A.745.745 0 0 1 0 7.31c0-.2.078-.389.22-.53a.744.744 0 0 1 1.06 0L12 17.499 22.72 6.78a.744.744 0 0 1 1.06 0 .744.744 0 0 1 0 1.06L13.06 18.56a1.487 1.487 0 0 1-1.06.439z",search:"M23.245 23.996a.743.743 0 0 1-.53-.22L16.2 17.26a9.824 9.824 0 0 1-2.553 1.579 9.766 9.766 0 0 1-7.51.069 9.745 9.745 0 0 1-5.359-5.262c-1.025-2.412-1.05-5.08-.069-7.51S3.558 1.802 5.97.777a9.744 9.744 0 0 1 7.51-.069 9.745 9.745 0 0 1 5.359 5.262 9.748 9.748 0 0 1 .069 7.51 9.807 9.807 0 0 1-1.649 2.718l6.517 6.518a.75.75 0 0 1-.531 1.28zM9.807 1.49a8.259 8.259 0 0 0-3.25.667 8.26 8.26 0 0 0-4.458 4.54 8.26 8.26 0 0 0 .058 6.362 8.26 8.26 0 0 0 4.54 4.458 8.259 8.259 0 0 0 6.362-.059 8.285 8.285 0 0 0 2.594-1.736.365.365 0 0 1 .077-.076 8.245 8.245 0 0 0 1.786-2.728 8.255 8.255 0 0 0-.059-6.362 8.257 8.257 0 0 0-4.54-4.458 8.28 8.28 0 0 0-3.11-.608z",x:"M19.5 20.25a.743.743 0 0 1-.53-.22L12 13.061l-6.97 6.97a.744.744 0 0 1-1.06 0 .752.752 0 0 1 0-1.061L10.94 12 3.97 5.03c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53c.141-.142.33-.22.53-.22s.389.078.53.22L12 10.94l6.97-6.97a.744.744 0 0 1 1.06 0c.142.141.22.33.22.53s-.078.389-.22.53L13.061 12l6.97 6.97a.75.75 0 0 1-.531 1.28z",plus:"M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z",minus:"M.8 12.8c-.5 0-.8-.4-.8-.8s.3-.8.8-.8h22.5c.4 0 .8.3.8.8s-.3.8-.8.8H.8z",check:"M6.347 24.003a2.95 2.95 0 0 1-2.36-1.187L.15 17.7a.748.748 0 0 1 .6-1.2c.235 0 .459.112.6.3l3.839 5.118a1.442 1.442 0 0 0 1.42.562c.381-.068.712-.281.933-.599L22.636.32a.748.748 0 1 1 1.228.86L8.772 22.739a2.93 2.93 0 0 1-1.9 1.217c-.173.031-.35.047-.525.047z",list:"M8.25 4.498a.75.75 0 0 1 0-1.5h15a.75.75 0 0 1 0 1.5h-15zM8.25 13.498a.75.75 0 0 1 0-1.5h15a.75.75 0 0 1 0 1.5h-15zM8.25 22.498a.75.75 0 0 1 0-1.5h15a.75.75 0 0 1 0 1.5h-15zM1.5 5.998c-.827 0-1.5-.673-1.5-1.5v-3c0-.827.673-1.5 1.5-1.5h3c.827 0 1.5.673 1.5 1.5v3c0 .827-.673 1.5-1.5 1.5h-3zm0-1.5h3v-3h-3v3zM1.5 14.998c-.827 0-1.5-.673-1.5-1.5v-3c0-.827.673-1.5 1.5-1.5h3c.827 0 1.5.673 1.5 1.5v3c0 .827-4.5 1.5-4.5 1.5zm0-1.5h3v-3h-3v3zM1.5 23.998c-.827 0-1.5-.673-1.5-1.5v-3c0-.827.673-1.5 1.5-1.5h3c.827 0 1.5.673 1.5 1.5v3c0 .827-.673 1.5-1.5 1.5h-3zm0-1.5h3v-3h-3v3z",tiles:"M2.25 10.497A2.252 2.252 0 0 1 0 8.247v-6a2.252 2.252 0 0 1 2.25-2.25h6a2.252 2.252 0 0 1 2.25 2.25v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6zM2.25 23.997A2.252 2.252 0 0 1 0 21.747v-6a2.252 2.252 0 0 1 2.25-2.25h6a2.252 2.252 0 0 1 2.25 2.25v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6zM15.75 10.497a2.252 2.252 0 0 1-2.25-2.25v-6a2.252 2.252 0 0 1 2.25-2.25h6A2.252 2.252 0 0 1 24 2.247v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6zM15.75 23.997a2.252 2.252 0 0 1-2.25-2.25v-6a2.252 2.252 0 0 1 2.25-2.25h6a2.252 2.252 0 0 1 2.25 2.25v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6z",pencil:"M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275-1.129 4.406zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344l4.077 4.07zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762l4.071 4.07z",expand:"M23.25 7.498a.75.75 0 0 1-.75-.75V2.559l-3.97 3.97a.746.746 0 0 1-1.06-.001c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53l3.97-3.97h-4.19a.75.75 0 0 1 0-1.5h6a.735.735 0 0 1 .293.06.75.75 0 0 1 .4.404l.01.026c.03.082.047.17.047.26v6a.75.75 0 0 1-.75.75zM.75 23.998a.755.755 0 0 1-.26-.047l-.022-.008A.754.754 0 0 1 0 23.248v-6a.75.75 0 0 1 1.5 0v4.189l3.97-3.97a.744.744 0 0 1 1.06 0 .752.752 0 0 1 0 1.061l-3.97 3.97h4.19a.75.75 0 0 1 0 1.5h-6zM.75 7.498a.75.75 0 0 1-.75-.75v-6A.74.74 0 0 1 .048.487L.055.466a.754.754 0 0 1 .41-.411L.49.045a.737.737 0 0 1 .26-.047h6a.75.75 0 0 1 0 1.5H2.561l3.97 3.97c.142.141.22.33.22.53s-.078.389-.22.53a.747.747 0 0 1-1.061 0L1.5 2.559v4.189a.75.75 0 0 1-.75.75zM17.25 23.998a.75.75 0 0 1 0-1.5h4.189l-3.97-3.97a.752.752 0 0 1 .53-1.281c.2 0 .389.078.53.22l3.97 3.97v-4.189a.75.75 0 0 1 1.501 0v6a.767.767 0 0 1-.046.258l-.006.017a.763.763 0 0 1-.412.419l-.026.01a.73.73 0 0 1-.259.047H17.25zM9 16.498c-.827 0-1.5-.673-1.5-1.5v-6c0-.827.673-1.5 1.5-1.5h6c.827 0 1.5.673 1.5 1.5v6c0 .827-.673 1.5-1.5 1.5H9zm0-1.5h6v-6H9v6z",collapse:"M17.25 7.498a.735.735 0 0 1-.261-.048l-.032-.012a.75.75 0 0 1-.4-.404l-.01-.026a.739.739 0 0 1-.047-.26v-6a.75.75 0 0 1 1.5 0v4.189l4.72-4.72a.744.744 0 0 1 1.06 0 .747.747 0 0 1 0 1.061l-4.72 4.72h4.189a.75.75 0 0 1 0 1.5H17.25zM6.75 23.998a.75.75 0 0 1-.75-.75v-4.189l-4.72 4.72a.744.744 0 0 1-1.06 0 .752.752 0 0 1 0-1.061l4.72-4.72H.75a.75.75 0 0 1 0-1.5h6c.088 0 .175.016.26.047l.022.008a.756.756 0 0 1 .468.695v6a.75.75 0 0 1-.75.75zM23.25 23.998a.743.743 0 0 1-.53-.22L18 19.059v4.189a.75.75 0 0 1-1.5 0v-6c0-.087.016-.174.046-.258l.006-.017a.763.763 0 0 1 .412-.419l.026-.01a.733.733 0 0 1 .259-.047h6a.75.75 0 0 1 0 1.5H19.06l4.72 4.72a.752.752 0 0 1-.53 1.281zM.75 7.498a.75.75 0 0 1 0-1.5h4.189l-4.72-4.72A.746.746 0 0 1 .22.218c.141-.142.33-.22.53-.22s.389.078.53.22L6 4.938V.748a.75.75 0 0 1 1.5 0v6a.735.735 0 0 1-.048.261l-.007.021a.76.76 0 0 1-.695.468h-6zM9 16.498c-.827 0-1.5-.673-1.5-1.5v-6c0-.827.673-1.5 1.5-1.5h6c.827 0 1.5.673 1.5 1.5v6c0 .827-.673 1.5-1.5 1.5H9zm0-1.5h6v-6H9v6z",eye:"M11.8 19.5c-4.3 0-8.6-3-11.2-5.9-.8-.9-.8-2.3 0-3.2 2.6-2.8 6.9-5.9 11.2-5.9h.4c4.3 0 8.6 3 11.2 5.9.8.9.8 2.3 0 3.2-2.6 2.8-6.9 5.9-11.2 5.9h-.4zM11.9 6C8 6 4.1 8.8 1.7 11.4c-.3.3-.3.9 0 1.2C4.1 15.2 8 18 11.9 18h.2c3.9 0 7.8-2.8 10.1-5.4.3-.3.3-.9 0-1.2C19.9 8.8 16 6 12.1 6h-.2zm.1 10.5c-1.2 0-2.3-.5-3.2-1.3s-1.3-2-1.3-3.2c0-2.5 2-4.5 4.5-4.5 1.2 0 2.3.5 3.2 1.3.8.9 1.3 2 1.3 3.2 0 1.2-.5 2.3-1.3 3.2-.9.8-2 1.3-3.2 1.3zM12 9c-1.7 0-3 1.3-3 3 0 .8.3 1.6.9 2.1.6.6 1.3.9 2.1.9s1.6-.3 2.1-.9.9-1.3.9-2.1-.3-1.6-.9-2.1c-.5-.6-1.3-.9-2.1-.9z",eyeStriked:"M2.8 21.8c-.2 0-.4-.1-.5-.2-.2-.2-.3-.4-.3-.6 0-.2.1-.4.2-.5L21 2.5c.1-.1.3-.2.5-.2s.4.1.5.2c.1.1.2.3.2.5s-.1.4-.2.5l-18.8 18c0 .2-.2.3-.4.3zm9.2-1.6h-.1c-1 0-2.1-.2-3.1-.5-.4-.1-.6-.5-.5-.9.1-.3.4-.5.7-.5h.2c.9.3 1.8.4 2.7.4h.2c3.9 0 7.8-2.8 10.1-5.4.3-.3.3-.9 0-1.2-.9-1-1.9-1.9-3-2.7-.1 0-.2-.2-.2-.4s0-.4.1-.6c.1-.2.4-.3.6-.3.2 0 .3.1.4.1 1.2.8 2.2 1.8 3.2 2.9.8.9.8 2.3 0 3.2-2.6 2.8-6.9 5.9-11.2 5.9H12zM3.8 17c-.2 0-.3-.1-.5-.2-1-.7-1.9-1.6-2.7-2.5-.8-.9-.8-2.3 0-3.2 2.6-2.8 6.9-5.9 11.2-5.9h.2c.8 0 1.7.1 2.5.3.4.1.6.5.5.9.1.4-.2.6-.6.6h-.2c-.7-.2-1.4-.3-2.1-.3h-.2C8 6.8 4.1 9.5 1.7 12.1c-.3.3-.3.9 0 1.2.8.8 1.6 1.6 2.5 2.3.2.1.3.3.3.5s0 .4-.2.6c-.1.2-.3.3-.5.3zm4.4-3.5c-.4 0-.8-.3-.8-.8 0-1.2.5-2.3 1.3-3.2s2-1.3 3.2-1.3c.2 0 .4.2.4.4v.8c0 .1 0 .2-.1.3s-.1.1-.2.1c-.8 0-1.6.3-2.1.9-.6.5-.9 1.2-.9 2.1 0 .2-.1.4-.2.5-.2.1-.4.2-.6.2zm3.8 3.7c-.2 0-.4-.2-.4-.4V16c0-.1 0-.2.1-.3.1-.1.2-.1.3-.1.8 0 1.6-.3 2.1-.9.6-.6.9-1.3.9-2.1 0-.4.3-.8.8-.8s.8.3.8.8c0 1.2-.5 2.3-1.3 3.2-1 1-2.1 1.4-3.3 1.4z",book:"M12 23.999a.755.755 0 0 1-.548-.238c-.017-.017-2.491-2.398-10.212-2.494A1.26 1.26 0 0 1 0 20.025V4.249c0-.334.137-.659.375-.892.242-.232.557-.358.89-.358 5.718.073 8.778 1.302 10.258 2.199a6.773 6.773 0 0 1 1.572-2.664A8.513 8.513 0 0 1 17.071.055a1.346 1.346 0 0 1 1.1.153c.353.218.57.6.579 1.02v2.053A31.709 31.709 0 0 1 22.727 3 1.259 1.259 0 0 1 24 4.245v15.772a1.265 1.265 0 0 1-1.243 1.25c-7.724.096-10.193 2.478-10.217 2.502l-.031.03a.742.742 0 0 1-.509.2zM1.5 19.771c5.263.097 8.233 1.194 9.75 2.037V6.826c-.72-.546-3.417-2.201-9.75-2.323v15.268zm17.25-2.926a.751.751 0 0 1-.598.734 7.44 7.44 0 0 0-3.967 2.238 5.3 5.3 0 0 0-1.15 1.838c1.58-.81 4.502-1.794 9.464-1.885V4.502a30.64 30.64 0 0 0-3.75.292v12.051zm-6 2.334c.11-.135.225-.266.345-.39a8.92 8.92 0 0 1 4.155-2.533V1.569a7.055 7.055 0 0 0-3.057 1.986 5.343 5.343 0 0 0-1.443 2.997v12.627z",serverSettings:"M5.3 4.1c.6 0 1.1.5 1.1 1.1s-.5 1.2-1.1 1.2-1.2-.5-1.2-1.1.5-1.2 1.2-1.2zm0 9c.6 0 1.1.5 1.1 1.1s-.5 1.1-1.1 1.1-1.1-.5-1.1-1.1.4-1.1 1.1-1.1zm0 6.4c-2.9 0-5.2-2.4-5.2-5.2 0-1.9 1-3.6 2.5-4.5C1 8.8 0 7.1 0 5.3 0 2.4 2.4 0 5.3 0h12c1.4 0 2.7.5 3.7 1.5s1.5 2.3 1.5 3.7c0 1.3-.5 2.5-1.3 3.5-.1.2-.3.3-.6.3-.2 0-.4-.1-.5-.2-.2-.1-.2-.3-.3-.5s.1-.4.2-.5c.7-.8 1-1.6 1-2.6s-.4-1.9-1.1-2.7c-.7-.7-1.6-1.1-2.7-1.1h-12c-2.1 0-3.8 1.7-3.8 3.8S3.2 9 5.3 9h7.4c.4 0 .8.3.8.8s-.3.8-.8.8H5.3c-2.1 0-3.8 1.7-3.8 3.8S3.2 18 5.3 18h3c.4 0 .7.3.7.8s-.3.8-.8.8l-2.9-.1zM10.5 6c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h6.7c.4 0 .8.3.8.8s-.3.8-.7.8h-6.8zm6.8 12.8c-1.2 0-2.2-1-2.2-2.2s1-2.2 2.2-2.2 2.2 1 2.2 2.2-1 2.2-2.2 2.2zm0-3c-.4 0-.8.3-.8.7s.3.8.8.8.8-.3.8-.8-.4-.7-.8-.7zm0 8.2c-.2 0-.4 0-.6-.1-.7-.2-1.2-.7-1.4-1.4l-.4-1.4c0-.1-.1-.2-.2-.2h-.1l-1.5.3c-.2 0-.3.1-.5.1-.4 0-.8-.1-1.1-.3-.5-.3-.8-.8-.9-1.3-.2-.7 0-1.4.5-1.9l1-1.1c.1-.1.1-.2 0-.3l-1-1.1c-.4-.4-.6-.9-.6-1.5s.3-1.1.7-1.5c.4-.4.9-.6 1.4-.6.2 0 .3 0 .5.1l1.5.3h.1c.1 0 .2-.1.2-.2l.4-1.5c.2-.5.5-1 1-1.2.3-.2.6-.2 1-.2.2 0 .4 0 .6.1.7.2 1.2.7 1.4 1.4l.4 1.4c0 .1.1.2.2.2h.1l1.5-.3c.2 0 .3-.1.5-.1.4 0 .8.1 1.1.3.5.3.8.8.9 1.3.2.7 0 1.4-.5 1.9l-1 1.1c-.1.1-.1.2 0 .3l1 1.1c.4.4.6.9.6 1.5s-.3 1.1-.7 1.5c-.4.4-.9.6-1.4.6-.2 0-.3 0-.5-.1l-1.5-.3h-.1c-.1 0-.2.1-.2.2l-.4 1.4c-.2.5-.5 1-1 1.2-.4.2-.7.3-1 .3zm-2.7-4.6c.8 0 1.4.5 1.7 1.2l.4 1.5c.1.2.2.3.4.4h.2c.1 0 .2 0 .3-.1l.3-.3.4-1.5c.2-.7.9-1.2 1.7-1.2h.4l1.5.3h.1c.1 0 .3-.1.4-.2.1-.1.2-.3.2-.4 0-.2-.1-.3-.2-.4l-1-1.1c-.6-.7-.6-1.7 0-2.4l1-1.1c.1-.1.2-.3.1-.5-.1-.3-.3-.5-.6-.5h-.1l-1.5.3h-.4c-.8 0-1.4-.5-1.7-1.2l-.4-1.5c-.1-.2-.2-.3-.4-.4h-.2c-.1 0-.2 0-.3.1l-.3.3-.4 1.5c-.2.7-.9 1.2-1.7 1.2h-.4l-1.5-.3h-.1c-.1 0-.3.1-.4.2-.1.1-.2.3-.2.4 0 .2.1.3.2.4l1 1.1c.6.7.6 1.7 0 2.4l-1 1.1c-.1.2-.1.4-.1.6 0 .2.1.3.3.4.1.1.2.1.3.1h.1l1.5-.3c.1-.1.3-.1.4-.1z",pin:"M.75 23.999a.743.743 0 0 1-.53-.22c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53l7.474-7.474-3.575-3.575a2.248 2.248 0 0 1-.588-2.16c.151-.582.52-1.07 1.039-1.374a8.266 8.266 0 0 1 5.564-1.002l3.877-6.094c.089-.139.192-.268.308-.383.424-.425.989-.659 1.59-.659s1.166.234 1.591.659L23.343 6.5a2.236 2.236 0 0 1 .605 2.079 2.238 2.238 0 0 1-.988 1.41l-6.092 3.877a8.257 8.257 0 0 1-1 5.562 2.234 2.234 0 0 1-1.942 1.114 2.239 2.239 0 0 1-1.593-.661l-3.576-3.577L1.28 23.78a.746.746 0 0 1-.53.219zM8.72 8.513c-1.186 0-2.36.318-3.394.919a.746.746 0 0 0-.148 1.175l8.214 8.214c.142.142.331.22.532.22a.743.743 0 0 0 .646-.369 6.737 6.737 0 0 0 .728-4.985.75.75 0 0 1 .326-.808l6.529-4.155a.748.748 0 0 0 .128-1.163L16.44 1.718a.745.745 0 0 0-.531-.22.743.743 0 0 0-.633.348l-4.155 6.53a.746.746 0 0 1-.808.326 6.809 6.809 0 0 0-1.593-.189z",pinFilled:"M.8 24c-.2 0-.4-.1-.5-.2-.2-.2-.3-.4-.3-.6s.1-.4.2-.5l7.5-7.5-3.6-3.6c-.1-.1-.3-.3-.4-.5-.3-.5-.4-1.1-.2-1.7.2-.6.5-1.1 1-1.4 1.3-.6 2.8-1 4.2-1 .5 0 .9 0 1.4.1L14 1c.1-.1.2-.3.3-.4.4-.4 1-.7 1.6-.7s1.2.2 1.6.7l5.8 5.8c.1.1.2.2.3.4.4.6.5 1.2.3 1.8-.1.6-.5 1.1-1 1.4l-6.1 3.9c.3 1.9 0 3.9-1 5.6-.1.2-.2.3-.4.5-.4.4-1 .7-1.6.7-.6 0-1.2-.2-1.6-.7l-3.6-3.6-7.5 7.5s-.2.1-.3.1z",trash:"M6.6 23.2c-1.2 0-2.1-.9-2.2-2.1L3.1 5.2H1.5c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h6V3c0-1.2 1-2.2 2.2-2.2h4.5c1.2 0 2.2 1 2.2 2.2v.8h6c.4 0 .8.3.8.8s-.3.8-.8.8h-1.6l-1.3 15.9c-.1 1.2-1.1 2.1-2.2 2.1H6.6zm-.7-2.1c0 .4.4.7.7.7h10.7c.4 0 .7-.3.7-.7l1.3-15.8H4.6l1.3 15.8zM15 3.8V3c0-.4-.3-.8-.8-.8H9.8c-.5 0-.8.4-.8.8v.8h6zM9.8 18c-.5 0-.8-.3-.8-.8V9.8c0-.5.3-.8.8-.8s.8.3.8.8v7.5c-.1.4-.4.7-.8.7zm4.4 0c-.4 0-.8-.3-.8-.8V9.8c0-.4.3-.8.8-.8s.8.3.8.8v7.5c0 .4-.3.7-.8.7z",navigationMenuVertical:"M11.987 24.003c-1.861 0-3.375-1.514-3.375-3.375s1.514-3.375 3.375-3.375 3.375 1.514 3.375 3.375-1.514 3.375-3.375 3.375zm0-5.25c-1.034 0-1.875.841-1.875 1.875s.841 1.875 1.875 1.875 1.875-.841 1.875-1.875-.841-1.875-1.875-1.875zM11.987 6.753c-1.861 0-3.375-1.514-3.375-3.375S10.126.003 11.987.003s3.375 1.514 3.375 3.375-1.514 3.375-3.375 3.375zm0-5.25c-1.034 0-1.875.841-1.875 1.875s.841 1.875 1.875 1.875 1.875-.841 1.875-1.875-.841-1.875-1.875-1.875zM11.987 15.378a3.379 3.379 0 0 1-3.375-3.375c0-1.861 1.514-3.375 3.375-3.375s3.375 1.514 3.375 3.375a3.379 3.379 0 0 1-3.375 3.375zm0-5.25c-1.034 0-1.875.841-1.875 1.875s.841 1.875 1.875 1.875 1.875-.841 1.875-1.875-.841-1.875-1.875-1.875z",copy:"M4.5 24a2.252 2.252 0 0 1-2.25-2.25V8.25A2.252 2.252 0 0 1 4.5 6h2.25V2.25A2.252 2.252 0 0 1 9 0h7.629c.601 0 1.165.234 1.59.658l2.872 2.872c.425.425.659.99.659 1.59v10.63A2.252 2.252 0 0 1 19.5 18h-2.25v3.75A2.252 2.252 0 0 1 15 24H4.5zm0-16.5a.75.75 0 0 0-.75.75v13.5c0 .414.336.75.75.75H15a.75.75 0 0 0 .75-.75V11.121c0-.197-.08-.39-.219-.53l-2.872-2.872a.748.748 0 0 0-.53-.219H4.5zm15 9a.75.75 0 0 0 .75-.75V5.121c0-.197-.08-.39-.219-.53l-2.872-2.872a.748.748 0 0 0-.53-.219H9a.75.75 0 0 0-.75.75V6h3.879c.6 0 1.165.234 1.59.658l2.872 2.872c.425.425.659.99.659 1.59v5.38h2.25z",refresh:"M12.723 22.497c-1.385 0-2.737-.271-4.019-.804a.747.747 0 0 1-.404-.98.748.748 0 0 1 .98-.405 8.924 8.924 0 0 0 3.445.689 8.935 8.935 0 0 0 6.204-2.489 8.91 8.91 0 0 0 2.762-6.283 8.911 8.911 0 0 0-2.482-6.399 8.892 8.892 0 0 0-6.483-2.765 8.921 8.921 0 0 0-6.199 2.485 8.937 8.937 0 0 0-2.746 5.833c-.14 2 .375 3.948 1.462 5.589v-2.72a.75.75 0 0 1 1.5 0v4.5a.75.75 0 0 1-.75.75h-.238a.364.364 0 0 1-.096 0H1.493a.75.75 0 0 1 0-1.5h2.636a10.467 10.467 0 0 1-1.822-6.964l.007-.076.019-.197.006-.045A10.54 10.54 0 0 1 5.497 4.42a10.465 10.465 0 0 1 7.264-2.913c1.385 0 2.738.269 4.019.8a.74.74 0 0 1 .26.18 10.382 10.382 0 0 1 3.253 2.301c3.991 4.171 3.844 10.812-.327 14.803a10.43 10.43 0 0 1-7.241 2.905h-.002z",resizeHorizontal:"M5.2 2.3c0-.4.3-.8.8-.8s.8.3.8.8v19.5c0 .4-.3.8-.8.8s-.8-.3-.8-.8V2.3zm6 0c0-.4.3-.8.8-.8s.8.3.8.8v19.5c0 .4-.3.8-.8.8s-.8-.3-.8-.8V2.3zm6 0c0-.4.3-.8.8-.8s.8.3.8.8v19.5c0 .4-.3.8-.8.8s-.8-.3-.8-.8V2.3z",info:"M14.6 23.5c-2.4 0-4.3-1.9-4.3-4.3v-8.5H8.2c-.6 0-1.1-.5-1.1-1.1s.5-1.1 1.1-1.1h1.6c1.5 0 2.7 1.2 2.7 2.7v8c0 1.2.9 2.1 2.1 2.1h1.6c.6 0 1.1.5 1.1 1.1s-.5 1.1-1.1 1.1h-1.6zm-4-19.2c-1 0-1.9-.9-1.9-1.9S9.6.5 10.6.5s1.9.9 1.9 1.9-.9 1.9-1.9 1.9z",sortAZ:"M8.8 0h-7C.8 0 0 .8 0 1.8v9h1.5v-4H9v3.9h1.5v-9C10.5.8 9.7 0 8.8 0zM1.5 5.4V1.8c0-.1.1-.2.2-.2h7c.2-.1.3 0 .3.2v3.6H1.5zm8.8 17.1V24H1.6c-.4 0-.9-.1-1.1-.4-.3-.3-.5-1 0-1.6l7.2-7.3H0v-1.5h8.5c.4 0 .8.2 1.1.4.5.4.5 1-.1 1.6l-7.2 7.3h8zm8.4-1.3h-.1c-.4 0-.7-.2-.9-.4l-4-4.3c-.1-.1-.2-.3-.2-.5s.1-.4.2-.5c.1-.1.3-.2.5-.2s.4.1.5.2l3.2 3.5V4c0-.4.3-.8.8-.8s.8.3.8.8v14.9l3.2-3.4c.1-.2.3-.2.5-.2s.4.1.5.2c.1.1.2.3.2.5s-.1.4-.2.5l-4 4.3c-.3.3-.6.4-.9.4h-.1z",sortZA:"M8.8 13.2h-7C.8 13.2 0 14 0 15v9h1.5v-3.9H9V24h1.5v-9c0-1-.8-1.8-1.7-1.8zm-7.3 5.4V15c0-.1.1-.2.2-.2h7c.2 0 .3.1.3.2v3.6H1.5zm8.8-9.4v1.5H1.6c-.4 0-.9-.1-1.1-.4-.3-.2-.5-.9 0-1.5l7.2-7.3H0V0h8.5c.4 0 .8.2 1.1.4.5.4.5 1-.1 1.6L2.4 9.2h7.9zm8.4 12h-.1c-.4 0-.7-.2-.9-.4l-4-4.3c-.1-.1-.2-.3-.2-.5s.1-.4.2-.5c.1-.1.3-.2.5-.2s.4.1.5.2l3.2 3.5V4c0-.4.3-.8.8-.8s.8.3.8.8v14.9l3.2-3.4c.1-.2.3-.2.5-.2s.4.1.5.2c.1.1.2.3.2.5s-.1.4-.2.5l-4 4.3c-.3.3-.6.4-.9.4h-.1z"};return s.$$set=z=>{"icon"in z&&c(0,l=z.icon),"size"in z&&c(1,i=z.size)},s.$$.update=()=>{s.$$.dirty&1&&c(2,h=V[l]),s.$$.dirty&5&&(h||console.warn(`There is no icon named %c${l} %cavailable. Not rendering anything.`,"font-weight: bold","font-weight: normal"))},[l,i,h]}class p extends d{constructor(a){super(),u(this,a,C,A,L,{icon:0,size:1})}}export{p as I}; diff --git a/gui/next/build/_app/immutable/chunks/JSONTree.45966d99.js b/gui/next/build/_app/immutable/chunks/JSONTree.45966d99.js deleted file mode 100644 index 71eb2b7e..00000000 --- a/gui/next/build/_app/immutable/chunks/JSONTree.45966d99.js +++ /dev/null @@ -1,2 +0,0 @@ -import{a1 as xe,a2 as et,s as L,e as T,i as d,A as K,d as c,v as x,f as b,l as k,g as w,h as N,m as y,j as v,w as H,u as g,x as ne,a3 as Ve,z as ee,D as Q,E as X,F as Y,G as Z,o as tt,a as z,c as D,a4 as Ge,N as _e,r as le,n as O,W as pe,q as me,a5 as nt,k as G}from"./scheduler.bed694a1.js";import{S as F,i as J,a as m,t as $,b as j,d as P,m as E,g as R,c as q,e as A}from"./index.606d5641.js";import{e as te}from"./each.177d9825.js";import{w as ue,r as st}from"./index.95c2a168.js";function he(r,t){const s={},e={},n={$$scope:1};let l=r.length;for(;l--;){const a=r[l],i=t[l];if(i){for(const o in a)o in i||(e[o]=1);for(const o in i)n[o]||(s[o]=i[o],n[o]=1);r[l]=i}else for(const o in a)n[o]=1}for(const a in e)a in s||(s[a]=void 0);return s}function $e(r){return typeof r=="object"&&r!==null?r:{}}const de={};function U(r,t){const s=xe(de),e=typeof r=="function"?r(s):r,n={...s,...e};return t!=null&&t.expandable&&(n.isParentExpanded=n.expanded),et(de,n),s}function ge(r){let t,s,e="▶",n,l,a;return{c(){t=b("span"),s=b("span"),n=k(e),this.h()},l(i){t=w(i,"SPAN",{class:!0});var o=N(t);s=w(o,"SPAN",{class:!0});var f=N(s);n=y(f,e),f.forEach(c),o.forEach(c),this.h()},h(){v(s,"class","arrow svelte-1qd6nto"),H(s,"expanded",r[2]),v(t,"class","container svelte-1qd6nto")},m(i,o){d(i,t,o),g(t,s),g(s,n),l||(a=ne(t,"click",r[4]),l=!0)},p(i,o){o&4&&H(s,"expanded",i[2])},d(i){i&&c(t),l=!1,a()}}}function lt(r){let t,s=r[1]&&ge(r);return{c(){s&&s.c(),t=T()},l(e){s&&s.l(e),t=T()},m(e,n){s&&s.m(e,n),d(e,t,n)},p(e,[n]){e[1]?s?s.p(e,n):(s=ge(e),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:K,o:K,d(e){e&&c(t),s&&s.d(e)}}}function rt(r,t,s){let e,n,l=K,a=()=>(l(),l=Ve(f,_=>s(2,n=_)),f);r.$$.on_destroy.push(()=>l());const{expanded:i,expandable:o}=U();x(r,o,_=>s(1,e=_));let{expanded:f=i}=t;a();const u=_=>{_.stopPropagation(),ee(f,n=!n,n)};return r.$$set=_=>{"expanded"in _&&a(s(0,f=_.expanded))},[f,e,n,o,u]}class ze extends F{constructor(t){super(),J(this,t,rt,lt,L,{expanded:0})}}function at(r){let t;const s=r[1].default,e=Q(s,r,r[0],null);return{c(){e&&e.c()},l(n){e&&e.l(n)},m(n,l){e&&e.m(n,l),t=!0},p(n,[l]){e&&e.p&&(!t||l&1)&&X(e,s,n,n[0],t?Z(s,n[0],l,null):Y(n[0]),null)},i(n){t||(m(e,n),t=!0)},o(n){$(e,n),t=!1},d(n){e&&e.d(n)}}}function ot(r,t,s){let{$$slots:e={},$$scope:n}=t;return U({displayMode:"summary"}),r.$$set=l=>{"$$scope"in l&&s(0,n=l.$$scope)},[n,e]}class it extends F{constructor(t){super(),J(this,t,ot,at,L,{})}}function ft(r){let t;const s=r[3].default,e=Q(s,r,r[2],null);return{c(){e&&e.c()},l(n){e&&e.l(n)},m(n,l){e&&e.m(n,l),t=!0},p(n,[l]){e&&e.p&&(!t||l&4)&&X(e,s,n,n[2],t?Z(s,n[2],l,null):Y(n[2]),null)},i(n){t||(m(e,n),t=!0)},o(n){$(e,n),t=!1},d(n){e&&e.d(n)}}}function ut(r,t,s){let{$$slots:e={},$$scope:n}=t,{expanded:l}=t,{key:a}=t;const i=ue(!1);return U(({keyPath:o,level:f})=>(a!=="[[Entries]]"&&(o=[...o,a],f=f+1),{keyPath:o,level:f,expanded:l,expandable:i})),r.$$set=o=>{"expanded"in o&&s(0,l=o.expanded),"key"in o&&s(1,a=o.key),"$$scope"in o&&s(2,n=o.$$scope)},[l,a,n,e]}class De extends F{constructor(t){super(),J(this,t,ut,ft,L,{expanded:0,key:1})}}function ve(r,t,s){const e=r.slice();return e[19]=t[s],e[21]=s,e}const ct=r=>({key:r&1}),ke=r=>({key:r[19],index:r[21]}),_t=r=>({key:r&1}),ye=r=>({key:r[19],index:r[21]}),pt=r=>({}),be=r=>({root:r[6]}),mt=r=>({}),we=r=>({});function ht(r){let t,s,e,n,l,a,i,o,f=r[6]&&dt(r);e=new it({props:{$$slots:{default:[gt]},$$scope:{ctx:r}}});let u=r[4]&&Se(r);return{c(){t=b("span"),f&&f.c(),s=z(),j(e.$$.fragment),n=z(),u&&u.c(),l=T(),this.h()},l(_){t=w(_,"SPAN",{class:!0});var p=N(t);f&&f.l(p),s=D(p),P(e.$$.fragment,p),p.forEach(c),n=D(_),u&&u.l(_),l=T(),this.h()},h(){v(t,"class","root svelte-19drypg")},m(_,p){d(_,t,p),f&&f.m(t,null),g(t,s),E(e,t,null),d(_,n,p),u&&u.m(_,p),d(_,l,p),a=!0,i||(o=ne(t,"click",r[9]),i=!0)},p(_,p){_[6]&&f.p(_,p);const h={};p&8192&&(h.$$scope={dirty:p,ctx:_}),e.$set(h),_[4]?u?(u.p(_,p),p&16&&m(u,1)):(u=Se(_),u.c(),m(u,1),u.m(l.parentNode,l)):u&&(R(),$(u,1,1,()=>{u=null}),q())},i(_){a||(m(f),m(e.$$.fragment,_),m(u),a=!0)},o(_){$(f),$(e.$$.fragment,_),$(u),a=!1},d(_){_&&(c(t),c(n),c(l)),f&&f.d(),A(e),u&&u.d(_),i=!1,o()}}}function $t(r){let t;const s=r[11].summary,e=Q(s,r,r[13],we);return{c(){e&&e.c()},l(n){e&&e.l(n)},m(n,l){e&&e.m(n,l),t=!0},p(n,l){e&&e.p&&(!t||l&8192)&&X(e,s,n,n[13],t?Z(s,n[13],l,mt):Y(n[13]),we)},i(n){t||(m(e,n),t=!0)},o(n){$(e,n),t=!1},d(n){e&&e.d(n)}}}function dt(r){let t,s;return t=new ze({props:{expanded:r[7]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p:K,i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function gt(r){let t;const s=r[11].preview,e=Q(s,r,r[13],be);return{c(){e&&e.c()},l(n){e&&e.l(n)},m(n,l){e&&e.m(n,l),t=!0},p(n,l){e&&e.p&&(!t||l&8192)&&X(e,s,n,n[13],t?Z(s,n[13],l,pt):Y(n[13]),be)},i(n){t||(m(e,n),t=!0)},o(n){$(e,n),t=!1},d(n){e&&e.d(n)}}}function Se(r){let t,s,e,n,l=te(r[0]),a=[];for(let o=0;o$(a[o],1,1,()=>{a[o]=null});return{c(){t=b("ul");for(let o=0;o{};function bt(r,t,s){let e,n,l,{$$slots:a={},$$scope:i}=t,{keys:o}=t,{shouldShowColon:f=void 0}=t,{expandKey:u=I=>I}=t,{defaultExpanded:_=!1}=t;const{isParentExpanded:p,displayMode:h,root:S,expanded:C,expandable:V,keyPath:We,level:He,shouldExpandNode:Qe}=U({root:!1},{expandable:!0});if(x(r,C,I=>s(4,n=I)),x(r,V,I=>s(14,l=I)),ee(V,l=!0,l),h!=="summary"){if(!_){const I=Qe({keyPath:We,level:He});I!==void 0&&(_=I)}tt(()=>p.subscribe(I=>{I?C.set(_):C.set(!1)}))}function Xe(){ee(C,n=!n,n)}const Ye=I=>e[I].update(Ze=>!Ze);return r.$$set=I=>{"keys"in I&&s(0,o=I.keys),"shouldShowColon"in I&&s(1,f=I.shouldShowColon),"expandKey"in I&&s(2,u=I.expandKey),"defaultExpanded"in I&&s(10,_=I.defaultExpanded),"$$scope"in I&&s(13,i=I.$$scope)},r.$$.update=()=>{r.$$.dirty&1&&s(3,e=o.map(()=>ue(!1)))},[o,f,u,e,n,h,S,C,V,Xe,_,a,Ye,i]}class B extends F{constructor(t){super(),J(this,t,bt,kt,L,{keys:0,shouldShowColon:1,expandKey:2,defaultExpanded:10})}}function Ee(r,t,s){const e=r.slice();return e[9]=t[s],e[11]=s,e}const wt=r=>({item:r&1}),Ae=r=>({item:r[9],index:r[11]});function Pe(r){let t,s,e,n,l,a=r[3]&&Oe(r),i=te(r[0]),o=[];for(let p=0;p$(o[p],1,1,()=>{o[p]=null});let u=r[1]&&Ie(),_=r[4]&&Le(r);return{c(){a&&a.c(),t=z();for(let p=0;p{e=null}),q())},i(n){s||(m(e),s=!0)},o(n){$(e),s=!1},d(n){n&&c(t),e&&e.d(n)}}}function Nt(r,t,s){let{$$slots:e={},$$scope:n}=t,{list:l}=t,{hasMore:a}=t,{label:i=void 0}=t,{prefix:o=void 0}=t,{postfix:f=void 0}=t,{root:u=!1}=t;const{showPreview:_}=U();return r.$$set=p=>{"list"in p&&s(0,l=p.list),"hasMore"in p&&s(1,a=p.hasMore),"label"in p&&s(2,i=p.label),"prefix"in p&&s(3,o=p.prefix),"postfix"in p&&s(4,f=p.postfix),"root"in p&&s(5,u=p.root),"$$scope"in p&&s(7,n=p.$$scope)},[l,a,i,o,f,u,_,n,e]}class se extends F{constructor(t){super(),J(this,t,Nt,St,L,{list:0,hasMore:1,label:2,prefix:3,postfix:4,root:5})}}function jt(r){let t,s=(r[1]??"{…}")+"",e;return{c(){t=b("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var l=N(t);e=y(l,s),l.forEach(c),this.h()},h(){v(t,"class","label")},m(n,l){d(n,t,l),g(t,e)},p(n,l){l&2&&s!==(s=(n[1]??"{…}")+"")&&O(e,s)},d(n){n&&c(t)}}}function Et(r){let t,s=r[6]+"",e,n,l=": ",a,i,o;return i=new M({props:{value:r[0][r[6]]}}),{c(){t=b("span"),e=k(s),n=b("span"),a=k(l),j(i.$$.fragment),this.h()},l(f){t=w(f,"SPAN",{class:!0});var u=N(t);e=y(u,s),u.forEach(c),n=w(f,"SPAN",{class:!0});var _=N(n);a=y(_,l),_.forEach(c),P(i.$$.fragment,f),this.h()},h(){v(t,"class","property"),v(n,"class","operator")},m(f,u){d(f,t,u),g(t,e),d(f,n,u),g(n,a),E(i,f,u),o=!0},p(f,u){(!o||u&64)&&s!==(s=f[6]+"")&&O(e,s);const _={};u&65&&(_.value=f[0][f[6]]),i.$set(_)},i(f){o||(m(i.$$.fragment,f),o=!0)},o(f){$(i.$$.fragment,f),o=!1},d(f){f&&(c(t),c(n)),A(i,f)}}}function At(r){let t,s;return t=new se({props:{list:r[3],hasMore:r[3].length({6:e}),({item:e})=>e?64:0]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&8&&(l.list=e[3]),n&12&&(l.hasMore=e[3].length({4:e}),({key:e})=>e?16:0],item_key:[Pt,({key:e})=>({4:e}),({key:e})=>e?16:0],preview:[At,({root:e})=>({5:e}),({root:e})=>e?32:0],summary:[jt]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const l={};n&4&&(l.keys=e[2]),n&191&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Ct(r,t,s){let e,n,{value:l}=t,{summary:a}=t;return r.$$set=i=>{"value"in i&&s(0,l=i.value),"summary"in i&&s(1,a=i.summary)},r.$$.update=()=>{r.$$.dirty&1&&s(2,e=Object.getOwnPropertyNames(l)),r.$$.dirty&4&&s(3,n=e.slice(0,5))},[l,a,e,n]}class ce extends F{constructor(t){super(),J(this,t,Ct,Tt,L,{value:0,summary:1})}}function Mt(r){let t,s,e=r[0].length+"",n,l;return{c(){t=b("span"),s=k("Array("),n=k(e),l=k(")"),this.h()},l(a){t=w(a,"SPAN",{class:!0});var i=N(t);s=y(i,"Array("),n=y(i,e),l=y(i,")"),i.forEach(c),this.h()},h(){v(t,"class","label")},m(a,i){d(a,t,i),g(t,s),g(t,n),g(t,l)},p(a,i){i&1&&e!==(e=a[0].length+"")&&O(n,e)},d(a){a&&c(t)}}}function It(r){let t,s;return t=new M({props:{value:r[5]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&32&&(l.value=e[5]),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Lt(r){let t,s;return t=new se({props:{list:r[1],hasMore:r[1].length({5:e}),({item:e})=>e?32:0]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&2&&(l.list=e[1]),n&3&&(l.hasMore=e[1].length({3:e}),({key:e})=>e?8:0],item_key:[Ft,({key:e})=>({3:e}),({key:e})=>e?8:0],preview:[Lt,({root:e})=>({4:e}),({root:e})=>e?16:0],summary:[Mt]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const l={};n&4&&(l.keys=e[2]),n&91&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Bt(r,t,s){let e,n,{value:l}=t;return r.$$set=a=>{"value"in a&&s(0,l=a.value)},r.$$.update=()=>{r.$$.dirty&1&&s(2,e=Object.getOwnPropertyNames(l)),r.$$.dirty&1&&s(1,n=l.slice(0,5))},[l,n,e]}class Rt extends F{constructor(t){super(),J(this,t,Bt,Kt,L,{value:0})}}function qt(r){let t,s,e,n=r[3].length+"",l,a;return{c(){t=b("span"),s=k(r[1]),e=k("("),l=k(n),a=k(")"),this.h()},l(i){t=w(i,"SPAN",{class:!0});var o=N(t);s=y(o,r[1]),e=y(o,"("),l=y(o,n),a=y(o,")"),o.forEach(c),this.h()},h(){v(t,"class","label")},m(i,o){d(i,t,o),g(t,s),g(t,e),g(t,l),g(t,a)},p(i,o){o&2&&O(s,i[1]),o&8&&n!==(n=i[3].length+"")&&O(l,n)},d(i){i&&c(t)}}}function Ut(r){let t,s;return t=new M({props:{value:r[9]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&512&&(l.value=e[9]),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Vt(r){let t,s;return t=new se({props:{list:r[4],hasMore:r[4].length({9:e}),({item:e})=>e?512:0]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&16&&(l.list=e[4]),n&20&&(l.hasMore=e[4].length({7:e}),({key:e})=>e?128:0],item_key:[Wt,({key:e})=>({7:e}),({key:e})=>e?128:0]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&8&&(l.keys=e[3]),n&1156&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Wt(r){let t,s=r[7]+"",e;return{c(){t=b("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var l=N(t);e=y(l,s),l.forEach(c),this.h()},h(){v(t,"class","property")},m(n,l){d(n,t,l),g(t,e)},p(n,l){l&128&&s!==(s=n[7]+"")&&O(e,s)},d(n){n&&c(t)}}}function Ht(r){let t,s;return t=new M({props:{value:r[2][r[7]]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&132&&(l.value=e[2][e[7]]),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Qt(r){let t,s,e,n;const l=[Dt,zt],a=[];function i(o,f){return o[6]===re?0:1}return t=i(r),s=a[t]=l[t](r),{c(){s.c(),e=T()},l(o){s.l(o),e=T()},m(o,f){a[t].m(o,f),d(o,e,f),n=!0},p(o,f){let u=t;t=i(o),t===u?a[t].p(o,f):(R(),$(a[u],1,1,()=>{a[u]=null}),q(),s=a[t],s?s.p(o,f):(s=a[t]=l[t](o),s.c()),m(s,1),s.m(e.parentNode,e))},i(o){n||(m(s),n=!0)},o(o){$(s),n=!1},d(o){o&&c(e),a[t].d(o)}}}function Xt(r){let t,s;return t=new B({props:{keys:[re,"size"],shouldShowColon:r[5],$$slots:{item_value:[Qt,({key:e})=>({6:e}),({key:e})=>e?64:0],item_key:[Gt,({key:e})=>({6:e}),({key:e})=>e?64:0],preview:[Vt,({root:e})=>({8:e}),({root:e})=>e?256:0],summary:[qt]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const l={};n&1375&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const re="[[Entries]]";function Yt(r,t,s){let e,{value:n}=t,{nodeType:l}=t,a=[],i=[];const o=f=>f!==re;return r.$$set=f=>{"value"in f&&s(0,n=f.value),"nodeType"in f&&s(1,l=f.nodeType)},r.$$.update=()=>{if(r.$$.dirty&1){let f=[],u=[],_=0;for(const p of n)f.push(_++),u.push(p);s(3,a=f),s(2,i=u)}r.$$.dirty&4&&s(4,e=i.slice(0,5))},[n,l,i,a,e,o]}class Zt extends F{constructor(t){super(),J(this,t,Yt,Xt,L,{value:0,nodeType:1})}}function xt(r){let t,s,e=r[2].length+"",n,l;return{c(){t=b("span"),s=k("Map("),n=k(e),l=k(")"),this.h()},l(a){t=w(a,"SPAN",{color:!0});var i=N(t);s=y(i,"Map("),n=y(i,e),l=y(i,")"),i.forEach(c),this.h()},h(){v(t,"color","label")},m(a,i){d(a,t,i),g(t,s),g(t,n),g(t,l)},p(a,i){i&4&&e!==(e=a[2].length+"")&&O(n,e)},d(a){a&&c(t)}}}function en(r){let t,s,e=" => ",n,l,a;return t=new M({props:{value:r[11]}}),l=new M({props:{value:r[0].get(r[11])}}),{c(){j(t.$$.fragment),s=b("span"),n=k(e),j(l.$$.fragment),this.h()},l(i){P(t.$$.fragment,i),s=w(i,"SPAN",{class:!0});var o=N(s);n=y(o,e),o.forEach(c),P(l.$$.fragment,i),this.h()},h(){v(s,"class","operator")},m(i,o){E(t,i,o),d(i,s,o),g(s,n),E(l,i,o),a=!0},p(i,o){const f={};o&2048&&(f.value=i[11]),t.$set(f);const u={};o&2049&&(u.value=i[0].get(i[11])),l.$set(u)},i(i){a||(m(t.$$.fragment,i),m(l.$$.fragment,i),a=!0)},o(i){$(t.$$.fragment,i),$(l.$$.fragment,i),a=!1},d(i){i&&c(s),A(t,i),A(l,i)}}}function tn(r){let t,s;return t=new se({props:{list:r[4],hasMore:r[4].length({11:e}),({item:e})=>e?2048:0]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&16&&(l.list=e[4]),n&17&&(l.hasMore=e[4].length({8:e}),({key:e})=>e?256:0],item_key:[rn,({key:e})=>({8:e}),({key:e})=>e?256:0]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&2&&(l.keys=e[1]),n&4&&(l.expandKey=e[5]),n&4364&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function rn(r){let t,s=r[8]+"",e;return{c(){t=b("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var l=N(t);e=y(l,s),l.forEach(c),this.h()},h(){v(t,"class","property")},m(n,l){d(n,t,l),g(t,e)},p(n,l){l&256&&s!==(s=n[8]+"")&&O(e,s)},d(n){n&&c(t)}}}function an(r){let t,s="{ ",e,n,l,a=" => ",i,o,f,u=" }",_,p;return n=new M({props:{value:r[2][r[8]]}}),o=new M({props:{value:r[3][r[8]]}}),{c(){t=b("span"),e=k(s),j(n.$$.fragment),l=b("span"),i=k(a),j(o.$$.fragment),f=b("span"),_=k(u),this.h()},l(h){t=w(h,"SPAN",{class:!0});var S=N(t);e=y(S,s),S.forEach(c),P(n.$$.fragment,h),l=w(h,"SPAN",{class:!0});var C=N(l);i=y(C,a),C.forEach(c),P(o.$$.fragment,h),f=w(h,"SPAN",{class:!0});var V=N(f);_=y(V,u),V.forEach(c),this.h()},h(){v(t,"class","operator"),v(l,"class","operator"),v(f,"class","operator")},m(h,S){d(h,t,S),g(t,e),E(n,h,S),d(h,l,S),g(l,i),E(o,h,S),d(h,f,S),g(f,_),p=!0},p(h,S){const C={};S&260&&(C.value=h[2][h[8]]),n.$set(C);const V={};S&264&&(V.value=h[3][h[8]]),o.$set(V)},i(h){p||(m(n.$$.fragment,h),m(o.$$.fragment,h),p=!0)},o(h){$(n.$$.fragment,h),$(o.$$.fragment,h),p=!1},d(h){h&&(c(t),c(l),c(f)),A(n,h),A(o,h)}}}function on(r){let t,s=r[9]+"",e;return{c(){t=b("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var l=N(t);e=y(l,s),l.forEach(c),this.h()},h(){v(t,"class","property")},m(n,l){d(n,t,l),g(t,e)},p(n,l){l&512&&s!==(s=n[9]+"")&&O(e,s)},d(n){n&&c(t)}}}function fn(r){let t,s;return t=new M({props:{value:r[9]==="key"?r[2][r[8]]:r[3][r[8]]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&780&&(l.value=e[9]==="key"?e[2][e[8]]:e[3][e[8]]),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function un(r){let t,s;return t=new B({props:{keys:["key","value"],$$slots:{item_value:[fn,({key:e})=>({9:e}),({key:e})=>e?512:0],item_key:[on,({key:e})=>({9:e}),({key:e})=>e?512:0],preview:[an]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&4876&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function cn(r){let t,s,e,n;const l=[ln,sn],a=[];function i(o,f){return o[7]===ae?0:1}return t=i(r),s=a[t]=l[t](r),{c(){s.c(),e=T()},l(o){s.l(o),e=T()},m(o,f){a[t].m(o,f),d(o,e,f),n=!0},p(o,f){let u=t;t=i(o),t===u?a[t].p(o,f):(R(),$(a[u],1,1,()=>{a[u]=null}),q(),s=a[t],s?s.p(o,f):(s=a[t]=l[t](o),s.c()),m(s,1),s.m(e.parentNode,e))},i(o){n||(m(s),n=!0)},o(o){$(s),n=!1},d(o){o&&c(e),a[t].d(o)}}}function _n(r){let t,s;return t=new B({props:{keys:[ae,"size"],shouldShowColon:r[6],$$slots:{item_value:[cn,({key:e})=>({7:e}),({key:e})=>e?128:0],item_key:[nn,({key:e})=>({7:e}),({key:e})=>e?128:0],preview:[tn,({root:e})=>({10:e}),({root:e})=>e?1024:0],summary:[xt]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const l={};n&5279&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const ae="[[Entries]]";function pn(r,t,s){let e,{value:n}=t;U();let l=[],a=[],i=[];const o=u=>a[u],f=u=>u!==ae;return r.$$set=u=>{"value"in u&&s(0,n=u.value)},r.$$.update=()=>{if(r.$$.dirty&1){let u=[],_=[],p=[],h=0;for(const S of n)u.push(h++),_.push(S[0]),p.push(S[1]);s(1,l=u),s(2,a=_),s(3,i=p)}r.$$.dirty&1&&s(4,e=Array.from(n.keys()).slice(0,5))},[n,l,a,i,e,o,f]}class mn extends F{constructor(t){super(),J(this,t,pn,_n,L,{value:0})}}function hn(r){let t,s,e;return{c(){t=b("span"),s=k(r[0]),this.h()},l(n){t=w(n,"SPAN",{class:!0});var l=N(t);s=y(l,r[0]),l.forEach(c),this.h()},h(){v(t,"class",e=pe(r[1])+" svelte-l95iub")},m(n,l){d(n,t,l),g(t,s)},p(n,[l]){l&1&&O(s,n[0]),l&2&&e!==(e=pe(n[1])+" svelte-l95iub")&&v(t,"class",e)},i:K,o:K,d(n){n&&c(t)}}}function $n(r,t,s){let{value:e,nodeType:n}=t;return r.$$set=l=>{"value"in l&&s(0,e=l.value),"nodeType"in l&&s(1,n=l.nodeType)},[e,n]}class W extends F{constructor(t){super(),J(this,t,$n,hn,L,{value:0,nodeType:1})}}function Fe(r,t,s){const e=r.slice();e[6]=t[s],e[9]=s;const n=e[9]$(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a0)},m(o,f){d(o,t,f),E(s,t,null),g(t,e),g(e,l),d(o,a,f),i=!0},p(o,f){const u={};f&1&&(u.value=o[6]+(o[7]?"\\n":"")),s.$set(u),(!i||f&1)&&n!==(n=o[7]?" +":"")&&O(l,n)},i(o){i||(m(s.$$.fragment,o),i=!0)},o(o){$(s.$$.fragment,o),i=!1},d(o){o&&(c(t),c(a)),A(s)}}}function vn(r){let t,s,e,n,l,a;const i=[gn,dn],o=[];function f(u,_){return u[1]?0:1}return s=f(r),e=o[s]=i[s](r),{c(){t=b("span"),e.c()},l(u){t=w(u,"SPAN",{});var _=N(t);e.l(_),_.forEach(c)},m(u,_){d(u,t,_),o[s].m(t,null),n=!0,l||(a=ne(t,"click",r[4]),l=!0)},p(u,[_]){let p=s;s=f(u),s===p?o[s].p(u,_):(R(),$(o[p],1,1,()=>{o[p]=null}),q(),e=o[s],e?e.p(u,_):(e=o[s]=i[s](u),e.c()),m(e,1),e.m(t,null))},i(u){n||(m(e),n=!0)},o(u){$(e),n=!1},d(u){u&&c(t),o[s].d(),l=!1,a()}}}function kn(r,t,s){let e,n,{stack:l}=t;const{expanded:a,expandable:i}=U();x(r,a,f=>s(1,n=f)),x(r,i,f=>s(5,e=f)),ee(i,e=!0,e);const o=()=>ee(a,n=!n,n);return r.$$set=f=>{"stack"in f&&s(0,l=f.stack)},[l,n,a,i,o]}class yn extends F{constructor(t){super(),J(this,t,kn,vn,L,{stack:0})}}function bn(r){let t,s,e=String(r[0].message)+"",n;return{c(){t=b("span"),s=k("Error: "),n=k(e),this.h()},l(l){t=w(l,"SPAN",{class:!0});var a=N(t);s=y(a,"Error: "),n=y(a,e),a.forEach(c),this.h()},h(){v(t,"class","label")},m(l,a){d(l,t,a),g(t,s),g(t,n)},p(l,a){a&1&&e!==(e=String(l[0].message)+"")&&O(n,e)},d(l){l&&c(t)}}}function wn(r){let t,s,e=String(r[0].message)+"",n;return{c(){t=b("span"),s=k("Error: "),n=k(e),this.h()},l(l){t=w(l,"SPAN",{class:!0});var a=N(t);s=y(a,"Error: "),n=y(a,e),a.forEach(c),this.h()},h(){v(t,"class","label")},m(l,a){d(l,t,a),g(t,s),g(t,n)},p(l,a){a&1&&e!==(e=String(l[0].message)+"")&&O(n,e)},d(l){l&&c(t)}}}function Sn(r){let t,s=r[2]+"",e;return{c(){t=b("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var l=N(t);e=y(l,s),l.forEach(c),this.h()},h(){v(t,"class","property")},m(n,l){d(n,t,l),g(t,e)},p(n,l){l&4&&s!==(s=n[2]+"")&&O(e,s)},d(n){n&&c(t)}}}function Nn(r){let t,s;return t=new M({props:{value:r[0][r[2]]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&5&&(l.value=e[0][e[2]]),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function jn(r){let t,s;return t=new yn({props:{stack:r[1]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&2&&(l.stack=e[1]),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function En(r){let t,s,e,n;const l=[jn,Nn],a=[];function i(o,f){return o[2]==="stack"?0:1}return t=i(r),s=a[t]=l[t](r),{c(){s.c(),e=T()},l(o){s.l(o),e=T()},m(o,f){a[t].m(o,f),d(o,e,f),n=!0},p(o,f){let u=t;t=i(o),t===u?a[t].p(o,f):(R(),$(a[u],1,1,()=>{a[u]=null}),q(),s=a[t],s?s.p(o,f):(s=a[t]=l[t](o),s.c()),m(s,1),s.m(e.parentNode,e))},i(o){n||(m(s),n=!0)},o(o){$(s),n=!1},d(o){o&&c(e),a[t].d(o)}}}function An(r){let t,s;return t=new B({props:{keys:["message","stack"],$$slots:{item_value:[En,({key:e})=>({2:e}),({key:e})=>e?4:0],item_key:[Sn,({key:e})=>({2:e}),({key:e})=>e?4:0],preview:[wn],summary:[bn]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const l={};n&15&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Pn(r,t,s){let e,{value:n}=t;return r.$$set=l=>{"value"in l&&s(0,n=l.value)},r.$$.update=()=>{r.$$.dirty&1&&s(1,e=n.stack.split(` -`))},[n,e]}class On extends F{constructor(t){super(),J(this,t,Pn,An,L,{value:0})}}function Tn(r,t){const s=Object.prototype.toString.call(r).slice(8,-1);return s==="Object"?!t&&typeof r[Symbol.iterator]=="function"?"Iterable":r.constructor.name:s}function Cn(r){let t,s,e,n;return{c(){t=b("span"),s=k('"'),e=k(r[0]),n=k('"'),this.h()},l(l){t=w(l,"SPAN",{class:!0});var a=N(t);s=y(a,'"'),e=y(a,r[0]),n=y(a,'"'),a.forEach(c),this.h()},h(){v(t,"class","svelte-1fvwa9c")},m(l,a){d(l,t,a),g(t,s),g(t,e),g(t,n)},p(l,a){a&1&&O(e,l[0])},d(l){l&&c(t)}}}function Mn(r){let t,s,e=r[0].slice(0,30)+(r[0].length>30?"…":""),n,l;return{c(){t=b("span"),s=k('"'),n=k(e),l=k('"'),this.h()},l(a){t=w(a,"SPAN",{class:!0});var i=N(t);s=y(i,'"'),n=y(i,e),l=y(i,'"'),i.forEach(c),this.h()},h(){v(t,"class","svelte-1fvwa9c")},m(a,i){d(a,t,i),g(t,s),g(t,n),g(t,l)},p(a,i){i&1&&e!==(e=a[0].slice(0,30)+(a[0].length>30?"…":""))&&O(n,e)},d(a){a&&c(t)}}}function In(r){let t;function s(l,a){return l[1]==="summary"?Mn:Cn}let n=s(r)(r);return{c(){n.c(),t=T()},l(l){n.l(l),t=T()},m(l,a){n.m(l,a),d(l,t,a)},p(l,[a]){n.p(l,a)},i:K,o:K,d(l){l&&c(t),n.d(l)}}}function Ln(r,t,s){let e,{value:n}=t;const l={"\n":"\\n"," ":"\\t","\r":"\\r"},{displayMode:a}=U();return r.$$set=i=>{"value"in i&&s(2,n=i.value)},r.$$.update=()=>{r.$$.dirty&4&&s(0,e=n.replace(/[\n\t\r]/g,i=>l[i]))},[e,a,n]}class Fn extends F{constructor(t){super(),J(this,t,Ln,In,L,{value:2})}}function Jn(r){let t,s="ƒ";return{c(){t=b("span"),t.textContent=s,this.h()},l(e){t=w(e,"SPAN",{class:!0,"data-svelte-h":!0}),le(t)!=="svelte-migemc"&&(t.textContent=s),this.h()},h(){v(t,"class","i svelte-1eamqdt")},m(e,n){d(e,t,n)},p:K,d(e){e&&c(t)}}}function Ke(r){let t,s=Re(r[2])+"",e;return{c(){t=b("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var l=N(t);e=y(l,s),l.forEach(c),this.h()},h(){v(t,"class","fn i svelte-1eamqdt")},m(n,l){d(n,t,l),g(t,e)},p(n,l){l&4&&s!==(s=Re(n[2])+"")&&O(e,s)},d(n){n&&c(t)}}}function Be(r){let t,s=qe(r[2])+"",e;return{c(){t=b("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var l=N(t);e=y(l,s),l.forEach(c),this.h()},h(){v(t,"class","i svelte-1eamqdt")},m(n,l){d(n,t,l),g(t,e)},p(n,l){l&4&&s!==(s=qe(n[2])+"")&&O(e,s)},d(n){n&&c(t)}}}function Kn(r){let t,s,e=!r[2].isArrow&&Ke(r),n=!r[2].isClass&&Be(r);return{c(){e&&e.c(),t=T(),n&&n.c(),s=T()},l(l){e&&e.l(l),t=T(),n&&n.l(l),s=T()},m(l,a){e&&e.m(l,a),d(l,t,a),n&&n.m(l,a),d(l,s,a)},p(l,a){l[2].isArrow?e&&(e.d(1),e=null):e?e.p(l,a):(e=Ke(l),e.c(),e.m(t.parentNode,t)),l[2].isClass?n&&(n.d(1),n=null):n?n.p(l,a):(n=Be(l),n.c(),n.m(s.parentNode,s))},d(l){l&&(c(t),c(s)),e&&e.d(l),n&&n.d(l)}}}function Bn(r){let t,s=r[6]+"",e,n;return{c(){t=b("span"),e=k(s),this.h()},l(l){t=w(l,"SPAN",{class:!0});var a=N(t);e=y(a,s),a.forEach(c),this.h()},h(){v(t,"class",n=r[6]===oe||r[6]===ie?"internal":"property")},m(l,a){d(l,t,a),g(t,e)},p(l,a){a&64&&s!==(s=l[6]+"")&&O(e,s),a&64&&n!==(n=l[6]===oe||l[6]===ie?"internal":"property")&&v(t,"class",n)},d(l){l&&c(t)}}}function Rn(r){let t,s;return t=new M({props:{value:r[3](r[6])}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&64&&(l.value=e[3](e[6])),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function qn(r){let t,s;return t=new ce({props:{value:r[3](r[6])}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&64&&(l.value=e[3](e[6])),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Un(r){let t,s;return{c(){t=b("span"),s=k(r[0]),this.h()},l(e){t=w(e,"SPAN",{class:!0});var n=N(t);s=y(n,r[0]),n.forEach(c),this.h()},h(){v(t,"class","i svelte-1eamqdt")},m(e,n){d(e,t,n),g(t,s)},p(e,n){n&1&&O(s,e[0])},i:K,o:K,d(e){e&&c(t)}}}function Vn(r){let t,s,e,n;const l=[Un,qn,Rn],a=[];function i(o,f){return o[6]===oe?0:o[6]==="prototype"?1:2}return t=i(r),s=a[t]=l[t](r),{c(){s.c(),e=T()},l(o){s.l(o),e=T()},m(o,f){a[t].m(o,f),d(o,e,f),n=!0},p(o,f){let u=t;t=i(o),t===u?a[t].p(o,f):(R(),$(a[u],1,1,()=>{a[u]=null}),q(),s=a[t],s?s.p(o,f):(s=a[t]=l[t](o),s.c()),m(s,1),s.m(e.parentNode,e))},i(o){n||(m(s),n=!0)},o(o){$(s),n=!1},d(o){o&&c(e),a[t].d(o)}}}function Gn(r){let t,s;return t=new B({props:{keys:r[1],$$slots:{item_value:[Vn,({key:e})=>({6:e}),({key:e})=>e?64:0],item_key:[Bn,({key:e})=>({6:e}),({key:e})=>e?64:0],preview:[Kn],summary:[Jn]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const l={};n&2&&(l.keys=e[1]),n&197&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const oe="[[Function]]",ie="[[Prototype]]";function zn(r){const t=r.match(/^(?:(async)\s+)?(?:function)?(\*)?\s*([^(]+)?(\([^)]*\))\s*(=>)?/),s=t==null?void 0:t[1],e=t==null?void 0:t[2],n=t==null?void 0:t[3],l=t==null?void 0:t[4],a=t==null?void 0:t[5],i=r.match(/^class\s+([^\s]+)/),o=i==null?void 0:i[1];return{args:l,isAsync:s,isGenerator:e,fnName:n,isArrow:a,isClass:o}}function Re({isGenerator:r,isAsync:t,isClass:s}){return s?`class ${s}`:(t?"async ":"")+"ƒ"+(r?"*":"")}function qe({isAsync:r,isArrow:t,fnName:s,args:e}){return(t&&r?"async":"")+" "+(s??"")+e+(t?" => …":"")}function Dn(r){try{return r.toString()}catch{switch(r.constructor.name){case"AsyncFunction":return"async function () {}";case"AsyncGeneratorFunction":return"async function * () {}";case"GeneratorFunction:":return"function * () {}";default:return"function () {}"}}}function Wn(r,t,s){let e,n,l,{value:a}=t;function i(f){return f===ie?a.__proto__:a[f]}function o(f){return f===oe?!0:i(f)}return r.$$set=f=>{"value"in f&&s(4,a=f.value)},r.$$.update=()=>{r.$$.dirty&16&&s(0,e=Dn(a)),r.$$.dirty&1&&s(2,n=zn(e))},s(1,l=["length","name","prototype",oe,ie].filter(o)),[e,l,n,i,a]}class Hn extends F{constructor(t){super(),J(this,t,Wn,Gn,L,{value:4})}}function Qn(r){let t,s=r[3]?"writable(":"readable(",e,n,l=")",a,i;return n=new M({props:{value:r[2]}}),{c(){t=b("span"),e=k(s),j(n.$$.fragment),a=k(l),this.h()},l(o){t=w(o,"SPAN",{class:!0});var f=N(t);e=y(f,s),P(n.$$.fragment,f),a=y(f,l),f.forEach(c),this.h()},h(){v(t,"class","label")},m(o,f){d(o,t,f),g(t,e),E(n,t,null),g(t,a),i=!0},p(o,f){(!i||f&8)&&s!==(s=o[3]?"writable(":"readable(")&&O(e,s);const u={};f&4&&(u.value=o[2]),n.$set(u)},i(o){i||(m(n.$$.fragment,o),i=!0)},o(o){$(n.$$.fragment,o),i=!1},d(o){o&&c(t),A(n)}}}function Xn(r){let t,s=r[10]+"",e,n,l=": ",a,i,o;return i=new M({props:{value:r[0][r[10]]}}),{c(){t=b("span"),e=k(s),n=b("span"),a=k(l),j(i.$$.fragment),this.h()},l(f){t=w(f,"SPAN",{class:!0});var u=N(t);e=y(u,s),u.forEach(c),n=w(f,"SPAN",{class:!0});var _=N(n);a=y(_,l),_.forEach(c),P(i.$$.fragment,f),this.h()},h(){v(t,"class","property"),v(n,"class","operator")},m(f,u){d(f,t,u),g(t,e),d(f,n,u),g(n,a),E(i,f,u),o=!0},p(f,u){(!o||u&1024)&&s!==(s=f[10]+"")&&O(e,s);const _={};u&1025&&(_.value=f[0][f[10]]),i.$set(_)},i(f){o||(m(i.$$.fragment,f),o=!0)},o(f){$(i.$$.fragment,f),o=!1},d(f){f&&(c(t),c(n)),A(i,f)}}}function Yn(r){let t,s;return t=new se({props:{list:r[4],hasMore:r[4].length({10:e}),({item:e})=>e?1024:0]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&16&&(l.list=e[4]),n&18&&(l.hasMore=e[4].length({8:e}),({key:e})=>e?256:0],item_key:[Zn,({key:e})=>({8:e}),({key:e})=>e?256:0],preview:[Yn,({root:e})=>({9:e}),({root:e})=>e?512:0],summary:[Qn]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const l={};n&32&&(l.keys=e[5]),n&2847&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const fe="$value";function ts(r,t,s){let e,n,l,a,i,o,f=K,u=()=>(f(),f=Ve(_,h=>s(7,o=h)),_);r.$$.on_destroy.push(()=>f());let{value:_}=t;u();function p(h){return h===fe?a:_[h]}return r.$$set=h=>{"value"in h&&u(s(0,_=h.value))},r.$$.update=()=>{r.$$.dirty&1&&s(1,e=Object.getOwnPropertyNames(_)),r.$$.dirty&2&&s(5,n=[fe,...e]),r.$$.dirty&2&&s(4,l=e.slice(0,5)),r.$$.dirty&128&&s(2,a=o),r.$$.dirty&1&&s(3,i=typeof _.set=="function")},[_,e,a,i,l,n,p,o]}class ns extends F{constructor(t){super(),J(this,t,ts,es,L,{value:0})}}function ss(r){let t,s,e,n=r[0].length+"",l,a;return{c(){t=b("span"),s=k(r[1]),e=k("("),l=k(n),a=k(")"),this.h()},l(i){t=w(i,"SPAN",{class:!0});var o=N(t);s=y(o,r[1]),e=y(o,"("),l=y(o,n),a=y(o,")"),o.forEach(c),this.h()},h(){v(t,"class","label")},m(i,o){d(i,t,o),g(t,s),g(t,e),g(t,l),g(t,a)},p(i,o){o&2&&O(s,i[1]),o&1&&n!==(n=i[0].length+"")&&O(l,n)},d(i){i&&c(t)}}}function ls(r){let t,s;return t=new M({props:{value:r[8]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&256&&(l.value=e[8]),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function rs(r){let t,s;return t=new se({props:{list:r[2],hasMore:r[2].length({8:e}),({item:e})=>e?256:0]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&4&&(l.list=e[2]),n&5&&(l.hasMore=e[2].length({6:e}),({key:e})=>e?64:0],item_key:[as,({key:e})=>({6:e}),({key:e})=>e?64:0],preview:[rs,({root:e})=>({7:e}),({root:e})=>e?128:0],summary:[ss]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const l={};n&8&&(l.keys=e[3]),n&711&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const Ue="Symbol(Symbol.toStringTag)";function fs(r,t,s){let e,n,{value:l}=t,{nodeType:a}=t;const i=["buffer","byteLength","byteOffset","length",Ue];function o(f){return f===Ue?l[Symbol.toStringTag]:l[f]}return r.$$set=f=>{"value"in f&&s(0,l=f.value),"nodeType"in f&&s(1,a=f.nodeType)},r.$$.update=()=>{r.$$.dirty&1&&s(3,e=[...Object.getOwnPropertyNames(l),...i]),r.$$.dirty&1&&s(2,n=l.slice(0,5))},[l,a,n,e,i,o]}class us extends F{constructor(t){super(),J(this,t,fs,is,L,{value:0,nodeType:1})}}function cs(r){let t,s;return{c(){t=b("span"),s=k(r[1]),this.h()},l(e){t=w(e,"SPAN",{class:!0});var n=N(t);s=y(n,r[1]),n.forEach(c),this.h()},h(){v(t,"class","regex svelte-17k1wqt")},m(e,n){d(e,t,n),g(t,s)},p(e,n){n&2&&O(s,e[1])},d(e){e&&c(t)}}}function _s(r){let t,s;return{c(){t=b("span"),s=k(r[1]),this.h()},l(e){t=w(e,"SPAN",{class:!0});var n=N(t);s=y(n,r[1]),n.forEach(c),this.h()},h(){v(t,"class","regex svelte-17k1wqt")},m(e,n){d(e,t,n),g(t,s)},p(e,n){n&2&&O(s,e[1])},d(e){e&&c(t)}}}function ps(r){let t,s=String(r[3])+"",e;return{c(){t=b("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var l=N(t);e=y(l,s),l.forEach(c),this.h()},h(){v(t,"class","internal")},m(n,l){d(n,t,l),g(t,e)},p(n,l){l&8&&s!==(s=String(n[3])+"")&&O(e,s)},d(n){n&&c(t)}}}function ms(r){let t,s;return t=new M({props:{value:r[0][r[3]]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&9&&(l.value=e[0][e[3]]),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function hs(r){let t,s;return t=new B({props:{keys:r[2],$$slots:{item_value:[ms,({key:e})=>({3:e}),({key:e})=>e?8:0],item_key:[ps,({key:e})=>({3:e}),({key:e})=>e?8:0],preview:[_s],summary:[cs]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const l={};n&27&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){$(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function $s(r,t,s){let e,{value:n}=t;const l=["lastIndex","dotAll","flags","global","hasIndices","ignoreCase","multiline","source","sticky","unicode"];return r.$$set=a=>{"value"in a&&s(0,n=a.value)},r.$$.update=()=>{r.$$.dirty&1&&s(1,e=n.toString())},[n,e,l]}class ds extends F{constructor(t){super(),J(this,t,$s,hs,L,{value:0})}}function gs(r){let t,s,e;const n=[{value:r[0]},r[1]];var l=r[2];function a(i,o){let f={};if(o!==void 0&&o&3)f=he(n,[o&1&&{value:i[0]},o&2&&$e(i[1])]);else for(let u=0;u{A(f,1)}),q()}l?(t=me(l,a(i,o)),j(t.$$.fragment),m(t.$$.fragment,1),E(t,s.parentNode,s)):t=null}else if(l){const f=o&3?he(n,[o&1&&{value:i[0]},o&2&&$e(i[1])]):{};t.$set(f)}},i(i){e||(t&&m(t.$$.fragment,i),e=!0)},o(i){t&&$(t.$$.fragment,i),e=!1},d(i){i&&c(s),t&&A(t,i)}}}function vs(r,t,s){let e,n,l,{value:a}=t;const i=ue();x(r,i,u=>s(4,l=u));const{shouldTreatIterableAsObject:o}=U();function f(u,_){switch(u){case"Object":return typeof _.subscribe=="function"?[ns]:[ce];case"Error":return[On];case"Array":return[Rt];case"Map":return[mn];case"Iterable":case"Set":return[Zt,{nodeType:u}];case"Number":return[W,{nodeType:u}];case"String":return[Fn];case"Boolean":return[W,{nodeType:u,value:_?"true":"false"}];case"Date":return[W,{nodeType:u,value:_.toISOString()}];case"Null":return[W,{nodeType:u,value:"null"}];case"Undefined":return[W,{nodeType:u,value:"undefined"}];case"Function":case"AsyncFunction":case"AsyncGeneratorFunction":case"GeneratorFunction":return[Hn];case"Symbol":return[W,{nodeType:u,value:_.toString()}];case"BigInt":return[W,{nodeType:u,value:String(_)+"n"}];case"ArrayBuffer":return[W,{nodeType:u,value:`ArrayBuffer(${_.byteLength})`}];case"BigInt64Array":case"BigUint64Array":case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint8ClampedArray":case"Uint16Array":case"Uint32Array":return[us,{nodeType:u}];case"RegExp":return[ds];default:return[ce,{summary:u}]}}return r.$$set=u=>{"value"in u&&s(0,a=u.value)},r.$$.update=()=>{r.$$.dirty&1&&ee(i,l=Tn(a,o),l),r.$$.dirty&17&&s(2,[e,n]=f(l,a),e,(s(1,n),s(4,l),s(0,a)))},[a,n,e,i,l]}class M extends F{constructor(t){super(),J(this,t,vs,gs,L,{value:0})}}function ks({defaultExpandedPaths:r,defaultExpandedLevel:t}){const s=r.map(n=>n.split("."));function e(n){e:for(const l of s){if(n.length>l.length)continue;const a=Math.min(n.length,l.length);for(let i=0;ie(u),level:0,keyPath:[],showPreview:l,shouldTreatIterableAsObject:a}),r.$$set=u=>{"value"in u&&s(0,n=u.value),"shouldShowPreview"in u&&s(2,l=u.shouldShowPreview),"shouldTreatIterableAsObject"in u&&s(3,a=u.shouldTreatIterableAsObject),"defaultExpandedPaths"in u&&s(4,i=u.defaultExpandedPaths),"defaultExpandedLevel"in u&&s(5,o=u.defaultExpandedLevel)},r.$$.update=()=>{r.$$.dirty&48&&(e=ks({defaultExpandedPaths:i,defaultExpandedLevel:o}))},[n,f,l,a,i,o]}class Ss extends F{constructor(t){super(),J(this,t,ws,bs,L,{value:0,shouldShowPreview:2,shouldTreatIterableAsObject:3,defaultExpandedPaths:4,defaultExpandedLevel:5})}}function Ns(r){let t,s,e,n;return s=new Ss({props:{value:r[0],defaultExpandedLevel:r[2]}}),{c(){t=b("div"),e=b("div"),j(s.$$.fragment),this.h()},l(l){t=w(l,"DIV",{class:!0});var a=N(t);e=w(a,"DIV",{style:!0});var i=N(e);P(s.$$.fragment,i),a.forEach(c),this.h()},h(){G(e,"display","contents"),G(e,"--json-tree-font-size","16px"),G(e,"--json-tree-li-line-height","1.7"),G(e,"--json-tree-font-family","monospace"),G(e,"--json-tree-string-color","var(--color-text)"),G(e,"--json-tree-label-color","var(--color-interaction)"),G(e,"--json-tree-property-color","var(--color-interaction)"),G(e,"--json-tree-number-color","var(--color-text-secondary)"),G(e,"--json-tree-boolean-color","var(--color-text-secondary)"),v(t,"class","svelte-1ajfzk1"),H(t,"showFullLines",r[1])},m(l,a){d(l,t,a),g(t,e),E(s,e,null),n=!0},p(l,[a]){const i={};a&1&&(i.value=l[0]),a&4&&(i.defaultExpandedLevel=l[2]),s.$set(i),(!n||a&2)&&H(t,"showFullLines",l[1])},i(l){n||(m(s.$$.fragment,l),n=!0)},o(l){$(s.$$.fragment,l),n=!1},d(l){l&&c(t),A(s)}}}function js(r,t,s){let{value:e}=t,{showFullLines:n=!1}=t,{expandedLines:l=2}=t;return r.$$set=a=>{"value"in a&&s(0,e=a.value),"showFullLines"in a&&s(1,n=a.showFullLines),"expandedLines"in a&&s(2,l=a.expandedLines)},[e,n,l]}class Ts extends F{constructor(t){super(),J(this,t,js,Ns,L,{value:0,showFullLines:1,expandedLines:2})}}export{Ts as J}; diff --git a/gui/next/build/_app/immutable/chunks/JSONTree.c31da54e.js b/gui/next/build/_app/immutable/chunks/JSONTree.c31da54e.js new file mode 100644 index 00000000..5b3cf7c7 --- /dev/null +++ b/gui/next/build/_app/immutable/chunks/JSONTree.c31da54e.js @@ -0,0 +1,2 @@ +import{Z as xe,_ as et,s as L,e as T,i as d,A as K,d as c,v as x,f as b,l as k,g as w,h as N,m as y,j as v,w as Z,u as g,x as ne,$ as Ve,z as ee,D as H,E as Q,F as X,G as Y,o as tt,a as z,c as D,a0 as Ge,N as _e,r as le,n as O,S as pe,q as me,a1 as nt,k as G}from"./scheduler.a497d5ec.js";import{S as F,i as J,a as m,t as h,b as j,d as P,m as E,g as R,c as q,e as A}from"./index.ca999c64.js";import{e as te}from"./each.1577bad0.js";import{w as ue,r as st}from"./index.ec985a20.js";function $e(r,t){const s={},e={},n={$$scope:1};let l=r.length;for(;l--;){const a=r[l],i=t[l];if(i){for(const o in a)o in i||(e[o]=1);for(const o in i)n[o]||(s[o]=i[o],n[o]=1);r[l]=i}else for(const o in a)n[o]=1}for(const a in e)a in s||(s[a]=void 0);return s}function he(r){return typeof r=="object"&&r!==null?r:{}}const de={};function U(r,t){const s=xe(de),e=typeof r=="function"?r(s):r,n={...s,...e};return t!=null&&t.expandable&&(n.isParentExpanded=n.expanded),et(de,n),s}function ge(r){let t,s,e="▶",n,l,a;return{c(){t=b("span"),s=b("span"),n=k(e),this.h()},l(i){t=w(i,"SPAN",{class:!0});var o=N(t);s=w(o,"SPAN",{class:!0});var f=N(s);n=y(f,e),f.forEach(c),o.forEach(c),this.h()},h(){v(s,"class","arrow svelte-1qd6nto"),Z(s,"expanded",r[2]),v(t,"class","container svelte-1qd6nto")},m(i,o){d(i,t,o),g(t,s),g(s,n),l||(a=ne(t,"click",r[4]),l=!0)},p(i,o){o&4&&Z(s,"expanded",i[2])},d(i){i&&c(t),l=!1,a()}}}function lt(r){let t,s=r[1]&&ge(r);return{c(){s&&s.c(),t=T()},l(e){s&&s.l(e),t=T()},m(e,n){s&&s.m(e,n),d(e,t,n)},p(e,[n]){e[1]?s?s.p(e,n):(s=ge(e),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:K,o:K,d(e){e&&c(t),s&&s.d(e)}}}function rt(r,t,s){let e,n,l=K,a=()=>(l(),l=Ve(f,_=>s(2,n=_)),f);r.$$.on_destroy.push(()=>l());const{expanded:i,expandable:o}=U();x(r,o,_=>s(1,e=_));let{expanded:f=i}=t;a();const u=_=>{_.stopPropagation(),ee(f,n=!n,n)};return r.$$set=_=>{"expanded"in _&&a(s(0,f=_.expanded))},[f,e,n,o,u]}class ze extends F{constructor(t){super(),J(this,t,rt,lt,L,{expanded:0})}}function at(r){let t;const s=r[1].default,e=H(s,r,r[0],null);return{c(){e&&e.c()},l(n){e&&e.l(n)},m(n,l){e&&e.m(n,l),t=!0},p(n,[l]){e&&e.p&&(!t||l&1)&&Q(e,s,n,n[0],t?Y(s,n[0],l,null):X(n[0]),null)},i(n){t||(m(e,n),t=!0)},o(n){h(e,n),t=!1},d(n){e&&e.d(n)}}}function ot(r,t,s){let{$$slots:e={},$$scope:n}=t;return U({displayMode:"summary"}),r.$$set=l=>{"$$scope"in l&&s(0,n=l.$$scope)},[n,e]}class it extends F{constructor(t){super(),J(this,t,ot,at,L,{})}}function ft(r){let t;const s=r[3].default,e=H(s,r,r[2],null);return{c(){e&&e.c()},l(n){e&&e.l(n)},m(n,l){e&&e.m(n,l),t=!0},p(n,[l]){e&&e.p&&(!t||l&4)&&Q(e,s,n,n[2],t?Y(s,n[2],l,null):X(n[2]),null)},i(n){t||(m(e,n),t=!0)},o(n){h(e,n),t=!1},d(n){e&&e.d(n)}}}function ut(r,t,s){let{$$slots:e={},$$scope:n}=t,{expanded:l}=t,{key:a}=t;const i=ue(!1);return U(({keyPath:o,level:f})=>(a!=="[[Entries]]"&&(o=[...o,a],f=f+1),{keyPath:o,level:f,expanded:l,expandable:i})),r.$$set=o=>{"expanded"in o&&s(0,l=o.expanded),"key"in o&&s(1,a=o.key),"$$scope"in o&&s(2,n=o.$$scope)},[l,a,n,e]}class De extends F{constructor(t){super(),J(this,t,ut,ft,L,{expanded:0,key:1})}}function ve(r,t,s){const e=r.slice();return e[19]=t[s],e[21]=s,e}const ct=r=>({key:r&1}),ke=r=>({key:r[19],index:r[21]}),_t=r=>({key:r&1}),ye=r=>({key:r[19],index:r[21]}),pt=r=>({}),be=r=>({root:r[6]}),mt=r=>({}),we=r=>({});function $t(r){let t,s,e,n,l,a,i,o,f=r[6]&&dt(r);e=new it({props:{$$slots:{default:[gt]},$$scope:{ctx:r}}});let u=r[4]&&Se(r);return{c(){t=b("span"),f&&f.c(),s=z(),j(e.$$.fragment),n=z(),u&&u.c(),l=T(),this.h()},l(_){t=w(_,"SPAN",{class:!0});var p=N(t);f&&f.l(p),s=D(p),P(e.$$.fragment,p),p.forEach(c),n=D(_),u&&u.l(_),l=T(),this.h()},h(){v(t,"class","root svelte-19drypg")},m(_,p){d(_,t,p),f&&f.m(t,null),g(t,s),E(e,t,null),d(_,n,p),u&&u.m(_,p),d(_,l,p),a=!0,i||(o=ne(t,"click",r[9]),i=!0)},p(_,p){_[6]&&f.p(_,p);const $={};p&8192&&($.$$scope={dirty:p,ctx:_}),e.$set($),_[4]?u?(u.p(_,p),p&16&&m(u,1)):(u=Se(_),u.c(),m(u,1),u.m(l.parentNode,l)):u&&(R(),h(u,1,1,()=>{u=null}),q())},i(_){a||(m(f),m(e.$$.fragment,_),m(u),a=!0)},o(_){h(f),h(e.$$.fragment,_),h(u),a=!1},d(_){_&&(c(t),c(n),c(l)),f&&f.d(),A(e),u&&u.d(_),i=!1,o()}}}function ht(r){let t;const s=r[11].summary,e=H(s,r,r[13],we);return{c(){e&&e.c()},l(n){e&&e.l(n)},m(n,l){e&&e.m(n,l),t=!0},p(n,l){e&&e.p&&(!t||l&8192)&&Q(e,s,n,n[13],t?Y(s,n[13],l,mt):X(n[13]),we)},i(n){t||(m(e,n),t=!0)},o(n){h(e,n),t=!1},d(n){e&&e.d(n)}}}function dt(r){let t,s;return t=new ze({props:{expanded:r[7]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p:K,i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function gt(r){let t;const s=r[11].preview,e=H(s,r,r[13],be);return{c(){e&&e.c()},l(n){e&&e.l(n)},m(n,l){e&&e.m(n,l),t=!0},p(n,l){e&&e.p&&(!t||l&8192)&&Q(e,s,n,n[13],t?Y(s,n[13],l,pt):X(n[13]),be)},i(n){t||(m(e,n),t=!0)},o(n){h(e,n),t=!1},d(n){e&&e.d(n)}}}function Se(r){let t,s,e,n,l=te(r[0]),a=[];for(let o=0;oh(a[o],1,1,()=>{a[o]=null});return{c(){t=b("ul");for(let o=0;o{};function bt(r,t,s){let e,n,l,{$$slots:a={},$$scope:i}=t,{keys:o}=t,{shouldShowColon:f=void 0}=t,{expandKey:u=I=>I}=t,{defaultExpanded:_=!1}=t;const{isParentExpanded:p,displayMode:$,root:S,expanded:C,expandable:V,keyPath:We,level:Ze,shouldExpandNode:He}=U({root:!1},{expandable:!0});if(x(r,C,I=>s(4,n=I)),x(r,V,I=>s(14,l=I)),ee(V,l=!0,l),$!=="summary"){if(!_){const I=He({keyPath:We,level:Ze});I!==void 0&&(_=I)}tt(()=>p.subscribe(I=>{I?C.set(_):C.set(!1)}))}function Qe(){ee(C,n=!n,n)}const Xe=I=>e[I].update(Ye=>!Ye);return r.$$set=I=>{"keys"in I&&s(0,o=I.keys),"shouldShowColon"in I&&s(1,f=I.shouldShowColon),"expandKey"in I&&s(2,u=I.expandKey),"defaultExpanded"in I&&s(10,_=I.defaultExpanded),"$$scope"in I&&s(13,i=I.$$scope)},r.$$.update=()=>{r.$$.dirty&1&&s(3,e=o.map(()=>ue(!1)))},[o,f,u,e,n,$,S,C,V,Qe,_,a,Xe,i]}class B extends F{constructor(t){super(),J(this,t,bt,kt,L,{keys:0,shouldShowColon:1,expandKey:2,defaultExpanded:10})}}function Ee(r,t,s){const e=r.slice();return e[9]=t[s],e[11]=s,e}const wt=r=>({item:r&1}),Ae=r=>({item:r[9],index:r[11]});function Pe(r){let t,s,e,n,l,a=r[3]&&Oe(r),i=te(r[0]),o=[];for(let p=0;ph(o[p],1,1,()=>{o[p]=null});let u=r[1]&&Ie(),_=r[4]&&Le(r);return{c(){a&&a.c(),t=z();for(let p=0;p{e=null}),q())},i(n){s||(m(e),s=!0)},o(n){h(e),s=!1},d(n){n&&c(t),e&&e.d(n)}}}function Nt(r,t,s){let{$$slots:e={},$$scope:n}=t,{list:l}=t,{hasMore:a}=t,{label:i=void 0}=t,{prefix:o=void 0}=t,{postfix:f=void 0}=t,{root:u=!1}=t;const{showPreview:_}=U();return r.$$set=p=>{"list"in p&&s(0,l=p.list),"hasMore"in p&&s(1,a=p.hasMore),"label"in p&&s(2,i=p.label),"prefix"in p&&s(3,o=p.prefix),"postfix"in p&&s(4,f=p.postfix),"root"in p&&s(5,u=p.root),"$$scope"in p&&s(7,n=p.$$scope)},[l,a,i,o,f,u,_,n,e]}class se extends F{constructor(t){super(),J(this,t,Nt,St,L,{list:0,hasMore:1,label:2,prefix:3,postfix:4,root:5})}}function jt(r){let t,s=(r[1]??"{…}")+"",e;return{c(){t=b("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var l=N(t);e=y(l,s),l.forEach(c),this.h()},h(){v(t,"class","label")},m(n,l){d(n,t,l),g(t,e)},p(n,l){l&2&&s!==(s=(n[1]??"{…}")+"")&&O(e,s)},d(n){n&&c(t)}}}function Et(r){let t,s=r[6]+"",e,n,l=": ",a,i,o;return i=new M({props:{value:r[0][r[6]]}}),{c(){t=b("span"),e=k(s),n=b("span"),a=k(l),j(i.$$.fragment),this.h()},l(f){t=w(f,"SPAN",{class:!0});var u=N(t);e=y(u,s),u.forEach(c),n=w(f,"SPAN",{class:!0});var _=N(n);a=y(_,l),_.forEach(c),P(i.$$.fragment,f),this.h()},h(){v(t,"class","property"),v(n,"class","operator")},m(f,u){d(f,t,u),g(t,e),d(f,n,u),g(n,a),E(i,f,u),o=!0},p(f,u){(!o||u&64)&&s!==(s=f[6]+"")&&O(e,s);const _={};u&65&&(_.value=f[0][f[6]]),i.$set(_)},i(f){o||(m(i.$$.fragment,f),o=!0)},o(f){h(i.$$.fragment,f),o=!1},d(f){f&&(c(t),c(n)),A(i,f)}}}function At(r){let t,s;return t=new se({props:{list:r[3],hasMore:r[3].length({6:e}),({item:e})=>e?64:0]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&8&&(l.list=e[3]),n&12&&(l.hasMore=e[3].length({4:e}),({key:e})=>e?16:0],item_key:[Pt,({key:e})=>({4:e}),({key:e})=>e?16:0],preview:[At,({root:e})=>({5:e}),({root:e})=>e?32:0],summary:[jt]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const l={};n&4&&(l.keys=e[2]),n&191&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Ct(r,t,s){let e,n,{value:l}=t,{summary:a}=t;return r.$$set=i=>{"value"in i&&s(0,l=i.value),"summary"in i&&s(1,a=i.summary)},r.$$.update=()=>{r.$$.dirty&1&&s(2,e=Object.getOwnPropertyNames(l)),r.$$.dirty&4&&s(3,n=e.slice(0,5))},[l,a,e,n]}class ce extends F{constructor(t){super(),J(this,t,Ct,Tt,L,{value:0,summary:1})}}function Mt(r){let t,s,e=r[0].length+"",n,l;return{c(){t=b("span"),s=k("Array("),n=k(e),l=k(")"),this.h()},l(a){t=w(a,"SPAN",{class:!0});var i=N(t);s=y(i,"Array("),n=y(i,e),l=y(i,")"),i.forEach(c),this.h()},h(){v(t,"class","label")},m(a,i){d(a,t,i),g(t,s),g(t,n),g(t,l)},p(a,i){i&1&&e!==(e=a[0].length+"")&&O(n,e)},d(a){a&&c(t)}}}function It(r){let t,s;return t=new M({props:{value:r[5]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&32&&(l.value=e[5]),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Lt(r){let t,s;return t=new se({props:{list:r[1],hasMore:r[1].length({5:e}),({item:e})=>e?32:0]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&2&&(l.list=e[1]),n&3&&(l.hasMore=e[1].length({3:e}),({key:e})=>e?8:0],item_key:[Ft,({key:e})=>({3:e}),({key:e})=>e?8:0],preview:[Lt,({root:e})=>({4:e}),({root:e})=>e?16:0],summary:[Mt]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const l={};n&4&&(l.keys=e[2]),n&91&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Bt(r,t,s){let e,n,{value:l}=t;return r.$$set=a=>{"value"in a&&s(0,l=a.value)},r.$$.update=()=>{r.$$.dirty&1&&s(2,e=Object.getOwnPropertyNames(l)),r.$$.dirty&1&&s(1,n=l.slice(0,5))},[l,n,e]}class Rt extends F{constructor(t){super(),J(this,t,Bt,Kt,L,{value:0})}}function qt(r){let t,s,e,n=r[3].length+"",l,a;return{c(){t=b("span"),s=k(r[1]),e=k("("),l=k(n),a=k(")"),this.h()},l(i){t=w(i,"SPAN",{class:!0});var o=N(t);s=y(o,r[1]),e=y(o,"("),l=y(o,n),a=y(o,")"),o.forEach(c),this.h()},h(){v(t,"class","label")},m(i,o){d(i,t,o),g(t,s),g(t,e),g(t,l),g(t,a)},p(i,o){o&2&&O(s,i[1]),o&8&&n!==(n=i[3].length+"")&&O(l,n)},d(i){i&&c(t)}}}function Ut(r){let t,s;return t=new M({props:{value:r[9]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&512&&(l.value=e[9]),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Vt(r){let t,s;return t=new se({props:{list:r[4],hasMore:r[4].length({9:e}),({item:e})=>e?512:0]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&16&&(l.list=e[4]),n&20&&(l.hasMore=e[4].length({7:e}),({key:e})=>e?128:0],item_key:[Wt,({key:e})=>({7:e}),({key:e})=>e?128:0]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&8&&(l.keys=e[3]),n&1156&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Wt(r){let t,s=r[7]+"",e;return{c(){t=b("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var l=N(t);e=y(l,s),l.forEach(c),this.h()},h(){v(t,"class","property")},m(n,l){d(n,t,l),g(t,e)},p(n,l){l&128&&s!==(s=n[7]+"")&&O(e,s)},d(n){n&&c(t)}}}function Zt(r){let t,s;return t=new M({props:{value:r[2][r[7]]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&132&&(l.value=e[2][e[7]]),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Ht(r){let t,s,e,n;const l=[Dt,zt],a=[];function i(o,f){return o[6]===re?0:1}return t=i(r),s=a[t]=l[t](r),{c(){s.c(),e=T()},l(o){s.l(o),e=T()},m(o,f){a[t].m(o,f),d(o,e,f),n=!0},p(o,f){let u=t;t=i(o),t===u?a[t].p(o,f):(R(),h(a[u],1,1,()=>{a[u]=null}),q(),s=a[t],s?s.p(o,f):(s=a[t]=l[t](o),s.c()),m(s,1),s.m(e.parentNode,e))},i(o){n||(m(s),n=!0)},o(o){h(s),n=!1},d(o){o&&c(e),a[t].d(o)}}}function Qt(r){let t,s;return t=new B({props:{keys:[re,"size"],shouldShowColon:r[5],$$slots:{item_value:[Ht,({key:e})=>({6:e}),({key:e})=>e?64:0],item_key:[Gt,({key:e})=>({6:e}),({key:e})=>e?64:0],preview:[Vt,({root:e})=>({8:e}),({root:e})=>e?256:0],summary:[qt]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const l={};n&1375&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const re="[[Entries]]";function Xt(r,t,s){let e,{value:n}=t,{nodeType:l}=t,a=[],i=[];const o=f=>f!==re;return r.$$set=f=>{"value"in f&&s(0,n=f.value),"nodeType"in f&&s(1,l=f.nodeType)},r.$$.update=()=>{if(r.$$.dirty&1){let f=[],u=[],_=0;for(const p of n)f.push(_++),u.push(p);s(3,a=f),s(2,i=u)}r.$$.dirty&4&&s(4,e=i.slice(0,5))},[n,l,i,a,e,o]}class Yt extends F{constructor(t){super(),J(this,t,Xt,Qt,L,{value:0,nodeType:1})}}function xt(r){let t,s,e=r[2].length+"",n,l;return{c(){t=b("span"),s=k("Map("),n=k(e),l=k(")"),this.h()},l(a){t=w(a,"SPAN",{color:!0});var i=N(t);s=y(i,"Map("),n=y(i,e),l=y(i,")"),i.forEach(c),this.h()},h(){v(t,"color","label")},m(a,i){d(a,t,i),g(t,s),g(t,n),g(t,l)},p(a,i){i&4&&e!==(e=a[2].length+"")&&O(n,e)},d(a){a&&c(t)}}}function en(r){let t,s,e=" => ",n,l,a;return t=new M({props:{value:r[11]}}),l=new M({props:{value:r[0].get(r[11])}}),{c(){j(t.$$.fragment),s=b("span"),n=k(e),j(l.$$.fragment),this.h()},l(i){P(t.$$.fragment,i),s=w(i,"SPAN",{class:!0});var o=N(s);n=y(o,e),o.forEach(c),P(l.$$.fragment,i),this.h()},h(){v(s,"class","operator")},m(i,o){E(t,i,o),d(i,s,o),g(s,n),E(l,i,o),a=!0},p(i,o){const f={};o&2048&&(f.value=i[11]),t.$set(f);const u={};o&2049&&(u.value=i[0].get(i[11])),l.$set(u)},i(i){a||(m(t.$$.fragment,i),m(l.$$.fragment,i),a=!0)},o(i){h(t.$$.fragment,i),h(l.$$.fragment,i),a=!1},d(i){i&&c(s),A(t,i),A(l,i)}}}function tn(r){let t,s;return t=new se({props:{list:r[4],hasMore:r[4].length({11:e}),({item:e})=>e?2048:0]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&16&&(l.list=e[4]),n&17&&(l.hasMore=e[4].length({8:e}),({key:e})=>e?256:0],item_key:[rn,({key:e})=>({8:e}),({key:e})=>e?256:0]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&2&&(l.keys=e[1]),n&4&&(l.expandKey=e[5]),n&4364&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function rn(r){let t,s=r[8]+"",e;return{c(){t=b("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var l=N(t);e=y(l,s),l.forEach(c),this.h()},h(){v(t,"class","property")},m(n,l){d(n,t,l),g(t,e)},p(n,l){l&256&&s!==(s=n[8]+"")&&O(e,s)},d(n){n&&c(t)}}}function an(r){let t,s="{ ",e,n,l,a=" => ",i,o,f,u=" }",_,p;return n=new M({props:{value:r[2][r[8]]}}),o=new M({props:{value:r[3][r[8]]}}),{c(){t=b("span"),e=k(s),j(n.$$.fragment),l=b("span"),i=k(a),j(o.$$.fragment),f=b("span"),_=k(u),this.h()},l($){t=w($,"SPAN",{class:!0});var S=N(t);e=y(S,s),S.forEach(c),P(n.$$.fragment,$),l=w($,"SPAN",{class:!0});var C=N(l);i=y(C,a),C.forEach(c),P(o.$$.fragment,$),f=w($,"SPAN",{class:!0});var V=N(f);_=y(V,u),V.forEach(c),this.h()},h(){v(t,"class","operator"),v(l,"class","operator"),v(f,"class","operator")},m($,S){d($,t,S),g(t,e),E(n,$,S),d($,l,S),g(l,i),E(o,$,S),d($,f,S),g(f,_),p=!0},p($,S){const C={};S&260&&(C.value=$[2][$[8]]),n.$set(C);const V={};S&264&&(V.value=$[3][$[8]]),o.$set(V)},i($){p||(m(n.$$.fragment,$),m(o.$$.fragment,$),p=!0)},o($){h(n.$$.fragment,$),h(o.$$.fragment,$),p=!1},d($){$&&(c(t),c(l),c(f)),A(n,$),A(o,$)}}}function on(r){let t,s=r[9]+"",e;return{c(){t=b("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var l=N(t);e=y(l,s),l.forEach(c),this.h()},h(){v(t,"class","property")},m(n,l){d(n,t,l),g(t,e)},p(n,l){l&512&&s!==(s=n[9]+"")&&O(e,s)},d(n){n&&c(t)}}}function fn(r){let t,s;return t=new M({props:{value:r[9]==="key"?r[2][r[8]]:r[3][r[8]]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&780&&(l.value=e[9]==="key"?e[2][e[8]]:e[3][e[8]]),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function un(r){let t,s;return t=new B({props:{keys:["key","value"],$$slots:{item_value:[fn,({key:e})=>({9:e}),({key:e})=>e?512:0],item_key:[on,({key:e})=>({9:e}),({key:e})=>e?512:0],preview:[an]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&4876&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function cn(r){let t,s,e,n;const l=[ln,sn],a=[];function i(o,f){return o[7]===ae?0:1}return t=i(r),s=a[t]=l[t](r),{c(){s.c(),e=T()},l(o){s.l(o),e=T()},m(o,f){a[t].m(o,f),d(o,e,f),n=!0},p(o,f){let u=t;t=i(o),t===u?a[t].p(o,f):(R(),h(a[u],1,1,()=>{a[u]=null}),q(),s=a[t],s?s.p(o,f):(s=a[t]=l[t](o),s.c()),m(s,1),s.m(e.parentNode,e))},i(o){n||(m(s),n=!0)},o(o){h(s),n=!1},d(o){o&&c(e),a[t].d(o)}}}function _n(r){let t,s;return t=new B({props:{keys:[ae,"size"],shouldShowColon:r[6],$$slots:{item_value:[cn,({key:e})=>({7:e}),({key:e})=>e?128:0],item_key:[nn,({key:e})=>({7:e}),({key:e})=>e?128:0],preview:[tn,({root:e})=>({10:e}),({root:e})=>e?1024:0],summary:[xt]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const l={};n&5279&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const ae="[[Entries]]";function pn(r,t,s){let e,{value:n}=t;U();let l=[],a=[],i=[];const o=u=>a[u],f=u=>u!==ae;return r.$$set=u=>{"value"in u&&s(0,n=u.value)},r.$$.update=()=>{if(r.$$.dirty&1){let u=[],_=[],p=[],$=0;for(const S of n)u.push($++),_.push(S[0]),p.push(S[1]);s(1,l=u),s(2,a=_),s(3,i=p)}r.$$.dirty&1&&s(4,e=Array.from(n.keys()).slice(0,5))},[n,l,a,i,e,o,f]}class mn extends F{constructor(t){super(),J(this,t,pn,_n,L,{value:0})}}function $n(r){let t,s,e;return{c(){t=b("span"),s=k(r[0]),this.h()},l(n){t=w(n,"SPAN",{class:!0});var l=N(t);s=y(l,r[0]),l.forEach(c),this.h()},h(){v(t,"class",e=pe(r[1])+" svelte-l95iub")},m(n,l){d(n,t,l),g(t,s)},p(n,[l]){l&1&&O(s,n[0]),l&2&&e!==(e=pe(n[1])+" svelte-l95iub")&&v(t,"class",e)},i:K,o:K,d(n){n&&c(t)}}}function hn(r,t,s){let{value:e,nodeType:n}=t;return r.$$set=l=>{"value"in l&&s(0,e=l.value),"nodeType"in l&&s(1,n=l.nodeType)},[e,n]}class W extends F{constructor(t){super(),J(this,t,hn,$n,L,{value:0,nodeType:1})}}function Fe(r,t,s){const e=r.slice();e[6]=t[s],e[9]=s;const n=e[9]h(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a0)},m(o,f){d(o,t,f),E(s,t,null),g(t,e),g(e,l),d(o,a,f),i=!0},p(o,f){const u={};f&1&&(u.value=o[6]+(o[7]?"\\n":"")),s.$set(u),(!i||f&1)&&n!==(n=o[7]?" +":"")&&O(l,n)},i(o){i||(m(s.$$.fragment,o),i=!0)},o(o){h(s.$$.fragment,o),i=!1},d(o){o&&(c(t),c(a)),A(s)}}}function vn(r){let t,s,e,n,l,a;const i=[gn,dn],o=[];function f(u,_){return u[1]?0:1}return s=f(r),e=o[s]=i[s](r),{c(){t=b("span"),e.c()},l(u){t=w(u,"SPAN",{});var _=N(t);e.l(_),_.forEach(c)},m(u,_){d(u,t,_),o[s].m(t,null),n=!0,l||(a=ne(t,"click",r[4]),l=!0)},p(u,[_]){let p=s;s=f(u),s===p?o[s].p(u,_):(R(),h(o[p],1,1,()=>{o[p]=null}),q(),e=o[s],e?e.p(u,_):(e=o[s]=i[s](u),e.c()),m(e,1),e.m(t,null))},i(u){n||(m(e),n=!0)},o(u){h(e),n=!1},d(u){u&&c(t),o[s].d(),l=!1,a()}}}function kn(r,t,s){let e,n,{stack:l}=t;const{expanded:a,expandable:i}=U();x(r,a,f=>s(1,n=f)),x(r,i,f=>s(5,e=f)),ee(i,e=!0,e);const o=()=>ee(a,n=!n,n);return r.$$set=f=>{"stack"in f&&s(0,l=f.stack)},[l,n,a,i,o]}class yn extends F{constructor(t){super(),J(this,t,kn,vn,L,{stack:0})}}function bn(r){let t,s,e=String(r[0].message)+"",n;return{c(){t=b("span"),s=k("Error: "),n=k(e),this.h()},l(l){t=w(l,"SPAN",{class:!0});var a=N(t);s=y(a,"Error: "),n=y(a,e),a.forEach(c),this.h()},h(){v(t,"class","label")},m(l,a){d(l,t,a),g(t,s),g(t,n)},p(l,a){a&1&&e!==(e=String(l[0].message)+"")&&O(n,e)},d(l){l&&c(t)}}}function wn(r){let t,s,e=String(r[0].message)+"",n;return{c(){t=b("span"),s=k("Error: "),n=k(e),this.h()},l(l){t=w(l,"SPAN",{class:!0});var a=N(t);s=y(a,"Error: "),n=y(a,e),a.forEach(c),this.h()},h(){v(t,"class","label")},m(l,a){d(l,t,a),g(t,s),g(t,n)},p(l,a){a&1&&e!==(e=String(l[0].message)+"")&&O(n,e)},d(l){l&&c(t)}}}function Sn(r){let t,s=r[2]+"",e;return{c(){t=b("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var l=N(t);e=y(l,s),l.forEach(c),this.h()},h(){v(t,"class","property")},m(n,l){d(n,t,l),g(t,e)},p(n,l){l&4&&s!==(s=n[2]+"")&&O(e,s)},d(n){n&&c(t)}}}function Nn(r){let t,s;return t=new M({props:{value:r[0][r[2]]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&5&&(l.value=e[0][e[2]]),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function jn(r){let t,s;return t=new yn({props:{stack:r[1]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&2&&(l.stack=e[1]),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function En(r){let t,s,e,n;const l=[jn,Nn],a=[];function i(o,f){return o[2]==="stack"?0:1}return t=i(r),s=a[t]=l[t](r),{c(){s.c(),e=T()},l(o){s.l(o),e=T()},m(o,f){a[t].m(o,f),d(o,e,f),n=!0},p(o,f){let u=t;t=i(o),t===u?a[t].p(o,f):(R(),h(a[u],1,1,()=>{a[u]=null}),q(),s=a[t],s?s.p(o,f):(s=a[t]=l[t](o),s.c()),m(s,1),s.m(e.parentNode,e))},i(o){n||(m(s),n=!0)},o(o){h(s),n=!1},d(o){o&&c(e),a[t].d(o)}}}function An(r){let t,s;return t=new B({props:{keys:["message","stack"],$$slots:{item_value:[En,({key:e})=>({2:e}),({key:e})=>e?4:0],item_key:[Sn,({key:e})=>({2:e}),({key:e})=>e?4:0],preview:[wn],summary:[bn]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const l={};n&15&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Pn(r,t,s){let e,{value:n}=t;return r.$$set=l=>{"value"in l&&s(0,n=l.value)},r.$$.update=()=>{r.$$.dirty&1&&s(1,e=n.stack.split(` +`))},[n,e]}class On extends F{constructor(t){super(),J(this,t,Pn,An,L,{value:0})}}function Tn(r,t){const s=Object.prototype.toString.call(r).slice(8,-1);return s==="Object"?!t&&typeof r[Symbol.iterator]=="function"?"Iterable":r.constructor.name:s}function Cn(r){let t,s,e,n;return{c(){t=b("span"),s=k('"'),e=k(r[0]),n=k('"'),this.h()},l(l){t=w(l,"SPAN",{class:!0});var a=N(t);s=y(a,'"'),e=y(a,r[0]),n=y(a,'"'),a.forEach(c),this.h()},h(){v(t,"class","svelte-1fvwa9c")},m(l,a){d(l,t,a),g(t,s),g(t,e),g(t,n)},p(l,a){a&1&&O(e,l[0])},d(l){l&&c(t)}}}function Mn(r){let t,s,e=r[0].slice(0,30)+(r[0].length>30?"…":""),n,l;return{c(){t=b("span"),s=k('"'),n=k(e),l=k('"'),this.h()},l(a){t=w(a,"SPAN",{class:!0});var i=N(t);s=y(i,'"'),n=y(i,e),l=y(i,'"'),i.forEach(c),this.h()},h(){v(t,"class","svelte-1fvwa9c")},m(a,i){d(a,t,i),g(t,s),g(t,n),g(t,l)},p(a,i){i&1&&e!==(e=a[0].slice(0,30)+(a[0].length>30?"…":""))&&O(n,e)},d(a){a&&c(t)}}}function In(r){let t;function s(l,a){return l[1]==="summary"?Mn:Cn}let n=s(r)(r);return{c(){n.c(),t=T()},l(l){n.l(l),t=T()},m(l,a){n.m(l,a),d(l,t,a)},p(l,[a]){n.p(l,a)},i:K,o:K,d(l){l&&c(t),n.d(l)}}}function Ln(r,t,s){let e,{value:n}=t;const l={"\n":"\\n"," ":"\\t","\r":"\\r"},{displayMode:a}=U();return r.$$set=i=>{"value"in i&&s(2,n=i.value)},r.$$.update=()=>{r.$$.dirty&4&&s(0,e=n.replace(/[\n\t\r]/g,i=>l[i]))},[e,a,n]}class Fn extends F{constructor(t){super(),J(this,t,Ln,In,L,{value:2})}}function Jn(r){let t,s="ƒ";return{c(){t=b("span"),t.textContent=s,this.h()},l(e){t=w(e,"SPAN",{class:!0,"data-svelte-h":!0}),le(t)!=="svelte-migemc"&&(t.textContent=s),this.h()},h(){v(t,"class","i svelte-1eamqdt")},m(e,n){d(e,t,n)},p:K,d(e){e&&c(t)}}}function Ke(r){let t,s=Re(r[2])+"",e;return{c(){t=b("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var l=N(t);e=y(l,s),l.forEach(c),this.h()},h(){v(t,"class","fn i svelte-1eamqdt")},m(n,l){d(n,t,l),g(t,e)},p(n,l){l&4&&s!==(s=Re(n[2])+"")&&O(e,s)},d(n){n&&c(t)}}}function Be(r){let t,s=qe(r[2])+"",e;return{c(){t=b("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var l=N(t);e=y(l,s),l.forEach(c),this.h()},h(){v(t,"class","i svelte-1eamqdt")},m(n,l){d(n,t,l),g(t,e)},p(n,l){l&4&&s!==(s=qe(n[2])+"")&&O(e,s)},d(n){n&&c(t)}}}function Kn(r){let t,s,e=!r[2].isArrow&&Ke(r),n=!r[2].isClass&&Be(r);return{c(){e&&e.c(),t=T(),n&&n.c(),s=T()},l(l){e&&e.l(l),t=T(),n&&n.l(l),s=T()},m(l,a){e&&e.m(l,a),d(l,t,a),n&&n.m(l,a),d(l,s,a)},p(l,a){l[2].isArrow?e&&(e.d(1),e=null):e?e.p(l,a):(e=Ke(l),e.c(),e.m(t.parentNode,t)),l[2].isClass?n&&(n.d(1),n=null):n?n.p(l,a):(n=Be(l),n.c(),n.m(s.parentNode,s))},d(l){l&&(c(t),c(s)),e&&e.d(l),n&&n.d(l)}}}function Bn(r){let t,s=r[6]+"",e,n;return{c(){t=b("span"),e=k(s),this.h()},l(l){t=w(l,"SPAN",{class:!0});var a=N(t);e=y(a,s),a.forEach(c),this.h()},h(){v(t,"class",n=r[6]===oe||r[6]===ie?"internal":"property")},m(l,a){d(l,t,a),g(t,e)},p(l,a){a&64&&s!==(s=l[6]+"")&&O(e,s),a&64&&n!==(n=l[6]===oe||l[6]===ie?"internal":"property")&&v(t,"class",n)},d(l){l&&c(t)}}}function Rn(r){let t,s;return t=new M({props:{value:r[3](r[6])}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&64&&(l.value=e[3](e[6])),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function qn(r){let t,s;return t=new ce({props:{value:r[3](r[6])}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&64&&(l.value=e[3](e[6])),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function Un(r){let t,s;return{c(){t=b("span"),s=k(r[0]),this.h()},l(e){t=w(e,"SPAN",{class:!0});var n=N(t);s=y(n,r[0]),n.forEach(c),this.h()},h(){v(t,"class","i svelte-1eamqdt")},m(e,n){d(e,t,n),g(t,s)},p(e,n){n&1&&O(s,e[0])},i:K,o:K,d(e){e&&c(t)}}}function Vn(r){let t,s,e,n;const l=[Un,qn,Rn],a=[];function i(o,f){return o[6]===oe?0:o[6]==="prototype"?1:2}return t=i(r),s=a[t]=l[t](r),{c(){s.c(),e=T()},l(o){s.l(o),e=T()},m(o,f){a[t].m(o,f),d(o,e,f),n=!0},p(o,f){let u=t;t=i(o),t===u?a[t].p(o,f):(R(),h(a[u],1,1,()=>{a[u]=null}),q(),s=a[t],s?s.p(o,f):(s=a[t]=l[t](o),s.c()),m(s,1),s.m(e.parentNode,e))},i(o){n||(m(s),n=!0)},o(o){h(s),n=!1},d(o){o&&c(e),a[t].d(o)}}}function Gn(r){let t,s;return t=new B({props:{keys:r[1],$$slots:{item_value:[Vn,({key:e})=>({6:e}),({key:e})=>e?64:0],item_key:[Bn,({key:e})=>({6:e}),({key:e})=>e?64:0],preview:[Kn],summary:[Jn]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const l={};n&2&&(l.keys=e[1]),n&197&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const oe="[[Function]]",ie="[[Prototype]]";function zn(r){const t=r.match(/^(?:(async)\s+)?(?:function)?(\*)?\s*([^(]+)?(\([^)]*\))\s*(=>)?/),s=t==null?void 0:t[1],e=t==null?void 0:t[2],n=t==null?void 0:t[3],l=t==null?void 0:t[4],a=t==null?void 0:t[5],i=r.match(/^class\s+([^\s]+)/),o=i==null?void 0:i[1];return{args:l,isAsync:s,isGenerator:e,fnName:n,isArrow:a,isClass:o}}function Re({isGenerator:r,isAsync:t,isClass:s}){return s?`class ${s}`:(t?"async ":"")+"ƒ"+(r?"*":"")}function qe({isAsync:r,isArrow:t,fnName:s,args:e}){return(t&&r?"async":"")+" "+(s??"")+e+(t?" => …":"")}function Dn(r){try{return r.toString()}catch{switch(r.constructor.name){case"AsyncFunction":return"async function () {}";case"AsyncGeneratorFunction":return"async function * () {}";case"GeneratorFunction:":return"function * () {}";default:return"function () {}"}}}function Wn(r,t,s){let e,n,l,{value:a}=t;function i(f){return f===ie?a.__proto__:a[f]}function o(f){return f===oe?!0:i(f)}return r.$$set=f=>{"value"in f&&s(4,a=f.value)},r.$$.update=()=>{r.$$.dirty&16&&s(0,e=Dn(a)),r.$$.dirty&1&&s(2,n=zn(e))},s(1,l=["length","name","prototype",oe,ie].filter(o)),[e,l,n,i,a]}class Zn extends F{constructor(t){super(),J(this,t,Wn,Gn,L,{value:4})}}function Hn(r){let t,s=r[3]?"writable(":"readable(",e,n,l=")",a,i;return n=new M({props:{value:r[2]}}),{c(){t=b("span"),e=k(s),j(n.$$.fragment),a=k(l),this.h()},l(o){t=w(o,"SPAN",{class:!0});var f=N(t);e=y(f,s),P(n.$$.fragment,f),a=y(f,l),f.forEach(c),this.h()},h(){v(t,"class","label")},m(o,f){d(o,t,f),g(t,e),E(n,t,null),g(t,a),i=!0},p(o,f){(!i||f&8)&&s!==(s=o[3]?"writable(":"readable(")&&O(e,s);const u={};f&4&&(u.value=o[2]),n.$set(u)},i(o){i||(m(n.$$.fragment,o),i=!0)},o(o){h(n.$$.fragment,o),i=!1},d(o){o&&c(t),A(n)}}}function Qn(r){let t,s=r[10]+"",e,n,l=": ",a,i,o;return i=new M({props:{value:r[0][r[10]]}}),{c(){t=b("span"),e=k(s),n=b("span"),a=k(l),j(i.$$.fragment),this.h()},l(f){t=w(f,"SPAN",{class:!0});var u=N(t);e=y(u,s),u.forEach(c),n=w(f,"SPAN",{class:!0});var _=N(n);a=y(_,l),_.forEach(c),P(i.$$.fragment,f),this.h()},h(){v(t,"class","property"),v(n,"class","operator")},m(f,u){d(f,t,u),g(t,e),d(f,n,u),g(n,a),E(i,f,u),o=!0},p(f,u){(!o||u&1024)&&s!==(s=f[10]+"")&&O(e,s);const _={};u&1025&&(_.value=f[0][f[10]]),i.$set(_)},i(f){o||(m(i.$$.fragment,f),o=!0)},o(f){h(i.$$.fragment,f),o=!1},d(f){f&&(c(t),c(n)),A(i,f)}}}function Xn(r){let t,s;return t=new se({props:{list:r[4],hasMore:r[4].length({10:e}),({item:e})=>e?1024:0]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&16&&(l.list=e[4]),n&18&&(l.hasMore=e[4].length({8:e}),({key:e})=>e?256:0],item_key:[Yn,({key:e})=>({8:e}),({key:e})=>e?256:0],preview:[Xn,({root:e})=>({9:e}),({root:e})=>e?512:0],summary:[Hn]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const l={};n&32&&(l.keys=e[5]),n&2847&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const fe="$value";function ts(r,t,s){let e,n,l,a,i,o,f=K,u=()=>(f(),f=Ve(_,$=>s(7,o=$)),_);r.$$.on_destroy.push(()=>f());let{value:_}=t;u();function p($){return $===fe?a:_[$]}return r.$$set=$=>{"value"in $&&u(s(0,_=$.value))},r.$$.update=()=>{r.$$.dirty&1&&s(1,e=Object.getOwnPropertyNames(_)),r.$$.dirty&2&&s(5,n=[fe,...e]),r.$$.dirty&2&&s(4,l=e.slice(0,5)),r.$$.dirty&128&&s(2,a=o),r.$$.dirty&1&&s(3,i=typeof _.set=="function")},[_,e,a,i,l,n,p,o]}class ns extends F{constructor(t){super(),J(this,t,ts,es,L,{value:0})}}function ss(r){let t,s,e,n=r[0].length+"",l,a;return{c(){t=b("span"),s=k(r[1]),e=k("("),l=k(n),a=k(")"),this.h()},l(i){t=w(i,"SPAN",{class:!0});var o=N(t);s=y(o,r[1]),e=y(o,"("),l=y(o,n),a=y(o,")"),o.forEach(c),this.h()},h(){v(t,"class","label")},m(i,o){d(i,t,o),g(t,s),g(t,e),g(t,l),g(t,a)},p(i,o){o&2&&O(s,i[1]),o&1&&n!==(n=i[0].length+"")&&O(l,n)},d(i){i&&c(t)}}}function ls(r){let t,s;return t=new M({props:{value:r[8]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&256&&(l.value=e[8]),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function rs(r){let t,s;return t=new se({props:{list:r[2],hasMore:r[2].length({8:e}),({item:e})=>e?256:0]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&4&&(l.list=e[2]),n&5&&(l.hasMore=e[2].length({6:e}),({key:e})=>e?64:0],item_key:[as,({key:e})=>({6:e}),({key:e})=>e?64:0],preview:[rs,({root:e})=>({7:e}),({root:e})=>e?128:0],summary:[ss]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const l={};n&8&&(l.keys=e[3]),n&711&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}const Ue="Symbol(Symbol.toStringTag)";function fs(r,t,s){let e,n,{value:l}=t,{nodeType:a}=t;const i=["buffer","byteLength","byteOffset","length",Ue];function o(f){return f===Ue?l[Symbol.toStringTag]:l[f]}return r.$$set=f=>{"value"in f&&s(0,l=f.value),"nodeType"in f&&s(1,a=f.nodeType)},r.$$.update=()=>{r.$$.dirty&1&&s(3,e=[...Object.getOwnPropertyNames(l),...i]),r.$$.dirty&1&&s(2,n=l.slice(0,5))},[l,a,n,e,i,o]}class us extends F{constructor(t){super(),J(this,t,fs,is,L,{value:0,nodeType:1})}}function cs(r){let t,s;return{c(){t=b("span"),s=k(r[1]),this.h()},l(e){t=w(e,"SPAN",{class:!0});var n=N(t);s=y(n,r[1]),n.forEach(c),this.h()},h(){v(t,"class","regex svelte-17k1wqt")},m(e,n){d(e,t,n),g(t,s)},p(e,n){n&2&&O(s,e[1])},d(e){e&&c(t)}}}function _s(r){let t,s;return{c(){t=b("span"),s=k(r[1]),this.h()},l(e){t=w(e,"SPAN",{class:!0});var n=N(t);s=y(n,r[1]),n.forEach(c),this.h()},h(){v(t,"class","regex svelte-17k1wqt")},m(e,n){d(e,t,n),g(t,s)},p(e,n){n&2&&O(s,e[1])},d(e){e&&c(t)}}}function ps(r){let t,s=String(r[3])+"",e;return{c(){t=b("span"),e=k(s),this.h()},l(n){t=w(n,"SPAN",{class:!0});var l=N(t);e=y(l,s),l.forEach(c),this.h()},h(){v(t,"class","internal")},m(n,l){d(n,t,l),g(t,e)},p(n,l){l&8&&s!==(s=String(n[3])+"")&&O(e,s)},d(n){n&&c(t)}}}function ms(r){let t,s;return t=new M({props:{value:r[0][r[3]]}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,n){const l={};n&9&&(l.value=e[0][e[3]]),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function $s(r){let t,s;return t=new B({props:{keys:r[2],$$slots:{item_value:[ms,({key:e})=>({3:e}),({key:e})=>e?8:0],item_key:[ps,({key:e})=>({3:e}),({key:e})=>e?8:0],preview:[_s],summary:[cs]},$$scope:{ctx:r}}}),{c(){j(t.$$.fragment)},l(e){P(t.$$.fragment,e)},m(e,n){E(t,e,n),s=!0},p(e,[n]){const l={};n&27&&(l.$$scope={dirty:n,ctx:e}),t.$set(l)},i(e){s||(m(t.$$.fragment,e),s=!0)},o(e){h(t.$$.fragment,e),s=!1},d(e){A(t,e)}}}function hs(r,t,s){let e,{value:n}=t;const l=["lastIndex","dotAll","flags","global","hasIndices","ignoreCase","multiline","source","sticky","unicode"];return r.$$set=a=>{"value"in a&&s(0,n=a.value)},r.$$.update=()=>{r.$$.dirty&1&&s(1,e=n.toString())},[n,e,l]}class ds extends F{constructor(t){super(),J(this,t,hs,$s,L,{value:0})}}function gs(r){let t,s,e;const n=[{value:r[0]},r[1]];var l=r[2];function a(i,o){let f={};if(o!==void 0&&o&3)f=$e(n,[o&1&&{value:i[0]},o&2&&he(i[1])]);else for(let u=0;u{A(f,1)}),q()}l?(t=me(l,a(i,o)),j(t.$$.fragment),m(t.$$.fragment,1),E(t,s.parentNode,s)):t=null}else if(l){const f=o&3?$e(n,[o&1&&{value:i[0]},o&2&&he(i[1])]):{};t.$set(f)}},i(i){e||(t&&m(t.$$.fragment,i),e=!0)},o(i){t&&h(t.$$.fragment,i),e=!1},d(i){i&&c(s),t&&A(t,i)}}}function vs(r,t,s){let e,n,l,{value:a}=t;const i=ue();x(r,i,u=>s(4,l=u));const{shouldTreatIterableAsObject:o}=U();function f(u,_){switch(u){case"Object":return typeof _.subscribe=="function"?[ns]:[ce];case"Error":return[On];case"Array":return[Rt];case"Map":return[mn];case"Iterable":case"Set":return[Yt,{nodeType:u}];case"Number":return[W,{nodeType:u}];case"String":return[Fn];case"Boolean":return[W,{nodeType:u,value:_?"true":"false"}];case"Date":return[W,{nodeType:u,value:_.toISOString()}];case"Null":return[W,{nodeType:u,value:"null"}];case"Undefined":return[W,{nodeType:u,value:"undefined"}];case"Function":case"AsyncFunction":case"AsyncGeneratorFunction":case"GeneratorFunction":return[Zn];case"Symbol":return[W,{nodeType:u,value:_.toString()}];case"BigInt":return[W,{nodeType:u,value:String(_)+"n"}];case"ArrayBuffer":return[W,{nodeType:u,value:`ArrayBuffer(${_.byteLength})`}];case"BigInt64Array":case"BigUint64Array":case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint8ClampedArray":case"Uint16Array":case"Uint32Array":return[us,{nodeType:u}];case"RegExp":return[ds];default:return[ce,{summary:u}]}}return r.$$set=u=>{"value"in u&&s(0,a=u.value)},r.$$.update=()=>{r.$$.dirty&1&&ee(i,l=Tn(a,o),l),r.$$.dirty&17&&s(2,[e,n]=f(l,a),e,(s(1,n),s(4,l),s(0,a)))},[a,n,e,i,l]}class M extends F{constructor(t){super(),J(this,t,vs,gs,L,{value:0})}}function ks({defaultExpandedPaths:r,defaultExpandedLevel:t}){const s=r.map(n=>n.split("."));function e(n){e:for(const l of s){if(n.length>l.length)continue;const a=Math.min(n.length,l.length);for(let i=0;ie(u),level:0,keyPath:[],showPreview:l,shouldTreatIterableAsObject:a}),r.$$set=u=>{"value"in u&&s(0,n=u.value),"shouldShowPreview"in u&&s(2,l=u.shouldShowPreview),"shouldTreatIterableAsObject"in u&&s(3,a=u.shouldTreatIterableAsObject),"defaultExpandedPaths"in u&&s(4,i=u.defaultExpandedPaths),"defaultExpandedLevel"in u&&s(5,o=u.defaultExpandedLevel)},r.$$.update=()=>{r.$$.dirty&48&&(e=ks({defaultExpandedPaths:i,defaultExpandedLevel:o}))},[n,f,l,a,i,o]}class Ss extends F{constructor(t){super(),J(this,t,ws,bs,L,{value:0,shouldShowPreview:2,shouldTreatIterableAsObject:3,defaultExpandedPaths:4,defaultExpandedLevel:5})}}function Ns(r){let t,s,e,n;return s=new Ss({props:{value:r[0],defaultExpandedLevel:r[2]}}),{c(){t=b("div"),e=b("div"),j(s.$$.fragment),this.h()},l(l){t=w(l,"DIV",{class:!0});var a=N(t);e=w(a,"DIV",{style:!0});var i=N(e);P(s.$$.fragment,i),a.forEach(c),this.h()},h(){G(e,"display","contents"),G(e,"--json-tree-font-size","16px"),G(e,"--json-tree-li-line-height","1.7"),G(e,"--json-tree-font-family","monospace"),G(e,"--json-tree-string-color","var(--color-text)"),G(e,"--json-tree-label-color","var(--color-interaction)"),G(e,"--json-tree-property-color","var(--color-interaction)"),G(e,"--json-tree-number-color","var(--color-text-secondary)"),G(e,"--json-tree-boolean-color","var(--color-text-secondary)"),v(t,"class","svelte-1ajfzk1"),Z(t,"showFullLines",r[1])},m(l,a){d(l,t,a),g(t,e),E(s,e,null),n=!0},p(l,[a]){const i={};a&1&&(i.value=l[0]),a&4&&(i.defaultExpandedLevel=l[2]),s.$set(i),(!n||a&2)&&Z(t,"showFullLines",l[1])},i(l){n||(m(s.$$.fragment,l),n=!0)},o(l){h(s.$$.fragment,l),n=!1},d(l){l&&c(t),A(s)}}}function js(r,t,s){let{value:e}=t,{showFullLines:n=!1}=t,{expandedLines:l=2}=t;return r.$$set=a=>{"value"in a&&s(0,e=a.value),"showFullLines"in a&&s(1,n=a.showFullLines),"expandedLines"in a&&s(2,l=a.expandedLines)},[e,n,l]}class Ts extends F{constructor(t){super(),J(this,t,js,Ns,L,{value:0,showFullLines:1,expandedLines:2})}}export{Ts as J}; diff --git a/gui/next/build/_app/immutable/chunks/Number.6952118c.js b/gui/next/build/_app/immutable/chunks/Number.a1b73508.js similarity index 52% rename from gui/next/build/_app/immutable/chunks/Number.6952118c.js rename to gui/next/build/_app/immutable/chunks/Number.a1b73508.js index 339face1..6a6602c2 100644 --- a/gui/next/build/_app/immutable/chunks/Number.6952118c.js +++ b/gui/next/build/_app/immutable/chunks/Number.a1b73508.js @@ -1 +1 @@ -import{s as y,f as k,l as C,a as B,g as I,h as U,m as H,d as T,c as O,j as u,k as K,i as x,u as _,K as Z,x as R,V as z,n as F,Z as p,y as $,H as ee,_ as ae}from"./scheduler.bed694a1.js";import{S as ne,i as te,b as G,d as J,m as M,a as Q,t as W,e as X}from"./index.606d5641.js";import{I as Y}from"./Icon.4ad67fd0.js";function se(a){let l,t,b,c,L,f,g,o,N,n,E,r,d,S,D,h,s,A,m,V,j;return f=new Y({props:{icon:a[6]==="navigation"?"arrowLeft":"minus"}}),h=new Y({props:{icon:a[6]==="navigation"?"arrowRight":"minus"}}),{c(){l=k("div"),t=k("button"),b=k("span"),c=C(a[7]),L=B(),G(f.$$.fragment),N=B(),n=k("input"),E=B(),r=k("button"),d=k("span"),S=C(a[8]),D=B(),G(h.$$.fragment),this.h()},l(e){l=I(e,"DIV",{class:!0});var i=U(l);t=I(i,"BUTTON",{class:!0,"aria-hidden":!0});var v=U(t);b=I(v,"SPAN",{class:!0});var P=U(b);c=H(P,a[7]),P.forEach(T),L=O(v),J(f.$$.fragment,v),v.forEach(T),N=O(i),n=I(i,"INPUT",{form:!0,type:!0,name:!0,id:!0,min:!0,max:!0,step:!0,style:!0,class:!0}),E=O(i),r=I(i,"BUTTON",{class:!0,"aria-hidden":!0});var w=U(r);d=I(w,"SPAN",{class:!0});var q=U(d);S=H(q,a[8]),q.forEach(T),D=O(w),J(h.$$.fragment,w),w.forEach(T),i.forEach(T),this.h()},h(){var e;u(b,"class","label"),u(t,"class","button svelte-1g961xw"),t.disabled=g=a[0]<=a[3],u(t,"aria-hidden",o=a[0]<=a[3]),u(n,"form",a[1]),u(n,"type","number"),u(n,"name",a[2]),u(n,"id",a[2]),u(n,"min",a[3]),u(n,"max",a[4]),u(n,"step",a[5]),K(n,"--max",(((e=a[4])==null?void 0:e.toString().length)||1)+"ch"),u(n,"class","svelte-1g961xw"),u(d,"class","label"),u(r,"class","button svelte-1g961xw"),r.disabled=s=a[0]>=a[4],u(r,"aria-hidden",A=a[0]>=a[4]),u(l,"class","number svelte-1g961xw")},m(e,i){x(e,l,i),_(l,t),_(t,b),_(b,c),_(t,L),M(f,t,null),_(l,N),_(l,n),Z(n,a[0]),_(l,E),_(l,r),_(r,d),_(d,S),_(r,D),M(h,r,null),m=!0,V||(j=[R(t,"click",z(a[11])),R(n,"input",a[12]),R(n,"input",a[10]),R(r,"click",z(a[13]))],V=!0)},p(e,[i]){var w;(!m||i&128)&&F(c,e[7]);const v={};i&64&&(v.icon=e[6]==="navigation"?"arrowLeft":"minus"),f.$set(v),(!m||i&9&&g!==(g=e[0]<=e[3]))&&(t.disabled=g),(!m||i&9&&o!==(o=e[0]<=e[3]))&&u(t,"aria-hidden",o),(!m||i&2)&&u(n,"form",e[1]),(!m||i&4)&&u(n,"name",e[2]),(!m||i&4)&&u(n,"id",e[2]),(!m||i&8)&&u(n,"min",e[3]),(!m||i&16)&&u(n,"max",e[4]),(!m||i&32)&&u(n,"step",e[5]),(!m||i&16)&&K(n,"--max",(((w=e[4])==null?void 0:w.toString().length)||1)+"ch"),i&1&&p(n.value)!==e[0]&&Z(n,e[0]),(!m||i&256)&&F(S,e[8]);const P={};i&64&&(P.icon=e[6]==="navigation"?"arrowRight":"minus"),h.$set(P),(!m||i&17&&s!==(s=e[0]>=e[4]))&&(r.disabled=s),(!m||i&17&&A!==(A=e[0]>=e[4]))&&u(r,"aria-hidden",A)},i(e){m||(Q(f.$$.fragment,e),Q(h.$$.fragment,e),m=!0)},o(e){W(f.$$.fragment,e),W(h.$$.fragment,e),m=!1},d(e){e&&T(l),X(f),X(h),V=!1,$(j)}}}function ie(a,l,t){let{form:b}=l,{name:c}=l,{min:L=1}=l,{max:f}=l,{step:g=1}=l,{value:o=""}=l,{style:N}=l,{decreaseLabel:n=`Decrease ${c} value`}=l,{increaseLabel:E=`Increase ${c} value`}=l;const r=ee();function d(s){ae.call(this,a,s)}const S=()=>{t(0,o=o-1),r("input")};function D(){o=p(this.value),t(0,o)}const h=()=>{t(0,o=o+1),r("input")};return a.$$set=s=>{"form"in s&&t(1,b=s.form),"name"in s&&t(2,c=s.name),"min"in s&&t(3,L=s.min),"max"in s&&t(4,f=s.max),"step"in s&&t(5,g=s.step),"value"in s&&t(0,o=s.value),"style"in s&&t(6,N=s.style),"decreaseLabel"in s&&t(7,n=s.decreaseLabel),"increaseLabel"in s&&t(8,E=s.increaseLabel)},[o,b,c,L,f,g,N,n,E,r,d,S,D,h]}class me extends ne{constructor(l){super(),te(this,l,ie,se,y,{form:1,name:2,min:3,max:4,step:5,value:0,style:6,decreaseLabel:7,increaseLabel:8})}}export{me as N}; +import{s as y,f as k,l as C,a as A,g as I,h as R,m as H,d as T,c as B,j as u,k as K,i as x,u as _,K as W,x as O,R as z,n as F,V as p,y as $,H as ee,W as ae}from"./scheduler.a497d5ec.js";import{S as ne,i as te,b as G,d as J,m as M,a as Q,t as X,e as Y}from"./index.ca999c64.js";import{I as Z}from"./Icon.1ce3f3fe.js";function se(a){let l,t,b,c,L,f,g,o,N,n,E,r,d,S,D,h,s,U,m,V,j;return f=new Z({props:{icon:a[6]==="navigation"?"arrowLeft":"minus"}}),h=new Z({props:{icon:a[6]==="navigation"?"arrowRight":"minus"}}),{c(){l=k("div"),t=k("button"),b=k("span"),c=C(a[7]),L=A(),G(f.$$.fragment),N=A(),n=k("input"),E=A(),r=k("button"),d=k("span"),S=C(a[8]),D=A(),G(h.$$.fragment),this.h()},l(e){l=I(e,"DIV",{class:!0});var i=R(l);t=I(i,"BUTTON",{class:!0,"aria-hidden":!0});var v=R(t);b=I(v,"SPAN",{class:!0});var P=R(b);c=H(P,a[7]),P.forEach(T),L=B(v),J(f.$$.fragment,v),v.forEach(T),N=B(i),n=I(i,"INPUT",{form:!0,type:!0,name:!0,id:!0,min:!0,max:!0,step:!0,style:!0,class:!0}),E=B(i),r=I(i,"BUTTON",{class:!0,"aria-hidden":!0});var w=R(r);d=I(w,"SPAN",{class:!0});var q=R(d);S=H(q,a[8]),q.forEach(T),D=B(w),J(h.$$.fragment,w),w.forEach(T),i.forEach(T),this.h()},h(){var e;u(b,"class","label"),u(t,"class","button svelte-1g961xw"),t.disabled=g=a[0]<=a[3],u(t,"aria-hidden",o=a[0]<=a[3]),u(n,"form",a[1]),u(n,"type","number"),u(n,"name",a[2]),u(n,"id",a[2]),u(n,"min",a[3]),u(n,"max",a[4]),u(n,"step",a[5]),K(n,"--max",(((e=a[4])==null?void 0:e.toString().length)||1)+"ch"),u(n,"class","svelte-1g961xw"),u(d,"class","label"),u(r,"class","button svelte-1g961xw"),r.disabled=s=a[0]>=a[4],u(r,"aria-hidden",U=a[0]>=a[4]),u(l,"class","number svelte-1g961xw")},m(e,i){x(e,l,i),_(l,t),_(t,b),_(b,c),_(t,L),M(f,t,null),_(l,N),_(l,n),W(n,a[0]),_(l,E),_(l,r),_(r,d),_(d,S),_(r,D),M(h,r,null),m=!0,V||(j=[O(t,"click",z(a[11])),O(n,"input",a[12]),O(n,"input",a[10]),O(r,"click",z(a[13]))],V=!0)},p(e,[i]){var w;(!m||i&128)&&F(c,e[7]);const v={};i&64&&(v.icon=e[6]==="navigation"?"arrowLeft":"minus"),f.$set(v),(!m||i&9&&g!==(g=e[0]<=e[3]))&&(t.disabled=g),(!m||i&9&&o!==(o=e[0]<=e[3]))&&u(t,"aria-hidden",o),(!m||i&2)&&u(n,"form",e[1]),(!m||i&4)&&u(n,"name",e[2]),(!m||i&4)&&u(n,"id",e[2]),(!m||i&8)&&u(n,"min",e[3]),(!m||i&16)&&u(n,"max",e[4]),(!m||i&32)&&u(n,"step",e[5]),(!m||i&16)&&K(n,"--max",(((w=e[4])==null?void 0:w.toString().length)||1)+"ch"),i&1&&p(n.value)!==e[0]&&W(n,e[0]),(!m||i&256)&&F(S,e[8]);const P={};i&64&&(P.icon=e[6]==="navigation"?"arrowRight":"minus"),h.$set(P),(!m||i&17&&s!==(s=e[0]>=e[4]))&&(r.disabled=s),(!m||i&17&&U!==(U=e[0]>=e[4]))&&u(r,"aria-hidden",U)},i(e){m||(Q(f.$$.fragment,e),Q(h.$$.fragment,e),m=!0)},o(e){X(f.$$.fragment,e),X(h.$$.fragment,e),m=!1},d(e){e&&T(l),Y(f),Y(h),V=!1,$(j)}}}function ie(a,l,t){let{form:b}=l,{name:c}=l,{min:L=1}=l,{max:f}=l,{step:g=1}=l,{value:o=""}=l,{style:N}=l,{decreaseLabel:n=`Decrease ${c} value`}=l,{increaseLabel:E=`Increase ${c} value`}=l;const r=ee();function d(s){ae.call(this,a,s)}const S=()=>{t(0,o=o-1),r("input")};function D(){o=p(this.value),t(0,o)}const h=()=>{t(0,o=o+1),r("input")};return a.$$set=s=>{"form"in s&&t(1,b=s.form),"name"in s&&t(2,c=s.name),"min"in s&&t(3,L=s.min),"max"in s&&t(4,f=s.max),"step"in s&&t(5,g=s.step),"value"in s&&t(0,o=s.value),"style"in s&&t(6,N=s.style),"decreaseLabel"in s&&t(7,n=s.decreaseLabel),"increaseLabel"in s&&t(8,E=s.increaseLabel)},[o,b,c,L,f,g,N,n,E,r,d,S,D,h]}class me extends ne{constructor(l){super(),te(this,l,ie,se,y,{form:1,name:2,min:3,max:4,step:5,value:0,style:6,decreaseLabel:7,increaseLabel:8})}}export{me as N}; diff --git a/gui/next/build/_app/immutable/chunks/each.177d9825.js b/gui/next/build/_app/immutable/chunks/each.1577bad0.js similarity index 85% rename from gui/next/build/_app/immutable/chunks/each.177d9825.js rename to gui/next/build/_app/immutable/chunks/each.1577bad0.js index 7eaea289..795e856d 100644 --- a/gui/next/build/_app/immutable/chunks/each.177d9825.js +++ b/gui/next/build/_app/immutable/chunks/each.1577bad0.js @@ -1 +1 @@ -import{t as B,a as C}from"./index.606d5641.js";import{y as D}from"./scheduler.bed694a1.js";function G(n){return(n==null?void 0:n.length)!==void 0?n:Array.from(n)}function H(n,o){B(n,1,1,()=>{o.delete(n.key)})}function I(n,o,x,A,j,g,d,k,p,q,w,z){let i=n.length,f=g.length,c=i;const u={};for(;c--;)u[n[c].key]=c;const h=[],a=new Map,m=new Map,M=[];for(c=f;c--;){const e=z(j,g,c),s=x(e);let t=d.get(s);t?A&&M.push(()=>t.p(e,o)):(t=q(s,e),t.c()),a.set(s,h[c]=t),s in u&&m.set(s,Math.abs(c-u[s]))}const v=new Set,S=new Set;function y(e){C(e,1),e.m(k,w),d.set(e.key,e),w=e.first,f--}for(;i&&f;){const e=h[f-1],s=n[i-1],t=e.key,l=s.key;e===s?(w=e.first,i--,f--):a.has(l)?!d.has(t)||v.has(t)?y(e):S.has(l)?i--:m.get(t)>m.get(l)?(S.add(t),y(e)):(v.add(l),i--):(p(s,d),i--)}for(;i--;){const e=n[i];a.has(e.key)||p(e,d)}for(;f;)y(h[f-1]);return D(M),h}export{G as e,H as o,I as u}; +import{t as B,a as C}from"./index.ca999c64.js";import{y as D}from"./scheduler.a497d5ec.js";function G(n){return(n==null?void 0:n.length)!==void 0?n:Array.from(n)}function H(n,o){B(n,1,1,()=>{o.delete(n.key)})}function I(n,o,x,A,j,g,d,k,p,q,w,z){let i=n.length,f=g.length,c=i;const u={};for(;c--;)u[n[c].key]=c;const h=[],a=new Map,m=new Map,M=[];for(c=f;c--;){const e=z(j,g,c),s=x(e);let t=d.get(s);t?A&&M.push(()=>t.p(e,o)):(t=q(s,e),t.c()),a.set(s,h[c]=t),s in u&&m.set(s,Math.abs(c-u[s]))}const v=new Set,S=new Set;function y(e){C(e,1),e.m(k,w),d.set(e.key,e),w=e.first,f--}for(;i&&f;){const e=h[f-1],s=n[i-1],t=e.key,l=s.key;e===s?(w=e.first,i--,f--):a.has(l)?!d.has(t)||v.has(t)?y(e):S.has(l)?i--:m.get(t)>m.get(l)?(S.add(t),y(e)):(v.add(l),i--):(p(s,d),i--)}for(;i--;){const e=n[i];a.has(e.key)||p(e,d)}for(;f;)y(h[f-1]);return D(M),h}export{G as e,H as o,I as u}; diff --git a/gui/next/build/_app/immutable/chunks/index.13972ea2.js b/gui/next/build/_app/immutable/chunks/index.13972ea2.js new file mode 100644 index 00000000..47fdb392 --- /dev/null +++ b/gui/next/build/_app/immutable/chunks/index.13972ea2.js @@ -0,0 +1 @@ +import{Y as n}from"./scheduler.a497d5ec.js";function r(t,{delay:o=0,duration:e=400,easing:i=n}={}){const a=+getComputedStyle(t).opacity;return{delay:o,duration:e,easing:i,css:c=>`opacity: ${c*a}`}}export{r as f}; diff --git a/gui/next/build/_app/immutable/chunks/index.35d92de3.js b/gui/next/build/_app/immutable/chunks/index.35d92de3.js deleted file mode 100644 index 98bcc5bb..00000000 --- a/gui/next/build/_app/immutable/chunks/index.35d92de3.js +++ /dev/null @@ -1 +0,0 @@ -import{a0 as n}from"./scheduler.bed694a1.js";function r(t,{delay:o=0,duration:e=400,easing:a=n}={}){const i=+getComputedStyle(t).opacity;return{delay:o,duration:e,easing:a,css:c=>`opacity: ${c*i}`}}export{r as f}; diff --git a/gui/next/build/_app/immutable/chunks/index.606d5641.js b/gui/next/build/_app/immutable/chunks/index.ca999c64.js similarity index 58% rename from gui/next/build/_app/immutable/chunks/index.606d5641.js rename to gui/next/build/_app/immutable/chunks/index.ca999c64.js index 1c1ed777..3a38ddbf 100644 --- a/gui/next/build/_app/immutable/chunks/index.606d5641.js +++ b/gui/next/build/_app/immutable/chunks/index.ca999c64.js @@ -1,4 +1,4 @@ -var K=Object.defineProperty;var Q=(t,e,n)=>e in t?K(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var R=(t,e,n)=>(Q(t,typeof e!="symbol"?e+"":e,n),n);import{A as v,a8 as W,d as F,a9 as X,y as j,I as P,B as C,aa as Y,a0 as L,ab as N,h as Z,T as tt,ac as et,ad as nt,ae as it,S as D,af as st,ag as rt,ah as at,ai as ot,aj as ft}from"./scheduler.bed694a1.js";const T=typeof window<"u";let U=T?()=>window.performance.now():()=>Date.now(),B=T?t=>requestAnimationFrame(t):v;const x=new Set;function V(t){x.forEach(e=>{e.c(t)||(x.delete(e),e.f())}),x.size!==0&&B(V)}function q(t){let e;return x.size===0&&B(V),{promise:new Promise(n=>{x.add(e={c:t,f:n})}),abort(){x.delete(e)}}}const I=new Map;let M=0;function ut(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function lt(t,e){const n={stylesheet:X(e),rules:{}};return I.set(t,n),n}function k(t,e,n,i,l,o,u,s=0){const c=16.666/i;let r=`{ +var K=Object.defineProperty;var Q=(t,e,n)=>e in t?K(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var R=(t,e,n)=>(Q(t,typeof e!="symbol"?e+"":e,n),n);import{A as v,a4 as T,d as F,a5 as W,y as O,I as P,B as C,a6 as X,Y as L,a7 as N,h as Z,a8 as tt,a9 as et,aa as nt,ab as it,ac as D,ad as st,ae as rt,af as at,ag as ot,ah as ft}from"./scheduler.a497d5ec.js";const U=typeof window<"u";let V=U?()=>window.performance.now():()=>Date.now(),B=U?t=>requestAnimationFrame(t):v;const x=new Set;function Y(t){x.forEach(e=>{e.c(t)||(x.delete(e),e.f())}),x.size!==0&&B(Y)}function q(t){let e;return x.size===0&&B(Y),{promise:new Promise(n=>{x.add(e={c:t,f:n})}),abort(){x.delete(e)}}}const I=new Map;let M=0;function ut(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function lt(t,e){const n={stylesheet:W(e),rules:{}};return I.set(t,n),n}function k(t,e,n,i,l,o,u,s=0){const c=16.666/i;let r=`{ `;for(let _=0;_<=1;_+=c){const g=e+(n-e)*o(_);r+=_*100+`%{${u(g,1-g)}} `}const $=r+`100% {${u(n,1-n)}} -}`,f=`__svelte_${ut($)}_${s}`,m=W(t),{stylesheet:h,rules:a}=I.get(m)||lt(m,t);a[f]||(a[f]=!0,h.insertRule(`@keyframes ${f} ${$}`,h.cssRules.length));const d=t.style.animation||"";return t.style.animation=`${d?`${d}, `:""}${f} ${i}ms linear ${l}ms 1 both`,M+=1,f}function z(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?o=>o.indexOf(e)<0:o=>o.indexOf("__svelte")===-1),l=n.length-i.length;l&&(t.style.animation=i.join(", "),M-=l,M||ct())}function ct(){B(()=>{M||(I.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&F(e)}),I.clear())})}let S;function G(){return S||(S=Promise.resolve(),S.then(()=>{S=null})),S}function E(t,e,n){t.dispatchEvent(Y(`${e?"intro":"outro"}${n}`))}const A=new Set;let p;function yt(){p={r:0,c:[],p}}function wt(){p.r||j(p.c),p=p.p}function dt(t,e){t&&t.i&&(A.delete(t),t.i(e))}function xt(t,e,n,i){if(t&&t.o){if(A.has(t))return;A.add(t),p.c.push(()=>{A.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}const H={duration:0};function vt(t,e,n){const i={direction:"in"};let l=e(t,n,i),o=!1,u,s,c=0;function r(){u&&z(t,u)}function $(){const{delay:m=0,duration:h=300,easing:a=L,tick:d=v,css:_}=l||H;_&&(u=k(t,0,1,h,m,a,_,c++)),d(0,1);const g=U()+m,b=g+h;s&&s.abort(),o=!0,C(()=>E(t,!0,"start")),s=q(y=>{if(o){if(y>=b)return d(1,0),E(t,!0,"end"),r(),o=!1;if(y>=g){const w=a((y-g)/h);d(w,1-w)}}return o})}let f=!1;return{start(){f||(f=!0,z(t),P(l)?(l=l(i),G().then($)):$())},invalidate(){f=!1},end(){o&&(r(),o=!1)}}}function bt(t,e,n,i){let o=e(t,n,{direction:"both"}),u=i?0:1,s=null,c=null,r=null,$;function f(){r&&z(t,r)}function m(a,d){const _=a.b-u;return d*=Math.abs(_),{a:u,b:a.b,d:_,duration:d,start:a.start,end:a.start+d,group:a.group}}function h(a){const{delay:d=0,duration:_=300,easing:g=L,tick:b=v,css:y}=o||H,w={start:U()+d,b:a};a||(w.group=p,p.r+=1),"inert"in t&&(a?$!==void 0&&(t.inert=$):($=t.inert,t.inert=!0)),s||c?c=w:(y&&(f(),r=k(t,u,a,_,d,g,y)),a&&b(0,1),s=m(w,_),C(()=>E(t,a,"start")),q(O=>{if(c&&O>c.start&&(s=m(c,_),c=null,E(t,s.b,"start"),y&&(f(),r=k(t,u,s.b,s.duration,0,g,o.css))),s){if(O>=s.end)b(u=s.b,1-u),E(t,s.b,"end"),c||(s.b?f():--s.group.r||j(s.group.c)),s=null;else if(O>=s.start){const J=O-s.start;u=s.a+s.d*g(J/s.duration),b(u,1-u)}}return!!(s||c)}))}return{run(a){P(o)?G().then(()=>{o=o({direction:a?"in":"out"}),h(a)}):h(a)},end(){f(),s=c=null}}}function St(t,e,n){const i=t.$$.props[e];i!==void 0&&(t.$$.bound[i]=n,n(t.$$.ctx[i]))}function Et(t){t&&t.c()}function jt(t,e){t&&t.l(e)}function _t(t,e,n){const{fragment:i,after_update:l}=t.$$;i&&i.m(e,n),C(()=>{const o=t.$$.on_mount.map(st).filter(P);t.$$.on_destroy?t.$$.on_destroy.push(...o):j(o),t.$$.on_mount=[]}),l.forEach(C)}function $t(t,e){const n=t.$$;n.fragment!==null&&(nt(n.after_update),j(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ht(t,e){t.$$.dirty[0]===-1&&(rt.push(t),at(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const a=h.length?h[0]:m;return r.ctx&&l(r.ctx[f],r.ctx[f]=a)&&(!r.skip_bound&&r.bound[f]&&r.bound[f](a),$&&ht(t,f)),m}):[],r.update(),$=!0,j(r.before_update),r.fragment=i?i(r.ctx):!1,e.target){if(e.hydrate){ot();const f=Z(e.target);r.fragment&&r.fragment.l(f),f.forEach(F)}else r.fragment&&r.fragment.c();e.intro&&dt(t.$$.fragment),_t(t,e.target,e.anchor),ft(),tt()}D(c)}class At{constructor(){R(this,"$$");R(this,"$$set")}$destroy(){$t(this,1),this.$destroy=v}$on(e,n){if(!P(n))return v;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const l=i.indexOf(n);l!==-1&&i.splice(l,1)}}$set(e){this.$$set&&!et(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const mt="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(mt);export{At as S,dt as a,Et as b,wt as c,jt as d,$t as e,bt as f,yt as g,St as h,Ot as i,vt as j,_t as m,xt as t}; +}`,f=`__svelte_${ut($)}_${s}`,m=T(t),{stylesheet:h,rules:a}=I.get(m)||lt(m,t);a[f]||(a[f]=!0,h.insertRule(`@keyframes ${f} ${$}`,h.cssRules.length));const d=t.style.animation||"";return t.style.animation=`${d?`${d}, `:""}${f} ${i}ms linear ${l}ms 1 both`,M+=1,f}function z(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?o=>o.indexOf(e)<0:o=>o.indexOf("__svelte")===-1),l=n.length-i.length;l&&(t.style.animation=i.join(", "),M-=l,M||ct())}function ct(){B(()=>{M||(I.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&F(e)}),I.clear())})}let E;function G(){return E||(E=Promise.resolve(),E.then(()=>{E=null})),E}function S(t,e,n){t.dispatchEvent(X(`${e?"intro":"outro"}${n}`))}const A=new Set;let p;function yt(){p={r:0,c:[],p}}function wt(){p.r||O(p.c),p=p.p}function dt(t,e){t&&t.i&&(A.delete(t),t.i(e))}function xt(t,e,n,i){if(t&&t.o){if(A.has(t))return;A.add(t),p.c.push(()=>{A.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}const H={duration:0};function vt(t,e,n){const i={direction:"in"};let l=e(t,n,i),o=!1,u,s,c=0;function r(){u&&z(t,u)}function $(){const{delay:m=0,duration:h=300,easing:a=L,tick:d=v,css:_}=l||H;_&&(u=k(t,0,1,h,m,a,_,c++)),d(0,1);const g=V()+m,b=g+h;s&&s.abort(),o=!0,C(()=>S(t,!0,"start")),s=q(y=>{if(o){if(y>=b)return d(1,0),S(t,!0,"end"),r(),o=!1;if(y>=g){const w=a((y-g)/h);d(w,1-w)}}return o})}let f=!1;return{start(){f||(f=!0,z(t),P(l)?(l=l(i),G().then($)):$())},invalidate(){f=!1},end(){o&&(r(),o=!1)}}}function bt(t,e,n,i){let o=e(t,n,{direction:"both"}),u=i?0:1,s=null,c=null,r=null,$;function f(){r&&z(t,r)}function m(a,d){const _=a.b-u;return d*=Math.abs(_),{a:u,b:a.b,d:_,duration:d,start:a.start,end:a.start+d,group:a.group}}function h(a){const{delay:d=0,duration:_=300,easing:g=L,tick:b=v,css:y}=o||H,w={start:V()+d,b:a};a||(w.group=p,p.r+=1),"inert"in t&&(a?$!==void 0&&(t.inert=$):($=t.inert,t.inert=!0)),s||c?c=w:(y&&(f(),r=k(t,u,a,_,d,g,y)),a&&b(0,1),s=m(w,_),C(()=>S(t,a,"start")),q(j=>{if(c&&j>c.start&&(s=m(c,_),c=null,S(t,s.b,"start"),y&&(f(),r=k(t,u,s.b,s.duration,0,g,o.css))),s){if(j>=s.end)b(u=s.b,1-u),S(t,s.b,"end"),c||(s.b?f():--s.group.r||O(s.group.c)),s=null;else if(j>=s.start){const J=j-s.start;u=s.a+s.d*g(J/s.duration),b(u,1-u)}}return!!(s||c)}))}return{run(a){P(o)?G().then(()=>{o=o({direction:a?"in":"out"}),h(a)}):h(a)},end(){f(),s=c=null}}}function Et(t,e,n){const i=t.$$.props[e];i!==void 0&&(t.$$.bound[i]=n,n(t.$$.ctx[i]))}function St(t){t&&t.c()}function Ot(t,e){t&&t.l(e)}function _t(t,e,n){const{fragment:i,after_update:l}=t.$$;i&&i.m(e,n),C(()=>{const o=t.$$.on_mount.map(st).filter(P);t.$$.on_destroy?t.$$.on_destroy.push(...o):O(o),t.$$.on_mount=[]}),l.forEach(C)}function $t(t,e){const n=t.$$;n.fragment!==null&&(nt(n.after_update),O(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ht(t,e){t.$$.dirty[0]===-1&&(rt.push(t),at(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const a=h.length?h[0]:m;return r.ctx&&l(r.ctx[f],r.ctx[f]=a)&&(!r.skip_bound&&r.bound[f]&&r.bound[f](a),$&&ht(t,f)),m}):[],r.update(),$=!0,O(r.before_update),r.fragment=i?i(r.ctx):!1,e.target){if(e.hydrate){ot();const f=Z(e.target);r.fragment&&r.fragment.l(f),f.forEach(F)}else r.fragment&&r.fragment.c();e.intro&&dt(t.$$.fragment),_t(t,e.target,e.anchor),ft(),tt()}D(c)}class At{constructor(){R(this,"$$");R(this,"$$set")}$destroy(){$t(this,1),this.$destroy=v}$on(e,n){if(!P(n))return v;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const l=i.indexOf(n);l!==-1&&i.splice(l,1)}}$set(e){this.$$set&&!et(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const mt="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(mt);export{At as S,dt as a,St as b,wt as c,Ot as d,$t as e,bt as f,yt as g,Et as h,jt as i,vt as j,_t as m,xt as t}; diff --git a/gui/next/build/_app/immutable/chunks/index.95c2a168.js b/gui/next/build/_app/immutable/chunks/index.ec985a20.js similarity index 87% rename from gui/next/build/_app/immutable/chunks/index.95c2a168.js rename to gui/next/build/_app/immutable/chunks/index.ec985a20.js index 71f654b1..f680fece 100644 --- a/gui/next/build/_app/immutable/chunks/index.95c2a168.js +++ b/gui/next/build/_app/immutable/chunks/index.ec985a20.js @@ -1 +1 @@ -import{A as b,s as l}from"./scheduler.bed694a1.js";const r=[];function h(e,o){return{subscribe:p(e,o).subscribe}}function p(e,o=b){let n;const i=new Set;function u(t){if(l(e,t)&&(e=t,n)){const c=!r.length;for(const s of i)s[1](),r.push(s,e);if(c){for(let s=0;s{i.delete(s),i.size===0&&n&&(n(),n=null)}}return{set:u,update:f,subscribe:a}}export{h as r,p as w}; +import{A as b,s as l}from"./scheduler.a497d5ec.js";const r=[];function h(e,o){return{subscribe:p(e,o).subscribe}}function p(e,o=b){let n;const i=new Set;function u(t){if(l(e,t)&&(e=t,n)){const c=!r.length;for(const s of i)s[1](),r.push(s,e);if(c){for(let s=0;s{i.delete(s),i.size===0&&n&&(n(),n=null)}}return{set:u,update:f,subscribe:a}}export{h as r,p as w}; diff --git a/gui/next/build/_app/immutable/chunks/scheduler.a497d5ec.js b/gui/next/build/_app/immutable/chunks/scheduler.a497d5ec.js new file mode 100644 index 00000000..b586c119 --- /dev/null +++ b/gui/next/build/_app/immutable/chunks/scheduler.a497d5ec.js @@ -0,0 +1 @@ +function D(){}const et=t=>t;function H(t,e){for(const n in e)t[n]=e[n];return t}function M(t){return t()}function nt(){return Object.create(null)}function O(t){t.forEach(M)}function W(t){return typeof t=="function"}function it(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let p;function rt(t,e){return t===e?!0:(p||(p=document.createElement("a")),p.href=e,t===p.href)}function ot(t){return Object.keys(t).length===0}function B(t,...e){if(t==null){for(const i of e)i(void 0);return D}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function ct(t,e,n){t.$$.on_destroy.push(B(e,n))}function st(t,e,n,i){if(t){const r=S(t,e,n,i);return t[0](r)}}function S(t,e,n,i){return t[1]&&i?H(n.ctx.slice(),t[1](i(e))):n.ctx}function lt(t,e,n,i){if(t[2]&&i){const r=t[2](i(n));if(e.dirty===void 0)return r;if(typeof r=="object"){const c=[],o=Math.max(e.dirty.length,r.length);for(let l=0;l32){const e=[],n=t.ctx.length/32;for(let i=0;i>1);n(r)<=i?t=r+1:e=r}return t}function L(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const s=[];for(let a=0;a0&&e[n[r]].claim_order<=a?r+1:I(1,r,P=>e[n[P]].claim_order,a))-1;i[s]=n[u]+1;const N=u+1;n[N]=s,r=Math.max(N,r)}const c=[],o=[];let l=e.length-1;for(let s=n[r]+1;s!=0;s=i[s-1]){for(c.push(e[s-1]);l>=s;l--)o.push(e[l]);l--}for(;l>=0;l--)o.push(e[l]);c.reverse(),o.sort((s,a)=>s.claim_order-a.claim_order);for(let s=0,a=0;s=c[a].claim_order;)a++;const u=at.removeEventListener(e,n,i)}function wt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function vt(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function Et(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function kt(t){return t.dataset.svelteH}function Nt(t){let e;return{p(...n){e=n,e.forEach(i=>t.push(i))},r(){e.forEach(n=>t.splice(t.indexOf(n),1))}}}function At(t){return t===""?null:+t}function Ct(t){return Array.from(t.childNodes)}function K(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function T(t,e,n,i,r=!1){K(t);const c=(()=>{for(let o=t.claim_info.last_index;o=0;o--){const l=t[o];if(e(l)){const s=n(l);return s===void 0?t.splice(o,1):t[o]=s,r?s===void 0&&t.claim_info.last_index--:t.claim_info.last_index=o,l}}return i()})();return c.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,c}function q(t,e,n,i){return T(t,r=>r.nodeName===e,r=>{const c=[];for(let o=0;or.removeAttribute(o))},()=>i(e))}function Dt(t,e,n){return q(t,e,n,E)}function St(t,e,n){return q(t,e,n,J)}function Q(t,e){return T(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>k(e),!0)}function jt(t){return Q(t," ")}function Tt(t,e){e=""+e,t.data!==e&&(t.data=e)}function qt(t,e){t.value=e??""}function zt(t,e,n,i){n==null?t.style.removeProperty(e):t.style.setProperty(e,n,i?"important":"")}function Pt(t,e,n){for(let i=0;i{o.source===i.contentWindow&&e()})):(i.src="about:blank",i.onload=()=>{c=A(i.contentWindow,"resize",e),e()}),j(t,i),()=>{(r||c&&i.contentWindow)&&c(),G(i)}}function Ot(t,e,n){t.classList.toggle(e,!!n)}function X(t,e,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(t,{detail:e,bubbles:n,cancelable:i})}function Wt(t,e){const n=[];let i=0;for(const r of e.childNodes)if(r.nodeType===8){const c=r.textContent.trim();c===`HEAD_${t}_END`?(i-=1,n.push(r)):c===`HEAD_${t}_START`&&(i+=1,n.push(r))}else i>0&&n.push(r);return n}function Bt(t,e){return new t(e)}let y;function g(t){y=t}function f(){if(!y)throw new Error("Function called outside component initialization");return y}function It(t){f().$$.before_update.push(t)}function Lt(t){f().$$.on_mount.push(t)}function Rt(t){f().$$.after_update.push(t)}function Ut(t){f().$$.on_destroy.push(t)}function Ft(){const t=f();return(e,n,{cancelable:i=!1}={})=>{const r=t.$$.callbacks[e];if(r){const c=X(e,n,{cancelable:i});return r.slice().forEach(o=>{o.call(t,c)}),!c.defaultPrevented}return!0}}function Gt(t,e){return f().$$.context.set(t,e),e}function Jt(t){return f().$$.context.get(t)}function Kt(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const h=[],C=[];let _=[];const w=[],z=Promise.resolve();let v=!1;function Y(){v||(v=!0,z.then($))}function Qt(){return Y(),z}function Z(t){_.push(t)}function Vt(t){w.push(t)}const x=new Set;let d=0;function $(){if(d!==0)return;const t=y;do{try{for(;dt.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),_=e}export{B as $,D as A,Z as B,Mt as C,st as D,at as E,ut as F,lt as G,Ft as H,W as I,Wt as J,qt as K,Pt as L,Vt as M,bt as N,Ut as O,Ht as P,rt as Q,wt as R,ft as S,Nt as T,_t as U,At as V,Kt as W,It as X,et as Y,Jt as Z,Gt as _,gt as a,vt as a0,H as a1,J as a2,St as a3,R as a4,mt as a5,X as a6,nt as a7,$ as a8,ot as a9,Xt as aa,y as ab,g as ac,M as ad,h as ae,Y as af,ht as ag,pt as ah,Rt as b,jt as c,G as d,xt as e,E as f,Dt as g,Ct as h,yt as i,Et as j,zt as k,k as l,Q as m,Tt as n,Lt as o,C as p,Bt as q,kt as r,it as s,Qt as t,F as u,ct as v,Ot as w,A as x,O as y,dt as z}; diff --git a/gui/next/build/_app/immutable/chunks/scheduler.bed694a1.js b/gui/next/build/_app/immutable/chunks/scheduler.bed694a1.js deleted file mode 100644 index 3eb72317..00000000 --- a/gui/next/build/_app/immutable/chunks/scheduler.bed694a1.js +++ /dev/null @@ -1 +0,0 @@ -function j(){}const et=t=>t;function H(t,e){for(const n in e)t[n]=e[n];return t}function nt(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}function M(t){return t()}function it(){return Object.create(null)}function O(t){t.forEach(M)}function W(t){return typeof t=="function"}function rt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let p;function ot(t,e){return t===e?!0:(p||(p=document.createElement("a")),p.href=e,t===p.href)}function ct(t){return Object.keys(t).length===0}function B(t,...e){if(t==null){for(const i of e)i(void 0);return j}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function st(t,e,n){t.$$.on_destroy.push(B(e,n))}function lt(t,e,n,i){if(t){const r=D(t,e,n,i);return t[0](r)}}function D(t,e,n,i){return t[1]&&i?H(n.ctx.slice(),t[1](i(e))):n.ctx}function at(t,e,n,i){if(t[2]&&i){const r=t[2](i(n));if(e.dirty===void 0)return r;if(typeof r=="object"){const c=[],o=Math.max(e.dirty.length,r.length);for(let l=0;l32){const e=[],n=t.ctx.length/32;for(let i=0;i>1);n(r)<=i?t=r+1:e=r}return t}function L(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const s=[];for(let a=0;a0&&e[n[r]].claim_order<=a?r+1:I(1,r,P=>e[n[P]].claim_order,a))-1;i[s]=n[u]+1;const N=u+1;n[N]=s,r=Math.max(N,r)}const c=[],o=[];let l=e.length-1;for(let s=n[r]+1;s!=0;s=i[s-1]){for(c.push(e[s-1]);l>=s;l--)o.push(e[l]);l--}for(;l>=0;l--)o.push(e[l]);c.reverse(),o.sort((s,a)=>s.claim_order-a.claim_order);for(let s=0,a=0;s=c[a].claim_order;)a++;const u=at.removeEventListener(e,n,i)}function vt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Et(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function kt(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Nt(t){return t.dataset.svelteH}function At(t){let e;return{p(...n){e=n,e.forEach(i=>t.push(i))},r(){e.forEach(n=>t.splice(t.indexOf(n),1))}}}function Ct(t){return t===""?null:+t}function jt(t){return Array.from(t.childNodes)}function K(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function T(t,e,n,i,r=!1){K(t);const c=(()=>{for(let o=t.claim_info.last_index;o=0;o--){const l=t[o];if(e(l)){const s=n(l);return s===void 0?t.splice(o,1):t[o]=s,r?s===void 0&&t.claim_info.last_index--:t.claim_info.last_index=o,l}}return i()})();return c.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,c}function q(t,e,n,i){return T(t,r=>r.nodeName===e,r=>{const c=[];for(let o=0;or.removeAttribute(o))},()=>i(e))}function Dt(t,e,n){return q(t,e,n,E)}function St(t,e,n){return q(t,e,n,J)}function Q(t,e){return T(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>k(e),!0)}function Tt(t){return Q(t," ")}function qt(t,e){e=""+e,t.data!==e&&(t.data=e)}function zt(t,e){t.value=e??""}function Pt(t,e,n,i){n==null?t.style.removeProperty(e):t.style.setProperty(e,n,i?"important":"")}function Ht(t,e,n){for(let i=0;i{o.source===i.contentWindow&&e()})):(i.src="about:blank",i.onload=()=>{c=A(i.contentWindow,"resize",e),e()}),S(t,i),()=>{(r||c&&i.contentWindow)&&c(),G(i)}}function Wt(t,e,n){t.classList.toggle(e,!!n)}function X(t,e,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(t,{detail:e,bubbles:n,cancelable:i})}function Bt(t,e){const n=[];let i=0;for(const r of e.childNodes)if(r.nodeType===8){const c=r.textContent.trim();c===`HEAD_${t}_END`?(i-=1,n.push(r)):c===`HEAD_${t}_START`&&(i+=1,n.push(r))}else i>0&&n.push(r);return n}function It(t,e){return new t(e)}let y;function g(t){y=t}function f(){if(!y)throw new Error("Function called outside component initialization");return y}function Lt(t){f().$$.before_update.push(t)}function Rt(t){f().$$.on_mount.push(t)}function Ut(t){f().$$.after_update.push(t)}function Ft(t){f().$$.on_destroy.push(t)}function Gt(){const t=f();return(e,n,{cancelable:i=!1}={})=>{const r=t.$$.callbacks[e];if(r){const c=X(e,n,{cancelable:i});return r.slice().forEach(o=>{o.call(t,c)}),!c.defaultPrevented}return!0}}function Jt(t,e){return f().$$.context.set(t,e),e}function Kt(t){return f().$$.context.get(t)}function Qt(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const h=[],C=[];let d=[];const w=[],z=Promise.resolve();let v=!1;function Y(){v||(v=!0,z.then($))}function Vt(){return Y(),z}function Z(t){d.push(t)}function Xt(t){w.push(t)}const x=new Set;let _=0;function $(){if(_!==0)return;const t=y;do{try{for(;_t.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),d=e}export{Lt as $,j as A,Z as B,Ot as C,lt as D,ut as E,ft as F,at as G,Gt as H,W as I,Bt as J,zt as K,Ht as L,Xt as M,gt as N,Ft as O,Mt as P,nt as Q,f as R,g as S,$ as T,ot as U,vt as V,_t as W,At as X,ht as Y,Ct as Z,Qt as _,xt as a,et as a0,Kt as a1,Jt as a2,B as a3,Et as a4,H as a5,J as a6,St as a7,R as a8,yt as a9,X as aa,it as ab,ct as ac,Yt as ad,y as ae,M as af,h as ag,Y as ah,pt as ai,mt as aj,Ut as b,Tt as c,G as d,wt as e,E as f,Dt as g,jt as h,bt as i,kt as j,Pt as k,k as l,Q as m,qt as n,Rt as o,C as p,It as q,Nt as r,rt as s,Vt as t,F as u,st as v,Wt as w,A as x,O as y,dt as z}; diff --git a/gui/next/build/_app/immutable/chunks/singletons.aae78537.js b/gui/next/build/_app/immutable/chunks/singletons.6b3d51ac.js similarity index 89% rename from gui/next/build/_app/immutable/chunks/singletons.aae78537.js rename to gui/next/build/_app/immutable/chunks/singletons.6b3d51ac.js index bbe3d8af..c3e66da0 100644 --- a/gui/next/build/_app/immutable/chunks/singletons.aae78537.js +++ b/gui/next/build/_app/immutable/chunks/singletons.6b3d51ac.js @@ -1 +1 @@ -import{w as u}from"./index.95c2a168.js";var _;const v=((_=globalThis.__sveltekit_1smqts)==null?void 0:_.base)??"";var g;const k=((g=globalThis.__sveltekit_1smqts)==null?void 0:g.assets)??v,m="1697814663112",R="sveltekit:snapshot",T="sveltekit:scroll",y="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1};function I(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function S(){return{x:pageXOffset,y:pageYOffset}}function c(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const d={...f,"":f.hover};function h(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function x(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=h(e)}}function O(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const o=e instanceof SVGAElement?e.target.baseVal:e.target,r=!n||!!o||E(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),l=(n==null?void 0:n.origin)===location.origin&&e.hasAttribute("download");return{url:n,external:r,target:o,download:l}}function U(e){let t=null,n=null,o=null,r=null,l=null,a=null,s=e;for(;s&&s!==document.documentElement;)o===null&&(o=c(s,"preload-code")),r===null&&(r=c(s,"preload-data")),t===null&&(t=c(s,"keepfocus")),n===null&&(n=c(s,"noscroll")),l===null&&(l=c(s,"reload")),a===null&&(a=c(s,"replacestate")),s=h(s);function i(b){switch(b){case"":case"true":return!0;case"off":case"false":return!1;default:return null}}return{preload_code:d[o??"off"],preload_data:d[r??"off"],keep_focus:i(t),noscroll:i(n),reload:i(l),replace_state:i(a)}}function p(e){const t=u(e);let n=!0;function o(){n=!0,t.update(a=>a)}function r(a){n=!1,t.set(a)}function l(a){let s;return t.subscribe(i=>{(s===void 0||n&&i!==s)&&a(s=i)})}return{notify:o,set:r,subscribe:l}}function w(){const{set:e,subscribe:t}=u(!1);let n;async function o(){clearTimeout(n);try{const r=await fetch(`${k}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const a=(await r.json()).version!==m;return a&&(e(!0),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:o}}function E(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}function L(e){e.client}const N={url:p({}),page:p({}),navigating:u(null),updated:w()};export{y as I,f as P,T as S,R as a,O as b,U as c,N as d,v as e,x as f,I as g,L as h,E as i,S as s}; +import{w as u}from"./index.ec985a20.js";var _;const v=((_=globalThis.__sveltekit_6u35cn)==null?void 0:_.base)??"";var g;const k=((g=globalThis.__sveltekit_6u35cn)==null?void 0:g.assets)??v,m="1697654214308",R="sveltekit:snapshot",T="sveltekit:scroll",y="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1};function I(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function S(){return{x:pageXOffset,y:pageYOffset}}function c(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const d={...f,"":f.hover};function h(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function x(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=h(e)}}function O(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const o=e instanceof SVGAElement?e.target.baseVal:e.target,r=!n||!!o||E(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),l=(n==null?void 0:n.origin)===location.origin&&e.hasAttribute("download");return{url:n,external:r,target:o,download:l}}function U(e){let t=null,n=null,o=null,r=null,l=null,a=null,s=e;for(;s&&s!==document.documentElement;)o===null&&(o=c(s,"preload-code")),r===null&&(r=c(s,"preload-data")),t===null&&(t=c(s,"keepfocus")),n===null&&(n=c(s,"noscroll")),l===null&&(l=c(s,"reload")),a===null&&(a=c(s,"replacestate")),s=h(s);function i(b){switch(b){case"":case"true":return!0;case"off":case"false":return!1;default:return null}}return{preload_code:d[o??"off"],preload_data:d[r??"off"],keep_focus:i(t),noscroll:i(n),reload:i(l),replace_state:i(a)}}function p(e){const t=u(e);let n=!0;function o(){n=!0,t.update(a=>a)}function r(a){n=!1,t.set(a)}function l(a){let s;return t.subscribe(i=>{(s===void 0||n&&i!==s)&&a(s=i)})}return{notify:o,set:r,subscribe:l}}function w(){const{set:e,subscribe:t}=u(!1);let n;async function o(){clearTimeout(n);try{const r=await fetch(`${k}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const a=(await r.json()).version!==m;return a&&(e(!0),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:o}}function E(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}function L(e){e.client}const N={url:p({}),page:p({}),navigating:u(null),updated:w()};export{y as I,f as P,T as S,R as a,O as b,U as c,N as d,v as e,x as f,I as g,L as h,E as i,S as s}; diff --git a/gui/next/build/_app/immutable/chunks/state.58df2e5f.js b/gui/next/build/_app/immutable/chunks/state.58df2e5f.js new file mode 100644 index 00000000..df349d03 --- /dev/null +++ b/gui/next/build/_app/immutable/chunks/state.58df2e5f.js @@ -0,0 +1 @@ +import{w as g}from"./index.ec985a20.js";const f=b();function b(){const r=localStorage.view?JSON.parse(localStorage.view):null,e={};e.header=localStorage.header?JSON.parse(localStorage.header):["database","users","logs"],e.online=void 0,e.logs={},e.tables=[],e.table={},e.view={database:r!=null&&r.database?r.database:"table",tableStyle:r!=null&&r.tableStyle?r.tableStyle:"collapsed"},e.records={},e.record=null,e.highlighted={record:null,constant:null},e.filters={page:1,attributes:[{attribute_type:"id",name:"id",operation:"value",value:""}]},e.sort={by:"created_at",order:"DESC"},e.notifications=[],e.asideWidth=localStorage.asideWidth?localStorage.asideWidth:"30%";const{subscribe:s,set:c,update:o}=g(e),d=(a,t)=>{o(i=>(i[a]=t,i))},u=()=>{o(a=>(a.filters={page:1,attributes:[{attribute_type:"id",name:"id",operation:"value",value:""}]},a.sort={by:"created_at",order:"DESC"},a))};let n;const l=(a,t)=>{o(i=>(i.highlighted[a]=t,i)),clearTimeout(n),n=setTimeout(()=>{l("record",null),l("constant",null)},7e3)};return{subscribe:s,set:c,data:d,clearFilters:u,highlight:l,notification:{create:(a,t)=>{o(i=>(i.notifications.push({id:Date.now(),type:a,message:t}),i))},remove:a=>{o(t=>(t.notifications=t.notifications.filter(i=>i.id!==a),t))}},setView:a=>{o(t=>(t.view={...t.view,...a},localStorage.view=JSON.stringify(t.view),t))}}}export{f as s}; diff --git a/gui/next/build/_app/immutable/chunks/state.88bbaa31.js b/gui/next/build/_app/immutable/chunks/state.88bbaa31.js deleted file mode 100644 index f37406ca..00000000 --- a/gui/next/build/_app/immutable/chunks/state.88bbaa31.js +++ /dev/null @@ -1 +0,0 @@ -import{w as g}from"./index.95c2a168.js";const f=b();function b(){const o=localStorage.view?JSON.parse(localStorage.view):null,e={};e.header=localStorage.header?JSON.parse(localStorage.header):["database","users","logs"],e.online=void 0,e.logs={},e.logsv2={},e.logv2={},e.tables=[],e.table={},e.view={database:o!=null&&o.database?o.database:"table",tableStyle:o!=null&&o.tableStyle?o.tableStyle:"collapsed"},e.records={},e.record=null,e.highlighted={record:null,constant:null},e.filters={page:1,attributes:[{attribute_type:"id",name:"id",operation:"value",value:""}]},e.sort={by:"created_at",order:"DESC"},e.notifications=[],e.asideWidth=localStorage.asideWidth?localStorage.asideWidth:"30%";const{subscribe:s,set:c,update:r}=g(e),d=(a,t)=>{r(i=>(i[a]=t,i))},u=()=>{r(a=>(a.filters={page:1,attributes:[{attribute_type:"id",name:"id",operation:"value",value:""}]},a.sort={by:"created_at",order:"DESC"},a))};let n;const l=(a,t)=>{r(i=>(i.highlighted[a]=t,i)),clearTimeout(n),n=setTimeout(()=>{l("record",null),l("constant",null)},7e3)};return{subscribe:s,set:c,data:d,clearFilters:u,highlight:l,notification:{create:(a,t)=>{r(i=>(i.notifications.push({id:Date.now(),type:a,message:t}),i))},remove:a=>{r(t=>(t.notifications=t.notifications.filter(i=>i.id!==a),t))}},setView:a=>{r(t=>(t.view={...t.view,...a},localStorage.view=JSON.stringify(t.view),t))}}}export{f as s}; diff --git a/gui/next/build/_app/immutable/chunks/stores.f5d1a634.js b/gui/next/build/_app/immutable/chunks/stores.0efc77ce.js similarity index 73% rename from gui/next/build/_app/immutable/chunks/stores.f5d1a634.js rename to gui/next/build/_app/immutable/chunks/stores.0efc77ce.js index 308bb664..c761c16e 100644 --- a/gui/next/build/_app/immutable/chunks/stores.f5d1a634.js +++ b/gui/next/build/_app/immutable/chunks/stores.0efc77ce.js @@ -1 +1 @@ -import{d as e}from"./singletons.aae78537.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; +import{d as e}from"./singletons.6b3d51ac.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; diff --git a/gui/next/build/_app/immutable/entry/app.04fdd45d.js b/gui/next/build/_app/immutable/entry/app.04fdd45d.js deleted file mode 100644 index 4fab952d..00000000 --- a/gui/next/build/_app/immutable/entry/app.04fdd45d.js +++ /dev/null @@ -1 +0,0 @@ -import{s as U,a as J,e as p,c as j,i as w,d as g,b as W,o as z,f as F,g as G,h as H,j as T,k as R,l as K,m as M,n as Q,t as X,p as I,q as E}from"../chunks/scheduler.bed694a1.js";import{S as Y,i as Z,t as d,c as L,a as h,g as P,b,d as O,m as k,e as v}from"../chunks/index.606d5641.js";const x="modulepreload",ee=function(_,e){return new URL(_,e).href},A={},u=function(e,n,s){if(!n||n.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=ee(a,s),a in A)return;A[a]=!0;const t=a.endsWith(".css"),o=t?'[rel="stylesheet"]':"";if(!!s)for(let l=i.length-1;l>=0;l--){const m=i[l];if(m.href===a&&(!t||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${o}`))return;const f=document.createElement("link");if(f.rel=t?"stylesheet":x,t||(f.as="script",f.crossOrigin=""),f.href=a,document.head.appendChild(f),t)return new Promise((l,m)=>{f.addEventListener("load",l),f.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>e()).catch(a=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=a,window.dispatchEvent(t),!t.defaultPrevented)throw a})},ce={};function te(_){let e,n,s;var i=_[1][0];function a(t,o){return{props:{data:t[3],form:t[2]}}}return i&&(e=E(i,a(_)),_[15](e)),{c(){e&&b(e.$$.fragment),n=p()},l(t){e&&O(e.$$.fragment,t),n=p()},m(t,o){e&&k(e,t,o),w(t,n,o),s=!0},p(t,o){if(o&2&&i!==(i=t[1][0])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=E(i,a(t)),t[15](e),b(e.$$.fragment),h(e.$$.fragment,1),k(e,n.parentNode,n)):e=null}else if(i){const r={};o&8&&(r.data=t[3]),o&4&&(r.form=t[2]),e.$set(r)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(n),_[15](null),e&&v(e,t)}}}function ne(_){let e,n,s;var i=_[1][0];function a(t,o){return{props:{data:t[3],$$slots:{default:[oe]},$$scope:{ctx:t}}}}return i&&(e=E(i,a(_)),_[14](e)),{c(){e&&b(e.$$.fragment),n=p()},l(t){e&&O(e.$$.fragment,t),n=p()},m(t,o){e&&k(e,t,o),w(t,n,o),s=!0},p(t,o){if(o&2&&i!==(i=t[1][0])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=E(i,a(t)),t[14](e),b(e.$$.fragment),h(e.$$.fragment,1),k(e,n.parentNode,n)):e=null}else if(i){const r={};o&8&&(r.data=t[3]),o&65591&&(r.$$scope={dirty:o,ctx:t}),e.$set(r)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(n),_[14](null),e&&v(e,t)}}}function ie(_){let e,n,s;var i=_[1][1];function a(t,o){return{props:{data:t[4],form:t[2]}}}return i&&(e=E(i,a(_)),_[13](e)),{c(){e&&b(e.$$.fragment),n=p()},l(t){e&&O(e.$$.fragment,t),n=p()},m(t,o){e&&k(e,t,o),w(t,n,o),s=!0},p(t,o){if(o&2&&i!==(i=t[1][1])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=E(i,a(t)),t[13](e),b(e.$$.fragment),h(e.$$.fragment,1),k(e,n.parentNode,n)):e=null}else if(i){const r={};o&16&&(r.data=t[4]),o&4&&(r.form=t[2]),e.$set(r)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(n),_[13](null),e&&v(e,t)}}}function re(_){let e,n,s;var i=_[1][1];function a(t,o){return{props:{data:t[4],$$slots:{default:[se]},$$scope:{ctx:t}}}}return i&&(e=E(i,a(_)),_[12](e)),{c(){e&&b(e.$$.fragment),n=p()},l(t){e&&O(e.$$.fragment,t),n=p()},m(t,o){e&&k(e,t,o),w(t,n,o),s=!0},p(t,o){if(o&2&&i!==(i=t[1][1])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=E(i,a(t)),t[12](e),b(e.$$.fragment),h(e.$$.fragment,1),k(e,n.parentNode,n)):e=null}else if(i){const r={};o&16&&(r.data=t[4]),o&65575&&(r.$$scope={dirty:o,ctx:t}),e.$set(r)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(n),_[12](null),e&&v(e,t)}}}function se(_){let e,n,s;var i=_[1][2];function a(t,o){return{props:{data:t[5],form:t[2]}}}return i&&(e=E(i,a(_)),_[11](e)),{c(){e&&b(e.$$.fragment),n=p()},l(t){e&&O(e.$$.fragment,t),n=p()},m(t,o){e&&k(e,t,o),w(t,n,o),s=!0},p(t,o){if(o&2&&i!==(i=t[1][2])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=E(i,a(t)),t[11](e),b(e.$$.fragment),h(e.$$.fragment,1),k(e,n.parentNode,n)):e=null}else if(i){const r={};o&32&&(r.data=t[5]),o&4&&(r.form=t[2]),e.$set(r)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(n),_[11](null),e&&v(e,t)}}}function oe(_){let e,n,s,i;const a=[re,ie],t=[];function o(r,f){return r[1][2]?0:1}return e=o(_),n=t[e]=a[e](_),{c(){n.c(),s=p()},l(r){n.l(r),s=p()},m(r,f){t[e].m(r,f),w(r,s,f),i=!0},p(r,f){let l=e;e=o(r),e===l?t[e].p(r,f):(P(),d(t[l],1,1,()=>{t[l]=null}),L(),n=t[e],n?n.p(r,f):(n=t[e]=a[e](r),n.c()),h(n,1),n.m(s.parentNode,s))},i(r){i||(h(n),i=!0)},o(r){d(n),i=!1},d(r){r&&g(s),t[e].d(r)}}}function y(_){let e,n=_[7]&&N(_);return{c(){e=F("div"),n&&n.c(),this.h()},l(s){e=G(s,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var i=H(e);n&&n.l(i),i.forEach(g),this.h()},h(){T(e,"id","svelte-announcer"),T(e,"aria-live","assertive"),T(e,"aria-atomic","true"),R(e,"position","absolute"),R(e,"left","0"),R(e,"top","0"),R(e,"clip","rect(0 0 0 0)"),R(e,"clip-path","inset(50%)"),R(e,"overflow","hidden"),R(e,"white-space","nowrap"),R(e,"width","1px"),R(e,"height","1px")},m(s,i){w(s,e,i),n&&n.m(e,null)},p(s,i){s[7]?n?n.p(s,i):(n=N(s),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(s){s&&g(e),n&&n.d()}}}function N(_){let e;return{c(){e=K(_[8])},l(n){e=M(n,_[8])},m(n,s){w(n,e,s)},p(n,s){s&256&&Q(e,n[8])},d(n){n&&g(e)}}}function _e(_){let e,n,s,i,a;const t=[ne,te],o=[];function r(l,m){return l[1][1]?0:1}e=r(_),n=o[e]=t[e](_);let f=_[6]&&y(_);return{c(){n.c(),s=J(),f&&f.c(),i=p()},l(l){n.l(l),s=j(l),f&&f.l(l),i=p()},m(l,m){o[e].m(l,m),w(l,s,m),f&&f.m(l,m),w(l,i,m),a=!0},p(l,[m]){let D=e;e=r(l),e===D?o[e].p(l,m):(P(),d(o[D],1,1,()=>{o[D]=null}),L(),n=o[e],n?n.p(l,m):(n=o[e]=t[e](l),n.c()),h(n,1),n.m(s.parentNode,s)),l[6]?f?f.p(l,m):(f=y(l),f.c(),f.m(i.parentNode,i)):f&&(f.d(1),f=null)},i(l){a||(h(n),a=!0)},o(l){d(n),a=!1},d(l){l&&(g(s),g(i)),o[e].d(l),f&&f.d(l)}}}function ae(_,e,n){let{stores:s}=e,{page:i}=e,{constructors:a}=e,{components:t=[]}=e,{form:o}=e,{data_0:r=null}=e,{data_1:f=null}=e,{data_2:l=null}=e;W(s.page.notify);let m=!1,D=!1,V=null;z(()=>{const c=s.page.subscribe(()=>{m&&(n(7,D=!0),X().then(()=>{n(8,V=document.title||"untitled page")}))});return n(6,m=!0),c});function $(c){I[c?"unshift":"push"](()=>{t[2]=c,n(0,t)})}function S(c){I[c?"unshift":"push"](()=>{t[1]=c,n(0,t)})}function C(c){I[c?"unshift":"push"](()=>{t[1]=c,n(0,t)})}function q(c){I[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}function B(c){I[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}return _.$$set=c=>{"stores"in c&&n(9,s=c.stores),"page"in c&&n(10,i=c.page),"constructors"in c&&n(1,a=c.constructors),"components"in c&&n(0,t=c.components),"form"in c&&n(2,o=c.form),"data_0"in c&&n(3,r=c.data_0),"data_1"in c&&n(4,f=c.data_1),"data_2"in c&&n(5,l=c.data_2)},_.$$.update=()=>{_.$$.dirty&1536&&s.page.set(i)},[t,a,o,r,f,l,m,D,V,s,i,$,S,C,q,B]}class ue extends Y{constructor(e){super(),Z(this,e,ae,_e,U,{stores:9,page:10,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5})}}const me=[()=>u(()=>import("../nodes/0.9e2140d4.js"),["..\\nodes\\0.9e2140d4.js","..\\chunks\\scheduler.bed694a1.js","..\\chunks\\index.606d5641.js","..\\chunks\\stores.f5d1a634.js","..\\chunks\\singletons.aae78537.js","..\\chunks\\index.95c2a168.js","..\\chunks\\table.aa2299a7.js","..\\chunks\\graphql.66a06395.js","..\\chunks\\state.88bbaa31.js","..\\chunks\\Icon.4ad67fd0.js","..\\chunks\\each.177d9825.js","..\\chunks\\index.35d92de3.js","..\\assets\\0.c9686482.css"],import.meta.url),()=>u(()=>import("../nodes/1.60820fd4.js"),["..\\nodes\\1.60820fd4.js","..\\chunks\\scheduler.bed694a1.js","..\\chunks\\index.606d5641.js","..\\chunks\\stores.f5d1a634.js","..\\chunks\\singletons.aae78537.js","..\\chunks\\index.95c2a168.js"],import.meta.url),()=>u(()=>import("../nodes/2.02b96a81.js"),["..\\nodes\\2.02b96a81.js","..\\chunks\\scheduler.bed694a1.js","..\\chunks\\index.606d5641.js","..\\chunks\\each.177d9825.js","..\\chunks\\singletons.aae78537.js","..\\chunks\\index.95c2a168.js","..\\chunks\\stores.f5d1a634.js","..\\chunks\\backgroundJob.c756ecec.js","..\\chunks\\graphql.66a06395.js","..\\chunks\\Icon.4ad67fd0.js","..\\chunks\\Number.6952118c.js","..\\assets\\Number.5817e65f.css","..\\chunks\\state.88bbaa31.js","..\\assets\\2.4a46c382.css"],import.meta.url),()=>u(()=>import("../nodes/3.92c76c36.js"),["..\\nodes\\3.92c76c36.js","..\\chunks\\scheduler.bed694a1.js","..\\chunks\\index.606d5641.js"],import.meta.url),()=>u(()=>import("../nodes/4.d1cdb0fe.js"),["..\\nodes\\4.d1cdb0fe.js","..\\chunks\\scheduler.bed694a1.js","..\\chunks\\index.606d5641.js","..\\chunks\\each.177d9825.js","..\\chunks\\index.35d92de3.js","..\\chunks\\stores.f5d1a634.js","..\\chunks\\singletons.aae78537.js","..\\chunks\\index.95c2a168.js","..\\chunks\\state.88bbaa31.js","..\\chunks\\table.aa2299a7.js","..\\chunks\\graphql.66a06395.js","..\\chunks\\Icon.4ad67fd0.js","..\\assets\\4.73dde45b.css"],import.meta.url),()=>u(()=>import("../nodes/5.92c76c36.js"),["..\\nodes\\5.92c76c36.js","..\\chunks\\scheduler.bed694a1.js","..\\chunks\\index.606d5641.js"],import.meta.url),()=>u(()=>import("../nodes/6.7726938e.js"),["..\\nodes\\6.7726938e.js","..\\chunks\\scheduler.bed694a1.js","..\\chunks\\index.606d5641.js","..\\chunks\\each.177d9825.js","..\\chunks\\stores.f5d1a634.js","..\\chunks\\singletons.aae78537.js","..\\chunks\\index.95c2a168.js","..\\chunks\\state.88bbaa31.js","..\\assets\\6.f993e17c.css"],import.meta.url),()=>u(()=>import("../nodes/7.610dbe15.js"),["..\\nodes\\7.610dbe15.js","..\\chunks\\scheduler.bed694a1.js","..\\chunks\\index.606d5641.js","..\\chunks\\each.177d9825.js","..\\chunks\\index.50c00146.js","..\\chunks\\stores.f5d1a634.js","..\\chunks\\singletons.aae78537.js","..\\chunks\\index.95c2a168.js","..\\chunks\\user.1d284359.js","..\\chunks\\graphql.66a06395.js","..\\chunks\\Icon.4ad67fd0.js","..\\chunks\\Number.6952118c.js","..\\assets\\Number.5817e65f.css","..\\assets\\7.6bcda092.css"],import.meta.url),()=>u(()=>import("../nodes/8.e5df78b0.js"),["..\\nodes\\8.e5df78b0.js","..\\chunks\\scheduler.bed694a1.js","..\\chunks\\index.606d5641.js","..\\chunks\\Icon.4ad67fd0.js","..\\chunks\\state.88bbaa31.js","..\\chunks\\index.95c2a168.js","..\\chunks\\table.aa2299a7.js","..\\chunks\\graphql.66a06395.js","..\\assets\\8.1f0e3f28.css"],import.meta.url),()=>u(()=>import("../nodes/9.00af44d3.js"),["..\\nodes\\9.00af44d3.js","..\\chunks\\scheduler.bed694a1.js","..\\chunks\\index.606d5641.js"],import.meta.url),()=>u(()=>import("../nodes/10.764f14d3.js"),["..\\nodes\\10.764f14d3.js","..\\chunks\\scheduler.bed694a1.js","..\\chunks\\index.606d5641.js","..\\chunks\\stores.f5d1a634.js","..\\chunks\\singletons.aae78537.js","..\\chunks\\index.95c2a168.js","..\\chunks\\backgroundJob.c756ecec.js","..\\chunks\\graphql.66a06395.js","..\\chunks\\Aside.9f09d30d.js","..\\chunks\\globals.7f7f1b26.js","..\\chunks\\index.50c00146.js","..\\chunks\\state.88bbaa31.js","..\\chunks\\Icon.4ad67fd0.js","..\\assets\\Aside.66c2d12f.css","..\\chunks\\JSONTree.45966d99.js","..\\chunks\\each.177d9825.js","..\\assets\\JSONTree.79010849.css","..\\assets\\10.6957ad32.css"],import.meta.url),()=>u(()=>import("../nodes/11.7667b80e.js"),["..\\nodes\\11.7667b80e.js","..\\chunks\\scheduler.bed694a1.js","..\\chunks\\index.606d5641.js","..\\chunks\\each.177d9825.js","..\\chunks\\index.35d92de3.js","..\\chunks\\graphql.66a06395.js","..\\chunks\\state.88bbaa31.js","..\\chunks\\index.95c2a168.js","..\\chunks\\Icon.4ad67fd0.js","..\\assets\\11.ee72ee6d.css"],import.meta.url),()=>u(()=>import("../nodes/12.465c3ad8.js"),["..\\nodes\\12.465c3ad8.js","..\\chunks\\scheduler.bed694a1.js","..\\chunks\\index.606d5641.js"],import.meta.url),()=>u(()=>import("../nodes/13.09128d70.js"),["..\\nodes\\13.09128d70.js","..\\chunks\\scheduler.bed694a1.js","..\\chunks\\index.606d5641.js","..\\chunks\\globals.7f7f1b26.js","..\\chunks\\stores.f5d1a634.js","..\\chunks\\singletons.aae78537.js","..\\chunks\\index.95c2a168.js","..\\chunks\\state.88bbaa31.js","..\\chunks\\tryParseJSON.f125f883.js","..\\chunks\\graphql.66a06395.js","..\\chunks\\Icon.4ad67fd0.js","..\\chunks\\each.177d9825.js","..\\chunks\\JSONTree.45966d99.js","..\\assets\\JSONTree.79010849.css","..\\chunks\\index.50c00146.js","..\\chunks\\Number.6952118c.js","..\\assets\\Number.5817e65f.css","..\\assets\\13.9218cb2d.css"],import.meta.url),()=>u(()=>import("../nodes/14.312eaf5e.js"),["..\\nodes\\14.312eaf5e.js","..\\chunks\\scheduler.bed694a1.js","..\\chunks\\index.606d5641.js","..\\chunks\\globals.7f7f1b26.js","..\\chunks\\each.177d9825.js","..\\chunks\\index.35d92de3.js","..\\chunks\\state.88bbaa31.js","..\\chunks\\index.95c2a168.js","..\\chunks\\tryParseJSON.f125f883.js","..\\chunks\\JSONTree.45966d99.js","..\\assets\\JSONTree.79010849.css","..\\chunks\\Icon.4ad67fd0.js","..\\chunks\\Aside.9f09d30d.js","..\\chunks\\index.50c00146.js","..\\assets\\Aside.66c2d12f.css","..\\assets\\14.bf080bcc.css"],import.meta.url),()=>u(()=>import("../nodes/15.00af44d3.js"),["..\\nodes\\15.00af44d3.js","..\\chunks\\scheduler.bed694a1.js","..\\chunks\\index.606d5641.js"],import.meta.url),()=>u(()=>import("../nodes/16.ef441c50.js"),["..\\nodes\\16.ef441c50.js","..\\chunks\\scheduler.bed694a1.js","..\\chunks\\index.606d5641.js","..\\chunks\\stores.f5d1a634.js","..\\chunks\\singletons.aae78537.js","..\\chunks\\index.95c2a168.js","..\\chunks\\state.88bbaa31.js","..\\chunks\\tryParseJSON.f125f883.js","..\\chunks\\Aside.9f09d30d.js","..\\chunks\\globals.7f7f1b26.js","..\\chunks\\index.50c00146.js","..\\chunks\\Icon.4ad67fd0.js","..\\assets\\Aside.66c2d12f.css","..\\chunks\\JSONTree.45966d99.js","..\\chunks\\each.177d9825.js","..\\assets\\JSONTree.79010849.css","..\\assets\\16.ce644cec.css"],import.meta.url),()=>u(()=>import("../nodes/17.32042c01.js"),["..\\nodes\\17.32042c01.js","..\\chunks\\scheduler.bed694a1.js","..\\chunks\\index.606d5641.js"],import.meta.url),()=>u(()=>import("../nodes/18.eb9c1c14.js"),["..\\nodes\\18.eb9c1c14.js","..\\chunks\\scheduler.bed694a1.js","..\\chunks\\index.606d5641.js","..\\chunks\\stores.f5d1a634.js","..\\chunks\\singletons.aae78537.js","..\\chunks\\index.95c2a168.js","..\\chunks\\user.1d284359.js","..\\chunks\\graphql.66a06395.js","..\\chunks\\Aside.9f09d30d.js","..\\chunks\\globals.7f7f1b26.js","..\\chunks\\index.50c00146.js","..\\chunks\\state.88bbaa31.js","..\\chunks\\Icon.4ad67fd0.js","..\\assets\\Aside.66c2d12f.css","..\\assets\\18.0e0670ce.css"],import.meta.url)],pe=[],de={"/":[8],"/backgroundJobs":[9,[2]],"/backgroundJobs/[type]/[id]":[10,[2]],"/constants":[11,[3]],"/database":[12,[4]],"/database/table/[id]":[13,[4]],"/logsv2":[15,[6]],"/logsv2/[id]":[16,[6]],"/logs":[14,[5]],"/users":[17,[7]],"/users/[id]":[18,[7]]},he={handleError:({error:_})=>{console.error(_)}};export{de as dictionary,he as hooks,ce as matchers,me as nodes,ue as root,pe as server_loads}; diff --git a/gui/next/build/_app/immutable/entry/app.46b2bfcf.js b/gui/next/build/_app/immutable/entry/app.46b2bfcf.js new file mode 100644 index 00000000..ae703b7e --- /dev/null +++ b/gui/next/build/_app/immutable/entry/app.46b2bfcf.js @@ -0,0 +1 @@ +import{s as U,a as J,e as p,c as j,i as w,d as g,b as W,o as z,f as F,g as G,h as H,j as T,k as R,l as K,m as M,n as Q,t as X,p as I,q as b}from"../chunks/scheduler.a497d5ec.js";import{S as Y,i as Z,t as d,c as L,a as h,g as P,b as E,d as O,m as k,e as v}from"../chunks/index.ca999c64.js";const x="modulepreload",ee=function(a,e){return new URL(a,e).href},A={},m=function(e,n,s){if(!n||n.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(n.map(l=>{if(l=ee(l,s),l in A)return;A[l]=!0;const t=l.endsWith(".css"),o=t?'[rel="stylesheet"]':"";if(!!s)for(let _=i.length-1;_>=0;_--){const u=i[_];if(u.href===l&&(!t||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${o}`))return;const f=document.createElement("link");if(f.rel=t?"stylesheet":x,t||(f.as="script",f.crossOrigin=""),f.href=l,document.head.appendChild(f),t)return new Promise((_,u)=>{f.addEventListener("load",_),f.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${l}`)))})})).then(()=>e()).catch(l=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=l,window.dispatchEvent(t),!t.defaultPrevented)throw l})},ce={};function te(a){let e,n,s;var i=a[1][0];function l(t,o){return{props:{data:t[3],form:t[2]}}}return i&&(e=b(i,l(a)),a[15](e)),{c(){e&&E(e.$$.fragment),n=p()},l(t){e&&O(e.$$.fragment,t),n=p()},m(t,o){e&&k(e,t,o),w(t,n,o),s=!0},p(t,o){if(o&2&&i!==(i=t[1][0])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=b(i,l(t)),t[15](e),E(e.$$.fragment),h(e.$$.fragment,1),k(e,n.parentNode,n)):e=null}else if(i){const r={};o&8&&(r.data=t[3]),o&4&&(r.form=t[2]),e.$set(r)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(n),a[15](null),e&&v(e,t)}}}function ne(a){let e,n,s;var i=a[1][0];function l(t,o){return{props:{data:t[3],$$slots:{default:[oe]},$$scope:{ctx:t}}}}return i&&(e=b(i,l(a)),a[14](e)),{c(){e&&E(e.$$.fragment),n=p()},l(t){e&&O(e.$$.fragment,t),n=p()},m(t,o){e&&k(e,t,o),w(t,n,o),s=!0},p(t,o){if(o&2&&i!==(i=t[1][0])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=b(i,l(t)),t[14](e),E(e.$$.fragment),h(e.$$.fragment,1),k(e,n.parentNode,n)):e=null}else if(i){const r={};o&8&&(r.data=t[3]),o&65591&&(r.$$scope={dirty:o,ctx:t}),e.$set(r)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(n),a[14](null),e&&v(e,t)}}}function ie(a){let e,n,s;var i=a[1][1];function l(t,o){return{props:{data:t[4],form:t[2]}}}return i&&(e=b(i,l(a)),a[13](e)),{c(){e&&E(e.$$.fragment),n=p()},l(t){e&&O(e.$$.fragment,t),n=p()},m(t,o){e&&k(e,t,o),w(t,n,o),s=!0},p(t,o){if(o&2&&i!==(i=t[1][1])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=b(i,l(t)),t[13](e),E(e.$$.fragment),h(e.$$.fragment,1),k(e,n.parentNode,n)):e=null}else if(i){const r={};o&16&&(r.data=t[4]),o&4&&(r.form=t[2]),e.$set(r)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(n),a[13](null),e&&v(e,t)}}}function re(a){let e,n,s;var i=a[1][1];function l(t,o){return{props:{data:t[4],$$slots:{default:[se]},$$scope:{ctx:t}}}}return i&&(e=b(i,l(a)),a[12](e)),{c(){e&&E(e.$$.fragment),n=p()},l(t){e&&O(e.$$.fragment,t),n=p()},m(t,o){e&&k(e,t,o),w(t,n,o),s=!0},p(t,o){if(o&2&&i!==(i=t[1][1])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=b(i,l(t)),t[12](e),E(e.$$.fragment),h(e.$$.fragment,1),k(e,n.parentNode,n)):e=null}else if(i){const r={};o&16&&(r.data=t[4]),o&65575&&(r.$$scope={dirty:o,ctx:t}),e.$set(r)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(n),a[12](null),e&&v(e,t)}}}function se(a){let e,n,s;var i=a[1][2];function l(t,o){return{props:{data:t[5],form:t[2]}}}return i&&(e=b(i,l(a)),a[11](e)),{c(){e&&E(e.$$.fragment),n=p()},l(t){e&&O(e.$$.fragment,t),n=p()},m(t,o){e&&k(e,t,o),w(t,n,o),s=!0},p(t,o){if(o&2&&i!==(i=t[1][2])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=b(i,l(t)),t[11](e),E(e.$$.fragment),h(e.$$.fragment,1),k(e,n.parentNode,n)):e=null}else if(i){const r={};o&32&&(r.data=t[5]),o&4&&(r.form=t[2]),e.$set(r)}},i(t){s||(e&&h(e.$$.fragment,t),s=!0)},o(t){e&&d(e.$$.fragment,t),s=!1},d(t){t&&g(n),a[11](null),e&&v(e,t)}}}function oe(a){let e,n,s,i;const l=[re,ie],t=[];function o(r,f){return r[1][2]?0:1}return e=o(a),n=t[e]=l[e](a),{c(){n.c(),s=p()},l(r){n.l(r),s=p()},m(r,f){t[e].m(r,f),w(r,s,f),i=!0},p(r,f){let _=e;e=o(r),e===_?t[e].p(r,f):(P(),d(t[_],1,1,()=>{t[_]=null}),L(),n=t[e],n?n.p(r,f):(n=t[e]=l[e](r),n.c()),h(n,1),n.m(s.parentNode,s))},i(r){i||(h(n),i=!0)},o(r){d(n),i=!1},d(r){r&&g(s),t[e].d(r)}}}function y(a){let e,n=a[7]&&N(a);return{c(){e=F("div"),n&&n.c(),this.h()},l(s){e=G(s,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var i=H(e);n&&n.l(i),i.forEach(g),this.h()},h(){T(e,"id","svelte-announcer"),T(e,"aria-live","assertive"),T(e,"aria-atomic","true"),R(e,"position","absolute"),R(e,"left","0"),R(e,"top","0"),R(e,"clip","rect(0 0 0 0)"),R(e,"clip-path","inset(50%)"),R(e,"overflow","hidden"),R(e,"white-space","nowrap"),R(e,"width","1px"),R(e,"height","1px")},m(s,i){w(s,e,i),n&&n.m(e,null)},p(s,i){s[7]?n?n.p(s,i):(n=N(s),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(s){s&&g(e),n&&n.d()}}}function N(a){let e;return{c(){e=K(a[8])},l(n){e=M(n,a[8])},m(n,s){w(n,e,s)},p(n,s){s&256&&Q(e,n[8])},d(n){n&&g(e)}}}function ae(a){let e,n,s,i,l;const t=[ne,te],o=[];function r(_,u){return _[1][1]?0:1}e=r(a),n=o[e]=t[e](a);let f=a[6]&&y(a);return{c(){n.c(),s=J(),f&&f.c(),i=p()},l(_){n.l(_),s=j(_),f&&f.l(_),i=p()},m(_,u){o[e].m(_,u),w(_,s,u),f&&f.m(_,u),w(_,i,u),l=!0},p(_,[u]){let D=e;e=r(_),e===D?o[e].p(_,u):(P(),d(o[D],1,1,()=>{o[D]=null}),L(),n=o[e],n?n.p(_,u):(n=o[e]=t[e](_),n.c()),h(n,1),n.m(s.parentNode,s)),_[6]?f?f.p(_,u):(f=y(_),f.c(),f.m(i.parentNode,i)):f&&(f.d(1),f=null)},i(_){l||(h(n),l=!0)},o(_){d(n),l=!1},d(_){_&&(g(s),g(i)),o[e].d(_),f&&f.d(_)}}}function le(a,e,n){let{stores:s}=e,{page:i}=e,{constructors:l}=e,{components:t=[]}=e,{form:o}=e,{data_0:r=null}=e,{data_1:f=null}=e,{data_2:_=null}=e;W(s.page.notify);let u=!1,D=!1,V=null;z(()=>{const c=s.page.subscribe(()=>{u&&(n(7,D=!0),X().then(()=>{n(8,V=document.title||"untitled page")}))});return n(6,u=!0),c});function $(c){I[c?"unshift":"push"](()=>{t[2]=c,n(0,t)})}function S(c){I[c?"unshift":"push"](()=>{t[1]=c,n(0,t)})}function C(c){I[c?"unshift":"push"](()=>{t[1]=c,n(0,t)})}function q(c){I[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}function B(c){I[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}return a.$$set=c=>{"stores"in c&&n(9,s=c.stores),"page"in c&&n(10,i=c.page),"constructors"in c&&n(1,l=c.constructors),"components"in c&&n(0,t=c.components),"form"in c&&n(2,o=c.form),"data_0"in c&&n(3,r=c.data_0),"data_1"in c&&n(4,f=c.data_1),"data_2"in c&&n(5,_=c.data_2)},a.$$.update=()=>{a.$$.dirty&1536&&s.page.set(i)},[t,l,o,r,f,_,u,D,V,s,i,$,S,C,q,B]}class ue extends Y{constructor(e){super(),Z(this,e,le,ae,U,{stores:9,page:10,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5})}}const me=[()=>m(()=>import("../nodes/0.2a6d4585.js"),["..\\nodes\\0.2a6d4585.js","..\\chunks\\scheduler.a497d5ec.js","..\\chunks\\index.ca999c64.js","..\\chunks\\stores.0efc77ce.js","..\\chunks\\singletons.6b3d51ac.js","..\\chunks\\index.ec985a20.js","..\\chunks\\table.aa2299a7.js","..\\chunks\\graphql.66a06395.js","..\\chunks\\state.58df2e5f.js","..\\chunks\\Icon.1ce3f3fe.js","..\\chunks\\each.1577bad0.js","..\\chunks\\index.13972ea2.js","..\\assets\\0.c9686482.css"],import.meta.url),()=>m(()=>import("../nodes/1.79f29240.js"),["..\\nodes\\1.79f29240.js","..\\chunks\\scheduler.a497d5ec.js","..\\chunks\\index.ca999c64.js","..\\chunks\\stores.0efc77ce.js","..\\chunks\\singletons.6b3d51ac.js","..\\chunks\\index.ec985a20.js"],import.meta.url),()=>m(()=>import("../nodes/2.4c2c3fcd.js"),["..\\nodes\\2.4c2c3fcd.js","..\\chunks\\scheduler.a497d5ec.js","..\\chunks\\index.ca999c64.js","..\\chunks\\each.1577bad0.js","..\\chunks\\singletons.6b3d51ac.js","..\\chunks\\index.ec985a20.js","..\\chunks\\stores.0efc77ce.js","..\\chunks\\backgroundJob.c756ecec.js","..\\chunks\\graphql.66a06395.js","..\\chunks\\Icon.1ce3f3fe.js","..\\chunks\\Number.a1b73508.js","..\\assets\\Number.5817e65f.css","..\\chunks\\state.58df2e5f.js","..\\assets\\2.4a46c382.css"],import.meta.url),()=>m(()=>import("../nodes/3.89e52a69.js"),["..\\nodes\\3.89e52a69.js","..\\chunks\\scheduler.a497d5ec.js","..\\chunks\\index.ca999c64.js"],import.meta.url),()=>m(()=>import("../nodes/4.de34a058.js"),["..\\nodes\\4.de34a058.js","..\\chunks\\scheduler.a497d5ec.js","..\\chunks\\index.ca999c64.js","..\\chunks\\each.1577bad0.js","..\\chunks\\index.13972ea2.js","..\\chunks\\stores.0efc77ce.js","..\\chunks\\singletons.6b3d51ac.js","..\\chunks\\index.ec985a20.js","..\\chunks\\state.58df2e5f.js","..\\chunks\\table.aa2299a7.js","..\\chunks\\graphql.66a06395.js","..\\chunks\\Icon.1ce3f3fe.js","..\\assets\\4.73dde45b.css"],import.meta.url),()=>m(()=>import("../nodes/5.89e52a69.js"),["..\\nodes\\5.89e52a69.js","..\\chunks\\scheduler.a497d5ec.js","..\\chunks\\index.ca999c64.js"],import.meta.url),()=>m(()=>import("../nodes/6.9ecedd1a.js"),["..\\nodes\\6.9ecedd1a.js","..\\chunks\\scheduler.a497d5ec.js","..\\chunks\\index.ca999c64.js","..\\chunks\\each.1577bad0.js","..\\chunks\\index.50c00146.js","..\\chunks\\stores.0efc77ce.js","..\\chunks\\singletons.6b3d51ac.js","..\\chunks\\index.ec985a20.js","..\\chunks\\user.1d284359.js","..\\chunks\\graphql.66a06395.js","..\\chunks\\Icon.1ce3f3fe.js","..\\chunks\\Number.a1b73508.js","..\\assets\\Number.5817e65f.css","..\\assets\\6.6bcda092.css"],import.meta.url),()=>m(()=>import("../nodes/7.612030e1.js"),["..\\nodes\\7.612030e1.js","..\\chunks\\scheduler.a497d5ec.js","..\\chunks\\index.ca999c64.js","..\\chunks\\Icon.1ce3f3fe.js","..\\chunks\\state.58df2e5f.js","..\\chunks\\index.ec985a20.js","..\\chunks\\table.aa2299a7.js","..\\chunks\\graphql.66a06395.js","..\\assets\\7.1f0e3f28.css"],import.meta.url),()=>m(()=>import("../nodes/8.bac338d2.js"),["..\\nodes\\8.bac338d2.js","..\\chunks\\scheduler.a497d5ec.js","..\\chunks\\index.ca999c64.js"],import.meta.url),()=>m(()=>import("../nodes/9.d6835206.js"),["..\\nodes\\9.d6835206.js","..\\chunks\\scheduler.a497d5ec.js","..\\chunks\\index.ca999c64.js","..\\chunks\\stores.0efc77ce.js","..\\chunks\\singletons.6b3d51ac.js","..\\chunks\\index.ec985a20.js","..\\chunks\\backgroundJob.c756ecec.js","..\\chunks\\graphql.66a06395.js","..\\chunks\\Aside.143a8d13.js","..\\chunks\\globals.7f7f1b26.js","..\\chunks\\index.50c00146.js","..\\chunks\\state.58df2e5f.js","..\\chunks\\Icon.1ce3f3fe.js","..\\assets\\Aside.66c2d12f.css","..\\chunks\\JSONTree.c31da54e.js","..\\chunks\\each.1577bad0.js","..\\assets\\JSONTree.79010849.css","..\\assets\\9.6957ad32.css"],import.meta.url),()=>m(()=>import("../nodes/10.b3328954.js"),["..\\nodes\\10.b3328954.js","..\\chunks\\scheduler.a497d5ec.js","..\\chunks\\index.ca999c64.js","..\\chunks\\each.1577bad0.js","..\\chunks\\index.13972ea2.js","..\\chunks\\graphql.66a06395.js","..\\chunks\\state.58df2e5f.js","..\\chunks\\index.ec985a20.js","..\\chunks\\Icon.1ce3f3fe.js","..\\assets\\10.ee72ee6d.css"],import.meta.url),()=>m(()=>import("../nodes/11.c01061b0.js"),["..\\nodes\\11.c01061b0.js","..\\chunks\\scheduler.a497d5ec.js","..\\chunks\\index.ca999c64.js"],import.meta.url),()=>m(()=>import("../nodes/12.b830ff14.js"),["..\\nodes\\12.b830ff14.js","..\\chunks\\scheduler.a497d5ec.js","..\\chunks\\index.ca999c64.js","..\\chunks\\globals.7f7f1b26.js","..\\chunks\\stores.0efc77ce.js","..\\chunks\\singletons.6b3d51ac.js","..\\chunks\\index.ec985a20.js","..\\chunks\\state.58df2e5f.js","..\\chunks\\tryParseJSON.f125f883.js","..\\chunks\\graphql.66a06395.js","..\\chunks\\Icon.1ce3f3fe.js","..\\chunks\\each.1577bad0.js","..\\chunks\\JSONTree.c31da54e.js","..\\assets\\JSONTree.79010849.css","..\\chunks\\index.50c00146.js","..\\chunks\\Number.a1b73508.js","..\\assets\\Number.5817e65f.css","..\\assets\\12.9218cb2d.css"],import.meta.url),()=>m(()=>import("../nodes/13.64636ee8.js"),["..\\nodes\\13.64636ee8.js","..\\chunks\\scheduler.a497d5ec.js","..\\chunks\\index.ca999c64.js","..\\chunks\\globals.7f7f1b26.js","..\\chunks\\each.1577bad0.js","..\\chunks\\index.13972ea2.js","..\\chunks\\state.58df2e5f.js","..\\chunks\\index.ec985a20.js","..\\chunks\\tryParseJSON.f125f883.js","..\\chunks\\JSONTree.c31da54e.js","..\\assets\\JSONTree.79010849.css","..\\chunks\\Icon.1ce3f3fe.js","..\\chunks\\Aside.143a8d13.js","..\\chunks\\index.50c00146.js","..\\assets\\Aside.66c2d12f.css","..\\assets\\13.bf080bcc.css"],import.meta.url),()=>m(()=>import("../nodes/14.b6fb1833.js"),["..\\nodes\\14.b6fb1833.js","..\\chunks\\scheduler.a497d5ec.js","..\\chunks\\index.ca999c64.js"],import.meta.url),()=>m(()=>import("../nodes/15.1fecd492.js"),["..\\nodes\\15.1fecd492.js","..\\chunks\\scheduler.a497d5ec.js","..\\chunks\\index.ca999c64.js","..\\chunks\\stores.0efc77ce.js","..\\chunks\\singletons.6b3d51ac.js","..\\chunks\\index.ec985a20.js","..\\chunks\\user.1d284359.js","..\\chunks\\graphql.66a06395.js","..\\chunks\\Aside.143a8d13.js","..\\chunks\\globals.7f7f1b26.js","..\\chunks\\index.50c00146.js","..\\chunks\\state.58df2e5f.js","..\\chunks\\Icon.1ce3f3fe.js","..\\assets\\Aside.66c2d12f.css","..\\assets\\15.0e0670ce.css"],import.meta.url)],pe=[],de={"/":[7],"/backgroundJobs":[8,[2]],"/backgroundJobs/[type]/[id]":[9,[2]],"/constants":[10,[3]],"/database":[11,[4]],"/database/table/[id]":[12,[4]],"/logs":[13,[5]],"/users":[14,[6]],"/users/[id]":[15,[6]]},he={handleError:({error:a})=>{console.error(a)}};export{de as dictionary,he as hooks,ce as matchers,me as nodes,ue as root,pe as server_loads}; diff --git a/gui/next/build/_app/immutable/entry/start.6003686d.js b/gui/next/build/_app/immutable/entry/start.a0636888.js similarity index 99% rename from gui/next/build/_app/immutable/entry/start.6003686d.js rename to gui/next/build/_app/immutable/entry/start.a0636888.js index d6c8615b..3bd994e6 100644 --- a/gui/next/build/_app/immutable/entry/start.6003686d.js +++ b/gui/next/build/_app/immutable/entry/start.a0636888.js @@ -1,3 +1,3 @@ -import{o as _e,t as we}from"../chunks/scheduler.bed694a1.js";import{S as Ge,a as Je,I as M,g as Ce,f as Me,b as ye,c as le,s as te,i as ve,d as F,e as J,P as Ve,h as Xe}from"../chunks/singletons.aae78537.js";function Ze(t,r){return t==="/"||r==="ignore"?t:r==="never"?t.endsWith("/")?t.slice(0,-1):t:r==="always"&&!t.endsWith("/")?t+"/":t}function Qe(t){return t.split("%25").map(decodeURI).join("%25")}function et(t){for(const r in t)t[r]=decodeURIComponent(t[r]);return t}const tt=["href","pathname","search","searchParams","toString","toJSON"];function nt(t,r){const f=new URL(t);for(const s of tt)Object.defineProperty(f,s,{get(){return r(),t[s]},enumerable:!0,configurable:!0});return at(f),f}function at(t){Object.defineProperty(t,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const rt="/__data.json";function ot(t){return t.replace(/\/$/,"")+rt}function it(...t){let r=5381;for(const f of t)if(typeof f=="string"){let s=f.length;for(;s;)r=r*33^f.charCodeAt(--s)}else if(ArrayBuffer.isView(f)){const s=new Uint8Array(f.buffer,f.byteOffset,f.byteLength);let d=s.length;for(;d;)r=r*33^s[--d]}else throw new TypeError("value must be a string or TypedArray");return(r>>>0).toString(36)}const fe=window.fetch;window.fetch=(t,r)=>((t instanceof Request?t.method:(r==null?void 0:r.method)||"GET")!=="GET"&&ae.delete(ke(t)),fe(t,r));const ae=new Map;function st(t,r){const f=ke(t,r),s=document.querySelector(f);if(s!=null&&s.textContent){const{body:d,...u}=JSON.parse(s.textContent),E=s.getAttribute("data-ttl");return E&&ae.set(f,{body:d,init:u,ttl:1e3*Number(E)}),Promise.resolve(new Response(d,u))}return fe(t,r)}function ct(t,r,f){if(ae.size>0){const s=ke(t,f),d=ae.get(s);if(d){if(performance.now(){const d=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(s);if(d)return r.push({name:d[1],matcher:d[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const u=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(s);if(u)return r.push({name:u[1],matcher:u[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!s)return;const E=s.split(/\[(.+?)\](?!\])/);return"/"+E.map((g,m)=>{if(m%2){if(g.startsWith("x+"))return be(String.fromCharCode(parseInt(g.slice(2),16)));if(g.startsWith("u+"))return be(String.fromCharCode(...g.slice(2).split("-").map(U=>parseInt(U,16))));const h=lt.exec(g);if(!h)throw new Error(`Invalid param: ${g}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,x,j,k,N]=h;return r.push({name:k,matcher:N,optional:!!x,rest:!!j,chained:j?m===1&&E[0]==="":!1}),j?"(.*?)":x?"([^/]*)?":"([^/]+?)"}return be(g)}).join("")}).join("")}/?$`),params:r}}function ut(t){return!/^\([^)]+\)$/.test(t)}function dt(t){return t.slice(1).split("/").filter(ut)}function pt(t,r,f){const s={},d=t.slice(1),u=d.filter(l=>l!==void 0);let E=0;for(let l=0;lh).join("/"),E=0),m===void 0){g.rest&&(s[g.name]="");continue}if(!g.matcher||f[g.matcher](m)){s[g.name]=m;const h=r[l+1],x=d[l+1];h&&!h.rest&&h.optional&&x&&g.chained&&(E=0),!h&&!x&&Object.keys(s).length===u.length&&(E=0);continue}if(g.optional&&g.chained){E++;continue}return}if(!E)return s}function be(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function ht({nodes:t,server_loads:r,dictionary:f,matchers:s}){const d=new Set(r);return Object.entries(f).map(([l,[g,m,h]])=>{const{pattern:x,params:j}=ft(l),k={id:l,exec:N=>{const U=x.exec(N);if(U)return pt(U,j,s)},errors:[1,...h||[]].map(N=>t[N]),layouts:[0,...m||[]].map(E),leaf:u(g)};return k.errors.length=k.layouts.length=Math.max(k.errors.length,k.layouts.length),k});function u(l){const g=l<0;return g&&(l=~l),[g,t[l]]}function E(l){return l===void 0?l:[d.has(l),t[l]]}}function Ke(t){try{return JSON.parse(sessionStorage[t])}catch{}}function qe(t,r){const f=JSON.stringify(r);try{sessionStorage[t]=f}catch{}}const gt=-1,mt=-2,_t=-3,wt=-4,yt=-5,vt=-6;function bt(t,r){if(typeof t=="number")return d(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const f=t,s=Array(f.length);function d(u,E=!1){if(u===gt)return;if(u===_t)return NaN;if(u===wt)return 1/0;if(u===yt)return-1/0;if(u===vt)return-0;if(E)throw new Error("Invalid input");if(u in s)return s[u];const l=f[u];if(!l||typeof l!="object")s[u]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const g=l[0],m=r==null?void 0:r[g];if(m)return s[u]=m(d(l[1]));switch(g){case"Date":s[u]=new Date(l[1]);break;case"Set":const h=new Set;s[u]=h;for(let k=1;kr!=null)}const ze=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ze];const St=new Set([...ze]);[...St];async function kt(t){var r;for(const f in t)if(typeof((r=t[f])==null?void 0:r.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(t).map(async([s,d])=>[s,await d])));return t}class ne{constructor(r,f){this.status=r,typeof f=="string"?this.body={message:f}:f?this.body=f:this.body={message:`Error: ${r}`}}toString(){return JSON.stringify(this.body)}}class Fe{constructor(r,f){this.status=r,this.location=f}}const Rt="x-sveltekit-invalidated",At="x-sveltekit-trailing-slash",K=Ke(Ge)??{},ee=Ke(Je)??{};function Ee(t){K[t]=te()}function It(t,r){var $e;const f=ht(t),s=t.nodes[0],d=t.nodes[1];s(),d();const u=document.documentElement,E=[],l=[];let g=null;const m={before_navigate:[],on_navigate:[],after_navigate:[]};let h={branch:[],error:null,url:null},x=!1,j=!1,k=!0,N=!1,U=!1,H=!1,B=!1,V,D=($e=history.state)==null?void 0:$e[M];D||(D=Date.now(),history.replaceState({...history.state,[M]:D},"",location.href));const ue=K[D];ue&&(history.scrollRestoration="manual",scrollTo(ue.x,ue.y));let q,z,Y;async function Re(){if(Y=Y||Promise.resolve(),await Y,!Y)return;Y=null;const e=new URL(location.href),i=Z(e,!0);g=null;const n=z={},o=i&&await he(i);if(n===z&&o){if(o.type==="redirect")return re(new URL(o.location,e).href,{},[e.pathname],n);o.props.page!==void 0&&(q=o.props.page),V.$set(o.props)}}function Ae(e){l.some(i=>i==null?void 0:i.snapshot)&&(ee[e]=l.map(i=>{var n;return(n=i==null?void 0:i.snapshot)==null?void 0:n.capture()}))}function Ie(e){var i;(i=ee[e])==null||i.forEach((n,o)=>{var a,c;(c=(a=l[o])==null?void 0:a.snapshot)==null||c.restore(n)})}function Le(){Ee(D),qe(Ge,K),Ae(D),qe(Je,ee)}async function re(e,{noScroll:i=!1,replaceState:n=!1,keepFocus:o=!1,state:a={},invalidateAll:c=!1},p,v){return typeof e=="string"&&(e=new URL(e,Ce(document))),ce({url:e,scroll:i?te():null,keepfocus:o,redirect_chain:p,details:{state:a,replaceState:n},nav_token:v,accepted:()=>{c&&(B=!0)},blocked:()=>{},type:"goto"})}async function Pe(e){return g={id:e.id,promise:he(e).then(i=>(i.type==="loaded"&&i.state.error&&(g=null),i))},g.promise}async function oe(...e){const n=f.filter(o=>e.some(a=>o.exec(a))).map(o=>Promise.all([...o.layouts,o.leaf].map(a=>a==null?void 0:a[1]())));await Promise.all(n)}function Oe(e){var o;h=e.state;const i=document.querySelector("style[data-sveltekit]");i&&i.remove(),q=e.props.page,V=new t.root({target:r,props:{...e.props,stores:F,components:l},hydrate:!0}),Ie(D);const n={from:null,to:{params:h.params,route:{id:((o=h.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};m.after_navigate.forEach(a=>a(n)),j=!0}async function X({url:e,params:i,branch:n,status:o,error:a,route:c,form:p}){let v="never";for(const w of n)(w==null?void 0:w.slash)!==void 0&&(v=w.slash);e.pathname=Ze(e.pathname,v),e.search=e.search;const b={type:"loaded",state:{url:e,params:i,branch:n,error:a,route:c},props:{constructors:Et(n).map(w=>w.node.component)}};p!==void 0&&(b.props.form=p);let y={},L=!q,A=0;for(let w=0;w(v.route=!0,_[O])}),params:new Proxy(o,{get:(_,O)=>(v.params.add(O),_[O])}),data:(c==null?void 0:c.data)??null,url:nt(n,()=>{v.url=!0}),async fetch(_,O){let $;_ instanceof Request?($=_.url,O={body:_.method==="GET"||_.method==="HEAD"?void 0:await _.blob(),cache:_.cache,credentials:_.credentials,headers:_.headers,integrity:_.integrity,keepalive:_.keepalive,method:_.method,mode:_.mode,redirect:_.redirect,referrer:_.referrer,referrerPolicy:_.referrerPolicy,signal:_.signal,...O}):$=_;const C=new URL($,n);return P(C.href),C.origin===n.origin&&($=C.href.slice(n.origin.length)),j?ct($,C.href,O):st($,O)},setHeaders:()=>{},depends:P,parent(){return v.parent=!0,i()}};p=await b.universal.load.call(null,w)??null,p=p?await kt(p):null}return{node:b,loader:e,server:c,universal:(L=b.universal)!=null&&L.load?{type:"data",data:p,uses:v}:null,data:p??(c==null?void 0:c.data)??null,slash:((A=b.universal)==null?void 0:A.trailingSlash)??(c==null?void 0:c.slash)}}function Ue(e,i,n,o,a){if(B)return!0;if(!o)return!1;if(o.parent&&e||o.route&&i||o.url&&n)return!0;for(const c of o.params)if(a[c]!==h.params[c])return!0;for(const c of o.dependencies)if(E.some(p=>p(new URL(c))))return!0;return!1}function pe(e,i){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?i??null:null}async function he({id:e,invalidating:i,url:n,params:o,route:a}){if((g==null?void 0:g.id)===e)return g.promise;const{errors:c,layouts:p,leaf:v}=a,b=[...p,v];c.forEach(S=>S==null?void 0:S().catch(()=>{})),b.forEach(S=>S==null?void 0:S[1]().catch(()=>{}));let y=null;const L=h.url?e!==h.url.pathname+h.url.search:!1,A=h.route?a.id!==h.route.id:!1;let P=!1;const w=b.map((S,I)=>{var G;const R=h.branch[I],T=!!(S!=null&&S[0])&&((R==null?void 0:R.loader)!==S[1]||Ue(P,A,L,(G=R.server)==null?void 0:G.uses,o));return T&&(P=!0),T});if(w.some(Boolean)){try{y=await He(n,w)}catch(S){return ie({status:S instanceof ne?S.status:500,error:await Q(S,{url:n,params:o,route:{id:a.id}}),url:n,route:a})}if(y.type==="redirect")return y}const _=y==null?void 0:y.nodes;let O=!1;const $=b.map(async(S,I)=>{var ge;if(!S)return;const R=h.branch[I],T=_==null?void 0:_[I];if((!T||T.type==="skip")&&S[1]===(R==null?void 0:R.loader)&&!Ue(O,A,L,(ge=R.universal)==null?void 0:ge.uses,o))return R;if(O=!0,(T==null?void 0:T.type)==="error")throw T;return de({loader:S[1],url:n,params:o,route:a,parent:async()=>{var De;const Te={};for(let me=0;me{});const C=[];for(let S=0;SPromise.resolve({}),server_data_node:pe(c)}),b={node:await d(),loader:d,universal:null,server:null,data:null};return await X({url:n,params:a,branch:[v,b],status:e,error:i,route:null})}function Z(e,i){if(ve(e,J))return;const n=se(e);for(const o of f){const a=o.exec(n);if(a)return{id:e.pathname+e.search,invalidating:i,route:o,params:et(a),url:e}}}function se(e){return Qe(e.pathname.slice(J.length)||"/")}function je({url:e,type:i,intent:n,delta:o}){let a=!1;const c=Be(h,n,e,i);o!==void 0&&(c.navigation.delta=o);const p={...c.navigation,cancel:()=>{a=!0,c.reject(new Error("navigation was cancelled"))}};return U||m.before_navigate.forEach(v=>v(p)),a?null:c}async function ce({url:e,scroll:i,keepfocus:n,redirect_chain:o,details:a,type:c,delta:p,nav_token:v={},accepted:b,blocked:y}){var $,C,S;const L=Z(e,!1),A=je({url:e,type:c,delta:p,intent:L});if(!A){y();return}const P=D;b(),U=!0,j&&F.navigating.set(A.navigation),z=v;let w=L&&await he(L);if(!w){if(ve(e,J))return await W(e);w=await Ne(e,{id:null},await Q(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(L==null?void 0:L.url)||e,z!==v)return A.reject(new Error("navigation was aborted")),!1;if(w.type==="redirect")if(o.length>10||o.includes(e.pathname))w=await ie({status:500,error:await Q(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return re(new URL(w.location,e).href,{},[...o,e.pathname],v),!1;else(($=w.props.page)==null?void 0:$.status)>=400&&await F.updated.check()&&await W(e);if(E.length=0,B=!1,N=!0,Ee(P),Ae(P),(C=w.props.page)!=null&&C.url&&w.props.page.url.pathname!==e.pathname&&(e.pathname=(S=w.props.page)==null?void 0:S.url.pathname),a){const I=a.replaceState?0:1;if(a.state[M]=D+=I,history[a.replaceState?"replaceState":"pushState"](a.state,"",e),!a.replaceState){let R=D+1;for(;ee[R]||K[R];)delete ee[R],delete K[R],R+=1}}if(g=null,j){h=w.state,w.props.page&&(w.props.page.url=e);const I=(await Promise.all(m.on_navigate.map(R=>R(A.navigation)))).filter(R=>typeof R=="function");if(I.length>0){let R=function(){m.after_navigate=m.after_navigate.filter(T=>!I.includes(T))};I.push(R),m.after_navigate.push(...I)}V.$set(w.props)}else Oe(w);const{activeElement:_}=document;if(await we(),k){const I=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));i?scrollTo(i.x,i.y):I?I.scrollIntoView():scrollTo(0,0)}const O=document.activeElement!==_&&document.activeElement!==document.body;!n&&!O&&Se(),k=!0,w.props.page&&(q=w.props.page),U=!1,c==="popstate"&&Ie(D),A.fulfil(void 0),m.after_navigate.forEach(I=>I(A.navigation)),F.navigating.set(null),N=!1}async function Ne(e,i,n,o){return e.origin===location.origin&&e.pathname===location.pathname&&!x?await ie({status:o,error:n,url:e,route:i}):await W(e)}function W(e){return location.href=e.href,new Promise(()=>{})}function Ye(){let e;u.addEventListener("mousemove",c=>{const p=c.target;clearTimeout(e),e=setTimeout(()=>{o(p,2)},20)});function i(c){o(c.composedPath()[0],1)}u.addEventListener("mousedown",i),u.addEventListener("touchstart",i,{passive:!0});const n=new IntersectionObserver(c=>{for(const p of c)p.isIntersecting&&(oe(se(new URL(p.target.href))),n.unobserve(p.target))},{threshold:0});function o(c,p){const v=Me(c,u);if(!v)return;const{url:b,external:y,download:L}=ye(v,J);if(y||L)return;const A=le(v);if(!A.reload)if(p<=A.preload_data){const P=Z(b,!1);P&&Pe(P)}else p<=A.preload_code&&oe(se(b))}function a(){n.disconnect();for(const c of u.querySelectorAll("a")){const{url:p,external:v,download:b}=ye(c,J);if(v||b)continue;const y=le(c);y.reload||(y.preload_code===Ve.viewport&&n.observe(c),y.preload_code===Ve.eager&&oe(se(p)))}}m.after_navigate.push(a),a()}function Q(e,i){return e instanceof ne?e.body:t.hooks.handleError({error:e,event:i})??{message:i.route.id!=null?"Internal Error":"Not Found"}}return{after_navigate:e=>{_e(()=>(m.after_navigate.push(e),()=>{const i=m.after_navigate.indexOf(e);m.after_navigate.splice(i,1)}))},before_navigate:e=>{_e(()=>(m.before_navigate.push(e),()=>{const i=m.before_navigate.indexOf(e);m.before_navigate.splice(i,1)}))},on_navigate:e=>{_e(()=>(m.on_navigate.push(e),()=>{const i=m.on_navigate.indexOf(e);m.on_navigate.splice(i,1)}))},disable_scroll_handling:()=>{(N||!j)&&(k=!1)},goto:(e,i={})=>re(e,i,[]),invalidate:e=>{if(typeof e=="function")E.push(e);else{const{href:i}=new URL(e,location.href);E.push(n=>n.href===i)}return Re()},invalidate_all:()=>(B=!0,Re()),preload_data:async e=>{const i=new URL(e,Ce(document)),n=Z(i,!1);if(!n)throw new Error(`Attempted to preload a URL that does not belong to this app: ${i}`);await Pe(n)},preload_code:oe,apply_action:async e=>{if(e.type==="error"){const i=new URL(location.href),{branch:n,route:o}=h;if(!o)return;const a=await xe(h.branch.length,n,o.errors);if(a){const c=await X({url:i,params:h.params,branch:n.slice(0,a.idx).concat(a.node),status:e.status??500,error:e.error,route:o});h=c.state,V.$set(c.props),we().then(Se)}}else e.type==="redirect"?re(e.location,{invalidateAll:!0},[]):(V.$set({form:null,page:{...q,form:e.data,status:e.status}}),await we(),V.$set({form:e.data}),e.type==="success"&&Se())},_start_router:()=>{var i;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let o=!1;if(Le(),!U){const a=Be(h,void 0,null,"leave"),c={...a.navigation,cancel:()=>{o=!0,a.reject(new Error("navigation was cancelled"))}};m.before_navigate.forEach(p=>p(c))}o?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Le()}),(i=navigator.connection)!=null&&i.saveData||Ye(),u.addEventListener("click",n=>{var P;if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const o=Me(n.composedPath()[0],u);if(!o)return;const{url:a,external:c,target:p,download:v}=ye(o,J);if(!a)return;if(p==="_parent"||p==="_top"){if(window.parent!==window)return}else if(p&&p!=="_self")return;const b=le(o);if(!(o instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||v)return;if(c||b.reload){je({url:a,type:"link"})?U=!0:n.preventDefault();return}const[L,A]=a.href.split("#");if(A!==void 0&&L===location.href.split("#")[0]){if(h.url.hash===a.hash){n.preventDefault(),(P=o.ownerDocument.getElementById(A))==null||P.scrollIntoView();return}if(H=!0,Ee(D),e(a),!b.replace_state)return;H=!1,n.preventDefault()}ce({url:a,scroll:b.noscroll?te():null,keepfocus:b.keep_focus??!1,redirect_chain:[],details:{state:{},replaceState:b.replace_state??a.href===location.href},accepted:()=>n.preventDefault(),blocked:()=>n.preventDefault(),type:"link"})}),u.addEventListener("submit",n=>{if(n.defaultPrevented)return;const o=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formMethod)||o.method)!=="get")return;const p=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||o.action);if(ve(p,J))return;const v=n.target,{keep_focus:b,noscroll:y,reload:L,replace_state:A}=le(v);if(L)return;n.preventDefault(),n.stopPropagation();const P=new FormData(v),w=a==null?void 0:a.getAttribute("name");w&&P.append(w,(a==null?void 0:a.getAttribute("value"))??""),p.search=new URLSearchParams(P).toString(),ce({url:p,scroll:y?te():null,keepfocus:b??!1,redirect_chain:[],details:{state:{},replaceState:A??p.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async n=>{var o;if(z={},(o=n.state)!=null&&o[M]){if(n.state[M]===D)return;const a=K[n.state[M]],c=new URL(location.href);if(h.url.href.split("#")[0]===location.href.split("#")[0]){e(c),K[D]=te(),D=n.state[M],scrollTo(a.x,a.y);return}const p=n.state[M]-D;await ce({url:c,scroll:a,keepfocus:!1,redirect_chain:[],details:null,accepted:()=>{D=n.state[M]},blocked:()=>{history.go(-p)},type:"popstate",delta:p,nav_token:z})}else if(!H){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{H&&(H=!1,history.replaceState({...history.state,[M]:++D},"",location.href))});for(const n of document.querySelectorAll("link"))n.rel==="icon"&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&F.navigating.set(null)});function e(n){h.url=n,F.page.set({...q,url:n}),F.page.notify()}},_hydrate:async({status:e=200,error:i,node_ids:n,params:o,route:a,data:c,form:p})=>{x=!0;const v=new URL(location.href);({params:o={},route:a={id:null}}=Z(v,!1)||{});let b;try{const y=n.map(async(P,w)=>{const _=c[w];return _!=null&&_.uses&&(_.uses=We(_.uses)),de({loader:t.nodes[P],url:v,params:o,route:a,parent:async()=>{const O={};for(let $=0;$P===a.id);if(A){const P=A.layouts;for(let w=0;wd?"1":"0").join(""));const s=await fe(f.href);if(!s.ok)throw new ne(s.status,await s.json());return new Promise(async d=>{var h;const u=new Map,E=s.body.getReader(),l=new TextDecoder;function g(x){return bt(x,{Promise:j=>new Promise((k,N)=>{u.set(j,{fulfil:k,reject:N})})})}let m="";for(;;){const{done:x,value:j}=await E.read();if(x&&!m)break;for(m+=!j&&m?` +import{o as _e,t as we}from"../chunks/scheduler.a497d5ec.js";import{S as Ge,a as Je,I as M,g as Ce,f as Me,b as ye,c as le,s as te,i as ve,d as F,e as J,P as Ve,h as Xe}from"../chunks/singletons.6b3d51ac.js";function Ze(t,r){return t==="/"||r==="ignore"?t:r==="never"?t.endsWith("/")?t.slice(0,-1):t:r==="always"&&!t.endsWith("/")?t+"/":t}function Qe(t){return t.split("%25").map(decodeURI).join("%25")}function et(t){for(const r in t)t[r]=decodeURIComponent(t[r]);return t}const tt=["href","pathname","search","searchParams","toString","toJSON"];function nt(t,r){const f=new URL(t);for(const s of tt)Object.defineProperty(f,s,{get(){return r(),t[s]},enumerable:!0,configurable:!0});return at(f),f}function at(t){Object.defineProperty(t,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const rt="/__data.json";function ot(t){return t.replace(/\/$/,"")+rt}function it(...t){let r=5381;for(const f of t)if(typeof f=="string"){let s=f.length;for(;s;)r=r*33^f.charCodeAt(--s)}else if(ArrayBuffer.isView(f)){const s=new Uint8Array(f.buffer,f.byteOffset,f.byteLength);let d=s.length;for(;d;)r=r*33^s[--d]}else throw new TypeError("value must be a string or TypedArray");return(r>>>0).toString(36)}const fe=window.fetch;window.fetch=(t,r)=>((t instanceof Request?t.method:(r==null?void 0:r.method)||"GET")!=="GET"&&ae.delete(ke(t)),fe(t,r));const ae=new Map;function st(t,r){const f=ke(t,r),s=document.querySelector(f);if(s!=null&&s.textContent){const{body:d,...u}=JSON.parse(s.textContent),E=s.getAttribute("data-ttl");return E&&ae.set(f,{body:d,init:u,ttl:1e3*Number(E)}),Promise.resolve(new Response(d,u))}return fe(t,r)}function ct(t,r,f){if(ae.size>0){const s=ke(t,f),d=ae.get(s);if(d){if(performance.now(){const d=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(s);if(d)return r.push({name:d[1],matcher:d[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const u=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(s);if(u)return r.push({name:u[1],matcher:u[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!s)return;const E=s.split(/\[(.+?)\](?!\])/);return"/"+E.map((g,m)=>{if(m%2){if(g.startsWith("x+"))return be(String.fromCharCode(parseInt(g.slice(2),16)));if(g.startsWith("u+"))return be(String.fromCharCode(...g.slice(2).split("-").map(U=>parseInt(U,16))));const h=lt.exec(g);if(!h)throw new Error(`Invalid param: ${g}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,x,j,k,N]=h;return r.push({name:k,matcher:N,optional:!!x,rest:!!j,chained:j?m===1&&E[0]==="":!1}),j?"(.*?)":x?"([^/]*)?":"([^/]+?)"}return be(g)}).join("")}).join("")}/?$`),params:r}}function ut(t){return!/^\([^)]+\)$/.test(t)}function dt(t){return t.slice(1).split("/").filter(ut)}function pt(t,r,f){const s={},d=t.slice(1),u=d.filter(l=>l!==void 0);let E=0;for(let l=0;lh).join("/"),E=0),m===void 0){g.rest&&(s[g.name]="");continue}if(!g.matcher||f[g.matcher](m)){s[g.name]=m;const h=r[l+1],x=d[l+1];h&&!h.rest&&h.optional&&x&&g.chained&&(E=0),!h&&!x&&Object.keys(s).length===u.length&&(E=0);continue}if(g.optional&&g.chained){E++;continue}return}if(!E)return s}function be(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function ht({nodes:t,server_loads:r,dictionary:f,matchers:s}){const d=new Set(r);return Object.entries(f).map(([l,[g,m,h]])=>{const{pattern:x,params:j}=ft(l),k={id:l,exec:N=>{const U=x.exec(N);if(U)return pt(U,j,s)},errors:[1,...h||[]].map(N=>t[N]),layouts:[0,...m||[]].map(E),leaf:u(g)};return k.errors.length=k.layouts.length=Math.max(k.errors.length,k.layouts.length),k});function u(l){const g=l<0;return g&&(l=~l),[g,t[l]]}function E(l){return l===void 0?l:[d.has(l),t[l]]}}function Ke(t){try{return JSON.parse(sessionStorage[t])}catch{}}function qe(t,r){const f=JSON.stringify(r);try{sessionStorage[t]=f}catch{}}const gt=-1,mt=-2,_t=-3,wt=-4,yt=-5,vt=-6;function bt(t,r){if(typeof t=="number")return d(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const f=t,s=Array(f.length);function d(u,E=!1){if(u===gt)return;if(u===_t)return NaN;if(u===wt)return 1/0;if(u===yt)return-1/0;if(u===vt)return-0;if(E)throw new Error("Invalid input");if(u in s)return s[u];const l=f[u];if(!l||typeof l!="object")s[u]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const g=l[0],m=r==null?void 0:r[g];if(m)return s[u]=m(d(l[1]));switch(g){case"Date":s[u]=new Date(l[1]);break;case"Set":const h=new Set;s[u]=h;for(let k=1;kr!=null)}const ze=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ze];const St=new Set([...ze]);[...St];async function kt(t){var r;for(const f in t)if(typeof((r=t[f])==null?void 0:r.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(t).map(async([s,d])=>[s,await d])));return t}class ne{constructor(r,f){this.status=r,typeof f=="string"?this.body={message:f}:f?this.body=f:this.body={message:`Error: ${r}`}}toString(){return JSON.stringify(this.body)}}class Fe{constructor(r,f){this.status=r,this.location=f}}const Rt="x-sveltekit-invalidated",At="x-sveltekit-trailing-slash",K=Ke(Ge)??{},ee=Ke(Je)??{};function Ee(t){K[t]=te()}function It(t,r){var $e;const f=ht(t),s=t.nodes[0],d=t.nodes[1];s(),d();const u=document.documentElement,E=[],l=[];let g=null;const m={before_navigate:[],on_navigate:[],after_navigate:[]};let h={branch:[],error:null,url:null},x=!1,j=!1,k=!0,N=!1,U=!1,H=!1,B=!1,V,D=($e=history.state)==null?void 0:$e[M];D||(D=Date.now(),history.replaceState({...history.state,[M]:D},"",location.href));const ue=K[D];ue&&(history.scrollRestoration="manual",scrollTo(ue.x,ue.y));let q,z,Y;async function Re(){if(Y=Y||Promise.resolve(),await Y,!Y)return;Y=null;const e=new URL(location.href),i=Z(e,!0);g=null;const n=z={},o=i&&await he(i);if(n===z&&o){if(o.type==="redirect")return re(new URL(o.location,e).href,{},[e.pathname],n);o.props.page!==void 0&&(q=o.props.page),V.$set(o.props)}}function Ae(e){l.some(i=>i==null?void 0:i.snapshot)&&(ee[e]=l.map(i=>{var n;return(n=i==null?void 0:i.snapshot)==null?void 0:n.capture()}))}function Ie(e){var i;(i=ee[e])==null||i.forEach((n,o)=>{var a,c;(c=(a=l[o])==null?void 0:a.snapshot)==null||c.restore(n)})}function Le(){Ee(D),qe(Ge,K),Ae(D),qe(Je,ee)}async function re(e,{noScroll:i=!1,replaceState:n=!1,keepFocus:o=!1,state:a={},invalidateAll:c=!1},p,v){return typeof e=="string"&&(e=new URL(e,Ce(document))),ce({url:e,scroll:i?te():null,keepfocus:o,redirect_chain:p,details:{state:a,replaceState:n},nav_token:v,accepted:()=>{c&&(B=!0)},blocked:()=>{},type:"goto"})}async function Pe(e){return g={id:e.id,promise:he(e).then(i=>(i.type==="loaded"&&i.state.error&&(g=null),i))},g.promise}async function oe(...e){const n=f.filter(o=>e.some(a=>o.exec(a))).map(o=>Promise.all([...o.layouts,o.leaf].map(a=>a==null?void 0:a[1]())));await Promise.all(n)}function Oe(e){var o;h=e.state;const i=document.querySelector("style[data-sveltekit]");i&&i.remove(),q=e.props.page,V=new t.root({target:r,props:{...e.props,stores:F,components:l},hydrate:!0}),Ie(D);const n={from:null,to:{params:h.params,route:{id:((o=h.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};m.after_navigate.forEach(a=>a(n)),j=!0}async function X({url:e,params:i,branch:n,status:o,error:a,route:c,form:p}){let v="never";for(const w of n)(w==null?void 0:w.slash)!==void 0&&(v=w.slash);e.pathname=Ze(e.pathname,v),e.search=e.search;const b={type:"loaded",state:{url:e,params:i,branch:n,error:a,route:c},props:{constructors:Et(n).map(w=>w.node.component)}};p!==void 0&&(b.props.form=p);let y={},L=!q,A=0;for(let w=0;w(v.route=!0,_[O])}),params:new Proxy(o,{get:(_,O)=>(v.params.add(O),_[O])}),data:(c==null?void 0:c.data)??null,url:nt(n,()=>{v.url=!0}),async fetch(_,O){let $;_ instanceof Request?($=_.url,O={body:_.method==="GET"||_.method==="HEAD"?void 0:await _.blob(),cache:_.cache,credentials:_.credentials,headers:_.headers,integrity:_.integrity,keepalive:_.keepalive,method:_.method,mode:_.mode,redirect:_.redirect,referrer:_.referrer,referrerPolicy:_.referrerPolicy,signal:_.signal,...O}):$=_;const C=new URL($,n);return P(C.href),C.origin===n.origin&&($=C.href.slice(n.origin.length)),j?ct($,C.href,O):st($,O)},setHeaders:()=>{},depends:P,parent(){return v.parent=!0,i()}};p=await b.universal.load.call(null,w)??null,p=p?await kt(p):null}return{node:b,loader:e,server:c,universal:(L=b.universal)!=null&&L.load?{type:"data",data:p,uses:v}:null,data:p??(c==null?void 0:c.data)??null,slash:((A=b.universal)==null?void 0:A.trailingSlash)??(c==null?void 0:c.slash)}}function Ue(e,i,n,o,a){if(B)return!0;if(!o)return!1;if(o.parent&&e||o.route&&i||o.url&&n)return!0;for(const c of o.params)if(a[c]!==h.params[c])return!0;for(const c of o.dependencies)if(E.some(p=>p(new URL(c))))return!0;return!1}function pe(e,i){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?i??null:null}async function he({id:e,invalidating:i,url:n,params:o,route:a}){if((g==null?void 0:g.id)===e)return g.promise;const{errors:c,layouts:p,leaf:v}=a,b=[...p,v];c.forEach(S=>S==null?void 0:S().catch(()=>{})),b.forEach(S=>S==null?void 0:S[1]().catch(()=>{}));let y=null;const L=h.url?e!==h.url.pathname+h.url.search:!1,A=h.route?a.id!==h.route.id:!1;let P=!1;const w=b.map((S,I)=>{var G;const R=h.branch[I],T=!!(S!=null&&S[0])&&((R==null?void 0:R.loader)!==S[1]||Ue(P,A,L,(G=R.server)==null?void 0:G.uses,o));return T&&(P=!0),T});if(w.some(Boolean)){try{y=await He(n,w)}catch(S){return ie({status:S instanceof ne?S.status:500,error:await Q(S,{url:n,params:o,route:{id:a.id}}),url:n,route:a})}if(y.type==="redirect")return y}const _=y==null?void 0:y.nodes;let O=!1;const $=b.map(async(S,I)=>{var ge;if(!S)return;const R=h.branch[I],T=_==null?void 0:_[I];if((!T||T.type==="skip")&&S[1]===(R==null?void 0:R.loader)&&!Ue(O,A,L,(ge=R.universal)==null?void 0:ge.uses,o))return R;if(O=!0,(T==null?void 0:T.type)==="error")throw T;return de({loader:S[1],url:n,params:o,route:a,parent:async()=>{var De;const Te={};for(let me=0;me{});const C=[];for(let S=0;SPromise.resolve({}),server_data_node:pe(c)}),b={node:await d(),loader:d,universal:null,server:null,data:null};return await X({url:n,params:a,branch:[v,b],status:e,error:i,route:null})}function Z(e,i){if(ve(e,J))return;const n=se(e);for(const o of f){const a=o.exec(n);if(a)return{id:e.pathname+e.search,invalidating:i,route:o,params:et(a),url:e}}}function se(e){return Qe(e.pathname.slice(J.length)||"/")}function je({url:e,type:i,intent:n,delta:o}){let a=!1;const c=Be(h,n,e,i);o!==void 0&&(c.navigation.delta=o);const p={...c.navigation,cancel:()=>{a=!0,c.reject(new Error("navigation was cancelled"))}};return U||m.before_navigate.forEach(v=>v(p)),a?null:c}async function ce({url:e,scroll:i,keepfocus:n,redirect_chain:o,details:a,type:c,delta:p,nav_token:v={},accepted:b,blocked:y}){var $,C,S;const L=Z(e,!1),A=je({url:e,type:c,delta:p,intent:L});if(!A){y();return}const P=D;b(),U=!0,j&&F.navigating.set(A.navigation),z=v;let w=L&&await he(L);if(!w){if(ve(e,J))return await W(e);w=await Ne(e,{id:null},await Q(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(L==null?void 0:L.url)||e,z!==v)return A.reject(new Error("navigation was aborted")),!1;if(w.type==="redirect")if(o.length>10||o.includes(e.pathname))w=await ie({status:500,error:await Q(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return re(new URL(w.location,e).href,{},[...o,e.pathname],v),!1;else(($=w.props.page)==null?void 0:$.status)>=400&&await F.updated.check()&&await W(e);if(E.length=0,B=!1,N=!0,Ee(P),Ae(P),(C=w.props.page)!=null&&C.url&&w.props.page.url.pathname!==e.pathname&&(e.pathname=(S=w.props.page)==null?void 0:S.url.pathname),a){const I=a.replaceState?0:1;if(a.state[M]=D+=I,history[a.replaceState?"replaceState":"pushState"](a.state,"",e),!a.replaceState){let R=D+1;for(;ee[R]||K[R];)delete ee[R],delete K[R],R+=1}}if(g=null,j){h=w.state,w.props.page&&(w.props.page.url=e);const I=(await Promise.all(m.on_navigate.map(R=>R(A.navigation)))).filter(R=>typeof R=="function");if(I.length>0){let R=function(){m.after_navigate=m.after_navigate.filter(T=>!I.includes(T))};I.push(R),m.after_navigate.push(...I)}V.$set(w.props)}else Oe(w);const{activeElement:_}=document;if(await we(),k){const I=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));i?scrollTo(i.x,i.y):I?I.scrollIntoView():scrollTo(0,0)}const O=document.activeElement!==_&&document.activeElement!==document.body;!n&&!O&&Se(),k=!0,w.props.page&&(q=w.props.page),U=!1,c==="popstate"&&Ie(D),A.fulfil(void 0),m.after_navigate.forEach(I=>I(A.navigation)),F.navigating.set(null),N=!1}async function Ne(e,i,n,o){return e.origin===location.origin&&e.pathname===location.pathname&&!x?await ie({status:o,error:n,url:e,route:i}):await W(e)}function W(e){return location.href=e.href,new Promise(()=>{})}function Ye(){let e;u.addEventListener("mousemove",c=>{const p=c.target;clearTimeout(e),e=setTimeout(()=>{o(p,2)},20)});function i(c){o(c.composedPath()[0],1)}u.addEventListener("mousedown",i),u.addEventListener("touchstart",i,{passive:!0});const n=new IntersectionObserver(c=>{for(const p of c)p.isIntersecting&&(oe(se(new URL(p.target.href))),n.unobserve(p.target))},{threshold:0});function o(c,p){const v=Me(c,u);if(!v)return;const{url:b,external:y,download:L}=ye(v,J);if(y||L)return;const A=le(v);if(!A.reload)if(p<=A.preload_data){const P=Z(b,!1);P&&Pe(P)}else p<=A.preload_code&&oe(se(b))}function a(){n.disconnect();for(const c of u.querySelectorAll("a")){const{url:p,external:v,download:b}=ye(c,J);if(v||b)continue;const y=le(c);y.reload||(y.preload_code===Ve.viewport&&n.observe(c),y.preload_code===Ve.eager&&oe(se(p)))}}m.after_navigate.push(a),a()}function Q(e,i){return e instanceof ne?e.body:t.hooks.handleError({error:e,event:i})??{message:i.route.id!=null?"Internal Error":"Not Found"}}return{after_navigate:e=>{_e(()=>(m.after_navigate.push(e),()=>{const i=m.after_navigate.indexOf(e);m.after_navigate.splice(i,1)}))},before_navigate:e=>{_e(()=>(m.before_navigate.push(e),()=>{const i=m.before_navigate.indexOf(e);m.before_navigate.splice(i,1)}))},on_navigate:e=>{_e(()=>(m.on_navigate.push(e),()=>{const i=m.on_navigate.indexOf(e);m.on_navigate.splice(i,1)}))},disable_scroll_handling:()=>{(N||!j)&&(k=!1)},goto:(e,i={})=>re(e,i,[]),invalidate:e=>{if(typeof e=="function")E.push(e);else{const{href:i}=new URL(e,location.href);E.push(n=>n.href===i)}return Re()},invalidate_all:()=>(B=!0,Re()),preload_data:async e=>{const i=new URL(e,Ce(document)),n=Z(i,!1);if(!n)throw new Error(`Attempted to preload a URL that does not belong to this app: ${i}`);await Pe(n)},preload_code:oe,apply_action:async e=>{if(e.type==="error"){const i=new URL(location.href),{branch:n,route:o}=h;if(!o)return;const a=await xe(h.branch.length,n,o.errors);if(a){const c=await X({url:i,params:h.params,branch:n.slice(0,a.idx).concat(a.node),status:e.status??500,error:e.error,route:o});h=c.state,V.$set(c.props),we().then(Se)}}else e.type==="redirect"?re(e.location,{invalidateAll:!0},[]):(V.$set({form:null,page:{...q,form:e.data,status:e.status}}),await we(),V.$set({form:e.data}),e.type==="success"&&Se())},_start_router:()=>{var i;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let o=!1;if(Le(),!U){const a=Be(h,void 0,null,"leave"),c={...a.navigation,cancel:()=>{o=!0,a.reject(new Error("navigation was cancelled"))}};m.before_navigate.forEach(p=>p(c))}o?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Le()}),(i=navigator.connection)!=null&&i.saveData||Ye(),u.addEventListener("click",n=>{var P;if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const o=Me(n.composedPath()[0],u);if(!o)return;const{url:a,external:c,target:p,download:v}=ye(o,J);if(!a)return;if(p==="_parent"||p==="_top"){if(window.parent!==window)return}else if(p&&p!=="_self")return;const b=le(o);if(!(o instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||v)return;if(c||b.reload){je({url:a,type:"link"})?U=!0:n.preventDefault();return}const[L,A]=a.href.split("#");if(A!==void 0&&L===location.href.split("#")[0]){if(h.url.hash===a.hash){n.preventDefault(),(P=o.ownerDocument.getElementById(A))==null||P.scrollIntoView();return}if(H=!0,Ee(D),e(a),!b.replace_state)return;H=!1,n.preventDefault()}ce({url:a,scroll:b.noscroll?te():null,keepfocus:b.keep_focus??!1,redirect_chain:[],details:{state:{},replaceState:b.replace_state??a.href===location.href},accepted:()=>n.preventDefault(),blocked:()=>n.preventDefault(),type:"link"})}),u.addEventListener("submit",n=>{if(n.defaultPrevented)return;const o=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formMethod)||o.method)!=="get")return;const p=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||o.action);if(ve(p,J))return;const v=n.target,{keep_focus:b,noscroll:y,reload:L,replace_state:A}=le(v);if(L)return;n.preventDefault(),n.stopPropagation();const P=new FormData(v),w=a==null?void 0:a.getAttribute("name");w&&P.append(w,(a==null?void 0:a.getAttribute("value"))??""),p.search=new URLSearchParams(P).toString(),ce({url:p,scroll:y?te():null,keepfocus:b??!1,redirect_chain:[],details:{state:{},replaceState:A??p.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async n=>{var o;if(z={},(o=n.state)!=null&&o[M]){if(n.state[M]===D)return;const a=K[n.state[M]],c=new URL(location.href);if(h.url.href.split("#")[0]===location.href.split("#")[0]){e(c),K[D]=te(),D=n.state[M],scrollTo(a.x,a.y);return}const p=n.state[M]-D;await ce({url:c,scroll:a,keepfocus:!1,redirect_chain:[],details:null,accepted:()=>{D=n.state[M]},blocked:()=>{history.go(-p)},type:"popstate",delta:p,nav_token:z})}else if(!H){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{H&&(H=!1,history.replaceState({...history.state,[M]:++D},"",location.href))});for(const n of document.querySelectorAll("link"))n.rel==="icon"&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&F.navigating.set(null)});function e(n){h.url=n,F.page.set({...q,url:n}),F.page.notify()}},_hydrate:async({status:e=200,error:i,node_ids:n,params:o,route:a,data:c,form:p})=>{x=!0;const v=new URL(location.href);({params:o={},route:a={id:null}}=Z(v,!1)||{});let b;try{const y=n.map(async(P,w)=>{const _=c[w];return _!=null&&_.uses&&(_.uses=We(_.uses)),de({loader:t.nodes[P],url:v,params:o,route:a,parent:async()=>{const O={};for(let $=0;$P===a.id);if(A){const P=A.layouts;for(let w=0;wd?"1":"0").join(""));const s=await fe(f.href);if(!s.ok)throw new ne(s.status,await s.json());return new Promise(async d=>{var h;const u=new Map,E=s.body.getReader(),l=new TextDecoder;function g(x){return bt(x,{Promise:j=>new Promise((k,N)=>{u.set(j,{fulfil:k,reject:N})})})}let m="";for(;;){const{done:x,value:j}=await E.read();if(x&&!m)break;for(m+=!j&&m?` `:l.decode(j);;){const k=m.indexOf(` `);if(k===-1)break;const N=JSON.parse(m.slice(0,k));if(m=m.slice(k+1),N.type==="redirect")return d(N);if(N.type==="data")(h=N.nodes)==null||h.forEach(U=>{(U==null?void 0:U.type)==="data"&&(U.uses=We(U.uses),U.data=g(U.data))}),d(N);else if(N.type==="chunk"){const{id:U,data:H,error:B}=N,V=u.get(U);u.delete(U),B?V.reject(g(B)):V.fulfil(g(H))}}}})}function We(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url)}}function Se(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const r=document.body,f=r.getAttribute("tabindex");r.tabIndex=-1,r.focus({preventScroll:!0,focusVisible:!1}),f!==null?r.setAttribute("tabindex",f):r.removeAttribute("tabindex");const s=getSelection();if(s&&s.type!=="None"){const d=[];for(let u=0;u{if(s.rangeCount===d.length){for(let u=0;u{d=h,u=x});return E.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((g=t.route)==null?void 0:g.id)??null},url:t.url},to:f&&{params:(r==null?void 0:r.params)??null,route:{id:((m=r==null?void 0:r.route)==null?void 0:m.id)??null},url:f},willUnload:!r,type:s,complete:E},fulfil:d,reject:u}}async function Ot(t,r,f){const s=It(t,r);Xe({client:s}),f?await s._hydrate(f):s.goto(location.href,{replaceState:!0}),s._start_router()}export{Ot as start}; diff --git a/gui/next/build/_app/immutable/nodes/0.9e2140d4.js b/gui/next/build/_app/immutable/nodes/0.2a6d4585.js similarity index 97% rename from gui/next/build/_app/immutable/nodes/0.9e2140d4.js rename to gui/next/build/_app/immutable/nodes/0.2a6d4585.js index 7e43b2a5..614cd823 100644 --- a/gui/next/build/_app/immutable/nodes/0.9e2140d4.js +++ b/gui/next/build/_app/immutable/nodes/0.2a6d4585.js @@ -1 +1 @@ -import{s as te,f as _,a as q,g,h as w,r as M,c as y,d as v,j as p,i as T,u as d,v as R,w as W,x as re,y as Ee,z as Q,e as he,A as ce,o as Ie,k as ue,B as oe,C as Ae,b as Le,l as De,m as Ne,n as Se,D as qe,E as ye,F as We,G as Pe}from"../chunks/scheduler.bed694a1.js";import{S as le,i as ae,a as m,g as O,t as $,c as G,b as U,d as V,m as j,e as B,f as x}from"../chunks/index.606d5641.js";import{p as Ce}from"../chunks/stores.f5d1a634.js";import{t as Te}from"../chunks/table.aa2299a7.js";import{s as H}from"../chunks/state.88bbaa31.js";import{I as F}from"../chunks/Icon.4ad67fd0.js";import{e as pe,u as Je,o as He}from"../chunks/each.177d9825.js";import{f as ee}from"../chunks/index.35d92de3.js";function de(o){let l,e,t,r,n,f="Database",s,a,i;return t=new F({props:{icon:"database"}}),{c(){l=_("li"),e=_("a"),U(t.$$.fragment),r=q(),n=_("span"),n.textContent=f,this.h()},l(h){l=g(h,"LI",{class:!0});var C=w(l);e=g(C,"A",{href:!0,class:!0});var u=w(e);V(t.$$.fragment,u),r=y(u),n=g(u,"SPAN",{class:!0,"data-svelte-h":!0}),M(n)!=="svelte-xe6gx4"&&(n.textContent=f),u.forEach(v),C.forEach(v),this.h()},h(){p(n,"class","label svelte-e0vhve"),p(e,"href","/database"),p(e,"class","svelte-e0vhve"),W(e,"active",o[1].url.pathname.startsWith("/database")),p(l,"class","svelte-e0vhve")},m(h,C){T(h,l,C),d(l,e),j(t,e,null),d(e,r),d(e,n),s=!0,a||(i=[re(e,"focus",o[2],{once:!0}),re(e,"mouseover",o[2],{once:!0})],a=!0)},p(h,C){(!s||C&2)&&W(e,"active",h[1].url.pathname.startsWith("/database"))},i(h){s||(m(t.$$.fragment,h),s=!0)},o(h){$(t.$$.fragment,h),s=!1},d(h){h&&v(l),B(t),a=!1,Ee(i)}}}function ve(o){let l,e,t,r,n,f="Users",s;return t=new F({props:{icon:"users"}}),{c(){l=_("li"),e=_("a"),U(t.$$.fragment),r=q(),n=_("span"),n.textContent=f,this.h()},l(a){l=g(a,"LI",{class:!0});var i=w(l);e=g(i,"A",{href:!0,class:!0});var h=w(e);V(t.$$.fragment,h),r=y(h),n=g(h,"SPAN",{class:!0,"data-svelte-h":!0}),M(n)!=="svelte-o38ms3"&&(n.textContent=f),h.forEach(v),i.forEach(v),this.h()},h(){p(n,"class","label svelte-e0vhve"),p(e,"href","/users"),p(e,"class","svelte-e0vhve"),W(e,"active",o[1].url.pathname.startsWith("/users")),p(l,"class","svelte-e0vhve")},m(a,i){T(a,l,i),d(l,e),j(t,e,null),d(e,r),d(e,n),s=!0},p(a,i){(!s||i&2)&&W(e,"active",a[1].url.pathname.startsWith("/users"))},i(a){s||(m(t.$$.fragment,a),s=!0)},o(a){$(t.$$.fragment,a),s=!1},d(a){a&&v(l),B(t)}}}function me(o){let l,e,t,r,n,f="Logs",s;return t=new F({props:{icon:"log"}}),{c(){l=_("li"),e=_("a"),U(t.$$.fragment),r=q(),n=_("span"),n.textContent=f,this.h()},l(a){l=g(a,"LI",{class:!0});var i=w(l);e=g(i,"A",{href:!0,class:!0});var h=w(e);V(t.$$.fragment,h),r=y(h),n=g(h,"SPAN",{class:!0,"data-svelte-h":!0}),M(n)!=="svelte-17j55om"&&(n.textContent=f),h.forEach(v),i.forEach(v),this.h()},h(){p(n,"class","label svelte-e0vhve"),p(e,"href","/logs"),p(e,"class","svelte-e0vhve"),W(e,"active",o[1].url.pathname.startsWith("/logs")),p(l,"class","svelte-e0vhve")},m(a,i){T(a,l,i),d(l,e),j(t,e,null),d(e,r),d(e,n),s=!0},p(a,i){(!s||i&2)&&W(e,"active",a[1].url.pathname.startsWith("/logs"))},i(a){s||(m(t.$$.fragment,a),s=!0)},o(a){$(t.$$.fragment,a),s=!1},d(a){a&&v(l),B(t)}}}function _e(o){let l,e,t,r,n,f="Background Jobs",s;return t=new F({props:{icon:"backgroundJob"}}),{c(){l=_("li"),e=_("a"),U(t.$$.fragment),r=q(),n=_("span"),n.textContent=f,this.h()},l(a){l=g(a,"LI",{class:!0});var i=w(l);e=g(i,"A",{href:!0,class:!0});var h=w(e);V(t.$$.fragment,h),r=y(h),n=g(h,"SPAN",{class:!0,"data-svelte-h":!0}),M(n)!=="svelte-fuvc8n"&&(n.textContent=f),h.forEach(v),i.forEach(v),this.h()},h(){p(n,"class","label svelte-e0vhve"),p(e,"href","/backgroundJobs"),p(e,"class","svelte-e0vhve"),W(e,"active",o[1].url.pathname.startsWith("/backgroundJobs")),p(l,"class","svelte-e0vhve")},m(a,i){T(a,l,i),d(l,e),j(t,e,null),d(e,r),d(e,n),s=!0},p(a,i){(!s||i&2)&&W(e,"active",a[1].url.pathname.startsWith("/backgroundJobs"))},i(a){s||(m(t.$$.fragment,a),s=!0)},o(a){$(t.$$.fragment,a),s=!1},d(a){a&&v(l),B(t)}}}function ge(o){let l,e,t,r,n,f="Constants",s;return t=new F({props:{icon:"constant"}}),{c(){l=_("li"),e=_("a"),U(t.$$.fragment),r=q(),n=_("span"),n.textContent=f,this.h()},l(a){l=g(a,"LI",{class:!0});var i=w(l);e=g(i,"A",{href:!0,class:!0});var h=w(e);V(t.$$.fragment,h),r=y(h),n=g(h,"SPAN",{class:!0,"data-svelte-h":!0}),M(n)!=="svelte-s4kqu"&&(n.textContent=f),h.forEach(v),i.forEach(v),this.h()},h(){p(n,"class","label svelte-e0vhve"),p(e,"href","/constants"),p(e,"class","svelte-e0vhve"),W(e,"active",o[1].url.pathname.startsWith("/constants")),p(l,"class","svelte-e0vhve")},m(a,i){T(a,l,i),d(l,e),j(t,e,null),d(e,r),d(e,n),s=!0},p(a,i){(!s||i&2)&&W(e,"active",a[1].url.pathname.startsWith("/constants"))},i(a){s||(m(t.$$.fragment,a),s=!0)},o(a){$(t.$$.fragment,a),s=!1},d(a){a&&v(l),B(t)}}}function $e(o){let l,e,t,r,n,f="Liquid Evaluator",s;return t=new F({props:{icon:"liquid"}}),{c(){l=_("li"),e=_("a"),U(t.$$.fragment),r=q(),n=_("span"),n.textContent=f,this.h()},l(a){l=g(a,"LI",{class:!0});var i=w(l);e=g(i,"A",{href:!0,class:!0});var h=w(e);V(t.$$.fragment,h),r=y(h),n=g(h,"SPAN",{class:!0,"data-svelte-h":!0}),M(n)!=="svelte-1k272bg"&&(n.textContent=f),h.forEach(v),i.forEach(v),this.h()},h(){p(n,"class","label svelte-e0vhve"),p(e,"href","http://localhost:3333/gui/liquid"),p(e,"class","svelte-e0vhve"),p(l,"class","svelte-e0vhve")},m(a,i){T(a,l,i),d(l,e),j(t,e,null),d(e,r),d(e,n),s=!0},i(a){s||(m(t.$$.fragment,a),s=!0)},o(a){$(t.$$.fragment,a),s=!1},d(a){a&&v(l),B(t)}}}function be(o){let l,e,t,r,n,f="GraphiQL",s;return t=new F({props:{icon:"graphql"}}),{c(){l=_("li"),e=_("a"),U(t.$$.fragment),r=q(),n=_("span"),n.textContent=f,this.h()},l(a){l=g(a,"LI",{class:!0});var i=w(l);e=g(i,"A",{href:!0,class:!0});var h=w(e);V(t.$$.fragment,h),r=y(h),n=g(h,"SPAN",{class:!0,"data-svelte-h":!0}),M(n)!=="svelte-pzl6ct"&&(n.textContent=f),h.forEach(v),i.forEach(v),this.h()},h(){p(n,"class","label svelte-e0vhve"),p(e,"href","http://localhost:3333/gui/graphql/"),p(e,"class","svelte-e0vhve"),p(l,"class","svelte-e0vhve")},m(a,i){T(a,l,i),d(l,e),j(t,e,null),d(e,r),d(e,n),s=!0},i(a){s||(m(t.$$.fragment,a),s=!0)},o(a){$(t.$$.fragment,a),s=!1},d(a){a&&v(l),B(t)}}}function Ue(o){let l,e,t,r='

platformOS development toolsβ

',n,f,s,a=o[0].header.includes("database"),i,h=o[0].header.includes("users"),C,u=o[0].header.includes("logs"),c,b=o[0].header.includes("backgroundJobs"),J,se=o[0].header.includes("constants"),K,ne=o[0].header.includes("liquid"),X,ie=o[0].header.includes("graphiql"),Y,E=a&&de(o),I=h&&ve(o),A=u&&me(o),L=b&&_e(o),D=se&&ge(o),N=ne&&$e(),S=ie&&be();return{c(){l=_("header"),e=_("div"),t=_("a"),t.innerHTML=r,n=q(),f=_("nav"),s=_("ul"),E&&E.c(),i=q(),I&&I.c(),C=q(),A&&A.c(),c=q(),L&&L.c(),J=q(),D&&D.c(),K=q(),N&&N.c(),X=q(),S&&S.c(),this.h()},l(z){l=g(z,"HEADER",{class:!0});var k=w(l);e=g(k,"DIV",{class:!0});var Z=w(e);t=g(Z,"A",{href:!0,"data-svelte-h":!0}),M(t)!=="svelte-u61ggc"&&(t.innerHTML=r),n=y(Z),f=g(Z,"NAV",{});var fe=w(f);s=g(fe,"UL",{class:!0});var P=w(s);E&&E.l(P),i=y(P),I&&I.l(P),C=y(P),A&&A.l(P),c=y(P),L&&L.l(P),J=y(P),D&&D.l(P),K=y(P),N&&N.l(P),X=y(P),S&&S.l(P),P.forEach(v),fe.forEach(v),Z.forEach(v),k.forEach(v),this.h()},h(){p(t,"href","/"),p(s,"class","svelte-e0vhve"),p(e,"class","wrapper svelte-e0vhve"),p(l,"class","svelte-e0vhve")},m(z,k){T(z,l,k),d(l,e),d(e,t),d(e,n),d(e,f),d(f,s),E&&E.m(s,null),d(s,i),I&&I.m(s,null),d(s,C),A&&A.m(s,null),d(s,c),L&&L.m(s,null),d(s,J),D&&D.m(s,null),d(s,K),N&&N.m(s,null),d(s,X),S&&S.m(s,null),Y=!0},p(z,[k]){k&1&&(a=z[0].header.includes("database")),a?E?(E.p(z,k),k&1&&m(E,1)):(E=de(z),E.c(),m(E,1),E.m(s,i)):E&&(O(),$(E,1,1,()=>{E=null}),G()),k&1&&(h=z[0].header.includes("users")),h?I?(I.p(z,k),k&1&&m(I,1)):(I=ve(z),I.c(),m(I,1),I.m(s,C)):I&&(O(),$(I,1,1,()=>{I=null}),G()),k&1&&(u=z[0].header.includes("logs")),u?A?(A.p(z,k),k&1&&m(A,1)):(A=me(z),A.c(),m(A,1),A.m(s,c)):A&&(O(),$(A,1,1,()=>{A=null}),G()),k&1&&(b=z[0].header.includes("backgroundJobs")),b?L?(L.p(z,k),k&1&&m(L,1)):(L=_e(z),L.c(),m(L,1),L.m(s,J)):L&&(O(),$(L,1,1,()=>{L=null}),G()),k&1&&(se=z[0].header.includes("constants")),se?D?(D.p(z,k),k&1&&m(D,1)):(D=ge(z),D.c(),m(D,1),D.m(s,K)):D&&(O(),$(D,1,1,()=>{D=null}),G()),k&1&&(ne=z[0].header.includes("liquid")),ne?N?k&1&&m(N,1):(N=$e(),N.c(),m(N,1),N.m(s,X)):N&&(O(),$(N,1,1,()=>{N=null}),G()),k&1&&(ie=z[0].header.includes("graphiql")),ie?S?k&1&&m(S,1):(S=be(),S.c(),m(S,1),S.m(s,null)):S&&(O(),$(S,1,1,()=>{S=null}),G())},i(z){Y||(m(E),m(I),m(A),m(L),m(D),m(N),m(S),Y=!0)},o(z){$(E),$(I),$(A),$(L),$(D),$(N),$(S),Y=!1},d(z){z&&v(l),E&&E.d(),I&&I.d(),A&&A.d(),L&&L.d(),D&&D.d(),N&&N.d(),S&&S.d()}}}function Ve(o,l,e){let t,r;return R(o,H,f=>e(0,t=f)),R(o,Ce,f=>e(1,r=f)),[t,r,async()=>{t.tables.length||Q(H,t.tables=await Te.get(),t)}]}class je extends le{constructor(l){super(),ae(this,l,Ve,Ue,te,{})}}const Be={get:async o=>{const l=typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)-1}/api/logs`:"http://localhost:3333/api/logs",e=o.last??null;return fetch(`${l}?lastId=`+e).then(t=>t.ok?t.json():Promise.reject(t)).then(t=>(t.logs.forEach(r=>{r.downloaded_at=Date.now()}),t)).catch(t=>({error:t}))}};function ze(o){let l,e="Disconnected from the instance";return{c(){l=_("div"),l.textContent=e,this.h()},l(t){l=g(t,"DIV",{class:!0,"data-svelte-h":!0}),M(l)!=="svelte-1k8ucix"&&(l.textContent=e),this.h()},h(){p(l,"class","connectionIndicator svelte-1cyr69k"),W(l,"offline",o[0].online===!1)},m(t,r){T(t,l,r)},p(t,r){r&1&&W(l,"offline",t[0].online===!1)},d(t){t&&v(l)}}}function Me(o){let l,e=o[0].online===!1&&ze(o);return{c(){e&&e.c(),l=he()},l(t){e&&e.l(t),l=he()},m(t,r){e&&e.m(t,r),T(t,l,r)},p(t,[r]){t[0].online===!1?e?e.p(t,r):(e=ze(t),e.c(),e.m(l.parentNode,l)):e&&(e.d(1),e=null)},i:ce,o:ce,d(t){t&&v(l),e&&e.d(t)}}}function Oe(o,l,e){let t,r;R(o,H,a=>e(0,t=a)),R(o,Ce,a=>e(3,r=a));let n=7e3,f;Ie(async()=>{s(),clearInterval(f),e(2,f=setInterval(s,n))});const s=async()=>{var a,i,h;if(document.visibilityState!=="hidden"){const C=((i=(a=t.logs.logs)==null?void 0:a.at(-1))==null?void 0:i.id)??null,u=await Be.get({last:C});return C?(h=u.logs)!=null&&h.length&&(Q(H,t.logs.logs=[...t.logs.logs,...u.logs],t),t.logs.downloaded_at.push(Date.now()),t.logs.downloaded_at.length>2&&t.logs.downloaded_at.splice(0,1)):t.logs.logs||(Q(H,t.logs=u,t),t.logs.downloaded_at||Q(H,t.logs.downloaded_at=[Date.now()],t)),u.error?(Q(H,t.online=!1,t),!1):(Q(H,t.online=!0,t),!0)}};return o.$$.update=()=>{o.$$.dirty&14&&(r.url.pathname.startsWith("/logs")?(clearInterval(f),e(1,n=3e3),e(2,f=setInterval(s,n))):n===3e3&&(clearInterval(f),e(1,n=7e3),e(2,f=setInterval(s,n))))},[t,n,f,r]}class Ge extends le{constructor(l){super(),ae(this,l,Oe,Me,te,{})}}function ke(o,l,e){const t=o.slice();return t[4]=l[e],t}function we(o,l){let e,t=l[4].message+"",r,n,f,s,a,i,h,C;s=new F({props:{icon:"x",size:"10"}});function u(){return l[2](l[4])}return{key:o,first:null,c(){e=_("div"),r=De(t),n=q(),f=_("button"),U(s.$$.fragment),this.h()},l(c){e=g(c,"DIV",{class:!0});var b=w(e);r=Ne(b,t),n=y(b),f=g(b,"BUTTON",{class:!0});var J=w(f);V(s.$$.fragment,J),J.forEach(v),b.forEach(v),this.h()},h(){p(f,"class","svelte-14ahhss"),p(e,"class","notification svelte-14ahhss"),W(e,"success",l[4].type==="success"),W(e,"error",l[4].type==="error"),this.first=e},m(c,b){T(c,e,b),d(e,r),d(e,n),d(e,f),j(s,f,null),i=!0,h||(C=re(f,"click",u),h=!0)},p(c,b){l=c,(!i||b&2)&&t!==(t=l[4].message+"")&&Se(r,t),(!i||b&2)&&W(e,"success",l[4].type==="success"),(!i||b&2)&&W(e,"error",l[4].type==="error")},i(c){i||(m(s.$$.fragment,c),c&&oe(()=>{i&&(a||(a=x(e,ee,{duration:100},!0)),a.run(1))}),i=!0)},o(c){$(s.$$.fragment,c),c&&(a||(a=x(e,ee,{duration:100},!1)),a.run(0)),i=!1},d(c){c&&v(e),B(s),c&&a&&a.end(),h=!1,C()}}}function Fe(o){let l,e=[],t=new Map,r,n,f,s,a,i,h=pe(o[1].notifications);const C=u=>u[4].id;for(let u=0;uo[3].call(l))},m(u,c){T(u,l,c);for(let b=0;b{i&&(s||(s=x(n,ee,{duration:100},!0)),s.run(1))}),i=!0}},o(u){for(let c=0;ce(1,t=s));let r=0;Le(()=>{t.notifications.forEach(s=>{s.type==="success"&&!s.timeout&&(s.timeout=setTimeout(()=>H.notification.remove(s.id),7e3))})});const n=s=>H.notification.remove(s.id);function f(){r=this.clientHeight,e(0,r)}return[r,t,n,f]}class Re extends le{constructor(l){super(),ae(this,l,Qe,Fe,te,{})}}function Ke(o){let l,e,t,r,n;l=new je({});const f=o[1].default,s=qe(f,o,o[0],null);return r=new Re({}),{c(){U(l.$$.fragment),e=q(),s&&s.c(),t=q(),U(r.$$.fragment)},l(a){V(l.$$.fragment,a),e=y(a),s&&s.l(a),t=y(a),V(r.$$.fragment,a)},m(a,i){j(l,a,i),T(a,e,i),s&&s.m(a,i),T(a,t,i),j(r,a,i),n=!0},p(a,[i]){s&&s.p&&(!n||i&1)&&ye(s,f,a,a[0],n?Pe(f,a[0],i,null):We(a[0]),null)},i(a){n||(m(l.$$.fragment,a),m(s,a),m(r.$$.fragment,a),n=!0)},o(a){$(l.$$.fragment,a),$(s,a),$(r.$$.fragment,a),n=!1},d(a){a&&(v(e),v(t)),B(l,a),s&&s.d(a),B(r,a)}}}function Xe(o,l,e){let{$$slots:t={},$$scope:r}=l;return o.$$set=n=>{"$$scope"in n&&e(0,r=n.$$scope)},[r,t]}class nt extends le{constructor(l){super(),ae(this,l,Xe,Ke,te,{})}}export{nt as component}; +import{s as te,f as _,a as q,g,h as w,r as M,c as y,d as v,j as p,i as T,u as d,v as R,w as W,x as re,y as Ee,z as Q,e as he,A as ce,o as Ie,k as ue,B as oe,C as Ae,b as Le,l as De,m as Ne,n as Se,D as qe,E as ye,F as We,G as Pe}from"../chunks/scheduler.a497d5ec.js";import{S as le,i as ae,a as m,g as O,t as $,c as G,b as U,d as V,m as j,e as B,f as x}from"../chunks/index.ca999c64.js";import{p as Ce}from"../chunks/stores.0efc77ce.js";import{t as Te}from"../chunks/table.aa2299a7.js";import{s as H}from"../chunks/state.58df2e5f.js";import{I as F}from"../chunks/Icon.1ce3f3fe.js";import{e as pe,u as Je,o as He}from"../chunks/each.1577bad0.js";import{f as ee}from"../chunks/index.13972ea2.js";function de(o){let l,e,t,r,n,f="Database",s,a,i;return t=new F({props:{icon:"database"}}),{c(){l=_("li"),e=_("a"),U(t.$$.fragment),r=q(),n=_("span"),n.textContent=f,this.h()},l(h){l=g(h,"LI",{class:!0});var C=w(l);e=g(C,"A",{href:!0,class:!0});var u=w(e);V(t.$$.fragment,u),r=y(u),n=g(u,"SPAN",{class:!0,"data-svelte-h":!0}),M(n)!=="svelte-xe6gx4"&&(n.textContent=f),u.forEach(v),C.forEach(v),this.h()},h(){p(n,"class","label svelte-e0vhve"),p(e,"href","/database"),p(e,"class","svelte-e0vhve"),W(e,"active",o[1].url.pathname.startsWith("/database")),p(l,"class","svelte-e0vhve")},m(h,C){T(h,l,C),d(l,e),j(t,e,null),d(e,r),d(e,n),s=!0,a||(i=[re(e,"focus",o[2],{once:!0}),re(e,"mouseover",o[2],{once:!0})],a=!0)},p(h,C){(!s||C&2)&&W(e,"active",h[1].url.pathname.startsWith("/database"))},i(h){s||(m(t.$$.fragment,h),s=!0)},o(h){$(t.$$.fragment,h),s=!1},d(h){h&&v(l),B(t),a=!1,Ee(i)}}}function ve(o){let l,e,t,r,n,f="Users",s;return t=new F({props:{icon:"users"}}),{c(){l=_("li"),e=_("a"),U(t.$$.fragment),r=q(),n=_("span"),n.textContent=f,this.h()},l(a){l=g(a,"LI",{class:!0});var i=w(l);e=g(i,"A",{href:!0,class:!0});var h=w(e);V(t.$$.fragment,h),r=y(h),n=g(h,"SPAN",{class:!0,"data-svelte-h":!0}),M(n)!=="svelte-o38ms3"&&(n.textContent=f),h.forEach(v),i.forEach(v),this.h()},h(){p(n,"class","label svelte-e0vhve"),p(e,"href","/users"),p(e,"class","svelte-e0vhve"),W(e,"active",o[1].url.pathname.startsWith("/users")),p(l,"class","svelte-e0vhve")},m(a,i){T(a,l,i),d(l,e),j(t,e,null),d(e,r),d(e,n),s=!0},p(a,i){(!s||i&2)&&W(e,"active",a[1].url.pathname.startsWith("/users"))},i(a){s||(m(t.$$.fragment,a),s=!0)},o(a){$(t.$$.fragment,a),s=!1},d(a){a&&v(l),B(t)}}}function me(o){let l,e,t,r,n,f="Logs",s;return t=new F({props:{icon:"log"}}),{c(){l=_("li"),e=_("a"),U(t.$$.fragment),r=q(),n=_("span"),n.textContent=f,this.h()},l(a){l=g(a,"LI",{class:!0});var i=w(l);e=g(i,"A",{href:!0,class:!0});var h=w(e);V(t.$$.fragment,h),r=y(h),n=g(h,"SPAN",{class:!0,"data-svelte-h":!0}),M(n)!=="svelte-17j55om"&&(n.textContent=f),h.forEach(v),i.forEach(v),this.h()},h(){p(n,"class","label svelte-e0vhve"),p(e,"href","/logs"),p(e,"class","svelte-e0vhve"),W(e,"active",o[1].url.pathname.startsWith("/logs")),p(l,"class","svelte-e0vhve")},m(a,i){T(a,l,i),d(l,e),j(t,e,null),d(e,r),d(e,n),s=!0},p(a,i){(!s||i&2)&&W(e,"active",a[1].url.pathname.startsWith("/logs"))},i(a){s||(m(t.$$.fragment,a),s=!0)},o(a){$(t.$$.fragment,a),s=!1},d(a){a&&v(l),B(t)}}}function _e(o){let l,e,t,r,n,f="Background Jobs",s;return t=new F({props:{icon:"backgroundJob"}}),{c(){l=_("li"),e=_("a"),U(t.$$.fragment),r=q(),n=_("span"),n.textContent=f,this.h()},l(a){l=g(a,"LI",{class:!0});var i=w(l);e=g(i,"A",{href:!0,class:!0});var h=w(e);V(t.$$.fragment,h),r=y(h),n=g(h,"SPAN",{class:!0,"data-svelte-h":!0}),M(n)!=="svelte-fuvc8n"&&(n.textContent=f),h.forEach(v),i.forEach(v),this.h()},h(){p(n,"class","label svelte-e0vhve"),p(e,"href","/backgroundJobs"),p(e,"class","svelte-e0vhve"),W(e,"active",o[1].url.pathname.startsWith("/backgroundJobs")),p(l,"class","svelte-e0vhve")},m(a,i){T(a,l,i),d(l,e),j(t,e,null),d(e,r),d(e,n),s=!0},p(a,i){(!s||i&2)&&W(e,"active",a[1].url.pathname.startsWith("/backgroundJobs"))},i(a){s||(m(t.$$.fragment,a),s=!0)},o(a){$(t.$$.fragment,a),s=!1},d(a){a&&v(l),B(t)}}}function ge(o){let l,e,t,r,n,f="Constants",s;return t=new F({props:{icon:"constant"}}),{c(){l=_("li"),e=_("a"),U(t.$$.fragment),r=q(),n=_("span"),n.textContent=f,this.h()},l(a){l=g(a,"LI",{class:!0});var i=w(l);e=g(i,"A",{href:!0,class:!0});var h=w(e);V(t.$$.fragment,h),r=y(h),n=g(h,"SPAN",{class:!0,"data-svelte-h":!0}),M(n)!=="svelte-s4kqu"&&(n.textContent=f),h.forEach(v),i.forEach(v),this.h()},h(){p(n,"class","label svelte-e0vhve"),p(e,"href","/constants"),p(e,"class","svelte-e0vhve"),W(e,"active",o[1].url.pathname.startsWith("/constants")),p(l,"class","svelte-e0vhve")},m(a,i){T(a,l,i),d(l,e),j(t,e,null),d(e,r),d(e,n),s=!0},p(a,i){(!s||i&2)&&W(e,"active",a[1].url.pathname.startsWith("/constants"))},i(a){s||(m(t.$$.fragment,a),s=!0)},o(a){$(t.$$.fragment,a),s=!1},d(a){a&&v(l),B(t)}}}function $e(o){let l,e,t,r,n,f="Liquid Evaluator",s;return t=new F({props:{icon:"liquid"}}),{c(){l=_("li"),e=_("a"),U(t.$$.fragment),r=q(),n=_("span"),n.textContent=f,this.h()},l(a){l=g(a,"LI",{class:!0});var i=w(l);e=g(i,"A",{href:!0,class:!0});var h=w(e);V(t.$$.fragment,h),r=y(h),n=g(h,"SPAN",{class:!0,"data-svelte-h":!0}),M(n)!=="svelte-1k272bg"&&(n.textContent=f),h.forEach(v),i.forEach(v),this.h()},h(){p(n,"class","label svelte-e0vhve"),p(e,"href","http://localhost:3333/gui/liquid"),p(e,"class","svelte-e0vhve"),p(l,"class","svelte-e0vhve")},m(a,i){T(a,l,i),d(l,e),j(t,e,null),d(e,r),d(e,n),s=!0},i(a){s||(m(t.$$.fragment,a),s=!0)},o(a){$(t.$$.fragment,a),s=!1},d(a){a&&v(l),B(t)}}}function be(o){let l,e,t,r,n,f="GraphiQL",s;return t=new F({props:{icon:"graphql"}}),{c(){l=_("li"),e=_("a"),U(t.$$.fragment),r=q(),n=_("span"),n.textContent=f,this.h()},l(a){l=g(a,"LI",{class:!0});var i=w(l);e=g(i,"A",{href:!0,class:!0});var h=w(e);V(t.$$.fragment,h),r=y(h),n=g(h,"SPAN",{class:!0,"data-svelte-h":!0}),M(n)!=="svelte-pzl6ct"&&(n.textContent=f),h.forEach(v),i.forEach(v),this.h()},h(){p(n,"class","label svelte-e0vhve"),p(e,"href","http://localhost:3333/gui/graphql/"),p(e,"class","svelte-e0vhve"),p(l,"class","svelte-e0vhve")},m(a,i){T(a,l,i),d(l,e),j(t,e,null),d(e,r),d(e,n),s=!0},i(a){s||(m(t.$$.fragment,a),s=!0)},o(a){$(t.$$.fragment,a),s=!1},d(a){a&&v(l),B(t)}}}function Ue(o){let l,e,t,r='

platformOS development toolsβ

',n,f,s,a=o[0].header.includes("database"),i,h=o[0].header.includes("users"),C,u=o[0].header.includes("logs"),c,b=o[0].header.includes("backgroundJobs"),J,se=o[0].header.includes("constants"),K,ne=o[0].header.includes("liquid"),X,ie=o[0].header.includes("graphiql"),Y,E=a&&de(o),I=h&&ve(o),A=u&&me(o),L=b&&_e(o),D=se&&ge(o),N=ne&&$e(),S=ie&&be();return{c(){l=_("header"),e=_("div"),t=_("a"),t.innerHTML=r,n=q(),f=_("nav"),s=_("ul"),E&&E.c(),i=q(),I&&I.c(),C=q(),A&&A.c(),c=q(),L&&L.c(),J=q(),D&&D.c(),K=q(),N&&N.c(),X=q(),S&&S.c(),this.h()},l(z){l=g(z,"HEADER",{class:!0});var k=w(l);e=g(k,"DIV",{class:!0});var Z=w(e);t=g(Z,"A",{href:!0,"data-svelte-h":!0}),M(t)!=="svelte-u61ggc"&&(t.innerHTML=r),n=y(Z),f=g(Z,"NAV",{});var fe=w(f);s=g(fe,"UL",{class:!0});var P=w(s);E&&E.l(P),i=y(P),I&&I.l(P),C=y(P),A&&A.l(P),c=y(P),L&&L.l(P),J=y(P),D&&D.l(P),K=y(P),N&&N.l(P),X=y(P),S&&S.l(P),P.forEach(v),fe.forEach(v),Z.forEach(v),k.forEach(v),this.h()},h(){p(t,"href","/"),p(s,"class","svelte-e0vhve"),p(e,"class","wrapper svelte-e0vhve"),p(l,"class","svelte-e0vhve")},m(z,k){T(z,l,k),d(l,e),d(e,t),d(e,n),d(e,f),d(f,s),E&&E.m(s,null),d(s,i),I&&I.m(s,null),d(s,C),A&&A.m(s,null),d(s,c),L&&L.m(s,null),d(s,J),D&&D.m(s,null),d(s,K),N&&N.m(s,null),d(s,X),S&&S.m(s,null),Y=!0},p(z,[k]){k&1&&(a=z[0].header.includes("database")),a?E?(E.p(z,k),k&1&&m(E,1)):(E=de(z),E.c(),m(E,1),E.m(s,i)):E&&(O(),$(E,1,1,()=>{E=null}),G()),k&1&&(h=z[0].header.includes("users")),h?I?(I.p(z,k),k&1&&m(I,1)):(I=ve(z),I.c(),m(I,1),I.m(s,C)):I&&(O(),$(I,1,1,()=>{I=null}),G()),k&1&&(u=z[0].header.includes("logs")),u?A?(A.p(z,k),k&1&&m(A,1)):(A=me(z),A.c(),m(A,1),A.m(s,c)):A&&(O(),$(A,1,1,()=>{A=null}),G()),k&1&&(b=z[0].header.includes("backgroundJobs")),b?L?(L.p(z,k),k&1&&m(L,1)):(L=_e(z),L.c(),m(L,1),L.m(s,J)):L&&(O(),$(L,1,1,()=>{L=null}),G()),k&1&&(se=z[0].header.includes("constants")),se?D?(D.p(z,k),k&1&&m(D,1)):(D=ge(z),D.c(),m(D,1),D.m(s,K)):D&&(O(),$(D,1,1,()=>{D=null}),G()),k&1&&(ne=z[0].header.includes("liquid")),ne?N?k&1&&m(N,1):(N=$e(),N.c(),m(N,1),N.m(s,X)):N&&(O(),$(N,1,1,()=>{N=null}),G()),k&1&&(ie=z[0].header.includes("graphiql")),ie?S?k&1&&m(S,1):(S=be(),S.c(),m(S,1),S.m(s,null)):S&&(O(),$(S,1,1,()=>{S=null}),G())},i(z){Y||(m(E),m(I),m(A),m(L),m(D),m(N),m(S),Y=!0)},o(z){$(E),$(I),$(A),$(L),$(D),$(N),$(S),Y=!1},d(z){z&&v(l),E&&E.d(),I&&I.d(),A&&A.d(),L&&L.d(),D&&D.d(),N&&N.d(),S&&S.d()}}}function Ve(o,l,e){let t,r;return R(o,H,f=>e(0,t=f)),R(o,Ce,f=>e(1,r=f)),[t,r,async()=>{t.tables.length||Q(H,t.tables=await Te.get(),t)}]}class je extends le{constructor(l){super(),ae(this,l,Ve,Ue,te,{})}}const Be={get:async o=>{const l=typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)-1}/api/logs`:"http://localhost:3333/api/logs",e=o.last??null;return fetch(`${l}?lastId=`+e).then(t=>t.ok?t.json():Promise.reject(t)).then(t=>(t.logs.forEach(r=>{r.downloaded_at=Date.now()}),t)).catch(t=>({error:t}))}};function ze(o){let l,e="Disconnected from the instance";return{c(){l=_("div"),l.textContent=e,this.h()},l(t){l=g(t,"DIV",{class:!0,"data-svelte-h":!0}),M(l)!=="svelte-1k8ucix"&&(l.textContent=e),this.h()},h(){p(l,"class","connectionIndicator svelte-1cyr69k"),W(l,"offline",o[0].online===!1)},m(t,r){T(t,l,r)},p(t,r){r&1&&W(l,"offline",t[0].online===!1)},d(t){t&&v(l)}}}function Me(o){let l,e=o[0].online===!1&&ze(o);return{c(){e&&e.c(),l=he()},l(t){e&&e.l(t),l=he()},m(t,r){e&&e.m(t,r),T(t,l,r)},p(t,[r]){t[0].online===!1?e?e.p(t,r):(e=ze(t),e.c(),e.m(l.parentNode,l)):e&&(e.d(1),e=null)},i:ce,o:ce,d(t){t&&v(l),e&&e.d(t)}}}function Oe(o,l,e){let t,r;R(o,H,a=>e(0,t=a)),R(o,Ce,a=>e(3,r=a));let n=7e3,f;Ie(async()=>{s(),clearInterval(f),e(2,f=setInterval(s,n))});const s=async()=>{var a,i,h;if(document.visibilityState!=="hidden"){const C=((i=(a=t.logs.logs)==null?void 0:a.at(-1))==null?void 0:i.id)??null,u=await Be.get({last:C});return C?(h=u.logs)!=null&&h.length&&(Q(H,t.logs.logs=[...t.logs.logs,...u.logs],t),t.logs.downloaded_at.push(Date.now()),t.logs.downloaded_at.length>2&&t.logs.downloaded_at.splice(0,1)):t.logs.logs||(Q(H,t.logs=u,t),t.logs.downloaded_at||Q(H,t.logs.downloaded_at=[Date.now()],t)),u.error?(Q(H,t.online=!1,t),!1):(Q(H,t.online=!0,t),!0)}};return o.$$.update=()=>{o.$$.dirty&14&&(r.url.pathname.startsWith("/logs")?(clearInterval(f),e(1,n=3e3),e(2,f=setInterval(s,n))):n===3e3&&(clearInterval(f),e(1,n=7e3),e(2,f=setInterval(s,n))))},[t,n,f,r]}class Ge extends le{constructor(l){super(),ae(this,l,Oe,Me,te,{})}}function ke(o,l,e){const t=o.slice();return t[4]=l[e],t}function we(o,l){let e,t=l[4].message+"",r,n,f,s,a,i,h,C;s=new F({props:{icon:"x",size:"10"}});function u(){return l[2](l[4])}return{key:o,first:null,c(){e=_("div"),r=De(t),n=q(),f=_("button"),U(s.$$.fragment),this.h()},l(c){e=g(c,"DIV",{class:!0});var b=w(e);r=Ne(b,t),n=y(b),f=g(b,"BUTTON",{class:!0});var J=w(f);V(s.$$.fragment,J),J.forEach(v),b.forEach(v),this.h()},h(){p(f,"class","svelte-14ahhss"),p(e,"class","notification svelte-14ahhss"),W(e,"success",l[4].type==="success"),W(e,"error",l[4].type==="error"),this.first=e},m(c,b){T(c,e,b),d(e,r),d(e,n),d(e,f),j(s,f,null),i=!0,h||(C=re(f,"click",u),h=!0)},p(c,b){l=c,(!i||b&2)&&t!==(t=l[4].message+"")&&Se(r,t),(!i||b&2)&&W(e,"success",l[4].type==="success"),(!i||b&2)&&W(e,"error",l[4].type==="error")},i(c){i||(m(s.$$.fragment,c),c&&oe(()=>{i&&(a||(a=x(e,ee,{duration:100},!0)),a.run(1))}),i=!0)},o(c){$(s.$$.fragment,c),c&&(a||(a=x(e,ee,{duration:100},!1)),a.run(0)),i=!1},d(c){c&&v(e),B(s),c&&a&&a.end(),h=!1,C()}}}function Fe(o){let l,e=[],t=new Map,r,n,f,s,a,i,h=pe(o[1].notifications);const C=u=>u[4].id;for(let u=0;uo[3].call(l))},m(u,c){T(u,l,c);for(let b=0;b{i&&(s||(s=x(n,ee,{duration:100},!0)),s.run(1))}),i=!0}},o(u){for(let c=0;ce(1,t=s));let r=0;Le(()=>{t.notifications.forEach(s=>{s.type==="success"&&!s.timeout&&(s.timeout=setTimeout(()=>H.notification.remove(s.id),7e3))})});const n=s=>H.notification.remove(s.id);function f(){r=this.clientHeight,e(0,r)}return[r,t,n,f]}class Re extends le{constructor(l){super(),ae(this,l,Qe,Fe,te,{})}}function Ke(o){let l,e,t,r,n;l=new je({});const f=o[1].default,s=qe(f,o,o[0],null);return r=new Re({}),{c(){U(l.$$.fragment),e=q(),s&&s.c(),t=q(),U(r.$$.fragment)},l(a){V(l.$$.fragment,a),e=y(a),s&&s.l(a),t=y(a),V(r.$$.fragment,a)},m(a,i){j(l,a,i),T(a,e,i),s&&s.m(a,i),T(a,t,i),j(r,a,i),n=!0},p(a,[i]){s&&s.p&&(!n||i&1)&&ye(s,f,a,a[0],n?Pe(f,a[0],i,null):We(a[0]),null)},i(a){n||(m(l.$$.fragment,a),m(s,a),m(r.$$.fragment,a),n=!0)},o(a){$(l.$$.fragment,a),$(s,a),$(r.$$.fragment,a),n=!1},d(a){a&&(v(e),v(t)),B(l,a),s&&s.d(a),B(r,a)}}}function Xe(o,l,e){let{$$slots:t={},$$scope:r}=l;return o.$$set=n=>{"$$scope"in n&&e(0,r=n.$$scope)},[r,t]}class nt extends le{constructor(l){super(),ae(this,l,Xe,Ke,te,{})}}export{nt as component}; diff --git a/gui/next/build/_app/immutable/nodes/1.60820fd4.js b/gui/next/build/_app/immutable/nodes/1.79f29240.js similarity index 84% rename from gui/next/build/_app/immutable/nodes/1.60820fd4.js rename to gui/next/build/_app/immutable/nodes/1.79f29240.js index f5645280..d5e5b83e 100644 --- a/gui/next/build/_app/immutable/nodes/1.60820fd4.js +++ b/gui/next/build/_app/immutable/nodes/1.79f29240.js @@ -1 +1 @@ -import{s as x,f as u,l as h,a as S,g as d,h as v,m as g,d as m,c as q,i as _,u as E,n as $,A as b,v as y}from"../chunks/scheduler.bed694a1.js";import{S as A,i as C}from"../chunks/index.606d5641.js";import{p as H}from"../chunks/stores.f5d1a634.js";function P(i){var f;let a,s=i[0].status+"",r,o,n,p=((f=i[0].error)==null?void 0:f.message)+"",c;return{c(){a=u("h1"),r=h(s),o=S(),n=u("p"),c=h(p)},l(e){a=d(e,"H1",{});var t=v(a);r=g(t,s),t.forEach(m),o=q(e),n=d(e,"P",{});var l=v(n);c=g(l,p),l.forEach(m)},m(e,t){_(e,a,t),E(a,r),_(e,o,t),_(e,n,t),E(n,c)},p(e,[t]){var l;t&1&&s!==(s=e[0].status+"")&&$(r,s),t&1&&p!==(p=((l=e[0].error)==null?void 0:l.message)+"")&&$(c,p)},i:b,o:b,d(e){e&&(m(a),m(o),m(n))}}}function j(i,a,s){let r;return y(i,H,o=>s(0,r=o)),[r]}class B extends A{constructor(a){super(),C(this,a,j,P,x,{})}}export{B as component}; +import{s as x,f as u,l as h,a as S,g as d,h as v,m as g,d as m,c as q,i as _,u as E,n as $,A as b,v as y}from"../chunks/scheduler.a497d5ec.js";import{S as A,i as C}from"../chunks/index.ca999c64.js";import{p as H}from"../chunks/stores.0efc77ce.js";function P(i){var f;let a,s=i[0].status+"",r,o,n,p=((f=i[0].error)==null?void 0:f.message)+"",c;return{c(){a=u("h1"),r=h(s),o=S(),n=u("p"),c=h(p)},l(e){a=d(e,"H1",{});var t=v(a);r=g(t,s),t.forEach(m),o=q(e),n=d(e,"P",{});var l=v(n);c=g(l,p),l.forEach(m)},m(e,t){_(e,a,t),E(a,r),_(e,o,t),_(e,n,t),E(n,c)},p(e,[t]){var l;t&1&&s!==(s=e[0].status+"")&&$(r,s),t&1&&p!==(p=((l=e[0].error)==null?void 0:l.message)+"")&&$(c,p)},i:b,o:b,d(e){e&&(m(a),m(o),m(n))}}}function j(i,a,s){let r;return y(i,H,o=>s(0,r=o)),[r]}class B extends A{constructor(a){super(),C(this,a,j,P,x,{})}}export{B as component}; diff --git a/gui/next/build/_app/immutable/nodes/11.7667b80e.js b/gui/next/build/_app/immutable/nodes/10.b3328954.js similarity index 87% rename from gui/next/build/_app/immutable/nodes/11.7667b80e.js rename to gui/next/build/_app/immutable/nodes/10.b3328954.js index 0d09e617..0459d95b 100644 --- a/gui/next/build/_app/immutable/nodes/11.7667b80e.js +++ b/gui/next/build/_app/immutable/nodes/10.b3328954.js @@ -1,4 +1,4 @@ -import{s as Ie,a as k,f as d,l as he,J as Ue,d as g,c as F,g as _,h as D,r as ae,m as ve,j as s,i as Y,u as a,K as we,x as ee,V as be,N as Be,y as Fe,v as Me,A as qe,w as W,n as Ce,B as He}from"../chunks/scheduler.bed694a1.js";import{S as Pe,i as Re,b as ue,d as fe,m as ce,a as R,t as G,c as Te,e as me,j as Ve,g as ye}from"../chunks/index.606d5641.js";import{e as Ne}from"../chunks/each.177d9825.js";import{f as je}from"../chunks/index.35d92de3.js";import{g as pe}from"../chunks/graphql.66a06395.js";import{s as z}from"../chunks/state.88bbaa31.js";import{I as de}from"../chunks/Icon.4ad67fd0.js";const ne={get:()=>pe({query:` +import{s as Ie,a as k,f as d,l as he,J as Ue,d as g,c as F,g as _,h as D,r as ae,m as ve,j as s,i as Y,u as a,K as we,x as ee,R as be,N as Be,y as Fe,v as Me,A as qe,w as W,n as Ce,B as He}from"../chunks/scheduler.a497d5ec.js";import{S as Pe,i as Re,b as ue,d as fe,m as ce,a as R,t as G,c as Te,e as me,j as je,g as ye}from"../chunks/index.ca999c64.js";import{e as Ne}from"../chunks/each.1577bad0.js";import{f as Ve}from"../chunks/index.13972ea2.js";import{g as pe}from"../chunks/graphql.66a06395.js";import{s as z}from"../chunks/state.58df2e5f.js";import{I as de}from"../chunks/Icon.1ce3f3fe.js";const ne={get:()=>pe({query:` query { constants( per_page: 100 @@ -21,6 +21,6 @@ import{s as Ie,a as k,f as d,l as he,J as Ue,d as g,c as F,g as _,h as D,r as ae name } } - `;return pe({query:l})}};function Se(e,l,n){const u=e.slice();return u[13]=l[n],u[14]=l,u[15]=n,u}function Le(e){let l,n,u="Clear filter",E,$,T,c,M;return $=new de({props:{icon:"x",size:"12"}}),{c(){l=d("button"),n=d("span"),n.textContent=u,E=k(),ue($.$$.fragment),this.h()},l(y){l=_(y,"BUTTON",{class:!0});var p=D(l);n=_(p,"SPAN",{class:!0,"data-svelte-h":!0}),ae(n)!=="svelte-1bu6mgu"&&(n.textContent=u),E=F(p),fe($.$$.fragment,p),p.forEach(g),this.h()},h(){s(n,"class","label svelte-9flr1b"),s(l,"class","clearFilter svelte-9flr1b")},m(y,p){Y(y,l,p),a(l,n),a(l,E),ce($,l,null),T=!0,c||(M=ee(l,"click",e[8]),c=!0)},p:qe,i(y){T||(R($.$$.fragment,y),T=!0)},o(y){G($.$$.fragment,y),T=!1},d(y){y&&g(l),me($),c=!1,M()}}}function ke(e){let l,n,u,E,$,T,c,M="Delete constant",y,p,O,w,q,P=e[13].name+"",U,o,h,f,J,H,B,v,V,j,Q,b,N,i,X=e[13].exposed?"Hide value":"Show value",t,m,r,I,te,S,le="Save",se,Z,L,_e,ge;p=new de({props:{icon:"x",size:"14"}});function Oe(){return e[10](e[13],e[14],e[15])}r=new de({props:{icon:e[13].exposed?"eyeStriked":"eye"}});function Ae(){return e[11](e[13],e[14],e[15])}function De(...A){return e[12](e[15],...A)}return{c(){l=d("li"),n=d("form"),u=d("input"),$=k(),T=d("button"),c=d("span"),c.textContent=M,y=k(),ue(p.$$.fragment),O=k(),w=d("form"),q=d("label"),U=he(P),h=k(),f=d("input"),H=k(),B=d("fieldset"),v=d("input"),b=k(),N=d("button"),i=d("span"),t=he(X),m=k(),ue(r.$$.fragment),te=k(),S=d("button"),S.textContent=le,se=k(),this.h()},l(A){l=_(A,"LI",{class:!0});var C=D(l);n=_(C,"FORM",{class:!0});var x=D(n);u=_(x,"INPUT",{type:!0,name:!0,class:!0}),$=F(x),T=_(x,"BUTTON",{type:!0,title:!0,class:!0});var re=D(T);c=_(re,"SPAN",{class:!0,"data-svelte-h":!0}),ae(c)!=="svelte-1p7u8ms"&&(c.textContent=M),y=F(re),fe(p.$$.fragment,re),re.forEach(g),x.forEach(g),O=F(C),w=_(C,"FORM",{class:!0});var K=D(w);q=_(K,"LABEL",{for:!0,class:!0});var Ee=D(q);U=ve(Ee,P),Ee.forEach(g),h=F(K),f=_(K,"INPUT",{type:!0,name:!0,class:!0}),H=F(K),B=_(K,"FIELDSET",{class:!0});var oe=D(B);v=_(oe,"INPUT",{name:!0,id:!0,class:!0}),b=F(oe),N=_(oe,"BUTTON",{type:!0,class:!0,title:!0});var ie=D(N);i=_(ie,"SPAN",{class:!0});var $e=D(i);t=ve($e,X),$e.forEach(g),m=F(ie),fe(r.$$.fragment,ie),ie.forEach(g),oe.forEach(g),te=F(K),S=_(K,"BUTTON",{type:!0,class:!0,"data-svelte-h":!0}),ae(S)!=="svelte-1g3xn8h"&&(S.textContent=le),K.forEach(g),se=F(C),C.forEach(g),this.h()},h(){s(u,"type","hidden"),s(u,"name","name"),u.value=E=e[13].name,s(u,"class","svelte-9flr1b"),s(c,"class","label svelte-9flr1b"),s(T,"type","submit"),s(T,"title","Delete constant"),s(T,"class","svelte-9flr1b"),s(n,"class","delete svelte-9flr1b"),s(q,"for",o=e[13].name),s(q,"class","svelte-9flr1b"),s(f,"type","hidden"),s(f,"name","name"),f.value=J=e[13].name,s(f,"class","svelte-9flr1b"),v.disabled=V=!e[13].exposed,s(v,"name","value"),v.value=j=e[13].value,s(v,"id",Q=e[13].name),s(v,"class","svelte-9flr1b"),W(v,"exposed",e[13].exposed),s(i,"class","label svelte-9flr1b"),s(N,"type","button"),s(N,"class","toggleExposition svelte-9flr1b"),s(N,"title",I=e[13].exposed?"Hide value":"Show value"),s(B,"class","svelte-9flr1b"),s(S,"type","submit"),s(S,"class","button svelte-9flr1b"),W(S,"needed",e[1][e[15]].changed),s(w,"class","edit svelte-9flr1b"),s(l,"class","svelte-9flr1b"),W(l,"hidden",e[0]&&e[3](e[13])),W(l,"highlighted",e[2].highlighted.constant===e[13].name)},m(A,C){Y(A,l,C),a(l,n),a(n,u),a(n,$),a(n,T),a(T,c),a(T,y),ce(p,T,null),a(l,O),a(l,w),a(w,q),a(q,U),a(w,h),a(w,f),a(w,H),a(w,B),a(B,v),a(B,b),a(B,N),a(N,i),a(i,t),a(N,m),ce(r,N,null),a(w,te),a(w,S),a(l,se),L=!0,_e||(ge=[ee(n,"submit",be(e[9])),ee(v,"input",Oe),ee(N,"click",Ae),ee(w,"submit",be(De))],_e=!0)},p(A,C){e=A,(!L||C&2&&E!==(E=e[13].name))&&(u.value=E),(!L||C&2)&&P!==(P=e[13].name+"")&&Ce(U,P),(!L||C&2&&o!==(o=e[13].name))&&s(q,"for",o),(!L||C&2&&J!==(J=e[13].name))&&(f.value=J),(!L||C&2&&V!==(V=!e[13].exposed))&&(v.disabled=V),(!L||C&2&&j!==(j=e[13].value)&&v.value!==j)&&(v.value=j),(!L||C&2&&Q!==(Q=e[13].name))&&s(v,"id",Q),(!L||C&2)&&W(v,"exposed",e[13].exposed),(!L||C&2)&&X!==(X=e[13].exposed?"Hide value":"Show value")&&Ce(t,X);const x={};C&2&&(x.icon=e[13].exposed?"eyeStriked":"eye"),r.$set(x),(!L||C&2&&I!==(I=e[13].exposed?"Hide value":"Show value"))&&s(N,"title",I),(!L||C&2)&&W(S,"needed",e[1][e[15]].changed),(!L||C&11)&&W(l,"hidden",e[0]&&e[3](e[13])),(!L||C&6)&&W(l,"highlighted",e[2].highlighted.constant===e[13].name)},i(A){L||(R(p.$$.fragment,A),R(r.$$.fragment,A),A&&(Z||He(()=>{Z=Ve(l,je,{duration:100,delay:10*e[15]}),Z.start()})),L=!0)},o(A){G(p.$$.fragment,A),G(r.$$.fragment,A),L=!1},d(A){A&&g(l),me(p),me(r),_e=!1,Fe(ge)}}}function ze(e){let l,n,u,E,$="Find:",T,c,M,y,p,O,w,q=' ',P,U,o=' ',h,f,J,H,B,v,V,j,Q,b=e[0]&&Le(e);H=new de({props:{icon:"arrowRight"}});let N=Ne(e[1]),i=[];for(let t=0;tG(i[t],1,1,()=>{i[t]=null});return{c(){l=k(),n=d("nav"),u=d("form"),E=d("label"),E.textContent=$,T=k(),c=d("input"),M=k(),b&&b.c(),y=k(),p=d("section"),O=d("form"),w=d("fieldset"),w.innerHTML=q,P=k(),U=d("fieldset"),U.innerHTML=o,h=k(),f=d("button"),J=he(`Add\r + `;return pe({query:l})}};function Se(e,l,n){const u=e.slice();return u[13]=l[n],u[14]=l,u[15]=n,u}function Le(e){let l,n,u="Clear filter",E,$,T,c,M;return $=new de({props:{icon:"x",size:"12"}}),{c(){l=d("button"),n=d("span"),n.textContent=u,E=k(),ue($.$$.fragment),this.h()},l(y){l=_(y,"BUTTON",{class:!0});var p=D(l);n=_(p,"SPAN",{class:!0,"data-svelte-h":!0}),ae(n)!=="svelte-1bu6mgu"&&(n.textContent=u),E=F(p),fe($.$$.fragment,p),p.forEach(g),this.h()},h(){s(n,"class","label svelte-9flr1b"),s(l,"class","clearFilter svelte-9flr1b")},m(y,p){Y(y,l,p),a(l,n),a(l,E),ce($,l,null),T=!0,c||(M=ee(l,"click",e[8]),c=!0)},p:qe,i(y){T||(R($.$$.fragment,y),T=!0)},o(y){G($.$$.fragment,y),T=!1},d(y){y&&g(l),me($),c=!1,M()}}}function ke(e){let l,n,u,E,$,T,c,M="Delete constant",y,p,O,w,q,P=e[13].name+"",U,o,h,f,J,H,B,v,j,V,Q,b,N,i,X=e[13].exposed?"Hide value":"Show value",t,m,r,I,te,S,le="Save",se,Z,L,_e,ge;p=new de({props:{icon:"x",size:"14"}});function Oe(){return e[10](e[13],e[14],e[15])}r=new de({props:{icon:e[13].exposed?"eyeStriked":"eye"}});function Ae(){return e[11](e[13],e[14],e[15])}function De(...A){return e[12](e[15],...A)}return{c(){l=d("li"),n=d("form"),u=d("input"),$=k(),T=d("button"),c=d("span"),c.textContent=M,y=k(),ue(p.$$.fragment),O=k(),w=d("form"),q=d("label"),U=he(P),h=k(),f=d("input"),H=k(),B=d("fieldset"),v=d("input"),b=k(),N=d("button"),i=d("span"),t=he(X),m=k(),ue(r.$$.fragment),te=k(),S=d("button"),S.textContent=le,se=k(),this.h()},l(A){l=_(A,"LI",{class:!0});var C=D(l);n=_(C,"FORM",{class:!0});var x=D(n);u=_(x,"INPUT",{type:!0,name:!0,class:!0}),$=F(x),T=_(x,"BUTTON",{type:!0,title:!0,class:!0});var re=D(T);c=_(re,"SPAN",{class:!0,"data-svelte-h":!0}),ae(c)!=="svelte-1p7u8ms"&&(c.textContent=M),y=F(re),fe(p.$$.fragment,re),re.forEach(g),x.forEach(g),O=F(C),w=_(C,"FORM",{class:!0});var K=D(w);q=_(K,"LABEL",{for:!0,class:!0});var Ee=D(q);U=ve(Ee,P),Ee.forEach(g),h=F(K),f=_(K,"INPUT",{type:!0,name:!0,class:!0}),H=F(K),B=_(K,"FIELDSET",{class:!0});var oe=D(B);v=_(oe,"INPUT",{name:!0,id:!0,class:!0}),b=F(oe),N=_(oe,"BUTTON",{type:!0,class:!0,title:!0});var ie=D(N);i=_(ie,"SPAN",{class:!0});var $e=D(i);t=ve($e,X),$e.forEach(g),m=F(ie),fe(r.$$.fragment,ie),ie.forEach(g),oe.forEach(g),te=F(K),S=_(K,"BUTTON",{type:!0,class:!0,"data-svelte-h":!0}),ae(S)!=="svelte-1g3xn8h"&&(S.textContent=le),K.forEach(g),se=F(C),C.forEach(g),this.h()},h(){s(u,"type","hidden"),s(u,"name","name"),u.value=E=e[13].name,s(u,"class","svelte-9flr1b"),s(c,"class","label svelte-9flr1b"),s(T,"type","submit"),s(T,"title","Delete constant"),s(T,"class","svelte-9flr1b"),s(n,"class","delete svelte-9flr1b"),s(q,"for",o=e[13].name),s(q,"class","svelte-9flr1b"),s(f,"type","hidden"),s(f,"name","name"),f.value=J=e[13].name,s(f,"class","svelte-9flr1b"),v.disabled=j=!e[13].exposed,s(v,"name","value"),v.value=V=e[13].value,s(v,"id",Q=e[13].name),s(v,"class","svelte-9flr1b"),W(v,"exposed",e[13].exposed),s(i,"class","label svelte-9flr1b"),s(N,"type","button"),s(N,"class","toggleExposition svelte-9flr1b"),s(N,"title",I=e[13].exposed?"Hide value":"Show value"),s(B,"class","svelte-9flr1b"),s(S,"type","submit"),s(S,"class","button svelte-9flr1b"),W(S,"needed",e[1][e[15]].changed),s(w,"class","edit svelte-9flr1b"),s(l,"class","svelte-9flr1b"),W(l,"hidden",e[0]&&e[3](e[13])),W(l,"highlighted",e[2].highlighted.constant===e[13].name)},m(A,C){Y(A,l,C),a(l,n),a(n,u),a(n,$),a(n,T),a(T,c),a(T,y),ce(p,T,null),a(l,O),a(l,w),a(w,q),a(q,U),a(w,h),a(w,f),a(w,H),a(w,B),a(B,v),a(B,b),a(B,N),a(N,i),a(i,t),a(N,m),ce(r,N,null),a(w,te),a(w,S),a(l,se),L=!0,_e||(ge=[ee(n,"submit",be(e[9])),ee(v,"input",Oe),ee(N,"click",Ae),ee(w,"submit",be(De))],_e=!0)},p(A,C){e=A,(!L||C&2&&E!==(E=e[13].name))&&(u.value=E),(!L||C&2)&&P!==(P=e[13].name+"")&&Ce(U,P),(!L||C&2&&o!==(o=e[13].name))&&s(q,"for",o),(!L||C&2&&J!==(J=e[13].name))&&(f.value=J),(!L||C&2&&j!==(j=!e[13].exposed))&&(v.disabled=j),(!L||C&2&&V!==(V=e[13].value)&&v.value!==V)&&(v.value=V),(!L||C&2&&Q!==(Q=e[13].name))&&s(v,"id",Q),(!L||C&2)&&W(v,"exposed",e[13].exposed),(!L||C&2)&&X!==(X=e[13].exposed?"Hide value":"Show value")&&Ce(t,X);const x={};C&2&&(x.icon=e[13].exposed?"eyeStriked":"eye"),r.$set(x),(!L||C&2&&I!==(I=e[13].exposed?"Hide value":"Show value"))&&s(N,"title",I),(!L||C&2)&&W(S,"needed",e[1][e[15]].changed),(!L||C&11)&&W(l,"hidden",e[0]&&e[3](e[13])),(!L||C&6)&&W(l,"highlighted",e[2].highlighted.constant===e[13].name)},i(A){L||(R(p.$$.fragment,A),R(r.$$.fragment,A),A&&(Z||He(()=>{Z=je(l,Ve,{duration:100,delay:10*e[15]}),Z.start()})),L=!0)},o(A){G(p.$$.fragment,A),G(r.$$.fragment,A),L=!1},d(A){A&&g(l),me(p),me(r),_e=!1,Fe(ge)}}}function ze(e){let l,n,u,E,$="Find:",T,c,M,y,p,O,w,q=' ',P,U,o=' ',h,f,J,H,B,v,j,V,Q,b=e[0]&&Le(e);H=new de({props:{icon:"arrowRight"}});let N=Ne(e[1]),i=[];for(let t=0;tG(i[t],1,1,()=>{i[t]=null});return{c(){l=k(),n=d("nav"),u=d("form"),E=d("label"),E.textContent=$,T=k(),c=d("input"),M=k(),b&&b.c(),y=k(),p=d("section"),O=d("form"),w=d("fieldset"),w.innerHTML=q,P=k(),U=d("fieldset"),U.innerHTML=o,h=k(),f=d("button"),J=he(`Add\r `),ue(H.$$.fragment),B=k(),v=d("ul");for(let t=0;t{b=null}),Te()),m&63){N=Ne(t[1]);let r;for(r=0;rn(2,u=o));let E="",$=[];(async()=>await ne.get())().then(o=>{n(1,$=o)});const T=o=>o.name.toLowerCase().indexOf(E.toLowerCase())===-1&&o.value.toLowerCase().indexOf(E.toLowerCase())===-1,c=async(o,h)=>{o.preventDefault();const f=await ne.edit(new FormData(o.target));f.errors?z.notification.create("error",`Failed to update ${f.constant_set.name} constant`):(n(1,$[h].changed=!1,$),z.highlight("constant",f.constant_set.name),z.notification.create("success",`Constant ${f.constant_set.name} updated`))},M=async o=>{if(o.preventDefault(),confirm("Are you sure you want to delete this constant?")){const h=await ne.delete(new FormData(o.target));h.errors?z.notification.create("success",`Failed to delete ${h.constant_unset.name} constant`):(z.notification.create("success",`Constant ${h.constant_unset.name} deleted`),await ne.get().then(f=>{n(1,$=f)}))}},y=async o=>{o.preventDefault();const h=await ne.edit(new FormData(o.target));h.errors?z.notification.create("error",`Failed to create ${h.constant_set.name} constant`):(o.target.reset(),z.notification.create("success",`Constant ${h.constant_set.name} created`),await ne.get().then(f=>{n(1,$=f),z.highlight("constant",h.constant_set.name)}))};function p(){E=this.value,n(0,E)}return[E,$,u,T,c,M,y,p,()=>n(0,E=""),o=>M(o),(o,h,f)=>n(1,h[f].changed=!0,$),(o,h,f)=>n(1,h[f].exposed=!o.exposed,$),(o,h)=>c(h,o)]}class xe extends Pe{constructor(l){super(),Re(this,l,Je,ze,Ie,{})}}export{xe as component}; + `),fe(H.$$.fragment,le),le.forEach(g),S.forEach(g),te.forEach(g),B=F(t),v=_(t,"UL",{class:!0});var se=D(v);for(let Z=0;Z{b=null}),Te()),m&63){N=Ne(t[1]);let r;for(r=0;rn(2,u=o));let E="",$=[];(async()=>await ne.get())().then(o=>{n(1,$=o)});const T=o=>o.name.toLowerCase().indexOf(E.toLowerCase())===-1&&o.value.toLowerCase().indexOf(E.toLowerCase())===-1,c=async(o,h)=>{o.preventDefault();const f=await ne.edit(new FormData(o.target));f.errors?z.notification.create("error",`Failed to update ${f.constant_set.name} constant`):(n(1,$[h].changed=!1,$),z.highlight("constant",f.constant_set.name),z.notification.create("success",`Constant ${f.constant_set.name} updated`))},M=async o=>{if(o.preventDefault(),confirm("Are you sure you want to delete this constant?")){const h=await ne.delete(new FormData(o.target));h.errors?z.notification.create("success",`Failed to delete ${h.constant_unset.name} constant`):(z.notification.create("success",`Constant ${h.constant_unset.name} deleted`),await ne.get().then(f=>{n(1,$=f)}))}},y=async o=>{o.preventDefault();const h=await ne.edit(new FormData(o.target));h.errors?z.notification.create("error",`Failed to create ${h.constant_set.name} constant`):(o.target.reset(),z.notification.create("success",`Constant ${h.constant_set.name} created`),await ne.get().then(f=>{n(1,$=f),z.highlight("constant",h.constant_set.name)}))};function p(){E=this.value,n(0,E)}return[E,$,u,T,c,M,y,p,()=>n(0,E=""),o=>M(o),(o,h,f)=>n(1,h[f].changed=!0,$),(o,h,f)=>n(1,h[f].exposed=!o.exposed,$),(o,h)=>c(h,o)]}class xe extends Pe{constructor(l){super(),Re(this,l,Je,ze,Ie,{})}}export{xe as component}; diff --git a/gui/next/build/_app/immutable/nodes/12.465c3ad8.js b/gui/next/build/_app/immutable/nodes/11.c01061b0.js similarity index 65% rename from gui/next/build/_app/immutable/nodes/12.465c3ad8.js rename to gui/next/build/_app/immutable/nodes/11.c01061b0.js index e4aa5a1b..18509e67 100644 --- a/gui/next/build/_app/immutable/nodes/12.465c3ad8.js +++ b/gui/next/build/_app/immutable/nodes/11.c01061b0.js @@ -1 +1 @@ -import{s,J as a,d as n,A as e}from"../chunks/scheduler.bed694a1.js";import{S as r,i as c}from"../chunks/index.606d5641.js";function d(o){return{c(){this.h()},l(t){a("svelte-x68257",document.head).forEach(n),this.h()},h(){document.title="Database | platformOS"},m:e,p:e,i:e,o:e,d:e}}class l extends r{constructor(t){super(),c(this,t,null,d,s,{})}}export{l as component}; +import{s,J as a,d as n,A as e}from"../chunks/scheduler.a497d5ec.js";import{S as r,i as c}from"../chunks/index.ca999c64.js";function d(o){return{c(){this.h()},l(t){a("svelte-x68257",document.head).forEach(n),this.h()},h(){document.title="Database | platformOS"},m:e,p:e,i:e,o:e,d:e}}class l extends r{constructor(t){super(),c(this,t,null,d,s,{})}}export{l as component}; diff --git a/gui/next/build/_app/immutable/nodes/13.09128d70.js b/gui/next/build/_app/immutable/nodes/12.b830ff14.js similarity index 93% rename from gui/next/build/_app/immutable/nodes/13.09128d70.js rename to gui/next/build/_app/immutable/nodes/12.b830ff14.js index a5645c5c..0ddc860c 100644 --- a/gui/next/build/_app/immutable/nodes/13.09128d70.js +++ b/gui/next/build/_app/immutable/nodes/12.b830ff14.js @@ -1,11 +1,11 @@ -import{s as _u,f as g,g as B,h as O,d as _,i as P,x as ne,V as $u,v as eu,e as Ze,N as nu,a as L,r as ie,c as V,j as f,K as se,B as wu,u as d,L as ru,y as hu,z as Se,P as Ou,p as Au,l as ue,m as te,n as ve,A as Pe,W as Xu,w as ze,X as kt,o as Nt,Y as St,t as Tt,J as Ot,M as It,I as Pt}from"../chunks/scheduler.bed694a1.js";import{S as Cu,i as pu,a as z,g as we,t as q,c as $e,b as Ce,d as pe,m as Fe,e as Ee,f as Yu,h as jt}from"../chunks/index.606d5641.js";import{g as Lt}from"../chunks/globals.7f7f1b26.js";import{p as Hu}from"../chunks/stores.f5d1a634.js";import{s as K}from"../chunks/state.88bbaa31.js";import{t as Iu}from"../chunks/tryParseJSON.f125f883.js";import{g as Su}from"../chunks/graphql.66a06395.js";import{I as Te}from"../chunks/Icon.4ad67fd0.js";import{e as ye,u as Vt,o as zt}from"../chunks/each.177d9825.js";import{J as Ut}from"../chunks/JSONTree.45966d99.js";import{q as Jt}from"../chunks/index.50c00146.js";import{N as qt}from"../chunks/Number.6952118c.js";var Rt=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ht=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,Mt=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,Vu={Space_Separator:Rt,ID_Start:Ht,ID_Continue:Mt},he={isSpaceSeparator(t){return typeof t=="string"&&Vu.Space_Separator.test(t)},isIdStartChar(t){return typeof t=="string"&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t==="$"||t==="_"||Vu.ID_Start.test(t))},isIdContinueChar(t){return typeof t=="string"&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||t==="$"||t==="_"||t==="‌"||t==="‍"||Vu.ID_Continue.test(t))},isDigit(t){return typeof t=="string"&&/[0-9]/.test(t)},isHexDigit(t){return typeof t=="string"&&/[0-9A-Fa-f]/.test(t)}};let Ju,ke,Qe,Pu,au,He,Be,Mu,Bu;var Wt=function(e,l){Ju=String(e),ke="start",Qe=[],Pu=0,au=1,He=0,Be=void 0,Mu=void 0,Bu=void 0;do Be=Xt(),Kt[ke]();while(Be.type!=="eof");return typeof l=="function"?qu({"":Bu},"",l):Bu};function qu(t,e,l){const u=t[e];if(u!=null&&typeof u=="object")if(Array.isArray(u))for(let r=0;r="a"&&t<="z"||t>="A"&&t<="Z"||t==="$"||t==="_"||Vu.ID_Start.test(t))},isIdContinueChar(t){return typeof t=="string"&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||t==="$"||t==="_"||t==="‌"||t==="‍"||Vu.ID_Continue.test(t))},isDigit(t){return typeof t=="string"&&/[0-9]/.test(t)},isHexDigit(t){return typeof t=="string"&&/[0-9A-Fa-f]/.test(t)}};let Ju,ke,Qe,Pu,au,He,Be,Mu,Bu;var Wt=function(e,l){Ju=String(e),ke="start",Qe=[],Pu=0,au=1,He=0,Be=void 0,Mu=void 0,Bu=void 0;do Be=Xt(),Kt[ke]();while(Be.type!=="eof");return typeof l=="function"?qu({"":Bu},"",l):Bu};function qu(t,e,l){const u=t[e];if(u!=null&&typeof u=="object")if(Array.isArray(u))for(let r=0;r0;){const l=xe();if(!he.isHexDigit(l))throw ce(b());t+=b()}return String.fromCodePoint(parseInt(t,16))}const Kt={start(){if(Be.type==="eof")throw du();zu()},beforePropertyName(){switch(Be.type){case"identifier":case"string":Mu=Be.value,ke="afterPropertyName";return;case"punctuator":Tu();return;case"eof":throw du()}},afterPropertyName(){if(Be.type==="eof")throw du();ke="beforePropertyValue"},beforePropertyValue(){if(Be.type==="eof")throw du();zu()},beforeArrayValue(){if(Be.type==="eof")throw du();if(Be.type==="punctuator"&&Be.value==="]"){Tu();return}zu()},afterPropertyValue(){if(Be.type==="eof")throw du();switch(Be.value){case",":ke="beforePropertyName";return;case"}":Tu()}},afterArrayValue(){if(Be.type==="eof")throw du();switch(Be.value){case",":ke="beforeArrayValue";return;case"]":Tu()}},end(){}};function zu(){let t;switch(Be.type){case"punctuator":switch(Be.value){case"{":t={};break;case"[":t=[];break}break;case"null":case"boolean":case"numeric":case"string":t=Be.value;break}if(Bu===void 0)Bu=t;else{const e=Qe[Qe.length-1];Array.isArray(e)?e.push(t):Object.defineProperty(e,Mu,{value:t,writable:!0,enumerable:!0,configurable:!0})}if(t!==null&&typeof t=="object")Qe.push(t),Array.isArray(t)?ke="beforeArrayValue":ke="beforePropertyName";else{const e=Qe[Qe.length-1];e==null?ke="end":Array.isArray(e)?ke="afterArrayValue":ke="afterPropertyValue"}}function Tu(){Qe.pop();const t=Qe[Qe.length-1];t==null?ke="end":Array.isArray(t)?ke="afterArrayValue":ke="afterPropertyValue"}function ce(t){return ju(t===void 0?`JSON5: invalid end of input at ${au}:${He}`:`JSON5: invalid character '${wt(t)}' at ${au}:${He}`)}function du(){return ju(`JSON5: invalid end of input at ${au}:${He}`)}function Zu(){return He-=5,ju(`JSON5: invalid identifier character at ${au}:${He}`)}function Gt(t){console.warn(`JSON5: '${wt(t)}' in strings is not valid ECMAScript; consider escaping`)}function wt(t){const e={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(e[t])return e[t];if(t<" "){const l=t.charCodeAt(0).toString(16);return"\\x"+("00"+l).substring(l.length)}return t}function ju(t){const e=new SyntaxError(t);return e.lineNumber=au,e.columnNumber=He,e}var Qt=function(e,l,u){const r=[];let n="",a,s,i="",o;if(l!=null&&typeof l=="object"&&!Array.isArray(l)&&(u=l.space,o=l.quote,l=l.replacer),typeof l=="function")s=l;else if(Array.isArray(l)){a=[];for(const v of l){let F;typeof v=="string"?F=v:(typeof v=="number"||v instanceof String||v instanceof Number)&&(F=String(v)),F!==void 0&&a.indexOf(F)<0&&a.push(F)}}return u instanceof Number?u=Number(u):u instanceof String&&(u=String(u)),typeof u=="number"?u>0&&(u=Math.min(10,Math.floor(u)),i=" ".substr(0,u)):typeof u=="string"&&(i=u.substr(0,10)),c("",{"":e});function c(v,F){let C=F[v];switch(C!=null&&(typeof C.toJSON5=="function"?C=C.toJSON5(v):typeof C.toJSON=="function"&&(C=C.toJSON(v))),s&&(C=s.call(F,v,C)),C instanceof Number?C=Number(C):C instanceof String?C=String(C):C instanceof Boolean&&(C=C.valueOf()),C){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof C=="string")return A(C);if(typeof C=="number")return String(C);if(typeof C=="object")return Array.isArray(C)?$(C):m(C)}function A(v){const F={"'":.1,'"':.2},C={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let D="";for(let y=0;yF[y]=0)throw TypeError("Converting circular structure to JSON5");r.push(v);let F=n;n=n+i;let C=a||Object.keys(v),D=[];for(const y of C){const k=c(y,v);if(k!==void 0){let I=E(y)+":";i!==""&&(I+=" "),I+=k,D.push(I)}}let h;if(D.length===0)h="{}";else{let y;if(i==="")y=D.join(","),h="{"+y+"}";else{let k=`, +`&&b(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw ce(b());case void 0:throw ce(b())}return b()}function Yt(){let t="",e=xe();if(!he.isHexDigit(e)||(t+=b(),e=xe(),!he.isHexDigit(e)))throw ce(b());return t+=b(),String.fromCodePoint(parseInt(t,16))}function Ru(){let t="",e=4;for(;e-- >0;){const l=xe();if(!he.isHexDigit(l))throw ce(b());t+=b()}return String.fromCodePoint(parseInt(t,16))}const Kt={start(){if(Be.type==="eof")throw du();zu()},beforePropertyName(){switch(Be.type){case"identifier":case"string":Mu=Be.value,ke="afterPropertyName";return;case"punctuator":Tu();return;case"eof":throw du()}},afterPropertyName(){if(Be.type==="eof")throw du();ke="beforePropertyValue"},beforePropertyValue(){if(Be.type==="eof")throw du();zu()},beforeArrayValue(){if(Be.type==="eof")throw du();if(Be.type==="punctuator"&&Be.value==="]"){Tu();return}zu()},afterPropertyValue(){if(Be.type==="eof")throw du();switch(Be.value){case",":ke="beforePropertyName";return;case"}":Tu()}},afterArrayValue(){if(Be.type==="eof")throw du();switch(Be.value){case",":ke="beforeArrayValue";return;case"]":Tu()}},end(){}};function zu(){let t;switch(Be.type){case"punctuator":switch(Be.value){case"{":t={};break;case"[":t=[];break}break;case"null":case"boolean":case"numeric":case"string":t=Be.value;break}if(Bu===void 0)Bu=t;else{const e=Qe[Qe.length-1];Array.isArray(e)?e.push(t):Object.defineProperty(e,Mu,{value:t,writable:!0,enumerable:!0,configurable:!0})}if(t!==null&&typeof t=="object")Qe.push(t),Array.isArray(t)?ke="beforeArrayValue":ke="beforePropertyName";else{const e=Qe[Qe.length-1];e==null?ke="end":Array.isArray(e)?ke="afterArrayValue":ke="afterPropertyValue"}}function Tu(){Qe.pop();const t=Qe[Qe.length-1];t==null?ke="end":Array.isArray(t)?ke="afterArrayValue":ke="afterPropertyValue"}function ce(t){return ju(t===void 0?`JSON5: invalid end of input at ${au}:${He}`:`JSON5: invalid character '${wt(t)}' at ${au}:${He}`)}function du(){return ju(`JSON5: invalid end of input at ${au}:${He}`)}function Yu(){return He-=5,ju(`JSON5: invalid identifier character at ${au}:${He}`)}function Gt(t){console.warn(`JSON5: '${wt(t)}' in strings is not valid ECMAScript; consider escaping`)}function wt(t){const e={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(e[t])return e[t];if(t<" "){const l=t.charCodeAt(0).toString(16);return"\\x"+("00"+l).substring(l.length)}return t}function ju(t){const e=new SyntaxError(t);return e.lineNumber=au,e.columnNumber=He,e}var Qt=function(e,l,u){const r=[];let n="",a,s,i="",o;if(l!=null&&typeof l=="object"&&!Array.isArray(l)&&(u=l.space,o=l.quote,l=l.replacer),typeof l=="function")s=l;else if(Array.isArray(l)){a=[];for(const v of l){let F;typeof v=="string"?F=v:(typeof v=="number"||v instanceof String||v instanceof Number)&&(F=String(v)),F!==void 0&&a.indexOf(F)<0&&a.push(F)}}return u instanceof Number?u=Number(u):u instanceof String&&(u=String(u)),typeof u=="number"?u>0&&(u=Math.min(10,Math.floor(u)),i=" ".substr(0,u)):typeof u=="string"&&(i=u.substr(0,10)),c("",{"":e});function c(v,F){let C=F[v];switch(C!=null&&(typeof C.toJSON5=="function"?C=C.toJSON5(v):typeof C.toJSON=="function"&&(C=C.toJSON(v))),s&&(C=s.call(F,v,C)),C instanceof Number?C=Number(C):C instanceof String?C=String(C):C instanceof Boolean&&(C=C.valueOf()),C){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof C=="string")return A(C);if(typeof C=="number")return String(C);if(typeof C=="object")return Array.isArray(C)?$(C):m(C)}function A(v){const F={"'":.1,'"':.2},C={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let D="";for(let y=0;yF[y]=0)throw TypeError("Converting circular structure to JSON5");r.push(v);let F=n;n=n+i;let C=a||Object.keys(v),D=[];for(const y of C){const k=c(y,v);if(k!==void 0){let I=E(y)+":";i!==""&&(I+=" "),I+=k,D.push(I)}}let h;if(D.length===0)h="{}";else{let y;if(i==="")y=D.join(","),h="{"+y+"}";else{let k=`, `+n;y=D.join(k),h=`{ `+n+y+`, `+F+"}"}}return r.pop(),n=F,h}function E(v){if(v.length===0)return A(v);const F=String.fromCodePoint(v.codePointAt(0));if(!he.isIdStartChar(F))return A(v);for(let C=F.length;C=0)throw TypeError("Converting circular structure to JSON5");r.push(v);let F=n;n=n+i;let C=[];for(let h=0;hq(r[a],1,1,()=>{r[a]=null});return{c(){for(let a=0;a{j[S]=null}),$e(),m=j[A],m?m.p(t,p):(m=j[A]=I[A](t),m.c()),z(m,1),m.m(e,E))},i(w){$||(z(m),$=!0)},o(w){q(m),$=!1},d(w){w&&_(e),nu(D,w),j[A].d(),v=!1,hu(F)}}}function sl(t){var a;let e,l,u,r,n=((a=t[1].table)==null?void 0:a.properties)&&et(t);return{c(){e=g("form"),n&&n.c()},l(s){e=B(s,"FORM",{});var i=O(e);n&&n.l(i),i.forEach(_)},m(s,i){P(s,e,i),n&&n.m(e,null),t[9](e),l=!0,u||(r=ne(e,"submit",$u(t[3])),u=!0)},p(s,[i]){var o;(o=s[1].table)!=null&&o.properties?n?(n.p(s,i),i&2&&z(n,1)):(n=et(s),n.c(),z(n,1),n.m(e,null)):n&&(we(),q(n,1,1,()=>{n=null}),$e())},i(s){l||(z(n),l=!0)},o(s){q(n),l=!1},d(s){s&&_(e),n&&n.d(),t[9](null),u=!1,r()}}}function ol(t,e,l){let u;eu(t,K,E=>l(1,u=E));let r;const n={id:["value"],string:["value","exists","contains","ends_with","not_contains","not_ends_with","not_starts_with","not_value","starts_with"],text:["value","exists","not_value"],array:["array_contains","value_array","value_in","exists","array_overlaps","not_array_contains","not_array_overlaps","not_value_array","not_value_in"],boolean:["value_boolean","exists","not_value_boolean"],integer:["value_int","exists","not_value_int","range"],float:["value_float","exists","not_value_float","range"],upload:["value","exists","not_value"],datetime:["value","exists","not_value"],date:["value","exists","not_value"]},a=()=>{Se(K,u.filters={page:1,attributes:[Object.fromEntries(new FormData(r).entries())]},u),Re.get({table:u.table.id,filters:u.filters,sort:u.sort})};function s(E,$){E[$].name=Ou(this),K.set(u)}const i=(E,$,v)=>{var F;Se(K,$[v].attribute_type=((F=u.table.properties.find(C=>C.name===E.name))==null?void 0:F.attribute_type)||"id",u)};function o(E,$){E[$].attribute_type=this.value,K.set(u)}function c(E,$){E[$].operation=Ou(this),K.set(u)}function A(E,$){E[$].value=this.value,K.set(u)}function m(E){Au[E?"unshift":"push"](()=>{r=E,l(0,r)})}return[r,u,n,a,s,i,o,c,A,m]}class Dl extends Cu{constructor(e){super(),pu(this,e,ol,sl,_u,{})}}function rt(t,e,l){const u=t.slice();return u[8]=e[l],u}function nt(t){let e,l,u="created at",r,n="updated at",a,s="id",i,o,c,A="DESC [Z→A]",m,E="ASC [A→Z]",$,v,F,C,D,h,y,k=ye(t[1].table.properties),I=[];for(let p=0;pt[3].call(e)),c.__value="DESC",se(c,c.__value),m.__value="ASC",se(m,m.__value),f(o,"name","order"),f(o,"id","sort_order"),f(o,"class","svelte-yzlk61"),t[1].sort.order===void 0&&wu(()=>t[5].call(o)),f(v,"for","sort_order"),f(v,"class","button svelte-yzlk61")},m(p,S){P(p,e,S),d(e,l),d(e,r),d(e,a);for(let U=0;U{W[U]=null}),$e(),C=W[F],C||(C=W[F]=j[F](p),C.c()),z(C,1),C.m(v,null))},i(p){D||(z(C),D=!0)},o(p){q(C),D=!1},d(p){p&&(_(e),_(i),_(o),_($),_(v)),nu(I,p),W[F].d(),h=!1,hu(y)}}}function at(t){let e,l=t[8].name+"",u,r,n;return{c(){e=g("option"),u=ue(l),r=L(),this.h()},l(a){e=B(a,"OPTION",{});var s=O(e);u=te(s,l),r=V(s),s.forEach(_),this.h()},h(){e.__value=n=t[8].name,se(e,e.__value)},m(a,s){P(a,e,s),d(e,u),d(e,r)},p(a,s){s&2&&l!==(l=a[8].name+"")&&ve(u,l),s&2&&n!==(n=a[8].name)&&(e.__value=n,se(e,e.__value))},d(a){a&&_(e)}}}function cl(t){let e,l;return e=new Te({props:{icon:"sortAZ"}}),{c(){Ce(e.$$.fragment)},l(u){pe(e.$$.fragment,u)},m(u,r){Fe(e,u,r),l=!0},i(u){l||(z(e.$$.fragment,u),l=!0)},o(u){q(e.$$.fragment,u),l=!1},d(u){Ee(e,u)}}}function fl(t){let e,l;return e=new Te({props:{icon:"sortZA"}}),{c(){Ce(e.$$.fragment)},l(u){pe(e.$$.fragment,u)},m(u,r){Fe(e,u,r),l=!0},i(u){l||(z(e.$$.fragment,u),l=!0)},o(u){q(e.$$.fragment,u),l=!1},d(u){Ee(e,u)}}}function dl(t){var a;let e,l,u,r,n=((a=t[1].table)==null?void 0:a.properties)&&nt(t);return{c(){e=g("form"),n&&n.c(),this.h()},l(s){e=B(s,"FORM",{class:!0});var i=O(e);n&&n.l(i),i.forEach(_),this.h()},h(){f(e,"class","svelte-yzlk61")},m(s,i){P(s,e,i),n&&n.m(e,null),t[7](e),l=!0,u||(r=ne(e,"submit",$u(t[2])),u=!0)},p(s,[i]){var o;(o=s[1].table)!=null&&o.properties?n?(n.p(s,i),i&2&&z(n,1)):(n=nt(s),n.c(),z(n,1),n.m(e,null)):n&&(we(),q(n,1,1,()=>{n=null}),$e())},i(s){l||(z(n),l=!0)},o(s){q(n),l=!1},d(s){s&&_(e),n&&n.d(),t[7](null),u=!1,r()}}}function _l(t,e,l){let u;eu(t,K,A=>l(1,u=A));let r;const n=()=>{Se(K,u.filters.page=1,u),Re.get({table:u.table.id,filters:u.filters,sort:Object.fromEntries(new FormData(r).entries())})};function a(){u.sort.by=Ou(this),K.set(u)}const s=()=>r.requestSubmit();function i(){u.sort.order=Ou(this),K.set(u)}const o=()=>r.requestSubmit();function c(A){Au[A?"unshift":"push"](()=>{r=A,l(0,r)})}return[r,u,n,a,s,i,o,c]}class Cl extends Cu{constructor(e){super(),pu(this,e,_l,dl,_u,{})}}const $t=(t,e)=>{let l={value:t,type:e};return e!=="boolean"&&!t?(l.value=null,l.type="null",{...l}):(e==="boolean"&&(t===!0?l.value="true":l.value="false"),typeof t=="object"?(l.value=t,l.type="json",{...l}):Iu(t)?(l.value=Iu(t),l.type="jsonEscaped",{...l}):{...l})};function pl(t){let e,l,u,r,n,a,s,i,o,c,A,m,E;return o=new Te({props:{icon:"x",size:"22"}}),{c(){e=g("form"),l=g("input"),r=L(),n=g("input"),a=L(),s=g("button"),i=g("i"),Ce(o.$$.fragment),c=ue(`\r + }`;return Su({query:r})}};function Gu(t,e,l){const u=t.slice();return u[10]=e[l],u[11]=e,u[12]=l,u}function Qu(t,e,l){const u=t.slice();return u[13]=e[l],u}function xu(t,e,l){const u=t.slice();return u[16]=e[l],u}function et(t){let e,l,u=ye(t[1].filters.attributes),r=[];for(let a=0;aq(r[a],1,1,()=>{r[a]=null});return{c(){for(let a=0;a{j[S]=null}),$e(),m=j[A],m?m.p(t,p):(m=j[A]=I[A](t),m.c()),z(m,1),m.m(e,E))},i(w){$||(z(m),$=!0)},o(w){q(m),$=!1},d(w){w&&_(e),nu(D,w),j[A].d(),v=!1,hu(F)}}}function sl(t){var a;let e,l,u,r,n=((a=t[1].table)==null?void 0:a.properties)&&et(t);return{c(){e=g("form"),n&&n.c()},l(s){e=B(s,"FORM",{});var i=O(e);n&&n.l(i),i.forEach(_)},m(s,i){P(s,e,i),n&&n.m(e,null),t[9](e),l=!0,u||(r=ne(e,"submit",$u(t[3])),u=!0)},p(s,[i]){var o;(o=s[1].table)!=null&&o.properties?n?(n.p(s,i),i&2&&z(n,1)):(n=et(s),n.c(),z(n,1),n.m(e,null)):n&&(we(),q(n,1,1,()=>{n=null}),$e())},i(s){l||(z(n),l=!0)},o(s){q(n),l=!1},d(s){s&&_(e),n&&n.d(),t[9](null),u=!1,r()}}}function ol(t,e,l){let u;eu(t,K,E=>l(1,u=E));let r;const n={id:["value"],string:["value","exists","contains","ends_with","not_contains","not_ends_with","not_starts_with","not_value","starts_with"],text:["value","exists","not_value"],array:["array_contains","value_array","value_in","exists","array_overlaps","not_array_contains","not_array_overlaps","not_value_array","not_value_in"],boolean:["value_boolean","exists","not_value_boolean"],integer:["value_int","exists","not_value_int","range"],float:["value_float","exists","not_value_float","range"],upload:["value","exists","not_value"],datetime:["value","exists","not_value"],date:["value","exists","not_value"]},a=()=>{Se(K,u.filters={page:1,attributes:[Object.fromEntries(new FormData(r).entries())]},u),Re.get({table:u.table.id,filters:u.filters,sort:u.sort})};function s(E,$){E[$].name=Ou(this),K.set(u)}const i=(E,$,v)=>{var F;Se(K,$[v].attribute_type=((F=u.table.properties.find(C=>C.name===E.name))==null?void 0:F.attribute_type)||"id",u)};function o(E,$){E[$].attribute_type=this.value,K.set(u)}function c(E,$){E[$].operation=Ou(this),K.set(u)}function A(E,$){E[$].value=this.value,K.set(u)}function m(E){Au[E?"unshift":"push"](()=>{r=E,l(0,r)})}return[r,u,n,a,s,i,o,c,A,m]}class Dl extends Cu{constructor(e){super(),pu(this,e,ol,sl,_u,{})}}function rt(t,e,l){const u=t.slice();return u[8]=e[l],u}function nt(t){let e,l,u="created at",r,n="updated at",a,s="id",i,o,c,A="DESC [Z→A]",m,E="ASC [A→Z]",$,v,F,C,D,h,y,k=ye(t[1].table.properties),I=[];for(let p=0;pt[3].call(e)),c.__value="DESC",se(c,c.__value),m.__value="ASC",se(m,m.__value),f(o,"name","order"),f(o,"id","sort_order"),f(o,"class","svelte-yzlk61"),t[1].sort.order===void 0&&wu(()=>t[5].call(o)),f(v,"for","sort_order"),f(v,"class","button svelte-yzlk61")},m(p,S){P(p,e,S),d(e,l),d(e,r),d(e,a);for(let U=0;U{W[U]=null}),$e(),C=W[F],C||(C=W[F]=j[F](p),C.c()),z(C,1),C.m(v,null))},i(p){D||(z(C),D=!0)},o(p){q(C),D=!1},d(p){p&&(_(e),_(i),_(o),_($),_(v)),nu(I,p),W[F].d(),h=!1,hu(y)}}}function at(t){let e,l=t[8].name+"",u,r,n;return{c(){e=g("option"),u=ue(l),r=L(),this.h()},l(a){e=B(a,"OPTION",{});var s=O(e);u=te(s,l),r=V(s),s.forEach(_),this.h()},h(){e.__value=n=t[8].name,se(e,e.__value)},m(a,s){P(a,e,s),d(e,u),d(e,r)},p(a,s){s&2&&l!==(l=a[8].name+"")&&ve(u,l),s&2&&n!==(n=a[8].name)&&(e.__value=n,se(e,e.__value))},d(a){a&&_(e)}}}function cl(t){let e,l;return e=new Te({props:{icon:"sortAZ"}}),{c(){Ce(e.$$.fragment)},l(u){pe(e.$$.fragment,u)},m(u,r){Fe(e,u,r),l=!0},i(u){l||(z(e.$$.fragment,u),l=!0)},o(u){q(e.$$.fragment,u),l=!1},d(u){Ee(e,u)}}}function fl(t){let e,l;return e=new Te({props:{icon:"sortZA"}}),{c(){Ce(e.$$.fragment)},l(u){pe(e.$$.fragment,u)},m(u,r){Fe(e,u,r),l=!0},i(u){l||(z(e.$$.fragment,u),l=!0)},o(u){q(e.$$.fragment,u),l=!1},d(u){Ee(e,u)}}}function dl(t){var a;let e,l,u,r,n=((a=t[1].table)==null?void 0:a.properties)&&nt(t);return{c(){e=g("form"),n&&n.c(),this.h()},l(s){e=B(s,"FORM",{class:!0});var i=O(e);n&&n.l(i),i.forEach(_),this.h()},h(){f(e,"class","svelte-yzlk61")},m(s,i){P(s,e,i),n&&n.m(e,null),t[7](e),l=!0,u||(r=ne(e,"submit",$u(t[2])),u=!0)},p(s,[i]){var o;(o=s[1].table)!=null&&o.properties?n?(n.p(s,i),i&2&&z(n,1)):(n=nt(s),n.c(),z(n,1),n.m(e,null)):n&&(we(),q(n,1,1,()=>{n=null}),$e())},i(s){l||(z(n),l=!0)},o(s){q(n),l=!1},d(s){s&&_(e),n&&n.d(),t[7](null),u=!1,r()}}}function _l(t,e,l){let u;eu(t,K,A=>l(1,u=A));let r;const n=()=>{Se(K,u.filters.page=1,u),Re.get({table:u.table.id,filters:u.filters,sort:Object.fromEntries(new FormData(r).entries())})};function a(){u.sort.by=Ou(this),K.set(u)}const s=()=>r.requestSubmit();function i(){u.sort.order=Ou(this),K.set(u)}const o=()=>r.requestSubmit();function c(A){Au[A?"unshift":"push"](()=>{r=A,l(0,r)})}return[r,u,n,a,s,i,o,c]}class Cl extends Cu{constructor(e){super(),pu(this,e,_l,dl,_u,{})}}const $t=(t,e)=>{let l={value:t,type:e};return e!=="boolean"&&!t?(l.value=null,l.type="null",{...l}):(e==="boolean"&&(t===!0?l.value="true":l.value="false"),typeof t=="object"?(l.value=t,l.type="json",{...l}):Iu(t)?(l.value=Iu(t),l.type="jsonEscaped",{...l}):{...l})};function pl(t){let e,l,u,r,n,a,s,i,o,c,A,m,E;return o=new Te({props:{icon:"x",size:"22"}}),{c(){e=g("form"),l=g("input"),r=L(),n=g("input"),a=L(),s=g("button"),i=g("i"),Ce(o.$$.fragment),c=ue(`\r Delete record`),this.h()},l($){e=B($,"FORM",{});var v=O(e);l=B(v,"INPUT",{type:!0,name:!0}),r=V(v),n=B(v,"INPUT",{type:!0,name:!0}),a=V(v),s=B(v,"BUTTON",{class:!0});var F=O(s);i=B(F,"I",{class:!0});var C=O(i);pe(o.$$.fragment,C),C.forEach(_),c=te(F,`\r - Delete record`),F.forEach(_),v.forEach(_),this.h()},h(){f(l,"type","hidden"),f(l,"name","tableName"),l.value=u=t[0].name,f(n,"type","hidden"),f(n,"name","recordId"),n.value=t[1],f(i,"class","svelte-ooaugn"),f(s,"class","danger")},m($,v){P($,e,v),d(e,l),d(e,r),d(e,n),d(e,a),d(e,s),d(s,i),Fe(o,i,null),d(s,c),t[4](e),A=!0,m||(E=ne(e,"submit",t[3]),m=!0)},p($,[v]){(!A||v&1&&u!==(u=$[0].name))&&(l.value=u),(!A||v&2)&&(n.value=$[1])},i($){A||(z(o.$$.fragment,$),A=!0)},o($){q(o.$$.fragment,$),A=!1},d($){$&&_(e),Ee(o),t[4](null),m=!1,E()}}}function Fl(t,e,l){let u,r;eu(t,K,c=>l(5,u=c)),eu(t,Hu,c=>l(6,r=c));let{table:n}=e,{id:a}=e,s;const i=async c=>{if(c.preventDefault(),confirm("Are you sure you want to delete this record?")){const A=await Re.delete({table:n.name,properties:new FormData(s)});A.errors?K.notification.create("error",`Record ${A.record_delete.id} could not be deleted`):(Re.get({table:r.params.id,filters:u.filters,sort:u.sort}),K.notification.create("success",`Record ${A.record_delete.id} deleted`))}};function o(c){Au[c?"unshift":"push"](()=>{s=c,l(2,s)})}return t.$$set=c=>{"table"in c&&l(0,n=c.table),"id"in c&&l(1,a=c.id)},[n,a,s,i,o]}class El extends Cu{constructor(e){super(),pu(this,e,Fl,pl,_u,{table:0,id:1})}}function it(t,e,l){const u=t.slice();return u[6]=e[l],u}function st(t,e,l){const u=t.slice();u[9]=e[l];const r=$t(u[6].properties[u[9].name],u[9].attribute_type);return u[10]=r,u}function ot(t,e,l){const u=t.slice();return u[9]=e[l],u}function Dt(t){var h,y;let e,l,u,r,n="id",a,s,i,o="created at",c,A,m="updated at",E,$,v,F=ye(t[1].table.properties),C=[];for(let k=0;k{D=null}),$e()),(!v||I&2&&$!==($=Xu(k[1].view.tableStyle)+" svelte-x72ehk"))&&f(e,"class",$)},i(k){v||(z(D),v=!0)},o(k){q(D),v=!1},d(k){k&&_(e),nu(C,k),D&&D.d()}}}function ct(t){let e,l=t[9].name+"",u,r,n,a,s=t[9].attribute_type+"",i,o;return{c(){e=g("th"),u=ue(l),r=L(),n=g("small"),a=ue("("),i=ue(s),o=ue(")"),this.h()},l(c){e=B(c,"TH",{class:!0});var A=O(e);u=te(A,l),r=V(A),n=B(A,"SMALL",{class:!0});var m=O(n);a=te(m,"("),i=te(m,s),o=te(m,")"),m.forEach(_),A.forEach(_),this.h()},h(){f(n,"class","type svelte-x72ehk"),f(e,"class","svelte-x72ehk")},m(c,A){P(c,e,A),d(e,u),d(e,r),d(e,n),d(n,a),d(n,i),d(n,o)},p(c,A){A&2&&l!==(l=c[9].name+"")&&ve(u,l),A&2&&s!==(s=c[9].attribute_type+"")&&ve(i,s)},d(c){c&&_(e)}}}function ft(t){var s;let e=[],l=new Map,u,r,n=ye((s=t[1].records)==null?void 0:s.results);const a=i=>i[6].id;for(let i=0;i{a[c]=null}),$e(),l=a[e],l?l.p(i,o):(l=a[e]=n[e](i),l.c()),z(l,1),l.m(u.parentNode,u))},i(i){r||(z(l),r=!0)},o(i){q(l),r=!1},d(i){i&&_(u),a[e].d(i)}}}function ml(t){let e=JSON.stringify(t[10].value)+"",l;return{c(){l=ue(e)},l(u){l=te(u,e)},m(u,r){P(u,l,r)},p(u,r){r&2&&e!==(e=JSON.stringify(u[10].value)+"")&&ve(l,e)},i:Pe,o:Pe,d(u){u&&_(l)}}}function vl(t){let e,l;return e=new Ut({props:{value:t[10].value}}),{c(){Ce(e.$$.fragment)},l(u){pe(e.$$.fragment,u)},m(u,r){Fe(e,u,r),l=!0},p(u,r){const n={};r&2&&(n.value=u[10].value),e.$set(n)},i(u){l||(z(e.$$.fragment,u),l=!0)},o(u){q(e.$$.fragment,u),l=!1},d(u){Ee(e,u)}}}function dt(t){let e,l,u,r;const n=[hl,Al],a=[];function s(i,o){return i[10].type==="json"||i[10].type==="jsonEscaped"?0:1}return l=s(t),u=a[l]=n[l](t),{c(){e=g("td"),u.c(),this.h()},l(i){e=B(i,"TD",{class:!0});var o=O(e);u.l(o),o.forEach(_),this.h()},h(){f(e,"class","svelte-x72ehk"),ze(e,"value-null",t[10].type==="null")},m(i,o){P(i,e,o),a[l].m(e,null),r=!0},p(i,o){let c=l;l=s(i),l===c?a[l].p(i,o):(we(),q(a[c],1,1,()=>{a[c]=null}),$e(),u=a[l],u?u.p(i,o):(u=a[l]=n[l](i),u.c()),z(u,1),u.m(e,null)),(!r||o&2)&&ze(e,"value-null",i[10].type==="null")},i(i){r||(z(u),r=!0)},o(i){q(u),r=!1},d(i){i&&_(e),a[l].d()}}}function _t(t,e){var We,mu,Nu,vu;let l,u,r,n,a,s,i="More options",o,c,A,m,E,$="Edit record",v,F,C,D,h,y,k,I,j,W,w,p,S,U=e[6].id+"",Y,x,oe,T,H=new Date((We=e[6])==null?void 0:We.created_at).toLocaleDateString(void 0,{})+"",N,Z,fe,de=new Date((mu=e[6])==null?void 0:mu.created_at).toLocaleTimeString(void 0,{})+"",ee,Ae,_e,Oe=new Date((Nu=e[6])==null?void 0:Nu.updated_at).toLocaleDateString(void 0,{})+"",iu,uu,Me,me=new Date((vu=e[6])==null?void 0:vu.updated_at).toLocaleTimeString(void 0,{})+"",je,su,be,Fu,ou;c=new Te({props:{icon:"navigationMenuVertical",size:"16"}});function Eu(){return e[2](e[6])}F=new Te({props:{icon:"pencil",size:"16"}});function tu(){return e[3](e[6])}I=new Te({props:{icon:"copy",size:"22"}});function Ie(){return e[4](e[6])}p=new El({props:{table:e[1].table,id:e[6].id}});let Ue=ye(e[1].table.properties),ae=[];for(let M=0;Mq(ae[M],1,1,()=>{ae[M]=null});return{key:t,first:null,c(){l=g("tr"),u=g("td"),r=g("div"),n=g("div"),a=g("button"),s=g("span"),s.textContent=i,o=L(),Ce(c.$$.fragment),A=L(),m=g("button"),E=g("span"),E.textContent=$,v=L(),Ce(F.$$.fragment),C=L(),D=g("menu"),h=g("ul"),y=g("li"),k=g("button"),Ce(I.$$.fragment),j=ue(`\r - Copy record`),W=L(),w=g("li"),Ce(p.$$.fragment),S=L(),Y=ue(U),x=L();for(let M=0;M{u=null}),$e())},i(n){l||(z(u),l=!0)},o(n){q(u),l=!1},d(n){n&&_(e),u&&u.d(n)}}}function gl(t,e,l){let u;eu(t,K,o=>l(1,u=o));let r={id:null};return[r,u,o=>l(0,r.id=o.id,r),o=>{Se(K,u.record=o,u)},o=>{Se(K,u.record={...o},u),Se(K,u.record.id=null,u)},()=>l(0,r.id=null,r)]}class Bl extends Cu{constructor(e){super(),pu(this,e,gl,bl,_u,{})}}var yu=new Map;function yl(t){var e=yu.get(t);e&&e.destroy()}function wl(t){var e=yu.get(t);e&&e.update()}var gu=null;typeof window>"u"?((gu=function(t){return t}).destroy=function(t){return t},gu.update=function(t){return t}):((gu=function(t,e){return t&&Array.prototype.forEach.call(t.length?t:[t],function(l){return function(u){if(u&&u.nodeName&&u.nodeName==="TEXTAREA"&&!yu.has(u)){var r,n=null,a=window.getComputedStyle(u),s=(r=u.value,function(){o({testForHeightReduction:r===""||!u.value.startsWith(r),restoreTextAlign:null}),r=u.value}),i=(function(A){u.removeEventListener("autosize:destroy",i),u.removeEventListener("autosize:update",c),u.removeEventListener("input",s),window.removeEventListener("resize",c),Object.keys(A).forEach(function(m){return u.style[m]=A[m]}),yu.delete(u)}).bind(u,{height:u.style.height,resize:u.style.resize,textAlign:u.style.textAlign,overflowY:u.style.overflowY,overflowX:u.style.overflowX,wordWrap:u.style.wordWrap});u.addEventListener("autosize:destroy",i),u.addEventListener("autosize:update",c),u.addEventListener("input",s),window.addEventListener("resize",c),u.style.overflowX="hidden",u.style.wordWrap="break-word",yu.set(u,{destroy:i,update:c}),c()}function o(A){var m,E,$=A.restoreTextAlign,v=$===void 0?null:$,F=A.testForHeightReduction,C=F===void 0||F,D=a.overflowY;if(u.scrollHeight!==0&&(a.resize==="vertical"?u.style.resize="none":a.resize==="both"&&(u.style.resize="horizontal"),C&&(m=function(y){for(var k=[];y&&y.parentNode&&y.parentNode instanceof Element;)y.parentNode.scrollTop&&k.push([y.parentNode,y.parentNode.scrollTop]),y=y.parentNode;return function(){return k.forEach(function(I){var j=I[0],W=I[1];j.style.scrollBehavior="auto",j.scrollTop=W,j.style.scrollBehavior=null})}}(u),u.style.height=""),E=a.boxSizing==="content-box"?u.scrollHeight-(parseFloat(a.paddingTop)+parseFloat(a.paddingBottom)):u.scrollHeight+parseFloat(a.borderTopWidth)+parseFloat(a.borderBottomWidth),a.maxHeight!=="none"&&E>parseFloat(a.maxHeight)?(a.overflowY==="hidden"&&(u.style.overflow="scroll"),E=parseFloat(a.maxHeight)):a.overflowY!=="hidden"&&(u.style.overflow="hidden"),u.style.height=E+"px",v&&(u.style.textAlign=v),m&&m(),n!==E&&(u.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),n=E),D!==a.overflow&&!v)){var h=a.textAlign;a.overflow==="hidden"&&(u.style.textAlign=h==="start"?"end":"start"),o({restoreTextAlign:h,testForHeightReduction:!0})}}function c(){o({testForHeightReduction:!0,restoreTextAlign:null})}}(l)}),t}).destroy=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],yl),t},gu.update=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],wl),t});var Lu=gu;const Wu=t=>(Lu(t),{destroy(){Lu.destroy(t)}});Wu.update=Lu.update;Wu.destroy=Lu.destroy;function Ct(t){let e,l,u=!1,r,n,a,s=t[1][0].label+"",i,o,c,A,m,E,$,v,F=!1,C,D,h,y=t[1][1].label+"",k,I,j,W,w;return j=kt(t[5][0]),{c(){e=g("input"),n=L(),a=g("label"),i=ue(s),c=L(),A=g("label"),E=L(),$=g("input"),D=L(),h=g("label"),k=ue(y),this.h()},l(p){e=B(p,"INPUT",{type:!0,name:!0,id:!0,class:!0}),n=V(p),a=B(p,"LABEL",{for:!0,class:!0});var S=O(a);i=te(S,s),S.forEach(_),c=V(p),A=B(p,"LABEL",{for:!0,class:!0}),O(A).forEach(_),E=V(p),$=B(p,"INPUT",{type:!0,name:!0,id:!0,class:!0}),D=V(p),h=B(p,"LABEL",{for:!0,class:!0});var U=O(h);k=te(U,y),U.forEach(_),this.h()},h(){f(e,"type","radio"),f(e,"name",t[0]),e.__value=l=t[1][0].value,se(e,e.__value),f(e,"id",r="toggle-"+t[0]+"-"+t[1][0].value),f(e,"class","svelte-1dpe1av"),f(a,"for",o="toggle-"+t[0]+"-"+t[1][0].value),f(a,"class","svelte-1dpe1av"),f(A,"for",m="toggle-"+t[0]+"-"+(t[2]===t[1][0].value?t[1][1].value:t[1][0].value)),f(A,"class","switcher svelte-1dpe1av"),f($,"type","radio"),f($,"name",t[0]),$.__value=v=t[1][1].value,se($,$.__value),f($,"id",C="toggle-"+t[0]+"-"+t[1][1].value),f($,"class","svelte-1dpe1av"),f(h,"for",I="toggle-"+t[0]+"-"+t[1][1].value),f(h,"class","svelte-1dpe1av"),j.p(e,$)},m(p,S){P(p,e,S),e.checked=e.__value===t[2],P(p,n,S),P(p,a,S),d(a,i),P(p,c,S),P(p,A,S),P(p,E,S),P(p,$,S),$.checked=$.__value===t[2],P(p,D,S),P(p,h,S),d(h,k),W||(w=[ne(e,"change",t[4]),ne(e,"keydown",t[6]),ne($,"change",t[7]),ne($,"keydown",t[8])],W=!0)},p(p,S){S&1&&f(e,"name",p[0]),S&2&&l!==(l=p[1][0].value)&&(e.__value=l,se(e,e.__value),u=!0),S&3&&r!==(r="toggle-"+p[0]+"-"+p[1][0].value)&&f(e,"id",r),(u||S&4)&&(e.checked=e.__value===p[2]),S&2&&s!==(s=p[1][0].label+"")&&ve(i,s),S&3&&o!==(o="toggle-"+p[0]+"-"+p[1][0].value)&&f(a,"for",o),S&7&&m!==(m="toggle-"+p[0]+"-"+(p[2]===p[1][0].value?p[1][1].value:p[1][0].value))&&f(A,"for",m),S&1&&f($,"name",p[0]),S&2&&v!==(v=p[1][1].value)&&($.__value=v,se($,$.__value),F=!0),S&3&&C!==(C="toggle-"+p[0]+"-"+p[1][1].value)&&f($,"id",C),(F||S&4)&&($.checked=$.__value===p[2]),S&2&&y!==(y=p[1][1].label+"")&&ve(k,y),S&3&&I!==(I="toggle-"+p[0]+"-"+p[1][1].value)&&f(h,"for",I)},d(p){p&&(_(e),_(n),_(a),_(c),_(A),_(E),_($),_(D),_(h)),j.r(),W=!1,hu(w)}}}function $l(t){let e,l=t[1].length===2&&Ct(t);return{c(){e=g("div"),l&&l.c(),this.h()},l(u){e=B(u,"DIV",{class:!0});var r=O(e);l&&l.l(r),r.forEach(_),this.h()},h(){f(e,"class","toggle svelte-1dpe1av")},m(u,r){P(u,e,r),l&&l.m(e,null)},p(u,[r]){u[1].length===2?l?l.p(u,r):(l=Ct(u),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Pe,o:Pe,d(u){u&&_(e),l&&l.d()}}}function kl(t,e,l){let{name:u}=e,{options:r=[]}=e,{checked:n=r[0].value}=e,a=(" "+n).slice(1);const s=[[]];function i(){a=this.__value,l(2,a)}const o=m=>{m.code==="Space"&&(m.preventDefault(),l(2,a=a===r[0].value?r[1].value:r[0].value))};function c(){a=this.__value,l(2,a)}const A=m=>{m.code==="Space"&&(m.preventDefault(),l(2,a=a===r[0].value?r[1].value:r[0].value))};return t.$$set=m=>{"name"in m&&l(0,u=m.name),"options"in m&&l(1,r=m.options),"checked"in m&&l(3,n=m.checked)},[u,r,a,n,i,s,o,c,A]}class Nl extends Cu{constructor(e){super(),pu(this,e,kl,$l,_u,{name:0,options:1,checked:3})}}function pt(t,e,l){const u=t.slice();return u[13]=e[l],u}function Ft(t,e,l){const u=t.slice();u[16]=e[l];const r=u[1].properties?$t(u[1].properties[u[16].name],u[16].attribute_type):{type:u[16].attribute_type,value:""};return u[17]=r,u}function Et(t){let e,l;return{c(){e=g("input"),this.h()},l(u){e=B(u,"INPUT",{type:!0,name:!0}),this.h()},h(){f(e,"type","hidden"),f(e,"name","recordId"),e.value=l=t[1].id},m(u,r){P(u,e,r)},p(u,r){r&2&&l!==(l=u[1].id)&&(e.value=l)},d(u){u&&_(e)}}}function Sl(t){let e=t[16].attribute_type+"",l,u,r,n,a;return{c(){l=ue(e),u=L(),r=g("input"),this.h()},l(s){l=te(s,e),u=V(s),r=B(s,"INPUT",{type:!0,name:!0}),this.h()},h(){f(r,"type","hidden"),f(r,"name",n=t[16].name+"[type]"),r.value=a=t[16].attribute_type},m(s,i){P(s,l,i),P(s,u,i),P(s,r,i)},p(s,i){i&1&&e!==(e=s[16].attribute_type+"")&&ve(l,e),i&1&&n!==(n=s[16].name+"[type]")&&f(r,"name",n),i&1&&a!==(a=s[16].attribute_type)&&(r.value=a)},i:Pe,o:Pe,d(s){s&&(_(l),_(u),_(r))}}}function Tl(t){let e,l;return e=new Nl({props:{name:t[16].name+"[type]",options:[{value:"string",label:"string"},{value:"json",label:"json"}],checked:t[17].type==="json"?"json":"string"}}),{c(){Ce(e.$$.fragment)},l(u){pe(e.$$.fragment,u)},m(u,r){Fe(e,u,r),l=!0},p(u,r){const n={};r&1&&(n.name=u[16].name+"[type]"),r&3&&(n.checked=u[17].type==="json"?"json":"string"),e.$set(n)},i(u){l||(z(e.$$.fragment,u),l=!0)},o(u){q(e.$$.fragment,u),l=!1},d(u){Ee(e,u)}}}function At(t){let e;return{c(){e=ue("(non editable)")},l(l){e=te(l,"(non editable)")},m(l,u){P(l,e,u)},d(l){l&&_(e)}}}function ht(t){let e=t[5][t[16].name].message+"",l;return{c(){l=ue(e)},l(u){l=te(u,e)},m(u,r){P(u,l,r)},p(u,r){r&33&&e!==(e=u[5][u[16].name].message+"")&&ve(l,e)},d(u){u&&_(l)}}}function mt(t){let e,l,u,r=t[16].name+"",n,a,s,i,o,c,A,m,E,$,v,F,C,D,h,y,k,I,j,W,w,p,S,U;const Y=[Tl,Sl],x=[];function oe(N,Z){return N[16].attribute_type==="string"?0:1}o=oe(t),c=x[o]=Y[o](t);let T=t[16].attribute_type==="upload"&&At(),H=t[5][t[16].name]&&ht(t);return{c(){e=g("fieldset"),l=g("dir"),u=g("label"),n=ue(r),a=g("br"),s=L(),i=g("div"),c.c(),A=L(),T&&T.c(),m=L(),E=g("input"),C=L(),D=g("div"),h=g("textarea"),W=L(),w=g("div"),H&&H.c(),this.h()},l(N){e=B(N,"FIELDSET",{class:!0});var Z=O(e);l=B(Z,"DIR",{});var fe=O(l);u=B(fe,"LABEL",{for:!0,class:!0});var de=O(u);n=te(de,r),a=B(de,"BR",{}),s=V(de),i=B(de,"DIV",{class:!0});var ee=O(i);c.l(ee),A=V(ee),T&&T.l(ee),m=V(ee),E=B(ee,"INPUT",{type:!0,name:!0}),ee.forEach(_),de.forEach(_),fe.forEach(_),C=V(Z),D=B(Z,"DIV",{});var Ae=O(D);h=B(Ae,"TEXTAREA",{rows:!0,name:!0,id:!0,class:!0}),O(h).forEach(_),W=V(Ae),w=B(Ae,"DIV",{role:!0,class:!0});var _e=O(w);H&&H.l(_e),_e.forEach(_),Ae.forEach(_),Z.forEach(_),this.h()},h(){f(E,"type","hidden"),f(E,"name",$=t[16].name+"[parsedType]"),E.value=v=t[17].type,f(i,"class","type svelte-yslxja"),f(u,"for",F="edit_"+t[16].name),f(u,"class","svelte-yslxja"),f(h,"rows","1"),f(h,"name",y=t[16].name+"[value]"),f(h,"id",k="edit_"+t[16].name),h.disabled=I=t[16].attribute_type==="upload",h.value=j=t[17].type==="json"||t[17].type==="jsonEscaped"&&!bt?JSON.stringify(t[17].value,void 0,2):t[17].value,f(h,"class","svelte-yslxja"),f(w,"role","alert"),f(w,"class","svelte-yslxja"),f(e,"class","svelte-yslxja")},m(N,Z){P(N,e,Z),d(e,l),d(l,u),d(u,n),d(u,a),d(u,s),d(u,i),x[o].m(i,null),d(i,A),T&&T.m(i,null),d(i,m),d(i,E),d(e,C),d(e,D),d(D,h),d(D,W),d(D,w),H&&H.m(w,null),p=!0,S||(U=St(Wu.call(null,h)),S=!0)},p(N,Z){(!p||Z&1)&&r!==(r=N[16].name+"")&&ve(n,r);let fe=o;o=oe(N),o===fe?x[o].p(N,Z):(we(),q(x[fe],1,1,()=>{x[fe]=null}),$e(),c=x[o],c?c.p(N,Z):(c=x[o]=Y[o](N),c.c()),z(c,1),c.m(i,A)),N[16].attribute_type==="upload"?T||(T=At(),T.c(),T.m(i,m)):T&&(T.d(1),T=null),(!p||Z&1&&$!==($=N[16].name+"[parsedType]"))&&f(E,"name",$),(!p||Z&3&&v!==(v=N[17].type))&&(E.value=v),(!p||Z&1&&F!==(F="edit_"+N[16].name))&&f(u,"for",F),(!p||Z&1&&y!==(y=N[16].name+"[value]"))&&f(h,"name",y),(!p||Z&1&&k!==(k="edit_"+N[16].name))&&f(h,"id",k),(!p||Z&1&&I!==(I=N[16].attribute_type==="upload"))&&(h.disabled=I),(!p||Z&3&&j!==(j=N[17].type==="json"||N[17].type==="jsonEscaped"&&!bt?JSON.stringify(N[17].value,void 0,2):N[17].value))&&(h.value=j),N[5][N[16].name]?H?H.p(N,Z):(H=ht(N),H.c(),H.m(w,null)):H&&(H.d(1),H=null)},i(N){p||(z(c),p=!0)},o(N){q(c),p=!1},d(N){N&&_(e),x[o].d(),T&&T.d(),H&&H.d(),S=!1,U()}}}function vt(t){let e,l=JSON.stringify(t[4])+"",u,r;return{c(){e=g("li"),u=ue(l),r=L(),this.h()},l(n){e=B(n,"LI",{class:!0});var a=O(e);u=te(a,l),r=V(a),a.forEach(_),this.h()},h(){f(e,"class","svelte-yslxja")},m(n,a){P(n,e,a),d(e,u),d(e,r)},p(n,a){a&16&&l!==(l=JSON.stringify(n[4])+"")&&ve(u,l)},d(n){n&&_(e)}}}function Ol(t){let e;return{c(){e=ue("Create record")},l(l){e=te(l,"Create record")},m(l,u){P(l,e,u)},d(l){l&&_(e)}}}function Il(t){let e;return{c(){e=ue("Edit record")},l(l){e=te(l,"Edit record")},m(l,u){P(l,e,u)},d(l){l&&_(e)}}}function Pl(t){let e,l,u,r,n,a,s,i,o,c,A,m,E,$="Cancel",v,F,C,D,h,y,k,I,j=t[1].id&&Et(t),W=ye(t[0]),w=[];for(let T=0;Tq(w[T],1,1,()=>{w[T]=null});let S=ye(t[4]),U=[];for(let T=0;T{y&&(h||(h=Yu(e,t[7],{},!0)),h.run(1))}),y=!0}},o(T){w=w.filter(Boolean);for(let H=0;Hl(6,u=F)),eu(t,Hu,F=>l(12,r=F));let{properties:n}=e,{editing:a}=e,s,i,o=[],c={};const A=function(F,{delay:C=0,duration:D=150}){return{delay:C,duration:D,css:h=>{const y=Jt(h);return`opacity: ${y}; transform: scale(${y});`}}};Nt(()=>{setTimeout(()=>{s.showModal()},10)}),document.addEventListener("keydown",F=>{F.key==="Escape"&&(F.preventDefault(),Se(K,u.record=null,u))},{once:!0});const m=async F=>{F.preventDefault();const C=new FormData(i);l(5,c={});for(const D of C.entries())if(D[0].endsWith("[type]")&&D[1]==="json"){const h=D[0].replace("[type]","");Iu(C.get(h+"[value]"))||l(5,c[h]={property:h,message:"Not a valid JSON"},c)}if(Object.keys(c).length)await Tt(),document.querySelector('[role="alert"]:not(:empty)').scrollIntoView({behavior:"smooth",block:"center"});else if(u.record.id){const D=await Re.edit({table:u.table.name,id:u.record.id,properties:C});D.errors?l(4,o=D.errors):(Re.get({table:r.params.id,filters:u.filters,sort:u.sort}),K.highlight("record",D.model_update.id),K.notification.create("success",`Record ${D.model_update.id} updated`),Se(K,u.record=null,u))}else{const D=await Re.create({table:u.table.name,properties:C});D.errors?l(4,o=D.errors):(K.clearFilters(),Re.get({table:r.params.id,filters:u.filters,sort:u.sort}),K.highlight("record",D.model_create.id),K.notification.create("success",`Record ${D.model_create.id} created`),Se(K,u.record=null,u))}},E=()=>Se(K,u.record=null,u);function $(F){Au[F?"unshift":"push"](()=>{i=F,l(3,i)})}function v(F){Au[F?"unshift":"push"](()=>{s=F,l(2,s)})}return t.$$set=F=>{"properties"in F&&l(0,n=F.properties),"editing"in F&&l(1,a=F.editing)},[n,a,s,i,o,c,u,A,m,E,$,v]}class Ll extends Cu{constructor(e){super(),pu(this,e,jl,Pl,_u,{properties:0,editing:1})}}const{document:Uu}=Lt;function Vl(t){let e;return{c(){e=ue("Work in progress :)")},l(l){e=te(l,"Work in progress :)")},m(l,u){P(l,e,u)},i:Pe,o:Pe,d(l){l&&_(e)}}}function zl(t){let e,l;return e=new Bl({}),{c(){Ce(e.$$.fragment)},l(u){pe(e.$$.fragment,u)},m(u,r){Fe(e,u,r),l=!0},i(u){l||(z(e.$$.fragment,u),l=!0)},o(u){q(e.$$.fragment,u),l=!1},d(u){Ee(e,u)}}}function gt(t){let e,l,u,r,n,a,s;const i=[Jl,Ul],o=[];function c(A,m){return A[0].view.tableStyle==="collapsed"?0:1}return l=c(t),u=o[l]=i[l](t),{c(){e=g("button"),u.c(),this.h()},l(A){e=B(A,"BUTTON",{class:!0,title:!0});var m=O(e);u.l(m),m.forEach(_),this.h()},h(){f(e,"class","button"),f(e,"title",r=t[0].view.tableStyle==="expanded"?"Collapse values":"Expand values")},m(A,m){P(A,e,m),o[l].m(e,null),n=!0,a||(s=ne(e,"click",$u(function(){Pt(t[0].view.tableStyle==="collapsed"?K.setView({tableStyle:"expanded"}):K.setView({tableStyle:"collapsed"}))&&(t[0].view.tableStyle==="collapsed"?K.setView({tableStyle:"expanded"}):K.setView({tableStyle:"collapsed"})).apply(this,arguments)})),a=!0)},p(A,m){t=A;let E=l;l=c(t),l!==E&&(we(),q(o[E],1,1,()=>{o[E]=null}),$e(),u=o[l],u||(u=o[l]=i[l](t),u.c()),z(u,1),u.m(e,null)),(!n||m&1&&r!==(r=t[0].view.tableStyle==="expanded"?"Collapse values":"Expand values"))&&f(e,"title",r)},i(A){n||(z(u),n=!0)},o(A){q(u),n=!1},d(A){A&&_(e),o[l].d(),a=!1,s()}}}function Ul(t){let e,l="Collapse values",u,r,n;return r=new Te({props:{icon:"collapse"}}),{c(){e=g("span"),e.textContent=l,u=L(),Ce(r.$$.fragment),this.h()},l(a){e=B(a,"SPAN",{class:!0,"data-svelte-h":!0}),ie(e)!=="svelte-jserey"&&(e.textContent=l),u=V(a),pe(r.$$.fragment,a),this.h()},h(){f(e,"class","label")},m(a,s){P(a,e,s),P(a,u,s),Fe(r,a,s),n=!0},i(a){n||(z(r.$$.fragment,a),n=!0)},o(a){q(r.$$.fragment,a),n=!1},d(a){a&&(_(e),_(u)),Ee(r,a)}}}function Jl(t){let e,l="Expand values",u,r,n;return r=new Te({props:{icon:"expand"}}),{c(){e=g("span"),e.textContent=l,u=L(),Ce(r.$$.fragment),this.h()},l(a){e=B(a,"SPAN",{class:!0,"data-svelte-h":!0}),ie(e)!=="svelte-1tvmrgx"&&(e.textContent=l),u=V(a),pe(r.$$.fragment,a),this.h()},h(){f(e,"class","label")},m(a,s){P(a,e,s),P(a,u,s),Fe(r,a,s),n=!0},i(a){n||(z(r.$$.fragment,a),n=!0)},o(a){q(r.$$.fragment,a),n=!1},d(a){a&&(_(e),_(u)),Ee(r,a)}}}function Bt(t){let e,l;return e=new Ll({props:{properties:t[0].table.properties,editing:t[0].record}}),{c(){Ce(e.$$.fragment)},l(u){pe(e.$$.fragment,u)},m(u,r){Fe(e,u,r),l=!0},p(u,r){const n={};r&1&&(n.properties=u[0].table.properties),r&1&&(n.editing=u[0].record),e.$set(n)},i(u){l||(z(e.$$.fragment,u),l=!0)},o(u){q(e.$$.fragment,u),l=!1},d(u){Ee(e,u)}}}function ql(t){var Ne,Le,Xe;let e,l,u,r,n,a,s,i,o,c,A="Refresh current view",m,E,$,v,F,C,D,h,y,k="Page:",I,j,W,w,p=(((Ne=t[0].records)==null?void 0:Ne.total_pages)||1)+"",S,U,Y,x,oe,T,H,N="Create new record",Z,fe,de,ee,Ae,_e,Oe,iu="Table view",uu,Me,me,je,su,be,Fu="Tiles view",ou,Eu,tu,Ie,Ue,ae;Uu.title=e=(((Le=t[0].table)==null?void 0:Le.name)||"Loading…")+" | platformOS",n=new Dl({}),s=new Cl({}),E=new Te({props:{icon:"refresh"}});const ku=[zl,Vl],We=[];function mu(J,le){return J[0].view.database!=="tiles"?0:1}v=mu(t),F=We[v]=ku[v](t);function Nu(J){t[5](J)}let vu={name:"page",min:1,max:(Xe=t[0].records)==null?void 0:Xe.total_pages,step:1,decreaseLabel:"Previous page",increaseLabel:"Next page",style:"navigation"};t[0].filters.page!==void 0&&(vu.value=t[0].filters.page),j=new qt({props:vu}),Au.push(()=>jt(j,"value",Nu)),j.$on("input",t[6]),oe=new Te({props:{icon:"plus"}});let M=t[0].view.database!=="tiles"&>(t);Ae=new Te({props:{icon:"list"}}),je=new Te({props:{icon:"tiles"}});let R=t[0].record!==null&&Bt(t);return{c(){l=L(),u=g("section"),r=g("nav"),Ce(n.$$.fragment),a=L(),Ce(s.$$.fragment),i=L(),o=g("button"),c=g("span"),c.textContent=A,m=L(),Ce(E.$$.fragment),$=L(),F.c(),C=L(),D=g("nav"),h=g("div"),y=g("label"),y.textContent=k,I=L(),Ce(j.$$.fragment),w=ue(`\r - of `),S=ue(p),U=L(),Y=g("div"),x=g("button"),Ce(oe.$$.fragment),T=L(),H=g("span"),H.textContent=N,Z=L(),M&&M.c(),fe=L(),de=g("div"),ee=g("button"),Ce(Ae.$$.fragment),_e=L(),Oe=g("span"),Oe.textContent=iu,Me=L(),me=g("button"),Ce(je.$$.fragment),su=L(),be=g("span"),be.textContent=Fu,Eu=L(),R&&R.c(),tu=Ze(),this.h()},l(J){Ot("svelte-1x9pzx",Uu.head).forEach(_),l=V(J),u=B(J,"SECTION",{class:!0});var re=O(u);r=B(re,"NAV",{class:!0});var ge=O(r);pe(n.$$.fragment,ge),a=V(ge),pe(s.$$.fragment,ge),i=V(ge),o=B(ge,"BUTTON",{class:!0,title:!0});var Ye=O(o);c=B(Ye,"SPAN",{class:!0,"data-svelte-h":!0}),ie(c)!=="svelte-iqo23s"&&(c.textContent=A),m=V(Ye),pe(E.$$.fragment,Ye),Ye.forEach(_),ge.forEach(_),$=V(re),F.l(re),C=V(re),D=B(re,"NAV",{class:!0});var Je=O(D);h=B(Je,"DIV",{});var Ve=O(h);y=B(Ve,"LABEL",{for:!0,"data-svelte-h":!0}),ie(y)!=="svelte-1r8oyu6"&&(y.textContent=k),I=V(Ve),pe(j.$$.fragment,Ve),w=te(Ve,`\r - of `),S=te(Ve,p),Ve.forEach(_),U=V(Je),Y=B(Je,"DIV",{id:!0,class:!0});var qe=O(Y);x=B(qe,"BUTTON",{class:!0,title:!0});var Du=O(x);pe(oe.$$.fragment,Du),T=V(Du),H=B(Du,"SPAN",{class:!0,"data-svelte-h":!0}),ie(H)!=="svelte-19x6y3e"&&(H.textContent=N),Du.forEach(_),Z=V(qe),M&&M.l(qe),fe=V(qe),de=B(qe,"DIV",{class:!0});var Ke=O(de);ee=B(Ke,"BUTTON",{class:!0,title:!0});var cu=O(ee);pe(Ae.$$.fragment,cu),_e=V(cu),Oe=B(cu,"SPAN",{class:!0,"data-svelte-h":!0}),ie(Oe)!=="svelte-glgsbm"&&(Oe.textContent=iu),cu.forEach(_),Me=V(Ke),me=B(Ke,"BUTTON",{class:!0,title:!0});var lu=O(me);pe(je.$$.fragment,lu),su=V(lu),be=B(lu,"SPAN",{class:!0,"data-svelte-h":!0}),ie(be)!=="svelte-1q9uqwx"&&(be.textContent=Fu),lu.forEach(_),Ke.forEach(_),qe.forEach(_),Je.forEach(_),re.forEach(_),Eu=V(J),R&&R.l(J),tu=Ze(),this.h()},h(){f(c,"class","label"),f(o,"class","button svelte-1czcj8w"),f(o,"title","Refresh current view (R)"),ze(o,"refreshing",t[2]),f(r,"class","svelte-1czcj8w"),f(y,"for","page"),f(H,"class","label"),f(x,"class","button"),f(x,"title","Create new record"),f(Oe,"class","label"),f(ee,"class","button"),f(ee,"title","Table view"),ee.disabled=uu=t[0].view.database==="table",ze(ee,"active",t[0].view.database==="table"),f(be,"class","label"),f(me,"class","button"),f(me,"title","Tiles view"),me.disabled=ou=t[0].view.database==="tiles",ze(me,"active",t[0].view.database==="tiles"),f(de,"class","combo"),f(Y,"id","viewOptions"),f(Y,"class","svelte-1czcj8w"),f(D,"class","pagination svelte-1czcj8w"),f(u,"class","svelte-1czcj8w")},m(J,le){P(J,l,le),P(J,u,le),d(u,r),Fe(n,r,null),d(r,a),Fe(s,r,null),d(r,i),d(r,o),d(o,c),d(o,m),Fe(E,o,null),d(u,$),We[v].m(u,null),d(u,C),d(u,D),d(D,h),d(h,y),d(h,I),Fe(j,h,null),d(h,w),d(h,S),d(D,U),d(D,Y),d(Y,x),Fe(oe,x,null),d(x,T),d(x,H),d(Y,Z),M&&M.m(Y,null),d(Y,fe),d(Y,de),d(de,ee),Fe(Ae,ee,null),d(ee,_e),d(ee,Oe),d(de,Me),d(de,me),Fe(je,me,null),d(me,su),d(me,be),P(J,Eu,le),R&&R.m(J,le),P(J,tu,le),Ie=!0,Ue||(ae=[ne(window,"keypress",t[4]),ne(o,"click",t[3]),ne(x,"click",$u(t[7])),ne(ee,"click",t[8]),ne(me,"click",t[9])],Ue=!0)},p(J,[le]){var Ye,Je,Ve;(!Ie||le&1)&&e!==(e=(((Ye=J[0].table)==null?void 0:Ye.name)||"Loading…")+" | platformOS")&&(Uu.title=e),(!Ie||le&4)&&ze(o,"refreshing",J[2]);let re=v;v=mu(J),v!==re&&(we(),q(We[re],1,1,()=>{We[re]=null}),$e(),F=We[v],F||(F=We[v]=ku[v](J),F.c()),z(F,1),F.m(u,C));const ge={};le&1&&(ge.max=(Je=J[0].records)==null?void 0:Je.total_pages),!W&&le&1&&(W=!0,ge.value=J[0].filters.page,It(()=>W=!1)),j.$set(ge),(!Ie||le&1)&&p!==(p=(((Ve=J[0].records)==null?void 0:Ve.total_pages)||1)+"")&&ve(S,p),J[0].view.database!=="tiles"?M?(M.p(J,le),le&1&&z(M,1)):(M=gt(J),M.c(),z(M,1),M.m(Y,fe)):M&&(we(),q(M,1,1,()=>{M=null}),$e()),(!Ie||le&1&&uu!==(uu=J[0].view.database==="table"))&&(ee.disabled=uu),(!Ie||le&1)&&ze(ee,"active",J[0].view.database==="table"),(!Ie||le&1&&ou!==(ou=J[0].view.database==="tiles"))&&(me.disabled=ou),(!Ie||le&1)&&ze(me,"active",J[0].view.database==="tiles"),J[0].record!==null?R?(R.p(J,le),le&1&&z(R,1)):(R=Bt(J),R.c(),z(R,1),R.m(tu.parentNode,tu)):R&&(we(),q(R,1,1,()=>{R=null}),$e())},i(J){Ie||(z(n.$$.fragment,J),z(s.$$.fragment,J),z(E.$$.fragment,J),z(F),z(j.$$.fragment,J),z(oe.$$.fragment,J),z(M),z(Ae.$$.fragment,J),z(je.$$.fragment,J),z(R),Ie=!0)},o(J){q(n.$$.fragment,J),q(s.$$.fragment,J),q(E.$$.fragment,J),q(F),q(j.$$.fragment,J),q(oe.$$.fragment,J),q(M),q(Ae.$$.fragment,J),q(je.$$.fragment,J),q(R),Ie=!1},d(J){J&&(_(l),_(u),_(Eu),_(tu)),Ee(n),Ee(s),Ee(E),We[v].d(),Ee(j),Ee(oe),M&&M.d(),Ee(Ae),Ee(je),R&&R.d(J),Ue=!1,hu(ae)}}}function Rl(t,e,l){let u,r;eu(t,K,E=>l(0,u=E)),eu(t,Hu,E=>l(1,r=E));let n=!1;const a=()=>{l(2,n=!0),Re.get({table:r.params.id,filters:u.filters,sort:u.sort}).then(()=>l(2,n=!1))},s=E=>{document.activeElement===document.body&&!E.target.matches("input, textarea")&&E.key==="r"&&a()};function i(E){t.$$.not_equal(u.filters.page,E)&&(u.filters.page=E,K.set(u))}const o=()=>{Re.get({table:r.params.id,filters:u.filters,sort:u.sort})},c=()=>Se(K,u.record={},u),A=()=>Se(K,u.view.database="table",u),m=()=>Se(K,u.view.database="tiles",u);return t.$$.update=()=>{t.$$.dirty&3&&Se(K,u.table=u.tables.filter(E=>E.id===r.params.id)[0],u),t.$$.dirty&2&&r.params.id&&Re.get({table:r.params.id})&&K.clearFilters(),t.$$.dirty&2&&r.params.id&&K.clearFilters()},[u,r,n,a,s,i,o,c,A,m]}class tr extends Cu{constructor(e){super(),pu(this,e,Rl,ql,_u,{})}}export{tr as component}; + Delete record`),F.forEach(_),v.forEach(_),this.h()},h(){f(l,"type","hidden"),f(l,"name","tableName"),l.value=u=t[0].name,f(n,"type","hidden"),f(n,"name","recordId"),n.value=t[1],f(i,"class","svelte-ooaugn"),f(s,"class","danger")},m($,v){P($,e,v),d(e,l),d(e,r),d(e,n),d(e,a),d(e,s),d(s,i),Fe(o,i,null),d(s,c),t[4](e),A=!0,m||(E=ne(e,"submit",t[3]),m=!0)},p($,[v]){(!A||v&1&&u!==(u=$[0].name))&&(l.value=u),(!A||v&2)&&(n.value=$[1])},i($){A||(z(o.$$.fragment,$),A=!0)},o($){q(o.$$.fragment,$),A=!1},d($){$&&_(e),Ee(o),t[4](null),m=!1,E()}}}function Fl(t,e,l){let u,r;eu(t,K,c=>l(5,u=c)),eu(t,Hu,c=>l(6,r=c));let{table:n}=e,{id:a}=e,s;const i=async c=>{if(c.preventDefault(),confirm("Are you sure you want to delete this record?")){const A=await Re.delete({table:n.name,properties:new FormData(s)});A.errors?K.notification.create("error",`Record ${A.record_delete.id} could not be deleted`):(Re.get({table:r.params.id,filters:u.filters,sort:u.sort}),K.notification.create("success",`Record ${A.record_delete.id} deleted`))}};function o(c){Au[c?"unshift":"push"](()=>{s=c,l(2,s)})}return t.$$set=c=>{"table"in c&&l(0,n=c.table),"id"in c&&l(1,a=c.id)},[n,a,s,i,o]}class El extends Cu{constructor(e){super(),pu(this,e,Fl,pl,_u,{table:0,id:1})}}function it(t,e,l){const u=t.slice();return u[6]=e[l],u}function st(t,e,l){const u=t.slice();u[9]=e[l];const r=$t(u[6].properties[u[9].name],u[9].attribute_type);return u[10]=r,u}function ot(t,e,l){const u=t.slice();return u[9]=e[l],u}function Dt(t){var h,y;let e,l,u,r,n="id",a,s,i,o="created at",c,A,m="updated at",E,$,v,F=ye(t[1].table.properties),C=[];for(let k=0;k{D=null}),$e()),(!v||I&2&&$!==($=Xu(k[1].view.tableStyle)+" svelte-x72ehk"))&&f(e,"class",$)},i(k){v||(z(D),v=!0)},o(k){q(D),v=!1},d(k){k&&_(e),nu(C,k),D&&D.d()}}}function ct(t){let e,l=t[9].name+"",u,r,n,a,s=t[9].attribute_type+"",i,o;return{c(){e=g("th"),u=ue(l),r=L(),n=g("small"),a=ue("("),i=ue(s),o=ue(")"),this.h()},l(c){e=B(c,"TH",{class:!0});var A=O(e);u=te(A,l),r=V(A),n=B(A,"SMALL",{class:!0});var m=O(n);a=te(m,"("),i=te(m,s),o=te(m,")"),m.forEach(_),A.forEach(_),this.h()},h(){f(n,"class","type svelte-x72ehk"),f(e,"class","svelte-x72ehk")},m(c,A){P(c,e,A),d(e,u),d(e,r),d(e,n),d(n,a),d(n,i),d(n,o)},p(c,A){A&2&&l!==(l=c[9].name+"")&&ve(u,l),A&2&&s!==(s=c[9].attribute_type+"")&&ve(i,s)},d(c){c&&_(e)}}}function ft(t){var s;let e=[],l=new Map,u,r,n=ye((s=t[1].records)==null?void 0:s.results);const a=i=>i[6].id;for(let i=0;i{a[c]=null}),$e(),l=a[e],l?l.p(i,o):(l=a[e]=n[e](i),l.c()),z(l,1),l.m(u.parentNode,u))},i(i){r||(z(l),r=!0)},o(i){q(l),r=!1},d(i){i&&_(u),a[e].d(i)}}}function ml(t){let e=JSON.stringify(t[10].value)+"",l;return{c(){l=ue(e)},l(u){l=te(u,e)},m(u,r){P(u,l,r)},p(u,r){r&2&&e!==(e=JSON.stringify(u[10].value)+"")&&ve(l,e)},i:Pe,o:Pe,d(u){u&&_(l)}}}function vl(t){let e,l;return e=new Ut({props:{value:t[10].value}}),{c(){Ce(e.$$.fragment)},l(u){pe(e.$$.fragment,u)},m(u,r){Fe(e,u,r),l=!0},p(u,r){const n={};r&2&&(n.value=u[10].value),e.$set(n)},i(u){l||(z(e.$$.fragment,u),l=!0)},o(u){q(e.$$.fragment,u),l=!1},d(u){Ee(e,u)}}}function dt(t){let e,l,u,r;const n=[hl,Al],a=[];function s(i,o){return i[10].type==="json"||i[10].type==="jsonEscaped"?0:1}return l=s(t),u=a[l]=n[l](t),{c(){e=g("td"),u.c(),this.h()},l(i){e=B(i,"TD",{class:!0});var o=O(e);u.l(o),o.forEach(_),this.h()},h(){f(e,"class","svelte-x72ehk"),ze(e,"value-null",t[10].type==="null")},m(i,o){P(i,e,o),a[l].m(e,null),r=!0},p(i,o){let c=l;l=s(i),l===c?a[l].p(i,o):(we(),q(a[c],1,1,()=>{a[c]=null}),$e(),u=a[l],u?u.p(i,o):(u=a[l]=n[l](i),u.c()),z(u,1),u.m(e,null)),(!r||o&2)&&ze(e,"value-null",i[10].type==="null")},i(i){r||(z(u),r=!0)},o(i){q(u),r=!1},d(i){i&&_(e),a[l].d()}}}function _t(t,e){var We,mu,Nu,vu;let l,u,r,n,a,s,i="More options",o,c,A,m,E,$="Edit record",v,F,C,D,h,y,k,I,j,W,w,p,S,U=e[6].id+"",Z,x,oe,T,H=new Date((We=e[6])==null?void 0:We.created_at).toLocaleDateString(void 0,{})+"",N,Y,fe,de=new Date((mu=e[6])==null?void 0:mu.created_at).toLocaleTimeString(void 0,{})+"",ee,Ae,_e,Oe=new Date((Nu=e[6])==null?void 0:Nu.updated_at).toLocaleDateString(void 0,{})+"",iu,uu,Me,me=new Date((vu=e[6])==null?void 0:vu.updated_at).toLocaleTimeString(void 0,{})+"",je,su,be,Fu,ou;c=new Te({props:{icon:"navigationMenuVertical",size:"16"}});function Eu(){return e[2](e[6])}F=new Te({props:{icon:"pencil",size:"16"}});function tu(){return e[3](e[6])}I=new Te({props:{icon:"copy",size:"22"}});function Ie(){return e[4](e[6])}p=new El({props:{table:e[1].table,id:e[6].id}});let Ue=ye(e[1].table.properties),ae=[];for(let M=0;Mq(ae[M],1,1,()=>{ae[M]=null});return{key:t,first:null,c(){l=g("tr"),u=g("td"),r=g("div"),n=g("div"),a=g("button"),s=g("span"),s.textContent=i,o=L(),Ce(c.$$.fragment),A=L(),m=g("button"),E=g("span"),E.textContent=$,v=L(),Ce(F.$$.fragment),C=L(),D=g("menu"),h=g("ul"),y=g("li"),k=g("button"),Ce(I.$$.fragment),j=ue(`\r + Copy record`),W=L(),w=g("li"),Ce(p.$$.fragment),S=L(),Z=ue(U),x=L();for(let M=0;M{u=null}),$e())},i(n){l||(z(u),l=!0)},o(n){q(u),l=!1},d(n){n&&_(e),u&&u.d(n)}}}function gl(t,e,l){let u;eu(t,K,o=>l(1,u=o));let r={id:null};return[r,u,o=>l(0,r.id=o.id,r),o=>{Se(K,u.record=o,u)},o=>{Se(K,u.record={...o},u),Se(K,u.record.id=null,u)},()=>l(0,r.id=null,r)]}class Bl extends Cu{constructor(e){super(),pu(this,e,gl,bl,_u,{})}}var yu=new Map;function yl(t){var e=yu.get(t);e&&e.destroy()}function wl(t){var e=yu.get(t);e&&e.update()}var gu=null;typeof window>"u"?((gu=function(t){return t}).destroy=function(t){return t},gu.update=function(t){return t}):((gu=function(t,e){return t&&Array.prototype.forEach.call(t.length?t:[t],function(l){return function(u){if(u&&u.nodeName&&u.nodeName==="TEXTAREA"&&!yu.has(u)){var r,n=null,a=window.getComputedStyle(u),s=(r=u.value,function(){o({testForHeightReduction:r===""||!u.value.startsWith(r),restoreTextAlign:null}),r=u.value}),i=(function(A){u.removeEventListener("autosize:destroy",i),u.removeEventListener("autosize:update",c),u.removeEventListener("input",s),window.removeEventListener("resize",c),Object.keys(A).forEach(function(m){return u.style[m]=A[m]}),yu.delete(u)}).bind(u,{height:u.style.height,resize:u.style.resize,textAlign:u.style.textAlign,overflowY:u.style.overflowY,overflowX:u.style.overflowX,wordWrap:u.style.wordWrap});u.addEventListener("autosize:destroy",i),u.addEventListener("autosize:update",c),u.addEventListener("input",s),window.addEventListener("resize",c),u.style.overflowX="hidden",u.style.wordWrap="break-word",yu.set(u,{destroy:i,update:c}),c()}function o(A){var m,E,$=A.restoreTextAlign,v=$===void 0?null:$,F=A.testForHeightReduction,C=F===void 0||F,D=a.overflowY;if(u.scrollHeight!==0&&(a.resize==="vertical"?u.style.resize="none":a.resize==="both"&&(u.style.resize="horizontal"),C&&(m=function(y){for(var k=[];y&&y.parentNode&&y.parentNode instanceof Element;)y.parentNode.scrollTop&&k.push([y.parentNode,y.parentNode.scrollTop]),y=y.parentNode;return function(){return k.forEach(function(I){var j=I[0],W=I[1];j.style.scrollBehavior="auto",j.scrollTop=W,j.style.scrollBehavior=null})}}(u),u.style.height=""),E=a.boxSizing==="content-box"?u.scrollHeight-(parseFloat(a.paddingTop)+parseFloat(a.paddingBottom)):u.scrollHeight+parseFloat(a.borderTopWidth)+parseFloat(a.borderBottomWidth),a.maxHeight!=="none"&&E>parseFloat(a.maxHeight)?(a.overflowY==="hidden"&&(u.style.overflow="scroll"),E=parseFloat(a.maxHeight)):a.overflowY!=="hidden"&&(u.style.overflow="hidden"),u.style.height=E+"px",v&&(u.style.textAlign=v),m&&m(),n!==E&&(u.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),n=E),D!==a.overflow&&!v)){var h=a.textAlign;a.overflow==="hidden"&&(u.style.textAlign=h==="start"?"end":"start"),o({restoreTextAlign:h,testForHeightReduction:!0})}}function c(){o({testForHeightReduction:!0,restoreTextAlign:null})}}(l)}),t}).destroy=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],yl),t},gu.update=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],wl),t});var Lu=gu;const Wu=t=>(Lu(t),{destroy(){Lu.destroy(t)}});Wu.update=Lu.update;Wu.destroy=Lu.destroy;function Ct(t){let e,l,u=!1,r,n,a,s=t[1][0].label+"",i,o,c,A,m,E,$,v,F=!1,C,D,h,y=t[1][1].label+"",k,I,j,W,w;return j=kt(t[5][0]),{c(){e=g("input"),n=L(),a=g("label"),i=ue(s),c=L(),A=g("label"),E=L(),$=g("input"),D=L(),h=g("label"),k=ue(y),this.h()},l(p){e=B(p,"INPUT",{type:!0,name:!0,id:!0,class:!0}),n=V(p),a=B(p,"LABEL",{for:!0,class:!0});var S=O(a);i=te(S,s),S.forEach(_),c=V(p),A=B(p,"LABEL",{for:!0,class:!0}),O(A).forEach(_),E=V(p),$=B(p,"INPUT",{type:!0,name:!0,id:!0,class:!0}),D=V(p),h=B(p,"LABEL",{for:!0,class:!0});var U=O(h);k=te(U,y),U.forEach(_),this.h()},h(){f(e,"type","radio"),f(e,"name",t[0]),e.__value=l=t[1][0].value,se(e,e.__value),f(e,"id",r="toggle-"+t[0]+"-"+t[1][0].value),f(e,"class","svelte-1dpe1av"),f(a,"for",o="toggle-"+t[0]+"-"+t[1][0].value),f(a,"class","svelte-1dpe1av"),f(A,"for",m="toggle-"+t[0]+"-"+(t[2]===t[1][0].value?t[1][1].value:t[1][0].value)),f(A,"class","switcher svelte-1dpe1av"),f($,"type","radio"),f($,"name",t[0]),$.__value=v=t[1][1].value,se($,$.__value),f($,"id",C="toggle-"+t[0]+"-"+t[1][1].value),f($,"class","svelte-1dpe1av"),f(h,"for",I="toggle-"+t[0]+"-"+t[1][1].value),f(h,"class","svelte-1dpe1av"),j.p(e,$)},m(p,S){P(p,e,S),e.checked=e.__value===t[2],P(p,n,S),P(p,a,S),d(a,i),P(p,c,S),P(p,A,S),P(p,E,S),P(p,$,S),$.checked=$.__value===t[2],P(p,D,S),P(p,h,S),d(h,k),W||(w=[ne(e,"change",t[4]),ne(e,"keydown",t[6]),ne($,"change",t[7]),ne($,"keydown",t[8])],W=!0)},p(p,S){S&1&&f(e,"name",p[0]),S&2&&l!==(l=p[1][0].value)&&(e.__value=l,se(e,e.__value),u=!0),S&3&&r!==(r="toggle-"+p[0]+"-"+p[1][0].value)&&f(e,"id",r),(u||S&4)&&(e.checked=e.__value===p[2]),S&2&&s!==(s=p[1][0].label+"")&&ve(i,s),S&3&&o!==(o="toggle-"+p[0]+"-"+p[1][0].value)&&f(a,"for",o),S&7&&m!==(m="toggle-"+p[0]+"-"+(p[2]===p[1][0].value?p[1][1].value:p[1][0].value))&&f(A,"for",m),S&1&&f($,"name",p[0]),S&2&&v!==(v=p[1][1].value)&&($.__value=v,se($,$.__value),F=!0),S&3&&C!==(C="toggle-"+p[0]+"-"+p[1][1].value)&&f($,"id",C),(F||S&4)&&($.checked=$.__value===p[2]),S&2&&y!==(y=p[1][1].label+"")&&ve(k,y),S&3&&I!==(I="toggle-"+p[0]+"-"+p[1][1].value)&&f(h,"for",I)},d(p){p&&(_(e),_(n),_(a),_(c),_(A),_(E),_($),_(D),_(h)),j.r(),W=!1,hu(w)}}}function $l(t){let e,l=t[1].length===2&&Ct(t);return{c(){e=g("div"),l&&l.c(),this.h()},l(u){e=B(u,"DIV",{class:!0});var r=O(e);l&&l.l(r),r.forEach(_),this.h()},h(){f(e,"class","toggle svelte-1dpe1av")},m(u,r){P(u,e,r),l&&l.m(e,null)},p(u,[r]){u[1].length===2?l?l.p(u,r):(l=Ct(u),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Pe,o:Pe,d(u){u&&_(e),l&&l.d()}}}function kl(t,e,l){let{name:u}=e,{options:r=[]}=e,{checked:n=r[0].value}=e,a=(" "+n).slice(1);const s=[[]];function i(){a=this.__value,l(2,a)}const o=m=>{m.code==="Space"&&(m.preventDefault(),l(2,a=a===r[0].value?r[1].value:r[0].value))};function c(){a=this.__value,l(2,a)}const A=m=>{m.code==="Space"&&(m.preventDefault(),l(2,a=a===r[0].value?r[1].value:r[0].value))};return t.$$set=m=>{"name"in m&&l(0,u=m.name),"options"in m&&l(1,r=m.options),"checked"in m&&l(3,n=m.checked)},[u,r,a,n,i,s,o,c,A]}class Nl extends Cu{constructor(e){super(),pu(this,e,kl,$l,_u,{name:0,options:1,checked:3})}}function pt(t,e,l){const u=t.slice();return u[13]=e[l],u}function Ft(t,e,l){const u=t.slice();u[16]=e[l];const r=u[1].properties?$t(u[1].properties[u[16].name],u[16].attribute_type):{type:u[16].attribute_type,value:""};return u[17]=r,u}function Et(t){let e,l;return{c(){e=g("input"),this.h()},l(u){e=B(u,"INPUT",{type:!0,name:!0}),this.h()},h(){f(e,"type","hidden"),f(e,"name","recordId"),e.value=l=t[1].id},m(u,r){P(u,e,r)},p(u,r){r&2&&l!==(l=u[1].id)&&(e.value=l)},d(u){u&&_(e)}}}function Sl(t){let e=t[16].attribute_type+"",l,u,r,n,a;return{c(){l=ue(e),u=L(),r=g("input"),this.h()},l(s){l=te(s,e),u=V(s),r=B(s,"INPUT",{type:!0,name:!0}),this.h()},h(){f(r,"type","hidden"),f(r,"name",n=t[16].name+"[type]"),r.value=a=t[16].attribute_type},m(s,i){P(s,l,i),P(s,u,i),P(s,r,i)},p(s,i){i&1&&e!==(e=s[16].attribute_type+"")&&ve(l,e),i&1&&n!==(n=s[16].name+"[type]")&&f(r,"name",n),i&1&&a!==(a=s[16].attribute_type)&&(r.value=a)},i:Pe,o:Pe,d(s){s&&(_(l),_(u),_(r))}}}function Tl(t){let e,l;return e=new Nl({props:{name:t[16].name+"[type]",options:[{value:"string",label:"string"},{value:"json",label:"json"}],checked:t[17].type==="json"?"json":"string"}}),{c(){Ce(e.$$.fragment)},l(u){pe(e.$$.fragment,u)},m(u,r){Fe(e,u,r),l=!0},p(u,r){const n={};r&1&&(n.name=u[16].name+"[type]"),r&3&&(n.checked=u[17].type==="json"?"json":"string"),e.$set(n)},i(u){l||(z(e.$$.fragment,u),l=!0)},o(u){q(e.$$.fragment,u),l=!1},d(u){Ee(e,u)}}}function At(t){let e;return{c(){e=ue("(non editable)")},l(l){e=te(l,"(non editable)")},m(l,u){P(l,e,u)},d(l){l&&_(e)}}}function ht(t){let e=t[5][t[16].name].message+"",l;return{c(){l=ue(e)},l(u){l=te(u,e)},m(u,r){P(u,l,r)},p(u,r){r&33&&e!==(e=u[5][u[16].name].message+"")&&ve(l,e)},d(u){u&&_(l)}}}function mt(t){let e,l,u,r=t[16].name+"",n,a,s,i,o,c,A,m,E,$,v,F,C,D,h,y,k,I,j,W,w,p,S,U;const Z=[Tl,Sl],x=[];function oe(N,Y){return N[16].attribute_type==="string"?0:1}o=oe(t),c=x[o]=Z[o](t);let T=t[16].attribute_type==="upload"&&At(),H=t[5][t[16].name]&&ht(t);return{c(){e=g("fieldset"),l=g("dir"),u=g("label"),n=ue(r),a=g("br"),s=L(),i=g("div"),c.c(),A=L(),T&&T.c(),m=L(),E=g("input"),C=L(),D=g("div"),h=g("textarea"),W=L(),w=g("div"),H&&H.c(),this.h()},l(N){e=B(N,"FIELDSET",{class:!0});var Y=O(e);l=B(Y,"DIR",{});var fe=O(l);u=B(fe,"LABEL",{for:!0,class:!0});var de=O(u);n=te(de,r),a=B(de,"BR",{}),s=V(de),i=B(de,"DIV",{class:!0});var ee=O(i);c.l(ee),A=V(ee),T&&T.l(ee),m=V(ee),E=B(ee,"INPUT",{type:!0,name:!0}),ee.forEach(_),de.forEach(_),fe.forEach(_),C=V(Y),D=B(Y,"DIV",{});var Ae=O(D);h=B(Ae,"TEXTAREA",{rows:!0,name:!0,id:!0,class:!0}),O(h).forEach(_),W=V(Ae),w=B(Ae,"DIV",{role:!0,class:!0});var _e=O(w);H&&H.l(_e),_e.forEach(_),Ae.forEach(_),Y.forEach(_),this.h()},h(){f(E,"type","hidden"),f(E,"name",$=t[16].name+"[parsedType]"),E.value=v=t[17].type,f(i,"class","type svelte-yslxja"),f(u,"for",F="edit_"+t[16].name),f(u,"class","svelte-yslxja"),f(h,"rows","1"),f(h,"name",y=t[16].name+"[value]"),f(h,"id",k="edit_"+t[16].name),h.disabled=I=t[16].attribute_type==="upload",h.value=j=t[17].type==="json"||t[17].type==="jsonEscaped"&&!bt?JSON.stringify(t[17].value,void 0,2):t[17].value,f(h,"class","svelte-yslxja"),f(w,"role","alert"),f(w,"class","svelte-yslxja"),f(e,"class","svelte-yslxja")},m(N,Y){P(N,e,Y),d(e,l),d(l,u),d(u,n),d(u,a),d(u,s),d(u,i),x[o].m(i,null),d(i,A),T&&T.m(i,null),d(i,m),d(i,E),d(e,C),d(e,D),d(D,h),d(D,W),d(D,w),H&&H.m(w,null),p=!0,S||(U=St(Wu.call(null,h)),S=!0)},p(N,Y){(!p||Y&1)&&r!==(r=N[16].name+"")&&ve(n,r);let fe=o;o=oe(N),o===fe?x[o].p(N,Y):(we(),q(x[fe],1,1,()=>{x[fe]=null}),$e(),c=x[o],c?c.p(N,Y):(c=x[o]=Z[o](N),c.c()),z(c,1),c.m(i,A)),N[16].attribute_type==="upload"?T||(T=At(),T.c(),T.m(i,m)):T&&(T.d(1),T=null),(!p||Y&1&&$!==($=N[16].name+"[parsedType]"))&&f(E,"name",$),(!p||Y&3&&v!==(v=N[17].type))&&(E.value=v),(!p||Y&1&&F!==(F="edit_"+N[16].name))&&f(u,"for",F),(!p||Y&1&&y!==(y=N[16].name+"[value]"))&&f(h,"name",y),(!p||Y&1&&k!==(k="edit_"+N[16].name))&&f(h,"id",k),(!p||Y&1&&I!==(I=N[16].attribute_type==="upload"))&&(h.disabled=I),(!p||Y&3&&j!==(j=N[17].type==="json"||N[17].type==="jsonEscaped"&&!bt?JSON.stringify(N[17].value,void 0,2):N[17].value))&&(h.value=j),N[5][N[16].name]?H?H.p(N,Y):(H=ht(N),H.c(),H.m(w,null)):H&&(H.d(1),H=null)},i(N){p||(z(c),p=!0)},o(N){q(c),p=!1},d(N){N&&_(e),x[o].d(),T&&T.d(),H&&H.d(),S=!1,U()}}}function vt(t){let e,l=JSON.stringify(t[4])+"",u,r;return{c(){e=g("li"),u=ue(l),r=L(),this.h()},l(n){e=B(n,"LI",{class:!0});var a=O(e);u=te(a,l),r=V(a),a.forEach(_),this.h()},h(){f(e,"class","svelte-yslxja")},m(n,a){P(n,e,a),d(e,u),d(e,r)},p(n,a){a&16&&l!==(l=JSON.stringify(n[4])+"")&&ve(u,l)},d(n){n&&_(e)}}}function Ol(t){let e;return{c(){e=ue("Create record")},l(l){e=te(l,"Create record")},m(l,u){P(l,e,u)},d(l){l&&_(e)}}}function Il(t){let e;return{c(){e=ue("Edit record")},l(l){e=te(l,"Edit record")},m(l,u){P(l,e,u)},d(l){l&&_(e)}}}function Pl(t){let e,l,u,r,n,a,s,i,o,c,A,m,E,$="Cancel",v,F,C,D,h,y,k,I,j=t[1].id&&Et(t),W=ye(t[0]),w=[];for(let T=0;Tq(w[T],1,1,()=>{w[T]=null});let S=ye(t[4]),U=[];for(let T=0;T{y&&(h||(h=Zu(e,t[7],{},!0)),h.run(1))}),y=!0}},o(T){w=w.filter(Boolean);for(let H=0;Hl(6,u=F)),eu(t,Hu,F=>l(12,r=F));let{properties:n}=e,{editing:a}=e,s,i,o=[],c={};const A=function(F,{delay:C=0,duration:D=150}){return{delay:C,duration:D,css:h=>{const y=Jt(h);return`opacity: ${y}; transform: scale(${y});`}}};Nt(()=>{setTimeout(()=>{s.showModal()},10)}),document.addEventListener("keydown",F=>{F.key==="Escape"&&(F.preventDefault(),Se(K,u.record=null,u))},{once:!0});const m=async F=>{F.preventDefault();const C=new FormData(i);l(5,c={});for(const D of C.entries())if(D[0].endsWith("[type]")&&D[1]==="json"){const h=D[0].replace("[type]","");Iu(C.get(h+"[value]"))||l(5,c[h]={property:h,message:"Not a valid JSON"},c)}if(Object.keys(c).length)await Tt(),document.querySelector('[role="alert"]:not(:empty)').scrollIntoView({behavior:"smooth",block:"center"});else if(u.record.id){const D=await Re.edit({table:u.table.name,id:u.record.id,properties:C});D.errors?l(4,o=D.errors):(Re.get({table:r.params.id,filters:u.filters,sort:u.sort}),K.highlight("record",D.model_update.id),K.notification.create("success",`Record ${D.model_update.id} updated`),Se(K,u.record=null,u))}else{const D=await Re.create({table:u.table.name,properties:C});D.errors?l(4,o=D.errors):(K.clearFilters(),Re.get({table:r.params.id,filters:u.filters,sort:u.sort}),K.highlight("record",D.model_create.id),K.notification.create("success",`Record ${D.model_create.id} created`),Se(K,u.record=null,u))}},E=()=>Se(K,u.record=null,u);function $(F){Au[F?"unshift":"push"](()=>{i=F,l(3,i)})}function v(F){Au[F?"unshift":"push"](()=>{s=F,l(2,s)})}return t.$$set=F=>{"properties"in F&&l(0,n=F.properties),"editing"in F&&l(1,a=F.editing)},[n,a,s,i,o,c,u,A,m,E,$,v]}class Ll extends Cu{constructor(e){super(),pu(this,e,jl,Pl,_u,{properties:0,editing:1})}}const{document:Uu}=Lt;function Vl(t){let e;return{c(){e=ue("Work in progress :)")},l(l){e=te(l,"Work in progress :)")},m(l,u){P(l,e,u)},i:Pe,o:Pe,d(l){l&&_(e)}}}function zl(t){let e,l;return e=new Bl({}),{c(){Ce(e.$$.fragment)},l(u){pe(e.$$.fragment,u)},m(u,r){Fe(e,u,r),l=!0},i(u){l||(z(e.$$.fragment,u),l=!0)},o(u){q(e.$$.fragment,u),l=!1},d(u){Ee(e,u)}}}function gt(t){let e,l,u,r,n,a,s;const i=[Jl,Ul],o=[];function c(A,m){return A[0].view.tableStyle==="collapsed"?0:1}return l=c(t),u=o[l]=i[l](t),{c(){e=g("button"),u.c(),this.h()},l(A){e=B(A,"BUTTON",{class:!0,title:!0});var m=O(e);u.l(m),m.forEach(_),this.h()},h(){f(e,"class","button"),f(e,"title",r=t[0].view.tableStyle==="expanded"?"Collapse values":"Expand values")},m(A,m){P(A,e,m),o[l].m(e,null),n=!0,a||(s=ne(e,"click",$u(function(){Pt(t[0].view.tableStyle==="collapsed"?K.setView({tableStyle:"expanded"}):K.setView({tableStyle:"collapsed"}))&&(t[0].view.tableStyle==="collapsed"?K.setView({tableStyle:"expanded"}):K.setView({tableStyle:"collapsed"})).apply(this,arguments)})),a=!0)},p(A,m){t=A;let E=l;l=c(t),l!==E&&(we(),q(o[E],1,1,()=>{o[E]=null}),$e(),u=o[l],u||(u=o[l]=i[l](t),u.c()),z(u,1),u.m(e,null)),(!n||m&1&&r!==(r=t[0].view.tableStyle==="expanded"?"Collapse values":"Expand values"))&&f(e,"title",r)},i(A){n||(z(u),n=!0)},o(A){q(u),n=!1},d(A){A&&_(e),o[l].d(),a=!1,s()}}}function Ul(t){let e,l="Collapse values",u,r,n;return r=new Te({props:{icon:"collapse"}}),{c(){e=g("span"),e.textContent=l,u=L(),Ce(r.$$.fragment),this.h()},l(a){e=B(a,"SPAN",{class:!0,"data-svelte-h":!0}),ie(e)!=="svelte-jserey"&&(e.textContent=l),u=V(a),pe(r.$$.fragment,a),this.h()},h(){f(e,"class","label")},m(a,s){P(a,e,s),P(a,u,s),Fe(r,a,s),n=!0},i(a){n||(z(r.$$.fragment,a),n=!0)},o(a){q(r.$$.fragment,a),n=!1},d(a){a&&(_(e),_(u)),Ee(r,a)}}}function Jl(t){let e,l="Expand values",u,r,n;return r=new Te({props:{icon:"expand"}}),{c(){e=g("span"),e.textContent=l,u=L(),Ce(r.$$.fragment),this.h()},l(a){e=B(a,"SPAN",{class:!0,"data-svelte-h":!0}),ie(e)!=="svelte-1tvmrgx"&&(e.textContent=l),u=V(a),pe(r.$$.fragment,a),this.h()},h(){f(e,"class","label")},m(a,s){P(a,e,s),P(a,u,s),Fe(r,a,s),n=!0},i(a){n||(z(r.$$.fragment,a),n=!0)},o(a){q(r.$$.fragment,a),n=!1},d(a){a&&(_(e),_(u)),Ee(r,a)}}}function Bt(t){let e,l;return e=new Ll({props:{properties:t[0].table.properties,editing:t[0].record}}),{c(){Ce(e.$$.fragment)},l(u){pe(e.$$.fragment,u)},m(u,r){Fe(e,u,r),l=!0},p(u,r){const n={};r&1&&(n.properties=u[0].table.properties),r&1&&(n.editing=u[0].record),e.$set(n)},i(u){l||(z(e.$$.fragment,u),l=!0)},o(u){q(e.$$.fragment,u),l=!1},d(u){Ee(e,u)}}}function ql(t){var Ne,Le,Xe;let e,l,u,r,n,a,s,i,o,c,A="Refresh current view",m,E,$,v,F,C,D,h,y,k="Page:",I,j,W,w,p=(((Ne=t[0].records)==null?void 0:Ne.total_pages)||1)+"",S,U,Z,x,oe,T,H,N="Create new record",Y,fe,de,ee,Ae,_e,Oe,iu="Table view",uu,Me,me,je,su,be,Fu="Tiles view",ou,Eu,tu,Ie,Ue,ae;Uu.title=e=(((Le=t[0].table)==null?void 0:Le.name)||"Loading…")+" | platformOS",n=new Dl({}),s=new Cl({}),E=new Te({props:{icon:"refresh"}});const ku=[zl,Vl],We=[];function mu(J,le){return J[0].view.database!=="tiles"?0:1}v=mu(t),F=We[v]=ku[v](t);function Nu(J){t[5](J)}let vu={name:"page",min:1,max:(Xe=t[0].records)==null?void 0:Xe.total_pages,step:1,decreaseLabel:"Previous page",increaseLabel:"Next page",style:"navigation"};t[0].filters.page!==void 0&&(vu.value=t[0].filters.page),j=new qt({props:vu}),Au.push(()=>jt(j,"value",Nu)),j.$on("input",t[6]),oe=new Te({props:{icon:"plus"}});let M=t[0].view.database!=="tiles"&>(t);Ae=new Te({props:{icon:"list"}}),je=new Te({props:{icon:"tiles"}});let R=t[0].record!==null&&Bt(t);return{c(){l=L(),u=g("section"),r=g("nav"),Ce(n.$$.fragment),a=L(),Ce(s.$$.fragment),i=L(),o=g("button"),c=g("span"),c.textContent=A,m=L(),Ce(E.$$.fragment),$=L(),F.c(),C=L(),D=g("nav"),h=g("div"),y=g("label"),y.textContent=k,I=L(),Ce(j.$$.fragment),w=ue(` + of `),S=ue(p),U=L(),Z=g("div"),x=g("button"),Ce(oe.$$.fragment),T=L(),H=g("span"),H.textContent=N,Y=L(),M&&M.c(),fe=L(),de=g("div"),ee=g("button"),Ce(Ae.$$.fragment),_e=L(),Oe=g("span"),Oe.textContent=iu,Me=L(),me=g("button"),Ce(je.$$.fragment),su=L(),be=g("span"),be.textContent=Fu,Eu=L(),R&&R.c(),tu=Ye(),this.h()},l(J){Ot("svelte-1x9pzx",Uu.head).forEach(_),l=V(J),u=B(J,"SECTION",{class:!0});var re=O(u);r=B(re,"NAV",{class:!0});var ge=O(r);pe(n.$$.fragment,ge),a=V(ge),pe(s.$$.fragment,ge),i=V(ge),o=B(ge,"BUTTON",{class:!0,title:!0});var Ze=O(o);c=B(Ze,"SPAN",{class:!0,"data-svelte-h":!0}),ie(c)!=="svelte-iqo23s"&&(c.textContent=A),m=V(Ze),pe(E.$$.fragment,Ze),Ze.forEach(_),ge.forEach(_),$=V(re),F.l(re),C=V(re),D=B(re,"NAV",{class:!0});var Je=O(D);h=B(Je,"DIV",{});var Ve=O(h);y=B(Ve,"LABEL",{for:!0,"data-svelte-h":!0}),ie(y)!=="svelte-1r8oyu6"&&(y.textContent=k),I=V(Ve),pe(j.$$.fragment,Ve),w=te(Ve,` + of `),S=te(Ve,p),Ve.forEach(_),U=V(Je),Z=B(Je,"DIV",{id:!0,class:!0});var qe=O(Z);x=B(qe,"BUTTON",{class:!0,title:!0});var Du=O(x);pe(oe.$$.fragment,Du),T=V(Du),H=B(Du,"SPAN",{class:!0,"data-svelte-h":!0}),ie(H)!=="svelte-19x6y3e"&&(H.textContent=N),Du.forEach(_),Y=V(qe),M&&M.l(qe),fe=V(qe),de=B(qe,"DIV",{class:!0});var Ke=O(de);ee=B(Ke,"BUTTON",{class:!0,title:!0});var cu=O(ee);pe(Ae.$$.fragment,cu),_e=V(cu),Oe=B(cu,"SPAN",{class:!0,"data-svelte-h":!0}),ie(Oe)!=="svelte-glgsbm"&&(Oe.textContent=iu),cu.forEach(_),Me=V(Ke),me=B(Ke,"BUTTON",{class:!0,title:!0});var lu=O(me);pe(je.$$.fragment,lu),su=V(lu),be=B(lu,"SPAN",{class:!0,"data-svelte-h":!0}),ie(be)!=="svelte-1q9uqwx"&&(be.textContent=Fu),lu.forEach(_),Ke.forEach(_),qe.forEach(_),Je.forEach(_),re.forEach(_),Eu=V(J),R&&R.l(J),tu=Ye(),this.h()},h(){f(c,"class","label"),f(o,"class","button svelte-1czcj8w"),f(o,"title","Refresh current view (R)"),ze(o,"refreshing",t[2]),f(r,"class","svelte-1czcj8w"),f(y,"for","page"),f(H,"class","label"),f(x,"class","button"),f(x,"title","Create new record"),f(Oe,"class","label"),f(ee,"class","button"),f(ee,"title","Table view"),ee.disabled=uu=t[0].view.database==="table",ze(ee,"active",t[0].view.database==="table"),f(be,"class","label"),f(me,"class","button"),f(me,"title","Tiles view"),me.disabled=ou=t[0].view.database==="tiles",ze(me,"active",t[0].view.database==="tiles"),f(de,"class","combo"),f(Z,"id","viewOptions"),f(Z,"class","svelte-1czcj8w"),f(D,"class","pagination svelte-1czcj8w"),f(u,"class","svelte-1czcj8w")},m(J,le){P(J,l,le),P(J,u,le),d(u,r),Fe(n,r,null),d(r,a),Fe(s,r,null),d(r,i),d(r,o),d(o,c),d(o,m),Fe(E,o,null),d(u,$),We[v].m(u,null),d(u,C),d(u,D),d(D,h),d(h,y),d(h,I),Fe(j,h,null),d(h,w),d(h,S),d(D,U),d(D,Z),d(Z,x),Fe(oe,x,null),d(x,T),d(x,H),d(Z,Y),M&&M.m(Z,null),d(Z,fe),d(Z,de),d(de,ee),Fe(Ae,ee,null),d(ee,_e),d(ee,Oe),d(de,Me),d(de,me),Fe(je,me,null),d(me,su),d(me,be),P(J,Eu,le),R&&R.m(J,le),P(J,tu,le),Ie=!0,Ue||(ae=[ne(window,"keypress",t[4]),ne(o,"click",t[3]),ne(x,"click",$u(t[7])),ne(ee,"click",t[8]),ne(me,"click",t[9])],Ue=!0)},p(J,[le]){var Ze,Je,Ve;(!Ie||le&1)&&e!==(e=(((Ze=J[0].table)==null?void 0:Ze.name)||"Loading…")+" | platformOS")&&(Uu.title=e),(!Ie||le&4)&&ze(o,"refreshing",J[2]);let re=v;v=mu(J),v!==re&&(we(),q(We[re],1,1,()=>{We[re]=null}),$e(),F=We[v],F||(F=We[v]=ku[v](J),F.c()),z(F,1),F.m(u,C));const ge={};le&1&&(ge.max=(Je=J[0].records)==null?void 0:Je.total_pages),!W&&le&1&&(W=!0,ge.value=J[0].filters.page,It(()=>W=!1)),j.$set(ge),(!Ie||le&1)&&p!==(p=(((Ve=J[0].records)==null?void 0:Ve.total_pages)||1)+"")&&ve(S,p),J[0].view.database!=="tiles"?M?(M.p(J,le),le&1&&z(M,1)):(M=gt(J),M.c(),z(M,1),M.m(Z,fe)):M&&(we(),q(M,1,1,()=>{M=null}),$e()),(!Ie||le&1&&uu!==(uu=J[0].view.database==="table"))&&(ee.disabled=uu),(!Ie||le&1)&&ze(ee,"active",J[0].view.database==="table"),(!Ie||le&1&&ou!==(ou=J[0].view.database==="tiles"))&&(me.disabled=ou),(!Ie||le&1)&&ze(me,"active",J[0].view.database==="tiles"),J[0].record!==null?R?(R.p(J,le),le&1&&z(R,1)):(R=Bt(J),R.c(),z(R,1),R.m(tu.parentNode,tu)):R&&(we(),q(R,1,1,()=>{R=null}),$e())},i(J){Ie||(z(n.$$.fragment,J),z(s.$$.fragment,J),z(E.$$.fragment,J),z(F),z(j.$$.fragment,J),z(oe.$$.fragment,J),z(M),z(Ae.$$.fragment,J),z(je.$$.fragment,J),z(R),Ie=!0)},o(J){q(n.$$.fragment,J),q(s.$$.fragment,J),q(E.$$.fragment,J),q(F),q(j.$$.fragment,J),q(oe.$$.fragment,J),q(M),q(Ae.$$.fragment,J),q(je.$$.fragment,J),q(R),Ie=!1},d(J){J&&(_(l),_(u),_(Eu),_(tu)),Ee(n),Ee(s),Ee(E),We[v].d(),Ee(j),Ee(oe),M&&M.d(),Ee(Ae),Ee(je),R&&R.d(J),Ue=!1,hu(ae)}}}function Rl(t,e,l){let u,r;eu(t,K,E=>l(0,u=E)),eu(t,Hu,E=>l(1,r=E));let n=!1;const a=()=>{l(2,n=!0),Re.get({table:r.params.id,filters:u.filters,sort:u.sort}).then(()=>l(2,n=!1))},s=E=>{document.activeElement===document.body&&!E.target.matches("input, textarea")&&E.key==="r"&&a()};function i(E){t.$$.not_equal(u.filters.page,E)&&(u.filters.page=E,K.set(u))}const o=()=>{Re.get({table:r.params.id,filters:u.filters,sort:u.sort})},c=()=>Se(K,u.record={},u),A=()=>Se(K,u.view.database="table",u),m=()=>Se(K,u.view.database="tiles",u);return t.$$.update=()=>{t.$$.dirty&3&&Se(K,u.table=u.tables.filter(E=>E.id===r.params.id)[0],u),t.$$.dirty&2&&r.params.id&&Re.get({table:r.params.id})&&K.clearFilters(),t.$$.dirty&2&&r.params.id&&K.clearFilters()},[u,r,n,a,s,i,o,c,A,m]}class tr extends Cu{constructor(e){super(),pu(this,e,Rl,ql,_u,{})}}export{tr as component}; diff --git a/gui/next/build/_app/immutable/nodes/14.312eaf5e.js b/gui/next/build/_app/immutable/nodes/13.64636ee8.js similarity index 63% rename from gui/next/build/_app/immutable/nodes/14.312eaf5e.js rename to gui/next/build/_app/immutable/nodes/13.64636ee8.js index 5866da1b..4ad58dd9 100644 --- a/gui/next/build/_app/immutable/nodes/14.312eaf5e.js +++ b/gui/next/build/_app/immutable/nodes/13.64636ee8.js @@ -1 +1 @@ -import{s as Ze,a as w,f as m,J as xe,d as _,c as S,g,h as $,r as le,j as c,i as F,u,K as Ne,x as te,y as Ke,v as et,$ as tt,b as lt,o as st,A as me,N as Ge,l as H,m as K,w as ne,V as nt,n as X,B as at,t as rt,z as ye,p as it,e as $e}from"../chunks/scheduler.bed694a1.js";import{S as ot,i as ft,b as ie,d as oe,m as fe,a as T,t as A,c as ae,e as ue,g as re,j as ut}from"../chunks/index.606d5641.js";import{g as ct}from"../chunks/globals.7f7f1b26.js";import{e as Ee}from"../chunks/each.177d9825.js";import{f as _t}from"../chunks/index.35d92de3.js";import{s as Te}from"../chunks/state.88bbaa31.js";import{t as Qe}from"../chunks/tryParseJSON.f125f883.js";import{J as We}from"../chunks/JSONTree.45966d99.js";import{I as ge}from"../chunks/Icon.4ad67fd0.js";import{A as dt}from"../chunks/Aside.9f09d30d.js";const{document:Ie}=ct;function Oe(a,e,s){const t=a.slice();t[21]=e[s],t[23]=e,t[24]=s;const l=t[21].message.length<262144&&Qe(t[21].message);return t[22]=l,t}function Pe(a,e,s){const t=a.slice();t[21]=e[s],t[25]=e,t[26]=s;const l=t[21].message.length<262144&&Qe(t[21].message);return t[22]=l,t}function Ue(a){let e,s,t="Clear filter",l,r,n,i,o;return r=new ge({props:{icon:"x",size:"12"}}),{c(){e=m("button"),s=m("span"),s.textContent=t,l=w(),ie(r.$$.fragment),this.h()},l(f){e=g(f,"BUTTON",{class:!0});var h=$(e);s=g(h,"SPAN",{class:!0,"data-svelte-h":!0}),le(s)!=="svelte-1bu6mgu"&&(s.textContent=t),l=S(h),oe(r.$$.fragment,h),h.forEach(_),this.h()},h(){c(s,"class","label svelte-125ig35"),c(e,"class","clearFilter svelte-125ig35")},m(f,h){F(f,e,h),u(e,s),u(e,l),fe(r,e,null),n=!0,i||(o=te(e,"click",a[9]),i=!0)},p:me,i(f){n||(T(r.$$.fragment,f),n=!0)},o(f){A(r.$$.fragment,f),n=!1},d(f){f&&_(e),ue(r),i=!1,o()}}}function Be(a){let e,s,t=Ee(a[4].logs.logs),l=[];for(let n=0;nA(l[n],1,1,()=>{l[n]=null});return{c(){e=m("table");for(let n=0;nee&&Ve(a);return{c(){s=H(e),t=w(),r&&r.c(),l=$e()},l(n){s=K(n,e),t=S(n),r&&r.l(n),l=$e()},m(n,i){F(n,s,i),F(n,t,i),r&&r.m(n,i),F(n,l,i)},p(n,i){i&16&&e!==(e=n[21].message.substr(0,ee)+"")&&X(s,e),n[21].message.length>ee?r?r.p(n,i):(r=Ve(n),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(n){n&&(_(s),_(t),_(l)),r&&r.d(n)}}}function pt(a){let e=a[21].message+"",s;return{c(){s=H(e)},l(t){s=K(t,e)},m(t,l){F(t,s,l)},p(t,l){l&16&&e!==(e=t[21].message+"")&&X(s,e)},d(t){t&&_(s)}}}function Ve(a){let e,s,t=a[21].message.length-ee+"",l,r,n,i;function o(){return a[11](a[21],a[25],a[26])}return{c(){e=m("div"),s=m("button"),l=H(t),r=H(" more characters"),this.h()},l(f){e=g(f,"DIV",{class:!0});var h=$(e);s=g(h,"BUTTON",{type:!0,class:!0});var b=$(s);l=K(b,t),r=K(b," more characters"),b.forEach(_),h.forEach(_),this.h()},h(){c(s,"type","button"),c(s,"class","svelte-125ig35"),c(e,"class","longStringInfo svelte-125ig35")},m(f,h){F(f,e,h),u(e,s),u(s,l),u(s,r),n||(i=te(s,"click",o),n=!0)},p(f,h){a=f,h&16&&t!==(t=a[21].message.length-ee+"")&&X(l,t)},d(f){f&&_(e),n=!1,i()}}}function Ae(a){let e,s,t,l=a[21].data.url+"",r,n,i=a[21].data.user&&Fe(a);return{c(){e=m("ul"),s=m("li"),t=H("Page: "),r=H(l),n=w(),i&&i.c(),this.h()},l(o){e=g(o,"UL",{class:!0});var f=$(e);s=g(f,"LI",{});var h=$(s);t=K(h,"Page: "),r=K(h,l),h.forEach(_),n=S(f),i&&i.l(f),f.forEach(_),this.h()},h(){c(e,"class","info svelte-125ig35")},m(o,f){F(o,e,f),u(e,s),u(s,t),u(s,r),u(e,n),i&&i.m(e,null)},p(o,f){f&16&&l!==(l=o[21].data.url+"")&&X(r,l),o[21].data.user?i?i.p(o,f):(i=Fe(o),i.c(),i.m(e,null)):i&&(i.d(1),i=null)},d(o){o&&_(e),i&&i.d()}}}function Fe(a){let e,s,t,l=a[21].data.user.id+"",r,n;return{c(){e=m("li"),s=H("User ID: "),t=m("a"),r=H(l),this.h()},l(i){e=g(i,"LI",{});var o=$(e);s=K(o,"User ID: "),t=g(o,"A",{href:!0,class:!0});var f=$(t);r=K(f,l),f.forEach(_),o.forEach(_),this.h()},h(){c(t,"href",n="/users/"+a[21].data.user.id),c(t,"class","svelte-125ig35")},m(i,o){F(i,e,o),u(e,s),u(e,t),u(t,r)},p(i,o){o&16&&l!==(l=i[21].data.user.id+"")&&X(r,l),o&16&&n!==(n="/users/"+i[21].data.user.id)&&c(t,"href",n)},d(i){i&&_(e)}}}function je(a){var Se;let e,s,t,l=new Date(a[21].created_at).toLocaleDateString(void 0,{})+"",r,n,i=new Date(a[21].created_at).toLocaleTimeString(void 0,{})+"",o,f,h,b,L=a[21].error_type+"",J,x,B,E,D,G,j,C,q,I,d,U="Copy message",Y,N,y,p,O,P="Pin this log",v,k,Q,R,M,Z,ce;const _e=[mt,ht],se=[];function Ce(z,V){return z[22]?0:1}E=Ce(a),D=se[E]=_e[E](a);let W=((Se=a[21].data)==null?void 0:Se.url)&&Ae(a);N=new ge({props:{icon:"copy"}});function Xe(...z){return a[12](a[21],...z)}k=new ge({props:{icon:"pin"}});function Ye(){return a[13](a[21])}function we(...z){return a[14](a[21],...z)}return{c(){e=m("tr"),s=m("td"),t=m("time"),r=H(l),n=w(),o=H(i),h=w(),b=m("td"),J=H(L),x=w(),B=m("td"),D.c(),G=w(),W&&W.c(),j=w(),C=m("td"),q=m("div"),I=m("button"),d=m("span"),d.textContent=U,Y=w(),ie(N.$$.fragment),y=w(),p=m("button"),O=m("span"),O.textContent=P,v=w(),ie(k.$$.fragment),Q=w(),this.h()},l(z){e=g(z,"TR",{class:!0});var V=$(e);s=g(V,"TD",{class:!0});var he=$(s);t=g(he,"TIME",{datetime:!0,class:!0});var de=$(t);r=K(de,l),n=S(de),o=K(de,i),de.forEach(_),he.forEach(_),h=S(V),b=g(V,"TD",{class:!0});var Le=$(b);J=K(Le,L),Le.forEach(_),x=S(V),B=g(V,"TD",{class:!0});var pe=$(B);D.l(pe),G=S(pe),W&&W.l(pe),pe.forEach(_),j=S(V),C=g(V,"TD",{class:!0});var De=$(C);q=g(De,"DIV",{class:!0});var ve=$(q);I=g(ve,"BUTTON",{type:!0,class:!0,title:!0});var be=$(I);d=g(be,"SPAN",{class:!0,"data-svelte-h":!0}),le(d)!=="svelte-1qjln59"&&(d.textContent=U),Y=S(be),oe(N.$$.fragment,be),be.forEach(_),y=S(ve),p=g(ve,"BUTTON",{type:!0,class:!0,title:!0});var ke=$(p);O=g(ke,"SPAN",{class:!0,"data-svelte-h":!0}),le(O)!=="svelte-yzd8i4"&&(O.textContent=P),v=S(ke),oe(k.$$.fragment,ke),ke.forEach(_),ve.forEach(_),De.forEach(_),Q=S(V),V.forEach(_),this.h()},h(){c(t,"datetime",f=a[21].created_at),c(t,"class","svelte-125ig35"),c(s,"class","date svelte-125ig35"),c(b,"class","logType svelte-125ig35"),c(B,"class","message svelte-125ig35"),c(d,"class","label"),c(I,"type","button"),c(I,"class","button svelte-125ig35"),c(I,"title","Copy message"),c(O,"class","label"),c(p,"type","button"),c(p,"class","button svelte-125ig35"),c(p,"title","Pin this log"),ne(p,"active",a[2].find(we)),c(q,"class","svelte-125ig35"),c(C,"class","actions svelte-125ig35"),c(e,"class","svelte-125ig35"),ne(e,"hidden",a[1]&&a[5](a[21])||a[21].hidden),ne(e,"error",a[21].error_type.match(/error/i)),ne(e,"fresh",a[21].downloaded_at>a[4].logs.downloaded_at[0])},m(z,V){F(z,e,V),u(e,s),u(s,t),u(t,r),u(t,n),u(t,o),u(e,h),u(e,b),u(b,J),u(e,x),u(e,B),se[E].m(B,null),u(B,G),W&&W.m(B,null),u(e,j),u(e,C),u(C,q),u(q,I),u(I,d),u(I,Y),fe(N,I,null),u(q,y),u(q,p),u(p,O),u(p,v),fe(k,p,null),u(e,Q),M=!0,Z||(ce=[te(I,"click",Xe),te(p,"click",nt(Ye))],Z=!0)},p(z,V){var de;a=z,(!M||V&16)&&l!==(l=new Date(a[21].created_at).toLocaleDateString(void 0,{})+"")&&X(r,l),(!M||V&16)&&i!==(i=new Date(a[21].created_at).toLocaleTimeString(void 0,{})+"")&&X(o,i),(!M||V&16&&f!==(f=a[21].created_at))&&c(t,"datetime",f),(!M||V&16)&&L!==(L=a[21].error_type+"")&&X(J,L);let he=E;E=Ce(a),E===he?se[E].p(a,V):(re(),A(se[he],1,1,()=>{se[he]=null}),ae(),D=se[E],D?D.p(a,V):(D=se[E]=_e[E](a),D.c()),T(D,1),D.m(B,G)),(de=a[21].data)!=null&&de.url?W?W.p(a,V):(W=Ae(a),W.c(),W.m(B,null)):W&&(W.d(1),W=null),(!M||V&20)&&ne(p,"active",a[2].find(we)),(!M||V&50)&&ne(e,"hidden",a[1]&&a[5](a[21])||a[21].hidden),(!M||V&16)&&ne(e,"error",a[21].error_type.match(/error/i)),(!M||V&16)&&ne(e,"fresh",a[21].downloaded_at>a[4].logs.downloaded_at[0])},i(z){M||(T(D),T(N.$$.fragment,z),T(k.$$.fragment,z),z&&(R||at(()=>{R=ut(e,_t,{duration:200}),R.start()})),M=!0)},o(z){A(D),A(N.$$.fragment,z),A(k.$$.fragment,z),M=!1},d(z){z&&_(e),se[E].d(),W&&W.d(),ue(N),ue(k),Z=!1,Ke(ce)}}}function Me(a){let e,s="No newer logs to show
Checking every 3 seconds";return{c(){e=m("footer"),e.innerHTML=s,this.h()},l(t){e=g(t,"FOOTER",{class:!0,"data-svelte-h":!0}),le(e)!=="svelte-akhvzo"&&(e.innerHTML=s),this.h()},h(){c(e,"class","svelte-125ig35")},m(t,l){F(t,e,l)},d(t){t&&_(e)}}}function ze(a){let e,s;return e=new dt({props:{$$slots:{default:[Et]},$$scope:{ctx:a}}}),{c(){ie(e.$$.fragment)},l(t){oe(e.$$.fragment,t)},m(t,l){fe(e,t,l),s=!0},p(t,l){const r={};l&134217732&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){s||(T(e.$$.fragment,t),s=!0)},o(t){A(e.$$.fragment,t),s=!1},d(t){ue(e,t)}}}function Je(a){let e,s,t=Ee(a[2]),l=[];for(let n=0;nA(l[n],1,1,()=>{l[n]=null});return{c(){e=m("ul");for(let n=0;nee&&Re(a);return{c(){s=H(e),t=w(),r&&r.c(),l=$e()},l(n){s=K(n,e),t=S(n),r&&r.l(n),l=$e()},m(n,i){F(n,s,i),F(n,t,i),r&&r.m(n,i),F(n,l,i)},p(n,i){i&4&&e!==(e=n[21].message.substr(0,ee)+"")&&X(s,e),n[21].message.length>ee?r?r.p(n,i):(r=Re(n),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(n){n&&(_(s),_(t),_(l)),r&&r.d(n)}}}function $t(a){let e=a[21].message+"",s;return{c(){s=H(e)},l(t){s=K(t,e)},m(t,l){F(t,s,l)},p(t,l){l&4&&e!==(e=t[21].message+"")&&X(s,e)},d(t){t&&_(s)}}}function Re(a){let e,s=a[21].message.length-ee+"",t,l,r,n;function i(){return a[17](a[21],a[23],a[24])}return{c(){e=m("button"),t=H(s),l=H(" more characters"),this.h()},l(o){e=g(o,"BUTTON",{type:!0,class:!0});var f=$(e);t=K(f,s),l=K(f," more characters"),f.forEach(_),this.h()},h(){c(e,"type","button"),c(e,"class","svelte-125ig35")},m(o,f){F(o,e,f),u(e,t),u(e,l),r||(n=te(e,"click",i),r=!0)},p(o,f){a=o,f&4&&s!==(s=a[21].message.length-ee+"")&&X(t,s)},d(o){o&&_(e),r=!1,n()}}}function He(a){var P;let e,s,t,l=new Date(a[21].created_at).toLocaleDateString(void 0,{})+"",r,n,i=new Date(a[21].created_at).toLocaleTimeString(void 0,{})+"",o,f,h,b,L,J="Remove log from pinned panel",x,B,E,D,G,j,C,q,I,d,U;B=new ge({props:{icon:"trash",size:"18"}});function Y(){return a[16](a[21])}let N=((P=a[21].data)==null?void 0:P.url)&&qe(a);const y=[bt,vt],p=[];function O(v,k){return v[22]?0:1}return j=O(a),C=p[j]=y[j](a),{c(){e=m("li"),s=m("div"),t=m("time"),r=H(l),n=w(),o=H(i),h=w(),b=m("button"),L=m("span"),L.textContent=J,x=w(),ie(B.$$.fragment),E=w(),N&&N.c(),D=w(),G=m("div"),C.c(),q=w(),this.h()},l(v){e=g(v,"LI",{class:!0});var k=$(e);s=g(k,"DIV",{class:!0});var Q=$(s);t=g(Q,"TIME",{class:!0,datetime:!0});var R=$(t);r=K(R,l),n=S(R),o=K(R,i),R.forEach(_),h=S(Q),b=g(Q,"BUTTON",{type:!0,title:!0,class:!0});var M=$(b);L=g(M,"SPAN",{class:!0,"data-svelte-h":!0}),le(L)!=="svelte-flzfhp"&&(L.textContent=J),x=S(M),oe(B.$$.fragment,M),M.forEach(_),Q.forEach(_),E=S(k),N&&N.l(k),D=S(k),G=g(k,"DIV",{class:!0});var Z=$(G);C.l(Z),Z.forEach(_),q=S(k),k.forEach(_),this.h()},h(){c(t,"class","date svelte-125ig35"),c(t,"datetime",f=a[21].created_at),c(L,"class","label"),c(b,"type","button"),c(b,"title","Remove log from pinned panel"),c(b,"class","svelte-125ig35"),c(s,"class","info svelte-125ig35"),c(G,"class","message svelte-125ig35"),c(e,"class","svelte-125ig35")},m(v,k){F(v,e,k),u(e,s),u(s,t),u(t,r),u(t,n),u(t,o),u(s,h),u(s,b),u(b,L),u(b,x),fe(B,b,null),u(e,E),N&&N.m(e,null),u(e,D),u(e,G),p[j].m(G,null),u(e,q),I=!0,d||(U=te(b,"click",Y),d=!0)},p(v,k){var R;a=v,(!I||k&4)&&l!==(l=new Date(a[21].created_at).toLocaleDateString(void 0,{})+"")&&X(r,l),(!I||k&4)&&i!==(i=new Date(a[21].created_at).toLocaleTimeString(void 0,{})+"")&&X(o,i),(!I||k&4&&f!==(f=a[21].created_at))&&c(t,"datetime",f),(R=a[21].data)!=null&&R.url?N?N.p(a,k):(N=qe(a),N.c(),N.m(e,D)):N&&(N.d(1),N=null);let Q=j;j=O(a),j===Q?p[j].p(a,k):(re(),A(p[Q],1,1,()=>{p[Q]=null}),ae(),C=p[j],C?C.p(a,k):(C=p[j]=y[j](a),C.c()),T(C,1),C.m(G,null))},i(v){I||(T(B.$$.fragment,v),T(C),I=!0)},o(v){A(B.$$.fragment,v),A(C),I=!1},d(v){v&&_(e),ue(B),N&&N.d(),p[j].d(),d=!1,U()}}}function Et(a){let e,s,t,l="Clear pinned logs",r,n,i,o,f=a[2]&&Je(a);return{c(){e=m("div"),s=m("nav"),t=m("button"),t.textContent=l,r=w(),f&&f.c(),this.h()},l(h){e=g(h,"DIV",{class:!0});var b=$(e);s=g(b,"NAV",{class:!0});var L=$(s);t=g(L,"BUTTON",{type:!0,class:!0,"data-svelte-h":!0}),le(t)!=="svelte-eeid91"&&(t.textContent=l),L.forEach(_),r=S(b),f&&f.l(b),b.forEach(_),this.h()},h(){c(t,"type","button"),c(t,"class","button svelte-125ig35"),c(s,"class","asideNav svelte-125ig35"),c(e,"class","pins svelte-125ig35")},m(h,b){F(h,e,b),u(e,s),u(s,t),u(e,r),f&&f.m(e,null),n=!0,i||(o=te(t,"click",a[15]),i=!0)},p(h,b){h[2]?f?(f.p(h,b),b&4&&T(f,1)):(f=Je(h),f.c(),T(f,1),f.m(e,null)):f&&(re(),A(f,1,1,()=>{f=null}),ae())},i(h){n||(T(f),n=!0)},o(h){A(f),n=!1},d(h){h&&_(e),f&&f.d(),i=!1,o()}}}function Tt(a){let e,s,t,l,r,n,i="Filter:",o,f,h,b,L,J,x="Clear screen",B,E,D,G="Toggle pinned logs panel",j,C,q,I,d,U,Y,N,y=a[1]&&Ue(a);C=new ge({props:{icon:"pin"}});let p=a[4].logs.logs&&Be(a),O=!a[1]&&Me(),P=a[3]&&ze(a);return{c(){e=w(),s=m("div"),t=m("section"),l=m("nav"),r=m("form"),n=m("label"),n.textContent=i,o=w(),f=m("input"),h=w(),y&&y.c(),b=w(),L=m("div"),J=m("button"),J.textContent=x,B=w(),E=m("button"),D=m("span"),D.textContent=G,j=w(),ie(C.$$.fragment),q=w(),p&&p.c(),I=w(),O&&O.c(),d=w(),P&&P.c(),this.h()},l(v){xe("svelte-1xj5d21",Ie.head).forEach(_),e=S(v),s=g(v,"DIV",{class:!0});var Q=$(s);t=g(Q,"SECTION",{class:!0});var R=$(t);l=g(R,"NAV",{class:!0});var M=$(l);r=g(M,"FORM",{});var Z=$(r);n=g(Z,"LABEL",{for:!0,"data-svelte-h":!0}),le(n)!=="svelte-kf6j7o"&&(n.textContent=i),o=S(Z),f=g(Z,"INPUT",{type:!0,id:!0,class:!0}),h=S(Z),y&&y.l(Z),Z.forEach(_),b=S(M),L=g(M,"DIV",{class:!0});var ce=$(L);J=g(ce,"BUTTON",{type:!0,class:!0,"data-svelte-h":!0}),le(J)!=="svelte-1hlqgjb"&&(J.textContent=x),B=S(ce),E=g(ce,"BUTTON",{type:!0,title:!0,class:!0});var _e=$(E);D=g(_e,"SPAN",{class:!0,"data-svelte-h":!0}),le(D)!=="svelte-1o6petk"&&(D.textContent=G),j=S(_e),oe(C.$$.fragment,_e),_e.forEach(_),ce.forEach(_),M.forEach(_),q=S(R),p&&p.l(R),I=S(R),O&&O.l(R),R.forEach(_),d=S(Q),P&&P.l(Q),Q.forEach(_),this.h()},h(){Ie.title="Logs | platformOS",c(n,"for","filter"),c(f,"type","text"),c(f,"id","filter"),c(f,"class","svelte-125ig35"),c(J,"type","button"),c(J,"class","button"),c(D,"class","label"),c(E,"type","button"),c(E,"title","Toggle pinned logs panel"),c(E,"class","button"),c(L,"class","svelte-125ig35"),c(l,"class","svelte-125ig35"),c(t,"class","logs svelte-125ig35"),c(s,"class","container svelte-125ig35")},m(v,k){F(v,e,k),F(v,s,k),u(s,t),u(t,l),u(l,r),u(r,n),u(r,o),u(r,f),Ne(f,a[1]),u(r,h),y&&y.m(r,null),u(l,b),u(l,L),u(L,J),u(L,B),u(L,E),u(E,D),u(E,j),fe(C,E,null),u(t,q),p&&p.m(t,null),u(t,I),O&&O.m(t,null),u(s,d),P&&P.m(s,null),a[18](s),U=!0,Y||(N=[te(f,"input",a[8]),te(J,"click",a[10]),te(E,"click",a[7])],Y=!0)},p(v,[k]){k&2&&f.value!==v[1]&&Ne(f,v[1]),v[1]?y?(y.p(v,k),k&2&&T(y,1)):(y=Ue(v),y.c(),T(y,1),y.m(r,null)):y&&(re(),A(y,1,1,()=>{y=null}),ae()),v[4].logs.logs?p?(p.p(v,k),k&16&&T(p,1)):(p=Be(v),p.c(),T(p,1),p.m(t,I)):p&&(re(),A(p,1,1,()=>{p=null}),ae()),v[1]?O&&(O.d(1),O=null):O||(O=Me(),O.c(),O.m(t,null)),v[3]?P?(P.p(v,k),k&8&&T(P,1)):(P=ze(v),P.c(),T(P,1),P.m(s,null)):P&&(re(),A(P,1,1,()=>{P=null}),ae())},i(v){U||(T(y),T(C.$$.fragment,v),T(p),T(P),U=!0)},o(v){A(y),A(C.$$.fragment,v),A(p),A(P),U=!1},d(v){v&&(_(e),_(s)),y&&y.d(),ue(C),p&&p.d(),O&&O.d(),P&&P.d(),a[18](null),Y=!1,Ke(N)}}}let ee=262144;function Ct(a,e,s){let t;et(a,Te,d=>s(4,t=d));let l,r="",n=[],i;const o=d=>d.hidden===!0||d.error_type.toLowerCase().indexOf(r)===-1&&d.message.toLowerCase().indexOf(r)===-1;let f=!1;tt(()=>{{const d=document.querySelector(".logs");d&&Math.abs(d.scrollHeight-d.scrollTop-d.clientHeight)<10&&(f=!1)}}),lt(async()=>{var d;f||(await rt(),document.querySelector("footer").scrollIntoView(),(d=t.logs.logs)!=null&&d.length&&(f=!0))}),st(()=>{s(3,i=localStorage.pinnedPanel==="true"),s(2,n=localStorage.pinnedLogs?JSON.parse(localStorage.pinnedLogs):[])});const h=d=>{n.find(U=>U.id===d.id)?s(2,n=n.filter(U=>U.id!==d.id)):s(2,n=[...n,d]),localStorage.pinnedLogs=JSON.stringify(n)},b=()=>{i?(s(3,i=!1),localStorage.pinnedPanel=!1):(s(3,i=!0),localStorage.pinnedPanel=!0)};function L(){r=this.value,s(1,r)}const J=()=>s(1,r=""),x=()=>t.logs.logs.forEach((d,U)=>ye(Te,t.logs.logs[U].hidden=!0,t)),B=(d,U,Y)=>ye(Te,U[Y].showFull=!0,t),E=(d,U)=>navigator.clipboard.writeText(d.message).then(()=>{U.target.classList.add("confirmation"),setTimeout(()=>U.target.classList.remove("confirmation"),1e3)}),D=d=>h(d),G=(d,U)=>U.id===d.id,j=()=>{localStorage.pinnedLogs=[],s(2,n=[])},C=d=>h(d),q=(d,U,Y)=>s(2,U[Y].showFull=!0,n);function I(d){it[d?"unshift":"push"](()=>{l=d,s(0,l)})}return[l,r,n,i,t,o,h,b,L,J,x,B,E,D,G,j,C,q,I]}class Bt extends ot{constructor(e){super(),ft(this,e,Ct,Tt,Ze,{})}}export{Bt as component}; +import{s as Ze,a as w,f as m,J as xe,d as _,c as S,g,h as $,r as le,j as c,i as F,u,K as Ne,x as te,y as Ke,v as et,X as tt,b as lt,o as st,A as me,N as Xe,l as H,m as K,w as ne,R as nt,n as W,B as at,t as rt,z as ye,p as it,e as $e}from"../chunks/scheduler.a497d5ec.js";import{S as ot,i as ft,b as ie,d as oe,m as fe,a as T,t as V,c as ae,e as ue,g as re,j as ut}from"../chunks/index.ca999c64.js";import{g as ct}from"../chunks/globals.7f7f1b26.js";import{e as Ee}from"../chunks/each.1577bad0.js";import{f as _t}from"../chunks/index.13972ea2.js";import{s as Te}from"../chunks/state.58df2e5f.js";import{t as Ge}from"../chunks/tryParseJSON.f125f883.js";import{J as Qe}from"../chunks/JSONTree.c31da54e.js";import{I as ge}from"../chunks/Icon.1ce3f3fe.js";import{A as dt}from"../chunks/Aside.143a8d13.js";const{document:Ie}=ct;function Oe(a,e,s){const t=a.slice();t[21]=e[s],t[23]=e,t[24]=s;const l=t[21].message.length<262144&&Ge(t[21].message);return t[22]=l,t}function Pe(a,e,s){const t=a.slice();t[21]=e[s],t[25]=e,t[26]=s;const l=t[21].message.length<262144&&Ge(t[21].message);return t[22]=l,t}function Ue(a){let e,s,t="Clear filter",l,r,n,i,o;return r=new ge({props:{icon:"x",size:"12"}}),{c(){e=m("button"),s=m("span"),s.textContent=t,l=w(),ie(r.$$.fragment),this.h()},l(f){e=g(f,"BUTTON",{class:!0});var h=$(e);s=g(h,"SPAN",{class:!0,"data-svelte-h":!0}),le(s)!=="svelte-1bu6mgu"&&(s.textContent=t),l=S(h),oe(r.$$.fragment,h),h.forEach(_),this.h()},h(){c(s,"class","label svelte-125ig35"),c(e,"class","clearFilter svelte-125ig35")},m(f,h){F(f,e,h),u(e,s),u(e,l),fe(r,e,null),n=!0,i||(o=te(e,"click",a[9]),i=!0)},p:me,i(f){n||(T(r.$$.fragment,f),n=!0)},o(f){V(r.$$.fragment,f),n=!1},d(f){f&&_(e),ue(r),i=!1,o()}}}function Be(a){let e,s,t=Ee(a[4].logs.logs),l=[];for(let n=0;nV(l[n],1,1,()=>{l[n]=null});return{c(){e=m("table");for(let n=0;nee&&Ae(a);return{c(){s=H(e),t=w(),r&&r.c(),l=$e()},l(n){s=K(n,e),t=S(n),r&&r.l(n),l=$e()},m(n,i){F(n,s,i),F(n,t,i),r&&r.m(n,i),F(n,l,i)},p(n,i){i&16&&e!==(e=n[21].message.substr(0,ee)+"")&&W(s,e),n[21].message.length>ee?r?r.p(n,i):(r=Ae(n),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(n){n&&(_(s),_(t),_(l)),r&&r.d(n)}}}function pt(a){let e=a[21].message+"",s;return{c(){s=H(e)},l(t){s=K(t,e)},m(t,l){F(t,s,l)},p(t,l){l&16&&e!==(e=t[21].message+"")&&W(s,e)},d(t){t&&_(s)}}}function Ae(a){let e,s,t=a[21].message.length-ee+"",l,r,n,i;function o(){return a[11](a[21],a[25],a[26])}return{c(){e=m("div"),s=m("button"),l=H(t),r=H(" more characters"),this.h()},l(f){e=g(f,"DIV",{class:!0});var h=$(e);s=g(h,"BUTTON",{type:!0,class:!0});var b=$(s);l=K(b,t),r=K(b," more characters"),b.forEach(_),h.forEach(_),this.h()},h(){c(s,"type","button"),c(s,"class","svelte-125ig35"),c(e,"class","longStringInfo svelte-125ig35")},m(f,h){F(f,e,h),u(e,s),u(s,l),u(s,r),n||(i=te(s,"click",o),n=!0)},p(f,h){a=f,h&16&&t!==(t=a[21].message.length-ee+"")&&W(l,t)},d(f){f&&_(e),n=!1,i()}}}function Ve(a){let e,s,t,l=a[21].data.url+"",r,n,i=a[21].data.user&&Fe(a);return{c(){e=m("ul"),s=m("li"),t=H("Page: "),r=H(l),n=w(),i&&i.c(),this.h()},l(o){e=g(o,"UL",{class:!0});var f=$(e);s=g(f,"LI",{});var h=$(s);t=K(h,"Page: "),r=K(h,l),h.forEach(_),n=S(f),i&&i.l(f),f.forEach(_),this.h()},h(){c(e,"class","info svelte-125ig35")},m(o,f){F(o,e,f),u(e,s),u(s,t),u(s,r),u(e,n),i&&i.m(e,null)},p(o,f){f&16&&l!==(l=o[21].data.url+"")&&W(r,l),o[21].data.user?i?i.p(o,f):(i=Fe(o),i.c(),i.m(e,null)):i&&(i.d(1),i=null)},d(o){o&&_(e),i&&i.d()}}}function Fe(a){let e,s,t,l=a[21].data.user.id+"",r,n;return{c(){e=m("li"),s=H("User ID: "),t=m("a"),r=H(l),this.h()},l(i){e=g(i,"LI",{});var o=$(e);s=K(o,"User ID: "),t=g(o,"A",{href:!0,class:!0});var f=$(t);r=K(f,l),f.forEach(_),o.forEach(_),this.h()},h(){c(t,"href",n="/users/"+a[21].data.user.id),c(t,"class","svelte-125ig35")},m(i,o){F(i,e,o),u(e,s),u(e,t),u(t,r)},p(i,o){o&16&&l!==(l=i[21].data.user.id+"")&&W(r,l),o&16&&n!==(n="/users/"+i[21].data.user.id)&&c(t,"href",n)},d(i){i&&_(e)}}}function je(a){var Se;let e,s,t,l=new Date(a[21].created_at).toLocaleDateString(void 0,{})+"",r,n,i=new Date(a[21].created_at).toLocaleTimeString(void 0,{})+"",o,f,h,b,L=a[21].error_type+"",J,x,B,E,D,X,j,C,R,I,d,U="Copy message",Y,N,y,p,O,P="Pin this log",v,k,G,q,M,Z,ce;const _e=[mt,ht],se=[];function Ce(z,A){return z[22]?0:1}E=Ce(a),D=se[E]=_e[E](a);let Q=((Se=a[21].data)==null?void 0:Se.url)&&Ve(a);N=new ge({props:{icon:"copy"}});function We(...z){return a[12](a[21],...z)}k=new ge({props:{icon:"pin"}});function Ye(){return a[13](a[21])}function we(...z){return a[14](a[21],...z)}return{c(){e=m("tr"),s=m("td"),t=m("time"),r=H(l),n=w(),o=H(i),h=w(),b=m("td"),J=H(L),x=w(),B=m("td"),D.c(),X=w(),Q&&Q.c(),j=w(),C=m("td"),R=m("div"),I=m("button"),d=m("span"),d.textContent=U,Y=w(),ie(N.$$.fragment),y=w(),p=m("button"),O=m("span"),O.textContent=P,v=w(),ie(k.$$.fragment),G=w(),this.h()},l(z){e=g(z,"TR",{class:!0});var A=$(e);s=g(A,"TD",{class:!0});var he=$(s);t=g(he,"TIME",{datetime:!0,class:!0});var de=$(t);r=K(de,l),n=S(de),o=K(de,i),de.forEach(_),he.forEach(_),h=S(A),b=g(A,"TD",{class:!0});var Le=$(b);J=K(Le,L),Le.forEach(_),x=S(A),B=g(A,"TD",{class:!0});var pe=$(B);D.l(pe),X=S(pe),Q&&Q.l(pe),pe.forEach(_),j=S(A),C=g(A,"TD",{class:!0});var De=$(C);R=g(De,"DIV",{class:!0});var ve=$(R);I=g(ve,"BUTTON",{type:!0,class:!0,title:!0});var be=$(I);d=g(be,"SPAN",{class:!0,"data-svelte-h":!0}),le(d)!=="svelte-1qjln59"&&(d.textContent=U),Y=S(be),oe(N.$$.fragment,be),be.forEach(_),y=S(ve),p=g(ve,"BUTTON",{type:!0,class:!0,title:!0});var ke=$(p);O=g(ke,"SPAN",{class:!0,"data-svelte-h":!0}),le(O)!=="svelte-yzd8i4"&&(O.textContent=P),v=S(ke),oe(k.$$.fragment,ke),ke.forEach(_),ve.forEach(_),De.forEach(_),G=S(A),A.forEach(_),this.h()},h(){c(t,"datetime",f=a[21].created_at),c(t,"class","svelte-125ig35"),c(s,"class","date svelte-125ig35"),c(b,"class","logType svelte-125ig35"),c(B,"class","message svelte-125ig35"),c(d,"class","label"),c(I,"type","button"),c(I,"class","button svelte-125ig35"),c(I,"title","Copy message"),c(O,"class","label"),c(p,"type","button"),c(p,"class","button svelte-125ig35"),c(p,"title","Pin this log"),ne(p,"active",a[2].find(we)),c(R,"class","svelte-125ig35"),c(C,"class","actions svelte-125ig35"),c(e,"class","svelte-125ig35"),ne(e,"hidden",a[1]&&a[5](a[21])||a[21].hidden),ne(e,"error",a[21].error_type.match(/error/i)),ne(e,"fresh",a[21].downloaded_at>a[4].logs.downloaded_at[0])},m(z,A){F(z,e,A),u(e,s),u(s,t),u(t,r),u(t,n),u(t,o),u(e,h),u(e,b),u(b,J),u(e,x),u(e,B),se[E].m(B,null),u(B,X),Q&&Q.m(B,null),u(e,j),u(e,C),u(C,R),u(R,I),u(I,d),u(I,Y),fe(N,I,null),u(R,y),u(R,p),u(p,O),u(p,v),fe(k,p,null),u(e,G),M=!0,Z||(ce=[te(I,"click",We),te(p,"click",nt(Ye))],Z=!0)},p(z,A){var de;a=z,(!M||A&16)&&l!==(l=new Date(a[21].created_at).toLocaleDateString(void 0,{})+"")&&W(r,l),(!M||A&16)&&i!==(i=new Date(a[21].created_at).toLocaleTimeString(void 0,{})+"")&&W(o,i),(!M||A&16&&f!==(f=a[21].created_at))&&c(t,"datetime",f),(!M||A&16)&&L!==(L=a[21].error_type+"")&&W(J,L);let he=E;E=Ce(a),E===he?se[E].p(a,A):(re(),V(se[he],1,1,()=>{se[he]=null}),ae(),D=se[E],D?D.p(a,A):(D=se[E]=_e[E](a),D.c()),T(D,1),D.m(B,X)),(de=a[21].data)!=null&&de.url?Q?Q.p(a,A):(Q=Ve(a),Q.c(),Q.m(B,null)):Q&&(Q.d(1),Q=null),(!M||A&20)&&ne(p,"active",a[2].find(we)),(!M||A&50)&&ne(e,"hidden",a[1]&&a[5](a[21])||a[21].hidden),(!M||A&16)&&ne(e,"error",a[21].error_type.match(/error/i)),(!M||A&16)&&ne(e,"fresh",a[21].downloaded_at>a[4].logs.downloaded_at[0])},i(z){M||(T(D),T(N.$$.fragment,z),T(k.$$.fragment,z),z&&(q||at(()=>{q=ut(e,_t,{duration:200}),q.start()})),M=!0)},o(z){V(D),V(N.$$.fragment,z),V(k.$$.fragment,z),M=!1},d(z){z&&_(e),se[E].d(),Q&&Q.d(),ue(N),ue(k),Z=!1,Ke(ce)}}}function Me(a){let e,s="No newer logs to show
Checking every 3 seconds";return{c(){e=m("footer"),e.innerHTML=s,this.h()},l(t){e=g(t,"FOOTER",{class:!0,"data-svelte-h":!0}),le(e)!=="svelte-akhvzo"&&(e.innerHTML=s),this.h()},h(){c(e,"class","svelte-125ig35")},m(t,l){F(t,e,l)},d(t){t&&_(e)}}}function ze(a){let e,s;return e=new dt({props:{$$slots:{default:[Et]},$$scope:{ctx:a}}}),{c(){ie(e.$$.fragment)},l(t){oe(e.$$.fragment,t)},m(t,l){fe(e,t,l),s=!0},p(t,l){const r={};l&134217732&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){s||(T(e.$$.fragment,t),s=!0)},o(t){V(e.$$.fragment,t),s=!1},d(t){ue(e,t)}}}function Je(a){let e,s,t=Ee(a[2]),l=[];for(let n=0;nV(l[n],1,1,()=>{l[n]=null});return{c(){e=m("ul");for(let n=0;nee&&qe(a);return{c(){s=H(e),t=w(),r&&r.c(),l=$e()},l(n){s=K(n,e),t=S(n),r&&r.l(n),l=$e()},m(n,i){F(n,s,i),F(n,t,i),r&&r.m(n,i),F(n,l,i)},p(n,i){i&4&&e!==(e=n[21].message.substr(0,ee)+"")&&W(s,e),n[21].message.length>ee?r?r.p(n,i):(r=qe(n),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(n){n&&(_(s),_(t),_(l)),r&&r.d(n)}}}function $t(a){let e=a[21].message+"",s;return{c(){s=H(e)},l(t){s=K(t,e)},m(t,l){F(t,s,l)},p(t,l){l&4&&e!==(e=t[21].message+"")&&W(s,e)},d(t){t&&_(s)}}}function qe(a){let e,s=a[21].message.length-ee+"",t,l,r,n;function i(){return a[17](a[21],a[23],a[24])}return{c(){e=m("button"),t=H(s),l=H(" more characters"),this.h()},l(o){e=g(o,"BUTTON",{type:!0,class:!0});var f=$(e);t=K(f,s),l=K(f," more characters"),f.forEach(_),this.h()},h(){c(e,"type","button"),c(e,"class","svelte-125ig35")},m(o,f){F(o,e,f),u(e,t),u(e,l),r||(n=te(e,"click",i),r=!0)},p(o,f){a=o,f&4&&s!==(s=a[21].message.length-ee+"")&&W(t,s)},d(o){o&&_(e),r=!1,n()}}}function He(a){var P;let e,s,t,l=new Date(a[21].created_at).toLocaleDateString(void 0,{})+"",r,n,i=new Date(a[21].created_at).toLocaleTimeString(void 0,{})+"",o,f,h,b,L,J="Remove log from pinned panel",x,B,E,D,X,j,C,R,I,d,U;B=new ge({props:{icon:"trash",size:"18"}});function Y(){return a[16](a[21])}let N=((P=a[21].data)==null?void 0:P.url)&&Re(a);const y=[bt,vt],p=[];function O(v,k){return v[22]?0:1}return j=O(a),C=p[j]=y[j](a),{c(){e=m("li"),s=m("div"),t=m("time"),r=H(l),n=w(),o=H(i),h=w(),b=m("button"),L=m("span"),L.textContent=J,x=w(),ie(B.$$.fragment),E=w(),N&&N.c(),D=w(),X=m("div"),C.c(),R=w(),this.h()},l(v){e=g(v,"LI",{class:!0});var k=$(e);s=g(k,"DIV",{class:!0});var G=$(s);t=g(G,"TIME",{class:!0,datetime:!0});var q=$(t);r=K(q,l),n=S(q),o=K(q,i),q.forEach(_),h=S(G),b=g(G,"BUTTON",{type:!0,title:!0,class:!0});var M=$(b);L=g(M,"SPAN",{class:!0,"data-svelte-h":!0}),le(L)!=="svelte-flzfhp"&&(L.textContent=J),x=S(M),oe(B.$$.fragment,M),M.forEach(_),G.forEach(_),E=S(k),N&&N.l(k),D=S(k),X=g(k,"DIV",{class:!0});var Z=$(X);C.l(Z),Z.forEach(_),R=S(k),k.forEach(_),this.h()},h(){c(t,"class","date svelte-125ig35"),c(t,"datetime",f=a[21].created_at),c(L,"class","label"),c(b,"type","button"),c(b,"title","Remove log from pinned panel"),c(b,"class","svelte-125ig35"),c(s,"class","info svelte-125ig35"),c(X,"class","message svelte-125ig35"),c(e,"class","svelte-125ig35")},m(v,k){F(v,e,k),u(e,s),u(s,t),u(t,r),u(t,n),u(t,o),u(s,h),u(s,b),u(b,L),u(b,x),fe(B,b,null),u(e,E),N&&N.m(e,null),u(e,D),u(e,X),p[j].m(X,null),u(e,R),I=!0,d||(U=te(b,"click",Y),d=!0)},p(v,k){var q;a=v,(!I||k&4)&&l!==(l=new Date(a[21].created_at).toLocaleDateString(void 0,{})+"")&&W(r,l),(!I||k&4)&&i!==(i=new Date(a[21].created_at).toLocaleTimeString(void 0,{})+"")&&W(o,i),(!I||k&4&&f!==(f=a[21].created_at))&&c(t,"datetime",f),(q=a[21].data)!=null&&q.url?N?N.p(a,k):(N=Re(a),N.c(),N.m(e,D)):N&&(N.d(1),N=null);let G=j;j=O(a),j===G?p[j].p(a,k):(re(),V(p[G],1,1,()=>{p[G]=null}),ae(),C=p[j],C?C.p(a,k):(C=p[j]=y[j](a),C.c()),T(C,1),C.m(X,null))},i(v){I||(T(B.$$.fragment,v),T(C),I=!0)},o(v){V(B.$$.fragment,v),V(C),I=!1},d(v){v&&_(e),ue(B),N&&N.d(),p[j].d(),d=!1,U()}}}function Et(a){let e,s,t,l="Clear pinned logs",r,n,i,o,f=a[2]&&Je(a);return{c(){e=m("div"),s=m("nav"),t=m("button"),t.textContent=l,r=w(),f&&f.c(),this.h()},l(h){e=g(h,"DIV",{class:!0});var b=$(e);s=g(b,"NAV",{class:!0});var L=$(s);t=g(L,"BUTTON",{type:!0,class:!0,"data-svelte-h":!0}),le(t)!=="svelte-eeid91"&&(t.textContent=l),L.forEach(_),r=S(b),f&&f.l(b),b.forEach(_),this.h()},h(){c(t,"type","button"),c(t,"class","button svelte-125ig35"),c(s,"class","asideNav svelte-125ig35"),c(e,"class","pins svelte-125ig35")},m(h,b){F(h,e,b),u(e,s),u(s,t),u(e,r),f&&f.m(e,null),n=!0,i||(o=te(t,"click",a[15]),i=!0)},p(h,b){h[2]?f?(f.p(h,b),b&4&&T(f,1)):(f=Je(h),f.c(),T(f,1),f.m(e,null)):f&&(re(),V(f,1,1,()=>{f=null}),ae())},i(h){n||(T(f),n=!0)},o(h){V(f),n=!1},d(h){h&&_(e),f&&f.d(),i=!1,o()}}}function Tt(a){let e,s,t,l,r,n,i="Filter:",o,f,h,b,L,J,x="Clear screen",B,E,D,X="Toggle pinned logs panel",j,C,R,I,d,U,Y,N,y=a[1]&&Ue(a);C=new ge({props:{icon:"pin"}});let p=a[4].logs.logs&&Be(a),O=!a[1]&&Me(),P=a[3]&&ze(a);return{c(){e=w(),s=m("div"),t=m("section"),l=m("nav"),r=m("form"),n=m("label"),n.textContent=i,o=w(),f=m("input"),h=w(),y&&y.c(),b=w(),L=m("div"),J=m("button"),J.textContent=x,B=w(),E=m("button"),D=m("span"),D.textContent=X,j=w(),ie(C.$$.fragment),R=w(),p&&p.c(),I=w(),O&&O.c(),d=w(),P&&P.c(),this.h()},l(v){xe("svelte-1xj5d21",Ie.head).forEach(_),e=S(v),s=g(v,"DIV",{class:!0});var G=$(s);t=g(G,"SECTION",{class:!0});var q=$(t);l=g(q,"NAV",{class:!0});var M=$(l);r=g(M,"FORM",{});var Z=$(r);n=g(Z,"LABEL",{for:!0,"data-svelte-h":!0}),le(n)!=="svelte-kf6j7o"&&(n.textContent=i),o=S(Z),f=g(Z,"INPUT",{type:!0,id:!0,class:!0}),h=S(Z),y&&y.l(Z),Z.forEach(_),b=S(M),L=g(M,"DIV",{class:!0});var ce=$(L);J=g(ce,"BUTTON",{type:!0,class:!0,"data-svelte-h":!0}),le(J)!=="svelte-1hlqgjb"&&(J.textContent=x),B=S(ce),E=g(ce,"BUTTON",{type:!0,title:!0,class:!0});var _e=$(E);D=g(_e,"SPAN",{class:!0,"data-svelte-h":!0}),le(D)!=="svelte-1o6petk"&&(D.textContent=X),j=S(_e),oe(C.$$.fragment,_e),_e.forEach(_),ce.forEach(_),M.forEach(_),R=S(q),p&&p.l(q),I=S(q),O&&O.l(q),q.forEach(_),d=S(G),P&&P.l(G),G.forEach(_),this.h()},h(){Ie.title="Logs | platformOS",c(n,"for","filter"),c(f,"type","text"),c(f,"id","filter"),c(f,"class","svelte-125ig35"),c(J,"type","button"),c(J,"class","button"),c(D,"class","label"),c(E,"type","button"),c(E,"title","Toggle pinned logs panel"),c(E,"class","button"),c(L,"class","svelte-125ig35"),c(l,"class","svelte-125ig35"),c(t,"class","logs svelte-125ig35"),c(s,"class","container svelte-125ig35")},m(v,k){F(v,e,k),F(v,s,k),u(s,t),u(t,l),u(l,r),u(r,n),u(r,o),u(r,f),Ne(f,a[1]),u(r,h),y&&y.m(r,null),u(l,b),u(l,L),u(L,J),u(L,B),u(L,E),u(E,D),u(E,j),fe(C,E,null),u(t,R),p&&p.m(t,null),u(t,I),O&&O.m(t,null),u(s,d),P&&P.m(s,null),a[18](s),U=!0,Y||(N=[te(f,"input",a[8]),te(J,"click",a[10]),te(E,"click",a[7])],Y=!0)},p(v,[k]){k&2&&f.value!==v[1]&&Ne(f,v[1]),v[1]?y?(y.p(v,k),k&2&&T(y,1)):(y=Ue(v),y.c(),T(y,1),y.m(r,null)):y&&(re(),V(y,1,1,()=>{y=null}),ae()),v[4].logs.logs?p?(p.p(v,k),k&16&&T(p,1)):(p=Be(v),p.c(),T(p,1),p.m(t,I)):p&&(re(),V(p,1,1,()=>{p=null}),ae()),v[1]?O&&(O.d(1),O=null):O||(O=Me(),O.c(),O.m(t,null)),v[3]?P?(P.p(v,k),k&8&&T(P,1)):(P=ze(v),P.c(),T(P,1),P.m(s,null)):P&&(re(),V(P,1,1,()=>{P=null}),ae())},i(v){U||(T(y),T(C.$$.fragment,v),T(p),T(P),U=!0)},o(v){V(y),V(C.$$.fragment,v),V(p),V(P),U=!1},d(v){v&&(_(e),_(s)),y&&y.d(),ue(C),p&&p.d(),O&&O.d(),P&&P.d(),a[18](null),Y=!1,Ke(N)}}}let ee=262144;function Ct(a,e,s){let t;et(a,Te,d=>s(4,t=d));let l,r="",n=[],i;const o=d=>d.hidden===!0||d.error_type.toLowerCase().indexOf(r)===-1&&d.message.toLowerCase().indexOf(r)===-1;let f=!1;tt(()=>{{const d=document.querySelector(".logs");d&&Math.abs(d.scrollHeight-d.scrollTop-d.clientHeight)<10&&(f=!1)}}),lt(async()=>{var d;f||(await rt(),document.querySelector("footer").scrollIntoView(),(d=t.logs.logs)!=null&&d.length&&(f=!0))}),st(()=>{s(3,i=localStorage.pinnedPanel==="true"),s(2,n=localStorage.pinnedLogs?JSON.parse(localStorage.pinnedLogs):[])});const h=d=>{n.find(U=>U.id===d.id)?s(2,n=n.filter(U=>U.id!==d.id)):s(2,n=[...n,d]),localStorage.pinnedLogs=JSON.stringify(n)},b=()=>{i?(s(3,i=!1),localStorage.pinnedPanel=!1):(s(3,i=!0),localStorage.pinnedPanel=!0)};function L(){r=this.value,s(1,r)}const J=()=>s(1,r=""),x=()=>t.logs.logs.forEach((d,U)=>ye(Te,t.logs.logs[U].hidden=!0,t)),B=(d,U,Y)=>ye(Te,U[Y].showFull=!0,t),E=(d,U)=>navigator.clipboard.writeText(d.message).then(()=>{U.target.classList.add("confirmation"),setTimeout(()=>U.target.classList.remove("confirmation"),1e3)}),D=d=>h(d),X=(d,U)=>U.id===d.id,j=()=>{localStorage.pinnedLogs=[],s(2,n=[])},C=d=>h(d),R=(d,U,Y)=>s(2,U[Y].showFull=!0,n);function I(d){it[d?"unshift":"push"](()=>{l=d,s(0,l)})}return[l,r,n,i,t,o,h,b,L,J,x,B,E,D,X,j,C,R,I]}class Bt extends ot{constructor(e){super(),ft(this,e,Ct,Tt,Ze,{})}}export{Bt as component}; diff --git a/gui/next/build/_app/immutable/nodes/17.32042c01.js b/gui/next/build/_app/immutable/nodes/14.b6fb1833.js similarity index 65% rename from gui/next/build/_app/immutable/nodes/17.32042c01.js rename to gui/next/build/_app/immutable/nodes/14.b6fb1833.js index 70f15fbf..0b59189c 100644 --- a/gui/next/build/_app/immutable/nodes/17.32042c01.js +++ b/gui/next/build/_app/immutable/nodes/14.b6fb1833.js @@ -1 +1 @@ -import{s,J as a,d as n,A as e}from"../chunks/scheduler.bed694a1.js";import{S as r,i as c}from"../chunks/index.606d5641.js";function d(o){return{c(){this.h()},l(t){a("svelte-165emge",document.head).forEach(n),this.h()},h(){document.title="Users | platformOS"},m:e,p:e,i:e,o:e,d:e}}class l extends r{constructor(t){super(),c(this,t,null,d,s,{})}}export{l as component}; +import{s,J as a,d as n,A as e}from"../chunks/scheduler.a497d5ec.js";import{S as r,i as c}from"../chunks/index.ca999c64.js";function d(o){return{c(){this.h()},l(t){a("svelte-165emge",document.head).forEach(n),this.h()},h(){document.title="Users | platformOS"},m:e,p:e,i:e,o:e,d:e}}class l extends r{constructor(t){super(),c(this,t,null,d,s,{})}}export{l as component}; diff --git a/gui/next/build/_app/immutable/nodes/15.00af44d3.js b/gui/next/build/_app/immutable/nodes/15.00af44d3.js deleted file mode 100644 index 9a718b0f..00000000 --- a/gui/next/build/_app/immutable/nodes/15.00af44d3.js +++ /dev/null @@ -1 +0,0 @@ -import{s}from"../chunks/scheduler.bed694a1.js";import{S as t,i as e}from"../chunks/index.606d5641.js";class l extends t{constructor(o){super(),e(this,o,null,null,s,{})}}export{l as component}; diff --git a/gui/next/build/_app/immutable/nodes/18.eb9c1c14.js b/gui/next/build/_app/immutable/nodes/15.1fecd492.js similarity index 97% rename from gui/next/build/_app/immutable/nodes/18.eb9c1c14.js rename to gui/next/build/_app/immutable/nodes/15.1fecd492.js index 4cb59397..fd71a070 100644 --- a/gui/next/build/_app/immutable/nodes/18.eb9c1c14.js +++ b/gui/next/build/_app/immutable/nodes/15.1fecd492.js @@ -1 +1 @@ -import{s as $e,a as z,J as Ie,d as m,c as A,i as b,v as Te,f as v,l as P,e as U,g as h,h as k,m as q,j as D,u,n as F,r as M}from"../chunks/scheduler.bed694a1.js";import{S as Se,i as we,b as Le,d as Ve,m as je,a as Ue,t as Pe,e as qe}from"../chunks/index.606d5641.js";import{p as ze}from"../chunks/stores.f5d1a634.js";import{u as Ae}from"../chunks/user.1d284359.js";import{A as Fe}from"../chunks/Aside.9f09d30d.js";function ve(r){var d;let e,l=((d=r[1])==null?void 0:d.id)+"",n;return{c(){e=P("ID: "),n=P(l)},l(t){e=q(t,"ID: "),n=q(t,l)},m(t,o){b(t,e,o),b(t,n,o)},p(t,o){var i;o&2&&l!==(l=((i=t[1])==null?void 0:i.id)+"")&&F(n,l)},d(t){t&&(m(e),m(n))}}}function he(r){var o;let e,l="External ID:",n,d=((o=r[1])==null?void 0:o.external_id)+"",t;return{c(){e=v("dt"),e.textContent=l,n=v("dd"),t=P(d),this.h()},l(i){e=h(i,"DT",{class:!0,"data-svelte-h":!0}),M(e)!=="svelte-1xroeo8"&&(e.textContent=l),n=h(i,"DD",{class:!0});var f=k(n);t=q(f,d),f.forEach(m),this.h()},h(){D(e,"class","svelte-9t2ood"),D(n,"class","svelte-9t2ood")},m(i,f){b(i,e,f),b(i,n,f),u(n,t)},p(i,f){var s;f&2&&d!==(d=((s=i[1])==null?void 0:s.external_id)+"")&&F(t,d)},d(i){i&&(m(e),m(n))}}}function pe(r){var o;let e,l="JWT:",n,d=((o=r[1])==null?void 0:o.jwt_token)+"",t;return{c(){e=v("dt"),e.textContent=l,n=v("dd"),t=P(d),this.h()},l(i){e=h(i,"DT",{class:!0,"data-svelte-h":!0}),M(e)!=="svelte-l7ssfz"&&(e.textContent=l),n=h(i,"DD",{class:!0});var f=k(n);t=q(f,d),f.forEach(m),this.h()},h(){D(e,"class","svelte-9t2ood"),D(n,"class","svelte-9t2ood")},m(i,f){b(i,e,f),b(i,n,f),u(n,t)},p(i,f){var s;f&2&&d!==(d=((s=i[1])==null?void 0:s.jwt_token)+"")&&F(t,d)},d(i){i&&(m(e),m(n))}}}function De(r){var f;let e,l,n="First name:",d,t,o=((f=r[1])==null?void 0:f.name)+"",i;return{c(){e=v("div"),l=v("dt"),l.textContent=n,d=z(),t=v("dd"),i=P(o),this.h()},l(s){e=h(s,"DIV",{class:!0});var a=k(e);l=h(a,"DT",{"data-svelte-h":!0}),M(l)!=="svelte-8iyt8l"&&(l.textContent=n),d=A(a),t=h(a,"DD",{class:!0});var c=k(t);i=q(c,o),c.forEach(m),a.forEach(m),this.h()},h(){D(t,"class","svelte-9t2ood"),D(e,"class","svelte-9t2ood")},m(s,a){b(s,e,a),u(e,l),u(e,d),u(e,t),u(t,i)},p(s,a){var c;a&2&&o!==(o=((c=s[1])==null?void 0:c.name)+"")&&F(i,o)},d(s){s&&m(e)}}}function ge(r){var f;let e,l,n="First name:",d,t,o=((f=r[1])==null?void 0:f.first_name)+"",i;return{c(){e=v("div"),l=v("dt"),l.textContent=n,d=z(),t=v("dd"),i=P(o),this.h()},l(s){e=h(s,"DIV",{class:!0});var a=k(e);l=h(a,"DT",{"data-svelte-h":!0}),M(l)!=="svelte-8iyt8l"&&(l.textContent=n),d=A(a),t=h(a,"DD",{class:!0});var c=k(t);i=q(c,o),c.forEach(m),a.forEach(m),this.h()},h(){D(t,"class","svelte-9t2ood"),D(e,"class","svelte-9t2ood")},m(s,a){b(s,e,a),u(e,l),u(e,d),u(e,t),u(t,i)},p(s,a){var c;a&2&&o!==(o=((c=s[1])==null?void 0:c.first_name)+"")&&F(i,o)},d(s){s&&m(e)}}}function ke(r){var f;let e,l,n="Middle name:",d,t,o=((f=r[1])==null?void 0:f.middle_name)+"",i;return{c(){e=v("div"),l=v("dt"),l.textContent=n,d=z(),t=v("dd"),i=P(o),this.h()},l(s){e=h(s,"DIV",{class:!0});var a=k(e);l=h(a,"DT",{"data-svelte-h":!0}),M(l)!=="svelte-1eitmmc"&&(l.textContent=n),d=A(a),t=h(a,"DD",{class:!0});var c=k(t);i=q(c,o),c.forEach(m),a.forEach(m),this.h()},h(){D(t,"class","svelte-9t2ood"),D(e,"class","svelte-9t2ood")},m(s,a){b(s,e,a),u(e,l),u(e,d),u(e,t),u(t,i)},p(s,a){var c;a&2&&o!==(o=((c=s[1])==null?void 0:c.middle_name)+"")&&F(i,o)},d(s){s&&m(e)}}}function be(r){var f;let e,l,n="Last name:",d,t,o=((f=r[1])==null?void 0:f.last_name)+"",i;return{c(){e=v("div"),l=v("dt"),l.textContent=n,d=z(),t=v("dd"),i=P(o),this.h()},l(s){e=h(s,"DIV",{class:!0});var a=k(e);l=h(a,"DT",{"data-svelte-h":!0}),M(l)!=="svelte-1sn8cp"&&(l.textContent=n),d=A(a),t=h(a,"DD",{class:!0});var c=k(t);i=q(c,o),c.forEach(m),a.forEach(m),this.h()},h(){D(t,"class","svelte-9t2ood"),D(e,"class","svelte-9t2ood")},m(s,a){b(s,e,a),u(e,l),u(e,d),u(e,t),u(t,i)},p(s,a){var c;a&2&&o!==(o=((c=s[1])==null?void 0:c.last_name)+"")&&F(i,o)},d(s){s&&m(e)}}}function Ce(r){var f;let e,l,n="Slug:",d,t,o=((f=r[1])==null?void 0:f.slug)+"",i;return{c(){e=v("div"),l=v("dt"),l.textContent=n,d=z(),t=v("dd"),i=P(o),this.h()},l(s){e=h(s,"DIV",{class:!0});var a=k(e);l=h(a,"DT",{"data-svelte-h":!0}),M(l)!=="svelte-q9mm1z"&&(l.textContent=n),d=A(a),t=h(a,"DD",{class:!0});var c=k(t);i=q(c,o),c.forEach(m),a.forEach(m),this.h()},h(){D(t,"class","svelte-9t2ood"),D(e,"class","svelte-9t2ood")},m(s,a){b(s,e,a),u(e,l),u(e,d),u(e,t),u(t,i)},p(s,a){var c;a&2&&o!==(o=((c=s[1])==null?void 0:c.slug)+"")&&F(i,o)},d(s){s&&m(e)}}}function Ee(r){var f;let e,l,n="Language:",d,t,o=((f=r[1])==null?void 0:f.language)+"",i;return{c(){e=v("div"),l=v("dt"),l.textContent=n,d=z(),t=v("dd"),i=P(o),this.h()},l(s){e=h(s,"DIV",{class:!0});var a=k(e);l=h(a,"DT",{"data-svelte-h":!0}),M(l)!=="svelte-14i3pp2"&&(l.textContent=n),d=A(a),t=h(a,"DD",{class:!0});var c=k(t);i=q(c,o),c.forEach(m),a.forEach(m),this.h()},h(){D(t,"class","svelte-9t2ood"),D(e,"class","svelte-9t2ood")},m(s,a){b(s,e,a),u(e,l),u(e,d),u(e,t),u(t,i)},p(s,a){var c;a&2&&o!==(o=((c=s[1])==null?void 0:c.language)+"")&&F(i,o)},d(s){s&&m(e)}}}function Je(r){var Y,Z,y,x,ee,te,le,se,ae,ie,ne;let e,l,n,d,t=new Date((Y=r[1])==null?void 0:Y.created_at).toLocaleDateString(void 0,{})+"",o,i,f=new Date((Z=r[1])==null?void 0:Z.created_at).toLocaleTimeString(void 0,{})+"",s,a,c,j,O,H,p,K,N,Q,R,X,C=((y=r[1])==null?void 0:y.id)&&ve(r),E=((x=r[1])==null?void 0:x.external_id)&&he(r),$=((ee=r[1])==null?void 0:ee.jwt_token)&&pe(r),I=((te=r[1])==null?void 0:te.name)&&De(r),T=((le=r[1])==null?void 0:le.first_name)&&ge(r),S=((se=r[1])==null?void 0:se.middle_name)&&ke(r),w=((ae=r[1])==null?void 0:ae.last_name)&&be(r),L=((ie=r[1])==null?void 0:ie.slug)&&Ce(r),V=((ne=r[1])==null?void 0:ne.language)&&Ee(r);return{c(){e=v("div"),l=v("div"),C&&C.c(),n=z(),d=v("time"),o=P(t),i=z(),s=P(f),c=z(),j=v("dl"),E&&E.c(),O=U(),$&&$.c(),H=z(),p=v("dl"),I&&I.c(),K=U(),T&&T.c(),N=U(),S&&S.c(),Q=U(),w&&w.c(),R=U(),L&&L.c(),X=U(),V&&V.c(),this.h()},l(_){e=h(_,"DIV",{});var g=k(e);l=h(g,"DIV",{class:!0});var W=k(l);C&&C.l(W),n=A(W),d=h(W,"TIME",{datetime:!0,class:!0});var B=k(d);o=q(B,t),i=A(B),s=q(B,f),B.forEach(m),W.forEach(m),g.forEach(m),c=A(_),j=h(_,"DL",{class:!0});var G=k(j);E&&E.l(G),O=U(),$&&$.l(G),G.forEach(m),H=A(_),p=h(_,"DL",{class:!0});var J=k(p);I&&I.l(J),K=U(),T&&T.l(J),N=U(),S&&S.l(J),Q=U(),w&&w.l(J),R=U(),L&&L.l(J),X=U(),V&&V.l(J),J.forEach(m),this.h()},h(){var _;D(d,"datetime",a=(_=r[1])==null?void 0:_.created_at),D(d,"class","svelte-9t2ood"),D(l,"class","info svelte-9t2ood"),D(j,"class","tech svelte-9t2ood"),D(p,"class","personal svelte-9t2ood")},m(_,g){b(_,e,g),u(e,l),C&&C.m(l,null),u(l,n),u(l,d),u(d,o),u(d,i),u(d,s),b(_,c,g),b(_,j,g),E&&E.m(j,null),u(j,O),$&&$.m(j,null),b(_,H,g),b(_,p,g),I&&I.m(p,null),u(p,K),T&&T.m(p,null),u(p,N),S&&S.m(p,null),u(p,Q),w&&w.m(p,null),u(p,R),L&&L.m(p,null),u(p,X),V&&V.m(p,null)},p(_,g){var W,B,G,J,de,oe,fe,re,_e,ce,ue,me;(W=_[1])!=null&&W.id?C?C.p(_,g):(C=ve(_),C.c(),C.m(l,n)):C&&(C.d(1),C=null),g&2&&t!==(t=new Date((B=_[1])==null?void 0:B.created_at).toLocaleDateString(void 0,{})+"")&&F(o,t),g&2&&f!==(f=new Date((G=_[1])==null?void 0:G.created_at).toLocaleTimeString(void 0,{})+"")&&F(s,f),g&2&&a!==(a=(J=_[1])==null?void 0:J.created_at)&&D(d,"datetime",a),(de=_[1])!=null&&de.external_id?E?E.p(_,g):(E=he(_),E.c(),E.m(j,O)):E&&(E.d(1),E=null),(oe=_[1])!=null&&oe.jwt_token?$?$.p(_,g):($=pe(_),$.c(),$.m(j,null)):$&&($.d(1),$=null),(fe=_[1])!=null&&fe.name?I?I.p(_,g):(I=De(_),I.c(),I.m(p,K)):I&&(I.d(1),I=null),(re=_[1])!=null&&re.first_name?T?T.p(_,g):(T=ge(_),T.c(),T.m(p,N)):T&&(T.d(1),T=null),(_e=_[1])!=null&&_e.middle_name?S?S.p(_,g):(S=ke(_),S.c(),S.m(p,Q)):S&&(S.d(1),S=null),(ce=_[1])!=null&&ce.last_name?w?w.p(_,g):(w=be(_),w.c(),w.m(p,R)):w&&(w.d(1),w=null),(ue=_[1])!=null&&ue.slug?L?L.p(_,g):(L=Ce(_),L.c(),L.m(p,X)):L&&(L.d(1),L=null),(me=_[1])!=null&&me.language?V?V.p(_,g):(V=Ee(_),V.c(),V.m(p,null)):V&&(V.d(1),V=null)},d(_){_&&(m(e),m(c),m(j),m(H),m(p)),C&&C.d(),E&&E.d(),$&&$.d(),I&&I.d(),T&&T.d(),S&&S.d(),w&&w.d(),L&&L.d(),V&&V.d()}}}function Me(r){var t,o,i;let e,l,n,d;return document.title=e=(((t=r[1])==null?void 0:t.email)??"Users")+" | platformOS",n=new Fe({props:{title:((o=r[1])==null?void 0:o.email)??((i=r[1])==null?void 0:i.id)??"Loading…",closeUrl:"/users?"+r[0].url.searchParams.toString(),$$slots:{default:[Je]},$$scope:{ctx:r}}}),{c(){l=z(),Le(n.$$.fragment)},l(f){Ie("svelte-1t64gtk",document.head).forEach(m),l=A(f),Ve(n.$$.fragment,f)},m(f,s){b(f,l,s),je(n,f,s),d=!0},p(f,[s]){var c,j,O;(!d||s&2)&&e!==(e=(((c=f[1])==null?void 0:c.email)??"Users")+" | platformOS")&&(document.title=e);const a={};s&2&&(a.title=((j=f[1])==null?void 0:j.email)??((O=f[1])==null?void 0:O.id)??"Loading…"),s&1&&(a.closeUrl="/users?"+f[0].url.searchParams.toString()),s&10&&(a.$$scope={dirty:s,ctx:f}),n.$set(a)},i(f){d||(Ue(n.$$.fragment,f),d=!0)},o(f){Pe(n.$$.fragment,f),d=!1},d(f){f&&m(l),qe(n,f)}}}function Oe(r,e,l){let n;Te(r,ze,o=>l(0,n=o));let d;const t=async()=>{const o={attribute:"id",value:n.params.id};await Ae.get(o).then(i=>{l(1,d=i.results[0])})};return r.$$.update=()=>{r.$$.dirty&1&&n.params.id&&t()},[n,d]}class Ne extends Se{constructor(e){super(),we(this,e,Oe,Me,$e,{})}}export{Ne as component}; +import{s as $e,a as z,J as Ie,d as m,c as A,i as b,v as Te,f as v,l as P,e as U,g as h,h as k,m as q,j as D,u,n as F,r as M}from"../chunks/scheduler.a497d5ec.js";import{S as Se,i as we,b as Le,d as Ve,m as je,a as Ue,t as Pe,e as qe}from"../chunks/index.ca999c64.js";import{p as ze}from"../chunks/stores.0efc77ce.js";import{u as Ae}from"../chunks/user.1d284359.js";import{A as Fe}from"../chunks/Aside.143a8d13.js";function ve(r){var d;let e,l=((d=r[1])==null?void 0:d.id)+"",n;return{c(){e=P("ID: "),n=P(l)},l(t){e=q(t,"ID: "),n=q(t,l)},m(t,o){b(t,e,o),b(t,n,o)},p(t,o){var i;o&2&&l!==(l=((i=t[1])==null?void 0:i.id)+"")&&F(n,l)},d(t){t&&(m(e),m(n))}}}function he(r){var o;let e,l="External ID:",n,d=((o=r[1])==null?void 0:o.external_id)+"",t;return{c(){e=v("dt"),e.textContent=l,n=v("dd"),t=P(d),this.h()},l(i){e=h(i,"DT",{class:!0,"data-svelte-h":!0}),M(e)!=="svelte-1xroeo8"&&(e.textContent=l),n=h(i,"DD",{class:!0});var f=k(n);t=q(f,d),f.forEach(m),this.h()},h(){D(e,"class","svelte-9t2ood"),D(n,"class","svelte-9t2ood")},m(i,f){b(i,e,f),b(i,n,f),u(n,t)},p(i,f){var s;f&2&&d!==(d=((s=i[1])==null?void 0:s.external_id)+"")&&F(t,d)},d(i){i&&(m(e),m(n))}}}function pe(r){var o;let e,l="JWT:",n,d=((o=r[1])==null?void 0:o.jwt_token)+"",t;return{c(){e=v("dt"),e.textContent=l,n=v("dd"),t=P(d),this.h()},l(i){e=h(i,"DT",{class:!0,"data-svelte-h":!0}),M(e)!=="svelte-l7ssfz"&&(e.textContent=l),n=h(i,"DD",{class:!0});var f=k(n);t=q(f,d),f.forEach(m),this.h()},h(){D(e,"class","svelte-9t2ood"),D(n,"class","svelte-9t2ood")},m(i,f){b(i,e,f),b(i,n,f),u(n,t)},p(i,f){var s;f&2&&d!==(d=((s=i[1])==null?void 0:s.jwt_token)+"")&&F(t,d)},d(i){i&&(m(e),m(n))}}}function De(r){var f;let e,l,n="First name:",d,t,o=((f=r[1])==null?void 0:f.name)+"",i;return{c(){e=v("div"),l=v("dt"),l.textContent=n,d=z(),t=v("dd"),i=P(o),this.h()},l(s){e=h(s,"DIV",{class:!0});var a=k(e);l=h(a,"DT",{"data-svelte-h":!0}),M(l)!=="svelte-8iyt8l"&&(l.textContent=n),d=A(a),t=h(a,"DD",{class:!0});var c=k(t);i=q(c,o),c.forEach(m),a.forEach(m),this.h()},h(){D(t,"class","svelte-9t2ood"),D(e,"class","svelte-9t2ood")},m(s,a){b(s,e,a),u(e,l),u(e,d),u(e,t),u(t,i)},p(s,a){var c;a&2&&o!==(o=((c=s[1])==null?void 0:c.name)+"")&&F(i,o)},d(s){s&&m(e)}}}function ge(r){var f;let e,l,n="First name:",d,t,o=((f=r[1])==null?void 0:f.first_name)+"",i;return{c(){e=v("div"),l=v("dt"),l.textContent=n,d=z(),t=v("dd"),i=P(o),this.h()},l(s){e=h(s,"DIV",{class:!0});var a=k(e);l=h(a,"DT",{"data-svelte-h":!0}),M(l)!=="svelte-8iyt8l"&&(l.textContent=n),d=A(a),t=h(a,"DD",{class:!0});var c=k(t);i=q(c,o),c.forEach(m),a.forEach(m),this.h()},h(){D(t,"class","svelte-9t2ood"),D(e,"class","svelte-9t2ood")},m(s,a){b(s,e,a),u(e,l),u(e,d),u(e,t),u(t,i)},p(s,a){var c;a&2&&o!==(o=((c=s[1])==null?void 0:c.first_name)+"")&&F(i,o)},d(s){s&&m(e)}}}function ke(r){var f;let e,l,n="Middle name:",d,t,o=((f=r[1])==null?void 0:f.middle_name)+"",i;return{c(){e=v("div"),l=v("dt"),l.textContent=n,d=z(),t=v("dd"),i=P(o),this.h()},l(s){e=h(s,"DIV",{class:!0});var a=k(e);l=h(a,"DT",{"data-svelte-h":!0}),M(l)!=="svelte-1eitmmc"&&(l.textContent=n),d=A(a),t=h(a,"DD",{class:!0});var c=k(t);i=q(c,o),c.forEach(m),a.forEach(m),this.h()},h(){D(t,"class","svelte-9t2ood"),D(e,"class","svelte-9t2ood")},m(s,a){b(s,e,a),u(e,l),u(e,d),u(e,t),u(t,i)},p(s,a){var c;a&2&&o!==(o=((c=s[1])==null?void 0:c.middle_name)+"")&&F(i,o)},d(s){s&&m(e)}}}function be(r){var f;let e,l,n="Last name:",d,t,o=((f=r[1])==null?void 0:f.last_name)+"",i;return{c(){e=v("div"),l=v("dt"),l.textContent=n,d=z(),t=v("dd"),i=P(o),this.h()},l(s){e=h(s,"DIV",{class:!0});var a=k(e);l=h(a,"DT",{"data-svelte-h":!0}),M(l)!=="svelte-1sn8cp"&&(l.textContent=n),d=A(a),t=h(a,"DD",{class:!0});var c=k(t);i=q(c,o),c.forEach(m),a.forEach(m),this.h()},h(){D(t,"class","svelte-9t2ood"),D(e,"class","svelte-9t2ood")},m(s,a){b(s,e,a),u(e,l),u(e,d),u(e,t),u(t,i)},p(s,a){var c;a&2&&o!==(o=((c=s[1])==null?void 0:c.last_name)+"")&&F(i,o)},d(s){s&&m(e)}}}function Ce(r){var f;let e,l,n="Slug:",d,t,o=((f=r[1])==null?void 0:f.slug)+"",i;return{c(){e=v("div"),l=v("dt"),l.textContent=n,d=z(),t=v("dd"),i=P(o),this.h()},l(s){e=h(s,"DIV",{class:!0});var a=k(e);l=h(a,"DT",{"data-svelte-h":!0}),M(l)!=="svelte-q9mm1z"&&(l.textContent=n),d=A(a),t=h(a,"DD",{class:!0});var c=k(t);i=q(c,o),c.forEach(m),a.forEach(m),this.h()},h(){D(t,"class","svelte-9t2ood"),D(e,"class","svelte-9t2ood")},m(s,a){b(s,e,a),u(e,l),u(e,d),u(e,t),u(t,i)},p(s,a){var c;a&2&&o!==(o=((c=s[1])==null?void 0:c.slug)+"")&&F(i,o)},d(s){s&&m(e)}}}function Ee(r){var f;let e,l,n="Language:",d,t,o=((f=r[1])==null?void 0:f.language)+"",i;return{c(){e=v("div"),l=v("dt"),l.textContent=n,d=z(),t=v("dd"),i=P(o),this.h()},l(s){e=h(s,"DIV",{class:!0});var a=k(e);l=h(a,"DT",{"data-svelte-h":!0}),M(l)!=="svelte-14i3pp2"&&(l.textContent=n),d=A(a),t=h(a,"DD",{class:!0});var c=k(t);i=q(c,o),c.forEach(m),a.forEach(m),this.h()},h(){D(t,"class","svelte-9t2ood"),D(e,"class","svelte-9t2ood")},m(s,a){b(s,e,a),u(e,l),u(e,d),u(e,t),u(t,i)},p(s,a){var c;a&2&&o!==(o=((c=s[1])==null?void 0:c.language)+"")&&F(i,o)},d(s){s&&m(e)}}}function Je(r){var Y,Z,y,x,ee,te,le,se,ae,ie,ne;let e,l,n,d,t=new Date((Y=r[1])==null?void 0:Y.created_at).toLocaleDateString(void 0,{})+"",o,i,f=new Date((Z=r[1])==null?void 0:Z.created_at).toLocaleTimeString(void 0,{})+"",s,a,c,j,O,H,p,K,N,Q,R,X,C=((y=r[1])==null?void 0:y.id)&&ve(r),E=((x=r[1])==null?void 0:x.external_id)&&he(r),$=((ee=r[1])==null?void 0:ee.jwt_token)&&pe(r),I=((te=r[1])==null?void 0:te.name)&&De(r),T=((le=r[1])==null?void 0:le.first_name)&&ge(r),S=((se=r[1])==null?void 0:se.middle_name)&&ke(r),w=((ae=r[1])==null?void 0:ae.last_name)&&be(r),L=((ie=r[1])==null?void 0:ie.slug)&&Ce(r),V=((ne=r[1])==null?void 0:ne.language)&&Ee(r);return{c(){e=v("div"),l=v("div"),C&&C.c(),n=z(),d=v("time"),o=P(t),i=z(),s=P(f),c=z(),j=v("dl"),E&&E.c(),O=U(),$&&$.c(),H=z(),p=v("dl"),I&&I.c(),K=U(),T&&T.c(),N=U(),S&&S.c(),Q=U(),w&&w.c(),R=U(),L&&L.c(),X=U(),V&&V.c(),this.h()},l(_){e=h(_,"DIV",{});var g=k(e);l=h(g,"DIV",{class:!0});var W=k(l);C&&C.l(W),n=A(W),d=h(W,"TIME",{datetime:!0,class:!0});var B=k(d);o=q(B,t),i=A(B),s=q(B,f),B.forEach(m),W.forEach(m),g.forEach(m),c=A(_),j=h(_,"DL",{class:!0});var G=k(j);E&&E.l(G),O=U(),$&&$.l(G),G.forEach(m),H=A(_),p=h(_,"DL",{class:!0});var J=k(p);I&&I.l(J),K=U(),T&&T.l(J),N=U(),S&&S.l(J),Q=U(),w&&w.l(J),R=U(),L&&L.l(J),X=U(),V&&V.l(J),J.forEach(m),this.h()},h(){var _;D(d,"datetime",a=(_=r[1])==null?void 0:_.created_at),D(d,"class","svelte-9t2ood"),D(l,"class","info svelte-9t2ood"),D(j,"class","tech svelte-9t2ood"),D(p,"class","personal svelte-9t2ood")},m(_,g){b(_,e,g),u(e,l),C&&C.m(l,null),u(l,n),u(l,d),u(d,o),u(d,i),u(d,s),b(_,c,g),b(_,j,g),E&&E.m(j,null),u(j,O),$&&$.m(j,null),b(_,H,g),b(_,p,g),I&&I.m(p,null),u(p,K),T&&T.m(p,null),u(p,N),S&&S.m(p,null),u(p,Q),w&&w.m(p,null),u(p,R),L&&L.m(p,null),u(p,X),V&&V.m(p,null)},p(_,g){var W,B,G,J,de,oe,fe,re,_e,ce,ue,me;(W=_[1])!=null&&W.id?C?C.p(_,g):(C=ve(_),C.c(),C.m(l,n)):C&&(C.d(1),C=null),g&2&&t!==(t=new Date((B=_[1])==null?void 0:B.created_at).toLocaleDateString(void 0,{})+"")&&F(o,t),g&2&&f!==(f=new Date((G=_[1])==null?void 0:G.created_at).toLocaleTimeString(void 0,{})+"")&&F(s,f),g&2&&a!==(a=(J=_[1])==null?void 0:J.created_at)&&D(d,"datetime",a),(de=_[1])!=null&&de.external_id?E?E.p(_,g):(E=he(_),E.c(),E.m(j,O)):E&&(E.d(1),E=null),(oe=_[1])!=null&&oe.jwt_token?$?$.p(_,g):($=pe(_),$.c(),$.m(j,null)):$&&($.d(1),$=null),(fe=_[1])!=null&&fe.name?I?I.p(_,g):(I=De(_),I.c(),I.m(p,K)):I&&(I.d(1),I=null),(re=_[1])!=null&&re.first_name?T?T.p(_,g):(T=ge(_),T.c(),T.m(p,N)):T&&(T.d(1),T=null),(_e=_[1])!=null&&_e.middle_name?S?S.p(_,g):(S=ke(_),S.c(),S.m(p,Q)):S&&(S.d(1),S=null),(ce=_[1])!=null&&ce.last_name?w?w.p(_,g):(w=be(_),w.c(),w.m(p,R)):w&&(w.d(1),w=null),(ue=_[1])!=null&&ue.slug?L?L.p(_,g):(L=Ce(_),L.c(),L.m(p,X)):L&&(L.d(1),L=null),(me=_[1])!=null&&me.language?V?V.p(_,g):(V=Ee(_),V.c(),V.m(p,null)):V&&(V.d(1),V=null)},d(_){_&&(m(e),m(c),m(j),m(H),m(p)),C&&C.d(),E&&E.d(),$&&$.d(),I&&I.d(),T&&T.d(),S&&S.d(),w&&w.d(),L&&L.d(),V&&V.d()}}}function Me(r){var t,o,i;let e,l,n,d;return document.title=e=(((t=r[1])==null?void 0:t.email)??"Users")+" | platformOS",n=new Fe({props:{title:((o=r[1])==null?void 0:o.email)??((i=r[1])==null?void 0:i.id)??"Loading…",closeUrl:"/users?"+r[0].url.searchParams.toString(),$$slots:{default:[Je]},$$scope:{ctx:r}}}),{c(){l=z(),Le(n.$$.fragment)},l(f){Ie("svelte-1t64gtk",document.head).forEach(m),l=A(f),Ve(n.$$.fragment,f)},m(f,s){b(f,l,s),je(n,f,s),d=!0},p(f,[s]){var c,j,O;(!d||s&2)&&e!==(e=(((c=f[1])==null?void 0:c.email)??"Users")+" | platformOS")&&(document.title=e);const a={};s&2&&(a.title=((j=f[1])==null?void 0:j.email)??((O=f[1])==null?void 0:O.id)??"Loading…"),s&1&&(a.closeUrl="/users?"+f[0].url.searchParams.toString()),s&10&&(a.$$scope={dirty:s,ctx:f}),n.$set(a)},i(f){d||(Ue(n.$$.fragment,f),d=!0)},o(f){Pe(n.$$.fragment,f),d=!1},d(f){f&&m(l),qe(n,f)}}}function Oe(r,e,l){let n;Te(r,ze,o=>l(0,n=o));let d;const t=async()=>{const o={attribute:"id",value:n.params.id};await Ae.get(o).then(i=>{l(1,d=i.results[0])})};return r.$$.update=()=>{r.$$.dirty&1&&n.params.id&&t()},[n,d]}class Ne extends Se{constructor(e){super(),we(this,e,Oe,Me,$e,{})}}export{Ne as component}; diff --git a/gui/next/build/_app/immutable/nodes/16.ef441c50.js b/gui/next/build/_app/immutable/nodes/16.ef441c50.js deleted file mode 100644 index 849a9283..00000000 --- a/gui/next/build/_app/immutable/nodes/16.ef441c50.js +++ /dev/null @@ -1,3 +0,0 @@ -import{s as Y,f as $,a as J,g as y,h as E,c as M,r as A,d as h,j as v,w as N,i as T,u as b,x as se,J as ae,U as le,v as K,l as H,e as Q,m as I,n as B,A as W}from"../chunks/scheduler.bed694a1.js";import{S as Z,i as x,b as U,d as O,m as q,a as S,t as D,e as z,g as ee,c as te}from"../chunks/index.606d5641.js";import{p as re}from"../chunks/stores.f5d1a634.js";import{s as oe}from"../chunks/state.88bbaa31.js";import{t as ne}from"../chunks/tryParseJSON.f125f883.js";import{A as ie}from"../chunks/Aside.9f09d30d.js";import{J as ce}from"../chunks/JSONTree.45966d99.js";import{I as ue}from"../chunks/Icon.4ad67fd0.js";function fe(o){let e,t,s,l,a="Copy",c,n,i,f;return t=new ue({props:{icon:o[0]?"check":o[2]?"x":"copy",size:"16"}}),{c(){e=$("button"),U(t.$$.fragment),s=J(),l=$("span"),l.textContent=a,this.h()},l(r){e=y(r,"BUTTON",{title:!0,class:!0,"aria-disabled":!0});var m=E(e);O(t.$$.fragment,m),s=M(m),l=y(m,"SPAN",{class:!0,"data-svelte-h":!0}),A(l)!=="svelte-uxc2fm"&&(l.textContent=a),m.forEach(h),this.h()},h(){v(l,"class","label"),v(e,"title","Copy message to clipboard"),v(e,"class","button compact svelte-1ve7fyv"),v(e,"aria-disabled",c=o[1]||o[0]||o[2]),N(e,"progressing",o[1])},m(r,m){T(r,e,m),q(t,e,null),b(e,s),b(e,l),n=!0,i||(f=se(e,"click",o[3]),i=!0)},p(r,[m]){const u={};m&5&&(u.icon=r[0]?"check":r[2]?"x":"copy"),t.$set(u),(!n||m&7&&c!==(c=r[1]||r[0]||r[2]))&&v(e,"aria-disabled",c),(!n||m&2)&&N(e,"progressing",r[1])},i(r){n||(S(t.$$.fragment,r),n=!0)},o(r){D(t.$$.fragment,r),n=!1},d(r){r&&h(e),z(t),i=!1,f()}}}function _e(o,e,t){let{text:s}=e,l=!1,a=!1,c=!1;const n=()=>{t(1,a=!0),navigator.clipboard.writeText(s.toString()).then(()=>{setTimeout(()=>{t(0,l=!0)},150),setTimeout(()=>{t(1,a=!1)},300),setTimeout(()=>{t(1,a=!0)},2300),setTimeout(()=>{t(0,l=!1)},2450),setTimeout(()=>{t(1,a=!1)},2600)}).catch(i=>{t(1,a=!1),t(2,c=!0),console.error(i)})};return o.$$set=i=>{"text"in i&&t(4,s=i.text)},[l,a,c,n,s]}class me extends Z{constructor(e){super(),x(this,e,_e,fe,Y,{text:4})}}function X(o){let e,t,s,l,a,c,n,i;s=new me({props:{text:o[0].message}});const f=[de,pe],r=[];function m(u,d){return u[1]?0:1}return c=m(o),n=r[c]=f[c](o),{c(){e=$("h2"),t=H(`Message: - `),U(s.$$.fragment),l=J(),a=$("div"),n.c(),this.h()},l(u){e=y(u,"H2",{class:!0});var d=E(e);t=I(d,`Message: - `),O(s.$$.fragment,d),d.forEach(h),l=M(u),a=y(u,"DIV",{class:!0});var k=E(a);n.l(k),k.forEach(h),this.h()},h(){v(e,"class","svelte-14ly6in"),v(a,"class","code svelte-14ly6in"),N(a,"json",o[1])},m(u,d){T(u,e,d),b(e,t),q(s,e,null),T(u,l,d),T(u,a,d),r[c].m(a,null),i=!0},p(u,d){const k={};d&1&&(k.text=u[0].message),s.$set(k);let C=c;c=m(u),c===C?r[c].p(u,d):(ee(),D(r[C],1,1,()=>{r[C]=null}),te(),n=r[c],n?n.p(u,d):(n=r[c]=f[c](u),n.c()),S(n,1),n.m(a,null)),(!i||d&2)&&N(a,"json",u[1])},i(u){i||(S(s.$$.fragment,u),S(n),i=!0)},o(u){D(s.$$.fragment,u),D(n),i=!1},d(u){u&&(h(e),h(l),h(a)),z(s),r[c].d()}}}function pe(o){let e=o[0].message+"",t;return{c(){t=H(e)},l(s){t=I(s,e)},m(s,l){T(s,t,l)},p(s,l){l&1&&e!==(e=s[0].message+"")&&B(t,e)},i:W,o:W,d(s){s&&h(t)}}}function de(o){let e,t;return e=new ce({props:{value:o[1],showFullLines:!0}}),{c(){U(e.$$.fragment)},l(s){O(e.$$.fragment,s)},m(s,l){q(e,s,l),t=!0},p(s,l){const a={};l&2&&(a.value=s[1]),e.$set(a)},i(s){t||(S(e.$$.fragment,s),t=!0)},o(s){D(e.$$.fragment,s),t=!1},d(s){z(e,s)}}}function he(o){var F,R,V;let e,t,s="Time:",l,a=new Date(((F=o[0])==null?void 0:F.options_at)/1e3).toLocaleString()+"",c,n,i="Host:",f,r,m=((R=o[0])==null?void 0:R.options_data_url)+"",u,d,k,C,w,p=((V=o[0])==null?void 0:V.message)&&X(o);return{c(){e=$("dl"),t=$("dt"),t.textContent=s,l=$("dd"),c=H(a),n=$("dt"),n.textContent=i,f=$("dd"),r=$("a"),u=H(m),k=J(),p&&p.c(),C=Q(),this.h()},l(_){e=y(_,"DL",{class:!0});var g=E(e);t=y(g,"DT",{"data-svelte-h":!0}),A(t)!=="svelte-toke4h"&&(t.textContent=s),l=y(g,"DD",{class:!0});var L=E(l);c=I(L,a),L.forEach(h),n=y(g,"DT",{"data-svelte-h":!0}),A(n)!=="svelte-ylaeay"&&(n.textContent=i),f=y(g,"DD",{class:!0});var j=E(f);r=y(j,"A",{href:!0,class:!0});var P=E(r);u=I(P,m),P.forEach(h),j.forEach(h),g.forEach(h),k=M(_),p&&p.l(_),C=Q(),this.h()},h(){var _;v(l,"class","svelte-14ly6in"),v(r,"href",d=(_=o[0])==null?void 0:_.options_data_url),v(r,"class","svelte-14ly6in"),v(f,"class","svelte-14ly6in"),v(e,"class","svelte-14ly6in")},m(_,g){T(_,e,g),b(e,t),b(e,l),b(l,c),b(e,n),b(e,f),b(f,r),b(r,u),T(_,k,g),p&&p.m(_,g),T(_,C,g),w=!0},p(_,g){var L,j,P,G;(!w||g&1)&&a!==(a=new Date(((L=_[0])==null?void 0:L.options_at)/1e3).toLocaleString()+"")&&B(c,a),(!w||g&1)&&m!==(m=((j=_[0])==null?void 0:j.options_data_url)+"")&&B(u,m),(!w||g&1&&d!==(d=(P=_[0])==null?void 0:P.options_data_url))&&v(r,"href",d),(G=_[0])!=null&&G.message?p?(p.p(_,g),g&1&&S(p,1)):(p=X(_),p.c(),S(p,1),p.m(C.parentNode,C)):p&&(ee(),D(p,1,1,()=>{p=null}),te())},i(_){w||(S(p),w=!0)},o(_){D(p),w=!1},d(_){_&&(h(e),h(k),h(C)),p&&p.d(_)}}}function ge(o){var n;let e,t="",s,l,a,c;return a=new ie({props:{title:((n=o[0])==null?void 0:n.type)??"Loading…",closeUrl:"/logsv2?"+o[2].url.searchParams.toString(),$$slots:{default:[he]},$$scope:{ctx:o}}}),{c(){e=$("script"),e.innerHTML=t,l=J(),U(a.$$.fragment),this.h()},l(i){const f=ae("svelte-1pgpgj4",document.head);e=y(f,"SCRIPT",{src:!0,"data-manual":!0,"data-svelte-h":!0}),A(e)!=="svelte-6mxszl"&&(e.innerHTML=t),f.forEach(h),l=M(i),O(a.$$.fragment,i),this.h()},h(){le(e.src,s="/prism.js")||v(e,"src",s),v(e,"data-manual","")},m(i,f){b(document.head,e),T(i,l,f),q(a,i,f),c=!0},p(i,[f]){var m;const r={};f&1&&(r.title=((m=i[0])==null?void 0:m.type)??"Loading…"),f&4&&(r.closeUrl="/logsv2?"+i[2].url.searchParams.toString()),f&19&&(r.$$scope={dirty:f,ctx:i}),a.$set(r)},i(i){c||(S(a.$$.fragment,i),c=!0)},o(i){D(a.$$.fragment,i),c=!1},d(i){i&&h(l),h(e),z(a,i)}}}function ve(o,e,t){let s,l,a,c;return K(o,oe,n=>t(3,a=n)),K(o,re,n=>t(2,c=n)),o.$$.update=()=>{o.$$.dirty&8&&t(0,s=a.logv2),o.$$.dirty&1&&t(1,l=s&&ne(s.message))},[s,l,c,a]}class we extends Z{constructor(e){super(),x(this,e,ve,ge,Y,{})}}export{we as component}; diff --git a/gui/next/build/_app/immutable/nodes/2.02b96a81.js b/gui/next/build/_app/immutable/nodes/2.4c2c3fcd.js similarity index 96% rename from gui/next/build/_app/immutable/nodes/2.02b96a81.js rename to gui/next/build/_app/immutable/nodes/2.4c2c3fcd.js index 01deca82..35c41041 100644 --- a/gui/next/build/_app/immutable/nodes/2.02b96a81.js +++ b/gui/next/build/_app/immutable/nodes/2.4c2c3fcd.js @@ -1,7 +1,7 @@ -import{s as Ie,f as d,a as L,l as W,g as _,h as y,c as N,m as X,d as f,j as m,i as Y,u as l,x as ce,H as ze,p as ke,I as Fe,D as Ye,J as Ze,r as oe,K as Re,B as xe,L as Me,M as et,n as ye,E as tt,F as at,G as nt,N as st,y as Ge,v as lt,O as rt,w as Ue,P as ot}from"../chunks/scheduler.bed694a1.js";import{S as Le,i as Ne,b as de,d as _e,m as me,a as q,t as z,e as he,h as it,c as Ke,g as Qe}from"../chunks/index.606d5641.js";import{e as qe}from"../chunks/each.177d9825.js";import"../chunks/singletons.aae78537.js";import{p as ut}from"../chunks/stores.f5d1a634.js";import{b as Se}from"../chunks/backgroundJob.c756ecec.js";import{I as Ae}from"../chunks/Icon.4ad67fd0.js";import{N as ft}from"../chunks/Number.6952118c.js";import{s as De}from"../chunks/state.88bbaa31.js";const pe=e=>{const a=e instanceof Date?e:new Date(e),t=new Intl.RelativeTimeFormat("en"),n={years:3600*24*365,months:3600*24*30,weeks:3600*24*7,days:3600*24,hours:3600,minutes:60,seconds:1},s=(a.getTime()-Date.now())/1e3;for(let r in n)if(n[r]{const a=e instanceof Date?e:new Date(e),t=new Intl.RelativeTimeFormat("en"),n={years:3600*24*365,months:3600*24*30,weeks:3600*24*7,days:3600*24,hours:3600,minutes:60,seconds:1},s=(a.getTime()-Date.now())/1e3;for(let r in n)if(n[r]{o.preventDefault();const b=await Se.retry({properties:new FormData(s)});b.errors?De.notification.create("error",`Background job ${b.admin_background_job_retry.id} could not be run again`):(r("itemsChanged"),De.notification.create("success",`Background job ${b.admin_background_job_retry.id} planned to run again`))};function p(o){ke[o?"unshift":"push"](()=>{s=o,t(1,s)})}return e.$$set=o=>{"id"in o&&t(0,n=o.id)},[n,s,c,p]}class _t extends Le{constructor(a){super(),Ne(this,a,dt,ct,Ie,{id:0})}}function mt(e){let a,t,n,s,r,c,p,o,b,u;return c=new Ae({props:{icon:"x",size:"22"}}),{c(){a=d("form"),t=d("input"),n=L(),s=d("button"),r=d("i"),de(c.$$.fragment),p=W(`\r Delete background job`),this.h()},l(i){a=_(i,"FORM",{});var D=y(a);t=_(D,"INPUT",{type:!0,name:!0}),n=N(D),s=_(D,"BUTTON",{class:!0});var k=y(s);r=_(k,"I",{class:!0});var S=y(r);_e(c.$$.fragment,S),S.forEach(f),p=X(k,`\r - Delete background job`),k.forEach(f),D.forEach(f),this.h()},h(){m(t,"type","hidden"),m(t,"name","id"),t.value=e[0],m(r,"class","svelte-ooaugn"),m(s,"class","danger")},m(i,D){Y(i,a,D),l(a,t),l(a,n),l(a,s),l(s,r),me(c,r,null),l(s,p),e[3](a),o=!0,b||(u=ce(a,"submit",e[2]),b=!0)},p(i,[D]){(!o||D&1)&&(t.value=i[0])},i(i){o||(q(c.$$.fragment,i),o=!0)},o(i){z(c.$$.fragment,i),o=!1},d(i){i&&f(a),he(c),e[3](null),b=!1,u()}}}function ht(e,a,t){let{id:n}=a,s;const r=ze(),c=async o=>{if(o.preventDefault(),confirm("Are you sure you want to delete this background job?")){const b=await Se.delete({properties:new FormData(s)});b.errors?De.notification.create("error",`Background job ${b.admin_background_job_delete.id} could not be deleted`):(r("itemsChanged"),De.notification.create("success",`Background job ${b.admin_background_job_delete.id} deleted`))}};function p(o){ke[o?"unshift":"push"](()=>{s=o,t(1,s)})}return e.$$set=o=>{"id"in o&&t(0,n=o.id)},[n,s,c,p]}class pt extends Le{constructor(a){super(),Ne(this,a,ht,mt,Ie,{id:0})}}function He(e,a,t){const n=e.slice();return n[15]=a[t],n}function vt(e){let a;return{c(){a=W("Runs")},l(t){a=X(t,"Runs")},m(t,n){Y(t,a,n)},d(t){t&&f(a)}}}function gt(e){let a;return{c(){a=W("Failed")},l(t){a=X(t,"Failed")},m(t,n){Y(t,a,n)},d(t){t&&f(a)}}}function Ve(e){let a,t,n;return t=new _t({props:{id:e[15].id}}),t.$on("itemsChanged",e[5]),{c(){a=d("li"),de(t.$$.fragment),this.h()},l(s){a=_(s,"LI",{class:!0});var r=y(a);_e(t.$$.fragment,r),r.forEach(f),this.h()},h(){m(a,"class","svelte-hyom4y")},m(s,r){Y(s,a,r),me(t,a,null),n=!0},p(s,r){const c={};r&2&&(c.id=s[15].id),t.$set(c)},i(s){n||(q(t.$$.fragment,s),n=!0)},o(s){z(t.$$.fragment,s),n=!1},d(s){s&&f(a),he(t)}}}function yt(e){let a=(e[15].run_at_parsed||pe(new Date(e[15].run_at)))+"",t;return{c(){t=W(a)},l(n){t=X(n,a)},m(n,s){Y(n,t,s)},p(n,s){s&2&&a!==(a=(n[15].run_at_parsed||pe(new Date(n[15].run_at)))+"")&&ye(t,a)},d(n){n&&f(t)}}}function bt(e){let a=(e[15].dead_at_parsed||pe(new Date(e[15].dead_at))||"")+"",t;return{c(){t=W(a)},l(n){t=X(n,a)},m(n,s){Y(n,t,s)},p(n,s){s&2&&a!==(a=(n[15].dead_at_parsed||pe(new Date(n[15].dead_at))||"")+"")&&ye(t,a)},d(n){n&&f(t)}}}function Je(e){let a,t,n,s,r,c="More options",p,o,b,u,i,D,k,S,Z,I,v=(e[15].source_name||e[15].id)+"",B,H,ie,G,F=e[15].queue+"",ae,ne,A,se,V,O,K;o=new Ae({props:{icon:"navigationMenuVertical",size:"16"}});function be(){return e[10](e[15])}let E=e[15].dead_at&&Ve(e);S=new pt({props:{id:e[15].id}}),S.$on("itemsChanged",e[5]);function R(w,$){return w[0].type==="DEAD"?bt:yt}let ee=R(e),j=ee(e);return{c(){a=d("tr"),t=d("td"),n=d("div"),s=d("button"),r=d("span"),r.textContent=c,p=L(),de(o.$$.fragment),b=L(),u=d("menu"),i=d("ul"),E&&E.c(),D=L(),k=d("li"),de(S.$$.fragment),Z=L(),I=d("a"),B=W(v),ie=L(),G=d("td"),ae=W(F),ne=L(),A=d("td"),j.c(),se=L(),this.h()},l(w){a=_(w,"TR",{class:!0});var $=y(a);t=_($,"TD",{class:!0});var x=y(t);n=_(x,"DIV",{class:!0});var P=y(n);s=_(P,"BUTTON",{class:!0});var te=y(s);r=_(te,"SPAN",{class:!0,"data-svelte-h":!0}),oe(r)!=="svelte-1agpmtc"&&(r.textContent=c),p=N(te),_e(o.$$.fragment,te),te.forEach(f),b=N(P),u=_(P,"MENU",{class:!0});var ve=y(u);i=_(ve,"UL",{});var le=y(i);E&&E.l(le),D=N(le),k=_(le,"LI",{class:!0});var re=y(k);_e(S.$$.fragment,re),re.forEach(f),le.forEach(f),ve.forEach(f),Z=N(P),I=_(P,"A",{href:!0,class:!0});var J=y(I);B=X(J,v),J.forEach(f),P.forEach(f),x.forEach(f),ie=N($),G=_($,"TD",{class:!0});var Q=y(G);ae=X(Q,F),Q.forEach(f),ne=N($),A=_($,"TD",{class:!0});var g=y(A);j.l(g),g.forEach(f),se=N($),$.forEach(f),this.h()},h(){m(r,"class","label"),m(s,"class","button compact more svelte-hyom4y"),m(k,"class","svelte-hyom4y"),m(u,"class","content-context svelte-hyom4y"),Ue(u,"active",e[2].id===e[15].id),m(I,"href",H="/backgroundJobs/"+e[0].type.toLowerCase()+"/"+e[15].id+"?"+e[4].url.searchParams.toString()),m(I,"class","svelte-hyom4y"),m(n,"class","svelte-hyom4y"),m(t,"class","id svelte-hyom4y"),m(G,"class","svelte-hyom4y"),m(A,"class","svelte-hyom4y"),m(a,"class","svelte-hyom4y")},m(w,$){Y(w,a,$),l(a,t),l(t,n),l(n,s),l(s,r),l(s,p),me(o,s,null),l(n,b),l(n,u),l(u,i),E&&E.m(i,null),l(i,D),l(i,k),me(S,k,null),l(n,Z),l(n,I),l(I,B),l(a,ie),l(a,G),l(G,ae),l(a,ne),l(a,A),j.m(A,null),l(a,se),V=!0,O||(K=[ce(s,"click",be),ce(t,"mouseleave",e[11])],O=!0)},p(w,$){e=w,e[15].dead_at?E?(E.p(e,$),$&2&&q(E,1)):(E=Ve(e),E.c(),q(E,1),E.m(i,D)):E&&(Qe(),z(E,1,1,()=>{E=null}),Ke());const x={};$&2&&(x.id=e[15].id),S.$set(x),(!V||$&6)&&Ue(u,"active",e[2].id===e[15].id),(!V||$&2)&&v!==(v=(e[15].source_name||e[15].id)+"")&&ye(B,v),(!V||$&19&&H!==(H="/backgroundJobs/"+e[0].type.toLowerCase()+"/"+e[15].id+"?"+e[4].url.searchParams.toString()))&&m(I,"href",H),(!V||$&2)&&F!==(F=e[15].queue+"")&&ye(ae,F),ee===(ee=R(e))&&j?j.p(e,$):(j.d(1),j=ee(e),j&&(j.c(),j.m(A,null)))},i(w){V||(q(o.$$.fragment,w),q(E),q(S.$$.fragment,w),V=!0)},o(w){z(o.$$.fragment,w),z(E),z(S.$$.fragment,w),V=!1},d(w){w&&f(a),he(o),E&&E.d(),he(S),j.d(),O=!1,Ge(K)}}}function Et(e){let a,t,n,s,r,c,p,o="Type:",b,u,i,D="Scheduled",k,S="Failed",Z,I,v,B,H,ie="Name / id",G,F,ae="Priority",ne,A,se,V,O,K,be="Page:",E,R,ee,j,w=(e[1].total_pages||1)+"",$,x,P,te,ve;function le(h,T){return h[0].type==="DEAD"?gt:vt}let re=le(e),J=re(e),Q=qe(e[1].results),g=[];for(let h=0;hz(g[h],1,1,()=>{g[h]=null});function Xe(h){e[12](h)}let je={form:"filters",name:"page",min:1,max:e[1].total_pages,step:1,decreaseLabel:"Previous page",increaseLabel:"Next page",style:"navigation"};e[0].page!==void 0&&(je.value=e[0].page),R=new ft({props:je}),ke.push(()=>it(R,"value",Xe)),R.$on("input",function(){Fe(e[3].requestSubmit())&&e[3].requestSubmit().apply(this,arguments)});const Ce=e[7].default,M=Ye(Ce,e,e[6],null);return{c(){a=L(),t=d("div"),n=d("div"),s=d("nav"),r=d("form"),c=d("fieldset"),p=d("label"),p.textContent=o,b=L(),u=d("select"),i=d("option"),i.textContent=D,k=d("option"),k.textContent=S,Z=L(),I=d("table"),v=d("thead"),B=d("tr"),H=d("th"),H.textContent=ie,G=L(),F=d("th"),F.textContent=ae,ne=L(),A=d("th"),J.c(),se=L();for(let h=0;h{if(o.preventDefault(),confirm("Are you sure you want to delete this background job?")){const b=await Se.delete({properties:new FormData(s)});b.errors?De.notification.create("error",`Background job ${b.admin_background_job_delete.id} could not be deleted`):(r("itemsChanged"),De.notification.create("success",`Background job ${b.admin_background_job_delete.id} deleted`))}};function p(o){ke[o?"unshift":"push"](()=>{s=o,t(1,s)})}return e.$$set=o=>{"id"in o&&t(0,n=o.id)},[n,s,c,p]}class pt extends Le{constructor(a){super(),Ne(this,a,ht,mt,Ie,{id:0})}}function He(e,a,t){const n=e.slice();return n[15]=a[t],n}function vt(e){let a;return{c(){a=W("Runs")},l(t){a=X(t,"Runs")},m(t,n){Y(t,a,n)},d(t){t&&f(a)}}}function gt(e){let a;return{c(){a=W("Failed")},l(t){a=X(t,"Failed")},m(t,n){Y(t,a,n)},d(t){t&&f(a)}}}function Ve(e){let a,t,n;return t=new _t({props:{id:e[15].id}}),t.$on("itemsChanged",e[5]),{c(){a=d("li"),de(t.$$.fragment),this.h()},l(s){a=_(s,"LI",{class:!0});var r=y(a);_e(t.$$.fragment,r),r.forEach(f),this.h()},h(){m(a,"class","svelte-hyom4y")},m(s,r){Y(s,a,r),me(t,a,null),n=!0},p(s,r){const c={};r&2&&(c.id=s[15].id),t.$set(c)},i(s){n||(q(t.$$.fragment,s),n=!0)},o(s){z(t.$$.fragment,s),n=!1},d(s){s&&f(a),he(t)}}}function yt(e){let a=(e[15].run_at_parsed||pe(new Date(e[15].run_at)))+"",t;return{c(){t=W(a)},l(n){t=X(n,a)},m(n,s){Y(n,t,s)},p(n,s){s&2&&a!==(a=(n[15].run_at_parsed||pe(new Date(n[15].run_at)))+"")&&ye(t,a)},d(n){n&&f(t)}}}function bt(e){let a=(e[15].dead_at_parsed||pe(new Date(e[15].dead_at))||"")+"",t;return{c(){t=W(a)},l(n){t=X(n,a)},m(n,s){Y(n,t,s)},p(n,s){s&2&&a!==(a=(n[15].dead_at_parsed||pe(new Date(n[15].dead_at))||"")+"")&&ye(t,a)},d(n){n&&f(t)}}}function Je(e){let a,t,n,s,r,c="More options",p,o,b,u,i,D,k,S,Z,I,v=(e[15].source_name||e[15].id)+"",B,H,ie,G,F=e[15].queue+"",ae,ne,A,se,V,O,K;o=new Ae({props:{icon:"navigationMenuVertical",size:"16"}});function be(){return e[10](e[15])}let E=e[15].dead_at&&Ve(e);S=new pt({props:{id:e[15].id}}),S.$on("itemsChanged",e[5]);function R(w,$){return w[0].type==="DEAD"?bt:yt}let ee=R(e),j=ee(e);return{c(){a=d("tr"),t=d("td"),n=d("div"),s=d("button"),r=d("span"),r.textContent=c,p=L(),de(o.$$.fragment),b=L(),u=d("menu"),i=d("ul"),E&&E.c(),D=L(),k=d("li"),de(S.$$.fragment),Z=L(),I=d("a"),B=W(v),ie=L(),G=d("td"),ae=W(F),ne=L(),A=d("td"),j.c(),se=L(),this.h()},l(w){a=_(w,"TR",{class:!0});var $=y(a);t=_($,"TD",{class:!0});var x=y(t);n=_(x,"DIV",{class:!0});var P=y(n);s=_(P,"BUTTON",{class:!0});var te=y(s);r=_(te,"SPAN",{class:!0,"data-svelte-h":!0}),oe(r)!=="svelte-1agpmtc"&&(r.textContent=c),p=N(te),_e(o.$$.fragment,te),te.forEach(f),b=N(P),u=_(P,"MENU",{class:!0});var ve=y(u);i=_(ve,"UL",{});var le=y(i);E&&E.l(le),D=N(le),k=_(le,"LI",{class:!0});var re=y(k);_e(S.$$.fragment,re),re.forEach(f),le.forEach(f),ve.forEach(f),Z=N(P),I=_(P,"A",{href:!0,class:!0});var J=y(I);B=X(J,v),J.forEach(f),P.forEach(f),x.forEach(f),ie=N($),G=_($,"TD",{class:!0});var Q=y(G);ae=X(Q,F),Q.forEach(f),ne=N($),A=_($,"TD",{class:!0});var g=y(A);j.l(g),g.forEach(f),se=N($),$.forEach(f),this.h()},h(){m(r,"class","label"),m(s,"class","button compact more svelte-hyom4y"),m(k,"class","svelte-hyom4y"),m(u,"class","content-context svelte-hyom4y"),Ue(u,"active",e[2].id===e[15].id),m(I,"href",H="/backgroundJobs/"+e[0].type.toLowerCase()+"/"+e[15].id+"?"+e[4].url.searchParams.toString()),m(I,"class","svelte-hyom4y"),m(n,"class","svelte-hyom4y"),m(t,"class","id svelte-hyom4y"),m(G,"class","svelte-hyom4y"),m(A,"class","svelte-hyom4y"),m(a,"class","svelte-hyom4y")},m(w,$){Y(w,a,$),l(a,t),l(t,n),l(n,s),l(s,r),l(s,p),me(o,s,null),l(n,b),l(n,u),l(u,i),E&&E.m(i,null),l(i,D),l(i,k),me(S,k,null),l(n,Z),l(n,I),l(I,B),l(a,ie),l(a,G),l(G,ae),l(a,ne),l(a,A),j.m(A,null),l(a,se),V=!0,O||(K=[ce(s,"click",be),ce(t,"mouseleave",e[11])],O=!0)},p(w,$){e=w,e[15].dead_at?E?(E.p(e,$),$&2&&q(E,1)):(E=Ve(e),E.c(),q(E,1),E.m(i,D)):E&&(Qe(),z(E,1,1,()=>{E=null}),Ke());const x={};$&2&&(x.id=e[15].id),S.$set(x),(!V||$&6)&&Ue(u,"active",e[2].id===e[15].id),(!V||$&2)&&v!==(v=(e[15].source_name||e[15].id)+"")&&ye(B,v),(!V||$&19&&H!==(H="/backgroundJobs/"+e[0].type.toLowerCase()+"/"+e[15].id+"?"+e[4].url.searchParams.toString()))&&m(I,"href",H),(!V||$&2)&&F!==(F=e[15].queue+"")&&ye(ae,F),ee===(ee=R(e))&&j?j.p(e,$):(j.d(1),j=ee(e),j&&(j.c(),j.m(A,null)))},i(w){V||(q(o.$$.fragment,w),q(E),q(S.$$.fragment,w),V=!0)},o(w){z(o.$$.fragment,w),z(E),z(S.$$.fragment,w),V=!1},d(w){w&&f(a),he(o),E&&E.d(),he(S),j.d(),O=!1,Ge(K)}}}function Et(e){let a,t,n,s,r,c,p,o="Type:",b,u,i,D="Scheduled",k,S="Failed",Z,I,v,B,H,ie="Name / id",G,F,ae="Priority",ne,A,se,V,O,K,be="Page:",E,R,ee,j,w=(e[1].total_pages||1)+"",$,x,P,te,ve;function le(h,T){return h[0].type==="DEAD"?gt:vt}let re=le(e),J=re(e),Q=qe(e[1].results),g=[];for(let h=0;hz(g[h],1,1,()=>{g[h]=null});function Xe(h){e[12](h)}let je={form:"filters",name:"page",min:1,max:e[1].total_pages,step:1,decreaseLabel:"Previous page",increaseLabel:"Next page",style:"navigation"};e[0].page!==void 0&&(je.value=e[0].page),R=new ft({props:je}),ke.push(()=>it(R,"value",Xe)),R.$on("input",function(){Fe(e[3].requestSubmit())&&e[3].requestSubmit().apply(this,arguments)});const Ce=e[7].default,M=Ye(Ce,e,e[6],null);return{c(){a=L(),t=d("div"),n=d("div"),s=d("nav"),r=d("form"),c=d("fieldset"),p=d("label"),p.textContent=o,b=L(),u=d("select"),i=d("option"),i.textContent=D,k=d("option"),k.textContent=S,Z=L(),I=d("table"),v=d("thead"),B=d("tr"),H=d("th"),H.textContent=ie,G=L(),F=d("th"),F.textContent=ae,ne=L(),A=d("th"),J.c(),se=L();for(let h=0;he[8].call(u)),m(c,"class","svelte-hyom4y"),m(r,"id","filters"),m(r,"class","svelte-hyom4y"),m(s,"class","filters svelte-hyom4y"),m(H,"class","id svelte-hyom4y"),m(F,"class","svelte-hyom4y"),m(A,"class","svelte-hyom4y"),m(v,"class","svelte-hyom4y"),m(I,"class","svelte-hyom4y"),m(K,"for","page"),m(O,"class","pagination svelte-hyom4y"),m(n,"class","svelte-hyom4y"),m(t,"class","container svelte-hyom4y")},m(h,T){Y(h,a,T),Y(h,t,T),l(t,n),l(n,s),l(s,r),l(r,c),l(c,p),l(c,b),l(c,u),l(u,i),l(u,k),Me(u,e[0].type,!0),e[9](r),l(n,Z),l(n,I),l(I,v),l(v,B),l(B,H),l(B,G),l(B,F),l(B,ne),l(B,A),J.m(A,null),l(I,se);for(let U=0;Uee=!1)),R.$set(U),(!P||T&2)&&w!==(w=(e[1].total_pages||1)+"")&&ye($,w),M&&M.p&&(!P||T&64)&&tt(M,Ce,e,e[6],P?nt(Ce,e[6],T,null):at(e[6]),null)},i(h){if(!P){for(let T=0;Tt(4,n=v));let{$$slots:s={},$$scope:r}=a,c={results:[]},p={id:null},o={page:1,type:"SCHEDULED",...Object.fromEntries(n.url.searchParams)},b,u;const i=async()=>{clearInterval(u),t(1,c=await Se.get(o)),console.log(c),u=setInterval(()=>{c.results.forEach(v=>{o.type==="DEAD"?v.dead_at_parsed=pe(new Date(v.dead_at)):v.run_at_parsed=pe(new Date(v.run_at))})},1e3)};rt(()=>{clearInterval(u)});function D(){o.type=ot(this),t(0,o)}function k(v){ke[v?"unshift":"push"](()=>{b=v,t(3,b)})}const S=v=>t(2,p.id=v.id,p),Z=()=>t(2,p.id=null,p);function I(v){e.$$.not_equal(o.page,v)&&(o.page=v,t(0,o))}return e.$$set=v=>{"$$scope"in v&&t(6,r=v.$$scope)},e.$$.update=()=>{e.$$.dirty&1&&o&&i()},[o,c,p,b,n,i,r,s,D,k,S,Z,I]}class At extends Le{constructor(a){super(),Ne(this,a,$t,Et,Ie,{})}}export{At as component}; diff --git a/gui/next/build/_app/immutable/nodes/3.92c76c36.js b/gui/next/build/_app/immutable/nodes/3.89e52a69.js similarity index 78% rename from gui/next/build/_app/immutable/nodes/3.92c76c36.js rename to gui/next/build/_app/immutable/nodes/3.89e52a69.js index fc4f5647..ca445cc0 100644 --- a/gui/next/build/_app/immutable/nodes/3.92c76c36.js +++ b/gui/next/build/_app/immutable/nodes/3.89e52a69.js @@ -1 +1 @@ -import{s as l,D as i,E as r,F as u,G as f}from"../chunks/scheduler.bed694a1.js";import{S as _,i as c,a as p,t as m}from"../chunks/index.606d5641.js";function $(n){let s;const a=n[1].default,e=i(a,n,n[0],null);return{c(){e&&e.c()},l(t){e&&e.l(t)},m(t,o){e&&e.m(t,o),s=!0},p(t,[o]){e&&e.p&&(!s||o&1)&&r(e,a,t,t[0],s?f(a,t[0],o,null):u(t[0]),null)},i(t){s||(p(e,t),s=!0)},o(t){m(e,t),s=!1},d(t){e&&e.d(t)}}}function d(n,s,a){let{$$slots:e={},$$scope:t}=s;return n.$$set=o=>{"$$scope"in o&&a(0,t=o.$$scope)},[t,e]}class S extends _{constructor(s){super(),c(this,s,d,$,l,{})}}export{S as component}; +import{s as l,D as i,E as r,F as u,G as f}from"../chunks/scheduler.a497d5ec.js";import{S as _,i as c,a as p,t as m}from"../chunks/index.ca999c64.js";function $(n){let s;const a=n[1].default,e=i(a,n,n[0],null);return{c(){e&&e.c()},l(t){e&&e.l(t)},m(t,o){e&&e.m(t,o),s=!0},p(t,[o]){e&&e.p&&(!s||o&1)&&r(e,a,t,t[0],s?f(a,t[0],o,null):u(t[0]),null)},i(t){s||(p(e,t),s=!0)},o(t){m(e,t),s=!1},d(t){e&&e.d(t)}}}function d(n,s,a){let{$$slots:e={},$$scope:t}=s;return n.$$set=o=>{"$$scope"in o&&a(0,t=o.$$scope)},[t,e]}class S extends _{constructor(s){super(),c(this,s,d,$,l,{})}}export{S as component}; diff --git a/gui/next/build/_app/immutable/nodes/4.d1cdb0fe.js b/gui/next/build/_app/immutable/nodes/4.de34a058.js similarity index 93% rename from gui/next/build/_app/immutable/nodes/4.d1cdb0fe.js rename to gui/next/build/_app/immutable/nodes/4.de34a058.js index 82c92644..943cb5cd 100644 --- a/gui/next/build/_app/immutable/nodes/4.d1cdb0fe.js +++ b/gui/next/build/_app/immutable/nodes/4.de34a058.js @@ -1 +1 @@ -import{s as le,f as g,a as q,g as k,h as w,c as A,r as G,d as v,j as b,i as U,u as p,K as X,x as B,N as ie,y as ce,v as Y,z as fe,H as ue,o as ae,l as de,m as _e,w as P,n as me,B as he,A as M,p as Z,D as pe,E as be,F as ve,G as ge}from"../chunks/scheduler.bed694a1.js";import{S as ne,i as re,g as ke,t as K,c as ye,a as D,j as Ee,b as O,d as R,m as J,e as Q}from"../chunks/index.606d5641.js";import{e as x}from"../chunks/each.177d9825.js";import{f as Se}from"../chunks/index.35d92de3.js";import{p as we}from"../chunks/stores.f5d1a634.js";import{s as ee}from"../chunks/state.88bbaa31.js";import{t as je}from"../chunks/table.aa2299a7.js";import{I as oe}from"../chunks/Icon.4ad67fd0.js";function te(i,e,t){const r=i.slice();return r[15]=e[t],r[17]=t,r}function De(i){let e,t,r;return t=new oe({props:{icon:"search",size:"18"}}),{c(){e=g("i"),O(t.$$.fragment),this.h()},l(o){e=k(o,"I",{class:!0});var l=w(e);R(t.$$.fragment,l),l.forEach(v),this.h()},h(){b(e,"class","svelte-12fj0m9")},m(o,l){U(o,e,l),J(t,e,null),r=!0},p:M,i(o){r||(D(t.$$.fragment,o),r=!0)},o(o){K(t.$$.fragment,o),r=!1},d(o){o&&v(e),Q(t)}}}function Ie(i){let e,t,r="Reset filter",o,l,d,s,a;return l=new oe({props:{icon:"x",size:"18"}}),{c(){e=g("button"),t=g("span"),t.textContent=r,o=q(),O(l.$$.fragment),this.h()},l(n){e=k(n,"BUTTON",{class:!0});var h=w(e);t=k(h,"SPAN",{class:!0,"data-svelte-h":!0}),G(t)!=="svelte-8g7ehw"&&(t.textContent=r),o=A(h),R(l.$$.fragment,h),h.forEach(v),this.h()},h(){b(t,"class","label"),b(e,"class","svelte-12fj0m9")},m(n,h){U(n,e,h),p(e,t),p(e,o),J(l,e,null),d=!0,s||(a=B(e,"click",i[8]),s=!0)},p:M,i(n){d||(D(l.$$.fragment,n),d=!0)},o(n){K(l.$$.fragment,n),d=!1},d(n){n&&v(e),Q(l),s=!1,a()}}}function se(i){let e,t,r=i[15].name+"",o,l,d,s;return{c(){e=g("li"),t=g("a"),o=de(r),d=q(),this.h()},l(a){e=k(a,"LI",{});var n=w(e);t=k(n,"A",{href:!0,class:!0});var h=w(t);o=_e(h,r),h.forEach(v),d=A(n),n.forEach(v),this.h()},h(){b(t,"href",l="/database/table/"+i[15].id),b(t,"class","svelte-12fj0m9"),P(t,"active",i[15].id===i[4].params.id)},m(a,n){U(a,e,n),p(e,t),p(t,o),p(e,d)},p(a,n){n&1&&r!==(r=a[15].name+"")&&me(o,r),n&1&&l!==(l="/database/table/"+a[15].id)&&b(t,"href",l),n&17&&P(t,"active",a[15].id===a[4].params.id)},i(a){a&&(s||he(()=>{s=Ee(e,Se,{duration:100,delay:7*i[17]}),s.start()}))},o:M,d(a){a&&v(e)}}}function Ce(i){let e,t,r,o,l,d,s,a,n,h="Ctrl",E,z="K",T,I,C,N,V,c;const H=[Ie,De],S=[];function L(f,m){return f[3]?0:1}o=L(i),l=S[o]=H[o](i);let j=x(i[0]),_=[];for(let f=0;f{S[y]=null}),ye(),l=S[o],l?l.p(f,m):(l=S[o]=H[o](f),l.c()),D(l,1),l.m(r,d)),m&8&&s.value!==f[3]&&X(s,f[3]),m&17){j=x(f[0]);let u;for(u=0;ut(4,r=c)),Y(i,ee,c=>t(13,o=c));let l=o.tables,d=l,s,a,n;(async()=>await je.get())().then(c=>{l=c,t(0,d=c),fe(ee,o.tables=c,o)});const h=ue();ae(async()=>{a.focus(),document.addEventListener("keydown",c=>{c.ctrlKey&&c.key==="k"&&(c.preventDefault(),h("sidebarNeeded"),a.focus(),a.select())}),r.data.table&&s.querySelector(`[href$="${r.data.table.id}"]`).scrollIntoView({behavior:"smooth",block:"center"})});const E=()=>{n?t(0,d=l.filter(c=>c.name.includes(n))):t(0,d=l)},z=c=>{c.key==="Escape"&&(t(3,n=""),E()),c.key==="Enter"&&s.querySelector("li:first-child a").click()},T=c=>{var H,S,L,j,_,f,m,y,u,$;c.key==="ArrowDown"&&s.contains(document.activeElement)&&(c.preventDefault(),document.activeElement.matches("input")?(H=s.querySelector("a"))==null||H.focus():(_=(j=(L=(S=document.activeElement)==null?void 0:S.parentElement)==null?void 0:L.nextElementSibling)==null?void 0:j.querySelector("a"))==null||_.focus()),c.key==="ArrowUp"&&s.contains(document.activeElement)&&(c.preventDefault(),(f=document.activeElement)!=null&&f.matches("li:first-child a")?a.focus():($=(u=(y=(m=document.activeElement)==null?void 0:m.parentElement)==null?void 0:y.previousElementSibling)==null?void 0:u.querySelector("a"))==null||$.focus()),c.key==="Escape"&&s.contains(document.activeElement)&&(a.focus(),t(3,n=""),E())},I=()=>{t(3,n=null),E()};function C(c){Z[c?"unshift":"push"](()=>{a=c,t(2,a)})}function N(){n=this.value,t(3,n)}function V(c){Z[c?"unshift":"push"](()=>{s=c,t(1,s)})}return[d,s,a,n,r,E,z,T,I,C,N,V]}class Ne extends ne{constructor(e){super(),re(this,e,$e,Ce,le,{})}}function qe(i){let e,t,r,o,l;r=new Ne({}),r.$on("sidebarNeeded",i[3]);const d=i[2].default,s=pe(d,i,i[1],null);return{c(){e=g("div"),t=g("div"),O(r.$$.fragment),o=q(),s&&s.c(),this.h()},l(a){e=k(a,"DIV",{class:!0});var n=w(e);t=k(n,"DIV",{class:!0});var h=w(t);R(r.$$.fragment,h),h.forEach(v),o=A(n),s&&s.l(n),n.forEach(v),this.h()},h(){b(t,"class","tables-container svelte-s8xmdg"),b(e,"class","container svelte-s8xmdg"),P(e,"tablesHidden",i[0])},m(a,n){U(a,e,n),p(e,t),J(r,t,null),p(e,o),s&&s.m(e,null),l=!0},p(a,[n]){s&&s.p&&(!l||n&2)&&be(s,d,a,a[1],l?ge(d,a[1],n,null):ve(a[1]),null),(!l||n&1)&&P(e,"tablesHidden",a[0])},i(a){l||(D(r.$$.fragment,a),D(s,a),l=!0)},o(a){K(r.$$.fragment,a),K(s,a),l=!1},d(a){a&&v(e),Q(r),s&&s.d(a)}}}function Ae(i,e,t){let{$$slots:r={},$$scope:o}=e,l=!1;ae(()=>{document.addEventListener("keydown",s=>{!s.target.matches("input, textarea")&&s.key==="b"&&(t(0,l=!l),localStorage.tablesHidden=l)})});const d=()=>t(0,l=!1);return i.$$set=s=>{"$$scope"in s&&t(1,o=s.$$scope)},[l,o,r,d]}class Pe extends ne{constructor(e){super(),re(this,e,Ae,qe,le,{})}}export{Pe as component}; +import{s as le,f as g,a as q,g as k,h as w,c as A,r as G,d as v,j as b,i as U,u as p,K as X,x as B,N as ie,y as ce,v as Y,z as fe,H as ue,o as ae,l as de,m as _e,w as P,n as me,B as he,A as M,p as Z,D as pe,E as be,F as ve,G as ge}from"../chunks/scheduler.a497d5ec.js";import{S as ne,i as re,g as ke,t as K,c as ye,a as D,j as Ee,b as O,d as R,m as J,e as Q}from"../chunks/index.ca999c64.js";import{e as x}from"../chunks/each.1577bad0.js";import{f as Se}from"../chunks/index.13972ea2.js";import{p as we}from"../chunks/stores.0efc77ce.js";import{s as ee}from"../chunks/state.58df2e5f.js";import{t as je}from"../chunks/table.aa2299a7.js";import{I as oe}from"../chunks/Icon.1ce3f3fe.js";function te(i,e,t){const r=i.slice();return r[15]=e[t],r[17]=t,r}function De(i){let e,t,r;return t=new oe({props:{icon:"search",size:"18"}}),{c(){e=g("i"),O(t.$$.fragment),this.h()},l(o){e=k(o,"I",{class:!0});var l=w(e);R(t.$$.fragment,l),l.forEach(v),this.h()},h(){b(e,"class","svelte-12fj0m9")},m(o,l){U(o,e,l),J(t,e,null),r=!0},p:M,i(o){r||(D(t.$$.fragment,o),r=!0)},o(o){K(t.$$.fragment,o),r=!1},d(o){o&&v(e),Q(t)}}}function Ie(i){let e,t,r="Reset filter",o,l,d,s,a;return l=new oe({props:{icon:"x",size:"18"}}),{c(){e=g("button"),t=g("span"),t.textContent=r,o=q(),O(l.$$.fragment),this.h()},l(n){e=k(n,"BUTTON",{class:!0});var h=w(e);t=k(h,"SPAN",{class:!0,"data-svelte-h":!0}),G(t)!=="svelte-8g7ehw"&&(t.textContent=r),o=A(h),R(l.$$.fragment,h),h.forEach(v),this.h()},h(){b(t,"class","label"),b(e,"class","svelte-12fj0m9")},m(n,h){U(n,e,h),p(e,t),p(e,o),J(l,e,null),d=!0,s||(a=B(e,"click",i[8]),s=!0)},p:M,i(n){d||(D(l.$$.fragment,n),d=!0)},o(n){K(l.$$.fragment,n),d=!1},d(n){n&&v(e),Q(l),s=!1,a()}}}function se(i){let e,t,r=i[15].name+"",o,l,d,s;return{c(){e=g("li"),t=g("a"),o=de(r),d=q(),this.h()},l(a){e=k(a,"LI",{});var n=w(e);t=k(n,"A",{href:!0,class:!0});var h=w(t);o=_e(h,r),h.forEach(v),d=A(n),n.forEach(v),this.h()},h(){b(t,"href",l="/database/table/"+i[15].id),b(t,"class","svelte-12fj0m9"),P(t,"active",i[15].id===i[4].params.id)},m(a,n){U(a,e,n),p(e,t),p(t,o),p(e,d)},p(a,n){n&1&&r!==(r=a[15].name+"")&&me(o,r),n&1&&l!==(l="/database/table/"+a[15].id)&&b(t,"href",l),n&17&&P(t,"active",a[15].id===a[4].params.id)},i(a){a&&(s||he(()=>{s=Ee(e,Se,{duration:100,delay:7*i[17]}),s.start()}))},o:M,d(a){a&&v(e)}}}function Ce(i){let e,t,r,o,l,d,s,a,n,h="Ctrl",E,z="K",T,I,C,N,V,c;const H=[Ie,De],S=[];function L(f,m){return f[3]?0:1}o=L(i),l=S[o]=H[o](i);let j=x(i[0]),_=[];for(let f=0;f{S[y]=null}),ye(),l=S[o],l?l.p(f,m):(l=S[o]=H[o](f),l.c()),D(l,1),l.m(r,d)),m&8&&s.value!==f[3]&&X(s,f[3]),m&17){j=x(f[0]);let u;for(u=0;ut(4,r=c)),Y(i,ee,c=>t(13,o=c));let l=o.tables,d=l,s,a,n;(async()=>await je.get())().then(c=>{l=c,t(0,d=c),fe(ee,o.tables=c,o)});const h=ue();ae(async()=>{a.focus(),document.addEventListener("keydown",c=>{c.ctrlKey&&c.key==="k"&&(c.preventDefault(),h("sidebarNeeded"),a.focus(),a.select())}),r.data.table&&s.querySelector(`[href$="${r.data.table.id}"]`).scrollIntoView({behavior:"smooth",block:"center"})});const E=()=>{n?t(0,d=l.filter(c=>c.name.includes(n))):t(0,d=l)},z=c=>{c.key==="Escape"&&(t(3,n=""),E()),c.key==="Enter"&&s.querySelector("li:first-child a").click()},T=c=>{var H,S,L,j,_,f,m,y,u,$;c.key==="ArrowDown"&&s.contains(document.activeElement)&&(c.preventDefault(),document.activeElement.matches("input")?(H=s.querySelector("a"))==null||H.focus():(_=(j=(L=(S=document.activeElement)==null?void 0:S.parentElement)==null?void 0:L.nextElementSibling)==null?void 0:j.querySelector("a"))==null||_.focus()),c.key==="ArrowUp"&&s.contains(document.activeElement)&&(c.preventDefault(),(f=document.activeElement)!=null&&f.matches("li:first-child a")?a.focus():($=(u=(y=(m=document.activeElement)==null?void 0:m.parentElement)==null?void 0:y.previousElementSibling)==null?void 0:u.querySelector("a"))==null||$.focus()),c.key==="Escape"&&s.contains(document.activeElement)&&(a.focus(),t(3,n=""),E())},I=()=>{t(3,n=null),E()};function C(c){Z[c?"unshift":"push"](()=>{a=c,t(2,a)})}function N(){n=this.value,t(3,n)}function V(c){Z[c?"unshift":"push"](()=>{s=c,t(1,s)})}return[d,s,a,n,r,E,z,T,I,C,N,V]}class Ne extends ne{constructor(e){super(),re(this,e,$e,Ce,le,{})}}function qe(i){let e,t,r,o,l;r=new Ne({}),r.$on("sidebarNeeded",i[3]);const d=i[2].default,s=pe(d,i,i[1],null);return{c(){e=g("div"),t=g("div"),O(r.$$.fragment),o=q(),s&&s.c(),this.h()},l(a){e=k(a,"DIV",{class:!0});var n=w(e);t=k(n,"DIV",{class:!0});var h=w(t);R(r.$$.fragment,h),h.forEach(v),o=A(n),s&&s.l(n),n.forEach(v),this.h()},h(){b(t,"class","tables-container svelte-s8xmdg"),b(e,"class","container svelte-s8xmdg"),P(e,"tablesHidden",i[0])},m(a,n){U(a,e,n),p(e,t),J(r,t,null),p(e,o),s&&s.m(e,null),l=!0},p(a,[n]){s&&s.p&&(!l||n&2)&&be(s,d,a,a[1],l?ge(d,a[1],n,null):ve(a[1]),null),(!l||n&1)&&P(e,"tablesHidden",a[0])},i(a){l||(D(r.$$.fragment,a),D(s,a),l=!0)},o(a){K(r.$$.fragment,a),K(s,a),l=!1},d(a){a&&v(e),Q(r),s&&s.d(a)}}}function Ae(i,e,t){let{$$slots:r={},$$scope:o}=e,l=!1;ae(()=>{document.addEventListener("keydown",s=>{!s.target.matches("input, textarea")&&s.key==="b"&&(t(0,l=!l),localStorage.tablesHidden=l)})});const d=()=>t(0,l=!1);return i.$$set=s=>{"$$scope"in s&&t(1,o=s.$$scope)},[l,o,r,d]}class Pe extends ne{constructor(e){super(),re(this,e,Ae,qe,le,{})}}export{Pe as component}; diff --git a/gui/next/build/_app/immutable/nodes/5.92c76c36.js b/gui/next/build/_app/immutable/nodes/5.89e52a69.js similarity index 78% rename from gui/next/build/_app/immutable/nodes/5.92c76c36.js rename to gui/next/build/_app/immutable/nodes/5.89e52a69.js index fc4f5647..ca445cc0 100644 --- a/gui/next/build/_app/immutable/nodes/5.92c76c36.js +++ b/gui/next/build/_app/immutable/nodes/5.89e52a69.js @@ -1 +1 @@ -import{s as l,D as i,E as r,F as u,G as f}from"../chunks/scheduler.bed694a1.js";import{S as _,i as c,a as p,t as m}from"../chunks/index.606d5641.js";function $(n){let s;const a=n[1].default,e=i(a,n,n[0],null);return{c(){e&&e.c()},l(t){e&&e.l(t)},m(t,o){e&&e.m(t,o),s=!0},p(t,[o]){e&&e.p&&(!s||o&1)&&r(e,a,t,t[0],s?f(a,t[0],o,null):u(t[0]),null)},i(t){s||(p(e,t),s=!0)},o(t){m(e,t),s=!1},d(t){e&&e.d(t)}}}function d(n,s,a){let{$$slots:e={},$$scope:t}=s;return n.$$set=o=>{"$$scope"in o&&a(0,t=o.$$scope)},[t,e]}class S extends _{constructor(s){super(),c(this,s,d,$,l,{})}}export{S as component}; +import{s as l,D as i,E as r,F as u,G as f}from"../chunks/scheduler.a497d5ec.js";import{S as _,i as c,a as p,t as m}from"../chunks/index.ca999c64.js";function $(n){let s;const a=n[1].default,e=i(a,n,n[0],null);return{c(){e&&e.c()},l(t){e&&e.l(t)},m(t,o){e&&e.m(t,o),s=!0},p(t,[o]){e&&e.p&&(!s||o&1)&&r(e,a,t,t[0],s?f(a,t[0],o,null):u(t[0]),null)},i(t){s||(p(e,t),s=!0)},o(t){m(e,t),s=!1},d(t){e&&e.d(t)}}}function d(n,s,a){let{$$slots:e={},$$scope:t}=s;return n.$$set=o=>{"$$scope"in o&&a(0,t=o.$$scope)},[t,e]}class S extends _{constructor(s){super(),c(this,s,d,$,l,{})}}export{S as component}; diff --git a/gui/next/build/_app/immutable/nodes/6.7726938e.js b/gui/next/build/_app/immutable/nodes/6.7726938e.js deleted file mode 100644 index 9758cc0f..00000000 --- a/gui/next/build/_app/immutable/nodes/6.7726938e.js +++ /dev/null @@ -1 +0,0 @@ -import{Q as Z,R as $,S as L,T as x,s as ee,a as w,f,J as te,d as _,c as T,g as p,h as v,j as m,i as S,u as i,v as G,o as le,D as se,E as ae,F as re,G as ce,p as oe,A as g,r as ne,N as ue,l as M,m as H,w as he,z as ie}from"../chunks/scheduler.bed694a1.js";import{g as U,t as C,c as W,a as A,S as de,i as _e}from"../chunks/index.606d5641.js";import{e as J}from"../chunks/each.177d9825.js";import{p as fe}from"../chunks/stores.f5d1a634.js";import{s as P}from"../chunks/state.88bbaa31.js";function pe(l,e){const a=e.token={};function r(o,n,u,t){if(e.token!==a)return;e.resolved=t;let s=e.ctx;u!==void 0&&(s=s.slice(),s[u]=t);const h=o&&(e.current=o)(s);let c=!1;e.block&&(e.blocks?e.blocks.forEach((d,b)=>{b!==n&&d&&(U(),C(d,1,1,()=>{e.blocks[b]===d&&(e.blocks[b]=null)}),W())}):e.block.d(1),h.c(),A(h,1),h.m(e.mount(),e.anchor),c=!0),e.block=h,e.blocks&&(e.blocks[n]=h),c&&x()}if(Z(l)){const o=$();if(l.then(n=>{L(o),r(e.then,1,e.value,n),L(null)},n=>{if(L(o),r(e.catch,2,e.error,n),L(null),!e.hasCatch)throw n}),e.current!==e.pending)return r(e.pending,0),!0}else{if(e.current!==e.then)return r(e.then,1,e.value,l),!0;e.resolved=l}}function me(l,e,a){const r=e.slice(),{resolved:o}=l;l.current===l.then&&(r[l.value]=o),l.current===l.catch&&(r[l.error]=o),l.block.p(r,a)}const X={get:async l=>{const e=typeof window<"u"&&window.location.port!=="4173"&&window.location.port!=="5173"?`http://localhost:${parseInt(window.location.port)-1}/api/logsv2`:"http://localhost:3333/api/logsv2";return fetch(e).then(a=>a.ok?a.json():Promise.reject(a)).then(a=>a).catch(a=>({error:a}))}};function Q(l,e,a){const r=l.slice();return r[8]=e[a],r}function ve(l){return{c:g,l:g,m:g,p:g,d:g}}function ge(l){let e,a,r='Time Type Message',o,n,u=J(l[7].body.hits),t=[];for(let s=0;sr,u.anchor=null,i(a,o),t&&t.m(a,null),l[5](a),n=!0},p(s,[h]){l=s,me(u,l,h),l[0].params.id?t?(t.p(l,h),h&1&&A(t,1)):(t=K(l),t.c(),A(t,1),t.m(a,null)):t&&(U(),C(t,1,1,()=>{t=null}),W())},i(s){n||(A(t),n=!0)},o(s){C(t),n=!1},d(s){s&&(_(e),_(a)),u.block.d(),u.token=null,u=null,t&&t.d(),l[5](null)}}}function ye(l,e,a){let r,o;G(l,fe,c=>a(0,r=c)),G(l,P,c=>a(6,o=c));let{$$slots:n={},$$scope:u}=e,t,s;le(async()=>{a(2,s=await X.get())});function h(c){oe[c?"unshift":"push"](()=>{t=c,a(1,t)})}return l.$$set=c=>{"$$scope"in c&&a(3,u=c.$$scope)},l.$$.update=()=>{l.$$.dirty&5&&r.params.id&&(ie(P,o.logv2=s==null?void 0:s.body.hits.find(c=>c._timestamp==r.params.id),o),console.log(s==null?void 0:s.body.hits))},[r,t,s,u,n,h]}class Le extends de{constructor(e){super(),_e(this,e,ye,ke,ee,{})}}export{Le as component}; diff --git a/gui/next/build/_app/immutable/nodes/7.610dbe15.js b/gui/next/build/_app/immutable/nodes/6.9ecedd1a.js similarity index 92% rename from gui/next/build/_app/immutable/nodes/7.610dbe15.js rename to gui/next/build/_app/immutable/nodes/6.9ecedd1a.js index ac8e1757..f79b00de 100644 --- a/gui/next/build/_app/immutable/nodes/7.610dbe15.js +++ b/gui/next/build/_app/immutable/nodes/6.9ecedd1a.js @@ -1,5 +1,5 @@ -import{s as Fe,p as Ie,f as d,l as X,a as A,g as v,h as y,m as Y,r as z,d as j,c as O,K as le,j as c,B as Se,i as ge,u as r,L as je,x as W,M as qe,n as pe,N as Be,y as Me,v as He,o as Re,A as Ue,D as Ve,E as ze,F as Ge,G as Ke,P as Je}from"../chunks/scheduler.bed694a1.js";import{S as Qe,i as We,h as Xe,b as he,d as de,m as ve,a as D,t as H,c as Te,e as be,f as Ne,g as $e}from"../chunks/index.606d5641.js";import{e as Le}from"../chunks/each.177d9825.js";import{q as Ye}from"../chunks/index.50c00146.js";import{p as Ze}from"../chunks/stores.f5d1a634.js";import{u as xe}from"../chunks/user.1d284359.js";import{I as we}from"../chunks/Icon.4ad67fd0.js";import{N as et}from"../chunks/Number.6952118c.js";function ye(s,e,t){const n=s.slice();return n[17]=e[t],n}function Ae(s){let e,t,n="Clear filters",l,_,o,u,T,i;return _=new we({props:{icon:"x",size:"14"}}),{c(){e=d("button"),t=d("span"),t.textContent=n,l=A(),he(_.$$.fragment),this.h()},l(m){e=v(m,"BUTTON",{type:!0,class:!0});var k=y(e);t=v(k,"SPAN",{class:!0,"data-svelte-h":!0}),z(t)!=="svelte-ki22n5"&&(t.textContent=n),l=O(k),de(_.$$.fragment,k),k.forEach(j),this.h()},h(){c(t,"class","label svelte-19k8sjb"),c(e,"type","button"),c(e,"class","clear svelte-19k8sjb")},m(m,k){ge(m,e,k),r(e,t),r(e,l),ve(_,e,null),u=!0,T||(i=W(e,"click",s[13]),T=!0)},p:Ue,i(m){u||(D(_.$$.fragment,m),m&&Se(()=>{u&&(o||(o=Ne(e,s[7],{},!0)),o.run(1))}),u=!0)},o(m){H(_.$$.fragment,m),m&&(o||(o=Ne(e,s[7],{},!1)),o.run(0)),u=!1},d(m){m&&j(e),be(_),m&&o&&o.end(),T=!1,i()}}}function Oe(s){let e,t,n=s[17].id+"",l,_,o,u,T=s[17].email+"",i,m,k;return{c(){e=d("tr"),t=d("td"),l=X(n),_=A(),o=d("td"),u=d("a"),i=X(T),k=A(),this.h()},l(h){e=v(h,"TR",{});var f=y(e);t=v(f,"TD",{class:!0});var B=y(t);l=Y(B,n),B.forEach(j),_=O(f),o=v(f,"TD",{class:!0});var M=y(o);u=v(M,"A",{href:!0});var L=y(u);i=Y(L,T),L.forEach(j),M.forEach(j),k=O(f),f.forEach(j),this.h()},h(){c(t,"class","svelte-19k8sjb"),c(u,"href",m="/users/"+s[17].id),c(o,"class","svelte-19k8sjb")},m(h,f){ge(h,e,f),r(e,t),r(t,l),r(e,_),r(e,o),r(o,u),r(u,i),r(e,k)},p(h,f){f&2&&n!==(n=h[17].id+"")&&pe(l,n),f&2&&T!==(T=h[17].email+"")&&pe(i,T),f&2&&m!==(m="/users/"+h[17].id)&&c(u,"href",m)},d(h){h&&j(e)}}}function Pe(s){let e;const t=s[9].default,n=Ve(t,s,s[8],null);return{c(){n&&n.c()},l(l){n&&n.l(l)},m(l,_){n&&n.m(l,_),e=!0},p(l,_){n&&n.p&&(!e||_&256)&&ze(n,t,l,l[8],e?Ke(t,l[8],_,null):Ge(l[8]),null)},i(l){e||(D(n,l),e=!0)},o(l){H(n,l),e=!1},d(l){n&&n.d(l)}}}function tt(s){let e,t,n,l,_,o,u,T="email",i,m="id",k,h,f,B,M,L,F,Z="Apply filter",G,p,K,P,q,ae='id email',ne,re,I,R,ke="Page:",oe,S,ie,ue,J=(s[3]||1)+"",x,fe,Q,ce,Ee,b=s[2].value&&Ae(s);p=new we({props:{icon:"arrowRight"}});let U=Le(s[1]),C=[];for(let a=0;aXe(S,"value",De)),S.$on("input",s[6]);let g=s[4].params.id&&Pe(s);return{c(){e=d("div"),t=d("section"),n=d("nav"),l=d("form"),_=X(`Filter by\r - `),o=d("select"),u=d("option"),u.textContent=T,i=d("option"),i.textContent=m,k=A(),h=d("fieldset"),f=d("input"),B=A(),b&&b.c(),M=A(),L=d("button"),F=d("span"),F.textContent=Z,G=A(),he(p.$$.fragment),K=A(),P=d("table"),q=d("thead"),q.innerHTML=ae,ne=A();for(let a=0;a{u&&(o||(o=Ne(e,s[7],{},!0)),o.run(1))}),u=!0)},o(m){H(_.$$.fragment,m),m&&(o||(o=Ne(e,s[7],{},!1)),o.run(0)),u=!1},d(m){m&&j(e),be(_),m&&o&&o.end(),T=!1,i()}}}function Oe(s){let e,t,n=s[17].id+"",l,_,o,u,T=s[17].email+"",i,m,k;return{c(){e=d("tr"),t=d("td"),l=X(n),_=A(),o=d("td"),u=d("a"),i=X(T),k=A(),this.h()},l(h){e=v(h,"TR",{});var f=y(e);t=v(f,"TD",{class:!0});var B=y(t);l=Y(B,n),B.forEach(j),_=O(f),o=v(f,"TD",{class:!0});var M=y(o);u=v(M,"A",{href:!0});var L=y(u);i=Y(L,T),L.forEach(j),M.forEach(j),k=O(f),f.forEach(j),this.h()},h(){c(t,"class","svelte-19k8sjb"),c(u,"href",m="/users/"+s[17].id),c(o,"class","svelte-19k8sjb")},m(h,f){ge(h,e,f),r(e,t),r(t,l),r(e,_),r(e,o),r(o,u),r(u,i),r(e,k)},p(h,f){f&2&&n!==(n=h[17].id+"")&&pe(l,n),f&2&&T!==(T=h[17].email+"")&&pe(i,T),f&2&&m!==(m="/users/"+h[17].id)&&c(u,"href",m)},d(h){h&&j(e)}}}function Pe(s){let e;const t=s[9].default,n=Ve(t,s,s[8],null);return{c(){n&&n.c()},l(l){n&&n.l(l)},m(l,_){n&&n.m(l,_),e=!0},p(l,_){n&&n.p&&(!e||_&256)&&ze(n,t,l,l[8],e?Ke(t,l[8],_,null):Ge(l[8]),null)},i(l){e||(D(n,l),e=!0)},o(l){H(n,l),e=!1},d(l){n&&n.d(l)}}}function tt(s){let e,t,n,l,_,o,u,T="email",i,m="id",k,h,f,B,M,L,F,Z="Apply filter",G,p,K,P,q,ae='id email',ne,re,I,R,ke="Page:",oe,S,ie,ue,J=(s[3]||1)+"",x,fe,Q,ce,Ee,b=s[2].value&&Ae(s);p=new we({props:{icon:"arrowRight"}});let U=Le(s[1]),C=[];for(let a=0;aXe(S,"value",De)),S.$on("input",s[6]);let g=s[4].params.id&&Pe(s);return{c(){e=d("div"),t=d("section"),n=d("nav"),l=d("form"),_=X(`Filter by + `),o=d("select"),u=d("option"),u.textContent=T,i=d("option"),i.textContent=m,k=A(),h=d("fieldset"),f=d("input"),B=A(),b&&b.c(),M=A(),L=d("button"),F=d("span"),F.textContent=Z,G=A(),he(p.$$.fragment),K=A(),P=d("table"),q=d("thead"),q.innerHTML=ae,ne=A();for(let a=0;as[10].call(o)),c(f,"type","text"),c(f,"name","value"),c(f,"class","svelte-19k8sjb"),c(h,"class","svelte-19k8sjb"),c(F,"class","label svelte-19k8sjb"),c(L,"type","submit"),c(L,"class","button submit"),c(l,"id","filters"),c(l,"class","svelte-19k8sjb"),c(n,"class","filters svelte-19k8sjb"),c(q,"class","svelte-19k8sjb"),c(P,"class","svelte-19k8sjb"),c(R,"for","page"),c(I,"class","pagination svelte-19k8sjb"),c(t,"class","svelte-19k8sjb"),c(e,"class","container svelte-19k8sjb")},m(a,E){ge(a,e,E),r(e,t),r(t,n),r(n,l),r(l,_),r(l,o),r(o,u),r(o,i),je(o,s[2].attribute,!0),r(l,k),r(l,h),r(h,f),le(f,s[2].value),r(h,B),b&&b.m(h,null),r(l,M),r(l,L),r(L,F),r(L,G),ve(p,L,null),s[14](l),r(t,K),r(t,P),r(P,q),r(P,ne);for(let N=0;N{b=null}),Te()),E&2){U=Le(a[1]);let $;for($=0;$ie=!1)),S.$set(N),(!Q||E&8)&&J!==(J=(a[3]||1)+"")&&pe(x,J),a[4].params.id?g?(g.p(a,E),E&16&&D(g,1)):(g=Pe(a),g.c(),D(g,1),g.m(e,null)):g&&($e(),H(g,1,1,()=>{g=null}),Te())},i(a){Q||(D(b),D(p.$$.fragment,a),D(S.$$.fragment,a),D(g),Q=!0)},o(a){H(b),H(p.$$.fragment,a),H(S.$$.fragment,a),H(g),Q=!1},d(a){a&&j(e),b&&b.d(),be(p),s[14](null),Be(C,a),be(S),g&&g.d(),ce=!1,Me(Ee)}}}function st(s,e,t){let n;He(s,Ze,p=>t(4,n=p));let{$$slots:l={},$$scope:_}=e,o,u=[],T={page:1,attribute:"email",value:""},i={...T,...Object.fromEntries(n.url.searchParams)},m=1;const k=async()=>{await xe.get(i).then(p=>{t(1,u=p.results),t(3,m=p.total_pages)})};Re(()=>{k()});const h=function(p,{delay:K=0,duration:P=150}){return{delay:K,duration:P,css:q=>`scale: ${Ye(q)};`}};function f(){i.attribute=Je(this),t(2,i)}const B=()=>t(2,i.value="",i);function M(){i.value=this.value,t(2,i)}const L=()=>{t(2,i={...T}),o.requestSubmit()};function F(p){Ie[p?"unshift":"push"](()=>{o=p,t(0,o)})}const Z=()=>{t(2,i.page=1,i),k()};function G(p){s.$$.not_equal(i.page,p)&&(i.page=p,t(2,i))}return s.$$set=p=>{"$$scope"in p&&t(8,_=p.$$scope)},[o,u,i,m,n,T,k,h,_,l,f,B,M,L,F,Z,G]}class ct extends Qe{constructor(e){super(),We(this,e,st,tt,Fe,{})}}export{ct as component}; diff --git a/gui/next/build/_app/immutable/nodes/7.612030e1.js b/gui/next/build/_app/immutable/nodes/7.612030e1.js new file mode 100644 index 00000000..c6de9f86 --- /dev/null +++ b/gui/next/build/_app/immutable/nodes/7.612030e1.js @@ -0,0 +1,5 @@ +import{s as Yl,a as i,f as n,l as E,J as Zl,d as a,c as o,g as s,h as r,r as b,m as k,j as t,w as P,k as Wl,i as Xl,u as e,x as U,n as bt,y as yl,v as xl,z as il}from"../chunks/scheduler.a497d5ec.js";import{S as ea,i as ta,b as h,d as v,m as p,a as m,t as _,e as $}from"../chunks/index.ca999c64.js";import{I as g}from"../chunks/Icon.1ce3f3fe.js";import{s as Kn}from"../chunks/state.58df2e5f.js";import{t as na}from"../chunks/table.aa2299a7.js";function sa(c){let Te,C,d,q,T,w,L,en,oe,Wn="Database",tn,ce,Xn='
  • Inspect tables and records
  • Create, edit or delete records
  • Filter and find any record
  • ',nn,x,De,H,ue,sn,de,Yn="Show more information about Database tool",D,R,M,fe,Zn,Ie,Gt=c[1].header.includes("database")?"Unpin Database from":"Pin Database to",ln,yn,an,xn,N,ee,qt,Ne,es,ze,ol="Users",ts,Se,cl='
  • Inspect registered users and their personal data
  • ',ns,he,Lt,K,Ae,ss,Be,ul="Show more information about Users tool",ls,Et,O,ve,as,Je,Vt=c[1].header.includes("users")?"Unpin Users from":"Pin Users to",rn,rs,on,is,z,te,kt,He,os,Me,dl="Logs",cs,Oe,fl='
  • View system logs
  • Inspect logs you've outputted yourself
  • Debug Liquid or GraphQL errors
  • ',us,pe,Ut,W,Fe,ds,Qe,hl="Show more information about Logs tool",fs,Ct,F,me,hs,Ge,jt=c[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to",cn,vs,un,ps,S,ne,wt,Ve,ms,je,vl="Background Jobs",_s,Re,pl='
  • List scheduled background jobs
  • Debug background jobs that failed to run
  • ',$s,_e,Pt,X,Ke,gs,We,ml="Show more information about Background Jobs tool",bs,Tt,Q,$e,qs,Xe,Rt=c[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to",dn,Ls,fn,Es,A,se,Dt,Ye,ks,Ze,_l="Constants",Us,ye,$l='
  • Check all constants in one place
  • Create new constants
  • Edit or delete existing ones
  • ',Cs,ge,It,Y,xe,ws,et,gl="Show more information about Constants tool",Ps,Nt,G,be,Ts,tt,Kt=c[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to",hn,Ds,vn,Is,qe,B,le,nt,st,Ns,lt,bl="Liquid Evaluator",zs,at,ql='
  • Run Liquid code against your instance
  • Test Liquid logic
  • Quickly prototype your ideas
  • ',Ss,Le,zt,Z,rt,As,it,Ll="Show more information about Liquid Evaluator",Bs,St,V,Ee,Js,ot,Wt=c[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to",pn,Hs,mn,Ms,J,ae,ct,ut,Os,dt,El="GraphiQL",Fs,ft,kl='
  • Run GraphQL against your instance
  • Explore documentation
  • Quickly prototype your queries and mutations
  • ',Qs,ke,At,y,ht,Gs,vt,Ul="Show more information about GraphiQL",Vs,Bt,j,Ue,js,pt,Xt=c[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to",_n,Rs,$n,Ks,Ce,Yt,we,mt,Ws,Xs,Zt,Pe,_t,Ys,f,Zs,Cl;return L=new g({props:{icon:"database",size:"48"}}),ue=new g({props:{icon:"info",size:"14"}}),fe=new g({props:{icon:c[1].header.includes("database")?"pinFilled":"pin",size:"14"}}),Ne=new g({props:{icon:"users",size:"48"}}),Ae=new g({props:{icon:"info",size:"14"}}),ve=new g({props:{icon:c[1].header.includes("users")?"pinFilled":"pin",size:"14"}}),He=new g({props:{icon:"log",size:"48"}}),Fe=new g({props:{icon:"info",size:"14"}}),me=new g({props:{icon:c[1].header.includes("logs")?"pinFilled":"pin",size:"14"}}),Ve=new g({props:{icon:"backgroundJob",size:"48"}}),Ke=new g({props:{icon:"info",size:"14"}}),$e=new g({props:{icon:c[1].header.includes("backgroundJobs")?"pinFilled":"pin",size:"14"}}),Ye=new g({props:{icon:"constant",size:"48"}}),xe=new g({props:{icon:"info",size:"14"}}),be=new g({props:{icon:c[1].header.includes("constants")?"pinFilled":"pin",size:"14"}}),st=new g({props:{icon:"liquid",size:"48"}}),rt=new g({props:{icon:"info",size:"14"}}),Ee=new g({props:{icon:c[1].header.includes("liquid")?"pinFilled":"pin",size:"14"}}),ut=new g({props:{icon:"graphql",size:"48"}}),ht=new g({props:{icon:"info",size:"14"}}),Ue=new g({props:{icon:c[1].header.includes("graphiql")?"pinFilled":"pin",size:"14"}}),mt=new g({props:{icon:"book"}}),_t=new g({props:{icon:"serverSettings"}}),{c(){Te=i(),C=n("nav"),d=n("ul"),q=n("li"),T=n("a"),w=n("div"),h(L.$$.fragment),en=i(),oe=n("h2"),oe.textContent=Wn,tn=i(),ce=n("ul"),ce.innerHTML=Xn,nn=i(),x=n("ul"),De=n("li"),H=n("button"),h(ue.$$.fragment),sn=i(),de=n("span"),de.textContent=Yn,D=i(),R=n("li"),M=n("button"),h(fe.$$.fragment),Zn=i(),Ie=n("span"),ln=E(Gt),yn=E(" header menu"),xn=i(),N=n("li"),ee=n("a"),qt=n("div"),h(Ne.$$.fragment),es=i(),ze=n("h2"),ze.textContent=ol,ts=i(),Se=n("ul"),Se.innerHTML=cl,ns=i(),he=n("ul"),Lt=n("li"),K=n("button"),h(Ae.$$.fragment),ss=i(),Be=n("span"),Be.textContent=ul,ls=i(),Et=n("li"),O=n("button"),h(ve.$$.fragment),as=i(),Je=n("span"),rn=E(Vt),rs=E(" header menu"),is=i(),z=n("li"),te=n("a"),kt=n("div"),h(He.$$.fragment),os=i(),Me=n("h2"),Me.textContent=dl,cs=i(),Oe=n("ul"),Oe.innerHTML=fl,us=i(),pe=n("ul"),Ut=n("li"),W=n("button"),h(Fe.$$.fragment),ds=i(),Qe=n("span"),Qe.textContent=hl,fs=i(),Ct=n("li"),F=n("button"),h(me.$$.fragment),hs=i(),Ge=n("span"),cn=E(jt),vs=E(" header menu"),ps=i(),S=n("li"),ne=n("a"),wt=n("div"),h(Ve.$$.fragment),ms=i(),je=n("h2"),je.textContent=vl,_s=i(),Re=n("ul"),Re.innerHTML=pl,$s=i(),_e=n("ul"),Pt=n("li"),X=n("button"),h(Ke.$$.fragment),gs=i(),We=n("span"),We.textContent=ml,bs=i(),Tt=n("li"),Q=n("button"),h($e.$$.fragment),qs=i(),Xe=n("span"),dn=E(Rt),Ls=E(" header menu"),Es=i(),A=n("li"),se=n("a"),Dt=n("div"),h(Ye.$$.fragment),ks=i(),Ze=n("h2"),Ze.textContent=_l,Us=i(),ye=n("ul"),ye.innerHTML=$l,Cs=i(),ge=n("ul"),It=n("li"),Y=n("button"),h(xe.$$.fragment),ws=i(),et=n("span"),et.textContent=gl,Ps=i(),Nt=n("li"),G=n("button"),h(be.$$.fragment),Ts=i(),tt=n("span"),hn=E(Kt),Ds=E(" header menu"),Is=i(),qe=n("ul"),B=n("li"),le=n("a"),nt=n("div"),h(st.$$.fragment),Ns=i(),lt=n("h2"),lt.textContent=bl,zs=i(),at=n("ul"),at.innerHTML=ql,Ss=i(),Le=n("ul"),zt=n("li"),Z=n("button"),h(rt.$$.fragment),As=i(),it=n("span"),it.textContent=Ll,Bs=i(),St=n("li"),V=n("button"),h(Ee.$$.fragment),Js=i(),ot=n("span"),pn=E(Wt),Hs=E(" header menu"),Ms=i(),J=n("li"),ae=n("a"),ct=n("div"),h(ut.$$.fragment),Os=i(),dt=n("h2"),dt.textContent=El,Fs=i(),ft=n("ul"),ft.innerHTML=kl,Qs=i(),ke=n("ul"),At=n("li"),y=n("button"),h(ht.$$.fragment),Gs=i(),vt=n("span"),vt.textContent=Ul,Vs=i(),Bt=n("li"),j=n("button"),h(Ue.$$.fragment),js=i(),pt=n("span"),_n=E(Xt),Rs=E(" header menu"),Ks=i(),Ce=n("ul"),Yt=n("li"),we=n("a"),h(mt.$$.fragment),Ws=E(`\r + Documentation`),Xs=i(),Zt=n("li"),Pe=n("a"),h(_t.$$.fragment),Ys=E(`\r + Partner Portal`),this.h()},l(l){Zl("svelte-fwtfcu",document.head).forEach(a),Te=o(l),C=s(l,"NAV",{class:!0});var re=r(C);d=s(re,"UL",{class:!0});var I=r(d);q=s(I,"LI",{class:!0});var ie=r(q);T=s(ie,"A",{href:!0,class:!0});var $t=r(T);w=s($t,"DIV",{class:!0});var yt=r(w);v(L.$$.fragment,yt),yt.forEach(a),en=o($t),oe=s($t,"H2",{class:!0,"data-svelte-h":!0}),b(oe)!=="svelte-1a38a01"&&(oe.textContent=Wn),$t.forEach(a),tn=o(ie),ce=s(ie,"UL",{class:!0,"data-svelte-h":!0}),b(ce)!=="svelte-1tj1zl5"&&(ce.innerHTML=Xn),nn=o(ie),x=s(ie,"UL",{class:!0});var gt=r(x);De=s(gt,"LI",{class:!0});var xt=r(De);H=s(xt,"BUTTON",{title:!0,class:!0});var gn=r(H);v(ue.$$.fragment,gn),sn=o(gn),de=s(gn,"SPAN",{class:!0,"data-svelte-h":!0}),b(de)!=="svelte-vg36pf"&&(de.textContent=Yn),gn.forEach(a),xt.forEach(a),D=o(gt),R=s(gt,"LI",{class:!0});var wl=r(R);M=s(wl,"BUTTON",{title:!0,class:!0});var bn=r(M);v(fe.$$.fragment,bn),Zn=o(bn),Ie=s(bn,"SPAN",{class:!0});var ys=r(Ie);ln=k(ys,Gt),yn=k(ys," header menu"),ys.forEach(a),bn.forEach(a),wl.forEach(a),gt.forEach(a),ie.forEach(a),xn=o(I),N=s(I,"LI",{class:!0});var Jt=r(N);ee=s(Jt,"A",{href:!0,class:!0});var qn=r(ee);qt=s(qn,"DIV",{class:!0});var Pl=r(qt);v(Ne.$$.fragment,Pl),Pl.forEach(a),es=o(qn),ze=s(qn,"H2",{class:!0,"data-svelte-h":!0}),b(ze)!=="svelte-bvmn5u"&&(ze.textContent=ol),qn.forEach(a),ts=o(Jt),Se=s(Jt,"UL",{class:!0,"data-svelte-h":!0}),b(Se)!=="svelte-ml78fh"&&(Se.innerHTML=cl),ns=o(Jt),he=s(Jt,"UL",{class:!0});var Ln=r(he);Lt=s(Ln,"LI",{class:!0});var Tl=r(Lt);K=s(Tl,"BUTTON",{title:!0,class:!0});var En=r(K);v(Ae.$$.fragment,En),ss=o(En),Be=s(En,"SPAN",{class:!0,"data-svelte-h":!0}),b(Be)!=="svelte-10o6fc2"&&(Be.textContent=ul),En.forEach(a),Tl.forEach(a),ls=o(Ln),Et=s(Ln,"LI",{class:!0});var Dl=r(Et);O=s(Dl,"BUTTON",{title:!0,class:!0});var kn=r(O);v(ve.$$.fragment,kn),as=o(kn),Je=s(kn,"SPAN",{class:!0});var xs=r(Je);rn=k(xs,Vt),rs=k(xs," header menu"),xs.forEach(a),kn.forEach(a),Dl.forEach(a),Ln.forEach(a),Jt.forEach(a),is=o(I),z=s(I,"LI",{class:!0});var Ht=r(z);te=s(Ht,"A",{href:!0,class:!0});var Un=r(te);kt=s(Un,"DIV",{class:!0});var Il=r(kt);v(He.$$.fragment,Il),Il.forEach(a),os=o(Un),Me=s(Un,"H2",{class:!0,"data-svelte-h":!0}),b(Me)!=="svelte-1ef7qq7"&&(Me.textContent=dl),Un.forEach(a),cs=o(Ht),Oe=s(Ht,"UL",{class:!0,"data-svelte-h":!0}),b(Oe)!=="svelte-16nvdoq"&&(Oe.innerHTML=fl),us=o(Ht),pe=s(Ht,"UL",{class:!0});var Cn=r(pe);Ut=s(Cn,"LI",{class:!0});var Nl=r(Ut);W=s(Nl,"BUTTON",{title:!0,class:!0});var wn=r(W);v(Fe.$$.fragment,wn),ds=o(wn),Qe=s(wn,"SPAN",{class:!0,"data-svelte-h":!0}),b(Qe)!=="svelte-7a5jqd"&&(Qe.textContent=hl),wn.forEach(a),Nl.forEach(a),fs=o(Cn),Ct=s(Cn,"LI",{class:!0});var zl=r(Ct);F=s(zl,"BUTTON",{title:!0,class:!0});var Pn=r(F);v(me.$$.fragment,Pn),hs=o(Pn),Ge=s(Pn,"SPAN",{class:!0});var el=r(Ge);cn=k(el,jt),vs=k(el," header menu"),el.forEach(a),Pn.forEach(a),zl.forEach(a),Cn.forEach(a),Ht.forEach(a),ps=o(I),S=s(I,"LI",{class:!0});var Mt=r(S);ne=s(Mt,"A",{href:!0,class:!0});var Tn=r(ne);wt=s(Tn,"DIV",{class:!0});var Sl=r(wt);v(Ve.$$.fragment,Sl),Sl.forEach(a),ms=o(Tn),je=s(Tn,"H2",{class:!0,"data-svelte-h":!0}),b(je)!=="svelte-1bxtcha"&&(je.textContent=vl),Tn.forEach(a),_s=o(Mt),Re=s(Mt,"UL",{class:!0,"data-svelte-h":!0}),b(Re)!=="svelte-198kha5"&&(Re.innerHTML=pl),$s=o(Mt),_e=s(Mt,"UL",{class:!0});var Dn=r(_e);Pt=s(Dn,"LI",{class:!0});var Al=r(Pt);X=s(Al,"BUTTON",{title:!0,class:!0});var In=r(X);v(Ke.$$.fragment,In),gs=o(In),We=s(In,"SPAN",{class:!0,"data-svelte-h":!0}),b(We)!=="svelte-12zm1eu"&&(We.textContent=ml),In.forEach(a),Al.forEach(a),bs=o(Dn),Tt=s(Dn,"LI",{class:!0});var Bl=r(Tt);Q=s(Bl,"BUTTON",{title:!0,class:!0});var Nn=r(Q);v($e.$$.fragment,Nn),qs=o(Nn),Xe=s(Nn,"SPAN",{class:!0});var tl=r(Xe);dn=k(tl,Rt),Ls=k(tl," header menu"),tl.forEach(a),Nn.forEach(a),Bl.forEach(a),Dn.forEach(a),Mt.forEach(a),Es=o(I),A=s(I,"LI",{class:!0});var Ot=r(A);se=s(Ot,"A",{href:!0,class:!0});var zn=r(se);Dt=s(zn,"DIV",{class:!0});var Jl=r(Dt);v(Ye.$$.fragment,Jl),Jl.forEach(a),ks=o(zn),Ze=s(zn,"H2",{class:!0,"data-svelte-h":!0}),b(Ze)!=="svelte-187k1uv"&&(Ze.textContent=_l),zn.forEach(a),Us=o(Ot),ye=s(Ot,"UL",{class:!0,"data-svelte-h":!0}),b(ye)!=="svelte-1hxwc9f"&&(ye.innerHTML=$l),Cs=o(Ot),ge=s(Ot,"UL",{class:!0});var Sn=r(ge);It=s(Sn,"LI",{class:!0});var Hl=r(It);Y=s(Hl,"BUTTON",{title:!0,class:!0});var An=r(Y);v(xe.$$.fragment,An),ws=o(An),et=s(An,"SPAN",{class:!0,"data-svelte-h":!0}),b(et)!=="svelte-96zp3x"&&(et.textContent=gl),An.forEach(a),Hl.forEach(a),Ps=o(Sn),Nt=s(Sn,"LI",{class:!0});var Ml=r(Nt);G=s(Ml,"BUTTON",{title:!0,class:!0});var Bn=r(G);v(be.$$.fragment,Bn),Ts=o(Bn),tt=s(Bn,"SPAN",{class:!0});var nl=r(tt);hn=k(nl,Kt),Ds=k(nl," header menu"),nl.forEach(a),Bn.forEach(a),Ml.forEach(a),Sn.forEach(a),Ot.forEach(a),I.forEach(a),Is=o(re),qe=s(re,"UL",{class:!0});var Jn=r(qe);B=s(Jn,"LI",{class:!0});var Ft=r(B);le=s(Ft,"A",{href:!0,class:!0});var Hn=r(le);nt=s(Hn,"DIV",{class:!0,style:!0});var Ol=r(nt);v(st.$$.fragment,Ol),Ol.forEach(a),Ns=o(Hn),lt=s(Hn,"H2",{class:!0,"data-svelte-h":!0}),b(lt)!=="svelte-1945w61"&&(lt.textContent=bl),Hn.forEach(a),zs=o(Ft),at=s(Ft,"UL",{class:!0,"data-svelte-h":!0}),b(at)!=="svelte-1k625ps"&&(at.innerHTML=ql),Ss=o(Ft),Le=s(Ft,"UL",{class:!0});var Mn=r(Le);zt=s(Mn,"LI",{class:!0});var Fl=r(zt);Z=s(Fl,"BUTTON",{title:!0,class:!0});var On=r(Z);v(rt.$$.fragment,On),As=o(On),it=s(On,"SPAN",{class:!0,"data-svelte-h":!0}),b(it)!=="svelte-zgpe6t"&&(it.textContent=Ll),On.forEach(a),Fl.forEach(a),Bs=o(Mn),St=s(Mn,"LI",{class:!0});var Ql=r(St);V=s(Ql,"BUTTON",{title:!0,class:!0});var Fn=r(V);v(Ee.$$.fragment,Fn),Js=o(Fn),ot=s(Fn,"SPAN",{class:!0});var sl=r(ot);pn=k(sl,Wt),Hs=k(sl," header menu"),sl.forEach(a),Fn.forEach(a),Ql.forEach(a),Mn.forEach(a),Ft.forEach(a),Ms=o(Jn),J=s(Jn,"LI",{class:!0});var Qt=r(J);ae=s(Qt,"A",{href:!0,class:!0});var Qn=r(ae);ct=s(Qn,"DIV",{class:!0,style:!0});var Gl=r(ct);v(ut.$$.fragment,Gl),Gl.forEach(a),Os=o(Qn),dt=s(Qn,"H2",{class:!0,"data-svelte-h":!0}),b(dt)!=="svelte-v0z4e8"&&(dt.textContent=El),Qn.forEach(a),Fs=o(Qt),ft=s(Qt,"UL",{class:!0,"data-svelte-h":!0}),b(ft)!=="svelte-17bqupm"&&(ft.innerHTML=kl),Qs=o(Qt),ke=s(Qt,"UL",{class:!0});var Gn=r(ke);At=s(Gn,"LI",{class:!0});var Vl=r(At);y=s(Vl,"BUTTON",{title:!0,class:!0});var Vn=r(y);v(ht.$$.fragment,Vn),Gs=o(Vn),vt=s(Vn,"SPAN",{class:!0,"data-svelte-h":!0}),b(vt)!=="svelte-1mz1lxe"&&(vt.textContent=Ul),Vn.forEach(a),Vl.forEach(a),Vs=o(Gn),Bt=s(Gn,"LI",{class:!0});var jl=r(Bt);j=s(jl,"BUTTON",{title:!0,class:!0});var jn=r(j);v(Ue.$$.fragment,jn),js=o(jn),pt=s(jn,"SPAN",{class:!0});var ll=r(pt);_n=k(ll,Xt),Rs=k(ll," header menu"),ll.forEach(a),jn.forEach(a),jl.forEach(a),Gn.forEach(a),Qt.forEach(a),Jn.forEach(a),Ks=o(re),Ce=s(re,"UL",{class:!0});var Rn=r(Ce);Yt=s(Rn,"LI",{});var Rl=r(Yt);we=s(Rl,"A",{href:!0,class:!0});var al=r(we);v(mt.$$.fragment,al),Ws=k(al,`\r + Documentation`),al.forEach(a),Rl.forEach(a),Xs=o(Rn),Zt=s(Rn,"LI",{});var Kl=r(Zt);Pe=s(Kl,"A",{href:!0,class:!0});var rl=r(Pe);v(_t.$$.fragment,rl),Ys=k(rl,`\r + Partner Portal`),rl.forEach(a),Kl.forEach(a),Rn.forEach(a),re.forEach(a),this.h()},h(){document.title="platformOS Instance Admin",t(w,"class","icon svelte-1nq1nri"),t(oe,"class","svelte-1nq1nri"),t(T,"href","/database"),t(T,"class","svelte-1nq1nri"),t(ce,"class","description svelte-1nq1nri"),t(de,"class","label"),t(H,"title","More information"),t(H,"class","svelte-1nq1nri"),t(De,"class","svelte-1nq1nri"),t(Ie,"class","label"),t(M,"title",an=(c[1].header.includes("database")?"Unpin Database from":"Pin Database to")+" header menu"),t(M,"class","svelte-1nq1nri"),t(R,"class","svelte-1nq1nri"),t(x,"class","actions svelte-1nq1nri"),t(q,"class","application svelte-1nq1nri"),P(q,"showDescription",c[0].includes("database")),t(qt,"class","icon svelte-1nq1nri"),t(ze,"class","svelte-1nq1nri"),t(ee,"href","/users"),t(ee,"class","svelte-1nq1nri"),t(Se,"class","description svelte-1nq1nri"),t(Be,"class","label"),t(K,"title","More information"),t(K,"class","svelte-1nq1nri"),t(Lt,"class","svelte-1nq1nri"),t(Je,"class","label"),t(O,"title",on=(c[1].header.includes("users")?"Unpin Users from":"Pin Users to")+" header menu"),t(O,"class","svelte-1nq1nri"),t(Et,"class","svelte-1nq1nri"),t(he,"class","actions svelte-1nq1nri"),t(N,"class","application svelte-1nq1nri"),P(N,"showDescription",c[0].includes("users")),t(kt,"class","icon svelte-1nq1nri"),t(Me,"class","svelte-1nq1nri"),t(te,"href","/logs"),t(te,"class","svelte-1nq1nri"),t(Oe,"class","description svelte-1nq1nri"),t(Qe,"class","label"),t(W,"title","More information"),t(W,"class","svelte-1nq1nri"),t(Ut,"class","svelte-1nq1nri"),t(Ge,"class","label"),t(F,"title",un=(c[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to")+" header menu"),t(F,"class","svelte-1nq1nri"),t(Ct,"class","svelte-1nq1nri"),t(pe,"class","actions svelte-1nq1nri"),t(z,"class","application svelte-1nq1nri"),P(z,"showDescription",c[0].includes("logs")),t(wt,"class","icon svelte-1nq1nri"),t(je,"class","svelte-1nq1nri"),t(ne,"href","/backgroundJobs"),t(ne,"class","svelte-1nq1nri"),t(Re,"class","description svelte-1nq1nri"),t(We,"class","label"),t(X,"title","More information"),t(X,"class","svelte-1nq1nri"),t(Pt,"class","svelte-1nq1nri"),t(Xe,"class","label"),t(Q,"title",fn=(c[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to")+" header menu"),t(Q,"class","svelte-1nq1nri"),t(Tt,"class","svelte-1nq1nri"),t(_e,"class","actions svelte-1nq1nri"),t(S,"class","application svelte-1nq1nri"),P(S,"showDescription",c[0].includes("backgroundJobs")),t(Dt,"class","icon svelte-1nq1nri"),t(Ze,"class","svelte-1nq1nri"),t(se,"href","/constants"),t(se,"class","svelte-1nq1nri"),t(ye,"class","description svelte-1nq1nri"),t(et,"class","label"),t(Y,"title","More information"),t(Y,"class","svelte-1nq1nri"),t(It,"class","svelte-1nq1nri"),t(tt,"class","label"),t(G,"title",vn=(c[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to")+" header menu"),t(G,"class","svelte-1nq1nri"),t(Nt,"class","svelte-1nq1nri"),t(ge,"class","actions svelte-1nq1nri"),t(A,"class","application svelte-1nq1nri"),P(A,"showDescription",c[0].includes("constants")),t(d,"class","applications svelte-1nq1nri"),t(nt,"class","icon svelte-1nq1nri"),Wl(nt,"color","#aeb0b3"),t(lt,"class","svelte-1nq1nri"),t(le,"href","http://localhost:3333/gui/liquid"),t(le,"class","svelte-1nq1nri"),t(at,"class","description svelte-1nq1nri"),t(it,"class","label"),t(Z,"title","More information"),t(Z,"class","svelte-1nq1nri"),t(zt,"class","svelte-1nq1nri"),t(ot,"class","label"),t(V,"title",mn=(c[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to")+" header menu"),t(V,"class","svelte-1nq1nri"),t(St,"class","svelte-1nq1nri"),t(Le,"class","actions svelte-1nq1nri"),t(B,"class","application svelte-1nq1nri"),P(B,"showDescription",c[0].includes("liquid")),t(ct,"class","icon svelte-1nq1nri"),Wl(ct,"color","#f30e9c"),t(dt,"class","svelte-1nq1nri"),t(ae,"href","http://localhost:3333/gui/graphql"),t(ae,"class","svelte-1nq1nri"),t(ft,"class","description svelte-1nq1nri"),t(vt,"class","label"),t(y,"title","More information"),t(y,"class","svelte-1nq1nri"),t(At,"class","svelte-1nq1nri"),t(pt,"class","label"),t(j,"title",$n=(c[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to")+" header menu"),t(j,"class","svelte-1nq1nri"),t(Bt,"class","svelte-1nq1nri"),t(ke,"class","actions svelte-1nq1nri"),t(J,"class","application svelte-1nq1nri"),P(J,"showDescription",c[0].includes("graphiql")),t(qe,"class","applications svelte-1nq1nri"),t(we,"href","https://documentation.platformos.com"),t(we,"class","button"),t(Pe,"href","https://partners.platformos.com"),t(Pe,"class","button"),t(Ce,"class","links svelte-1nq1nri"),t(C,"class","svelte-1nq1nri")},m(l,u){Xl(l,Te,u),Xl(l,C,u),e(C,d),e(d,q),e(q,T),e(T,w),p(L,w,null),e(T,en),e(T,oe),e(q,tn),e(q,ce),e(q,nn),e(q,x),e(x,De),e(De,H),p(ue,H,null),e(H,sn),e(H,de),e(x,D),e(x,R),e(R,M),p(fe,M,null),e(M,Zn),e(M,Ie),e(Ie,ln),e(Ie,yn),e(d,xn),e(d,N),e(N,ee),e(ee,qt),p(Ne,qt,null),e(ee,es),e(ee,ze),e(N,ts),e(N,Se),e(N,ns),e(N,he),e(he,Lt),e(Lt,K),p(Ae,K,null),e(K,ss),e(K,Be),e(he,ls),e(he,Et),e(Et,O),p(ve,O,null),e(O,as),e(O,Je),e(Je,rn),e(Je,rs),e(d,is),e(d,z),e(z,te),e(te,kt),p(He,kt,null),e(te,os),e(te,Me),e(z,cs),e(z,Oe),e(z,us),e(z,pe),e(pe,Ut),e(Ut,W),p(Fe,W,null),e(W,ds),e(W,Qe),e(pe,fs),e(pe,Ct),e(Ct,F),p(me,F,null),e(F,hs),e(F,Ge),e(Ge,cn),e(Ge,vs),e(d,ps),e(d,S),e(S,ne),e(ne,wt),p(Ve,wt,null),e(ne,ms),e(ne,je),e(S,_s),e(S,Re),e(S,$s),e(S,_e),e(_e,Pt),e(Pt,X),p(Ke,X,null),e(X,gs),e(X,We),e(_e,bs),e(_e,Tt),e(Tt,Q),p($e,Q,null),e(Q,qs),e(Q,Xe),e(Xe,dn),e(Xe,Ls),e(d,Es),e(d,A),e(A,se),e(se,Dt),p(Ye,Dt,null),e(se,ks),e(se,Ze),e(A,Us),e(A,ye),e(A,Cs),e(A,ge),e(ge,It),e(It,Y),p(xe,Y,null),e(Y,ws),e(Y,et),e(ge,Ps),e(ge,Nt),e(Nt,G),p(be,G,null),e(G,Ts),e(G,tt),e(tt,hn),e(tt,Ds),e(C,Is),e(C,qe),e(qe,B),e(B,le),e(le,nt),p(st,nt,null),e(le,Ns),e(le,lt),e(B,zs),e(B,at),e(B,Ss),e(B,Le),e(Le,zt),e(zt,Z),p(rt,Z,null),e(Z,As),e(Z,it),e(Le,Bs),e(Le,St),e(St,V),p(Ee,V,null),e(V,Js),e(V,ot),e(ot,pn),e(ot,Hs),e(qe,Ms),e(qe,J),e(J,ae),e(ae,ct),p(ut,ct,null),e(ae,Os),e(ae,dt),e(J,Fs),e(J,ft),e(J,Qs),e(J,ke),e(ke,At),e(At,y),p(ht,y,null),e(y,Gs),e(y,vt),e(ke,Vs),e(ke,Bt),e(Bt,j),p(Ue,j,null),e(j,js),e(j,pt),e(pt,_n),e(pt,Rs),e(C,Ks),e(C,Ce),e(Ce,Yt),e(Yt,we),p(mt,we,null),e(we,Ws),e(Ce,Xs),e(Ce,Zt),e(Zt,Pe),p(_t,Pe,null),e(Pe,Ys),f=!0,Zs||(Cl=[U(T,"focus",c[2],{once:!0}),U(T,"mouseover",c[2],{once:!0}),U(H,"click",c[5]),U(M,"click",c[6]),U(K,"click",c[7]),U(O,"click",c[8]),U(W,"click",c[9]),U(F,"click",c[10]),U(X,"click",c[11]),U(Q,"click",c[12]),U(Y,"click",c[13]),U(G,"click",c[14]),U(Z,"click",c[15]),U(V,"click",c[16]),U(y,"click",c[17]),U(j,"click",c[18])],Zs=!0)},p(l,[u]){const re={};u&2&&(re.icon=l[1].header.includes("database")?"pinFilled":"pin"),fe.$set(re),(!f||u&2)&&Gt!==(Gt=l[1].header.includes("database")?"Unpin Database from":"Pin Database to")&&bt(ln,Gt),(!f||u&2&&an!==(an=(l[1].header.includes("database")?"Unpin Database from":"Pin Database to")+" header menu"))&&t(M,"title",an),(!f||u&1)&&P(q,"showDescription",l[0].includes("database"));const I={};u&2&&(I.icon=l[1].header.includes("users")?"pinFilled":"pin"),ve.$set(I),(!f||u&2)&&Vt!==(Vt=l[1].header.includes("users")?"Unpin Users from":"Pin Users to")&&bt(rn,Vt),(!f||u&2&&on!==(on=(l[1].header.includes("users")?"Unpin Users from":"Pin Users to")+" header menu"))&&t(O,"title",on),(!f||u&1)&&P(N,"showDescription",l[0].includes("users"));const ie={};u&2&&(ie.icon=l[1].header.includes("logs")?"pinFilled":"pin"),me.$set(ie),(!f||u&2)&&jt!==(jt=l[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to")&&bt(cn,jt),(!f||u&2&&un!==(un=(l[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to")+" header menu"))&&t(F,"title",un),(!f||u&1)&&P(z,"showDescription",l[0].includes("logs"));const $t={};u&2&&($t.icon=l[1].header.includes("backgroundJobs")?"pinFilled":"pin"),$e.$set($t),(!f||u&2)&&Rt!==(Rt=l[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to")&&bt(dn,Rt),(!f||u&2&&fn!==(fn=(l[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to")+" header menu"))&&t(Q,"title",fn),(!f||u&1)&&P(S,"showDescription",l[0].includes("backgroundJobs"));const yt={};u&2&&(yt.icon=l[1].header.includes("constants")?"pinFilled":"pin"),be.$set(yt),(!f||u&2)&&Kt!==(Kt=l[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to")&&bt(hn,Kt),(!f||u&2&&vn!==(vn=(l[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to")+" header menu"))&&t(G,"title",vn),(!f||u&1)&&P(A,"showDescription",l[0].includes("constants"));const gt={};u&2&&(gt.icon=l[1].header.includes("liquid")?"pinFilled":"pin"),Ee.$set(gt),(!f||u&2)&&Wt!==(Wt=l[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to")&&bt(pn,Wt),(!f||u&2&&mn!==(mn=(l[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to")+" header menu"))&&t(V,"title",mn),(!f||u&1)&&P(B,"showDescription",l[0].includes("liquid"));const xt={};u&2&&(xt.icon=l[1].header.includes("graphiql")?"pinFilled":"pin"),Ue.$set(xt),(!f||u&2)&&Xt!==(Xt=l[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to")&&bt(_n,Xt),(!f||u&2&&$n!==($n=(l[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to")+" header menu"))&&t(j,"title",$n),(!f||u&1)&&P(J,"showDescription",l[0].includes("graphiql"))},i(l){f||(m(L.$$.fragment,l),m(ue.$$.fragment,l),m(fe.$$.fragment,l),m(Ne.$$.fragment,l),m(Ae.$$.fragment,l),m(ve.$$.fragment,l),m(He.$$.fragment,l),m(Fe.$$.fragment,l),m(me.$$.fragment,l),m(Ve.$$.fragment,l),m(Ke.$$.fragment,l),m($e.$$.fragment,l),m(Ye.$$.fragment,l),m(xe.$$.fragment,l),m(be.$$.fragment,l),m(st.$$.fragment,l),m(rt.$$.fragment,l),m(Ee.$$.fragment,l),m(ut.$$.fragment,l),m(ht.$$.fragment,l),m(Ue.$$.fragment,l),m(mt.$$.fragment,l),m(_t.$$.fragment,l),f=!0)},o(l){_(L.$$.fragment,l),_(ue.$$.fragment,l),_(fe.$$.fragment,l),_(Ne.$$.fragment,l),_(Ae.$$.fragment,l),_(ve.$$.fragment,l),_(He.$$.fragment,l),_(Fe.$$.fragment,l),_(me.$$.fragment,l),_(Ve.$$.fragment,l),_(Ke.$$.fragment,l),_($e.$$.fragment,l),_(Ye.$$.fragment,l),_(xe.$$.fragment,l),_(be.$$.fragment,l),_(st.$$.fragment,l),_(rt.$$.fragment,l),_(Ee.$$.fragment,l),_(ut.$$.fragment,l),_(ht.$$.fragment,l),_(Ue.$$.fragment,l),_(mt.$$.fragment,l),_(_t.$$.fragment,l),f=!1},d(l){l&&(a(Te),a(C)),$(L),$(ue),$(fe),$(Ne),$(Ae),$(ve),$(He),$(Fe),$(me),$(Ve),$(Ke),$($e),$(Ye),$(xe),$(be),$(st),$(rt),$(Ee),$(ut),$(ht),$(Ue),$(mt),$(_t),Zs=!1,yl(Cl)}}}function la(c,Te,C){let d;xl(c,Kn,D=>C(1,d=D));let q=[];const T=async()=>{d.tables.length||il(Kn,d.tables=await na.get(),d)},w=D=>{d.header.indexOf(D)>-1?il(Kn,d.header=d.header.filter(R=>R!==D),d):il(Kn,d.header=[...d.header,D],d),localStorage.header=JSON.stringify(d.header)},L=D=>{q.indexOf(D)>-1?C(0,q=q.filter(R=>R!==D)):C(0,q=[...q,D])};return[q,d,T,w,L,()=>L("database"),()=>w("database"),()=>L("users"),()=>w("users"),()=>L("logs"),()=>w("logs"),()=>L("backgroundJobs"),()=>w("backgroundJobs"),()=>L("constants"),()=>w("constants"),()=>L("liquid"),()=>w("liquid"),()=>L("graphiql"),()=>w("graphiql")]}class ua extends ea{constructor(Te){super(),ta(this,Te,la,sa,Yl,{})}}export{ua as component}; diff --git a/gui/next/build/_app/immutable/nodes/8.bac338d2.js b/gui/next/build/_app/immutable/nodes/8.bac338d2.js new file mode 100644 index 00000000..2fe30512 --- /dev/null +++ b/gui/next/build/_app/immutable/nodes/8.bac338d2.js @@ -0,0 +1 @@ +import{s}from"../chunks/scheduler.a497d5ec.js";import{S as t,i as e}from"../chunks/index.ca999c64.js";class l extends t{constructor(o){super(),e(this,o,null,null,s,{})}}export{l as component}; diff --git a/gui/next/build/_app/immutable/nodes/8.e5df78b0.js b/gui/next/build/_app/immutable/nodes/8.e5df78b0.js deleted file mode 100644 index 7c45a868..00000000 --- a/gui/next/build/_app/immutable/nodes/8.e5df78b0.js +++ /dev/null @@ -1,5 +0,0 @@ -import{s as xl,a as i,f as n,l as E,J as ea,d as a,c as o,g as s,h as r,r as b,m as k,j as t,w as P,k as Zl,i as yl,u as e,x as U,n as qt,y as ta,v as na,z as cl}from"../chunks/scheduler.bed694a1.js";import{S as sa,i as la,b as h,d as v,m as p,a as m,t as _,e as $}from"../chunks/index.606d5641.js";import{I as g}from"../chunks/Icon.4ad67fd0.js";import{s as Wn}from"../chunks/state.88bbaa31.js";import{t as aa}from"../chunks/table.aa2299a7.js";function ra(c){let Te,C,d,q,T,w,L,nn,ce,Xn="Database",sn,ue,Yn='
  • Inspect tables and records
  • Create, edit or delete records
  • Filter and find any record
  • ',ln,ee,De,H,de,an,fe,Zn="Show more information about Database tool",D,R,M,he,yn,Ie,jt=c[1].header.includes("database")?"Unpin Database from":"Pin Database to",rn,xn,on,es,N,te,Lt,Ne,ts,ze,ul="Users",ns,Se,dl='
  • Inspect registered users and their personal data
  • ',ss,ve,Et,K,Ae,ls,Be,fl="Show more information about Users tool",as,kt,O,pe,rs,Je,Rt=c[1].header.includes("users")?"Unpin Users from":"Pin Users to",cn,is,un,os,z,ne,Ut,He,cs,Me,hl="Logs",us,Oe,vl='
  • View system logs
  • Inspect logs you've outputted yourself
  • Debug Liquid or GraphQL errors
  • ',ds,W,Fe,pl='V2 β',fs,Ct,X,Qe,hs,Ge,ml="Show more information about Logs tool",vs,wt,F,me,ps,Ve,Kt=c[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to",dn,ms,fn,_s,S,se,Pt,je,$s,Re,_l="Background Jobs",gs,Ke,$l='
  • List scheduled background jobs
  • Debug background jobs that failed to run
  • ',bs,_e,Tt,Y,We,qs,Xe,gl="Show more information about Background Jobs tool",Ls,Dt,Q,$e,Es,Ye,Wt=c[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to",hn,ks,vn,Us,A,le,It,Ze,Cs,ye,bl="Constants",ws,xe,ql='
  • Check all constants in one place
  • Create new constants
  • Edit or delete existing ones
  • ',Ps,ge,Nt,Z,et,Ts,tt,Ll="Show more information about Constants tool",Ds,zt,G,be,Is,nt,Xt=c[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to",pn,Ns,mn,zs,qe,B,ae,st,lt,Ss,at,El="Liquid Evaluator",As,rt,kl='
  • Run Liquid code against your instance
  • Test Liquid logic
  • Quickly prototype your ideas
  • ',Bs,Le,St,y,it,Js,ot,Ul="Show more information about Liquid Evaluator",Hs,At,V,Ee,Ms,ct,Yt=c[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to",_n,Os,$n,Fs,J,re,ut,dt,Qs,ft,Cl="GraphiQL",Gs,ht,wl='
  • Run GraphQL against your instance
  • Explore documentation
  • Quickly prototype your queries and mutations
  • ',Vs,ke,Bt,x,vt,js,pt,Pl="Show more information about GraphiQL",Rs,Jt,j,Ue,Ks,mt,Zt=c[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to",gn,Ws,bn,Xs,Ce,yt,we,_t,Ys,Zs,xt,Pe,$t,ys,f,xs,Tl;return L=new g({props:{icon:"database",size:"48"}}),de=new g({props:{icon:"info",size:"14"}}),he=new g({props:{icon:c[1].header.includes("database")?"pinFilled":"pin",size:"14"}}),Ne=new g({props:{icon:"users",size:"48"}}),Ae=new g({props:{icon:"info",size:"14"}}),pe=new g({props:{icon:c[1].header.includes("users")?"pinFilled":"pin",size:"14"}}),He=new g({props:{icon:"log",size:"48"}}),Qe=new g({props:{icon:"info",size:"14"}}),me=new g({props:{icon:c[1].header.includes("logs")?"pinFilled":"pin",size:"14"}}),je=new g({props:{icon:"backgroundJob",size:"48"}}),We=new g({props:{icon:"info",size:"14"}}),$e=new g({props:{icon:c[1].header.includes("backgroundJobs")?"pinFilled":"pin",size:"14"}}),Ze=new g({props:{icon:"constant",size:"48"}}),et=new g({props:{icon:"info",size:"14"}}),be=new g({props:{icon:c[1].header.includes("constants")?"pinFilled":"pin",size:"14"}}),lt=new g({props:{icon:"liquid",size:"48"}}),it=new g({props:{icon:"info",size:"14"}}),Ee=new g({props:{icon:c[1].header.includes("liquid")?"pinFilled":"pin",size:"14"}}),dt=new g({props:{icon:"graphql",size:"48"}}),vt=new g({props:{icon:"info",size:"14"}}),Ue=new g({props:{icon:c[1].header.includes("graphiql")?"pinFilled":"pin",size:"14"}}),_t=new g({props:{icon:"book"}}),$t=new g({props:{icon:"serverSettings"}}),{c(){Te=i(),C=n("nav"),d=n("ul"),q=n("li"),T=n("a"),w=n("div"),h(L.$$.fragment),nn=i(),ce=n("h2"),ce.textContent=Xn,sn=i(),ue=n("ul"),ue.innerHTML=Yn,ln=i(),ee=n("ul"),De=n("li"),H=n("button"),h(de.$$.fragment),an=i(),fe=n("span"),fe.textContent=Zn,D=i(),R=n("li"),M=n("button"),h(he.$$.fragment),yn=i(),Ie=n("span"),rn=E(jt),xn=E(" header menu"),es=i(),N=n("li"),te=n("a"),Lt=n("div"),h(Ne.$$.fragment),ts=i(),ze=n("h2"),ze.textContent=ul,ns=i(),Se=n("ul"),Se.innerHTML=dl,ss=i(),ve=n("ul"),Et=n("li"),K=n("button"),h(Ae.$$.fragment),ls=i(),Be=n("span"),Be.textContent=fl,as=i(),kt=n("li"),O=n("button"),h(pe.$$.fragment),rs=i(),Je=n("span"),cn=E(Rt),is=E(" header menu"),os=i(),z=n("li"),ne=n("a"),Ut=n("div"),h(He.$$.fragment),cs=i(),Me=n("h2"),Me.textContent=hl,us=i(),Oe=n("ul"),Oe.innerHTML=vl,ds=i(),W=n("ul"),Fe=n("li"),Fe.innerHTML=pl,fs=i(),Ct=n("li"),X=n("button"),h(Qe.$$.fragment),hs=i(),Ge=n("span"),Ge.textContent=ml,vs=i(),wt=n("li"),F=n("button"),h(me.$$.fragment),ps=i(),Ve=n("span"),dn=E(Kt),ms=E(" header menu"),_s=i(),S=n("li"),se=n("a"),Pt=n("div"),h(je.$$.fragment),$s=i(),Re=n("h2"),Re.textContent=_l,gs=i(),Ke=n("ul"),Ke.innerHTML=$l,bs=i(),_e=n("ul"),Tt=n("li"),Y=n("button"),h(We.$$.fragment),qs=i(),Xe=n("span"),Xe.textContent=gl,Ls=i(),Dt=n("li"),Q=n("button"),h($e.$$.fragment),Es=i(),Ye=n("span"),hn=E(Wt),ks=E(" header menu"),Us=i(),A=n("li"),le=n("a"),It=n("div"),h(Ze.$$.fragment),Cs=i(),ye=n("h2"),ye.textContent=bl,ws=i(),xe=n("ul"),xe.innerHTML=ql,Ps=i(),ge=n("ul"),Nt=n("li"),Z=n("button"),h(et.$$.fragment),Ts=i(),tt=n("span"),tt.textContent=Ll,Ds=i(),zt=n("li"),G=n("button"),h(be.$$.fragment),Is=i(),nt=n("span"),pn=E(Xt),Ns=E(" header menu"),zs=i(),qe=n("ul"),B=n("li"),ae=n("a"),st=n("div"),h(lt.$$.fragment),Ss=i(),at=n("h2"),at.textContent=El,As=i(),rt=n("ul"),rt.innerHTML=kl,Bs=i(),Le=n("ul"),St=n("li"),y=n("button"),h(it.$$.fragment),Js=i(),ot=n("span"),ot.textContent=Ul,Hs=i(),At=n("li"),V=n("button"),h(Ee.$$.fragment),Ms=i(),ct=n("span"),_n=E(Yt),Os=E(" header menu"),Fs=i(),J=n("li"),re=n("a"),ut=n("div"),h(dt.$$.fragment),Qs=i(),ft=n("h2"),ft.textContent=Cl,Gs=i(),ht=n("ul"),ht.innerHTML=wl,Vs=i(),ke=n("ul"),Bt=n("li"),x=n("button"),h(vt.$$.fragment),js=i(),pt=n("span"),pt.textContent=Pl,Rs=i(),Jt=n("li"),j=n("button"),h(Ue.$$.fragment),Ks=i(),mt=n("span"),gn=E(Zt),Ws=E(" header menu"),Xs=i(),Ce=n("ul"),yt=n("li"),we=n("a"),h(_t.$$.fragment),Ys=E(`\r - Documentation`),Zs=i(),xt=n("li"),Pe=n("a"),h($t.$$.fragment),ys=E(`\r - Partner Portal`),this.h()},l(l){ea("svelte-fwtfcu",document.head).forEach(a),Te=o(l),C=s(l,"NAV",{class:!0});var ie=r(C);d=s(ie,"UL",{class:!0});var I=r(d);q=s(I,"LI",{class:!0});var oe=r(q);T=s(oe,"A",{href:!0,class:!0});var gt=r(T);w=s(gt,"DIV",{class:!0});var en=r(w);v(L.$$.fragment,en),en.forEach(a),nn=o(gt),ce=s(gt,"H2",{class:!0,"data-svelte-h":!0}),b(ce)!=="svelte-1a38a01"&&(ce.textContent=Xn),gt.forEach(a),sn=o(oe),ue=s(oe,"UL",{class:!0,"data-svelte-h":!0}),b(ue)!=="svelte-1tj1zl5"&&(ue.innerHTML=Yn),ln=o(oe),ee=s(oe,"UL",{class:!0});var bt=r(ee);De=s(bt,"LI",{class:!0});var tn=r(De);H=s(tn,"BUTTON",{title:!0,class:!0});var qn=r(H);v(de.$$.fragment,qn),an=o(qn),fe=s(qn,"SPAN",{class:!0,"data-svelte-h":!0}),b(fe)!=="svelte-vg36pf"&&(fe.textContent=Zn),qn.forEach(a),tn.forEach(a),D=o(bt),R=s(bt,"LI",{class:!0});var Dl=r(R);M=s(Dl,"BUTTON",{title:!0,class:!0});var Ln=r(M);v(he.$$.fragment,Ln),yn=o(Ln),Ie=s(Ln,"SPAN",{class:!0});var el=r(Ie);rn=k(el,jt),xn=k(el," header menu"),el.forEach(a),Ln.forEach(a),Dl.forEach(a),bt.forEach(a),oe.forEach(a),es=o(I),N=s(I,"LI",{class:!0});var Ht=r(N);te=s(Ht,"A",{href:!0,class:!0});var En=r(te);Lt=s(En,"DIV",{class:!0});var Il=r(Lt);v(Ne.$$.fragment,Il),Il.forEach(a),ts=o(En),ze=s(En,"H2",{class:!0,"data-svelte-h":!0}),b(ze)!=="svelte-bvmn5u"&&(ze.textContent=ul),En.forEach(a),ns=o(Ht),Se=s(Ht,"UL",{class:!0,"data-svelte-h":!0}),b(Se)!=="svelte-ml78fh"&&(Se.innerHTML=dl),ss=o(Ht),ve=s(Ht,"UL",{class:!0});var kn=r(ve);Et=s(kn,"LI",{class:!0});var Nl=r(Et);K=s(Nl,"BUTTON",{title:!0,class:!0});var Un=r(K);v(Ae.$$.fragment,Un),ls=o(Un),Be=s(Un,"SPAN",{class:!0,"data-svelte-h":!0}),b(Be)!=="svelte-10o6fc2"&&(Be.textContent=fl),Un.forEach(a),Nl.forEach(a),as=o(kn),kt=s(kn,"LI",{class:!0});var zl=r(kt);O=s(zl,"BUTTON",{title:!0,class:!0});var Cn=r(O);v(pe.$$.fragment,Cn),rs=o(Cn),Je=s(Cn,"SPAN",{class:!0});var tl=r(Je);cn=k(tl,Rt),is=k(tl," header menu"),tl.forEach(a),Cn.forEach(a),zl.forEach(a),kn.forEach(a),Ht.forEach(a),os=o(I),z=s(I,"LI",{class:!0});var Mt=r(z);ne=s(Mt,"A",{href:!0,class:!0});var wn=r(ne);Ut=s(wn,"DIV",{class:!0});var Sl=r(Ut);v(He.$$.fragment,Sl),Sl.forEach(a),cs=o(wn),Me=s(wn,"H2",{class:!0,"data-svelte-h":!0}),b(Me)!=="svelte-1ef7qq7"&&(Me.textContent=hl),wn.forEach(a),us=o(Mt),Oe=s(Mt,"UL",{class:!0,"data-svelte-h":!0}),b(Oe)!=="svelte-16nvdoq"&&(Oe.innerHTML=vl),ds=o(Mt),W=s(Mt,"UL",{class:!0});var Ot=r(W);Fe=s(Ot,"LI",{class:!0,"data-svelte-h":!0}),b(Fe)!=="svelte-44hxvb"&&(Fe.innerHTML=pl),fs=o(Ot),Ct=s(Ot,"LI",{class:!0});var Al=r(Ct);X=s(Al,"BUTTON",{title:!0,class:!0});var Pn=r(X);v(Qe.$$.fragment,Pn),hs=o(Pn),Ge=s(Pn,"SPAN",{class:!0,"data-svelte-h":!0}),b(Ge)!=="svelte-7a5jqd"&&(Ge.textContent=ml),Pn.forEach(a),Al.forEach(a),vs=o(Ot),wt=s(Ot,"LI",{class:!0});var Bl=r(wt);F=s(Bl,"BUTTON",{title:!0,class:!0});var Tn=r(F);v(me.$$.fragment,Tn),ps=o(Tn),Ve=s(Tn,"SPAN",{class:!0});var nl=r(Ve);dn=k(nl,Kt),ms=k(nl," header menu"),nl.forEach(a),Tn.forEach(a),Bl.forEach(a),Ot.forEach(a),Mt.forEach(a),_s=o(I),S=s(I,"LI",{class:!0});var Ft=r(S);se=s(Ft,"A",{href:!0,class:!0});var Dn=r(se);Pt=s(Dn,"DIV",{class:!0});var Jl=r(Pt);v(je.$$.fragment,Jl),Jl.forEach(a),$s=o(Dn),Re=s(Dn,"H2",{class:!0,"data-svelte-h":!0}),b(Re)!=="svelte-1bxtcha"&&(Re.textContent=_l),Dn.forEach(a),gs=o(Ft),Ke=s(Ft,"UL",{class:!0,"data-svelte-h":!0}),b(Ke)!=="svelte-198kha5"&&(Ke.innerHTML=$l),bs=o(Ft),_e=s(Ft,"UL",{class:!0});var In=r(_e);Tt=s(In,"LI",{class:!0});var Hl=r(Tt);Y=s(Hl,"BUTTON",{title:!0,class:!0});var Nn=r(Y);v(We.$$.fragment,Nn),qs=o(Nn),Xe=s(Nn,"SPAN",{class:!0,"data-svelte-h":!0}),b(Xe)!=="svelte-12zm1eu"&&(Xe.textContent=gl),Nn.forEach(a),Hl.forEach(a),Ls=o(In),Dt=s(In,"LI",{class:!0});var Ml=r(Dt);Q=s(Ml,"BUTTON",{title:!0,class:!0});var zn=r(Q);v($e.$$.fragment,zn),Es=o(zn),Ye=s(zn,"SPAN",{class:!0});var sl=r(Ye);hn=k(sl,Wt),ks=k(sl," header menu"),sl.forEach(a),zn.forEach(a),Ml.forEach(a),In.forEach(a),Ft.forEach(a),Us=o(I),A=s(I,"LI",{class:!0});var Qt=r(A);le=s(Qt,"A",{href:!0,class:!0});var Sn=r(le);It=s(Sn,"DIV",{class:!0});var Ol=r(It);v(Ze.$$.fragment,Ol),Ol.forEach(a),Cs=o(Sn),ye=s(Sn,"H2",{class:!0,"data-svelte-h":!0}),b(ye)!=="svelte-187k1uv"&&(ye.textContent=bl),Sn.forEach(a),ws=o(Qt),xe=s(Qt,"UL",{class:!0,"data-svelte-h":!0}),b(xe)!=="svelte-1hxwc9f"&&(xe.innerHTML=ql),Ps=o(Qt),ge=s(Qt,"UL",{class:!0});var An=r(ge);Nt=s(An,"LI",{class:!0});var Fl=r(Nt);Z=s(Fl,"BUTTON",{title:!0,class:!0});var Bn=r(Z);v(et.$$.fragment,Bn),Ts=o(Bn),tt=s(Bn,"SPAN",{class:!0,"data-svelte-h":!0}),b(tt)!=="svelte-96zp3x"&&(tt.textContent=Ll),Bn.forEach(a),Fl.forEach(a),Ds=o(An),zt=s(An,"LI",{class:!0});var Ql=r(zt);G=s(Ql,"BUTTON",{title:!0,class:!0});var Jn=r(G);v(be.$$.fragment,Jn),Is=o(Jn),nt=s(Jn,"SPAN",{class:!0});var ll=r(nt);pn=k(ll,Xt),Ns=k(ll," header menu"),ll.forEach(a),Jn.forEach(a),Ql.forEach(a),An.forEach(a),Qt.forEach(a),I.forEach(a),zs=o(ie),qe=s(ie,"UL",{class:!0});var Hn=r(qe);B=s(Hn,"LI",{class:!0});var Gt=r(B);ae=s(Gt,"A",{href:!0,class:!0});var Mn=r(ae);st=s(Mn,"DIV",{class:!0,style:!0});var Gl=r(st);v(lt.$$.fragment,Gl),Gl.forEach(a),Ss=o(Mn),at=s(Mn,"H2",{class:!0,"data-svelte-h":!0}),b(at)!=="svelte-1945w61"&&(at.textContent=El),Mn.forEach(a),As=o(Gt),rt=s(Gt,"UL",{class:!0,"data-svelte-h":!0}),b(rt)!=="svelte-1k625ps"&&(rt.innerHTML=kl),Bs=o(Gt),Le=s(Gt,"UL",{class:!0});var On=r(Le);St=s(On,"LI",{class:!0});var Vl=r(St);y=s(Vl,"BUTTON",{title:!0,class:!0});var Fn=r(y);v(it.$$.fragment,Fn),Js=o(Fn),ot=s(Fn,"SPAN",{class:!0,"data-svelte-h":!0}),b(ot)!=="svelte-zgpe6t"&&(ot.textContent=Ul),Fn.forEach(a),Vl.forEach(a),Hs=o(On),At=s(On,"LI",{class:!0});var jl=r(At);V=s(jl,"BUTTON",{title:!0,class:!0});var Qn=r(V);v(Ee.$$.fragment,Qn),Ms=o(Qn),ct=s(Qn,"SPAN",{class:!0});var al=r(ct);_n=k(al,Yt),Os=k(al," header menu"),al.forEach(a),Qn.forEach(a),jl.forEach(a),On.forEach(a),Gt.forEach(a),Fs=o(Hn),J=s(Hn,"LI",{class:!0});var Vt=r(J);re=s(Vt,"A",{href:!0,class:!0});var Gn=r(re);ut=s(Gn,"DIV",{class:!0,style:!0});var Rl=r(ut);v(dt.$$.fragment,Rl),Rl.forEach(a),Qs=o(Gn),ft=s(Gn,"H2",{class:!0,"data-svelte-h":!0}),b(ft)!=="svelte-v0z4e8"&&(ft.textContent=Cl),Gn.forEach(a),Gs=o(Vt),ht=s(Vt,"UL",{class:!0,"data-svelte-h":!0}),b(ht)!=="svelte-17bqupm"&&(ht.innerHTML=wl),Vs=o(Vt),ke=s(Vt,"UL",{class:!0});var Vn=r(ke);Bt=s(Vn,"LI",{class:!0});var Kl=r(Bt);x=s(Kl,"BUTTON",{title:!0,class:!0});var jn=r(x);v(vt.$$.fragment,jn),js=o(jn),pt=s(jn,"SPAN",{class:!0,"data-svelte-h":!0}),b(pt)!=="svelte-1mz1lxe"&&(pt.textContent=Pl),jn.forEach(a),Kl.forEach(a),Rs=o(Vn),Jt=s(Vn,"LI",{class:!0});var Wl=r(Jt);j=s(Wl,"BUTTON",{title:!0,class:!0});var Rn=r(j);v(Ue.$$.fragment,Rn),Ks=o(Rn),mt=s(Rn,"SPAN",{class:!0});var rl=r(mt);gn=k(rl,Zt),Ws=k(rl," header menu"),rl.forEach(a),Rn.forEach(a),Wl.forEach(a),Vn.forEach(a),Vt.forEach(a),Hn.forEach(a),Xs=o(ie),Ce=s(ie,"UL",{class:!0});var Kn=r(Ce);yt=s(Kn,"LI",{});var Xl=r(yt);we=s(Xl,"A",{href:!0,class:!0});var il=r(we);v(_t.$$.fragment,il),Ys=k(il,`\r - Documentation`),il.forEach(a),Xl.forEach(a),Zs=o(Kn),xt=s(Kn,"LI",{});var Yl=r(xt);Pe=s(Yl,"A",{href:!0,class:!0});var ol=r(Pe);v($t.$$.fragment,ol),ys=k(ol,`\r - Partner Portal`),ol.forEach(a),Yl.forEach(a),Kn.forEach(a),ie.forEach(a),this.h()},h(){document.title="platformOS Instance Admin",t(w,"class","icon svelte-1nq1nri"),t(ce,"class","svelte-1nq1nri"),t(T,"href","/database"),t(T,"class","svelte-1nq1nri"),t(ue,"class","description svelte-1nq1nri"),t(fe,"class","label"),t(H,"title","More information"),t(H,"class","svelte-1nq1nri"),t(De,"class","svelte-1nq1nri"),t(Ie,"class","label"),t(M,"title",on=(c[1].header.includes("database")?"Unpin Database from":"Pin Database to")+" header menu"),t(M,"class","svelte-1nq1nri"),t(R,"class","svelte-1nq1nri"),t(ee,"class","actions svelte-1nq1nri"),t(q,"class","application svelte-1nq1nri"),P(q,"showDescription",c[0].includes("database")),t(Lt,"class","icon svelte-1nq1nri"),t(ze,"class","svelte-1nq1nri"),t(te,"href","/users"),t(te,"class","svelte-1nq1nri"),t(Se,"class","description svelte-1nq1nri"),t(Be,"class","label"),t(K,"title","More information"),t(K,"class","svelte-1nq1nri"),t(Et,"class","svelte-1nq1nri"),t(Je,"class","label"),t(O,"title",un=(c[1].header.includes("users")?"Unpin Users from":"Pin Users to")+" header menu"),t(O,"class","svelte-1nq1nri"),t(kt,"class","svelte-1nq1nri"),t(ve,"class","actions svelte-1nq1nri"),t(N,"class","application svelte-1nq1nri"),P(N,"showDescription",c[0].includes("users")),t(Ut,"class","icon svelte-1nq1nri"),t(Me,"class","svelte-1nq1nri"),t(ne,"href","/logs"),t(ne,"class","svelte-1nq1nri"),t(Oe,"class","description svelte-1nq1nri"),t(Fe,"class","svelte-1nq1nri"),t(Ge,"class","label"),t(X,"title","More information"),t(X,"class","svelte-1nq1nri"),t(Ct,"class","svelte-1nq1nri"),t(Ve,"class","label"),t(F,"title",fn=(c[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to")+" header menu"),t(F,"class","svelte-1nq1nri"),t(wt,"class","svelte-1nq1nri"),t(W,"class","actions svelte-1nq1nri"),t(z,"class","application svelte-1nq1nri"),P(z,"showDescription",c[0].includes("logs")),t(Pt,"class","icon svelte-1nq1nri"),t(Re,"class","svelte-1nq1nri"),t(se,"href","/backgroundJobs"),t(se,"class","svelte-1nq1nri"),t(Ke,"class","description svelte-1nq1nri"),t(Xe,"class","label"),t(Y,"title","More information"),t(Y,"class","svelte-1nq1nri"),t(Tt,"class","svelte-1nq1nri"),t(Ye,"class","label"),t(Q,"title",vn=(c[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to")+" header menu"),t(Q,"class","svelte-1nq1nri"),t(Dt,"class","svelte-1nq1nri"),t(_e,"class","actions svelte-1nq1nri"),t(S,"class","application svelte-1nq1nri"),P(S,"showDescription",c[0].includes("backgroundJobs")),t(It,"class","icon svelte-1nq1nri"),t(ye,"class","svelte-1nq1nri"),t(le,"href","/constants"),t(le,"class","svelte-1nq1nri"),t(xe,"class","description svelte-1nq1nri"),t(tt,"class","label"),t(Z,"title","More information"),t(Z,"class","svelte-1nq1nri"),t(Nt,"class","svelte-1nq1nri"),t(nt,"class","label"),t(G,"title",mn=(c[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to")+" header menu"),t(G,"class","svelte-1nq1nri"),t(zt,"class","svelte-1nq1nri"),t(ge,"class","actions svelte-1nq1nri"),t(A,"class","application svelte-1nq1nri"),P(A,"showDescription",c[0].includes("constants")),t(d,"class","applications svelte-1nq1nri"),t(st,"class","icon svelte-1nq1nri"),Zl(st,"color","#aeb0b3"),t(at,"class","svelte-1nq1nri"),t(ae,"href","http://localhost:3333/gui/liquid"),t(ae,"class","svelte-1nq1nri"),t(rt,"class","description svelte-1nq1nri"),t(ot,"class","label"),t(y,"title","More information"),t(y,"class","svelte-1nq1nri"),t(St,"class","svelte-1nq1nri"),t(ct,"class","label"),t(V,"title",$n=(c[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to")+" header menu"),t(V,"class","svelte-1nq1nri"),t(At,"class","svelte-1nq1nri"),t(Le,"class","actions svelte-1nq1nri"),t(B,"class","application svelte-1nq1nri"),P(B,"showDescription",c[0].includes("liquid")),t(ut,"class","icon svelte-1nq1nri"),Zl(ut,"color","#f30e9c"),t(ft,"class","svelte-1nq1nri"),t(re,"href","http://localhost:3333/gui/graphql"),t(re,"class","svelte-1nq1nri"),t(ht,"class","description svelte-1nq1nri"),t(pt,"class","label"),t(x,"title","More information"),t(x,"class","svelte-1nq1nri"),t(Bt,"class","svelte-1nq1nri"),t(mt,"class","label"),t(j,"title",bn=(c[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to")+" header menu"),t(j,"class","svelte-1nq1nri"),t(Jt,"class","svelte-1nq1nri"),t(ke,"class","actions svelte-1nq1nri"),t(J,"class","application svelte-1nq1nri"),P(J,"showDescription",c[0].includes("graphiql")),t(qe,"class","applications svelte-1nq1nri"),t(we,"href","https://documentation.platformos.com"),t(we,"class","button"),t(Pe,"href","https://partners.platformos.com"),t(Pe,"class","button"),t(Ce,"class","links svelte-1nq1nri"),t(C,"class","svelte-1nq1nri")},m(l,u){yl(l,Te,u),yl(l,C,u),e(C,d),e(d,q),e(q,T),e(T,w),p(L,w,null),e(T,nn),e(T,ce),e(q,sn),e(q,ue),e(q,ln),e(q,ee),e(ee,De),e(De,H),p(de,H,null),e(H,an),e(H,fe),e(ee,D),e(ee,R),e(R,M),p(he,M,null),e(M,yn),e(M,Ie),e(Ie,rn),e(Ie,xn),e(d,es),e(d,N),e(N,te),e(te,Lt),p(Ne,Lt,null),e(te,ts),e(te,ze),e(N,ns),e(N,Se),e(N,ss),e(N,ve),e(ve,Et),e(Et,K),p(Ae,K,null),e(K,ls),e(K,Be),e(ve,as),e(ve,kt),e(kt,O),p(pe,O,null),e(O,rs),e(O,Je),e(Je,cn),e(Je,is),e(d,os),e(d,z),e(z,ne),e(ne,Ut),p(He,Ut,null),e(ne,cs),e(ne,Me),e(z,us),e(z,Oe),e(z,ds),e(z,W),e(W,Fe),e(W,fs),e(W,Ct),e(Ct,X),p(Qe,X,null),e(X,hs),e(X,Ge),e(W,vs),e(W,wt),e(wt,F),p(me,F,null),e(F,ps),e(F,Ve),e(Ve,dn),e(Ve,ms),e(d,_s),e(d,S),e(S,se),e(se,Pt),p(je,Pt,null),e(se,$s),e(se,Re),e(S,gs),e(S,Ke),e(S,bs),e(S,_e),e(_e,Tt),e(Tt,Y),p(We,Y,null),e(Y,qs),e(Y,Xe),e(_e,Ls),e(_e,Dt),e(Dt,Q),p($e,Q,null),e(Q,Es),e(Q,Ye),e(Ye,hn),e(Ye,ks),e(d,Us),e(d,A),e(A,le),e(le,It),p(Ze,It,null),e(le,Cs),e(le,ye),e(A,ws),e(A,xe),e(A,Ps),e(A,ge),e(ge,Nt),e(Nt,Z),p(et,Z,null),e(Z,Ts),e(Z,tt),e(ge,Ds),e(ge,zt),e(zt,G),p(be,G,null),e(G,Is),e(G,nt),e(nt,pn),e(nt,Ns),e(C,zs),e(C,qe),e(qe,B),e(B,ae),e(ae,st),p(lt,st,null),e(ae,Ss),e(ae,at),e(B,As),e(B,rt),e(B,Bs),e(B,Le),e(Le,St),e(St,y),p(it,y,null),e(y,Js),e(y,ot),e(Le,Hs),e(Le,At),e(At,V),p(Ee,V,null),e(V,Ms),e(V,ct),e(ct,_n),e(ct,Os),e(qe,Fs),e(qe,J),e(J,re),e(re,ut),p(dt,ut,null),e(re,Qs),e(re,ft),e(J,Gs),e(J,ht),e(J,Vs),e(J,ke),e(ke,Bt),e(Bt,x),p(vt,x,null),e(x,js),e(x,pt),e(ke,Rs),e(ke,Jt),e(Jt,j),p(Ue,j,null),e(j,Ks),e(j,mt),e(mt,gn),e(mt,Ws),e(C,Xs),e(C,Ce),e(Ce,yt),e(yt,we),p(_t,we,null),e(we,Ys),e(Ce,Zs),e(Ce,xt),e(xt,Pe),p($t,Pe,null),e(Pe,ys),f=!0,xs||(Tl=[U(T,"focus",c[2],{once:!0}),U(T,"mouseover",c[2],{once:!0}),U(H,"click",c[5]),U(M,"click",c[6]),U(K,"click",c[7]),U(O,"click",c[8]),U(X,"click",c[9]),U(F,"click",c[10]),U(Y,"click",c[11]),U(Q,"click",c[12]),U(Z,"click",c[13]),U(G,"click",c[14]),U(y,"click",c[15]),U(V,"click",c[16]),U(x,"click",c[17]),U(j,"click",c[18])],xs=!0)},p(l,[u]){const ie={};u&2&&(ie.icon=l[1].header.includes("database")?"pinFilled":"pin"),he.$set(ie),(!f||u&2)&&jt!==(jt=l[1].header.includes("database")?"Unpin Database from":"Pin Database to")&&qt(rn,jt),(!f||u&2&&on!==(on=(l[1].header.includes("database")?"Unpin Database from":"Pin Database to")+" header menu"))&&t(M,"title",on),(!f||u&1)&&P(q,"showDescription",l[0].includes("database"));const I={};u&2&&(I.icon=l[1].header.includes("users")?"pinFilled":"pin"),pe.$set(I),(!f||u&2)&&Rt!==(Rt=l[1].header.includes("users")?"Unpin Users from":"Pin Users to")&&qt(cn,Rt),(!f||u&2&&un!==(un=(l[1].header.includes("users")?"Unpin Users from":"Pin Users to")+" header menu"))&&t(O,"title",un),(!f||u&1)&&P(N,"showDescription",l[0].includes("users"));const oe={};u&2&&(oe.icon=l[1].header.includes("logs")?"pinFilled":"pin"),me.$set(oe),(!f||u&2)&&Kt!==(Kt=l[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to")&&qt(dn,Kt),(!f||u&2&&fn!==(fn=(l[1].header.includes("logs")?"Unpin Logs from":"Pin Logs to")+" header menu"))&&t(F,"title",fn),(!f||u&1)&&P(z,"showDescription",l[0].includes("logs"));const gt={};u&2&&(gt.icon=l[1].header.includes("backgroundJobs")?"pinFilled":"pin"),$e.$set(gt),(!f||u&2)&&Wt!==(Wt=l[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to")&&qt(hn,Wt),(!f||u&2&&vn!==(vn=(l[1].header.includes("backgroundJobs")?"Unpin Background Jobs from":"Pin Background Jobs to")+" header menu"))&&t(Q,"title",vn),(!f||u&1)&&P(S,"showDescription",l[0].includes("backgroundJobs"));const en={};u&2&&(en.icon=l[1].header.includes("constants")?"pinFilled":"pin"),be.$set(en),(!f||u&2)&&Xt!==(Xt=l[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to")&&qt(pn,Xt),(!f||u&2&&mn!==(mn=(l[1].header.includes("constants")?"Unpin Constants from":"Pin Constants to")+" header menu"))&&t(G,"title",mn),(!f||u&1)&&P(A,"showDescription",l[0].includes("constants"));const bt={};u&2&&(bt.icon=l[1].header.includes("liquid")?"pinFilled":"pin"),Ee.$set(bt),(!f||u&2)&&Yt!==(Yt=l[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to")&&qt(_n,Yt),(!f||u&2&&$n!==($n=(l[1].header.includes("liquid")?"Unpin Liquid Evaluator from":"Pin Liquid Evaluator to")+" header menu"))&&t(V,"title",$n),(!f||u&1)&&P(B,"showDescription",l[0].includes("liquid"));const tn={};u&2&&(tn.icon=l[1].header.includes("graphiql")?"pinFilled":"pin"),Ue.$set(tn),(!f||u&2)&&Zt!==(Zt=l[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to")&&qt(gn,Zt),(!f||u&2&&bn!==(bn=(l[1].header.includes("graphiql")?"Unpin GraphiQL from":"Pin GraphiQL to")+" header menu"))&&t(j,"title",bn),(!f||u&1)&&P(J,"showDescription",l[0].includes("graphiql"))},i(l){f||(m(L.$$.fragment,l),m(de.$$.fragment,l),m(he.$$.fragment,l),m(Ne.$$.fragment,l),m(Ae.$$.fragment,l),m(pe.$$.fragment,l),m(He.$$.fragment,l),m(Qe.$$.fragment,l),m(me.$$.fragment,l),m(je.$$.fragment,l),m(We.$$.fragment,l),m($e.$$.fragment,l),m(Ze.$$.fragment,l),m(et.$$.fragment,l),m(be.$$.fragment,l),m(lt.$$.fragment,l),m(it.$$.fragment,l),m(Ee.$$.fragment,l),m(dt.$$.fragment,l),m(vt.$$.fragment,l),m(Ue.$$.fragment,l),m(_t.$$.fragment,l),m($t.$$.fragment,l),f=!0)},o(l){_(L.$$.fragment,l),_(de.$$.fragment,l),_(he.$$.fragment,l),_(Ne.$$.fragment,l),_(Ae.$$.fragment,l),_(pe.$$.fragment,l),_(He.$$.fragment,l),_(Qe.$$.fragment,l),_(me.$$.fragment,l),_(je.$$.fragment,l),_(We.$$.fragment,l),_($e.$$.fragment,l),_(Ze.$$.fragment,l),_(et.$$.fragment,l),_(be.$$.fragment,l),_(lt.$$.fragment,l),_(it.$$.fragment,l),_(Ee.$$.fragment,l),_(dt.$$.fragment,l),_(vt.$$.fragment,l),_(Ue.$$.fragment,l),_(_t.$$.fragment,l),_($t.$$.fragment,l),f=!1},d(l){l&&(a(Te),a(C)),$(L),$(de),$(he),$(Ne),$(Ae),$(pe),$(He),$(Qe),$(me),$(je),$(We),$($e),$(Ze),$(et),$(be),$(lt),$(it),$(Ee),$(dt),$(vt),$(Ue),$(_t),$($t),xs=!1,ta(Tl)}}}function ia(c,Te,C){let d;na(c,Wn,D=>C(1,d=D));let q=[];const T=async()=>{d.tables.length||cl(Wn,d.tables=await aa.get(),d)},w=D=>{d.header.indexOf(D)>-1?cl(Wn,d.header=d.header.filter(R=>R!==D),d):cl(Wn,d.header=[...d.header,D],d),localStorage.header=JSON.stringify(d.header)},L=D=>{q.indexOf(D)>-1?C(0,q=q.filter(R=>R!==D)):C(0,q=[...q,D])};return[q,d,T,w,L,()=>L("database"),()=>w("database"),()=>L("users"),()=>w("users"),()=>L("logs"),()=>w("logs"),()=>L("backgroundJobs"),()=>w("backgroundJobs"),()=>L("constants"),()=>w("constants"),()=>L("liquid"),()=>w("liquid"),()=>L("graphiql"),()=>w("graphiql")]}class ha extends sa{constructor(Te){super(),la(this,Te,ia,ra,xl,{})}}export{ha as component}; diff --git a/gui/next/build/_app/immutable/nodes/9.00af44d3.js b/gui/next/build/_app/immutable/nodes/9.00af44d3.js deleted file mode 100644 index 9a718b0f..00000000 --- a/gui/next/build/_app/immutable/nodes/9.00af44d3.js +++ /dev/null @@ -1 +0,0 @@ -import{s}from"../chunks/scheduler.bed694a1.js";import{S as t,i as e}from"../chunks/index.606d5641.js";class l extends t{constructor(o){super(),e(this,o,null,null,s,{})}}export{l as component}; diff --git a/gui/next/build/_app/immutable/nodes/10.764f14d3.js b/gui/next/build/_app/immutable/nodes/9.d6835206.js similarity index 90% rename from gui/next/build/_app/immutable/nodes/10.764f14d3.js rename to gui/next/build/_app/immutable/nodes/9.d6835206.js index d8bce3df..ae844522 100644 --- a/gui/next/build/_app/immutable/nodes/10.764f14d3.js +++ b/gui/next/build/_app/immutable/nodes/9.d6835206.js @@ -1 +1 @@ -import{s as le,D as ne,f as v,g,h as w,d,j as k,i as b,u as m,E as re,F as oe,G as ie,b as ce,t as fe,p as ue,a as E,J as de,r as y,c as L,U as _e,v as me,e as T,l as N,m as I,A as O,n as P}from"../chunks/scheduler.bed694a1.js";import{S as se,i as ae,a as S,t as j,b as F,d as z,m as B,e as G,g as R,c as M}from"../chunks/index.606d5641.js";import{p as pe}from"../chunks/stores.f5d1a634.js";import{b as he}from"../chunks/backgroundJob.c756ecec.js";import{A as ve}from"../chunks/Aside.9f09d30d.js";import{J as ge}from"../chunks/JSONTree.45966d99.js";function be(f){let e,s,i,r,o,l;const n=f[3].default,t=ne(n,f,f[2],null);return{c(){e=v("template"),s=v("pre"),i=v("code"),t&&t.c(),this.h()},l(a){e=g(a,"TEMPLATE",{});var c=w(e.content);s=g(c,"PRE",{class:!0});var _=w(s);i=g(_,"CODE",{class:!0});var p=w(i);t&&t.l(p),p.forEach(d),_.forEach(d),c.forEach(d),this.h()},h(){k(i,"class",r="language-"+f[0]),k(s,"class",o="line-numbers language-"+f[0])},m(a,c){b(a,e,c),m(e.content,s),m(s,i),t&&t.m(i,null),f[4](e),l=!0},p(a,[c]){t&&t.p&&(!l||c&4)&&re(t,n,a,a[2],l?ie(n,a[2],c,null):oe(a[2]),null),(!l||c&1&&r!==(r="language-"+a[0]))&&k(i,"class",r),(!l||c&1&&o!==(o="line-numbers language-"+a[0]))&&k(s,"class",o)},i(a){l||(S(t,a),l=!0)},o(a){j(t,a),l=!1},d(a){a&&d(e),t&&t.d(a),f[4](null)}}}function qe(f,e,s){let{$$slots:i={},$$scope:r}=e,{language:o}=e,l;ce(async()=>{var a;await fe(),(a=document.querySelector("#code"))==null||a.remove();const t=l.content.cloneNode(!0);t.firstChild.id="code",l.after(t),Prism.highlightAll()});function n(t){ue[t?"unshift":"push"](()=>{l=t,s(1,l)})}return f.$$set=t=>{"language"in t&&s(0,o=t.language),"$$scope"in t&&s(2,r=t.$$scope)},[o,l,r,i,n]}class ke extends se{constructor(e){super(),ae(this,e,qe,be,le,{language:0})}}function $e(f){let e,s,i,r,o,l,n,t=f[1].source_name&&W(f),a=f[1].id&&X(f),c=f[1].error_message&&x(f),_=f[1].liquid_body&&ee(f),p=f[1].arguments&&te(f);return{c(){e=v("dl"),t&&t.c(),s=T(),a&&a.c(),i=E(),c&&c.c(),r=E(),_&&_.c(),o=E(),p&&p.c(),l=T(),this.h()},l(u){e=g(u,"DL",{class:!0});var h=w(e);t&&t.l(h),s=T(),a&&a.l(h),h.forEach(d),i=L(u),c&&c.l(u),r=L(u),_&&_.l(u),o=L(u),p&&p.l(u),l=T(),this.h()},h(){k(e,"class","info svelte-7qclwq")},m(u,h){b(u,e,h),t&&t.m(e,null),m(e,s),a&&a.m(e,null),b(u,i,h),c&&c.m(u,h),b(u,r,h),_&&_.m(u,h),b(u,o,h),p&&p.m(u,h),b(u,l,h),n=!0},p(u,h){u[1].source_name?t?t.p(u,h):(t=W(u),t.c(),t.m(e,s)):t&&(t.d(1),t=null),u[1].id?a?a.p(u,h):(a=X(u),a.c(),a.m(e,null)):a&&(a.d(1),a=null),u[1].error_message?c?c.p(u,h):(c=x(u),c.c(),c.m(r.parentNode,r)):c&&(c.d(1),c=null),u[1].liquid_body?_?(_.p(u,h),h&2&&S(_,1)):(_=ee(u),_.c(),S(_,1),_.m(o.parentNode,o)):_&&(R(),j(_,1,1,()=>{_=null}),M()),u[1].arguments?p?(p.p(u,h),h&2&&S(p,1)):(p=te(u),p.c(),S(p,1),p.m(l.parentNode,l)):p&&(R(),j(p,1,1,()=>{p=null}),M())},i(u){n||(S(_),S(p),n=!0)},o(u){j(_),j(p),n=!1},d(u){u&&(d(e),d(i),d(r),d(o),d(l)),t&&t.d(),a&&a.d(),c&&c.d(u),_&&_.d(u),p&&p.d(u)}}}function Ce(f){let e;return{c(){e=N("There is no such background job")},l(s){e=I(s,"There is no such background job")},m(s,i){b(s,e,i)},p:O,i:O,o:O,d(s){s&&d(e)}}}function W(f){let e,s,i="ID:",r,o,l=f[1].id+"",n,t;return{c(){e=v("div"),s=v("dt"),s.textContent=i,r=E(),o=v("dd"),n=N(l),t=E(),this.h()},l(a){e=g(a,"DIV",{class:!0});var c=w(e);s=g(c,"DT",{class:!0,"data-svelte-h":!0}),y(s)!=="svelte-179gw2t"&&(s.textContent=i),r=L(c),o=g(c,"DD",{});var _=w(o);n=I(_,l),_.forEach(d),t=L(c),c.forEach(d),this.h()},h(){k(s,"class","svelte-7qclwq"),k(e,"class","svelte-7qclwq")},m(a,c){b(a,e,c),m(e,s),m(e,r),m(e,o),m(o,n),m(e,t)},p(a,c){c&2&&l!==(l=a[1].id+"")&&P(n,l)},d(a){a&&d(e)}}}function X(f){let e,s,i="Created at:",r,o,l=new Date(f[1].created_at).toLocaleString()+"",n,t,a,c,_="Run at:",p,u,h=new Date(f[1].run_at).toLocaleString()+"",H,V,A,J,C=f[1].dead_at&&Y(f),D=f[1].arguments.url&&Z(f);return{c(){e=v("div"),s=v("dt"),s.textContent=i,r=E(),o=v("dd"),n=N(l),t=E(),a=v("div"),c=v("dt"),c.textContent=_,p=E(),u=v("dd"),H=N(h),V=E(),C&&C.c(),A=T(),D&&D.c(),J=T(),this.h()},l(q){e=g(q,"DIV",{class:!0});var $=w(e);s=g($,"DT",{class:!0,"data-svelte-h":!0}),y(s)!=="svelte-psrdxl"&&(s.textContent=i),r=L($),o=g($,"DD",{});var K=w(o);n=I(K,l),K.forEach(d),t=L($),$.forEach(d),a=g(q,"DIV",{class:!0});var U=w(a);c=g(U,"DT",{class:!0,"data-svelte-h":!0}),y(c)!=="svelte-u0lbhu"&&(c.textContent=_),p=L(U),u=g(U,"DD",{});var Q=w(u);H=I(Q,h),Q.forEach(d),V=L(U),U.forEach(d),C&&C.l(q),A=T(),D&&D.l(q),J=T(),this.h()},h(){k(s,"class","svelte-7qclwq"),k(e,"class","svelte-7qclwq"),k(c,"class","svelte-7qclwq"),k(a,"class","svelte-7qclwq")},m(q,$){b(q,e,$),m(e,s),m(e,r),m(e,o),m(o,n),m(e,t),b(q,a,$),m(a,c),m(a,p),m(a,u),m(u,H),m(a,V),C&&C.m(q,$),b(q,A,$),D&&D.m(q,$),b(q,J,$)},p(q,$){$&2&&l!==(l=new Date(q[1].created_at).toLocaleString()+"")&&P(n,l),$&2&&h!==(h=new Date(q[1].run_at).toLocaleString()+"")&&P(H,h),q[1].dead_at?C?C.p(q,$):(C=Y(q),C.c(),C.m(A.parentNode,A)):C&&(C.d(1),C=null),q[1].arguments.url?D?D.p(q,$):(D=Z(q),D.c(),D.m(J.parentNode,J)):D&&(D.d(1),D=null)},d(q){q&&(d(e),d(a),d(A),d(J)),C&&C.d(q),D&&D.d(q)}}}function Y(f){let e,s,i="Dead at:",r,o,l=new Date(f[1].dead_at).toLocaleString()+"",n,t;return{c(){e=v("div"),s=v("dt"),s.textContent=i,r=E(),o=v("dd"),n=N(l),t=E(),this.h()},l(a){e=g(a,"DIV",{class:!0});var c=w(e);s=g(c,"DT",{class:!0,"data-svelte-h":!0}),y(s)!=="svelte-1gjx1j5"&&(s.textContent=i),r=L(c),o=g(c,"DD",{class:!0});var _=w(o);n=I(_,l),_.forEach(d),t=L(c),c.forEach(d),this.h()},h(){k(s,"class","svelte-7qclwq"),k(o,"class","error svelte-7qclwq"),k(e,"class","svelte-7qclwq")},m(a,c){b(a,e,c),m(e,s),m(e,r),m(e,o),m(o,n),m(e,t)},p(a,c){c&2&&l!==(l=new Date(a[1].dead_at).toLocaleString()+"")&&P(n,l)},d(a){a&&d(e)}}}function Z(f){let e,s,i="URL:",r,o,l=(f[1].arguments.context.location.href||"/")+"",n;return{c(){e=v("div"),s=v("dt"),s.textContent=i,r=E(),o=v("dd"),n=N(l),this.h()},l(t){e=g(t,"DIV",{class:!0});var a=w(e);s=g(a,"DT",{class:!0,"data-svelte-h":!0}),y(s)!=="svelte-vrqyfv"&&(s.textContent=i),r=L(a),o=g(a,"DD",{});var c=w(o);n=I(c,l),c.forEach(d),a.forEach(d),this.h()},h(){k(s,"class","svelte-7qclwq"),k(e,"class","svelte-7qclwq")},m(t,a){b(t,e,a),m(e,s),m(e,r),m(e,o),m(o,n)},p(t,a){a&2&&l!==(l=(t[1].arguments.context.location.href||"/")+"")&&P(n,l)},d(t){t&&d(e)}}}function x(f){let e,s="Error message",i,r,o=f[1].error_message+"",l;return{c(){e=v("h2"),e.textContent=s,i=E(),r=v("code"),l=N(o),this.h()},l(n){e=g(n,"H2",{class:!0,"data-svelte-h":!0}),y(e)!=="svelte-46lcxd"&&(e.textContent=s),i=L(n),r=g(n,"CODE",{class:!0});var t=w(r);l=I(t,o),t.forEach(d),this.h()},h(){k(e,"class","svelte-7qclwq"),k(r,"class","svelte-7qclwq")},m(n,t){b(n,e,t),b(n,i,t),b(n,r,t),m(r,l)},p(n,t){t&2&&o!==(o=n[1].error_message+"")&&P(l,o)},d(n){n&&(d(e),d(i),d(r))}}}function ee(f){let e,s="Background job code:",i,r,o;return r=new ke({props:{language:"liquid",$$slots:{default:[De]},$$scope:{ctx:f}}}),{c(){e=v("h2"),e.textContent=s,i=E(),F(r.$$.fragment),this.h()},l(l){e=g(l,"H2",{class:!0,"data-svelte-h":!0}),y(e)!=="svelte-dymu4w"&&(e.textContent=s),i=L(l),z(r.$$.fragment,l),this.h()},h(){k(e,"class","svelte-7qclwq")},m(l,n){b(l,e,n),b(l,i,n),B(r,l,n),o=!0},p(l,n){const t={};n&10&&(t.$$scope={dirty:n,ctx:l}),r.$set(t)},i(l){o||(S(r.$$.fragment,l),o=!0)},o(l){j(r.$$.fragment,l),o=!1},d(l){l&&(d(e),d(i)),G(r,l)}}}function De(f){let e=f[1].liquid_body+"",s;return{c(){s=N(e)},l(i){s=I(i,e)},m(i,r){b(i,s,r)},p(i,r){r&2&&e!==(e=i[1].liquid_body+"")&&P(s,e)},d(i){i&&d(s)}}}function te(f){let e,s="Arguments",i,r,o,l;return o=new ge({props:{value:f[1].arguments,expandedLines:1,showFullLines:!0}}),{c(){e=v("h2"),e.textContent=s,i=E(),r=v("code"),F(o.$$.fragment),this.h()},l(n){e=g(n,"H2",{class:!0,"data-svelte-h":!0}),y(e)!=="svelte-h49jwy"&&(e.textContent=s),i=L(n),r=g(n,"CODE",{class:!0});var t=w(r);z(o.$$.fragment,t),t.forEach(d),this.h()},h(){k(e,"class","svelte-7qclwq"),k(r,"class","svelte-7qclwq")},m(n,t){b(n,e,t),b(n,i,t),b(n,r,t),B(o,r,null),l=!0},p(n,t){const a={};t&2&&(a.value=n[1].arguments),o.$set(a)},i(n){l||(S(o.$$.fragment,n),l=!0)},o(n){j(o.$$.fragment,n),l=!1},d(n){n&&(d(e),d(i),d(r)),G(o)}}}function we(f){let e,s,i,r;const o=[Ce,$e],l=[];function n(t,a){return t[1]===null?0:1}return e=n(f),s=l[e]=o[e](f),{c(){s.c(),i=T()},l(t){s.l(t),i=T()},m(t,a){l[e].m(t,a),b(t,i,a),r=!0},p(t,a){let c=e;e=n(t),e===c?l[e].p(t,a):(R(),j(l[c],1,1,()=>{l[c]=null}),M(),s=l[e],s?s.p(t,a):(s=l[e]=o[e](t),s.c()),S(s,1),s.m(i.parentNode,i))},i(t){r||(S(s),r=!0)},o(t){j(s),r=!1},d(t){t&&d(i),l[e].d(t)}}}function Ee(f){let e,s="",i,r,o,l;return o=new ve({props:{title:f[1].source_name||f[1].id||"Loading…",closeUrl:"/backgroundJobs?"+f[0].url.searchParams.toString(),$$slots:{default:[we]},$$scope:{ctx:f}}}),{c(){e=v("script"),e.innerHTML=s,r=E(),F(o.$$.fragment),this.h()},l(n){const t=de("svelte-1pgpgj4",document.head);e=g(t,"SCRIPT",{src:!0,"data-manual":!0,"data-svelte-h":!0}),y(e)!=="svelte-6mxszl"&&(e.innerHTML=s),t.forEach(d),r=L(n),z(o.$$.fragment,n),this.h()},h(){_e(e.src,i="/prism.js")||k(e,"src",i),k(e,"data-manual","")},m(n,t){m(document.head,e),b(n,r,t),B(o,n,t),l=!0},p(n,[t]){const a={};t&2&&(a.title=n[1].source_name||n[1].id||"Loading…"),t&1&&(a.closeUrl="/backgroundJobs?"+n[0].url.searchParams.toString()),t&10&&(a.$$scope={dirty:t,ctx:n}),o.$set(a)},i(n){l||(S(o.$$.fragment,n),l=!0)},o(n){j(o.$$.fragment,n),l=!1},d(n){n&&d(r),d(e),G(o,n)}}}function Le(f,e,s){let i;me(f,pe,l=>s(0,i=l));let r={};const o=async()=>{await he.get({id:i.params.id,type:i.params.type.toUpperCase()}).then(l=>{l.results.length?s(1,r=l.results[0]):s(1,r=null)})};return f.$$.update=()=>{f.$$.dirty&1&&i.params.id&&o(i.params.id)},[i,r]}class Pe extends se{constructor(e){super(),ae(this,e,Le,Ee,le,{})}}export{Pe as component}; +import{s as le,D as ne,f as v,g,h as w,d,j as k,i as b,u as m,E as re,F as oe,G as ie,b as ce,t as fe,p as ue,a as E,J as de,r as y,c as L,Q as _e,v as me,e as T,l as N,m as I,A as O,n as P}from"../chunks/scheduler.a497d5ec.js";import{S as se,i as ae,a as S,t as j,b as F,d as z,m as B,e as G,g as R,c as M}from"../chunks/index.ca999c64.js";import{p as pe}from"../chunks/stores.0efc77ce.js";import{b as he}from"../chunks/backgroundJob.c756ecec.js";import{A as ve}from"../chunks/Aside.143a8d13.js";import{J as ge}from"../chunks/JSONTree.c31da54e.js";function be(f){let e,s,i,r,o,l;const n=f[3].default,t=ne(n,f,f[2],null);return{c(){e=v("template"),s=v("pre"),i=v("code"),t&&t.c(),this.h()},l(a){e=g(a,"TEMPLATE",{});var c=w(e.content);s=g(c,"PRE",{class:!0});var _=w(s);i=g(_,"CODE",{class:!0});var p=w(i);t&&t.l(p),p.forEach(d),_.forEach(d),c.forEach(d),this.h()},h(){k(i,"class",r="language-"+f[0]),k(s,"class",o="line-numbers language-"+f[0])},m(a,c){b(a,e,c),m(e.content,s),m(s,i),t&&t.m(i,null),f[4](e),l=!0},p(a,[c]){t&&t.p&&(!l||c&4)&&re(t,n,a,a[2],l?ie(n,a[2],c,null):oe(a[2]),null),(!l||c&1&&r!==(r="language-"+a[0]))&&k(i,"class",r),(!l||c&1&&o!==(o="line-numbers language-"+a[0]))&&k(s,"class",o)},i(a){l||(S(t,a),l=!0)},o(a){j(t,a),l=!1},d(a){a&&d(e),t&&t.d(a),f[4](null)}}}function qe(f,e,s){let{$$slots:i={},$$scope:r}=e,{language:o}=e,l;ce(async()=>{var a;await fe(),(a=document.querySelector("#code"))==null||a.remove();const t=l.content.cloneNode(!0);t.firstChild.id="code",l.after(t),Prism.highlightAll()});function n(t){ue[t?"unshift":"push"](()=>{l=t,s(1,l)})}return f.$$set=t=>{"language"in t&&s(0,o=t.language),"$$scope"in t&&s(2,r=t.$$scope)},[o,l,r,i,n]}class ke extends se{constructor(e){super(),ae(this,e,qe,be,le,{language:0})}}function $e(f){let e,s,i,r,o,l,n,t=f[1].source_name&&W(f),a=f[1].id&&X(f),c=f[1].error_message&&x(f),_=f[1].liquid_body&&ee(f),p=f[1].arguments&&te(f);return{c(){e=v("dl"),t&&t.c(),s=T(),a&&a.c(),i=E(),c&&c.c(),r=E(),_&&_.c(),o=E(),p&&p.c(),l=T(),this.h()},l(u){e=g(u,"DL",{class:!0});var h=w(e);t&&t.l(h),s=T(),a&&a.l(h),h.forEach(d),i=L(u),c&&c.l(u),r=L(u),_&&_.l(u),o=L(u),p&&p.l(u),l=T(),this.h()},h(){k(e,"class","info svelte-7qclwq")},m(u,h){b(u,e,h),t&&t.m(e,null),m(e,s),a&&a.m(e,null),b(u,i,h),c&&c.m(u,h),b(u,r,h),_&&_.m(u,h),b(u,o,h),p&&p.m(u,h),b(u,l,h),n=!0},p(u,h){u[1].source_name?t?t.p(u,h):(t=W(u),t.c(),t.m(e,s)):t&&(t.d(1),t=null),u[1].id?a?a.p(u,h):(a=X(u),a.c(),a.m(e,null)):a&&(a.d(1),a=null),u[1].error_message?c?c.p(u,h):(c=x(u),c.c(),c.m(r.parentNode,r)):c&&(c.d(1),c=null),u[1].liquid_body?_?(_.p(u,h),h&2&&S(_,1)):(_=ee(u),_.c(),S(_,1),_.m(o.parentNode,o)):_&&(R(),j(_,1,1,()=>{_=null}),M()),u[1].arguments?p?(p.p(u,h),h&2&&S(p,1)):(p=te(u),p.c(),S(p,1),p.m(l.parentNode,l)):p&&(R(),j(p,1,1,()=>{p=null}),M())},i(u){n||(S(_),S(p),n=!0)},o(u){j(_),j(p),n=!1},d(u){u&&(d(e),d(i),d(r),d(o),d(l)),t&&t.d(),a&&a.d(),c&&c.d(u),_&&_.d(u),p&&p.d(u)}}}function Ce(f){let e;return{c(){e=N("There is no such background job")},l(s){e=I(s,"There is no such background job")},m(s,i){b(s,e,i)},p:O,i:O,o:O,d(s){s&&d(e)}}}function W(f){let e,s,i="ID:",r,o,l=f[1].id+"",n,t;return{c(){e=v("div"),s=v("dt"),s.textContent=i,r=E(),o=v("dd"),n=N(l),t=E(),this.h()},l(a){e=g(a,"DIV",{class:!0});var c=w(e);s=g(c,"DT",{class:!0,"data-svelte-h":!0}),y(s)!=="svelte-179gw2t"&&(s.textContent=i),r=L(c),o=g(c,"DD",{});var _=w(o);n=I(_,l),_.forEach(d),t=L(c),c.forEach(d),this.h()},h(){k(s,"class","svelte-7qclwq"),k(e,"class","svelte-7qclwq")},m(a,c){b(a,e,c),m(e,s),m(e,r),m(e,o),m(o,n),m(e,t)},p(a,c){c&2&&l!==(l=a[1].id+"")&&P(n,l)},d(a){a&&d(e)}}}function X(f){let e,s,i="Created at:",r,o,l=new Date(f[1].created_at).toLocaleString()+"",n,t,a,c,_="Run at:",p,u,h=new Date(f[1].run_at).toLocaleString()+"",U,V,A,J,C=f[1].dead_at&&Y(f),D=f[1].arguments.url&&Z(f);return{c(){e=v("div"),s=v("dt"),s.textContent=i,r=E(),o=v("dd"),n=N(l),t=E(),a=v("div"),c=v("dt"),c.textContent=_,p=E(),u=v("dd"),U=N(h),V=E(),C&&C.c(),A=T(),D&&D.c(),J=T(),this.h()},l(q){e=g(q,"DIV",{class:!0});var $=w(e);s=g($,"DT",{class:!0,"data-svelte-h":!0}),y(s)!=="svelte-psrdxl"&&(s.textContent=i),r=L($),o=g($,"DD",{});var Q=w(o);n=I(Q,l),Q.forEach(d),t=L($),$.forEach(d),a=g(q,"DIV",{class:!0});var H=w(a);c=g(H,"DT",{class:!0,"data-svelte-h":!0}),y(c)!=="svelte-u0lbhu"&&(c.textContent=_),p=L(H),u=g(H,"DD",{});var K=w(u);U=I(K,h),K.forEach(d),V=L(H),H.forEach(d),C&&C.l(q),A=T(),D&&D.l(q),J=T(),this.h()},h(){k(s,"class","svelte-7qclwq"),k(e,"class","svelte-7qclwq"),k(c,"class","svelte-7qclwq"),k(a,"class","svelte-7qclwq")},m(q,$){b(q,e,$),m(e,s),m(e,r),m(e,o),m(o,n),m(e,t),b(q,a,$),m(a,c),m(a,p),m(a,u),m(u,U),m(a,V),C&&C.m(q,$),b(q,A,$),D&&D.m(q,$),b(q,J,$)},p(q,$){$&2&&l!==(l=new Date(q[1].created_at).toLocaleString()+"")&&P(n,l),$&2&&h!==(h=new Date(q[1].run_at).toLocaleString()+"")&&P(U,h),q[1].dead_at?C?C.p(q,$):(C=Y(q),C.c(),C.m(A.parentNode,A)):C&&(C.d(1),C=null),q[1].arguments.url?D?D.p(q,$):(D=Z(q),D.c(),D.m(J.parentNode,J)):D&&(D.d(1),D=null)},d(q){q&&(d(e),d(a),d(A),d(J)),C&&C.d(q),D&&D.d(q)}}}function Y(f){let e,s,i="Dead at:",r,o,l=new Date(f[1].dead_at).toLocaleString()+"",n,t;return{c(){e=v("div"),s=v("dt"),s.textContent=i,r=E(),o=v("dd"),n=N(l),t=E(),this.h()},l(a){e=g(a,"DIV",{class:!0});var c=w(e);s=g(c,"DT",{class:!0,"data-svelte-h":!0}),y(s)!=="svelte-1gjx1j5"&&(s.textContent=i),r=L(c),o=g(c,"DD",{class:!0});var _=w(o);n=I(_,l),_.forEach(d),t=L(c),c.forEach(d),this.h()},h(){k(s,"class","svelte-7qclwq"),k(o,"class","error svelte-7qclwq"),k(e,"class","svelte-7qclwq")},m(a,c){b(a,e,c),m(e,s),m(e,r),m(e,o),m(o,n),m(e,t)},p(a,c){c&2&&l!==(l=new Date(a[1].dead_at).toLocaleString()+"")&&P(n,l)},d(a){a&&d(e)}}}function Z(f){let e,s,i="URL:",r,o,l=(f[1].arguments.context.location.href||"/")+"",n;return{c(){e=v("div"),s=v("dt"),s.textContent=i,r=E(),o=v("dd"),n=N(l),this.h()},l(t){e=g(t,"DIV",{class:!0});var a=w(e);s=g(a,"DT",{class:!0,"data-svelte-h":!0}),y(s)!=="svelte-vrqyfv"&&(s.textContent=i),r=L(a),o=g(a,"DD",{});var c=w(o);n=I(c,l),c.forEach(d),a.forEach(d),this.h()},h(){k(s,"class","svelte-7qclwq"),k(e,"class","svelte-7qclwq")},m(t,a){b(t,e,a),m(e,s),m(e,r),m(e,o),m(o,n)},p(t,a){a&2&&l!==(l=(t[1].arguments.context.location.href||"/")+"")&&P(n,l)},d(t){t&&d(e)}}}function x(f){let e,s="Error message",i,r,o=f[1].error_message+"",l;return{c(){e=v("h2"),e.textContent=s,i=E(),r=v("code"),l=N(o),this.h()},l(n){e=g(n,"H2",{class:!0,"data-svelte-h":!0}),y(e)!=="svelte-46lcxd"&&(e.textContent=s),i=L(n),r=g(n,"CODE",{class:!0});var t=w(r);l=I(t,o),t.forEach(d),this.h()},h(){k(e,"class","svelte-7qclwq"),k(r,"class","svelte-7qclwq")},m(n,t){b(n,e,t),b(n,i,t),b(n,r,t),m(r,l)},p(n,t){t&2&&o!==(o=n[1].error_message+"")&&P(l,o)},d(n){n&&(d(e),d(i),d(r))}}}function ee(f){let e,s="Background job code:",i,r,o;return r=new ke({props:{language:"liquid",$$slots:{default:[De]},$$scope:{ctx:f}}}),{c(){e=v("h2"),e.textContent=s,i=E(),F(r.$$.fragment),this.h()},l(l){e=g(l,"H2",{class:!0,"data-svelte-h":!0}),y(e)!=="svelte-dymu4w"&&(e.textContent=s),i=L(l),z(r.$$.fragment,l),this.h()},h(){k(e,"class","svelte-7qclwq")},m(l,n){b(l,e,n),b(l,i,n),B(r,l,n),o=!0},p(l,n){const t={};n&10&&(t.$$scope={dirty:n,ctx:l}),r.$set(t)},i(l){o||(S(r.$$.fragment,l),o=!0)},o(l){j(r.$$.fragment,l),o=!1},d(l){l&&(d(e),d(i)),G(r,l)}}}function De(f){let e=f[1].liquid_body+"",s;return{c(){s=N(e)},l(i){s=I(i,e)},m(i,r){b(i,s,r)},p(i,r){r&2&&e!==(e=i[1].liquid_body+"")&&P(s,e)},d(i){i&&d(s)}}}function te(f){let e,s="Arguments",i,r,o,l;return o=new ge({props:{value:f[1].arguments,expandedLines:1,showFullLines:!0}}),{c(){e=v("h2"),e.textContent=s,i=E(),r=v("code"),F(o.$$.fragment),this.h()},l(n){e=g(n,"H2",{class:!0,"data-svelte-h":!0}),y(e)!=="svelte-h49jwy"&&(e.textContent=s),i=L(n),r=g(n,"CODE",{class:!0});var t=w(r);z(o.$$.fragment,t),t.forEach(d),this.h()},h(){k(e,"class","svelte-7qclwq"),k(r,"class","svelte-7qclwq")},m(n,t){b(n,e,t),b(n,i,t),b(n,r,t),B(o,r,null),l=!0},p(n,t){const a={};t&2&&(a.value=n[1].arguments),o.$set(a)},i(n){l||(S(o.$$.fragment,n),l=!0)},o(n){j(o.$$.fragment,n),l=!1},d(n){n&&(d(e),d(i),d(r)),G(o)}}}function we(f){let e,s,i,r;const o=[Ce,$e],l=[];function n(t,a){return t[1]===null?0:1}return e=n(f),s=l[e]=o[e](f),{c(){s.c(),i=T()},l(t){s.l(t),i=T()},m(t,a){l[e].m(t,a),b(t,i,a),r=!0},p(t,a){let c=e;e=n(t),e===c?l[e].p(t,a):(R(),j(l[c],1,1,()=>{l[c]=null}),M(),s=l[e],s?s.p(t,a):(s=l[e]=o[e](t),s.c()),S(s,1),s.m(i.parentNode,i))},i(t){r||(S(s),r=!0)},o(t){j(s),r=!1},d(t){t&&d(i),l[e].d(t)}}}function Ee(f){let e,s="",i,r,o,l;return o=new ve({props:{title:f[1].source_name||f[1].id||"Loading…",closeUrl:"/backgroundJobs?"+f[0].url.searchParams.toString(),$$slots:{default:[we]},$$scope:{ctx:f}}}),{c(){e=v("script"),e.innerHTML=s,r=E(),F(o.$$.fragment),this.h()},l(n){const t=de("svelte-1pgpgj4",document.head);e=g(t,"SCRIPT",{src:!0,"data-manual":!0,"data-svelte-h":!0}),y(e)!=="svelte-6mxszl"&&(e.innerHTML=s),t.forEach(d),r=L(n),z(o.$$.fragment,n),this.h()},h(){_e(e.src,i="/prism.js")||k(e,"src",i),k(e,"data-manual","")},m(n,t){m(document.head,e),b(n,r,t),B(o,n,t),l=!0},p(n,[t]){const a={};t&2&&(a.title=n[1].source_name||n[1].id||"Loading…"),t&1&&(a.closeUrl="/backgroundJobs?"+n[0].url.searchParams.toString()),t&10&&(a.$$scope={dirty:t,ctx:n}),o.$set(a)},i(n){l||(S(o.$$.fragment,n),l=!0)},o(n){j(o.$$.fragment,n),l=!1},d(n){n&&d(r),d(e),G(o,n)}}}function Le(f,e,s){let i;me(f,pe,l=>s(0,i=l));let r={};const o=async()=>{await he.get({id:i.params.id,type:i.params.type.toUpperCase()}).then(l=>{l.results.length?s(1,r=l.results[0]):s(1,r=null)})};return f.$$.update=()=>{f.$$.dirty&1&&i.params.id&&o(i.params.id)},[i,r]}class Pe extends se{constructor(e){super(),ae(this,e,Le,Ee,le,{})}}export{Pe as component}; diff --git a/gui/next/build/_app/version.json b/gui/next/build/_app/version.json index 239d16b4..87d53a4d 100644 --- a/gui/next/build/_app/version.json +++ b/gui/next/build/_app/version.json @@ -1 +1 @@ -{"version":"1697814663112"} \ No newline at end of file +{"version":"1697654214308"} \ No newline at end of file diff --git a/gui/next/build/index.html b/gui/next/build/index.html index 4702613a..4f01d5e3 100644 --- a/gui/next/build/index.html +++ b/gui/next/build/index.html @@ -5,18 +5,18 @@ - - - - - - + + + + + +
    - - - - - - - - - diff --git a/gui/next/src/lib/ui/Icon.svelte b/gui/next/src/lib/ui/Icon.svelte index 02a8729a..7349a2f5 100644 --- a/gui/next/src/lib/ui/Icon.svelte +++ b/gui/next/src/lib/ui/Icon.svelte @@ -18,7 +18,6 @@ x: 'M19.5 20.25a.743.743 0 0 1-.53-.22L12 13.061l-6.97 6.97a.744.744 0 0 1-1.06 0 .752.752 0 0 1 0-1.061L10.94 12 3.97 5.03c-.142-.141-.22-.33-.22-.53s.078-.389.22-.53c.141-.142.33-.22.53-.22s.389.078.53.22L12 10.94l6.97-6.97a.744.744 0 0 1 1.06 0c.142.141.22.33.22.53s-.078.389-.22.53L13.061 12l6.97 6.97a.75.75 0 0 1-.531 1.28z', plus: 'M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z', minus: 'M.8 12.8c-.5 0-.8-.4-.8-.8s.3-.8.8-.8h22.5c.4 0 .8.3.8.8s-.3.8-.8.8H.8z', - check: 'M6.347 24.003a2.95 2.95 0 0 1-2.36-1.187L.15 17.7a.748.748 0 0 1 .6-1.2c.235 0 .459.112.6.3l3.839 5.118a1.442 1.442 0 0 0 1.42.562c.381-.068.712-.281.933-.599L22.636.32a.748.748 0 1 1 1.228.86L8.772 22.739a2.93 2.93 0 0 1-1.9 1.217c-.173.031-.35.047-.525.047z', list: 'M8.25 4.498a.75.75 0 0 1 0-1.5h15a.75.75 0 0 1 0 1.5h-15zM8.25 13.498a.75.75 0 0 1 0-1.5h15a.75.75 0 0 1 0 1.5h-15zM8.25 22.498a.75.75 0 0 1 0-1.5h15a.75.75 0 0 1 0 1.5h-15zM1.5 5.998c-.827 0-1.5-.673-1.5-1.5v-3c0-.827.673-1.5 1.5-1.5h3c.827 0 1.5.673 1.5 1.5v3c0 .827-.673 1.5-1.5 1.5h-3zm0-1.5h3v-3h-3v3zM1.5 14.998c-.827 0-1.5-.673-1.5-1.5v-3c0-.827.673-1.5 1.5-1.5h3c.827 0 1.5.673 1.5 1.5v3c0 .827-4.5 1.5-4.5 1.5zm0-1.5h3v-3h-3v3zM1.5 23.998c-.827 0-1.5-.673-1.5-1.5v-3c0-.827.673-1.5 1.5-1.5h3c.827 0 1.5.673 1.5 1.5v3c0 .827-.673 1.5-1.5 1.5h-3zm0-1.5h3v-3h-3v3z', tiles: 'M2.25 10.497A2.252 2.252 0 0 1 0 8.247v-6a2.252 2.252 0 0 1 2.25-2.25h6a2.252 2.252 0 0 1 2.25 2.25v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6zM2.25 23.997A2.252 2.252 0 0 1 0 21.747v-6a2.252 2.252 0 0 1 2.25-2.25h6a2.252 2.252 0 0 1 2.25 2.25v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6zM15.75 10.497a2.252 2.252 0 0 1-2.25-2.25v-6a2.252 2.252 0 0 1 2.25-2.25h6A2.252 2.252 0 0 1 24 2.247v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6zM15.75 23.997a2.252 2.252 0 0 1-2.25-2.25v-6a2.252 2.252 0 0 1 2.25-2.25h6a2.252 2.252 0 0 1 2.25 2.25v6a2.252 2.252 0 0 1-2.25 2.25h-6zm0-9a.75.75 0 0 0-.75.75v6c0 .414.336.75.75.75h6a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-.75-.75h-6z', pencil: 'M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275-1.129 4.406zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344l4.077 4.07zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762l4.071 4.07z', diff --git a/gui/next/src/routes/+page.svelte b/gui/next/src/routes/+page.svelte index 407e07af..1d7e57a9 100644 --- a/gui/next/src/routes/+page.svelte +++ b/gui/next/src/routes/+page.svelte @@ -287,11 +287,6 @@ h2 {
  • Debug Liquid or GraphQL errors
    • -
    • - - V2 β - -