@budibase/server 2.2.12-alpha.69 → 2.2.12-alpha.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/builder/assets/{index.31555476.js → index.c1b13e6f.js} +3 -3
- package/builder/index.html +1 -1
- package/coverage/clover.xml +2 -2
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/analytics.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/apikeys.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/application.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/auth.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/automation.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/backup.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/cloud.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/component.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/datasource.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/deploy/Deployment.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/deploy/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/deploy/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/dev.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/integration.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/layout.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/metadata.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/migrations.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/permission.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/plugin/file.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/plugin/github.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/plugin/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/plugin/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/plugin/npm.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/plugin/uploaders.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/plugin/url.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/plugin/utils.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/applications.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/mapping/applications.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/mapping/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/mapping/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/mapping/queries.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/mapping/rows.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/mapping/tables.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/mapping/users.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/queries.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/rows.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/tables.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/users.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/utils.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/import/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/import/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/import/sources/base/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/import/sources/base/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/import/sources/base/openapi.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/import/sources/curl.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/import/sources/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/import/sources/openapi2.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/import/sources/openapi3.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/validation.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/role.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/routing.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/row/ExternalRequest.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/row/external.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/row/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/row/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/row/internal.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/row/internalSearch.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/row/staticFormula.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/row/utils.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/screen.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/script.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/static/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/static/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/table/bulkFormula.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/table/external.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/table/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/table/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/table/internal.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/table/utils.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/templates.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/user.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/view/exporters.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/view/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/view/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/view/utils.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/view/viewBuilder.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/webhook.ts.html +1 -1
- package/coverage/lcov-report/src/api/index.html +1 -1
- package/coverage/lcov-report/src/api/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/analytics.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/apikeys.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/application.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/auth.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/automation.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/backup.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/cloud.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/component.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/datasource.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/deploy.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/dev.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/integration.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/layout.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/metadata.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/migrations.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/permission.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/plugin.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/applications.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/middleware/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/middleware/mapper.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/queries.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/rows.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/tables.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/tests/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/tests/utils.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/users.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/utils/Endpoint.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/utils/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/query.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/role.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/routing.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/row.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/screen.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/script.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/static.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/table.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/templates.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/tests/utilities/TestFunctions.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/tests/utilities/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/tests/utilities/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/user.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/utils/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/utils/validators.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/view.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/webhook.ts.html +1 -1
- package/coverage/lcov-report/src/app.ts.html +1 -1
- package/coverage/lcov-report/src/automations/actions.ts.html +1 -1
- package/coverage/lcov-report/src/automations/automationUtils.ts.html +1 -1
- package/coverage/lcov-report/src/automations/bullboard.ts.html +1 -1
- package/coverage/lcov-report/src/automations/index.html +1 -1
- package/coverage/lcov-report/src/automations/index.ts.html +1 -1
- package/coverage/lcov-report/src/automations/logging/index.html +1 -1
- package/coverage/lcov-report/src/automations/logging/index.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/bash.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/createRow.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/delay.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/deleteRow.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/discord.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/executeQuery.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/executeScript.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/filter.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/index.html +1 -1
- package/coverage/lcov-report/src/automations/steps/integromat.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/loop.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/outgoingWebhook.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/queryRows.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/sendSmtpEmail.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/serverLog.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/slack.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/updateRow.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/utils.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/zapier.ts.html +1 -1
- package/coverage/lcov-report/src/automations/tests/utilities/index.html +1 -1
- package/coverage/lcov-report/src/automations/tests/utilities/index.ts.html +1 -1
- package/coverage/lcov-report/src/automations/triggerInfo/app.ts.html +1 -1
- package/coverage/lcov-report/src/automations/triggerInfo/cron.ts.html +1 -1
- package/coverage/lcov-report/src/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/src/automations/triggerInfo/index.ts.html +1 -1
- package/coverage/lcov-report/src/automations/triggerInfo/rowDeleted.ts.html +1 -1
- package/coverage/lcov-report/src/automations/triggerInfo/rowSaved.ts.html +1 -1
- package/coverage/lcov-report/src/automations/triggerInfo/rowUpdated.ts.html +1 -1
- package/coverage/lcov-report/src/automations/triggerInfo/webhook.ts.html +1 -1
- package/coverage/lcov-report/src/automations/triggers.ts.html +1 -1
- package/coverage/lcov-report/src/automations/utils.ts.html +1 -1
- package/coverage/lcov-report/src/constants/index.html +1 -1
- package/coverage/lcov-report/src/constants/index.ts.html +1 -1
- package/coverage/lcov-report/src/constants/layouts.ts.html +1 -1
- package/coverage/lcov-report/src/constants/screens.ts.html +1 -1
- package/coverage/lcov-report/src/db/defaultData/datasource_bb_default.ts.html +1 -1
- package/coverage/lcov-report/src/db/defaultData/employeeImport.ts.html +1 -1
- package/coverage/lcov-report/src/db/defaultData/expensesImport.ts.html +1 -1
- package/coverage/lcov-report/src/db/defaultData/index.html +1 -1
- package/coverage/lcov-report/src/db/defaultData/inventoryImport.ts.html +1 -1
- package/coverage/lcov-report/src/db/defaultData/jobsImport.ts.html +1 -1
- package/coverage/lcov-report/src/db/dynamoClient.ts.html +1 -1
- package/coverage/lcov-report/src/db/inMemoryView.ts.html +1 -1
- package/coverage/lcov-report/src/db/index.html +1 -1
- package/coverage/lcov-report/src/db/index.ts.html +1 -1
- package/coverage/lcov-report/src/db/linkedRows/LinkController.ts.html +1 -1
- package/coverage/lcov-report/src/db/linkedRows/LinkDocument.ts.html +1 -1
- package/coverage/lcov-report/src/db/linkedRows/index.html +1 -1
- package/coverage/lcov-report/src/db/linkedRows/index.ts.html +1 -1
- package/coverage/lcov-report/src/db/linkedRows/linkUtils.ts.html +1 -1
- package/coverage/lcov-report/src/db/newid.ts.html +1 -1
- package/coverage/lcov-report/src/db/utils.ts.html +1 -1
- package/coverage/lcov-report/src/definitions/automations.ts.html +1 -1
- package/coverage/lcov-report/src/definitions/index.html +1 -1
- package/coverage/lcov-report/src/environment.ts.html +1 -1
- package/coverage/lcov-report/src/events/AutomationEmitter.ts.html +1 -1
- package/coverage/lcov-report/src/events/BudibaseEmitter.ts.html +1 -1
- package/coverage/lcov-report/src/events/index.html +1 -1
- package/coverage/lcov-report/src/events/index.ts.html +1 -1
- package/coverage/lcov-report/src/events/utils.ts.html +1 -1
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/airtable.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/arangodb.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/base/index.html +1 -1
- package/coverage/lcov-report/src/integrations/base/query.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/base/sql.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/base/sqlTable.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/base/utils.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/couchdb.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/dynamodb.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/elasticsearch.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/firebase.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/googlesheets.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/index.html +1 -1
- package/coverage/lcov-report/src/integrations/index.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/microsoftSqlServer.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/mongodb.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/mysql.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/oracle.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/postgres.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/queries/index.html +1 -1
- package/coverage/lcov-report/src/integrations/queries/sql.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/redis.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/rest.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/s3.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/snowflake.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/tests/TestConfiguration.js.html +1 -1
- package/coverage/lcov-report/src/integrations/tests/index.html +1 -1
- package/coverage/lcov-report/src/integrations/utils.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/appInfo.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/authorized.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/builder.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/currentapp.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/index.html +1 -1
- package/coverage/lcov-report/src/middleware/joi-validator.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/publicApi.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/resourceId.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/selfhost.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/utils.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/appUrls.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/app/automations.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/app/datasources.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/app/index.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/app/layouts.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/app/queries.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/app/roles.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/app/screens.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/app/tables.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/app.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/global/configs.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/global/index.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/global/quotas.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/global/users.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/global.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/index.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/index.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/installation.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/index.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/syncQuotas.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/tableSettings.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/usageQuotas/index.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/usageQuotas/index.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/usageQuotas/syncApps.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/usageQuotas/syncPlugins.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/usageQuotas/syncRows.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/userEmailViewCasing.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/index.html +1 -1
- package/coverage/lcov-report/src/migrations/index.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/tests/helpers.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/tests/index.html +1 -1
- package/coverage/lcov-report/src/migrations/tests/structures.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/applications/index.html +1 -1
- package/coverage/lcov-report/src/sdk/app/applications/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/applications/sync.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/applications/utils.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/automations/index.html +1 -1
- package/coverage/lcov-report/src/sdk/app/automations/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/automations/webhook.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/backups/constants.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/backups/exports.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/backups/imports.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/backups/index.html +1 -1
- package/coverage/lcov-report/src/sdk/app/backups/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/backups/statistics.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/datasources/datasources.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/datasources/index.html +1 -1
- package/coverage/lcov-report/src/sdk/app/datasources/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/queries/index.html +1 -1
- package/coverage/lcov-report/src/sdk/app/queries/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/queries/queries.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/rows/attachments.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/rows/index.html +1 -1
- package/coverage/lcov-report/src/sdk/app/rows/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/rows/rows.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/tables/index.html +1 -1
- package/coverage/lcov-report/src/sdk/app/tables/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/index.html +1 -1
- package/coverage/lcov-report/src/sdk/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/users/index.html +1 -1
- package/coverage/lcov-report/src/sdk/users/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/users/utils.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/utils/index.html +1 -1
- package/coverage/lcov-report/src/sdk/utils/index.ts.html +1 -1
- package/coverage/lcov-report/src/startup.ts.html +1 -1
- package/coverage/lcov-report/src/tests/utilities/TestConfiguration.ts.html +1 -1
- package/coverage/lcov-report/src/tests/utilities/controllers.ts.html +1 -1
- package/coverage/lcov-report/src/tests/utilities/index.html +1 -1
- package/coverage/lcov-report/src/tests/utilities/index.ts.html +1 -1
- package/coverage/lcov-report/src/tests/utilities/structures.ts.html +1 -1
- package/coverage/lcov-report/src/threads/automation.ts.html +1 -1
- package/coverage/lcov-report/src/threads/index.html +1 -1
- package/coverage/lcov-report/src/threads/index.ts.html +1 -1
- package/coverage/lcov-report/src/threads/query.ts.html +1 -1
- package/coverage/lcov-report/src/threads/utils.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/budibaseDir.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/centralPath.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/fileSystem/app.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/fileSystem/clientLibrary.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/fileSystem/filesystem.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/fileSystem/index.html +1 -1
- package/coverage/lcov-report/src/utilities/fileSystem/index.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/fileSystem/plugin.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/fileSystem/processor.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/fileSystem/template.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/global.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/index.html +1 -1
- package/coverage/lcov-report/src/utilities/index.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/redis.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/routing/index.html +1 -1
- package/coverage/lcov-report/src/utilities/routing/index.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/rowProcessor/index.html +1 -1
- package/coverage/lcov-report/src/utilities/rowProcessor/index.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/rowProcessor/map.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/rowProcessor/utils.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/schema.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/scriptRunner.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/security.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/usageQuota/index.html +1 -1
- package/coverage/lcov-report/src/utilities/usageQuota/rows.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/usageQuota/usageQuoteReset.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/users.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/workerRequests.ts.html +1 -1
- package/coverage/lcov-report/src/watch.ts.html +1 -1
- package/coverage/lcov-report/src/websocket.ts.html +1 -1
- package/dist/package.json +6 -6
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +7 -7
|
@@ -891,10 +891,10 @@ Use Save As... to download, then click back to return to this page.`)&&(location
|
|
|
891
891
|
from.
|
|
892
892
|
`),t=K("br"),r=oe(`
|
|
893
893
|
Please ensure you have enabled row selection in the table settings.`)},m(i,a){M(i,e,a),M(i,t,a),M(i,r,a)},p:at,d(i){i&&A(e),i&&A(t),i&&A(r)}}}function Ylt(n){let e;return{c(){e=oe("Table")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Klt(n){let e;return{c(){e=oe("Export as")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Xlt(n){let e;return{c(){e=oe("Export columns")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Jlt(n){let e,t,r,i,a,o,l,s,u,c,f,p,h,g,b,w,k,S,L;t=new Rt({props:{size:"S",$$slots:{default:[Glt]},$$scope:{ctx:n}}}),a=new un({props:{small:!0,$$slots:{default:[Ylt]},$$scope:{ctx:n}}});function B(Z){n[7](Z)}let R={options:n[2]};n[0].tableComponentId!==void 0&&(R.value=n[0].tableComponentId),l=new vn({props:R}),Oe.push(()=>tt(l,"value",B)),l.$on("change",n[8]),c=new un({props:{small:!0,$$slots:{default:[Klt]},$$scope:{ctx:n}}});function U(Z){n[9](Z)}let x={options:n[3]};n[0].type!==void 0&&(x.value=n[0].type),p=new vn({props:x}),Oe.push(()=>tt(p,"value",U)),b=new un({props:{small:!0,$$slots:{default:[Xlt]},$$scope:{ctx:n}}});function W(Z){n[10](Z)}let Y={placeholder:"All columns",options:n[1]};return n[0].columns!==void 0&&(Y.value=n[0].columns),k=new c5({props:Y}),Oe.push(()=>tt(k,"value",W)),{c(){e=K("div"),D(t.$$.fragment),r=q(),i=K("div"),D(a.$$.fragment),o=q(),D(l.$$.fragment),u=q(),D(c.$$.fragment),f=q(),D(p.$$.fragment),g=q(),D(b.$$.fragment),w=q(),D(k.$$.fragment),I(i,"class","params svelte-zv65u9"),I(e,"class","root svelte-zv65u9")},m(Z,te){M(Z,e,te),T(t,e,null),N(e,r),N(e,i),T(a,i,null),N(i,o),T(l,i,null),N(i,u),T(c,i,null),N(i,f),T(p,i,null),N(i,g),T(b,i,null),N(i,w),T(k,i,null),L=!0},p(Z,[te]){const ue={};te&4096&&(ue.$$scope={dirty:te,ctx:Z}),t.$set(ue);const se={};te&4096&&(se.$$scope={dirty:te,ctx:Z}),a.$set(se);const ee={};te&4&&(ee.options=Z[2]),!s&&te&1&&(s=!0,ee.value=Z[0].tableComponentId,nt(()=>s=!1)),l.$set(ee);const X={};te&4096&&(X.$$scope={dirty:te,ctx:Z}),c.$set(X);const re={};!h&&te&1&&(h=!0,re.value=Z[0].type,nt(()=>h=!1)),p.$set(re);const le={};te&4096&&(le.$$scope={dirty:te,ctx:Z}),b.$set(le);const fe={};te&2&&(fe.options=Z[1]),!S&&te&1&&(S=!0,fe.value=Z[0].columns,nt(()=>S=!1)),k.$set(fe)},i(Z){L||(_(t.$$.fragment,Z),_(a.$$.fragment,Z),_(l.$$.fragment,Z),_(c.$$.fragment,Z),_(p.$$.fragment,Z),_(b.$$.fragment,Z),_(k.$$.fragment,Z),L=!0)},o(Z){y(t.$$.fragment,Z),y(a.$$.fragment,Z),y(l.$$.fragment,Z),y(c.$$.fragment,Z),y(p.$$.fragment,Z),y(b.$$.fragment,Z),y(k.$$.fragment,Z),L=!1},d(Z){Z&&A(e),O(t),O(a),O(l),O(c),O(p),O(b),O(k)}}}function Qlt(n,e,t){let r,i,a,o,l;Pe(n,us,b=>t(6,l=b));let{parameters:s}=e;const u=[{label:"CSV",value:"csv"},{label:"JSON",value:"json"}],c=b=>{b!=null&&b.includes("-")&&(b=b.split("-")[0]);const w=Ru(l==null?void 0:l.props,b),k=A3(l,w),{schema:S}=k2(l,k);return Object.keys(S||{})};Zn(()=>{s.type||t(0,s.type="csv",s)});function f(b){n.$$.not_equal(s.tableComponentId,b)&&(s.tableComponentId=b,t(0,s))}const p=()=>t(0,s.columns=[],s);function h(b){n.$$.not_equal(s.type,b)&&(s.type=b,t(0,s))}function g(b){n.$$.not_equal(s.columns,b)&&(s.columns=b,t(0,s))}return n.$$set=b=>{"parameters"in b&&t(0,s=b.parameters)},n.$$.update=()=>{n.$$.dirty&64&&t(5,r=ld(l==null?void 0:l.props,b=>b._component.endsWith("table")).map(b=>({label:b._instanceName,value:b._id}))),n.$$.dirty&64&&t(4,i=ld(l==null?void 0:l.props,b=>b._component.endsWith("tableblock")).map(b=>({label:b._instanceName,value:`${b._id}-table`}))),n.$$.dirty&48&&t(2,a=r.concat(i)),n.$$.dirty&1&&t(1,o=c(s.tableComponentId))},[s,o,a,u,i,r,l,f,p,h,g]}class Zlt extends He{constructor(e){super(),Be(this,e,Qlt,Jlt,De,{parameters:0})}}function est(n){let e;return{c(){e=oe(`Configure a condition to be evaluated which can stop further actions from
|
|
894
|
-
being executed.`)},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function tst(n){let e,t,r,i,a,o,l,s,u,c,f,p,h,g;t=new Rt({props:{size:"S",$$slots:{default:[est]},$$scope:{ctx:n}}});function b(R){n[4](R)}let w={options:n[2],placeholder:null};n[0].type!==void 0&&(w.value=n[0].type),i=new vn({props:w}),Oe.push(()=>tt(i,"value",b)),l=new oo({props:{placeholder:"Value",value:n[0].value,bindings:n[1]}}),l.$on("change",n[5]);function k(R){n[6](R)}let S={options:n[3],placeholder:null};n[0].operator!==void 0&&(S.value=n[0].operator),u=new vn({props:S}),Oe.push(()=>tt(u,"value",k));function L(R){n[7](R)}let B={placeholder:"Reference value",bindings:n[1]};return n[0].referenceValue!==void 0&&(B.value=n[0].referenceValue),p=new oo({props:B}),Oe.push(()=>tt(p,"value",L)),p.$on("change",n[8]),{c(){e=K("div"),D(t.$$.fragment),r=q(),D(i.$$.fragment),o=q(),D(l.$$.fragment),s=q(),D(u.$$.fragment),f=q(),D(p.$$.fragment),I(e,"class","root svelte-1yfkfsp")},m(R,U){M(R,e,U),T(t,e,null),N(e,r),T(i,e,null),N(e,o),T(l,e,null),N(e,s),T(u,e,null),N(e,f),T(p,e,null),g=!0},p(R,[U]){const x={};U&512&&(x.$$scope={dirty:U,ctx:R}),t.$set(x);const W={};!a&&U&1&&(a=!0,W.value=R[0].type,nt(()=>a=!1)),i.$set(W);const Y={};U&1&&(Y.value=R[0].value),U&2&&(Y.bindings=R[1]),l.$set(Y);const Z={};!c&&U&1&&(c=!0,Z.value=R[0].operator,nt(()=>c=!1)),u.$set(Z);const te={};U&2&&(te.bindings=R[1]),!h&&U&1&&(h=!0,te.value=R[0].referenceValue,nt(()=>h=!1)),p.$set(te)},i(R){g||(_(t.$$.fragment,R),_(i.$$.fragment,R),_(l.$$.fragment,R),_(u.$$.fragment,R),_(p.$$.fragment,R),g=!0)},o(R){y(t.$$.fragment,R),y(i.$$.fragment,R),y(l.$$.fragment,R),y(u.$$.fragment,R),y(p.$$.fragment,R),g=!1},d(R){R&&A(e),O(t),O(i),O(l),O(u),O(p)}}}function nst(n,e,t){let{parameters:r}=e,{bindings:i}=e;const a=[{label:"Continue if",value:"continue"},{label:"Stop if",value:"stop"}],o=[{label:"Equals",value:"equal"},{label:"Not equals",value:"notEqual"}];Zn(()=>{r.type||t(0,r.type="continue",r),r.operator||t(0,r.operator="equal",r)});function l(p){n.$$.not_equal(r.type,p)&&(r.type=p,t(0,r))}const s=p=>t(0,r.value=p.detail,r);function u(p){n.$$.not_equal(r.operator,p)&&(r.operator=p,t(0,r))}function c(p){n.$$.not_equal(r.referenceValue,p)&&(r.referenceValue=p,t(0,r))}const f=p=>t(0,r.referenceValue=p.detail,r);return n.$$set=p=>{"parameters"in p&&t(0,r=p.parameters),"bindings"in p&&t(1,i=p.bindings)},[r,i,a,o,l,s,u,c,f]}class rst extends He{constructor(e){super(),Be(this,e,nst,tst,De,{parameters:0,bindings:1})}}function ist(n){let e;return{c(){e=oe("Form")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function ast(n){let e;return{c(){e=oe("Type")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function ost(n){let e;return{c(){e=oe("Field")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Xj(n){let e,t,r,i;return e=new un({props:{small:!0,$$slots:{default:[lst]},$$scope:{ctx:n}}}),r=new oo({props:{bindings:n[1],value:n[0].value}}),r.$on("change",n[12]),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(a,o){T(e,a,o),M(a,t,o),T(r,a,o),i=!0},p(a,o){const l={};o&8192&&(l.$$scope={dirty:o,ctx:a}),e.$set(l);const s={};o&2&&(s.bindings=a[1]),o&1&&(s.value=a[0].value),r.$set(s)},i(a){i||(_(e.$$.fragment,a),_(r.$$.fragment,a),i=!0)},o(a){y(e.$$.fragment,a),y(r.$$.fragment,a),i=!1},d(a){O(e,a),a&&A(t),O(r,a)}}}function lst(n){let e;return{c(){e=oe("Value")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function sst(n){let e,t,r,i,a,o,l,s,u,c,f,p,h,g,b,w,k;t=new un({props:{small:!0,$$slots:{default:[ist]},$$scope:{ctx:n}}});function S(Y){n[9](Y)}let L={options:n[2],getOptionLabel:ust,getOptionValue:cst};n[0].componentId!==void 0&&(L.value=n[0].componentId),i=new vn({props:L}),Oe.push(()=>tt(i,"value",S)),l=new un({props:{small:!0,$$slots:{default:[ast]},$$scope:{ctx:n}}});function B(Y){n[10](Y)}let R={placeholder:null,options:n[4]};n[0].type!==void 0&&(R.value=n[0].type),u=new vn({props:R}),Oe.push(()=>tt(u,"value",B)),p=new un({props:{small:!0,$$slots:{default:[ost]},$$scope:{ctx:n}}});function U(Y){n[11](Y)}let x={options:n[3]};n[0].field!==void 0&&(x.value=n[0].field),g=new m4({props:x}),Oe.push(()=>tt(g,"value",U));let W=n[0].type==="set"&&Xj(n);return{c(){e=K("div"),D(t.$$.fragment),r=q(),D(i.$$.fragment),o=q(),D(l.$$.fragment),s=q(),D(u.$$.fragment),f=q(),D(p.$$.fragment),h=q(),D(g.$$.fragment),w=q(),W&&W.c(),I(e,"class","root svelte-ss4wgk")},m(Y,Z){M(Y,e,Z),T(t,e,null),N(e,r),T(i,e,null),N(e,o),T(l,e,null),N(e,s),T(u,e,null),N(e,f),T(p,e,null),N(e,h),T(g,e,null),N(e,w),W&&W.m(e,null),k=!0},p(Y,[Z]){const te={};Z&8192&&(te.$$scope={dirty:Z,ctx:Y}),t.$set(te);const ue={};Z&4&&(ue.options=Y[2]),!a&&Z&1&&(a=!0,ue.value=Y[0].componentId,nt(()=>a=!1)),i.$set(ue);const se={};Z&8192&&(se.$$scope={dirty:Z,ctx:Y}),l.$set(se);const ee={};!c&&Z&1&&(c=!0,ee.value=Y[0].type,nt(()=>c=!1)),u.$set(ee);const X={};Z&8192&&(X.$$scope={dirty:Z,ctx:Y}),p.$set(X);const re={};Z&8&&(re.options=Y[3]),!b&&Z&1&&(b=!0,re.value=Y[0].field,nt(()=>b=!1)),g.$set(re),Y[0].type==="set"?W?(W.p(Y,Z),Z&1&&_(W,1)):(W=Xj(Y),W.c(),_(W,1),W.m(e,null)):W&&(Ae(),y(W,1,1,()=>{W=null}),Me())},i(Y){k||(_(t.$$.fragment,Y),_(i.$$.fragment,Y),_(l.$$.fragment,Y),_(u.$$.fragment,Y),_(p.$$.fragment,Y),_(g.$$.fragment,Y),_(W),k=!0)},o(Y){y(t.$$.fragment,Y),y(i.$$.fragment,Y),y(l.$$.fragment,Y),y(u.$$.fragment,Y),y(p.$$.fragment,Y),y(g.$$.fragment,Y),y(W),k=!1},d(Y){Y&&A(e),O(t),O(i),O(l),O(u),O(p),O(g),W&&W.d()}}}const ust=n=>n._instanceName,cst=n=>n._id;function fst(n,e,t){let r,i,a,o,l,s;Pe(n,Gt,w=>t(7,l=w)),Pe(n,us,w=>t(8,s=w));let{parameters:u}=e,{bindings:c=[]}=e;const f=[{label:"Set value",value:"set"},{label:"Reset to default value",value:"reset"}];Zn(()=>{u.type||t(0,u.type="set",u)});function p(w){n.$$.not_equal(u.componentId,w)&&(u.componentId=w,t(0,u))}function h(w){n.$$.not_equal(u.type,w)&&(u.type=w,t(0,u))}function g(w){n.$$.not_equal(u.field,w)&&(u.field=w,t(0,u))}const b=w=>t(0,u.value=w.detail,u);return n.$$set=w=>{"parameters"in w&&t(0,u=w.parameters),"bindings"in w&&t(1,c=w.bindings)},n.$$.update=()=>{n.$$.dirty&257&&t(6,r=Ru(s.props,u.componentId)),n.$$.dirty&64&&t(5,i=wS(r)),n.$$.dirty&32&&t(3,a=Object.keys(i||{})),n.$$.dirty&384&&t(2,o=kv(s,l.selectedComponentId,"ValidateForm"))},[u,c,o,a,f,i,r,l,s,p,h,g,b]}class pst extends He{constructor(e){super(),Be(this,e,fst,sst,De,{parameters:0,bindings:1})}}function dst(n){let e;return{c(){e=oe("Type")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function hst(n){let e;return{c(){e=oe("Message")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function mst(n){let e,t,r,i,a,o,l,s,u,c,f,p,h,g,b;t=new un({props:{$$slots:{default:[dst]},$$scope:{ctx:n}}});function w(B){n[3](B)}let k={options:n[2],placeholder:null};n[0].type!==void 0&&(k.value=n[0].type),i=new vn({props:k}),Oe.push(()=>tt(i,"value",w)),l=new un({props:{$$slots:{default:[hst]},$$scope:{ctx:n}}}),u=new oo({props:{bindings:n[1],value:n[0].message}}),u.$on("change",n[4]),f=new un({});function S(B){n[5](B)}let L={text:"Auto dismiss"};return n[0].autoDismiss!==void 0&&(L.value=n[0].autoDismiss),h=new Rs({props:L}),Oe.push(()=>tt(h,"value",S)),{c(){e=K("div"),D(t.$$.fragment),r=q(),D(i.$$.fragment),o=q(),D(l.$$.fragment),s=q(),D(u.$$.fragment),c=q(),D(f.$$.fragment),p=q(),D(h.$$.fragment),I(e,"class","root svelte-ss4wgk")},m(B,R){M(B,e,R),T(t,e,null),N(e,r),T(i,e,null),N(e,o),T(l,e,null),N(e,s),T(u,e,null),N(e,c),T(f,e,null),N(e,p),T(h,e,null),b=!0},p(B,[R]){const U={};R&64&&(U.$$scope={dirty:R,ctx:B}),t.$set(U);const x={};!a&&R&1&&(a=!0,x.value=B[0].type,nt(()=>a=!1)),i.$set(x);const W={};R&64&&(W.$$scope={dirty:R,ctx:B}),l.$set(W);const Y={};R&2&&(Y.bindings=B[1]),R&1&&(Y.value=B[0].message),u.$set(Y);const Z={};!g&&R&1&&(g=!0,Z.value=B[0].autoDismiss,nt(()=>g=!1)),h.$set(Z)},i(B){b||(_(t.$$.fragment,B),_(i.$$.fragment,B),_(l.$$.fragment,B),_(u.$$.fragment,B),_(f.$$.fragment,B),_(h.$$.fragment,B),b=!0)},o(B){y(t.$$.fragment,B),y(i.$$.fragment,B),y(l.$$.fragment,B),y(u.$$.fragment,B),y(f.$$.fragment,B),y(h.$$.fragment,B),b=!1},d(B){B&&A(e),O(t),O(i),O(l),O(u),O(f),O(h)}}}function gst(n,e,t){let{parameters:r}=e,{bindings:i=[]}=e;const a=[{label:"Success",value:"success"},{label:"Warning",value:"warning"},{label:"Error",value:"error"},{label:"Info",value:"info"}];Zn(()=>{r.type||t(0,r.type="success",r),r.autoDismiss==null&&t(0,r.autoDismiss=!0,r)});function o(u){n.$$.not_equal(r.type,u)&&(r.type=u,t(0,r))}const l=u=>t(0,r.message=u.detail,r);function s(u){n.$$.not_equal(r.autoDismiss,u)&&(r.autoDismiss=u,t(0,r))}return n.$$set=u=>{"parameters"in u&&t(0,r=u.parameters),"bindings"in u&&t(1,i=u.bindings)},[r,i,a,o,l,s]}class vst extends He{constructor(e){super(),Be(this,e,gst,mst,De,{parameters:0,bindings:1})}}function _st(n){let e;return{c(){e=oe("Enter the message you wish to display to the user.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function bst(n){let e;return{c(){e=oe("Title")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function yst(n){let e;return{c(){e=oe("Message")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function $st(n){let e,t,r,i,a,o,l,s,u,c,f,p,h,g;t=new Rt({props:{size:"S",$$slots:{default:[_st]},$$scope:{ctx:n}}}),a=new un({props:{small:!0,$$slots:{default:[bst]},$$scope:{ctx:n}}});function b(L){n[1](L)}let w={placeholder:"Prompt User"};n[0].customTitleText!==void 0&&(w.value=n[0].customTitleText),l=new En({props:w}),Oe.push(()=>tt(l,"value",b)),c=new un({props:{small:!0,$$slots:{default:[yst]},$$scope:{ctx:n}}});function k(L){n[2](L)}let S={placeholder:"Are you sure you want to continue?"};return n[0].confirmText!==void 0&&(S.value=n[0].confirmText),p=new En({props:S}),Oe.push(()=>tt(p,"value",k)),{c(){e=K("div"),D(t.$$.fragment),r=q(),i=K("div"),D(a.$$.fragment),o=q(),D(l.$$.fragment),u=q(),D(c.$$.fragment),f=q(),D(p.$$.fragment),I(i,"class","params svelte-hvj292"),I(e,"class","root svelte-hvj292")},m(L,B){M(L,e,B),T(t,e,null),N(e,r),N(e,i),T(a,i,null),N(i,o),T(l,i,null),N(i,u),T(c,i,null),N(i,f),T(p,i,null),g=!0},p(L,[B]){const R={};B&8&&(R.$$scope={dirty:B,ctx:L}),t.$set(R);const U={};B&8&&(U.$$scope={dirty:B,ctx:L}),a.$set(U);const x={};!s&&B&1&&(s=!0,x.value=L[0].customTitleText,nt(()=>s=!1)),l.$set(x);const W={};B&8&&(W.$$scope={dirty:B,ctx:L}),c.$set(W);const Y={};!h&&B&1&&(h=!0,Y.value=L[0].confirmText,nt(()=>h=!1)),p.$set(Y)},i(L){g||(_(t.$$.fragment,L),_(a.$$.fragment,L),_(l.$$.fragment,L),_(c.$$.fragment,L),_(p.$$.fragment,L),g=!0)},o(L){y(t.$$.fragment,L),y(a.$$.fragment,L),y(l.$$.fragment,L),y(c.$$.fragment,L),y(p.$$.fragment,L),g=!1},d(L){L&&A(e),O(t),O(a),O(l),O(c),O(p)}}}function wst(n,e,t){let{parameters:r}=e;Zn(()=>{r.confirm||t(0,r.confirm=!0,r)});function i(o){n.$$.not_equal(r.customTitleText,o)&&(r.customTitleText=o,t(0,r))}function a(o){n.$$.not_equal(r.confirmText,o)&&(r.confirmText=o,t(0,r))}return n.$$set=o=>{"parameters"in o&&t(0,r=o.parameters)},[r,i,a]}class kst extends He{constructor(e){super(),Be(this,e,wst,$st,De,{parameters:0})}}function zst(n){let e;return{c(){e=oe("Side Panel")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Ast(n){let e,t,r,i,a,o;t=new un({props:{small:!0,$$slots:{default:[zst]},$$scope:{ctx:n}}});function l(u){n[3](u)}let s={options:n[1]};return n[0].id!==void 0&&(s.value=n[0].id),i=new vn({props:s}),Oe.push(()=>tt(i,"value",l)),{c(){e=K("div"),D(t.$$.fragment),r=q(),D(i.$$.fragment),I(e,"class","root svelte-ss4wgk")},m(u,c){M(u,e,c),T(t,e,null),N(e,r),T(i,e,null),o=!0},p(u,[c]){const f={};c&32&&(f.$$scope={dirty:c,ctx:u}),t.$set(f);const p={};c&2&&(p.options=u[1]),!a&&c&1&&(a=!0,p.value=u[0].id,nt(()=>a=!1)),i.$set(p)},i(u){o||(_(t.$$.fragment,u),_(i.$$.fragment,u),o=!0)},o(u){y(t.$$.fragment,u),y(i.$$.fragment,u),o=!1},d(u){u&&A(e),O(t),O(i)}}}function Mst(n,e,t){let r,i;Pe(n,F1,s=>t(2,i=s));let{parameters:a}=e;const o=s=>ld(s.props,c=>c._component.endsWith("/sidepanel")).map(c=>({label:c._instanceName,value:c._id}));function l(s){n.$$.not_equal(a.id,s)&&(a.id=s,t(0,a))}return n.$$set=s=>{"parameters"in s&&t(0,a=s.parameters)},n.$$.update=()=>{n.$$.dirty&4&&t(1,r=o(i))},[a,r,i,l]}class Sst extends He{constructor(e){super(),Be(this,e,Mst,Ast,De,{parameters:0})}}function Cst(n){let e;return{c(){e=K("div"),e.textContent="This action doesn't require any settings.",I(e,"class","root svelte-1kwxn4d")},m(t,r){M(t,e,r)},p:at,i:at,o:at,d(t){t&&A(e)}}}class Lst extends He{constructor(e){super(),Be(this,e,null,Cst,De,{})}}const Est=Object.freeze(Object.defineProperty({__proto__:null,NavigateTo:Z1t,SaveRow:mot,DeleteRow:kot,ExecuteQuery:Tot,TriggerAutomation:jot,ValidateForm:Yot,LogOut:elt,ClearForm:olt,CloseScreenModal:clt,ChangeFormStep:_lt,UpdateState:Alt,RefreshDataProvider:Tlt,DuplicateRow:Nlt,S3Upload:Wlt,ExportData:Zlt,ContinueIf:rst,UpdateFieldValue:pst,ShowNotification:vst,PromptUser:kst,OpenSidePanel:Sst,CloseSidePanel:Lst},Symbol.toStringTag,{value:"Module"})),Tst=(n=!1)=>Eee.actions.filter(e=>{var t;return n||!e.dependsOnFeature?!0:((t=dn(Gt).clientFeatures)==null?void 0:t[e.dependsOnFeature])===!0}).map(e=>({...e,component:Est[e.component]})).filter(e=>e.component!=null);function Jj(n,e,t){const r=n.slice();return r[26]=e[t],r[28]=t,r}function Qj(n,e,t){const r=n.slice();return r[29]=e[t][0],r[30]=e[t][1],r[32]=t,r}function Zj(n,e,t){const r=n.slice();return r[33]=e[t],r}function eU(n){let e=n[3].id,t,r,i=tU(n);return{c(){i.c(),t=yt()},m(a,o){i.m(a,o),M(a,t,o),r=!0},p(a,o){o[0]&8&&De(e,e=a[3].id)?(Ae(),y(i,1,1,at),Me(),i=tU(a),i.c(),_(i,1),i.m(t.parentNode,t)):i.p(a,o)},i(a){r||(_(i),r=!0)},o(a){y(i),r=!1},d(a){a&&A(t),i.d(a)}}}function tU(n){let e,t,r,i;function a(s){n[22](s)}var o=n[5];function l(s){let u={bindings:s[6],nested:s[1]};return s[3].parameters!==void 0&&(u.parameters=s[3].parameters),{props:u}}return o&&(t=ia(o,l(n)),Oe.push(()=>tt(t,"parameters",a))),{c(){e=K("div"),t&&D(t.$$.fragment),I(e,"class","selected-action-container")},m(s,u){M(s,e,u),t&&T(t,e,null),i=!0},p(s,u){const c={};if(u[0]&64&&(c.bindings=s[6]),u[0]&2&&(c.nested=s[1]),!r&&u[0]&8&&(r=!0,c.parameters=s[3].parameters,nt(()=>r=!1)),o!==(o=s[5])){if(t){Ae();const f=t;y(f.$$.fragment,1,0,()=>{O(f,1)}),Me()}o?(t=ia(o,l(s)),Oe.push(()=>tt(t,"parameters",a)),D(t.$$.fragment),_(t.$$.fragment,1),T(t,e,null)):t=null}else o&&t.$set(c)},i(s){i||(t&&_(t.$$.fragment,s),i=!0)},o(s){t&&y(t.$$.fragment,s),i=!1},d(s){s&&A(e),t&&O(t)}}}function Ost(n){let e,t,r=n[5]&&!n[4]&&eU(n);return{c(){r&&r.c(),e=yt()},m(i,a){r&&r.m(i,a),M(i,e,a),t=!0},p(i,a){i[5]&&!i[4]?r?(r.p(i,a),a[0]&48&&_(r,1)):(r=eU(i),r.c(),_(r,1),r.m(e.parentNode,e)):r&&(Ae(),y(r,1,1,()=>{r=null}),Me())},i(i){t||(_(r),t=!0)},o(i){y(r),t=!1},d(i){r&&r.d(i),i&&A(e)}}}function Dst(n){let e,t;return e=new Ht({props:{noPadding:!0,$$slots:{default:[Ost]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i[0]&122|i[1]&32&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function nU(n){var h;let e,t,r,i,a,o,l,s=((h=n[0])==null?void 0:h.length)>0&&rU(n);function u(g){n[20](g)}let c={placeholder:"Search"};n[2]!==void 0&&(c.value=n[2]),i=new d5({props:c}),Oe.push(()=>tt(i,"value",u));let f=Object.entries(n[7]),p=[];for(let g=0;g<f.length;g+=1)p[g]=aU(Qj(n,f,g));return{c(){e=K("div"),s&&s.c(),t=q(),r=K("div"),D(i.$$.fragment),o=q();for(let g=0;g<p.length;g+=1)p[g].c();I(r,"class","search-wrap svelte-28n6ts"),I(e,"class","actions-list svelte-28n6ts")},m(g,b){M(g,e,b),s&&s.m(e,null),N(e,t),N(e,r),T(i,r,null),N(e,o);for(let w=0;w<p.length;w+=1)p[w].m(e,null);l=!0},p(g,b){var k;((k=g[0])==null?void 0:k.length)>0?s?(s.p(g,b),b[0]&1&&_(s,1)):(s=rU(g),s.c(),_(s,1),s.m(e,t)):s&&(Ae(),y(s,1,1,()=>{s=null}),Me());const w={};if(!a&&b[0]&4&&(a=!0,w.value=g[2],nt(()=>a=!1)),i.$set(w),b[0]&2176){f=Object.entries(g[7]);let S;for(S=0;S<f.length;S+=1){const L=Qj(g,f,S);p[S]?p[S].p(L,b):(p[S]=aU(L),p[S].c(),p[S].m(e,null))}for(;S<p.length;S+=1)p[S].d(1);p.length=f.length}},i(g){l||(_(s),_(i.$$.fragment,g),l=!0)},o(g){y(s),y(i.$$.fragment,g),l=!1},d(g){g&&A(e),s&&s.d(),O(i),Mn(p,g)}}}function rU(n){let e,t,r;return t=new Jr({props:{secondary:!0,icon:"ArrowLeft",$$slots:{default:[Ist]},$$scope:{ctx:n}}}),t.$on("click",n[9]),{c(){e=K("div"),D(t.$$.fragment),I(e,"class","svelte-28n6ts")},m(i,a){M(i,e,a),T(t,e,null),r=!0},p(i,a){const o={};a[1]&32&&(o.$$scope={dirty:a,ctx:i}),t.$set(o)},i(i){r||(_(t.$$.fragment,i),r=!0)},o(i){y(t.$$.fragment,i),r=!1},d(i){i&&A(e),O(t)}}}function Ist(n){let e;return{c(){e=oe("Back")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function iU(n){let e,t,r=n[33].name+"",i,a,o;return{c(){e=K("li"),t=K("span"),i=oe(r),I(t,"class","action-name svelte-28n6ts"),I(e,"class","svelte-28n6ts")},m(l,s){M(l,e,s),N(e,t),N(t,i),a||(o=zt(e,"click",function(){mn(n[11](n[33]))&&n[11](n[33]).apply(this,arguments)}),a=!0)},p(l,s){n=l,s[0]&128&&r!==(r=n[33].name+"")&&ht(i,r)},d(l){l&&A(e),a=!1,o()}}}function aU(n){let e,t=n[29]+"",r,i,a,o,l=n[30],s=[];for(let u=0;u<l.length;u+=1)s[u]=iU(Zj(n,l,u));return{c(){e=K("div"),r=oe(t),i=q(),a=K("ul");for(let u=0;u<s.length;u+=1)s[u].c();o=q(),I(e,"class","heading svelte-28n6ts"),Ee(e,"top-entry",n[32]===0),I(a,"class","svelte-28n6ts")},m(u,c){M(u,e,c),N(e,r),M(u,i,c),M(u,a,c);for(let f=0;f<s.length;f+=1)s[f].m(a,null);N(a,o)},p(u,c){if(c[0]&128&&t!==(t=u[29]+"")&&ht(r,t),c[0]&2176){l=u[30];let f;for(f=0;f<l.length;f+=1){const p=Zj(u,l,f);s[f]?s[f].p(p,c):(s[f]=iU(p),s[f].c(),s[f].m(a,o))}for(;f<s.length;f+=1)s[f].d(1);s.length=l.length}},d(u){u&&A(e),u&&A(i),u&&A(a),Mn(s,u)}}}function oU(n){let e,t,r,i,a=[],o=new Map,l,s,u,c;t=new gn({props:{secondary:!0,$$slots:{default:[Bst]},$$scope:{ctx:n}}}),t.$on("click",n[9]);let f=n[0];const p=h=>h[26].id;for(let h=0;h<f.length;h+=1){let g=Jj(n,f,h),b=p(g);o.set(b,a[h]=lU(b,g))}return{c(){e=K("div"),D(t.$$.fragment),r=q(),i=K("div");for(let h=0;h<a.length;h+=1)a[h].c();I(i,"class","actions svelte-28n6ts")},m(h,g){M(h,e,g),T(t,e,null),M(h,r,g),M(h,i,g);for(let b=0;b<a.length;b+=1)a[b].m(i,null);s=!0,u||(c=[Ps(l=q$.call(null,i,{items:n[0],flipDurationMs:HA,dropTargetStyle:{outline:"none"}})),zt(i,"consider",n[12]),zt(i,"finalize",n[13])],u=!0)},p(h,g){const b={};if(g[1]&32&&(b.$$scope={dirty:g,ctx:h}),t.$set(b),g[0]&1289){f=h[0],Ae();for(let w=0;w<a.length;w+=1)a[w].r();a=P0(a,g,p,1,h,f,o,i,sv,lU,null,Jj);for(let w=0;w<a.length;w+=1)a[w].a();Me()}l&&mn(l.update)&&g[0]&1&&l.update.call(null,{items:h[0],flipDurationMs:HA,dropTargetStyle:{outline:"none"}})},i(h){if(!s){_(t.$$.fragment,h);for(let g=0;g<f.length;g+=1)_(a[g]);s=!0}},o(h){y(t.$$.fragment,h);for(let g=0;g<a.length;g+=1)y(a[g]);s=!1},d(h){h&&A(e),O(t),h&&A(r),h&&A(i);for(let g=0;g<a.length;g+=1)a[g].d();u=!1,Mi(c)}}}function Bst(n){let e;return{c(){e=oe("Add Action")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function lU(n,e){let t,r,i,a,o=e[28]+1+"",l,s,u=e[26][$9]+"",c,f,p,h,g,b=at,w,k,S;r=new hn({props:{name:"DragHandle",size:"XL"}});function L(){return e[21](e[28])}return p=new hn({props:{name:"Close",hoverable:!0,size:"S"}}),p.$on("click",L),{key:n,first:null,c(){t=K("div"),D(r.$$.fragment),i=q(),a=K("div"),l=oe(o),s=oe(".\xA0"),c=oe(u),f=q(),D(p.$$.fragment),h=q(),I(a,"class","action-header svelte-28n6ts"),I(t,"class","action-container svelte-28n6ts"),Ee(t,"selected",e[26]===e[3]),this.first=t},m(B,R){M(B,t,R),T(r,t,null),N(t,i),N(t,a),N(a,l),N(a,s),N(a,c),N(t,f),T(p,t,null),N(t,h),w=!0,k||(S=zt(t,"click",function(){mn(e[10](e[26]))&&e[10](e[26]).apply(this,arguments)}),k=!0)},p(B,R){e=B,(!w||R[0]&1)&&o!==(o=e[28]+1+"")&&ht(l,o),(!w||R[0]&1)&&u!==(u=e[26][$9]+"")&&ht(c,u),(!w||R[0]&9)&&Ee(t,"selected",e[26]===e[3])},r(){g=t.getBoundingClientRect()},f(){lv(t),b()},a(){b(),b=ov(t,g,Tv,{duration:HA})},i(B){w||(_(r.$$.fragment,B),_(p.$$.fragment,B),w=!0)},o(B){y(r.$$.fragment,B),y(p.$$.fragment,B),w=!1},d(B){B&&A(t),O(r),O(p),k=!1,S()}}}function Hst(n){var o;let e,t,r,i=(n[4]||!((o=n[0])!=null&&o.length))&&nU(n),a=n[0]&&n[0].length>0&&!n[4]&&oU(n);return{c(){i&&i.c(),e=q(),a&&a.c(),t=yt()},m(l,s){i&&i.m(l,s),M(l,e,s),a&&a.m(l,s),M(l,t,s),r=!0},p(l,s){var u;l[4]||!((u=l[0])!=null&&u.length)?i?(i.p(l,s),s[0]&17&&_(i,1)):(i=nU(l),i.c(),_(i,1),i.m(e.parentNode,e)):i&&(Ae(),y(i,1,1,()=>{i=null}),Me()),l[0]&&l[0].length>0&&!l[4]?a?(a.p(l,s),s[0]&17&&_(a,1)):(a=oU(l),a.c(),_(a,1),a.m(t.parentNode,t)):a&&(Ae(),y(a,1,1,()=>{a=null}),Me())},i(l){r||(_(i),_(a),r=!0)},o(l){y(i),y(a),r=!1},d(l){i&&i.d(l),l&&A(e),a&&a.d(l),l&&A(t)}}}function Pst(n){let e,t;return e=new Ht({props:{noPadding:!0,gap:"S",slot:"sidebar",$$slots:{default:[Hst]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i[0]&157|i[1]&32&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Rst(n){let e,t;return e=new dd({props:{$$slots:{sidebar:[Pst],default:[Dst]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i[0]&255|i[1]&32&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}const HA=150,$9="##eventHandlerType";function Vst(n,e,t){let r,i,a,o,l,s,u,c;Pe(n,Gt,se=>t(18,u=se)),Pe(n,us,se=>t(19,c=se));const f=Tst();let{key:p}=e,{actions:h}=e,{bindings:g=[]}=e,{nested:b}=e,w,k=h!=null&&h.length?h[0]:null;const S=se=>{h.splice(se,1),t(0,h)},L=()=>{t(2,w=null),t(4,i=!i)},B=se=>{const ee={parameters:{},[$9]:se.name,id:Vf.exports.generate()};h||t(0,h=[]),t(0,h=[...h,ee]),t(3,k=ee)},R=se=>()=>{t(3,k=se)},U=se=>{B(se),L()};function x(se){t(0,h=se.detail.items)}function W(se){t(0,h=se.detail.items)}const Y=(se,ee,X)=>{let re=ee.concat(se);return X?(X.filter(le=>{var fe;return le[$9]==="Update State"&&((fe=le.parameters)==null?void 0:fe.type)==="set"&&le.parameters.key}).forEach(le=>{const fe=Oee(le.parameters.key);re.some(he=>he.runtimeBinding===fe.runtimeBinding)||re.push(fe)}),re):[]};function Z(se){w=se,t(2,w)}const te=se=>S(se);function ue(se){n.$$.not_equal(k.parameters,se)&&(k.parameters=se,t(3,k),t(0,h))}return n.$$set=se=>{"key"in se&&t(14,p=se.key),"actions"in se&&t(0,h=se.actions),"bindings"in se&&t(15,g=se.bindings),"nested"in se&&t(1,b=se.nested)},n.$$.update=()=>{var se;n.$$.dirty[0]&8&&k&&!k.parameters&&t(3,k.parameters={},k),n.$$.dirty[0]&4&&t(17,r=typeof w=="string"?w.toLowerCase().trim():""),n.$$.dirty[0]&1&&t(4,i=!(h!=null&&h.length)),n.$$.dirty[0]&131072&&t(7,a=f.reduce((ee,X)=>{let re=X.name.toLowerCase().trim();return r.length&&re.indexOf(r)<0||(ee[X.type]=ee[X.type]||[],ee[X.type].push(X)),ee},{})),n.$$.dirty[0]&9&&k&&!(h!=null&&h.includes(k))&&t(3,k=h==null?void 0:h[0]),n.$$.dirty[0]&802825&&t(16,o=Z7e(c,u.selectedComponentId,p,h,k==null?void 0:k.id)),n.$$.dirty[0]&98305&&t(6,l=Y(g,o,h)),n.$$.dirty[0]&1&&h&&h.forEach(ee=>{ee.id||(ee.id=Vf.exports.generate())}),n.$$.dirty[0]&8&&t(5,s=k&&((se=f.find(ee=>ee.name===k[$9]))==null?void 0:se.component))},[h,b,w,k,i,s,l,a,S,L,R,U,x,W,p,g,o,r,u,c,Z,te,ue]}class Nst extends He{constructor(e){super(),Be(this,e,Vst,Rst,De,{key:14,actions:0,bindings:15,nested:1},null,[-1,-1])}}function Fst(n){let e;return{c(){e=oe("Define actions")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function jst(n){let e;return{c(){e=oe("Define what actions to run.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Ust(n){let e;return{c(){e=oe("Save")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function xst(n){let e,t;return e=new gn({props:{cta:!0,slot:"buttons",$$slots:{default:[Ust]},$$scope:{ctx:n}}}),e.$on("click",n[8]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&65536&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function qst(n){let e,t,r;function i(o){n[11](o)}let a={slot:"body",eventType:n[1],bindings:n[2],key:n[0],nested:n[3]};return n[5]!==void 0&&(a.actions=n[5]),e=new Nst({props:a}),Oe.push(()=>tt(e,"actions",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){const s={};l&2&&(s.eventType=o[1]),l&4&&(s.bindings=o[2]),l&1&&(s.key=o[0]),l&8&&(s.nested=o[3]),!t&&l&32&&(t=!0,s.actions=o[5],nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function Wst(n){let e,t,r,i,a,o,l;i=new Jr({props:{$$slots:{default:[Fst]},$$scope:{ctx:n}}}),i.$on("click",n[7]);let s={title:"Actions",$$slots:{body:[qst],buttons:[xst],description:[jst]},$$scope:{ctx:n}};return o=new pp({props:s}),n[12](o),{c(){e=K("div"),t=oe(n[6]),r=q(),D(i.$$.fragment),a=q(),D(o.$$.fragment),I(e,"class","action-count svelte-mu0gih")},m(u,c){M(u,e,c),N(e,t),M(u,r,c),T(i,u,c),M(u,a,c),T(o,u,c),l=!0},p(u,[c]){(!l||c&64)&&ht(t,u[6]);const f={};c&65536&&(f.$$scope={dirty:c,ctx:u}),i.$set(f);const p={};c&65583&&(p.$$scope={dirty:c,ctx:u}),o.$set(p)},i(u){l||(_(i.$$.fragment,u),_(o.$$.fragment,u),l=!0)},o(u){y(i.$$.fragment,u),y(o.$$.fragment,u),l=!1},d(u){u&&A(e),u&&A(r),O(i,u),u&&A(a),n[12](null),O(o,u)}}}function Gst(n,e,t){let r,i,a;Pe(n,Ir,L=>t(13,a=L));const o=Nn();let{key:l}=e,{value:s=[]}=e,{name:u}=e,{bindings:c}=e,{nested:f}=e,p,h;const g=()=>{t(5,h=na.cloneDeep(s)),p.show()},b=async()=>{const L=h.filter(B=>B["##eventHandlerType"]==="Trigger Automation");for(let B of L)await w(B.parameters);o("change",h),wt.success("Component actions saved."),p.hide()},w=async L=>{var B,R;if(!(L.automationId||!L.newAutomationName))try{await Ir.actions.create({name:L.newAutomationName});const U=a.blockDefinitions.TRIGGER.APP,x=a.selectedAutomation.constructBlock("TRIGGER","APP",U);x.inputs={fields:Object.keys((B=L.fields)!=null?B:{}).reduce((W,Y)=>(W[Y]="string",W),{})},Ir.actions.addBlockToAutomation(x),await Ir.actions.save((R=a.selectedAutomation)==null?void 0:R.automation),L.automationId=a.selectedAutomation.automation._id,delete L.newAutomationName}catch{wt.error("Error creating automation")}};function k(L){h=L,t(5,h)}function S(L){Oe[L?"unshift":"push"](()=>{p=L,t(4,p)})}return n.$$set=L=>{"key"in L&&t(0,l=L.key),"value"in L&&t(9,s=L.value),"name"in L&&t(1,u=L.name),"bindings"in L&&t(2,c=L.bindings),"nested"in L&&t(3,f=L.nested)},n.$$.update=()=>{n.$$.dirty&512&&t(10,r=s==null?void 0:s.length),n.$$.dirty&1024&&t(6,i=`${r||"No"} action${r!==1?"s":""} set`)},[l,u,c,f,p,h,i,g,b,s,r,k,S]}class Xre extends He{constructor(e){super(),Be(this,e,Gst,Wst,De,{key:0,value:9,name:1,bindings:2,nested:3})}}function Yst(n){var r;let e,t;return e=new vn({props:{value:(r=n[0])==null?void 0:r.tableId,options:n[1],getOptionValue:Kst,getOptionLabel:Xst}}),e.$on("change",n[2]),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,[a]){var l;const o={};a&1&&(o.value=(l=i[0])==null?void 0:l.tableId),a&2&&(o.options=i[1]),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){O(e,i)}}}const Kst=n=>n.tableId,Xst=n=>n.label;function Jst(n,e,t){let r,i;Pe(n,ti,s=>t(3,i=s));let{value:a}=e;const o=Nn(),l=s=>{const u=r==null?void 0:r.find(c=>c.tableId===s.detail);o("change",u)};return n.$$set=s=>{"value"in s&&t(0,a=s.value)},n.$$.update=()=>{n.$$.dirty&8&&t(1,r=i.list.map(s=>({label:s.name,tableId:s._id,type:"table"})))},[a,r,l,i]}class Qst extends He{constructor(e){super(),Be(this,e,Jst,Yst,De,{value:0})}}function Zst(n){let e,t;return e=new h5({props:{value:n[0],spectrumTheme:n[1].theme}}),e.$on("change",n[2]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&1&&(a.value=r[0]),i&2&&(a.spectrumTheme=r[1].theme),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function e0t(n,e,t){let r;Pe(n,Gt,o=>t(1,r=o));let{value:i}=e;function a(o){An.call(this,n,o)}return n.$$set=o=>{"value"in o&&t(0,i=o.value)},[i,r,a]}class IC extends He{constructor(e){super(),Be(this,e,e0t,Zst,De,{value:0})}}const sU={Buildings:{home:["house","\u623F\u5B50","\u5BB6","\u4E3B\u9875"],"home-2":["house","\u623F\u5B50","\u5BB6","\u4E3B\u9875"],"home-3":["house","\u623F\u5B50","\u5BB6","\u4E3B\u9875"],"home-4":["house","\u623F\u5B50","\u5BB6","\u4E3B\u9875"],"home-5":["house","\u623F\u5B50","\u5BB6","\u4E3B\u9875"],"home-6":["house","\u623F\u5B50","\u5BB6","\u4E3B\u9875"],"home-7":["house","\u623F\u5B50","\u5BB6","\u4E3B\u9875"],"home-8":["house","\u623F\u5B50","\u5BB6","\u4E3B\u9875"],"home-gear":["house","\u623F\u5B50","\u5DE5\u5382"],"home-wifi":["smart home","\u623F\u5B50","\u5BB6\u5177","\u667A\u80FD\u5BB6\u5C45"],"home-smile":["house","smart home","smile","\u623F\u5B50","\u667A\u80FD\u5BB6\u5C45","\u5FAE\u7B11"],"home-smile-2":["house","smart home","smile","\u623F\u5B50","\u667A\u80FD\u5BB6\u5C45","\u5FAE\u7B11"],"home-heart":["house","\u5FC3","\u623F\u5B50","\u5BB6","\u4E3B\u9875","\u5B64\u513F\u9662"],building:["city","office","enterprise","\u5EFA\u7B51","\u57CE\u5E02","\u697C","\u529E\u516C\u697C","\u5199\u5B57\u697C","\u4F01\u4E1A"],"building-2":["city","office","construction","enterprise","\u57CE\u5E02","\u5EFA\u7B51","\u697C","\u4F01\u4E1A"],"building-3":["factory","plant","enterprise","\u5DE5\u5382","\u5EFA\u7B51","\u697C","\u4F01\u4E1A"],"building-4":["city","office","enterprise","\u5EFA\u7B51","\u57CE\u5E02","\u697C","\u529E\u516C\u697C","\u5199\u5B57\u697C","\u4F01\u4E1A"],hotel:["building","hotel","office","enterprise","tavern","\u5EFA\u7B51","\u9152\u5E97","\u697C","\u529E\u516C\u697C","\u5199\u5B57\u697C","\u4F01\u4E1A"],community:["building","hotel","\u793E\u533A","\u5EFA\u7B51","\u9152\u5E97"],government:["building","\u653F\u5E9C","\u5EFA\u7B51","\u5927\u4F1A\u5802"],bank:["bank","finance","savings","banking","\u94F6\u884C","\u4EA4\u6613\u6240"],store:["shop","mall","supermarket","\u5546\u5E97","\u8D85\u5E02","\u5E97\u94FA","\u5546\u5BB6"],"store-2":["shop","mall","supermarket","\u5546\u5E97","\u8D85\u5E02","\u5E97\u94FA","\u5546\u5BB6"],"store-3":["shop","mall","supermarket","\u5546\u5E97","\u8D85\u5E02","\u5E97\u94FA","\u5546\u5BB6"],hospital:["medical","health","\u533B\u9662"],"ancient-gate":["historical","genre","scenic","trip","travel","\u65C5\u884C","\u65C5\u6E38","\u57CE\u95E8","\u53E4\u4EE3","\u5386\u53F2","\u666F\u533A"],"ancient-pavilion":["historical","genre","scenic","trip","travel","\u65C5\u884C","\u65C5\u6E38","\u51C9\u4EAD","\u53E4\u4EE3","\u5386\u53F2","\u666F\u533A"]},Business:{mail:["envelope","email","inbox","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u6536\u4EF6\u7BB1"],"mail-open":["envelope","email","inbox","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u6536\u4EF6\u7BB1"],"mail-send":["envelope","email","inbox","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u53D1\u9001","\u53D1\u4EF6\u7BB1"],"mail-unread":["envelope","email","inbox","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u672A\u8BFB"],"mail-add":["envelope","email","inbox","add","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u65B0\u589E","\u6DFB\u52A0"],"mail-check":["envelope","email","inbox","read","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u5DF2\u8BFB"],"mail-close":["envelope","email","inbox","failed","x","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u5931\u8D25"],"mail-download":["envelope","email","inbox","download","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u4E0B\u8F7D"],"mail-forbid":["envelope","email","inbox","privacy","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u7981\u6B62"],"mail-lock":["envelope","email","inbox","lock","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u52A0\u5BC6"],"mail-settings":["envelope","email","inbox","settings","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u8BBE\u7F6E"],"mail-star":["envelope","email","inbox","favorite","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u6536\u85CF","\u559C\u6B22"],"mail-volume":["envelope","email","inbox","promotional email","email campaign","subscription","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u6536\u4EF6\u7BB1","\u63A8\u5E7F","\u8BA2\u9605"],inbox:["\u6536\u4EF6\u7BB1"],"inbox-archive":["\u6536\u4EF6\u7BB1","\u5F52\u6863","\u6536\u7EB3"],"inbox-unarchive":["unzip","unpack","extract","\u6536\u4EF6\u7BB1","\u53D6\u6D88\u5F52\u6863","\u8FD8\u539F","\u89E3\u538B\u7F29"],cloud:["weather","\u4E91\u7AEF"],"cloud-off":["offline-mode","connection-fail","slash","weather","\u4E91\u7AEF","\u65AD\u7F51","\u65E0\u4FE1\u53F7","\u8FDE\u63A5\u5931\u8D25"],attachment:["annex","paperclip","\u9644\u4EF6","\u66F2\u522B\u9488"],profile:["id","\u6863\u6848","\u8D44\u6599","\u8EAB\u4EFD\u8BC1","\u8BC1\u4EF6"],archive:["box","\u6536\u7EB3","\u5F52\u6863","\u5B58\u6863","\u76D2\u5B50","\u7EB8\u7BB1"],"archive-drawer":["night table","\u6536\u7EB3","\u62BD\u5C49","\u5F52\u6863","\u5B58\u6863","\u5E8A\u5934\u67DC"],at:["@","mention","\u63D0\u5230","\u5728"],award:["medal","achievement","badge","\u6210\u5C31","\u5956\u724C","\u91D1\u724C","\u52CB\u7AE0"],medal:["award","achievement","badge","\u6210\u5C31","\u5956\u724C","\u91D1\u724C","\u52CB\u7AE0"],"medal-2":["award","achievement","badge","\u6210\u5C31","\u5956\u724C","\u91D1\u724C","\u52CB\u7AE0"],"bar-chart":["statistics","rhythm","\u67F1\u72B6\u56FE","\u7EDF\u8BA1","\u97F5\u5F8B","\u8282\u594F"],"bar-chart-horizontal":["statistics","rhythm","\u67F1\u72B6\u56FE","\u7EDF\u8BA1","\u97F5\u5F8B","\u8282\u594F"],"bar-chart-2":["statistics","rhythm","\u67F1\u72B6\u56FE","\u7EDF\u8BA1","\u6392\u884C","\u8282\u594F"],"bar-chart-box":["statistics","rhythm","\u67F1\u72B6\u56FE","\u7EDF\u8BA1","\u8282\u594F"],"bar-chart-grouped":["statistics","rhythm","\u67F1\u72B6\u56FE","\u7EDF\u8BA1","\u5206\u7EC4"],"bubble-chart":["data","analysis","statistics","\u6C14\u6CE1\u56FE","\u7EDF\u8BA1"],"pie-chart":["data","analysis","\u997C\u56FE","\u997C\u72B6\u56FE","\u6570\u636E","\u5206\u6790"],"pie-chart-2":["data","analysis","\u997C\u56FE","\u997C\u72B6\u56FE","\u6570\u636E","\u5206\u6790"],"pie-chart-box":["data","analysis","\u997C\u56FE","\u997C\u72B6\u56FE","\u6570\u636E","\u5206\u6790"],"donut-chart":["data","analysis","\u73AF\u5F62\u56FE","\u6570\u636E","\u5206\u6790"],"line-chart":["data","analysis","stats","\u6298\u7EBF\u56FE","\u6570\u636E","\u5206\u6790"],bookmark:["tag","\u4E66\u7B7E","\u6807\u8BB0"],"bookmark-2":["tag","\u4E66\u7B7E","\u6807\u8BB0"],"bookmark-3":["tag","\u4E66\u7B7E","\u6807\u8BB0","\u8363\u8A89"],briefcase:["bag","baggage","\u516C\u6587\u5305","\u884C\u674E\u7BB1","\u65C5\u884C\u7BB1","\u76AE\u5305"],"briefcase-2":["bag","baggage","\u516C\u6587\u5305","\u884C\u674E\u7BB1","\u65C5\u884C\u7BB1","\u76AE\u5305"],"briefcase-3":["bag","baggage","\u516C\u6587\u5305","\u884C\u674E\u7BB1","\u65C5\u884C\u7BB1","\u76AE\u5305"],"briefcase-4":["bag","baggage","\u516C\u6587\u5305","\u884C\u674E\u7BB1","\u65C5\u884C\u7BB1","\u76AE\u5305"],"briefcase-5":["bag","baggage","\u516C\u6587\u5305","\u884C\u674E\u7BB1","\u65C5\u884C\u7BB1","\u76AE\u5305"],calculator:["\u8BA1\u7B97\u5668","\u8BA1\u7B97\u673A"],calendar:["date","plan","schedule","agenda","\u65E5\u5386","\u65E5\u671F","\u6708\u4EFD","\u8BA1\u5212","\u65E5\u7A0B","\u65F6\u95F4\u8868"],"calendar-2":["date","plan","schedule","agenda","\u65E5\u5386","\u65E5\u671F","\u6708\u4EFD","\u8BA1\u5212","\u65E5\u7A0B","\u65F6\u95F4\u8868"],"calendar-event":["date","plan","schedule","agenda","\u65E5\u5386","\u65E5\u671F","\u6708\u4EFD","\u8BA1\u5212","\u65E5\u7A0B","\u65F6\u95F4\u8868"],"calendar-todo":["date","plan","schedule","agenda","\u65E5\u5386","\u65E5\u671F","\u6708\u4EFD","\u8BA1\u5212","\u65E5\u7A0B","\u65F6\u95F4\u8868"],"calendar-check":["date","plan","schedule","agenda","check-in","punch","\u65E5\u5386","\u65E5\u671F","\u6708\u4EFD","\u8BA1\u5212","\u65E5\u7A0B","\u65F6\u95F4\u8868","\u7B7E\u5230","\u6253\u5361"],"customer-service":["headset","\u5BA2\u670D","\u552E\u540E","\u8033\u673A","\u8033\u9EA6"],"customer-service-2":["headset","\u5BA2\u670D","\u552E\u540E","\u8033\u673A","\u8033\u9EA6"],flag:["banner","pin","\u65D7\u5E1C","\u65D7\u5B50","\u56FD\u65D7","\u6807\u8BB0"],"flag-2":["banner","pin","\u65D7\u5E1C","\u65D7\u5B50","\u56FD\u65D7","\u6807\u8BB0"],global:["earth","union","world","language","\u5730\u7403","\u8054\u5408","\u4E16\u754C","\u5168\u7403","\u8BED\u8A00"],honour:["honor","glory","\u9526\u65D7","\u8363\u8A89","\u8363\u8000","\u519B\u8854"],links:["connection","address","\u8054\u7CFB","\u94FE\u63A5","\u5730\u5740"],printer:["\u6253\u5370\u673A"],"printer-cloud":["\u6253\u5370\u673A","\u4E91\u6253\u5370"],"record-mail":["voice mail","tape","\u5F55\u97F3","\u7559\u8A00","\u8BED\u97F3\u4FE1\u7BB1","\u78C1\u5E26"],reply:["forward","\u56DE\u590D\u5168\u90E8","\u56DE\u590D\u6240\u6709"],"reply-all":["forward","\u56DE\u590D","\u7B54\u590D","\u7559\u8A00","\u8F6C\u53D1"],"send-plane":["\u53D1\u9001","\u7EB8\u98DE\u673A"],"send-plane-2":["\u53D1\u9001","\u7EB8\u98DE\u673A"],projector:["projection","meeting","\u6295\u5F71\u4EEA","\u4F1A\u8BAE\u5BA4"],"projector-2":["projection","meeting","\u6295\u5F71\u4EEA","\u4F1A\u8BAE\u5BA4","\u6781\u7C73"],slideshow:["presentation","meeting","PPT","keynote","\u6295\u5F71","\u653E\u6620","\u6F14\u793A","\u6F14\u8BB2","\u5E7B\u706F\u7247","\u4F1A\u8BAE\u5BA4"],"slideshow-2":["presentation","meeting","\u6295\u5F71","\u653E\u6620","\u6F14\u793A","\u6F14\u8BB2","\u5E7B\u706F\u7247","\u4F1A\u8BAE\u5BA4"],"slideshow-3":["presentation","meeting","\u6295\u5F71","\u653E\u6620","\u6F14\u793A","\u6F14\u8BB2","\u89C6\u9891\u4F1A\u8BAE","\u5E7B\u706F\u7247","\u4F1A\u8BAE\u5BA4"],"slideshow-4":["presentation","meeting","\u6295\u5F71","\u653E\u6620","\u6F14\u793A","\u6F14\u8BB2","\u53EF\u89C6\u5BF9\u8BB2","\u5E7B\u706F\u7247","\u4F1A\u8BAE\u5BA4"],window:["browser","program","web","\u7A97\u53E3","\u6D4F\u89C8\u5668","\u7A0B\u5E8F","\u7F51\u7AD9"],"window-2":["browser","program","web","\u7A97\u53E3","\u6D4F\u89C8\u5668","\u7A0B\u5E8F","\u7F51\u7AD9"],stack:["layers","\u56FE\u5C42","\u53E0\u52A0","\u5806\u6808"],service:["heart","handshake","cooperation","\u670D\u52A1","\u63E1\u624B","\u5FC3","\u5408\u4F5C"],registered:["\u6CE8\u518C","\u5546\u6807"],trademark:["\u6CE8\u518C","\u5546\u6807"],advertisement:["ad","\u5E7F\u544A","\u63A8\u5E7F"],copyleft:["\u8457\u4F50\u6743"],copyright:["\u7248\u6743"],"creative-commons":["\u77E5\u8BC6\u5171\u4EAB"],"creative-commons-by":["attribution","copyright","\u7248\u6743","\u77E5\u8BC6\u5171\u4EAB","\u7F72\u540D"],"creative-commons-nc":["noncommercial","copyright","\u7248\u6743","\u77E5\u8BC6\u5171\u4EAB","\u975E\u5546\u4E1A\u7528\u9014"],"creative-commons-nd":["no derivative works","copyright","\u7248\u6743","\u77E5\u8BC6\u5171\u4EAB","\u7981\u6B62\u6F14\u7ECE"],"creative-commons-sa":["share alike","copyright","\u7248\u6743","\u77E5\u8BC6\u5171\u4EAB","\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB"],"creative-commons-zero":["cc0","copyright","\u7248\u6743","\u77E5\u8BC6\u5171\u4EAB"]},Communication:{"chat-1":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"chat-2":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"chat-3":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"chat-4":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],message:["chat","comment","reply","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"message-2":["chat","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"message-3":["chat","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"chat-check":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA","\u5DF2\u9605"],"chat-delete":["message","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA","\u6E05\u9664","\u5220\u9664"],"chat-forward":["message","comment","\u6D88\u606F","\u804A\u5929","\u8F6C\u53D1"],"chat-upload":["message","comment","\u6D88\u606F","\u804A\u5929","\u4E0A\u4F20"],"chat-download":["message","comment","\u6D88\u606F","\u4E0B\u8F7D"],"chat-new":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"chat-settings":["message","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA","\u8BBE\u7F6E"],"chat-smile":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"chat-smile-2":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"chat-smile-3":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"chat-heart":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA","\u5FC3","\u70B9\u8D5E","\u6536\u85CF"],"chat-off":["message","reply","comment","slash","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA","\u7981\u6B62","\u5173\u95ED"],feedback:["message","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA","\u53CD\u9988"],discuss:["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA","\u8BA8\u8BBA","\u7FA4\u804A"],"question-answer":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA","\u8BA8\u8BBA","\u7FA4\u804A"],questionnaire:["message","comment","help","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA","\u8BA8\u8BBA","\u8C03\u67E5\u95EE\u5377","\u5E2E\u52A9"],"video-chat":["message","comment","\u6D88\u606F","\u89C6\u9891\u804A\u5929"],"chat-voice":["message","comment","\u6D88\u606F","\u8BED\u97F3\u6D88\u606F"],"chat-quote":["message","reply","comment","\u6D88\u606F","\u5F15\u7528\u56DE\u590D"],"chat-follow-up":["message","reply","comment","\u6D88\u606F","+1","\u8DDF\u5E16"],"chat-poll":["message","vote","questionnaire","\u6D88\u606F","\u6295\u7968","\u95EE\u5377\u8C03\u67E5"],"chat-history":["message","\u5386\u53F2\u6D88\u606F","\u6D88\u606F\u8BB0\u5F55"],"chat-private":["message","\u79C1\u5BC6\u6D88\u606F","\u5BC6\u804A"]},Design:{pencil:["edit","\u94C5\u7B14","\u7F16\u8F91"],edit:["pencil","\u94C5\u7B14","\u7F16\u8F91"],"edit-2":["pencil","\u94C5\u7B14","\u7F16\u8F91"],"ball-pen":["\u5706\u73E0\u7B14"],"quill-pen":["\u7FBD\u6BDB\u7B14","\u94A2\u7B14","\u7F16\u8F91"],"pen-nib":["\u94A2\u7B14","\u7B14\u5C16"],"ink-bottle":["\u58A8\u6C34\u74F6"],"mark-pen":["\u9A6C\u514B\u7B14"],markup:["\u6807\u8BB0","\u9A6C\u514B"],"edit-box":["\u7F16\u8F91"],"edit-circle":["\u7F16\u8F91"],sip:["\u5438\u7BA1","\u53D6\u8272\u5668"],brush:["\u7B14\u5237","\u753B\u7B14","\u5237\u5B50"],"brush-2":["\u5237\u5B50"],"brush-3":["\u5237\u5B50"],"brush-4":["\u5237\u5B50"],"paint-brush":["\u586B\u8272","\u586B\u5145","\u5237\u5B50"],contrast:["brightness","tonalit","\u5BF9\u6BD4\u5EA6","\u4EAE\u5EA6","\u8272\u8C03"],"contrast-2":["moon","dark","brightness","tonalit","\u6708\u4EAE","\u591C\u95F4","\u5BF9\u6BD4\u5EA6","\u4EAE\u5EA6","\u8272\u8C03"],drop:["water","blur","\u6A21\u7CCA","\u6C34","\u6EF4"],"blur-off":["water","drop","slash","\u6A21\u7CCA","\u6C34","\u6EF4","\u7981\u6B62","\u5173\u95ED"],"contrast-drop":["water","brightness","tonalit","\u6C34","\u5BF9\u6BD4\u5EA6","\u4EAE\u5EA6","\u8272\u8C03","\u6EF4"],"contrast-drop-2":["water","brightness","tonalit","\u6C34","\u5BF9\u6BD4\u5EA6","\u4EAE\u5EA6","\u8272\u8C03","\u6EF4"],compasses:["\u5706\u89C4"],"compasses-2":["\u5706\u89C4"],scissors:["\u526A\u5200","\u88C1\u526A"],"scissors-cut":["\u526A\u5200","\u88C1\u526A"],"scissors-2":["\u526A\u5200","\u88C1\u526A","\u622A\u5C4F"],slice:["knife","\u5207\u56FE","\u5207\u7247","\u5200"],eraser:["remove formatting","\u6A61\u76AE","\u64E6\u9664","\u6E05\u9664\u683C\u5F0F"],ruler:["\u5C3A\u5B50"],"ruler-2":["\u5C3A\u5B50"],"pencil-ruler":["design","\u94C5\u7B14","\u5C3A\u5B50","\u6587\u5177","\u8BBE\u8BA1"],"pencil-ruler-2":["design","\u94C5\u7B14","\u5C3A\u5B50","\u6587\u5177","\u8BBE\u8BA1"],"t-box":["\u6587\u5B57","\u5B57\u4F53","\u5B57\u53F7"],"input-method":["\u8F93\u5165\u6CD5","\u6587\u5B57"],artboard:["grid","crop","\u753B\u677F","\u88C1\u5207"],"artboard-2":["\u753B\u677F"],crop:["\u88C1\u5207"],"crop-2":["\u88C1\u5207"],screenshot:["capture","\u5C4F\u5E55\u622A\u56FE","\u622A\u5C4F"],"screenshot-2":["capture","\u5C4F\u5E55\u622A\u56FE","\u622A\u5C4F"],"drag-move":["arrow","\u62D6\u62FD","\u79FB\u52A8","\u7BAD\u5934"],"drag-move-2":["arrow","\u62D6\u62FD","\u79FB\u52A8","\u7BAD\u5934"],focus:["aim","target","\u7126\u70B9","\u805A\u7126","\u76EE\u6807","\u9776\u5FC3"],"focus-2":["aim","target","bullseye","\u7126\u70B9","\u805A\u7126","\u76EE\u6807","\u9776\u5FC3"],"focus-3":["aim","target","bullseye","\u7126\u70B9","\u805A\u7126","\u76EE\u6807","\u9776\u5FC3"],paint:["\u586B\u8272","\u586B\u5145","\u6CB9\u6F06\u6876"],palette:["\u8C03\u8272\u76D8","\u8272\u677F"],pantone:["\u8272\u677F","\u6F58\u901A\u8272","\u8272\u53F7"],shape:["border","\u5F62\u72B6","\u63CF\u8FB9","\u8FB9\u6846"],"shape-2":["border","\u5F62\u72B6","\u63CF\u8FB9","\u8FB9\u6846"],magic:["fantasy","magic stick","beautify","\u9B54\u6CD5\u68D2","\u7F8E\u5316","\u5E7B\u60F3","\u9B54\u5E7B"],anticlockwise:["rotate","left","\u5DE6\u7FFB\u8F6C","\u5DE6\u65CB\u8F6C"],"anticlockwise-2":["rotate","left","\u5DE6\u7FFB\u8F6C","\u5DE6\u65CB\u8F6C"],clockwise:["rotate","right","\u53F3\u7FFB\u8F6C","\u53F3\u65CB\u8F6C"],"clockwise-2":["rotate","right","\u53F3\u7FFB\u8F6C","\u53F3\u65CB\u8F6C"],hammer:["\u9524\u5B50"],tools:["settings","\u5DE5\u5177","\u8BBE\u7F6E"],"drag-drop":["drag and drop","mouse","\u62D6\u62FD","\u9F20\u6807"],table:["\u8868\u683C"],"table-alt":["\u8868\u683C"],layout:["\u5E03\u5C40"],"layout-2":["collage","\u5E03\u5C40","\u62FC\u8D34\u753B"],"layout-3":["collage","\u5E03\u5C40","\u62FC\u8D34\u753B"],"layout-4":["collage","\u5E03\u5C40","\u62FC\u8D34\u753B"],"layout-5":["collage","\u5E03\u5C40","\u62FC\u8D34\u753B"],"layout-6":["collage","\u5E03\u5C40","\u62FC\u8D34\u753B"],"layout-column":["\u5DE6\u53F3\u5E03\u5C40"],"layout-row":["\u4E0A\u4E0B\u5E03\u5C40"],"layout-top":["\u9876\u90E8\u5E03\u5C40","\u9876\u90E8\u5BFC\u822A"],"layout-right":["\u53F3\u4FA7\u5E03\u5C40","\u53F3\u4FA7\u5BFC\u822A"],"layout-bottom":["\u5E95\u90E8\u5E03\u5C40","\u5E95\u90E8\u5BFC\u822A"],"layout-left":["\u5DE6\u4FA7\u5E03\u5C40","\u5DE6\u4FA7\u5BFC\u822A"],"layout-top-2":["\u9876\u90E8\u5E03\u5C40","\u9876\u90E8\u5BFC\u822A"],"layout-right-2":["\u53F3\u4FA7\u5E03\u5C40","\u53F3\u4FA7\u5BFC\u822A"],"layout-bottom-2":["\u5E95\u90E8\u5E03\u5C40","\u5E95\u90E8\u5BFC\u822A"],"layout-left-2":["\u5DE6\u4FA7\u5E03\u5C40","\u5DE6\u4FA7\u5BFC\u822A"],"layout-grid":["\u5361\u7247\u5E03\u5C40","\u7F51\u683C"],"layout-masonry":["collage","\u7011\u5E03\u6D41\u5E03\u5C40","\u62FC\u8D34\u753B"],collage:["\u7011\u5E03\u6D41\u5E03\u5C40","\u62FC\u8D34\u753B"],grid:["table","\u7F51\u683C","\u8868\u683C"]},Development:{bug:["\u866B\u5B50"],"bug-2":["\u866B\u5B50"],code:["\u4EE3\u7801","\u7F16\u7A0B"],"code-s":["\u4EE3\u7801","\u7F16\u7A0B"],"code-s-slash":["\u4EE3\u7801","\u7F16\u7A0B"],"code-box":["\u4EE3\u7801","\u7F16\u7A0B"],"terminal-box":["code","command line","\u7EC8\u7AEF","\u4EE3\u7801","\u547D\u4EE4\u884C"],terminal:["code","command line","\u7EC8\u7AEF","\u4EE3\u7801","\u547D\u4EE4\u884C"],"terminal-window":["code","command line","\u7EC8\u7AEF","\u4EE3\u7801","\u547D\u4EE4\u884C"],parentheses:["code","math","\u5C0F\u62EC\u53F7"],brackets:["code","math","\u4E2D\u62EC\u53F7"],braces:["code","math","\u5927\u62EC\u53F7","\u82B1\u62EC\u53F7"],command:["apple key","\u82B1\u952E","\u82F9\u679C\u952E"],cursor:["mouse","\u6307\u9488","\u9F20\u6807"],"git-commit":["node","\u63D0\u4EA4"],"git-pull-request":["\u5408\u5E76\u7533\u8BF7"],"git-merge":["\u5408\u5E76"],"git-branch":["\u5206\u652F"],"git-repository":["\u4ED3\u5E93"],"git-repository-commits":["\u4ED3\u5E93","\u63D0\u4EA4"],"git-repository-private":["\u79C1\u5BC6\u4ED3\u5E93","\u79C1\u4EBA\u4ED3\u5E93"],html5:["html","h5"],css3:["css"]},Device:{tv:["\u7535\u89C6"],"tv-2":["monitor","\u7535\u89C6","\u663E\u793A\u5668"],computer:["monitor","\u7535\u8111","\u663E\u793A\u5668"],mac:["monitor","\u663E\u793A\u5668"],macbook:["laptop","\u7B14\u8BB0\u672C"],cellphone:["\u624B\u673A","\u7535\u8BDD"],smartphone:["mobile","\u624B\u673A"],tablet:["\u5E73\u677F\u7535\u8111"],device:["\u8BBE\u5907"],phone:["\u7535\u8BDD"],database:["storage","\u6570\u636E\u5E93","\u5B58\u50A8"],"database-2":["storage","\u6570\u636E\u5E93","\u5B58\u50A8"],server:["\u670D\u52A1\u5668"],"hard-drive":["disc","storage","\u786C\u76D8","\u5B58\u50A8"],"hard-drive-2":["disc","server","storage","\u786C\u76D8","\u670D\u52A1\u5668","\u5B58\u50A8"],install:["\u5B89\u88C5"],uninstall:["\u5378\u8F7D"],save:["floppy","\u4FDD\u5B58","\u8F6F\u76D8"],"save-2":["floppy","\u4FDD\u5B58","\u8F6F\u76D8"],"save-3":["floppy","\u4FDD\u5B58","\u8F6F\u76D8"],"sd-card":["\u5185\u5B58\u5361"],"sd-card-mini":["\u5185\u5B58\u5361"],"sim-card":["\u7535\u8BDD\u5361"],"sim-card-2":["\u7535\u8BDD\u5361"],"dual-sim-1":["sim card","\u7535\u8BDD\u5361","\u5361\u69FD","\u53CC\u5361\u53CC\u5F85"],"dual-sim-2":["sim card","\u7535\u8BDD\u5361","\u5361\u69FD","\u53CC\u5361\u53CC\u5F85"],"u-disk":["U\u76D8","\u4F18\u76D8"],battery:["\u7535\u6C60"],"battery-charge":["\u7535\u6C60","\u5145\u7535"],"battery-low":["\u7535\u6C60","\u4F4E\u7535\u91CF"],"battery-2":["\u7535\u6C60"],"battery-2-charge":["\u7535\u6C60","\u5145\u7535"],"battery-saver":["\u7535\u6C60","\u7701\u7535\u6A21\u5F0F"],"battery-share":["\u7535\u6C60\u5171\u4EAB","\u5171\u4EAB\u7535\u91CF"],cast:["mirroring","\u6295\u5C4F","\u65E0\u7EBF","\u5E7F\u64AD"],airplay:["mirroring","\u6295\u5C4F","\u65E0\u7EBF"],cpu:["\u4E2D\u592E\u5904\u7406\u5668"],gradienter:["\u6C34\u5E73\u4EEA"],keyboard:["input","\u952E\u76D8","\u8F93\u5165"],"keyboard-box":["input","\u952E\u76D8","\u8F93\u5165"],mouse:["\u9F20\u6807"],sensor:["capacitor","\u4F20\u611F\u5668","\u7535\u5BB9\u5668"],router:["wifi","signal tower","radio","station","\u8DEF\u7531\u5668","\u4FE1\u53F7\u5854","\u5E7F\u64AD","\u57FA\u7AD9","\u6D41\u91CF"],radar:["satellite receiver","\u96F7\u8FBE","\u536B\u661F\u63A5\u6536\u5668","\u9505"],gamepad:["consoles","controller","\u6E38\u620F\u624B\u67C4"],"remote-control":["controller","\u9065\u63A7\u5668"],"remote-control-2":["controller","\u9065\u63A7\u5668"],"device-recover":["\u6062\u590D\u51FA\u5382\u8BBE\u7F6E"],hotspot:["\u624B\u673A\u70ED\u70B9"],"phone-find":["\u627E\u56DE\u624B\u673A"],"phone-lock":["\u9501\u5B9A\u624B\u673A"],"rotate-lock":["\u9501\u5B9A\u65CB\u8F6C\u5C4F\u5E55"],restart:["reload","refresh","\u91CD\u542F"],"shut-down":["power off","\u5173\u673A"],fingerprint:["\u6307\u7EB9"],"fingerprint-2":["\u6307\u7EB9"],barcode:["scan","\u626B\u7801","\u6761\u5F62\u7801","\u6761\u7801"],"barcode-box":["scan","\u626B\u7801","\u6761\u5F62\u7801","\u6761\u7801"],"qr-code":["\u4E8C\u7EF4\u7801"],"qr-scan":["\u4E8C\u7EF4\u7801","\u626B\u63CF"],"qr-scan-2":["\u4E8C\u7EF4\u7801","\u626B\u63CF"],scan:["\u626B\u63CF"],"scan-2":["\u626B\u63CF"],rss:["feed","subscribe","\u8BA2\u9605"],gps:["signal","\u5B9A\u4F4D","\u4FE1\u53F7"],"base-station":["wifi","signal tower","router","cast","\u57FA\u7AD9","\u4FE1\u53F7\u5854","\u8DEF\u7531\u5668","\u5E7F\u64AD","\u6D41\u91CF"],bluetooth:["wireless","\u84DD\u7259","\u65E0\u7EBF"],"bluetooth-connect":["wireless","\u84DD\u7259","\u8FDE\u63A5","\u65E0\u7EBF"],wifi:["\u65E0\u7EBF\u7F51"],"wifi-off":["slash","offline","connection-fail","\u65E0\u7EBF\u7F51","\u5173\u95ED","\u65AD\u7F51","\u94FE\u63A5\u5931\u8D25"],"signal-wifi":["cellular","strength","\u65E0\u7EBF\u7F51","\u4FE1\u53F7"],"signal-wifi-1":["cellular","strength","\u65E0\u7EBF\u7F51","\u4FE1\u53F7"],"signal-wifi-2":["cellular","strength","\u65E0\u7EBF\u7F51","\u4FE1\u53F7"],"signal-wifi-3":["cellular","strength","\u65E0\u7EBF\u7F51","\u4FE1\u53F7"],"signal-wifi-error":["cellular","offline","connection-fail","\u65E0\u7EBF\u7F51","\u65AD\u7F51","\u94FE\u63A5\u5931\u8D25","\u65E0\u4FE1\u53F7"],"signal-wifi-off":["cellular","slash","offline","connection-fail","\u65E0\u7EBF\u7F51","\u5173\u95ED","\u65AD\u7F51","\u94FE\u63A5\u5931\u8D25"],"wireless-charging":["power","flash","\u65E0\u7EBF\u5145\u7535","\u95EA\u5145"],"dashboard-2":["\u4EEA\u8868\u76D8"],"dashboard-3":["\u4EEA\u8868\u76D8"],usb:["\u4F18\u76D8"]},Document:{file:["new","paper","\u6587\u4EF6","\u6587\u6863","\u65B0\u5EFA"],"file-2":["new","paper","\u6587\u4EF6","\u6587\u6863","\u65B0\u5EFA"],"file-3":["new","paper","\u6587\u4EF6","\u6587\u6863","\u65B0\u5EFA"],"file-4":["new","paper","\u6587\u4EF6","\u6587\u6863","\u65B0\u5EFA"],"sticky-note":["new","paper","\u6587\u4EF6","\u6587\u6863","\u65B0\u5EFA","\u4FBF\u7B7E\u7EB8","\u4FBF\u5229\u8D34"],"sticky-note-2":["new","paper","\u6587\u4EF6","\u6587\u6863","\u65B0\u5EFA","\u4FBF\u7B7E\u7EB8","\u4FBF\u5229\u8D34"],"file-edit":["\u6587\u4EF6","\u6587\u6863","\u7F16\u8F91"],draft:["\u8349\u7A3F\u7BB1","\u6587\u4EF6","\u6587\u6863","\u7F16\u8F91"],"file-paper":["\u6587\u4EF6","\u6587\u6863","\u7EB8","\u8C31"],"file-paper-2":["\u6587\u4EF6","\u6587\u6863","\u7EB8","\u8C31"],"file-text":["\u6587\u4EF6","\u6587\u6863","\u6587\u672C"],"file-list":["\u6E05\u5355","\u5217\u8868"],"file-list-2":["\u6E05\u5355","\u5217\u8868"],"file-list-3":["newspaper","\u6E05\u5355","\u5217\u8868","\u62A5\u7EB8"],bill:["\u8D26\u5355"],"file-copy":["duplicate","clone","\u590D\u5236","\u514B\u9686"],"file-copy-2":["duplicate","clone","\u590D\u5236","\u514B\u9686"],clipboard:["copy","\u590D\u5236","\u526A\u5207\u677F"],survey:["research","questionnaire","\u8C03\u67E5","\u95EE\u5377","\u8C03\u7814"],article:["newspaper","\u6587\u7AE0","\u62A5\u7EB8"],newspaper:["\u62A5\u7EB8"],"file-zip":["7z","rar","\u538B\u7F29\u5305"],"file-mark":["\u6587\u4EF6","\u6587\u6863","\u6807\u8BB0"],task:["todo","\u4EFB\u52A1","\u5F85\u529E"],todo:["\u5F85\u529E"],book:["read","dictionary","booklet","\u4E66","\u9605\u8BFB","\u5B57\u5178","\u5C0F\u518C\u5B50"],"book-mark":["read","dictionary","booklet","\u4E66","\u9605\u8BFB","\u5B57\u5178","\u5C0F\u518C\u5B50","\u4E66\u7B7E"],"book-2":["read","dictionary","booklet","\u4E66","\u9605\u8BFB","\u5B57\u5178","\u5C0F\u518C\u5B50"],"book-3":["read","dictionary","booklet","\u4E66","\u9605\u8BFB","\u5B57\u5178","\u5C0F\u518C\u5B50"],"book-open":["read","booklet","magazine","\u4E66","\u9605\u8BFB","\u5C0F\u518C\u5B50","\u6742\u5FD7"],"book-read":["booklet","magazine","\u4E66","\u9605\u8BFB","\u5C0F\u518C\u5B50","\u6742\u5FD7"],"contacts-book":["\u901A\u8BAF\u5F55","\u8054\u7CFB\u4EBA"],"contacts-book-2":["\u901A\u8BAF\u5F55","\u8054\u7CFB\u4EBA"],"contacts-book-upload":["upload","\u901A\u8BAF\u5F55","\u8054\u7CFB\u4EBA","\u4E0A\u4F20"],booklet:["notebook","\u624B\u518C","\u7B14\u8BB0\u672C","\u5C0F\u518C\u5B50"],"file-code":["config","\u6587\u4EF6","\u6587\u6863","\u4EE3\u7801","\u811A\u672C","\u914D\u7F6E\u6587\u4EF6"],"file-pdf":["\u6587\u4EF6","\u6587\u6863"],"file-word":["\u6587\u6863"],"file-ppt":["\u6587\u4EF6","\u6587\u6863"],"file-excel":["\u6587\u6863","\u8868\u5355"],"file-word-2":["\u6587\u6863"],"file-ppt-2":["\u6587\u4EF6","\u6587\u6863"],"file-excel-2":["\u6587\u6863","\u8868\u5355"],"file-hwp":["\u6587\u4EF6","\u6587\u6863","hangul word processor"],keynote:["\u6F14\u793A\u6587\u7A3F","\u5E7B\u706F\u7247","\u8BB2\u6F14"],numbers:["\u8868\u683C"],pages:["\u6587\u7A3F"],"file-search":["\u6587\u4EF6","\u6587\u6863","\u641C\u7D22"],"file-add":["new","\u6587\u4EF6","\u6587\u6863","\u65B0\u5EFA"],"file-reduce":["\u6587\u4EF6","\u6587\u6863","\u51CF"],"file-settings":["\u6587\u4EF6","\u6587\u6863","\u8BBE\u7F6E"],"file-upload":["\u6587\u4EF6","\u6587\u6863","\u4E0A\u4F20"],"file-transfer":["\u6587\u4EF6","\u6587\u6863","\u4F20\u8F93"],"file-download":["\u6587\u4EF6","\u6587\u6863","\u4E0B\u8F7D"],"file-lock":["\u6587\u4EF6","\u6587\u6863","\u9501"],"file-chart":["report","\u6587\u4EF6","\u6587\u6863","\u67F1\u72B6\u56FE","\u62A5\u8868"],"file-chart-2":["report","\u6587\u4EF6","\u6587\u6863","\u997C\u56FE","\u62A5\u8868"],"file-music":["\u6587\u4EF6","\u6587\u6863","\u97F3\u4E50"],"file-gif":["\u6587\u4EF6","\u6587\u6863","\u52A8\u56FE"],"file-forbid":["\u6587\u4EF6","\u6587\u6863","\u7981\u7528"],"file-info":["\u6587\u4EF6","\u6587\u6863","\u4FE1\u606F"],"file-warning":["alert","\u6587\u4EF6","\u6587\u6863","\u8B66\u544A","\u63D0\u9192"],"file-unknow":["\u6587\u4EF6","\u6587\u6863","\u672A\u77E5","\u95EE\u53F7"],"file-user":["\u6587\u4EF6","\u6587\u6863","\u7528\u6237"],"file-shield":["protected","secured","\u6587\u4EF6","\u6587\u6863","\u76FE\u724C","\u4FDD\u62A4","\u5B89\u5168"],"file-shield-2":["protected","secured","\u6587\u4EF6","\u6587\u6863","\u76FE\u724C","\u4FDD\u62A4","\u5B89\u5168"],"file-damage":["breakdown","broken","\u6587\u4EF6","\u6587\u6863","\u635F\u574F","\u7834\u635F","\u7834\u88C2"],"file-history":["record","\u6587\u4EF6","\u6587\u6863","\u8BB0\u5F55","\u5386\u53F2"],"file-shred":["shredder","shred","destroy","cut","\u6587\u6863","\u9500\u6BC1","\u788E\u7EB8\u673A","\u7834\u88C2","\u7C89\u788E"],"file-cloud":["\u6587\u4EF6","\u6587\u6863","\u4E91"],folder:["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863"],"folder-2":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863"],"folder-3":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863"],"folder-4":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863"],"folder-5":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863"],folders:["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u6279\u91CF"],"folder-add":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u6DFB\u52A0"],"folder-reduce":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u51CF"],"folder-settings":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u8BBE\u7F6E"],"folder-upload":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u4E0A\u4F20"],"folder-transfer":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u4F20\u8F93"],"folder-download":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u4E0B\u8F7D"],"folder-lock":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u9501"],"folder-chart":["report","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u67F1\u72B6\u56FE","\u62A5\u8868"],"folder-chart-2":["report","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u997C\u56FE","\u62A5\u8868"],"folder-music":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u97F3\u4E50"],"folder-forbid":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u7981\u7528"],"folder-info":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u4FE1\u606F"],"folder-warning":["alert","directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u8B66\u544A","\u63D0\u9192"],"folder-unknow":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u672A\u77E5"],"folder-user":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u7528\u6237"],"folder-shield":["directory","file","protected","secured","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u4FDD\u62A4","\u76FE\u724C","\u5B89\u5168"],"folder-shield-2":["directory","file","protected","secured","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u4FDD\u62A4","\u76FE\u724C","\u5B89\u5168"],"folder-shared":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u5206\u4EAB"],"folder-received":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u63A5\u6536"],"folder-open":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u6253\u5F00"],"folder-keyhole":["directory","encryption","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u6253\u5F00","\u52A0\u5BC6\u6587\u6863"],"folder-zip":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u6253\u5F00","\u538B\u7F29"],"folder-history":["directory","file","record","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u8BB0\u5F55","\u5386\u53F2"],markdown:["arrow","\u7BAD\u5934","\u4E0B"]},Editor:{bold:["\u52A0\u7C97"],italic:["\u659C\u4F53"],heading:["\u6807\u9898"],text:["\u5B57\u4F53"],"font-color":["\u6587\u5B57\u8272"],"font-size":["\u5B57\u53F7","\u5B57\u4F53\u5927\u5C0F"],"font-size-2":["\u5B57\u53F7","\u5B57\u4F53\u5927\u5C0F"],underline:["\u4E0B\u5212\u7EBF"],emphasis:["\u7740\u91CD\u53F7"],"emphasis-cn":["\u7740\u91CD\u53F7"],strikethrough:["remove formatting","\u5220\u9664\u7EBF"],"strikethrough-2":["remove formatting","\u5220\u9664\u7EBF"],"format-clear":["remove formatting","\u6E05\u9664\u683C\u5F0F"],"align-left":["\u5DE6\u5BF9\u9F50"],"align-center":["\u5C45\u4E2D\u5BF9\u9F50"],"align-right":["\u53F3\u5BF9\u9F50"],"align-justify":["\u6392\u5217\u5BF9\u9F50"],"align-top":["\u9876\u90E8\u5BF9\u9F50"],"align-vertically":["\u5782\u76F4\u5BF9\u9F50"],"align-bottom":["\u5E95\u90E8\u5BF9\u9F50"],"list-check":["check list","\u6E05\u5355\u5217\u8868"],"list-check-2":["check list","\u6E05\u5355\u5217\u8868"],"list-ordered":["number list","\u6709\u5E8F\u5217\u8868"],"list-unordered":["bullet list","\u65E0\u5E8F\u5217\u8868"],"indent-decrease":["indent more","\u7F29\u8FDB"],"indent-increase":["indent less","\u7F29\u8FDB"],"line-height":["\u884C\u9AD8"],"text-spacing":["\u5B57\u95F4\u8DDD"],"text-wrap":["\u6587\u672C\u6362\u884C"],"attachment-2":["annex","paperclip","\u9644\u4EF6","\u66F2\u522B\u9488"],link:["connection","address","\u8054\u7CFB","\u94FE\u63A5","\u5730\u5740"],"link-unlink":["connection","remove address","\u53BB\u9664\u94FE\u63A5"],"link-m":["connection","address","\u8054\u7CFB","\u94FE\u63A5","\u5730\u5740"],"link-unlink-m":["connection","remove address","\u53BB\u9664\u94FE\u63A5"],separator:["\u5206\u5272\u7EBF"],space:["\u7A7A\u683C"],"page-separator":["insert","\u5206\u9875\u7B26","\u63D2\u5165"],"code-view":["\u4EE3\u7801\u89C6\u56FE"],"double-quotes-l":["left","quotation marks","\u53CC\u5F15\u53F7"],"double-quotes-r":["right","quotation marks","\u53CC\u5F15\u53F7"],"single-quotes-l":["left","quotation marks","\u5355\u5F15\u53F7"],"single-quotes-r":["right","quotation marks","\u5355\u5F15\u53F7"],"table-2":["\u8868\u683C"],subscript:["\u89D2\u6807","\u4E0B\u6807","\u811A\u6CE8"],"subscript-2":["\u89D2\u6807","\u4E0B\u6807","\u811A\u6CE8"],superscript:["\u89D2\u6807","\u4E0A\u6807"],"superscript-2":["\u89D2\u6807","\u4E0A\u6807"],paragraph:["\u6BB5\u843D"],"text-direction-l":["\u6587\u672C\u5DE6\u5BF9\u9F50"],"text-direction-r":["\u6587\u672C\u5DE6\u5BF9\u9F50"],functions:["\u529F\u80FD"],omega:["\u03A9","\u7279\u6B8A\u7B26\u53F7"],hashtag:["#","\u4E95\u53F7"],asterisk:["*","\u661F\u53F7"],"question-mark":["\u95EE\u53F7"],translate:["translator","\u7FFB\u8BD1"],"translate-2":["translator","\u7FFB\u8BD1"],"a-b":["a/b testing","ab testing","ab\u6D4B\u8BD5"],"english-input":["\u82F1\u6587\u8F93\u5165\u6CD5"],"pinyin-input":["\u62FC\u97F3\u8F93\u5165\u6CD5"],"wubi-input":["\u4E94\u7B14\u8F93\u5165\u6CD5"],"input-cursor-move":["\u79FB\u52A8\u8F93\u5165\u5149\u6807"],"number-1":["1","\u4E00","\u6570\u5B57"],"number-2":["2","\u4E8C","\u6570\u5B57"],"number-3":["3","\u4E09","\u6570\u5B57"],"number-4":["4","\u56DB","\u6570\u5B57"],"number-5":["5","\u4E94","\u6570\u5B57"],"number-6":["6","\u516D","\u6570\u5B57"],"number-7":["7","\u4E03","\u6570\u5B57"],"number-8":["8","\u516B","\u6570\u5B57"],"number-9":["9","\u4E5D","\u6570\u5B57"],"number-0":["0","\u96F6","\u6570\u5B57"],"sort-asc":["ranking","ordering","sorting","ascending","descending","\u5347\u5E8F\u6392\u5217","\u6392\u5E8F"],"sort-desc":["ranking","ordering","\u964D\u5E8F\u6392\u5217","\u6392\u5E8F"],"bring-forward":["arrange","\u5C42\u7EA7","\u5411\u4E0A\u4E00\u5C42"],"send-backward":["arrange","\u5C42\u7EA7","\u5411\u4E0B\u4E00\u5C42"],"bring-to-front":["arrange","\u5C42\u7EA7","\u79FB\u5230\u6700\u524D\u9762"],"send-to-back":["arrange","\u5C42\u7EA7","\u79FB\u5230\u6700\u540E\u9762"],"h-1":["heading","\u4E00\u7EA7\u6807\u9898"],"h-2":["heading","\u4E00\u7EA7\u6807\u9898"],"h-3":["heading","\u4E00\u7EA7\u6807\u9898"],"h-4":["heading","\u4E00\u7EA7\u6807\u9898"],"h-5":["heading","\u4E00\u7EA7\u6807\u9898"],"h-6":["heading","\u4E00\u7EA7\u6807\u9898"],"insert-column-left":["\u6DFB\u52A0\u5217","\u5DE6\u4FA7"],"insert-column-right":["\u6DFB\u52A0\u5217","\u53F3\u4FA7"],"insert-row-top":["\u6DFB\u52A0\u884C","\u9876\u90E8"],"insert-row-bottom":["\u6DFB\u52A0\u884C","\u5E95\u90E8"],"delete-column":["\u5220\u9664\u5217","\u5E95\u90E8"],"delete-row":["\u6DFB\u52A0\u884C","\u5E95\u90E8"],"merge-cells-horizontal":["\u5408\u5E76\u5355\u5143\u683C"],"merge-cells-vertical":["\u5408\u5E76\u5355\u5143\u683C"],"split-cells-horizontal":["\u62C6\u5206\u5355\u5143\u683C"],"split-cells-vertical":["\u62C6\u5206\u5355\u5143\u683C"],"flow-chart":["\u6D41\u7A0B\u56FE"],"mind-map":["mindmap","\u8111\u56FE","\u601D\u7EF4\u5BFC\u56FE"],"node-tree":["\u8282\u70B9","\u5C42\u7EA7\u5173\u7CFB\u56FE"],"organization-chart":["\u7EC4\u7EC7\u67B6\u6784\u56FE","\u5C40\u57DF\u7F51"],"rounded-corner":["\u5706\u89D2"]},Finance:{wallet:["\u94B1\u5305","\u5361\u5305"],"wallet-2":["\u94B1\u5305","\u5361\u5305"],"wallet-3":["\u94B1\u5305","\u5361\u5305"],"bank-card":["credit","purchase","payment","cc","\u94F6\u884C\u5361","\u4FE1\u7528\u5361","\u8D2D\u4E70","\u6D88\u8D39","\u652F\u4ED8"],"bank-card-2":["credit","purchase","payment","cc","\u94F6\u884C\u5361","\u4FE1\u7528\u5361","\u8D2D\u4E70","\u6D88\u8D39","\u652F\u4ED8"],"secure-payment":["credit","purchase","payment","cc","\u94F6\u884C\u5361","\u4FE1\u7528\u5361","\u8D2D\u4E70","\u6D88\u8D39","\u652F\u4ED8","\u5B89\u5168"],refund:["credit card","repayment","cc","\u94F6\u884C\u5361","\u4FE1\u7528\u5361\u8FD8\u6B3E"],"refund-2":["credit card","repayment","cc","\u94F6\u884C\u5361","\u4FE1\u7528\u5361\u8FD8\u6B3E"],safe:["\u4FDD\u9669\u67DC","\u4FDD\u9669\u7BB1"],"safe-2":["\u4FDD\u9669\u67DC","\u4FDD\u9669\u7BB1"],"price-tag":["label","\u6807\u7B7E","\u4EF7\u7B7E"],"price-tag-2":["label","\u6807\u7B7E","\u4EF7\u7B7E"],"price-tag-3":["label","\u6807\u7B7E","\u4EF7\u7B7E"],ticket:["coupon","\u7968","\u4F18\u60E0\u5238","\u4EE3\u91D1\u5238"],"ticket-2":["coupon","\u7968","\u4F18\u60E0\u5238","\u4EE3\u91D1\u5238"],coupon:["ticket","\u7968","\u4F18\u60E0\u5238","\u4EE3\u91D1\u5238"],"coupon-2":["ticket","\u7968","\u4F18\u60E0\u5238","\u4EE3\u91D1\u5238"],"coupon-3":["ticket","\u7968","\u4F18\u60E0\u5238","\u4EE3\u91D1\u5238"],"coupon-4":["\u4F18\u60E0\u5238","\u4EE3\u91D1\u5238"],"coupon-5":["\u4F18\u60E0\u5238","\u4EE3\u91D1\u5238"],"shopping-bag":["purse","\u8D2D\u7269\u888B","\u8D2D\u4E70","\u6D88\u8D39","\u5546\u57CE"],"shopping-bag-2":["\u8D2D\u7269\u888B","\u8D2D\u4E70","\u6D88\u8D39","\u5546\u57CE"],"shopping-bag-3":["\u8D2D\u7269\u888B","\u8D2D\u4E70","\u6D88\u8D39","\u5546\u57CE"],"shopping-basket":["\u8D2D\u7269\u7BEE","\u8D2D\u4E70","\u6D88\u8D39","\u5546\u57CE"],"shopping-basket-2":["\u8D2D\u7269\u7BEE","\u8D2D\u4E70","\u6D88\u8D39","\u5546\u57CE"],"shopping-cart":["\u8D2D\u7269\u8F66","\u8D2D\u4E70","\u6D88\u8D39","\u5546\u57CE"],"shopping-cart-2":["\u8D2D\u7269\u8F66","\u8D2D\u4E70","\u6D88\u8D39","\u5546\u57CE"],vip:["\u4F1A\u5458"],"vip-crown":["king","queen","\u7687\u51A0","\u4F1A\u5458","\u56FD\u738B","\u5973\u738B","\u738B\u540E"],"vip-crown-2":["king","queen","\u7687\u51A0","\u4F1A\u5458","\u56FD\u738B","\u5973\u738B","\u738B\u540E"],"vip-diamond":["\u94BB\u77F3","\u4F1A\u5458"],trophy:["\u5956\u54C1","\u5956\u676F","\u91D1\u676F"],exchange:["swap","\u4EA4\u6362","\u6362\u7B97","\u5151\u6362"],"exchange-box":["swap","\u4EA4\u6362","\u6362\u7B97","\u5151\u6362"],swap:["exchange","\u4EA4\u6362","\u6362\u7B97","\u5151\u6362"],"swap-box":["exchange","\u4EA4\u6362","\u6362\u7B97","\u5151\u6362"],"exchange-dollar":["swap","transfer","\u4EA4\u6362","\u6362\u7B97","\u5151\u6362","\u7F8E\u5143","\u8F6C\u8D26"],"exchange-cny":["swap","transfer","\u4EA4\u6362","\u6362\u7B97","\u5151\u6362","\u4EBA\u6C11\u5E01","\u8F6C\u8D26"],"exchange-funds":["swap","transfer","\u4EA4\u6362","\u6362\u7B97","\u5151\u6362","\u57FA\u91D1","\u80A1\u7968","\u8F6C\u8D26"],"increase-decrease":["\u8BA1\u7B97\u5668"],percent:["\u767E\u5206\u4E4B","\u767E\u5206\u6BD4"],"copper-coin":["currency","payment","\u94DC\u5E01","\u786C\u5E01","\u8D27\u5E01","\u94B1","\u652F\u4ED8"],"copper-diamond":["currency","coins","\u91D1\u5E01","\u94BB\u77F3","\u8D27\u5E01","\u94B1","\u652F\u4ED8"],"money-cny-box":["currency","payment","\u8D27\u5E01","\u94B1","\u652F\u4ED8","\u4EBA\u6C11\u5E01"],"money-cny-circle":["currency","coins","\u91D1\u5E01","payment","\u8D27\u5E01","\u94B1","\u652F\u4ED8","\u4EBA\u6C11\u5E01"],"money-dollar-box":["currency","payment","\u8D27\u5E01","\u94B1","\u652F\u4ED8","\u7F8E\u5143"],"money-dollar-circle":["currency","coins","\u91D1\u5E01","payment","cent","penny","\u8D27\u5E01","\u94B1","\u652F\u4ED8","\u7F8E\u5143","\u7F8E\u5206","\u4FBF\u58EB"],"money-euro-box":["currency","payment","\u8D27\u5E01","\u94B1","\u652F\u4ED8","\u6B27\u5143"],"money-euro-circle":["currency","coins","\u91D1\u5E01","payment","\u8D27\u5E01","\u94B1","\u652F\u4ED8","\u6B27\u5143"],"money-pound-box":["currency","payment","\u8D27\u5E01","\u94B1","\u652F\u4ED8","\u82F1\u9551"],"money-pound-circle":["currency","coins","\u91D1\u5E01","payment","\u8D27\u5E01","\u94B1","\u652F\u4ED8","\u82F1\u9551"],"bit-coin":["currency","payment","\u8D27\u5E01","\u94B1","\u6BD4\u7279\u5E01"],coin:["\u91D1\u5E01","\u786C\u5E01"],coins:["\u91D1\u5E01","\u786C\u5E01"],currency:["cash","payment","\u8D27\u5E01","\u94B1"],funds:["foundation","stock","\u57FA\u91D1","\u80A1\u7968"],"funds-box":["foundation","stock","\u57FA\u91D1","\u80A1\u7968"],"red-packet":["\u7EA2\u5305"],"water-flash":["\u6C34\u7535\u8D39"],stock:["\u80A1\u7968"],auction:["hammer","\u62CD\u5356","\u9524\u5B50"],gift:["present","\u793C\u7269"],"gift-2":["present","\u793C\u7269"],"hand-coin":["donate","business","\u6350\u8D60"],"hand-heart":["help","donate","volunteer","welfare","\u5E2E\u52A9","\u7231\u5FC3","\u6350\u8D60","\u5FD7\u613F\u8005","\u516C\u76CA"],"24-hours":["last","24\u5C0F\u65F6\u8425\u4E1A"]},"Health & Medical":{heart:["like","love","favorite","\u5FC3","\u559C\u6B22","\u7231","\u6536\u85CF"],"heart-2":["like","love","favorite","\u5FC3","\u559C\u6B22","\u7231","\u6536\u85CF"],"heart-3":["like","love","favorite","\u5FC3","\u559C\u6B22","\u7231","\u6536\u85CF"],"heart-add":["like","love","favorite","\u5FC3","\u559C\u6B22","\u7231","\u6536\u85CF"],dislike:["like","love","remove favorite","\u5FC3","\u4E0D\u559C\u6B22","\u53D6\u6D88\u6536\u85CF"],hearts:["romance","\u7231\u60C5","\u6D6A\u6F2B","\u5FC3"],"heart-pulse":["heart rate","\u8109\u640F","\u5FC3\u7387"],pulse:["wave","heart rate","\u8109\u640F","\u5FC3\u7387","\u6CE2"],empathize:["care","heart","\u540C\u7406\u5FC3","\u5173\u7231","\u5FC3"],nurse:["doctors","\u533B\u751F","\u62A4\u58EB"],dossier:["\u75C5\u4F8B"],"health-book":["\u5065\u5EB7\u624B\u518C","\u533B\u7597\u624B\u518C"],"first-aid-kit":["case","\u6025\u6551\u7BB1"],capsule:["medicine"," \u80F6\u56CA","\u836F"],"medicine-bottle":["\u836F\u74F6"],flask:["testing","experimental","experiment","\u70E7\u74F6","\u5B9E\u9A8C","\u8BD5\u9A8C"],"test-tube":["testing","experimental","experiment","\u8BD5\u7BA1","\u5B9E\u9A8C","\u8BD5\u9A8C"],microscope:["testing","experimental","experiment","\u663E\u5FAE\u955C","\u5B9E\u9A8C","\u8BD5\u9A8C"],"hand-sanitizer":["alcohol","\u9152\u7CBE\u6D88\u6BD2\u6D17\u624B\u6DB2"],"mental-health":["\u5FC3\u7406\u5065\u5EB7"],psychotherapy:["\u5FC3\u7406\u6CBB\u7597"],stethoscope:["\u542C\u8BCA\u5668"],syringe:["\u6CE8\u5C04\u5668"],thermometer:["\u4F53\u6E29\u8BA1"],"infrared-thermometer":["\u7EA2\u5916\u7EBF\u4F53\u6E29\u8BA1","\u4F53\u6E29\u67AA"],"surgical-mask":["\u5916\u79D1\u533B\u7528\u53E3\u7F69"],virus:["\u75C5\u6BD2"],lungs:["\u80BA\u90E8"],"rest-time":["close","\u4F11\u606F\u65F6\u95F4","\u6253\u70CA"],zzz:["\u7761\u89C9"]},Logos:{alipay:["zhifubao","\u652F\u4ED8\u5B9D"],amazon:["\u4E9A\u9A6C\u900A"],android:["applications","\u5B89\u5353","\u5E94\u7528"],angularjs:["angular","programming framework"],"app-store":["applications","\u82F9\u679C\u5E94\u7528\u5546\u5E97"],apple:["\u82F9\u679C"],baidu:["du","claw","\u767E\u5EA6","\u722A"],behance:["behance"],bilibili:["\u54D4\u54E9\u54D4\u54E9"],centos:["linux","system","\u7CFB\u7EDF"],chrome:["\u8C37\u6B4C\u6D4F\u89C8\u5668"],codepen:["\u4EE3\u7801\u7B14"],coreos:["linux","system","\u7CFB\u7EDF"],dingding:["\u9489\u9489"],discord:["game","chat"],disqus:["comments"],douban:["\u8C46\u74E3"],dribbble:["\u8FFD\u6CE2"],drive:["google drive","\u8C37\u6B4C\u4E91\u7AEF\u786C\u76D8"],dropbox:["\u591A\u5B9D\u7BB1"],edge:["microsoft edge","edge\u6D4F\u89C8\u5668"],evernote:["\u5370\u8C61\u7B14\u8BB0"],facebook:["\u8138\u4E66"],"facebook-circle":["\u8138\u4E66"],"facebook-box":["\u8138\u4E66"],finder:["macintosh","\u4EFF\u8FBE"],firefox:["\u706B\u72D0\u6D4F\u89C8\u5668"],flutter:["google"],gatsby:["gatsby"],github:["github"],gitlab:["gitlab"],google:["\u8C37\u6B4C"],"google-play":["applications","\u8C37\u6B4C\u5E94\u7528\u5546\u5E97"],"honor-of-kings":["game","\u738B\u8005\u8363\u8000"],ie:["internet explorer","\u6D4F\u89C8\u5668"],instagram:["\u7167\u7247\u5899"],invision:["invision"],"kakao-talk":["kakao talk","chat"],line:["\u8FDE\u6211"],linkedin:["\u9886\u82F1"],"linkedin-box":["\u9886\u82F1"],mastercard:["bank card","\u94F6\u884C\u5361"],mastodon:["mastodon","\u957F\u6BDB\u8C61"],medium:["\u5A92\u4F53"],messenger:["facebook","\u8138\u4E66","\u4FE1\u4F7F"],microsoft:["windows","\u7A97\u6237","\u5FAE\u8F6F"],"mini-program":["\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F"],"netease-cloud-music":["netease cloud music","\u7F51\u6613\u4E91\u97F3\u4E50"],netflix:["\u7F51\u98DE"],npmjs:["npm","nodejs"],"open-source":["opensource","\u5F00\u6E90"],opera:["\u6B27\u670B\u6D4F\u89C8\u5668"],patreon:["donate","money","\u6350\u8D60","\u6253\u8D4F"],paypal:["\u8D1D\u5B9D"],pinterest:["\u62FC\u8DA3"],pixelfed:["photography","pixelfed"],playstation:["ps"],"product-hunt":["product hunt"],qq:["penguin","tencent","\u817E\u8BAF","\u4F01\u9E45"],reactjs:["react","programming framework","facebook"],reddit:["reddit"],remixicon:["remix icon","\u56FE\u6807"],safari:["safari\u6D4F\u89C8\u5668"],skype:["skype"],slack:["slack"],snapchat:["ghost","\u8272\u62C9\u5E03","\u5E7D\u7075"],soundcloud:["\u58F0\u4E91"],spectrum:["spectrum"],spotify:["music","\u97F3\u4E50"],"stack-overflow":["stack overflow"],stackshare:["share","\u5206\u4EAB","\u6280\u672F\u6808"],steam:["game","store"],switch:["nintendo","\u4EFB\u5929\u5802"],taobao:["\u6DD8\u5B9D"],telegram:["telegram"],trello:["trello"],tumblr:["\u6C64\u535A\u4E50"],twitch:["twitch"],twitter:["\u63A8\u7279"],ubuntu:["linux","system","\u7CFB\u7EDF"],unsplash:["photos"],vimeo:["\u89C6\u9891"],visa:["bank card","\u94F6\u884C\u5361"],vuejs:["vue","programming framework"],wechat:["\u5FAE\u4FE1"],"wechat-2":["\u5FAE\u4FE1"],"wechat-pay":["\u5FAE\u4FE1\u652F\u4ED8"],weibo:["\u65B0\u6D6A\u5FAE\u535A"],whatsapp:["\u74E6\u6B21\u827E\u666E"],windows:["microsoft","\u7A97\u6237","\u5FAE\u8F6F"],xbox:["xbox"],xing:["xing"],youtube:["\u4F18\u5154","\u6CB9\u7BA1"],zcool:["zcool","\u7AD9\u9177"],zhihu:["\u77E5\u4E4E"]},Map:{"map-pin":["location","navigation","\u5730\u56FE","\u5750\u6807","\u5B9A\u4F4D","\u5BFC\u822A","\u4F4D\u7F6E"],"map-pin-2":["location","navigation","\u5730\u56FE","\u5750\u6807","\u5B9A\u4F4D","\u5BFC\u822A","\u4F4D\u7F6E"],"map-pin-3":["location","navigation","\u5730\u56FE","\u5750\u6807","\u5B9A\u4F4D","\u5BFC\u822A","\u4F4D\u7F6E"],"map-pin-4":["location","navigation","\u5730\u56FE","\u5750\u6807","\u5B9A\u4F4D","\u5BFC\u822A","\u4F4D\u7F6E"],"map-pin-5":["location","navigation","\u5730\u56FE","\u5750\u6807","\u5B9A\u4F4D","\u5BFC\u822A","\u4F4D\u7F6E"],"map-pin-add":["location","navigation","\u5730\u56FE","\u5750\u6807","\u5B9A\u4F4D","\u5BFC\u822A","\u4F4D\u7F6E","\u65B0\u589E","\u6DFB\u52A0"],"map-pin-range":["location","navigation","\u5730\u56FE","\u5750\u6807","\u5B9A\u4F4D","\u5BFC\u822A","\u4F4D\u7F6E","\u8303\u56F4"],"map-pin-time":["location","navigation","\u5730\u56FE","\u5750\u6807","\u5B9A\u4F4D","\u5BFC\u822A","\u4F4D\u7F6E","\u65F6\u95F4"],"map-pin-user":["location","navigation","\u5730\u56FE","\u5750\u6807","\u5B9A\u4F4D","\u5BFC\u822A","\u4F4D\u7F6E","\u7528\u6237"],"pin-distance":["\u5750\u6807","\u8DDD\u79BB"],pushpin:["\u56FE\u9489"],"pushpin-2":["\u56FE\u9489"],compass:["navigation","safari","direction","discover","\u6307\u5357\u9488","\u5BFC\u822A","\u65B9\u5411","\u53D1\u73B0","\u63A2\u7D22"],"compass-2":["navigation","direction","discover","\u6307\u5357\u9488","\u5BFC\u822A","\u65B9\u5411","\u53D1\u73B0","\u63A2\u7D22"],"compass-3":["navigation","safari","direction","discover","\u6307\u5357\u9488","\u5BFC\u822A","\u65B9\u5411","\u53D1\u73B0","\u63A2\u7D22"],"compass-4":["navigation","direction","discover","\u6307\u5357\u9488","\u5BFC\u822A","\u65B9\u5411","\u53D1\u73B0","\u63A2\u7D22"],"compass-discover":["navigation","direction","\u6307\u5357\u9488","\u5BFC\u822A","\u65B9\u5411","\u53D1\u73B0","\u63A2\u7D22"],anchor:["\u951A"],"china-railway":["\u4E2D\u94C1","\u94C1\u8DEF","\u706B\u8F66"],"space-ship":["\u592A\u7A7A\u98DE\u8239"],rocket:["\u706B\u7BAD"],"rocket-2":["space ship","\u706B\u7BAD","\u592A\u7A7A\u98DE\u8239"],map:["navigation","travel","\u5730\u56FE","\u5BFC\u822A","\u65C5\u884C"],"map-2":["location","navigation","travel","\u5730\u56FE","\u5B9A\u4F4D","\u5BFC\u822A","\u65C5\u884C"],"treasure-map":["thriller","adventure","\u5730\u56FE","\u85CF\u5B9D\u56FE"],"road-map":["navigation","travel","\u5730\u56FE","\u5BFC\u822A","\u65C5\u884C"],earth:["global","union","world","language","\u5730\u7403","\u5168\u7403","\u8054\u5408","\u4E16\u754C","\u8BED\u8A00"],globe:["earth","\u5730\u7403\u4EEA"],parking:["\u505C\u8F66\u573A"],"parking-box":["\u505C\u8F66\u573A"],route:["path","\u8DEF\u7EBF"],guide:["path","\u6307\u5F15","\u8DEF\u7EBF"],"gas-station":["\u52A0\u6C14\u7AD9","\u52A0\u6CB9\u7AD9"],"charging-pile":["\u5145\u7535\u6869"],"charging-pile-2":["\u5145\u7535\u6869"],car:["\u6C7D\u8F66"],"car-washing":["\u6C7D\u8F66","\u6D17\u8F66"],roadster:["car","\u6C7D\u8F66","\u8DD1\u8F66"],taxi:["car","\u51FA\u79DF\u8F66","\u6C7D\u8F66"],"taxi-wifi":["car","\u51FA\u79DF\u8F66","\u6C7D\u8F66"],"police-car":["\u6C7D\u8F66","\u8B66\u8F66"],bus:["\u5927\u5DF4","\u5DF4\u58EB"],"bus-2":["\u5927\u5DF4","\u5DF4\u58EB"],"bus-wifi":["\u5927\u5DF4","\u5DF4\u58EB"],truck:["van","delivery","\u5361\u8F66","\u8D27\u8F66","\u8FD0\u8F93"],train:["\u706B\u8F66"],"train-wifi":["\u706B\u8F66"],subway:["\u5730\u94C1"],"subway-wifi":["\u5730\u94C1"],"flight-takeoff":["airplane","plane","origin","\u8D77\u98DE","\u51FA\u53D1","\u59CB\u53D1","\u8D77\u70B9","\u98DE\u673A"],"flight-land":["airplane","plane","destination","\u7740\u9646","\u5230\u8FBE","\u62B5\u8FBE","\u7EC8\u70B9","\u98DE\u673A"],plane:["fight","\u98DE\u673A","\u822A\u73ED"],sailboat:["\u5E06\u8239"],ship:["\u8F6E\u8239","\u822A\u6D77","\u6D77\u8FD0"],"ship-2":["\u8F6E\u8239"],bike:["\u81EA\u884C\u8F66"],"e-bike":["take out","takeaway","\u7535\u52A8\u8F66","\u5916\u5356"],"e-bike-2":["take out","takeaway","\u7535\u52A8\u8F66","\u5916\u5356"],takeaway:["take out","takeaway","\u7535\u52A8\u8F66","\u5916\u5356"],motorbike:["\u6469\u6258\u8F66"],caravan:["\u623F\u8F66"],walk:["\u6B65\u884C"],run:["\u5954\u8DD1","\u8DD1\u6B65"],riding:["bike","\u9A91\u884C","\u81EA\u884C\u8F66"],barricade:["\u8DEF\u969C"],footprint:["\u811A\u5370","\u8DB3\u8FF9"],"traffic-light":["\u4EA4\u901A","\u4FE1\u53F7\u706F"],"signal-tower":["base station","antenna","\u4FE1\u53F7\u5854","\u57FA\u7AD9","\u5929\u7EBF"],restaurant:["\u9910\u5385","\u996D\u5E97"],"restaurant-2":["\u9910\u5385","\u996D\u5E97"],cup:["tea","coffee","\u676F\u5B50","\u5496\u5561","\u8336"],goblet:["cup","wine glass","\u9AD8\u811A\u676F","\u9152\u676F"],"hotel-bed":["\u9152\u5E97","\u5E8A"],navigation:["gps","\u5BFC\u822A"],oil:["\u6C7D\u6CB9","\u673A\u6CB9"],direction:["right","\u65B9\u5411","\u53F3\u8F6C"],steering:["drive","\u65B9\u5411\u76D8","\u9A7E\u8F66"],"steering-2":["drive","\u65B9\u5411\u76D8","\u9A7E\u8F66"],lifebuoy:["life ring","\u6551\u751F\u5708"],passport:["passports","\u62A4\u7167"],suitcase:["travel","\u65C5\u884C","\u884C\u674E\u7BB1"],"suitcase-2":["travel","\u65C5\u884C","\u884C\u674E\u7BB1","\u62C9\u6746\u7BB1"],"suitcase-3":["travel","\u65C5\u884C","boarding case","\u884C\u674E\u7BB1","\u62C9\u6746\u7BB1","\u767B\u673A\u7BB1"],"luggage-deposit":["consignment","\u884C\u674E\u7BB1","\u884C\u674E\u5BC4\u5B58","\u6258\u8FD0"],"luggage-cart":["\u884C\u674E\u8F66"]},Media:{image:["picture","photo","\u56FE\u7247","\u7167\u7247"],"image-2":["picture","photo","\u56FE\u7247","\u7167\u7247"],"image-add":["picture","photo","\u56FE\u7247","\u7167\u7247","\u6DFB\u52A0"],"image-edit":["picture","photo","\u56FE\u7247","\u7167\u7247","\u7F16\u8F91"],landscape:["picture","image","photo","\u56FE\u7247","\u7167\u7247"],gallery:["picture","image","\u56FE\u7247","\u76F8\u518C"],"gallery-upload":["picture","image","\u56FE\u7247","\u76F8\u518C","\u4E0A\u4F20"],video:["\u89C6\u9891"],movie:["film","video","\u7535\u5F71","\u786C\u76D8","\u89C6\u9891"],"movie-2":["film","video","\u7535\u5F71","\u786C\u76D8","\u89C6\u9891"],film:["movie","video","\u5F71\u7247","\u7535\u5F71","\u89C6\u9891"],clapperboard:["movie","film","\u573A\u8BB0\u677F","\u7535\u5F71"],vidicon:["video","camera","\u6444\u50CF\u673A","\u6444\u5F71\u673A","\u89C6\u9891"],"vidicon-2":["camera","\u6444\u50CF\u673A","\u6444\u5F71\u673A"],live:["video","camera","\u6444\u50CF\u673A","\u6444\u5F71\u673A","\u89C6\u9891","\u76F4\u64AD"],"video-add":["camera","\u6444\u50CF\u673A","\u6444\u5F71\u673A","\u89C6\u9891","\u6DFB\u52A0"],"video-upload":["camera","\u6444\u50CF\u673A","\u6444\u5F71\u673A","\u89C6\u9891","\u4E0A\u4F20"],"video-download":["camera","\u6444\u50CF\u673A","\u6444\u5F71\u673A","\u89C6\u9891","\u4E0B\u8F7D"],dv:["vidicon","camera","\u6444\u50CF\u673A","\u6444\u5F71\u673A"],camera:["photo","\u7167\u76F8\u673A","\u62CD\u7167","\u7167\u7247"],"camera-off":["photo","slash","\u7167\u76F8\u673A","\u62CD\u7167","\u7167\u7247","\u7981\u6B62","\u5173\u95ED"],"camera-2":["photo","\u7167\u76F8\u673A","\u62CD\u7167","\u7167\u7247"],"camera-3":["photo","\u7167\u76F8\u673A","\u62CD\u7167","\u7167\u7247"],"camera-lens":["aperture","photo","\u7167\u76F8\u673A","\u62CD\u7167","\u7167\u7247","\u670B\u53CB\u5708"],"camera-switch":["\u7167\u76F8\u673A","\u62CD\u7167","\u7FFB\u8F6C"],polaroid:["camera","\u76F8\u673A","\u5B9D\u4E3D\u6765"],"polaroid-2":["camera","\u76F8\u673A","\u5B9D\u4E3D\u6765"],"phone-camera":["\u624B\u673A\u76F8\u673A","\u624B\u673A\u6444\u50CF\u5934"],webcam:["\u6444\u50CF\u5934"],mv:["music video","\u97F3\u4E50"],music:["\u97F3\u4E50"],"music-2":["\u97F3\u4E50"],disc:["music","album","\u97F3\u4E50","\u5531\u7247"],album:["music","\u5531\u7247","\u97F3\u4E50"],dvd:["cd","dvd","record","\u5149\u76D8","\u523B\u5F55"],headphone:["music","headset","\u8033\u673A","\u97F3\u4E50"],radio:["\u6536\u97F3\u673A","\u7535\u53F0"],"radio-2":["\u6536\u97F3\u673A","\u7535\u53F0"],tape:["\u5F55\u97F3","\u78C1\u5E26"],mic:["record","voice","\u8BDD\u7B52","\u8BED\u97F3","\u5F55\u97F3","\u58F0\u97F3"],"mic-2":["record","voice","\u8BDD\u7B52","\u8BED\u97F3","\u5F55\u97F3","\u58F0\u97F3"],"mic-off":["record","voice","slash","\u5173\u95ED\u8BDD\u7B52","\u5173\u95ED\u8BED\u97F3","\u5F55\u97F3","\u5173\u95ED\u58F0\u97F3","\u9759\u97F3","\u7981\u6B62"],"volume-down":["trumpet","sound","speaker","\u97F3\u91CF\u4F4E","\u5587\u53ED","\u58F0\u97F3","\u626C\u58F0\u5668"],"volume-mute":["trumpet","sound","off","\u97F3\u91CF\u4F4E","\u5587\u53ED","\u58F0\u97F3","\u9759\u97F3"],"volume-up":["trumpet","sound","speaker","\u97F3\u91CF\u9AD8","\u5587\u53ED","\u58F0\u97F3","\u626C\u58F0\u5668"],"volume-vibrate":["trumpet","sound","speaker","\u5587\u53ED","\u58F0\u97F3","\u626C\u58F0\u5668","\u9707\u52A8\u6A21\u5F0F"],"volume-off-vibrate":["trumpet","sound","speaker","\u9759\u97F3","\u5587\u53ED","\u58F0\u97F3","\u626C\u58F0\u5668","\u9759\u97F3\u6A21\u5F0F"],speaker:["\u97F3\u54CD"],"speaker-2":["\u97F3\u54CD"],"speaker-3":["\u97F3\u54CD"],"surround-sound":["\u73AF\u7ED5\u7ACB\u4F53\u58F0"],broadcast:["\u5E7F\u64AD"],notification:["bell","alarm","\u901A\u77E5","\u94C3\u94DB","\u63D0\u9192"],"notification-2":["bell","alarm","\u901A\u77E5","\u94C3\u94DB","\u63D0\u9192"],"notification-3":["bell","alarm","\u901A\u77E5","\u94C3\u94DB","\u63D0\u9192"],"notification-4":["bell","alarm","\u901A\u77E5","\u94C3\u94DB","\u63D0\u9192"],"notification-off":["bell","alarm","silent","slash","\u901A\u77E5","\u94C3\u94DB","\u63D0\u9192","\u514D\u6253\u6270","\u9759\u97F3","\u5173\u95ED","\u7981\u6B62"],"play-circle":["start","\u64AD\u653E","\u5F00\u59CB"],"pause-circle":["\u6682\u505C"],"record-circle":["\u5F55\u97F3"],"stop-circle":["\u505C\u6B62"],eject:["\u63A8\u51FA"],play:["start","\u64AD\u653E","\u5F00\u59CB"],pause:["\u6682\u505C"],stop:["\u505C\u6B62"],rewind:["fast","\u5FEB\u9000"],speed:["fast","\u5FEB\u8FDB"],"skip-back":["\u4E0A\u4E00\u66F2"],"skip-forward":["\u4E0B\u4E00\u66F2"],"play-mini":["\u64AD\u653E"],"pause-mini":["\u6682\u505C"],"stop-mini":["\u505C\u6B62"],"rewind-mini":["fast","\u5FEB\u9000"],"speed-mini":["fast","\u5FEB\u8FDB"],"skip-back-mini":["\u4E0A\u4E00\u66F2"],"skip-forward-mini":["\u4E0B\u4E00\u66F2"],repeat:["\u5FAA\u73AF\u64AD\u653E"],"repeat-2":["\u5FAA\u73AF\u64AD\u653E"],"repeat-one":["\u5355\u66F2\u5FAA\u73AF"],"order-play":["\u987A\u5E8F\u64AD\u653E"],shuffle:["\u968F\u673A\u64AD\u653E"],"play-list":["\u64AD\u653E\u5217\u8868"],"play-list-2":["\u64AD\u653E\u5217\u8868"],"play-list-add":["\u5217\u8868","\u6DFB\u52A0"],fullscreen:["maximize","\u5168\u5C4F","\u6700\u5927\u5316"],"fullscreen-exit":["minimize","\u9000\u51FA\u5168\u5C4F","\u6700\u5C0F\u5316"],equalizer:["sliders","controls","settings","filter","\u5747\u8861\u5668","\u63A7\u5236\u5668","\u8BBE\u7F6E","\u7B5B\u9009"],"sound-module":["sliders","controls","settings","filter","\u5747\u8861\u5668","\u63A7\u5236\u5668","\u8BBE\u7F6E","\u7B5B\u9009"],rhythm:["\u8282\u594F","\u97F5\u5F8B"],voiceprint:["\u58F0\u7EB9"],hq:["high quality","\u9AD8\u8D28\u91CF","\u9AD8\u54C1\u8D28"],hd:["high definition","\u9AD8\u6E05\u6670\u5EA6"],"4k":["high definition","high quality","\u9AD8\u6E05\u6670\u5EA6","\u9AD8\u54C1\u8D28","\u8D85\u6E05"],"closed-captioning":["\u9690\u85CF\u5B57\u5E55"],"aspect-ratio":["\u5BBD\u9AD8\u6BD4","\u6BD4\u4F8B"],"picture-in-picture":["\u753B\u4E2D\u753B","\u5C0F\u7A97"],"picture-in-picture-2":["\u753B\u4E2D\u753B","\u5C0F\u7A97"],"picture-in-picture-exit":["\u9000\u51FA\u753B\u4E2D\u753B","\u9000\u51FA\u5C0F\u7A97"]},System:{apps:["\u5E94\u7528"],"apps-2":["\u5E94\u7528"],function:["layout","\u529F\u80FD","\u5E94\u7528","\u5361\u7247\u5E03\u5C40"],dashboard:["\u4EEA\u8868\u76D8"],menu:["navigation","hamburger","\u5BFC\u822A","\u83DC\u5355","\u6C49\u5821\u5305"],"menu-2":["navigation","hamburger","\u5BFC\u822A","\u83DC\u5355","\u6C49\u5821\u5305"],"menu-3":["navigation","hamburger","\u5BFC\u822A","\u83DC\u5355","\u6C49\u5821\u5305"],"menu-4":["navigation","hamburger","\u5BFC\u822A","\u83DC\u5355","\u6C49\u5821\u5305"],"menu-5":["navigation","hamburger","\u5BFC\u822A","\u83DC\u5355","\u6C49\u5821\u5305"],"menu-add":["navigation","hamburger","\u5BFC\u822A","\u83DC\u5355","\u6C49\u5821\u5305","\u6DFB\u52A0"],"menu-fold":["navigation","hamburger","\u5BFC\u822A","\u83DC\u5355","\u6C49\u5821\u5305","\u5C55\u5F00"],more:["ellipsis","\u66F4\u591A","\u7701\u7565"],"more-2":["ellipsis","\u66F4\u591A","\u7701\u7565"],star:["favorite","like","mark","\u661F\u661F","\u661F\u6807","\u559C\u6B22"],"star-s":["favorite","like","mark","\u661F\u661F","\u661F\u6807","\u559C\u6B22","\u534A\u661F"],"star-half":["favorite","like","mark","\u661F\u661F","\u661F\u6807","\u559C\u6B22"],"star-half-s":["favorite","like","mark","\u661F\u661F","\u661F\u6807","\u559C\u6B22","\u534A\u661F"],settings:["edit","gear","preferences","\u504F\u597D\u8BBE\u7F6E","\u7F16\u8F91","\u9F7F\u8F6E"],"settings-2":["edit","gear","preferences","\u504F\u597D\u8BBE\u7F6E","\u7F16\u8F91","\u9F7F\u8F6E"],"settings-3":["edit","gear","preferences","\u504F\u597D\u8BBE\u7F6E","\u7F16\u8F91","\u9F7F\u8F6E"],"settings-4":["edit","gear","preferences","\u504F\u597D\u8BBE\u7F6E","\u7F16\u8F91","\u9F7F\u8F6E"],"settings-5":["edit","gear","preferences","\u504F\u597D\u8BBE\u7F6E","\u7F16\u8F91","\u9F7F\u8F6E"],"settings-6":["edit","gear","preferences","\u504F\u597D\u8BBE\u7F6E","\u7F16\u8F91","\u9F7F\u8F6E"],"list-settings":["\u5217\u8868","\u8BBE\u7F6E"],forbid:["slash","ban","\u7981\u6B62","\u7981\u7528"],"forbid-2":["slash","ban","\u7981\u6B62","\u7981\u7528"],information:["\u4FE1\u606F"],"error-warning":["alert","\u8B66\u544A","\u9519\u8BEF"],question:["help","\u95EE\u53F7","\u5E2E\u52A9"],alert:["\u63D0\u9192","\u8B66\u544A"],spam:["alert","\u5783\u573E\u90AE\u4EF6","\u8B66\u544A"],"spam-2":["alert","\u5783\u573E\u90AE\u4EF6","\u8B66\u544A"],"spam-3":["alert","\u5783\u573E\u90AE\u4EF6","\u8B66\u544A"],"checkbox-blank":["\u590D\u9009\u6846","\u7A7A"],checkbox:["\u590D\u9009\u6846"],"checkbox-indeterminate":["\u590D\u9009\u6846"],"add-box":["plus","new","\u590D\u9009\u6846","\u6DFB\u52A0","\u52A0\u53F7","\u65B0\u589E"],"checkbox-blank-circle":["\u590D\u9009\u6846","\u7A7A"],"checkbox-circle":["\u590D\u9009\u6846"],"indeterminate-circle":["slash","ban","\u590D\u9009\u6846","\u7981"],"add-circle":["plus","new","\u590D\u9009\u6846","\u6DFB\u52A0","\u52A0\u53F7","\u65B0\u589E"],"close-circle":["cancel","remove","delete","empty","x","\u5173\u95ED","\u53D6\u6D88","\u79FB\u9664","\u5220\u9664","\u6E05\u7A7A"],"radio-button":["\u5355\u9009\u6846"],"checkbox-multiple-blank":["\u590D\u9009\u6846","\u7A7A"],"checkbox-multiple":["\u590D\u9009\u6846","\u7A7A"],check:["\u5BF9\u52FE"],"check-double":["read","done","double-tick","\u53CC\u5BF9\u52FE","\u5DF2\u8BFB"],close:["cancel","remove","delete","empty","x","\u5173\u95ED","\u53D6\u6D88","\u79FB\u9664","\u5220\u9664","\u6E05\u7A7A"],add:["plus","new","\u6DFB\u52A0","\u65B0\u589E","\u52A0\u53F7"],subtract:["\u51CF"],divide:["\u9664\u4EE5"],"arrow-left-up":["corner","\u5DE6\u4E0A"],"arrow-up":["\u7BAD\u5934","\u5411\u4E0A"],"arrow-right-up":["corner","\u53F3\u4E0A"],"arrow-right":["forward","\u7BAD\u5934","\u5411\u53F3"],"arrow-right-down":["corner","\u53F3\u4E0B"],"arrow-down":["\u7BAD\u5934","\u5411\u4E0B"],"arrow-left-down":["corner","\u7BAD\u5934","\u5DE6\u4E0B"],"arrow-left":["backward","\u7BAD\u5934","\u5411\u5DE6","\u8FD4\u56DE"],"arrow-up-circle":["\u7BAD\u5934","\u5411\u4E0A"],"arrow-right-circle":["forward","\u7BAD\u5934","\u5411\u53F3"],"arrow-down-circle":["\u7BAD\u5934","\u5411\u4E0B","\u4E0B\u8F7D"],"arrow-left-circle":["backward","\u7BAD\u5934","\u5411\u5DE6","\u8FD4\u56DE"],"arrow-up-s":["\u7BAD\u5934","\u5411\u4E0A"],"arrow-down-s":["\u7BAD\u5934","\u5411\u4E0B"],"arrow-right-s":["forward","\u7BAD\u5934","\u5411\u53F3"],"arrow-left-s":["backward","\u7BAD\u5934","\u5411\u5DE6","\u8FD4\u56DE"],"arrow-drop-up":["\u7BAD\u5934","\u5411\u4E0A"],"arrow-drop-right":["forward","\u7BAD\u5934","\u5411\u53F3"],"arrow-drop-down":["\u7BAD\u5934","\u5411\u4E0B"],"arrow-drop-left":["backward","\u7BAD\u5934","\u5411\u5DE6","\u8FD4\u56DE"],"arrow-left-right":["exchange","swap","\u7BAD\u5934","\u5DE6\u53F3","\u4EA4\u6362","\u6362\u7B97","\u5151\u6362"],"arrow-up-down":["exchange","swap","\u7BAD\u5934","\u4E0A\u4E0B","\u4EA4\u6362","\u6362\u7B97","\u5151\u6362"],"arrow-go-back":["undo","\u7BAD\u5934","\u8FD4\u56DE","\u64A4\u9500","\u64A4\u56DE"],"arrow-go-forward":["redo","\u7BAD\u5934","\u91CD\u505A","\u64A4\u56DE"],download:["\u4E0B\u8F7D"],upload:["\u4E0A\u4F20"],"download-2":["\u4E0B\u8F7D"],"upload-2":["\u4E0A\u4F20"],"download-cloud":["\u4E0B\u8F7D","\u4E91"],"download-cloud-2":["\u4E0B\u8F7D","\u4E91"],"upload-cloud":["\u4E0A\u4F20","\u4E91"],"upload-cloud-2":["\u4E0A\u4F20","\u4E91"],"login-box":["sign in","\u767B\u5F55"],"logout-box":["sign out","\u767B\u51FA","\u6CE8\u9500"],"logout-box-r":["sign out","\u767B\u51FA","\u6CE8\u9500"],"login-circle":["sign in","\u767B\u5F55"],"logout-circle":["sign out","\u767B\u51FA","\u6CE8\u9500"],"logout-circle-r":["sign out","\u767B\u51FA","\u6CE8\u9500"],refresh:["synchronization","reload","restart","spinner","loader","ajax","update","\u5237\u65B0","\u540C\u6B65"],shield:["safety","protect","\u76FE\u724C","\u536B\u58EB","\u5B89\u5168","\u9632\u5FA1"],"shield-cross":["safety","protect","\u76FE\u724C","\u536B\u58EB","\u5B89\u5168","\u9632\u5FA1","\u95EA\u7535"],"shield-flash":["safety","protect","\u76FE\u724C","\u536B\u58EB","\u5B89\u5168","\u9632\u5FA1"],"shield-star":["safety","protect","\u76FE\u724C","\u536B\u58EB","\u5B89\u5168","\u9632\u5FA1","\u661F\u661F"],"shield-user":["safety","protect","user protected","guarantor","\u76FE\u724C","\u536B\u58EB","\u5B89\u5168","\u9632\u5FA1","\u7528\u6237"],"shield-keyhole":["safety","protect","guarantor","\u76FE\u724C","\u536B\u58EB","\u5B89\u5168","\u9632\u5FA1","\u94A5\u5319\u5B54"],"shield-check":["safety","protect","\u76FE\u724C","\u536B\u58EB","\u5B89\u5168","\u9632\u5FA1"],"delete-back":["backspace","\u5220\u9664","\u9000\u683C"],"delete-back-2":["backspace","\u5220\u9664","\u9000\u683C"],"delete-bin":["trash","remove","ash-bin","garbage","dustbin","uninstall","\u5378\u8F7D","\u5220\u9664","\u5783\u573E\u6876"],"delete-bin-2":["trash","remove","ash-bin","garbage","dustbin","uninstall","\u5378\u8F7D","\u5220\u9664","\u5783\u573E\u6876"],"delete-bin-3":["trash","remove","ash-bin","garbage","dustbin","uninstall","\u5378\u8F7D","\u5220\u9664","\u5783\u573E\u6876"],"delete-bin-4":["trash","remove","ash-bin","garbage","dustbin","uninstall","\u5378\u8F7D","\u5220\u9664","\u5783\u573E\u6876"],"delete-bin-5":["trash","remove","ash-bin","garbage","dustbin","uninstall","\u5378\u8F7D","\u5220\u9664","\u5783\u573E\u6876"],"delete-bin-6":["trash","remove","ash-bin","garbage","dustbin","uninstall","\u5378\u8F7D","\u5220\u9664","\u5783\u573E\u6876"],"delete-bin-7":["trash","remove","ash-bin","garbage","dustbin","uninstall","\u5378\u8F7D","\u5220\u9664","\u5783\u573E\u6876"],lock:["security","password","\u9501\u5B50","\u5B89\u5168","\u5BC6\u7801"],"lock-2":["security","password","\u9501\u5B50","\u5B89\u5168","\u5BC6\u7801"],"lock-password":["security","\u9501\u5B50","\u5B89\u5168","\u5BC6\u7801"],"lock-unlock":["security","password","\u9501\u5B50","\u5B89\u5168","\u5BC6\u7801"],eye:["watch","view","\u773C\u775B","\u67E5\u770B"],"eye-off":["slash","\u773C\u775B","\u4E0D\u53EF\u89C1","\u5173\u95ED","\u7981\u6B62"],"eye-2":["watch","view","\u773C\u775B","\u67E5\u770B"],"eye-close":["x","\u95ED\u773C"],search:["\u641C\u7D22","\u653E\u5927\u955C"],"search-2":["\u641C\u7D22","\u653E\u5927\u955C"],"search-eye":["\u641C\u7D22","\u653E\u5927\u955C","\u773C\u775B"],"zoom-in":["\u653E\u5927","\u653E\u5927\u955C"],"zoom-out":["\u7F29\u5C0F","\u653E\u5927\u955C"],"find-replace":["\u67E5\u627E","\u641C\u7D22","\u66FF\u6362"],share:["\u5206\u4EAB","\u8F6C\u53D1"],"share-box":["\u5206\u4EAB","\u8F6C\u53D1"],"share-circle":["\u5206\u4EAB","\u8F6C\u53D1"],"share-forward":["\u5206\u4EAB","\u8F6C\u53D1"],"share-forward-2":["\u5206\u4EAB","\u8F6C\u53D1"],"share-forward-box":["\u5206\u4EAB","\u8F6C\u53D1"],"side-bar":["\u4FA7\u8FB9\u680F"],time:["clock","\u65F6\u95F4","\u65F6\u949F","\u949F\u8868"],timer:["chronograph","stopwatch","\u79D2\u8868","\u8BA1\u65F6\u5668"],"timer-2":["chronograph","stopwatch","\u79D2\u8868","\u8BA1\u65F6\u5668"],"timer-flash":["chronograph","stopwatch","\u79D2\u8868","\u8BA1\u65F6\u5668","\u95EA\u7535"],alarm:["\u95F9\u949F"],history:["record","recent","time machine","\u5386\u53F2\u8BB0\u5F55","\u6700\u8FD1"],"thumb-down":["dislike","bad","\u4E0D\u559C\u6B22","\u4E0D\u597D"],"thumb-up":["like","good","\u559C\u6B22","\u597D"],"alarm-warning":["alert","report","police light","\u544A\u8B66","\u4E3E\u62A5","\u8B66\u706F"],"notification-badge":["red dot","\u901A\u77E5","\u5C0F\u7EA2\u70B9"],toggle:["switch","\u5F00\u5173","\u89E6\u53D1\u5668"],filter:["filtration","\u7B5B\u9009","\u8FC7\u6EE4"],"filter-2":["filtration","\u7B5B\u9009","\u8FC7\u6EE4"],"filter-3":["filtration","\u7B5B\u9009","\u8FC7\u6EE4"],"filter-off":["filtration","clear-filter","\u7B5B\u9009","\u8FC7\u6EE4"],loader:["loader","spinner","ajax","waiting","delay","\u52A0\u8F7D\u4E2D","\u8F7D\u5165\u4E2D","\u6B63\u5728\u52A0\u8F7D"],"loader-2":["loader","spinner","ajax","waiting","delay","\u52A0\u8F7D\u4E2D","\u8F7D\u5165\u4E2D","\u6B63\u5728\u52A0\u8F7D"],"loader-3":["loader","spinner","ajax","waiting","delay","\u52A0\u8F7D\u4E2D","\u8F7D\u5165\u4E2D","\u6B63\u5728\u52A0\u8F7D"],"loader-4":["loader","spinner","ajax","waiting","delay","\u52A0\u8F7D\u4E2D","\u8F7D\u5165\u4E2D","\u6B63\u5728\u52A0\u8F7D"],"loader-5":["loader","spinner","ajax","waiting","delay","\u52A0\u8F7D\u4E2D","\u8F7D\u5165\u4E2D","\u6B63\u5728\u52A0\u8F7D"],"external-link":["\u5916\u94FE"]},"User & Faces":{user:["\u7528\u6237"],"user-2":["\u7528\u6237"],"user-3":["\u7528\u6237"],"user-4":["\u7528\u6237"],"user-5":["\u7528\u6237"],"user-6":["\u7528\u6237"],"user-smile":["\u7528\u6237","\u5FAE\u7B11"],"account-box":["\u7528\u6237","\u8D26\u6237"],"account-circle":["\u7528\u6237","\u8D26\u6237"],"account-pin-box":["\u7528\u6237","\u8D26\u6237"],"account-pin-circle":["\u7528\u6237","\u8D26\u6237"],"user-add":["\u7528\u6237","\u6DFB\u52A0","\u65B0\u589E"],"user-follow":["\u5173\u6CE8"],"user-unfollow":["\u7528\u6237","\u53D6\u6D88\u5173\u6CE8"],"user-shared":["transfer","\u7528\u6237","\u6211\u5206\u4EAB\u7684","\u53D1\u9001"],"user-shared-2":["transfer","\u7528\u6237","\u6211\u5206\u4EAB\u7684","\u53D1\u9001"],"user-received":["\u7528\u6237","\u6211\u63A5\u6536\u7684","\u6536\u53D6"],"user-received-2":["\u7528\u6237","\u6211\u63A5\u6536\u7684","\u6536\u53D6"],"user-location":["\u7528\u6237","\u5B9A\u4F4D"],"user-search":["\u7528\u6237","\u67E5\u627E"],"user-settings":["admin","\u7528\u6237","\u8BBE\u7F6E","\u7BA1\u7406\u5458"],"user-star":["\u7528\u6237","\u5173\u6CE8"],"user-heart":["\u7528\u6237","\u5173\u6CE8"],admin:["admin","\u7528\u6237","\u7BA1\u7406\u5458"],contacts:["\u8054\u7CFB\u4EBA"],group:["team","\u56E2\u961F","\u7FA4\u7EC4"],"group-2":["team","\u56E2\u961F","\u7FA4\u7EC4"],team:["\u56E2\u961F","\u5C0F\u7EC4","\u7FA4\u4E3B"],"user-voice":["\u7528\u6237","\u5F55\u97F3","\u6F14\u8BB2"],emotion:["\u8868\u60C5","\u7B11\u8138"],"emotion-2":["\u8868\u60C5","\u7B11\u8138"],"emotion-happy":["\u8868\u60C5","\u5F00\u5FC3"],"emotion-normal":["\u8868\u60C5","\u4E00\u822C"],"emotion-unhappy":["\u8868\u60C5","\u4E0D\u5F00\u5FC3"],"emotion-laugh":["comedy","happy","\u8868\u60C5","\u5927\u7B11","\u7B11\u8138","\u5F00\u5FC3","\u559C\u5267"],"emotion-sad":["drama","tears","\u60B2\u5267","\u54ED\u6CE3","\u6CEA"],skull:["ghost","\u9AB7\u9AC5","\u9B3C\u602A"],"skull-2":["ghost","horror","thriller","\u9AB7\u9AC5","\u9B3C\u602A","\u6050\u60E7","\u6050\u6016"],men:["gender","man","male","\u7537\u4EBA","\u7537\u6027"],women:["gender","woman","female","\u5973\u4EBA","\u5973\u6027"],travesti:["\u5973\u4EBA","\u5973\u6027"],genderless:["\u5973\u4EBA","\u5973\u6027"],"open-arm":["\u5F20\u5F00\u53CC\u81C2"],"body-scan":["gesture recognition","body","\u626B\u63CF\u8EAB\u4F53","\u4F53\u6001\u8BC6\u522B","\u52A8\u4F5C\u4E4B\u522B","\u624B\u52BF\u8BC6\u522B"],parent:["patriarch","\u7236\u6BCD","\u4EB2\u5B50","\u5BB6\u957F"],robot:["mechanic","\u673A\u5668\u4EBA"],aliens:["science fiction","ET","\u5916\u661F\u4EBA","\u79D1\u5E7B\u5C0F\u8BF4"],"bear-smile":["cartoon","anime","cartoon","\u5C0F\u718A","\u5FAE\u7B11","\u513F\u7AE5","\u52A8\u753B\u7247","\u5361\u901A","\u52A8\u6F2B"],mickey:["cartoon","disney","\u8FEA\u58EB\u5C3C","\u7C73\u8001\u9F20","\u5FAE\u7B11","\u513F\u7AE5","\u52A8\u753B\u7247"],criminal:["horror","thriller","\u7F6A\u72AF","\u72AF\u7F6A","\u6050\u6016"],ghost:["horror","thriller","\u9B3C\u602A","\u6050\u6016","\u6050\u60E7"],"ghost-2":["horror","\u9B3C\u602A","\u6050\u6016","\u6050\u60E7"],"ghost-smile":["\u9B3C\u602A","\u7B11"],"star-smile":["animation","\u52A8\u753B","\u5FAE\u7B11","\u661F\u661F"],spy:["incognito mode","detective","secret","\u95F4\u8C0D","\u4FA6\u63A2","\u65E0\u75D5\u6A21\u5F0F","\u9690\u79C1\u6A21\u5F0F"]},Weather:{sun:["light mode","sunny","\u592A\u9633","\u767D\u5929\u6A21\u5F0F","\u6674\u5929"],moon:["dark mode","night","\u6708\u4EAE","\u591C\u95F4\u6A21\u5F0F","\u6708\u7259"],flashlight:["\u95EA\u7535"],cloudy:["\u591A\u4E91"],"cloudy-2":["\u591A\u4E91"],mist:["\u96FE\u6C14","\u96FE\u973E"],foggy:["\u5927\u96FE"],"cloud-windy":["\u98CE"],windy:["\u5927\u98CE","\u522E\u98CE"],rainy:["\u4E0B\u96E8","\u96E8\u5929"],drizzle:["\u5C0F\u96E8"],showers:["\u4E2D\u96E8"],"heavy-showers":["\u5927\u96E8"],thunderstorms:["\u96F7\u66B4","\u96F7\u9635\u96E8"],hail:["\u51B0\u96F9"],snowy:["\u4E0B\u96EA","\u96EA\u5929"],"sun-cloudy":["\u6674\u8F6C\u591A\u4E91"],"moon-cloudy":["\u591C\u95F4\u591A\u4E91"],tornado:["\u9F99\u5377\u98CE"],typhoon:["cyclone","tornado","\u9F99\u5377\u98CE","\u65CB\u98CE","\u53F0\u98CE"],haze:["\u9634\u973E","\u8584\u96FE"],"haze-2":["\u9634\u973E","\u8584\u96FE"],"sun-foggy":["\u8584\u96FE"],"moon-foggy":["\u8584\u96FE"],"moon-clear":["\u591C\u95F4\u6A21\u5F0F","\u591C\u95F4\u65E0\u4E91"],"temp-hot":["temperature","\u6E29\u5EA6","\u9AD8\u6E29","\u70ED"],"temp-cold":["temperature","\u6E29\u5EA6","\u4F4E\u6E29","\u51B7"],celsius:["temperature","\u6E29\u5EA6","\u6444\u6C0F\u5EA6"],fahrenheit:["temperature","\u6E29\u5EA6","\u534E\u6C0F\u5EA6"],fire:["hot","\u706B","\u70ED\u95E8"],blaze:["\u706B\u707E"],earthquake:["\u5730\u9707"],flood:["\u6D2A\u6C34"],meteor:["\u6D41\u661F","\u9668\u77F3"],rainbow:["\u5F69\u8679"]},Others:{basketball:["sports","\u8FD0\u52A8","\u7BEE\u7403"],bell:["cartoon","anime","doraemon","\u94C3\u94DB","\u54C6\u5566A\u68A6","\u5361\u901A","\u52A8\u6F2B"],billiards:["sports","\u8FD0\u52A8","\u53F0\u7403","8"],boxing:["sports","\u8FD0\u52A8","\u62F3\u51FB"],cake:["anniversary","\u86CB\u7CD5"],"cake-2":["anniversary","\u86CB\u7CD5"],"cake-3":["\u86CB\u7CD5"],"door-lock":["\u95E8\u9501"],"door-lock-box":["\u95E8\u9501"],football:["sports","\u8FD0\u52A8","\u8DB3\u7403"],game:["pac man","\u6E38\u620F","\u5403\u8C46\u4EBA"],handbag:["fashion","\u65F6\u5C1A","\u624B\u63D0\u5305","\u5973\u5305"],key:["password","\u94A5\u5319","\u5BC6\u7801"],"key-2":["password","\u94A5\u5319","\u5BC6\u7801"],knife:["\u5200"],"knife-blood":["crime","\u5200","\u72AF\u7F6A","\u8840","\u6740\u4EBA"],lightbulb:["energy","creativity","\u706F\u6CE1","\u80FD\u6E90"],"lightbulb-flash":["energy","creativity","\u706F\u6CE1","\u80FD\u6E90","\u95EA\u7535"],outlet:["\u63D2\u5EA7"],"outlet-2":["\u63D2\u5EA7"],"ping-pong":["sports","table tennis","\u8FD0\u52A8","\u4E52\u4E53\u7403"],plug:["\u4E8C\u811A\u63D2\u5934"],"plug-2":["\u4E09\u811A\u63D2\u5934"],reserved:["\u5DF2\u9884\u5B9A"],shirt:["clothes","\u886C\u886B","\u8863\u670D"],sword:["war","\u5200\u5251","\u6218\u4E89","\u6218\u6597","\u7384\u5E7B"],"t-shirt":["skin","theme","T\u6064","\u76AE\u80A4","\u4E3B\u9898"],"t-shirt-2":["skin","theme","T\u6064","\u76AE\u80A4","\u4E3B\u9898"],"t-shirt-air":["dry","T\u6064","\u98CE\u5E72","\u70D8\u5E72"],umbrella:["protect","\u96E8\u4F1E","\u4FDD\u62A4"],"character-recognition":["ocr","\u6587\u5B57\u8BC6\u522B"],"voice-recognition":["asr","\u8BED\u97F3\u8BC6\u522B"],leaf:["energy","ecology","\u6811\u53F6","\u8282\u80FD","\u73AF\u4FDD","\u8BED\u97F3\u8BC6\u522B"],plant:["\u690D\u7269"],seedling:["\u6811\u82D7","\u690D\u7269"],recycle:["recyclable","\u53EF\u56DE\u6536"],scales:["balance","\u79F0","\u5929\u5E73","\u5929\u79E4"],"scales-2":["\u53A8\u623F\u79F0"],"scales-3":["balance","\u79F0","\u5929\u5E73","\u5929\u79E4"],fridge:["refrigerator","\u7535\u51B0\u7BB1"],wheelchair:["accessbility","\u8F6E\u6905","\u53EF\u8BBF\u95EE\u6027","\u8F85\u52A9\u529F\u80FD"],cactus:["desertr","\u4ED9\u4EBA\u638C","\u6C99\u6F20"],door:["\u95E8"],"door-open":["\u5F00\u95E8"],"door-closed":["\u5173\u95E8"]}};function uU(n,e,t){const r=n.slice();return r[29]=e[t],r}function cU(n,e,t){const r=n.slice();return r[32]=e[t],r[34]=t,r}function t0t(n){let e;return{c(){e=oe(n[8])},m(t,r){M(t,e,r)},p(t,r){r[0]&256&&ht(e,t[8])},d(t){t&&A(e)}}}function n0t(n){let e;return{c(){e=K("span"),e.textContent="-"},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function fU(n){let e,t=n[32]+"",r,i,a,o,l;function s(){return n[20](n[32])}let u=n[34]!==n[9].length-1&&n0t();return{c(){e=K("span"),r=oe(t),i=q(),u&&u.c(),a=yt(),I(e,"class","letter svelte-vhpvzd"),Ee(e,"letter-selected",n[32]===n[2])},m(c,f){M(c,e,f),N(e,r),M(c,i,f),u&&u.m(c,f),M(c,a,f),o||(l=zt(e,"click",s),o=!0)},p(c,f){n=c,f[0]&516&&Ee(e,"letter-selected",n[32]===n[2])},d(c){c&&A(e),c&&A(i),u&&u.d(c),c&&A(a),o=!1,l()}}}function r0t(n){let e;return{c(){e=oe("Search")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function i0t(n){let e,t,r=`There is no icons for this ${n[1]?"search":"page"}`,i;return{c(){e=K("div"),t=K("h5"),i=oe(r),I(e,"class","no-icons svelte-vhpvzd")},m(a,o){M(a,e,o),N(e,t),N(t,i)},p(a,o){o[0]&2&&r!==(r=`There is no icons for this ${a[1]?"search":"page"}`)&&ht(i,r)},d(a){a&&A(e)}}}function a0t(n){let e,t=!n[5]&&pU(n);return{c(){e=K("div"),t&&t.c(),I(e,"class","icon-area svelte-vhpvzd")},m(r,i){M(r,e,i),t&&t.m(e,null)},p(r,i){r[5]?t&&(t.d(1),t=null):t?t.p(r,i):(t=pU(r),t.c(),t.m(e,null))},d(r){r&&A(e),t&&t.d()}}}function pU(n){let e,t=n[7],r=[];for(let i=0;i<t.length;i+=1)r[i]=dU(uU(n,t,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();e=yt()},m(i,a){for(let o=0;o<r.length;o+=1)r[o].m(i,a);M(i,e,a)},p(i,a){if(a[0]&129){t=i[7];let o;for(o=0;o<t.length;o+=1){const l=uU(i,t,o);r[o]?r[o].p(l,a):(r[o]=dU(l),r[o].c(),r[o].m(e.parentNode,e))}for(;o<r.length;o+=1)r[o].d(1);r.length=t.length}},d(i){Mn(r,i),i&&A(e)}}}function dU(n){let e,t,r,i,a,o,l=n[29]+"",s,u,c,f,p,h,g,b,w,k=n[29]+"",S,L,B,R,U;function x(){return n[24](n[29])}function W(){return n[25](n[29])}return{c(){e=K("div"),t=K("div"),r=K("i"),a=q(),o=K("div"),s=oe(l),u=oe("-fill"),c=q(),f=K("div"),p=K("div"),h=K("i"),b=q(),w=K("div"),S=oe(k),L=oe("-line"),B=q(),I(r,"class",i=A1(`ri-${n[29]}-fill ri-xl`)+" svelte-vhpvzd"),I(t,"class","icon-preview svelte-vhpvzd"),I(o,"class","icon-label svelte-vhpvzd"),I(e,"class","icon-container svelte-vhpvzd"),Ee(e,"selected",n[0]===`ri-${n[29]}-fill`),I(h,"class",g=A1(`ri-${n[29]}-line ri-xl`)+" svelte-vhpvzd"),I(p,"class","icon-preview svelte-vhpvzd"),I(w,"class","icon-label svelte-vhpvzd"),I(f,"class","icon-container svelte-vhpvzd"),Ee(f,"selected",n[0]===`ri-${n[29]}-line`)},m(Y,Z){M(Y,e,Z),N(e,t),N(t,r),N(e,a),N(e,o),N(o,s),N(o,u),M(Y,c,Z),M(Y,f,Z),N(f,p),N(p,h),N(f,b),N(f,w),N(w,S),N(w,L),N(f,B),R||(U=[zt(e,"click",x),zt(f,"click",W)],R=!0)},p(Y,Z){n=Y,Z[0]&128&&i!==(i=A1(`ri-${n[29]}-fill ri-xl`)+" svelte-vhpvzd")&&I(r,"class",i),Z[0]&128&&l!==(l=n[29]+"")&&ht(s,l),Z[0]&129&&Ee(e,"selected",n[0]===`ri-${n[29]}-fill`),Z[0]&128&&g!==(g=A1(`ri-${n[29]}-line ri-xl`)+" svelte-vhpvzd")&&I(h,"class",g),Z[0]&128&&k!==(k=n[29]+"")&&ht(S,k),Z[0]&129&&Ee(f,"selected",n[0]===`ri-${n[29]}-line`)},d(Y){Y&&A(e),Y&&A(c),Y&&A(f),R=!1,Mi(U)}}}function o0t(n){let e,t,r,i,a,o,l,s,u,c,f,p,h,g,b,w,k,S,L,B,R,U,x,W=n[9],Y=[];for(let X=0;X<W.length;X+=1)Y[X]=fU(cU(n,W,X));function Z(X){n[21](X)}let te={thin:!0,placeholder:"Search Icon"};n[1]!==void 0&&(te.value=n[1]),l=new En({props:te}),Oe.push(()=>tt(l,"value",Z)),c=new gn({props:{secondary:!0,$$slots:{default:[r0t]},$$scope:{ctx:n}}}),c.$on("click",n[13]);function ue(X,re){return X[7].length>0?a0t:i0t}let se=ue(n),ee=se(n);return{c(){e=K("div"),t=K("div"),r=K("div");for(let X=0;X<Y.length;X+=1)Y[X].c();i=q(),a=K("div"),o=K("div"),D(l.$$.fragment),u=q(),D(c.$$.fragment),f=q(),p=K("div"),h=K("div"),g=K("span"),g.innerHTML='<i class="page-btn ri-arrow-left-line ri-sm svelte-vhpvzd"></i>',b=q(),w=K("span"),k=oe(n[6]),S=q(),L=K("span"),L.innerHTML='<i class="page-btn ri-arrow-right-line ri-sm svelte-vhpvzd"></i>',B=q(),ee.c(),I(r,"class","alphabet-area svelte-vhpvzd"),I(o,"class","input-wrapper svelte-vhpvzd"),I(a,"class","search-input svelte-vhpvzd"),I(h,"class","pager"),I(p,"class","page-area svelte-vhpvzd"),I(t,"class","search-area svelte-vhpvzd"),I(e,"class","container svelte-vhpvzd")},m(X,re){M(X,e,re),N(e,t),N(t,r);for(let le=0;le<Y.length;le+=1)Y[le].m(r,null);N(t,i),N(t,a),N(a,o),T(l,o,null),N(a,u),T(c,a,null),N(t,f),N(t,p),N(p,h),N(h,g),N(h,b),N(h,w),N(w,k),N(h,S),N(h,L),N(e,B),ee.m(e,null),R=!0,U||(x=[zt(g,"click",n[22]),zt(L,"click",n[23])],U=!0)},p(X,re){if(re[0]&1540){W=X[9];let ke;for(ke=0;ke<W.length;ke+=1){const he=cU(X,W,ke);Y[ke]?Y[ke].p(he,re):(Y[ke]=fU(he),Y[ke].c(),Y[ke].m(r,null))}for(;ke<Y.length;ke+=1)Y[ke].d(1);Y.length=W.length}const le={};!s&&re[0]&2&&(s=!0,le.value=X[1],nt(()=>s=!1)),l.$set(le);const fe={};re[1]&16&&(fe.$$scope={dirty:re,ctx:X}),c.$set(fe),(!R||re[0]&64)&&ht(k,X[6]),se===(se=ue(X))&&ee?ee.p(X,re):(ee.d(1),ee=se(X),ee&&(ee.c(),ee.m(e,null)))},i(X){R||(_(l.$$.fragment,X),_(c.$$.fragment,X),R=!0)},o(X){y(l.$$.fragment,X),y(c.$$.fragment,X),R=!1},d(X){X&&A(e),Mn(Y,X),O(l),O(c),ee.d(),U=!1,Mi(x)}}}function l0t(n){let e,t,r,i,a;t=new Jr({props:{$$slots:{default:[t0t]},$$scope:{ctx:n}}}),t.$on("click",function(){mn(n[4].show)&&n[4].show.apply(this,arguments)});let o={anchor:n[3],$$slots:{default:[o0t]},$$scope:{ctx:n}};return i=new fd({props:o}),n[26](i),i.$on("open",n[11]),{c(){e=K("div"),D(t.$$.fragment),r=q(),D(i.$$.fragment)},m(l,s){M(l,e,s),T(t,e,null),n[19](e),M(l,r,s),T(i,l,s),a=!0},p(l,s){n=l;const u={};s[0]&256|s[1]&16&&(u.$$scope={dirty:s,ctx:n}),t.$set(u);const c={};s[0]&8&&(c.anchor=n[3]),s[0]&231|s[1]&16&&(c.$$scope={dirty:s,ctx:n}),i.$set(c)},i(l){a||(_(t.$$.fragment,l),_(i.$$.fragment,l),a=!0)},o(l){y(t.$$.fragment,l),y(i.$$.fragment,l),a=!1},d(l){l&&A(e),O(t),n[19](null),l&&A(r),n[26](null),O(i,l)}}}const s0t=Object.keys(sU).reduce((n,e)=>[...n,...Object.keys(sU[e])],[]);function Dk(n){const e=new RegExp(`^${n}`,"i");return s0t.filter(t=>e.test(t))}function u0t(n,e,t){let r,i,a,o,l;const s=Nn();let{value:u=""}=e,{maxIconsPerPage:c=30}=e,f="",p="A",h=1,g=Dk(p);const b=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];let w,k,S=!1;async function L(re){t(15,h=1),t(1,f=""),t(5,S=!0),t(2,p=re),t(16,g=Dk(re)),await x5(),t(5,S=!1)}async function B(){t(5,S=!0);const re=g.findIndex(le=>le.value===u);re!==-1&&t(15,h=Math.ceil(re/c)),await x5(),t(5,S=!1)}async function R(){if(u){const re=r.substring(0,1);await L(re),await B()}}async function U(re){t(5,S=!0),re&&h<i?t(15,h++,h):!re&&h>1&&t(15,h--,h),await x5(),t(5,S=!1)}async function x(){t(15,h=1),t(5,S=!0),t(16,g=Dk(f)),await x5(),t(5,S=!1)}function W(re){Oe[re?"unshift":"push"](()=>{w=re,t(3,w)})}const Y=re=>L(re);function Z(re){f=re,t(1,f)}const te=()=>U(!1),ue=()=>U(!0),se=re=>t(0,u=`ri-${re}-fill`),ee=re=>t(0,u=`ri-${re}-line`);function X(re){Oe[re?"unshift":"push"](()=>{k=re,t(4,k)})}return n.$$set=re=>{"value"in re&&t(0,u=re.value),"maxIconsPerPage"in re&&t(14,c=re.maxIconsPerPage)},n.$$.update=()=>{n.$$.dirty[0]&1&&s("change",u),n.$$.dirty[0]&1&&t(8,r=u?u.substring(3):"Pick icon"),n.$$.dirty[0]&81920&&t(17,i=Math.ceil(g.length/c)),n.$$.dirty[0]&49152&&t(18,a=c*h),n.$$.dirty[0]&344064&&t(7,o=g.slice(a-c,a)),n.$$.dirty[0]&163840&&t(6,l=`Page ${h} of ${i}`)},[u,f,p,w,k,S,l,o,r,b,L,R,U,x,c,h,g,i,a,W,Y,Z,te,ue,se,ee,X]}class c0t extends He{constructor(e){super(),Be(this,e,u0t,l0t,De,{value:0,maxIconsPerPage:14},null,[-1,-1])}}function f0t(n){let e,t;return e=new vn({props:{placeholder:n[0],value:n[2],options:n[1]}}),e.$on("change",n[3]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&1&&(a.placeholder=r[0]),i&4&&(a.value=r[2]),i&2&&(a.options=r[1]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function p0t(n,e,t){let r,i,a,o,l;Pe(n,us,g=>t(8,l=g));let{componentInstance:s={}}=e,{value:u=""}=e,{placeholder:c}=e;const f=Nn(),p=(g,b)=>!Array.isArray(b)||b.indexOf(g)===-1?null:g,h=g=>{t(2,o=p(g.detail,a)),f("change",o)};return n.$$set=g=>{"componentInstance"in g&&t(4,s=g.componentInstance),"value"in g&&t(5,u=g.value),"placeholder"in g&&t(0,c=g.placeholder)},n.$$.update=()=>{n.$$.dirty&272&&t(7,r=A3(l,s)),n.$$.dirty&384&&t(6,i=k2(l,r).schema),n.$$.dirty&64&&t(1,a=Object.keys(i||{})),n.$$.dirty&34&&t(2,o=p(u,a))},[c,a,o,h,s,u,i,r,l]}class d0t extends He{constructor(e){super(),Be(this,e,p0t,f0t,De,{componentInstance:4,value:5,placeholder:0})}}function h0t(n){let e,t;return e=new vn({props:{placeholder:n[0],value:n[2],options:n[1]}}),e.$on("change",n[3]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&1&&(a.placeholder=r[0]),i&4&&(a.value=r[2]),i&2&&(a.options=r[1]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function m0t(n,e,t){let r,i,a,o,l;Pe(n,us,b=>t(8,l=b));let{componentInstance:s={}}=e,{value:u=""}=e,{placeholder:c}=e;const f=Nn(),p=b=>Object.entries(b||{}).filter(w=>!Lee.includes(w[1].type)).map(w=>w[0]),h=(b,w)=>!Array.isArray(w)||w.indexOf(b)===-1?null:b,g=b=>{t(2,o=h(b.detail,a)),f("change",o)};return n.$$set=b=>{"componentInstance"in b&&t(4,s=b.componentInstance),"value"in b&&t(5,u=b.value),"placeholder"in b&&t(0,c=b.placeholder)},n.$$.update=()=>{n.$$.dirty&272&&t(7,r=A3(l,s)),n.$$.dirty&384&&t(6,i=k2(l,r).schema),n.$$.dirty&64&&t(1,a=p(i)),n.$$.dirty&34&&t(2,o=h(u,a))},[c,a,o,g,s,u,i,r,l]}class g0t extends He{constructor(e){super(),Be(this,e,m0t,h0t,De,{componentInstance:4,value:5,placeholder:0})}}function v0t(n){let e,t;return e=new c5({props:{placeholder:n[0],value:n[2],options:n[1]}}),e.$on("change",n[3]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&1&&(a.placeholder=r[0]),i&4&&(a.value=r[2]),i&2&&(a.options=r[1]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function _0t(n,e,t){let r,i,a,o,l;Pe(n,us,g=>t(8,l=g));let{componentInstance:s={}}=e,{value:u=""}=e,{placeholder:c}=e;const f=Nn(),p=(g,b)=>(Array.isArray(g)||(g=[]),g.filter(w=>b.indexOf(w)!==-1)),h=g=>{t(2,o=p(g.detail,a)),f("change",o)};return n.$$set=g=>{"componentInstance"in g&&t(4,s=g.componentInstance),"value"in g&&t(5,u=g.value),"placeholder"in g&&t(0,c=g.placeholder)},n.$$.update=()=>{n.$$.dirty&272&&t(7,r=A3(l,s)),n.$$.dirty&384&&t(6,i=k2(l,r).schema),n.$$.dirty&64&&t(1,a=Object.keys(i||{})),n.$$.dirty&34&&t(2,o=p(u,a))},[c,a,o,h,s,u,i,r,l]}class b0t extends He{constructor(e){super(),Be(this,e,_0t,v0t,De,{componentInstance:4,value:5,placeholder:0})}}function y0t(n){let e,t;return e=new c5({props:{placeholder:n[0],value:n[2],options:n[1]}}),e.$on("change",n[3]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&1&&(a.placeholder=r[0]),i&4&&(a.value=r[2]),i&2&&(a.options=r[1]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function hU(n,e){return Array.isArray(n)||(n=[]),n.filter(t=>e.indexOf(t)!==-1)}function $0t(n,e,t){let r,i,a,o,l,s;Pe(n,ti,b=>t(9,l=b)),Pe(n,us,b=>t(8,s=b));let{componentInstance:u={}}=e,{value:c=""}=e,{placeholder:f}=e;const p=Nn();function h(b,w){let k=Object.values(w);if(!(b!=null&&b.tableId))return k.map(L=>L.name);const S=l.list.find(L=>L._id===b.tableId);return $C(k,{allowLinks:S==null?void 0:S.sql}).map(L=>L.name)}const g=b=>{t(2,o=hU(b.detail,a)),p("change",o)};return n.$$set=b=>{"componentInstance"in b&&t(4,u=b.componentInstance),"value"in b&&t(5,c=b.value),"placeholder"in b&&t(0,f=b.placeholder)},n.$$.update=()=>{n.$$.dirty&272&&t(7,r=A3(s,u)),n.$$.dirty&384&&t(6,i=k2(s,r).schema),n.$$.dirty&192&&t(1,a=h(r,i||{})),n.$$.dirty&34&&t(2,o=hU(c,a))},[f,a,o,g,u,c,i,r,s]}class w0t extends He{constructor(e){super(),Be(this,e,$0t,y0t,De,{componentInstance:4,value:5,placeholder:0})}}function k0t(n){let e,t;const r=[n[1],{showAllQueries:!0},{showDataProviders:!1},{otherSources:n[0]}];let i={};for(let a=0;a<r.length;a+=1)i=h0(i,r[a]);return e=new Tre({props:i}),e.$on("change",n[2]),{c(){D(e.$$.fragment)},m(a,o){T(e,a,o),t=!0},p(a,[o]){const l=o&3?h4(r,[o&2&&am(a[1]),r[1],r[2],o&1&&{otherSources:a[0]}]):{};e.$set(l)},i(a){t||(_(e.$$.fragment,a),t=!0)},o(a){y(e.$$.fragment,a),t=!1},d(a){O(e,a)}}}function z0t(n,e,t){const r=[{name:"Custom",label:"Custom"}];function i(a){An.call(this,n,a)}return n.$$set=a=>{t(1,e=h0(h0({},e),Rh(a)))},e=Rh(e),[r,e,i]}class A0t extends He{constructor(e){super(),Be(this,e,z0t,k0t,De,{})}}function mU(n,e,t){const r=n.slice();return r[8]=e[t][0],r[0]=e[t][1],r}function M0t(n){let e=n[4][n[0]].name+"",t;return{c(){t=oe(e)},m(r,i){M(r,t,i)},p(r,i){i&1&&e!==(e=r[4][r[0]].name+"")&&ht(t,e)},d(r){r&&A(t)}}}function S0t(n){let e=n[0].name+"",t;return{c(){t=oe(e)},m(r,i){M(r,t,i)},p:at,d(r){r&&A(t)}}}function gU(n){let e,t,r,i,a,o,l,s;t=new hn({props:{color:"white",size:"L",name:n[0].icon}}),i=new Rt({props:{size:"XS",$$slots:{default:[S0t]},$$scope:{ctx:n}}});function u(){return n[5](n[8])}return{c(){e=K("button"),D(t.$$.fragment),r=q(),D(i.$$.fragment),a=q(),I(e,"class","layout svelte-dl48fo"),Ee(e,"selected",n[1]===n[8])},m(c,f){M(c,e,f),T(t,e,null),N(e,r),T(i,e,null),N(e,a),o=!0,l||(s=zt(e,"click",u),l=!0)},p(c,f){n=c;const p={};f&2048&&(p.$$scope={dirty:f,ctx:n}),i.$set(p),(!o||f&18)&&Ee(e,"selected",n[1]===n[8])},i(c){o||(_(t.$$.fragment,c),_(i.$$.fragment,c),o=!0)},o(c){y(t.$$.fragment,c),y(i.$$.fragment,c),o=!1},d(c){c&&A(e),O(t),O(i),l=!1,s()}}}function C0t(n){let e,t,r=Object.entries(n[4]),i=[];for(let o=0;o<r.length;o+=1)i[o]=gU(mU(n,r,o));const a=o=>y(i[o],1,1,()=>{i[o]=null});return{c(){e=K("div");for(let o=0;o<i.length;o+=1)i[o].c();I(e,"class","container svelte-dl48fo")},m(o,l){M(o,e,l);for(let s=0;s<i.length;s+=1)i[s].m(e,null);t=!0},p(o,l){if(l&18){r=Object.entries(o[4]);let s;for(s=0;s<r.length;s+=1){const u=mU(o,r,s);i[s]?(i[s].p(u,l),_(i[s],1)):(i[s]=gU(u),i[s].c(),_(i[s],1),i[s].m(e,null))}for(Ae(),s=r.length;s<i.length;s+=1)a(s);Me()}},i(o){if(!t){for(let l=0;l<r.length;l+=1)_(i[l]);t=!0}},o(o){i=i.filter(Boolean);for(let l=0;l<i.length;l+=1)y(i[l]);t=!1},d(o){o&&A(e),Mn(i,o)}}}function L0t(n){let e,t;return e=new gr({props:{onConfirm:n[6],size:"L",title:"Select layout",$$slots:{default:[C0t]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&2&&(a.onConfirm=r[6]),i&2050&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function E0t(n){let e,t,r,i;e=new Jr({props:{$$slots:{default:[M0t]},$$scope:{ctx:n}}}),e.$on("click",function(){mn(n[2].show)&&n[2].show.apply(this,arguments)});let a={$$slots:{default:[L0t]},$$scope:{ctx:n}};return r=new ir({props:a}),n[7](r),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,[l]){n=o;const s={};l&2049&&(s.$$scope={dirty:l,ctx:n}),e.$set(s);const u={};l&2050&&(u.$$scope={dirty:l,ctx:n}),r.$set(u)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),n[7](null),O(r,o)}}}function T0t(n,e,t){const r=Nn();let{value:i=""}=e,a=i,o,l={mainSidebar:{name:"Main with Sidebar",icon:"ColumnTwoB"},sidebarMain:{name:"Sidebar with Main",icon:"ColumnTwoC"},twoColumns:{name:"Two columns",icon:"ColumnTwoA"},threeColumns:{name:"Three columns",icon:"ViewColumn"}};const s=f=>t(1,a=f),u=()=>r("change",a);function c(f){Oe[f?"unshift":"push"](()=>{o=f,t(2,o)})}return n.$$set=f=>{"value"in f&&t(0,i=f.value)},[i,a,o,r,l,s,u,c]}class O0t extends He{constructor(e){super(),Be(this,e,T0t,E0t,De,{value:0})}}function D0t(n){let e;return{c(){e=oe("Define filters")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function I0t(n){let e;return{c(){e=oe("Save")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function B0t(n){let e,t;return e=new gn({props:{cta:!0,slot:"buttons",$$slots:{default:[I0t]},$$scope:{ctx:n}}}),e.$on("click",n[6]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&8192&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function H0t(n){let e,t;return e=new wC({props:{slot:"body",filters:n[0],bindings:n[1],schemaFields:n[5],datasource:n[2]}}),e.$on("change",n[10]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&1&&(a.filters=r[0]),i&2&&(a.bindings=r[1]),i&32&&(a.schemaFields=r[5]),i&4&&(a.datasource=r[2]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function P0t(n){let e,t,r,i;e=new Jr({props:{$$slots:{default:[D0t]},$$scope:{ctx:n}}}),e.$on("click",function(){mn(n[3].show)&&n[3].show.apply(this,arguments)});let a={title:"Filtering",$$slots:{body:[H0t],buttons:[B0t]},$$scope:{ctx:n}};return r=new pp({props:a}),n[11](r),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,[l]){n=o;const s={};l&8192&&(s.$$scope={dirty:l,ctx:n}),e.$set(s);const u={};l&8247&&(u.$$scope={dirty:l,ctx:n}),r.$set(u)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),n[11](null),O(r,o)}}}function R0t(n,e,t){let r,i,a,o,l;Pe(n,us,w=>t(9,l=w));const s=Nn();let{value:u=[]}=e,{componentInstance:c}=e,{bindings:f=[]}=e,p;async function h(){s("change",r),wt.success("Filters saved"),p.hide()}const g=w=>t(4,r=w.detail);function b(w){Oe[w?"unshift":"push"](()=>{p=w,t(3,p)})}return n.$$set=w=>{"value"in w&&t(0,u=w.value),"componentInstance"in w&&t(7,c=w.componentInstance),"bindings"in w&&t(1,f=w.bindings)},n.$$.update=()=>{var w;n.$$.dirty&1&&t(4,r=u),n.$$.dirty&640&&t(2,i=A3(l,c)),n.$$.dirty&516&&t(8,a=(w=k2(l,i))==null?void 0:w.schema),n.$$.dirty&256&&t(5,o=Object.values(a||{}))},[u,f,i,p,r,o,h,c,a,l,g,b]}class V0t extends He{constructor(e){super(),Be(this,e,R0t,P0t,De,{value:0,componentInstance:7,bindings:1})}}function vU(n){let e,t,r,i,a;return t=new hn({props:{size:"S",name:"FlashOn"}}),{c(){e=K("div"),D(t.$$.fragment),I(e,"class","icon svelte-11tgeq8")},m(o,l){M(o,e,l),T(t,e,null),r=!0,i||(a=zt(e,"click",function(){mn(n[9].show)&&n[9].show.apply(this,arguments)}),i=!0)},p(o,l){n=o},i(o){r||(_(t.$$.fragment,o),r=!0)},o(o){y(t.$$.fragment,o),r=!1},d(o){o&&A(e),O(t),i=!1,a()}}}function N0t(n){let e;return{c(){e=oe("Add the objects on the left to enrich your text.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function F0t(n){let e;return{c(){e=oe("Save")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function j0t(n){let e,t;return e=new gn({props:{cta:!0,slot:"buttons",disabled:!n[10],$$slots:{default:[F0t]},$$scope:{ctx:n}}}),e.$on("click",n[15]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&1024&&(a.disabled=!r[10]),i&134217728&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function U0t(n){let e,t,r,i;function a(s){n[23](s)}var o=n[0];function l(s){let u={slot:"body",value:s[8],close:s[15],bindings:s[1],allowJS:s[6]};return s[10]!==void 0&&(u.valid=s[10]),{props:u}}return o&&(e=ia(o,l(n)),Oe.push(()=>tt(e,"valid",a)),e.$on("change",n[24])),{c(){e&&D(e.$$.fragment),r=yt()},m(s,u){e&&T(e,s,u),M(s,r,u),i=!0},p(s,u){const c={};if(u&256&&(c.value=s[8]),u&2&&(c.bindings=s[1]),u&64&&(c.allowJS=s[6]),!t&&u&1024&&(t=!0,c.valid=s[10],nt(()=>t=!1)),o!==(o=s[0])){if(e){Ae();const f=e;y(f.$$.fragment,1,0,()=>{O(f,1)}),Me()}o?(e=ia(o,l(s)),Oe.push(()=>tt(e,"valid",a)),e.$on("change",s[24]),D(e.$$.fragment),_(e.$$.fragment,1),T(e,r.parentNode,r)):e=null}else o&&e.$set(c)},i(s){i||(e&&_(e.$$.fragment,s),i=!0)},o(s){e&&y(e.$$.fragment,s),i=!1},d(s){s&&A(r),e&&O(e,s)}}}function x0t(n){let e,t,r,i,a,o;t=new m4({props:{label:n[4],disabled:n[5],readonly:n[13],value:n[13]?"(JavaScript function)":n[8],placeholder:n[3],options:n[12],error:n[7]}}),t.$on("type",n[20]),t.$on("pick",n[21]),t.$on("blur",n[22]);let l=!n[5]&&vU(n),s={title:n[2],$$slots:{body:[U0t],buttons:[j0t],description:[N0t]},$$scope:{ctx:n}};return a=new pp({props:s}),n[25](a),{c(){e=K("div"),D(t.$$.fragment),r=q(),l&&l.c(),i=q(),D(a.$$.fragment),I(e,"class","control svelte-11tgeq8"),Ee(e,"disabled",n[5])},m(u,c){M(u,e,c),T(t,e,null),N(e,r),l&&l.m(e,null),M(u,i,c),T(a,u,c),o=!0},p(u,[c]){const f={};c&16&&(f.label=u[4]),c&32&&(f.disabled=u[5]),c&8192&&(f.readonly=u[13]),c&8448&&(f.value=u[13]?"(JavaScript function)":u[8]),c&8&&(f.placeholder=u[3]),c&4096&&(f.options=u[12]),c&128&&(f.error=u[7]),t.$set(f),u[5]?l&&(Ae(),y(l,1,1,()=>{l=null}),Me()):l?(l.p(u,c),c&32&&_(l,1)):(l=vU(u),l.c(),_(l,1),l.m(e,null)),(!o||c&32)&&Ee(e,"disabled",u[5]);const p={};c&4&&(p.title=u[2]),c&134221123&&(p.$$scope={dirty:c,ctx:u}),a.$set(p)},i(u){o||(_(t.$$.fragment,u),_(l),_(a.$$.fragment,u),o=!0)},o(u){y(t.$$.fragment,u),y(l),y(a.$$.fragment,u),o=!1},d(u){u&&A(e),O(t),l&&l.d(),u&&A(i),n[25](null),O(a,u)}}}function q0t(n,e,t){let r,i,a,o,{panel:l=W9}=e,{value:s=""}=e,{bindings:u=[]}=e,{title:c="Bindings"}=e,{placeholder:f}=e,{label:p}=e,{disabled:h=!1}=e,{options:g}=e,{allowJS:b=!0}=e,{appendBindingsAsOptions:w=!0}=e,{error:k}=e;const S=Nn();let L,B=!0;const R=()=>{U(i),L.hide()},U=(ee,X)=>{X&&!(g!=null&&g.includes(ee))&&(ee=`{{ ${ee} }}`),S("change",up(u,ee))},x=(ee,X,re)=>re?[].concat(ee||[]).concat((X==null?void 0:X.map(le=>le.readableBinding))||[]):ee,W=ee=>U(ee.detail,!1),Y=ee=>U(ee.detail,!0),Z=()=>S("blur");function te(ee){B=ee,t(10,B)}const ue=ee=>t(11,i=ee.detail);function se(ee){Oe[ee?"unshift":"push"](()=>{L=ee,t(9,L)})}return n.$$set=ee=>{"panel"in ee&&t(0,l=ee.panel),"value"in ee&&t(17,s=ee.value),"bindings"in ee&&t(1,u=ee.bindings),"title"in ee&&t(2,c=ee.title),"placeholder"in ee&&t(3,f=ee.placeholder),"label"in ee&&t(4,p=ee.label),"disabled"in ee&&t(5,h=ee.disabled),"options"in ee&&t(18,g=ee.options),"allowJS"in ee&&t(6,b=ee.allowJS),"appendBindingsAsOptions"in ee&&t(19,w=ee.appendBindingsAsOptions),"error"in ee&&t(7,k=ee.error)},n.$$.update=()=>{n.$$.dirty&131074&&t(8,r=v3(u,s)),n.$$.dirty&256&&t(11,i=r),n.$$.dirty&131072&&t(13,a=gv(s)),n.$$.dirty&786434&&t(12,o=x(g,u,w))},[l,u,c,f,p,h,b,k,r,L,B,i,o,a,S,R,U,s,g,w,W,Y,Z,te,ue,se]}class Jre extends He{constructor(e){super(),Be(this,e,q0t,x0t,De,{panel:0,value:17,bindings:1,title:2,placeholder:3,label:4,disabled:5,options:18,allowJS:6,appendBindingsAsOptions:19,error:7})}}function W0t(n){let e,t;return e=new Jre({props:{value:n[0],bindings:n[1],placeholder:n[2],options:n[3],appendBindingsAsOptions:!1}}),e.$on("change",n[5]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&1&&(a.value=r[0]),i&2&&(a.bindings=r[1]),i&4&&(a.placeholder=r[2]),i&8&&(a.options=r[3]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function G0t(n,e,t){let r,i;Pe(n,Gt,u=>t(4,i=u));let{value:a}=e,{bindings:o}=e,{placeholder:l}=e;function s(u){An.call(this,n,u)}return n.$$set=u=>{"value"in u&&t(0,a=u.value),"bindings"in u&&t(1,o=u.bindings),"placeholder"in u&&t(2,l=u.placeholder)},n.$$.update=()=>{n.$$.dirty&16&&t(3,r=i.screens.map(u=>{var c;return(c=u.routing)==null?void 0:c.route}).filter(u=>u!=null))},[a,o,l,r,i,s]}class Y0t extends He{constructor(e){super(),Be(this,e,G0t,W0t,De,{value:0,bindings:1,placeholder:2})}}function _U(n,e,t){const r=n.slice();return r[6]=e[t],r[7]=e,r[8]=t,r}function bU(n){let e,t;return e=new Rt({props:{size:"S",$$slots:{default:[K0t]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function K0t(n){let e;return{c(){e=oe("Add an option to get started.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function yU(n){let e,t,r,i,a,o,l,s=[],u=new Map,c;t=new un({props:{$$slots:{default:[X0t]},$$scope:{ctx:n}}}),i=new un({props:{$$slots:{default:[J0t]},$$scope:{ctx:n}}});let f=n[0];const p=h=>h[6].id;for(let h=0;h<f.length;h+=1){let g=_U(n,f,h),b=p(g);u.set(b,s[h]=$U(b,g))}return{c(){e=K("div"),D(t.$$.fragment),r=q(),D(i.$$.fragment),a=q(),o=K("div"),l=q();for(let h=0;h<s.length;h+=1)s[h].c();I(e,"class","options svelte-12ls1u")},m(h,g){M(h,e,g),T(t,e,null),N(e,r),T(i,e,null),N(e,a),N(e,o),N(e,l);for(let b=0;b<s.length;b+=1)s[b].m(e,null);c=!0},p(h,g){const b={};g&512&&(b.$$scope={dirty:g,ctx:h}),t.$set(b);const w={};g&512&&(w.$$scope={dirty:g,ctx:h}),i.$set(w),g&3&&(f=h[0],Ae(),s=P0(s,g,p,1,h,f,u,e,xf,$U,null,_U),Me())},i(h){if(!c){_(t.$$.fragment,h),_(i.$$.fragment,h);for(let g=0;g<f.length;g+=1)_(s[g]);c=!0}},o(h){y(t.$$.fragment,h),y(i.$$.fragment,h);for(let g=0;g<s.length;g+=1)y(s[g]);c=!1},d(h){h&&A(e),O(t),O(i);for(let g=0;g<s.length;g+=1)s[g].d()}}}function X0t(n){let e;return{c(){e=oe("Label")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function J0t(n){let e;return{c(){e=oe("Value")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function $U(n,e){let t,r,i,a,o,l,s,u,c;function f(w){e[3](w,e[6])}let p={placeholder:"Label"};e[6].label!==void 0&&(p.value=e[6].label),r=new En({props:p}),Oe.push(()=>tt(r,"value",f));function h(w){e[4](w,e[6])}let g={placeholder:"Value"};e[6].value!==void 0&&(g.value=e[6].value),o=new En({props:g}),Oe.push(()=>tt(o,"value",h));function b(){return e[5](e[6])}return u=new hn({props:{name:"Close",hoverable:!0,size:"S"}}),u.$on("click",b),{key:n,first:null,c(){t=yt(),D(r.$$.fragment),a=q(),D(o.$$.fragment),s=q(),D(u.$$.fragment),this.first=t},m(w,k){M(w,t,k),T(r,w,k),M(w,a,k),T(o,w,k),M(w,s,k),T(u,w,k),c=!0},p(w,k){e=w;const S={};!i&&k&1&&(i=!0,S.value=e[6].label,nt(()=>i=!1)),r.$set(S);const L={};!l&&k&1&&(l=!0,L.value=e[6].value,nt(()=>l=!1)),o.$set(L)},i(w){c||(_(r.$$.fragment,w),_(o.$$.fragment,w),_(u.$$.fragment,w),c=!0)},o(w){y(r.$$.fragment,w),y(o.$$.fragment,w),y(u.$$.fragment,w),c=!1},d(w){w&&A(t),O(r,w),w&&A(a),O(o,w),w&&A(s),O(u,w)}}}function Q0t(n){let e;return{c(){e=oe("Add Option")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Z0t(n){var s;let e,t,r,i,a,o=!n[0].length&&bU(n),l=((s=n[0])==null?void 0:s.length)&&yU(n);return i=new gn({props:{icon:"AddCircle",size:"M",secondary:!0,$$slots:{default:[Q0t]},$$scope:{ctx:n}}}),i.$on("click",n[2]),{c(){o&&o.c(),e=q(),l&&l.c(),t=q(),r=K("div"),D(i.$$.fragment)},m(u,c){o&&o.m(u,c),M(u,e,c),l&&l.m(u,c),M(u,t,c),M(u,r,c),T(i,r,null),a=!0},p(u,c){var p;u[0].length?o&&(Ae(),y(o,1,1,()=>{o=null}),Me()):o?c&1&&_(o,1):(o=bU(u),o.c(),_(o,1),o.m(e.parentNode,e)),(p=u[0])!=null&&p.length?l?(l.p(u,c),c&1&&_(l,1)):(l=yU(u),l.c(),_(l,1),l.m(t.parentNode,t)):l&&(Ae(),y(l,1,1,()=>{l=null}),Me());const f={};c&512&&(f.$$scope={dirty:c,ctx:u}),i.$set(f)},i(u){a||(_(o),_(l),_(i.$$.fragment,u),a=!0)},o(u){y(o),y(l),y(i.$$.fragment,u),a=!1},d(u){o&&o.d(u),u&&A(e),l&&l.d(u),u&&A(t),u&&A(r),O(i)}}}function eut(n){let e,t,r;return t=new Ht({props:{noPadding:!0,gap:"S",$$slots:{default:[Z0t]},$$scope:{ctx:n}}}),{c(){e=K("div"),D(t.$$.fragment),I(e,"class","container svelte-12ls1u")},m(i,a){M(i,e,a),T(t,e,null),r=!0},p(i,a){const o={};a&513&&(o.$$scope={dirty:a,ctx:i}),t.$set(o)},i(i){r||(_(t.$$.fragment,i),r=!0)},o(i){y(t.$$.fragment,i),r=!1},d(i){i&&A(e),O(t)}}}function tut(n){let e,t;return e=new dd({props:{$$slots:{default:[eut]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&513&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function nut(n,e,t){let{options:r=[]}=e;const i=u=>{t(0,r=r.filter(c=>c.id!==u))},a=()=>{t(0,r=[...r,{id:Vf.exports.generate(),label:null,value:null}])};function o(u,c){n.$$.not_equal(c.label,u)&&(c.label=u,t(0,r))}function l(u,c){n.$$.not_equal(c.value,u)&&(c.value=u,t(0,r))}const s=u=>i(u.id);return n.$$set=u=>{"options"in u&&t(0,r=u.options)},[r,i,a,o,l,s]}class rut extends He{constructor(e){super(),Be(this,e,nut,tut,De,{options:0})}}function iut(n){let e;return{c(){e=oe("Define Options")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function aut(n){let e;return{c(){e=oe("Define the options for this picker.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function out(n){let e;return{c(){e=oe("Save")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function lut(n){let e,t;return e=new gn({props:{cta:!0,slot:"buttons",$$slots:{default:[out]},$$scope:{ctx:n}}}),e.$on("click",n[2]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&128&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function sut(n){let e,t,r;function i(o){n[4](o)}let a={slot:"body"};return n[1]!==void 0&&(a.options=n[1]),e=new rut({props:a}),Oe.push(()=>tt(e,"options",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){const s={};!t&&l&2&&(t=!0,s.options=o[1],nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function uut(n){let e,t,r,i;e=new Jr({props:{$$slots:{default:[iut]},$$scope:{ctx:n}}}),e.$on("click",function(){mn(n[0].show)&&n[0].show.apply(this,arguments)});let a={title:"Options",$$slots:{body:[sut],buttons:[lut],description:[aut]},$$scope:{ctx:n}};return r=new pp({props:a}),n[5](r),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,[l]){n=o;const s={};l&128&&(s.$$scope={dirty:l,ctx:n}),e.$set(s);const u={};l&130&&(u.$$scope={dirty:l,ctx:n}),r.$set(u)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),n[5](null),O(r,o)}}}function cut(n,e,t){const r=Nn();let{value:i}=e,a,o=i||[];const l=async()=>{t(1,o=o.filter(c=>c.value||c.label));for(let c=0;c<o.length;c++){let f=o[c];f.label=f.label?f.label:f.value,f.value=f.value?f.value:f.label,t(1,o[c]=f,o)}r("change",o),a.hide()};function s(c){o=c,t(1,o)}function u(c){Oe[c?"unshift":"push"](()=>{a=c,t(0,a)})}return n.$$set=c=>{"value"in c&&t(3,i=c.value)},[a,o,l,i,s,u]}class fut extends He{constructor(e){super(),Be(this,e,cut,uut,De,{value:3})}}function put(n){let e,t;return e=new m4({props:{value:n[0],options:n[1]}}),e.$on("change",n[8]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&1&&(a.value=r[0]),i&2&&(a.options=r[1]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function dut(n,e,t){let r,i,a,o,l;Pe(n,us,h=>t(7,l=h));let{componentInstance:s}=e,{value:u}=e,{type:c}=e;const f=(h,g)=>{let b=Object.entries(h!=null?h:{}),w=[];return g==="field/options"||g==="field/barcode/qr"?w=[g,"field/string"]:w=[g],w=w.map(k=>k.slice(k.indexOf("/")+1)),b=b.filter(k=>w.includes(k[1].type)),b.map(k=>k[0])};function p(h){An.call(this,n,h)}return n.$$set=h=>{"componentInstance"in h&&t(2,s=h.componentInstance),"value"in h&&t(0,u=h.value),"type"in h&&t(3,c=h.type)},n.$$.update=()=>{n.$$.dirty&132&&t(6,r=v$(l==null?void 0:l.props,s._id,h=>h._component==="@budibase/standard-components/form")),n.$$.dirty&192&&t(5,i=A3(l,r)),n.$$.dirty&160&&t(4,a=k2(l,i,{formSchema:!0}).schema),n.$$.dirty&24&&t(1,o=f(a,c))},[u,o,s,c,a,i,r,l,p]}class t3 extends He{constructor(e){super(),Be(this,e,dut,put,De,{componentInstance:2,value:0,type:3})}}function wU(n,e,t){const r=n.slice();return r[30]=e[t],r[31]=e,r[32]=t,r}function kU(n,e,t){const r=n.slice();return r[30]=e[t],r}function hut(n){let e;return{c(){e=oe("Schema validation rules")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function mut(n){let e,t;return e=new Rt({props:{size:"S",$$slots:{default:[vut]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i[1]&16&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function gut(n){let e,t,r=n[5],i=[];for(let o=0;o<r.length;o+=1)i[o]=zU(kU(n,r,o));const a=o=>y(i[o],1,1,()=>{i[o]=null});return{c(){e=K("div");for(let o=0;o<i.length;o+=1)i[o].c();I(e,"class","links svelte-lcp0nr")},m(o,l){M(o,e,l);for(let s=0;s<i.length;s+=1)i[s].m(e,null);t=!0},p(o,l){if(l[0]&50){r=o[5];let s;for(s=0;s<r.length;s+=1){const u=kU(o,r,s);i[s]?(i[s].p(u,l),_(i[s],1)):(i[s]=zU(u),i[s].c(),_(i[s],1),i[s].m(e,null))}for(Ae(),s=r.length;s<i.length;s+=1)a(s);Me()}},i(o){if(!t){for(let l=0;l<r.length;l+=1)_(i[l]);t=!0}},o(o){i=i.filter(Boolean);for(let l=0;l<i.length;l+=1)y(i[l]);t=!1},d(o){o&&A(e),Mn(i,o)}}}function vut(n){let e;return{c(){e=oe("There are no built-in validation rules from the schema.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function zU(n){let e,t,r,i,a,o,l,s,u,c,f,p;return t=new vn({props:{placeholder:"Constraint",value:n[30].constraint,options:n[4],disabled:!0}}),i=new vn({props:{placeholder:null,value:"Value",options:["Binding","Value"],disabled:!0}}),o=new oo({props:{placeholder:"Constraint value",value:n[30].value,bindings:n[1],disabled:!0}}),s=new oo({props:{placeholder:"Error message",value:n[30].error,bindings:n[1],disabled:!0}}),{c(){e=K("div"),D(t.$$.fragment),r=q(),D(i.$$.fragment),a=q(),D(o.$$.fragment),l=q(),D(s.$$.fragment),u=q(),c=K("div"),f=q(),I(e,"class","rule schema svelte-lcp0nr")},m(h,g){M(h,e,g),T(t,e,null),N(e,r),T(i,e,null),N(e,a),T(o,e,null),N(e,l),T(s,e,null),N(e,u),N(e,c),N(e,f),p=!0},p(h,g){const b={};g[0]&32&&(b.value=h[30].constraint),g[0]&16&&(b.options=h[4]),t.$set(b);const w={};g[0]&32&&(w.value=h[30].value),g[0]&2&&(w.bindings=h[1]),o.$set(w);const k={};g[0]&32&&(k.value=h[30].error),g[0]&2&&(k.bindings=h[1]),s.$set(k)},i(h){p||(_(t.$$.fragment,h),_(i.$$.fragment,h),_(o.$$.fragment,h),_(s.$$.fragment,h),p=!0)},o(h){y(t.$$.fragment,h),y(i.$$.fragment,h),y(o.$$.fragment,h),y(s.$$.fragment,h),p=!1},d(h){h&&A(e),O(t),O(i),O(o),O(s)}}}function _ut(n){let e,t,r,i,a,o;e=new Tn({props:{size:"XS",$$slots:{default:[hut]},$$scope:{ctx:n}}});const l=[gut,mut],s=[];function u(c,f){var p;return(p=c[5])!=null&&p.length?0:1}return r=u(n),i=s[r]=l[r](n),{c(){D(e.$$.fragment),t=q(),i.c(),a=yt()},m(c,f){T(e,c,f),M(c,t,f),s[r].m(c,f),M(c,a,f),o=!0},p(c,f){const p={};f[1]&16&&(p.$$scope={dirty:f,ctx:c}),e.$set(p);let h=r;r=u(c),r===h?s[r].p(c,f):(Ae(),y(s[h],1,1,()=>{s[h]=null}),Me(),i=s[r],i?i.p(c,f):(i=s[r]=l[r](c),i.c()),_(i,1),i.m(a.parentNode,a))},i(c){o||(_(e.$$.fragment,c),_(i),o=!0)},o(c){y(e.$$.fragment,c),y(i),o=!1},d(c){O(e,c),c&&A(t),s[r].d(c),c&&A(a)}}}function but(n){let e;return{c(){e=oe("Custom validation rules")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function AU(n){let e,t=[],r=new Map,i,a=n[0];const o=l=>l[30].id;for(let l=0;l<a.length;l+=1){let s=wU(n,a,l),u=o(s);r.set(u,t[l]=MU(u,s))}return{c(){e=K("div");for(let l=0;l<t.length;l+=1)t[l].c();I(e,"class","links svelte-lcp0nr")},m(l,s){M(l,e,s);for(let u=0;u<t.length;u+=1)t[u].m(e,null);i=!0},p(l,s){s[0]&415&&(a=l[0],Ae(),t=P0(t,s,o,1,l,a,r,e,xf,MU,null,wU),Me())},i(l){if(!i){for(let s=0;s<a.length;s+=1)_(t[s]);i=!0}},o(l){for(let s=0;s<t.length;s+=1)y(t[s]);i=!1},d(l){l&&A(e);for(let s=0;s<t.length;s+=1)t[s].d()}}}function yut(n){let e,t,r,i,a;const o=[Sut,Mut,Aut,zut,kut],l=[];function s(u,c){return c[0]&1&&(e=null),e==null&&(e=!!["string","number","options","longform"].includes(u[30].type)),e?0:u[30].type==="array"?1:u[30].type==="boolean"?2:u[30].type==="datetime"?3:4}return t=s(n,[-1,-1]),r=l[t]=o[t](n),{c(){r.c(),i=yt()},m(u,c){l[t].m(u,c),M(u,i,c),a=!0},p(u,c){let f=t;t=s(u,c),t===f?l[t].p(u,c):(Ae(),y(l[f],1,1,()=>{l[f]=null}),Me(),r=l[t],r?r.p(u,c):(r=l[t]=o[t](u),r.c()),_(r,1),r.m(i.parentNode,i))},i(u){a||(_(r),a=!0)},o(u){y(r),a=!1},d(u){l[t].d(u),u&&A(i)}}}function $ut(n){let e,t,r;function i(o){n[16](o,n[30])}let a={placeholder:"Constraint value"};return n[30].value!==void 0&&(a.value=n[30].value),e=new En({props:a}),Oe.push(()=>tt(e,"value",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){n=o;const s={};!t&&l[0]&1&&(t=!0,s.value=n[30].value,nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function wut(n){let e,t;function r(...i){return n[15](n[30],n[31],n[32],...i)}return e=new oo({props:{placeholder:"Constraint value",value:n[30].value,bindings:n[1],disabled:n[30].constraint==="required"}}),e.$on("change",r),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,a){n=i;const o={};a[0]&1&&(o.value=n[30].value),a[0]&2&&(o.bindings=n[1]),a[0]&1&&(o.disabled=n[30].constraint==="required"),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){O(e,i)}}}function kut(n){let e,t;return e=new oo({props:{disabled:!0}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p:at,i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function zut(n){let e,t,r;function i(o){n[20](o,n[30])}let a={enableTime:!1,disabled:n[30].constraint==="required"};return n[30].value!==void 0&&(a.value=n[30].value),e=new e5({props:a}),Oe.push(()=>tt(e,"value",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){n=o;const s={};l[0]&1&&(s.disabled=n[30].constraint==="required"),!t&&l[0]&1&&(t=!0,s.value=n[30].value,nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function Aut(n){let e,t,r;function i(o){n[19](o,n[30])}let a={disabled:n[30].constraint==="required",options:[{label:"True",value:"true"},{label:"False",value:"false"}]};return n[30].value!==void 0&&(a.value=n[30].value),e=new vn({props:a}),Oe.push(()=>tt(e,"value",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){n=o;const s={};l[0]&1&&(s.disabled=n[30].constraint==="required"),!t&&l[0]&1&&(t=!0,s.value=n[30].value,nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function Mut(n){let e,t;function r(...i){return n[18](n[30],n[31],n[32],...i)}return e=new vn({props:{disabled:n[30].constraint==="required",options:n[2].schema[n[3]].constraints.inclusion,getOptionLabel:Dut,getOptionValue:Iut,value:n[30].value}}),e.$on("change",r),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,a){n=i;const o={};a[0]&1&&(o.disabled=n[30].constraint==="required"),a[0]&12&&(o.options=n[2].schema[n[3]].constraints.inclusion),a[0]&1&&(o.value=n[30].value),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){O(e,i)}}}function Sut(n){let e,t,r;function i(o){n[17](o,n[30])}let a={disabled:n[30].constraint==="required",placeholder:"Constraint value"};return n[30].value!==void 0&&(a.value=n[30].value),e=new En({props:a}),Oe.push(()=>tt(e,"value",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){n=o;const s={};l[0]&1&&(s.disabled=n[30].constraint==="required"),!t&&l[0]&1&&(t=!0,s.value=n[30].value,nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function MU(n,e){let t,r,i,a,o,l,s,u,c,f,p,h,g,b,w,k,S,L;function B(ee){e[13](ee,e[30])}let R={options:e[4],placeholder:"Constraint"};e[30].constraint!==void 0&&(R.value=e[30].constraint),r=new vn({props:R}),Oe.push(()=>tt(r,"value",B));function U(ee){e[14](ee,e[30])}let x={disabled:e[30].constraint==="required",placeholder:null,options:["Binding","Value"]};e[30].valueType!==void 0&&(x.value=e[30].valueType),o=new vn({props:x}),Oe.push(()=>tt(o,"value",U));const W=[wut,$ut,yut],Y=[];function Z(ee,X){return X[0]&1&&(u=null),ee[30].valueType==="Binding"?0:(u==null&&(u=!!(ee[30].type!=="array"&&["maxLength","minLength","regex","notRegex","contains","notContains"].includes(ee[30].constraint))),u?1:2)}c=Z(e,[-1,-1]),f=Y[c]=W[c](e);function te(...ee){return e[21](e[30],e[31],e[32],...ee)}h=new oo({props:{placeholder:"Error message",value:e[30].error,bindings:e[1]}}),h.$on("change",te);function ue(){return e[22](e[30])}b=new hn({props:{name:"Duplicate",hoverable:!0,size:"S"}}),b.$on("click",ue);function se(){return e[23](e[30])}return k=new hn({props:{name:"Close",hoverable:!0,size:"S"}}),k.$on("click",se),{key:n,first:null,c(){t=K("div"),D(r.$$.fragment),a=q(),D(o.$$.fragment),s=q(),f.c(),p=q(),D(h.$$.fragment),g=q(),D(b.$$.fragment),w=q(),D(k.$$.fragment),S=q(),I(t,"class","rule svelte-lcp0nr"),this.first=t},m(ee,X){M(ee,t,X),T(r,t,null),N(t,a),T(o,t,null),N(t,s),Y[c].m(t,null),N(t,p),T(h,t,null),N(t,g),T(b,t,null),N(t,w),T(k,t,null),N(t,S),L=!0},p(ee,X){e=ee;const re={};X[0]&16&&(re.options=e[4]),!i&&X[0]&1&&(i=!0,re.value=e[30].constraint,nt(()=>i=!1)),r.$set(re);const le={};X[0]&1&&(le.disabled=e[30].constraint==="required"),!l&&X[0]&1&&(l=!0,le.value=e[30].valueType,nt(()=>l=!1)),o.$set(le);let fe=c;c=Z(e,X),c===fe?Y[c].p(e,X):(Ae(),y(Y[fe],1,1,()=>{Y[fe]=null}),Me(),f=Y[c],f?f.p(e,X):(f=Y[c]=W[c](e),f.c()),_(f,1),f.m(t,p));const ke={};X[0]&1&&(ke.value=e[30].error),X[0]&2&&(ke.bindings=e[1]),h.$set(ke)},i(ee){L||(_(r.$$.fragment,ee),_(o.$$.fragment,ee),_(f),_(h.$$.fragment,ee),_(b.$$.fragment,ee),_(k.$$.fragment,ee),L=!0)},o(ee){y(r.$$.fragment,ee),y(o.$$.fragment,ee),y(f),y(h.$$.fragment,ee),y(b.$$.fragment,ee),y(k.$$.fragment,ee),L=!1},d(ee){ee&&A(t),O(r),O(o),Y[c].d(),O(h),O(b),O(k)}}}function Cut(n){let e;return{c(){e=oe("Add Rule")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Lut(n){var s;let e,t,r,i,a,o;e=new Tn({props:{size:"XS",$$slots:{default:[but]},$$scope:{ctx:n}}});let l=((s=n[0])==null?void 0:s.length)&&AU(n);return a=new gn({props:{secondary:!0,icon:"Add",$$slots:{default:[Cut]},$$scope:{ctx:n}}}),a.$on("click",n[6]),{c(){D(e.$$.fragment),t=q(),l&&l.c(),r=q(),i=K("div"),D(a.$$.fragment),I(i,"class","button")},m(u,c){T(e,u,c),M(u,t,c),l&&l.m(u,c),M(u,r,c),M(u,i,c),T(a,i,null),o=!0},p(u,c){var h;const f={};c[1]&16&&(f.$$scope={dirty:c,ctx:u}),e.$set(f),(h=u[0])!=null&&h.length?l?(l.p(u,c),c[0]&1&&_(l,1)):(l=AU(u),l.c(),_(l,1),l.m(r.parentNode,r)):l&&(Ae(),y(l,1,1,()=>{l=null}),Me());const p={};c[1]&16&&(p.$$scope={dirty:c,ctx:u}),a.$set(p)},i(u){o||(_(e.$$.fragment,u),_(l),_(a.$$.fragment,u),o=!0)},o(u){y(e.$$.fragment,u),y(l),y(a.$$.fragment,u),o=!1},d(u){O(e,u),u&&A(t),l&&l.d(u),u&&A(r),u&&A(i),O(a)}}}function Eut(n){var a;let e,t,r,i;return e=new Ht({props:{noPadding:!0,gap:(a=n[5])!=null&&a.length?"S":"XS",$$slots:{default:[_ut]},$$scope:{ctx:n}}}),r=new Ht({props:{noPadding:!0,gap:"S",$$slots:{default:[Lut]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,l){var c;const s={};l[0]&32&&(s.gap=(c=o[5])!=null&&c.length?"S":"XS"),l[0]&50|l[1]&16&&(s.$$scope={dirty:l,ctx:o}),e.$set(s);const u={};l[0]&31|l[1]&16&&(u.$$scope={dirty:l,ctx:o}),r.$set(u)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),O(r,o)}}}function Tut(n){let e,t,r;return t=new Ht({props:{noPadding:!0,gap:"M",$$slots:{default:[Eut]},$$scope:{ctx:n}}}),{c(){e=K("div"),D(t.$$.fragment),I(e,"class","container svelte-lcp0nr")},m(i,a){M(i,e,a),T(t,e,null),r=!0},p(i,a){const o={};a[0]&63|a[1]&16&&(o.$$scope={dirty:a,ctx:i}),t.$set(o)},i(i){r||(_(t.$$.fragment,i),r=!0)},o(i){y(t.$$.fragment,i),r=!1},d(i){i&&A(e),O(t)}}}function Out(n){let e,t;return e=new dd({props:{$$slots:{default:[Tut]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i[0]&63|i[1]&16&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}const Dut=n=>n,Iut=n=>n;function But(n,e,t){let r,i,a,o,l,s,u;Pe(n,_3,le=>t(11,s=le)),Pe(n,us,le=>t(12,u=le));let{rules:c=[]}=e,{bindings:f=[]}=e,{type:p}=e;const h={Required:{label:"Required",value:"required"},MinLength:{label:"Min length",value:"minLength"},MaxLength:{label:"Max length",value:"maxLength"},MaxValue:{label:"Max value",value:"maxValue"},MinValue:{label:"Min value",value:"minValue"},Equal:{label:"Must equal",value:"equal"},NotEqual:{label:"Must not equal",value:"notEqual"},Regex:{label:"Must match regex",value:"regex"},NotRegex:{label:"Must not match regex",value:"notRegex"},Contains:{label:"Must contain",value:"contains"},NotContains:{label:"Must not contain",value:"notContains"}},g={string:[h.Required,h.MaxLength,h.Equal,h.NotEqual,h.Regex,h.NotRegex],number:[h.Required,h.MaxValue,h.MinValue,h.Equal,h.NotEqual],boolean:[h.Required,h.Equal,h.NotEqual],datetime:[h.Required,h.MaxValue,h.MinValue,h.Equal,h.NotEqual],attachment:[h.Required],link:[h.Required,h.Contains,h.NotContains,h.MinLength,h.MaxLength],array:[h.Required,h.MinLength,h.MaxLength,h.Contains,h.NotContains]},b=le=>g[le],w=(le,fe)=>{if(!le||!fe)return null;const ke=v$(le.props,fe._id,he=>he._component.endsWith("/form"));return k2(le,ke==null?void 0:ke.dataSource)},k=(le,fe)=>{var ve,_e,Ke,Ue,be,Ce;if(!le||!fe)return[];const ke=(ve=fe.schema)==null?void 0:ve[le],he=ke==null?void 0:ke.constraints;if(!he)return[];let ye=[];if((le===((_e=fe==null?void 0:fe.table)==null?void 0:_e.primaryDisplay)||((Ke=he.presence)==null?void 0:Ke.allowEmpty)===!1)&&ye.push({constraint:"required",error:"Required field"}),S((Ue=he.length)==null?void 0:Ue.maximum)){const Fe=he.length.maximum;ye.push({constraint:"maxLength",value:Fe,error:`Maximum ${Fe} characters`})}if(S((be=he.numericality)==null?void 0:be.greaterThanOrEqualTo)){const Fe=he.numericality.greaterThanOrEqualTo;ye.push({constraint:"minValue",value:Fe,error:`Minimum value is ${Fe}`})}if(S((Ce=he.numericality)==null?void 0:Ce.lessThanOrEqualTo)){const Fe=he.numericality.lessThanOrEqualTo;ye.push({constraint:"maxValue",value:Fe,error:`Maximum value is ${Fe}`})}return ye},S=le=>le!=null&&le!=="",L=()=>{t(0,c=[...c||[],{valueType:"Binding",type:o,id:Vf.exports.generate(),value:o=="array"?[]:null}])},B=le=>{t(0,c=c.filter(fe=>fe.id!==le))},R=le=>{const ke={...c.find(he=>he.id===le),id:Vf.exports.generate()};t(0,c=[...c,ke])};function U(le,fe){n.$$.not_equal(fe.constraint,le)&&(fe.constraint=le,t(0,c))}function x(le,fe){n.$$.not_equal(fe.valueType,le)&&(fe.valueType=le,t(0,c))}const W=(le,fe,ke,he)=>t(0,fe[ke].value=he.detail,c);function Y(le,fe){n.$$.not_equal(fe.value,le)&&(fe.value=le,t(0,c))}function Z(le,fe){n.$$.not_equal(fe.value,le)&&(fe.value=le,t(0,c))}const te=(le,fe,ke,he)=>{t(0,fe[ke].value=he.detail,c)};function ue(le,fe){n.$$.not_equal(fe.value,le)&&(fe.value=le,t(0,c))}function se(le,fe){n.$$.not_equal(fe.value,le)&&(fe.value=le,t(0,c))}const ee=(le,fe,ke,he)=>t(0,fe[ke].error=he.detail,c),X=le=>R(le.id),re=le=>B(le.id);return n.$$set=le=>{"rules"in le&&t(0,c=le.rules),"bindings"in le&&t(1,f=le.bindings),"type"in le&&t(9,p=le.type)},n.$$.update=()=>{n.$$.dirty[0]&6144&&t(2,r=w(u,s)),n.$$.dirty[0]&2048&&t(3,i=s==null?void 0:s.field),n.$$.dirty[0]&12&&t(5,a=k(i,r||{})),n.$$.dirty[0]&512&&t(10,o=(p==null?void 0:p.split("/")[1])||"string"),n.$$.dirty[0]&1024&&t(4,l=b(o))},[c,f,r,i,l,a,L,B,R,p,o,s,u,U,x,W,Y,Z,te,ue,se,ee,X,re]}class Hut extends He{constructor(e){super(),Be(this,e,But,Out,De,{rules:0,bindings:1,type:9},null,[-1,-1])}}function Put(n){let e;return{c(){e=oe("Configure validation")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Rut(n){let e;return{c(){e=oe("Configure validation rules for this field.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Vut(n){let e;return{c(){e=oe("Save")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Nut(n){let e,t;return e=new gn({props:{cta:!0,slot:"buttons",$$slots:{default:[Vut]},$$scope:{ctx:n}}}),e.$on("click",n[5]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&512&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Fut(n){let e,t,r;function i(o){n[6](o)}let a={slot:"body",type:n[3],bindings:n[1],componentDefinition:n[2]};return n[0]!==void 0&&(a.rules=n[0]),e=new Hut({props:a}),Oe.push(()=>tt(e,"rules",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){const s={};l&8&&(s.type=o[3]),l&2&&(s.bindings=o[1]),l&4&&(s.componentDefinition=o[2]),!t&&l&1&&(t=!0,s.rules=o[0],nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function jut(n){let e,t,r,i;e=new Jr({props:{$$slots:{default:[Put]},$$scope:{ctx:n}}}),e.$on("click",function(){mn(n[4].show)&&n[4].show.apply(this,arguments)});let a={title:"Validation Rules",$$slots:{body:[Fut],buttons:[Nut],description:[Rut]},$$scope:{ctx:n}};return r=new pp({props:a}),n[7](r),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,[l]){n=o;const s={};l&512&&(s.$$scope={dirty:l,ctx:n}),e.$set(s);const u={};l&527&&(u.$$scope={dirty:l,ctx:n}),r.$set(u)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),n[7](null),O(r,o)}}}function Uut(n,e,t){let{value:r=[]}=e,{bindings:i=[]}=e,{componentDefinition:a}=e,{type:o}=e,l;const s=Nn(),u=()=>{s("change",r),l.hide()};function c(p){r=p,t(0,r)}function f(p){Oe[p?"unshift":"push"](()=>{l=p,t(4,l)})}return n.$$set=p=>{"value"in p&&t(0,r=p.value),"bindings"in p&&t(1,i=p.bindings),"componentDefinition"in p&&t(2,a=p.componentDefinition),"type"in p&&t(3,o=p.type)},[r,i,a,o,l,u,c,f]}class fh extends He{constructor(e){super(),Be(this,e,Uut,jut,De,{value:0,bindings:1,componentDefinition:2,type:3})}}function xut(n){let e;return{c(){e=oe("Background color")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function qut(n){let e,t,r,i;return e=new un({props:{$$slots:{default:[xut]},$$scope:{ctx:n}}}),r=new h5({props:{value:n[0].background,alignRight:!0,spectrumTheme:n[1].theme}}),r.$on("change",n[5]),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(a,o){T(e,a,o),M(a,t,o),T(r,a,o),i=!0},p(a,o){const l={};o&128&&(l.$$scope={dirty:o,ctx:a}),e.$set(l);const s={};o&1&&(s.value=a[0].background),o&2&&(s.spectrumTheme=a[1].theme),r.$set(s)},i(a){i||(_(e.$$.fragment,a),_(r.$$.fragment,a),i=!0)},o(a){y(e.$$.fragment,a),y(r.$$.fragment,a),i=!1},d(a){O(e,a),a&&A(t),O(r,a)}}}function Wut(n){let e;return{c(){e=oe("Text color")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Gut(n){let e,t,r,i;return e=new un({props:{$$slots:{default:[Wut]},$$scope:{ctx:n}}}),r=new h5({props:{value:n[0].color,alignRight:!0,spectrumTheme:n[1].theme}}),r.$on("change",n[6]),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(a,o){T(e,a,o),M(a,t,o),T(r,a,o),i=!0},p(a,o){const l={};o&128&&(l.$$scope={dirty:o,ctx:a}),e.$set(l);const s={};o&1&&(s.value=a[0].color),o&2&&(s.spectrumTheme=a[1].theme),r.$set(s)},i(a){i||(_(e.$$.fragment,a),_(r.$$.fragment,a),i=!0)},o(a){y(e.$$.fragment,a),y(r.$$.fragment,a),i=!1},d(a){O(e,a),a&&A(t),O(r,a)}}}function Yut(n){let e,t,r,i,a,o,l,s,u,c,f,p;function h(k){n[2](k)}let g={label:"Width",placeholder:"Auto"};n[0].width!==void 0&&(g.value=n[0].width),e=new En({props:g}),Oe.push(()=>tt(e,"value",h));function b(k){n[3](k)}let w={label:"Alignment",options:["Left","Center","Right"],placeholder:"Default"};return n[0].align!==void 0&&(w.value=n[0].align),i=new vn({props:w}),Oe.push(()=>tt(i,"value",b)),l=new oo({props:{label:"Value",value:n[0].template,placeholder:"{{ Value }}",bindings:[{readableBinding:"Value",runtimeBinding:"[value]",category:`Column: ${n[0].name}`,icon:"TableColumnMerge"}]}}),l.$on("change",n[4]),u=new Ht({props:{noPadding:!0,gap:"XS",$$slots:{default:[qut]},$$scope:{ctx:n}}}),f=new Ht({props:{noPadding:!0,gap:"XS",$$slots:{default:[Gut]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment),r=q(),D(i.$$.fragment),o=q(),D(l.$$.fragment),s=q(),D(u.$$.fragment),c=q(),D(f.$$.fragment)},m(k,S){T(e,k,S),M(k,r,S),T(i,k,S),M(k,o,S),T(l,k,S),M(k,s,S),T(u,k,S),M(k,c,S),T(f,k,S),p=!0},p(k,S){const L={};!t&&S&1&&(t=!0,L.value=k[0].width,nt(()=>t=!1)),e.$set(L);const B={};!a&&S&1&&(a=!0,B.value=k[0].align,nt(()=>a=!1)),i.$set(B);const R={};S&1&&(R.value=k[0].template),S&1&&(R.bindings=[{readableBinding:"Value",runtimeBinding:"[value]",category:`Column: ${k[0].name}`,icon:"TableColumnMerge"}]),l.$set(R);const U={};S&131&&(U.$$scope={dirty:S,ctx:k}),u.$set(U);const x={};S&131&&(x.$$scope={dirty:S,ctx:k}),f.$set(x)},i(k){p||(_(e.$$.fragment,k),_(i.$$.fragment,k),_(l.$$.fragment,k),_(u.$$.fragment,k),_(f.$$.fragment,k),p=!0)},o(k){y(e.$$.fragment,k),y(i.$$.fragment,k),y(l.$$.fragment,k),y(u.$$.fragment,k),y(f.$$.fragment,k),p=!1},d(k){O(e,k),k&&A(r),O(i,k),k&&A(o),O(l,k),k&&A(s),O(u,k),k&&A(c),O(f,k)}}}function Kut(n){let e,t,r;return t=new Ht({props:{noPadding:!0,gap:"S",$$slots:{default:[Yut]},$$scope:{ctx:n}}}),{c(){e=K("div"),D(t.$$.fragment),I(e,"class","container svelte-4eq5in")},m(i,a){M(i,e,a),T(t,e,null),r=!0},p(i,a){const o={};a&131&&(o.$$scope={dirty:a,ctx:i}),t.$set(o)},i(i){r||(_(t.$$.fragment,i),r=!0)},o(i){y(t.$$.fragment,i),r=!1},d(i){i&&A(e),O(t)}}}function Xut(n){let e,t;return e=new dd({props:{$$slots:{default:[Kut]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&131&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Jut(n,e,t){let r;Pe(n,Gt,c=>t(1,r=c));let{column:i}=e;function a(c){n.$$.not_equal(i.width,c)&&(i.width=c,t(0,i))}function o(c){n.$$.not_equal(i.align,c)&&(i.align=c,t(0,i))}const l=c=>t(0,i.template=c.detail,i),s=c=>t(0,i.background=c.detail,i),u=c=>t(0,i.color=c.detail,i);return n.$$set=c=>{"column"in c&&t(0,i=c.column)},[i,r,a,o,l,s,u]}class Qut extends He{constructor(e){super(),Be(this,e,Jut,Xut,De,{column:0})}}function Zut(n){let e,t=n[0].name+"",r,i;return{c(){e=oe('"'),r=oe(t),i=oe('" column settings')},m(a,o){M(a,e,o),M(a,r,o),M(a,i,o)},p(a,o){o&1&&t!==(t=a[0].name+"")&&ht(r,t)},d(a){a&&A(e),a&&A(r),a&&A(i)}}}function ect(n){let e;return{c(){e=oe("Save")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function tct(n){let e,t;return e=new gn({props:{cta:!0,slot:"buttons",$$slots:{default:[ect]},$$scope:{ctx:n}}}),e.$on("click",n[4]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&256&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function nct(n){let e,t,r;function i(o){n[5](o)}let a={slot:"body"};return n[1]!==void 0&&(a.column=n[1]),e=new Qut({props:a}),Oe.push(()=>tt(e,"column",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){const s={};!t&&l&2&&(t=!0,s.column=o[1],nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function rct(n){let e,t,r,i;e=new hn({props:{name:"Settings",hoverable:!0,size:"S"}}),e.$on("click",n[3]);let a={title:"Table Columns",$$slots:{body:[nct],buttons:[tct],description:[Zut]},$$scope:{ctx:n}};return r=new pp({props:a}),n[6](r),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,[l]){const s={};l&259&&(s.$$scope={dirty:l,ctx:o}),r.$set(s)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),n[6](null),O(r,o)}}}function ict(n,e,t){let{column:r}=e,i,a;const o=f=>{t(1,i={...f})},l=()=>{o(r),a.show()},s=()=>{t(0,r=i),a.hide()};function u(f){i=f,t(1,i)}function c(f){Oe[f?"unshift":"push"](()=>{a=f,t(2,a)})}return n.$$set=f=>{"column"in f&&t(0,r=f.column)},n.$$.update=()=>{n.$$.dirty&1&&o(r)},[r,i,a,l,s,u,c]}class act extends He{constructor(e){super(),Be(this,e,ict,rct,De,{column:0})}}function SU(n,e,t){const r=n.slice();return r[20]=e[t],r[21]=e,r[22]=t,r}function oct(n){let e,t,r,i;return r=new Rt({props:{size:"S",$$slots:{default:[sct]},$$scope:{ctx:n}}}),{c(){e=K("div"),t=K("div"),D(r.$$.fragment),I(t,"class","wide svelte-17kmdew"),I(e,"class","column svelte-17kmdew")},m(a,o){M(a,e,o),N(e,t),T(r,t,null),i=!0},p(a,o){const l={};o&8388608&&(l.$$scope={dirty:o,ctx:a}),r.$set(l)},i(a){i||(_(r.$$.fragment,a),i=!0)},o(a){y(r.$$.fragment,a),i=!1},d(a){a&&A(e),O(r)}}}function lct(n){let e,t;return e=new Ht({props:{noPadding:!0,gap:"XS",$$slots:{default:[fct]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&8388615&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function sct(n){let e,t,r;return{c(){e=oe(`By default, all table columns will automatically be shown.
|
|
894
|
+
being executed.`)},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function tst(n){let e,t,r,i,a,o,l,s,u,c,f,p,h,g;t=new Rt({props:{size:"S",$$slots:{default:[est]},$$scope:{ctx:n}}});function b(R){n[4](R)}let w={options:n[2],placeholder:null};n[0].type!==void 0&&(w.value=n[0].type),i=new vn({props:w}),Oe.push(()=>tt(i,"value",b)),l=new oo({props:{placeholder:"Value",value:n[0].value,bindings:n[1]}}),l.$on("change",n[5]);function k(R){n[6](R)}let S={options:n[3],placeholder:null};n[0].operator!==void 0&&(S.value=n[0].operator),u=new vn({props:S}),Oe.push(()=>tt(u,"value",k));function L(R){n[7](R)}let B={placeholder:"Reference value",bindings:n[1]};return n[0].referenceValue!==void 0&&(B.value=n[0].referenceValue),p=new oo({props:B}),Oe.push(()=>tt(p,"value",L)),p.$on("change",n[8]),{c(){e=K("div"),D(t.$$.fragment),r=q(),D(i.$$.fragment),o=q(),D(l.$$.fragment),s=q(),D(u.$$.fragment),f=q(),D(p.$$.fragment),I(e,"class","root svelte-1yfkfsp")},m(R,U){M(R,e,U),T(t,e,null),N(e,r),T(i,e,null),N(e,o),T(l,e,null),N(e,s),T(u,e,null),N(e,f),T(p,e,null),g=!0},p(R,[U]){const x={};U&512&&(x.$$scope={dirty:U,ctx:R}),t.$set(x);const W={};!a&&U&1&&(a=!0,W.value=R[0].type,nt(()=>a=!1)),i.$set(W);const Y={};U&1&&(Y.value=R[0].value),U&2&&(Y.bindings=R[1]),l.$set(Y);const Z={};!c&&U&1&&(c=!0,Z.value=R[0].operator,nt(()=>c=!1)),u.$set(Z);const te={};U&2&&(te.bindings=R[1]),!h&&U&1&&(h=!0,te.value=R[0].referenceValue,nt(()=>h=!1)),p.$set(te)},i(R){g||(_(t.$$.fragment,R),_(i.$$.fragment,R),_(l.$$.fragment,R),_(u.$$.fragment,R),_(p.$$.fragment,R),g=!0)},o(R){y(t.$$.fragment,R),y(i.$$.fragment,R),y(l.$$.fragment,R),y(u.$$.fragment,R),y(p.$$.fragment,R),g=!1},d(R){R&&A(e),O(t),O(i),O(l),O(u),O(p)}}}function nst(n,e,t){let{parameters:r}=e,{bindings:i}=e;const a=[{label:"Continue if",value:"continue"},{label:"Stop if",value:"stop"}],o=[{label:"Equals",value:"equal"},{label:"Not equals",value:"notEqual"}];Zn(()=>{r.type||t(0,r.type="continue",r),r.operator||t(0,r.operator="equal",r)});function l(p){n.$$.not_equal(r.type,p)&&(r.type=p,t(0,r))}const s=p=>t(0,r.value=p.detail,r);function u(p){n.$$.not_equal(r.operator,p)&&(r.operator=p,t(0,r))}function c(p){n.$$.not_equal(r.referenceValue,p)&&(r.referenceValue=p,t(0,r))}const f=p=>t(0,r.referenceValue=p.detail,r);return n.$$set=p=>{"parameters"in p&&t(0,r=p.parameters),"bindings"in p&&t(1,i=p.bindings)},[r,i,a,o,l,s,u,c,f]}class rst extends He{constructor(e){super(),Be(this,e,nst,tst,De,{parameters:0,bindings:1})}}function ist(n){let e;return{c(){e=oe("Form")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function ast(n){let e;return{c(){e=oe("Type")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function ost(n){let e;return{c(){e=oe("Field")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Xj(n){let e,t,r,i;return e=new un({props:{small:!0,$$slots:{default:[lst]},$$scope:{ctx:n}}}),r=new oo({props:{bindings:n[1],value:n[0].value}}),r.$on("change",n[12]),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(a,o){T(e,a,o),M(a,t,o),T(r,a,o),i=!0},p(a,o){const l={};o&8192&&(l.$$scope={dirty:o,ctx:a}),e.$set(l);const s={};o&2&&(s.bindings=a[1]),o&1&&(s.value=a[0].value),r.$set(s)},i(a){i||(_(e.$$.fragment,a),_(r.$$.fragment,a),i=!0)},o(a){y(e.$$.fragment,a),y(r.$$.fragment,a),i=!1},d(a){O(e,a),a&&A(t),O(r,a)}}}function lst(n){let e;return{c(){e=oe("Value")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function sst(n){let e,t,r,i,a,o,l,s,u,c,f,p,h,g,b,w,k;t=new un({props:{small:!0,$$slots:{default:[ist]},$$scope:{ctx:n}}});function S(Y){n[9](Y)}let L={options:n[2],getOptionLabel:ust,getOptionValue:cst};n[0].componentId!==void 0&&(L.value=n[0].componentId),i=new vn({props:L}),Oe.push(()=>tt(i,"value",S)),l=new un({props:{small:!0,$$slots:{default:[ast]},$$scope:{ctx:n}}});function B(Y){n[10](Y)}let R={placeholder:null,options:n[4]};n[0].type!==void 0&&(R.value=n[0].type),u=new vn({props:R}),Oe.push(()=>tt(u,"value",B)),p=new un({props:{small:!0,$$slots:{default:[ost]},$$scope:{ctx:n}}});function U(Y){n[11](Y)}let x={options:n[3]};n[0].field!==void 0&&(x.value=n[0].field),g=new m4({props:x}),Oe.push(()=>tt(g,"value",U));let W=n[0].type==="set"&&Xj(n);return{c(){e=K("div"),D(t.$$.fragment),r=q(),D(i.$$.fragment),o=q(),D(l.$$.fragment),s=q(),D(u.$$.fragment),f=q(),D(p.$$.fragment),h=q(),D(g.$$.fragment),w=q(),W&&W.c(),I(e,"class","root svelte-ss4wgk")},m(Y,Z){M(Y,e,Z),T(t,e,null),N(e,r),T(i,e,null),N(e,o),T(l,e,null),N(e,s),T(u,e,null),N(e,f),T(p,e,null),N(e,h),T(g,e,null),N(e,w),W&&W.m(e,null),k=!0},p(Y,[Z]){const te={};Z&8192&&(te.$$scope={dirty:Z,ctx:Y}),t.$set(te);const ue={};Z&4&&(ue.options=Y[2]),!a&&Z&1&&(a=!0,ue.value=Y[0].componentId,nt(()=>a=!1)),i.$set(ue);const se={};Z&8192&&(se.$$scope={dirty:Z,ctx:Y}),l.$set(se);const ee={};!c&&Z&1&&(c=!0,ee.value=Y[0].type,nt(()=>c=!1)),u.$set(ee);const X={};Z&8192&&(X.$$scope={dirty:Z,ctx:Y}),p.$set(X);const re={};Z&8&&(re.options=Y[3]),!b&&Z&1&&(b=!0,re.value=Y[0].field,nt(()=>b=!1)),g.$set(re),Y[0].type==="set"?W?(W.p(Y,Z),Z&1&&_(W,1)):(W=Xj(Y),W.c(),_(W,1),W.m(e,null)):W&&(Ae(),y(W,1,1,()=>{W=null}),Me())},i(Y){k||(_(t.$$.fragment,Y),_(i.$$.fragment,Y),_(l.$$.fragment,Y),_(u.$$.fragment,Y),_(p.$$.fragment,Y),_(g.$$.fragment,Y),_(W),k=!0)},o(Y){y(t.$$.fragment,Y),y(i.$$.fragment,Y),y(l.$$.fragment,Y),y(u.$$.fragment,Y),y(p.$$.fragment,Y),y(g.$$.fragment,Y),y(W),k=!1},d(Y){Y&&A(e),O(t),O(i),O(l),O(u),O(p),O(g),W&&W.d()}}}const ust=n=>n._instanceName,cst=n=>n._id;function fst(n,e,t){let r,i,a,o,l,s;Pe(n,Gt,w=>t(7,l=w)),Pe(n,us,w=>t(8,s=w));let{parameters:u}=e,{bindings:c=[]}=e;const f=[{label:"Set value",value:"set"},{label:"Reset to default value",value:"reset"}];Zn(()=>{u.type||t(0,u.type="set",u)});function p(w){n.$$.not_equal(u.componentId,w)&&(u.componentId=w,t(0,u))}function h(w){n.$$.not_equal(u.type,w)&&(u.type=w,t(0,u))}function g(w){n.$$.not_equal(u.field,w)&&(u.field=w,t(0,u))}const b=w=>t(0,u.value=w.detail,u);return n.$$set=w=>{"parameters"in w&&t(0,u=w.parameters),"bindings"in w&&t(1,c=w.bindings)},n.$$.update=()=>{n.$$.dirty&257&&t(6,r=Ru(s.props,u.componentId)),n.$$.dirty&64&&t(5,i=wS(r)),n.$$.dirty&32&&t(3,a=Object.keys(i||{})),n.$$.dirty&384&&t(2,o=kv(s,l.selectedComponentId,"ValidateForm"))},[u,c,o,a,f,i,r,l,s,p,h,g,b]}class pst extends He{constructor(e){super(),Be(this,e,fst,sst,De,{parameters:0,bindings:1})}}function dst(n){let e;return{c(){e=oe("Type")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function hst(n){let e;return{c(){e=oe("Message")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function mst(n){let e,t,r,i,a,o,l,s,u,c,f,p,h,g,b;t=new un({props:{$$slots:{default:[dst]},$$scope:{ctx:n}}});function w(B){n[3](B)}let k={options:n[2],placeholder:null};n[0].type!==void 0&&(k.value=n[0].type),i=new vn({props:k}),Oe.push(()=>tt(i,"value",w)),l=new un({props:{$$slots:{default:[hst]},$$scope:{ctx:n}}}),u=new oo({props:{bindings:n[1],value:n[0].message}}),u.$on("change",n[4]),f=new un({});function S(B){n[5](B)}let L={text:"Auto dismiss"};return n[0].autoDismiss!==void 0&&(L.value=n[0].autoDismiss),h=new Rs({props:L}),Oe.push(()=>tt(h,"value",S)),{c(){e=K("div"),D(t.$$.fragment),r=q(),D(i.$$.fragment),o=q(),D(l.$$.fragment),s=q(),D(u.$$.fragment),c=q(),D(f.$$.fragment),p=q(),D(h.$$.fragment),I(e,"class","root svelte-ss4wgk")},m(B,R){M(B,e,R),T(t,e,null),N(e,r),T(i,e,null),N(e,o),T(l,e,null),N(e,s),T(u,e,null),N(e,c),T(f,e,null),N(e,p),T(h,e,null),b=!0},p(B,[R]){const U={};R&64&&(U.$$scope={dirty:R,ctx:B}),t.$set(U);const x={};!a&&R&1&&(a=!0,x.value=B[0].type,nt(()=>a=!1)),i.$set(x);const W={};R&64&&(W.$$scope={dirty:R,ctx:B}),l.$set(W);const Y={};R&2&&(Y.bindings=B[1]),R&1&&(Y.value=B[0].message),u.$set(Y);const Z={};!g&&R&1&&(g=!0,Z.value=B[0].autoDismiss,nt(()=>g=!1)),h.$set(Z)},i(B){b||(_(t.$$.fragment,B),_(i.$$.fragment,B),_(l.$$.fragment,B),_(u.$$.fragment,B),_(f.$$.fragment,B),_(h.$$.fragment,B),b=!0)},o(B){y(t.$$.fragment,B),y(i.$$.fragment,B),y(l.$$.fragment,B),y(u.$$.fragment,B),y(f.$$.fragment,B),y(h.$$.fragment,B),b=!1},d(B){B&&A(e),O(t),O(i),O(l),O(u),O(f),O(h)}}}function gst(n,e,t){let{parameters:r}=e,{bindings:i=[]}=e;const a=[{label:"Success",value:"success"},{label:"Warning",value:"warning"},{label:"Error",value:"error"},{label:"Info",value:"info"}];Zn(()=>{r.type||t(0,r.type="success",r),r.autoDismiss==null&&t(0,r.autoDismiss=!0,r)});function o(u){n.$$.not_equal(r.type,u)&&(r.type=u,t(0,r))}const l=u=>t(0,r.message=u.detail,r);function s(u){n.$$.not_equal(r.autoDismiss,u)&&(r.autoDismiss=u,t(0,r))}return n.$$set=u=>{"parameters"in u&&t(0,r=u.parameters),"bindings"in u&&t(1,i=u.bindings)},[r,i,a,o,l,s]}class vst extends He{constructor(e){super(),Be(this,e,gst,mst,De,{parameters:0,bindings:1})}}function _st(n){let e;return{c(){e=oe("Enter the message you wish to display to the user.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function bst(n){let e;return{c(){e=oe("Title")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function yst(n){let e;return{c(){e=oe("Message")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function $st(n){let e,t,r,i,a,o,l,s,u,c,f,p,h,g;t=new Rt({props:{size:"S",$$slots:{default:[_st]},$$scope:{ctx:n}}}),a=new un({props:{small:!0,$$slots:{default:[bst]},$$scope:{ctx:n}}});function b(L){n[1](L)}let w={placeholder:"Prompt User"};n[0].customTitleText!==void 0&&(w.value=n[0].customTitleText),l=new En({props:w}),Oe.push(()=>tt(l,"value",b)),c=new un({props:{small:!0,$$slots:{default:[yst]},$$scope:{ctx:n}}});function k(L){n[2](L)}let S={placeholder:"Are you sure you want to continue?"};return n[0].confirmText!==void 0&&(S.value=n[0].confirmText),p=new En({props:S}),Oe.push(()=>tt(p,"value",k)),{c(){e=K("div"),D(t.$$.fragment),r=q(),i=K("div"),D(a.$$.fragment),o=q(),D(l.$$.fragment),u=q(),D(c.$$.fragment),f=q(),D(p.$$.fragment),I(i,"class","params svelte-hvj292"),I(e,"class","root svelte-hvj292")},m(L,B){M(L,e,B),T(t,e,null),N(e,r),N(e,i),T(a,i,null),N(i,o),T(l,i,null),N(i,u),T(c,i,null),N(i,f),T(p,i,null),g=!0},p(L,[B]){const R={};B&8&&(R.$$scope={dirty:B,ctx:L}),t.$set(R);const U={};B&8&&(U.$$scope={dirty:B,ctx:L}),a.$set(U);const x={};!s&&B&1&&(s=!0,x.value=L[0].customTitleText,nt(()=>s=!1)),l.$set(x);const W={};B&8&&(W.$$scope={dirty:B,ctx:L}),c.$set(W);const Y={};!h&&B&1&&(h=!0,Y.value=L[0].confirmText,nt(()=>h=!1)),p.$set(Y)},i(L){g||(_(t.$$.fragment,L),_(a.$$.fragment,L),_(l.$$.fragment,L),_(c.$$.fragment,L),_(p.$$.fragment,L),g=!0)},o(L){y(t.$$.fragment,L),y(a.$$.fragment,L),y(l.$$.fragment,L),y(c.$$.fragment,L),y(p.$$.fragment,L),g=!1},d(L){L&&A(e),O(t),O(a),O(l),O(c),O(p)}}}function wst(n,e,t){let{parameters:r}=e;Zn(()=>{r.confirm||t(0,r.confirm=!0,r)});function i(o){n.$$.not_equal(r.customTitleText,o)&&(r.customTitleText=o,t(0,r))}function a(o){n.$$.not_equal(r.confirmText,o)&&(r.confirmText=o,t(0,r))}return n.$$set=o=>{"parameters"in o&&t(0,r=o.parameters)},[r,i,a]}class kst extends He{constructor(e){super(),Be(this,e,wst,$st,De,{parameters:0})}}function zst(n){let e;return{c(){e=oe("Side Panel")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Ast(n){let e,t,r,i,a,o;t=new un({props:{small:!0,$$slots:{default:[zst]},$$scope:{ctx:n}}});function l(u){n[3](u)}let s={options:n[1]};return n[0].id!==void 0&&(s.value=n[0].id),i=new vn({props:s}),Oe.push(()=>tt(i,"value",l)),{c(){e=K("div"),D(t.$$.fragment),r=q(),D(i.$$.fragment),I(e,"class","root svelte-ss4wgk")},m(u,c){M(u,e,c),T(t,e,null),N(e,r),T(i,e,null),o=!0},p(u,[c]){const f={};c&32&&(f.$$scope={dirty:c,ctx:u}),t.$set(f);const p={};c&2&&(p.options=u[1]),!a&&c&1&&(a=!0,p.value=u[0].id,nt(()=>a=!1)),i.$set(p)},i(u){o||(_(t.$$.fragment,u),_(i.$$.fragment,u),o=!0)},o(u){y(t.$$.fragment,u),y(i.$$.fragment,u),o=!1},d(u){u&&A(e),O(t),O(i)}}}function Mst(n,e,t){let r,i;Pe(n,F1,s=>t(2,i=s));let{parameters:a}=e;const o=s=>ld(s.props,c=>c._component.endsWith("/sidepanel")).map(c=>({label:c._instanceName,value:c._id}));function l(s){n.$$.not_equal(a.id,s)&&(a.id=s,t(0,a))}return n.$$set=s=>{"parameters"in s&&t(0,a=s.parameters)},n.$$.update=()=>{n.$$.dirty&4&&t(1,r=o(i))},[a,r,i,l]}class Sst extends He{constructor(e){super(),Be(this,e,Mst,Ast,De,{parameters:0})}}function Cst(n){let e;return{c(){e=K("div"),e.textContent="This action doesn't require any settings.",I(e,"class","root svelte-1kwxn4d")},m(t,r){M(t,e,r)},p:at,i:at,o:at,d(t){t&&A(e)}}}class Lst extends He{constructor(e){super(),Be(this,e,null,Cst,De,{})}}const Est=Object.freeze(Object.defineProperty({__proto__:null,NavigateTo:Z1t,SaveRow:mot,DeleteRow:kot,ExecuteQuery:Tot,TriggerAutomation:jot,ValidateForm:Yot,LogOut:elt,ClearForm:olt,CloseScreenModal:clt,ChangeFormStep:_lt,UpdateState:Alt,RefreshDataProvider:Tlt,DuplicateRow:Nlt,S3Upload:Wlt,ExportData:Zlt,ContinueIf:rst,UpdateFieldValue:pst,ShowNotification:vst,PromptUser:kst,OpenSidePanel:Sst,CloseSidePanel:Lst},Symbol.toStringTag,{value:"Module"})),Tst=(n=!1)=>Eee.actions.filter(e=>{var t;return n||!e.dependsOnFeature?!0:((t=dn(Gt).clientFeatures)==null?void 0:t[e.dependsOnFeature])===!0}).map(e=>({...e,component:Est[e.component]})).filter(e=>e.component!=null);function Jj(n,e,t){const r=n.slice();return r[26]=e[t],r[28]=t,r}function Qj(n,e,t){const r=n.slice();return r[29]=e[t][0],r[30]=e[t][1],r[32]=t,r}function Zj(n,e,t){const r=n.slice();return r[33]=e[t],r}function eU(n){let e=n[3].id,t,r,i=tU(n);return{c(){i.c(),t=yt()},m(a,o){i.m(a,o),M(a,t,o),r=!0},p(a,o){o[0]&8&&De(e,e=a[3].id)?(Ae(),y(i,1,1,at),Me(),i=tU(a),i.c(),_(i,1),i.m(t.parentNode,t)):i.p(a,o)},i(a){r||(_(i),r=!0)},o(a){y(i),r=!1},d(a){a&&A(t),i.d(a)}}}function tU(n){let e,t,r,i;function a(s){n[22](s)}var o=n[5];function l(s){let u={bindings:s[6],nested:s[1]};return s[3].parameters!==void 0&&(u.parameters=s[3].parameters),{props:u}}return o&&(t=ia(o,l(n)),Oe.push(()=>tt(t,"parameters",a))),{c(){e=K("div"),t&&D(t.$$.fragment),I(e,"class","selected-action-container")},m(s,u){M(s,e,u),t&&T(t,e,null),i=!0},p(s,u){const c={};if(u[0]&64&&(c.bindings=s[6]),u[0]&2&&(c.nested=s[1]),!r&&u[0]&8&&(r=!0,c.parameters=s[3].parameters,nt(()=>r=!1)),o!==(o=s[5])){if(t){Ae();const f=t;y(f.$$.fragment,1,0,()=>{O(f,1)}),Me()}o?(t=ia(o,l(s)),Oe.push(()=>tt(t,"parameters",a)),D(t.$$.fragment),_(t.$$.fragment,1),T(t,e,null)):t=null}else o&&t.$set(c)},i(s){i||(t&&_(t.$$.fragment,s),i=!0)},o(s){t&&y(t.$$.fragment,s),i=!1},d(s){s&&A(e),t&&O(t)}}}function Ost(n){let e,t,r=n[5]&&!n[4]&&eU(n);return{c(){r&&r.c(),e=yt()},m(i,a){r&&r.m(i,a),M(i,e,a),t=!0},p(i,a){i[5]&&!i[4]?r?(r.p(i,a),a[0]&48&&_(r,1)):(r=eU(i),r.c(),_(r,1),r.m(e.parentNode,e)):r&&(Ae(),y(r,1,1,()=>{r=null}),Me())},i(i){t||(_(r),t=!0)},o(i){y(r),t=!1},d(i){r&&r.d(i),i&&A(e)}}}function Dst(n){let e,t;return e=new Ht({props:{noPadding:!0,$$slots:{default:[Ost]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i[0]&122|i[1]&32&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function nU(n){var h;let e,t,r,i,a,o,l,s=((h=n[0])==null?void 0:h.length)>0&&rU(n);function u(g){n[20](g)}let c={placeholder:"Search"};n[2]!==void 0&&(c.value=n[2]),i=new d5({props:c}),Oe.push(()=>tt(i,"value",u));let f=Object.entries(n[7]),p=[];for(let g=0;g<f.length;g+=1)p[g]=aU(Qj(n,f,g));return{c(){e=K("div"),s&&s.c(),t=q(),r=K("div"),D(i.$$.fragment),o=q();for(let g=0;g<p.length;g+=1)p[g].c();I(r,"class","search-wrap svelte-28n6ts"),I(e,"class","actions-list svelte-28n6ts")},m(g,b){M(g,e,b),s&&s.m(e,null),N(e,t),N(e,r),T(i,r,null),N(e,o);for(let w=0;w<p.length;w+=1)p[w].m(e,null);l=!0},p(g,b){var k;((k=g[0])==null?void 0:k.length)>0?s?(s.p(g,b),b[0]&1&&_(s,1)):(s=rU(g),s.c(),_(s,1),s.m(e,t)):s&&(Ae(),y(s,1,1,()=>{s=null}),Me());const w={};if(!a&&b[0]&4&&(a=!0,w.value=g[2],nt(()=>a=!1)),i.$set(w),b[0]&2176){f=Object.entries(g[7]);let S;for(S=0;S<f.length;S+=1){const L=Qj(g,f,S);p[S]?p[S].p(L,b):(p[S]=aU(L),p[S].c(),p[S].m(e,null))}for(;S<p.length;S+=1)p[S].d(1);p.length=f.length}},i(g){l||(_(s),_(i.$$.fragment,g),l=!0)},o(g){y(s),y(i.$$.fragment,g),l=!1},d(g){g&&A(e),s&&s.d(),O(i),Mn(p,g)}}}function rU(n){let e,t,r;return t=new Jr({props:{secondary:!0,icon:"ArrowLeft",$$slots:{default:[Ist]},$$scope:{ctx:n}}}),t.$on("click",n[9]),{c(){e=K("div"),D(t.$$.fragment),I(e,"class","svelte-28n6ts")},m(i,a){M(i,e,a),T(t,e,null),r=!0},p(i,a){const o={};a[1]&32&&(o.$$scope={dirty:a,ctx:i}),t.$set(o)},i(i){r||(_(t.$$.fragment,i),r=!0)},o(i){y(t.$$.fragment,i),r=!1},d(i){i&&A(e),O(t)}}}function Ist(n){let e;return{c(){e=oe("Back")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function iU(n){let e,t,r=n[33].name+"",i,a,o;return{c(){e=K("li"),t=K("span"),i=oe(r),I(t,"class","action-name svelte-28n6ts"),I(e,"class","svelte-28n6ts")},m(l,s){M(l,e,s),N(e,t),N(t,i),a||(o=zt(e,"click",function(){mn(n[11](n[33]))&&n[11](n[33]).apply(this,arguments)}),a=!0)},p(l,s){n=l,s[0]&128&&r!==(r=n[33].name+"")&&ht(i,r)},d(l){l&&A(e),a=!1,o()}}}function aU(n){let e,t=n[29]+"",r,i,a,o,l=n[30],s=[];for(let u=0;u<l.length;u+=1)s[u]=iU(Zj(n,l,u));return{c(){e=K("div"),r=oe(t),i=q(),a=K("ul");for(let u=0;u<s.length;u+=1)s[u].c();o=q(),I(e,"class","heading svelte-28n6ts"),Ee(e,"top-entry",n[32]===0),I(a,"class","svelte-28n6ts")},m(u,c){M(u,e,c),N(e,r),M(u,i,c),M(u,a,c);for(let f=0;f<s.length;f+=1)s[f].m(a,null);N(a,o)},p(u,c){if(c[0]&128&&t!==(t=u[29]+"")&&ht(r,t),c[0]&2176){l=u[30];let f;for(f=0;f<l.length;f+=1){const p=Zj(u,l,f);s[f]?s[f].p(p,c):(s[f]=iU(p),s[f].c(),s[f].m(a,o))}for(;f<s.length;f+=1)s[f].d(1);s.length=l.length}},d(u){u&&A(e),u&&A(i),u&&A(a),Mn(s,u)}}}function oU(n){let e,t,r,i,a=[],o=new Map,l,s,u,c;t=new gn({props:{secondary:!0,$$slots:{default:[Bst]},$$scope:{ctx:n}}}),t.$on("click",n[9]);let f=n[0];const p=h=>h[26].id;for(let h=0;h<f.length;h+=1){let g=Jj(n,f,h),b=p(g);o.set(b,a[h]=lU(b,g))}return{c(){e=K("div"),D(t.$$.fragment),r=q(),i=K("div");for(let h=0;h<a.length;h+=1)a[h].c();I(i,"class","actions svelte-28n6ts")},m(h,g){M(h,e,g),T(t,e,null),M(h,r,g),M(h,i,g);for(let b=0;b<a.length;b+=1)a[b].m(i,null);s=!0,u||(c=[Ps(l=q$.call(null,i,{items:n[0],flipDurationMs:HA,dropTargetStyle:{outline:"none"}})),zt(i,"consider",n[12]),zt(i,"finalize",n[13])],u=!0)},p(h,g){const b={};if(g[1]&32&&(b.$$scope={dirty:g,ctx:h}),t.$set(b),g[0]&1289){f=h[0],Ae();for(let w=0;w<a.length;w+=1)a[w].r();a=P0(a,g,p,1,h,f,o,i,sv,lU,null,Jj);for(let w=0;w<a.length;w+=1)a[w].a();Me()}l&&mn(l.update)&&g[0]&1&&l.update.call(null,{items:h[0],flipDurationMs:HA,dropTargetStyle:{outline:"none"}})},i(h){if(!s){_(t.$$.fragment,h);for(let g=0;g<f.length;g+=1)_(a[g]);s=!0}},o(h){y(t.$$.fragment,h);for(let g=0;g<a.length;g+=1)y(a[g]);s=!1},d(h){h&&A(e),O(t),h&&A(r),h&&A(i);for(let g=0;g<a.length;g+=1)a[g].d();u=!1,Mi(c)}}}function Bst(n){let e;return{c(){e=oe("Add Action")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function lU(n,e){let t,r,i,a,o=e[28]+1+"",l,s,u=e[26][$9]+"",c,f,p,h,g,b=at,w,k,S;r=new hn({props:{name:"DragHandle",size:"XL"}});function L(){return e[21](e[28])}return p=new hn({props:{name:"Close",hoverable:!0,size:"S"}}),p.$on("click",L),{key:n,first:null,c(){t=K("div"),D(r.$$.fragment),i=q(),a=K("div"),l=oe(o),s=oe(".\xA0"),c=oe(u),f=q(),D(p.$$.fragment),h=q(),I(a,"class","action-header svelte-28n6ts"),I(t,"class","action-container svelte-28n6ts"),Ee(t,"selected",e[26]===e[3]),this.first=t},m(B,R){M(B,t,R),T(r,t,null),N(t,i),N(t,a),N(a,l),N(a,s),N(a,c),N(t,f),T(p,t,null),N(t,h),w=!0,k||(S=zt(t,"click",function(){mn(e[10](e[26]))&&e[10](e[26]).apply(this,arguments)}),k=!0)},p(B,R){e=B,(!w||R[0]&1)&&o!==(o=e[28]+1+"")&&ht(l,o),(!w||R[0]&1)&&u!==(u=e[26][$9]+"")&&ht(c,u),(!w||R[0]&9)&&Ee(t,"selected",e[26]===e[3])},r(){g=t.getBoundingClientRect()},f(){lv(t),b()},a(){b(),b=ov(t,g,Tv,{duration:HA})},i(B){w||(_(r.$$.fragment,B),_(p.$$.fragment,B),w=!0)},o(B){y(r.$$.fragment,B),y(p.$$.fragment,B),w=!1},d(B){B&&A(t),O(r),O(p),k=!1,S()}}}function Hst(n){var o;let e,t,r,i=(n[4]||!((o=n[0])!=null&&o.length))&&nU(n),a=n[0]&&n[0].length>0&&!n[4]&&oU(n);return{c(){i&&i.c(),e=q(),a&&a.c(),t=yt()},m(l,s){i&&i.m(l,s),M(l,e,s),a&&a.m(l,s),M(l,t,s),r=!0},p(l,s){var u;l[4]||!((u=l[0])!=null&&u.length)?i?(i.p(l,s),s[0]&17&&_(i,1)):(i=nU(l),i.c(),_(i,1),i.m(e.parentNode,e)):i&&(Ae(),y(i,1,1,()=>{i=null}),Me()),l[0]&&l[0].length>0&&!l[4]?a?(a.p(l,s),s[0]&17&&_(a,1)):(a=oU(l),a.c(),_(a,1),a.m(t.parentNode,t)):a&&(Ae(),y(a,1,1,()=>{a=null}),Me())},i(l){r||(_(i),_(a),r=!0)},o(l){y(i),y(a),r=!1},d(l){i&&i.d(l),l&&A(e),a&&a.d(l),l&&A(t)}}}function Pst(n){let e,t;return e=new Ht({props:{noPadding:!0,gap:"S",slot:"sidebar",$$slots:{default:[Hst]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i[0]&157|i[1]&32&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Rst(n){let e,t;return e=new dd({props:{$$slots:{sidebar:[Pst],default:[Dst]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i[0]&255|i[1]&32&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}const HA=150,$9="##eventHandlerType";function Vst(n,e,t){let r,i,a,o,l,s,u,c;Pe(n,Gt,se=>t(18,u=se)),Pe(n,us,se=>t(19,c=se));const f=Tst();let{key:p}=e,{actions:h}=e,{bindings:g=[]}=e,{nested:b}=e,w,k=h!=null&&h.length?h[0]:null;const S=se=>{h.splice(se,1),t(0,h)},L=()=>{t(2,w=null),t(4,i=!i)},B=se=>{const ee={parameters:{},[$9]:se.name,id:Vf.exports.generate()};h||t(0,h=[]),t(0,h=[...h,ee]),t(3,k=ee)},R=se=>()=>{t(3,k=se)},U=se=>{B(se),L()};function x(se){t(0,h=se.detail.items)}function W(se){t(0,h=se.detail.items)}const Y=(se,ee,X)=>{let re=ee.concat(se);return X?(X.filter(le=>{var fe;return le[$9]==="Update State"&&((fe=le.parameters)==null?void 0:fe.type)==="set"&&le.parameters.key}).forEach(le=>{const fe=Oee(le.parameters.key);re.some(he=>he.runtimeBinding===fe.runtimeBinding)||re.push(fe)}),re):[]};function Z(se){w=se,t(2,w)}const te=se=>S(se);function ue(se){n.$$.not_equal(k.parameters,se)&&(k.parameters=se,t(3,k),t(0,h))}return n.$$set=se=>{"key"in se&&t(14,p=se.key),"actions"in se&&t(0,h=se.actions),"bindings"in se&&t(15,g=se.bindings),"nested"in se&&t(1,b=se.nested)},n.$$.update=()=>{var se;n.$$.dirty[0]&8&&k&&!k.parameters&&t(3,k.parameters={},k),n.$$.dirty[0]&4&&t(17,r=typeof w=="string"?w.toLowerCase().trim():""),n.$$.dirty[0]&1&&t(4,i=!(h!=null&&h.length)),n.$$.dirty[0]&131072&&t(7,a=f.reduce((ee,X)=>{let re=X.name.toLowerCase().trim();return r.length&&re.indexOf(r)<0||(ee[X.type]=ee[X.type]||[],ee[X.type].push(X)),ee},{})),n.$$.dirty[0]&9&&k&&!(h!=null&&h.includes(k))&&t(3,k=h==null?void 0:h[0]),n.$$.dirty[0]&802825&&t(16,o=Z7e(c,u.selectedComponentId,p,h,k==null?void 0:k.id)),n.$$.dirty[0]&98305&&t(6,l=Y(g,o,h)),n.$$.dirty[0]&1&&h&&h.forEach(ee=>{ee.id||(ee.id=Vf.exports.generate())}),n.$$.dirty[0]&8&&t(5,s=k&&((se=f.find(ee=>ee.name===k[$9]))==null?void 0:se.component))},[h,b,w,k,i,s,l,a,S,L,R,U,x,W,p,g,o,r,u,c,Z,te,ue]}class Nst extends He{constructor(e){super(),Be(this,e,Vst,Rst,De,{key:14,actions:0,bindings:15,nested:1},null,[-1,-1])}}function Fst(n){let e;return{c(){e=oe("Define actions")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function jst(n){let e;return{c(){e=oe("Define what actions to run.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Ust(n){let e;return{c(){e=oe("Save")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function xst(n){let e,t;return e=new gn({props:{cta:!0,slot:"buttons",$$slots:{default:[Ust]},$$scope:{ctx:n}}}),e.$on("click",n[8]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&65536&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function qst(n){let e,t,r;function i(o){n[11](o)}let a={slot:"body",eventType:n[1],bindings:n[2],key:n[0],nested:n[3]};return n[5]!==void 0&&(a.actions=n[5]),e=new Nst({props:a}),Oe.push(()=>tt(e,"actions",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){const s={};l&2&&(s.eventType=o[1]),l&4&&(s.bindings=o[2]),l&1&&(s.key=o[0]),l&8&&(s.nested=o[3]),!t&&l&32&&(t=!0,s.actions=o[5],nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function Wst(n){let e,t,r,i,a,o,l;i=new Jr({props:{$$slots:{default:[Fst]},$$scope:{ctx:n}}}),i.$on("click",n[7]);let s={title:"Actions",$$slots:{body:[qst],buttons:[xst],description:[jst]},$$scope:{ctx:n}};return o=new pp({props:s}),n[12](o),{c(){e=K("div"),t=oe(n[6]),r=q(),D(i.$$.fragment),a=q(),D(o.$$.fragment),I(e,"class","action-count svelte-mu0gih")},m(u,c){M(u,e,c),N(e,t),M(u,r,c),T(i,u,c),M(u,a,c),T(o,u,c),l=!0},p(u,[c]){(!l||c&64)&&ht(t,u[6]);const f={};c&65536&&(f.$$scope={dirty:c,ctx:u}),i.$set(f);const p={};c&65583&&(p.$$scope={dirty:c,ctx:u}),o.$set(p)},i(u){l||(_(i.$$.fragment,u),_(o.$$.fragment,u),l=!0)},o(u){y(i.$$.fragment,u),y(o.$$.fragment,u),l=!1},d(u){u&&A(e),u&&A(r),O(i,u),u&&A(a),n[12](null),O(o,u)}}}function Gst(n,e,t){let r,i,a;Pe(n,Ir,L=>t(13,a=L));const o=Nn();let{key:l}=e,{value:s=[]}=e,{name:u}=e,{bindings:c}=e,{nested:f}=e,p,h;const g=()=>{t(5,h=na.cloneDeep(s)),p.show()},b=async()=>{const L=h.filter(B=>B["##eventHandlerType"]==="Trigger Automation");for(let B of L)await w(B.parameters);o("change",h),wt.success("Component actions saved."),p.hide()},w=async L=>{var B,R;if(!(L.automationId||!L.newAutomationName))try{await Ir.actions.create({name:L.newAutomationName});const U=a.blockDefinitions.TRIGGER.APP,x=a.selectedAutomation.constructBlock("TRIGGER","APP",U);x.inputs={fields:Object.keys((B=L.fields)!=null?B:{}).reduce((W,Y)=>(W[Y]="string",W),{})},Ir.actions.addBlockToAutomation(x),await Ir.actions.save((R=a.selectedAutomation)==null?void 0:R.automation),L.automationId=a.selectedAutomation.automation._id,delete L.newAutomationName}catch{wt.error("Error creating automation")}};function k(L){h=L,t(5,h)}function S(L){Oe[L?"unshift":"push"](()=>{p=L,t(4,p)})}return n.$$set=L=>{"key"in L&&t(0,l=L.key),"value"in L&&t(9,s=L.value),"name"in L&&t(1,u=L.name),"bindings"in L&&t(2,c=L.bindings),"nested"in L&&t(3,f=L.nested)},n.$$.update=()=>{n.$$.dirty&512&&t(10,r=s==null?void 0:s.length),n.$$.dirty&1024&&t(6,i=`${r||"No"} action${r!==1?"s":""} set`)},[l,u,c,f,p,h,i,g,b,s,r,k,S]}class Xre extends He{constructor(e){super(),Be(this,e,Gst,Wst,De,{key:0,value:9,name:1,bindings:2,nested:3})}}function Yst(n){var r;let e,t;return e=new vn({props:{value:(r=n[0])==null?void 0:r.tableId,options:n[1],getOptionValue:Kst,getOptionLabel:Xst}}),e.$on("change",n[2]),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,[a]){var l;const o={};a&1&&(o.value=(l=i[0])==null?void 0:l.tableId),a&2&&(o.options=i[1]),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){O(e,i)}}}const Kst=n=>n.tableId,Xst=n=>n.label;function Jst(n,e,t){let r,i;Pe(n,ti,s=>t(3,i=s));let{value:a}=e;const o=Nn(),l=s=>{const u=r==null?void 0:r.find(c=>c.tableId===s.detail);o("change",u)};return n.$$set=s=>{"value"in s&&t(0,a=s.value)},n.$$.update=()=>{n.$$.dirty&8&&t(1,r=i.list.map(s=>({label:s.name,tableId:s._id,type:"table"})))},[a,r,l,i]}class Qst extends He{constructor(e){super(),Be(this,e,Jst,Yst,De,{value:0})}}function Zst(n){let e,t;return e=new h5({props:{value:n[0],spectrumTheme:n[1].theme}}),e.$on("change",n[2]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&1&&(a.value=r[0]),i&2&&(a.spectrumTheme=r[1].theme),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function e0t(n,e,t){let r;Pe(n,Gt,o=>t(1,r=o));let{value:i}=e;function a(o){An.call(this,n,o)}return n.$$set=o=>{"value"in o&&t(0,i=o.value)},[i,r,a]}class IC extends He{constructor(e){super(),Be(this,e,e0t,Zst,De,{value:0})}}const sU={Buildings:{home:["house","\u623F\u5B50","\u5BB6","\u4E3B\u9875"],"home-2":["house","\u623F\u5B50","\u5BB6","\u4E3B\u9875"],"home-3":["house","\u623F\u5B50","\u5BB6","\u4E3B\u9875"],"home-4":["house","\u623F\u5B50","\u5BB6","\u4E3B\u9875"],"home-5":["house","\u623F\u5B50","\u5BB6","\u4E3B\u9875"],"home-6":["house","\u623F\u5B50","\u5BB6","\u4E3B\u9875"],"home-7":["house","\u623F\u5B50","\u5BB6","\u4E3B\u9875"],"home-8":["house","\u623F\u5B50","\u5BB6","\u4E3B\u9875"],"home-gear":["house","\u623F\u5B50","\u5DE5\u5382"],"home-wifi":["smart home","\u623F\u5B50","\u5BB6\u5177","\u667A\u80FD\u5BB6\u5C45"],"home-smile":["house","smart home","smile","\u623F\u5B50","\u667A\u80FD\u5BB6\u5C45","\u5FAE\u7B11"],"home-smile-2":["house","smart home","smile","\u623F\u5B50","\u667A\u80FD\u5BB6\u5C45","\u5FAE\u7B11"],"home-heart":["house","\u5FC3","\u623F\u5B50","\u5BB6","\u4E3B\u9875","\u5B64\u513F\u9662"],building:["city","office","enterprise","\u5EFA\u7B51","\u57CE\u5E02","\u697C","\u529E\u516C\u697C","\u5199\u5B57\u697C","\u4F01\u4E1A"],"building-2":["city","office","construction","enterprise","\u57CE\u5E02","\u5EFA\u7B51","\u697C","\u4F01\u4E1A"],"building-3":["factory","plant","enterprise","\u5DE5\u5382","\u5EFA\u7B51","\u697C","\u4F01\u4E1A"],"building-4":["city","office","enterprise","\u5EFA\u7B51","\u57CE\u5E02","\u697C","\u529E\u516C\u697C","\u5199\u5B57\u697C","\u4F01\u4E1A"],hotel:["building","hotel","office","enterprise","tavern","\u5EFA\u7B51","\u9152\u5E97","\u697C","\u529E\u516C\u697C","\u5199\u5B57\u697C","\u4F01\u4E1A"],community:["building","hotel","\u793E\u533A","\u5EFA\u7B51","\u9152\u5E97"],government:["building","\u653F\u5E9C","\u5EFA\u7B51","\u5927\u4F1A\u5802"],bank:["bank","finance","savings","banking","\u94F6\u884C","\u4EA4\u6613\u6240"],store:["shop","mall","supermarket","\u5546\u5E97","\u8D85\u5E02","\u5E97\u94FA","\u5546\u5BB6"],"store-2":["shop","mall","supermarket","\u5546\u5E97","\u8D85\u5E02","\u5E97\u94FA","\u5546\u5BB6"],"store-3":["shop","mall","supermarket","\u5546\u5E97","\u8D85\u5E02","\u5E97\u94FA","\u5546\u5BB6"],hospital:["medical","health","\u533B\u9662"],"ancient-gate":["historical","genre","scenic","trip","travel","\u65C5\u884C","\u65C5\u6E38","\u57CE\u95E8","\u53E4\u4EE3","\u5386\u53F2","\u666F\u533A"],"ancient-pavilion":["historical","genre","scenic","trip","travel","\u65C5\u884C","\u65C5\u6E38","\u51C9\u4EAD","\u53E4\u4EE3","\u5386\u53F2","\u666F\u533A"]},Business:{mail:["envelope","email","inbox","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u6536\u4EF6\u7BB1"],"mail-open":["envelope","email","inbox","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u6536\u4EF6\u7BB1"],"mail-send":["envelope","email","inbox","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u53D1\u9001","\u53D1\u4EF6\u7BB1"],"mail-unread":["envelope","email","inbox","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u672A\u8BFB"],"mail-add":["envelope","email","inbox","add","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u65B0\u589E","\u6DFB\u52A0"],"mail-check":["envelope","email","inbox","read","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u5DF2\u8BFB"],"mail-close":["envelope","email","inbox","failed","x","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u5931\u8D25"],"mail-download":["envelope","email","inbox","download","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u4E0B\u8F7D"],"mail-forbid":["envelope","email","inbox","privacy","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u7981\u6B62"],"mail-lock":["envelope","email","inbox","lock","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u52A0\u5BC6"],"mail-settings":["envelope","email","inbox","settings","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u8BBE\u7F6E"],"mail-star":["envelope","email","inbox","favorite","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u6536\u85CF","\u559C\u6B22"],"mail-volume":["envelope","email","inbox","promotional email","email campaign","subscription","\u4FE1\u5C01","\u90AE\u7BB1","\u90AE\u4EF6","\u6536\u4EF6\u7BB1","\u63A8\u5E7F","\u8BA2\u9605"],inbox:["\u6536\u4EF6\u7BB1"],"inbox-archive":["\u6536\u4EF6\u7BB1","\u5F52\u6863","\u6536\u7EB3"],"inbox-unarchive":["unzip","unpack","extract","\u6536\u4EF6\u7BB1","\u53D6\u6D88\u5F52\u6863","\u8FD8\u539F","\u89E3\u538B\u7F29"],cloud:["weather","\u4E91\u7AEF"],"cloud-off":["offline-mode","connection-fail","slash","weather","\u4E91\u7AEF","\u65AD\u7F51","\u65E0\u4FE1\u53F7","\u8FDE\u63A5\u5931\u8D25"],attachment:["annex","paperclip","\u9644\u4EF6","\u66F2\u522B\u9488"],profile:["id","\u6863\u6848","\u8D44\u6599","\u8EAB\u4EFD\u8BC1","\u8BC1\u4EF6"],archive:["box","\u6536\u7EB3","\u5F52\u6863","\u5B58\u6863","\u76D2\u5B50","\u7EB8\u7BB1"],"archive-drawer":["night table","\u6536\u7EB3","\u62BD\u5C49","\u5F52\u6863","\u5B58\u6863","\u5E8A\u5934\u67DC"],at:["@","mention","\u63D0\u5230","\u5728"],award:["medal","achievement","badge","\u6210\u5C31","\u5956\u724C","\u91D1\u724C","\u52CB\u7AE0"],medal:["award","achievement","badge","\u6210\u5C31","\u5956\u724C","\u91D1\u724C","\u52CB\u7AE0"],"medal-2":["award","achievement","badge","\u6210\u5C31","\u5956\u724C","\u91D1\u724C","\u52CB\u7AE0"],"bar-chart":["statistics","rhythm","\u67F1\u72B6\u56FE","\u7EDF\u8BA1","\u97F5\u5F8B","\u8282\u594F"],"bar-chart-horizontal":["statistics","rhythm","\u67F1\u72B6\u56FE","\u7EDF\u8BA1","\u97F5\u5F8B","\u8282\u594F"],"bar-chart-2":["statistics","rhythm","\u67F1\u72B6\u56FE","\u7EDF\u8BA1","\u6392\u884C","\u8282\u594F"],"bar-chart-box":["statistics","rhythm","\u67F1\u72B6\u56FE","\u7EDF\u8BA1","\u8282\u594F"],"bar-chart-grouped":["statistics","rhythm","\u67F1\u72B6\u56FE","\u7EDF\u8BA1","\u5206\u7EC4"],"bubble-chart":["data","analysis","statistics","\u6C14\u6CE1\u56FE","\u7EDF\u8BA1"],"pie-chart":["data","analysis","\u997C\u56FE","\u997C\u72B6\u56FE","\u6570\u636E","\u5206\u6790"],"pie-chart-2":["data","analysis","\u997C\u56FE","\u997C\u72B6\u56FE","\u6570\u636E","\u5206\u6790"],"pie-chart-box":["data","analysis","\u997C\u56FE","\u997C\u72B6\u56FE","\u6570\u636E","\u5206\u6790"],"donut-chart":["data","analysis","\u73AF\u5F62\u56FE","\u6570\u636E","\u5206\u6790"],"line-chart":["data","analysis","stats","\u6298\u7EBF\u56FE","\u6570\u636E","\u5206\u6790"],bookmark:["tag","\u4E66\u7B7E","\u6807\u8BB0"],"bookmark-2":["tag","\u4E66\u7B7E","\u6807\u8BB0"],"bookmark-3":["tag","\u4E66\u7B7E","\u6807\u8BB0","\u8363\u8A89"],briefcase:["bag","baggage","\u516C\u6587\u5305","\u884C\u674E\u7BB1","\u65C5\u884C\u7BB1","\u76AE\u5305"],"briefcase-2":["bag","baggage","\u516C\u6587\u5305","\u884C\u674E\u7BB1","\u65C5\u884C\u7BB1","\u76AE\u5305"],"briefcase-3":["bag","baggage","\u516C\u6587\u5305","\u884C\u674E\u7BB1","\u65C5\u884C\u7BB1","\u76AE\u5305"],"briefcase-4":["bag","baggage","\u516C\u6587\u5305","\u884C\u674E\u7BB1","\u65C5\u884C\u7BB1","\u76AE\u5305"],"briefcase-5":["bag","baggage","\u516C\u6587\u5305","\u884C\u674E\u7BB1","\u65C5\u884C\u7BB1","\u76AE\u5305"],calculator:["\u8BA1\u7B97\u5668","\u8BA1\u7B97\u673A"],calendar:["date","plan","schedule","agenda","\u65E5\u5386","\u65E5\u671F","\u6708\u4EFD","\u8BA1\u5212","\u65E5\u7A0B","\u65F6\u95F4\u8868"],"calendar-2":["date","plan","schedule","agenda","\u65E5\u5386","\u65E5\u671F","\u6708\u4EFD","\u8BA1\u5212","\u65E5\u7A0B","\u65F6\u95F4\u8868"],"calendar-event":["date","plan","schedule","agenda","\u65E5\u5386","\u65E5\u671F","\u6708\u4EFD","\u8BA1\u5212","\u65E5\u7A0B","\u65F6\u95F4\u8868"],"calendar-todo":["date","plan","schedule","agenda","\u65E5\u5386","\u65E5\u671F","\u6708\u4EFD","\u8BA1\u5212","\u65E5\u7A0B","\u65F6\u95F4\u8868"],"calendar-check":["date","plan","schedule","agenda","check-in","punch","\u65E5\u5386","\u65E5\u671F","\u6708\u4EFD","\u8BA1\u5212","\u65E5\u7A0B","\u65F6\u95F4\u8868","\u7B7E\u5230","\u6253\u5361"],"customer-service":["headset","\u5BA2\u670D","\u552E\u540E","\u8033\u673A","\u8033\u9EA6"],"customer-service-2":["headset","\u5BA2\u670D","\u552E\u540E","\u8033\u673A","\u8033\u9EA6"],flag:["banner","pin","\u65D7\u5E1C","\u65D7\u5B50","\u56FD\u65D7","\u6807\u8BB0"],"flag-2":["banner","pin","\u65D7\u5E1C","\u65D7\u5B50","\u56FD\u65D7","\u6807\u8BB0"],global:["earth","union","world","language","\u5730\u7403","\u8054\u5408","\u4E16\u754C","\u5168\u7403","\u8BED\u8A00"],honour:["honor","glory","\u9526\u65D7","\u8363\u8A89","\u8363\u8000","\u519B\u8854"],links:["connection","address","\u8054\u7CFB","\u94FE\u63A5","\u5730\u5740"],printer:["\u6253\u5370\u673A"],"printer-cloud":["\u6253\u5370\u673A","\u4E91\u6253\u5370"],"record-mail":["voice mail","tape","\u5F55\u97F3","\u7559\u8A00","\u8BED\u97F3\u4FE1\u7BB1","\u78C1\u5E26"],reply:["forward","\u56DE\u590D\u5168\u90E8","\u56DE\u590D\u6240\u6709"],"reply-all":["forward","\u56DE\u590D","\u7B54\u590D","\u7559\u8A00","\u8F6C\u53D1"],"send-plane":["\u53D1\u9001","\u7EB8\u98DE\u673A"],"send-plane-2":["\u53D1\u9001","\u7EB8\u98DE\u673A"],projector:["projection","meeting","\u6295\u5F71\u4EEA","\u4F1A\u8BAE\u5BA4"],"projector-2":["projection","meeting","\u6295\u5F71\u4EEA","\u4F1A\u8BAE\u5BA4","\u6781\u7C73"],slideshow:["presentation","meeting","PPT","keynote","\u6295\u5F71","\u653E\u6620","\u6F14\u793A","\u6F14\u8BB2","\u5E7B\u706F\u7247","\u4F1A\u8BAE\u5BA4"],"slideshow-2":["presentation","meeting","\u6295\u5F71","\u653E\u6620","\u6F14\u793A","\u6F14\u8BB2","\u5E7B\u706F\u7247","\u4F1A\u8BAE\u5BA4"],"slideshow-3":["presentation","meeting","\u6295\u5F71","\u653E\u6620","\u6F14\u793A","\u6F14\u8BB2","\u89C6\u9891\u4F1A\u8BAE","\u5E7B\u706F\u7247","\u4F1A\u8BAE\u5BA4"],"slideshow-4":["presentation","meeting","\u6295\u5F71","\u653E\u6620","\u6F14\u793A","\u6F14\u8BB2","\u53EF\u89C6\u5BF9\u8BB2","\u5E7B\u706F\u7247","\u4F1A\u8BAE\u5BA4"],window:["browser","program","web","\u7A97\u53E3","\u6D4F\u89C8\u5668","\u7A0B\u5E8F","\u7F51\u7AD9"],"window-2":["browser","program","web","\u7A97\u53E3","\u6D4F\u89C8\u5668","\u7A0B\u5E8F","\u7F51\u7AD9"],stack:["layers","\u56FE\u5C42","\u53E0\u52A0","\u5806\u6808"],service:["heart","handshake","cooperation","\u670D\u52A1","\u63E1\u624B","\u5FC3","\u5408\u4F5C"],registered:["\u6CE8\u518C","\u5546\u6807"],trademark:["\u6CE8\u518C","\u5546\u6807"],advertisement:["ad","\u5E7F\u544A","\u63A8\u5E7F"],copyleft:["\u8457\u4F50\u6743"],copyright:["\u7248\u6743"],"creative-commons":["\u77E5\u8BC6\u5171\u4EAB"],"creative-commons-by":["attribution","copyright","\u7248\u6743","\u77E5\u8BC6\u5171\u4EAB","\u7F72\u540D"],"creative-commons-nc":["noncommercial","copyright","\u7248\u6743","\u77E5\u8BC6\u5171\u4EAB","\u975E\u5546\u4E1A\u7528\u9014"],"creative-commons-nd":["no derivative works","copyright","\u7248\u6743","\u77E5\u8BC6\u5171\u4EAB","\u7981\u6B62\u6F14\u7ECE"],"creative-commons-sa":["share alike","copyright","\u7248\u6743","\u77E5\u8BC6\u5171\u4EAB","\u76F8\u540C\u65B9\u5F0F\u5171\u4EAB"],"creative-commons-zero":["cc0","copyright","\u7248\u6743","\u77E5\u8BC6\u5171\u4EAB"]},Communication:{"chat-1":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"chat-2":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"chat-3":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"chat-4":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],message:["chat","comment","reply","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"message-2":["chat","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"message-3":["chat","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"chat-check":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA","\u5DF2\u9605"],"chat-delete":["message","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA","\u6E05\u9664","\u5220\u9664"],"chat-forward":["message","comment","\u6D88\u606F","\u804A\u5929","\u8F6C\u53D1"],"chat-upload":["message","comment","\u6D88\u606F","\u804A\u5929","\u4E0A\u4F20"],"chat-download":["message","comment","\u6D88\u606F","\u4E0B\u8F7D"],"chat-new":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"chat-settings":["message","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA","\u8BBE\u7F6E"],"chat-smile":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"chat-smile-2":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"chat-smile-3":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA"],"chat-heart":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA","\u5FC3","\u70B9\u8D5E","\u6536\u85CF"],"chat-off":["message","reply","comment","slash","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA","\u7981\u6B62","\u5173\u95ED"],feedback:["message","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA","\u53CD\u9988"],discuss:["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA","\u8BA8\u8BBA","\u7FA4\u804A"],"question-answer":["message","reply","comment","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA","\u8BA8\u8BBA","\u7FA4\u804A"],questionnaire:["message","comment","help","\u6D88\u606F","\u804A\u5929","\u56DE\u590D","\u8BC4\u8BBA","\u8BA8\u8BBA","\u8C03\u67E5\u95EE\u5377","\u5E2E\u52A9"],"video-chat":["message","comment","\u6D88\u606F","\u89C6\u9891\u804A\u5929"],"chat-voice":["message","comment","\u6D88\u606F","\u8BED\u97F3\u6D88\u606F"],"chat-quote":["message","reply","comment","\u6D88\u606F","\u5F15\u7528\u56DE\u590D"],"chat-follow-up":["message","reply","comment","\u6D88\u606F","+1","\u8DDF\u5E16"],"chat-poll":["message","vote","questionnaire","\u6D88\u606F","\u6295\u7968","\u95EE\u5377\u8C03\u67E5"],"chat-history":["message","\u5386\u53F2\u6D88\u606F","\u6D88\u606F\u8BB0\u5F55"],"chat-private":["message","\u79C1\u5BC6\u6D88\u606F","\u5BC6\u804A"]},Design:{pencil:["edit","\u94C5\u7B14","\u7F16\u8F91"],edit:["pencil","\u94C5\u7B14","\u7F16\u8F91"],"edit-2":["pencil","\u94C5\u7B14","\u7F16\u8F91"],"ball-pen":["\u5706\u73E0\u7B14"],"quill-pen":["\u7FBD\u6BDB\u7B14","\u94A2\u7B14","\u7F16\u8F91"],"pen-nib":["\u94A2\u7B14","\u7B14\u5C16"],"ink-bottle":["\u58A8\u6C34\u74F6"],"mark-pen":["\u9A6C\u514B\u7B14"],markup:["\u6807\u8BB0","\u9A6C\u514B"],"edit-box":["\u7F16\u8F91"],"edit-circle":["\u7F16\u8F91"],sip:["\u5438\u7BA1","\u53D6\u8272\u5668"],brush:["\u7B14\u5237","\u753B\u7B14","\u5237\u5B50"],"brush-2":["\u5237\u5B50"],"brush-3":["\u5237\u5B50"],"brush-4":["\u5237\u5B50"],"paint-brush":["\u586B\u8272","\u586B\u5145","\u5237\u5B50"],contrast:["brightness","tonalit","\u5BF9\u6BD4\u5EA6","\u4EAE\u5EA6","\u8272\u8C03"],"contrast-2":["moon","dark","brightness","tonalit","\u6708\u4EAE","\u591C\u95F4","\u5BF9\u6BD4\u5EA6","\u4EAE\u5EA6","\u8272\u8C03"],drop:["water","blur","\u6A21\u7CCA","\u6C34","\u6EF4"],"blur-off":["water","drop","slash","\u6A21\u7CCA","\u6C34","\u6EF4","\u7981\u6B62","\u5173\u95ED"],"contrast-drop":["water","brightness","tonalit","\u6C34","\u5BF9\u6BD4\u5EA6","\u4EAE\u5EA6","\u8272\u8C03","\u6EF4"],"contrast-drop-2":["water","brightness","tonalit","\u6C34","\u5BF9\u6BD4\u5EA6","\u4EAE\u5EA6","\u8272\u8C03","\u6EF4"],compasses:["\u5706\u89C4"],"compasses-2":["\u5706\u89C4"],scissors:["\u526A\u5200","\u88C1\u526A"],"scissors-cut":["\u526A\u5200","\u88C1\u526A"],"scissors-2":["\u526A\u5200","\u88C1\u526A","\u622A\u5C4F"],slice:["knife","\u5207\u56FE","\u5207\u7247","\u5200"],eraser:["remove formatting","\u6A61\u76AE","\u64E6\u9664","\u6E05\u9664\u683C\u5F0F"],ruler:["\u5C3A\u5B50"],"ruler-2":["\u5C3A\u5B50"],"pencil-ruler":["design","\u94C5\u7B14","\u5C3A\u5B50","\u6587\u5177","\u8BBE\u8BA1"],"pencil-ruler-2":["design","\u94C5\u7B14","\u5C3A\u5B50","\u6587\u5177","\u8BBE\u8BA1"],"t-box":["\u6587\u5B57","\u5B57\u4F53","\u5B57\u53F7"],"input-method":["\u8F93\u5165\u6CD5","\u6587\u5B57"],artboard:["grid","crop","\u753B\u677F","\u88C1\u5207"],"artboard-2":["\u753B\u677F"],crop:["\u88C1\u5207"],"crop-2":["\u88C1\u5207"],screenshot:["capture","\u5C4F\u5E55\u622A\u56FE","\u622A\u5C4F"],"screenshot-2":["capture","\u5C4F\u5E55\u622A\u56FE","\u622A\u5C4F"],"drag-move":["arrow","\u62D6\u62FD","\u79FB\u52A8","\u7BAD\u5934"],"drag-move-2":["arrow","\u62D6\u62FD","\u79FB\u52A8","\u7BAD\u5934"],focus:["aim","target","\u7126\u70B9","\u805A\u7126","\u76EE\u6807","\u9776\u5FC3"],"focus-2":["aim","target","bullseye","\u7126\u70B9","\u805A\u7126","\u76EE\u6807","\u9776\u5FC3"],"focus-3":["aim","target","bullseye","\u7126\u70B9","\u805A\u7126","\u76EE\u6807","\u9776\u5FC3"],paint:["\u586B\u8272","\u586B\u5145","\u6CB9\u6F06\u6876"],palette:["\u8C03\u8272\u76D8","\u8272\u677F"],pantone:["\u8272\u677F","\u6F58\u901A\u8272","\u8272\u53F7"],shape:["border","\u5F62\u72B6","\u63CF\u8FB9","\u8FB9\u6846"],"shape-2":["border","\u5F62\u72B6","\u63CF\u8FB9","\u8FB9\u6846"],magic:["fantasy","magic stick","beautify","\u9B54\u6CD5\u68D2","\u7F8E\u5316","\u5E7B\u60F3","\u9B54\u5E7B"],anticlockwise:["rotate","left","\u5DE6\u7FFB\u8F6C","\u5DE6\u65CB\u8F6C"],"anticlockwise-2":["rotate","left","\u5DE6\u7FFB\u8F6C","\u5DE6\u65CB\u8F6C"],clockwise:["rotate","right","\u53F3\u7FFB\u8F6C","\u53F3\u65CB\u8F6C"],"clockwise-2":["rotate","right","\u53F3\u7FFB\u8F6C","\u53F3\u65CB\u8F6C"],hammer:["\u9524\u5B50"],tools:["settings","\u5DE5\u5177","\u8BBE\u7F6E"],"drag-drop":["drag and drop","mouse","\u62D6\u62FD","\u9F20\u6807"],table:["\u8868\u683C"],"table-alt":["\u8868\u683C"],layout:["\u5E03\u5C40"],"layout-2":["collage","\u5E03\u5C40","\u62FC\u8D34\u753B"],"layout-3":["collage","\u5E03\u5C40","\u62FC\u8D34\u753B"],"layout-4":["collage","\u5E03\u5C40","\u62FC\u8D34\u753B"],"layout-5":["collage","\u5E03\u5C40","\u62FC\u8D34\u753B"],"layout-6":["collage","\u5E03\u5C40","\u62FC\u8D34\u753B"],"layout-column":["\u5DE6\u53F3\u5E03\u5C40"],"layout-row":["\u4E0A\u4E0B\u5E03\u5C40"],"layout-top":["\u9876\u90E8\u5E03\u5C40","\u9876\u90E8\u5BFC\u822A"],"layout-right":["\u53F3\u4FA7\u5E03\u5C40","\u53F3\u4FA7\u5BFC\u822A"],"layout-bottom":["\u5E95\u90E8\u5E03\u5C40","\u5E95\u90E8\u5BFC\u822A"],"layout-left":["\u5DE6\u4FA7\u5E03\u5C40","\u5DE6\u4FA7\u5BFC\u822A"],"layout-top-2":["\u9876\u90E8\u5E03\u5C40","\u9876\u90E8\u5BFC\u822A"],"layout-right-2":["\u53F3\u4FA7\u5E03\u5C40","\u53F3\u4FA7\u5BFC\u822A"],"layout-bottom-2":["\u5E95\u90E8\u5E03\u5C40","\u5E95\u90E8\u5BFC\u822A"],"layout-left-2":["\u5DE6\u4FA7\u5E03\u5C40","\u5DE6\u4FA7\u5BFC\u822A"],"layout-grid":["\u5361\u7247\u5E03\u5C40","\u7F51\u683C"],"layout-masonry":["collage","\u7011\u5E03\u6D41\u5E03\u5C40","\u62FC\u8D34\u753B"],collage:["\u7011\u5E03\u6D41\u5E03\u5C40","\u62FC\u8D34\u753B"],grid:["table","\u7F51\u683C","\u8868\u683C"]},Development:{bug:["\u866B\u5B50"],"bug-2":["\u866B\u5B50"],code:["\u4EE3\u7801","\u7F16\u7A0B"],"code-s":["\u4EE3\u7801","\u7F16\u7A0B"],"code-s-slash":["\u4EE3\u7801","\u7F16\u7A0B"],"code-box":["\u4EE3\u7801","\u7F16\u7A0B"],"terminal-box":["code","command line","\u7EC8\u7AEF","\u4EE3\u7801","\u547D\u4EE4\u884C"],terminal:["code","command line","\u7EC8\u7AEF","\u4EE3\u7801","\u547D\u4EE4\u884C"],"terminal-window":["code","command line","\u7EC8\u7AEF","\u4EE3\u7801","\u547D\u4EE4\u884C"],parentheses:["code","math","\u5C0F\u62EC\u53F7"],brackets:["code","math","\u4E2D\u62EC\u53F7"],braces:["code","math","\u5927\u62EC\u53F7","\u82B1\u62EC\u53F7"],command:["apple key","\u82B1\u952E","\u82F9\u679C\u952E"],cursor:["mouse","\u6307\u9488","\u9F20\u6807"],"git-commit":["node","\u63D0\u4EA4"],"git-pull-request":["\u5408\u5E76\u7533\u8BF7"],"git-merge":["\u5408\u5E76"],"git-branch":["\u5206\u652F"],"git-repository":["\u4ED3\u5E93"],"git-repository-commits":["\u4ED3\u5E93","\u63D0\u4EA4"],"git-repository-private":["\u79C1\u5BC6\u4ED3\u5E93","\u79C1\u4EBA\u4ED3\u5E93"],html5:["html","h5"],css3:["css"]},Device:{tv:["\u7535\u89C6"],"tv-2":["monitor","\u7535\u89C6","\u663E\u793A\u5668"],computer:["monitor","\u7535\u8111","\u663E\u793A\u5668"],mac:["monitor","\u663E\u793A\u5668"],macbook:["laptop","\u7B14\u8BB0\u672C"],cellphone:["\u624B\u673A","\u7535\u8BDD"],smartphone:["mobile","\u624B\u673A"],tablet:["\u5E73\u677F\u7535\u8111"],device:["\u8BBE\u5907"],phone:["\u7535\u8BDD"],database:["storage","\u6570\u636E\u5E93","\u5B58\u50A8"],"database-2":["storage","\u6570\u636E\u5E93","\u5B58\u50A8"],server:["\u670D\u52A1\u5668"],"hard-drive":["disc","storage","\u786C\u76D8","\u5B58\u50A8"],"hard-drive-2":["disc","server","storage","\u786C\u76D8","\u670D\u52A1\u5668","\u5B58\u50A8"],install:["\u5B89\u88C5"],uninstall:["\u5378\u8F7D"],save:["floppy","\u4FDD\u5B58","\u8F6F\u76D8"],"save-2":["floppy","\u4FDD\u5B58","\u8F6F\u76D8"],"save-3":["floppy","\u4FDD\u5B58","\u8F6F\u76D8"],"sd-card":["\u5185\u5B58\u5361"],"sd-card-mini":["\u5185\u5B58\u5361"],"sim-card":["\u7535\u8BDD\u5361"],"sim-card-2":["\u7535\u8BDD\u5361"],"dual-sim-1":["sim card","\u7535\u8BDD\u5361","\u5361\u69FD","\u53CC\u5361\u53CC\u5F85"],"dual-sim-2":["sim card","\u7535\u8BDD\u5361","\u5361\u69FD","\u53CC\u5361\u53CC\u5F85"],"u-disk":["U\u76D8","\u4F18\u76D8"],battery:["\u7535\u6C60"],"battery-charge":["\u7535\u6C60","\u5145\u7535"],"battery-low":["\u7535\u6C60","\u4F4E\u7535\u91CF"],"battery-2":["\u7535\u6C60"],"battery-2-charge":["\u7535\u6C60","\u5145\u7535"],"battery-saver":["\u7535\u6C60","\u7701\u7535\u6A21\u5F0F"],"battery-share":["\u7535\u6C60\u5171\u4EAB","\u5171\u4EAB\u7535\u91CF"],cast:["mirroring","\u6295\u5C4F","\u65E0\u7EBF","\u5E7F\u64AD"],airplay:["mirroring","\u6295\u5C4F","\u65E0\u7EBF"],cpu:["\u4E2D\u592E\u5904\u7406\u5668"],gradienter:["\u6C34\u5E73\u4EEA"],keyboard:["input","\u952E\u76D8","\u8F93\u5165"],"keyboard-box":["input","\u952E\u76D8","\u8F93\u5165"],mouse:["\u9F20\u6807"],sensor:["capacitor","\u4F20\u611F\u5668","\u7535\u5BB9\u5668"],router:["wifi","signal tower","radio","station","\u8DEF\u7531\u5668","\u4FE1\u53F7\u5854","\u5E7F\u64AD","\u57FA\u7AD9","\u6D41\u91CF"],radar:["satellite receiver","\u96F7\u8FBE","\u536B\u661F\u63A5\u6536\u5668","\u9505"],gamepad:["consoles","controller","\u6E38\u620F\u624B\u67C4"],"remote-control":["controller","\u9065\u63A7\u5668"],"remote-control-2":["controller","\u9065\u63A7\u5668"],"device-recover":["\u6062\u590D\u51FA\u5382\u8BBE\u7F6E"],hotspot:["\u624B\u673A\u70ED\u70B9"],"phone-find":["\u627E\u56DE\u624B\u673A"],"phone-lock":["\u9501\u5B9A\u624B\u673A"],"rotate-lock":["\u9501\u5B9A\u65CB\u8F6C\u5C4F\u5E55"],restart:["reload","refresh","\u91CD\u542F"],"shut-down":["power off","\u5173\u673A"],fingerprint:["\u6307\u7EB9"],"fingerprint-2":["\u6307\u7EB9"],barcode:["scan","\u626B\u7801","\u6761\u5F62\u7801","\u6761\u7801"],"barcode-box":["scan","\u626B\u7801","\u6761\u5F62\u7801","\u6761\u7801"],"qr-code":["\u4E8C\u7EF4\u7801"],"qr-scan":["\u4E8C\u7EF4\u7801","\u626B\u63CF"],"qr-scan-2":["\u4E8C\u7EF4\u7801","\u626B\u63CF"],scan:["\u626B\u63CF"],"scan-2":["\u626B\u63CF"],rss:["feed","subscribe","\u8BA2\u9605"],gps:["signal","\u5B9A\u4F4D","\u4FE1\u53F7"],"base-station":["wifi","signal tower","router","cast","\u57FA\u7AD9","\u4FE1\u53F7\u5854","\u8DEF\u7531\u5668","\u5E7F\u64AD","\u6D41\u91CF"],bluetooth:["wireless","\u84DD\u7259","\u65E0\u7EBF"],"bluetooth-connect":["wireless","\u84DD\u7259","\u8FDE\u63A5","\u65E0\u7EBF"],wifi:["\u65E0\u7EBF\u7F51"],"wifi-off":["slash","offline","connection-fail","\u65E0\u7EBF\u7F51","\u5173\u95ED","\u65AD\u7F51","\u94FE\u63A5\u5931\u8D25"],"signal-wifi":["cellular","strength","\u65E0\u7EBF\u7F51","\u4FE1\u53F7"],"signal-wifi-1":["cellular","strength","\u65E0\u7EBF\u7F51","\u4FE1\u53F7"],"signal-wifi-2":["cellular","strength","\u65E0\u7EBF\u7F51","\u4FE1\u53F7"],"signal-wifi-3":["cellular","strength","\u65E0\u7EBF\u7F51","\u4FE1\u53F7"],"signal-wifi-error":["cellular","offline","connection-fail","\u65E0\u7EBF\u7F51","\u65AD\u7F51","\u94FE\u63A5\u5931\u8D25","\u65E0\u4FE1\u53F7"],"signal-wifi-off":["cellular","slash","offline","connection-fail","\u65E0\u7EBF\u7F51","\u5173\u95ED","\u65AD\u7F51","\u94FE\u63A5\u5931\u8D25"],"wireless-charging":["power","flash","\u65E0\u7EBF\u5145\u7535","\u95EA\u5145"],"dashboard-2":["\u4EEA\u8868\u76D8"],"dashboard-3":["\u4EEA\u8868\u76D8"],usb:["\u4F18\u76D8"]},Document:{file:["new","paper","\u6587\u4EF6","\u6587\u6863","\u65B0\u5EFA"],"file-2":["new","paper","\u6587\u4EF6","\u6587\u6863","\u65B0\u5EFA"],"file-3":["new","paper","\u6587\u4EF6","\u6587\u6863","\u65B0\u5EFA"],"file-4":["new","paper","\u6587\u4EF6","\u6587\u6863","\u65B0\u5EFA"],"sticky-note":["new","paper","\u6587\u4EF6","\u6587\u6863","\u65B0\u5EFA","\u4FBF\u7B7E\u7EB8","\u4FBF\u5229\u8D34"],"sticky-note-2":["new","paper","\u6587\u4EF6","\u6587\u6863","\u65B0\u5EFA","\u4FBF\u7B7E\u7EB8","\u4FBF\u5229\u8D34"],"file-edit":["\u6587\u4EF6","\u6587\u6863","\u7F16\u8F91"],draft:["\u8349\u7A3F\u7BB1","\u6587\u4EF6","\u6587\u6863","\u7F16\u8F91"],"file-paper":["\u6587\u4EF6","\u6587\u6863","\u7EB8","\u8C31"],"file-paper-2":["\u6587\u4EF6","\u6587\u6863","\u7EB8","\u8C31"],"file-text":["\u6587\u4EF6","\u6587\u6863","\u6587\u672C"],"file-list":["\u6E05\u5355","\u5217\u8868"],"file-list-2":["\u6E05\u5355","\u5217\u8868"],"file-list-3":["newspaper","\u6E05\u5355","\u5217\u8868","\u62A5\u7EB8"],bill:["\u8D26\u5355"],"file-copy":["duplicate","clone","\u590D\u5236","\u514B\u9686"],"file-copy-2":["duplicate","clone","\u590D\u5236","\u514B\u9686"],clipboard:["copy","\u590D\u5236","\u526A\u5207\u677F"],survey:["research","questionnaire","\u8C03\u67E5","\u95EE\u5377","\u8C03\u7814"],article:["newspaper","\u6587\u7AE0","\u62A5\u7EB8"],newspaper:["\u62A5\u7EB8"],"file-zip":["7z","rar","\u538B\u7F29\u5305"],"file-mark":["\u6587\u4EF6","\u6587\u6863","\u6807\u8BB0"],task:["todo","\u4EFB\u52A1","\u5F85\u529E"],todo:["\u5F85\u529E"],book:["read","dictionary","booklet","\u4E66","\u9605\u8BFB","\u5B57\u5178","\u5C0F\u518C\u5B50"],"book-mark":["read","dictionary","booklet","\u4E66","\u9605\u8BFB","\u5B57\u5178","\u5C0F\u518C\u5B50","\u4E66\u7B7E"],"book-2":["read","dictionary","booklet","\u4E66","\u9605\u8BFB","\u5B57\u5178","\u5C0F\u518C\u5B50"],"book-3":["read","dictionary","booklet","\u4E66","\u9605\u8BFB","\u5B57\u5178","\u5C0F\u518C\u5B50"],"book-open":["read","booklet","magazine","\u4E66","\u9605\u8BFB","\u5C0F\u518C\u5B50","\u6742\u5FD7"],"book-read":["booklet","magazine","\u4E66","\u9605\u8BFB","\u5C0F\u518C\u5B50","\u6742\u5FD7"],"contacts-book":["\u901A\u8BAF\u5F55","\u8054\u7CFB\u4EBA"],"contacts-book-2":["\u901A\u8BAF\u5F55","\u8054\u7CFB\u4EBA"],"contacts-book-upload":["upload","\u901A\u8BAF\u5F55","\u8054\u7CFB\u4EBA","\u4E0A\u4F20"],booklet:["notebook","\u624B\u518C","\u7B14\u8BB0\u672C","\u5C0F\u518C\u5B50"],"file-code":["config","\u6587\u4EF6","\u6587\u6863","\u4EE3\u7801","\u811A\u672C","\u914D\u7F6E\u6587\u4EF6"],"file-pdf":["\u6587\u4EF6","\u6587\u6863"],"file-word":["\u6587\u6863"],"file-ppt":["\u6587\u4EF6","\u6587\u6863"],"file-excel":["\u6587\u6863","\u8868\u5355"],"file-word-2":["\u6587\u6863"],"file-ppt-2":["\u6587\u4EF6","\u6587\u6863"],"file-excel-2":["\u6587\u6863","\u8868\u5355"],"file-hwp":["\u6587\u4EF6","\u6587\u6863","hangul word processor"],keynote:["\u6F14\u793A\u6587\u7A3F","\u5E7B\u706F\u7247","\u8BB2\u6F14"],numbers:["\u8868\u683C"],pages:["\u6587\u7A3F"],"file-search":["\u6587\u4EF6","\u6587\u6863","\u641C\u7D22"],"file-add":["new","\u6587\u4EF6","\u6587\u6863","\u65B0\u5EFA"],"file-reduce":["\u6587\u4EF6","\u6587\u6863","\u51CF"],"file-settings":["\u6587\u4EF6","\u6587\u6863","\u8BBE\u7F6E"],"file-upload":["\u6587\u4EF6","\u6587\u6863","\u4E0A\u4F20"],"file-transfer":["\u6587\u4EF6","\u6587\u6863","\u4F20\u8F93"],"file-download":["\u6587\u4EF6","\u6587\u6863","\u4E0B\u8F7D"],"file-lock":["\u6587\u4EF6","\u6587\u6863","\u9501"],"file-chart":["report","\u6587\u4EF6","\u6587\u6863","\u67F1\u72B6\u56FE","\u62A5\u8868"],"file-chart-2":["report","\u6587\u4EF6","\u6587\u6863","\u997C\u56FE","\u62A5\u8868"],"file-music":["\u6587\u4EF6","\u6587\u6863","\u97F3\u4E50"],"file-gif":["\u6587\u4EF6","\u6587\u6863","\u52A8\u56FE"],"file-forbid":["\u6587\u4EF6","\u6587\u6863","\u7981\u7528"],"file-info":["\u6587\u4EF6","\u6587\u6863","\u4FE1\u606F"],"file-warning":["alert","\u6587\u4EF6","\u6587\u6863","\u8B66\u544A","\u63D0\u9192"],"file-unknow":["\u6587\u4EF6","\u6587\u6863","\u672A\u77E5","\u95EE\u53F7"],"file-user":["\u6587\u4EF6","\u6587\u6863","\u7528\u6237"],"file-shield":["protected","secured","\u6587\u4EF6","\u6587\u6863","\u76FE\u724C","\u4FDD\u62A4","\u5B89\u5168"],"file-shield-2":["protected","secured","\u6587\u4EF6","\u6587\u6863","\u76FE\u724C","\u4FDD\u62A4","\u5B89\u5168"],"file-damage":["breakdown","broken","\u6587\u4EF6","\u6587\u6863","\u635F\u574F","\u7834\u635F","\u7834\u88C2"],"file-history":["record","\u6587\u4EF6","\u6587\u6863","\u8BB0\u5F55","\u5386\u53F2"],"file-shred":["shredder","shred","destroy","cut","\u6587\u6863","\u9500\u6BC1","\u788E\u7EB8\u673A","\u7834\u88C2","\u7C89\u788E"],"file-cloud":["\u6587\u4EF6","\u6587\u6863","\u4E91"],folder:["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863"],"folder-2":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863"],"folder-3":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863"],"folder-4":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863"],"folder-5":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863"],folders:["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u6279\u91CF"],"folder-add":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u6DFB\u52A0"],"folder-reduce":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u51CF"],"folder-settings":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u8BBE\u7F6E"],"folder-upload":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u4E0A\u4F20"],"folder-transfer":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u4F20\u8F93"],"folder-download":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u4E0B\u8F7D"],"folder-lock":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u9501"],"folder-chart":["report","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u67F1\u72B6\u56FE","\u62A5\u8868"],"folder-chart-2":["report","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u997C\u56FE","\u62A5\u8868"],"folder-music":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u97F3\u4E50"],"folder-forbid":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u7981\u7528"],"folder-info":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u4FE1\u606F"],"folder-warning":["alert","directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u8B66\u544A","\u63D0\u9192"],"folder-unknow":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u672A\u77E5"],"folder-user":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u7528\u6237"],"folder-shield":["directory","file","protected","secured","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u4FDD\u62A4","\u76FE\u724C","\u5B89\u5168"],"folder-shield-2":["directory","file","protected","secured","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u4FDD\u62A4","\u76FE\u724C","\u5B89\u5168"],"folder-shared":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u5206\u4EAB"],"folder-received":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u63A5\u6536"],"folder-open":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u6253\u5F00"],"folder-keyhole":["directory","encryption","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u6253\u5F00","\u52A0\u5BC6\u6587\u6863"],"folder-zip":["directory","file","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u6253\u5F00","\u538B\u7F29"],"folder-history":["directory","file","record","\u6587\u4EF6\u5939","\u76EE\u5F55","\u6587\u6863","\u8BB0\u5F55","\u5386\u53F2"],markdown:["arrow","\u7BAD\u5934","\u4E0B"]},Editor:{bold:["\u52A0\u7C97"],italic:["\u659C\u4F53"],heading:["\u6807\u9898"],text:["\u5B57\u4F53"],"font-color":["\u6587\u5B57\u8272"],"font-size":["\u5B57\u53F7","\u5B57\u4F53\u5927\u5C0F"],"font-size-2":["\u5B57\u53F7","\u5B57\u4F53\u5927\u5C0F"],underline:["\u4E0B\u5212\u7EBF"],emphasis:["\u7740\u91CD\u53F7"],"emphasis-cn":["\u7740\u91CD\u53F7"],strikethrough:["remove formatting","\u5220\u9664\u7EBF"],"strikethrough-2":["remove formatting","\u5220\u9664\u7EBF"],"format-clear":["remove formatting","\u6E05\u9664\u683C\u5F0F"],"align-left":["\u5DE6\u5BF9\u9F50"],"align-center":["\u5C45\u4E2D\u5BF9\u9F50"],"align-right":["\u53F3\u5BF9\u9F50"],"align-justify":["\u6392\u5217\u5BF9\u9F50"],"align-top":["\u9876\u90E8\u5BF9\u9F50"],"align-vertically":["\u5782\u76F4\u5BF9\u9F50"],"align-bottom":["\u5E95\u90E8\u5BF9\u9F50"],"list-check":["check list","\u6E05\u5355\u5217\u8868"],"list-check-2":["check list","\u6E05\u5355\u5217\u8868"],"list-ordered":["number list","\u6709\u5E8F\u5217\u8868"],"list-unordered":["bullet list","\u65E0\u5E8F\u5217\u8868"],"indent-decrease":["indent more","\u7F29\u8FDB"],"indent-increase":["indent less","\u7F29\u8FDB"],"line-height":["\u884C\u9AD8"],"text-spacing":["\u5B57\u95F4\u8DDD"],"text-wrap":["\u6587\u672C\u6362\u884C"],"attachment-2":["annex","paperclip","\u9644\u4EF6","\u66F2\u522B\u9488"],link:["connection","address","\u8054\u7CFB","\u94FE\u63A5","\u5730\u5740"],"link-unlink":["connection","remove address","\u53BB\u9664\u94FE\u63A5"],"link-m":["connection","address","\u8054\u7CFB","\u94FE\u63A5","\u5730\u5740"],"link-unlink-m":["connection","remove address","\u53BB\u9664\u94FE\u63A5"],separator:["\u5206\u5272\u7EBF"],space:["\u7A7A\u683C"],"page-separator":["insert","\u5206\u9875\u7B26","\u63D2\u5165"],"code-view":["\u4EE3\u7801\u89C6\u56FE"],"double-quotes-l":["left","quotation marks","\u53CC\u5F15\u53F7"],"double-quotes-r":["right","quotation marks","\u53CC\u5F15\u53F7"],"single-quotes-l":["left","quotation marks","\u5355\u5F15\u53F7"],"single-quotes-r":["right","quotation marks","\u5355\u5F15\u53F7"],"table-2":["\u8868\u683C"],subscript:["\u89D2\u6807","\u4E0B\u6807","\u811A\u6CE8"],"subscript-2":["\u89D2\u6807","\u4E0B\u6807","\u811A\u6CE8"],superscript:["\u89D2\u6807","\u4E0A\u6807"],"superscript-2":["\u89D2\u6807","\u4E0A\u6807"],paragraph:["\u6BB5\u843D"],"text-direction-l":["\u6587\u672C\u5DE6\u5BF9\u9F50"],"text-direction-r":["\u6587\u672C\u5DE6\u5BF9\u9F50"],functions:["\u529F\u80FD"],omega:["\u03A9","\u7279\u6B8A\u7B26\u53F7"],hashtag:["#","\u4E95\u53F7"],asterisk:["*","\u661F\u53F7"],"question-mark":["\u95EE\u53F7"],translate:["translator","\u7FFB\u8BD1"],"translate-2":["translator","\u7FFB\u8BD1"],"a-b":["a/b testing","ab testing","ab\u6D4B\u8BD5"],"english-input":["\u82F1\u6587\u8F93\u5165\u6CD5"],"pinyin-input":["\u62FC\u97F3\u8F93\u5165\u6CD5"],"wubi-input":["\u4E94\u7B14\u8F93\u5165\u6CD5"],"input-cursor-move":["\u79FB\u52A8\u8F93\u5165\u5149\u6807"],"number-1":["1","\u4E00","\u6570\u5B57"],"number-2":["2","\u4E8C","\u6570\u5B57"],"number-3":["3","\u4E09","\u6570\u5B57"],"number-4":["4","\u56DB","\u6570\u5B57"],"number-5":["5","\u4E94","\u6570\u5B57"],"number-6":["6","\u516D","\u6570\u5B57"],"number-7":["7","\u4E03","\u6570\u5B57"],"number-8":["8","\u516B","\u6570\u5B57"],"number-9":["9","\u4E5D","\u6570\u5B57"],"number-0":["0","\u96F6","\u6570\u5B57"],"sort-asc":["ranking","ordering","sorting","ascending","descending","\u5347\u5E8F\u6392\u5217","\u6392\u5E8F"],"sort-desc":["ranking","ordering","\u964D\u5E8F\u6392\u5217","\u6392\u5E8F"],"bring-forward":["arrange","\u5C42\u7EA7","\u5411\u4E0A\u4E00\u5C42"],"send-backward":["arrange","\u5C42\u7EA7","\u5411\u4E0B\u4E00\u5C42"],"bring-to-front":["arrange","\u5C42\u7EA7","\u79FB\u5230\u6700\u524D\u9762"],"send-to-back":["arrange","\u5C42\u7EA7","\u79FB\u5230\u6700\u540E\u9762"],"h-1":["heading","\u4E00\u7EA7\u6807\u9898"],"h-2":["heading","\u4E00\u7EA7\u6807\u9898"],"h-3":["heading","\u4E00\u7EA7\u6807\u9898"],"h-4":["heading","\u4E00\u7EA7\u6807\u9898"],"h-5":["heading","\u4E00\u7EA7\u6807\u9898"],"h-6":["heading","\u4E00\u7EA7\u6807\u9898"],"insert-column-left":["\u6DFB\u52A0\u5217","\u5DE6\u4FA7"],"insert-column-right":["\u6DFB\u52A0\u5217","\u53F3\u4FA7"],"insert-row-top":["\u6DFB\u52A0\u884C","\u9876\u90E8"],"insert-row-bottom":["\u6DFB\u52A0\u884C","\u5E95\u90E8"],"delete-column":["\u5220\u9664\u5217","\u5E95\u90E8"],"delete-row":["\u6DFB\u52A0\u884C","\u5E95\u90E8"],"merge-cells-horizontal":["\u5408\u5E76\u5355\u5143\u683C"],"merge-cells-vertical":["\u5408\u5E76\u5355\u5143\u683C"],"split-cells-horizontal":["\u62C6\u5206\u5355\u5143\u683C"],"split-cells-vertical":["\u62C6\u5206\u5355\u5143\u683C"],"flow-chart":["\u6D41\u7A0B\u56FE"],"mind-map":["mindmap","\u8111\u56FE","\u601D\u7EF4\u5BFC\u56FE"],"node-tree":["\u8282\u70B9","\u5C42\u7EA7\u5173\u7CFB\u56FE"],"organization-chart":["\u7EC4\u7EC7\u67B6\u6784\u56FE","\u5C40\u57DF\u7F51"],"rounded-corner":["\u5706\u89D2"]},Finance:{wallet:["\u94B1\u5305","\u5361\u5305"],"wallet-2":["\u94B1\u5305","\u5361\u5305"],"wallet-3":["\u94B1\u5305","\u5361\u5305"],"bank-card":["credit","purchase","payment","cc","\u94F6\u884C\u5361","\u4FE1\u7528\u5361","\u8D2D\u4E70","\u6D88\u8D39","\u652F\u4ED8"],"bank-card-2":["credit","purchase","payment","cc","\u94F6\u884C\u5361","\u4FE1\u7528\u5361","\u8D2D\u4E70","\u6D88\u8D39","\u652F\u4ED8"],"secure-payment":["credit","purchase","payment","cc","\u94F6\u884C\u5361","\u4FE1\u7528\u5361","\u8D2D\u4E70","\u6D88\u8D39","\u652F\u4ED8","\u5B89\u5168"],refund:["credit card","repayment","cc","\u94F6\u884C\u5361","\u4FE1\u7528\u5361\u8FD8\u6B3E"],"refund-2":["credit card","repayment","cc","\u94F6\u884C\u5361","\u4FE1\u7528\u5361\u8FD8\u6B3E"],safe:["\u4FDD\u9669\u67DC","\u4FDD\u9669\u7BB1"],"safe-2":["\u4FDD\u9669\u67DC","\u4FDD\u9669\u7BB1"],"price-tag":["label","\u6807\u7B7E","\u4EF7\u7B7E"],"price-tag-2":["label","\u6807\u7B7E","\u4EF7\u7B7E"],"price-tag-3":["label","\u6807\u7B7E","\u4EF7\u7B7E"],ticket:["coupon","\u7968","\u4F18\u60E0\u5238","\u4EE3\u91D1\u5238"],"ticket-2":["coupon","\u7968","\u4F18\u60E0\u5238","\u4EE3\u91D1\u5238"],coupon:["ticket","\u7968","\u4F18\u60E0\u5238","\u4EE3\u91D1\u5238"],"coupon-2":["ticket","\u7968","\u4F18\u60E0\u5238","\u4EE3\u91D1\u5238"],"coupon-3":["ticket","\u7968","\u4F18\u60E0\u5238","\u4EE3\u91D1\u5238"],"coupon-4":["\u4F18\u60E0\u5238","\u4EE3\u91D1\u5238"],"coupon-5":["\u4F18\u60E0\u5238","\u4EE3\u91D1\u5238"],"shopping-bag":["purse","\u8D2D\u7269\u888B","\u8D2D\u4E70","\u6D88\u8D39","\u5546\u57CE"],"shopping-bag-2":["\u8D2D\u7269\u888B","\u8D2D\u4E70","\u6D88\u8D39","\u5546\u57CE"],"shopping-bag-3":["\u8D2D\u7269\u888B","\u8D2D\u4E70","\u6D88\u8D39","\u5546\u57CE"],"shopping-basket":["\u8D2D\u7269\u7BEE","\u8D2D\u4E70","\u6D88\u8D39","\u5546\u57CE"],"shopping-basket-2":["\u8D2D\u7269\u7BEE","\u8D2D\u4E70","\u6D88\u8D39","\u5546\u57CE"],"shopping-cart":["\u8D2D\u7269\u8F66","\u8D2D\u4E70","\u6D88\u8D39","\u5546\u57CE"],"shopping-cart-2":["\u8D2D\u7269\u8F66","\u8D2D\u4E70","\u6D88\u8D39","\u5546\u57CE"],vip:["\u4F1A\u5458"],"vip-crown":["king","queen","\u7687\u51A0","\u4F1A\u5458","\u56FD\u738B","\u5973\u738B","\u738B\u540E"],"vip-crown-2":["king","queen","\u7687\u51A0","\u4F1A\u5458","\u56FD\u738B","\u5973\u738B","\u738B\u540E"],"vip-diamond":["\u94BB\u77F3","\u4F1A\u5458"],trophy:["\u5956\u54C1","\u5956\u676F","\u91D1\u676F"],exchange:["swap","\u4EA4\u6362","\u6362\u7B97","\u5151\u6362"],"exchange-box":["swap","\u4EA4\u6362","\u6362\u7B97","\u5151\u6362"],swap:["exchange","\u4EA4\u6362","\u6362\u7B97","\u5151\u6362"],"swap-box":["exchange","\u4EA4\u6362","\u6362\u7B97","\u5151\u6362"],"exchange-dollar":["swap","transfer","\u4EA4\u6362","\u6362\u7B97","\u5151\u6362","\u7F8E\u5143","\u8F6C\u8D26"],"exchange-cny":["swap","transfer","\u4EA4\u6362","\u6362\u7B97","\u5151\u6362","\u4EBA\u6C11\u5E01","\u8F6C\u8D26"],"exchange-funds":["swap","transfer","\u4EA4\u6362","\u6362\u7B97","\u5151\u6362","\u57FA\u91D1","\u80A1\u7968","\u8F6C\u8D26"],"increase-decrease":["\u8BA1\u7B97\u5668"],percent:["\u767E\u5206\u4E4B","\u767E\u5206\u6BD4"],"copper-coin":["currency","payment","\u94DC\u5E01","\u786C\u5E01","\u8D27\u5E01","\u94B1","\u652F\u4ED8"],"copper-diamond":["currency","coins","\u91D1\u5E01","\u94BB\u77F3","\u8D27\u5E01","\u94B1","\u652F\u4ED8"],"money-cny-box":["currency","payment","\u8D27\u5E01","\u94B1","\u652F\u4ED8","\u4EBA\u6C11\u5E01"],"money-cny-circle":["currency","coins","\u91D1\u5E01","payment","\u8D27\u5E01","\u94B1","\u652F\u4ED8","\u4EBA\u6C11\u5E01"],"money-dollar-box":["currency","payment","\u8D27\u5E01","\u94B1","\u652F\u4ED8","\u7F8E\u5143"],"money-dollar-circle":["currency","coins","\u91D1\u5E01","payment","cent","penny","\u8D27\u5E01","\u94B1","\u652F\u4ED8","\u7F8E\u5143","\u7F8E\u5206","\u4FBF\u58EB"],"money-euro-box":["currency","payment","\u8D27\u5E01","\u94B1","\u652F\u4ED8","\u6B27\u5143"],"money-euro-circle":["currency","coins","\u91D1\u5E01","payment","\u8D27\u5E01","\u94B1","\u652F\u4ED8","\u6B27\u5143"],"money-pound-box":["currency","payment","\u8D27\u5E01","\u94B1","\u652F\u4ED8","\u82F1\u9551"],"money-pound-circle":["currency","coins","\u91D1\u5E01","payment","\u8D27\u5E01","\u94B1","\u652F\u4ED8","\u82F1\u9551"],"bit-coin":["currency","payment","\u8D27\u5E01","\u94B1","\u6BD4\u7279\u5E01"],coin:["\u91D1\u5E01","\u786C\u5E01"],coins:["\u91D1\u5E01","\u786C\u5E01"],currency:["cash","payment","\u8D27\u5E01","\u94B1"],funds:["foundation","stock","\u57FA\u91D1","\u80A1\u7968"],"funds-box":["foundation","stock","\u57FA\u91D1","\u80A1\u7968"],"red-packet":["\u7EA2\u5305"],"water-flash":["\u6C34\u7535\u8D39"],stock:["\u80A1\u7968"],auction:["hammer","\u62CD\u5356","\u9524\u5B50"],gift:["present","\u793C\u7269"],"gift-2":["present","\u793C\u7269"],"hand-coin":["donate","business","\u6350\u8D60"],"hand-heart":["help","donate","volunteer","welfare","\u5E2E\u52A9","\u7231\u5FC3","\u6350\u8D60","\u5FD7\u613F\u8005","\u516C\u76CA"],"24-hours":["last","24\u5C0F\u65F6\u8425\u4E1A"]},"Health & Medical":{heart:["like","love","favorite","\u5FC3","\u559C\u6B22","\u7231","\u6536\u85CF"],"heart-2":["like","love","favorite","\u5FC3","\u559C\u6B22","\u7231","\u6536\u85CF"],"heart-3":["like","love","favorite","\u5FC3","\u559C\u6B22","\u7231","\u6536\u85CF"],"heart-add":["like","love","favorite","\u5FC3","\u559C\u6B22","\u7231","\u6536\u85CF"],dislike:["like","love","remove favorite","\u5FC3","\u4E0D\u559C\u6B22","\u53D6\u6D88\u6536\u85CF"],hearts:["romance","\u7231\u60C5","\u6D6A\u6F2B","\u5FC3"],"heart-pulse":["heart rate","\u8109\u640F","\u5FC3\u7387"],pulse:["wave","heart rate","\u8109\u640F","\u5FC3\u7387","\u6CE2"],empathize:["care","heart","\u540C\u7406\u5FC3","\u5173\u7231","\u5FC3"],nurse:["doctors","\u533B\u751F","\u62A4\u58EB"],dossier:["\u75C5\u4F8B"],"health-book":["\u5065\u5EB7\u624B\u518C","\u533B\u7597\u624B\u518C"],"first-aid-kit":["case","\u6025\u6551\u7BB1"],capsule:["medicine"," \u80F6\u56CA","\u836F"],"medicine-bottle":["\u836F\u74F6"],flask:["testing","experimental","experiment","\u70E7\u74F6","\u5B9E\u9A8C","\u8BD5\u9A8C"],"test-tube":["testing","experimental","experiment","\u8BD5\u7BA1","\u5B9E\u9A8C","\u8BD5\u9A8C"],microscope:["testing","experimental","experiment","\u663E\u5FAE\u955C","\u5B9E\u9A8C","\u8BD5\u9A8C"],"hand-sanitizer":["alcohol","\u9152\u7CBE\u6D88\u6BD2\u6D17\u624B\u6DB2"],"mental-health":["\u5FC3\u7406\u5065\u5EB7"],psychotherapy:["\u5FC3\u7406\u6CBB\u7597"],stethoscope:["\u542C\u8BCA\u5668"],syringe:["\u6CE8\u5C04\u5668"],thermometer:["\u4F53\u6E29\u8BA1"],"infrared-thermometer":["\u7EA2\u5916\u7EBF\u4F53\u6E29\u8BA1","\u4F53\u6E29\u67AA"],"surgical-mask":["\u5916\u79D1\u533B\u7528\u53E3\u7F69"],virus:["\u75C5\u6BD2"],lungs:["\u80BA\u90E8"],"rest-time":["close","\u4F11\u606F\u65F6\u95F4","\u6253\u70CA"],zzz:["\u7761\u89C9"]},Logos:{alipay:["zhifubao","\u652F\u4ED8\u5B9D"],amazon:["\u4E9A\u9A6C\u900A"],android:["applications","\u5B89\u5353","\u5E94\u7528"],angularjs:["angular","programming framework"],"app-store":["applications","\u82F9\u679C\u5E94\u7528\u5546\u5E97"],apple:["\u82F9\u679C"],baidu:["du","claw","\u767E\u5EA6","\u722A"],behance:["behance"],bilibili:["\u54D4\u54E9\u54D4\u54E9"],centos:["linux","system","\u7CFB\u7EDF"],chrome:["\u8C37\u6B4C\u6D4F\u89C8\u5668"],codepen:["\u4EE3\u7801\u7B14"],coreos:["linux","system","\u7CFB\u7EDF"],dingding:["\u9489\u9489"],discord:["game","chat"],disqus:["comments"],douban:["\u8C46\u74E3"],dribbble:["\u8FFD\u6CE2"],drive:["google drive","\u8C37\u6B4C\u4E91\u7AEF\u786C\u76D8"],dropbox:["\u591A\u5B9D\u7BB1"],edge:["microsoft edge","edge\u6D4F\u89C8\u5668"],evernote:["\u5370\u8C61\u7B14\u8BB0"],facebook:["\u8138\u4E66"],"facebook-circle":["\u8138\u4E66"],"facebook-box":["\u8138\u4E66"],finder:["macintosh","\u4EFF\u8FBE"],firefox:["\u706B\u72D0\u6D4F\u89C8\u5668"],flutter:["google"],gatsby:["gatsby"],github:["github"],gitlab:["gitlab"],google:["\u8C37\u6B4C"],"google-play":["applications","\u8C37\u6B4C\u5E94\u7528\u5546\u5E97"],"honor-of-kings":["game","\u738B\u8005\u8363\u8000"],ie:["internet explorer","\u6D4F\u89C8\u5668"],instagram:["\u7167\u7247\u5899"],invision:["invision"],"kakao-talk":["kakao talk","chat"],line:["\u8FDE\u6211"],linkedin:["\u9886\u82F1"],"linkedin-box":["\u9886\u82F1"],mastercard:["bank card","\u94F6\u884C\u5361"],mastodon:["mastodon","\u957F\u6BDB\u8C61"],medium:["\u5A92\u4F53"],messenger:["facebook","\u8138\u4E66","\u4FE1\u4F7F"],microsoft:["windows","\u7A97\u6237","\u5FAE\u8F6F"],"mini-program":["\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F"],"netease-cloud-music":["netease cloud music","\u7F51\u6613\u4E91\u97F3\u4E50"],netflix:["\u7F51\u98DE"],npmjs:["npm","nodejs"],"open-source":["opensource","\u5F00\u6E90"],opera:["\u6B27\u670B\u6D4F\u89C8\u5668"],patreon:["donate","money","\u6350\u8D60","\u6253\u8D4F"],paypal:["\u8D1D\u5B9D"],pinterest:["\u62FC\u8DA3"],pixelfed:["photography","pixelfed"],playstation:["ps"],"product-hunt":["product hunt"],qq:["penguin","tencent","\u817E\u8BAF","\u4F01\u9E45"],reactjs:["react","programming framework","facebook"],reddit:["reddit"],remixicon:["remix icon","\u56FE\u6807"],safari:["safari\u6D4F\u89C8\u5668"],skype:["skype"],slack:["slack"],snapchat:["ghost","\u8272\u62C9\u5E03","\u5E7D\u7075"],soundcloud:["\u58F0\u4E91"],spectrum:["spectrum"],spotify:["music","\u97F3\u4E50"],"stack-overflow":["stack overflow"],stackshare:["share","\u5206\u4EAB","\u6280\u672F\u6808"],steam:["game","store"],switch:["nintendo","\u4EFB\u5929\u5802"],taobao:["\u6DD8\u5B9D"],telegram:["telegram"],trello:["trello"],tumblr:["\u6C64\u535A\u4E50"],twitch:["twitch"],twitter:["\u63A8\u7279"],ubuntu:["linux","system","\u7CFB\u7EDF"],unsplash:["photos"],vimeo:["\u89C6\u9891"],visa:["bank card","\u94F6\u884C\u5361"],vuejs:["vue","programming framework"],wechat:["\u5FAE\u4FE1"],"wechat-2":["\u5FAE\u4FE1"],"wechat-pay":["\u5FAE\u4FE1\u652F\u4ED8"],weibo:["\u65B0\u6D6A\u5FAE\u535A"],whatsapp:["\u74E6\u6B21\u827E\u666E"],windows:["microsoft","\u7A97\u6237","\u5FAE\u8F6F"],xbox:["xbox"],xing:["xing"],youtube:["\u4F18\u5154","\u6CB9\u7BA1"],zcool:["zcool","\u7AD9\u9177"],zhihu:["\u77E5\u4E4E"]},Map:{"map-pin":["location","navigation","\u5730\u56FE","\u5750\u6807","\u5B9A\u4F4D","\u5BFC\u822A","\u4F4D\u7F6E"],"map-pin-2":["location","navigation","\u5730\u56FE","\u5750\u6807","\u5B9A\u4F4D","\u5BFC\u822A","\u4F4D\u7F6E"],"map-pin-3":["location","navigation","\u5730\u56FE","\u5750\u6807","\u5B9A\u4F4D","\u5BFC\u822A","\u4F4D\u7F6E"],"map-pin-4":["location","navigation","\u5730\u56FE","\u5750\u6807","\u5B9A\u4F4D","\u5BFC\u822A","\u4F4D\u7F6E"],"map-pin-5":["location","navigation","\u5730\u56FE","\u5750\u6807","\u5B9A\u4F4D","\u5BFC\u822A","\u4F4D\u7F6E"],"map-pin-add":["location","navigation","\u5730\u56FE","\u5750\u6807","\u5B9A\u4F4D","\u5BFC\u822A","\u4F4D\u7F6E","\u65B0\u589E","\u6DFB\u52A0"],"map-pin-range":["location","navigation","\u5730\u56FE","\u5750\u6807","\u5B9A\u4F4D","\u5BFC\u822A","\u4F4D\u7F6E","\u8303\u56F4"],"map-pin-time":["location","navigation","\u5730\u56FE","\u5750\u6807","\u5B9A\u4F4D","\u5BFC\u822A","\u4F4D\u7F6E","\u65F6\u95F4"],"map-pin-user":["location","navigation","\u5730\u56FE","\u5750\u6807","\u5B9A\u4F4D","\u5BFC\u822A","\u4F4D\u7F6E","\u7528\u6237"],"pin-distance":["\u5750\u6807","\u8DDD\u79BB"],pushpin:["\u56FE\u9489"],"pushpin-2":["\u56FE\u9489"],compass:["navigation","safari","direction","discover","\u6307\u5357\u9488","\u5BFC\u822A","\u65B9\u5411","\u53D1\u73B0","\u63A2\u7D22"],"compass-2":["navigation","direction","discover","\u6307\u5357\u9488","\u5BFC\u822A","\u65B9\u5411","\u53D1\u73B0","\u63A2\u7D22"],"compass-3":["navigation","safari","direction","discover","\u6307\u5357\u9488","\u5BFC\u822A","\u65B9\u5411","\u53D1\u73B0","\u63A2\u7D22"],"compass-4":["navigation","direction","discover","\u6307\u5357\u9488","\u5BFC\u822A","\u65B9\u5411","\u53D1\u73B0","\u63A2\u7D22"],"compass-discover":["navigation","direction","\u6307\u5357\u9488","\u5BFC\u822A","\u65B9\u5411","\u53D1\u73B0","\u63A2\u7D22"],anchor:["\u951A"],"china-railway":["\u4E2D\u94C1","\u94C1\u8DEF","\u706B\u8F66"],"space-ship":["\u592A\u7A7A\u98DE\u8239"],rocket:["\u706B\u7BAD"],"rocket-2":["space ship","\u706B\u7BAD","\u592A\u7A7A\u98DE\u8239"],map:["navigation","travel","\u5730\u56FE","\u5BFC\u822A","\u65C5\u884C"],"map-2":["location","navigation","travel","\u5730\u56FE","\u5B9A\u4F4D","\u5BFC\u822A","\u65C5\u884C"],"treasure-map":["thriller","adventure","\u5730\u56FE","\u85CF\u5B9D\u56FE"],"road-map":["navigation","travel","\u5730\u56FE","\u5BFC\u822A","\u65C5\u884C"],earth:["global","union","world","language","\u5730\u7403","\u5168\u7403","\u8054\u5408","\u4E16\u754C","\u8BED\u8A00"],globe:["earth","\u5730\u7403\u4EEA"],parking:["\u505C\u8F66\u573A"],"parking-box":["\u505C\u8F66\u573A"],route:["path","\u8DEF\u7EBF"],guide:["path","\u6307\u5F15","\u8DEF\u7EBF"],"gas-station":["\u52A0\u6C14\u7AD9","\u52A0\u6CB9\u7AD9"],"charging-pile":["\u5145\u7535\u6869"],"charging-pile-2":["\u5145\u7535\u6869"],car:["\u6C7D\u8F66"],"car-washing":["\u6C7D\u8F66","\u6D17\u8F66"],roadster:["car","\u6C7D\u8F66","\u8DD1\u8F66"],taxi:["car","\u51FA\u79DF\u8F66","\u6C7D\u8F66"],"taxi-wifi":["car","\u51FA\u79DF\u8F66","\u6C7D\u8F66"],"police-car":["\u6C7D\u8F66","\u8B66\u8F66"],bus:["\u5927\u5DF4","\u5DF4\u58EB"],"bus-2":["\u5927\u5DF4","\u5DF4\u58EB"],"bus-wifi":["\u5927\u5DF4","\u5DF4\u58EB"],truck:["van","delivery","\u5361\u8F66","\u8D27\u8F66","\u8FD0\u8F93"],train:["\u706B\u8F66"],"train-wifi":["\u706B\u8F66"],subway:["\u5730\u94C1"],"subway-wifi":["\u5730\u94C1"],"flight-takeoff":["airplane","plane","origin","\u8D77\u98DE","\u51FA\u53D1","\u59CB\u53D1","\u8D77\u70B9","\u98DE\u673A"],"flight-land":["airplane","plane","destination","\u7740\u9646","\u5230\u8FBE","\u62B5\u8FBE","\u7EC8\u70B9","\u98DE\u673A"],plane:["fight","\u98DE\u673A","\u822A\u73ED"],sailboat:["\u5E06\u8239"],ship:["\u8F6E\u8239","\u822A\u6D77","\u6D77\u8FD0"],"ship-2":["\u8F6E\u8239"],bike:["\u81EA\u884C\u8F66"],"e-bike":["take out","takeaway","\u7535\u52A8\u8F66","\u5916\u5356"],"e-bike-2":["take out","takeaway","\u7535\u52A8\u8F66","\u5916\u5356"],takeaway:["take out","takeaway","\u7535\u52A8\u8F66","\u5916\u5356"],motorbike:["\u6469\u6258\u8F66"],caravan:["\u623F\u8F66"],walk:["\u6B65\u884C"],run:["\u5954\u8DD1","\u8DD1\u6B65"],riding:["bike","\u9A91\u884C","\u81EA\u884C\u8F66"],barricade:["\u8DEF\u969C"],footprint:["\u811A\u5370","\u8DB3\u8FF9"],"traffic-light":["\u4EA4\u901A","\u4FE1\u53F7\u706F"],"signal-tower":["base station","antenna","\u4FE1\u53F7\u5854","\u57FA\u7AD9","\u5929\u7EBF"],restaurant:["\u9910\u5385","\u996D\u5E97"],"restaurant-2":["\u9910\u5385","\u996D\u5E97"],cup:["tea","coffee","\u676F\u5B50","\u5496\u5561","\u8336"],goblet:["cup","wine glass","\u9AD8\u811A\u676F","\u9152\u676F"],"hotel-bed":["\u9152\u5E97","\u5E8A"],navigation:["gps","\u5BFC\u822A"],oil:["\u6C7D\u6CB9","\u673A\u6CB9"],direction:["right","\u65B9\u5411","\u53F3\u8F6C"],steering:["drive","\u65B9\u5411\u76D8","\u9A7E\u8F66"],"steering-2":["drive","\u65B9\u5411\u76D8","\u9A7E\u8F66"],lifebuoy:["life ring","\u6551\u751F\u5708"],passport:["passports","\u62A4\u7167"],suitcase:["travel","\u65C5\u884C","\u884C\u674E\u7BB1"],"suitcase-2":["travel","\u65C5\u884C","\u884C\u674E\u7BB1","\u62C9\u6746\u7BB1"],"suitcase-3":["travel","\u65C5\u884C","boarding case","\u884C\u674E\u7BB1","\u62C9\u6746\u7BB1","\u767B\u673A\u7BB1"],"luggage-deposit":["consignment","\u884C\u674E\u7BB1","\u884C\u674E\u5BC4\u5B58","\u6258\u8FD0"],"luggage-cart":["\u884C\u674E\u8F66"]},Media:{image:["picture","photo","\u56FE\u7247","\u7167\u7247"],"image-2":["picture","photo","\u56FE\u7247","\u7167\u7247"],"image-add":["picture","photo","\u56FE\u7247","\u7167\u7247","\u6DFB\u52A0"],"image-edit":["picture","photo","\u56FE\u7247","\u7167\u7247","\u7F16\u8F91"],landscape:["picture","image","photo","\u56FE\u7247","\u7167\u7247"],gallery:["picture","image","\u56FE\u7247","\u76F8\u518C"],"gallery-upload":["picture","image","\u56FE\u7247","\u76F8\u518C","\u4E0A\u4F20"],video:["\u89C6\u9891"],movie:["film","video","\u7535\u5F71","\u786C\u76D8","\u89C6\u9891"],"movie-2":["film","video","\u7535\u5F71","\u786C\u76D8","\u89C6\u9891"],film:["movie","video","\u5F71\u7247","\u7535\u5F71","\u89C6\u9891"],clapperboard:["movie","film","\u573A\u8BB0\u677F","\u7535\u5F71"],vidicon:["video","camera","\u6444\u50CF\u673A","\u6444\u5F71\u673A","\u89C6\u9891"],"vidicon-2":["camera","\u6444\u50CF\u673A","\u6444\u5F71\u673A"],live:["video","camera","\u6444\u50CF\u673A","\u6444\u5F71\u673A","\u89C6\u9891","\u76F4\u64AD"],"video-add":["camera","\u6444\u50CF\u673A","\u6444\u5F71\u673A","\u89C6\u9891","\u6DFB\u52A0"],"video-upload":["camera","\u6444\u50CF\u673A","\u6444\u5F71\u673A","\u89C6\u9891","\u4E0A\u4F20"],"video-download":["camera","\u6444\u50CF\u673A","\u6444\u5F71\u673A","\u89C6\u9891","\u4E0B\u8F7D"],dv:["vidicon","camera","\u6444\u50CF\u673A","\u6444\u5F71\u673A"],camera:["photo","\u7167\u76F8\u673A","\u62CD\u7167","\u7167\u7247"],"camera-off":["photo","slash","\u7167\u76F8\u673A","\u62CD\u7167","\u7167\u7247","\u7981\u6B62","\u5173\u95ED"],"camera-2":["photo","\u7167\u76F8\u673A","\u62CD\u7167","\u7167\u7247"],"camera-3":["photo","\u7167\u76F8\u673A","\u62CD\u7167","\u7167\u7247"],"camera-lens":["aperture","photo","\u7167\u76F8\u673A","\u62CD\u7167","\u7167\u7247","\u670B\u53CB\u5708"],"camera-switch":["\u7167\u76F8\u673A","\u62CD\u7167","\u7FFB\u8F6C"],polaroid:["camera","\u76F8\u673A","\u5B9D\u4E3D\u6765"],"polaroid-2":["camera","\u76F8\u673A","\u5B9D\u4E3D\u6765"],"phone-camera":["\u624B\u673A\u76F8\u673A","\u624B\u673A\u6444\u50CF\u5934"],webcam:["\u6444\u50CF\u5934"],mv:["music video","\u97F3\u4E50"],music:["\u97F3\u4E50"],"music-2":["\u97F3\u4E50"],disc:["music","album","\u97F3\u4E50","\u5531\u7247"],album:["music","\u5531\u7247","\u97F3\u4E50"],dvd:["cd","dvd","record","\u5149\u76D8","\u523B\u5F55"],headphone:["music","headset","\u8033\u673A","\u97F3\u4E50"],radio:["\u6536\u97F3\u673A","\u7535\u53F0"],"radio-2":["\u6536\u97F3\u673A","\u7535\u53F0"],tape:["\u5F55\u97F3","\u78C1\u5E26"],mic:["record","voice","\u8BDD\u7B52","\u8BED\u97F3","\u5F55\u97F3","\u58F0\u97F3"],"mic-2":["record","voice","\u8BDD\u7B52","\u8BED\u97F3","\u5F55\u97F3","\u58F0\u97F3"],"mic-off":["record","voice","slash","\u5173\u95ED\u8BDD\u7B52","\u5173\u95ED\u8BED\u97F3","\u5F55\u97F3","\u5173\u95ED\u58F0\u97F3","\u9759\u97F3","\u7981\u6B62"],"volume-down":["trumpet","sound","speaker","\u97F3\u91CF\u4F4E","\u5587\u53ED","\u58F0\u97F3","\u626C\u58F0\u5668"],"volume-mute":["trumpet","sound","off","\u97F3\u91CF\u4F4E","\u5587\u53ED","\u58F0\u97F3","\u9759\u97F3"],"volume-up":["trumpet","sound","speaker","\u97F3\u91CF\u9AD8","\u5587\u53ED","\u58F0\u97F3","\u626C\u58F0\u5668"],"volume-vibrate":["trumpet","sound","speaker","\u5587\u53ED","\u58F0\u97F3","\u626C\u58F0\u5668","\u9707\u52A8\u6A21\u5F0F"],"volume-off-vibrate":["trumpet","sound","speaker","\u9759\u97F3","\u5587\u53ED","\u58F0\u97F3","\u626C\u58F0\u5668","\u9759\u97F3\u6A21\u5F0F"],speaker:["\u97F3\u54CD"],"speaker-2":["\u97F3\u54CD"],"speaker-3":["\u97F3\u54CD"],"surround-sound":["\u73AF\u7ED5\u7ACB\u4F53\u58F0"],broadcast:["\u5E7F\u64AD"],notification:["bell","alarm","\u901A\u77E5","\u94C3\u94DB","\u63D0\u9192"],"notification-2":["bell","alarm","\u901A\u77E5","\u94C3\u94DB","\u63D0\u9192"],"notification-3":["bell","alarm","\u901A\u77E5","\u94C3\u94DB","\u63D0\u9192"],"notification-4":["bell","alarm","\u901A\u77E5","\u94C3\u94DB","\u63D0\u9192"],"notification-off":["bell","alarm","silent","slash","\u901A\u77E5","\u94C3\u94DB","\u63D0\u9192","\u514D\u6253\u6270","\u9759\u97F3","\u5173\u95ED","\u7981\u6B62"],"play-circle":["start","\u64AD\u653E","\u5F00\u59CB"],"pause-circle":["\u6682\u505C"],"record-circle":["\u5F55\u97F3"],"stop-circle":["\u505C\u6B62"],eject:["\u63A8\u51FA"],play:["start","\u64AD\u653E","\u5F00\u59CB"],pause:["\u6682\u505C"],stop:["\u505C\u6B62"],rewind:["fast","\u5FEB\u9000"],speed:["fast","\u5FEB\u8FDB"],"skip-back":["\u4E0A\u4E00\u66F2"],"skip-forward":["\u4E0B\u4E00\u66F2"],"play-mini":["\u64AD\u653E"],"pause-mini":["\u6682\u505C"],"stop-mini":["\u505C\u6B62"],"rewind-mini":["fast","\u5FEB\u9000"],"speed-mini":["fast","\u5FEB\u8FDB"],"skip-back-mini":["\u4E0A\u4E00\u66F2"],"skip-forward-mini":["\u4E0B\u4E00\u66F2"],repeat:["\u5FAA\u73AF\u64AD\u653E"],"repeat-2":["\u5FAA\u73AF\u64AD\u653E"],"repeat-one":["\u5355\u66F2\u5FAA\u73AF"],"order-play":["\u987A\u5E8F\u64AD\u653E"],shuffle:["\u968F\u673A\u64AD\u653E"],"play-list":["\u64AD\u653E\u5217\u8868"],"play-list-2":["\u64AD\u653E\u5217\u8868"],"play-list-add":["\u5217\u8868","\u6DFB\u52A0"],fullscreen:["maximize","\u5168\u5C4F","\u6700\u5927\u5316"],"fullscreen-exit":["minimize","\u9000\u51FA\u5168\u5C4F","\u6700\u5C0F\u5316"],equalizer:["sliders","controls","settings","filter","\u5747\u8861\u5668","\u63A7\u5236\u5668","\u8BBE\u7F6E","\u7B5B\u9009"],"sound-module":["sliders","controls","settings","filter","\u5747\u8861\u5668","\u63A7\u5236\u5668","\u8BBE\u7F6E","\u7B5B\u9009"],rhythm:["\u8282\u594F","\u97F5\u5F8B"],voiceprint:["\u58F0\u7EB9"],hq:["high quality","\u9AD8\u8D28\u91CF","\u9AD8\u54C1\u8D28"],hd:["high definition","\u9AD8\u6E05\u6670\u5EA6"],"4k":["high definition","high quality","\u9AD8\u6E05\u6670\u5EA6","\u9AD8\u54C1\u8D28","\u8D85\u6E05"],"closed-captioning":["\u9690\u85CF\u5B57\u5E55"],"aspect-ratio":["\u5BBD\u9AD8\u6BD4","\u6BD4\u4F8B"],"picture-in-picture":["\u753B\u4E2D\u753B","\u5C0F\u7A97"],"picture-in-picture-2":["\u753B\u4E2D\u753B","\u5C0F\u7A97"],"picture-in-picture-exit":["\u9000\u51FA\u753B\u4E2D\u753B","\u9000\u51FA\u5C0F\u7A97"]},System:{apps:["\u5E94\u7528"],"apps-2":["\u5E94\u7528"],function:["layout","\u529F\u80FD","\u5E94\u7528","\u5361\u7247\u5E03\u5C40"],dashboard:["\u4EEA\u8868\u76D8"],menu:["navigation","hamburger","\u5BFC\u822A","\u83DC\u5355","\u6C49\u5821\u5305"],"menu-2":["navigation","hamburger","\u5BFC\u822A","\u83DC\u5355","\u6C49\u5821\u5305"],"menu-3":["navigation","hamburger","\u5BFC\u822A","\u83DC\u5355","\u6C49\u5821\u5305"],"menu-4":["navigation","hamburger","\u5BFC\u822A","\u83DC\u5355","\u6C49\u5821\u5305"],"menu-5":["navigation","hamburger","\u5BFC\u822A","\u83DC\u5355","\u6C49\u5821\u5305"],"menu-add":["navigation","hamburger","\u5BFC\u822A","\u83DC\u5355","\u6C49\u5821\u5305","\u6DFB\u52A0"],"menu-fold":["navigation","hamburger","\u5BFC\u822A","\u83DC\u5355","\u6C49\u5821\u5305","\u5C55\u5F00"],more:["ellipsis","\u66F4\u591A","\u7701\u7565"],"more-2":["ellipsis","\u66F4\u591A","\u7701\u7565"],star:["favorite","like","mark","\u661F\u661F","\u661F\u6807","\u559C\u6B22"],"star-s":["favorite","like","mark","\u661F\u661F","\u661F\u6807","\u559C\u6B22","\u534A\u661F"],"star-half":["favorite","like","mark","\u661F\u661F","\u661F\u6807","\u559C\u6B22"],"star-half-s":["favorite","like","mark","\u661F\u661F","\u661F\u6807","\u559C\u6B22","\u534A\u661F"],settings:["edit","gear","preferences","\u504F\u597D\u8BBE\u7F6E","\u7F16\u8F91","\u9F7F\u8F6E"],"settings-2":["edit","gear","preferences","\u504F\u597D\u8BBE\u7F6E","\u7F16\u8F91","\u9F7F\u8F6E"],"settings-3":["edit","gear","preferences","\u504F\u597D\u8BBE\u7F6E","\u7F16\u8F91","\u9F7F\u8F6E"],"settings-4":["edit","gear","preferences","\u504F\u597D\u8BBE\u7F6E","\u7F16\u8F91","\u9F7F\u8F6E"],"settings-5":["edit","gear","preferences","\u504F\u597D\u8BBE\u7F6E","\u7F16\u8F91","\u9F7F\u8F6E"],"settings-6":["edit","gear","preferences","\u504F\u597D\u8BBE\u7F6E","\u7F16\u8F91","\u9F7F\u8F6E"],"list-settings":["\u5217\u8868","\u8BBE\u7F6E"],forbid:["slash","ban","\u7981\u6B62","\u7981\u7528"],"forbid-2":["slash","ban","\u7981\u6B62","\u7981\u7528"],information:["\u4FE1\u606F"],"error-warning":["alert","\u8B66\u544A","\u9519\u8BEF"],question:["help","\u95EE\u53F7","\u5E2E\u52A9"],alert:["\u63D0\u9192","\u8B66\u544A"],spam:["alert","\u5783\u573E\u90AE\u4EF6","\u8B66\u544A"],"spam-2":["alert","\u5783\u573E\u90AE\u4EF6","\u8B66\u544A"],"spam-3":["alert","\u5783\u573E\u90AE\u4EF6","\u8B66\u544A"],"checkbox-blank":["\u590D\u9009\u6846","\u7A7A"],checkbox:["\u590D\u9009\u6846"],"checkbox-indeterminate":["\u590D\u9009\u6846"],"add-box":["plus","new","\u590D\u9009\u6846","\u6DFB\u52A0","\u52A0\u53F7","\u65B0\u589E"],"checkbox-blank-circle":["\u590D\u9009\u6846","\u7A7A"],"checkbox-circle":["\u590D\u9009\u6846"],"indeterminate-circle":["slash","ban","\u590D\u9009\u6846","\u7981"],"add-circle":["plus","new","\u590D\u9009\u6846","\u6DFB\u52A0","\u52A0\u53F7","\u65B0\u589E"],"close-circle":["cancel","remove","delete","empty","x","\u5173\u95ED","\u53D6\u6D88","\u79FB\u9664","\u5220\u9664","\u6E05\u7A7A"],"radio-button":["\u5355\u9009\u6846"],"checkbox-multiple-blank":["\u590D\u9009\u6846","\u7A7A"],"checkbox-multiple":["\u590D\u9009\u6846","\u7A7A"],check:["\u5BF9\u52FE"],"check-double":["read","done","double-tick","\u53CC\u5BF9\u52FE","\u5DF2\u8BFB"],close:["cancel","remove","delete","empty","x","\u5173\u95ED","\u53D6\u6D88","\u79FB\u9664","\u5220\u9664","\u6E05\u7A7A"],add:["plus","new","\u6DFB\u52A0","\u65B0\u589E","\u52A0\u53F7"],subtract:["\u51CF"],divide:["\u9664\u4EE5"],"arrow-left-up":["corner","\u5DE6\u4E0A"],"arrow-up":["\u7BAD\u5934","\u5411\u4E0A"],"arrow-right-up":["corner","\u53F3\u4E0A"],"arrow-right":["forward","\u7BAD\u5934","\u5411\u53F3"],"arrow-right-down":["corner","\u53F3\u4E0B"],"arrow-down":["\u7BAD\u5934","\u5411\u4E0B"],"arrow-left-down":["corner","\u7BAD\u5934","\u5DE6\u4E0B"],"arrow-left":["backward","\u7BAD\u5934","\u5411\u5DE6","\u8FD4\u56DE"],"arrow-up-circle":["\u7BAD\u5934","\u5411\u4E0A"],"arrow-right-circle":["forward","\u7BAD\u5934","\u5411\u53F3"],"arrow-down-circle":["\u7BAD\u5934","\u5411\u4E0B","\u4E0B\u8F7D"],"arrow-left-circle":["backward","\u7BAD\u5934","\u5411\u5DE6","\u8FD4\u56DE"],"arrow-up-s":["\u7BAD\u5934","\u5411\u4E0A"],"arrow-down-s":["\u7BAD\u5934","\u5411\u4E0B"],"arrow-right-s":["forward","\u7BAD\u5934","\u5411\u53F3"],"arrow-left-s":["backward","\u7BAD\u5934","\u5411\u5DE6","\u8FD4\u56DE"],"arrow-drop-up":["\u7BAD\u5934","\u5411\u4E0A"],"arrow-drop-right":["forward","\u7BAD\u5934","\u5411\u53F3"],"arrow-drop-down":["\u7BAD\u5934","\u5411\u4E0B"],"arrow-drop-left":["backward","\u7BAD\u5934","\u5411\u5DE6","\u8FD4\u56DE"],"arrow-left-right":["exchange","swap","\u7BAD\u5934","\u5DE6\u53F3","\u4EA4\u6362","\u6362\u7B97","\u5151\u6362"],"arrow-up-down":["exchange","swap","\u7BAD\u5934","\u4E0A\u4E0B","\u4EA4\u6362","\u6362\u7B97","\u5151\u6362"],"arrow-go-back":["undo","\u7BAD\u5934","\u8FD4\u56DE","\u64A4\u9500","\u64A4\u56DE"],"arrow-go-forward":["redo","\u7BAD\u5934","\u91CD\u505A","\u64A4\u56DE"],download:["\u4E0B\u8F7D"],upload:["\u4E0A\u4F20"],"download-2":["\u4E0B\u8F7D"],"upload-2":["\u4E0A\u4F20"],"download-cloud":["\u4E0B\u8F7D","\u4E91"],"download-cloud-2":["\u4E0B\u8F7D","\u4E91"],"upload-cloud":["\u4E0A\u4F20","\u4E91"],"upload-cloud-2":["\u4E0A\u4F20","\u4E91"],"login-box":["sign in","\u767B\u5F55"],"logout-box":["sign out","\u767B\u51FA","\u6CE8\u9500"],"logout-box-r":["sign out","\u767B\u51FA","\u6CE8\u9500"],"login-circle":["sign in","\u767B\u5F55"],"logout-circle":["sign out","\u767B\u51FA","\u6CE8\u9500"],"logout-circle-r":["sign out","\u767B\u51FA","\u6CE8\u9500"],refresh:["synchronization","reload","restart","spinner","loader","ajax","update","\u5237\u65B0","\u540C\u6B65"],shield:["safety","protect","\u76FE\u724C","\u536B\u58EB","\u5B89\u5168","\u9632\u5FA1"],"shield-cross":["safety","protect","\u76FE\u724C","\u536B\u58EB","\u5B89\u5168","\u9632\u5FA1","\u95EA\u7535"],"shield-flash":["safety","protect","\u76FE\u724C","\u536B\u58EB","\u5B89\u5168","\u9632\u5FA1"],"shield-star":["safety","protect","\u76FE\u724C","\u536B\u58EB","\u5B89\u5168","\u9632\u5FA1","\u661F\u661F"],"shield-user":["safety","protect","user protected","guarantor","\u76FE\u724C","\u536B\u58EB","\u5B89\u5168","\u9632\u5FA1","\u7528\u6237"],"shield-keyhole":["safety","protect","guarantor","\u76FE\u724C","\u536B\u58EB","\u5B89\u5168","\u9632\u5FA1","\u94A5\u5319\u5B54"],"shield-check":["safety","protect","\u76FE\u724C","\u536B\u58EB","\u5B89\u5168","\u9632\u5FA1"],"delete-back":["backspace","\u5220\u9664","\u9000\u683C"],"delete-back-2":["backspace","\u5220\u9664","\u9000\u683C"],"delete-bin":["trash","remove","ash-bin","garbage","dustbin","uninstall","\u5378\u8F7D","\u5220\u9664","\u5783\u573E\u6876"],"delete-bin-2":["trash","remove","ash-bin","garbage","dustbin","uninstall","\u5378\u8F7D","\u5220\u9664","\u5783\u573E\u6876"],"delete-bin-3":["trash","remove","ash-bin","garbage","dustbin","uninstall","\u5378\u8F7D","\u5220\u9664","\u5783\u573E\u6876"],"delete-bin-4":["trash","remove","ash-bin","garbage","dustbin","uninstall","\u5378\u8F7D","\u5220\u9664","\u5783\u573E\u6876"],"delete-bin-5":["trash","remove","ash-bin","garbage","dustbin","uninstall","\u5378\u8F7D","\u5220\u9664","\u5783\u573E\u6876"],"delete-bin-6":["trash","remove","ash-bin","garbage","dustbin","uninstall","\u5378\u8F7D","\u5220\u9664","\u5783\u573E\u6876"],"delete-bin-7":["trash","remove","ash-bin","garbage","dustbin","uninstall","\u5378\u8F7D","\u5220\u9664","\u5783\u573E\u6876"],lock:["security","password","\u9501\u5B50","\u5B89\u5168","\u5BC6\u7801"],"lock-2":["security","password","\u9501\u5B50","\u5B89\u5168","\u5BC6\u7801"],"lock-password":["security","\u9501\u5B50","\u5B89\u5168","\u5BC6\u7801"],"lock-unlock":["security","password","\u9501\u5B50","\u5B89\u5168","\u5BC6\u7801"],eye:["watch","view","\u773C\u775B","\u67E5\u770B"],"eye-off":["slash","\u773C\u775B","\u4E0D\u53EF\u89C1","\u5173\u95ED","\u7981\u6B62"],"eye-2":["watch","view","\u773C\u775B","\u67E5\u770B"],"eye-close":["x","\u95ED\u773C"],search:["\u641C\u7D22","\u653E\u5927\u955C"],"search-2":["\u641C\u7D22","\u653E\u5927\u955C"],"search-eye":["\u641C\u7D22","\u653E\u5927\u955C","\u773C\u775B"],"zoom-in":["\u653E\u5927","\u653E\u5927\u955C"],"zoom-out":["\u7F29\u5C0F","\u653E\u5927\u955C"],"find-replace":["\u67E5\u627E","\u641C\u7D22","\u66FF\u6362"],share:["\u5206\u4EAB","\u8F6C\u53D1"],"share-box":["\u5206\u4EAB","\u8F6C\u53D1"],"share-circle":["\u5206\u4EAB","\u8F6C\u53D1"],"share-forward":["\u5206\u4EAB","\u8F6C\u53D1"],"share-forward-2":["\u5206\u4EAB","\u8F6C\u53D1"],"share-forward-box":["\u5206\u4EAB","\u8F6C\u53D1"],"side-bar":["\u4FA7\u8FB9\u680F"],time:["clock","\u65F6\u95F4","\u65F6\u949F","\u949F\u8868"],timer:["chronograph","stopwatch","\u79D2\u8868","\u8BA1\u65F6\u5668"],"timer-2":["chronograph","stopwatch","\u79D2\u8868","\u8BA1\u65F6\u5668"],"timer-flash":["chronograph","stopwatch","\u79D2\u8868","\u8BA1\u65F6\u5668","\u95EA\u7535"],alarm:["\u95F9\u949F"],history:["record","recent","time machine","\u5386\u53F2\u8BB0\u5F55","\u6700\u8FD1"],"thumb-down":["dislike","bad","\u4E0D\u559C\u6B22","\u4E0D\u597D"],"thumb-up":["like","good","\u559C\u6B22","\u597D"],"alarm-warning":["alert","report","police light","\u544A\u8B66","\u4E3E\u62A5","\u8B66\u706F"],"notification-badge":["red dot","\u901A\u77E5","\u5C0F\u7EA2\u70B9"],toggle:["switch","\u5F00\u5173","\u89E6\u53D1\u5668"],filter:["filtration","\u7B5B\u9009","\u8FC7\u6EE4"],"filter-2":["filtration","\u7B5B\u9009","\u8FC7\u6EE4"],"filter-3":["filtration","\u7B5B\u9009","\u8FC7\u6EE4"],"filter-off":["filtration","clear-filter","\u7B5B\u9009","\u8FC7\u6EE4"],loader:["loader","spinner","ajax","waiting","delay","\u52A0\u8F7D\u4E2D","\u8F7D\u5165\u4E2D","\u6B63\u5728\u52A0\u8F7D"],"loader-2":["loader","spinner","ajax","waiting","delay","\u52A0\u8F7D\u4E2D","\u8F7D\u5165\u4E2D","\u6B63\u5728\u52A0\u8F7D"],"loader-3":["loader","spinner","ajax","waiting","delay","\u52A0\u8F7D\u4E2D","\u8F7D\u5165\u4E2D","\u6B63\u5728\u52A0\u8F7D"],"loader-4":["loader","spinner","ajax","waiting","delay","\u52A0\u8F7D\u4E2D","\u8F7D\u5165\u4E2D","\u6B63\u5728\u52A0\u8F7D"],"loader-5":["loader","spinner","ajax","waiting","delay","\u52A0\u8F7D\u4E2D","\u8F7D\u5165\u4E2D","\u6B63\u5728\u52A0\u8F7D"],"external-link":["\u5916\u94FE"]},"User & Faces":{user:["\u7528\u6237"],"user-2":["\u7528\u6237"],"user-3":["\u7528\u6237"],"user-4":["\u7528\u6237"],"user-5":["\u7528\u6237"],"user-6":["\u7528\u6237"],"user-smile":["\u7528\u6237","\u5FAE\u7B11"],"account-box":["\u7528\u6237","\u8D26\u6237"],"account-circle":["\u7528\u6237","\u8D26\u6237"],"account-pin-box":["\u7528\u6237","\u8D26\u6237"],"account-pin-circle":["\u7528\u6237","\u8D26\u6237"],"user-add":["\u7528\u6237","\u6DFB\u52A0","\u65B0\u589E"],"user-follow":["\u5173\u6CE8"],"user-unfollow":["\u7528\u6237","\u53D6\u6D88\u5173\u6CE8"],"user-shared":["transfer","\u7528\u6237","\u6211\u5206\u4EAB\u7684","\u53D1\u9001"],"user-shared-2":["transfer","\u7528\u6237","\u6211\u5206\u4EAB\u7684","\u53D1\u9001"],"user-received":["\u7528\u6237","\u6211\u63A5\u6536\u7684","\u6536\u53D6"],"user-received-2":["\u7528\u6237","\u6211\u63A5\u6536\u7684","\u6536\u53D6"],"user-location":["\u7528\u6237","\u5B9A\u4F4D"],"user-search":["\u7528\u6237","\u67E5\u627E"],"user-settings":["admin","\u7528\u6237","\u8BBE\u7F6E","\u7BA1\u7406\u5458"],"user-star":["\u7528\u6237","\u5173\u6CE8"],"user-heart":["\u7528\u6237","\u5173\u6CE8"],admin:["admin","\u7528\u6237","\u7BA1\u7406\u5458"],contacts:["\u8054\u7CFB\u4EBA"],group:["team","\u56E2\u961F","\u7FA4\u7EC4"],"group-2":["team","\u56E2\u961F","\u7FA4\u7EC4"],team:["\u56E2\u961F","\u5C0F\u7EC4","\u7FA4\u4E3B"],"user-voice":["\u7528\u6237","\u5F55\u97F3","\u6F14\u8BB2"],emotion:["\u8868\u60C5","\u7B11\u8138"],"emotion-2":["\u8868\u60C5","\u7B11\u8138"],"emotion-happy":["\u8868\u60C5","\u5F00\u5FC3"],"emotion-normal":["\u8868\u60C5","\u4E00\u822C"],"emotion-unhappy":["\u8868\u60C5","\u4E0D\u5F00\u5FC3"],"emotion-laugh":["comedy","happy","\u8868\u60C5","\u5927\u7B11","\u7B11\u8138","\u5F00\u5FC3","\u559C\u5267"],"emotion-sad":["drama","tears","\u60B2\u5267","\u54ED\u6CE3","\u6CEA"],skull:["ghost","\u9AB7\u9AC5","\u9B3C\u602A"],"skull-2":["ghost","horror","thriller","\u9AB7\u9AC5","\u9B3C\u602A","\u6050\u60E7","\u6050\u6016"],men:["gender","man","male","\u7537\u4EBA","\u7537\u6027"],women:["gender","woman","female","\u5973\u4EBA","\u5973\u6027"],travesti:["\u5973\u4EBA","\u5973\u6027"],genderless:["\u5973\u4EBA","\u5973\u6027"],"open-arm":["\u5F20\u5F00\u53CC\u81C2"],"body-scan":["gesture recognition","body","\u626B\u63CF\u8EAB\u4F53","\u4F53\u6001\u8BC6\u522B","\u52A8\u4F5C\u4E4B\u522B","\u624B\u52BF\u8BC6\u522B"],parent:["patriarch","\u7236\u6BCD","\u4EB2\u5B50","\u5BB6\u957F"],robot:["mechanic","\u673A\u5668\u4EBA"],aliens:["science fiction","ET","\u5916\u661F\u4EBA","\u79D1\u5E7B\u5C0F\u8BF4"],"bear-smile":["cartoon","anime","cartoon","\u5C0F\u718A","\u5FAE\u7B11","\u513F\u7AE5","\u52A8\u753B\u7247","\u5361\u901A","\u52A8\u6F2B"],mickey:["cartoon","disney","\u8FEA\u58EB\u5C3C","\u7C73\u8001\u9F20","\u5FAE\u7B11","\u513F\u7AE5","\u52A8\u753B\u7247"],criminal:["horror","thriller","\u7F6A\u72AF","\u72AF\u7F6A","\u6050\u6016"],ghost:["horror","thriller","\u9B3C\u602A","\u6050\u6016","\u6050\u60E7"],"ghost-2":["horror","\u9B3C\u602A","\u6050\u6016","\u6050\u60E7"],"ghost-smile":["\u9B3C\u602A","\u7B11"],"star-smile":["animation","\u52A8\u753B","\u5FAE\u7B11","\u661F\u661F"],spy:["incognito mode","detective","secret","\u95F4\u8C0D","\u4FA6\u63A2","\u65E0\u75D5\u6A21\u5F0F","\u9690\u79C1\u6A21\u5F0F"]},Weather:{sun:["light mode","sunny","\u592A\u9633","\u767D\u5929\u6A21\u5F0F","\u6674\u5929"],moon:["dark mode","night","\u6708\u4EAE","\u591C\u95F4\u6A21\u5F0F","\u6708\u7259"],flashlight:["\u95EA\u7535"],cloudy:["\u591A\u4E91"],"cloudy-2":["\u591A\u4E91"],mist:["\u96FE\u6C14","\u96FE\u973E"],foggy:["\u5927\u96FE"],"cloud-windy":["\u98CE"],windy:["\u5927\u98CE","\u522E\u98CE"],rainy:["\u4E0B\u96E8","\u96E8\u5929"],drizzle:["\u5C0F\u96E8"],showers:["\u4E2D\u96E8"],"heavy-showers":["\u5927\u96E8"],thunderstorms:["\u96F7\u66B4","\u96F7\u9635\u96E8"],hail:["\u51B0\u96F9"],snowy:["\u4E0B\u96EA","\u96EA\u5929"],"sun-cloudy":["\u6674\u8F6C\u591A\u4E91"],"moon-cloudy":["\u591C\u95F4\u591A\u4E91"],tornado:["\u9F99\u5377\u98CE"],typhoon:["cyclone","tornado","\u9F99\u5377\u98CE","\u65CB\u98CE","\u53F0\u98CE"],haze:["\u9634\u973E","\u8584\u96FE"],"haze-2":["\u9634\u973E","\u8584\u96FE"],"sun-foggy":["\u8584\u96FE"],"moon-foggy":["\u8584\u96FE"],"moon-clear":["\u591C\u95F4\u6A21\u5F0F","\u591C\u95F4\u65E0\u4E91"],"temp-hot":["temperature","\u6E29\u5EA6","\u9AD8\u6E29","\u70ED"],"temp-cold":["temperature","\u6E29\u5EA6","\u4F4E\u6E29","\u51B7"],celsius:["temperature","\u6E29\u5EA6","\u6444\u6C0F\u5EA6"],fahrenheit:["temperature","\u6E29\u5EA6","\u534E\u6C0F\u5EA6"],fire:["hot","\u706B","\u70ED\u95E8"],blaze:["\u706B\u707E"],earthquake:["\u5730\u9707"],flood:["\u6D2A\u6C34"],meteor:["\u6D41\u661F","\u9668\u77F3"],rainbow:["\u5F69\u8679"]},Others:{basketball:["sports","\u8FD0\u52A8","\u7BEE\u7403"],bell:["cartoon","anime","doraemon","\u94C3\u94DB","\u54C6\u5566A\u68A6","\u5361\u901A","\u52A8\u6F2B"],billiards:["sports","\u8FD0\u52A8","\u53F0\u7403","8"],boxing:["sports","\u8FD0\u52A8","\u62F3\u51FB"],cake:["anniversary","\u86CB\u7CD5"],"cake-2":["anniversary","\u86CB\u7CD5"],"cake-3":["\u86CB\u7CD5"],"door-lock":["\u95E8\u9501"],"door-lock-box":["\u95E8\u9501"],football:["sports","\u8FD0\u52A8","\u8DB3\u7403"],game:["pac man","\u6E38\u620F","\u5403\u8C46\u4EBA"],handbag:["fashion","\u65F6\u5C1A","\u624B\u63D0\u5305","\u5973\u5305"],key:["password","\u94A5\u5319","\u5BC6\u7801"],"key-2":["password","\u94A5\u5319","\u5BC6\u7801"],knife:["\u5200"],"knife-blood":["crime","\u5200","\u72AF\u7F6A","\u8840","\u6740\u4EBA"],lightbulb:["energy","creativity","\u706F\u6CE1","\u80FD\u6E90"],"lightbulb-flash":["energy","creativity","\u706F\u6CE1","\u80FD\u6E90","\u95EA\u7535"],outlet:["\u63D2\u5EA7"],"outlet-2":["\u63D2\u5EA7"],"ping-pong":["sports","table tennis","\u8FD0\u52A8","\u4E52\u4E53\u7403"],plug:["\u4E8C\u811A\u63D2\u5934"],"plug-2":["\u4E09\u811A\u63D2\u5934"],reserved:["\u5DF2\u9884\u5B9A"],shirt:["clothes","\u886C\u886B","\u8863\u670D"],sword:["war","\u5200\u5251","\u6218\u4E89","\u6218\u6597","\u7384\u5E7B"],"t-shirt":["skin","theme","T\u6064","\u76AE\u80A4","\u4E3B\u9898"],"t-shirt-2":["skin","theme","T\u6064","\u76AE\u80A4","\u4E3B\u9898"],"t-shirt-air":["dry","T\u6064","\u98CE\u5E72","\u70D8\u5E72"],umbrella:["protect","\u96E8\u4F1E","\u4FDD\u62A4"],"character-recognition":["ocr","\u6587\u5B57\u8BC6\u522B"],"voice-recognition":["asr","\u8BED\u97F3\u8BC6\u522B"],leaf:["energy","ecology","\u6811\u53F6","\u8282\u80FD","\u73AF\u4FDD","\u8BED\u97F3\u8BC6\u522B"],plant:["\u690D\u7269"],seedling:["\u6811\u82D7","\u690D\u7269"],recycle:["recyclable","\u53EF\u56DE\u6536"],scales:["balance","\u79F0","\u5929\u5E73","\u5929\u79E4"],"scales-2":["\u53A8\u623F\u79F0"],"scales-3":["balance","\u79F0","\u5929\u5E73","\u5929\u79E4"],fridge:["refrigerator","\u7535\u51B0\u7BB1"],wheelchair:["accessbility","\u8F6E\u6905","\u53EF\u8BBF\u95EE\u6027","\u8F85\u52A9\u529F\u80FD"],cactus:["desertr","\u4ED9\u4EBA\u638C","\u6C99\u6F20"],door:["\u95E8"],"door-open":["\u5F00\u95E8"],"door-closed":["\u5173\u95E8"]}};function uU(n,e,t){const r=n.slice();return r[29]=e[t],r}function cU(n,e,t){const r=n.slice();return r[32]=e[t],r[34]=t,r}function t0t(n){let e;return{c(){e=oe(n[8])},m(t,r){M(t,e,r)},p(t,r){r[0]&256&&ht(e,t[8])},d(t){t&&A(e)}}}function n0t(n){let e;return{c(){e=K("span"),e.textContent="-"},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function fU(n){let e,t=n[32]+"",r,i,a,o,l;function s(){return n[20](n[32])}let u=n[34]!==n[9].length-1&&n0t();return{c(){e=K("span"),r=oe(t),i=q(),u&&u.c(),a=yt(),I(e,"class","letter svelte-vhpvzd"),Ee(e,"letter-selected",n[32]===n[2])},m(c,f){M(c,e,f),N(e,r),M(c,i,f),u&&u.m(c,f),M(c,a,f),o||(l=zt(e,"click",s),o=!0)},p(c,f){n=c,f[0]&516&&Ee(e,"letter-selected",n[32]===n[2])},d(c){c&&A(e),c&&A(i),u&&u.d(c),c&&A(a),o=!1,l()}}}function r0t(n){let e;return{c(){e=oe("Search")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function i0t(n){let e,t,r=`There is no icons for this ${n[1]?"search":"page"}`,i;return{c(){e=K("div"),t=K("h5"),i=oe(r),I(e,"class","no-icons svelte-vhpvzd")},m(a,o){M(a,e,o),N(e,t),N(t,i)},p(a,o){o[0]&2&&r!==(r=`There is no icons for this ${a[1]?"search":"page"}`)&&ht(i,r)},d(a){a&&A(e)}}}function a0t(n){let e,t=!n[5]&&pU(n);return{c(){e=K("div"),t&&t.c(),I(e,"class","icon-area svelte-vhpvzd")},m(r,i){M(r,e,i),t&&t.m(e,null)},p(r,i){r[5]?t&&(t.d(1),t=null):t?t.p(r,i):(t=pU(r),t.c(),t.m(e,null))},d(r){r&&A(e),t&&t.d()}}}function pU(n){let e,t=n[7],r=[];for(let i=0;i<t.length;i+=1)r[i]=dU(uU(n,t,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();e=yt()},m(i,a){for(let o=0;o<r.length;o+=1)r[o].m(i,a);M(i,e,a)},p(i,a){if(a[0]&129){t=i[7];let o;for(o=0;o<t.length;o+=1){const l=uU(i,t,o);r[o]?r[o].p(l,a):(r[o]=dU(l),r[o].c(),r[o].m(e.parentNode,e))}for(;o<r.length;o+=1)r[o].d(1);r.length=t.length}},d(i){Mn(r,i),i&&A(e)}}}function dU(n){let e,t,r,i,a,o,l=n[29]+"",s,u,c,f,p,h,g,b,w,k=n[29]+"",S,L,B,R,U;function x(){return n[24](n[29])}function W(){return n[25](n[29])}return{c(){e=K("div"),t=K("div"),r=K("i"),a=q(),o=K("div"),s=oe(l),u=oe("-fill"),c=q(),f=K("div"),p=K("div"),h=K("i"),b=q(),w=K("div"),S=oe(k),L=oe("-line"),B=q(),I(r,"class",i=A1(`ri-${n[29]}-fill ri-xl`)+" svelte-vhpvzd"),I(t,"class","icon-preview svelte-vhpvzd"),I(o,"class","icon-label svelte-vhpvzd"),I(e,"class","icon-container svelte-vhpvzd"),Ee(e,"selected",n[0]===`ri-${n[29]}-fill`),I(h,"class",g=A1(`ri-${n[29]}-line ri-xl`)+" svelte-vhpvzd"),I(p,"class","icon-preview svelte-vhpvzd"),I(w,"class","icon-label svelte-vhpvzd"),I(f,"class","icon-container svelte-vhpvzd"),Ee(f,"selected",n[0]===`ri-${n[29]}-line`)},m(Y,Z){M(Y,e,Z),N(e,t),N(t,r),N(e,a),N(e,o),N(o,s),N(o,u),M(Y,c,Z),M(Y,f,Z),N(f,p),N(p,h),N(f,b),N(f,w),N(w,S),N(w,L),N(f,B),R||(U=[zt(e,"click",x),zt(f,"click",W)],R=!0)},p(Y,Z){n=Y,Z[0]&128&&i!==(i=A1(`ri-${n[29]}-fill ri-xl`)+" svelte-vhpvzd")&&I(r,"class",i),Z[0]&128&&l!==(l=n[29]+"")&&ht(s,l),Z[0]&129&&Ee(e,"selected",n[0]===`ri-${n[29]}-fill`),Z[0]&128&&g!==(g=A1(`ri-${n[29]}-line ri-xl`)+" svelte-vhpvzd")&&I(h,"class",g),Z[0]&128&&k!==(k=n[29]+"")&&ht(S,k),Z[0]&129&&Ee(f,"selected",n[0]===`ri-${n[29]}-line`)},d(Y){Y&&A(e),Y&&A(c),Y&&A(f),R=!1,Mi(U)}}}function o0t(n){let e,t,r,i,a,o,l,s,u,c,f,p,h,g,b,w,k,S,L,B,R,U,x,W=n[9],Y=[];for(let X=0;X<W.length;X+=1)Y[X]=fU(cU(n,W,X));function Z(X){n[21](X)}let te={thin:!0,placeholder:"Search Icon"};n[1]!==void 0&&(te.value=n[1]),l=new En({props:te}),Oe.push(()=>tt(l,"value",Z)),c=new gn({props:{secondary:!0,$$slots:{default:[r0t]},$$scope:{ctx:n}}}),c.$on("click",n[13]);function ue(X,re){return X[7].length>0?a0t:i0t}let se=ue(n),ee=se(n);return{c(){e=K("div"),t=K("div"),r=K("div");for(let X=0;X<Y.length;X+=1)Y[X].c();i=q(),a=K("div"),o=K("div"),D(l.$$.fragment),u=q(),D(c.$$.fragment),f=q(),p=K("div"),h=K("div"),g=K("span"),g.innerHTML='<i class="page-btn ri-arrow-left-line ri-sm svelte-vhpvzd"></i>',b=q(),w=K("span"),k=oe(n[6]),S=q(),L=K("span"),L.innerHTML='<i class="page-btn ri-arrow-right-line ri-sm svelte-vhpvzd"></i>',B=q(),ee.c(),I(r,"class","alphabet-area svelte-vhpvzd"),I(o,"class","input-wrapper svelte-vhpvzd"),I(a,"class","search-input svelte-vhpvzd"),I(h,"class","pager"),I(p,"class","page-area svelte-vhpvzd"),I(t,"class","search-area svelte-vhpvzd"),I(e,"class","container svelte-vhpvzd")},m(X,re){M(X,e,re),N(e,t),N(t,r);for(let le=0;le<Y.length;le+=1)Y[le].m(r,null);N(t,i),N(t,a),N(a,o),T(l,o,null),N(a,u),T(c,a,null),N(t,f),N(t,p),N(p,h),N(h,g),N(h,b),N(h,w),N(w,k),N(h,S),N(h,L),N(e,B),ee.m(e,null),R=!0,U||(x=[zt(g,"click",n[22]),zt(L,"click",n[23])],U=!0)},p(X,re){if(re[0]&1540){W=X[9];let ke;for(ke=0;ke<W.length;ke+=1){const he=cU(X,W,ke);Y[ke]?Y[ke].p(he,re):(Y[ke]=fU(he),Y[ke].c(),Y[ke].m(r,null))}for(;ke<Y.length;ke+=1)Y[ke].d(1);Y.length=W.length}const le={};!s&&re[0]&2&&(s=!0,le.value=X[1],nt(()=>s=!1)),l.$set(le);const fe={};re[1]&16&&(fe.$$scope={dirty:re,ctx:X}),c.$set(fe),(!R||re[0]&64)&&ht(k,X[6]),se===(se=ue(X))&&ee?ee.p(X,re):(ee.d(1),ee=se(X),ee&&(ee.c(),ee.m(e,null)))},i(X){R||(_(l.$$.fragment,X),_(c.$$.fragment,X),R=!0)},o(X){y(l.$$.fragment,X),y(c.$$.fragment,X),R=!1},d(X){X&&A(e),Mn(Y,X),O(l),O(c),ee.d(),U=!1,Mi(x)}}}function l0t(n){let e,t,r,i,a;t=new Jr({props:{$$slots:{default:[t0t]},$$scope:{ctx:n}}}),t.$on("click",function(){mn(n[4].show)&&n[4].show.apply(this,arguments)});let o={anchor:n[3],$$slots:{default:[o0t]},$$scope:{ctx:n}};return i=new fd({props:o}),n[26](i),i.$on("open",n[11]),{c(){e=K("div"),D(t.$$.fragment),r=q(),D(i.$$.fragment)},m(l,s){M(l,e,s),T(t,e,null),n[19](e),M(l,r,s),T(i,l,s),a=!0},p(l,s){n=l;const u={};s[0]&256|s[1]&16&&(u.$$scope={dirty:s,ctx:n}),t.$set(u);const c={};s[0]&8&&(c.anchor=n[3]),s[0]&231|s[1]&16&&(c.$$scope={dirty:s,ctx:n}),i.$set(c)},i(l){a||(_(t.$$.fragment,l),_(i.$$.fragment,l),a=!0)},o(l){y(t.$$.fragment,l),y(i.$$.fragment,l),a=!1},d(l){l&&A(e),O(t),n[19](null),l&&A(r),n[26](null),O(i,l)}}}const s0t=Object.keys(sU).reduce((n,e)=>[...n,...Object.keys(sU[e])],[]);function Dk(n){const e=new RegExp(`^${n}`,"i");return s0t.filter(t=>e.test(t))}function u0t(n,e,t){let r,i,a,o,l;const s=Nn();let{value:u=""}=e,{maxIconsPerPage:c=30}=e,f="",p="A",h=1,g=Dk(p);const b=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];let w,k,S=!1;async function L(re){t(15,h=1),t(1,f=""),t(5,S=!0),t(2,p=re),t(16,g=Dk(re)),await x5(),t(5,S=!1)}async function B(){t(5,S=!0);const re=g.findIndex(le=>le.value===u);re!==-1&&t(15,h=Math.ceil(re/c)),await x5(),t(5,S=!1)}async function R(){if(u){const re=r.substring(0,1);await L(re),await B()}}async function U(re){t(5,S=!0),re&&h<i?t(15,h++,h):!re&&h>1&&t(15,h--,h),await x5(),t(5,S=!1)}async function x(){t(15,h=1),t(5,S=!0),t(16,g=Dk(f)),await x5(),t(5,S=!1)}function W(re){Oe[re?"unshift":"push"](()=>{w=re,t(3,w)})}const Y=re=>L(re);function Z(re){f=re,t(1,f)}const te=()=>U(!1),ue=()=>U(!0),se=re=>t(0,u=`ri-${re}-fill`),ee=re=>t(0,u=`ri-${re}-line`);function X(re){Oe[re?"unshift":"push"](()=>{k=re,t(4,k)})}return n.$$set=re=>{"value"in re&&t(0,u=re.value),"maxIconsPerPage"in re&&t(14,c=re.maxIconsPerPage)},n.$$.update=()=>{n.$$.dirty[0]&1&&s("change",u),n.$$.dirty[0]&1&&t(8,r=u?u.substring(3):"Pick icon"),n.$$.dirty[0]&81920&&t(17,i=Math.ceil(g.length/c)),n.$$.dirty[0]&49152&&t(18,a=c*h),n.$$.dirty[0]&344064&&t(7,o=g.slice(a-c,a)),n.$$.dirty[0]&163840&&t(6,l=`Page ${h} of ${i}`)},[u,f,p,w,k,S,l,o,r,b,L,R,U,x,c,h,g,i,a,W,Y,Z,te,ue,se,ee,X]}class c0t extends He{constructor(e){super(),Be(this,e,u0t,l0t,De,{value:0,maxIconsPerPage:14},null,[-1,-1])}}function f0t(n){let e,t;return e=new vn({props:{placeholder:n[0],value:n[2],options:n[1]}}),e.$on("change",n[3]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&1&&(a.placeholder=r[0]),i&4&&(a.value=r[2]),i&2&&(a.options=r[1]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function p0t(n,e,t){let r,i,a,o,l;Pe(n,us,g=>t(8,l=g));let{componentInstance:s={}}=e,{value:u=""}=e,{placeholder:c}=e;const f=Nn(),p=(g,b)=>!Array.isArray(b)||b.indexOf(g)===-1?null:g,h=g=>{t(2,o=p(g.detail,a)),f("change",o)};return n.$$set=g=>{"componentInstance"in g&&t(4,s=g.componentInstance),"value"in g&&t(5,u=g.value),"placeholder"in g&&t(0,c=g.placeholder)},n.$$.update=()=>{n.$$.dirty&272&&t(7,r=A3(l,s)),n.$$.dirty&384&&t(6,i=k2(l,r).schema),n.$$.dirty&64&&t(1,a=Object.keys(i||{})),n.$$.dirty&34&&t(2,o=p(u,a))},[c,a,o,h,s,u,i,r,l]}class d0t extends He{constructor(e){super(),Be(this,e,p0t,f0t,De,{componentInstance:4,value:5,placeholder:0})}}function h0t(n){let e,t;return e=new vn({props:{placeholder:n[0],value:n[2],options:n[1]}}),e.$on("change",n[3]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&1&&(a.placeholder=r[0]),i&4&&(a.value=r[2]),i&2&&(a.options=r[1]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function m0t(n,e,t){let r,i,a,o,l;Pe(n,us,b=>t(8,l=b));let{componentInstance:s={}}=e,{value:u=""}=e,{placeholder:c}=e;const f=Nn(),p=b=>Object.entries(b||{}).filter(w=>!Lee.includes(w[1].type)).map(w=>w[0]),h=(b,w)=>!Array.isArray(w)||w.indexOf(b)===-1?null:b,g=b=>{t(2,o=h(b.detail,a)),f("change",o)};return n.$$set=b=>{"componentInstance"in b&&t(4,s=b.componentInstance),"value"in b&&t(5,u=b.value),"placeholder"in b&&t(0,c=b.placeholder)},n.$$.update=()=>{n.$$.dirty&272&&t(7,r=A3(l,s)),n.$$.dirty&384&&t(6,i=k2(l,r).schema),n.$$.dirty&64&&t(1,a=p(i)),n.$$.dirty&34&&t(2,o=h(u,a))},[c,a,o,g,s,u,i,r,l]}class g0t extends He{constructor(e){super(),Be(this,e,m0t,h0t,De,{componentInstance:4,value:5,placeholder:0})}}function v0t(n){let e,t;return e=new c5({props:{placeholder:n[0],value:n[2],options:n[1]}}),e.$on("change",n[3]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&1&&(a.placeholder=r[0]),i&4&&(a.value=r[2]),i&2&&(a.options=r[1]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function _0t(n,e,t){let r,i,a,o,l;Pe(n,us,g=>t(8,l=g));let{componentInstance:s={}}=e,{value:u=""}=e,{placeholder:c}=e;const f=Nn(),p=(g,b)=>(Array.isArray(g)||(g=[]),g.filter(w=>b.indexOf(w)!==-1)),h=g=>{t(2,o=p(g.detail,a)),f("change",o)};return n.$$set=g=>{"componentInstance"in g&&t(4,s=g.componentInstance),"value"in g&&t(5,u=g.value),"placeholder"in g&&t(0,c=g.placeholder)},n.$$.update=()=>{n.$$.dirty&272&&t(7,r=A3(l,s)),n.$$.dirty&384&&t(6,i=k2(l,r).schema),n.$$.dirty&64&&t(1,a=Object.keys(i||{})),n.$$.dirty&34&&t(2,o=p(u,a))},[c,a,o,h,s,u,i,r,l]}class b0t extends He{constructor(e){super(),Be(this,e,_0t,v0t,De,{componentInstance:4,value:5,placeholder:0})}}function y0t(n){let e,t;return e=new c5({props:{placeholder:n[0],value:n[2],options:n[1]}}),e.$on("change",n[3]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&1&&(a.placeholder=r[0]),i&4&&(a.value=r[2]),i&2&&(a.options=r[1]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function hU(n,e){return Array.isArray(n)||(n=[]),n.filter(t=>e.indexOf(t)!==-1)}function $0t(n,e,t){let r,i,a,o,l,s;Pe(n,ti,b=>t(9,l=b)),Pe(n,us,b=>t(8,s=b));let{componentInstance:u={}}=e,{value:c=""}=e,{placeholder:f}=e;const p=Nn();function h(b,w){let k=Object.values(w);if(!(b!=null&&b.tableId))return k.map(L=>L.name);const S=l.list.find(L=>L._id===b.tableId);return $C(k,{allowLinks:S==null?void 0:S.sql}).map(L=>L.name)}const g=b=>{t(2,o=hU(b.detail,a)),p("change",o)};return n.$$set=b=>{"componentInstance"in b&&t(4,u=b.componentInstance),"value"in b&&t(5,c=b.value),"placeholder"in b&&t(0,f=b.placeholder)},n.$$.update=()=>{n.$$.dirty&272&&t(7,r=A3(s,u)),n.$$.dirty&384&&t(6,i=k2(s,r).schema),n.$$.dirty&192&&t(1,a=h(r,i||{})),n.$$.dirty&34&&t(2,o=hU(c,a))},[f,a,o,g,u,c,i,r,s]}class w0t extends He{constructor(e){super(),Be(this,e,$0t,y0t,De,{componentInstance:4,value:5,placeholder:0})}}function k0t(n){let e,t;const r=[n[1],{showAllQueries:!0},{showDataProviders:!1},{otherSources:n[0]}];let i={};for(let a=0;a<r.length;a+=1)i=h0(i,r[a]);return e=new Tre({props:i}),e.$on("change",n[2]),{c(){D(e.$$.fragment)},m(a,o){T(e,a,o),t=!0},p(a,[o]){const l=o&3?h4(r,[o&2&&am(a[1]),r[1],r[2],o&1&&{otherSources:a[0]}]):{};e.$set(l)},i(a){t||(_(e.$$.fragment,a),t=!0)},o(a){y(e.$$.fragment,a),t=!1},d(a){O(e,a)}}}function z0t(n,e,t){const r=[{name:"Custom",label:"Custom"}];function i(a){An.call(this,n,a)}return n.$$set=a=>{t(1,e=h0(h0({},e),Rh(a)))},e=Rh(e),[r,e,i]}class A0t extends He{constructor(e){super(),Be(this,e,z0t,k0t,De,{})}}function mU(n,e,t){const r=n.slice();return r[8]=e[t][0],r[0]=e[t][1],r}function M0t(n){let e=n[4][n[0]].name+"",t;return{c(){t=oe(e)},m(r,i){M(r,t,i)},p(r,i){i&1&&e!==(e=r[4][r[0]].name+"")&&ht(t,e)},d(r){r&&A(t)}}}function S0t(n){let e=n[0].name+"",t;return{c(){t=oe(e)},m(r,i){M(r,t,i)},p:at,d(r){r&&A(t)}}}function gU(n){let e,t,r,i,a,o,l,s;t=new hn({props:{color:"white",size:"L",name:n[0].icon}}),i=new Rt({props:{size:"XS",$$slots:{default:[S0t]},$$scope:{ctx:n}}});function u(){return n[5](n[8])}return{c(){e=K("button"),D(t.$$.fragment),r=q(),D(i.$$.fragment),a=q(),I(e,"class","layout svelte-dl48fo"),Ee(e,"selected",n[1]===n[8])},m(c,f){M(c,e,f),T(t,e,null),N(e,r),T(i,e,null),N(e,a),o=!0,l||(s=zt(e,"click",u),l=!0)},p(c,f){n=c;const p={};f&2048&&(p.$$scope={dirty:f,ctx:n}),i.$set(p),(!o||f&18)&&Ee(e,"selected",n[1]===n[8])},i(c){o||(_(t.$$.fragment,c),_(i.$$.fragment,c),o=!0)},o(c){y(t.$$.fragment,c),y(i.$$.fragment,c),o=!1},d(c){c&&A(e),O(t),O(i),l=!1,s()}}}function C0t(n){let e,t,r=Object.entries(n[4]),i=[];for(let o=0;o<r.length;o+=1)i[o]=gU(mU(n,r,o));const a=o=>y(i[o],1,1,()=>{i[o]=null});return{c(){e=K("div");for(let o=0;o<i.length;o+=1)i[o].c();I(e,"class","container svelte-dl48fo")},m(o,l){M(o,e,l);for(let s=0;s<i.length;s+=1)i[s].m(e,null);t=!0},p(o,l){if(l&18){r=Object.entries(o[4]);let s;for(s=0;s<r.length;s+=1){const u=mU(o,r,s);i[s]?(i[s].p(u,l),_(i[s],1)):(i[s]=gU(u),i[s].c(),_(i[s],1),i[s].m(e,null))}for(Ae(),s=r.length;s<i.length;s+=1)a(s);Me()}},i(o){if(!t){for(let l=0;l<r.length;l+=1)_(i[l]);t=!0}},o(o){i=i.filter(Boolean);for(let l=0;l<i.length;l+=1)y(i[l]);t=!1},d(o){o&&A(e),Mn(i,o)}}}function L0t(n){let e,t;return e=new gr({props:{onConfirm:n[6],size:"L",title:"Select layout",$$slots:{default:[C0t]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&2&&(a.onConfirm=r[6]),i&2050&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function E0t(n){let e,t,r,i;e=new Jr({props:{$$slots:{default:[M0t]},$$scope:{ctx:n}}}),e.$on("click",function(){mn(n[2].show)&&n[2].show.apply(this,arguments)});let a={$$slots:{default:[L0t]},$$scope:{ctx:n}};return r=new ir({props:a}),n[7](r),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,[l]){n=o;const s={};l&2049&&(s.$$scope={dirty:l,ctx:n}),e.$set(s);const u={};l&2050&&(u.$$scope={dirty:l,ctx:n}),r.$set(u)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),n[7](null),O(r,o)}}}function T0t(n,e,t){const r=Nn();let{value:i=""}=e,a=i,o,l={mainSidebar:{name:"Main with Sidebar",icon:"ColumnTwoB"},sidebarMain:{name:"Sidebar with Main",icon:"ColumnTwoC"},twoColumns:{name:"Two columns",icon:"ColumnTwoA"},threeColumns:{name:"Three columns",icon:"ViewColumn"}};const s=f=>t(1,a=f),u=()=>r("change",a);function c(f){Oe[f?"unshift":"push"](()=>{o=f,t(2,o)})}return n.$$set=f=>{"value"in f&&t(0,i=f.value)},[i,a,o,r,l,s,u,c]}class O0t extends He{constructor(e){super(),Be(this,e,T0t,E0t,De,{value:0})}}function D0t(n){let e;return{c(){e=oe("Define filters")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function I0t(n){let e;return{c(){e=oe("Save")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function B0t(n){let e,t;return e=new gn({props:{cta:!0,slot:"buttons",$$slots:{default:[I0t]},$$scope:{ctx:n}}}),e.$on("click",n[6]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&8192&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function H0t(n){let e,t;return e=new wC({props:{slot:"body",filters:n[0],bindings:n[1],schemaFields:n[5],datasource:n[2]}}),e.$on("change",n[10]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&1&&(a.filters=r[0]),i&2&&(a.bindings=r[1]),i&32&&(a.schemaFields=r[5]),i&4&&(a.datasource=r[2]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function P0t(n){let e,t,r,i;e=new Jr({props:{$$slots:{default:[D0t]},$$scope:{ctx:n}}}),e.$on("click",function(){mn(n[3].show)&&n[3].show.apply(this,arguments)});let a={title:"Filtering",$$slots:{body:[H0t],buttons:[B0t]},$$scope:{ctx:n}};return r=new pp({props:a}),n[11](r),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,[l]){n=o;const s={};l&8192&&(s.$$scope={dirty:l,ctx:n}),e.$set(s);const u={};l&8247&&(u.$$scope={dirty:l,ctx:n}),r.$set(u)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),n[11](null),O(r,o)}}}function R0t(n,e,t){let r,i,a,o,l;Pe(n,us,w=>t(9,l=w));const s=Nn();let{value:u=[]}=e,{componentInstance:c}=e,{bindings:f=[]}=e,p;async function h(){s("change",r),wt.success("Filters saved"),p.hide()}const g=w=>t(4,r=w.detail);function b(w){Oe[w?"unshift":"push"](()=>{p=w,t(3,p)})}return n.$$set=w=>{"value"in w&&t(0,u=w.value),"componentInstance"in w&&t(7,c=w.componentInstance),"bindings"in w&&t(1,f=w.bindings)},n.$$.update=()=>{var w;n.$$.dirty&1&&t(4,r=u),n.$$.dirty&640&&t(2,i=A3(l,c)),n.$$.dirty&516&&t(8,a=(w=k2(l,i))==null?void 0:w.schema),n.$$.dirty&256&&t(5,o=Object.values(a||{}))},[u,f,i,p,r,o,h,c,a,l,g,b]}class V0t extends He{constructor(e){super(),Be(this,e,R0t,P0t,De,{value:0,componentInstance:7,bindings:1})}}function vU(n){let e,t,r,i,a;return t=new hn({props:{size:"S",name:"FlashOn"}}),{c(){e=K("div"),D(t.$$.fragment),I(e,"class","icon svelte-11tgeq8")},m(o,l){M(o,e,l),T(t,e,null),r=!0,i||(a=zt(e,"click",function(){mn(n[9].show)&&n[9].show.apply(this,arguments)}),i=!0)},p(o,l){n=o},i(o){r||(_(t.$$.fragment,o),r=!0)},o(o){y(t.$$.fragment,o),r=!1},d(o){o&&A(e),O(t),i=!1,a()}}}function N0t(n){let e;return{c(){e=oe("Add the objects on the left to enrich your text.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function F0t(n){let e;return{c(){e=oe("Save")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function j0t(n){let e,t;return e=new gn({props:{cta:!0,slot:"buttons",disabled:!n[10],$$slots:{default:[F0t]},$$scope:{ctx:n}}}),e.$on("click",n[15]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&1024&&(a.disabled=!r[10]),i&134217728&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function U0t(n){let e,t,r,i;function a(s){n[23](s)}var o=n[0];function l(s){let u={slot:"body",value:s[8],close:s[15],bindings:s[1],allowJS:s[6]};return s[10]!==void 0&&(u.valid=s[10]),{props:u}}return o&&(e=ia(o,l(n)),Oe.push(()=>tt(e,"valid",a)),e.$on("change",n[24])),{c(){e&&D(e.$$.fragment),r=yt()},m(s,u){e&&T(e,s,u),M(s,r,u),i=!0},p(s,u){const c={};if(u&256&&(c.value=s[8]),u&2&&(c.bindings=s[1]),u&64&&(c.allowJS=s[6]),!t&&u&1024&&(t=!0,c.valid=s[10],nt(()=>t=!1)),o!==(o=s[0])){if(e){Ae();const f=e;y(f.$$.fragment,1,0,()=>{O(f,1)}),Me()}o?(e=ia(o,l(s)),Oe.push(()=>tt(e,"valid",a)),e.$on("change",s[24]),D(e.$$.fragment),_(e.$$.fragment,1),T(e,r.parentNode,r)):e=null}else o&&e.$set(c)},i(s){i||(e&&_(e.$$.fragment,s),i=!0)},o(s){e&&y(e.$$.fragment,s),i=!1},d(s){s&&A(r),e&&O(e,s)}}}function x0t(n){let e,t,r,i,a,o;t=new m4({props:{label:n[4],disabled:n[5],readonly:n[13],value:n[13]?"(JavaScript function)":n[8],placeholder:n[3],options:n[12],error:n[7]}}),t.$on("type",n[20]),t.$on("pick",n[21]),t.$on("blur",n[22]);let l=!n[5]&&vU(n),s={title:n[2],$$slots:{body:[U0t],buttons:[j0t],description:[N0t]},$$scope:{ctx:n}};return a=new pp({props:s}),n[25](a),{c(){e=K("div"),D(t.$$.fragment),r=q(),l&&l.c(),i=q(),D(a.$$.fragment),I(e,"class","control svelte-11tgeq8"),Ee(e,"disabled",n[5])},m(u,c){M(u,e,c),T(t,e,null),N(e,r),l&&l.m(e,null),M(u,i,c),T(a,u,c),o=!0},p(u,[c]){const f={};c&16&&(f.label=u[4]),c&32&&(f.disabled=u[5]),c&8192&&(f.readonly=u[13]),c&8448&&(f.value=u[13]?"(JavaScript function)":u[8]),c&8&&(f.placeholder=u[3]),c&4096&&(f.options=u[12]),c&128&&(f.error=u[7]),t.$set(f),u[5]?l&&(Ae(),y(l,1,1,()=>{l=null}),Me()):l?(l.p(u,c),c&32&&_(l,1)):(l=vU(u),l.c(),_(l,1),l.m(e,null)),(!o||c&32)&&Ee(e,"disabled",u[5]);const p={};c&4&&(p.title=u[2]),c&134221123&&(p.$$scope={dirty:c,ctx:u}),a.$set(p)},i(u){o||(_(t.$$.fragment,u),_(l),_(a.$$.fragment,u),o=!0)},o(u){y(t.$$.fragment,u),y(l),y(a.$$.fragment,u),o=!1},d(u){u&&A(e),O(t),l&&l.d(),u&&A(i),n[25](null),O(a,u)}}}function q0t(n,e,t){let r,i,a,o,{panel:l=W9}=e,{value:s=""}=e,{bindings:u=[]}=e,{title:c="Bindings"}=e,{placeholder:f}=e,{label:p}=e,{disabled:h=!1}=e,{options:g}=e,{allowJS:b=!0}=e,{appendBindingsAsOptions:w=!0}=e,{error:k}=e;const S=Nn();let L,B=!0;const R=()=>{U(i),L.hide()},U=(ee,X)=>{X&&!(g!=null&&g.includes(ee))&&(ee=`{{ ${ee} }}`),S("change",up(u,ee))},x=(ee,X,re)=>re?[].concat(ee||[]).concat((X==null?void 0:X.map(le=>le.readableBinding))||[]):ee,W=ee=>U(ee.detail,!1),Y=ee=>U(ee.detail,!0),Z=()=>S("blur");function te(ee){B=ee,t(10,B)}const ue=ee=>t(11,i=ee.detail);function se(ee){Oe[ee?"unshift":"push"](()=>{L=ee,t(9,L)})}return n.$$set=ee=>{"panel"in ee&&t(0,l=ee.panel),"value"in ee&&t(17,s=ee.value),"bindings"in ee&&t(1,u=ee.bindings),"title"in ee&&t(2,c=ee.title),"placeholder"in ee&&t(3,f=ee.placeholder),"label"in ee&&t(4,p=ee.label),"disabled"in ee&&t(5,h=ee.disabled),"options"in ee&&t(18,g=ee.options),"allowJS"in ee&&t(6,b=ee.allowJS),"appendBindingsAsOptions"in ee&&t(19,w=ee.appendBindingsAsOptions),"error"in ee&&t(7,k=ee.error)},n.$$.update=()=>{n.$$.dirty&131074&&t(8,r=v3(u,s)),n.$$.dirty&256&&t(11,i=r),n.$$.dirty&131072&&t(13,a=gv(s)),n.$$.dirty&786434&&t(12,o=x(g,u,w))},[l,u,c,f,p,h,b,k,r,L,B,i,o,a,S,R,U,s,g,w,W,Y,Z,te,ue,se]}class Jre extends He{constructor(e){super(),Be(this,e,q0t,x0t,De,{panel:0,value:17,bindings:1,title:2,placeholder:3,label:4,disabled:5,options:18,allowJS:6,appendBindingsAsOptions:19,error:7})}}function W0t(n){let e,t;return e=new Jre({props:{value:n[0],bindings:n[1],placeholder:n[2],options:n[3],appendBindingsAsOptions:!1}}),e.$on("change",n[5]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&1&&(a.value=r[0]),i&2&&(a.bindings=r[1]),i&4&&(a.placeholder=r[2]),i&8&&(a.options=r[3]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function G0t(n,e,t){let r,i;Pe(n,Gt,u=>t(4,i=u));let{value:a}=e,{bindings:o}=e,{placeholder:l}=e;function s(u){An.call(this,n,u)}return n.$$set=u=>{"value"in u&&t(0,a=u.value),"bindings"in u&&t(1,o=u.bindings),"placeholder"in u&&t(2,l=u.placeholder)},n.$$.update=()=>{n.$$.dirty&16&&t(3,r=i.screens.map(u=>{var c;return(c=u.routing)==null?void 0:c.route}).filter(u=>u!=null))},[a,o,l,r,i,s]}class Y0t extends He{constructor(e){super(),Be(this,e,G0t,W0t,De,{value:0,bindings:1,placeholder:2})}}function _U(n,e,t){const r=n.slice();return r[6]=e[t],r[7]=e,r[8]=t,r}function bU(n){let e,t;return e=new Rt({props:{size:"S",$$slots:{default:[K0t]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function K0t(n){let e;return{c(){e=oe("Add an option to get started.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function yU(n){let e,t,r,i,a,o,l,s=[],u=new Map,c;t=new un({props:{$$slots:{default:[X0t]},$$scope:{ctx:n}}}),i=new un({props:{$$slots:{default:[J0t]},$$scope:{ctx:n}}});let f=n[0];const p=h=>h[6].id;for(let h=0;h<f.length;h+=1){let g=_U(n,f,h),b=p(g);u.set(b,s[h]=$U(b,g))}return{c(){e=K("div"),D(t.$$.fragment),r=q(),D(i.$$.fragment),a=q(),o=K("div"),l=q();for(let h=0;h<s.length;h+=1)s[h].c();I(e,"class","options svelte-12ls1u")},m(h,g){M(h,e,g),T(t,e,null),N(e,r),T(i,e,null),N(e,a),N(e,o),N(e,l);for(let b=0;b<s.length;b+=1)s[b].m(e,null);c=!0},p(h,g){const b={};g&512&&(b.$$scope={dirty:g,ctx:h}),t.$set(b);const w={};g&512&&(w.$$scope={dirty:g,ctx:h}),i.$set(w),g&3&&(f=h[0],Ae(),s=P0(s,g,p,1,h,f,u,e,xf,$U,null,_U),Me())},i(h){if(!c){_(t.$$.fragment,h),_(i.$$.fragment,h);for(let g=0;g<f.length;g+=1)_(s[g]);c=!0}},o(h){y(t.$$.fragment,h),y(i.$$.fragment,h);for(let g=0;g<s.length;g+=1)y(s[g]);c=!1},d(h){h&&A(e),O(t),O(i);for(let g=0;g<s.length;g+=1)s[g].d()}}}function X0t(n){let e;return{c(){e=oe("Label")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function J0t(n){let e;return{c(){e=oe("Value")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function $U(n,e){let t,r,i,a,o,l,s,u,c;function f(w){e[3](w,e[6])}let p={placeholder:"Label"};e[6].label!==void 0&&(p.value=e[6].label),r=new En({props:p}),Oe.push(()=>tt(r,"value",f));function h(w){e[4](w,e[6])}let g={placeholder:"Value"};e[6].value!==void 0&&(g.value=e[6].value),o=new En({props:g}),Oe.push(()=>tt(o,"value",h));function b(){return e[5](e[6])}return u=new hn({props:{name:"Close",hoverable:!0,size:"S"}}),u.$on("click",b),{key:n,first:null,c(){t=yt(),D(r.$$.fragment),a=q(),D(o.$$.fragment),s=q(),D(u.$$.fragment),this.first=t},m(w,k){M(w,t,k),T(r,w,k),M(w,a,k),T(o,w,k),M(w,s,k),T(u,w,k),c=!0},p(w,k){e=w;const S={};!i&&k&1&&(i=!0,S.value=e[6].label,nt(()=>i=!1)),r.$set(S);const L={};!l&&k&1&&(l=!0,L.value=e[6].value,nt(()=>l=!1)),o.$set(L)},i(w){c||(_(r.$$.fragment,w),_(o.$$.fragment,w),_(u.$$.fragment,w),c=!0)},o(w){y(r.$$.fragment,w),y(o.$$.fragment,w),y(u.$$.fragment,w),c=!1},d(w){w&&A(t),O(r,w),w&&A(a),O(o,w),w&&A(s),O(u,w)}}}function Q0t(n){let e;return{c(){e=oe("Add Option")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Z0t(n){var s;let e,t,r,i,a,o=!n[0].length&&bU(n),l=((s=n[0])==null?void 0:s.length)&&yU(n);return i=new gn({props:{icon:"AddCircle",size:"M",secondary:!0,$$slots:{default:[Q0t]},$$scope:{ctx:n}}}),i.$on("click",n[2]),{c(){o&&o.c(),e=q(),l&&l.c(),t=q(),r=K("div"),D(i.$$.fragment)},m(u,c){o&&o.m(u,c),M(u,e,c),l&&l.m(u,c),M(u,t,c),M(u,r,c),T(i,r,null),a=!0},p(u,c){var p;u[0].length?o&&(Ae(),y(o,1,1,()=>{o=null}),Me()):o?c&1&&_(o,1):(o=bU(u),o.c(),_(o,1),o.m(e.parentNode,e)),(p=u[0])!=null&&p.length?l?(l.p(u,c),c&1&&_(l,1)):(l=yU(u),l.c(),_(l,1),l.m(t.parentNode,t)):l&&(Ae(),y(l,1,1,()=>{l=null}),Me());const f={};c&512&&(f.$$scope={dirty:c,ctx:u}),i.$set(f)},i(u){a||(_(o),_(l),_(i.$$.fragment,u),a=!0)},o(u){y(o),y(l),y(i.$$.fragment,u),a=!1},d(u){o&&o.d(u),u&&A(e),l&&l.d(u),u&&A(t),u&&A(r),O(i)}}}function eut(n){let e,t,r;return t=new Ht({props:{noPadding:!0,gap:"S",$$slots:{default:[Z0t]},$$scope:{ctx:n}}}),{c(){e=K("div"),D(t.$$.fragment),I(e,"class","container svelte-12ls1u")},m(i,a){M(i,e,a),T(t,e,null),r=!0},p(i,a){const o={};a&513&&(o.$$scope={dirty:a,ctx:i}),t.$set(o)},i(i){r||(_(t.$$.fragment,i),r=!0)},o(i){y(t.$$.fragment,i),r=!1},d(i){i&&A(e),O(t)}}}function tut(n){let e,t;return e=new dd({props:{$$slots:{default:[eut]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&513&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function nut(n,e,t){let{options:r=[]}=e;const i=u=>{t(0,r=r.filter(c=>c.id!==u))},a=()=>{t(0,r=[...r,{id:Vf.exports.generate(),label:null,value:null}])};function o(u,c){n.$$.not_equal(c.label,u)&&(c.label=u,t(0,r))}function l(u,c){n.$$.not_equal(c.value,u)&&(c.value=u,t(0,r))}const s=u=>i(u.id);return n.$$set=u=>{"options"in u&&t(0,r=u.options)},[r,i,a,o,l,s]}class rut extends He{constructor(e){super(),Be(this,e,nut,tut,De,{options:0})}}function iut(n){let e;return{c(){e=oe("Define Options")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function aut(n){let e;return{c(){e=oe("Define the options for this picker.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function out(n){let e;return{c(){e=oe("Save")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function lut(n){let e,t;return e=new gn({props:{cta:!0,slot:"buttons",$$slots:{default:[out]},$$scope:{ctx:n}}}),e.$on("click",n[2]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&128&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function sut(n){let e,t,r;function i(o){n[4](o)}let a={slot:"body"};return n[1]!==void 0&&(a.options=n[1]),e=new rut({props:a}),Oe.push(()=>tt(e,"options",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){const s={};!t&&l&2&&(t=!0,s.options=o[1],nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function uut(n){let e,t,r,i;e=new Jr({props:{$$slots:{default:[iut]},$$scope:{ctx:n}}}),e.$on("click",function(){mn(n[0].show)&&n[0].show.apply(this,arguments)});let a={title:"Options",$$slots:{body:[sut],buttons:[lut],description:[aut]},$$scope:{ctx:n}};return r=new pp({props:a}),n[5](r),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,[l]){n=o;const s={};l&128&&(s.$$scope={dirty:l,ctx:n}),e.$set(s);const u={};l&130&&(u.$$scope={dirty:l,ctx:n}),r.$set(u)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),n[5](null),O(r,o)}}}function cut(n,e,t){const r=Nn();let{value:i}=e,a,o=i||[];const l=async()=>{t(1,o=o.filter(c=>c.value||c.label));for(let c=0;c<o.length;c++){let f=o[c];f.label=f.label?f.label:f.value,f.value=f.value?f.value:f.label,t(1,o[c]=f,o)}r("change",o),a.hide()};function s(c){o=c,t(1,o)}function u(c){Oe[c?"unshift":"push"](()=>{a=c,t(0,a)})}return n.$$set=c=>{"value"in c&&t(3,i=c.value)},[a,o,l,i,s,u]}class fut extends He{constructor(e){super(),Be(this,e,cut,uut,De,{value:3})}}function put(n){let e,t;return e=new m4({props:{value:n[0],options:n[1]}}),e.$on("change",n[8]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&1&&(a.value=r[0]),i&2&&(a.options=r[1]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function dut(n,e,t){let r,i,a,o,l;Pe(n,us,h=>t(7,l=h));let{componentInstance:s}=e,{value:u}=e,{type:c}=e;const f=(h,g)=>{let b=Object.entries(h!=null?h:{}),w=[];return g==="field/options"?w=[g,"field/string"]:w=[g],w=w.map(k=>k.slice(k.indexOf("/")+1)),b=b.filter(k=>w.includes(k[1].type)),b.map(k=>k[0])};function p(h){An.call(this,n,h)}return n.$$set=h=>{"componentInstance"in h&&t(2,s=h.componentInstance),"value"in h&&t(0,u=h.value),"type"in h&&t(3,c=h.type)},n.$$.update=()=>{n.$$.dirty&132&&t(6,r=v$(l==null?void 0:l.props,s._id,h=>h._component==="@budibase/standard-components/form")),n.$$.dirty&192&&t(5,i=A3(l,r)),n.$$.dirty&160&&t(4,a=k2(l,i,{formSchema:!0}).schema),n.$$.dirty&24&&t(1,o=f(a,c))},[u,o,s,c,a,i,r,l,p]}class t3 extends He{constructor(e){super(),Be(this,e,dut,put,De,{componentInstance:2,value:0,type:3})}}function wU(n,e,t){const r=n.slice();return r[30]=e[t],r[31]=e,r[32]=t,r}function kU(n,e,t){const r=n.slice();return r[30]=e[t],r}function hut(n){let e;return{c(){e=oe("Schema validation rules")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function mut(n){let e,t;return e=new Rt({props:{size:"S",$$slots:{default:[vut]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i[1]&16&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function gut(n){let e,t,r=n[5],i=[];for(let o=0;o<r.length;o+=1)i[o]=zU(kU(n,r,o));const a=o=>y(i[o],1,1,()=>{i[o]=null});return{c(){e=K("div");for(let o=0;o<i.length;o+=1)i[o].c();I(e,"class","links svelte-lcp0nr")},m(o,l){M(o,e,l);for(let s=0;s<i.length;s+=1)i[s].m(e,null);t=!0},p(o,l){if(l[0]&50){r=o[5];let s;for(s=0;s<r.length;s+=1){const u=kU(o,r,s);i[s]?(i[s].p(u,l),_(i[s],1)):(i[s]=zU(u),i[s].c(),_(i[s],1),i[s].m(e,null))}for(Ae(),s=r.length;s<i.length;s+=1)a(s);Me()}},i(o){if(!t){for(let l=0;l<r.length;l+=1)_(i[l]);t=!0}},o(o){i=i.filter(Boolean);for(let l=0;l<i.length;l+=1)y(i[l]);t=!1},d(o){o&&A(e),Mn(i,o)}}}function vut(n){let e;return{c(){e=oe("There are no built-in validation rules from the schema.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function zU(n){let e,t,r,i,a,o,l,s,u,c,f,p;return t=new vn({props:{placeholder:"Constraint",value:n[30].constraint,options:n[4],disabled:!0}}),i=new vn({props:{placeholder:null,value:"Value",options:["Binding","Value"],disabled:!0}}),o=new oo({props:{placeholder:"Constraint value",value:n[30].value,bindings:n[1],disabled:!0}}),s=new oo({props:{placeholder:"Error message",value:n[30].error,bindings:n[1],disabled:!0}}),{c(){e=K("div"),D(t.$$.fragment),r=q(),D(i.$$.fragment),a=q(),D(o.$$.fragment),l=q(),D(s.$$.fragment),u=q(),c=K("div"),f=q(),I(e,"class","rule schema svelte-lcp0nr")},m(h,g){M(h,e,g),T(t,e,null),N(e,r),T(i,e,null),N(e,a),T(o,e,null),N(e,l),T(s,e,null),N(e,u),N(e,c),N(e,f),p=!0},p(h,g){const b={};g[0]&32&&(b.value=h[30].constraint),g[0]&16&&(b.options=h[4]),t.$set(b);const w={};g[0]&32&&(w.value=h[30].value),g[0]&2&&(w.bindings=h[1]),o.$set(w);const k={};g[0]&32&&(k.value=h[30].error),g[0]&2&&(k.bindings=h[1]),s.$set(k)},i(h){p||(_(t.$$.fragment,h),_(i.$$.fragment,h),_(o.$$.fragment,h),_(s.$$.fragment,h),p=!0)},o(h){y(t.$$.fragment,h),y(i.$$.fragment,h),y(o.$$.fragment,h),y(s.$$.fragment,h),p=!1},d(h){h&&A(e),O(t),O(i),O(o),O(s)}}}function _ut(n){let e,t,r,i,a,o;e=new Tn({props:{size:"XS",$$slots:{default:[hut]},$$scope:{ctx:n}}});const l=[gut,mut],s=[];function u(c,f){var p;return(p=c[5])!=null&&p.length?0:1}return r=u(n),i=s[r]=l[r](n),{c(){D(e.$$.fragment),t=q(),i.c(),a=yt()},m(c,f){T(e,c,f),M(c,t,f),s[r].m(c,f),M(c,a,f),o=!0},p(c,f){const p={};f[1]&16&&(p.$$scope={dirty:f,ctx:c}),e.$set(p);let h=r;r=u(c),r===h?s[r].p(c,f):(Ae(),y(s[h],1,1,()=>{s[h]=null}),Me(),i=s[r],i?i.p(c,f):(i=s[r]=l[r](c),i.c()),_(i,1),i.m(a.parentNode,a))},i(c){o||(_(e.$$.fragment,c),_(i),o=!0)},o(c){y(e.$$.fragment,c),y(i),o=!1},d(c){O(e,c),c&&A(t),s[r].d(c),c&&A(a)}}}function but(n){let e;return{c(){e=oe("Custom validation rules")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function AU(n){let e,t=[],r=new Map,i,a=n[0];const o=l=>l[30].id;for(let l=0;l<a.length;l+=1){let s=wU(n,a,l),u=o(s);r.set(u,t[l]=MU(u,s))}return{c(){e=K("div");for(let l=0;l<t.length;l+=1)t[l].c();I(e,"class","links svelte-lcp0nr")},m(l,s){M(l,e,s);for(let u=0;u<t.length;u+=1)t[u].m(e,null);i=!0},p(l,s){s[0]&415&&(a=l[0],Ae(),t=P0(t,s,o,1,l,a,r,e,xf,MU,null,wU),Me())},i(l){if(!i){for(let s=0;s<a.length;s+=1)_(t[s]);i=!0}},o(l){for(let s=0;s<t.length;s+=1)y(t[s]);i=!1},d(l){l&&A(e);for(let s=0;s<t.length;s+=1)t[s].d()}}}function yut(n){let e,t,r,i,a;const o=[Sut,Mut,Aut,zut,kut],l=[];function s(u,c){return c[0]&1&&(e=null),e==null&&(e=!!["string","number","options","longform"].includes(u[30].type)),e?0:u[30].type==="array"?1:u[30].type==="boolean"?2:u[30].type==="datetime"?3:4}return t=s(n,[-1,-1]),r=l[t]=o[t](n),{c(){r.c(),i=yt()},m(u,c){l[t].m(u,c),M(u,i,c),a=!0},p(u,c){let f=t;t=s(u,c),t===f?l[t].p(u,c):(Ae(),y(l[f],1,1,()=>{l[f]=null}),Me(),r=l[t],r?r.p(u,c):(r=l[t]=o[t](u),r.c()),_(r,1),r.m(i.parentNode,i))},i(u){a||(_(r),a=!0)},o(u){y(r),a=!1},d(u){l[t].d(u),u&&A(i)}}}function $ut(n){let e,t,r;function i(o){n[16](o,n[30])}let a={placeholder:"Constraint value"};return n[30].value!==void 0&&(a.value=n[30].value),e=new En({props:a}),Oe.push(()=>tt(e,"value",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){n=o;const s={};!t&&l[0]&1&&(t=!0,s.value=n[30].value,nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function wut(n){let e,t;function r(...i){return n[15](n[30],n[31],n[32],...i)}return e=new oo({props:{placeholder:"Constraint value",value:n[30].value,bindings:n[1],disabled:n[30].constraint==="required"}}),e.$on("change",r),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,a){n=i;const o={};a[0]&1&&(o.value=n[30].value),a[0]&2&&(o.bindings=n[1]),a[0]&1&&(o.disabled=n[30].constraint==="required"),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){O(e,i)}}}function kut(n){let e,t;return e=new oo({props:{disabled:!0}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p:at,i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function zut(n){let e,t,r;function i(o){n[20](o,n[30])}let a={enableTime:!1,disabled:n[30].constraint==="required"};return n[30].value!==void 0&&(a.value=n[30].value),e=new e5({props:a}),Oe.push(()=>tt(e,"value",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){n=o;const s={};l[0]&1&&(s.disabled=n[30].constraint==="required"),!t&&l[0]&1&&(t=!0,s.value=n[30].value,nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function Aut(n){let e,t,r;function i(o){n[19](o,n[30])}let a={disabled:n[30].constraint==="required",options:[{label:"True",value:"true"},{label:"False",value:"false"}]};return n[30].value!==void 0&&(a.value=n[30].value),e=new vn({props:a}),Oe.push(()=>tt(e,"value",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){n=o;const s={};l[0]&1&&(s.disabled=n[30].constraint==="required"),!t&&l[0]&1&&(t=!0,s.value=n[30].value,nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function Mut(n){let e,t;function r(...i){return n[18](n[30],n[31],n[32],...i)}return e=new vn({props:{disabled:n[30].constraint==="required",options:n[2].schema[n[3]].constraints.inclusion,getOptionLabel:Dut,getOptionValue:Iut,value:n[30].value}}),e.$on("change",r),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,a){n=i;const o={};a[0]&1&&(o.disabled=n[30].constraint==="required"),a[0]&12&&(o.options=n[2].schema[n[3]].constraints.inclusion),a[0]&1&&(o.value=n[30].value),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){O(e,i)}}}function Sut(n){let e,t,r;function i(o){n[17](o,n[30])}let a={disabled:n[30].constraint==="required",placeholder:"Constraint value"};return n[30].value!==void 0&&(a.value=n[30].value),e=new En({props:a}),Oe.push(()=>tt(e,"value",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){n=o;const s={};l[0]&1&&(s.disabled=n[30].constraint==="required"),!t&&l[0]&1&&(t=!0,s.value=n[30].value,nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function MU(n,e){let t,r,i,a,o,l,s,u,c,f,p,h,g,b,w,k,S,L;function B(ee){e[13](ee,e[30])}let R={options:e[4],placeholder:"Constraint"};e[30].constraint!==void 0&&(R.value=e[30].constraint),r=new vn({props:R}),Oe.push(()=>tt(r,"value",B));function U(ee){e[14](ee,e[30])}let x={disabled:e[30].constraint==="required",placeholder:null,options:["Binding","Value"]};e[30].valueType!==void 0&&(x.value=e[30].valueType),o=new vn({props:x}),Oe.push(()=>tt(o,"value",U));const W=[wut,$ut,yut],Y=[];function Z(ee,X){return X[0]&1&&(u=null),ee[30].valueType==="Binding"?0:(u==null&&(u=!!(ee[30].type!=="array"&&["maxLength","minLength","regex","notRegex","contains","notContains"].includes(ee[30].constraint))),u?1:2)}c=Z(e,[-1,-1]),f=Y[c]=W[c](e);function te(...ee){return e[21](e[30],e[31],e[32],...ee)}h=new oo({props:{placeholder:"Error message",value:e[30].error,bindings:e[1]}}),h.$on("change",te);function ue(){return e[22](e[30])}b=new hn({props:{name:"Duplicate",hoverable:!0,size:"S"}}),b.$on("click",ue);function se(){return e[23](e[30])}return k=new hn({props:{name:"Close",hoverable:!0,size:"S"}}),k.$on("click",se),{key:n,first:null,c(){t=K("div"),D(r.$$.fragment),a=q(),D(o.$$.fragment),s=q(),f.c(),p=q(),D(h.$$.fragment),g=q(),D(b.$$.fragment),w=q(),D(k.$$.fragment),S=q(),I(t,"class","rule svelte-lcp0nr"),this.first=t},m(ee,X){M(ee,t,X),T(r,t,null),N(t,a),T(o,t,null),N(t,s),Y[c].m(t,null),N(t,p),T(h,t,null),N(t,g),T(b,t,null),N(t,w),T(k,t,null),N(t,S),L=!0},p(ee,X){e=ee;const re={};X[0]&16&&(re.options=e[4]),!i&&X[0]&1&&(i=!0,re.value=e[30].constraint,nt(()=>i=!1)),r.$set(re);const le={};X[0]&1&&(le.disabled=e[30].constraint==="required"),!l&&X[0]&1&&(l=!0,le.value=e[30].valueType,nt(()=>l=!1)),o.$set(le);let fe=c;c=Z(e,X),c===fe?Y[c].p(e,X):(Ae(),y(Y[fe],1,1,()=>{Y[fe]=null}),Me(),f=Y[c],f?f.p(e,X):(f=Y[c]=W[c](e),f.c()),_(f,1),f.m(t,p));const ke={};X[0]&1&&(ke.value=e[30].error),X[0]&2&&(ke.bindings=e[1]),h.$set(ke)},i(ee){L||(_(r.$$.fragment,ee),_(o.$$.fragment,ee),_(f),_(h.$$.fragment,ee),_(b.$$.fragment,ee),_(k.$$.fragment,ee),L=!0)},o(ee){y(r.$$.fragment,ee),y(o.$$.fragment,ee),y(f),y(h.$$.fragment,ee),y(b.$$.fragment,ee),y(k.$$.fragment,ee),L=!1},d(ee){ee&&A(t),O(r),O(o),Y[c].d(),O(h),O(b),O(k)}}}function Cut(n){let e;return{c(){e=oe("Add Rule")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Lut(n){var s;let e,t,r,i,a,o;e=new Tn({props:{size:"XS",$$slots:{default:[but]},$$scope:{ctx:n}}});let l=((s=n[0])==null?void 0:s.length)&&AU(n);return a=new gn({props:{secondary:!0,icon:"Add",$$slots:{default:[Cut]},$$scope:{ctx:n}}}),a.$on("click",n[6]),{c(){D(e.$$.fragment),t=q(),l&&l.c(),r=q(),i=K("div"),D(a.$$.fragment),I(i,"class","button")},m(u,c){T(e,u,c),M(u,t,c),l&&l.m(u,c),M(u,r,c),M(u,i,c),T(a,i,null),o=!0},p(u,c){var h;const f={};c[1]&16&&(f.$$scope={dirty:c,ctx:u}),e.$set(f),(h=u[0])!=null&&h.length?l?(l.p(u,c),c[0]&1&&_(l,1)):(l=AU(u),l.c(),_(l,1),l.m(r.parentNode,r)):l&&(Ae(),y(l,1,1,()=>{l=null}),Me());const p={};c[1]&16&&(p.$$scope={dirty:c,ctx:u}),a.$set(p)},i(u){o||(_(e.$$.fragment,u),_(l),_(a.$$.fragment,u),o=!0)},o(u){y(e.$$.fragment,u),y(l),y(a.$$.fragment,u),o=!1},d(u){O(e,u),u&&A(t),l&&l.d(u),u&&A(r),u&&A(i),O(a)}}}function Eut(n){var a;let e,t,r,i;return e=new Ht({props:{noPadding:!0,gap:(a=n[5])!=null&&a.length?"S":"XS",$$slots:{default:[_ut]},$$scope:{ctx:n}}}),r=new Ht({props:{noPadding:!0,gap:"S",$$slots:{default:[Lut]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,l){var c;const s={};l[0]&32&&(s.gap=(c=o[5])!=null&&c.length?"S":"XS"),l[0]&50|l[1]&16&&(s.$$scope={dirty:l,ctx:o}),e.$set(s);const u={};l[0]&31|l[1]&16&&(u.$$scope={dirty:l,ctx:o}),r.$set(u)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),O(r,o)}}}function Tut(n){let e,t,r;return t=new Ht({props:{noPadding:!0,gap:"M",$$slots:{default:[Eut]},$$scope:{ctx:n}}}),{c(){e=K("div"),D(t.$$.fragment),I(e,"class","container svelte-lcp0nr")},m(i,a){M(i,e,a),T(t,e,null),r=!0},p(i,a){const o={};a[0]&63|a[1]&16&&(o.$$scope={dirty:a,ctx:i}),t.$set(o)},i(i){r||(_(t.$$.fragment,i),r=!0)},o(i){y(t.$$.fragment,i),r=!1},d(i){i&&A(e),O(t)}}}function Out(n){let e,t;return e=new dd({props:{$$slots:{default:[Tut]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i[0]&63|i[1]&16&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}const Dut=n=>n,Iut=n=>n;function But(n,e,t){let r,i,a,o,l,s,u;Pe(n,_3,le=>t(11,s=le)),Pe(n,us,le=>t(12,u=le));let{rules:c=[]}=e,{bindings:f=[]}=e,{type:p}=e;const h={Required:{label:"Required",value:"required"},MinLength:{label:"Min length",value:"minLength"},MaxLength:{label:"Max length",value:"maxLength"},MaxValue:{label:"Max value",value:"maxValue"},MinValue:{label:"Min value",value:"minValue"},Equal:{label:"Must equal",value:"equal"},NotEqual:{label:"Must not equal",value:"notEqual"},Regex:{label:"Must match regex",value:"regex"},NotRegex:{label:"Must not match regex",value:"notRegex"},Contains:{label:"Must contain",value:"contains"},NotContains:{label:"Must not contain",value:"notContains"}},g={string:[h.Required,h.MaxLength,h.Equal,h.NotEqual,h.Regex,h.NotRegex],number:[h.Required,h.MaxValue,h.MinValue,h.Equal,h.NotEqual],boolean:[h.Required,h.Equal,h.NotEqual],datetime:[h.Required,h.MaxValue,h.MinValue,h.Equal,h.NotEqual],attachment:[h.Required],link:[h.Required,h.Contains,h.NotContains,h.MinLength,h.MaxLength],array:[h.Required,h.MinLength,h.MaxLength,h.Contains,h.NotContains]},b=le=>g[le],w=(le,fe)=>{if(!le||!fe)return null;const ke=v$(le.props,fe._id,he=>he._component.endsWith("/form"));return k2(le,ke==null?void 0:ke.dataSource)},k=(le,fe)=>{var ve,_e,Ke,Ue,be,Ce;if(!le||!fe)return[];const ke=(ve=fe.schema)==null?void 0:ve[le],he=ke==null?void 0:ke.constraints;if(!he)return[];let ye=[];if((le===((_e=fe==null?void 0:fe.table)==null?void 0:_e.primaryDisplay)||((Ke=he.presence)==null?void 0:Ke.allowEmpty)===!1)&&ye.push({constraint:"required",error:"Required field"}),S((Ue=he.length)==null?void 0:Ue.maximum)){const Fe=he.length.maximum;ye.push({constraint:"maxLength",value:Fe,error:`Maximum ${Fe} characters`})}if(S((be=he.numericality)==null?void 0:be.greaterThanOrEqualTo)){const Fe=he.numericality.greaterThanOrEqualTo;ye.push({constraint:"minValue",value:Fe,error:`Minimum value is ${Fe}`})}if(S((Ce=he.numericality)==null?void 0:Ce.lessThanOrEqualTo)){const Fe=he.numericality.lessThanOrEqualTo;ye.push({constraint:"maxValue",value:Fe,error:`Maximum value is ${Fe}`})}return ye},S=le=>le!=null&&le!=="",L=()=>{t(0,c=[...c||[],{valueType:"Binding",type:o,id:Vf.exports.generate(),value:o=="array"?[]:null}])},B=le=>{t(0,c=c.filter(fe=>fe.id!==le))},R=le=>{const ke={...c.find(he=>he.id===le),id:Vf.exports.generate()};t(0,c=[...c,ke])};function U(le,fe){n.$$.not_equal(fe.constraint,le)&&(fe.constraint=le,t(0,c))}function x(le,fe){n.$$.not_equal(fe.valueType,le)&&(fe.valueType=le,t(0,c))}const W=(le,fe,ke,he)=>t(0,fe[ke].value=he.detail,c);function Y(le,fe){n.$$.not_equal(fe.value,le)&&(fe.value=le,t(0,c))}function Z(le,fe){n.$$.not_equal(fe.value,le)&&(fe.value=le,t(0,c))}const te=(le,fe,ke,he)=>{t(0,fe[ke].value=he.detail,c)};function ue(le,fe){n.$$.not_equal(fe.value,le)&&(fe.value=le,t(0,c))}function se(le,fe){n.$$.not_equal(fe.value,le)&&(fe.value=le,t(0,c))}const ee=(le,fe,ke,he)=>t(0,fe[ke].error=he.detail,c),X=le=>R(le.id),re=le=>B(le.id);return n.$$set=le=>{"rules"in le&&t(0,c=le.rules),"bindings"in le&&t(1,f=le.bindings),"type"in le&&t(9,p=le.type)},n.$$.update=()=>{n.$$.dirty[0]&6144&&t(2,r=w(u,s)),n.$$.dirty[0]&2048&&t(3,i=s==null?void 0:s.field),n.$$.dirty[0]&12&&t(5,a=k(i,r||{})),n.$$.dirty[0]&512&&t(10,o=(p==null?void 0:p.split("/")[1])||"string"),n.$$.dirty[0]&1024&&t(4,l=b(o))},[c,f,r,i,l,a,L,B,R,p,o,s,u,U,x,W,Y,Z,te,ue,se,ee,X,re]}class Hut extends He{constructor(e){super(),Be(this,e,But,Out,De,{rules:0,bindings:1,type:9},null,[-1,-1])}}function Put(n){let e;return{c(){e=oe("Configure validation")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Rut(n){let e;return{c(){e=oe("Configure validation rules for this field.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Vut(n){let e;return{c(){e=oe("Save")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Nut(n){let e,t;return e=new gn({props:{cta:!0,slot:"buttons",$$slots:{default:[Vut]},$$scope:{ctx:n}}}),e.$on("click",n[5]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&512&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Fut(n){let e,t,r;function i(o){n[6](o)}let a={slot:"body",type:n[3],bindings:n[1],componentDefinition:n[2]};return n[0]!==void 0&&(a.rules=n[0]),e=new Hut({props:a}),Oe.push(()=>tt(e,"rules",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){const s={};l&8&&(s.type=o[3]),l&2&&(s.bindings=o[1]),l&4&&(s.componentDefinition=o[2]),!t&&l&1&&(t=!0,s.rules=o[0],nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function jut(n){let e,t,r,i;e=new Jr({props:{$$slots:{default:[Put]},$$scope:{ctx:n}}}),e.$on("click",function(){mn(n[4].show)&&n[4].show.apply(this,arguments)});let a={title:"Validation Rules",$$slots:{body:[Fut],buttons:[Nut],description:[Rut]},$$scope:{ctx:n}};return r=new pp({props:a}),n[7](r),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,[l]){n=o;const s={};l&512&&(s.$$scope={dirty:l,ctx:n}),e.$set(s);const u={};l&527&&(u.$$scope={dirty:l,ctx:n}),r.$set(u)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),n[7](null),O(r,o)}}}function Uut(n,e,t){let{value:r=[]}=e,{bindings:i=[]}=e,{componentDefinition:a}=e,{type:o}=e,l;const s=Nn(),u=()=>{s("change",r),l.hide()};function c(p){r=p,t(0,r)}function f(p){Oe[p?"unshift":"push"](()=>{l=p,t(4,l)})}return n.$$set=p=>{"value"in p&&t(0,r=p.value),"bindings"in p&&t(1,i=p.bindings),"componentDefinition"in p&&t(2,a=p.componentDefinition),"type"in p&&t(3,o=p.type)},[r,i,a,o,l,u,c,f]}class fh extends He{constructor(e){super(),Be(this,e,Uut,jut,De,{value:0,bindings:1,componentDefinition:2,type:3})}}function xut(n){let e;return{c(){e=oe("Background color")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function qut(n){let e,t,r,i;return e=new un({props:{$$slots:{default:[xut]},$$scope:{ctx:n}}}),r=new h5({props:{value:n[0].background,alignRight:!0,spectrumTheme:n[1].theme}}),r.$on("change",n[5]),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(a,o){T(e,a,o),M(a,t,o),T(r,a,o),i=!0},p(a,o){const l={};o&128&&(l.$$scope={dirty:o,ctx:a}),e.$set(l);const s={};o&1&&(s.value=a[0].background),o&2&&(s.spectrumTheme=a[1].theme),r.$set(s)},i(a){i||(_(e.$$.fragment,a),_(r.$$.fragment,a),i=!0)},o(a){y(e.$$.fragment,a),y(r.$$.fragment,a),i=!1},d(a){O(e,a),a&&A(t),O(r,a)}}}function Wut(n){let e;return{c(){e=oe("Text color")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Gut(n){let e,t,r,i;return e=new un({props:{$$slots:{default:[Wut]},$$scope:{ctx:n}}}),r=new h5({props:{value:n[0].color,alignRight:!0,spectrumTheme:n[1].theme}}),r.$on("change",n[6]),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(a,o){T(e,a,o),M(a,t,o),T(r,a,o),i=!0},p(a,o){const l={};o&128&&(l.$$scope={dirty:o,ctx:a}),e.$set(l);const s={};o&1&&(s.value=a[0].color),o&2&&(s.spectrumTheme=a[1].theme),r.$set(s)},i(a){i||(_(e.$$.fragment,a),_(r.$$.fragment,a),i=!0)},o(a){y(e.$$.fragment,a),y(r.$$.fragment,a),i=!1},d(a){O(e,a),a&&A(t),O(r,a)}}}function Yut(n){let e,t,r,i,a,o,l,s,u,c,f,p;function h(k){n[2](k)}let g={label:"Width",placeholder:"Auto"};n[0].width!==void 0&&(g.value=n[0].width),e=new En({props:g}),Oe.push(()=>tt(e,"value",h));function b(k){n[3](k)}let w={label:"Alignment",options:["Left","Center","Right"],placeholder:"Default"};return n[0].align!==void 0&&(w.value=n[0].align),i=new vn({props:w}),Oe.push(()=>tt(i,"value",b)),l=new oo({props:{label:"Value",value:n[0].template,placeholder:"{{ Value }}",bindings:[{readableBinding:"Value",runtimeBinding:"[value]",category:`Column: ${n[0].name}`,icon:"TableColumnMerge"}]}}),l.$on("change",n[4]),u=new Ht({props:{noPadding:!0,gap:"XS",$$slots:{default:[qut]},$$scope:{ctx:n}}}),f=new Ht({props:{noPadding:!0,gap:"XS",$$slots:{default:[Gut]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment),r=q(),D(i.$$.fragment),o=q(),D(l.$$.fragment),s=q(),D(u.$$.fragment),c=q(),D(f.$$.fragment)},m(k,S){T(e,k,S),M(k,r,S),T(i,k,S),M(k,o,S),T(l,k,S),M(k,s,S),T(u,k,S),M(k,c,S),T(f,k,S),p=!0},p(k,S){const L={};!t&&S&1&&(t=!0,L.value=k[0].width,nt(()=>t=!1)),e.$set(L);const B={};!a&&S&1&&(a=!0,B.value=k[0].align,nt(()=>a=!1)),i.$set(B);const R={};S&1&&(R.value=k[0].template),S&1&&(R.bindings=[{readableBinding:"Value",runtimeBinding:"[value]",category:`Column: ${k[0].name}`,icon:"TableColumnMerge"}]),l.$set(R);const U={};S&131&&(U.$$scope={dirty:S,ctx:k}),u.$set(U);const x={};S&131&&(x.$$scope={dirty:S,ctx:k}),f.$set(x)},i(k){p||(_(e.$$.fragment,k),_(i.$$.fragment,k),_(l.$$.fragment,k),_(u.$$.fragment,k),_(f.$$.fragment,k),p=!0)},o(k){y(e.$$.fragment,k),y(i.$$.fragment,k),y(l.$$.fragment,k),y(u.$$.fragment,k),y(f.$$.fragment,k),p=!1},d(k){O(e,k),k&&A(r),O(i,k),k&&A(o),O(l,k),k&&A(s),O(u,k),k&&A(c),O(f,k)}}}function Kut(n){let e,t,r;return t=new Ht({props:{noPadding:!0,gap:"S",$$slots:{default:[Yut]},$$scope:{ctx:n}}}),{c(){e=K("div"),D(t.$$.fragment),I(e,"class","container svelte-4eq5in")},m(i,a){M(i,e,a),T(t,e,null),r=!0},p(i,a){const o={};a&131&&(o.$$scope={dirty:a,ctx:i}),t.$set(o)},i(i){r||(_(t.$$.fragment,i),r=!0)},o(i){y(t.$$.fragment,i),r=!1},d(i){i&&A(e),O(t)}}}function Xut(n){let e,t;return e=new dd({props:{$$slots:{default:[Kut]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&131&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Jut(n,e,t){let r;Pe(n,Gt,c=>t(1,r=c));let{column:i}=e;function a(c){n.$$.not_equal(i.width,c)&&(i.width=c,t(0,i))}function o(c){n.$$.not_equal(i.align,c)&&(i.align=c,t(0,i))}const l=c=>t(0,i.template=c.detail,i),s=c=>t(0,i.background=c.detail,i),u=c=>t(0,i.color=c.detail,i);return n.$$set=c=>{"column"in c&&t(0,i=c.column)},[i,r,a,o,l,s,u]}class Qut extends He{constructor(e){super(),Be(this,e,Jut,Xut,De,{column:0})}}function Zut(n){let e,t=n[0].name+"",r,i;return{c(){e=oe('"'),r=oe(t),i=oe('" column settings')},m(a,o){M(a,e,o),M(a,r,o),M(a,i,o)},p(a,o){o&1&&t!==(t=a[0].name+"")&&ht(r,t)},d(a){a&&A(e),a&&A(r),a&&A(i)}}}function ect(n){let e;return{c(){e=oe("Save")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function tct(n){let e,t;return e=new gn({props:{cta:!0,slot:"buttons",$$slots:{default:[ect]},$$scope:{ctx:n}}}),e.$on("click",n[4]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&256&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function nct(n){let e,t,r;function i(o){n[5](o)}let a={slot:"body"};return n[1]!==void 0&&(a.column=n[1]),e=new Qut({props:a}),Oe.push(()=>tt(e,"column",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){const s={};!t&&l&2&&(t=!0,s.column=o[1],nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function rct(n){let e,t,r,i;e=new hn({props:{name:"Settings",hoverable:!0,size:"S"}}),e.$on("click",n[3]);let a={title:"Table Columns",$$slots:{body:[nct],buttons:[tct],description:[Zut]},$$scope:{ctx:n}};return r=new pp({props:a}),n[6](r),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,[l]){const s={};l&259&&(s.$$scope={dirty:l,ctx:o}),r.$set(s)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),n[6](null),O(r,o)}}}function ict(n,e,t){let{column:r}=e,i,a;const o=f=>{t(1,i={...f})},l=()=>{o(r),a.show()},s=()=>{t(0,r=i),a.hide()};function u(f){i=f,t(1,i)}function c(f){Oe[f?"unshift":"push"](()=>{a=f,t(2,a)})}return n.$$set=f=>{"column"in f&&t(0,r=f.column)},n.$$.update=()=>{n.$$.dirty&1&&o(r)},[r,i,a,l,s,u,c]}class act extends He{constructor(e){super(),Be(this,e,ict,rct,De,{column:0})}}function SU(n,e,t){const r=n.slice();return r[20]=e[t],r[21]=e,r[22]=t,r}function oct(n){let e,t,r,i;return r=new Rt({props:{size:"S",$$slots:{default:[sct]},$$scope:{ctx:n}}}),{c(){e=K("div"),t=K("div"),D(r.$$.fragment),I(t,"class","wide svelte-17kmdew"),I(e,"class","column svelte-17kmdew")},m(a,o){M(a,e,o),N(e,t),T(r,t,null),i=!0},p(a,o){const l={};o&8388608&&(l.$$scope={dirty:o,ctx:a}),r.$set(l)},i(a){i||(_(r.$$.fragment,a),i=!0)},o(a){y(r.$$.fragment,a),i=!1},d(a){a&&A(e),O(r)}}}function lct(n){let e,t;return e=new Ht({props:{noPadding:!0,gap:"XS",$$slots:{default:[fct]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&8388615&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function sct(n){let e,t,r;return{c(){e=oe(`By default, all table columns will automatically be shown.
|
|
895
895
|
`),t=K("br"),r=oe(`
|
|
896
896
|
You can manually control which columns are included in your table,
|
|
897
|
-
and their appearance, by adding them below.`)},m(i,a){M(i,e,a),M(i,t,a),M(i,r,a)},p:at,d(i){i&&A(e),i&&A(t),i&&A(r)}}}function uct(n){let e;return{c(){e=oe("Column")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function cct(n){let e;return{c(){e=oe("Label")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function CU(n){let e,t,r;function i(o){n[16](o,n[20],n[21],n[22])}let a={};return n[20]!==void 0&&(a.column=n[20]),e=new act({props:a}),Oe.push(()=>tt(e,"column",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){n=o;const s={};!t&&l&1&&(t=!0,s.column=n[20],nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function LU(n,e){let t,r,i,a,o,l,s,u,c,f,p,h,g,b,w,k=at,S,L,B;i=new hn({props:{name:"DragHandle",size:"XL"}});function R(ue){e[13](ue,e[20])}function U(...ue){return e[14](e[20],e[21],e[22],...ue)}let x={placeholder:"Column",options:e[3](e[20].name)};e[20].name!==void 0&&(x.value=e[20].name),l=new vn({props:x}),Oe.push(()=>tt(l,"value",R)),l.$on("change",U);function W(ue){e[15](ue,e[20])}let Y={placeholder:"Label"};e[20].displayName!==void 0&&(Y.value=e[20].displayName),c=new En({props:Y}),Oe.push(()=>tt(c,"value",W));let Z=e[1]&&CU(e);function te(){return e[17](e[20])}return g=new hn({props:{name:"Close",hoverable:!0,size:"S",disabled:e[0].length===1}}),g.$on("click",te),{key:n,first:null,c(){t=K("div"),r=K("div"),D(i.$$.fragment),o=q(),D(l.$$.fragment),u=q(),D(c.$$.fragment),p=q(),Z&&Z.c(),h=q(),D(g.$$.fragment),b=q(),I(r,"class","handle svelte-17kmdew"),I(r,"aria-label","drag-handle"),I(r,"style",a=e[2]?"cursor: grab":"cursor: grabbing"),I(t,"class","column svelte-17kmdew"),this.first=t},m(ue,se){M(ue,t,se),N(t,r),T(i,r,null),N(t,o),T(l,t,null),N(t,u),T(c,t,null),N(t,p),Z&&Z.m(t,null),N(t,h),T(g,t,null),N(t,b),S=!0,L||(B=zt(r,"mousedown",e[12]),L=!0)},p(ue,se){e=ue,(!S||se&4&&a!==(a=e[2]?"cursor: grab":"cursor: grabbing"))&&I(r,"style",a);const ee={};se&1&&(ee.options=e[3](e[20].name)),!s&&se&1&&(s=!0,ee.value=e[20].name,nt(()=>s=!1)),l.$set(ee);const X={};!f&&se&1&&(f=!0,X.value=e[20].displayName,nt(()=>f=!1)),c.$set(X),e[1]?Z?(Z.p(e,se),se&2&&_(Z,1)):(Z=CU(e),Z.c(),_(Z,1),Z.m(t,h)):Z&&(Ae(),y(Z,1,1,()=>{Z=null}),Me());const re={};se&1&&(re.disabled=e[0].length===1),g.$set(re)},r(){w=t.getBoundingClientRect()},f(){lv(t),k()},a(){k(),k=ov(t,w,Tv,{duration:PA})},i(ue){S||(_(i.$$.fragment,ue),_(l.$$.fragment,ue),_(c.$$.fragment,ue),_(Z),_(g.$$.fragment,ue),S=!0)},o(ue){y(i.$$.fragment,ue),y(l.$$.fragment,ue),y(c.$$.fragment,ue),y(Z),y(g.$$.fragment,ue),S=!1},d(ue){ue&&A(t),O(i),O(l),O(c),Z&&Z.d(),O(g),L=!1,B()}}}function fct(n){let e,t,r,i,a,o,l,s,u,c,f,p,h=[],g=new Map,b,w,k,S;i=new un({props:{size:"L",$$slots:{default:[uct]},$$scope:{ctx:n}}}),o=new un({props:{size:"L",$$slots:{default:[cct]},$$scope:{ctx:n}}});let L=n[0];const B=R=>R[20].id;for(let R=0;R<L.length;R+=1){let U=SU(n,L,R),x=B(U);g.set(x,h[R]=LU(x,U))}return{c(){e=K("div"),t=K("div"),r=q(),D(i.$$.fragment),a=q(),D(o.$$.fragment),l=q(),s=K("div"),u=q(),c=K("div"),f=q(),p=K("div");for(let R=0;R<h.length;R+=1)h[R].c();I(e,"class","column svelte-17kmdew"),I(p,"class","columns svelte-17kmdew")},m(R,U){M(R,e,U),N(e,t),N(e,r),T(i,e,null),N(e,a),T(o,e,null),N(e,l),N(e,s),N(e,u),N(e,c),M(R,f,U),M(R,p,U);for(let x=0;x<h.length;x+=1)h[x].m(p,null);w=!0,k||(S=[Ps(b=q$.call(null,p,{items:n[0],flipDurationMs:PA,dropTargetStyle:{outline:"none"},dragDisabled:n[2]})),zt(p,"finalize",n[7]),zt(p,"consider",n[6])],k=!0)},p(R,U){const x={};U&8388608&&(x.$$scope={dirty:U,ctx:R}),i.$set(x);const W={};if(U&8388608&&(W.$$scope={dirty:U,ctx:R}),o.$set(W),U&47){L=R[0],Ae();for(let Y=0;Y<h.length;Y+=1)h[Y].r();h=P0(h,U,B,1,R,L,g,p,sv,LU,null,SU);for(let Y=0;Y<h.length;Y+=1)h[Y].a();Me()}b&&mn(b.update)&&U&5&&b.update.call(null,{items:R[0],flipDurationMs:PA,dropTargetStyle:{outline:"none"},dragDisabled:R[2]})},i(R){if(!w){_(i.$$.fragment,R),_(o.$$.fragment,R);for(let U=0;U<L.length;U+=1)_(h[U]);w=!0}},o(R){y(i.$$.fragment,R),y(o.$$.fragment,R);for(let U=0;U<h.length;U+=1)y(h[U]);w=!1},d(R){R&&A(e),O(i),O(o),R&&A(f),R&&A(p);for(let U=0;U<h.length;U+=1)h[U].d();k=!1,Mi(S)}}}function pct(n){let e;return{c(){e=oe("Add column")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function dct(n){let e;return{c(){e=oe("Add all columns")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function EU(n){let e,t;return e=new gn({props:{secondary:!0,quiet:!0,$$slots:{default:[hct]},$$scope:{ctx:n}}}),e.$on("click",n[9]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&8388608&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function hct(n){let e;return{c(){e=oe("Reset columns")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function mct(n){var b;let e,t,r,i,a,o,l,s,u,c;const f=[lct,oct],p=[];function h(w,k){var S;return(S=w[0])!=null&&S.length?0:1}e=h(n),t=p[e]=f[e](n),o=new gn({props:{secondary:!0,icon:"Add",$$slots:{default:[pct]},$$scope:{ctx:n}}}),o.$on("click",n[4]),s=new gn({props:{secondary:!0,quiet:!0,$$slots:{default:[dct]},$$scope:{ctx:n}}}),s.$on("click",n[8]);let g=((b=n[0])==null?void 0:b.length)&&EU(n);return{c(){t.c(),r=q(),i=K("div"),a=K("div"),D(o.$$.fragment),l=q(),D(s.$$.fragment),u=q(),g&&g.c(),I(a,"class","buttons wide svelte-17kmdew"),I(i,"class","column svelte-17kmdew")},m(w,k){p[e].m(w,k),M(w,r,k),M(w,i,k),N(i,a),T(o,a,null),N(a,l),T(s,a,null),N(a,u),g&&g.m(a,null),c=!0},p(w,k){var R;let S=e;e=h(w),e===S?p[e].p(w,k):(Ae(),y(p[S],1,1,()=>{p[S]=null}),Me(),t=p[e],t?t.p(w,k):(t=p[e]=f[e](w),t.c()),_(t,1),t.m(r.parentNode,r));const L={};k&8388608&&(L.$$scope={dirty:k,ctx:w}),o.$set(L);const B={};k&8388608&&(B.$$scope={dirty:k,ctx:w}),s.$set(B),(R=w[0])!=null&&R.length?g?(g.p(w,k),k&1&&_(g,1)):(g=EU(w),g.c(),_(g,1),g.m(a,null)):g&&(Ae(),y(g,1,1,()=>{g=null}),Me())},i(w){c||(_(t),_(o.$$.fragment,w),_(s.$$.fragment,w),_(g),c=!0)},o(w){y(t),y(o.$$.fragment,w),y(s.$$.fragment,w),y(g),c=!1},d(w){p[e].d(w),w&&A(r),w&&A(i),O(o),O(s),g&&g.d()}}}function gct(n){let e,t,r;return t=new Ht({props:{noPadding:!0,gap:"S",$$slots:{default:[mct]},$$scope:{ctx:n}}}),{c(){e=K("div"),D(t.$$.fragment),I(e,"class","container svelte-17kmdew")},m(i,a){M(i,e,a),T(t,e,null),r=!0},p(i,a){const o={};a&8388615&&(o.$$scope={dirty:a,ctx:i}),t.$set(o)},i(i){r||(_(t.$$.fragment,i),r=!0)},o(i){y(t.$$.fragment,i),r=!1},d(i){i&&A(e),O(t)}}}function vct(n){let e,t;return e=new dd({props:{$$slots:{default:[gct]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&8388615&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}const PA=150;function _ct(n,e,t){let r,{columns:i=[]}=e,{options:a=[]}=e,{schema:o={}}=e,{allowCellEditing:l=!0}=e,s=!0;const u=(x,W)=>{let Y={};return x.forEach(Z=>{Y[Z]=!0}),W==null||W.forEach(Z=>{delete Y[Z.name]}),Object.keys(Y)},c=x=>!x||r.includes(x)?r:[x,...r],f=()=>{t(0,i=[...i,{}])},p=x=>{t(0,i=i.filter(W=>W.id!==x))},h=x=>{t(0,i=x.detail.items)},g=x=>{h(x),t(2,s=!0)},b=()=>{let x=i||[];a.forEach(W=>{const Y=o[W],Z=i&&i.findIndex(te=>te.name===W)!==-1;!(Y!=null&&Y.autocolumn)&&!Z&&x.push({name:W,displayName:W})}),t(0,i=x)},w=()=>{t(0,i=[])},k=()=>t(2,s=!1);function S(x,W){n.$$.not_equal(W.name,x)&&(W.name=x,t(0,i))}const L=(x,W,Y,Z)=>t(0,W[Y].displayName=Z.detail,i);function B(x,W){n.$$.not_equal(W.displayName,x)&&(W.displayName=x,t(0,i))}function R(x,W,Y,Z){Y[Z]=x,t(0,i)}const U=x=>p(x.id);return n.$$set=x=>{"columns"in x&&t(0,i=x.columns),"options"in x&&t(10,a=x.options),"schema"in x&&t(11,o=x.schema),"allowCellEditing"in x&&t(1,l=x.allowCellEditing)},n.$$.update=()=>{n.$$.dirty&1025&&(r=u(a,i)),n.$$.dirty&1&&i.forEach(x=>{x.id||(x.id=Vf.exports.generate())})},[i,l,s,c,f,p,h,g,b,w,a,o,k,S,L,B,R,U]}class bct extends He{constructor(e){super(),Be(this,e,_ct,vct,De,{columns:0,options:10,schema:11,allowCellEditing:1})}}function yct(n){let e;return{c(){e=oe("Configure columns")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function $ct(n){let e,t=n[1].toLowerCase()+"",r,i;return{c(){e=oe("Configure the columns in your "),r=oe(t),i=oe(".")},m(a,o){M(a,e,o),M(a,r,o),M(a,i,o)},p(a,o){o&2&&t!==(t=a[1].toLowerCase()+"")&&ht(r,t)},d(a){a&&A(e),a&&A(r),a&&A(i)}}}function wct(n){let e;return{c(){e=oe("Save")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function kct(n){let e,t;return e=new gn({props:{cta:!0,slot:"buttons",$$slots:{default:[wct]},$$scope:{ctx:n}}}),e.$on("click",n[7]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&524288&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function zct(n){let e,t,r;function i(o){n[13](o)}let a={slot:"body",options:n[2],schema:n[3],allowCellEditing:n[0]};return n[5]!==void 0&&(a.columns=n[5]),e=new bct({props:a}),Oe.push(()=>tt(e,"columns",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){const s={};l&4&&(s.options=o[2]),l&8&&(s.schema=o[3]),l&1&&(s.allowCellEditing=o[0]),!t&&l&32&&(t=!0,s.columns=o[5],nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function Act(n){let e,t,r,i;e=new Jr({props:{$$slots:{default:[yct]},$$scope:{ctx:n}}}),e.$on("click",n[6]);let a={title:n[1]+" Columns",$$slots:{body:[zct],buttons:[kct],description:[$ct]},$$scope:{ctx:n}};return r=new pp({props:a}),n[14](r),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,[l]){const s={};l&524288&&(s.$$scope={dirty:l,ctx:o}),e.$set(s);const u={};l&2&&(u.title=o[1]+" Columns"),l&524335&&(u.$$scope={dirty:l,ctx:o}),r.$set(u)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),n[14](null),O(r,o)}}}function Mct(n,e,t){let r,i,a,o,l;Pe(n,us,U=>t(12,l=U));let{componentInstance:s}=e,{value:u=[]}=e,{allowCellEditing:c=!0}=e,{subject:f="Table"}=e;const p=Nn();let h,g;const b=(U,x)=>{const W=k2(U,x).schema;return W&&(delete W._id,delete W._rev),W},w=U=>{t(5,g=na.cloneDeep(U))},k=(U,x)=>!Array.isArray(U)||!U.length?[]:(typeof U[0]=="string"&&(U=U.map(W=>({name:W,displayName:W}))),U.filter(W=>x.includes(W.name))),S=()=>{w(o),h.show()},L=()=>{p("change",k(g,a)),h.hide()};function B(U){g=U,t(5,g)}function R(U){Oe[U?"unshift":"push"](()=>{h=U,t(4,h)})}return n.$$set=U=>{"componentInstance"in U&&t(8,s=U.componentInstance),"value"in U&&t(9,u=U.value),"allowCellEditing"in U&&t(0,c=U.allowCellEditing),"subject"in U&&t(1,f=U.subject)},n.$$.update=()=>{n.$$.dirty&4352&&t(11,r=A3(l,s)),n.$$.dirty&6144&&t(3,i=b(l,r)),n.$$.dirty&8&&t(2,a=Object.keys(i||{})),n.$$.dirty&516&&t(10,o=k(u,a)),n.$$.dirty&1024&&w(o)},[c,f,a,i,h,g,S,L,s,u,o,r,l,B,R]}class Qre extends He{constructor(e){super(),Be(this,e,Mct,Act,De,{componentInstance:8,value:9,allowCellEditing:0,subject:1})}}function Sct(n){let e,t;const r=[n[0],{allowCellEditing:!1},{subject:"Dynamic Filter"}];let i={};for(let a=0;a<r.length;a+=1)i=h0(i,r[a]);return e=new Qre({props:i}),e.$on("change",n[1]),{c(){D(e.$$.fragment)},m(a,o){T(e,a,o),t=!0},p(a,[o]){const l=o&1?h4(r,[am(a[0]),r[1],r[2]]):{};e.$set(l)},i(a){t||(_(e.$$.fragment,a),t=!0)},o(a){y(e.$$.fragment,a),t=!1},d(a){O(e,a)}}}function Cct(n,e,t){function r(i){An.call(this,n,i)}return n.$$set=i=>{t(0,e=h0(h0({},e),Rh(i)))},e=Rh(e),[e,r]}class Lct extends He{constructor(e){super(),Be(this,e,Cct,Sct,De,{})}}function TU(n,e,t){const r=n.slice();return r[4]=e[t],r}function OU(n){let e,t;function r(){return n[3](n[4])}return e=new Jr({props:{icon:n[4].barIcon,quiet:!0,selected:n[4].value===n[0]}}),e.$on("click",r),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,a){n=i;const o={};a&4&&(o.icon=n[4].barIcon),a&5&&(o.selected=n[4].value===n[0]),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){O(e,i)}}}function Ect(n){let e,t,r=n[2],i=[];for(let o=0;o<r.length;o+=1)i[o]=OU(TU(n,r,o));const a=o=>y(i[o],1,1,()=>{i[o]=null});return{c(){for(let o=0;o<i.length;o+=1)i[o].c();e=yt()},m(o,l){for(let s=0;s<i.length;s+=1)i[s].m(o,l);M(o,e,l),t=!0},p(o,l){if(l&7){r=o[2];let s;for(s=0;s<r.length;s+=1){const u=TU(o,r,s);i[s]?(i[s].p(u,l),_(i[s],1)):(i[s]=OU(u),i[s].c(),_(i[s],1),i[s].m(e.parentNode,e))}for(Ae(),s=r.length;s<i.length;s+=1)a(s);Me()}},i(o){if(!t){for(let l=0;l<r.length;l+=1)_(i[l]);t=!0}},o(o){i=i.filter(Boolean);for(let l=0;l<i.length;l+=1)y(i[l]);t=!1},d(o){Mn(i,o),o&&A(e)}}}function Tct(n){let e,t;return e=new Py({props:{$$slots:{default:[Ect]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&135&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Oct(n,e,t){let{value:r}=e,{onChange:i}=e,{options:a}=e;const o=l=>i(l.value);return n.$$set=l=>{"value"in l&&t(0,r=l.value),"onChange"in l&&t(1,i=l.onChange),"options"in l&&t(2,a=l.options)},[r,i,a,o]}class Dct extends He{constructor(e){super(),Be(this,e,Oct,Tct,De,{value:0,onChange:1,options:2})}}const Ict={text:Jre,select:vn,radio:Ry,dataSource:Tre,"dataSource/s3":xat,dataProvider:Yat,boolean:Rs,number:YX,event:Xre,table:Qst,color:IC,icon:c0t,field:d0t,multifield:b0t,searchfield:w0t,options:fut,schema:A0t,section:O0t,filter:V0t,url:Y0t,columns:Qre,"columns/basic":Lct,"field/sortable":g0t,"field/string":t3,"field/number":t3,"field/options":t3,"field/boolean":t3,"field/longform":t3,"field/datetime":t3,"field/attachment":t3,"field/link":t3,"field/array":t3,"field/json":t3,"field/barcode/qr":t3,"validation/string":fh,"validation/array":fh,"validation/number":fh,"validation/boolean":fh,"validation/datetime":fh,"validation/attachment":fh,"validation/link":fh},Q9=n=>{const{type:e,showInBar:t,barStyle:r}=n||{};return e?t&&e==="select"&&r==="buttons"?Dct:Ict[e]:null};function DU(n,e,t){const r=n.slice();return r[13]=e[t],r[15]=t,r}function IU(n,e,t){const r=n.slice();return r[16]=e[t],r}function BU(n){let e,t;return e=new Z6({props:{name:n[13].name,collapsible:!1,$$slots:{default:[Bct]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&32&&(a.name=r[13].name),i&524415&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function HU(n){let e,t;return e=new Ev({props:{control:En,label:"Name",key:"_instanceName",value:n[1]._instanceName,onChange:n[8]}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&2&&(a.value=r[1]._instanceName),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function PU(n){let e,t;function r(...i){return n[9](n[16],...i)}return e=new Ev({props:{type:n[16].type,control:Q9(n[16]),label:n[16].label,key:n[16].key,value:n[1][n[16].key],defaultValue:n[16].defaultValue,nested:n[16].nested,onChange:r,highlighted:n[6].highlightedSettingKey===n[16].key,info:n[16].info,props:{placeholder:n[16].placeholder||null,options:n[16].options||[],min:n[16].min||null,max:n[16].max||null},bindings:n[2],componentBindings:n[3],componentInstance:n[1],componentDefinition:n[0]}}),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,a){n=i;const o={};a&32&&(o.type=n[16].type),a&32&&(o.control=Q9(n[16])),a&32&&(o.label=n[16].label),a&32&&(o.key=n[16].key),a&34&&(o.value=n[1][n[16].key]),a&32&&(o.defaultValue=n[16].defaultValue),a&32&&(o.nested=n[16].nested),a&32&&(o.onChange=r),a&96&&(o.highlighted=n[6].highlightedSettingKey===n[16].key),a&32&&(o.info=n[16].info),a&32&&(o.props={placeholder:n[16].placeholder||null,options:n[16].options||[],min:n[16].min||null,max:n[16].max||null}),a&4&&(o.bindings=n[2]),a&8&&(o.componentBindings=n[3]),a&2&&(o.componentInstance=n[1]),a&1&&(o.componentDefinition=n[0]),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){O(e,i)}}}function RU(n,e){let t,r,i,a=e[16].visible&&PU(e);return{key:n,first:null,c(){t=yt(),a&&a.c(),r=yt(),this.first=t},m(o,l){M(o,t,l),a&&a.m(o,l),M(o,r,l),i=!0},p(o,l){e=o,e[16].visible?a?(a.p(e,l),l&32&&_(a,1)):(a=PU(e),a.c(),_(a,1),a.m(r.parentNode,r)):a&&(Ae(),y(a,1,1,()=>{a=null}),Me())},i(o){i||(_(a),i=!0)},o(o){y(a),i=!1},d(o){o&&A(t),a&&a.d(o),o&&A(r)}}}function VU(n){let e,t;return e=new pat({props:{componentInstance:n[1]}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&2&&(a.componentInstance=r[1]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Bct(n){var h,g;let e=n[15]===0&&!n[1]._component.endsWith("/layout")&&!n[4],t,r=[],i=new Map,a,o=n[15]===0&&((g=(h=n[0])==null?void 0:h.component)==null?void 0:g.endsWith("/fieldgroup")),l,s,u=e&&HU(n),c=n[13].settings;const f=b=>b[16].key;for(let b=0;b<c.length;b+=1){let w=IU(n,c,b),k=f(w);i.set(k,r[b]=RU(k,w))}let p=o&&VU(n);return{c(){u&&u.c(),t=q();for(let b=0;b<r.length;b+=1)r[b].c();a=q(),p&&p.c(),l=yt()},m(b,w){u&&u.m(b,w),M(b,t,w);for(let k=0;k<r.length;k+=1)r[k].m(b,w);M(b,a,w),p&&p.m(b,w),M(b,l,w),s=!0},p(b,w){var k,S;w&50&&(e=b[15]===0&&!b[1]._component.endsWith("/layout")&&!b[4]),e?u?(u.p(b,w),w&50&&_(u,1)):(u=HU(b),u.c(),_(u,1),u.m(t.parentNode,t)):u&&(Ae(),y(u,1,1,()=>{u=null}),Me()),w&239&&(c=b[13].settings,Ae(),r=P0(r,w,f,1,b,c,i,a.parentNode,xf,RU,a,IU),Me()),w&33&&(o=b[15]===0&&((S=(k=b[0])==null?void 0:k.component)==null?void 0:S.endsWith("/fieldgroup"))),o?p?(p.p(b,w),w&33&&_(p,1)):(p=VU(b),p.c(),_(p,1),p.m(l.parentNode,l)):p&&(Ae(),y(p,1,1,()=>{p=null}),Me())},i(b){if(!s){_(u);for(let w=0;w<c.length;w+=1)_(r[w]);_(p),s=!0}},o(b){y(u);for(let w=0;w<r.length;w+=1)y(r[w]);y(p),s=!1},d(b){u&&u.d(b),b&&A(t);for(let w=0;w<r.length;w+=1)r[w].d(b);b&&A(a),p&&p.d(b),b&&A(l)}}}function NU(n,e){let t,r,i,a=e[13].visible&&BU(e);return{key:n,first:null,c(){t=yt(),a&&a.c(),r=yt(),this.first=t},m(o,l){M(o,t,l),a&&a.m(o,l),M(o,r,l),i=!0},p(o,l){e=o,e[13].visible?a?(a.p(e,l),l&32&&_(a,1)):(a=BU(e),a.c(),_(a,1),a.m(r.parentNode,r)):a&&(Ae(),y(a,1,1,()=>{a=null}),Me())},i(o){i||(_(a),i=!0)},o(o){y(a),i=!1},d(o){o&&A(t),a&&a.d(o),o&&A(r)}}}function FU(n){let e,t;return e=new Z6({props:{name:"Eject",collapsible:!1,$$slots:{default:[Hct]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Hct(n){let e,t;return e=new gat({}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Pct(n){var u;let e=[],t=new Map,r,i,a,o=n[5];const l=c=>c[13].name;for(let c=0;c<o.length;c+=1){let f=DU(n,o,c),p=l(f);t.set(p,e[c]=NU(p,f))}let s=((u=n[0])==null?void 0:u.block)&&FU(n);return{c(){for(let c=0;c<e.length;c+=1)e[c].c();r=q(),s&&s.c(),i=yt()},m(c,f){for(let p=0;p<e.length;p+=1)e[p].m(c,f);M(c,r,f),s&&s.m(c,f),M(c,i,f),a=!0},p(c,[f]){var p;f&255&&(o=c[5],Ae(),e=P0(e,f,l,1,c,o,t,r.parentNode,xf,NU,r,DU),Me()),(p=c[0])!=null&&p.block?s?f&1&&_(s,1):(s=FU(c),s.c(),_(s,1),s.m(i.parentNode,i)):s&&(Ae(),y(s,1,1,()=>{s=null}),Me())},i(c){if(!a){for(let f=0;f<o.length;f+=1)_(e[f]);_(s),a=!0}},o(c){for(let f=0;f<e.length;f+=1)y(e[f]);y(s),a=!1},d(c){for(let f=0;f<e.length;f+=1)e[f].d(c);c&&A(r),s&&s.d(c),c&&A(i)}}}function Rct(n,e,t){let r,i;Pe(n,Gt,w=>t(6,i=w));let{componentDefinition:a}=e,{componentInstance:o}=e,{bindings:l}=e,{componentBindings:s}=e,{isScreen:u=!1}=e;const c=(w,k,S)=>{var x;const L=(x=k==null?void 0:k.settings)!=null?x:[],B=L.filter(W=>!W.section),R=L.filter(W=>W.section);let U=[{name:"General",settings:B},...R||[]];return U.forEach(W=>{W.visible=p(w,W),W.visible&&(W.settings.forEach(Y=>{Y.visible=h(w,Y,S)}),W.visible=W.name==="General"||W.settings.some(Y=>Y.visible))}),U},f=async(w,k)=>{try{await Gt.actions.components.updateSetting(w.key,k),w.sendEvents&&id.captureEvent(qh.COMPONENT_UPDATED,{name:o._component,setting:w.key,value:k})}catch{wt.error("Error updating component prop")}},p=(w,k)=>{if(k.dependsOn){let S=k.dependsOn,L=null,B=!!k.dependsOn.invert;if(typeof k.dependsOn=="object"&&(S=k.dependsOn.setting,L=k.dependsOn.value),!S)return!1;if(L==null){const R=w[S];return R===!1?!1:R===!0?!0:!na.isEmpty(R)}return B?w[S]!==L:w[S]===L}return!0},h=(w,k,S)=>(k==null?void 0:k.type)==="event"&&S||!Q9(k)?!1:p(w,k),g=w=>f({key:"_instanceName"},w),b=(w,k)=>f(w,k);return n.$$set=w=>{"componentDefinition"in w&&t(0,a=w.componentDefinition),"componentInstance"in w&&t(1,o=w.componentInstance),"bindings"in w&&t(2,l=w.bindings),"componentBindings"in w&&t(3,s=w.componentBindings),"isScreen"in w&&t(4,u=w.isScreen)},n.$$.update=()=>{n.$$.dirty&19&&t(5,r=c(o,a,u))},[a,o,l,s,u,r,i,f,g,b]}class Vct extends He{constructor(e){super(),Be(this,e,Rct,Pct,De,{componentDefinition:0,componentInstance:1,bindings:2,componentBindings:3,isScreen:4})}}function jU(n,e,t){const r=n.slice();return r[11]=e[t],r}function UU(n,e){let t,r,i,a;function o(...l){return e[10](e[11],...l)}return r=new Ev({props:{label:`${e[11].label}${e[7](e[5],e[11])?" *":""}`,control:e[11].control,key:e[11].key,value:e[5][e[11].key],onChange:o,props:e[8](e[11]),bindings:e[4]}}),{key:n,first:null,c(){t=K("div"),D(r.$$.fragment),i=q(),Sn(t,"grid-column",e[11].column||"auto"),this.first=t},m(l,s){M(l,t,s),T(r,t,null),N(t,i),a=!0},p(l,s){e=l;const u={};s&36&&(u.label=`${e[11].label}${e[7](e[5],e[11])?" *":""}`),s&4&&(u.control=e[11].control),s&4&&(u.key=e[11].key),s&36&&(u.value=e[5][e[11].key]),s&4&&(u.onChange=o),s&4&&(u.props=e[8](e[11])),s&16&&(u.bindings=e[4]),r.$set(u),(!a||s&4)&&Sn(t,"grid-column",e[11].column||"auto")},i(l){a||(_(r.$$.fragment,l),a=!0)},o(l){y(r.$$.fragment,l),a=!1},d(l){l&&A(t),O(r)}}}function Nct(n){let e,t=[],r=new Map,i,a=n[2];const o=l=>`${l[3]._id}-${l[11].key}-${l[11].label}`;for(let l=0;l<a.length;l+=1){let s=jU(n,a,l),u=o(s);r.set(u,t[l]=UU(u,s))}return{c(){e=K("div");for(let l=0;l<t.length;l+=1)t[l].c();I(e,"class","group-content svelte-1u21n8y"),Sn(e,"grid-template-columns",n[1]||"1fr")},m(l,s){M(l,e,s);for(let u=0;u<t.length;u+=1)t[u].m(e,null);i=!0},p(l,s){s&956&&(a=l[2],Ae(),t=P0(t,s,o,1,l,a,r,e,xf,UU,null,jU),Me()),(!i||s&2)&&Sn(e,"grid-template-columns",l[1]||"1fr")},i(l){if(!i){for(let s=0;s<a.length;s+=1)_(t[s]);i=!0}},o(l){for(let s=0;s<t.length;s+=1)y(t[s]);i=!1},d(l){l&&A(e);for(let s=0;s<t.length;s+=1)t[s].d()}}}function Fct(n){let e,t;return e=new Z6({props:{collapsible:!1,name:`${n[0]}${n[6]?" *":""}`,$$slots:{default:[Nct]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&65&&(a.name=`${r[0]}${r[6]?" *":""}`),i&16438&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function jct(n,e,t){let r,i,{name:a}=e,{columns:o}=e,{properties:l}=e,{componentInstance:s}=e,{bindings:u=[]}=e;const c=(g,b)=>g[b.key]!=null&&g[b.key]!=="",f=g=>{let b={...g||{}};return delete b.label,delete b.key,delete b.control,b},p=async(g,b)=>{try{await Gt.actions.components.updateStyle(g,b)}catch{wt.error("Error updating style")}},h=(g,b)=>p(g.key,b);return n.$$set=g=>{"name"in g&&t(0,a=g.name),"columns"in g&&t(1,o=g.columns),"properties"in g&&t(2,l=g.properties),"componentInstance"in g&&t(3,s=g.componentInstance),"bindings"in g&&t(4,u=g.bindings)},n.$$.update=()=>{var g;n.$$.dirty&8&&t(5,r=s._styles.normal||{}),n.$$.dirty&36&&t(6,i=(g=l==null?void 0:l.some(b=>c(r,b)))!=null?g:!1)},[a,o,l,s,u,r,i,c,f,p,h]}class Uct extends He{constructor(e){super(),Be(this,e,jct,Fct,De,{name:0,columns:1,properties:2,componentInstance:3,bindings:4})}}const Zre={label:"Margin",columns:"1fr 1fr",settings:[{label:"Top",key:"margin-top",control:vn,placeholder:"None",options:[{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"},{label:"32px",value:"32px"},{label:"48px",value:"48px"},{label:"64px",value:"64px"},{label:"128px",value:"128px"},{label:"256px",value:"256px"},{label:"Auto",value:"auto"},{label:"100%",value:"100%"}]},{label:"Right",key:"margin-right",control:vn,placeholder:"None",options:[{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"},{label:"32px",value:"32px"},{label:"48px",value:"48px"},{label:"64px",value:"64px"},{label:"128px",value:"128px"},{label:"256px",value:"256px"},{label:"Auto",value:"auto"},{label:"100%",value:"100%"}]},{label:"Bottom",key:"margin-bottom",control:vn,placeholder:"None",options:[{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"},{label:"32px",value:"32px"},{label:"48px",value:"48px"},{label:"64px",value:"64px"},{label:"128px",value:"128px"},{label:"256px",value:"256px"},{label:"Auto",value:"auto"},{label:"100%",value:"100%"}]},{label:"Left",key:"margin-left",control:vn,placeholder:"None",options:[{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"},{label:"32px",value:"32px"},{label:"48px",value:"48px"},{label:"64px",value:"64px"},{label:"128px",value:"128px"},{label:"256px",value:"256px"},{label:"Auto",value:"auto"},{label:"100%",value:"100%"}]}]},xct={label:"Padding",columns:"1fr 1fr",settings:[{label:"Top",key:"padding-top",control:vn,placeholder:"None",options:[{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"},{label:"32px",value:"32px"},{label:"48px",value:"48px"},{label:"64px",value:"64px"},{label:"128px",value:"128px"},{label:"256px",value:"256px"},{label:"Auto",value:"auto"},{label:"100%",value:"100%"}]},{label:"Right",key:"padding-right",control:vn,placeholder:"None",options:[{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"},{label:"32px",value:"32px"},{label:"48px",value:"48px"},{label:"64px",value:"64px"},{label:"128px",value:"128px"},{label:"256px",value:"256px"},{label:"Auto",value:"auto"},{label:"100%",value:"100%"}]},{label:"Bottom",key:"padding-bottom",control:vn,placeholder:"None",options:[{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"},{label:"32px",value:"32px"},{label:"48px",value:"48px"},{label:"64px",value:"64px"},{label:"128px",value:"128px"},{label:"256px",value:"256px"},{label:"Auto",value:"auto"},{label:"100%",value:"100%"}]},{label:"Left",key:"padding-left",control:vn,placeholder:"None",options:[{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"},{label:"32px",value:"32px"},{label:"48px",value:"48px"},{label:"64px",value:"64px"},{label:"128px",value:"128px"},{label:"256px",value:"256px"},{label:"Auto",value:"auto"},{label:"100%",value:"100%"}]}]},qct={label:"Size",columns:"1fr 1fr",settings:[{label:"Width",key:"width",control:En,placeholder:"Auto"},{label:"Height",key:"height",control:En,placeholder:"Auto"}]},Wct={label:"Background",columns:"auto 1fr",settings:[{label:"Color",key:"background",control:IC},{label:"Gradient",key:"background-image",control:vn,options:[{label:"Warm Flame",value:"linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);"},{label:"Night Fade",value:"linear-gradient(to top, #a18cd1 0%, #fbc2eb 100%);"},{label:"Spring Warmth",value:"linear-gradient(to top, #fad0c4 0%, #ffd1ff 100%);"},{label:"Sunny Morning",value:"linear-gradient(120deg, #f6d365 0%, #fda085 100%);"},{label:"Winter Neva",value:"linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);"},{label:"Tempting Azure",value:"linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);"},{label:"Heavy Rain",value:"linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);"},{label:"Deep Blue",value:"linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);"},{label:"Near Moon",value:"linear-gradient(to top, #5ee7df 0%, #b490ca 100%);"},{label:"Wild Apple",value:"linear-gradient(to top, #d299c2 0%, #fef9d7 100%);"},{label:"Plum Plate",value:"linear-gradient(135deg, #667eea 0%, #764ba2 100%);"},{label:"Peach Kiss",value:"radial-gradient(circle farthest-corner at 50% 100%,rgba(255,173,138,.50), rgba(255,248,247,1) 100%);"},{label:"Flamingo Sunrise",value:"-webkit-radial-gradient(center top, rgb(255, 250, 245), rgb(255, 242, 242))"},{label:"Budi Mist",value:"radial-gradient(circle, rgba(252,215,212,1) 0%, rgba(255,227,214,1) 50%, rgba(207,218,255,1) 100%);"},{label:"Ballet Slipper",value:"linear-gradient(135deg, rgba(252,215,212,1) 20%, rgba(207,218,255,1) 100%);"},{label:"Black Noir",value:"linear-gradient(312deg, rgba(60,60,60,1) 0%, rgba(42,42,42,1) 100%);"}]}]},Gct={label:"Border",columns:"1fr 1fr",settings:[{label:"Color",key:"border-color",control:IC},{label:"Width",key:"border-width",control:vn,column:"1 / 2",placeholder:"None",options:[{label:"Small",value:"1px"},{label:"Medium",value:"2px"},{label:"Large",value:"4px"}]},{label:"Style",key:"border-style",control:vn,column:"2 / 3",placeholder:"None",options:[{label:"Solid",value:"solid"},{label:"Dotted",value:"dotted"},{label:"Dashed",value:"dashed"}]},{label:"Radius",key:"border-radius",control:vn,placeholder:"None",options:[{label:"Small",value:"0.25rem"},{label:"Medium",value:"0.5rem"},{label:"Large",value:"1rem"},{label:"Round",value:"100%"}]},{label:"Shadow",key:"box-shadow",control:vn,placeholder:"None",options:[{label:"Small",value:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)"},{label:"Medium",value:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)"},{label:"Large",value:"0 8px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)"}]}]},RA=[Zre],xU=Object.freeze(Object.defineProperty({__proto__:null,margin:Zre,padding:xct,size:qct,background:Wct,border:Gct,all:RA},Symbol.toStringTag,{value:"Module"}));function qU(n,e,t){const r=n.slice();return r[5]=e[t],r}function WU(n){let e,t,r=n[2],i=[];for(let o=0;o<r.length;o+=1)i[o]=GU(qU(n,r,o));const a=o=>y(i[o],1,1,()=>{i[o]=null});return{c(){for(let o=0;o<i.length;o+=1)i[o].c();e=yt()},m(o,l){for(let s=0;s<i.length;s+=1)i[s].m(o,l);M(o,e,l),t=!0},p(o,l){if(l&7){r=o[2];let s;for(s=0;s<r.length;s+=1){const u=qU(o,r,s);i[s]?(i[s].p(u,l),_(i[s],1)):(i[s]=GU(u),i[s].c(),_(i[s],1),i[s].m(e.parentNode,e))}for(Ae(),s=r.length;s<i.length;s+=1)a(s);Me()}},i(o){if(!t){for(let l=0;l<r.length;l+=1)_(i[l]);t=!0}},o(o){i=i.filter(Boolean);for(let l=0;l<i.length;l+=1)y(i[l]);t=!1},d(o){Mn(i,o),o&&A(e)}}}function GU(n){let e,t;return e=new Uct({props:{style:n[5],name:n[5].label,columns:n[5].columns,properties:n[5].settings,componentInstance:n[0],bindings:n[1]}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&4&&(a.style=r[5]),i&4&&(a.name=r[5].label),i&4&&(a.columns=r[5].columns),i&4&&(a.properties=r[5].settings),i&1&&(a.componentInstance=r[0]),i&2&&(a.bindings=r[1]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Yct(n){var i;let e,t,r=((i=n[2])==null?void 0:i.length)>0&&WU(n);return{c(){r&&r.c(),e=yt()},m(a,o){r&&r.m(a,o),M(a,e,o),t=!0},p(a,[o]){var l;((l=a[2])==null?void 0:l.length)>0?r?(r.p(a,o),o&4&&_(r,1)):(r=WU(a),r.c(),_(r,1),r.m(e.parentNode,e)):r&&(Ae(),y(r,1,1,()=>{r=null}),Me())},i(a){t||(_(r),t=!0)},o(a){y(r),t=!1},d(a){r&&r.d(a),a&&A(e)}}}function Kct(n,e,t){let r,{componentDefinition:i}=e,{componentInstance:a}=e,{bindings:o}=e;const l=s=>{var c;if(!((c=s==null?void 0:s.styles)!=null&&c.length))return[...RA];let u=[...RA];return s.styles.forEach(f=>{xU[f]&&u.push(xU[f])}),u};return n.$$set=s=>{"componentDefinition"in s&&t(3,i=s.componentDefinition),"componentInstance"in s&&t(0,a=s.componentInstance),"bindings"in s&&t(1,o=s.bindings)},n.$$.update=()=>{n.$$.dirty&8&&t(2,r=l(i))},[a,o,r,i]}class Xct extends He{constructor(e){super(),Be(this,e,Kct,Yct,De,{componentDefinition:3,componentInstance:0,bindings:1})}}function Jct(n){let e;return{c(){e=oe("Edit custom CSS")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Qct(n){let e,t,r;return t=new Jr({props:{$$slots:{default:[Jct]},$$scope:{ctx:n}}}),t.$on("click",n[4]),{c(){e=K("div"),D(t.$$.fragment)},m(i,a){M(i,e,a),T(t,e,null),r=!0},p(i,a){const o={};a&1024&&(o.$$scope={dirty:a,ctx:i}),t.$set(o)},i(i){r||(_(t.$$.fragment,i),r=!0)},o(i){y(t.$$.fragment,i),r=!1},d(i){i&&A(e),O(t)}}}function Zct(n){let e;return{c(){e=oe("Custom CSS overrides all other component styles.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function eft(n){let e;return{c(){e=oe("Save")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function tft(n){let e,t;return e=new gn({props:{cta:!0,slot:"buttons",$$slots:{default:[eft]},$$scope:{ctx:n}}}),e.$on("click",n[5]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&1024&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function nft(n){let e,t,r;var i=W9;function a(o){return{props:{slot:"body",value:o[1],allowJS:!0,bindings:o[3]}}}return i&&(e=ia(i,a(n)),e.$on("change",n[8])),{c(){e&&D(e.$$.fragment),t=yt()},m(o,l){e&&T(e,o,l),M(o,t,l),r=!0},p(o,l){const s={};if(l&2&&(s.value=o[1]),l&8&&(s.bindings=o[3]),i!==(i=W9)){if(e){Ae();const u=e;y(u.$$.fragment,1,0,()=>{O(u,1)}),Me()}i?(e=ia(i,a(o)),e.$on("change",o[8]),D(e.$$.fragment),_(e.$$.fragment,1),T(e,t.parentNode,t)):e=null}else i&&e.$set(s)},i(o){r||(e&&_(e.$$.fragment,o),r=!0)},o(o){e&&y(e.$$.fragment,o),r=!1},d(o){o&&A(t),e&&O(e,o)}}}function YU(n){let e,t,r={title:"Custom CSS",$$slots:{body:[nft],buttons:[tft],description:[Zct]},$$scope:{ctx:n}};return e=new pp({props:r}),n[9](e),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,a){const o={};a&1034&&(o.$$scope={dirty:a,ctx:i}),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){n[9](null),O(e,i)}}}function rft(n){var l,s,u;let e,t,r=(l=n[0])==null?void 0:l._id,i,a;e=new Z6({props:{name:`Custom CSS${(u=(s=n[0])==null?void 0:s._styles)!=null&&u.custom?" *":""}`,collapsible:!1,$$slots:{default:[Qct]},$$scope:{ctx:n}}});let o=YU(n);return{c(){D(e.$$.fragment),t=q(),o.c(),i=yt()},m(c,f){T(e,c,f),M(c,t,f),o.m(c,f),M(c,i,f),a=!0},p(c,[f]){var h,g,b;const p={};f&1&&(p.name=`Custom CSS${(g=(h=c[0])==null?void 0:h._styles)!=null&&g.custom?" *":""}`),f&1024&&(p.$$scope={dirty:f,ctx:c}),e.$set(p),f&1&&De(r,r=(b=c[0])==null?void 0:b._id)?(Ae(),y(o,1,1,at),Me(),o=YU(c),o.c(),_(o,1),o.m(i.parentNode,i)):o.p(c,f)},i(c){a||(_(e.$$.fragment,c),_(o),a=!0)},o(c){y(e.$$.fragment,c),y(o),a=!1},d(c){O(e,c),c&&A(t),c&&A(i),o.d(c)}}}function ift(n,e,t){let r,i,a;Pe(n,Gt,h=>t(6,i=h)),Pe(n,F1,h=>t(7,a=h));let{componentInstance:o}=e,l,s;const u=()=>{var h;t(1,l=v3(r,(h=o==null?void 0:o._styles)==null?void 0:h.custom)),s.show()},c=async()=>{try{const h=up(r,l);await Gt.actions.components.updateCustomStyle(h)}catch{wt.error("Error updating custom style")}s.hide()},f=h=>t(1,l=h.detail);function p(h){Oe[h?"unshift":"push"](()=>{s=h,t(2,s)})}return n.$$set=h=>{"componentInstance"in h&&t(0,o=h.componentInstance)},n.$$.update=()=>{n.$$.dirty&192&&t(3,r=yS(a,i.selectedComponentId))},[o,l,s,r,u,c,i,a,f,p]}class aft extends He{constructor(e){super(),Be(this,e,ift,rft,De,{componentInstance:0})}}function KU(n,e,t){const r=n.slice();r[31]=e[t],r[33]=e,r[34]=t;const i=r[7](r[31].setting);return r[32]=i,r}function oft(n){let e,t;return e=new Rt({props:{size:"S",$$slots:{default:[sft]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i[1]&16&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function lft(n){let e,t=[],r=new Map,i,a,o,l,s=n[0];const u=c=>c[31].id;for(let c=0;c<s.length;c+=1){let f=KU(n,s,c),p=u(f);r.set(p,t[c]=JU(p,f))}return{c(){e=K("div");for(let c=0;c<t.length;c+=1)t[c].c();I(e,"class","conditions svelte-69vx2r")},m(c,f){M(c,e,f);for(let p=0;p<t.length;p+=1)t[p].m(e,null);a=!0,o||(l=[Ps(i=q$.call(null,e,{items:n[0],flipDurationMs:VA,dropTargetStyle:{outline:"none"},dragDisabled:n[3]})),zt(e,"finalize",n[11]),zt(e,"consider",n[12])],o=!0)},p(c,f){if(f[0]&59135){s=c[0],Ae();for(let p=0;p<t.length;p+=1)t[p].r();t=P0(t,f,u,1,c,s,r,e,sv,JU,null,KU);for(let p=0;p<t.length;p+=1)t[p].a();Me()}i&&mn(i.update)&&f[0]&9&&i.update.call(null,{items:c[0],flipDurationMs:VA,dropTargetStyle:{outline:"none"},dragDisabled:c[3]})},i(c){if(!a){for(let f=0;f<s.length;f+=1)_(t[f]);a=!0}},o(c){for(let f=0;f<t.length;f+=1)y(t[f]);a=!1},d(c){c&&A(e);for(let f=0;f<t.length;f+=1)t[f].d();o=!1,Mi(l)}}}function sft(n){let e;return{c(){e=oe("Add your first condition to get started.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function XU(n){let e,t,r,i,a,o,l,s,u;function c(b){n[19](b,n[31])}let f={options:n[4]};n[31].setting!==void 0&&(f.value=n[31].setting),e=new vn({props:f}),Oe.push(()=>tt(e,"value",c));const p=[cft,uft],h=[];function g(b,w){return b[32]?0:1}return o=g(n),l=h[o]=p[o](n),{c(){D(e.$$.fragment),r=q(),i=K("div"),i.textContent="TO",a=q(),l.c(),s=yt()},m(b,w){T(e,b,w),M(b,r,w),M(b,i,w),M(b,a,w),h[o].m(b,w),M(b,s,w),u=!0},p(b,w){n=b;const k={};w[0]&16&&(k.options=n[4]),!t&&w[0]&1&&(t=!0,k.value=n[31].setting,nt(()=>t=!1)),e.$set(k);let S=o;o=g(n),o===S?h[o].p(n,w):(Ae(),y(h[S],1,1,()=>{h[S]=null}),Me(),l=h[o],l?l.p(n,w):(l=h[o]=p[o](n),l.c()),_(l,1),l.m(s.parentNode,s))},i(b){u||(_(e.$$.fragment,b),_(l),u=!0)},o(b){y(e.$$.fragment,b),y(l),u=!1},d(b){O(e,b),b&&A(r),b&&A(i),b&&A(a),h[o].d(b),b&&A(s)}}}function uft(n){let e,t;return e=new vn({props:{disabled:!0,placeholder:" "}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p:at,i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function cft(n){let e,t;function r(...i){return n[20](n[31],n[33],n[34],...i)}return e=new Ev({props:{type:n[32].type,control:Q9(n[32]),key:n[32].key,value:n[31].settingValue,componentInstance:n[2],onChange:r,props:{options:n[32].options,placeholder:n[32].placeholder},bindings:n[1]}}),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,a){n=i;const o={};a[0]&1&&(o.type=n[32].type),a[0]&1&&(o.control=Q9(n[32])),a[0]&1&&(o.key=n[32].key),a[0]&1&&(o.value=n[31].settingValue),a[0]&4&&(o.componentInstance=n[2]),a[0]&1&&(o.onChange=r),a[0]&1&&(o.props={options:n[32].options,placeholder:n[32].placeholder}),a[0]&2&&(o.bindings=n[1]),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){O(e,i)}}}function fft(n){let e,t,r;function i(o){n[28](o,n[31])}let a={placeholder:"Value",disabled:n[31].noValue,options:["True","False"]};return n[31].referenceValue!==void 0&&(a.value=n[31].referenceValue),e=new vn({props:a}),Oe.push(()=>tt(e,"value",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){n=o;const s={};l[0]&1&&(s.disabled=n[31].noValue),!t&&l[0]&1&&(t=!0,s.value=n[31].referenceValue,nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function pft(n){let e,t,r;function i(o){n[27](o,n[31])}let a={placeholder:"Value",disabled:n[31].noValue};return n[31].referenceValue!==void 0&&(a.value=n[31].referenceValue),e=new e5({props:a}),Oe.push(()=>tt(e,"value",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){n=o;const s={};l[0]&1&&(s.disabled=n[31].noValue),!t&&l[0]&1&&(t=!0,s.value=n[31].referenceValue,nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function dft(n){let e,t;function r(...i){return n[26](n[31],n[33],n[34],...i)}return e=new oo({props:{disabled:n[31].noValue,bindings:n[1],placeholder:"Value",value:n[31].referenceValue}}),e.$on("change",r),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,a){n=i;const o={};a[0]&1&&(o.disabled=n[31].noValue),a[0]&2&&(o.bindings=n[1]),a[0]&1&&(o.value=n[31].referenceValue),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){O(e,i)}}}function JU(n,e){let t,r,i,a,o,l,s,u,c,f,p,h,g,b,w,k,S,L,B,R,U,x,W,Y,Z,te,ue,se,ee=at,X,re,le;i=new hn({props:{name:"DragHandle",size:"XL"}});function fe(Qe){e[18](Qe,e[31])}let ke={placeholder:null,options:e[5]};e[31].action!==void 0&&(ke.value=e[31].action),l=new vn({props:ke}),Oe.push(()=>tt(l,"value",fe));let he=e[31].action==="update"&&XU(e);function ye(...Qe){return e[21](e[31],e[33],e[34],...Qe)}h=new oo({props:{bindings:e[1],placeholder:"Value",value:e[31].newValue}}),h.$on("change",ye);function ve(Qe){e[22](Qe,e[31])}function _e(...Qe){return e[23](e[31],...Qe)}let Ke={placeholder:null,options:e[13](e[31])};e[31].operator!==void 0&&(Ke.value=e[31].operator),b=new vn({props:Ke}),Oe.push(()=>tt(b,"value",ve)),b.$on("change",_e);function Ue(Qe){e[24](Qe,e[31])}function be(...Qe){return e[25](e[31],...Qe)}let Ce={disabled:e[31].noValue||e[31].operator==="oneOf",options:e[6],placeholder:null};e[31].valueType!==void 0&&(Ce.value=e[31].valueType),S=new vn({props:Ce}),Oe.push(()=>tt(S,"value",Ue)),S.$on("change",be);const Fe=[dft,pft,fft],ze=[];function st(Qe,bt){return bt[0]&1&&(R=null),R==null&&(R=!!["string","number"].includes(Qe[31].valueType)),R?0:Qe[31].valueType==="datetime"?1:Qe[31].valueType==="boolean"?2:-1}~(U=st(e,[-1,-1]))&&(x=ze[U]=Fe[U](e));function Ve(){return e[29](e[31])}Y=new hn({props:{name:"Duplicate",hoverable:!0,size:"S"}}),Y.$on("click",Ve);function et(){return e[30](e[31])}return te=new hn({props:{name:"Close",hoverable:!0,size:"S"}}),te.$on("click",et),{key:n,first:null,c(){t=K("div"),r=K("div"),D(i.$$.fragment),o=q(),D(l.$$.fragment),u=q(),he&&he.c(),c=q(),f=K("div"),f.textContent="IF",p=q(),D(h.$$.fragment),g=q(),D(b.$$.fragment),k=q(),D(S.$$.fragment),B=q(),x&&x.c(),W=q(),D(Y.$$.fragment),Z=q(),D(te.$$.fragment),ue=q(),I(r,"class","handle svelte-69vx2r"),I(r,"aria-label","drag-handle"),I(r,"style",a=e[3]?"cursor: grab":"cursor: grabbing"),I(t,"class","condition svelte-69vx2r"),Ee(t,"update",e[31].action==="update"),this.first=t},m(Qe,bt){M(Qe,t,bt),N(t,r),T(i,r,null),N(t,o),T(l,t,null),N(t,u),he&&he.m(t,null),N(t,c),N(t,f),N(t,p),T(h,t,null),N(t,g),T(b,t,null),N(t,k),T(S,t,null),N(t,B),~U&&ze[U].m(t,null),N(t,W),T(Y,t,null),N(t,Z),T(te,t,null),N(t,ue),X=!0,re||(le=zt(r,"mousedown",e[17]),re=!0)},p(Qe,bt){e=Qe,(!X||bt[0]&8&&a!==(a=e[3]?"cursor: grab":"cursor: grabbing"))&&I(r,"style",a);const $t={};!s&&bt[0]&1&&(s=!0,$t.value=e[31].action,nt(()=>s=!1)),l.$set($t),e[31].action==="update"?he?(he.p(e,bt),bt[0]&1&&_(he,1)):(he=XU(e),he.c(),_(he,1),he.m(t,c)):he&&(Ae(),y(he,1,1,()=>{he=null}),Me());const Nt={};bt[0]&2&&(Nt.bindings=e[1]),bt[0]&1&&(Nt.value=e[31].newValue),h.$set(Nt);const qt={};bt[0]&1&&(qt.options=e[13](e[31])),!w&&bt[0]&1&&(w=!0,qt.value=e[31].operator,nt(()=>w=!1)),b.$set(qt);const ct={};bt[0]&1&&(ct.disabled=e[31].noValue||e[31].operator==="oneOf"),!L&&bt[0]&1&&(L=!0,ct.value=e[31].valueType,nt(()=>L=!1)),S.$set(ct);let ge=U;U=st(e,bt),U===ge?~U&&ze[U].p(e,bt):(x&&(Ae(),y(ze[ge],1,1,()=>{ze[ge]=null}),Me()),~U?(x=ze[U],x?x.p(e,bt):(x=ze[U]=Fe[U](e),x.c()),_(x,1),x.m(t,W)):x=null),(!X||bt[0]&1)&&Ee(t,"update",e[31].action==="update")},r(){se=t.getBoundingClientRect()},f(){lv(t),ee()},a(){ee(),ee=ov(t,se,Tv,{duration:VA})},i(Qe){X||(_(i.$$.fragment,Qe),_(l.$$.fragment,Qe),_(he),_(h.$$.fragment,Qe),_(b.$$.fragment,Qe),_(S.$$.fragment,Qe),_(x),_(Y.$$.fragment,Qe),_(te.$$.fragment,Qe),X=!0)},o(Qe){y(i.$$.fragment,Qe),y(l.$$.fragment,Qe),y(he),y(h.$$.fragment,Qe),y(b.$$.fragment,Qe),y(S.$$.fragment,Qe),y(x),y(Y.$$.fragment,Qe),y(te.$$.fragment,Qe),X=!1},d(Qe){Qe&&A(t),O(i),O(l),he&&he.d(),O(h),O(b),O(S),~U&&ze[U].d(),O(Y),O(te),re=!1,le()}}}function hft(n){let e;return{c(){e=oe("Add condition")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function mft(n){let e,t,r,i,a,o;const l=[lft,oft],s=[];function u(c,f){var p;return(p=c[0])!=null&&p.length?0:1}return e=u(n),t=s[e]=l[e](n),a=new gn({props:{secondary:!0,icon:"Add",$$slots:{default:[hft]},$$scope:{ctx:n}}}),a.$on("click",n[8]),{c(){t.c(),r=q(),i=K("div"),D(a.$$.fragment)},m(c,f){s[e].m(c,f),M(c,r,f),M(c,i,f),T(a,i,null),o=!0},p(c,f){let p=e;e=u(c),e===p?s[e].p(c,f):(Ae(),y(s[p],1,1,()=>{s[p]=null}),Me(),t=s[e],t?t.p(c,f):(t=s[e]=l[e](c),t.c()),_(t,1),t.m(r.parentNode,r));const h={};f[1]&16&&(h.$$scope={dirty:f,ctx:c}),a.$set(h)},i(c){o||(_(t),_(a.$$.fragment,c),o=!0)},o(c){y(t),y(a.$$.fragment,c),o=!1},d(c){s[e].d(c),c&&A(r),c&&A(i),O(a)}}}function gft(n){let e,t,r;return t=new Ht({props:{noPadding:!0,$$slots:{default:[mft]},$$scope:{ctx:n}}}),{c(){e=K("div"),D(t.$$.fragment),I(e,"class","container svelte-69vx2r")},m(i,a){M(i,e,a),T(t,e,null),r=!0},p(i,a){const o={};a[0]&31|a[1]&16&&(o.$$scope={dirty:a,ctx:i}),t.$set(o)},i(i){r||(_(t.$$.fragment,i),r=!0)},o(i){y(t.$$.fragment,i),r=!1},d(i){i&&A(e),O(t)}}}function vft(n){let e,t;return e=new dd({props:{$$slots:{default:[gft]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i[0]&31|i[1]&16&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}const VA=150;function _ft(n,e,t){let r,i,a;Pe(n,_3,fe=>t(2,a=fe));let{conditions:o=[]}=e,{bindings:l=[]}=e;const s=[{label:"Hide component",value:"hide"},{label:"Show component",value:"show"},{label:"Update setting",value:"update"}],u=[{value:"string",label:"Binding"},{value:"number",label:"Number"},{value:"datetime",label:"Date"},{value:"boolean",label:"Boolean"}];let c=!0;const f=fe=>r.find(ke=>ke.key===fe),p=()=>{t(0,o=[...o,{valueType:"string",id:Vf.exports.generate(),action:"hide",operator:h2.Equals.value}])},h=fe=>{t(0,o=o.filter(ke=>ke.id!==fe))},g=fe=>{const he={...o.find(ye=>ye.id===fe),id:Vf.exports.generate()};t(0,o=[...o,he])},b=fe=>{w(fe),t(3,c=!0)},w=fe=>{t(0,o=fe.detail.items)},k=fe=>Iz(fe.valueType),S=(fe,ke)=>{const he=[h2.Empty.value,h2.NotEmpty.value];fe.noValue=he.includes(ke),(fe.noValue||ke==="oneOf")&&(fe.referenceValue=null,fe.valueType="string")},L=(fe,ke)=>{var ye;fe.referenceValue=null;const he=Iz(ke).map(ve=>ve.value);he.includes(fe.operator)||(fe.operator=(ye=he[0])!=null?ye:h2.Equals.value,S(fe,fe.operator))},B=()=>t(3,c=!1);function R(fe,ke){n.$$.not_equal(ke.action,fe)&&(ke.action=fe,t(0,o))}function U(fe,ke){n.$$.not_equal(ke.setting,fe)&&(ke.setting=fe,t(0,o))}const x=(fe,ke,he,ye)=>t(0,ke[he].settingValue=ye,o),W=(fe,ke,he,ye)=>t(0,ke[he].newValue=ye.detail,o);function Y(fe,ke){n.$$.not_equal(ke.operator,fe)&&(ke.operator=fe,t(0,o))}const Z=(fe,ke)=>S(fe,ke.detail);function te(fe,ke){n.$$.not_equal(ke.valueType,fe)&&(ke.valueType=fe,t(0,o))}const ue=(fe,ke)=>L(fe,ke.detail),se=(fe,ke,he,ye)=>t(0,ke[he].referenceValue=ye.detail,o);function ee(fe,ke){n.$$.not_equal(ke.referenceValue,fe)&&(ke.referenceValue=fe,t(0,o))}function X(fe,ke){n.$$.not_equal(ke.referenceValue,fe)&&(ke.referenceValue=fe,t(0,o))}const re=fe=>g(fe.id),le=fe=>h(fe.id);return n.$$set=fe=>{"conditions"in fe&&t(0,o=fe.conditions),"bindings"in fe&&t(1,l=fe.bindings)},n.$$.update=()=>{var fe;n.$$.dirty[0]&4&&t(16,r=(fe=Wh(a==null?void 0:a._component))==null?void 0:fe.concat({label:"Custom CSS",key:"_css",type:"text"})),n.$$.dirty[0]&65536&&t(4,i=r.map(ke=>({label:ke.label,value:ke.key}))),n.$$.dirty[0]&1&&o.forEach(ke=>{ke.id||(ke.id=Vf.exports.generate())})},[o,l,a,c,i,s,u,f,p,h,g,b,w,k,S,L,r,B,R,U,x,W,Y,Z,te,ue,se,ee,X,re,le]}class bft extends He{constructor(e){super(),Be(this,e,_ft,vft,De,{conditions:0,bindings:1},null,[-1,-1])}}function yft(n){let e;return{c(){e=oe("Configure conditions")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function $ft(n){let e,t,r,i,a,o;return a=new Jr({props:{$$slots:{default:[yft]},$$scope:{ctx:n}}}),a.$on("click",n[4]),{c(){e=K("div"),t=oe(n[3]),r=q(),i=K("div"),D(a.$$.fragment),I(e,"class","conditionCount svelte-gl19jt")},m(l,s){M(l,e,s),N(e,t),M(l,r,s),M(l,i,s),T(a,i,null),o=!0},p(l,s){(!o||s&8)&&ht(t,l[3]);const u={};s&2048&&(u.$$scope={dirty:s,ctx:l}),a.$set(u)},i(l){o||(_(a.$$.fragment,l),o=!0)},o(l){y(a.$$.fragment,l),o=!1},d(l){l&&A(e),l&&A(r),l&&A(i),O(a)}}}function wft(n){let e;return{c(){e=oe("Show, hide and update components in response to conditions being met.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function kft(n){let e;return{c(){e=oe("Save")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function zft(n){let e,t;return e=new gn({props:{cta:!0,slot:"buttons",$$slots:{default:[kft]},$$scope:{ctx:n}}}),e.$on("click",n[9]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&2048&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Aft(n){let e,t,r;function i(o){n[8](o)}let a={slot:"body",bindings:n[0]};return n[1]!==void 0&&(a.conditions=n[1]),e=new bft({props:a}),Oe.push(()=>tt(e,"conditions",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){const s={};l&1&&(s.bindings=o[0]),!t&&l&2&&(t=!0,s.conditions=o[1],nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function Mft(n){let e,t,r,i;e=new Z6({props:{name:"Conditions",collapsible:!1,$$slots:{default:[$ft]},$$scope:{ctx:n}}});let a={title:"Conditions",$$slots:{body:[Aft],buttons:[zft],description:[wft]},$$scope:{ctx:n}};return r=new pp({props:a}),n[10](r),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,[l]){const s={};l&2056&&(s.$$scope={dirty:l,ctx:o}),e.$set(s);const u={};l&2051&&(u.$$scope={dirty:l,ctx:o}),r.$set(u)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),n[10](null),O(r,o)}}}function Sft(n,e,t){let r,i,{componentInstance:a}=e,{bindings:o}=e,l,s;const u=()=>{var g;t(1,l=JSON.parse(JSON.stringify((g=a==null?void 0:a._conditions)!=null?g:[]))),s.show()},c=async()=>{try{await Gt.actions.components.updateConditions(l)}catch{wt.error("Error updating conditions")}s.hide()};function f(g){l=g,t(1,l)}const p=()=>c();function h(g){Oe[g?"unshift":"push"](()=>{s=g,t(2,s)})}return n.$$set=g=>{"componentInstance"in g&&t(6,a=g.componentInstance),"bindings"in g&&t(0,o=g.bindings)},n.$$.update=()=>{var g;n.$$.dirty&64&&t(7,r=(g=a==null?void 0:a._conditions)==null?void 0:g.length),n.$$.dirty&128&&t(3,i=`${r||"No"} condition${r!==1?"s":""} set`)},[o,l,s,i,u,c,a,r,f,p,h]}class Cft extends He{constructor(e){super(),Be(this,e,Sft,Mft,De,{componentInstance:6,bindings:0})}}function Lft(n){let e,t,r,i,a=n[0].name+"",o,l,s=n[0].info+"",u,c;return r=new hn({props:{name:"HelpOutline"}}),{c(){e=K("div"),t=K("div"),D(r.$$.fragment),i=q(),o=oe(a),l=q(),u=oe(s),I(t,"class","title svelte-1qbj35w"),I(e,"class","info svelte-1qbj35w")},m(f,p){M(f,e,p),N(e,t),T(r,t,null),N(t,i),N(t,o),N(e,l),N(e,u),c=!0},p(f,p){(!c||p&1)&&a!==(a=f[0].name+"")&&ht(o,a),(!c||p&1)&&s!==(s=f[0].info+"")&&ht(u,s)},i(f){c||(_(r.$$.fragment,f),c=!0)},o(f){y(r.$$.fragment,f),c=!1},d(f){f&&A(e),O(r)}}}function Eft(n){let e,t;return e=new Z6({props:{collapsible:!1,$$slots:{default:[Lft]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&3&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Tft(n,e,t){let{componentDefinition:r}=e;return n.$$set=i=>{"componentDefinition"in i&&t(0,r=i.componentDefinition)},[r]}class Oft extends He{constructor(e){super(),Be(this,e,Tft,Eft,De,{componentDefinition:0})}}function QU(n){let e=n[1]._id,t,r,i=ex(n);return{c(){i.c(),t=yt()},m(a,o){i.m(a,o),M(a,t,o),r=!0},p(a,o){o&2&&De(e,e=a[1]._id)?(Ae(),y(i,1,1,at),Me(),i=ex(a),i.c(),_(i,1),i.m(t.parentNode,t)):i.p(a,o)},i(a){r||(_(i),r=!0)},o(a){y(i),r=!1},d(a){a&&A(t),i.d(a)}}}function ZU(n){let e,t;return e=new Oft({props:{componentDefinition:n[5]}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&32&&(a.componentDefinition=r[5]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Dft(n){let e,t,r,i,a,o,l,s,u,c=n[5].info&&ZU(n);return t=new Vct({props:{componentInstance:n[6],componentDefinition:n[5],bindings:n[4],componentBindings:n[3],isScreen:n[0]}}),i=new Xct({props:{componentInstance:n[6],componentDefinition:n[5],bindings:n[4]}}),o=new aft({props:{componentInstance:n[6],componentDefinition:n[5],bindings:n[4]}}),s=new Cft({props:{componentInstance:n[6],componentDefinition:n[5],bindings:n[4]}}),{c(){c&&c.c(),e=q(),D(t.$$.fragment),r=q(),D(i.$$.fragment),a=q(),D(o.$$.fragment),l=q(),D(s.$$.fragment)},m(f,p){c&&c.m(f,p),M(f,e,p),T(t,f,p),M(f,r,p),T(i,f,p),M(f,a,p),T(o,f,p),M(f,l,p),T(s,f,p),u=!0},p(f,p){f[5].info?c?(c.p(f,p),p&32&&_(c,1)):(c=ZU(f),c.c(),_(c,1),c.m(e.parentNode,e)):c&&(Ae(),y(c,1,1,()=>{c=null}),Me());const h={};p&64&&(h.componentInstance=f[6]),p&32&&(h.componentDefinition=f[5]),p&16&&(h.bindings=f[4]),p&8&&(h.componentBindings=f[3]),p&1&&(h.isScreen=f[0]),t.$set(h);const g={};p&64&&(g.componentInstance=f[6]),p&32&&(g.componentDefinition=f[5]),p&16&&(g.bindings=f[4]),i.$set(g);const b={};p&64&&(b.componentInstance=f[6]),p&32&&(b.componentDefinition=f[5]),p&16&&(b.bindings=f[4]),o.$set(b);const w={};p&64&&(w.componentInstance=f[6]),p&32&&(w.componentDefinition=f[5]),p&16&&(w.bindings=f[4]),s.$set(w)},i(f){u||(_(c),_(t.$$.fragment,f),_(i.$$.fragment,f),_(o.$$.fragment,f),_(s.$$.fragment,f),u=!0)},o(f){y(c),y(t.$$.fragment,f),y(i.$$.fragment,f),y(o.$$.fragment,f),y(s.$$.fragment,f),u=!1},d(f){c&&c.d(f),f&&A(e),O(t,f),f&&A(r),O(i,f),f&&A(a),O(o,f),f&&A(l),O(s,f)}}}function ex(n){var r;let e,t;return e=new Vp({props:{title:n[2],icon:(r=n[5])==null?void 0:r.icon,borderLeft:!0,$$slots:{default:[Dft]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,a){var l;const o={};a&4&&(o.title=i[2]),a&32&&(o.icon=(l=i[5])==null?void 0:l.icon),a&633&&(o.$$scope={dirty:a,ctx:i}),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){O(e,i)}}}function Ift(n){let e,t,r=n[1]&&QU(n);return{c(){r&&r.c(),e=yt()},m(i,a){r&&r.m(i,a),M(i,e,a),t=!0},p(i,[a]){i[1]?r?(r.p(i,a),a&2&&_(r,1)):(r=QU(i),r.c(),_(r,1),r.m(e.parentNode,e)):r&&(Ae(),y(r,1,1,()=>{r=null}),Me())},i(i){t||(_(r),t=!0)},o(i){y(r),t=!1},d(i){r&&r.d(i),i&&A(e)}}}function Bft(n,e,t){let r,i,a,o,l,s,u,c,f;return Pe(n,_3,p=>t(1,u=p)),Pe(n,F1,p=>t(7,c=p)),Pe(n,Gt,p=>t(8,f=p)),n.$$.update=()=>{n.$$.dirty&2&&t(6,r=u),n.$$.dirty&2&&t(5,i=Gt.actions.components.getDefinition(u==null?void 0:u._component)),n.$$.dirty&384&&t(4,a=yS(c,f.selectedComponentId)),n.$$.dirty&384&&t(3,o=W7e(c,f.selectedComponentId)),n.$$.dirty&130&&t(0,l=(u==null?void 0:u._id)===(c==null?void 0:c.props._id)),n.$$.dirty&3&&t(2,s=l?"Screen":u==null?void 0:u._instanceName)},[l,u,s,o,a,i,r,c,f]}class Hft extends He{constructor(e){super(),Be(this,e,Bft,Ift,De,{})}}function Pft(n){let e,t,r,i,a;e=new rat({}),r=new Hft({});const o=n[1].default,l=Bn(o,n,n[0],null);return{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment),i=q(),l&&l.c()},m(s,u){T(e,s,u),M(s,t,u),T(r,s,u),M(s,i,u),l&&l.m(s,u),a=!0},p(s,[u]){l&&l.p&&(!a||u&1)&&Pn(l,o,s,s[0],a?Hn(o,s[0],u,null):Rn(s[0]),null)},i(s){a||(_(e.$$.fragment,s),_(r.$$.fragment,s),_(l,s),a=!0)},o(s){y(e.$$.fragment,s),y(r.$$.fragment,s),y(l,s),a=!1},d(s){O(e,s),s&&A(t),O(r,s),s&&A(i),l&&l.d(s)}}}function Rft(n,e,t){let r;Pe(n,F1,s=>t(2,r=s));let{$$slots:i={},$$scope:a}=e;const l=y4({urlParam:"componentId",stateKey:"selectedComponentId",validate:s=>!!Ru(r.props,s),fallbackUrl:"../",store:Gt,routify:Zd,beforeNavigate:s=>(s!=null&&s.endsWith("/index")&&(s=s.replace("/index","")),s!=null&&s.endsWith("/new")&&(s=s.replace("/new","")),{url:s})});return Uf(l),n.$$set=s=>{"$$scope"in s&&t(0,a=s.$$scope)},[a,i]}class Vft extends He{constructor(e){super(),Be(this,e,Rft,Pft,De,{})}}function Nft(n,e,t){let r,i,a;return Pe(n,Da,o=>t(0,r=o)),Pe(n,F1,o=>t(1,i=o)),Pe(n,_3,o=>t(2,a=o)),Zn(()=>{r(a?`./${a._id}`:i?`./${i.props._id}`:"../")}),[]}class Fft extends He{constructor(e){super(),Be(this,e,Nft,null,De,{})}}function jft(n,e,t){let r;return Pe(n,Da,i=>t(0,r=i)),r("./screens"),[]}class Uft extends He{constructor(e){super(),Be(this,e,jft,null,De,{})}}function xft(n){let e;return{c(){e=oe("Delete")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function qft(n){let e,t;return e=new Xr({props:{icon:"Delete",$$slots:{default:[xft]},$$scope:{ctx:n}}}),e.$on("click",function(){mn(n[0].show)&&n[0].show.apply(this,arguments)}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){n=r;const a={};i&16&&(a.$$scope={dirty:i,ctx:n}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Wft(n){let e,t,r;return t=new hn({props:{size:"S",hoverable:!0,name:"MoreSmallList"}}),{c(){e=K("div"),D(t.$$.fragment),I(e,"slot","control"),I(e,"class","icon svelte-u6s22l")},m(i,a){M(i,e,a),T(t,e,null),r=!0},p:at,i(i){r||(_(t.$$.fragment,i),r=!0)},o(i){y(t.$$.fragment,i),r=!1},d(i){i&&A(e),O(t)}}}function Gft(n){let e,t,r,i;e=new wc({props:{$$slots:{control:[Wft],default:[qft]},$$scope:{ctx:n}}});let a={title:"Confirm Deletion",body:"Are you sure you wish to delete this layout?",okText:"Delete layout",onOk:n[1]};return r=new qo({props:a}),n[3](r),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,[l]){const s={};l&17&&(s.$$scope={dirty:l,ctx:o}),e.$set(s);const u={};r.$set(u)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),n[3](null),O(r,o)}}}function Yft(n,e,t){let{layout:r}=e,i;const a=async()=>{try{await Gt.actions.layouts.delete(r),wt.success("Layout deleted successfully")}catch(l){wt.error((l==null?void 0:l.message)||"Error deleting layout")}};function o(l){Oe[l?"unshift":"push"](()=>{i=l,t(0,i)})}return n.$$set=l=>{"layout"in l&&t(2,r=l.layout)},[i,a,r,o]}class Kft extends He{constructor(e){super(),Be(this,e,Yft,Gft,De,{layout:2})}}function tx(n,e,t){const r=n.slice();return r[2]=e[t],r}function Xft(n){let e,t,r;return e=new Kft({props:{layout:n[2]}}),{c(){D(e.$$.fragment),t=q()},m(i,a){T(e,i,a),M(i,t,a),r=!0},p(i,a){const o={};a&1&&(o.layout=i[2]),e.$set(o)},i(i){r||(_(e.$$.fragment,i),r=!0)},o(i){y(e.$$.fragment,i),r=!1},d(i){O(e,i),i&&A(t)}}}function nx(n,e){let t,r,i;function a(){return e[1](e[2])}return r=new b5({props:{icon:"Experience",indentLevel:0,selected:e[0].selectedLayoutId===e[2]._id,text:e[2].name,$$slots:{default:[Xft]},$$scope:{ctx:e}}}),r.$on("click",a),{key:n,first:null,c(){t=yt(),D(r.$$.fragment),this.first=t},m(o,l){M(o,t,l),T(r,o,l),i=!0},p(o,l){e=o;const s={};l&1&&(s.selected=e[0].selectedLayoutId===e[2]._id),l&1&&(s.text=e[2].name),l&33&&(s.$$scope={dirty:l,ctx:e}),r.$set(s)},i(o){i||(_(r.$$.fragment,o),i=!0)},o(o){y(r.$$.fragment,o),i=!1},d(o){o&&A(t),O(r,o)}}}function Jft(n){let e,t=[],r=new Map,i,a=n[0].layouts;const o=l=>l[2]._id;for(let l=0;l<a.length;l+=1){let s=tx(n,a,l),u=o(s);r.set(u,t[l]=nx(u,s))}return{c(){e=K("div");for(let l=0;l<t.length;l+=1)t[l].c();I(e,"class","layouts svelte-1yaxv10")},m(l,s){M(l,e,s);for(let u=0;u<t.length;u+=1)t[u].m(e,null);i=!0},p(l,s){s&1&&(a=l[0].layouts,Ae(),t=P0(t,s,o,1,l,a,r,e,xf,nx,null,tx),Me())},i(l){if(!i){for(let s=0;s<a.length;s+=1)_(t[s]);i=!0}},o(l){for(let s=0;s<t.length;s+=1)y(t[s]);i=!1},d(l){l&&A(e);for(let s=0;s<t.length;s+=1)t[s].d()}}}function Qft(n){let e,t;return e=new Vp({props:{title:"Layouts",borderRight:!0,$$slots:{default:[Jft]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&33&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Zft(n,e,t){let r;return Pe(n,Gt,a=>t(0,r=a)),[r,a=>Gt.actions.layouts.select(a._id)]}class e2t extends He{constructor(e){super(),Be(this,e,Zft,Qft,De,{})}}function t2t(n){let e;return{c(){e=oe(`Custom layouts are being deprecated. They will be removed in a future
|
|
897
|
+
and their appearance, by adding them below.`)},m(i,a){M(i,e,a),M(i,t,a),M(i,r,a)},p:at,d(i){i&&A(e),i&&A(t),i&&A(r)}}}function uct(n){let e;return{c(){e=oe("Column")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function cct(n){let e;return{c(){e=oe("Label")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function CU(n){let e,t,r;function i(o){n[16](o,n[20],n[21],n[22])}let a={};return n[20]!==void 0&&(a.column=n[20]),e=new act({props:a}),Oe.push(()=>tt(e,"column",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){n=o;const s={};!t&&l&1&&(t=!0,s.column=n[20],nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function LU(n,e){let t,r,i,a,o,l,s,u,c,f,p,h,g,b,w,k=at,S,L,B;i=new hn({props:{name:"DragHandle",size:"XL"}});function R(ue){e[13](ue,e[20])}function U(...ue){return e[14](e[20],e[21],e[22],...ue)}let x={placeholder:"Column",options:e[3](e[20].name)};e[20].name!==void 0&&(x.value=e[20].name),l=new vn({props:x}),Oe.push(()=>tt(l,"value",R)),l.$on("change",U);function W(ue){e[15](ue,e[20])}let Y={placeholder:"Label"};e[20].displayName!==void 0&&(Y.value=e[20].displayName),c=new En({props:Y}),Oe.push(()=>tt(c,"value",W));let Z=e[1]&&CU(e);function te(){return e[17](e[20])}return g=new hn({props:{name:"Close",hoverable:!0,size:"S",disabled:e[0].length===1}}),g.$on("click",te),{key:n,first:null,c(){t=K("div"),r=K("div"),D(i.$$.fragment),o=q(),D(l.$$.fragment),u=q(),D(c.$$.fragment),p=q(),Z&&Z.c(),h=q(),D(g.$$.fragment),b=q(),I(r,"class","handle svelte-17kmdew"),I(r,"aria-label","drag-handle"),I(r,"style",a=e[2]?"cursor: grab":"cursor: grabbing"),I(t,"class","column svelte-17kmdew"),this.first=t},m(ue,se){M(ue,t,se),N(t,r),T(i,r,null),N(t,o),T(l,t,null),N(t,u),T(c,t,null),N(t,p),Z&&Z.m(t,null),N(t,h),T(g,t,null),N(t,b),S=!0,L||(B=zt(r,"mousedown",e[12]),L=!0)},p(ue,se){e=ue,(!S||se&4&&a!==(a=e[2]?"cursor: grab":"cursor: grabbing"))&&I(r,"style",a);const ee={};se&1&&(ee.options=e[3](e[20].name)),!s&&se&1&&(s=!0,ee.value=e[20].name,nt(()=>s=!1)),l.$set(ee);const X={};!f&&se&1&&(f=!0,X.value=e[20].displayName,nt(()=>f=!1)),c.$set(X),e[1]?Z?(Z.p(e,se),se&2&&_(Z,1)):(Z=CU(e),Z.c(),_(Z,1),Z.m(t,h)):Z&&(Ae(),y(Z,1,1,()=>{Z=null}),Me());const re={};se&1&&(re.disabled=e[0].length===1),g.$set(re)},r(){w=t.getBoundingClientRect()},f(){lv(t),k()},a(){k(),k=ov(t,w,Tv,{duration:PA})},i(ue){S||(_(i.$$.fragment,ue),_(l.$$.fragment,ue),_(c.$$.fragment,ue),_(Z),_(g.$$.fragment,ue),S=!0)},o(ue){y(i.$$.fragment,ue),y(l.$$.fragment,ue),y(c.$$.fragment,ue),y(Z),y(g.$$.fragment,ue),S=!1},d(ue){ue&&A(t),O(i),O(l),O(c),Z&&Z.d(),O(g),L=!1,B()}}}function fct(n){let e,t,r,i,a,o,l,s,u,c,f,p,h=[],g=new Map,b,w,k,S;i=new un({props:{size:"L",$$slots:{default:[uct]},$$scope:{ctx:n}}}),o=new un({props:{size:"L",$$slots:{default:[cct]},$$scope:{ctx:n}}});let L=n[0];const B=R=>R[20].id;for(let R=0;R<L.length;R+=1){let U=SU(n,L,R),x=B(U);g.set(x,h[R]=LU(x,U))}return{c(){e=K("div"),t=K("div"),r=q(),D(i.$$.fragment),a=q(),D(o.$$.fragment),l=q(),s=K("div"),u=q(),c=K("div"),f=q(),p=K("div");for(let R=0;R<h.length;R+=1)h[R].c();I(e,"class","column svelte-17kmdew"),I(p,"class","columns svelte-17kmdew")},m(R,U){M(R,e,U),N(e,t),N(e,r),T(i,e,null),N(e,a),T(o,e,null),N(e,l),N(e,s),N(e,u),N(e,c),M(R,f,U),M(R,p,U);for(let x=0;x<h.length;x+=1)h[x].m(p,null);w=!0,k||(S=[Ps(b=q$.call(null,p,{items:n[0],flipDurationMs:PA,dropTargetStyle:{outline:"none"},dragDisabled:n[2]})),zt(p,"finalize",n[7]),zt(p,"consider",n[6])],k=!0)},p(R,U){const x={};U&8388608&&(x.$$scope={dirty:U,ctx:R}),i.$set(x);const W={};if(U&8388608&&(W.$$scope={dirty:U,ctx:R}),o.$set(W),U&47){L=R[0],Ae();for(let Y=0;Y<h.length;Y+=1)h[Y].r();h=P0(h,U,B,1,R,L,g,p,sv,LU,null,SU);for(let Y=0;Y<h.length;Y+=1)h[Y].a();Me()}b&&mn(b.update)&&U&5&&b.update.call(null,{items:R[0],flipDurationMs:PA,dropTargetStyle:{outline:"none"},dragDisabled:R[2]})},i(R){if(!w){_(i.$$.fragment,R),_(o.$$.fragment,R);for(let U=0;U<L.length;U+=1)_(h[U]);w=!0}},o(R){y(i.$$.fragment,R),y(o.$$.fragment,R);for(let U=0;U<h.length;U+=1)y(h[U]);w=!1},d(R){R&&A(e),O(i),O(o),R&&A(f),R&&A(p);for(let U=0;U<h.length;U+=1)h[U].d();k=!1,Mi(S)}}}function pct(n){let e;return{c(){e=oe("Add column")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function dct(n){let e;return{c(){e=oe("Add all columns")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function EU(n){let e,t;return e=new gn({props:{secondary:!0,quiet:!0,$$slots:{default:[hct]},$$scope:{ctx:n}}}),e.$on("click",n[9]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&8388608&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function hct(n){let e;return{c(){e=oe("Reset columns")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function mct(n){var b;let e,t,r,i,a,o,l,s,u,c;const f=[lct,oct],p=[];function h(w,k){var S;return(S=w[0])!=null&&S.length?0:1}e=h(n),t=p[e]=f[e](n),o=new gn({props:{secondary:!0,icon:"Add",$$slots:{default:[pct]},$$scope:{ctx:n}}}),o.$on("click",n[4]),s=new gn({props:{secondary:!0,quiet:!0,$$slots:{default:[dct]},$$scope:{ctx:n}}}),s.$on("click",n[8]);let g=((b=n[0])==null?void 0:b.length)&&EU(n);return{c(){t.c(),r=q(),i=K("div"),a=K("div"),D(o.$$.fragment),l=q(),D(s.$$.fragment),u=q(),g&&g.c(),I(a,"class","buttons wide svelte-17kmdew"),I(i,"class","column svelte-17kmdew")},m(w,k){p[e].m(w,k),M(w,r,k),M(w,i,k),N(i,a),T(o,a,null),N(a,l),T(s,a,null),N(a,u),g&&g.m(a,null),c=!0},p(w,k){var R;let S=e;e=h(w),e===S?p[e].p(w,k):(Ae(),y(p[S],1,1,()=>{p[S]=null}),Me(),t=p[e],t?t.p(w,k):(t=p[e]=f[e](w),t.c()),_(t,1),t.m(r.parentNode,r));const L={};k&8388608&&(L.$$scope={dirty:k,ctx:w}),o.$set(L);const B={};k&8388608&&(B.$$scope={dirty:k,ctx:w}),s.$set(B),(R=w[0])!=null&&R.length?g?(g.p(w,k),k&1&&_(g,1)):(g=EU(w),g.c(),_(g,1),g.m(a,null)):g&&(Ae(),y(g,1,1,()=>{g=null}),Me())},i(w){c||(_(t),_(o.$$.fragment,w),_(s.$$.fragment,w),_(g),c=!0)},o(w){y(t),y(o.$$.fragment,w),y(s.$$.fragment,w),y(g),c=!1},d(w){p[e].d(w),w&&A(r),w&&A(i),O(o),O(s),g&&g.d()}}}function gct(n){let e,t,r;return t=new Ht({props:{noPadding:!0,gap:"S",$$slots:{default:[mct]},$$scope:{ctx:n}}}),{c(){e=K("div"),D(t.$$.fragment),I(e,"class","container svelte-17kmdew")},m(i,a){M(i,e,a),T(t,e,null),r=!0},p(i,a){const o={};a&8388615&&(o.$$scope={dirty:a,ctx:i}),t.$set(o)},i(i){r||(_(t.$$.fragment,i),r=!0)},o(i){y(t.$$.fragment,i),r=!1},d(i){i&&A(e),O(t)}}}function vct(n){let e,t;return e=new dd({props:{$$slots:{default:[gct]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&8388615&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}const PA=150;function _ct(n,e,t){let r,{columns:i=[]}=e,{options:a=[]}=e,{schema:o={}}=e,{allowCellEditing:l=!0}=e,s=!0;const u=(x,W)=>{let Y={};return x.forEach(Z=>{Y[Z]=!0}),W==null||W.forEach(Z=>{delete Y[Z.name]}),Object.keys(Y)},c=x=>!x||r.includes(x)?r:[x,...r],f=()=>{t(0,i=[...i,{}])},p=x=>{t(0,i=i.filter(W=>W.id!==x))},h=x=>{t(0,i=x.detail.items)},g=x=>{h(x),t(2,s=!0)},b=()=>{let x=i||[];a.forEach(W=>{const Y=o[W],Z=i&&i.findIndex(te=>te.name===W)!==-1;!(Y!=null&&Y.autocolumn)&&!Z&&x.push({name:W,displayName:W})}),t(0,i=x)},w=()=>{t(0,i=[])},k=()=>t(2,s=!1);function S(x,W){n.$$.not_equal(W.name,x)&&(W.name=x,t(0,i))}const L=(x,W,Y,Z)=>t(0,W[Y].displayName=Z.detail,i);function B(x,W){n.$$.not_equal(W.displayName,x)&&(W.displayName=x,t(0,i))}function R(x,W,Y,Z){Y[Z]=x,t(0,i)}const U=x=>p(x.id);return n.$$set=x=>{"columns"in x&&t(0,i=x.columns),"options"in x&&t(10,a=x.options),"schema"in x&&t(11,o=x.schema),"allowCellEditing"in x&&t(1,l=x.allowCellEditing)},n.$$.update=()=>{n.$$.dirty&1025&&(r=u(a,i)),n.$$.dirty&1&&i.forEach(x=>{x.id||(x.id=Vf.exports.generate())})},[i,l,s,c,f,p,h,g,b,w,a,o,k,S,L,B,R,U]}class bct extends He{constructor(e){super(),Be(this,e,_ct,vct,De,{columns:0,options:10,schema:11,allowCellEditing:1})}}function yct(n){let e;return{c(){e=oe("Configure columns")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function $ct(n){let e,t=n[1].toLowerCase()+"",r,i;return{c(){e=oe("Configure the columns in your "),r=oe(t),i=oe(".")},m(a,o){M(a,e,o),M(a,r,o),M(a,i,o)},p(a,o){o&2&&t!==(t=a[1].toLowerCase()+"")&&ht(r,t)},d(a){a&&A(e),a&&A(r),a&&A(i)}}}function wct(n){let e;return{c(){e=oe("Save")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function kct(n){let e,t;return e=new gn({props:{cta:!0,slot:"buttons",$$slots:{default:[wct]},$$scope:{ctx:n}}}),e.$on("click",n[7]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&524288&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function zct(n){let e,t,r;function i(o){n[13](o)}let a={slot:"body",options:n[2],schema:n[3],allowCellEditing:n[0]};return n[5]!==void 0&&(a.columns=n[5]),e=new bct({props:a}),Oe.push(()=>tt(e,"columns",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){const s={};l&4&&(s.options=o[2]),l&8&&(s.schema=o[3]),l&1&&(s.allowCellEditing=o[0]),!t&&l&32&&(t=!0,s.columns=o[5],nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function Act(n){let e,t,r,i;e=new Jr({props:{$$slots:{default:[yct]},$$scope:{ctx:n}}}),e.$on("click",n[6]);let a={title:n[1]+" Columns",$$slots:{body:[zct],buttons:[kct],description:[$ct]},$$scope:{ctx:n}};return r=new pp({props:a}),n[14](r),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,[l]){const s={};l&524288&&(s.$$scope={dirty:l,ctx:o}),e.$set(s);const u={};l&2&&(u.title=o[1]+" Columns"),l&524335&&(u.$$scope={dirty:l,ctx:o}),r.$set(u)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),n[14](null),O(r,o)}}}function Mct(n,e,t){let r,i,a,o,l;Pe(n,us,U=>t(12,l=U));let{componentInstance:s}=e,{value:u=[]}=e,{allowCellEditing:c=!0}=e,{subject:f="Table"}=e;const p=Nn();let h,g;const b=(U,x)=>{const W=k2(U,x).schema;return W&&(delete W._id,delete W._rev),W},w=U=>{t(5,g=na.cloneDeep(U))},k=(U,x)=>!Array.isArray(U)||!U.length?[]:(typeof U[0]=="string"&&(U=U.map(W=>({name:W,displayName:W}))),U.filter(W=>x.includes(W.name))),S=()=>{w(o),h.show()},L=()=>{p("change",k(g,a)),h.hide()};function B(U){g=U,t(5,g)}function R(U){Oe[U?"unshift":"push"](()=>{h=U,t(4,h)})}return n.$$set=U=>{"componentInstance"in U&&t(8,s=U.componentInstance),"value"in U&&t(9,u=U.value),"allowCellEditing"in U&&t(0,c=U.allowCellEditing),"subject"in U&&t(1,f=U.subject)},n.$$.update=()=>{n.$$.dirty&4352&&t(11,r=A3(l,s)),n.$$.dirty&6144&&t(3,i=b(l,r)),n.$$.dirty&8&&t(2,a=Object.keys(i||{})),n.$$.dirty&516&&t(10,o=k(u,a)),n.$$.dirty&1024&&w(o)},[c,f,a,i,h,g,S,L,s,u,o,r,l,B,R]}class Qre extends He{constructor(e){super(),Be(this,e,Mct,Act,De,{componentInstance:8,value:9,allowCellEditing:0,subject:1})}}function Sct(n){let e,t;const r=[n[0],{allowCellEditing:!1},{subject:"Dynamic Filter"}];let i={};for(let a=0;a<r.length;a+=1)i=h0(i,r[a]);return e=new Qre({props:i}),e.$on("change",n[1]),{c(){D(e.$$.fragment)},m(a,o){T(e,a,o),t=!0},p(a,[o]){const l=o&1?h4(r,[am(a[0]),r[1],r[2]]):{};e.$set(l)},i(a){t||(_(e.$$.fragment,a),t=!0)},o(a){y(e.$$.fragment,a),t=!1},d(a){O(e,a)}}}function Cct(n,e,t){function r(i){An.call(this,n,i)}return n.$$set=i=>{t(0,e=h0(h0({},e),Rh(i)))},e=Rh(e),[e,r]}class Lct extends He{constructor(e){super(),Be(this,e,Cct,Sct,De,{})}}function TU(n,e,t){const r=n.slice();return r[4]=e[t],r}function OU(n){let e,t;function r(){return n[3](n[4])}return e=new Jr({props:{icon:n[4].barIcon,quiet:!0,selected:n[4].value===n[0]}}),e.$on("click",r),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,a){n=i;const o={};a&4&&(o.icon=n[4].barIcon),a&5&&(o.selected=n[4].value===n[0]),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){O(e,i)}}}function Ect(n){let e,t,r=n[2],i=[];for(let o=0;o<r.length;o+=1)i[o]=OU(TU(n,r,o));const a=o=>y(i[o],1,1,()=>{i[o]=null});return{c(){for(let o=0;o<i.length;o+=1)i[o].c();e=yt()},m(o,l){for(let s=0;s<i.length;s+=1)i[s].m(o,l);M(o,e,l),t=!0},p(o,l){if(l&7){r=o[2];let s;for(s=0;s<r.length;s+=1){const u=TU(o,r,s);i[s]?(i[s].p(u,l),_(i[s],1)):(i[s]=OU(u),i[s].c(),_(i[s],1),i[s].m(e.parentNode,e))}for(Ae(),s=r.length;s<i.length;s+=1)a(s);Me()}},i(o){if(!t){for(let l=0;l<r.length;l+=1)_(i[l]);t=!0}},o(o){i=i.filter(Boolean);for(let l=0;l<i.length;l+=1)y(i[l]);t=!1},d(o){Mn(i,o),o&&A(e)}}}function Tct(n){let e,t;return e=new Py({props:{$$slots:{default:[Ect]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&135&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Oct(n,e,t){let{value:r}=e,{onChange:i}=e,{options:a}=e;const o=l=>i(l.value);return n.$$set=l=>{"value"in l&&t(0,r=l.value),"onChange"in l&&t(1,i=l.onChange),"options"in l&&t(2,a=l.options)},[r,i,a,o]}class Dct extends He{constructor(e){super(),Be(this,e,Oct,Tct,De,{value:0,onChange:1,options:2})}}const Ict={text:Jre,select:vn,radio:Ry,dataSource:Tre,"dataSource/s3":xat,dataProvider:Yat,boolean:Rs,number:YX,event:Xre,table:Qst,color:IC,icon:c0t,field:d0t,multifield:b0t,searchfield:w0t,options:fut,schema:A0t,section:O0t,filter:V0t,url:Y0t,columns:Qre,"columns/basic":Lct,"field/sortable":g0t,"field/string":t3,"field/number":t3,"field/options":t3,"field/boolean":t3,"field/longform":t3,"field/datetime":t3,"field/attachment":t3,"field/link":t3,"field/array":t3,"field/json":t3,"field/barcodeqr":t3,"validation/string":fh,"validation/array":fh,"validation/number":fh,"validation/boolean":fh,"validation/datetime":fh,"validation/attachment":fh,"validation/link":fh},Q9=n=>{const{type:e,showInBar:t,barStyle:r}=n||{};return e?t&&e==="select"&&r==="buttons"?Dct:Ict[e]:null};function DU(n,e,t){const r=n.slice();return r[13]=e[t],r[15]=t,r}function IU(n,e,t){const r=n.slice();return r[16]=e[t],r}function BU(n){let e,t;return e=new Z6({props:{name:n[13].name,collapsible:!1,$$slots:{default:[Bct]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&32&&(a.name=r[13].name),i&524415&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function HU(n){let e,t;return e=new Ev({props:{control:En,label:"Name",key:"_instanceName",value:n[1]._instanceName,onChange:n[8]}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&2&&(a.value=r[1]._instanceName),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function PU(n){let e,t;function r(...i){return n[9](n[16],...i)}return e=new Ev({props:{type:n[16].type,control:Q9(n[16]),label:n[16].label,key:n[16].key,value:n[1][n[16].key],defaultValue:n[16].defaultValue,nested:n[16].nested,onChange:r,highlighted:n[6].highlightedSettingKey===n[16].key,info:n[16].info,props:{placeholder:n[16].placeholder||null,options:n[16].options||[],min:n[16].min||null,max:n[16].max||null},bindings:n[2],componentBindings:n[3],componentInstance:n[1],componentDefinition:n[0]}}),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,a){n=i;const o={};a&32&&(o.type=n[16].type),a&32&&(o.control=Q9(n[16])),a&32&&(o.label=n[16].label),a&32&&(o.key=n[16].key),a&34&&(o.value=n[1][n[16].key]),a&32&&(o.defaultValue=n[16].defaultValue),a&32&&(o.nested=n[16].nested),a&32&&(o.onChange=r),a&96&&(o.highlighted=n[6].highlightedSettingKey===n[16].key),a&32&&(o.info=n[16].info),a&32&&(o.props={placeholder:n[16].placeholder||null,options:n[16].options||[],min:n[16].min||null,max:n[16].max||null}),a&4&&(o.bindings=n[2]),a&8&&(o.componentBindings=n[3]),a&2&&(o.componentInstance=n[1]),a&1&&(o.componentDefinition=n[0]),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){O(e,i)}}}function RU(n,e){let t,r,i,a=e[16].visible&&PU(e);return{key:n,first:null,c(){t=yt(),a&&a.c(),r=yt(),this.first=t},m(o,l){M(o,t,l),a&&a.m(o,l),M(o,r,l),i=!0},p(o,l){e=o,e[16].visible?a?(a.p(e,l),l&32&&_(a,1)):(a=PU(e),a.c(),_(a,1),a.m(r.parentNode,r)):a&&(Ae(),y(a,1,1,()=>{a=null}),Me())},i(o){i||(_(a),i=!0)},o(o){y(a),i=!1},d(o){o&&A(t),a&&a.d(o),o&&A(r)}}}function VU(n){let e,t;return e=new pat({props:{componentInstance:n[1]}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&2&&(a.componentInstance=r[1]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Bct(n){var h,g;let e=n[15]===0&&!n[1]._component.endsWith("/layout")&&!n[4],t,r=[],i=new Map,a,o=n[15]===0&&((g=(h=n[0])==null?void 0:h.component)==null?void 0:g.endsWith("/fieldgroup")),l,s,u=e&&HU(n),c=n[13].settings;const f=b=>b[16].key;for(let b=0;b<c.length;b+=1){let w=IU(n,c,b),k=f(w);i.set(k,r[b]=RU(k,w))}let p=o&&VU(n);return{c(){u&&u.c(),t=q();for(let b=0;b<r.length;b+=1)r[b].c();a=q(),p&&p.c(),l=yt()},m(b,w){u&&u.m(b,w),M(b,t,w);for(let k=0;k<r.length;k+=1)r[k].m(b,w);M(b,a,w),p&&p.m(b,w),M(b,l,w),s=!0},p(b,w){var k,S;w&50&&(e=b[15]===0&&!b[1]._component.endsWith("/layout")&&!b[4]),e?u?(u.p(b,w),w&50&&_(u,1)):(u=HU(b),u.c(),_(u,1),u.m(t.parentNode,t)):u&&(Ae(),y(u,1,1,()=>{u=null}),Me()),w&239&&(c=b[13].settings,Ae(),r=P0(r,w,f,1,b,c,i,a.parentNode,xf,RU,a,IU),Me()),w&33&&(o=b[15]===0&&((S=(k=b[0])==null?void 0:k.component)==null?void 0:S.endsWith("/fieldgroup"))),o?p?(p.p(b,w),w&33&&_(p,1)):(p=VU(b),p.c(),_(p,1),p.m(l.parentNode,l)):p&&(Ae(),y(p,1,1,()=>{p=null}),Me())},i(b){if(!s){_(u);for(let w=0;w<c.length;w+=1)_(r[w]);_(p),s=!0}},o(b){y(u);for(let w=0;w<r.length;w+=1)y(r[w]);y(p),s=!1},d(b){u&&u.d(b),b&&A(t);for(let w=0;w<r.length;w+=1)r[w].d(b);b&&A(a),p&&p.d(b),b&&A(l)}}}function NU(n,e){let t,r,i,a=e[13].visible&&BU(e);return{key:n,first:null,c(){t=yt(),a&&a.c(),r=yt(),this.first=t},m(o,l){M(o,t,l),a&&a.m(o,l),M(o,r,l),i=!0},p(o,l){e=o,e[13].visible?a?(a.p(e,l),l&32&&_(a,1)):(a=BU(e),a.c(),_(a,1),a.m(r.parentNode,r)):a&&(Ae(),y(a,1,1,()=>{a=null}),Me())},i(o){i||(_(a),i=!0)},o(o){y(a),i=!1},d(o){o&&A(t),a&&a.d(o),o&&A(r)}}}function FU(n){let e,t;return e=new Z6({props:{name:"Eject",collapsible:!1,$$slots:{default:[Hct]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Hct(n){let e,t;return e=new gat({}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Pct(n){var u;let e=[],t=new Map,r,i,a,o=n[5];const l=c=>c[13].name;for(let c=0;c<o.length;c+=1){let f=DU(n,o,c),p=l(f);t.set(p,e[c]=NU(p,f))}let s=((u=n[0])==null?void 0:u.block)&&FU(n);return{c(){for(let c=0;c<e.length;c+=1)e[c].c();r=q(),s&&s.c(),i=yt()},m(c,f){for(let p=0;p<e.length;p+=1)e[p].m(c,f);M(c,r,f),s&&s.m(c,f),M(c,i,f),a=!0},p(c,[f]){var p;f&255&&(o=c[5],Ae(),e=P0(e,f,l,1,c,o,t,r.parentNode,xf,NU,r,DU),Me()),(p=c[0])!=null&&p.block?s?f&1&&_(s,1):(s=FU(c),s.c(),_(s,1),s.m(i.parentNode,i)):s&&(Ae(),y(s,1,1,()=>{s=null}),Me())},i(c){if(!a){for(let f=0;f<o.length;f+=1)_(e[f]);_(s),a=!0}},o(c){for(let f=0;f<e.length;f+=1)y(e[f]);y(s),a=!1},d(c){for(let f=0;f<e.length;f+=1)e[f].d(c);c&&A(r),s&&s.d(c),c&&A(i)}}}function Rct(n,e,t){let r,i;Pe(n,Gt,w=>t(6,i=w));let{componentDefinition:a}=e,{componentInstance:o}=e,{bindings:l}=e,{componentBindings:s}=e,{isScreen:u=!1}=e;const c=(w,k,S)=>{var x;const L=(x=k==null?void 0:k.settings)!=null?x:[],B=L.filter(W=>!W.section),R=L.filter(W=>W.section);let U=[{name:"General",settings:B},...R||[]];return U.forEach(W=>{W.visible=p(w,W),W.visible&&(W.settings.forEach(Y=>{Y.visible=h(w,Y,S)}),W.visible=W.name==="General"||W.settings.some(Y=>Y.visible))}),U},f=async(w,k)=>{try{await Gt.actions.components.updateSetting(w.key,k),w.sendEvents&&id.captureEvent(qh.COMPONENT_UPDATED,{name:o._component,setting:w.key,value:k})}catch{wt.error("Error updating component prop")}},p=(w,k)=>{if(k.dependsOn){let S=k.dependsOn,L=null,B=!!k.dependsOn.invert;if(typeof k.dependsOn=="object"&&(S=k.dependsOn.setting,L=k.dependsOn.value),!S)return!1;if(L==null){const R=w[S];return R===!1?!1:R===!0?!0:!na.isEmpty(R)}return B?w[S]!==L:w[S]===L}return!0},h=(w,k,S)=>(k==null?void 0:k.type)==="event"&&S||!Q9(k)?!1:p(w,k),g=w=>f({key:"_instanceName"},w),b=(w,k)=>f(w,k);return n.$$set=w=>{"componentDefinition"in w&&t(0,a=w.componentDefinition),"componentInstance"in w&&t(1,o=w.componentInstance),"bindings"in w&&t(2,l=w.bindings),"componentBindings"in w&&t(3,s=w.componentBindings),"isScreen"in w&&t(4,u=w.isScreen)},n.$$.update=()=>{n.$$.dirty&19&&t(5,r=c(o,a,u))},[a,o,l,s,u,r,i,f,g,b]}class Vct extends He{constructor(e){super(),Be(this,e,Rct,Pct,De,{componentDefinition:0,componentInstance:1,bindings:2,componentBindings:3,isScreen:4})}}function jU(n,e,t){const r=n.slice();return r[11]=e[t],r}function UU(n,e){let t,r,i,a;function o(...l){return e[10](e[11],...l)}return r=new Ev({props:{label:`${e[11].label}${e[7](e[5],e[11])?" *":""}`,control:e[11].control,key:e[11].key,value:e[5][e[11].key],onChange:o,props:e[8](e[11]),bindings:e[4]}}),{key:n,first:null,c(){t=K("div"),D(r.$$.fragment),i=q(),Sn(t,"grid-column",e[11].column||"auto"),this.first=t},m(l,s){M(l,t,s),T(r,t,null),N(t,i),a=!0},p(l,s){e=l;const u={};s&36&&(u.label=`${e[11].label}${e[7](e[5],e[11])?" *":""}`),s&4&&(u.control=e[11].control),s&4&&(u.key=e[11].key),s&36&&(u.value=e[5][e[11].key]),s&4&&(u.onChange=o),s&4&&(u.props=e[8](e[11])),s&16&&(u.bindings=e[4]),r.$set(u),(!a||s&4)&&Sn(t,"grid-column",e[11].column||"auto")},i(l){a||(_(r.$$.fragment,l),a=!0)},o(l){y(r.$$.fragment,l),a=!1},d(l){l&&A(t),O(r)}}}function Nct(n){let e,t=[],r=new Map,i,a=n[2];const o=l=>`${l[3]._id}-${l[11].key}-${l[11].label}`;for(let l=0;l<a.length;l+=1){let s=jU(n,a,l),u=o(s);r.set(u,t[l]=UU(u,s))}return{c(){e=K("div");for(let l=0;l<t.length;l+=1)t[l].c();I(e,"class","group-content svelte-1u21n8y"),Sn(e,"grid-template-columns",n[1]||"1fr")},m(l,s){M(l,e,s);for(let u=0;u<t.length;u+=1)t[u].m(e,null);i=!0},p(l,s){s&956&&(a=l[2],Ae(),t=P0(t,s,o,1,l,a,r,e,xf,UU,null,jU),Me()),(!i||s&2)&&Sn(e,"grid-template-columns",l[1]||"1fr")},i(l){if(!i){for(let s=0;s<a.length;s+=1)_(t[s]);i=!0}},o(l){for(let s=0;s<t.length;s+=1)y(t[s]);i=!1},d(l){l&&A(e);for(let s=0;s<t.length;s+=1)t[s].d()}}}function Fct(n){let e,t;return e=new Z6({props:{collapsible:!1,name:`${n[0]}${n[6]?" *":""}`,$$slots:{default:[Nct]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&65&&(a.name=`${r[0]}${r[6]?" *":""}`),i&16438&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function jct(n,e,t){let r,i,{name:a}=e,{columns:o}=e,{properties:l}=e,{componentInstance:s}=e,{bindings:u=[]}=e;const c=(g,b)=>g[b.key]!=null&&g[b.key]!=="",f=g=>{let b={...g||{}};return delete b.label,delete b.key,delete b.control,b},p=async(g,b)=>{try{await Gt.actions.components.updateStyle(g,b)}catch{wt.error("Error updating style")}},h=(g,b)=>p(g.key,b);return n.$$set=g=>{"name"in g&&t(0,a=g.name),"columns"in g&&t(1,o=g.columns),"properties"in g&&t(2,l=g.properties),"componentInstance"in g&&t(3,s=g.componentInstance),"bindings"in g&&t(4,u=g.bindings)},n.$$.update=()=>{var g;n.$$.dirty&8&&t(5,r=s._styles.normal||{}),n.$$.dirty&36&&t(6,i=(g=l==null?void 0:l.some(b=>c(r,b)))!=null?g:!1)},[a,o,l,s,u,r,i,c,f,p,h]}class Uct extends He{constructor(e){super(),Be(this,e,jct,Fct,De,{name:0,columns:1,properties:2,componentInstance:3,bindings:4})}}const Zre={label:"Margin",columns:"1fr 1fr",settings:[{label:"Top",key:"margin-top",control:vn,placeholder:"None",options:[{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"},{label:"32px",value:"32px"},{label:"48px",value:"48px"},{label:"64px",value:"64px"},{label:"128px",value:"128px"},{label:"256px",value:"256px"},{label:"Auto",value:"auto"},{label:"100%",value:"100%"}]},{label:"Right",key:"margin-right",control:vn,placeholder:"None",options:[{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"},{label:"32px",value:"32px"},{label:"48px",value:"48px"},{label:"64px",value:"64px"},{label:"128px",value:"128px"},{label:"256px",value:"256px"},{label:"Auto",value:"auto"},{label:"100%",value:"100%"}]},{label:"Bottom",key:"margin-bottom",control:vn,placeholder:"None",options:[{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"},{label:"32px",value:"32px"},{label:"48px",value:"48px"},{label:"64px",value:"64px"},{label:"128px",value:"128px"},{label:"256px",value:"256px"},{label:"Auto",value:"auto"},{label:"100%",value:"100%"}]},{label:"Left",key:"margin-left",control:vn,placeholder:"None",options:[{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"},{label:"32px",value:"32px"},{label:"48px",value:"48px"},{label:"64px",value:"64px"},{label:"128px",value:"128px"},{label:"256px",value:"256px"},{label:"Auto",value:"auto"},{label:"100%",value:"100%"}]}]},xct={label:"Padding",columns:"1fr 1fr",settings:[{label:"Top",key:"padding-top",control:vn,placeholder:"None",options:[{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"},{label:"32px",value:"32px"},{label:"48px",value:"48px"},{label:"64px",value:"64px"},{label:"128px",value:"128px"},{label:"256px",value:"256px"},{label:"Auto",value:"auto"},{label:"100%",value:"100%"}]},{label:"Right",key:"padding-right",control:vn,placeholder:"None",options:[{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"},{label:"32px",value:"32px"},{label:"48px",value:"48px"},{label:"64px",value:"64px"},{label:"128px",value:"128px"},{label:"256px",value:"256px"},{label:"Auto",value:"auto"},{label:"100%",value:"100%"}]},{label:"Bottom",key:"padding-bottom",control:vn,placeholder:"None",options:[{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"},{label:"32px",value:"32px"},{label:"48px",value:"48px"},{label:"64px",value:"64px"},{label:"128px",value:"128px"},{label:"256px",value:"256px"},{label:"Auto",value:"auto"},{label:"100%",value:"100%"}]},{label:"Left",key:"padding-left",control:vn,placeholder:"None",options:[{label:"4px",value:"4px"},{label:"8px",value:"8px"},{label:"12px",value:"12px"},{label:"16px",value:"16px"},{label:"20px",value:"20px"},{label:"32px",value:"32px"},{label:"48px",value:"48px"},{label:"64px",value:"64px"},{label:"128px",value:"128px"},{label:"256px",value:"256px"},{label:"Auto",value:"auto"},{label:"100%",value:"100%"}]}]},qct={label:"Size",columns:"1fr 1fr",settings:[{label:"Width",key:"width",control:En,placeholder:"Auto"},{label:"Height",key:"height",control:En,placeholder:"Auto"}]},Wct={label:"Background",columns:"auto 1fr",settings:[{label:"Color",key:"background",control:IC},{label:"Gradient",key:"background-image",control:vn,options:[{label:"Warm Flame",value:"linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);"},{label:"Night Fade",value:"linear-gradient(to top, #a18cd1 0%, #fbc2eb 100%);"},{label:"Spring Warmth",value:"linear-gradient(to top, #fad0c4 0%, #ffd1ff 100%);"},{label:"Sunny Morning",value:"linear-gradient(120deg, #f6d365 0%, #fda085 100%);"},{label:"Winter Neva",value:"linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);"},{label:"Tempting Azure",value:"linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);"},{label:"Heavy Rain",value:"linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);"},{label:"Deep Blue",value:"linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);"},{label:"Near Moon",value:"linear-gradient(to top, #5ee7df 0%, #b490ca 100%);"},{label:"Wild Apple",value:"linear-gradient(to top, #d299c2 0%, #fef9d7 100%);"},{label:"Plum Plate",value:"linear-gradient(135deg, #667eea 0%, #764ba2 100%);"},{label:"Peach Kiss",value:"radial-gradient(circle farthest-corner at 50% 100%,rgba(255,173,138,.50), rgba(255,248,247,1) 100%);"},{label:"Flamingo Sunrise",value:"-webkit-radial-gradient(center top, rgb(255, 250, 245), rgb(255, 242, 242))"},{label:"Budi Mist",value:"radial-gradient(circle, rgba(252,215,212,1) 0%, rgba(255,227,214,1) 50%, rgba(207,218,255,1) 100%);"},{label:"Ballet Slipper",value:"linear-gradient(135deg, rgba(252,215,212,1) 20%, rgba(207,218,255,1) 100%);"},{label:"Black Noir",value:"linear-gradient(312deg, rgba(60,60,60,1) 0%, rgba(42,42,42,1) 100%);"}]}]},Gct={label:"Border",columns:"1fr 1fr",settings:[{label:"Color",key:"border-color",control:IC},{label:"Width",key:"border-width",control:vn,column:"1 / 2",placeholder:"None",options:[{label:"Small",value:"1px"},{label:"Medium",value:"2px"},{label:"Large",value:"4px"}]},{label:"Style",key:"border-style",control:vn,column:"2 / 3",placeholder:"None",options:[{label:"Solid",value:"solid"},{label:"Dotted",value:"dotted"},{label:"Dashed",value:"dashed"}]},{label:"Radius",key:"border-radius",control:vn,placeholder:"None",options:[{label:"Small",value:"0.25rem"},{label:"Medium",value:"0.5rem"},{label:"Large",value:"1rem"},{label:"Round",value:"100%"}]},{label:"Shadow",key:"box-shadow",control:vn,placeholder:"None",options:[{label:"Small",value:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)"},{label:"Medium",value:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)"},{label:"Large",value:"0 8px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)"}]}]},RA=[Zre],xU=Object.freeze(Object.defineProperty({__proto__:null,margin:Zre,padding:xct,size:qct,background:Wct,border:Gct,all:RA},Symbol.toStringTag,{value:"Module"}));function qU(n,e,t){const r=n.slice();return r[5]=e[t],r}function WU(n){let e,t,r=n[2],i=[];for(let o=0;o<r.length;o+=1)i[o]=GU(qU(n,r,o));const a=o=>y(i[o],1,1,()=>{i[o]=null});return{c(){for(let o=0;o<i.length;o+=1)i[o].c();e=yt()},m(o,l){for(let s=0;s<i.length;s+=1)i[s].m(o,l);M(o,e,l),t=!0},p(o,l){if(l&7){r=o[2];let s;for(s=0;s<r.length;s+=1){const u=qU(o,r,s);i[s]?(i[s].p(u,l),_(i[s],1)):(i[s]=GU(u),i[s].c(),_(i[s],1),i[s].m(e.parentNode,e))}for(Ae(),s=r.length;s<i.length;s+=1)a(s);Me()}},i(o){if(!t){for(let l=0;l<r.length;l+=1)_(i[l]);t=!0}},o(o){i=i.filter(Boolean);for(let l=0;l<i.length;l+=1)y(i[l]);t=!1},d(o){Mn(i,o),o&&A(e)}}}function GU(n){let e,t;return e=new Uct({props:{style:n[5],name:n[5].label,columns:n[5].columns,properties:n[5].settings,componentInstance:n[0],bindings:n[1]}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&4&&(a.style=r[5]),i&4&&(a.name=r[5].label),i&4&&(a.columns=r[5].columns),i&4&&(a.properties=r[5].settings),i&1&&(a.componentInstance=r[0]),i&2&&(a.bindings=r[1]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Yct(n){var i;let e,t,r=((i=n[2])==null?void 0:i.length)>0&&WU(n);return{c(){r&&r.c(),e=yt()},m(a,o){r&&r.m(a,o),M(a,e,o),t=!0},p(a,[o]){var l;((l=a[2])==null?void 0:l.length)>0?r?(r.p(a,o),o&4&&_(r,1)):(r=WU(a),r.c(),_(r,1),r.m(e.parentNode,e)):r&&(Ae(),y(r,1,1,()=>{r=null}),Me())},i(a){t||(_(r),t=!0)},o(a){y(r),t=!1},d(a){r&&r.d(a),a&&A(e)}}}function Kct(n,e,t){let r,{componentDefinition:i}=e,{componentInstance:a}=e,{bindings:o}=e;const l=s=>{var c;if(!((c=s==null?void 0:s.styles)!=null&&c.length))return[...RA];let u=[...RA];return s.styles.forEach(f=>{xU[f]&&u.push(xU[f])}),u};return n.$$set=s=>{"componentDefinition"in s&&t(3,i=s.componentDefinition),"componentInstance"in s&&t(0,a=s.componentInstance),"bindings"in s&&t(1,o=s.bindings)},n.$$.update=()=>{n.$$.dirty&8&&t(2,r=l(i))},[a,o,r,i]}class Xct extends He{constructor(e){super(),Be(this,e,Kct,Yct,De,{componentDefinition:3,componentInstance:0,bindings:1})}}function Jct(n){let e;return{c(){e=oe("Edit custom CSS")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Qct(n){let e,t,r;return t=new Jr({props:{$$slots:{default:[Jct]},$$scope:{ctx:n}}}),t.$on("click",n[4]),{c(){e=K("div"),D(t.$$.fragment)},m(i,a){M(i,e,a),T(t,e,null),r=!0},p(i,a){const o={};a&1024&&(o.$$scope={dirty:a,ctx:i}),t.$set(o)},i(i){r||(_(t.$$.fragment,i),r=!0)},o(i){y(t.$$.fragment,i),r=!1},d(i){i&&A(e),O(t)}}}function Zct(n){let e;return{c(){e=oe("Custom CSS overrides all other component styles.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function eft(n){let e;return{c(){e=oe("Save")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function tft(n){let e,t;return e=new gn({props:{cta:!0,slot:"buttons",$$slots:{default:[eft]},$$scope:{ctx:n}}}),e.$on("click",n[5]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&1024&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function nft(n){let e,t,r;var i=W9;function a(o){return{props:{slot:"body",value:o[1],allowJS:!0,bindings:o[3]}}}return i&&(e=ia(i,a(n)),e.$on("change",n[8])),{c(){e&&D(e.$$.fragment),t=yt()},m(o,l){e&&T(e,o,l),M(o,t,l),r=!0},p(o,l){const s={};if(l&2&&(s.value=o[1]),l&8&&(s.bindings=o[3]),i!==(i=W9)){if(e){Ae();const u=e;y(u.$$.fragment,1,0,()=>{O(u,1)}),Me()}i?(e=ia(i,a(o)),e.$on("change",o[8]),D(e.$$.fragment),_(e.$$.fragment,1),T(e,t.parentNode,t)):e=null}else i&&e.$set(s)},i(o){r||(e&&_(e.$$.fragment,o),r=!0)},o(o){e&&y(e.$$.fragment,o),r=!1},d(o){o&&A(t),e&&O(e,o)}}}function YU(n){let e,t,r={title:"Custom CSS",$$slots:{body:[nft],buttons:[tft],description:[Zct]},$$scope:{ctx:n}};return e=new pp({props:r}),n[9](e),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,a){const o={};a&1034&&(o.$$scope={dirty:a,ctx:i}),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){n[9](null),O(e,i)}}}function rft(n){var l,s,u;let e,t,r=(l=n[0])==null?void 0:l._id,i,a;e=new Z6({props:{name:`Custom CSS${(u=(s=n[0])==null?void 0:s._styles)!=null&&u.custom?" *":""}`,collapsible:!1,$$slots:{default:[Qct]},$$scope:{ctx:n}}});let o=YU(n);return{c(){D(e.$$.fragment),t=q(),o.c(),i=yt()},m(c,f){T(e,c,f),M(c,t,f),o.m(c,f),M(c,i,f),a=!0},p(c,[f]){var h,g,b;const p={};f&1&&(p.name=`Custom CSS${(g=(h=c[0])==null?void 0:h._styles)!=null&&g.custom?" *":""}`),f&1024&&(p.$$scope={dirty:f,ctx:c}),e.$set(p),f&1&&De(r,r=(b=c[0])==null?void 0:b._id)?(Ae(),y(o,1,1,at),Me(),o=YU(c),o.c(),_(o,1),o.m(i.parentNode,i)):o.p(c,f)},i(c){a||(_(e.$$.fragment,c),_(o),a=!0)},o(c){y(e.$$.fragment,c),y(o),a=!1},d(c){O(e,c),c&&A(t),c&&A(i),o.d(c)}}}function ift(n,e,t){let r,i,a;Pe(n,Gt,h=>t(6,i=h)),Pe(n,F1,h=>t(7,a=h));let{componentInstance:o}=e,l,s;const u=()=>{var h;t(1,l=v3(r,(h=o==null?void 0:o._styles)==null?void 0:h.custom)),s.show()},c=async()=>{try{const h=up(r,l);await Gt.actions.components.updateCustomStyle(h)}catch{wt.error("Error updating custom style")}s.hide()},f=h=>t(1,l=h.detail);function p(h){Oe[h?"unshift":"push"](()=>{s=h,t(2,s)})}return n.$$set=h=>{"componentInstance"in h&&t(0,o=h.componentInstance)},n.$$.update=()=>{n.$$.dirty&192&&t(3,r=yS(a,i.selectedComponentId))},[o,l,s,r,u,c,i,a,f,p]}class aft extends He{constructor(e){super(),Be(this,e,ift,rft,De,{componentInstance:0})}}function KU(n,e,t){const r=n.slice();r[31]=e[t],r[33]=e,r[34]=t;const i=r[7](r[31].setting);return r[32]=i,r}function oft(n){let e,t;return e=new Rt({props:{size:"S",$$slots:{default:[sft]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i[1]&16&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function lft(n){let e,t=[],r=new Map,i,a,o,l,s=n[0];const u=c=>c[31].id;for(let c=0;c<s.length;c+=1){let f=KU(n,s,c),p=u(f);r.set(p,t[c]=JU(p,f))}return{c(){e=K("div");for(let c=0;c<t.length;c+=1)t[c].c();I(e,"class","conditions svelte-69vx2r")},m(c,f){M(c,e,f);for(let p=0;p<t.length;p+=1)t[p].m(e,null);a=!0,o||(l=[Ps(i=q$.call(null,e,{items:n[0],flipDurationMs:VA,dropTargetStyle:{outline:"none"},dragDisabled:n[3]})),zt(e,"finalize",n[11]),zt(e,"consider",n[12])],o=!0)},p(c,f){if(f[0]&59135){s=c[0],Ae();for(let p=0;p<t.length;p+=1)t[p].r();t=P0(t,f,u,1,c,s,r,e,sv,JU,null,KU);for(let p=0;p<t.length;p+=1)t[p].a();Me()}i&&mn(i.update)&&f[0]&9&&i.update.call(null,{items:c[0],flipDurationMs:VA,dropTargetStyle:{outline:"none"},dragDisabled:c[3]})},i(c){if(!a){for(let f=0;f<s.length;f+=1)_(t[f]);a=!0}},o(c){for(let f=0;f<t.length;f+=1)y(t[f]);a=!1},d(c){c&&A(e);for(let f=0;f<t.length;f+=1)t[f].d();o=!1,Mi(l)}}}function sft(n){let e;return{c(){e=oe("Add your first condition to get started.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function XU(n){let e,t,r,i,a,o,l,s,u;function c(b){n[19](b,n[31])}let f={options:n[4]};n[31].setting!==void 0&&(f.value=n[31].setting),e=new vn({props:f}),Oe.push(()=>tt(e,"value",c));const p=[cft,uft],h=[];function g(b,w){return b[32]?0:1}return o=g(n),l=h[o]=p[o](n),{c(){D(e.$$.fragment),r=q(),i=K("div"),i.textContent="TO",a=q(),l.c(),s=yt()},m(b,w){T(e,b,w),M(b,r,w),M(b,i,w),M(b,a,w),h[o].m(b,w),M(b,s,w),u=!0},p(b,w){n=b;const k={};w[0]&16&&(k.options=n[4]),!t&&w[0]&1&&(t=!0,k.value=n[31].setting,nt(()=>t=!1)),e.$set(k);let S=o;o=g(n),o===S?h[o].p(n,w):(Ae(),y(h[S],1,1,()=>{h[S]=null}),Me(),l=h[o],l?l.p(n,w):(l=h[o]=p[o](n),l.c()),_(l,1),l.m(s.parentNode,s))},i(b){u||(_(e.$$.fragment,b),_(l),u=!0)},o(b){y(e.$$.fragment,b),y(l),u=!1},d(b){O(e,b),b&&A(r),b&&A(i),b&&A(a),h[o].d(b),b&&A(s)}}}function uft(n){let e,t;return e=new vn({props:{disabled:!0,placeholder:" "}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p:at,i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function cft(n){let e,t;function r(...i){return n[20](n[31],n[33],n[34],...i)}return e=new Ev({props:{type:n[32].type,control:Q9(n[32]),key:n[32].key,value:n[31].settingValue,componentInstance:n[2],onChange:r,props:{options:n[32].options,placeholder:n[32].placeholder},bindings:n[1]}}),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,a){n=i;const o={};a[0]&1&&(o.type=n[32].type),a[0]&1&&(o.control=Q9(n[32])),a[0]&1&&(o.key=n[32].key),a[0]&1&&(o.value=n[31].settingValue),a[0]&4&&(o.componentInstance=n[2]),a[0]&1&&(o.onChange=r),a[0]&1&&(o.props={options:n[32].options,placeholder:n[32].placeholder}),a[0]&2&&(o.bindings=n[1]),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){O(e,i)}}}function fft(n){let e,t,r;function i(o){n[28](o,n[31])}let a={placeholder:"Value",disabled:n[31].noValue,options:["True","False"]};return n[31].referenceValue!==void 0&&(a.value=n[31].referenceValue),e=new vn({props:a}),Oe.push(()=>tt(e,"value",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){n=o;const s={};l[0]&1&&(s.disabled=n[31].noValue),!t&&l[0]&1&&(t=!0,s.value=n[31].referenceValue,nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function pft(n){let e,t,r;function i(o){n[27](o,n[31])}let a={placeholder:"Value",disabled:n[31].noValue};return n[31].referenceValue!==void 0&&(a.value=n[31].referenceValue),e=new e5({props:a}),Oe.push(()=>tt(e,"value",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){n=o;const s={};l[0]&1&&(s.disabled=n[31].noValue),!t&&l[0]&1&&(t=!0,s.value=n[31].referenceValue,nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function dft(n){let e,t;function r(...i){return n[26](n[31],n[33],n[34],...i)}return e=new oo({props:{disabled:n[31].noValue,bindings:n[1],placeholder:"Value",value:n[31].referenceValue}}),e.$on("change",r),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,a){n=i;const o={};a[0]&1&&(o.disabled=n[31].noValue),a[0]&2&&(o.bindings=n[1]),a[0]&1&&(o.value=n[31].referenceValue),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){O(e,i)}}}function JU(n,e){let t,r,i,a,o,l,s,u,c,f,p,h,g,b,w,k,S,L,B,R,U,x,W,Y,Z,te,ue,se,ee=at,X,re,le;i=new hn({props:{name:"DragHandle",size:"XL"}});function fe(Qe){e[18](Qe,e[31])}let ke={placeholder:null,options:e[5]};e[31].action!==void 0&&(ke.value=e[31].action),l=new vn({props:ke}),Oe.push(()=>tt(l,"value",fe));let he=e[31].action==="update"&&XU(e);function ye(...Qe){return e[21](e[31],e[33],e[34],...Qe)}h=new oo({props:{bindings:e[1],placeholder:"Value",value:e[31].newValue}}),h.$on("change",ye);function ve(Qe){e[22](Qe,e[31])}function _e(...Qe){return e[23](e[31],...Qe)}let Ke={placeholder:null,options:e[13](e[31])};e[31].operator!==void 0&&(Ke.value=e[31].operator),b=new vn({props:Ke}),Oe.push(()=>tt(b,"value",ve)),b.$on("change",_e);function Ue(Qe){e[24](Qe,e[31])}function be(...Qe){return e[25](e[31],...Qe)}let Ce={disabled:e[31].noValue||e[31].operator==="oneOf",options:e[6],placeholder:null};e[31].valueType!==void 0&&(Ce.value=e[31].valueType),S=new vn({props:Ce}),Oe.push(()=>tt(S,"value",Ue)),S.$on("change",be);const Fe=[dft,pft,fft],ze=[];function st(Qe,bt){return bt[0]&1&&(R=null),R==null&&(R=!!["string","number"].includes(Qe[31].valueType)),R?0:Qe[31].valueType==="datetime"?1:Qe[31].valueType==="boolean"?2:-1}~(U=st(e,[-1,-1]))&&(x=ze[U]=Fe[U](e));function Ve(){return e[29](e[31])}Y=new hn({props:{name:"Duplicate",hoverable:!0,size:"S"}}),Y.$on("click",Ve);function et(){return e[30](e[31])}return te=new hn({props:{name:"Close",hoverable:!0,size:"S"}}),te.$on("click",et),{key:n,first:null,c(){t=K("div"),r=K("div"),D(i.$$.fragment),o=q(),D(l.$$.fragment),u=q(),he&&he.c(),c=q(),f=K("div"),f.textContent="IF",p=q(),D(h.$$.fragment),g=q(),D(b.$$.fragment),k=q(),D(S.$$.fragment),B=q(),x&&x.c(),W=q(),D(Y.$$.fragment),Z=q(),D(te.$$.fragment),ue=q(),I(r,"class","handle svelte-69vx2r"),I(r,"aria-label","drag-handle"),I(r,"style",a=e[3]?"cursor: grab":"cursor: grabbing"),I(t,"class","condition svelte-69vx2r"),Ee(t,"update",e[31].action==="update"),this.first=t},m(Qe,bt){M(Qe,t,bt),N(t,r),T(i,r,null),N(t,o),T(l,t,null),N(t,u),he&&he.m(t,null),N(t,c),N(t,f),N(t,p),T(h,t,null),N(t,g),T(b,t,null),N(t,k),T(S,t,null),N(t,B),~U&&ze[U].m(t,null),N(t,W),T(Y,t,null),N(t,Z),T(te,t,null),N(t,ue),X=!0,re||(le=zt(r,"mousedown",e[17]),re=!0)},p(Qe,bt){e=Qe,(!X||bt[0]&8&&a!==(a=e[3]?"cursor: grab":"cursor: grabbing"))&&I(r,"style",a);const $t={};!s&&bt[0]&1&&(s=!0,$t.value=e[31].action,nt(()=>s=!1)),l.$set($t),e[31].action==="update"?he?(he.p(e,bt),bt[0]&1&&_(he,1)):(he=XU(e),he.c(),_(he,1),he.m(t,c)):he&&(Ae(),y(he,1,1,()=>{he=null}),Me());const Nt={};bt[0]&2&&(Nt.bindings=e[1]),bt[0]&1&&(Nt.value=e[31].newValue),h.$set(Nt);const qt={};bt[0]&1&&(qt.options=e[13](e[31])),!w&&bt[0]&1&&(w=!0,qt.value=e[31].operator,nt(()=>w=!1)),b.$set(qt);const ct={};bt[0]&1&&(ct.disabled=e[31].noValue||e[31].operator==="oneOf"),!L&&bt[0]&1&&(L=!0,ct.value=e[31].valueType,nt(()=>L=!1)),S.$set(ct);let ge=U;U=st(e,bt),U===ge?~U&&ze[U].p(e,bt):(x&&(Ae(),y(ze[ge],1,1,()=>{ze[ge]=null}),Me()),~U?(x=ze[U],x?x.p(e,bt):(x=ze[U]=Fe[U](e),x.c()),_(x,1),x.m(t,W)):x=null),(!X||bt[0]&1)&&Ee(t,"update",e[31].action==="update")},r(){se=t.getBoundingClientRect()},f(){lv(t),ee()},a(){ee(),ee=ov(t,se,Tv,{duration:VA})},i(Qe){X||(_(i.$$.fragment,Qe),_(l.$$.fragment,Qe),_(he),_(h.$$.fragment,Qe),_(b.$$.fragment,Qe),_(S.$$.fragment,Qe),_(x),_(Y.$$.fragment,Qe),_(te.$$.fragment,Qe),X=!0)},o(Qe){y(i.$$.fragment,Qe),y(l.$$.fragment,Qe),y(he),y(h.$$.fragment,Qe),y(b.$$.fragment,Qe),y(S.$$.fragment,Qe),y(x),y(Y.$$.fragment,Qe),y(te.$$.fragment,Qe),X=!1},d(Qe){Qe&&A(t),O(i),O(l),he&&he.d(),O(h),O(b),O(S),~U&&ze[U].d(),O(Y),O(te),re=!1,le()}}}function hft(n){let e;return{c(){e=oe("Add condition")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function mft(n){let e,t,r,i,a,o;const l=[lft,oft],s=[];function u(c,f){var p;return(p=c[0])!=null&&p.length?0:1}return e=u(n),t=s[e]=l[e](n),a=new gn({props:{secondary:!0,icon:"Add",$$slots:{default:[hft]},$$scope:{ctx:n}}}),a.$on("click",n[8]),{c(){t.c(),r=q(),i=K("div"),D(a.$$.fragment)},m(c,f){s[e].m(c,f),M(c,r,f),M(c,i,f),T(a,i,null),o=!0},p(c,f){let p=e;e=u(c),e===p?s[e].p(c,f):(Ae(),y(s[p],1,1,()=>{s[p]=null}),Me(),t=s[e],t?t.p(c,f):(t=s[e]=l[e](c),t.c()),_(t,1),t.m(r.parentNode,r));const h={};f[1]&16&&(h.$$scope={dirty:f,ctx:c}),a.$set(h)},i(c){o||(_(t),_(a.$$.fragment,c),o=!0)},o(c){y(t),y(a.$$.fragment,c),o=!1},d(c){s[e].d(c),c&&A(r),c&&A(i),O(a)}}}function gft(n){let e,t,r;return t=new Ht({props:{noPadding:!0,$$slots:{default:[mft]},$$scope:{ctx:n}}}),{c(){e=K("div"),D(t.$$.fragment),I(e,"class","container svelte-69vx2r")},m(i,a){M(i,e,a),T(t,e,null),r=!0},p(i,a){const o={};a[0]&31|a[1]&16&&(o.$$scope={dirty:a,ctx:i}),t.$set(o)},i(i){r||(_(t.$$.fragment,i),r=!0)},o(i){y(t.$$.fragment,i),r=!1},d(i){i&&A(e),O(t)}}}function vft(n){let e,t;return e=new dd({props:{$$slots:{default:[gft]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i[0]&31|i[1]&16&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}const VA=150;function _ft(n,e,t){let r,i,a;Pe(n,_3,fe=>t(2,a=fe));let{conditions:o=[]}=e,{bindings:l=[]}=e;const s=[{label:"Hide component",value:"hide"},{label:"Show component",value:"show"},{label:"Update setting",value:"update"}],u=[{value:"string",label:"Binding"},{value:"number",label:"Number"},{value:"datetime",label:"Date"},{value:"boolean",label:"Boolean"}];let c=!0;const f=fe=>r.find(ke=>ke.key===fe),p=()=>{t(0,o=[...o,{valueType:"string",id:Vf.exports.generate(),action:"hide",operator:h2.Equals.value}])},h=fe=>{t(0,o=o.filter(ke=>ke.id!==fe))},g=fe=>{const he={...o.find(ye=>ye.id===fe),id:Vf.exports.generate()};t(0,o=[...o,he])},b=fe=>{w(fe),t(3,c=!0)},w=fe=>{t(0,o=fe.detail.items)},k=fe=>Iz(fe.valueType),S=(fe,ke)=>{const he=[h2.Empty.value,h2.NotEmpty.value];fe.noValue=he.includes(ke),(fe.noValue||ke==="oneOf")&&(fe.referenceValue=null,fe.valueType="string")},L=(fe,ke)=>{var ye;fe.referenceValue=null;const he=Iz(ke).map(ve=>ve.value);he.includes(fe.operator)||(fe.operator=(ye=he[0])!=null?ye:h2.Equals.value,S(fe,fe.operator))},B=()=>t(3,c=!1);function R(fe,ke){n.$$.not_equal(ke.action,fe)&&(ke.action=fe,t(0,o))}function U(fe,ke){n.$$.not_equal(ke.setting,fe)&&(ke.setting=fe,t(0,o))}const x=(fe,ke,he,ye)=>t(0,ke[he].settingValue=ye,o),W=(fe,ke,he,ye)=>t(0,ke[he].newValue=ye.detail,o);function Y(fe,ke){n.$$.not_equal(ke.operator,fe)&&(ke.operator=fe,t(0,o))}const Z=(fe,ke)=>S(fe,ke.detail);function te(fe,ke){n.$$.not_equal(ke.valueType,fe)&&(ke.valueType=fe,t(0,o))}const ue=(fe,ke)=>L(fe,ke.detail),se=(fe,ke,he,ye)=>t(0,ke[he].referenceValue=ye.detail,o);function ee(fe,ke){n.$$.not_equal(ke.referenceValue,fe)&&(ke.referenceValue=fe,t(0,o))}function X(fe,ke){n.$$.not_equal(ke.referenceValue,fe)&&(ke.referenceValue=fe,t(0,o))}const re=fe=>g(fe.id),le=fe=>h(fe.id);return n.$$set=fe=>{"conditions"in fe&&t(0,o=fe.conditions),"bindings"in fe&&t(1,l=fe.bindings)},n.$$.update=()=>{var fe;n.$$.dirty[0]&4&&t(16,r=(fe=Wh(a==null?void 0:a._component))==null?void 0:fe.concat({label:"Custom CSS",key:"_css",type:"text"})),n.$$.dirty[0]&65536&&t(4,i=r.map(ke=>({label:ke.label,value:ke.key}))),n.$$.dirty[0]&1&&o.forEach(ke=>{ke.id||(ke.id=Vf.exports.generate())})},[o,l,a,c,i,s,u,f,p,h,g,b,w,k,S,L,r,B,R,U,x,W,Y,Z,te,ue,se,ee,X,re,le]}class bft extends He{constructor(e){super(),Be(this,e,_ft,vft,De,{conditions:0,bindings:1},null,[-1,-1])}}function yft(n){let e;return{c(){e=oe("Configure conditions")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function $ft(n){let e,t,r,i,a,o;return a=new Jr({props:{$$slots:{default:[yft]},$$scope:{ctx:n}}}),a.$on("click",n[4]),{c(){e=K("div"),t=oe(n[3]),r=q(),i=K("div"),D(a.$$.fragment),I(e,"class","conditionCount svelte-gl19jt")},m(l,s){M(l,e,s),N(e,t),M(l,r,s),M(l,i,s),T(a,i,null),o=!0},p(l,s){(!o||s&8)&&ht(t,l[3]);const u={};s&2048&&(u.$$scope={dirty:s,ctx:l}),a.$set(u)},i(l){o||(_(a.$$.fragment,l),o=!0)},o(l){y(a.$$.fragment,l),o=!1},d(l){l&&A(e),l&&A(r),l&&A(i),O(a)}}}function wft(n){let e;return{c(){e=oe("Show, hide and update components in response to conditions being met.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function kft(n){let e;return{c(){e=oe("Save")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function zft(n){let e,t;return e=new gn({props:{cta:!0,slot:"buttons",$$slots:{default:[kft]},$$scope:{ctx:n}}}),e.$on("click",n[9]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&2048&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Aft(n){let e,t,r;function i(o){n[8](o)}let a={slot:"body",bindings:n[0]};return n[1]!==void 0&&(a.conditions=n[1]),e=new bft({props:a}),Oe.push(()=>tt(e,"conditions",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){const s={};l&1&&(s.bindings=o[0]),!t&&l&2&&(t=!0,s.conditions=o[1],nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function Mft(n){let e,t,r,i;e=new Z6({props:{name:"Conditions",collapsible:!1,$$slots:{default:[$ft]},$$scope:{ctx:n}}});let a={title:"Conditions",$$slots:{body:[Aft],buttons:[zft],description:[wft]},$$scope:{ctx:n}};return r=new pp({props:a}),n[10](r),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,[l]){const s={};l&2056&&(s.$$scope={dirty:l,ctx:o}),e.$set(s);const u={};l&2051&&(u.$$scope={dirty:l,ctx:o}),r.$set(u)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),n[10](null),O(r,o)}}}function Sft(n,e,t){let r,i,{componentInstance:a}=e,{bindings:o}=e,l,s;const u=()=>{var g;t(1,l=JSON.parse(JSON.stringify((g=a==null?void 0:a._conditions)!=null?g:[]))),s.show()},c=async()=>{try{await Gt.actions.components.updateConditions(l)}catch{wt.error("Error updating conditions")}s.hide()};function f(g){l=g,t(1,l)}const p=()=>c();function h(g){Oe[g?"unshift":"push"](()=>{s=g,t(2,s)})}return n.$$set=g=>{"componentInstance"in g&&t(6,a=g.componentInstance),"bindings"in g&&t(0,o=g.bindings)},n.$$.update=()=>{var g;n.$$.dirty&64&&t(7,r=(g=a==null?void 0:a._conditions)==null?void 0:g.length),n.$$.dirty&128&&t(3,i=`${r||"No"} condition${r!==1?"s":""} set`)},[o,l,s,i,u,c,a,r,f,p,h]}class Cft extends He{constructor(e){super(),Be(this,e,Sft,Mft,De,{componentInstance:6,bindings:0})}}function Lft(n){let e,t,r,i,a=n[0].name+"",o,l,s=n[0].info+"",u,c;return r=new hn({props:{name:"HelpOutline"}}),{c(){e=K("div"),t=K("div"),D(r.$$.fragment),i=q(),o=oe(a),l=q(),u=oe(s),I(t,"class","title svelte-1qbj35w"),I(e,"class","info svelte-1qbj35w")},m(f,p){M(f,e,p),N(e,t),T(r,t,null),N(t,i),N(t,o),N(e,l),N(e,u),c=!0},p(f,p){(!c||p&1)&&a!==(a=f[0].name+"")&&ht(o,a),(!c||p&1)&&s!==(s=f[0].info+"")&&ht(u,s)},i(f){c||(_(r.$$.fragment,f),c=!0)},o(f){y(r.$$.fragment,f),c=!1},d(f){f&&A(e),O(r)}}}function Eft(n){let e,t;return e=new Z6({props:{collapsible:!1,$$slots:{default:[Lft]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&3&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Tft(n,e,t){let{componentDefinition:r}=e;return n.$$set=i=>{"componentDefinition"in i&&t(0,r=i.componentDefinition)},[r]}class Oft extends He{constructor(e){super(),Be(this,e,Tft,Eft,De,{componentDefinition:0})}}function QU(n){let e=n[1]._id,t,r,i=ex(n);return{c(){i.c(),t=yt()},m(a,o){i.m(a,o),M(a,t,o),r=!0},p(a,o){o&2&&De(e,e=a[1]._id)?(Ae(),y(i,1,1,at),Me(),i=ex(a),i.c(),_(i,1),i.m(t.parentNode,t)):i.p(a,o)},i(a){r||(_(i),r=!0)},o(a){y(i),r=!1},d(a){a&&A(t),i.d(a)}}}function ZU(n){let e,t;return e=new Oft({props:{componentDefinition:n[5]}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&32&&(a.componentDefinition=r[5]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Dft(n){let e,t,r,i,a,o,l,s,u,c=n[5].info&&ZU(n);return t=new Vct({props:{componentInstance:n[6],componentDefinition:n[5],bindings:n[4],componentBindings:n[3],isScreen:n[0]}}),i=new Xct({props:{componentInstance:n[6],componentDefinition:n[5],bindings:n[4]}}),o=new aft({props:{componentInstance:n[6],componentDefinition:n[5],bindings:n[4]}}),s=new Cft({props:{componentInstance:n[6],componentDefinition:n[5],bindings:n[4]}}),{c(){c&&c.c(),e=q(),D(t.$$.fragment),r=q(),D(i.$$.fragment),a=q(),D(o.$$.fragment),l=q(),D(s.$$.fragment)},m(f,p){c&&c.m(f,p),M(f,e,p),T(t,f,p),M(f,r,p),T(i,f,p),M(f,a,p),T(o,f,p),M(f,l,p),T(s,f,p),u=!0},p(f,p){f[5].info?c?(c.p(f,p),p&32&&_(c,1)):(c=ZU(f),c.c(),_(c,1),c.m(e.parentNode,e)):c&&(Ae(),y(c,1,1,()=>{c=null}),Me());const h={};p&64&&(h.componentInstance=f[6]),p&32&&(h.componentDefinition=f[5]),p&16&&(h.bindings=f[4]),p&8&&(h.componentBindings=f[3]),p&1&&(h.isScreen=f[0]),t.$set(h);const g={};p&64&&(g.componentInstance=f[6]),p&32&&(g.componentDefinition=f[5]),p&16&&(g.bindings=f[4]),i.$set(g);const b={};p&64&&(b.componentInstance=f[6]),p&32&&(b.componentDefinition=f[5]),p&16&&(b.bindings=f[4]),o.$set(b);const w={};p&64&&(w.componentInstance=f[6]),p&32&&(w.componentDefinition=f[5]),p&16&&(w.bindings=f[4]),s.$set(w)},i(f){u||(_(c),_(t.$$.fragment,f),_(i.$$.fragment,f),_(o.$$.fragment,f),_(s.$$.fragment,f),u=!0)},o(f){y(c),y(t.$$.fragment,f),y(i.$$.fragment,f),y(o.$$.fragment,f),y(s.$$.fragment,f),u=!1},d(f){c&&c.d(f),f&&A(e),O(t,f),f&&A(r),O(i,f),f&&A(a),O(o,f),f&&A(l),O(s,f)}}}function ex(n){var r;let e,t;return e=new Vp({props:{title:n[2],icon:(r=n[5])==null?void 0:r.icon,borderLeft:!0,$$slots:{default:[Dft]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,a){var l;const o={};a&4&&(o.title=i[2]),a&32&&(o.icon=(l=i[5])==null?void 0:l.icon),a&633&&(o.$$scope={dirty:a,ctx:i}),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){O(e,i)}}}function Ift(n){let e,t,r=n[1]&&QU(n);return{c(){r&&r.c(),e=yt()},m(i,a){r&&r.m(i,a),M(i,e,a),t=!0},p(i,[a]){i[1]?r?(r.p(i,a),a&2&&_(r,1)):(r=QU(i),r.c(),_(r,1),r.m(e.parentNode,e)):r&&(Ae(),y(r,1,1,()=>{r=null}),Me())},i(i){t||(_(r),t=!0)},o(i){y(r),t=!1},d(i){r&&r.d(i),i&&A(e)}}}function Bft(n,e,t){let r,i,a,o,l,s,u,c,f;return Pe(n,_3,p=>t(1,u=p)),Pe(n,F1,p=>t(7,c=p)),Pe(n,Gt,p=>t(8,f=p)),n.$$.update=()=>{n.$$.dirty&2&&t(6,r=u),n.$$.dirty&2&&t(5,i=Gt.actions.components.getDefinition(u==null?void 0:u._component)),n.$$.dirty&384&&t(4,a=yS(c,f.selectedComponentId)),n.$$.dirty&384&&t(3,o=W7e(c,f.selectedComponentId)),n.$$.dirty&130&&t(0,l=(u==null?void 0:u._id)===(c==null?void 0:c.props._id)),n.$$.dirty&3&&t(2,s=l?"Screen":u==null?void 0:u._instanceName)},[l,u,s,o,a,i,r,c,f]}class Hft extends He{constructor(e){super(),Be(this,e,Bft,Ift,De,{})}}function Pft(n){let e,t,r,i,a;e=new rat({}),r=new Hft({});const o=n[1].default,l=Bn(o,n,n[0],null);return{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment),i=q(),l&&l.c()},m(s,u){T(e,s,u),M(s,t,u),T(r,s,u),M(s,i,u),l&&l.m(s,u),a=!0},p(s,[u]){l&&l.p&&(!a||u&1)&&Pn(l,o,s,s[0],a?Hn(o,s[0],u,null):Rn(s[0]),null)},i(s){a||(_(e.$$.fragment,s),_(r.$$.fragment,s),_(l,s),a=!0)},o(s){y(e.$$.fragment,s),y(r.$$.fragment,s),y(l,s),a=!1},d(s){O(e,s),s&&A(t),O(r,s),s&&A(i),l&&l.d(s)}}}function Rft(n,e,t){let r;Pe(n,F1,s=>t(2,r=s));let{$$slots:i={},$$scope:a}=e;const l=y4({urlParam:"componentId",stateKey:"selectedComponentId",validate:s=>!!Ru(r.props,s),fallbackUrl:"../",store:Gt,routify:Zd,beforeNavigate:s=>(s!=null&&s.endsWith("/index")&&(s=s.replace("/index","")),s!=null&&s.endsWith("/new")&&(s=s.replace("/new","")),{url:s})});return Uf(l),n.$$set=s=>{"$$scope"in s&&t(0,a=s.$$scope)},[a,i]}class Vft extends He{constructor(e){super(),Be(this,e,Rft,Pft,De,{})}}function Nft(n,e,t){let r,i,a;return Pe(n,Da,o=>t(0,r=o)),Pe(n,F1,o=>t(1,i=o)),Pe(n,_3,o=>t(2,a=o)),Zn(()=>{r(a?`./${a._id}`:i?`./${i.props._id}`:"../")}),[]}class Fft extends He{constructor(e){super(),Be(this,e,Nft,null,De,{})}}function jft(n,e,t){let r;return Pe(n,Da,i=>t(0,r=i)),r("./screens"),[]}class Uft extends He{constructor(e){super(),Be(this,e,jft,null,De,{})}}function xft(n){let e;return{c(){e=oe("Delete")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function qft(n){let e,t;return e=new Xr({props:{icon:"Delete",$$slots:{default:[xft]},$$scope:{ctx:n}}}),e.$on("click",function(){mn(n[0].show)&&n[0].show.apply(this,arguments)}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){n=r;const a={};i&16&&(a.$$scope={dirty:i,ctx:n}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Wft(n){let e,t,r;return t=new hn({props:{size:"S",hoverable:!0,name:"MoreSmallList"}}),{c(){e=K("div"),D(t.$$.fragment),I(e,"slot","control"),I(e,"class","icon svelte-u6s22l")},m(i,a){M(i,e,a),T(t,e,null),r=!0},p:at,i(i){r||(_(t.$$.fragment,i),r=!0)},o(i){y(t.$$.fragment,i),r=!1},d(i){i&&A(e),O(t)}}}function Gft(n){let e,t,r,i;e=new wc({props:{$$slots:{control:[Wft],default:[qft]},$$scope:{ctx:n}}});let a={title:"Confirm Deletion",body:"Are you sure you wish to delete this layout?",okText:"Delete layout",onOk:n[1]};return r=new qo({props:a}),n[3](r),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,[l]){const s={};l&17&&(s.$$scope={dirty:l,ctx:o}),e.$set(s);const u={};r.$set(u)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),n[3](null),O(r,o)}}}function Yft(n,e,t){let{layout:r}=e,i;const a=async()=>{try{await Gt.actions.layouts.delete(r),wt.success("Layout deleted successfully")}catch(l){wt.error((l==null?void 0:l.message)||"Error deleting layout")}};function o(l){Oe[l?"unshift":"push"](()=>{i=l,t(0,i)})}return n.$$set=l=>{"layout"in l&&t(2,r=l.layout)},[i,a,r,o]}class Kft extends He{constructor(e){super(),Be(this,e,Yft,Gft,De,{layout:2})}}function tx(n,e,t){const r=n.slice();return r[2]=e[t],r}function Xft(n){let e,t,r;return e=new Kft({props:{layout:n[2]}}),{c(){D(e.$$.fragment),t=q()},m(i,a){T(e,i,a),M(i,t,a),r=!0},p(i,a){const o={};a&1&&(o.layout=i[2]),e.$set(o)},i(i){r||(_(e.$$.fragment,i),r=!0)},o(i){y(e.$$.fragment,i),r=!1},d(i){O(e,i),i&&A(t)}}}function nx(n,e){let t,r,i;function a(){return e[1](e[2])}return r=new b5({props:{icon:"Experience",indentLevel:0,selected:e[0].selectedLayoutId===e[2]._id,text:e[2].name,$$slots:{default:[Xft]},$$scope:{ctx:e}}}),r.$on("click",a),{key:n,first:null,c(){t=yt(),D(r.$$.fragment),this.first=t},m(o,l){M(o,t,l),T(r,o,l),i=!0},p(o,l){e=o;const s={};l&1&&(s.selected=e[0].selectedLayoutId===e[2]._id),l&1&&(s.text=e[2].name),l&33&&(s.$$scope={dirty:l,ctx:e}),r.$set(s)},i(o){i||(_(r.$$.fragment,o),i=!0)},o(o){y(r.$$.fragment,o),i=!1},d(o){o&&A(t),O(r,o)}}}function Jft(n){let e,t=[],r=new Map,i,a=n[0].layouts;const o=l=>l[2]._id;for(let l=0;l<a.length;l+=1){let s=tx(n,a,l),u=o(s);r.set(u,t[l]=nx(u,s))}return{c(){e=K("div");for(let l=0;l<t.length;l+=1)t[l].c();I(e,"class","layouts svelte-1yaxv10")},m(l,s){M(l,e,s);for(let u=0;u<t.length;u+=1)t[u].m(e,null);i=!0},p(l,s){s&1&&(a=l[0].layouts,Ae(),t=P0(t,s,o,1,l,a,r,e,xf,nx,null,tx),Me())},i(l){if(!i){for(let s=0;s<a.length;s+=1)_(t[s]);i=!0}},o(l){for(let s=0;s<t.length;s+=1)y(t[s]);i=!1},d(l){l&&A(e);for(let s=0;s<t.length;s+=1)t[s].d()}}}function Qft(n){let e,t;return e=new Vp({props:{title:"Layouts",borderRight:!0,$$slots:{default:[Jft]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&33&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Zft(n,e,t){let r;return Pe(n,Gt,a=>t(0,r=a)),[r,a=>Gt.actions.layouts.select(a._id)]}class e2t extends He{constructor(e){super(),Be(this,e,Zft,Qft,De,{})}}function t2t(n){let e;return{c(){e=oe(`Custom layouts are being deprecated. They will be removed in a future
|
|
898
898
|
release.`)},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function n2t(n){let e;return{c(){e=oe("You can save the content of this layout by pressing the button below.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function r2t(n){let e;return{c(){e=oe(`This will copy all components inside your layout, which you can then paste
|
|
899
899
|
into a screen.`)},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function i2t(n){let e;return{c(){e=oe("Copy components")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function a2t(n){let e,t,r,i,a,o,l,s;return e=new n8({props:{type:"warning",showCloseButton:!1,$$slots:{default:[t2t]},$$scope:{ctx:n}}}),r=new Rt({props:{size:"S",$$slots:{default:[n2t]},$$scope:{ctx:n}}}),a=new Rt({props:{size:"S",$$slots:{default:[r2t]},$$scope:{ctx:n}}}),l=new gn({props:{cta:!0,$$slots:{default:[i2t]},$$scope:{ctx:n}}}),l.$on("click",n[1]),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment),i=q(),D(a.$$.fragment),o=q(),D(l.$$.fragment)},m(u,c){T(e,u,c),M(u,t,c),T(r,u,c),M(u,i,c),T(a,u,c),M(u,o,c),T(l,u,c),s=!0},p(u,c){const f={};c&4&&(f.$$scope={dirty:c,ctx:u}),e.$set(f);const p={};c&4&&(p.$$scope={dirty:c,ctx:u}),r.$set(p);const h={};c&4&&(h.$$scope={dirty:c,ctx:u}),a.$set(h);const g={};c&4&&(g.$$scope={dirty:c,ctx:u}),l.$set(g)},i(u){s||(_(e.$$.fragment,u),_(r.$$.fragment,u),_(a.$$.fragment,u),_(l.$$.fragment,u),s=!0)},o(u){y(e.$$.fragment,u),y(r.$$.fragment,u),y(a.$$.fragment,u),y(l.$$.fragment,u),s=!1},d(u){O(e,u),u&&A(t),O(r,u),u&&A(i),O(a,u),u&&A(o),O(l,u)}}}function o2t(n){let e,t;return e=new Ht({props:{paddingX:"L",paddingY:"XL",gap:"S",$$slots:{default:[a2t]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&4&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function l2t(n){var r;let e,t;return e=new Vp({props:{title:(r=n[0])==null?void 0:r.name,icon:"Experience",borderLeft:!0,$$slots:{default:[o2t]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,[a]){var l;const o={};a&1&&(o.title=(l=i[0])==null?void 0:l.name),a&4&&(o.$$scope={dirty:a,ctx:i}),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){O(e,i)}}}function s2t(n,e,t){let r;return Pe(n,Ree,a=>t(0,r=a)),[r,()=>{let a=new kC("@budibase/standard-components/container").instanceName(r.name).customProps({gap:"M",direction:"column",hAlign:"stretch",vAlign:"top",size:"shrink"}).json();a._children=r.props._children,a=JSON.parse(JSON.stringify(a).replace("@budibase/standard-components/screenslot","@budibase/standard-components/container")),Gt.actions.components.copy(a),wt.success("Components copied successfully")}]}class u2t extends He{constructor(e){super(),Be(this,e,s2t,l2t,De,{})}}function c2t(n){let e,t,r,i;return e=new e2t({}),r=new u2t({}),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(a,o){T(e,a,o),M(a,t,o),T(r,a,o),i=!0},p:at,i(a){i||(_(e.$$.fragment,a),_(r.$$.fragment,a),i=!0)},o(a){y(e.$$.fragment,a),y(r.$$.fragment,a),i=!1},d(a){O(e,a),a&&A(t),O(r,a)}}}class f2t extends He{constructor(e){super(),Be(this,e,null,c2t,De,{})}}function p2t(n){let e;const t=n[1].default,r=Bn(t,n,n[0],null);return{c(){r&&r.c()},m(i,a){r&&r.m(i,a),e=!0},p(i,[a]){r&&r.p&&(!e||a&1)&&Pn(r,t,i,i[0],e?Hn(t,i[0],a,null):Rn(i[0]),null)},i(i){e||(_(r,i),e=!0)},o(i){y(r,i),e=!1},d(i){r&&r.d(i)}}}function d2t(n,e,t){let r;Pe(n,Gt,l=>t(2,r=l));let{$$slots:i={},$$scope:a}=e;const o=y4({urlParam:"layoutId",stateKey:"selectedLayoutId",validate:l=>{var s;return(s=r.layouts)==null?void 0:s.some(u=>u._id===l)},fallbackUrl:"../",store:Gt,routify:Zd});return Uf(o),n.$$set=l=>{"$$scope"in l&&t(0,a=l.$$scope)},[a,i]}class h2t extends He{constructor(e){super(),Be(this,e,d2t,p2t,De,{})}}function m2t(n,e,t){let r,i;return Pe(n,Gt,a=>t(0,r=a)),Pe(n,Da,a=>t(1,i=a)),Zn(()=>{var a;(a=r.layouts)!=null&&a.length&&i(`./${r.layouts[0]._id}`)}),[]}class g2t extends He{constructor(e){super(),Be(this,e,m2t,null,De,{})}}function v2t(n){let e;const t=n[3].default,r=Bn(t,n,n[2],null);return{c(){r&&r.c()},m(i,a){r&&r.m(i,a),e=!0},p(i,[a]){r&&r.p&&(!e||a&4)&&Pn(r,t,i,i[2],e?Hn(t,i[2],a,null):Rn(i[2]),null)},i(i){e||(_(r,i),e=!0)},o(i){y(r,i),e=!1},d(i){r&&r.d(i)}}}function _2t(n,e,t){let r,i;Pe(n,Da,l=>t(0,r=l)),Pe(n,Gt,l=>t(1,i=l));let{$$slots:a={},$$scope:o}=e;return n.$$set=l=>{"$$scope"in l&&t(2,o=l.$$scope)},n.$$.update=()=>{var l;n.$$.dirty&3&&((l=i.layouts)!=null&&l.length||r("../"))},[r,i,o,a]}class b2t extends He{constructor(e){super(),Be(this,e,_2t,v2t,De,{})}}function y2t(n){let e,t,r;function i(o){n[5](o)}let a={options:n[3],getOptionLabel:$2t,getOptionValue:w2t,getOptionColour:n[4],placeholder:n[2],error:n[1]};return n[0]!==void 0&&(a.value=n[0]),e=new vn({props:a}),Oe.push(()=>tt(e,"value",i)),e.$on("change",n[6]),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,[l]){const s={};l&8&&(s.options=o[3]),l&4&&(s.placeholder=o[2]),l&2&&(s.error=o[1]),!t&&l&1&&(t=!0,s.value=o[0],nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}const $2t=n=>n.name,w2t=n=>n._id;function k2t(n,e,t){let r;Pe(n,du,c=>t(3,r=c));let{value:i}=e,{error:a}=e,{placeholder:o=null}=e;const l=c=>t5(c._id);function s(c){i=c,t(0,i)}function u(c){An.call(this,n,c)}return n.$$set=c=>{"value"in c&&t(0,i=c.value),"error"in c&&t(1,a=c.error),"placeholder"in c&&t(2,o=c.placeholder)},[i,a,o,r,l,s,u]}class BC extends He{constructor(e){super(),Be(this,e,k2t,y2t,De,{value:0,error:1,placeholder:2})}}function rx(n,e,t){const r=n.slice();return r[13]=e[t],r[14]=e,r[15]=t,r}function ix(n){let e,t=[],r=new Map,i,a,o,l,s=n[0];const u=c=>c[13].id;for(let c=0;c<s.length;c+=1){let f=rx(n,s,c),p=u(f);r.set(p,t[c]=ax(p,f))}return{c(){e=K("div");for(let c=0;c<t.length;c+=1)t[c].c();I(e,"class","links svelte-1fwphm1")},m(c,f){M(c,e,f);for(let p=0;p<t.length;p+=1)t[p].m(e,null);a=!0,o||(l=[Ps(i=q$.call(null,e,{items:n[0],flipDurationMs:NA,dropTargetStyle:{outline:"none"},dragDisabled:n[1]})),zt(e,"finalize",n[6]),zt(e,"consider",n[5])],o=!0)},p(c,f){if(f&23){s=c[0],Ae();for(let p=0;p<t.length;p+=1)t[p].r();t=P0(t,f,u,1,c,s,r,e,sv,ax,null,rx);for(let p=0;p<t.length;p+=1)t[p].a();Me()}i&&mn(i.update)&&f&3&&i.update.call(null,{items:c[0],flipDurationMs:NA,dropTargetStyle:{outline:"none"},dragDisabled:c[1]})},i(c){if(!a){for(let f=0;f<s.length;f+=1)_(t[f]);a=!0}},o(c){for(let f=0;f<t.length;f+=1)y(t[f]);a=!1},d(c){c&&A(e);for(let f=0;f<t.length;f+=1)t[f].d();o=!1,Mi(l)}}}function ax(n,e){let t,r,i,a,o,l,s,u,c,f,p,h,g,b,w,k,S,L=at,B,R,U;i=new hn({props:{name:"DragHandle",size:"XL"}});function x(ee){e[9](ee,e[13])}let W={placeholder:"Text"};e[13].text!==void 0&&(W.value=e[13].text),l=new En({props:W}),Oe.push(()=>tt(l,"value",x));function Y(ee){e[10](ee,e[13])}let Z={placeholder:"URL",options:e[2]};e[13].url!==void 0&&(Z.value=e[13].url),c=new m4({props:Z}),Oe.push(()=>tt(c,"value",Y));function te(ee){e[11](ee,e[13])}let ue={placeholder:"Minimum role"};e[13].roleId!==void 0&&(ue.value=e[13].roleId),h=new BC({props:ue}),Oe.push(()=>tt(h,"value",te));function se(){return e[12](e[13])}return w=new hn({props:{name:"Close",hoverable:!0,size:"S"}}),w.$on("click",se),{key:n,first:null,c(){t=K("div"),r=K("div"),D(i.$$.fragment),o=q(),D(l.$$.fragment),u=q(),D(c.$$.fragment),p=q(),D(h.$$.fragment),b=q(),D(w.$$.fragment),k=q(),I(r,"class","handle svelte-1fwphm1"),I(r,"aria-label","drag-handle"),I(r,"style",a=e[1]?"cursor: grab":"cursor: grabbing"),I(t,"class","link svelte-1fwphm1"),this.first=t},m(ee,X){M(ee,t,X),N(t,r),T(i,r,null),N(t,o),T(l,t,null),N(t,u),T(c,t,null),N(t,p),T(h,t,null),N(t,b),T(w,t,null),N(t,k),B=!0,R||(U=zt(r,"mousedown",e[8]),R=!0)},p(ee,X){e=ee,(!B||X&2&&a!==(a=e[1]?"cursor: grab":"cursor: grabbing"))&&I(r,"style",a);const re={};!s&&X&1&&(s=!0,re.value=e[13].text,nt(()=>s=!1)),l.$set(re);const le={};X&4&&(le.options=e[2]),!f&&X&1&&(f=!0,le.value=e[13].url,nt(()=>f=!1)),c.$set(le);const fe={};!g&&X&1&&(g=!0,fe.value=e[13].roleId,nt(()=>g=!1)),h.$set(fe)},r(){S=t.getBoundingClientRect()},f(){lv(t),L()},a(){L(),L=ov(t,S,Tv,{duration:NA})},i(ee){B||(_(i.$$.fragment,ee),_(l.$$.fragment,ee),_(c.$$.fragment,ee),_(h.$$.fragment,ee),_(w.$$.fragment,ee),B=!0)},o(ee){y(i.$$.fragment,ee),y(l.$$.fragment,ee),y(c.$$.fragment,ee),y(h.$$.fragment,ee),y(w.$$.fragment,ee),B=!1},d(ee){ee&&A(t),O(i),O(l),O(c),O(h),O(w),R=!1,U()}}}function z2t(n){let e;return{c(){e=oe("Add Link")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function A2t(n){var o;let e,t,r,i,a=((o=n[0])==null?void 0:o.length)&&ix(n);return r=new gn({props:{secondary:!0,icon:"Add",$$slots:{default:[z2t]},$$scope:{ctx:n}}}),r.$on("click",n[3]),{c(){a&&a.c(),e=q(),t=K("div"),D(r.$$.fragment)},m(l,s){a&&a.m(l,s),M(l,e,s),M(l,t,s),T(r,t,null),i=!0},p(l,s){var c;(c=l[0])!=null&&c.length?a?(a.p(l,s),s&1&&_(a,1)):(a=ix(l),a.c(),_(a,1),a.m(e.parentNode,e)):a&&(Ae(),y(a,1,1,()=>{a=null}),Me());const u={};s&65536&&(u.$$scope={dirty:s,ctx:l}),r.$set(u)},i(l){i||(_(a),_(r.$$.fragment,l),i=!0)},o(l){y(a),y(r.$$.fragment,l),i=!1},d(l){a&&a.d(l),l&&A(e),l&&A(t),O(r)}}}function M2t(n){let e,t,r;return t=new Ht({props:{noPadding:!0,gap:"S",$$slots:{default:[A2t]},$$scope:{ctx:n}}}),{c(){e=K("div"),D(t.$$.fragment),I(e,"class","container svelte-1fwphm1")},m(i,a){M(i,e,a),T(t,e,null),r=!0},p(i,a){const o={};a&65543&&(o.$$scope={dirty:a,ctx:i}),t.$set(o)},i(i){r||(_(t.$$.fragment,i),r=!0)},o(i){y(t.$$.fragment,i),r=!1},d(i){i&&A(e),O(t)}}}function S2t(n){let e,t;return e=new dd({props:{$$slots:{default:[M2t]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&65543&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}const NA=150;function C2t(n,e,t){let r,i;Pe(n,Gt,w=>t(7,i=w));let{links:a=[]}=e,o=!0;const l=()=>{t(0,a=[...a,{}])},s=w=>{t(0,a=a.filter(k=>k.id!==w))},u=w=>{t(0,a=w.detail.items)},c=w=>{u(w),t(1,o=!0)},f=()=>t(1,o=!1);function p(w,k){n.$$.not_equal(k.text,w)&&(k.text=w,t(0,a))}function h(w,k){n.$$.not_equal(k.url,w)&&(k.url=w,t(0,a))}function g(w,k){n.$$.not_equal(k.roleId,w)&&(k.roleId=w,t(0,a))}const b=w=>s(w.id);return n.$$set=w=>{"links"in w&&t(0,a=w.links)},n.$$.update=()=>{n.$$.dirty&1&&a.forEach(w=>{w.id||(w.id=Vf.exports.generate())}),n.$$.dirty&128&&t(2,r=i.screens.map(w=>{var k;return(k=w.routing)==null?void 0:k.route}).filter(w=>w!=null))},[a,o,r,l,s,u,c,i,f,p,h,g,b]}class L2t extends He{constructor(e){super(),Be(this,e,C2t,S2t,De,{links:0})}}function E2t(n){let e;return{c(){e=oe("Configure links")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function T2t(n){let e;return{c(){e=oe("Configure the links in your navigation bar.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function O2t(n){let e;return{c(){e=oe("Save")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function D2t(n){let e,t;return e=new gn({props:{cta:!0,slot:"buttons",$$slots:{default:[O2t]},$$scope:{ctx:n}}}),e.$on("click",n[3]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&128&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function I2t(n){let e,t,r;function i(o){n[4](o)}let a={slot:"body"};return n[1]!==void 0&&(a.links=n[1]),e=new L2t({props:a}),Oe.push(()=>tt(e,"links",i)),{c(){D(e.$$.fragment)},m(o,l){T(e,o,l),r=!0},p(o,l){const s={};!t&&l&2&&(t=!0,s.links=o[1],nt(()=>t=!1)),e.$set(s)},i(o){r||(_(e.$$.fragment,o),r=!0)},o(o){y(e.$$.fragment,o),r=!1},d(o){O(e,o)}}}function B2t(n){let e,t,r,i;e=new gn({props:{cta:!0,$$slots:{default:[E2t]},$$scope:{ctx:n}}}),e.$on("click",n[2]);let a={title:"Navigation Links",width:"calc(100% - 334px)",$$slots:{body:[I2t],buttons:[D2t],description:[T2t]},$$scope:{ctx:n}};return r=new pp({props:a}),n[5](r),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,[l]){const s={};l&128&&(s.$$scope={dirty:l,ctx:o}),e.$set(s);const u={};l&130&&(u.$$scope={dirty:l,ctx:o}),r.$set(u)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),n[5](null),O(r,o)}}}function H2t(n,e,t){let r;Pe(n,Gt,c=>t(6,r=c));let i,a;const o=()=>{t(1,a=na.cloneDeep(r.navigation.links||[])),i.show()},l=async()=>{let c=r.navigation;c.links=a,await Gt.actions.navigation.save(c),i.hide()};function s(c){a=c,t(1,a)}function u(c){Oe[c?"unshift":"push"](()=>{i=c,t(0,i)})}return[i,a,o,l,s,u]}class P2t extends He{constructor(e){super(),Be(this,e,H2t,B2t,De,{})}}function R2t(n){let e;return{c(){e=oe("Position")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function V2t(n){let e,t,r,i;return e=new Jr({props:{selected:n[0].navigation.navigation==="Top",quiet:n[0].navigation.navigation!=="Top",icon:"PaddingTop"}}),e.$on("click",n[2]),r=new Jr({props:{selected:n[0].navigation.navigation==="Left",quiet:n[0].navigation.navigation!=="Left",icon:"PaddingLeft"}}),r.$on("click",n[3]),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(a,o){T(e,a,o),M(a,t,o),T(r,a,o),i=!0},p(a,o){const l={};o&1&&(l.selected=a[0].navigation.navigation==="Top"),o&1&&(l.quiet=a[0].navigation.navigation!=="Top"),e.$set(l);const s={};o&1&&(s.selected=a[0].navigation.navigation==="Left"),o&1&&(s.quiet=a[0].navigation.navigation!=="Left"),r.$set(s)},i(a){i||(_(e.$$.fragment,a),_(r.$$.fragment,a),i=!0)},o(a){y(e.$$.fragment,a),y(r.$$.fragment,a),i=!1},d(a){O(e,a),a&&A(t),O(r,a)}}}function N2t(n){let e,t,r,i;return e=new un({props:{$$slots:{default:[R2t]},$$scope:{ctx:n}}}),r=new Py({props:{quiet:!0,$$slots:{default:[V2t]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(a,o){T(e,a,o),M(a,t,o),T(r,a,o),i=!0},p(a,o){const l={};o&4096&&(l.$$scope={dirty:o,ctx:a}),e.$set(l);const s={};o&4097&&(s.$$scope={dirty:o,ctx:a}),r.$set(s)},i(a){i||(_(e.$$.fragment,a),_(r.$$.fragment,a),i=!0)},o(a){y(e.$$.fragment,a),y(r.$$.fragment,a),i=!1},d(a){O(e,a),a&&A(t),O(r,a)}}}function ox(n){let e,t,r,i;return e=new Rs({props:{text:"Sticky header",value:n[0].navigation.sticky}}),e.$on("change",n[4]),r=new vn({props:{label:"Width",options:["Max","Large","Medium","Small"],plaveholder:null,value:n[0].navigation.navWidth}}),r.$on("change",n[5]),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(a,o){T(e,a,o),M(a,t,o),T(r,a,o),i=!0},p(a,o){const l={};o&1&&(l.value=a[0].navigation.sticky),e.$set(l);const s={};o&1&&(s.value=a[0].navigation.navWidth),r.$set(s)},i(a){i||(_(e.$$.fragment,a),_(r.$$.fragment,a),i=!0)},o(a){y(e.$$.fragment,a),y(r.$$.fragment,a),i=!1},d(a){O(e,a),a&&A(t),O(r,a)}}}function lx(n){let e,t;return e=new En({props:{value:n[0].navigation.logoUrl,placeholder:"Add logo URL",updateOnChange:!1}}),e.$on("change",n[7]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&1&&(a.value=r[0].navigation.logoUrl),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function F2t(n){let e,t,r,i;e=new Rs({props:{text:"Logo",value:!n[0].navigation.hideLogo}}),e.$on("change",n[6]);let a=!n[0].navigation.hideLogo&&lx(n);return{c(){D(e.$$.fragment),t=q(),a&&a.c(),r=yt()},m(o,l){T(e,o,l),M(o,t,l),a&&a.m(o,l),M(o,r,l),i=!0},p(o,l){const s={};l&1&&(s.value=!o[0].navigation.hideLogo),e.$set(s),o[0].navigation.hideLogo?a&&(Ae(),y(a,1,1,()=>{a=null}),Me()):a?(a.p(o,l),l&1&&_(a,1)):(a=lx(o),a.c(),_(a,1),a.m(r.parentNode,r))},i(o){i||(_(e.$$.fragment,o),_(a),i=!0)},o(o){y(e.$$.fragment,o),y(a),i=!1},d(o){O(e,o),o&&A(t),a&&a.d(o),o&&A(r)}}}function sx(n){let e,t;return e=new En({props:{value:n[0].navigation.title,placeholder:"Add title",updateOnChange:!1}}),e.$on("change",n[9]),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&1&&(a.value=r[0].navigation.title),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function j2t(n){let e,t,r,i;e=new Rs({props:{text:"Title",value:!n[0].navigation.hideTitle}}),e.$on("change",n[8]);let a=!n[0].navigation.hideTitle&&sx(n);return{c(){D(e.$$.fragment),t=q(),a&&a.c(),r=yt()},m(o,l){T(e,o,l),M(o,t,l),a&&a.m(o,l),M(o,r,l),i=!0},p(o,l){const s={};l&1&&(s.value=!o[0].navigation.hideTitle),e.$set(s),o[0].navigation.hideTitle?a&&(Ae(),y(a,1,1,()=>{a=null}),Me()):a?(a.p(o,l),l&1&&_(a,1)):(a=sx(o),a.c(),_(a,1),a.m(r.parentNode,r))},i(o){i||(_(e.$$.fragment,o),_(a),i=!0)},o(o){y(e.$$.fragment,o),y(a),i=!1},d(o){O(e,o),o&&A(t),a&&a.d(o),o&&A(r)}}}function U2t(n){let e;return{c(){e=oe("Background color")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function x2t(n){let e,t,r,i;return e=new un({props:{$$slots:{default:[U2t]},$$scope:{ctx:n}}}),r=new h5({props:{spectrumTheme:n[0].theme,value:n[0].navigation.navBackground||s4.navBackground}}),r.$on("change",n[10]),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(a,o){T(e,a,o),M(a,t,o),T(r,a,o),i=!0},p(a,o){const l={};o&4096&&(l.$$scope={dirty:o,ctx:a}),e.$set(l);const s={};o&1&&(s.spectrumTheme=a[0].theme),o&1&&(s.value=a[0].navigation.navBackground||s4.navBackground),r.$set(s)},i(a){i||(_(e.$$.fragment,a),_(r.$$.fragment,a),i=!0)},o(a){y(e.$$.fragment,a),y(r.$$.fragment,a),i=!1},d(a){O(e,a),a&&A(t),O(r,a)}}}function q2t(n){let e;return{c(){e=oe("Text color")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function W2t(n){let e,t,r,i;return e=new un({props:{$$slots:{default:[q2t]},$$scope:{ctx:n}}}),r=new h5({props:{spectrumTheme:n[0].theme,value:n[0].navigation.navTextColor||s4.navTextColor}}),r.$on("change",n[11]),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(a,o){T(e,a,o),M(a,t,o),T(r,a,o),i=!0},p(a,o){const l={};o&4096&&(l.$$scope={dirty:o,ctx:a}),e.$set(l);const s={};o&1&&(s.spectrumTheme=a[0].theme),o&1&&(s.value=a[0].navigation.navTextColor||s4.navTextColor),r.$set(s)},i(a){i||(_(e.$$.fragment,a),_(r.$$.fragment,a),i=!0)},o(a){y(e.$$.fragment,a),y(r.$$.fragment,a),i=!1},d(a){O(e,a),a&&A(t),O(r,a)}}}function G2t(n){let e,t,r,i,a,o,l,s,u,c,f,p,h;e=new P2t({}),r=new Ht({props:{noPadding:!0,gap:"XS",$$slots:{default:[N2t]},$$scope:{ctx:n}}});let g=n[0].navigation.navigation==="Top"&&ox(n);return o=new Ht({props:{noPadding:!0,gap:"XS",$$slots:{default:[F2t]},$$scope:{ctx:n}}}),s=new Ht({props:{noPadding:!0,gap:"XS",$$slots:{default:[j2t]},$$scope:{ctx:n}}}),c=new Ht({props:{noPadding:!0,gap:"XS",$$slots:{default:[x2t]},$$scope:{ctx:n}}}),p=new Ht({props:{noPadding:!0,gap:"XS",$$slots:{default:[W2t]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment),i=q(),g&&g.c(),a=q(),D(o.$$.fragment),l=q(),D(s.$$.fragment),u=q(),D(c.$$.fragment),f=q(),D(p.$$.fragment)},m(b,w){T(e,b,w),M(b,t,w),T(r,b,w),M(b,i,w),g&&g.m(b,w),M(b,a,w),T(o,b,w),M(b,l,w),T(s,b,w),M(b,u,w),T(c,b,w),M(b,f,w),T(p,b,w),h=!0},p(b,w){const k={};w&4097&&(k.$$scope={dirty:w,ctx:b}),r.$set(k),b[0].navigation.navigation==="Top"?g?(g.p(b,w),w&1&&_(g,1)):(g=ox(b),g.c(),_(g,1),g.m(a.parentNode,a)):g&&(Ae(),y(g,1,1,()=>{g=null}),Me());const S={};w&4097&&(S.$$scope={dirty:w,ctx:b}),o.$set(S);const L={};w&4097&&(L.$$scope={dirty:w,ctx:b}),s.$set(L);const B={};w&4097&&(B.$$scope={dirty:w,ctx:b}),c.$set(B);const R={};w&4097&&(R.$$scope={dirty:w,ctx:b}),p.$set(R)},i(b){h||(_(e.$$.fragment,b),_(r.$$.fragment,b),_(g),_(o.$$.fragment,b),_(s.$$.fragment,b),_(c.$$.fragment,b),_(p.$$.fragment,b),h=!0)},o(b){y(e.$$.fragment,b),y(r.$$.fragment,b),y(g),y(o.$$.fragment,b),y(s.$$.fragment,b),y(c.$$.fragment,b),y(p.$$.fragment,b),h=!1},d(b){O(e,b),b&&A(t),O(r,b),b&&A(i),g&&g.d(b),b&&A(a),O(o,b),b&&A(l),O(s,b),b&&A(u),O(c,b),b&&A(f),O(p,b)}}}function Y2t(n){let e,t;return e=new Ht({props:{paddingX:"L",paddingY:"XL",gap:"S",$$slots:{default:[G2t]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&4097&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function K2t(n){let e,t;return e=new Vp({props:{title:"Navigation",borderRight:!0,$$slots:{default:[Y2t]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&4097&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function X2t(n,e,t){let r;Pe(n,Gt,b=>t(0,r=b));const i=async(b,w)=>{try{let k=r.navigation;k[b]=w,await Gt.actions.navigation.save(k)}catch{wt.error("Error updating navigation settings")}};return[r,i,()=>i("navigation","Top"),()=>i("navigation","Left"),b=>i("sticky",b.detail),b=>i("navWidth",b.detail),b=>i("hideLogo",!b.detail),b=>i("logoUrl",b.detail),b=>i("hideTitle",!b.detail),b=>i("title",b.detail),b=>i("navBackground",b.detail),b=>i("navTextColor",b.detail)]}class J2t extends He{constructor(e){super(),Be(this,e,X2t,K2t,De,{})}}function ux(n){let e,t;return e=new n8({props:{type:"warning",extraButtonText:"Detach custom layout",extraButtonAction:n[1],showCloseButton:!1,$$slots:{default:[Q2t]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&4&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Q2t(n){let e;return{c(){e=oe(`You can't preview your navigation settings using this screen as it uses
|
|
900
900
|
a custom layout, which is deprecated`)},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Z2t(n){let e;return{c(){e=oe("Your navigation is configured for all the screens within your app.")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function ept(n){let e;return{c(){e=oe(`You can hide and show your navigation for each screen in the screen
|
|
@@ -947,7 +947,7 @@ Use Save As... to download, then click back to return to this page.`)&&(location
|
|
|
947
947
|
`),t=K("i"),i=oe(r),a=oe("?"),o=oe(`
|
|
948
948
|
This action cannot be undone.`)},m(l,s){M(l,e,s),M(l,t,s),N(t,i),N(t,a),M(l,o,s)},p(l,s){s&1&&r!==(r=l[0].name+"")&&ht(i,r)},d(l){l&&A(e),l&&A(t),l&&A(o)}}}function xht(n){let e,t,r,i,a,o;e=new wc({props:{$$slots:{control:[jht],default:[Fht]},$$scope:{ctx:n}}});let l={okText:"Delete Automation",onOk:n[3],title:"Confirm Deletion",$$slots:{default:[Uht]},$$scope:{ctx:n}};r=new qo({props:l}),n[5](r);let s={automation:n[0]};return a=new Pht({props:s}),n[6](a),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment),i=q(),D(a.$$.fragment)},m(u,c){T(e,u,c),M(u,t,c),T(r,u,c),M(u,i,c),T(a,u,c),o=!0},p(u,[c]){const f={};c&518&&(f.$$scope={dirty:c,ctx:u}),e.$set(f);const p={};c&513&&(p.$$scope={dirty:c,ctx:u}),r.$set(p);const h={};c&1&&(h.automation=u[0]),a.$set(h)},i(u){o||(_(e.$$.fragment,u),_(r.$$.fragment,u),_(a.$$.fragment,u),o=!0)},o(u){y(e.$$.fragment,u),y(r.$$.fragment,u),y(a.$$.fragment,u),o=!1},d(u){O(e,u),u&&A(t),n[5](null),O(r,u),u&&A(i),n[6](null),O(a,u)}}}function qht(n,e,t){let r,i;Pe(n,Ir,p=>t(7,r=p)),Pe(n,Ur,p=>t(8,i=p));let{automation:a}=e,o,l;async function s(){try{await Ir.actions.delete(a),wt.success("Automation deleted successfully"),i("../automate")}catch{wt.error("Error deleting automation")}}async function u(){try{await Ir.actions.duplicate(a),wt.success("Automation has been duplicated successfully"),i(`./${r.selectedAutomation.automation._id}`)}catch{wt.error("Error duplicating automation")}}function c(p){Oe[p?"unshift":"push"](()=>{o=p,t(1,o)})}function f(p){Oe[p?"unshift":"push"](()=>{l=p,t(2,l)})}return n.$$set=p=>{"automation"in p&&t(0,a=p.automation)},[a,o,l,s,u,c,f]}class Wht extends He{constructor(e){super(),Be(this,e,qht,xht,De,{automation:0})}}function Lq(n,e,t){const r=n.slice();return r[5]=e[t],r[7]=t,r}function Ght(n){let e,t,r;return e=new Wht({props:{automation:n[5]}}),{c(){D(e.$$.fragment),t=q()},m(i,a){T(e,i,a),M(i,t,a),r=!0},p(i,a){const o={};a&1&&(o.automation=i[5]),e.$set(o)},i(i){r||(_(e.$$.fragment,i),r=!0)},o(i){y(e.$$.fragment,i),r=!1},d(i){O(e,i),i&&A(t)}}}function Eq(n){let e,t;function r(){return n[3](n[5])}return e=new b5({props:{border:n[7]>0,icon:"ShareAndroid",text:n[5].name,selected:n[5]._id===n[1],$$slots:{default:[Ght]},$$scope:{ctx:n}}}),e.$on("click",r),{c(){D(e.$$.fragment)},m(i,a){T(e,i,a),t=!0},p(i,a){n=i;const o={};a&1&&(o.text=n[5].name),a&3&&(o.selected=n[5]._id===n[1]),a&257&&(o.$$scope={dirty:a,ctx:n}),e.$set(o)},i(i){t||(_(e.$$.fragment,i),t=!0)},o(i){y(e.$$.fragment,i),t=!1},d(i){O(e,i)}}}function Yht(n){let e,t,r=n[0].automations.sort(Tq),i=[];for(let o=0;o<r.length;o+=1)i[o]=Eq(Lq(n,r,o));const a=o=>y(i[o],1,1,()=>{i[o]=null});return{c(){e=K("div");for(let o=0;o<i.length;o+=1)i[o].c();I(e,"class","automations-list svelte-g64vb")},m(o,l){M(o,e,l);for(let s=0;s<i.length;s+=1)i[s].m(e,null);t=!0},p(o,[l]){if(l&7){r=o[0].automations.sort(Tq);let s;for(s=0;s<r.length;s+=1){const u=Lq(o,r,s);i[s]?(i[s].p(u,l),_(i[s],1)):(i[s]=Eq(u),i[s].c(),_(i[s],1),i[s].m(e,null))}for(Ae(),s=r.length;s<i.length;s+=1)a(s);Me()}},i(o){if(!t){for(let l=0;l<r.length;l+=1)_(i[l]);t=!0}},o(o){i=i.filter(Boolean);for(let l=0;l<i.length;l+=1)y(i[l]);t=!1},d(o){o&&A(e),Mn(i,o)}}}const Tq=n=>n.name;function Kht(n,e,t){let r,i,a;Pe(n,Ur,s=>t(4,i=s)),Pe(n,Ir,s=>t(0,a=s)),Zn(async()=>{try{await Ir.actions.fetch()}catch{wt.error("Error getting automations list")}});function o(s){Ir.actions.select(s),i(`./${s._id}`)}const l=s=>o(s);return n.$$.update=()=>{var s,u;n.$$.dirty&1&&t(1,r=(u=(s=a.selectedAutomation)==null?void 0:s.automation)==null?void 0:u._id)},[a,r,o,l]}class Xht extends He{constructor(e){super(),Be(this,e,Kht,Yht,De,{})}}function Oq(n,e,t){const r=n.slice();return r[17]=e[t][0],r[18]=e[t][1],r}function Jht(n){let e;return{c(){e=oe(`Please name your automation, then select a trigger. Every automation must
|
|
949
949
|
start with a trigger.`)},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Qht(n){let e;return{c(){e=oe("Triggers")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Zht(n){let e=n[18].name+"",t;return{c(){t=oe(e)},m(r,i){M(r,t,i)},p(r,i){i&8&&e!==(e=r[18].name+"")&&ht(t,e)},d(r){r&&A(t)}}}function Dq(n){let e,t,r,i,a,o,l,s,u,c;r=new hn({props:{name:n[18].icon}}),o=new Rt({props:{size:"S",$$slots:{default:[Zht]},$$scope:{ctx:n}}});function f(){return n[13](n[18])}return{c(){e=K("div"),t=K("div"),D(r.$$.fragment),i=q(),a=K("span"),D(o.$$.fragment),l=q(),I(a,"class","icon-spacing svelte-1735451"),I(t,"class","item-body svelte-1735451"),I(e,"class","item svelte-1735451"),Ee(e,"selected",n[2]===n[18].name)},m(p,h){M(p,e,h),N(e,t),T(r,t,null),N(t,i),N(t,a),T(o,a,null),N(e,l),s=!0,u||(c=zt(e,"click",f),u=!0)},p(p,h){n=p;const g={};h&8&&(g.name=n[18].icon),r.$set(g);const b={};h&2097160&&(b.$$scope={dirty:h,ctx:n}),o.$set(b),(!s||h&12)&&Ee(e,"selected",n[2]===n[18].name)},i(p){s||(_(r.$$.fragment,p),_(o.$$.fragment,p),s=!0)},o(p){y(r.$$.fragment,p),y(o.$$.fragment,p),s=!1},d(p){p&&A(e),O(r),O(o),u=!1,c()}}}function emt(n){let e,t,r,i;e=new Rt({props:{size:"S",$$slots:{default:[Qht]},$$scope:{ctx:n}}});let a=n[3],o=[];for(let s=0;s<a.length;s+=1)o[s]=Dq(Oq(n,a,s));const l=s=>y(o[s],1,1,()=>{o[s]=null});return{c(){D(e.$$.fragment),t=q(),r=K("div");for(let s=0;s<o.length;s+=1)o[s].c();I(r,"class","item-list svelte-1735451")},m(s,u){T(e,s,u),M(s,t,u),M(s,r,u);for(let c=0;c<o.length;c+=1)o[c].m(r,null);i=!0},p(s,u){const c={};if(u&2097152&&(c.$$scope={dirty:u,ctx:s}),e.$set(c),u&76){a=s[3];let f;for(f=0;f<a.length;f+=1){const p=Oq(s,a,f);o[f]?(o[f].p(p,u),_(o[f],1)):(o[f]=Dq(p),o[f].c(),_(o[f],1),o[f].m(r,null))}for(Ae(),f=a.length;f<o.length;f+=1)l(f);Me()}},i(s){if(!i){_(e.$$.fragment,s);for(let u=0;u<a.length;u+=1)_(o[u]);i=!0}},o(s){y(e.$$.fragment,s),o=o.filter(Boolean);for(let u=0;u<o.length;u+=1)y(o[u]);i=!1},d(s){O(e,s),s&&A(t),s&&A(r),Mn(o,s)}}}function tmt(n){let e,t,r,i,a,o,l,s,u,c;e=new t8({props:{header:"You must publish your app to activate your automations.",message:"To test your automation before publishing, you can use the 'Run Test' functionality on the next screen."}}),r=new Rt({props:{size:"XS",$$slots:{default:[Jht]},$$scope:{ctx:n}}});function f(g){n[10](g)}function p(g){n[11](g)}let h={label:"Name"};return n[0]!==void 0&&(h.value=n[0]),n[4]!==void 0&&(h.error=n[4]),a=new En({props:h}),Oe.push(()=>tt(a,"value",f)),Oe.push(()=>tt(a,"error",p)),a.$on("input",n[12]),u=new Ht({props:{noPadding:!0,$$slots:{default:[emt]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment),i=q(),D(a.$$.fragment),s=q(),D(u.$$.fragment)},m(g,b){T(e,g,b),M(g,t,b),T(r,g,b),M(g,i,b),T(a,g,b),M(g,s,b),T(u,g,b),c=!0},p(g,b){const w={};b&2097152&&(w.$$scope={dirty:b,ctx:g}),r.$set(w);const k={};!o&&b&1&&(o=!0,k.value=g[0],nt(()=>o=!1)),!l&&b&16&&(l=!0,k.error=g[4],nt(()=>l=!1)),a.$set(k);const S={};b&2097164&&(S.$$scope={dirty:b,ctx:g}),u.$set(S)},i(g){c||(_(e.$$.fragment,g),_(r.$$.fragment,g),_(a.$$.fragment,g),_(u.$$.fragment,g),c=!0)},o(g){y(e.$$.fragment,g),y(r.$$.fragment,g),y(a.$$.fragment,g),y(u.$$.fragment,g),c=!1},d(g){O(e,g),g&&A(t),O(r,g),g&&A(i),O(a,g),g&&A(s),O(u,g)}}}function nmt(n){let e,t;return e=new gr({props:{title:"Create Automation",confirmText:"Save",size:"M",onConfirm:n[5],disabled:!n[2]||!n[0],$$slots:{default:[tmt]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,[i]){const a={};i&5&&(a.disabled=!r[2]||!r[0]),i&2097183&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function rmt(n,e,t){let r,i,a,o,l,s;Pe(n,Ir,B=>t(8,o=B)),Pe(n,Ur,B=>t(16,l=B)),Pe(n,_4,B=>t(9,s=B));let u,c,f=!1,p,{webhookModal:h}=e;async function g(){var B;try{await Ir.actions.create({name:u,instanceId:r});const R=o.selectedAutomation.constructBlock("TRIGGER",p.stepId,p);Ir.actions.addBlockToAutomation(R),p.stepId===R6.WEBHOOK&&h.show,await Ir.actions.save((B=o.selectedAutomation)==null?void 0:B.automation),wt.success(`Automation ${u} created`),l(`./${o.selectedAutomation.automation._id}`)}catch{wt.error("Error creating automation")}}const b=B=>{p=B,t(2,c=B.name)};function w(B){u=B,t(0,u)}function k(B){i=B,t(4,i),t(1,f),t(0,u)}const S=()=>t(1,f=!0),L=B=>b(B);return n.$$set=B=>{"webhookModal"in B&&t(7,h=B.webhookModal)},n.$$.update=()=>{n.$$.dirty&512&&(r=s._id),n.$$.dirty&3&&t(4,i=f&&!u?"Please specify a name for the automation.":null),n.$$.dirty&256&&t(3,a=Object.entries(o.blockDefinitions.TRIGGER))},[u,f,c,a,i,g,b,h,o,s,w,k,S,L]}class aie extends He{constructor(e){super(),Be(this,e,rmt,nmt,De,{webhookModal:7})}}function imt(n){let e;return{c(){e=oe("Add automation")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function amt(n){let e,t;return e=new gn({props:{cta:!0,wide:!0,$$slots:{default:[imt]},$$scope:{ctx:n}}}),e.$on("click",function(){mn(n[0].show)&&n[0].show.apply(this,arguments)}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){n=r;const a={};i&8&&(a.$$scope={dirty:i,ctx:n}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function omt(n){let e,t;return e=new aie({props:{webhookModal:n[1]}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&2&&(a.webhookModal=r[1]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function lmt(n){let e,t,r,i,a,o;e=new Ht({props:{paddingX:"L",paddingY:"L",gap:"S",$$slots:{default:[amt]},$$scope:{ctx:n}}}),r=new Xht({});let l={$$slots:{default:[omt]},$$scope:{ctx:n}};return a=new ir({props:l}),n[2](a),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment),i=q(),D(a.$$.fragment)},m(s,u){T(e,s,u),M(s,t,u),T(r,s,u),M(s,i,u),T(a,s,u),o=!0},p(s,u){const c={};u&9&&(c.$$scope={dirty:u,ctx:s}),e.$set(c);const f={};u&10&&(f.$$scope={dirty:u,ctx:s}),a.$set(f)},i(s){o||(_(e.$$.fragment,s),_(r.$$.fragment,s),_(a.$$.fragment,s),o=!0)},o(s){y(e.$$.fragment,s),y(r.$$.fragment,s),y(a.$$.fragment,s),o=!1},d(s){O(e,s),s&&A(t),O(r,s),s&&A(i),n[2](null),O(a,s)}}}function smt(n){let e,t;return e=new z1({props:{title:"Automations",$$slots:{default:[lmt]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&11&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function umt(n){let e,t,r;return t=new dp({props:{selected:"Automations",$$slots:{default:[smt]},$$scope:{ctx:n}}}),{c(){e=K("div"),D(t.$$.fragment),I(e,"class","nav svelte-9wnw5f")},m(i,a){M(i,e,a),T(t,e,null),r=!0},p(i,[a]){const o={};a&11&&(o.$$scope={dirty:a,ctx:i}),t.$set(o)},i(i){r||(_(t.$$.fragment,i),r=!0)},o(i){y(t.$$.fragment,i),r=!1},d(i){i&&A(e),O(t)}}}function cmt(n,e,t){let{modal:r}=e,{webhookModal:i}=e;function a(o){Oe[o?"unshift":"push"](()=>{r=o,t(0,r)})}return n.$$set=o=>{"modal"in o&&t(0,r=o.modal),"webhookModal"in o&&t(1,i=o.webhookModal)},[r,i,a]}class fmt extends He{constructor(e){super(),Be(this,e,cmt,umt,De,{modal:0,webhookModal:1})}}function Iq(n,e,t){const r=n.slice();return r[8]=e[t],r[10]=t,r}function Bq(n){var u;let e,t,r,i,a;function o(c){n[6](c)}let l={showTestStatus:!0,block:n[8],isTrigger:n[10]===0,idx:n[10],testResult:(u=n[2])==null?void 0:u[n[10]]};n[3]!==void 0&&(l.showParameters=n[3]),e=new iie({props:l}),Oe.push(()=>tt(e,"showParameters",o));let s=n[3]&&n[3][n[8].id]&&Hq(n);return{c(){D(e.$$.fragment),r=q(),s&&s.c(),i=yt()},m(c,f){T(e,c,f),M(c,r,f),s&&s.m(c,f),M(c,i,f),a=!0},p(c,f){var h;const p={};f&2&&(p.block=c[8]),f&4&&(p.testResult=(h=c[2])==null?void 0:h[c[10]]),!t&&f&8&&(t=!0,p.showParameters=c[3],nt(()=>t=!1)),e.$set(p),c[3]&&c[3][c[8].id]?s?(s.p(c,f),f&10&&_(s,1)):(s=Hq(c),s.c(),_(s,1),s.m(i.parentNode,i)):s&&(Ae(),y(s,1,1,()=>{s=null}),Me())},i(c){a||(_(e.$$.fragment,c),_(s),a=!0)},o(c){y(e.$$.fragment,c),y(s),a=!1},d(c){O(e,c),c&&A(r),s&&s.d(c),c&&A(i)}}}function Hq(n){var s,u;let e,t,r,i,a,o;e=new oi({props:{noMargin:!0}});let l=((u=(s=n[2])==null?void 0:s[n[10]])==null?void 0:u.outputs.iterations)&&Pq(n);return a=new dp({props:{noHorizPadding:!0,selected:"Input",$$slots:{default:[mmt]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment),t=q(),l&&l.c(),r=q(),i=K("div"),D(a.$$.fragment),I(i,"class","tabs svelte-1iblsnb")},m(c,f){T(e,c,f),M(c,t,f),l&&l.m(c,f),M(c,r,f),M(c,i,f),T(a,i,null),o=!0},p(c,f){var h,g;(g=(h=c[2])==null?void 0:h[c[10]])!=null&&g.outputs.iterations?l?(l.p(c,f),f&4&&_(l,1)):(l=Pq(c),l.c(),_(l,1),l.m(r.parentNode,r)):l&&(Ae(),y(l,1,1,()=>{l=null}),Me());const p={};f&2052&&(p.$$scope={dirty:f,ctx:c}),a.$set(p)},i(c){o||(_(e.$$.fragment,c),_(l),_(a.$$.fragment,c),o=!0)},o(c){y(e.$$.fragment,c),y(l),y(a.$$.fragment,c),o=!1},d(c){O(e,c),c&&A(t),l&&l.d(c),c&&A(r),c&&A(i),O(a)}}}function Pq(n){let e,t,r,i,a,o;return t=new hn({props:{name:"Reuse"}}),a=new un({props:{$$slots:{default:[pmt]},$$scope:{ctx:n}}}),{c(){e=K("div"),D(t.$$.fragment),r=q(),i=K("div"),D(a.$$.fragment),Sn(i,"margin-left","10px"),Sn(e,"display","flex"),Sn(e,"padding","10px 10px 0px 12px")},m(l,s){M(l,e,s),T(t,e,null),N(e,r),N(e,i),T(a,i,null),o=!0},p(l,s){const u={};s&2052&&(u.$$scope={dirty:s,ctx:l}),a.$set(u)},i(l){o||(_(t.$$.fragment,l),_(a.$$.fragment,l),o=!0)},o(l){y(t.$$.fragment,l),y(a.$$.fragment,l),o=!1},d(l){l&&A(e),O(t),O(a)}}}function pmt(n){var a,o;let e,t=((o=(a=n[2])==null?void 0:a[n[10]])==null?void 0:o.outputs.iterations)+"",r,i;return{c(){e=oe("This loop ran "),r=oe(t),i=oe(" times.")},m(l,s){M(l,e,s),M(l,r,s),M(l,i,s)},p(l,s){var u,c;s&4&&t!==(t=((c=(u=l[2])==null?void 0:u[l[10]])==null?void 0:c.outputs.iterations)+"")&&ht(r,t)},d(l){l&&A(e),l&&A(r),l&&A(i)}}}function dmt(n){var r,i;let e,t;return e=new w3({props:{minHeight:"80px",disabled:!0,value:zy((i=(r=n[2])==null?void 0:r[n[10]])==null?void 0:i.inputs,"No input")}}),{c(){D(e.$$.fragment)},m(a,o){T(e,a,o),t=!0},p(a,o){var s,u;const l={};o&4&&(l.value=zy((u=(s=a[2])==null?void 0:s[a[10]])==null?void 0:u.inputs,"No input")),e.$set(l)},i(a){t||(_(e.$$.fragment,a),t=!0)},o(a){y(e.$$.fragment,a),t=!1},d(a){O(e,a)}}}function hmt(n){var r,i;let e,t;return e=new w3({props:{minHeight:"100px",disabled:!0,value:zy((i=(r=n[2])==null?void 0:r[n[10]])==null?void 0:i.outputs,"No output")}}),{c(){D(e.$$.fragment)},m(a,o){T(e,a,o),t=!0},p(a,o){var s,u;const l={};o&4&&(l.value=zy((u=(s=a[2])==null?void 0:s[a[10]])==null?void 0:u.outputs,"No output")),e.$set(l)},i(a){t||(_(e.$$.fragment,a),t=!0)},o(a){y(e.$$.fragment,a),t=!1},d(a){O(e,a)}}}function mmt(n){let e,t,r,i;return e=new z1({props:{title:"Input",$$slots:{default:[dmt]},$$scope:{ctx:n}}}),r=new z1({props:{title:"Output",$$slots:{default:[hmt]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(a,o){T(e,a,o),M(a,t,o),T(r,a,o),i=!0},p(a,o){const l={};o&2052&&(l.$$scope={dirty:o,ctx:a}),e.$set(l);const s={};o&2052&&(s.$$scope={dirty:o,ctx:a}),r.$set(s)},i(a){i||(_(e.$$.fragment,a),_(r.$$.fragment,a),i=!0)},o(a){y(e.$$.fragment,a),y(r.$$.fragment,a),i=!1},d(a){O(e,a),a&&A(t),O(r,a)}}}function Rq(n){let e;return{c(){e=K("div"),I(e,"class","separator svelte-1iblsnb")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Vq(n){let e,t,r,i,a,o=n[8].stepId!==$3.LOOP&&Bq(n),l=n[1].length-1!==n[10]&&Rq();return{c(){e=K("div"),o&&o.c(),r=q(),l&&l.c(),i=yt(),I(e,"class","block svelte-1iblsnb"),I(e,"style",t=n[0]?`width: ${n[0]}`:"")},m(s,u){M(s,e,u),o&&o.m(e,null),M(s,r,u),l&&l.m(s,u),M(s,i,u),a=!0},p(s,u){s[8].stepId!==$3.LOOP?o?(o.p(s,u),u&2&&_(o,1)):(o=Bq(s),o.c(),_(o,1),o.m(e,null)):o&&(Ae(),y(o,1,1,()=>{o=null}),Me()),(!a||u&1&&t!==(t=s[0]?`width: ${s[0]}`:""))&&I(e,"style",t),s[1].length-1!==s[10]?l||(l=Rq(),l.c(),l.m(i.parentNode,i)):l&&(l.d(1),l=null)},i(s){a||(_(o),a=!0)},o(s){y(o),a=!1},d(s){s&&A(e),o&&o.d(),s&&A(r),l&&l.d(s),s&&A(i)}}}function gmt(n){let e,t,r=n[1],i=[];for(let o=0;o<r.length;o+=1)i[o]=Vq(Iq(n,r,o));const a=o=>y(i[o],1,1,()=>{i[o]=null});return{c(){e=K("div");for(let o=0;o<i.length;o+=1)i[o].c();I(e,"class","container svelte-1iblsnb")},m(o,l){M(o,e,l);for(let s=0;s<i.length;s+=1)i[s].m(e,null);t=!0},p(o,[l]){if(l&15){r=o[1];let s;for(s=0;s<r.length;s+=1){const u=Iq(o,r,s);i[s]?(i[s].p(u,l),_(i[s],1)):(i[s]=Vq(u),i[s].c(),_(i[s],1),i[s].m(e,null))}for(Ae(),s=r.length;s<i.length;s+=1)a(s);Me()}},i(o){if(!t){for(let l=0;l<r.length;l+=1)_(i[l]);t=!0}},o(o){i=i.filter(Boolean);for(let l=0;l<i.length;l+=1)y(i[l]);t=!1},d(o){o&&A(e),Mn(i,o)}}}function zy(n,e){return n?JSON.stringify(n,null,2):e}function vmt(n,e,t){let r,{automation:i}=e,{testResults:a}=e,{width:o="400px"}=e,l,s;function u(f){return f==null?void 0:f.steps.filter(p=>p.stepId!==$3.LOOP||[])}function c(f){l=f,t(3,l)}return n.$$set=f=>{"automation"in f&&t(4,i=f.automation),"testResults"in f&&t(5,a=f.testResults),"width"in f&&t(0,o=f.width)},n.$$.update=()=>{if(n.$$.dirty&32&&t(2,r=u(a)),n.$$.dirty&22){if(t(1,s=[]),i)i.definition.trigger&&s.push(i.definition.trigger),t(1,s=s.concat(i.definition.steps||[]).filter(f=>f.stepId!==$3.LOOP));else if(r){t(1,s=r||[]);let f=0;for(let p of s)p.id=f++}}},[o,s,r,l,i,a,c]}class oie extends He{constructor(e){super(),Be(this,e,vmt,gmt,De,{automation:4,testResults:5,width:0})}}function _mt(n){let e,t,r,i,a,o,l,s,u,c,f,p,h;return r=new hn({props:{name:"MultipleCheck"}}),s=new hn({props:{hoverable:!0,name:"Close"}}),s.$on("click",n[4]),c=new oi({}),p=new oie({props:{automation:n[0],testResults:n[2]}}),{c(){e=K("div"),t=K("div"),D(r.$$.fragment),i=q(),a=K("div"),a.textContent="Test Details",o=q(),l=K("div"),D(s.$$.fragment),u=q(),D(c.$$.fragment),f=q(),D(p.$$.fragment),Sn(a,"padding-left","var(--spacing-l)"),I(t,"class","title-text svelte-nwwj95"),Sn(l,"padding-right","var(--spacing-xl)"),I(e,"class","title svelte-nwwj95")},m(g,b){M(g,e,b),N(e,t),T(r,t,null),N(t,i),N(t,a),N(e,o),N(e,l),T(s,l,null),M(g,u,b),T(c,g,b),M(g,f,b),T(p,g,b),h=!0},p(g,[b]){const w={};b&1&&(w.automation=g[0]),b&4&&(w.testResults=g[2]),p.$set(w)},i(g){h||(_(r.$$.fragment,g),_(s.$$.fragment,g),_(c.$$.fragment,g),_(p.$$.fragment,g),h=!0)},o(g){y(r.$$.fragment,g),y(s.$$.fragment,g),y(c.$$.fragment,g),y(p.$$.fragment,g),h=!1},d(g){g&&A(e),O(r),O(s),g&&A(u),O(c,g),g&&A(f),O(p,g)}}}function bmt(n,e,t){let r;Pe(n,Ir,s=>t(1,r=s));let{automation:i}=e,a,o;const l=async()=>{ol(Ir,r.showTestPanel=!1,r)};return n.$$set=s=>{"automation"in s&&t(0,i=s.automation)},n.$$.update=()=>{var s;n.$$.dirty&11&&(t(3,a=[]),i?(i.definition.trigger&&a.push(i.definition.trigger),t(3,a=a.concat(i.definition.steps||[]).filter(u=>u.stepId!==$3.LOOP))):r.selectedAutomation&&t(0,i=r.selectedAutomation)),n.$$.dirty&2&&t(2,o=(s=r.selectedAutomation)==null?void 0:s.testResults)},[i,r,o,a,l]}class ymt extends He{constructor(e){super(),Be(this,e,bmt,_mt,De,{automation:0})}}function $mt(n){let e,t,r,i;return r=new Ht({props:{gap:"S",justifyItems:"center",$$slots:{default:[Mmt]},$$scope:{ctx:n}}}),{c(){e=K("div"),t=K("div"),D(r.$$.fragment),I(t,"class","main svelte-374m3f"),I(e,"class","centered svelte-374m3f")},m(a,o){M(a,e,o),N(e,t),T(r,t,null),i=!0},p(a,o){const l={};o&258&&(l.$$scope={dirty:o,ctx:a}),r.$set(l)},i(a){i||(_(r.$$.fragment,a),i=!0)},o(a){y(r.$$.fragment,a),i=!1},d(a){a&&A(e),O(r)}}}function wmt(n){let e;const t=n[4].default,r=Bn(t,n,n[8],null);return{c(){r&&r.c()},m(i,a){r&&r.m(i,a),e=!0},p(i,a){r&&r.p&&(!e||a&256)&&Pn(r,t,i,i[8],e?Hn(t,i[8],a,null):Rn(i[8]),null)},i(i){e||(_(r,i),e=!0)},o(i){y(r,i),e=!1},d(i){r&&r.d(i)}}}function kmt(n){let e;return{c(){e=oe("You have no automations")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function zmt(n){let e;return{c(){e=oe("Let's fix that. Call the bots!")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Amt(n){let e;return{c(){e=oe("Create automation")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Mmt(n){let e,t,r,i,a,o,l,s,u;return i=new Tn({props:{size:"M",$$slots:{default:[kmt]},$$scope:{ctx:n}}}),o=new Rt({props:{size:"M",$$slots:{default:[zmt]},$$scope:{ctx:n}}}),s=new gn({props:{size:"M",cta:!0,$$slots:{default:[Amt]},$$scope:{ctx:n}}}),s.$on("click",n[5]),{c(){e=ot("svg"),t=ot("use"),r=q(),D(i.$$.fragment),a=q(),D(o.$$.fragment),l=q(),D(s.$$.fragment),Rr(t,"xlink:href","#spectrum-icon-18-WorkflowAdd"),I(e,"width","60px"),I(e,"height","60px"),I(e,"class","spectrum-Icon"),I(e,"focusable","false")},m(c,f){M(c,e,f),N(e,t),M(c,r,f),T(i,c,f),M(c,a,f),T(o,c,f),M(c,l,f),T(s,c,f),u=!0},p(c,f){const p={};f&256&&(p.$$scope={dirty:f,ctx:c}),i.$set(p);const h={};f&256&&(h.$$scope={dirty:f,ctx:c}),o.$set(h);const g={};f&256&&(g.$$scope={dirty:f,ctx:c}),s.$set(g)},i(c){u||(_(i.$$.fragment,c),_(o.$$.fragment,c),_(s.$$.fragment,c),u=!0)},o(c){y(i.$$.fragment,c),y(o.$$.fragment,c),y(s.$$.fragment,c),u=!1},d(c){c&&A(e),c&&A(r),O(i,c),c&&A(a),O(o,c),c&&A(l),O(s,c)}}}function Nq(n){let e,t,r;return t=new ymt({props:{automation:n[3]}}),{c(){e=K("div"),D(t.$$.fragment),I(e,"class","setup svelte-374m3f")},m(i,a){M(i,e,a),T(t,e,null),r=!0},p(i,a){const o={};a&8&&(o.automation=i[3]),t.$set(o)},i(i){r||(_(t.$$.fragment,i),r=!0)},o(i){y(t.$$.fragment,i),r=!1},d(i){i&&A(e),O(t)}}}function Smt(n){let e,t;return e=new aie({props:{webhookModal:n[2]}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&4&&(a.webhookModal=r[2]),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Cmt(n){let e,t;return e=new VC({}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Lmt(n){let e,t,r,i,a,o,l,s,u,c,f,p,h;r=new fmt({props:{modal:n[1],webhookModal:n[2]}});const g=[wmt,$mt],b=[];function w(B,R){return B[3]?0:1}o=w(n),l=b[o]=g[o](n);let k=n[0].showTestPanel&&Nq(n),S={$$slots:{default:[Smt]},$$scope:{ctx:n}};c=new ir({props:S}),n[6](c);let L={width:"30%",$$slots:{default:[Cmt]},$$scope:{ctx:n}};return p=new ir({props:L}),n[7](p),{c(){e=K("div"),t=K("div"),D(r.$$.fragment),i=q(),a=K("div"),l.c(),s=q(),k&&k.c(),u=q(),D(c.$$.fragment),f=q(),D(p.$$.fragment),I(t,"class","nav svelte-374m3f"),I(a,"class","content svelte-374m3f"),I(e,"class","root svelte-374m3f")},m(B,R){M(B,e,R),N(e,t),T(r,t,null),N(e,i),N(e,a),b[o].m(a,null),N(e,s),k&&k.m(e,null),N(e,u),T(c,e,null),N(e,f),T(p,e,null),h=!0},p(B,[R]){const U={};R&2&&(U.modal=B[1]),R&4&&(U.webhookModal=B[2]),r.$set(U);let x=o;o=w(B),o===x?b[o].p(B,R):(Ae(),y(b[x],1,1,()=>{b[x]=null}),Me(),l=b[o],l?l.p(B,R):(l=b[o]=g[o](B),l.c()),_(l,1),l.m(a,null)),B[0].showTestPanel?k?(k.p(B,R),R&1&&_(k,1)):(k=Nq(B),k.c(),_(k,1),k.m(e,u)):k&&(Ae(),y(k,1,1,()=>{k=null}),Me());const W={};R&260&&(W.$$scope={dirty:R,ctx:B}),c.$set(W);const Y={};R&256&&(Y.$$scope={dirty:R,ctx:B}),p.$set(Y)},i(B){h||(_(r.$$.fragment,B),_(l),_(k),_(c.$$.fragment,B),_(p.$$.fragment,B),h=!0)},o(B){y(r.$$.fragment,B),y(l),y(k),y(c.$$.fragment,B),y(p.$$.fragment,B),h=!1},d(B){B&&A(e),O(r),b[o].d(),k&&k.d(),n[6](null),O(c),n[7](null),O(p)}}}function Emt(n,e,t){let r,i;Pe(n,Ir,p=>t(0,i=p));let{$$slots:a={},$$scope:o}=e,l,s;Zn(()=>{ol(Ir,i.showTestPanel=!1,i)});const u=()=>l.show();function c(p){Oe[p?"unshift":"push"](()=>{l=p,t(1,l)})}function f(p){Oe[p?"unshift":"push"](()=>{s=p,t(2,s)})}return n.$$set=p=>{"$$scope"in p&&t(8,o=p.$$scope)},n.$$.update=()=>{var p;n.$$.dirty&1&&t(3,r=((p=i.selectedAutomation)==null?void 0:p.automation)||i.automations[0])},[i,l,s,r,a,u,c,f,o]}class Tmt extends He{constructor(e){super(),Be(this,e,Emt,Lmt,De,{})}}function Omt(n){let e,t,r,i,a,o,l;function s(c){n[4](c)}let u={};return n[2]!==void 0&&(u.value=n[2]),a=new En({props:u}),Oe.push(()=>tt(a,"value",s)),{c(){e=K("span"),e.textContent=`The changes you have made will be deleted and the application reverted
|
|
950
|
-
back to its production state.`,t=q(),r=K("span"),r.textContent="Please enter your app name to continue.",i=q(),D(a.$$.fragment)},m(c,f){M(c,e,f),M(c,t,f),M(c,r,f),M(c,i,f),T(a,c,f),l=!0},p(c,f){const p={};!o&&f&4&&(o=!0,p.value=c[2],nt(()=>o=!1)),a.$set(p)},i(c){l||(_(a.$$.fragment,c),l=!0)},o(c){y(a.$$.fragment,c),l=!1},d(c){c&&A(e),c&&A(t),c&&A(r),c&&A(i),O(a,c)}}}function Dmt(n){let e,t;return e=new gr({props:{title:"Revert Changes",confirmText:"Revert",onConfirm:n[3],disabled:n[2]!==n[0].name,$$slots:{default:[Omt]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&5&&(a.disabled=r[2]!==r[0].name),i&132&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Imt(n){let e,t,r,i;e=new hn({props:{name:"Revert",hoverable:!0,tooltip:"Revert changes"}}),e.$on("click",function(){mn(n[1].show)&&n[1].show.apply(this,arguments)});let a={$$slots:{default:[Dmt]},$$scope:{ctx:n}};return r=new ir({props:a}),n[5](r),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,[l]){n=o;const s={};l&133&&(s.$$scope={dirty:l,ctx:n}),r.$set(s)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),n[5](null),O(r,o)}}}function Bmt(n,e,t){let r,i;Pe(n,Gt,c=>t(0,i=c));let a,o;const l=async()=>{try{await Xt.revertAppChanges(r);const c=await Xt.fetchAppPackage(r);await Gt.actions.initialise(c),wt.info("Changes reverted successfully")}catch(c){wt.error(`Error reverting changes: ${c}`)}};function s(c){o=c,t(2,o)}function u(c){Oe[c?"unshift":"push"](()=>{a=c,t(1,a)})}return n.$$.update=()=>{n.$$.dirty&1&&(r=i.appId)},[i,a,o,l,s,u]}class Hmt extends He{constructor(e){super(),Be(this,e,Bmt,Imt,De,{})}}const Pmt="@budibase/client",Rmt="2.2.12-alpha.
|
|
950
|
+
back to its production state.`,t=q(),r=K("span"),r.textContent="Please enter your app name to continue.",i=q(),D(a.$$.fragment)},m(c,f){M(c,e,f),M(c,t,f),M(c,r,f),M(c,i,f),T(a,c,f),l=!0},p(c,f){const p={};!o&&f&4&&(o=!0,p.value=c[2],nt(()=>o=!1)),a.$set(p)},i(c){l||(_(a.$$.fragment,c),l=!0)},o(c){y(a.$$.fragment,c),l=!1},d(c){c&&A(e),c&&A(t),c&&A(r),c&&A(i),O(a,c)}}}function Dmt(n){let e,t;return e=new gr({props:{title:"Revert Changes",confirmText:"Revert",onConfirm:n[3],disabled:n[2]!==n[0].name,$$slots:{default:[Omt]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&5&&(a.disabled=r[2]!==r[0].name),i&132&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Imt(n){let e,t,r,i;e=new hn({props:{name:"Revert",hoverable:!0,tooltip:"Revert changes"}}),e.$on("click",function(){mn(n[1].show)&&n[1].show.apply(this,arguments)});let a={$$slots:{default:[Dmt]},$$scope:{ctx:n}};return r=new ir({props:a}),n[5](r),{c(){D(e.$$.fragment),t=q(),D(r.$$.fragment)},m(o,l){T(e,o,l),M(o,t,l),T(r,o,l),i=!0},p(o,[l]){n=o;const s={};l&133&&(s.$$scope={dirty:l,ctx:n}),r.$set(s)},i(o){i||(_(e.$$.fragment,o),_(r.$$.fragment,o),i=!0)},o(o){y(e.$$.fragment,o),y(r.$$.fragment,o),i=!1},d(o){O(e,o),o&&A(t),n[5](null),O(r,o)}}}function Bmt(n,e,t){let r,i;Pe(n,Gt,c=>t(0,i=c));let a,o;const l=async()=>{try{await Xt.revertAppChanges(r);const c=await Xt.fetchAppPackage(r);await Gt.actions.initialise(c),wt.info("Changes reverted successfully")}catch(c){wt.error(`Error reverting changes: ${c}`)}};function s(c){o=c,t(2,o)}function u(c){Oe[c?"unshift":"push"](()=>{a=c,t(1,a)})}return n.$$.update=()=>{n.$$.dirty&1&&(r=i.appId)},[i,a,o,l,s,u]}class Hmt extends He{constructor(e){super(),Be(this,e,Bmt,Imt,De,{})}}const Pmt="@budibase/client",Rmt="2.2.12-alpha.69",Vmt="MPL-2.0",Nmt="dist/budibase-client.js",Fmt="dist/budibase-client.js",jmt="module",Umt="src/index.js",xmt={".":{import:"./dist/budibase-client.js",require:"./dist/budibase-client.js"},"./package.json":"./package.json","./manifest.json":"./manifest.json"},qmt={build:"rollup -c","dev:builder":"rollup -cw"},Wmt={"@budibase/bbui":"2.2.12-alpha.69","@budibase/frontend-core":"2.2.12-alpha.69","@budibase/string-templates":"2.2.12-alpha.69","@spectrum-css/button":"^3.0.3","@spectrum-css/card":"^3.0.3","@spectrum-css/divider":"^1.0.3","@spectrum-css/link":"^3.1.3","@spectrum-css/page":"^3.0.1","@spectrum-css/tag":"^3.1.4","@spectrum-css/typography":"^3.0.2","@spectrum-css/vars":"^3.0.1",apexcharts:"^3.22.1",dayjs:"^1.10.5",downloadjs:"1.4.7","html5-qrcode":"^2.2.1",leaflet:"^1.7.1",regexparam:"^1.3.0","sanitize-html":"^2.7.0",screenfull:"^6.0.1",shortid:"^2.2.15","socket.io-client":"^4.5.1",svelte:"^3.49.0","svelte-apexcharts":"^1.0.2","svelte-flatpickr":"^3.1.0","svelte-spa-router":"^3.0.5"},Gmt={"@rollup/plugin-alias":"^3.1.5","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-image":"^3.0.2","@rollup/plugin-node-resolve":"^11.2.1",postcss:"^8.2.10",rollup:"^2.44.0","rollup-plugin-json":"^4.0.0","rollup-plugin-polyfill-node":"^0.8.0","rollup-plugin-postcss":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-svg":"^2.0.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-visualizer":"^5.5.4"},Ymt={"loader-utils":"1.4.1"},Kmt="d1836a898cab3f8ab80ee6d8f42be1a9eed7dcdc",tm={name:Pmt,version:Rmt,license:Vmt,module:Nmt,main:Fmt,type:jmt,svelte:Umt,exports:xmt,scripts:qmt,dependencies:Wmt,devDependencies:Gmt,resolutions:Ymt,gitHead:Kmt};function Fq(n){let e,t;return e=new cd({props:{hoverable:!0,notice:!0,$$slots:{default:[Xmt]},$$scope:{ctx:n}}}),e.$on("click",function(){mn(n[2].show)&&n[2].show.apply(this,arguments)}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){n=r;const a={};i&4096&&(a.$$scope={dirty:i,ctx:n}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Xmt(n){let e;return{c(){e=oe("Update available")},m(t,r){M(t,e,r)},d(t){t&&A(e)}}}function Jmt(n){let e,t;return e=new Rt({props:{size:"S",$$slots:{default:[Zmt]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&4098&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Qmt(n){let e,t;return e=new Rt({props:{size:"S",$$slots:{default:[e6t]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&4098&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function Zmt(n){let e,t,r=n[1].version+"",i,a;return{c(){e=oe("This app is currently using version "),t=K("b"),i=oe(r),a=oe(` which is the
|
|
951
951
|
latest version available.`)},m(o,l){M(o,e,l),M(o,t,l),N(t,i),M(o,a,l)},p(o,l){l&2&&r!==(r=o[1].version+"")&&ht(i,r)},d(o){o&&A(e),o&&A(t),o&&A(a)}}}function e6t(n){let e,t,r=n[1].version+"",i,a,o,l;return{c(){e=oe("This app is currently using version "),t=K("b"),i=oe(r),a=oe(`, but version
|
|
952
952
|
`),o=K("b"),o.textContent=`${tm.version}`,l=oe(` is available. Updates can contain new features,
|
|
953
953
|
performance improvements and bug fixes.`)},m(s,u){M(s,e,u),M(s,t,u),N(t,i),M(s,a,u),M(s,o,u),M(s,l,u)},p(s,u){u&2&&r!==(r=s[1].version+"")&&ht(i,r)},d(s){s&&A(e),s&&A(t),s&&A(a),s&&A(o),s&&A(l)}}}function jq(n){let e,t;return e=new Rt({props:{size:"S",$$slots:{default:[t6t]},$$scope:{ctx:n}}}),{c(){D(e.$$.fragment)},m(r,i){T(e,r,i),t=!0},p(r,i){const a={};i&4098&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(_(e.$$.fragment,r),t=!0)},o(r){y(e.$$.fragment,r),t=!1},d(r){O(e,r)}}}function t6t(n){let e,t,r=n[1].revertableVersion+"",i,a;return{c(){e=oe(`You can revert this app to version
|