import { t as E } from "./i18n-1c9e1aab.js";
import { b as _, a as S, e as T } from "./layout-14626b92.js";
import { el as C, em as R, en as A, eo as e, ep as I, eq as a } from "./common-64096f9e.js";
import { g2 as O, g3 as U, g4 as P, g5 as t, g6 as o, g7 as s, g8 as r, g9 as L, ga as i, gb as N, gc as D, gd as n, ge as F, gf as H } from "./comps-f4e34e6a.js";
const d = "#D7D9E0", l = "#3377ff", p = "4px", m = "#8B8FA3", c = "#222222", g = "#315efb", u = "#8B8FA3", G = "#222222", M = 50, Y = 2e4, b = 15e3, h = 3e4, y = E("share.title");
var B = ((E2) => (E2[E2.SUCCESS = 200] = "SUCCESS", E2[E2.REQUEST_NOT_AUTHORISED = 401] = "REQUEST_NOT_AUTHORISED", E2[E2.SERVER_FORBIDDEN = 403] = "SERVER_FORBIDDEN", E2[E2.RESOURCE_NOT_FOUND = 404] = "RESOURCE_NOT_FOUND", E2[E2.SERVER_ERROR = 502] = "SERVER_ERROR", E2[E2.SERVER_UNAVAILABLE = 503] = "SERVER_UNAVAILABLE", E2))(B || {}), f = ((E2) => (E2[E2.EXCEED_MAX_USER_ORG_COUNT = 5103] = "EXCEED_MAX_USER_ORG_COUNT", E2[E2.ALREADY_IN_ORGANIZATION = 5202] = "ALREADY_IN_ORGANIZATION", E2[E2.INVITE_USER_NOT_LOGIN = 5205] = "INVITE_USER_NOT_LOGIN", E2[E2.NO_PERMISSION_TO_REQUEST_APP = 5308] = "NO_PERMISSION_TO_REQUEST_APP", E2[E2.REDIRECT = 5011] = "REDIRECT", E2[E2.NEED_BIND = 5610] = "NEED_BIND", E2[E2.CURRENT_EDITION_NOT_SUPPORT_THIS_FEATURE = 6252] = "CURRENT_EDITION_NOT_SUPPORT_THIS_FEATURE", E2))(f || {}), Q = ((E2) => (E2.PAGE_NOT_FOUND = "PAGE_NOT_FOUND", E2.SERVER_ERROR = "SERVER_ERROR", E2.REQUEST_NOT_AUTHORISED = "REQUEST_NOT_AUTHORIZED", E2.REQUEST_TIMEOUT = "REQUEST_TIMEOUT", E2.FAILED_TO_CORRECT_BINDING = "FAILED_TO_CORRECT_BINDING", E2))(Q || {});
const w = { "Content-Type": "application/json" }, x = "http://localhost:8000", V = (E2) => `${x}/api/v1/assets/${E2}`, W = `${x}/api/v1/users/photo`;
function v(E2, ..._2) {
  return E2(..._2);
}
const k = { THIRD_PARTY_BIND: "THIRD_PARTY_BIND" }, K = () => E("networkMessage.500"), q = () => E("networkMessage.0"), $ = () => E("networkMessage.401"), J = () => E("networkMessage.timeout"), j = "/", X = "/user/auth", z = "/setting/organization", Z = "/setting/theme", EE = "/apps", _E = "/datasource", SE = "/query-library", TE = `${EE}/:applicationId/:viewMode/:appPageId?`, CE = `${X}/bind`, RE = `${X}/login`, AE = `${X}/oauth/redirect`, eE = "/org/:orgId/auth/login", IE = (E2, _2) => `${EE}/${E2}/${_2}`, aE = (E2, _2) => ({ pathname: IE(E2, "edit"), state: { showNewUserGuide: _2 } });
function OE(E2) {
  window.open(IE(E2, "preview"));
}
const UE = { LOGOUT_USER_INIT: "LOGOUT_USER_INIT", LOGOUT_USER_SUCCESS: "LOGOUT_USER_SUCCESS", FETCH_USER_INIT: "FETCH_USER_INIT", FETCH_USER_DETAILS_SUCCESS: "FETCH_USER_DETAILS_SUCCESS", FETCH_CURRENT_USER_SUCCESS: "FETCH_CURRENT_USER_SUCCESS", FETCH_RAW_CURRENT_USER: "FETCH_RAW_CURRENT_USER", FETCH_RAW_CURRENT_USER_SUCCESS: "FETCH_RAW_CURRENT_USER_SUCCESS", FETCH_API_KEYS: "FETCH_API_KEYS", FETCH_API_KEYS_SUCCESS: "FETCH_API_KEYS_SUCCESS", MOVE_TO_FOLDER2_SUCCESS: "MOVE_TO_FOLDER2_SUCCESS", FETCH_DATA_SOURCE_TYPES: "FETCH_DATA_SOURCE_TYPES", FETCH_DATA_SOURCE_TYPES_SUCCESS: "FETCH_DATA_SOURCE_TYPES_SUCCESS", FETCH_DATASOURCE_INIT: "FETCH_DATASOURCE_INIT", FETCH_DATASOURCE_BY_APP_INIT: "FETCH_DATASOURCE_BY_APP_INIT", FETCH_DATASOURCE_SUCCESS: "FETCH_DATASOURCE_SUCCESS", FETCH_DATASOURCE_STRUCTURE_INIT: "FETCH_DATASOURCE_STRUCTURE_INIT", FETCH_DATASOURCE_STRUCTURE_SUCCESS: "FETCH_DATASOURCE_STRUCTURE_SUCCESS", CREATE_DATASOURCE_INIT: "CREATE_DATASOURCE_INIT", CREATE_DATASOURCE_SUCCESS: "CREATE_DATASOURCE_SUCCESS", UPDATE_DATASOURCE_INIT: "UPDATE_DATASOURCE_INIT", UPDATE_DATASOURCE_SUCCESS: "UPDATE_DATASOURCE_SUCCESS", DELETE_DATASOURCE_INIT: "DELETE_DATASOURCE_INIT", DELETE_DATASOURCE_SUCCESS: "DELETE_DATASOURCE_SUCCESS", FETCH_DATASOURCE_PERMISSION_INIT: "FETCH_DATASOURCE_PERMISSION_INIT", FETCH_DATASOURCE_PERMISSION_SUCCESS: "FETCH_DATASOURCE_PERMISSION_SUCCESS", GRANT_DATASOURCE_PERMISSION_INIT: "GRANT_DATASOURCE_PERMISSION_INIT", UPDATE_DATASOURCE_PERMISSION_INIT: "UPDATE_DATASOURCE_PERMISSION_INIT", UPDATE_DATASOURCE_PERMISSION_SUCCESS: "UPDATE_DATASOURCE_PERMISSION_SUCCESS", DELETE_DATASOURCE_PERMISSION_INIT: "DELETE_DATASOURCE_PERMISSION_INIT", DELETE_DATASOURCE_PERMISSION_SUCCESS: "DELETE_DATASOURCE_PERMISSION_SUCCESS", FETCH_QUERY_LIBRARY_BY_ORG_INIT: "FETCH_QUERY_LIBRARY_BY_ORG_INIT", FETCH_QUERY_LIBRARY_BY_ORG_SUCCESS: "FETCH_QUERY_LIBRARY_BY_ORG_SUCCESS", FETCH_QUERY_LIBRARY_DROPDOWN_INIT: "FETCH_QUERY_LIBRARY_DROPDOWN_INIT", FETCH_QUERY_LIBRARY_DROPDOWN_SUCCESS: "FETCH_QUERY_LIBRARY_DROPDOWN_SUCCESS", CREATE_QUERY_LIBRARY_INIT: "CREATE_QUERY_LIBRARY_INIT", CREATE_QUERY_LIBRARY_SUCCESS: "CREATE_QUERY_LIBRARY_SUCCESS", UPDATE_QUERY_LIBRARY_INIT: "UPDATE_QUERY_LIBRARY_INIT", UPDATE_QUERY_LIBRARY_SUCCESS: "UPDATE_QUERY_LIBRARY_SUCCESS", DELETE_QUERY_LIBRARY_INIT: "DELETE_QUERY_LIBRARY_INIT", DELETE_QUERY_LIBRARY_SUCCESS: "DELETE_QUERY_LIBRARY_SUCCESS", FETCH_QUERY_LIBRARY_RECORD_DSL_INIT: "FETCH_QUERY_LIBRARY_RECORD_DSL_INIT", FETCH_QUERY_LIBRARY_RECORD_DSL_SUCCESS: "FETCH_QUERY_LIBRARY_RECORD_DSL_SUCCESS", FETCH_QUERY_LIBRARY_RECORD: "FETCH_QUERY_LIBRARY_RECORD", FETCH_QUERY_LIBRARY_RECORD_SUCCESS: "FETCH_QUERY_LIBRARY_RECORD_SUCCESS", CREATE_QUERY_LIBRARY_RECORD: "CREATE_QUERY_LIBRARY_RECORD", CREATE_QUERY_LIBRARY_RECORD_SUCCESS: "CREATE_QUERY_LIBRARY_RECORD_SUCCESS", CREATE_FOLDER_INIT: "CREATE_FOLDER_INIT", CREATE_FOLDER_SUCCESS: "CREATE_FOLDER_SUCCESS", UPDATE_FOLDER_INIT: "UPDATE_FOLDER_INIT", UPDATE_FOLDER_SUCCESS: "UPDATE_FOLDER_SUCCESS", DELETE_FOLDER_INIT: "DELETE_FOLDER_INIT", DELETE_FOLDER_SUCCESS: "DELETE_FOLDER_SUCCESS", MOVE_TO_FOLDER_INIT: "MOVE_TO_FOLDER_INIT", MOVE_TO_FOLDER_SUCCESS: "MOVE_TO_FOLDER_SUCCESS", FETCH_FOLDER_ELEMENTS_INIT: "FETCH_FOLDER_ELEMENTS_INIT", FETCH_FOLDER_ELEMENTS_SUCCESS: "FETCH_FOLDER_ELEMENTS_SUCCESS", FETCH_ALL_FOLDERS_INIT: "FETCH_ALL_FOLDERS_INIT", FETCH_ALL_FOLDERS_SUCCESS: "FETCH_ALL_FOLDERS_SUCCESS", UPDATE_GROUP_INFO: "UPDATE_GROUP_INFO", FETCH_ORG_GROUPS: "FETCH_ORG_GROUPS", FETCH_ORG_GROUPS_SUCCESS: "FETCH_ORG_GROUPS_SUCCESS", UPDATE_USER_ORG_ROLE: "UPDATE_USER_ORG_ROLE", UPDATE_USER_GROUP_ROLE: "UPDATE_USER_GROUP_ROLE", FETCH_ORG_ALL_USERS: "FETCH_ORG_ALL_USERS", FETCH_ORG_ALL_USERS_SUCCESS: "FETCH_ORG_ALL_USERS_SUCCESS", FETCH_GROUP_USERS: "FETCH_GROUP_USERS", FETCH_GROUP_USERS_SUCCESS: "FETCH_GROUP_USERS_SUCCESS", DELETE_GROUP_USER: "DELETE_GROUP_USER", DELETE_GROUP_USER_SUCCESS: "DELETE_GROUP_USER_SUCCESS", ADD_GROUP_USER: "ADD_GROUP_USER", ADD_GROUP_USER_SUCCESS: "ADD_GROUP_USER_SUCCESS", DELETE_ORG_USER: "DELETE_ORG_USER", DELETE_ORG_USER_SUCCESS: "DELETE_ORG_USER_SUCCESS", QUIT_GROUP: "QUIT_GROUP", QUIT_GROUP_SUCCESS: "QUIT_GROUP_SUCCESS", QUIT_ORG: "QUIT_ORG", SWITCH_ORG: "SWITCH_ORG", CREATE_ORG: "CREATE_ORG", CREATE_ORG_SUCCESS: "CREATE_ORG_SUCCESS", DELETE_ORG: "DELETE_ORG", DELETE_ORG_SUCCESS: "DELETE_ORG_SUCCESS", UPDATE_ORG: "UPDATE_ORG", UPDATE_ORG_SUCCESS: "UPDATE_ORG_SUCCESS", UPDATE_USER_PROFILE: "UPDATE_USER_PROFILE", UPDATE_USER_PROFILE_SUCCESS: "UPDATE_USER_PROFILE_SUCCESS", UPLOAD_USER_HEAD_SUCCESS: "UPLOAD_USER_HEAD_SUCCESS", MARK_USER_STATUS: "MARK_USER_STATUS", FETCH_ORG_API_USAGE: "FETCH_ORG_API_USAGE", FETCH_ORG_API_USAGE_SUCCESS: "FETCH_ORG_API_USAGE_SUCCESS", FETCH_ORG_LAST_MONTH_API_USAGE: "FETCH_ORG_LAST_MONTH_API_USAGE", FETCH_ORG_LAST_MONTH_API_USAGE_SUCCESS: "FETCH_ORG_LAST_MONTH_API_USAGE_SUCCESS", FETCH_HOME_DATA: "FETCH_HOME_DATA", FETCH_HOME_DATA_SUCCESS: "FETCH_HOME_DATA_SUCCESS", CREATE_APPLICATION_INIT: "CREATE_APPLICATION_INIT", CREATE_APPLICATION_SUCCESS: "CREATE_APPLICATION_SUCCESS", DELETE_APPLICATION_INIT: "DELETE_APPLICATION_INIT", DELETE_APPLICATION_SUCCESS: "DELETE_APPLICATION_SUCCESS", UPDATE_APPLICATION: "UPDATE_APPLICATION", UPDATE_APPLICATION_META: "UPDATE_APPLICATION_META", PUBLISH_APPLICATION: "PUBLISH_APPLICATION", PUBLISH_APPLICATION_SUCCESS: "PUBLISH_APPLICATION_SUCCESS", UPDATE_APPLICATION_META_SUCCESS: "UPDATE_APPLICATION_META_SUCCESS", FETCH_APPLICATION_DETAIL: "FETCH_APPLICATION_DETAIL", FETCH_APP_PUBLISH_DETAIL_SUCCESS: "FETCH_APP_PUBLISH_DETAIL_SUCCESS", FETCH_APP_EDITING_DETAIL_SUCCESS: "FETCH_APP_EDITING_DETAIL_SUCCESS", FETCH_APP_PERMISSIONS: "FETCH_APPLICATION_PERMISSIONS", FETCH_APP_PERMISSIONS_SUCCESS: "FETCH_APP_PERMISSIONS_SUCCESS", UPDATE_APP_PERMISSION: "UPDATE_APP_PERMISSION", UPDATE_APP_PERMISSION_SUCCESS: "UPDATE_APP_PERMISSION_SUCCESS", DELETE_APP_PERMISSION: "DELETE_APP_PERMISSION", DELETE_APP_PERMISSION_SUCCESS: "DELETE_APP_PERMISSION_SUCCESS", UPDATE_APP_PERMISSION_INFO: "UPDATE_APP_PERMISSION_INFO", RECYCLE_APPLICATION_INIT: "RECYCLE_APPLICATION_INIT", RECYCLE_APPLICATION_SUCCESS: "RECYCLE_APPLICATION_SUCCESS", RESTORE_APPLICATION_INIT: "RESTORE_APPLICATION_INIT", RESTORE_APPLICATION_SUCCESS: "RESTORE_APPLICATION_SUCCESS", FETCH_APPLICATION_RECYCLE_LIST_INIT: "FETCH_APPLICATION_RECYCLE_LIST_INIT", FETCH_APPLICATION_RECYCLE_LIST_SUCCESS: "FETCH_APPLICATION_RECYCLE_LIST_SUCCESS", FETCH_ALL_APPLICATIONS_INIT: "FETCH_ALL_APPLICATIONS_INIT", FETCH_ALL_APPLICATIONS_SUCCESS: "FETCH_ALL_APPLICATIONS_SUCCESS", FETCH_ALL_MODULES_INIT: "FETCH_ALL_MODULES_INIT", FETCH_ALL_MODULES_SUCCESS: "FETCH_ALL_MODULES_SUCCESS", FETCH_ALL_MARKETPLACE_APPS: "FETCH_ALL_MARKETPLACE_APPS", FETCH_ALL_MARKETPLACE_APPS_SUCCESS: "FETCH_ALL_MARKETPLACE_APPS_SUCCESS", SET_APP_EDITING_STATE: "SET_APP_EDITING_STATE", FETCH_SERVER_SETTINGS: "FETCH_SERVER_SETTINGS", FETCH_SERVER_SETTINGS_SUCCESS: "FETCH_SERVER_SETTINGS_SUCCESS", SET_USER_PROFILE_SETTING_MODAL_VISIBLE: "SET_USER_PROFILE_SETTING_MODAL_VISIBLE", FETCH_SYS_CONFIG_INIT: "FETCH_SYS_CONFIG_INIT", FETCH_SYS_CONFIG_SUCCESS: "FETCH_SYS_CONFIG_SUCCESS", SET_EDITOR_EXTERNAL_STATE: "SET_EDITOR_EXTERNAL_STATE", FETCH_DEPLOYMENT_ID_INIT: "FETCH_DEPLOYMENT_ID_INIT", FETCH_DEPLOYMENT_ID_SUCCESS: "FETCH_DEPLOYMENT_ID_SUCCESS", FETCH_AUDIT_EVENT: "FETCH_AUDIT_EVENT", FETCH_AUDIT_EVENT_SUCCESS: "FETCH_AUDIT_EVENT_SUCCESS", FETCH_AUDIT_LOG: "FETCH_AUDIT_LOG", FETCH_AUDIT_LOG_SUCCESS: "FETCH_AUDIT_LOG_SUCCESS", FETCH_SUBSCRIPTIONS_INIT: "FETCH_SUBSCRIPTIONS_INIT", FETCH_SUBSCRIPTIONS_SUCCESS: "FETCH_SUBSCRIPTIONS_SUCCESS", FETCH_SUBSCRIPTIONS_FAILURE: "FETCH_SUBSCRIPTIONS_FAILURE", FETCH_APP_SNAPSHOTS: "FETCH_APP_SNAPSHOTS", FETCH_APP_SNAPSHOTS_SUCCESS: "FETCH_APP_SNAPSHOTS_SUCCESS", FETCH_APP_SNAPSHOT_DSL: "FETCH_APP_SNAPSHOT_DSL", FETCH_APP_SNAPSHOT_DSL_SUCCESS: "FETCH_APP_SNAPSHOT_DSL_SUCCESS", RECOVER_APP_SNAPSHOT: "RECOVER_APP_SNAPSHOT", CREATE_APP_SNAPSHOT: "CREATE_APP_SNAPSHOT", CREATE_APP_SNAPSHOT_SUCCESS: "CREATE_APP_SNAPSHOT_SUCCESS", SET_SHOW_APP_SNAPSHOT: "SET_SHOW_APP_SNAPSHOT", SET_SELECT_SNAPSHOT_ID: "SET_SELECT_SNAPSHOT_ID", FETCH_COMMON_SETTING: "FETCH_COMMON_SETTING", FETCH_COMMON_SETTING_SUCCESS: "FETCH_COMMON_SETTING_SUCCESS", SET_COMMON_SETTING: "SET_COMMON_SETTING", SET_COMMON_SETTING_SUCCESS: "SET_COMMON_SETTING_SUCCESS", PACKAGE_META_READY: "PACKAGE_META_READY", SELECT_PACKAGE_VERSION: "SELECT_PACKAGE_VERSION", LOWCODER_COMPS_LOADING: "LOWCODER_COMPS_LOADING", FETCH_JS_LIB_METAS: "FETCH_JS_LIB_METAS", FETCH_JS_LIB_METAS_SUCCESS: "FETCH_JS_LIB_METAS_SUCCESS", FETCH_JS_LIB_RECOMMENDS: "FETCH_JS_LIB_RECOMMENDS", FETCH_JS_LIB_RECOMMENDS_SUCCESS: "FETCH_JS_LIB_RECOMMENDS_SUCCESS" }, PE = { API_ERROR: "API_ERROR", FETCH_USER_DETAILS_ERROR: "FETCH_USER_DETAILS_ERROR", FETCH_CURRENT_USER_ERROR: "FETCH_CURRENT_USER_ERROR", UPDATE_USER_PROFILE_ERROR: "UPDATE_USER_PROFILE_ERROR", CREATE_ORG_ERROR: "CREATE_ORG_ERROR", FETCH_ORG_GROUPS_ERROR: "FETCH_ORG_GROUPS_ERROR", FETCH_QUERIES_ERROR: "FETCH_QUERIES_ERROR", CREATE_APPLICATION_ERROR: "CREATE_APPLICATION_ERROR", DELETE_APPLICATION_ERROR: "DELETE_APPLICATION_ERROR", FETCH_APPLICATION_DETAIL_ERROR: "FETCH_APPLICATION_DETAIL_ERROR", PUBLISH_APPLICATION_ERROR: "PUBLISH_APPLICATION_ERROR", FETCH_HOME_DATA_ERROR: "FETCH_HOME_DATA_ERROR", FETCH_FOLDER_ELEMENTS_ERROR: "FETCH_FOLDER_ELEMENTS_ERROR", FETCH_SYS_CONFIG_ERROR: "FETCH_SYS_CONFIG_ERROR", FETCH_SUBSCRIPTIONS_ERROR: "FETCH_SUBSCRIPTIONS_ERROR", CREATE_APP_SNAPSHOT_ERROR: "CREATE_APP_SNAPSHOT_ERROR", FETCH_APP_SNAPSHOTS_ERROR: "FETCH_APP_SNAPSHOTS_ERROR", FETCH_APP_SNAPSHOT_DSL_ERROR: "FETCH_APP_SNAPSHOT_DSL_ERROR", FETCH_DATASOURCE_ERROR: "FETCH_DATASOURCE_ERROR" }, tE = { baseURL: "", webUrl: "" };
var oE = ((E2) => (E2[E2.Application = 1] = "Application", E2[E2.Module = 2] = "Module", E2[E2.NavLayout = 3] = "NavLayout", E2[E2.MobileTabLayout = 6] = "MobileTabLayout", E2))(oE || {}), sE = ((E2) => (E2.SUPPORT = "Support", E2.BUSINESS = "Business", E2.DASHBOARD = "Dashboards & Reporting", E2.SLIDES = "Slides & Presentations", E2.WEBSITE = "Website", E2.SHOPPING = "Shopping & Ecommerce", E2.TOOLS = "Tools & Internal Apps", E2.COMMUNICATION = "Communication", E2.PRODUCTIVITY = "Productivity", E2.EDUCATION = "Education", E2.SOCIAL_MEDIA = "Social Media", E2.ENTERTAINMENT = "Entertainment", E2.FINANCE = "Finance", E2.HEALTH_FITNESS = "Health & Fitness", E2.LIFESTYLE = "Lifestyle", E2.NEWS_MAGAZINES = "News & Magazines", E2.PERSONALIZATION = "Personalization", E2.PHOTOGRAPHY = "Photography", E2.SPORTS = "Sports", E2.TRAVEL_LOCAL = "Travel & Local", E2.WEATHER = "Weather", E2.MEDICAL = "Medical", E2.MUSIC_AUDIO = "Music & Audio", E2.AUTO_VEHICLES = "Auto & Vehicles", E2.ART_DESIGN = "Art & Design", E2.BEAUTY = "Beauty", E2.DATING = "Dating", E2.EVENTS = "Events", E2.FOOD_DRINK = "Food & Drink", E2.HOUSE_HOME = "House & Home", E2.PARENTING = "Parenting", E2.MAPS_NAVIGATION = "Maps & Navigation", E2))(sE || {});
const rE = { 1: "normal", 2: "module", 3: "nav", 6: "mobileTabLayout" }, LE = "api/npm/package", iE = "http://localhost:8000", NE = `${iE}/api/npm/registry`, DE = `${iE}/api/npm/package`, nE = ["lowcoder-comp-geo", "lowcoder-comp-reactpivottable", "lowcoder-comp-gantt-chart", "lowcoder-comp-hillcharts", "lowcoder-comp-bpmn-io", "lowcoder-comp-cf-turnstile"], FE = { primary: "#3377FF", textDark: "#222222", textLight: "#FFFFFF", canvas: "#F5F5F6", primarySurface: "#FFFFFF", border: "#D7D9E0", radius: "4px", borderWidth: "1px", borderStyle: "solid", margin: "3px", padding: "3px", lineHeight: "18px", gridColumns: String(_), gridRowHeight: String(S), gridRowCount: T, textSize: "14px", animation: "", animationDelay: "", animationDuration: "", opacity: "1", boxShadow: "", boxShadowColor: "", animationIterationCount: "", showComponentLoadingIndicators: true, showDataLoadingIndicators: true, dataLoadingIndicatpr: "spinner", gridBgImageSize: "cover", gridBgImagePosition: "center", gridBgImageRepeat: "no-repeat", gridBgImageOrigin: "padding-box" }, HE = { style: { borderWidth: "0px", background: "transparent" }, labelStyle: { borderWidth: "0px" }, inputFieldStyle: { border: FE.border, lineHeight: FE.lineHeight } }, dE = { ...HE, childrenInputFieldStyle: { borderWidth: "0px" } }, lE = { ...HE, inputFieldStyle: { ...HE.inputFieldStyle, track: "#D7D9E0" } }, pE = { ...HE, inputFieldStyle: { ...HE.inputFieldStyle, unchecked: "#D7D9E0" } }, mE = { ...HE, inputFieldStyle: { ...HE.inputFieldStyle, uncheckedBorder: "#D7D9E0" } }, cE = { ...HE.inputFieldStyle, labelStyle: { borderWidth: "0px" }, style: { background: FE.primarySurface } }, gE = { ...FE, components: { text: { style: { borderWidth: 0 } }, input: HE, table: { style: { borderWidth: "1px", borderStyle: "solid", border: "#D7D9E0" }, rowStyle: { borderWidth: "1px", borderStyle: "solid", border: "#D7D9E0" }, headerStyle: { borderWidth: "1px", borderStyle: "solid", border: "#D7D9E0" }, columnsStyle: { radius: "0px" }, summaryRowStyle: { radius: "0px" } }, link: { style: { borderWidth: "0px", background: "transparent" } }, rating: { style: { background: "transparent", borderWidth: "0px" }, labelStyle: { borderWidth: "0px" }, inputFieldStyle: { borderWidth: "0px" } }, columnLayout: { columnStyle: { borderWidth: "1px" } }, tabbedContainer: { style: { borderWidth: "1px" } }, step: { style: { text: "#D7D9E0" } }, qrCode: { style: { background: "transparent" } }, pageLayout: { style: { borderWidth: "1px" } }, divider: { style: { radius: "0px" } }, navigation: { style: { borderWidth: "0px" } }, slider: lE, checkbox: mE, password: HE, numberInput: HE, textArea: HE, autocomplete: HE, switch: pE, radio: mE, date: HE, dateRange: HE, time: HE, timeRange: HE, rangeSlider: lE, segmentedControl: { style: { borderWidth: "0px" } }, select: dE, multiSelect: dE, treeSelect: dE, tree: cE } }, uE = "admin", GE = "super_admin", ME = E("orgSettings.newOrg");
E("memberSettings.superAdmin"), E("memberSettings.adminGroupRoleInfo"), E("memberSettings.admin"), E("memberSettings.adminGroupRoleInfo"), E("memberSettings.member"), E("memberSettings.memberGroupRoleInfo");
const YE = { super_admin: { name: E("memberSettings.superAdmin"), desc: E("memberSettings.adminGroupRoleInfo") }, admin: { name: E("memberSettings.admin"), desc: E("memberSettings.adminOrgRoleInfo") }, member: { name: E("memberSettings.member"), desc: E("memberSettings.memberOrgRoleInfo") } }, bE = { tutorials: 5e3, videoDialog: 2010, codeEditorTooltip: 1e3, codeEditorPanel: 1e3, queryResultPanel: 1e3, hooksCompContainer: 990, hooksCompDropMask: 980, modal: 950, drawer: 950, meeting: 950, tabBar: 800, historySnapshotPanel: 555, helpIcon: 550, bottomPanel: 450, rightPanel: 500, dragSelectBox: 399, compHover: 100, compSelected: 200, compHidden: 100, homeLayoutSwitcher: 100, leftToolbar: 650 }, hE = "#b85fff", yE = "#F27A24", BE = "#D7D9E0", fE = hE, QE = "#b3c4ff", wE = "6px", xE = "#fafafa", VE = "#F5F5F6", WE = "#8B8FA3", vE = "#4965f2", kE = "#222222", KE = "#315efb", qE = "#b480de", $E = "#222222", JE = "0 2px 4px 0 rgba(0, 0, 0, 0.05)", jE = "48px", XE = "16px", zE = "public_app", ZE = { status: 200, statusText: "OK", headers: {}, config: { headers: {} }, data: { code: 1, success: true, message: "", data: { orgCommonSettings: void 0, applicationDSL: { ui: { compType: "normal", comp: {} }, refTree: { value: "" }, hooks: [{ compType: "urlParams", comp: {}, name: "url" }, { compType: "dayJsLib", comp: {}, name: "dayjs" }, { compType: "lodashJsLib", comp: {}, name: "_" }, { compType: "utils", comp: {}, name: "utils" }, { compType: "message", comp: {}, name: "message" }, { compType: "toast", comp: {}, name: "toast" }, { compType: "localStorage", comp: {}, name: "localStorage" }, { compType: "currentUser", comp: {}, name: "currentUser" }, { compType: "screenInfo", comp: {}, name: "screenInfo" }, { compType: "theme", comp: {}, name: "theme" }], settings: { title: "", description: "", category: "Business", showHeaderInPublic: true, themeId: "default", preventAppStylesOverwriting: true, disableCollision: false, lowcoderCompVersion: "latest", maxWidth: { dropdown: "1920", input: 0 }, gridRowCount: "Infinity", gridPaddingX: "20", gridPaddingY: "20" }, preload: { script: "", css: "", globalCSS: "" } }, moduleDSL: {}, applicationInfoView: { orgId: "", applicationId: zE, name: "Public App", createAt: 1735651262539, createBy: "", role: "owner", applicationType: 1, applicationStatus: "NORMAL", folderId: "", lastViewTime: 0, lastModifyTime: 1735747724691, lastEditedAt: 1735737886323, folder: false, extra: {}, editingUserId: "" } } } }, E_ = "__canvas_container__", __ = "@module_layout_comp", S_ = ["input", "password", "numberInput", "textArea", "autocomplete", "switch", "checkbox", "radio", "date", "dateRange", "time", "timeRange", "slider", "rangeSlider", "rating", "select", "multiSelect", "treeSelect", "cascader", "segmentedControl"];
let T_ = {};
const C_ = "anonymous", R_ = { email: "EMAIL", google: "GOOGLE", github: "GITHUB" }, A_ = { orgs: [], orgRoleMap: /* @__PURE__ */ new Map(), username: C_, uiLanguage: "en", currentOrgId: "", id: "", hasPassword: false, isAnonymous: true, orgDev: false, createdTimeMs: 0, userStatus: { newUserGuidance: true, olderUserNonDevPopup: true } }, e_ = { id: "", name: C_, uiLanguage: "en", avatarUrl: "", email: "", ip: "", groups: [], extra: {} };
var I_ = ((E2) => (E2.loginType = "loginType", E2.redirectUrl = "redirectUrl", E2))(I_ || {});
const a_ = { GOOGLE: { logo: C, isOAuth2: true }, GITHUB: { logo: R, isOAuth2: true }, KEYCLOAK: { logo: A, isOAuth2: true }, ORY: { logo: e, isOAuth2: true }, GENERIC: { logo: void 0, isOAuth2: true }, FORM: { logo: I } };
const O_ = (E2) => {
  var _a, _b;
  const _2 = [];
  (_a = E2.authConfigs) == null ? void 0 : _a.forEach((E3) => {
    var _a2, _b2;
    const S3 = ((_a2 = a_[E3.authType]) == null ? void 0 : _a2.logo) || a;
    var T2, C2 = "";
    if ("GENERIC" === E3.authType && E3.sourceIcon && (C2 = E3.sourceIcon), T2 = E3, (_b2 = a_[T2.authType]) == null ? void 0 : _b2.isOAuth2) {
      const T3 = {};
      _2.push({ logo: S3, icon: C2, name: E3.sourceName, url: E3.authorizeUrl, sourceType: E3.source, authType: "OAUTH2", clientId: E3.clientId, agentId: E3.agentId, id: E3.id, ...T3 });
    }
  });
  const S2 = (_b = E2.authConfigs) == null ? void 0 : _b.find((E3) => E3.source === R_.email);
  return { ...E2, form: { enableRegister: !!(S2 == null ? void 0 : S2.enableRegister), enableLogin: !!(S2 == null ? void 0 : S2.enable), id: S2 == null ? void 0 : S2.id, type: "EMAIL" }, authConfigs: _2 };
}, U_ = 50, P_ = true, t_ = 500, o_ = 3e3, s_ = { js: U, mysql: P, alasql: t, restApi: o, streamApi: s, mongodb: r, postgres: P, redis: L, es: i, mssql: P, smtp: N, oracle: P, clickHouse: P, libraryQuery: D, view: n, googleSheets: F, graphql: H, snowflake: P, mariadb: P }, r_ = {};
function L_(E2, _2, S2) {
  const T2 = `${E2}:${_2}`;
  if (!S2)
    return;
  const { queryConfig: C2 } = S2;
  C2 && "dynamic" !== C2.type && (r_[T2] = O(C2));
}
const i_ = ["js", "smtp"], N_ = "OK", D_ = "QUERY_EXECUTION_ERROR", n_ = ["mysql", "mongodb", "postgres", "redis", "es", "mssql", "oracle", "clickHouse", "snowflake", "mariadb", "alasql"], F_ = ["restApi", "smtp", "graphql", "googleSheets"], H_ = "#QUICK_REST_API", d_ = "#QUICK_GRAPHQL", l_ = "top-header", p_ = "lowcoder-app-canvas", m_ = /* @__PURE__ */ new Set(["uuid", "numbro", "Papa", "supabase", "alasql"]);
export {
  kE as $,
  B as A,
  j as B,
  p as C,
  h as D,
  q as E,
  l as F,
  m as G,
  u as H,
  M as I,
  WE as J,
  jE as K,
  bE as L,
  BE as M,
  ME as N,
  AE as O,
  zE as P,
  wE as Q,
  Y as R,
  J as S,
  G as T,
  VE as U,
  xE as V,
  KE as W,
  $E as X,
  TE as Y,
  U_ as Z,
  E_ as _,
  K as a,
  JE as a0,
  H_ as a1,
  d_ as a2,
  vE as a3,
  l_ as a4,
  V as a5,
  y as a6,
  NE as a7,
  nE as a8,
  LE as a9,
  W as aA,
  R_ as aB,
  k as aC,
  YE as aD,
  z as aE,
  OE as aF,
  aE as aG,
  _E as aH,
  SE as aI,
  uE as aJ,
  GE as aK,
  DE as aa,
  gE as ab,
  __ as ac,
  S_ as ad,
  T_ as ae,
  hE as af,
  N_ as ag,
  D_ as ah,
  n_ as ai,
  F_ as aj,
  i_ as ak,
  s_ as al,
  r_ as am,
  sE as an,
  Z as ao,
  XE as ap,
  p_ as aq,
  EE as ar,
  P_ as as,
  t_ as at,
  o_ as au,
  yE as av,
  fE as aw,
  qE as ax,
  QE as ay,
  rE as az,
  $ as b,
  v as c,
  Q as d,
  f as e,
  CE as f,
  x as g,
  w as h,
  oE as i,
  b as j,
  I_ as k,
  RE as l,
  UE as m,
  PE as n,
  A_ as o,
  e_ as p,
  eE as q,
  L_ as r,
  tE as s,
  IE as t,
  ZE as u,
  O_ as v,
  m_ as w,
  c as x,
  g as y,
  d as z
};
