@lovrabet/rabetbase-cli 2.5.3-beta.1 → 2.5.3-beta.2

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.
Files changed (374) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.js +1 -1
  4. package/lib/api/generate-sdk-config-file.js +1 -1
  5. package/lib/auth/auth-server-ui.js +1 -1
  6. package/lib/auth/auth-server.js +1 -1
  7. package/lib/auth/constant.js +1 -1
  8. package/lib/auth/get-cookie.js +1 -1
  9. package/lib/auth/get-session-user.js +1 -1
  10. package/lib/auth/is-session-valid.js +1 -1
  11. package/lib/auth/login-success-html.js +1 -1
  12. package/lib/auth/logout.js +1 -1
  13. package/lib/cli-flags.js +1 -1
  14. package/lib/cli.js +1 -1
  15. package/lib/commands/api/generate.js +1 -1
  16. package/lib/commands/api/index.js +1 -1
  17. package/lib/commands/api/list.js +1 -1
  18. package/lib/commands/api/pull.js +1 -1
  19. package/lib/commands/api/shared.js +1 -1
  20. package/lib/commands/app/index.js +1 -1
  21. package/lib/commands/app/list.js +1 -1
  22. package/lib/commands/app/members-list.js +1 -1
  23. package/lib/commands/app/remote-directory.js +1 -1
  24. package/lib/commands/app/shared.js +1 -1
  25. package/lib/commands/app-config/delete.js +1 -1
  26. package/lib/commands/app-config/get.js +1 -1
  27. package/lib/commands/app-config/index.js +1 -1
  28. package/lib/commands/app-config/list.js +1 -1
  29. package/lib/commands/app-config/set.js +1 -1
  30. package/lib/commands/app-config/shared.js +1 -1
  31. package/lib/commands/auth/index.js +1 -1
  32. package/lib/commands/bff/create.js +1 -1
  33. package/lib/commands/bff/delete.js +1 -1
  34. package/lib/commands/bff/detail.js +1 -1
  35. package/lib/commands/bff/index.js +1 -1
  36. package/lib/commands/bff/list.js +1 -1
  37. package/lib/commands/bff/logs.d.ts +7 -0
  38. package/lib/commands/bff/logs.js +1 -0
  39. package/lib/commands/bff/pull.js +1 -1
  40. package/lib/commands/bff/push.js +1 -1
  41. package/lib/commands/bff/status.js +1 -1
  42. package/lib/commands/cli-skill/index.js +1 -1
  43. package/lib/commands/cli-update.js +1 -1
  44. package/lib/commands/codegen/index.js +1 -1
  45. package/lib/commands/codegen/sdk.js +1 -1
  46. package/lib/commands/codegen/sql.js +1 -1
  47. package/lib/commands/common/app-registry.js +1 -1
  48. package/lib/commands/common/app-selector.js +1 -1
  49. package/lib/commands/common/async-task.js +1 -1
  50. package/lib/commands/common/dry-run.js +1 -1
  51. package/lib/commands/common/flags.js +1 -1
  52. package/lib/commands/common/local-file.js +1 -1
  53. package/lib/commands/common/validate.js +1 -1
  54. package/lib/commands/config/delete.js +1 -1
  55. package/lib/commands/config/get.js +1 -1
  56. package/lib/commands/config/index.js +1 -1
  57. package/lib/commands/config/init.js +1 -1
  58. package/lib/commands/config/list.js +1 -1
  59. package/lib/commands/config/set.js +1 -1
  60. package/lib/commands/config/shared.js +1 -1
  61. package/lib/commands/dataset/batch-design.d.ts +21 -0
  62. package/lib/commands/dataset/batch-design.js +1 -0
  63. package/lib/commands/dataset/business-group-update.js +1 -1
  64. package/lib/commands/dataset/business-groups.js +1 -1
  65. package/lib/commands/dataset/capability.js +1 -1
  66. package/lib/commands/dataset/delete.js +1 -1
  67. package/lib/commands/dataset/detail.js +1 -1
  68. package/lib/commands/dataset/extend-update.js +1 -1
  69. package/lib/commands/dataset/field-restore.js +1 -1
  70. package/lib/commands/dataset/field-update.js +1 -1
  71. package/lib/commands/dataset/generate.js +1 -1
  72. package/lib/commands/dataset/index.js +1 -1
  73. package/lib/commands/dataset/list.js +1 -1
  74. package/lib/commands/dataset/operations.js +1 -1
  75. package/lib/commands/dataset/relation-audit.js +1 -1
  76. package/lib/commands/dataset/relation-create.js +1 -1
  77. package/lib/commands/dataset/relation-delete.js +1 -1
  78. package/lib/commands/dataset/relation-shared.js +1 -1
  79. package/lib/commands/dataset/relation-update.js +1 -1
  80. package/lib/commands/dataset/relations.js +1 -1
  81. package/lib/commands/dataset/rename.js +1 -1
  82. package/lib/commands/dataset/restore.js +1 -1
  83. package/lib/commands/dataset/user-deleted-field-list.js +1 -1
  84. package/lib/commands/db/analysis-batching.js +1 -1
  85. package/lib/commands/db/analyze-batch-plan.js +1 -1
  86. package/lib/commands/db/analyze-cancel.js +1 -1
  87. package/lib/commands/db/analyze-start.js +1 -1
  88. package/lib/commands/db/analyze-status.js +1 -1
  89. package/lib/commands/db/create.js +1 -1
  90. package/lib/commands/db/delete.js +1 -1
  91. package/lib/commands/db/detail.js +1 -1
  92. package/lib/commands/db/diff-refresh-start.js +1 -1
  93. package/lib/commands/db/diff-refresh-status.js +1 -1
  94. package/lib/commands/db/diff.js +1 -1
  95. package/lib/commands/db/index.js +1 -1
  96. package/lib/commands/db/list.js +1 -1
  97. package/lib/commands/db/shared.js +1 -1
  98. package/lib/commands/db/table-diff-shared.js +1 -1
  99. package/lib/commands/db/tables.js +1 -1
  100. package/lib/commands/db/test.js +1 -1
  101. package/lib/commands/db/update.js +1 -1
  102. package/lib/commands/deployment/index.js +1 -1
  103. package/lib/commands/deployment/sync-all.js +1 -1
  104. package/lib/commands/deployment/sync-jobs.js +1 -1
  105. package/lib/commands/deployment/sync-status.js +1 -1
  106. package/lib/commands/doctor.js +1 -1
  107. package/lib/commands/file/index.js +1 -1
  108. package/lib/commands/flow/create.d.ts +2 -0
  109. package/lib/commands/flow/create.js +1 -0
  110. package/lib/commands/flow/detail.d.ts +2 -0
  111. package/lib/commands/flow/detail.js +1 -0
  112. package/lib/commands/flow/index.d.ts +3 -0
  113. package/lib/commands/flow/index.js +1 -0
  114. package/lib/commands/flow/list.d.ts +2 -0
  115. package/lib/commands/flow/list.js +1 -0
  116. package/lib/commands/flow/publish.d.ts +2 -0
  117. package/lib/commands/flow/publish.js +1 -0
  118. package/lib/commands/flow/runtime-resources-shared.d.ts +40 -0
  119. package/lib/commands/flow/runtime-resources-shared.js +1 -0
  120. package/lib/commands/flow/runtime-role-list.d.ts +2 -0
  121. package/lib/commands/flow/runtime-role-list.js +1 -0
  122. package/lib/commands/flow/runtime-role-user-list.d.ts +2 -0
  123. package/lib/commands/flow/runtime-role-user-list.js +1 -0
  124. package/lib/commands/flow/runtime-user-search.d.ts +2 -0
  125. package/lib/commands/flow/runtime-user-search.js +1 -0
  126. package/lib/commands/flow/shared.d.ts +41 -0
  127. package/lib/commands/flow/shared.js +1 -0
  128. package/lib/commands/flow/update.d.ts +2 -0
  129. package/lib/commands/flow/update.js +1 -0
  130. package/lib/commands/flow/validate.d.ts +3 -0
  131. package/lib/commands/flow/validate.js +1 -0
  132. package/lib/commands/instant-api-policy/current.js +1 -1
  133. package/lib/commands/instant-api-policy/index.js +1 -1
  134. package/lib/commands/instant-api-policy/init.js +1 -1
  135. package/lib/commands/instant-api-policy/publish.js +1 -1
  136. package/lib/commands/instant-api-policy/pull.js +1 -1
  137. package/lib/commands/instant-api-policy/revision.js +1 -1
  138. package/lib/commands/instant-api-policy/revisions.js +1 -1
  139. package/lib/commands/instant-api-policy/rollback.js +1 -1
  140. package/lib/commands/instant-api-policy/shared.js +1 -1
  141. package/lib/commands/instant-api-policy/validate.js +1 -1
  142. package/lib/commands/issue/index.js +1 -1
  143. package/lib/commands/issue/nudge.js +1 -1
  144. package/lib/commands/issue/report.js +1 -1
  145. package/lib/commands/issue/shared.js +1 -1
  146. package/lib/commands/kb/create.js +1 -1
  147. package/lib/commands/kb/delete.js +1 -1
  148. package/lib/commands/kb/detail.js +1 -1
  149. package/lib/commands/kb/index.js +1 -1
  150. package/lib/commands/kb/list.js +1 -1
  151. package/lib/commands/kb/search.js +1 -1
  152. package/lib/commands/kb/shared.js +1 -1
  153. package/lib/commands/kb/update.js +1 -1
  154. package/lib/commands/logs/index.js +1 -1
  155. package/lib/commands/menu/asset-update.js +1 -1
  156. package/lib/commands/menu/delete.js +1 -1
  157. package/lib/commands/menu/external-link-create.js +1 -1
  158. package/lib/commands/menu/external-link-update.js +1 -1
  159. package/lib/commands/menu/group-create.js +1 -1
  160. package/lib/commands/menu/group-update.js +1 -1
  161. package/lib/commands/menu/index.js +1 -1
  162. package/lib/commands/menu/list.js +1 -1
  163. package/lib/commands/menu/move.js +1 -1
  164. package/lib/commands/menu/regroup-start.js +1 -1
  165. package/lib/commands/menu/rename.js +1 -1
  166. package/lib/commands/menu/shared/compare-table.js +1 -1
  167. package/lib/commands/menu/shared/delete-plan.js +1 -1
  168. package/lib/commands/menu/shared/facts.js +1 -1
  169. package/lib/commands/menu/shared/index.js +1 -1
  170. package/lib/commands/menu/shared/inquirer.js +1 -1
  171. package/lib/commands/menu/shared/local-pages.js +1 -1
  172. package/lib/commands/menu/shared/logic.js +1 -1
  173. package/lib/commands/menu/shared/mutations.js +1 -1
  174. package/lib/commands/menu/shared/service.js +1 -1
  175. package/lib/commands/menu/shared/sync-core.js +1 -1
  176. package/lib/commands/menu/shared/update-core.js +1 -1
  177. package/lib/commands/menu/shared/valid-url.js +1 -1
  178. package/lib/commands/menu/sync.js +1 -1
  179. package/lib/commands/menu/visibility-update.js +1 -1
  180. package/lib/commands/notification/config-create.js +1 -1
  181. package/lib/commands/notification/config-delete.js +1 -1
  182. package/lib/commands/notification/config-list.js +1 -1
  183. package/lib/commands/notification/config-update.js +1 -1
  184. package/lib/commands/notification/index.js +1 -1
  185. package/lib/commands/notification/shared.js +1 -1
  186. package/lib/commands/ocr/index.js +1 -1
  187. package/lib/commands/page/create.js +1 -1
  188. package/lib/commands/page/custom/detail.js +1 -1
  189. package/lib/commands/page/custom/list.js +1 -1
  190. package/lib/commands/page/custom/publish.js +1 -1
  191. package/lib/commands/page/custom/shared.js +1 -1
  192. package/lib/commands/page/custom/syntax.js +1 -1
  193. package/lib/commands/page/custom/update.js +1 -1
  194. package/lib/commands/page/data-list-status.js +1 -1
  195. package/lib/commands/page/generate-start.js +1 -1
  196. package/lib/commands/page/generate-status.js +1 -1
  197. package/lib/commands/page/index.js +1 -1
  198. package/lib/commands/page/pull.js +1 -1
  199. package/lib/commands/page/push.js +1 -1
  200. package/lib/commands/page/relation-audit.js +1 -1
  201. package/lib/commands/page/restore.js +1 -1
  202. package/lib/commands/page/shared.js +1 -1
  203. package/lib/commands/page/sync.js +1 -1
  204. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  205. package/lib/commands/project/create/format-elapsed.js +1 -1
  206. package/lib/commands/project/create/main.js +1 -1
  207. package/lib/commands/project/create/materialize-project-template.js +1 -1
  208. package/lib/commands/project/create/project-name.js +1 -1
  209. package/lib/commands/project/create/project-template-archive.js +1 -1
  210. package/lib/commands/project/create/project-template-path.js +1 -1
  211. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  212. package/lib/commands/project/create/use-format-code.js +1 -1
  213. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  214. package/lib/commands/project/domain-routing-sync.js +1 -1
  215. package/lib/commands/project/index.js +1 -1
  216. package/lib/commands/project/upgrade.js +1 -1
  217. package/lib/commands/registry.js +1 -1
  218. package/lib/commands/role/delete.js +1 -1
  219. package/lib/commands/role/detail.js +1 -1
  220. package/lib/commands/role/index.js +1 -1
  221. package/lib/commands/role/list.js +1 -1
  222. package/lib/commands/role/shared.js +1 -1
  223. package/lib/commands/role/update.js +1 -1
  224. package/lib/commands/role/user-add.js +1 -1
  225. package/lib/commands/role/user-remove.js +1 -1
  226. package/lib/commands/role/user-resolve.js +1 -1
  227. package/lib/commands/rule/get.js +1 -1
  228. package/lib/commands/rule/index.js +1 -1
  229. package/lib/commands/rule/list.js +1 -1
  230. package/lib/commands/rule/set.js +1 -1
  231. package/lib/commands/rule/shared.js +1 -1
  232. package/lib/commands/run/index.js +1 -1
  233. package/lib/commands/schema.js +1 -1
  234. package/lib/commands/sql/create.js +1 -1
  235. package/lib/commands/sql/delete.js +1 -1
  236. package/lib/commands/sql/detail.js +1 -1
  237. package/lib/commands/sql/exec.js +1 -1
  238. package/lib/commands/sql/index.js +1 -1
  239. package/lib/commands/sql/list.js +1 -1
  240. package/lib/commands/sql/pull.js +1 -1
  241. package/lib/commands/sql/push.js +1 -1
  242. package/lib/commands/sql/shared.js +1 -1
  243. package/lib/commands/sql/status.js +1 -1
  244. package/lib/commands/sql/validate.js +1 -1
  245. package/lib/commands/task/index.js +1 -1
  246. package/lib/commands/task/status.js +1 -1
  247. package/lib/commands/tenant/index.js +1 -1
  248. package/lib/commands/tenant/members-list.js +1 -1
  249. package/lib/commands/tenant/shared.js +1 -1
  250. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  251. package/lib/commands/user-account/index.js +1 -1
  252. package/lib/commands/workspace/add.js +1 -1
  253. package/lib/commands/workspace/index.js +1 -1
  254. package/lib/commands/workspace/remove.js +1 -1
  255. package/lib/config/domain-config.js +1 -1
  256. package/lib/config/project-domain-routing.js +1 -1
  257. package/lib/config/region-config.js +1 -1
  258. package/lib/config/schema.js +1 -1
  259. package/lib/constant/cdn.js +1 -1
  260. package/lib/constant/cli.js +1 -1
  261. package/lib/constant/defaults.js +1 -1
  262. package/lib/constant/domain.js +1 -1
  263. package/lib/constant/env.js +1 -1
  264. package/lib/constant/output.js +1 -1
  265. package/lib/constant/paths.js +1 -1
  266. package/lib/constant/region.js +1 -1
  267. package/lib/constant/risk.js +1 -1
  268. package/lib/constant/routing-profile.js +1 -1
  269. package/lib/context/app-resolver.js +1 -1
  270. package/lib/context/auth-resolver.js +1 -1
  271. package/lib/context/config-loader.js +1 -1
  272. package/lib/context.js +1 -1
  273. package/lib/core/alias-resolver.js +1 -1
  274. package/lib/core/api-client.d.ts +170 -1
  275. package/lib/core/api-client.js +1 -1
  276. package/lib/core/bff/config.js +1 -1
  277. package/lib/core/bff/file-system.js +1 -1
  278. package/lib/core/bff/hash.js +1 -1
  279. package/lib/core/bff/hook-directory.d.ts +55 -0
  280. package/lib/core/bff/hook-directory.js +1 -0
  281. package/lib/core/bff/lock.js +1 -1
  282. package/lib/core/bff/types.d.ts +15 -0
  283. package/lib/core/bff/utils.js +1 -1
  284. package/lib/core/db-resolver.js +1 -1
  285. package/lib/core/flow-config.d.ts +628 -0
  286. package/lib/core/flow-config.js +1 -0
  287. package/lib/core/instant-api-policy/config.js +1 -1
  288. package/lib/core/kb-search-client.js +1 -1
  289. package/lib/core/page/file-system.js +1 -1
  290. package/lib/core/page/hash.js +1 -1
  291. package/lib/core/page/lock.js +1 -1
  292. package/lib/core/page/lr-smart-jsx.js +1 -1
  293. package/lib/core/sql-index-auditor.js +1 -1
  294. package/lib/core/sql-sync/config.js +1 -1
  295. package/lib/core/sql-sync/file-system.js +1 -1
  296. package/lib/core/sql-sync/hash.js +1 -1
  297. package/lib/core/sql-sync/lock.js +1 -1
  298. package/lib/core/sql-sync/utils.js +1 -1
  299. package/lib/core/sql-validator.js +1 -1
  300. package/lib/errors.js +1 -1
  301. package/lib/framework/build-all-flags.js +1 -1
  302. package/lib/framework/error-output.js +1 -1
  303. package/lib/framework/explicit-yes.js +1 -1
  304. package/lib/framework/flags.js +1 -1
  305. package/lib/framework/help.js +1 -1
  306. package/lib/framework/index.js +1 -1
  307. package/lib/framework/output.js +1 -1
  308. package/lib/framework/response.js +1 -1
  309. package/lib/framework/runner-alias.js +1 -1
  310. package/lib/framework/runner.js +1 -1
  311. package/lib/framework/schema-export.js +1 -1
  312. package/lib/framework/supported-flags.js +1 -1
  313. package/lib/framework/types.js +1 -1
  314. package/lib/generated/build-info.d.ts +4 -4
  315. package/lib/generated/build-info.js +1 -1
  316. package/lib/generated/official-routing.js +1 -1
  317. package/lib/generated/routing-contract.js +1 -1
  318. package/lib/help.js +1 -1
  319. package/lib/postinstall.js +1 -1
  320. package/lib/runtime/confirmation.js +1 -1
  321. package/lib/runtime/event.js +1 -1
  322. package/lib/runtime/index.js +1 -1
  323. package/lib/runtime/queue.js +1 -1
  324. package/lib/runtime/resolve.js +1 -1
  325. package/lib/skills/builtin-skill.js +1 -1
  326. package/lib/skills/main.js +1 -1
  327. package/lib/skills/npx-skills-add.js +1 -1
  328. package/lib/skills/skill-presence.js +1 -1
  329. package/lib/telemetry/cli-command-trace.js +1 -1
  330. package/lib/telemetry/cli-help-trace.js +1 -1
  331. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  332. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  333. package/lib/telemetry/send-cli-trace-log.js +1 -1
  334. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  335. package/lib/utils/ai_config.js +1 -1
  336. package/lib/utils/apply-jq-filter.js +1 -1
  337. package/lib/utils/cdn-config.js +1 -1
  338. package/lib/utils/check-sdk-version.js +1 -1
  339. package/lib/utils/cli-version-check.js +1 -1
  340. package/lib/utils/cli-version-policy.js +1 -1
  341. package/lib/utils/config.js +1 -1
  342. package/lib/utils/entity-with-id.js +1 -1
  343. package/lib/utils/file-utils.js +1 -1
  344. package/lib/utils/guides-cdn.js +1 -1
  345. package/lib/utils/http-client.js +1 -1
  346. package/lib/utils/is-non-interactive.js +1 -1
  347. package/lib/utils/logger.js +1 -1
  348. package/lib/utils/params.js +1 -1
  349. package/lib/utils/platform.js +1 -1
  350. package/lib/utils/sleep.js +1 -1
  351. package/lib/utils/template-replacer.js +1 -1
  352. package/lib/utils/update-notice.js +1 -1
  353. package/lib/utils/version.js +1 -1
  354. package/lib/utils/with-active-cookie.js +1 -1
  355. package/lib/utils/write-cli-side-channel.js +1 -1
  356. package/package.json +1 -1
  357. package/skills/rabetbase/SKILL.md +22 -4
  358. package/skills/rabetbase/guides/approval-flow-development-workflow.md +137 -0
  359. package/skills/rabetbase/guides/backend-function.md +19 -9
  360. package/skills/rabetbase/guides/bff-creation-workflow.md +10 -1
  361. package/skills/rabetbase/guides/conflict-detection.md +2 -0
  362. package/skills/rabetbase/guides/sdk-client-generation.md +1 -0
  363. package/skills/rabetbase/knowledge/approval-flow/config-json-schema.md +290 -0
  364. package/skills/rabetbase/references/rabetbase-bff-create.md +1 -1
  365. package/skills/rabetbase/references/rabetbase-bff-logs.md +47 -0
  366. package/skills/rabetbase/references/rabetbase-bff-pull.md +7 -3
  367. package/skills/rabetbase/references/rabetbase-bff-push.md +10 -2
  368. package/skills/rabetbase/references/rabetbase-dataset-generate.md +52 -2
  369. package/skills/rabetbase/references/rabetbase-flow-commands.md +86 -0
  370. package/skills/rabetbase/references/rabetbase-flow-resources.md +83 -0
  371. package/skills/rabetbase/references/rabetbase-flow-runtime-boundary.md +25 -0
  372. package/skills/rabetbase/references/rabetbase-instant-api-policy.md +103 -11
  373. package/skills/rabetbase/references/rabetbase-notification-config-list.md +17 -0
  374. package/skills/rabetbase.manifest.json +9 -3
@@ -1 +1 @@
1
- (function(_0x401c3c,_0x31c807){const _0x219296=a223_0x468d,_0x115187=_0x401c3c();while(!![]){try{const _0x180b33=-parseInt(_0x219296(0x71))/0x1+-parseInt(_0x219296(0x6c))/0x2*(parseInt(_0x219296(0x72))/0x3)+-parseInt(_0x219296(0x70))/0x4*(parseInt(_0x219296(0x6d))/0x5)+-parseInt(_0x219296(0x78))/0x6*(parseInt(_0x219296(0x75))/0x7)+-parseInt(_0x219296(0x6f))/0x8*(parseInt(_0x219296(0x6e))/0x9)+parseInt(_0x219296(0x77))/0xa*(parseInt(_0x219296(0x73))/0xb)+-parseInt(_0x219296(0x76))/0xc*(-parseInt(_0x219296(0x74))/0xd);if(_0x180b33===_0x31c807)break;else _0x115187['push'](_0x115187['shift']());}catch(_0x5a7181){_0x115187['push'](_0x115187['shift']());}}}(a223_0xc3d2,0xc6141));import{dingTalkSandboxBind}from'../../commands/user-account/dingding-sandbox-bind.js';export const userAccountDefinitions=[dingTalkSandboxBind];function a223_0x468d(_0x1b52a9,_0x499f8b){_0x1b52a9=_0x1b52a9-0x6c;const _0xc3d2b6=a223_0xc3d2();let _0x468db2=_0xc3d2b6[_0x1b52a9];return _0x468db2;}function a223_0xc3d2(){const _0x23f601=['7122SBjOOV','24TtGxtn','139520mfItIE','8798247IvWVVv','8KViXKD','104CCguUi','958015ZgCTvw','75963fvWniu','8426352nIWqcu','813683lCjySz','5502FkigKG','756PEzyrq','10SChxxD'];a223_0xc3d2=function(){return _0x23f601;};return a223_0xc3d2();}
1
+ function a237_0x15f4(_0x1483cb,_0x1a48eb){_0x1483cb=_0x1483cb-0x196;const _0x3a153b=a237_0x3a15();let _0x15f40a=_0x3a153b[_0x1483cb];return _0x15f40a;}(function(_0x328a9f,_0x55ecd0){const _0xe4a10a=a237_0x15f4,_0x193713=_0x328a9f();while(!![]){try{const _0x4df292=-parseInt(_0xe4a10a(0x19a))/0x1*(parseInt(_0xe4a10a(0x19c))/0x2)+parseInt(_0xe4a10a(0x1a1))/0x3+parseInt(_0xe4a10a(0x199))/0x4*(parseInt(_0xe4a10a(0x1a0))/0x5)+-parseInt(_0xe4a10a(0x19f))/0x6*(parseInt(_0xe4a10a(0x19d))/0x7)+-parseInt(_0xe4a10a(0x19b))/0x8*(-parseInt(_0xe4a10a(0x19e))/0x9)+parseInt(_0xe4a10a(0x197))/0xa*(-parseInt(_0xe4a10a(0x198))/0xb)+-parseInt(_0xe4a10a(0x196))/0xc;if(_0x4df292===_0x55ecd0)break;else _0x193713['push'](_0x193713['shift']());}catch(_0x2a5c9b){_0x193713['push'](_0x193713['shift']());}}}(a237_0x3a15,0x424ba));import{dingTalkSandboxBind}from'../../commands/user-account/dingding-sandbox-bind.js';export const userAccountDefinitions=[dingTalkSandboxBind];function a237_0x3a15(){const _0x42b8d7=['1604660vGawEo','6527dcMfot','120PNMlyS','32lguQCK','231QnurDT','229374DKdywQ','84174FBzhRx','5FNSwsh','1149000FujPHb','2422008wqgDIE','3190HIbxKI','4334epkGed'];a237_0x3a15=function(){return _0x42b8d7;};return a237_0x3a15();}
@@ -1 +1 @@
1
- function a224_0x556a(){const _0x1a5ee0=['workspace','10141576KhOtKz','name','382vTjAkz','96219hasdld','18Ezqykw','10630DqPsAb','25639042JlhrzU','84meLBFZ','1671745uWRyNJ','App\x20profile\x20name','workspace\x20add','write','666xUobWl','4166FFxPvs','1919001nAzSid'];a224_0x556a=function(){return _0x1a5ee0;};return a224_0x556a();}const a224_0x22e9b0=a224_0x55c4;(function(_0xc01b36,_0x4a0d58){const _0x666928=a224_0x55c4,_0x245ee8=_0xc01b36();while(!![]){try{const _0x5fc72d=-parseInt(_0x666928(0x1e2))/0x1*(parseInt(_0x666928(0x1e7))/0x2)+-parseInt(_0x666928(0x1e8))/0x3*(parseInt(_0x666928(0x1ec))/0x4)+-parseInt(_0x666928(0x1dd))/0x5*(parseInt(_0x666928(0x1e9))/0x6)+-parseInt(_0x666928(0x1e3))/0x7+parseInt(_0x666928(0x1e5))/0x8+parseInt(_0x666928(0x1e1))/0x9*(-parseInt(_0x666928(0x1ea))/0xa)+parseInt(_0x666928(0x1eb))/0xb;if(_0x5fc72d===_0x4a0d58)break;else _0x245ee8['push'](_0x245ee8['shift']());}catch(_0x57da78){_0x245ee8['push'](_0x245ee8['shift']());}}}(a224_0x556a,0xbcd34));function a224_0x55c4(_0x2fc823,_0x2dfaa7){_0x2fc823=_0x2fc823-0x1dd;const _0x556ae2=a224_0x556a();let _0x55c4b9=_0x556ae2[_0x2fc823];return _0x55c4b9;}import{buildAppAddFlags,runAppAdd,validateAppName}from'../../commands/common/app-registry.js';export const workspaceAddDefinition={'service':a224_0x22e9b0(0x1e4),'command':'add','description':'Register\x20an\x20app\x20profile\x20in\x20the\x20current\x20workspace\x20(or\x20--global)','risk':a224_0x22e9b0(0x1e0),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a224_0x22e9b0(0x1e6),'description':a224_0x22e9b0(0x1de),'required':!![]}],'flags':buildAppAddFlags(),'validate':_0x18fdc1=>validateAppName(_0x18fdc1,a224_0x22e9b0(0x1df)),'execute':_0x233b08=>runAppAdd(_0x233b08,a224_0x22e9b0(0x1df))};
1
+ function a238_0x50bd(){const _0x30442d=['8143553RQlWhg','18844KEXbHd','workspace\x20add','workspace','340265QfOZJp','3532mHSFTk','266472sNKszQ','90ANOoFz','write','App\x20profile\x20name','name','10gWInFl','969188ChIgTB','906WVTNAJ','add','3117860svlZxk','1374FTljjK'];a238_0x50bd=function(){return _0x30442d;};return a238_0x50bd();}function a238_0x1367(_0xb2b801,_0x5a6687){_0xb2b801=_0xb2b801-0x1db;const _0x50bd6d=a238_0x50bd();let _0x1367b4=_0x50bd6d[_0xb2b801];return _0x1367b4;}const a238_0x58f6a4=a238_0x1367;(function(_0x2d2e7f,_0x12a440){const _0x57131d=a238_0x1367,_0xd38dff=_0x2d2e7f();while(!![]){try{const _0x2dcc98=-parseInt(_0x57131d(0x1e3))/0x1+-parseInt(_0x57131d(0x1e4))/0x2*(-parseInt(_0x57131d(0x1db))/0x3)+-parseInt(_0x57131d(0x1eb))/0x4+-parseInt(_0x57131d(0x1dd))/0x5+parseInt(_0x57131d(0x1de))/0x6*(parseInt(_0x57131d(0x1e0))/0x7)+-parseInt(_0x57131d(0x1e5))/0x8*(parseInt(_0x57131d(0x1e6))/0x9)+-parseInt(_0x57131d(0x1ea))/0xa*(-parseInt(_0x57131d(0x1df))/0xb);if(_0x2dcc98===_0x12a440)break;else _0xd38dff['push'](_0xd38dff['shift']());}catch(_0x22a884){_0xd38dff['push'](_0xd38dff['shift']());}}}(a238_0x50bd,0x55ab3));import{buildAppAddFlags,runAppAdd,validateAppName}from'../../commands/common/app-registry.js';export const workspaceAddDefinition={'service':a238_0x58f6a4(0x1e2),'command':a238_0x58f6a4(0x1dc),'description':'Register\x20an\x20app\x20profile\x20in\x20the\x20current\x20workspace\x20(or\x20--global)','risk':a238_0x58f6a4(0x1e7),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a238_0x58f6a4(0x1e9),'description':a238_0x58f6a4(0x1e8),'required':!![]}],'flags':buildAppAddFlags(),'validate':_0x57e050=>validateAppName(_0x57e050,a238_0x58f6a4(0x1e1)),'execute':_0x4777d1=>runAppAdd(_0x4777d1,a238_0x58f6a4(0x1e1))};
@@ -1 +1 @@
1
- const a225_0x282953=a225_0x437c;(function(_0x3391e9,_0x133f4f){const _0x5680f3=a225_0x437c,_0x201144=_0x3391e9();while(!![]){try{const _0x56e25e=-parseInt(_0x5680f3(0x16f))/0x1+parseInt(_0x5680f3(0x156))/0x2+-parseInt(_0x5680f3(0x17d))/0x3+-parseInt(_0x5680f3(0x16d))/0x4+parseInt(_0x5680f3(0x183))/0x5+parseInt(_0x5680f3(0x16e))/0x6+parseInt(_0x5680f3(0x164))/0x7;if(_0x56e25e===_0x133f4f)break;else _0x201144['push'](_0x201144['shift']());}catch(_0x22b6ec){_0x201144['push'](_0x201144['shift']());}}}(a225_0x2730,0x33fdd));import{CliErrors}from'../../errors.js';import{CLI_BIN_NAME}from'../../constant/cli.js';import{RABETBASE_ENV_VALUES}from'../../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../../constant/output.js';import{RISK_LEVEL_VALUES}from'../../constant/risk.js';function a225_0x437c(_0xf1defc,_0x4cf832){_0xf1defc=_0xf1defc-0x150;const _0x273059=a225_0x2730();let _0x437c12=_0x273059[_0xf1defc];return _0x437c12;}import{validateAppcode}from'../../commands/common/validate.js';import{readConfigFile,readRawConfigWithLayers,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{workspaceAddDefinition}from'../../commands/workspace/add.js';function a225_0x2730(){const _0x5d4338=['500712dhbFvV','346351jnNHum','region','init','App\x20profile\x20name\x20to\x20use\x20in\x20this\x20workspace','defaultFormat','initialized','Switch\x20the\x20current\x20workspace\x20app\x20binding','apiDir','Risk\x20level\x20for\x20this\x20workspace\x20app\x20profile','validation','length','app','workspace.','App\x20locale\x20for\x20this\x20workspace\x20app\x20profile\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','513927HzMtGz','\x20--appcode\x20<code>`.','number','\x20workspace\x20use\x20--app\x20<name>`.','project','.\x20Credentials:\x20not\x20written.','1776610mIawQq','write','\x22\x20not\x20found.','trim','isArray','pageSize','Use\x20`','App\x20\x22','object','apps','appcode','Target\x20environment','Invalid\x20appcode:\x20','577142cpzxlF','updated','keys','string','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`','riskLevel','use','\x20(appcode:\x20','env','Missing\x20workspace\x20app\x20selector.','globalConfig','workspace','locale','App\x20code\x20to\x20bind\x20to\x20this\x20workspace','122675kxBmXg','format','\x20--app\x20','str','join','\x20workspace\x20',').\x20Config:\x20','Pass\x20--appcode\x20<code>,\x20or\x20choose\x20one\x20of:\x20','flag','57012pHYsnr'];a225_0x2730=function(){return _0x5d4338;};return a225_0x2730();}import{workspaceRemoveDefinition}from'../../commands/workspace/remove.js';import{normalizeStoredDefaultApp}from'../../config/schema.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../../constant/region.js';const WORKSPACE_USAGE=CLI_BIN_NAME+'\x20workspace\x20<init|use>\x20--app\x20<name>\x20[--appcode\x20<code>]',SAFE_PROFILE_KEYS=[a225_0x282953(0x153),a225_0x282953(0x170),a225_0x282953(0x15e),a225_0x282953(0x176),a225_0x282953(0x165),'pageSize',a225_0x282953(0x15b),'locale'],workspaceFlags=[{'name':a225_0x282953(0x17a),'type':a225_0x282953(0x159),'description':a225_0x282953(0x172)},{'name':a225_0x282953(0x153),'type':'string','description':a225_0x282953(0x163)},{'name':a225_0x282953(0x170),'type':a225_0x282953(0x159),'description':'Country/region\x20for\x20this\x20workspace\x20app\x20profile','enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':a225_0x282953(0x15e),'type':a225_0x282953(0x159),'description':a225_0x282953(0x154),'enum':[...RABETBASE_ENV_VALUES]},{'name':a225_0x282953(0x176),'type':a225_0x282953(0x159),'description':'API\x20directory\x20path\x20for\x20this\x20workspace\x20app\x20profile'},{'name':a225_0x282953(0x173),'type':a225_0x282953(0x159),'description':'Default\x20output\x20format\x20for\x20this\x20workspace\x20app\x20profile','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':a225_0x282953(0x188),'type':a225_0x282953(0x17f),'description':'Default\x20page\x20size\x20for\x20this\x20workspace\x20app\x20profile'},{'name':'riskLevel','type':a225_0x282953(0x159),'description':a225_0x282953(0x177),'enum':[...RISK_LEVEL_VALUES]},{'name':'locale','type':a225_0x282953(0x159),'description':a225_0x282953(0x17c)}];function isRecord(_0x1b0735){const _0x5d638e=a225_0x282953;return!!_0x1b0735&&typeof _0x1b0735===_0x5d638e(0x151)&&!Array[_0x5d638e(0x187)](_0x1b0735);}function assertValidAppcode(_0x3528ac){const _0x2c481b=a225_0x282953,{valid:_0x2a41d8,message:_0x48e385}=validateAppcode(_0x3528ac);if(!_0x2a41d8)throw CliErrors[_0x2c481b(0x178)](_0x2c481b(0x155)+_0x3528ac,_0x48e385);}function sanitizeProfile(_0xec1a4c){if(!isRecord(_0xec1a4c))return{};const _0x48a199={};for(const _0x3eec74 of SAFE_PROFILE_KEYS){if(_0xec1a4c[_0x3eec74]!==undefined)_0x48a199[_0x3eec74]=_0xec1a4c[_0x3eec74];}return _0x48a199;}function cloneProfile(_0x4f29d4){return isRecord(_0x4f29d4)?{..._0x4f29d4}:{};}function collectWorkspaceProfileOverrides(_0x44f8df){const _0xd7305=a225_0x282953,_0x142b93={},_0x3e58a7=_0x44f8df['str'](_0xd7305(0x170)),_0x462da8=_0x44f8df[_0xd7305(0x167)]('env'),_0x47a861=_0x44f8df[_0xd7305(0x167)]('apiDir'),_0x2ba09f=_0x44f8df['str'](_0xd7305(0x173)),_0x54b048=_0x44f8df[_0xd7305(0x16c)](_0xd7305(0x188)),_0xf901b9=_0x44f8df['str'](_0xd7305(0x15b)),_0x263100=_0x44f8df[_0xd7305(0x167)](_0xd7305(0x162));if(_0x3e58a7)_0x142b93['region']=_0x3e58a7;if(_0x462da8)_0x142b93[_0xd7305(0x15e)]=_0x462da8;if(_0x47a861)_0x142b93['apiDir']=_0x47a861;if(_0x2ba09f)_0x142b93[_0xd7305(0x165)]=_0x2ba09f;if(_0x54b048!==undefined&&_0x54b048!=='')_0x142b93['pageSize']=Number(_0x54b048);if(_0xf901b9)_0x142b93[_0xd7305(0x15b)]=_0xf901b9;if(_0x263100)_0x142b93[_0xd7305(0x162)]=_0x263100;return _0x142b93;}async function validateWorkspaceArgs(_0x275c5d){const _0x5f342d=a225_0x282953,_0x260fa6=_0x275c5d[_0x5f342d(0x167)](_0x5f342d(0x17a))[_0x5f342d(0x186)](),_0xe8f7ea=_0x275c5d[_0x5f342d(0x167)](_0x5f342d(0x153))['trim']();if(!_0x260fa6&&!_0xe8f7ea)throw CliErrors['validation'](_0x5f342d(0x15f),'Use\x20`'+CLI_BIN_NAME+_0x5f342d(0x15a)+CLI_BIN_NAME+_0x5f342d(0x180));if(_0xe8f7ea)assertValidAppcode(_0xe8f7ea);}function resolveKnownApps(){const _0x57e0c8=a225_0x282953,{config:_0x3490ed,layers:_0x252dcf}=readRawConfigWithLayers(),_0xf62704=isRecord(_0x3490ed[_0x57e0c8(0x152)])?_0x3490ed[_0x57e0c8(0x152)]:{},_0x405136=isRecord(_0x252dcf[_0x57e0c8(0x160)][_0x57e0c8(0x152)])?_0x252dcf[_0x57e0c8(0x160)][_0x57e0c8(0x152)]:{};return{..._0x405136,..._0xf62704};}async function configureWorkspace(_0x3413cb,_0x5ce85e){const _0x453777=a225_0x282953,_0x562f92=_0x3413cb[_0x453777(0x167)](_0x453777(0x17a))[_0x453777(0x186)](),_0x5994a7=_0x3413cb['str'](_0x453777(0x153))['trim'](),_0x3554fa=_0x562f92||_0x5994a7;if(!_0x3554fa)throw CliErrors['validation'](_0x453777(0x15f),_0x453777(0x189)+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`'+CLI_BIN_NAME+_0x453777(0x180));if(_0x5994a7)assertValidAppcode(_0x5994a7);const _0x88c23c=resolveWriteConfigPath(_0x453777(0x181)),_0x1ecbd4=readConfigFile(_0x88c23c),_0x2de1f3=resolveKnownApps(),_0x520267=isRecord(_0x1ecbd4['apps'])?{..._0x1ecbd4['apps']}:{},_0x255bc0=cloneProfile(_0x520267[_0x3554fa]),_0x3f877b=sanitizeProfile(_0x2de1f3[_0x3554fa]),_0x2a3e93=_0x5994a7?{}:_0x3f877b,_0x2cb30f=_0x5994a7||_0x2a3e93['appcode'];if(!_0x2cb30f){const _0x3a70f4=Object[_0x453777(0x158)](_0x2de1f3),_0xb63761=_0x3a70f4[_0x453777(0x179)]===0x0?_0x453777(0x189)+CLI_BIN_NAME+_0x453777(0x169)+_0x5ce85e+_0x453777(0x166)+_0x3554fa+_0x453777(0x17e):_0x453777(0x16b)+_0x3a70f4[_0x453777(0x168)](',\x20');throw CliErrors['validation'](_0x453777(0x150)+_0x3554fa+_0x453777(0x185),_0xb63761);}assertValidAppcode(String(_0x2cb30f));const _0xf83b37={..._0x2a3e93,..._0x255bc0,'appcode':String(_0x2cb30f),...collectWorkspaceProfileOverrides(_0x3413cb)};return _0x520267[_0x3554fa]=_0xf83b37,_0x1ecbd4[_0x453777(0x152)]=_0x520267,normalizeStoredDefaultApp(_0x1ecbd4,_0x3554fa),delete _0x1ecbd4[_0x453777(0x153)],delete _0x1ecbd4[_0x453777(0x17a)],_0xf83b37[_0x453777(0x15e)]&&(_0x1ecbd4['env']=_0xf83b37['env']),writeConfigFile(_0x88c23c,_0x1ecbd4),{'ok':!![],'message':'Workspace\x20'+(_0x5ce85e===_0x453777(0x171)?_0x453777(0x174):_0x453777(0x157))+':\x20'+_0x3554fa+_0x453777(0x15d)+_0xf83b37[_0x453777(0x153)]+_0x453777(0x16a)+_0x88c23c+_0x453777(0x182),'data':{'operation':_0x453777(0x17b)+_0x5ce85e,'configPath':_0x88c23c,'app':_0x3554fa,'appcode':_0xf83b37[_0x453777(0x153)],'region':_0xf83b37[_0x453777(0x170)]??null,'env':_0xf83b37[_0x453777(0x15e)]??null,'credentialsWritten':![]}};}const workspaceInitDefinition={'service':'workspace','command':a225_0x282953(0x171),'description':'Initialize\x20the\x20current\x20workspace\x20app\x20binding','risk':a225_0x282953(0x184),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x42d4a6=>configureWorkspace(_0x42d4a6,'init')},workspaceUseDefinition={'service':a225_0x282953(0x161),'command':a225_0x282953(0x15c),'description':a225_0x282953(0x175),'risk':'write','requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x3e776a=>configureWorkspace(_0x3e776a,'use')};export const workspaceDefinitions=[workspaceInitDefinition,workspaceUseDefinition,workspaceAddDefinition,workspaceRemoveDefinition];export{WORKSPACE_USAGE};
1
+ const a239_0x48d072=a239_0xd9b2;(function(_0x4d7a40,_0x44a99e){const _0x2cf23d=a239_0xd9b2,_0x21e1a5=_0x4d7a40();while(!![]){try{const _0x346e20=-parseInt(_0x2cf23d(0x1a9))/0x1*(-parseInt(_0x2cf23d(0x1c0))/0x2)+-parseInt(_0x2cf23d(0x1c3))/0x3+-parseInt(_0x2cf23d(0x1d1))/0x4*(parseInt(_0x2cf23d(0x1aa))/0x5)+-parseInt(_0x2cf23d(0x1d6))/0x6+-parseInt(_0x2cf23d(0x1bd))/0x7+-parseInt(_0x2cf23d(0x1d2))/0x8+-parseInt(_0x2cf23d(0x1c1))/0x9*(-parseInt(_0x2cf23d(0x1a1))/0xa);if(_0x346e20===_0x44a99e)break;else _0x21e1a5['push'](_0x21e1a5['shift']());}catch(_0x5beb14){_0x21e1a5['push'](_0x21e1a5['shift']());}}}(a239_0x3486,0x6d792));import{CliErrors}from'../../errors.js';import{CLI_BIN_NAME}from'../../constant/cli.js';import{RABETBASE_ENV_VALUES}from'../../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../../constant/output.js';import{RISK_LEVEL_VALUES}from'../../constant/risk.js';import{validateAppcode}from'../../commands/common/validate.js';import{readConfigFile,readRawConfigWithLayers,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{workspaceAddDefinition}from'../../commands/workspace/add.js';import{workspaceRemoveDefinition}from'../../commands/workspace/remove.js';import{normalizeStoredDefaultApp}from'../../config/schema.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../../constant/region.js';const WORKSPACE_USAGE=CLI_BIN_NAME+'\x20workspace\x20<init|use>\x20--app\x20<name>\x20[--appcode\x20<code>]',SAFE_PROFILE_KEYS=[a239_0x48d072(0x1c6),a239_0x48d072(0x1b2),'env',a239_0x48d072(0x19f),a239_0x48d072(0x1cc),a239_0x48d072(0x1ba),'riskLevel',a239_0x48d072(0x1bb)],workspaceFlags=[{'name':a239_0x48d072(0x1d0),'type':a239_0x48d072(0x1ad),'description':a239_0x48d072(0x1d4)},{'name':a239_0x48d072(0x1c6),'type':a239_0x48d072(0x1ad),'description':'App\x20code\x20to\x20bind\x20to\x20this\x20workspace'},{'name':'region','type':'string','description':a239_0x48d072(0x1cb),'enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':a239_0x48d072(0x1c7),'type':a239_0x48d072(0x1ad),'description':a239_0x48d072(0x1b5),'enum':[...RABETBASE_ENV_VALUES]},{'name':a239_0x48d072(0x19f),'type':a239_0x48d072(0x1ad),'description':a239_0x48d072(0x1c2)},{'name':a239_0x48d072(0x1a0),'type':a239_0x48d072(0x1ad),'description':'Default\x20output\x20format\x20for\x20this\x20workspace\x20app\x20profile','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':a239_0x48d072(0x1ba),'type':a239_0x48d072(0x19d),'description':a239_0x48d072(0x19b)},{'name':a239_0x48d072(0x1c4),'type':a239_0x48d072(0x1ad),'description':a239_0x48d072(0x1a6),'enum':[...RISK_LEVEL_VALUES]},{'name':'locale','type':a239_0x48d072(0x1ad),'description':a239_0x48d072(0x1d5)}];function isRecord(_0x3871fb){const _0x2a68ba=a239_0x48d072;return!!_0x3871fb&&typeof _0x3871fb===_0x2a68ba(0x1cd)&&!Array[_0x2a68ba(0x1ac)](_0x3871fb);}function assertValidAppcode(_0x2c7b42){const _0x438e59=a239_0x48d072,{valid:_0x56e81a,message:_0x1d140e}=validateAppcode(_0x2c7b42);if(!_0x56e81a)throw CliErrors[_0x438e59(0x1c5)](_0x438e59(0x1a5)+_0x2c7b42,_0x1d140e);}function a239_0xd9b2(_0x5127f3,_0x184b83){_0x5127f3=_0x5127f3-0x19b;const _0x348675=a239_0x3486();let _0xd9b239=_0x348675[_0x5127f3];return _0xd9b239;}function sanitizeProfile(_0x3694ee){if(!isRecord(_0x3694ee))return{};const _0x4007a0={};for(const _0x153345 of SAFE_PROFILE_KEYS){if(_0x3694ee[_0x153345]!==undefined)_0x4007a0[_0x153345]=_0x3694ee[_0x153345];}return _0x4007a0;}function cloneProfile(_0x3f7d02){return isRecord(_0x3f7d02)?{..._0x3f7d02}:{};}function collectWorkspaceProfileOverrides(_0x1b5407){const _0x5a4e03=a239_0x48d072,_0x4489de={},_0x2a2398=_0x1b5407[_0x5a4e03(0x1af)](_0x5a4e03(0x1b2)),_0x1d1a2e=_0x1b5407[_0x5a4e03(0x1af)]('env'),_0x468e66=_0x1b5407['str'](_0x5a4e03(0x19f)),_0x67d448=_0x1b5407[_0x5a4e03(0x1af)]('defaultFormat'),_0x3416f8=_0x1b5407[_0x5a4e03(0x1b0)](_0x5a4e03(0x1ba)),_0x4f5a4e=_0x1b5407['str'](_0x5a4e03(0x1c4)),_0x41bcae=_0x1b5407['str'](_0x5a4e03(0x1bb));if(_0x2a2398)_0x4489de[_0x5a4e03(0x1b2)]=_0x2a2398;if(_0x1d1a2e)_0x4489de[_0x5a4e03(0x1c7)]=_0x1d1a2e;if(_0x468e66)_0x4489de['apiDir']=_0x468e66;if(_0x67d448)_0x4489de[_0x5a4e03(0x1cc)]=_0x67d448;if(_0x3416f8!==undefined&&_0x3416f8!=='')_0x4489de[_0x5a4e03(0x1ba)]=Number(_0x3416f8);if(_0x4f5a4e)_0x4489de['riskLevel']=_0x4f5a4e;if(_0x41bcae)_0x4489de[_0x5a4e03(0x1bb)]=_0x41bcae;return _0x4489de;}async function validateWorkspaceArgs(_0x1662b2){const _0xdbaf5=a239_0x48d072,_0x1277d0=_0x1662b2[_0xdbaf5(0x1af)](_0xdbaf5(0x1d0))['trim'](),_0x56f48c=_0x1662b2[_0xdbaf5(0x1af)]('appcode')['trim']();if(!_0x1277d0&&!_0x56f48c)throw CliErrors[_0xdbaf5(0x1c5)](_0xdbaf5(0x1bf),_0xdbaf5(0x1b4)+CLI_BIN_NAME+_0xdbaf5(0x1c8)+CLI_BIN_NAME+_0xdbaf5(0x1b8));if(_0x56f48c)assertValidAppcode(_0x56f48c);}function resolveKnownApps(){const _0x1bf864=a239_0x48d072,{config:_0x1ff130,layers:_0x4a3354}=readRawConfigWithLayers(),_0x3f8576=isRecord(_0x1ff130['apps'])?_0x1ff130[_0x1bf864(0x1be)]:{},_0x391bc0=isRecord(_0x4a3354[_0x1bf864(0x1d7)]['apps'])?_0x4a3354[_0x1bf864(0x1d7)][_0x1bf864(0x1be)]:{};return{..._0x391bc0,..._0x3f8576};}function a239_0x3486(){const _0xe0743a=['number',').\x20Config:\x20','apiDir','defaultFormat','60bYpRFa','write','keys','workspace.','Invalid\x20appcode:\x20','Risk\x20level\x20for\x20this\x20workspace\x20app\x20profile','App\x20\x22','workspace','491VbdPQP','5ytrZLc','Pass\x20--appcode\x20<code>,\x20or\x20choose\x20one\x20of:\x20','isArray','string','\x20workspace\x20','str','flag','init','region','use','Use\x20`','Target\x20environment','.\x20Credentials:\x20not\x20written.','join','\x20workspace\x20use\x20--app\x20<name>`.','updated','pageSize','locale','trim','3348744tiWSac','apps','Missing\x20workspace\x20app\x20selector.','122PlAHOl','3409965AVStRP','API\x20directory\x20path\x20for\x20this\x20workspace\x20app\x20profile','1674021lIuqSu','riskLevel','validation','appcode','env','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`','Initialize\x20the\x20current\x20workspace\x20app\x20binding','\x20--appcode\x20<code>`.','Country/region\x20for\x20this\x20workspace\x20app\x20profile','format','object','length','\x22\x20not\x20found.','app','2095708IZPcCM','225584RWWEcW','project','App\x20profile\x20name\x20to\x20use\x20in\x20this\x20workspace','App\x20locale\x20for\x20this\x20workspace\x20app\x20profile\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','1598010ezuUWg','globalConfig','Default\x20page\x20size\x20for\x20this\x20workspace\x20app\x20profile','Workspace\x20'];a239_0x3486=function(){return _0xe0743a;};return a239_0x3486();}async function configureWorkspace(_0x3d4c16,_0x22d93e){const _0x4b1b83=a239_0x48d072,_0x1168e5=_0x3d4c16['str']('app')[_0x4b1b83(0x1bc)](),_0x22ac8a=_0x3d4c16[_0x4b1b83(0x1af)](_0x4b1b83(0x1c6))[_0x4b1b83(0x1bc)](),_0x34f5ec=_0x1168e5||_0x22ac8a;if(!_0x34f5ec)throw CliErrors['validation'](_0x4b1b83(0x1bf),_0x4b1b83(0x1b4)+CLI_BIN_NAME+_0x4b1b83(0x1c8)+CLI_BIN_NAME+_0x4b1b83(0x1b8));if(_0x22ac8a)assertValidAppcode(_0x22ac8a);const _0x126527=resolveWriteConfigPath(_0x4b1b83(0x1d3)),_0x1a7d3b=readConfigFile(_0x126527),_0x44ce3a=resolveKnownApps(),_0x361b1b=isRecord(_0x1a7d3b['apps'])?{..._0x1a7d3b['apps']}:{},_0x44c2e4=cloneProfile(_0x361b1b[_0x34f5ec]),_0x56d3ac=sanitizeProfile(_0x44ce3a[_0x34f5ec]),_0x51f60f=_0x22ac8a?{}:_0x56d3ac,_0x1d63b1=_0x22ac8a||_0x51f60f[_0x4b1b83(0x1c6)];if(!_0x1d63b1){const _0x15d933=Object[_0x4b1b83(0x1a3)](_0x44ce3a),_0x416787=_0x15d933[_0x4b1b83(0x1ce)]===0x0?_0x4b1b83(0x1b4)+CLI_BIN_NAME+_0x4b1b83(0x1ae)+_0x22d93e+'\x20--app\x20'+_0x34f5ec+_0x4b1b83(0x1ca):_0x4b1b83(0x1ab)+_0x15d933[_0x4b1b83(0x1b7)](',\x20');throw CliErrors[_0x4b1b83(0x1c5)](_0x4b1b83(0x1a7)+_0x34f5ec+_0x4b1b83(0x1cf),_0x416787);}assertValidAppcode(String(_0x1d63b1));const _0x28e21c={..._0x51f60f,..._0x44c2e4,'appcode':String(_0x1d63b1),...collectWorkspaceProfileOverrides(_0x3d4c16)};return _0x361b1b[_0x34f5ec]=_0x28e21c,_0x1a7d3b[_0x4b1b83(0x1be)]=_0x361b1b,normalizeStoredDefaultApp(_0x1a7d3b,_0x34f5ec),delete _0x1a7d3b[_0x4b1b83(0x1c6)],delete _0x1a7d3b[_0x4b1b83(0x1d0)],_0x28e21c[_0x4b1b83(0x1c7)]&&(_0x1a7d3b[_0x4b1b83(0x1c7)]=_0x28e21c[_0x4b1b83(0x1c7)]),writeConfigFile(_0x126527,_0x1a7d3b),{'ok':!![],'message':_0x4b1b83(0x19c)+(_0x22d93e===_0x4b1b83(0x1b1)?'initialized':_0x4b1b83(0x1b9))+':\x20'+_0x34f5ec+'\x20(appcode:\x20'+_0x28e21c[_0x4b1b83(0x1c6)]+_0x4b1b83(0x19e)+_0x126527+_0x4b1b83(0x1b6),'data':{'operation':_0x4b1b83(0x1a4)+_0x22d93e,'configPath':_0x126527,'app':_0x34f5ec,'appcode':_0x28e21c[_0x4b1b83(0x1c6)],'region':_0x28e21c['region']??null,'env':_0x28e21c[_0x4b1b83(0x1c7)]??null,'credentialsWritten':![]}};}const workspaceInitDefinition={'service':a239_0x48d072(0x1a8),'command':a239_0x48d072(0x1b1),'description':a239_0x48d072(0x1c9),'risk':a239_0x48d072(0x1a2),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x3b079e=>configureWorkspace(_0x3b079e,a239_0x48d072(0x1b1))},workspaceUseDefinition={'service':a239_0x48d072(0x1a8),'command':a239_0x48d072(0x1b3),'description':'Switch\x20the\x20current\x20workspace\x20app\x20binding','risk':a239_0x48d072(0x1a2),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x82dbb=>configureWorkspace(_0x82dbb,a239_0x48d072(0x1b3))};export const workspaceDefinitions=[workspaceInitDefinition,workspaceUseDefinition,workspaceAddDefinition,workspaceRemoveDefinition];export{WORKSPACE_USAGE};
@@ -1 +1 @@
1
- function a226_0x164d(_0x4f59aa,_0x229396){_0x4f59aa=_0x4f59aa-0x93;const _0x5a3215=a226_0x5a32();let _0x164d25=_0x5a3215[_0x4f59aa];return _0x164d25;}const a226_0x2df0a1=a226_0x164d;function a226_0x5a32(){const _0x261393=['5604foLLbj','177380QsqAGP','160556UMXvVe','9XwQGms','36051RdTBhc','18RhnSrH','name','Remove\x20an\x20app\x20profile\x20from\x20the\x20current\x20workspace\x20(or\x20--global)','workspace\x20remove','20317EQwKpv','1398072oeGNJd','66pwWXPx','150888MbuDYn','35gYUDEh','764940fPQxiB'];a226_0x5a32=function(){return _0x261393;};return a226_0x5a32();}(function(_0x243e45,_0x350ae5){const _0x4d4f5d=a226_0x164d,_0x333d5c=_0x243e45();while(!![]){try{const _0x5c613c=-parseInt(_0x4d4f5d(0x97))/0x1+-parseInt(_0x4d4f5d(0x9f))/0x2*(-parseInt(_0x4d4f5d(0x96))/0x3)+parseInt(_0x4d4f5d(0x95))/0x4*(parseInt(_0x4d4f5d(0xa0))/0x5)+-parseInt(_0x4d4f5d(0x9e))/0x6*(-parseInt(_0x4d4f5d(0x94))/0x7)+parseInt(_0x4d4f5d(0x9d))/0x8+-parseInt(_0x4d4f5d(0x98))/0x9*(-parseInt(_0x4d4f5d(0xa1))/0xa)+-parseInt(_0x4d4f5d(0x9c))/0xb*(parseInt(_0x4d4f5d(0x93))/0xc);if(_0x5c613c===_0x350ae5)break;else _0x333d5c['push'](_0x333d5c['shift']());}catch(_0xe3d1fc){_0x333d5c['push'](_0x333d5c['shift']());}}}(a226_0x5a32,0x34898));import{buildAppRemoveFlags,runAppRemove,validateAppName}from'../../commands/common/app-registry.js';export const workspaceRemoveDefinition={'service':'workspace','command':'remove','description':a226_0x2df0a1(0x9a),'risk':'write','requiresAuth':![],'requiresAppCode':![],'args':[{'name':a226_0x2df0a1(0x99),'description':'App\x20profile\x20name\x20to\x20remove','required':!![]}],'flags':buildAppRemoveFlags(),'validate':_0x302c74=>validateAppName(_0x302c74,'workspace\x20remove'),'execute':_0x58c56e=>runAppRemove(_0x58c56e,a226_0x2df0a1(0x9b))};
1
+ function a240_0x33f9(){const _0x21b39c=['6PPupvp','1786972ExXseO','56ysSlrS','2255108vAnKji','App\x20profile\x20name\x20to\x20remove','20678070zxiGeC','1143751inLRJW','186148xonrRJ','935739tGSSgx','workspace','3DqsRiy','5947180UyTxaf','name','write','Remove\x20an\x20app\x20profile\x20from\x20the\x20current\x20workspace\x20(or\x20--global)'];a240_0x33f9=function(){return _0x21b39c;};return a240_0x33f9();}function a240_0x10c4(_0x48b590,_0x113a64){_0x48b590=_0x48b590-0xed;const _0x33f9cf=a240_0x33f9();let _0x10c489=_0x33f9cf[_0x48b590];return _0x10c489;}const a240_0x12a981=a240_0x10c4;(function(_0x32efa8,_0x5d0ae7){const _0x46b21b=a240_0x10c4,_0x37f6f6=_0x32efa8();while(!![]){try{const _0x36d0f7=-parseInt(_0x46b21b(0xfa))/0x1+-parseInt(_0x46b21b(0xf4))/0x2+-parseInt(_0x46b21b(0xee))/0x3*(parseInt(_0x46b21b(0xf6))/0x4)+parseInt(_0x46b21b(0xef))/0x5+parseInt(_0x46b21b(0xf3))/0x6*(-parseInt(_0x46b21b(0xf9))/0x7)+-parseInt(_0x46b21b(0xf5))/0x8*(parseInt(_0x46b21b(0xfb))/0x9)+parseInt(_0x46b21b(0xf8))/0xa;if(_0x36d0f7===_0x5d0ae7)break;else _0x37f6f6['push'](_0x37f6f6['shift']());}catch(_0x20e703){_0x37f6f6['push'](_0x37f6f6['shift']());}}}(a240_0x33f9,0xb06d2));import{buildAppRemoveFlags,runAppRemove,validateAppName}from'../../commands/common/app-registry.js';export const workspaceRemoveDefinition={'service':a240_0x12a981(0xed),'command':'remove','description':a240_0x12a981(0xf2),'risk':a240_0x12a981(0xf1),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a240_0x12a981(0xf0),'description':a240_0x12a981(0xf7),'required':!![]}],'flags':buildAppRemoveFlags(),'validate':_0x53599a=>validateAppName(_0x53599a,'workspace\x20remove'),'execute':_0x7023e4=>runAppRemove(_0x7023e4,'workspace\x20remove')};
@@ -1 +1 @@
1
- const a227_0x23a198=a227_0x43f2;function a227_0x4bfc(){const _0x380e61=['platformDomain','121995nWIQbw','Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.','Unsupported\x20enterprise\x20CDN\x20field(s):\x20','userDomain','apiDomain','origin','732606tTeRbn','certificate-domain','certificateDomain','kb-domain','enterprise-v1','localDomain','string','lovrabet','pathname','skill-domain',':\x20expected\x20a\x20non-empty\x20HTTPS\x20URL.','cdn','filter','length','href','user-domain','legacy','skillDomain','kind','Invalid\x20cdn.','\x22\x20and\x20kind\x20\x22','https:','local-domain','1859050vLUcgj','utf8','25557whuBGu','1566474MQguGO','object','Invalid\x20','join','runtimeDomain','agentDomain','Allowed\x20fields:\x20','\x20and\x20has\x20no\x20default.',':\x20\x22','hash','\x22\x20is\x20not\x20a\x20valid\x20URL.','api-domain','Unsupported\x20domain\x20config\x20field(s):\x20',':\x20expected\x20an\x20HTTPS\x20','35lbYiHz','str','domains','kbDomain','includes','default',':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.','\x20without\x20credentials,\x20query,\x20or\x20fragment.','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20CDN\x20field(s):\x20','search','skillHubDomain','app-domain','100MDvmuC','\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20','isArray','Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.','Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.','trim','cwd','appDomain','parse','protocol','Domain\x20config\x20file\x20not\x20found:\x20','Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.','Invalid\x20enterprise\x20routing\x20manifest:\x20cdn\x20must\x20be\x20an\x20object.','For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','1982936TKixAY','username','validation','replace','25921026aDEWeU'];a227_0x4bfc=function(){return _0x380e61;};return a227_0x4bfc();}(function(_0x5d53d5,_0x2c5fa5){const _0x539e39=a227_0x43f2,_0x2360bd=_0x5d53d5();while(!![]){try{const _0x108e54=parseInt(_0x539e39(0xb9))/0x1+-parseInt(_0x539e39(0xb7))/0x2+-parseInt(_0x539e39(0xba))/0x3+parseInt(_0x539e39(0xd4))/0x4*(-parseInt(_0x539e39(0xe8))/0x5)+parseInt(_0x539e39(0xee))/0x6*(-parseInt(_0x539e39(0xc8))/0x7)+parseInt(_0x539e39(0xe2))/0x8+parseInt(_0x539e39(0xe6))/0x9;if(_0x108e54===_0x2c5fa5)break;else _0x2360bd['push'](_0x2360bd['shift']());}catch(_0xfd5d27){_0x2360bd['push'](_0x2360bd['shift']());}}}(a227_0x4bfc,0x7585f));import{existsSync,readFileSync}from'node:fs';import{isAbsolute,resolve}from'node:path';import{CliErrors}from'../errors.js';import{ENTERPRISE_ROUTING_CDN_FIELDS,ENTERPRISE_ROUTING_DOMAIN_FIELDS,ENTERPRISE_ROUTING_KIND,ENTERPRISE_ROUTING_PROTOCOL,REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS,REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS}from'../generated/routing-contract.js';export const DOMAIN_CONFIG_FIELDS=[a227_0x23a198(0xeb),'apiDomain',a227_0x23a198(0xbe),'skillDomain',a227_0x23a198(0xcb),a227_0x23a198(0xdb),a227_0x23a198(0xf3),a227_0x23a198(0xf0)];const DOMAIN_FLAGS={'userDomain':a227_0x23a198(0xaf),'apiDomain':a227_0x23a198(0xc5),'runtimeDomain':'runtime-domain','skillDomain':a227_0x23a198(0xf7),'kbDomain':a227_0x23a198(0xf1),'appDomain':a227_0x23a198(0xd3),'localDomain':a227_0x23a198(0xb6),'certificateDomain':a227_0x23a198(0xef)};export const LEGACY_DOMAIN_CONFIG_FIELDS=[a227_0x23a198(0xbf),a227_0x23a198(0xe7),a227_0x23a198(0xd2)];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':'userDomain','apiDomain':a227_0x23a198(0xec),'runtimeDomain':'runtimeDomain','skillDomain':a227_0x23a198(0xb1),'kbDomain':'kbDomain','appDomain':a227_0x23a198(0xdb),'localDomain':'localDomain','certificateDomain':a227_0x23a198(0xf0)},ROUTING_CONSUMER='rabetbase-cli';export function normalizeDomainOrigin(_0x1738e9,_0x1b596f){const _0x32b60d=a227_0x23a198;if(typeof _0x1b596f!==_0x32b60d(0xf4)||!_0x1b596f['trim']())throw CliErrors[_0x32b60d(0xe4)](_0x32b60d(0xbc)+_0x1738e9+':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.');let _0x507cce;try{_0x507cce=new URL(_0x1b596f[_0x32b60d(0xd9)]());}catch{throw CliErrors[_0x32b60d(0xe4)](_0x32b60d(0xbc)+_0x1738e9+_0x32b60d(0xc2)+_0x1b596f+'\x22\x20is\x20not\x20a\x20valid\x20URL.');}if(_0x507cce['protocol']!=='https:'||_0x507cce[_0x32b60d(0xe3)]||_0x507cce['password']||_0x507cce[_0x32b60d(0xf6)]!=='/'&&_0x507cce[_0x32b60d(0xf6)]!==''||_0x507cce[_0x32b60d(0xd1)]||_0x507cce[_0x32b60d(0xc3)])throw CliErrors[_0x32b60d(0xe4)](_0x32b60d(0xbc)+_0x1738e9+_0x32b60d(0xce),_0x32b60d(0xe1));return _0x507cce[_0x32b60d(0xed)];}export function normalizeRoutingDomainValue(_0x438dda,_0x364cf5){const _0x4256fa=a227_0x23a198;if(typeof _0x364cf5===_0x4256fa(0xf4))return normalizeDomainOrigin(_0x438dda,_0x364cf5);if(!_0x364cf5||typeof _0x364cf5!==_0x4256fa(0xbb)||Array[_0x4256fa(0xd6)](_0x364cf5))throw CliErrors['validation']('Invalid\x20'+_0x438dda+':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.');const _0x57dd16=_0x364cf5,_0x26142b=_0x57dd16[ROUTING_CONSUMER]??_0x57dd16[_0x4256fa(0xcd)];if(_0x26142b===undefined)throw CliErrors[_0x4256fa(0xe4)]('Enterprise\x20'+_0x438dda+_0x4256fa(0xd5)+ROUTING_CONSUMER+_0x4256fa(0xc1));return normalizeDomainOrigin(_0x438dda,_0x26142b);}export function normalizeCdnBaseUrl(_0x213f3e,_0xdb04e6){const _0x53936b=a227_0x23a198;if(typeof _0xdb04e6!=='string'||!_0xdb04e6[_0x53936b(0xd9)]())throw CliErrors[_0x53936b(0xe4)](_0x53936b(0xb3)+_0x213f3e+_0x53936b(0xf8));const _0x3a61be=_0xdb04e6[_0x53936b(0xd9)]()['replace'](/\/$/,'');let _0x513898;try{_0x513898=new URL(_0x3a61be);}catch{throw CliErrors[_0x53936b(0xe4)](_0x53936b(0xb3)+_0x213f3e+':\x20\x22'+_0xdb04e6+_0x53936b(0xc4));}if(_0x513898[_0x53936b(0xdd)]!==_0x53936b(0xb5)||_0x513898[_0x53936b(0xe3)]||_0x513898['password']||_0x513898['search']||_0x513898[_0x53936b(0xc3)]||_0x513898[_0x53936b(0xfc)][_0x53936b(0xe5)](/\/$/,'')!==_0x3a61be||_0x213f3e===_0x53936b(0xf5)&&_0x513898[_0x53936b(0xed)]!==_0x3a61be)throw CliErrors[_0x53936b(0xe4)]('Invalid\x20cdn.'+_0x213f3e+_0x53936b(0xc7)+(_0x213f3e===_0x53936b(0xf5)?'origin':'base\x20URL')+_0x53936b(0xcf));return _0x3a61be;}export function resolveEnterpriseRoutingConfig(_0x202ba9){const _0xdc0af4=a227_0x23a198;return resolveEnterpriseRoutingManifest(_0x202ba9)?.[_0xdc0af4(0xca)];}export function resolveEnterpriseRoutingManifest(_0x5dce97){const _0x257758=a227_0x23a198;if(_0x5dce97===undefined)return undefined;if(!_0x5dce97||typeof _0x5dce97!==_0x257758(0xbb)||Array[_0x257758(0xd6)](_0x5dce97))throw CliErrors[_0x257758(0xe4)]('Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.');return parseEnterpriseRoutingManifest(_0x5dce97);}function a227_0x43f2(_0x166356,_0x12823a){_0x166356=_0x166356-0xaf;const _0x4bfc68=a227_0x4bfc();let _0x43f2cd=_0x4bfc68[_0x166356];return _0x43f2cd;}export function readDomainConfigInput(_0x5aa124){const _0x4dbf48=a227_0x23a198,_0x23ec38=isAbsolute(_0x5aa124)?_0x5aa124:resolve(process[_0x4dbf48(0xda)](),_0x5aa124);if(!existsSync(_0x23ec38))throw CliErrors[_0x4dbf48(0xe4)](_0x4dbf48(0xde)+_0x23ec38);let _0x4eb89c;try{_0x4eb89c=JSON[_0x4dbf48(0xdc)](readFileSync(_0x23ec38,_0x4dbf48(0xb8)));}catch{throw CliErrors[_0x4dbf48(0xe4)]('Invalid\x20domain\x20config\x20JSON:\x20'+_0x23ec38);}if(!_0x4eb89c||typeof _0x4eb89c!==_0x4dbf48(0xbb)||Array['isArray'](_0x4eb89c))throw CliErrors[_0x4dbf48(0xe4)](_0x4dbf48(0xe9));const _0x496192=_0x4eb89c;if(_0x4dbf48(0xdd)in _0x496192)return parseEnterpriseRoutingManifest(_0x496192);const _0x1faa7a=Object['keys'](_0x496192)[_0x4dbf48(0xfa)](_0x20d9aa=>!DOMAIN_CONFIG_FIELDS[_0x4dbf48(0xcc)](_0x20d9aa));if(_0x1faa7a[_0x4dbf48(0xfb)]>0x0)throw CliErrors['validation'](_0x4dbf48(0xc6)+_0x1faa7a[_0x4dbf48(0xbd)](',\x20'),_0x4dbf48(0xc0)+DOMAIN_CONFIG_FIELDS[_0x4dbf48(0xbd)](',\x20'));const _0x16b64d={};for(const _0x1ca3b1 of DOMAIN_CONFIG_FIELDS){_0x496192[_0x1ca3b1]!==undefined&&(_0x16b64d[_0x1ca3b1]=normalizeDomainOrigin(_0x1ca3b1,_0x496192[_0x1ca3b1]));}if(Object['keys'](_0x16b64d)['length']===0x0)throw CliErrors['validation']('Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.');return{'mode':_0x4dbf48(0xb0),'domains':_0x16b64d};}export function readDomainConfig(_0x17c735){const _0x37aeb3=a227_0x23a198;return readDomainConfigInput(_0x17c735)[_0x37aeb3(0xca)];}export function resolveDomainConfigInput(_0x36e685){const _0x5b2a9d=a227_0x23a198,_0x3b56d1=(_0x36e685[_0x5b2a9d(0xc9)]('domain-config')||'')['trim'](),_0x2ad8fd=_0x3b56d1?readDomainConfigInput(_0x3b56d1):{'mode':_0x5b2a9d(0xb0),'domains':{}},_0x2dcb9b=DOMAIN_CONFIG_FIELDS[_0x5b2a9d(0xfa)](_0x4721c8=>Boolean((_0x36e685[_0x5b2a9d(0xc9)](DOMAIN_FLAGS[_0x4721c8])||'')[_0x5b2a9d(0xd9)]()));if(_0x2ad8fd['mode']==='enterprise-v1'&&_0x2dcb9b['length']>0x0)throw CliErrors[_0x5b2a9d(0xe4)](_0x5b2a9d(0xd8),_0x5b2a9d(0xdf));for(const _0x151efc of DOMAIN_CONFIG_FIELDS){const _0xab4b92=(_0x36e685[_0x5b2a9d(0xc9)](DOMAIN_FLAGS[_0x151efc])||'')[_0x5b2a9d(0xd9)]();if(_0xab4b92)_0x2ad8fd[_0x5b2a9d(0xca)][_0x151efc]=normalizeDomainOrigin(_0x151efc,_0xab4b92);}return _0x2ad8fd;}export function resolveDomainFlags(_0xe67466){return resolveDomainConfigInput(_0xe67466)['domains'];}export function parseEnterpriseRoutingManifest(_0x8fbe15){const _0x48475f=a227_0x23a198;if(_0x8fbe15[_0x48475f(0xdd)]!==ENTERPRISE_ROUTING_PROTOCOL||_0x8fbe15[_0x48475f(0xb2)]!==ENTERPRISE_ROUTING_KIND)throw CliErrors['validation']('Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22'+ENTERPRISE_ROUTING_PROTOCOL+_0x48475f(0xb4)+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0x8fbe15['domains']||typeof _0x8fbe15[_0x48475f(0xca)]!==_0x48475f(0xbb)||Array[_0x48475f(0xd6)](_0x8fbe15[_0x48475f(0xca)]))throw CliErrors[_0x48475f(0xe4)](_0x48475f(0xd7));if(!_0x8fbe15[_0x48475f(0xf9)]||typeof _0x8fbe15[_0x48475f(0xf9)]!==_0x48475f(0xbb)||Array['isArray'](_0x8fbe15[_0x48475f(0xf9)]))throw CliErrors[_0x48475f(0xe4)](_0x48475f(0xe0));const _0x454159=_0x8fbe15['domains'],_0x412797=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS[_0x48475f(0xfa)](_0x59805a=>_0x454159[_0x59805a]===undefined);if(_0x412797[_0x48475f(0xfb)]>0x0)throw CliErrors['validation']('Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20'+_0x412797['join'](',\x20'));if(_0x454159['localDomain']===undefined!==(_0x454159['certificateDomain']===undefined))throw CliErrors[_0x48475f(0xe4)]('Enterprise\x20routing\x20manifest\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.');const _0x351a6d=_0x8fbe15[_0x48475f(0xf9)],_0x1e66b4=Object['keys'](_0x351a6d)[_0x48475f(0xfa)](_0x4df9c3=>!ENTERPRISE_ROUTING_CDN_FIELDS['includes'](_0x4df9c3));if(_0x1e66b4[_0x48475f(0xfb)]>0x0)throw CliErrors[_0x48475f(0xe4)](_0x48475f(0xea)+_0x1e66b4[_0x48475f(0xbd)](',\x20'),_0x48475f(0xc0)+ENTERPRISE_ROUTING_CDN_FIELDS[_0x48475f(0xbd)](',\x20'));const _0x38c997=REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS[_0x48475f(0xfa)](_0x4b1164=>_0x351a6d[_0x4b1164]===undefined);if(_0x38c997[_0x48475f(0xfb)]>0x0)throw CliErrors[_0x48475f(0xe4)](_0x48475f(0xd0)+_0x38c997['join'](',\x20'));const _0x56b5de={};for(const _0x4222d2 of ENTERPRISE_ROUTING_CDN_FIELDS){_0x56b5de[_0x4222d2]=normalizeCdnBaseUrl(_0x4222d2,_0x351a6d[_0x4222d2]);}const _0x2d82fe={},_0x374a14={};for(const _0x57488f of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x4d36d2=_0x454159[_0x57488f];if(_0x4d36d2===undefined)continue;const _0x2d08ee=normalizeRoutingDomainValue(_0x57488f,_0x4d36d2);_0x2d82fe[_0x57488f]=_0x2d08ee;const _0x4386c6=ENTERPRISE_TO_LOCAL_FIELD[_0x57488f];_0x4386c6&&(_0x374a14[_0x4386c6]=_0x2d08ee);}return{'mode':_0x48475f(0xf2),'domains':_0x374a14,'manifestDomains':_0x2d82fe,'cdn':_0x56b5de};}
1
+ const a241_0x4a6b10=a241_0x1542;(function(_0x427bbb,_0x1b8a44){const _0x33de4a=a241_0x1542,_0x51695c=_0x427bbb();while(!![]){try{const _0x1ef51e=parseInt(_0x33de4a(0xdf))/0x1+parseInt(_0x33de4a(0xc0))/0x2+parseInt(_0x33de4a(0xef))/0x3+-parseInt(_0x33de4a(0xd1))/0x4*(-parseInt(_0x33de4a(0xe3))/0x5)+-parseInt(_0x33de4a(0xcd))/0x6*(-parseInt(_0x33de4a(0xe6))/0x7)+parseInt(_0x33de4a(0xe7))/0x8+parseInt(_0x33de4a(0xdb))/0x9*(-parseInt(_0x33de4a(0xd7))/0xa);if(_0x1ef51e===_0x1b8a44)break;else _0x51695c['push'](_0x51695c['shift']());}catch(_0x3df823){_0x51695c['push'](_0x51695c['shift']());}}}(a241_0x7a1d,0x218e9));import{existsSync,readFileSync}from'node:fs';import{isAbsolute,resolve}from'node:path';import{CliErrors}from'../errors.js';import{ENTERPRISE_ROUTING_CDN_FIELDS,ENTERPRISE_ROUTING_DOMAIN_FIELDS,ENTERPRISE_ROUTING_KIND,ENTERPRISE_ROUTING_PROTOCOL,REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS,REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS}from'../generated/routing-contract.js';export const DOMAIN_CONFIG_FIELDS=['userDomain',a241_0x4a6b10(0xc3),a241_0x4a6b10(0xc4),a241_0x4a6b10(0xf0),a241_0x4a6b10(0xc7),a241_0x4a6b10(0xa4),a241_0x4a6b10(0xb9),a241_0x4a6b10(0xc6)];const DOMAIN_FLAGS={'userDomain':a241_0x4a6b10(0xa5),'apiDomain':'api-domain','runtimeDomain':a241_0x4a6b10(0xd5),'skillDomain':a241_0x4a6b10(0xe0),'kbDomain':a241_0x4a6b10(0xe5),'appDomain':'app-domain','localDomain':a241_0x4a6b10(0xed),'certificateDomain':a241_0x4a6b10(0xc5)};export const LEGACY_DOMAIN_CONFIG_FIELDS=[a241_0x4a6b10(0xec),a241_0x4a6b10(0xeb),a241_0x4a6b10(0xb8)];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':a241_0x4a6b10(0xae),'apiDomain':a241_0x4a6b10(0xc3),'runtimeDomain':a241_0x4a6b10(0xc4),'skillDomain':a241_0x4a6b10(0xf0),'kbDomain':'kbDomain','appDomain':a241_0x4a6b10(0xa4),'localDomain':a241_0x4a6b10(0xb9),'certificateDomain':'certificateDomain'},ROUTING_CONSUMER=a241_0x4a6b10(0xc8);export function normalizeDomainOrigin(_0x1c98f3,_0xf9456d){const _0x3fd6f8=a241_0x4a6b10;if(typeof _0xf9456d!=='string'||!_0xf9456d[_0x3fd6f8(0xde)]())throw CliErrors[_0x3fd6f8(0xa7)](_0x3fd6f8(0xd9)+_0x1c98f3+_0x3fd6f8(0xd2));let _0x15fbaa;try{_0x15fbaa=new URL(_0xf9456d[_0x3fd6f8(0xde)]());}catch{throw CliErrors[_0x3fd6f8(0xa7)](_0x3fd6f8(0xd9)+_0x1c98f3+_0x3fd6f8(0xd6)+_0xf9456d+_0x3fd6f8(0xd4));}if(_0x15fbaa['protocol']!==_0x3fd6f8(0xea)||_0x15fbaa[_0x3fd6f8(0xda)]||_0x15fbaa[_0x3fd6f8(0xdd)]||_0x15fbaa['pathname']!=='/'&&_0x15fbaa[_0x3fd6f8(0xcb)]!==''||_0x15fbaa[_0x3fd6f8(0xab)]||_0x15fbaa[_0x3fd6f8(0xa3)])throw CliErrors[_0x3fd6f8(0xa7)]('Invalid\x20'+_0x1c98f3+_0x3fd6f8(0xa9),_0x3fd6f8(0xe4));return _0x15fbaa[_0x3fd6f8(0xad)];}export function normalizeRoutingDomainValue(_0x2fdcc3,_0x5d5771){const _0x4407cf=a241_0x4a6b10;if(typeof _0x5d5771===_0x4407cf(0xbc))return normalizeDomainOrigin(_0x2fdcc3,_0x5d5771);if(!_0x5d5771||typeof _0x5d5771!==_0x4407cf(0xf1)||Array[_0x4407cf(0xc1)](_0x5d5771))throw CliErrors[_0x4407cf(0xa7)](_0x4407cf(0xd9)+_0x2fdcc3+':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.');const _0x45e0d9=_0x5d5771,_0x460f7c=_0x45e0d9[ROUTING_CONSUMER]??_0x45e0d9[_0x4407cf(0xee)];if(_0x460f7c===undefined)throw CliErrors[_0x4407cf(0xa7)]('Enterprise\x20'+_0x2fdcc3+'\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20'+ROUTING_CONSUMER+_0x4407cf(0xce));return normalizeDomainOrigin(_0x2fdcc3,_0x460f7c);}export function normalizeCdnBaseUrl(_0x26a7f6,_0x338e25){const _0x238da8=a241_0x4a6b10;if(typeof _0x338e25!==_0x238da8(0xbc)||!_0x338e25['trim']())throw CliErrors[_0x238da8(0xa7)](_0x238da8(0xe1)+_0x26a7f6+_0x238da8(0xbf));const _0x4474f0=_0x338e25[_0x238da8(0xde)]()[_0x238da8(0xbb)](/\/$/,'');let _0x8ab7b3;try{_0x8ab7b3=new URL(_0x4474f0);}catch{throw CliErrors[_0x238da8(0xa7)]('Invalid\x20cdn.'+_0x26a7f6+':\x20\x22'+_0x338e25+'\x22\x20is\x20not\x20a\x20valid\x20URL.');}if(_0x8ab7b3[_0x238da8(0xc2)]!==_0x238da8(0xea)||_0x8ab7b3['username']||_0x8ab7b3[_0x238da8(0xdd)]||_0x8ab7b3[_0x238da8(0xab)]||_0x8ab7b3[_0x238da8(0xa3)]||_0x8ab7b3['href'][_0x238da8(0xbb)](/\/$/,'')!==_0x4474f0||_0x26a7f6==='lovrabet'&&_0x8ab7b3['origin']!==_0x4474f0)throw CliErrors[_0x238da8(0xa7)]('Invalid\x20cdn.'+_0x26a7f6+':\x20expected\x20an\x20HTTPS\x20'+(_0x26a7f6==='lovrabet'?_0x238da8(0xad):_0x238da8(0xd3))+_0x238da8(0xa2));return _0x4474f0;}export function resolveEnterpriseRoutingConfig(_0x2e9b55){const _0x29ab36=a241_0x4a6b10;return resolveEnterpriseRoutingManifest(_0x2e9b55)?.[_0x29ab36(0xe9)];}export function resolveEnterpriseRoutingManifest(_0x3e20aa){const _0x27e5c5=a241_0x4a6b10;if(_0x3e20aa===undefined)return undefined;if(!_0x3e20aa||typeof _0x3e20aa!==_0x27e5c5(0xf1)||Array['isArray'](_0x3e20aa))throw CliErrors['validation'](_0x27e5c5(0xaa));return parseEnterpriseRoutingManifest(_0x3e20aa);}export function readDomainConfigInput(_0x331e1a){const _0x580bfa=a241_0x4a6b10,_0x37cf2e=isAbsolute(_0x331e1a)?_0x331e1a:resolve(process[_0x580bfa(0xba)](),_0x331e1a);if(!existsSync(_0x37cf2e))throw CliErrors[_0x580bfa(0xa7)](_0x580bfa(0xbe)+_0x37cf2e);let _0x48f6f0;try{_0x48f6f0=JSON[_0x580bfa(0xcf)](readFileSync(_0x37cf2e,'utf8'));}catch{throw CliErrors[_0x580bfa(0xa7)](_0x580bfa(0xe2)+_0x37cf2e);}if(!_0x48f6f0||typeof _0x48f6f0!==_0x580bfa(0xf1)||Array[_0x580bfa(0xc1)](_0x48f6f0))throw CliErrors[_0x580bfa(0xa7)](_0x580bfa(0xa6));const _0x1d74c9=_0x48f6f0;if(_0x580bfa(0xc2)in _0x1d74c9)return parseEnterpriseRoutingManifest(_0x1d74c9);const _0x4e17d7=Object[_0x580bfa(0xb4)](_0x1d74c9)['filter'](_0x4f719b=>!DOMAIN_CONFIG_FIELDS[_0x580bfa(0xb7)](_0x4f719b));if(_0x4e17d7[_0x580bfa(0xac)]>0x0)throw CliErrors[_0x580bfa(0xa7)](_0x580bfa(0xa8)+_0x4e17d7['join'](',\x20'),_0x580bfa(0xe8)+DOMAIN_CONFIG_FIELDS[_0x580bfa(0xd0)](',\x20'));const _0x126a01={};for(const _0x2c3c84 of DOMAIN_CONFIG_FIELDS){_0x1d74c9[_0x2c3c84]!==undefined&&(_0x126a01[_0x2c3c84]=normalizeDomainOrigin(_0x2c3c84,_0x1d74c9[_0x2c3c84]));}if(Object['keys'](_0x126a01)[_0x580bfa(0xac)]===0x0)throw CliErrors['validation'](_0x580bfa(0xb0));return{'mode':_0x580bfa(0xd8),'domains':_0x126a01};}export function readDomainConfig(_0x41935b){const _0x4ad315=a241_0x4a6b10;return readDomainConfigInput(_0x41935b)[_0x4ad315(0xe9)];}function a241_0x7a1d(){const _0x183a9d=['1531520fQAPFG','Allowed\x20fields:\x20','domains','https:','platformDomain','agentDomain','local-domain','default','379782FEDLtY','skillDomain','object','\x20without\x20credentials,\x20query,\x20or\x20fragment.','hash','appDomain','user-domain','Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.','validation','Unsupported\x20domain\x20config\x20field(s):\x20',':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.','Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.','search','length','origin','userDomain','Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.','Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.','Invalid\x20enterprise\x20routing\x20manifest:\x20cdn\x20must\x20be\x20an\x20object.','cdn','enterprise-v1','keys','Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.','str','includes','skillHubDomain','localDomain','cwd','replace','string','mode','Domain\x20config\x20file\x20not\x20found:\x20',':\x20expected\x20a\x20non-empty\x20HTTPS\x20URL.','8730clKQUT','isArray','protocol','apiDomain','runtimeDomain','certificate-domain','certificateDomain','kbDomain','rabetbase-cli','filter','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20CDN\x20field(s):\x20','pathname','domain-config','184476fChZuk','\x20and\x20has\x20no\x20default.','parse','join','188hVeixV',':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.','base\x20URL','\x22\x20is\x20not\x20a\x20valid\x20URL.','runtime-domain',':\x20\x22','240330FgEDIg','legacy','Invalid\x20','username','162JmrwER','Unsupported\x20enterprise\x20CDN\x20field(s):\x20','password','trim','12205tcsMHw','skill-domain','Invalid\x20cdn.','Invalid\x20domain\x20config\x20JSON:\x20','18505lHiJyG','For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','kb-domain','14SjHMiM'];a241_0x7a1d=function(){return _0x183a9d;};return a241_0x7a1d();}function a241_0x1542(_0x300a78,_0x3b847f){_0x300a78=_0x300a78-0xa2;const _0x7a1db9=a241_0x7a1d();let _0x15424f=_0x7a1db9[_0x300a78];return _0x15424f;}export function resolveDomainConfigInput(_0x359964){const _0x2e7b2b=a241_0x4a6b10,_0x57d7fa=(_0x359964[_0x2e7b2b(0xb6)](_0x2e7b2b(0xcc))||'')[_0x2e7b2b(0xde)](),_0x36a995=_0x57d7fa?readDomainConfigInput(_0x57d7fa):{'mode':_0x2e7b2b(0xd8),'domains':{}},_0x321881=DOMAIN_CONFIG_FIELDS['filter'](_0x25d545=>Boolean((_0x359964[_0x2e7b2b(0xb6)](DOMAIN_FLAGS[_0x25d545])||'')['trim']()));if(_0x36a995[_0x2e7b2b(0xbd)]===_0x2e7b2b(0xb3)&&_0x321881[_0x2e7b2b(0xac)]>0x0)throw CliErrors[_0x2e7b2b(0xa7)](_0x2e7b2b(0xaf),_0x2e7b2b(0xb5));for(const _0x26cd14 of DOMAIN_CONFIG_FIELDS){const _0x4b6004=(_0x359964[_0x2e7b2b(0xb6)](DOMAIN_FLAGS[_0x26cd14])||'')['trim']();if(_0x4b6004)_0x36a995[_0x2e7b2b(0xe9)][_0x26cd14]=normalizeDomainOrigin(_0x26cd14,_0x4b6004);}return _0x36a995;}export function resolveDomainFlags(_0x3b5ed3){const _0x2f79f4=a241_0x4a6b10;return resolveDomainConfigInput(_0x3b5ed3)[_0x2f79f4(0xe9)];}export function parseEnterpriseRoutingManifest(_0x4e5fcf){const _0x1b21f3=a241_0x4a6b10;if(_0x4e5fcf['protocol']!==ENTERPRISE_ROUTING_PROTOCOL||_0x4e5fcf['kind']!==ENTERPRISE_ROUTING_KIND)throw CliErrors['validation']('Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22'+ENTERPRISE_ROUTING_PROTOCOL+'\x22\x20and\x20kind\x20\x22'+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0x4e5fcf[_0x1b21f3(0xe9)]||typeof _0x4e5fcf['domains']!==_0x1b21f3(0xf1)||Array[_0x1b21f3(0xc1)](_0x4e5fcf[_0x1b21f3(0xe9)]))throw CliErrors['validation']('Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.');if(!_0x4e5fcf['cdn']||typeof _0x4e5fcf[_0x1b21f3(0xb2)]!==_0x1b21f3(0xf1)||Array[_0x1b21f3(0xc1)](_0x4e5fcf[_0x1b21f3(0xb2)]))throw CliErrors[_0x1b21f3(0xa7)](_0x1b21f3(0xb1));const _0x2d74c8=_0x4e5fcf[_0x1b21f3(0xe9)],_0x354d76=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS['filter'](_0x37d4c7=>_0x2d74c8[_0x37d4c7]===undefined);if(_0x354d76[_0x1b21f3(0xac)]>0x0)throw CliErrors['validation']('Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20'+_0x354d76[_0x1b21f3(0xd0)](',\x20'));if(_0x2d74c8[_0x1b21f3(0xb9)]===undefined!==(_0x2d74c8[_0x1b21f3(0xc6)]===undefined))throw CliErrors['validation']('Enterprise\x20routing\x20manifest\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.');const _0x5c1ca8=_0x4e5fcf['cdn'],_0x3038a0=Object[_0x1b21f3(0xb4)](_0x5c1ca8)[_0x1b21f3(0xc9)](_0x1bbe6d=>!ENTERPRISE_ROUTING_CDN_FIELDS[_0x1b21f3(0xb7)](_0x1bbe6d));if(_0x3038a0['length']>0x0)throw CliErrors[_0x1b21f3(0xa7)](_0x1b21f3(0xdc)+_0x3038a0[_0x1b21f3(0xd0)](',\x20'),'Allowed\x20fields:\x20'+ENTERPRISE_ROUTING_CDN_FIELDS[_0x1b21f3(0xd0)](',\x20'));const _0x2e2599=REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS['filter'](_0x17de4f=>_0x5c1ca8[_0x17de4f]===undefined);if(_0x2e2599[_0x1b21f3(0xac)]>0x0)throw CliErrors[_0x1b21f3(0xa7)](_0x1b21f3(0xca)+_0x2e2599[_0x1b21f3(0xd0)](',\x20'));const _0x5617d9={};for(const _0x58fbfa of ENTERPRISE_ROUTING_CDN_FIELDS){_0x5617d9[_0x58fbfa]=normalizeCdnBaseUrl(_0x58fbfa,_0x5c1ca8[_0x58fbfa]);}const _0xdd3b3={},_0x48475a={};for(const _0x34ab0e of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x345bcf=_0x2d74c8[_0x34ab0e];if(_0x345bcf===undefined)continue;const _0x3f925a=normalizeRoutingDomainValue(_0x34ab0e,_0x345bcf);_0xdd3b3[_0x34ab0e]=_0x3f925a;const _0x28ea67=ENTERPRISE_TO_LOCAL_FIELD[_0x34ab0e];_0x28ea67&&(_0x48475a[_0x28ea67]=_0x3f925a);}return{'mode':_0x1b21f3(0xb3),'domains':_0x48475a,'manifestDomains':_0xdd3b3,'cdn':_0x5617d9};}
@@ -1 +1 @@
1
- function a228_0x4b25(){const _0x2370a8=['1818894ysUclY','1778073GMSTNu','.tmp','utf8','996dhUxvW','2117591mCthyO','1882815NYFuyA','3470AIgEsM','110mtupom','rabetbase.domain-routing.json','8Ooexht','6923997MDxKqu','/cert/lovrabet-dev.json','official','origin','292RLYasl','Independent\x20deployment\x20routing\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','lovrabet-project-domain-routing/v1','now','independent','9630HCzUZE','http://localhost','pid','lovrabet'];a228_0x4b25=function(){return _0x2370a8;};return a228_0x4b25();}const a228_0xdf784d=a228_0x4c58;(function(_0x514f72,_0x33abae){const _0x199bbb=a228_0x4c58,_0x3b7f44=_0x514f72();while(!![]){try{const _0x4f545c=-parseInt(_0x199bbb(0x1c0))/0x1*(-parseInt(_0x199bbb(0x1b0))/0x2)+-parseInt(_0x199bbb(0x1bf))/0x3+-parseInt(_0x199bbb(0x1bd))/0x4*(parseInt(_0x199bbb(0x1b5))/0x5)+parseInt(_0x199bbb(0x1b9))/0x6+-parseInt(_0x199bbb(0x1be))/0x7*(parseInt(_0x199bbb(0x1c3))/0x8)+-parseInt(_0x199bbb(0x1ac))/0x9+parseInt(_0x199bbb(0x1c1))/0xa*(parseInt(_0x199bbb(0x1ba))/0xb);if(_0x4f545c===_0x33abae)break;else _0x3b7f44['push'](_0x3b7f44['shift']());}catch(_0x1d1c66){_0x3b7f44['push'](_0x3b7f44['shift']());}}}(a228_0x4b25,0x63cf1));import{readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{join}from'node:path';import{getActiveRegion,getActiveCdn,getApiDomain,getAppDomain,getCertificateDomain,getKbDomain,getLocalDomain,getRuntimeDomain,getSkillDomain,getUserDomain,isIndependentDeployment}from'../constant/domain.js';import{getOfficialRoutingProfile}from'../constant/routing-profile.js';export const PROJECT_DOMAIN_ROUTING_FILE_NAME=a228_0xdf784d(0x1c2);export const PROJECT_DOMAIN_ROUTING_PROTOCOL=a228_0xdf784d(0x1b2);function a228_0x4c58(_0xea6968,_0xe5db3e){_0xea6968=_0xea6968-0x1ac;const _0x4b25be=a228_0x4b25();let _0x4c58b8=_0x4b25be[_0xea6968];return _0x4c58b8;}export function getProjectDomainRoutingManifest(){const _0x117440=a228_0xdf784d,_0x182126=getActiveRegion(),_0x4052ae=isIndependentDeployment(),_0x3caa5c=getOfficialRoutingProfile(_0x182126),_0x44d3bb=getLocalDomain(),_0x600d32=getCertificateDomain(),_0x483b9f=getActiveCdn();if(!!_0x44d3bb!==!!_0x600d32)throw new Error(_0x117440(0x1b1));return{'protocol':PROJECT_DOMAIN_ROUTING_PROTOCOL,'mode':_0x4052ae?_0x117440(0x1b4):_0x117440(0x1ae),'region':_0x4052ae?null:_0x182126,'domains':{'api':getApiDomain(),'runtime':getRuntimeDomain(),'user':getUserDomain(),'app':getAppDomain(),'skill':getSkillDomain(),'kb':getKbDomain()},'cdn':_0x483b9f,'local':_0x44d3bb&&_0x600d32?{'origin':_0x44d3bb,'certificateUrl':_0x600d32+_0x117440(0x1ad)}:_0x4052ae?{'origin':_0x117440(0x1b6)}:{'origin':_0x3caa5c['local'][_0x117440(0x1af)],'certificateUrl':_0x483b9f[_0x117440(0x1b8)]+_0x117440(0x1ad)}};}export function writeProjectDomainRoutingManifest(_0x287c63){const _0x1dc179=a228_0xdf784d,_0x13bbe8=getProjectDomainRoutingManifest(),_0x4e497d=join(_0x287c63,PROJECT_DOMAIN_ROUTING_FILE_NAME),_0x399c44=JSON['stringify'](_0x13bbe8,null,0x2)+'\x0a';try{if(readFileSync(_0x4e497d,_0x1dc179(0x1bc))===_0x399c44)return{'path':_0x4e497d,'manifest':_0x13bbe8,'changed':![]};}catch{}const _0x27fc5e=_0x4e497d+'.'+process[_0x1dc179(0x1b7)]+'.'+Date[_0x1dc179(0x1b3)]()+_0x1dc179(0x1bb);try{writeFileSync(_0x27fc5e,_0x399c44,{'encoding':_0x1dc179(0x1bc),'mode':0x1a4}),renameSync(_0x27fc5e,_0x4e497d);}catch(_0x13fd9c){try{unlinkSync(_0x27fc5e);}catch{}throw _0x13fd9c;}return{'path':_0x4e497d,'manifest':_0x13bbe8,'changed':!![]};}
1
+ const a242_0x1f490c=a242_0x1821;function a242_0x1821(_0x181414,_0x4e8588){_0x181414=_0x181414-0x1d7;const _0x297ac9=a242_0x297a();let _0x182180=_0x297ac9[_0x181414];return _0x182180;}(function(_0x34a735,_0x384dfe){const _0x31600e=a242_0x1821,_0x210f08=_0x34a735();while(!![]){try{const _0x159f26=parseInt(_0x31600e(0x1db))/0x1+-parseInt(_0x31600e(0x1e3))/0x2*(-parseInt(_0x31600e(0x1d7))/0x3)+-parseInt(_0x31600e(0x1d8))/0x4+-parseInt(_0x31600e(0x1e7))/0x5*(-parseInt(_0x31600e(0x1dd))/0x6)+-parseInt(_0x31600e(0x1de))/0x7+-parseInt(_0x31600e(0x1df))/0x8*(-parseInt(_0x31600e(0x1ea))/0x9)+parseInt(_0x31600e(0x1e6))/0xa;if(_0x159f26===_0x384dfe)break;else _0x210f08['push'](_0x210f08['shift']());}catch(_0x570919){_0x210f08['push'](_0x210f08['shift']());}}}(a242_0x297a,0xb8598));import{readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{join}from'node:path';import{getActiveRegion,getActiveCdn,getApiDomain,getAppDomain,getCertificateDomain,getKbDomain,getLocalDomain,getRuntimeDomain,getSkillDomain,getUserDomain,isIndependentDeployment}from'../constant/domain.js';import{getOfficialRoutingProfile}from'../constant/routing-profile.js';export const PROJECT_DOMAIN_ROUTING_FILE_NAME='rabetbase.domain-routing.json';export const PROJECT_DOMAIN_ROUTING_PROTOCOL=a242_0x1f490c(0x1da);export function getProjectDomainRoutingManifest(){const _0x2400aa=a242_0x1f490c,_0x3d4d5d=getActiveRegion(),_0x4ada90=isIndependentDeployment(),_0x2ede98=getOfficialRoutingProfile(_0x3d4d5d),_0x244417=getLocalDomain(),_0x26d9b1=getCertificateDomain(),_0x360fba=getActiveCdn();if(!!_0x244417!==!!_0x26d9b1)throw new Error(_0x2400aa(0x1dc));return{'protocol':PROJECT_DOMAIN_ROUTING_PROTOCOL,'mode':_0x4ada90?'independent':_0x2400aa(0x1e2),'region':_0x4ada90?null:_0x3d4d5d,'domains':{'api':getApiDomain(),'runtime':getRuntimeDomain(),'user':getUserDomain(),'app':getAppDomain(),'skill':getSkillDomain(),'kb':getKbDomain()},'cdn':_0x360fba,'local':_0x244417&&_0x26d9b1?{'origin':_0x244417,'certificateUrl':_0x26d9b1+_0x2400aa(0x1e8)}:_0x4ada90?{'origin':_0x2400aa(0x1e9)}:{'origin':_0x2ede98['local'][_0x2400aa(0x1e0)],'certificateUrl':_0x360fba['lovrabet']+_0x2400aa(0x1e8)}};}export function writeProjectDomainRoutingManifest(_0x3a9057){const _0x2397bc=a242_0x1f490c,_0x231ed0=getProjectDomainRoutingManifest(),_0x467295=join(_0x3a9057,PROJECT_DOMAIN_ROUTING_FILE_NAME),_0x4d3e90=JSON[_0x2397bc(0x1e4)](_0x231ed0,null,0x2)+'\x0a';try{if(readFileSync(_0x467295,_0x2397bc(0x1e1))===_0x4d3e90)return{'path':_0x467295,'manifest':_0x231ed0,'changed':![]};}catch{}const _0x9df377=_0x467295+'.'+process[_0x2397bc(0x1e5)]+'.'+Date[_0x2397bc(0x1d9)]()+'.tmp';try{writeFileSync(_0x9df377,_0x4d3e90,{'encoding':_0x2397bc(0x1e1),'mode':0x1a4}),renameSync(_0x9df377,_0x467295);}catch(_0x485f6f){try{unlinkSync(_0x9df377);}catch{}throw _0x485f6f;}return{'path':_0x467295,'manifest':_0x231ed0,'changed':!![]};}function a242_0x297a(){const _0x40f2e7=['official','1066498VuDHUH','stringify','pid','4443240MaNibP','4980UpJYfl','/cert/lovrabet-dev.json','http://localhost','333zJaYQy','3kWXlhi','5084952xZsJbO','now','lovrabet-project-domain-routing/v1','720868dResnz','Independent\x20deployment\x20routing\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','3882InIwcQ','3357564IUDCFv','35272grfirA','origin','utf8'];a242_0x297a=function(){return _0x40f2e7;};return a242_0x297a();}
@@ -1 +1 @@
1
- function a229_0x484c(_0x1f666e,_0xb88bb6){_0x1f666e=_0x1f666e-0x1aa;const _0x23eb29=a229_0x23eb();let _0x484cf5=_0x23eb29[_0x1f666e];return _0x484cf5;}const a229_0x3d6050=a229_0x484c;(function(_0x3e82f6,_0x29d493){const _0x39e59a=a229_0x484c,_0x568290=_0x3e82f6();while(!![]){try{const _0x37008b=parseInt(_0x39e59a(0x1b8))/0x1+-parseInt(_0x39e59a(0x1b2))/0x2+-parseInt(_0x39e59a(0x1c4))/0x3*(-parseInt(_0x39e59a(0x1af))/0x4)+parseInt(_0x39e59a(0x1bb))/0x5+parseInt(_0x39e59a(0x1b0))/0x6*(parseInt(_0x39e59a(0x1b5))/0x7)+parseInt(_0x39e59a(0x1bd))/0x8+-parseInt(_0x39e59a(0x1ac))/0x9;if(_0x37008b===_0x29d493)break;else _0x568290['push'](_0x568290['shift']());}catch(_0x1c226f){_0x568290['push'](_0x568290['shift']());}}}(a229_0x23eb,0x7812f));import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_LOVRABET_REGION,isInvalidLovrabetRegion,normalizeLovrabetRegion}from'../constant/region.js';import{CliErrors}from'../errors.js';export function selectConfiguredRegion(_0x3c6c7a){const _0x394ac3=a229_0x484c;if(_0x3c6c7a[_0x394ac3(0x1b1)]!==undefined&&_0x3c6c7a[_0x394ac3(0x1b1)]!==null&&_0x3c6c7a[_0x394ac3(0x1b1)]!=='')return{'value':_0x3c6c7a[_0x394ac3(0x1b1)],'source':'app'};if(_0x3c6c7a['projectRegion']!==undefined&&_0x3c6c7a['projectRegion']!==null&&_0x3c6c7a[_0x394ac3(0x1ba)]!=='')return{'value':_0x3c6c7a[_0x394ac3(0x1ba)],'source':_0x394ac3(0x1b3)};if(_0x3c6c7a['globalRegion']!==undefined&&_0x3c6c7a['globalRegion']!==null&&_0x3c6c7a['globalRegion']!=='')return{'value':_0x3c6c7a[_0x394ac3(0x1b7)],'source':_0x394ac3(0x1c1)};if(_0x3c6c7a[_0x394ac3(0x1bc)]!==undefined&&_0x3c6c7a[_0x394ac3(0x1bc)]!==null&&_0x3c6c7a['mergedRegion']!=='')return{'value':_0x3c6c7a[_0x394ac3(0x1bc)],'source':'config'};return{'value':undefined,'source':'default'};}function describeConfiguredRegion(_0xb73fcb){const _0x572ce1=a229_0x484c;return typeof _0xb73fcb===_0x572ce1(0x1ab)?JSON['stringify'](_0xb73fcb):'a\x20value\x20of\x20type\x20'+(_0xb73fcb===null?_0x572ce1(0x1bf):typeof _0xb73fcb);}function a229_0x23eb(){const _0x46172d=['null','\x20doctor`\x20to\x20locate\x20and\x20repair\x20the\x20invalid\x20configuration\x20before\x20retrying.','global','project\x20Rabetbase\x20configuration','source','6SYsadL','Invalid\x20country/region\x20','\x20in\x20','appName','string','5924574CaMEnb','Run\x20`','app','1713336OPICbm','132EGCneA','appRegion','979488ABTddT','project','Rabetbase\x20configuration','125594JvxKXh','global\x20Rabetbase\x20configuration','globalRegion','112423wutDZv','app\x20profile\x20\x22','projectRegion','987365aRBfQY','mergedRegion','628520eoMHmj','selected\x20app\x20profile'];a229_0x23eb=function(){return _0x46172d;};return a229_0x23eb();}export function resolveConfiguredRegion(_0x3e97b4,_0x400215=a229_0x3d6050(0x1b4)){const _0x29c894=a229_0x3d6050;if(isInvalidLovrabetRegion(_0x3e97b4))throw CliErrors['validation'](_0x29c894(0x1c5)+describeConfiguredRegion(_0x3e97b4)+_0x29c894(0x1c6)+_0x400215+'.',_0x29c894(0x1ad)+CLI_BIN_NAME+_0x29c894(0x1c0));return normalizeLovrabetRegion(_0x3e97b4)??DEFAULT_LOVRABET_REGION;}export function resolveEffectiveRegion(_0x2942ec){const _0x21d7ba=a229_0x3d6050,_0x3ac51f=selectConfiguredRegion(_0x2942ec),_0x3af841=_0x3ac51f['source']===_0x21d7ba(0x1ae)?_0x2942ec[_0x21d7ba(0x1aa)]?_0x21d7ba(0x1b9)+_0x2942ec[_0x21d7ba(0x1aa)]+'\x22':_0x21d7ba(0x1be):_0x3ac51f[_0x21d7ba(0x1c3)]===_0x21d7ba(0x1b3)?_0x21d7ba(0x1c2):_0x3ac51f[_0x21d7ba(0x1c3)]==='global'?_0x21d7ba(0x1b6):_0x21d7ba(0x1b4);return{'region':resolveConfiguredRegion(_0x3ac51f['value'],_0x3af841),'source':_0x3ac51f['source']};}
1
+ (function(_0xcefa3,_0x3148f1){const _0x1ac594=a243_0x1434,_0x475066=_0xcefa3();while(!![]){try{const _0x1b8890=parseInt(_0x1ac594(0x107))/0x1+-parseInt(_0x1ac594(0x109))/0x2+parseInt(_0x1ac594(0x102))/0x3*(parseInt(_0x1ac594(0x104))/0x4)+-parseInt(_0x1ac594(0x10a))/0x5*(parseInt(_0x1ac594(0x117))/0x6)+parseInt(_0x1ac594(0x115))/0x7+-parseInt(_0x1ac594(0xfb))/0x8*(parseInt(_0x1ac594(0x101))/0x9)+-parseInt(_0x1ac594(0xfd))/0xa*(-parseInt(_0x1ac594(0x113))/0xb);if(_0x1b8890===_0x3148f1)break;else _0x475066['push'](_0x475066['shift']());}catch(_0x749dff){_0x475066['push'](_0x475066['shift']());}}}(a243_0x4367,0x35161));function a243_0x4367(){const _0x51e47c=['string','653574vmXYfO','486245HbZixt','global','stringify','selected\x20app\x20profile','appRegion','validation','globalRegion','source','projectRegion','12683jaFuDr','value','650419GoVcyj','Run\x20`','6ouVNxn','project\x20Rabetbase\x20configuration','60872OuXRnI','config','70HRmuoD','mergedRegion','appName','app\x20profile\x20\x22','63dUtbtL','129MlIpSF','Rabetbase\x20configuration','33444kMMwhV','app','null','234229xNNKrt'];a243_0x4367=function(){return _0x51e47c;};return a243_0x4367();}import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_LOVRABET_REGION,isInvalidLovrabetRegion,normalizeLovrabetRegion}from'../constant/region.js';import{CliErrors}from'../errors.js';export function selectConfiguredRegion(_0x4c2730){const _0x22d6de=a243_0x1434;if(_0x4c2730[_0x22d6de(0x10e)]!==undefined&&_0x4c2730[_0x22d6de(0x10e)]!==null&&_0x4c2730['appRegion']!=='')return{'value':_0x4c2730['appRegion'],'source':_0x22d6de(0x105)};if(_0x4c2730[_0x22d6de(0x112)]!==undefined&&_0x4c2730[_0x22d6de(0x112)]!==null&&_0x4c2730[_0x22d6de(0x112)]!=='')return{'value':_0x4c2730[_0x22d6de(0x112)],'source':'project'};if(_0x4c2730['globalRegion']!==undefined&&_0x4c2730['globalRegion']!==null&&_0x4c2730[_0x22d6de(0x110)]!=='')return{'value':_0x4c2730[_0x22d6de(0x110)],'source':_0x22d6de(0x10b)};if(_0x4c2730[_0x22d6de(0xfe)]!==undefined&&_0x4c2730[_0x22d6de(0xfe)]!==null&&_0x4c2730[_0x22d6de(0xfe)]!=='')return{'value':_0x4c2730[_0x22d6de(0xfe)],'source':_0x22d6de(0xfc)};return{'value':undefined,'source':'default'};}function describeConfiguredRegion(_0x567fa6){const _0x31f8ef=a243_0x1434;return typeof _0x567fa6===_0x31f8ef(0x108)?JSON[_0x31f8ef(0x10c)](_0x567fa6):'a\x20value\x20of\x20type\x20'+(_0x567fa6===null?_0x31f8ef(0x106):typeof _0x567fa6);}function a243_0x1434(_0x166b5b,_0x2f39c1){_0x166b5b=_0x166b5b-0xfb;const _0x4367ad=a243_0x4367();let _0x14343c=_0x4367ad[_0x166b5b];return _0x14343c;}export function resolveConfiguredRegion(_0x4a7910,_0x1842db='Rabetbase\x20configuration'){const _0x243665=a243_0x1434;if(isInvalidLovrabetRegion(_0x4a7910))throw CliErrors[_0x243665(0x10f)]('Invalid\x20country/region\x20'+describeConfiguredRegion(_0x4a7910)+'\x20in\x20'+_0x1842db+'.',_0x243665(0x116)+CLI_BIN_NAME+'\x20doctor`\x20to\x20locate\x20and\x20repair\x20the\x20invalid\x20configuration\x20before\x20retrying.');return normalizeLovrabetRegion(_0x4a7910)??DEFAULT_LOVRABET_REGION;}export function resolveEffectiveRegion(_0x25d206){const _0x480069=a243_0x1434,_0x267a44=selectConfiguredRegion(_0x25d206),_0x1ee6de=_0x267a44['source']===_0x480069(0x105)?_0x25d206['appName']?_0x480069(0x100)+_0x25d206[_0x480069(0xff)]+'\x22':_0x480069(0x10d):_0x267a44[_0x480069(0x111)]==='project'?_0x480069(0x118):_0x267a44[_0x480069(0x111)]===_0x480069(0x10b)?'global\x20Rabetbase\x20configuration':_0x480069(0x103);return{'region':resolveConfiguredRegion(_0x267a44[_0x480069(0x114)],_0x1ee6de),'source':_0x267a44[_0x480069(0x111)]};}
@@ -1 +1 @@
1
- const a230_0xa77104=a230_0x4ff9;(function(_0x4c83f2,_0xd2be60){const _0x3795bf=a230_0x4ff9,_0x2a46a7=_0x4c83f2();while(!![]){try{const _0x309952=parseInt(_0x3795bf(0x1bf))/0x1+parseInt(_0x3795bf(0x1b3))/0x2+parseInt(_0x3795bf(0x1bd))/0x3+-parseInt(_0x3795bf(0x1a0))/0x4+parseInt(_0x3795bf(0x1ba))/0x5+-parseInt(_0x3795bf(0x190))/0x6+-parseInt(_0x3795bf(0x1c4))/0x7;if(_0x309952===_0xd2be60)break;else _0x2a46a7['push'](_0x2a46a7['shift']());}catch(_0xb8a6a2){_0x2a46a7['push'](_0x2a46a7['shift']());}}}(a230_0x1c90,0xbef5c));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,isProduction,RABETBASE_ENV_VALUES}from'../constant/env.js';function a230_0x1c90(){const _0x2b83e6=['number','en-US','867020rtPaxl','pageSize','Target\x20environment','8434830OUUUSo','kbDomain','string','env','riskLevel','join','cookie','entries','some','inherit','toLowerCase','trim','app','isArray','object','certificateDomain','2925468EMTPVW','defaultApp','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','Auth\x20cookie','zh-CN','appDomain','accessKey','length','region','userDomain','format','map','API\x20directory\x20path','Config\x20key\x20(','Risk\x20level','apps','skillDomain','keys','Access\x20key','1167828Mynlqq','runtimeDomain','values','apiDomain','filter','Default\x20page\x20size','localDomain','6570745VMIddl','has','defaultFormat','2817321EekmXr','apiDir','206034SfJqKw','fromEntries','locale'];a230_0x1c90=function(){return _0x2b83e6;};return a230_0x1c90();}import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../constant/output.js';import{RISK_LEVEL_VALUES}from'../constant/risk.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../constant/region.js';export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';export const PROJECT_CREATE_INHERITABLE_KEYS=['cookie',a230_0xa77104(0x1a6),a230_0xa77104(0x1c1),a230_0xa77104(0x1aa),'riskLevel',a230_0xa77104(0x1a8),'routing',a230_0xa77104(0x1a9),'apiDomain',a230_0xa77104(0x1b4),a230_0xa77104(0x1b0),'kbDomain','appDomain',a230_0xa77104(0x1b9),a230_0xa77104(0x19f)];export const TOP_LEVEL_CONFIG_KEYS=new Set(['appcode','env',a230_0xa77104(0x1c1),a230_0xa77104(0x1aa),'cookie',a230_0xa77104(0x1a6),a230_0xa77104(0x1be),'region','userDomain',a230_0xa77104(0x1b6),a230_0xa77104(0x1b4),a230_0xa77104(0x1b0),a230_0xa77104(0x191),a230_0xa77104(0x1a5),a230_0xa77104(0x1b9),a230_0xa77104(0x19f)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x25f9f6){const _0x498d24=a230_0xa77104;return[..._0x25f9f6][_0x498d24(0x195)](',\x20');}function a230_0x4ff9(_0x3dc027,_0x2fbadb){_0x3dc027=_0x3dc027-0x18e;const _0x1c908d=a230_0x1c90();let _0x4ff954=_0x1c908d[_0x3dc027];return _0x4ff954;}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x276069){const _0x6fe5be=a230_0xa77104;return TOP_LEVEL_CONFIG_KEYS[_0x6fe5be(0x1bb)](_0x276069);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x1faac2=a230_0xa77104;return _0x1faac2(0x1ad)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'region':'region','env':a230_0xa77104(0x193),'apiDir':a230_0xa77104(0x1be),'cookie':a230_0xa77104(0x196),'accessKey':'accessKey','defaultFormat':'format','pageSize':a230_0xa77104(0x18e),'riskLevel':a230_0xa77104(0x194),'locale':a230_0xa77104(0x1c1)};export function getAppProfileFlagDefs(){const _0x33769c=a230_0xa77104;return[{'name':_0x33769c(0x1a8),'type':_0x33769c(0x192),'description':'Country/region\x20for\x20this\x20app\x20profile','enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':'env','type':_0x33769c(0x192),'description':_0x33769c(0x18f),'enum':[...RABETBASE_ENV_VALUES]},{'name':_0x33769c(0x1be),'type':_0x33769c(0x192),'description':_0x33769c(0x1ac)},{'name':'cookie','type':'string','description':_0x33769c(0x1a3),'hidden':!![]},{'name':_0x33769c(0x1a6),'type':'string','description':_0x33769c(0x1b2),'hidden':!![]},{'name':_0x33769c(0x1bc),'type':_0x33769c(0x192),'description':'Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x33769c(0x18e),'type':_0x33769c(0x1c2),'description':_0x33769c(0x1b8)},{'name':_0x33769c(0x194),'type':_0x33769c(0x192),'description':_0x33769c(0x1ae),'enum':[...RISK_LEVEL_VALUES]},{'name':'locale','type':_0x33769c(0x192),'description':_0x33769c(0x1a2)}];}export function collectAppProfileOverrides(_0x1536b0){const _0x44aae8=a230_0xa77104,_0x8cfa19={};for(const [_0x37e8b1,_0x4412e4]of Object[_0x44aae8(0x197)](APP_PROFILE_FLAG_KEY_MAP)){const _0x3e4756=_0x1536b0(_0x37e8b1);if(!_0x3e4756)continue;_0x8cfa19[_0x4412e4]=_0x4412e4==='pageSize'?Number(_0x3e4756):_0x3e4756;}return _0x8cfa19;}export function buildAppProfileListFields(_0x53278d){const _0x317944=a230_0xa77104;return{'region':_0x53278d[_0x317944(0x1a8)]??null,'env':_0x53278d['env']??null,'apiDir':_0x53278d[_0x317944(0x1be)]??null,'hasCookie':!!_0x53278d['cookie'],'hasAccessKey':!!_0x53278d[_0x317944(0x1a6)],'format':_0x53278d[_0x317944(0x1aa)]??null,'pageSize':_0x53278d['pageSize']??null,'riskLevel':_0x53278d[_0x317944(0x194)]??null,'locale':_0x53278d[_0x317944(0x1c1)]??null};}export function buildAppDoctorFields(_0x40442e,_0x209e8f){const _0x5a873d=a230_0xa77104;return{'region':{'value':_0x40442e[_0x5a873d(0x1a8)]||_0x209e8f[_0x5a873d(0x1a8)],'source':_0x40442e[_0x5a873d(0x1a8)]?'app':_0x5a873d(0x199)},'env':{'value':_0x40442e[_0x5a873d(0x193)]||_0x209e8f[_0x5a873d(0x193)],'source':_0x40442e[_0x5a873d(0x193)]?_0x5a873d(0x19c):_0x5a873d(0x199)},'apiDir':{'value':_0x40442e['apiDir']||_0x209e8f[_0x5a873d(0x1be)],'source':_0x40442e[_0x5a873d(0x1be)]?_0x5a873d(0x19c):_0x5a873d(0x199)},'cookie':{'value':_0x40442e[_0x5a873d(0x196)]||_0x209e8f[_0x5a873d(0x196)],'source':_0x40442e[_0x5a873d(0x196)]?_0x5a873d(0x19c):_0x5a873d(0x199)},'accessKey':{'value':_0x40442e[_0x5a873d(0x1a6)]||_0x209e8f[_0x5a873d(0x1a6)],'source':_0x40442e[_0x5a873d(0x1a6)]?_0x5a873d(0x19c):_0x5a873d(0x199)}};}export function buildCanonicalAppConfig(_0x421625,_0x59e579){const _0xb0df4a=a230_0xa77104,_0x2c7559=_0x421625['map'](_0x28a78f=>String(_0x28a78f||'')[_0xb0df4a(0x19b)]())[_0xb0df4a(0x1b7)](Boolean);if(_0x2c7559[_0xb0df4a(0x1a7)]===0x0)return{};const _0x4bc7d3={};for(const _0xae9f3 of _0x2c7559){_0x4bc7d3[_0xae9f3]=_0x59e579&&!isProduction(_0x59e579)?{'appcode':_0xae9f3,'env':_0x59e579}:{'appcode':_0xae9f3};}return _0x2c7559[_0xb0df4a(0x1a7)]>0x1?{'apps':_0x4bc7d3,'defaultApp':_0x2c7559[0x0]}:{'apps':_0x4bc7d3};}export function normalizeStoredDefaultApp(_0x1ceee3,_0x26d3c0){const _0x2bb82e=a230_0xa77104,_0x11af60=_0x1ceee3[_0x2bb82e(0x1af)]&&typeof _0x1ceee3[_0x2bb82e(0x1af)]===_0x2bb82e(0x19e)?_0x1ceee3[_0x2bb82e(0x1af)]:{},_0x446d9d=Object[_0x2bb82e(0x1b1)](_0x11af60);if(_0x446d9d['length']<=0x1)return delete _0x1ceee3[_0x2bb82e(0x1a1)],undefined;const _0xcc543c=typeof _0x1ceee3['defaultApp']===_0x2bb82e(0x192)&&_0x11af60[_0x1ceee3[_0x2bb82e(0x1a1)]]?_0x1ceee3[_0x2bb82e(0x1a1)]:undefined,_0x4948d8=_0x26d3c0&&_0x11af60[_0x26d3c0]?_0x26d3c0:_0xcc543c;if(_0x4948d8)return _0x1ceee3[_0x2bb82e(0x1a1)]=_0x4948d8,_0x4948d8;return delete _0x1ceee3[_0x2bb82e(0x1a1)],undefined;}export function buildCanonicalProjectConfig(_0x5e5e1d,_0x397eec){const _0x5b4687=a230_0xa77104,{appCodes:appCodes=[],env:_0x5734c2,metadata:_0x18963f}=_0x397eec,_0xba0724={..._0x5e5e1d,..._0x18963f||{}};delete _0xba0724['appcode'],delete _0xba0724['app'];const _0x189f8d=_0x5734c2||(typeof _0xba0724[_0x5b4687(0x193)]===_0x5b4687(0x192)?_0xba0724[_0x5b4687(0x193)]:'')||DEFAULT_CONFIG_VALUES['env'];if(isProduction(_0x189f8d))delete _0xba0724[_0x5b4687(0x193)];else _0xba0724['env']=_0x189f8d;const _0x2ea018=buildCanonicalAppConfig(appCodes,_0x189f8d);if(Object[_0x5b4687(0x1b1)](_0x2ea018)['length']>0x0){_0xba0724['apps']=_0x2ea018[_0x5b4687(0x1af)];if(_0x2ea018['defaultApp'])_0xba0724[_0x5b4687(0x1a1)]=_0x2ea018['defaultApp'];else delete _0xba0724['defaultApp'];}return normalizeConfigForWrite(_0xba0724);}function isRecord(_0x185de6){const _0xce06a9=a230_0xa77104;return!!_0x185de6&&typeof _0x185de6===_0xce06a9(0x19e)&&!Array[_0xce06a9(0x19d)](_0x185de6);}export function normalizeConfigForWrite(_0x55e1ac){const _0xfd7fe0=a230_0xa77104,_0x34e03d={..._0x55e1ac},_0xe95c70=isRecord(_0x55e1ac[_0xfd7fe0(0x1af)])?_0x55e1ac['apps']:undefined,_0x421f14=_0xe95c70?Object[_0xfd7fe0(0x1c0)](Object['entries'](_0xe95c70)[_0xfd7fe0(0x1ab)](([_0x1f4a83,_0x1dc2be])=>[_0x1f4a83,isRecord(_0x1dc2be)?{..._0x1dc2be}:_0x1dc2be])):undefined;if(_0x421f14){const _0x552a50=typeof _0x34e03d[_0xfd7fe0(0x193)]===_0xfd7fe0(0x192)?_0x34e03d[_0xfd7fe0(0x193)]:undefined,_0x34f05c=Object[_0xfd7fe0(0x1b5)](_0x421f14)[_0xfd7fe0(0x198)](_0x3478fb=>isRecord(_0x3478fb)&&typeof _0x3478fb[_0xfd7fe0(0x193)]===_0xfd7fe0(0x192)&&isProduction(_0x3478fb[_0xfd7fe0(0x193)]));if(_0x552a50&&isDaily(_0x552a50)&&_0x34f05c){for(const _0x468e0f of Object[_0xfd7fe0(0x1b5)](_0x421f14)){if(!isRecord(_0x468e0f))continue;if(_0x468e0f[_0xfd7fe0(0x193)]===undefined)_0x468e0f[_0xfd7fe0(0x193)]=_0x552a50;}delete _0x34e03d['env'];}for(const _0x33bbfb of Object[_0xfd7fe0(0x1b5)](_0x421f14)){isRecord(_0x33bbfb)&&typeof _0x33bbfb[_0xfd7fe0(0x193)]==='string'&&isProduction(_0x33bbfb[_0xfd7fe0(0x193)])&&delete _0x33bbfb[_0xfd7fe0(0x193)];}_0x34e03d[_0xfd7fe0(0x1af)]=_0x421f14;}return typeof _0x34e03d[_0xfd7fe0(0x193)]===_0xfd7fe0(0x192)&&isProduction(_0x34e03d[_0xfd7fe0(0x193)])&&delete _0x34e03d['env'],_0x34e03d;}const LOCALE_MAP={'zh':a230_0xa77104(0x1a4),'zh-cn':a230_0xa77104(0x1a4),'zh_cn':a230_0xa77104(0x1a4),'en':'en-US','en-us':a230_0xa77104(0x1c3),'en_us':a230_0xa77104(0x1c3)};export function normalizeLocale(_0x235ecc){const _0x5902d9=a230_0xa77104;if(!_0x235ecc)return null;return LOCALE_MAP[_0x235ecc[_0x5902d9(0x19a)]()]??null;}
1
+ function a244_0x5a77(_0x1e9a99,_0x4947cc){_0x1e9a99=_0x1e9a99-0x173;const _0x1481c1=a244_0x1481();let _0x5a7715=_0x1481c1[_0x1e9a99];return _0x5a7715;}const a244_0x2e6eec=a244_0x5a77;(function(_0x2d8146,_0x4db5ff){const _0x25ae09=a244_0x5a77,_0x13be8b=_0x2d8146();while(!![]){try{const _0xf2476a=parseInt(_0x25ae09(0x17a))/0x1*(parseInt(_0x25ae09(0x19a))/0x2)+parseInt(_0x25ae09(0x196))/0x3*(-parseInt(_0x25ae09(0x18f))/0x4)+-parseInt(_0x25ae09(0x195))/0x5+-parseInt(_0x25ae09(0x18a))/0x6+-parseInt(_0x25ae09(0x183))/0x7*(-parseInt(_0x25ae09(0x18e))/0x8)+-parseInt(_0x25ae09(0x17f))/0x9*(-parseInt(_0x25ae09(0x1a7))/0xa)+-parseInt(_0x25ae09(0x17c))/0xb;if(_0xf2476a===_0x4db5ff)break;else _0x13be8b['push'](_0x13be8b['shift']());}catch(_0x3a586a){_0x13be8b['push'](_0x13be8b['shift']());}}}(a244_0x1481,0x436b9));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,isProduction,RABETBASE_ENV_VALUES}from'../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../constant/output.js';import{RISK_LEVEL_VALUES}from'../constant/risk.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../constant/region.js';export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';export const PROJECT_CREATE_INHERITABLE_KEYS=['cookie','accessKey','locale',a244_0x2e6eec(0x185),'riskLevel',a244_0x2e6eec(0x198),a244_0x2e6eec(0x19c),'userDomain','apiDomain',a244_0x2e6eec(0x190),a244_0x2e6eec(0x1a5),a244_0x2e6eec(0x1a8),a244_0x2e6eec(0x187),'localDomain',a244_0x2e6eec(0x199)];export const TOP_LEVEL_CONFIG_KEYS=new Set(['appcode',a244_0x2e6eec(0x17d),a244_0x2e6eec(0x19f),a244_0x2e6eec(0x185),'cookie',a244_0x2e6eec(0x175),a244_0x2e6eec(0x192),'region',a244_0x2e6eec(0x178),a244_0x2e6eec(0x19e),a244_0x2e6eec(0x190),a244_0x2e6eec(0x1a5),a244_0x2e6eec(0x1a8),a244_0x2e6eec(0x187),a244_0x2e6eec(0x1a9),'certificateDomain']);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x4bc5b0){const _0x13c42d=a244_0x2e6eec;return[..._0x4bc5b0][_0x13c42d(0x194)](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x249663){const _0x2a8a88=a244_0x2e6eec;return TOP_LEVEL_CONFIG_KEYS[_0x2a8a88(0x1a2)](_0x249663);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x186390=a244_0x2e6eec;return _0x186390(0x18b)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'region':a244_0x2e6eec(0x198),'env':'env','apiDir':a244_0x2e6eec(0x192),'cookie':a244_0x2e6eec(0x1aa),'accessKey':a244_0x2e6eec(0x175),'defaultFormat':'format','pageSize':a244_0x2e6eec(0x188),'riskLevel':a244_0x2e6eec(0x193),'locale':a244_0x2e6eec(0x19f)};export function getAppProfileFlagDefs(){const _0x581b1d=a244_0x2e6eec;return[{'name':_0x581b1d(0x198),'type':_0x581b1d(0x18d),'description':_0x581b1d(0x176),'enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':_0x581b1d(0x17d),'type':_0x581b1d(0x18d),'description':_0x581b1d(0x180),'enum':[...RABETBASE_ENV_VALUES]},{'name':_0x581b1d(0x192),'type':_0x581b1d(0x18d),'description':'API\x20directory\x20path'},{'name':_0x581b1d(0x1aa),'type':'string','description':'Auth\x20cookie','hidden':!![]},{'name':_0x581b1d(0x175),'type':_0x581b1d(0x18d),'description':_0x581b1d(0x182),'hidden':!![]},{'name':'defaultFormat','type':'string','description':'Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x581b1d(0x188),'type':_0x581b1d(0x191),'description':'Default\x20page\x20size'},{'name':_0x581b1d(0x193),'type':'string','description':_0x581b1d(0x189),'enum':[...RISK_LEVEL_VALUES]},{'name':_0x581b1d(0x19f),'type':_0x581b1d(0x18d),'description':_0x581b1d(0x17e)}];}function a244_0x1481(){const _0x2db6aa=['fromEntries','appcode','skillDomain','filter','348730YaplIw','kbDomain','localDomain','cookie','en-US','zh-CN','accessKey','Country/region\x20for\x20this\x20app\x20profile','map','userDomain','toLowerCase','4337VbuqyI','some','1137895BAIrzu','env','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','126tcPiPw','Target\x20environment','object','Access\x20key','42ppfHiq','apps','format','app','appDomain','pageSize','Risk\x20level','632058SxFNaH','Config\x20key\x20(','defaultApp','string','112696zJNRiG','4UIaOMU','runtimeDomain','number','apiDir','riskLevel','join','711145frtQCk','604371CXQOcZ','inherit','region','certificateDomain','118iSaSaO','entries','routing','trim','apiDomain','locale','length','values','has'];a244_0x1481=function(){return _0x2db6aa;};return a244_0x1481();}export function collectAppProfileOverrides(_0x1f0d70){const _0x4d9085=a244_0x2e6eec,_0x481c6e={};for(const [_0x4698dd,_0xaa41ca]of Object['entries'](APP_PROFILE_FLAG_KEY_MAP)){const _0x59eba0=_0x1f0d70(_0x4698dd);if(!_0x59eba0)continue;_0x481c6e[_0xaa41ca]=_0xaa41ca===_0x4d9085(0x188)?Number(_0x59eba0):_0x59eba0;}return _0x481c6e;}export function buildAppProfileListFields(_0x52de3d){const _0x155e5d=a244_0x2e6eec;return{'region':_0x52de3d['region']??null,'env':_0x52de3d[_0x155e5d(0x17d)]??null,'apiDir':_0x52de3d[_0x155e5d(0x192)]??null,'hasCookie':!!_0x52de3d[_0x155e5d(0x1aa)],'hasAccessKey':!!_0x52de3d[_0x155e5d(0x175)],'format':_0x52de3d['format']??null,'pageSize':_0x52de3d[_0x155e5d(0x188)]??null,'riskLevel':_0x52de3d[_0x155e5d(0x193)]??null,'locale':_0x52de3d[_0x155e5d(0x19f)]??null};}export function buildAppDoctorFields(_0x4f2928,_0x8bb47e){const _0x55e20f=a244_0x2e6eec;return{'region':{'value':_0x4f2928['region']||_0x8bb47e[_0x55e20f(0x198)],'source':_0x4f2928[_0x55e20f(0x198)]?'app':_0x55e20f(0x197)},'env':{'value':_0x4f2928[_0x55e20f(0x17d)]||_0x8bb47e[_0x55e20f(0x17d)],'source':_0x4f2928['env']?_0x55e20f(0x186):_0x55e20f(0x197)},'apiDir':{'value':_0x4f2928[_0x55e20f(0x192)]||_0x8bb47e['apiDir'],'source':_0x4f2928[_0x55e20f(0x192)]?_0x55e20f(0x186):_0x55e20f(0x197)},'cookie':{'value':_0x4f2928[_0x55e20f(0x1aa)]||_0x8bb47e['cookie'],'source':_0x4f2928[_0x55e20f(0x1aa)]?_0x55e20f(0x186):_0x55e20f(0x197)},'accessKey':{'value':_0x4f2928[_0x55e20f(0x175)]||_0x8bb47e[_0x55e20f(0x175)],'source':_0x4f2928[_0x55e20f(0x175)]?_0x55e20f(0x186):_0x55e20f(0x197)}};}export function buildCanonicalAppConfig(_0x101f0a,_0x30181e){const _0x446db6=a244_0x2e6eec,_0x4bf65c=_0x101f0a[_0x446db6(0x177)](_0x3e9385=>String(_0x3e9385||'')[_0x446db6(0x19d)]())[_0x446db6(0x1a6)](Boolean);if(_0x4bf65c[_0x446db6(0x1a0)]===0x0)return{};const _0x246a46={};for(const _0x5d051b of _0x4bf65c){_0x246a46[_0x5d051b]=_0x30181e&&!isProduction(_0x30181e)?{'appcode':_0x5d051b,'env':_0x30181e}:{'appcode':_0x5d051b};}return _0x4bf65c[_0x446db6(0x1a0)]>0x1?{'apps':_0x246a46,'defaultApp':_0x4bf65c[0x0]}:{'apps':_0x246a46};}export function normalizeStoredDefaultApp(_0x15d554,_0x1b1367){const _0x26a53b=a244_0x2e6eec,_0x574cf5=_0x15d554[_0x26a53b(0x184)]&&typeof _0x15d554['apps']===_0x26a53b(0x181)?_0x15d554[_0x26a53b(0x184)]:{},_0x14b138=Object['keys'](_0x574cf5);if(_0x14b138['length']<=0x1)return delete _0x15d554[_0x26a53b(0x18c)],undefined;const _0xf503a9=typeof _0x15d554[_0x26a53b(0x18c)]===_0x26a53b(0x18d)&&_0x574cf5[_0x15d554[_0x26a53b(0x18c)]]?_0x15d554['defaultApp']:undefined,_0x45399e=_0x1b1367&&_0x574cf5[_0x1b1367]?_0x1b1367:_0xf503a9;if(_0x45399e)return _0x15d554['defaultApp']=_0x45399e,_0x45399e;return delete _0x15d554[_0x26a53b(0x18c)],undefined;}export function buildCanonicalProjectConfig(_0xf6171b,_0x2ba53e){const _0x5abbfa=a244_0x2e6eec,{appCodes:appCodes=[],env:_0x2fc1ce,metadata:_0x5498bf}=_0x2ba53e,_0x1c2db1={..._0xf6171b,..._0x5498bf||{}};delete _0x1c2db1[_0x5abbfa(0x1a4)],delete _0x1c2db1[_0x5abbfa(0x186)];const _0x19b83d=_0x2fc1ce||(typeof _0x1c2db1[_0x5abbfa(0x17d)]==='string'?_0x1c2db1[_0x5abbfa(0x17d)]:'')||DEFAULT_CONFIG_VALUES[_0x5abbfa(0x17d)];if(isProduction(_0x19b83d))delete _0x1c2db1['env'];else _0x1c2db1[_0x5abbfa(0x17d)]=_0x19b83d;const _0x26975c=buildCanonicalAppConfig(appCodes,_0x19b83d);if(Object['keys'](_0x26975c)['length']>0x0){_0x1c2db1['apps']=_0x26975c['apps'];if(_0x26975c[_0x5abbfa(0x18c)])_0x1c2db1[_0x5abbfa(0x18c)]=_0x26975c[_0x5abbfa(0x18c)];else delete _0x1c2db1[_0x5abbfa(0x18c)];}return normalizeConfigForWrite(_0x1c2db1);}function isRecord(_0x342bf2){const _0x364904=a244_0x2e6eec;return!!_0x342bf2&&typeof _0x342bf2===_0x364904(0x181)&&!Array['isArray'](_0x342bf2);}export function normalizeConfigForWrite(_0x165869){const _0x407f88=a244_0x2e6eec,_0x1dc5e0={..._0x165869},_0x2799be=isRecord(_0x165869['apps'])?_0x165869['apps']:undefined,_0x33c9cf=_0x2799be?Object[_0x407f88(0x1a3)](Object[_0x407f88(0x19b)](_0x2799be)[_0x407f88(0x177)](([_0x221433,_0x3ea9af])=>[_0x221433,isRecord(_0x3ea9af)?{..._0x3ea9af}:_0x3ea9af])):undefined;if(_0x33c9cf){const _0x3a281b=typeof _0x1dc5e0['env']===_0x407f88(0x18d)?_0x1dc5e0[_0x407f88(0x17d)]:undefined,_0x3bb5cd=Object[_0x407f88(0x1a1)](_0x33c9cf)[_0x407f88(0x17b)](_0x119988=>isRecord(_0x119988)&&typeof _0x119988[_0x407f88(0x17d)]===_0x407f88(0x18d)&&isProduction(_0x119988[_0x407f88(0x17d)]));if(_0x3a281b&&isDaily(_0x3a281b)&&_0x3bb5cd){for(const _0x55c523 of Object[_0x407f88(0x1a1)](_0x33c9cf)){if(!isRecord(_0x55c523))continue;if(_0x55c523[_0x407f88(0x17d)]===undefined)_0x55c523[_0x407f88(0x17d)]=_0x3a281b;}delete _0x1dc5e0[_0x407f88(0x17d)];}for(const _0x1c79ed of Object['values'](_0x33c9cf)){isRecord(_0x1c79ed)&&typeof _0x1c79ed['env']===_0x407f88(0x18d)&&isProduction(_0x1c79ed['env'])&&delete _0x1c79ed[_0x407f88(0x17d)];}_0x1dc5e0['apps']=_0x33c9cf;}return typeof _0x1dc5e0[_0x407f88(0x17d)]==='string'&&isProduction(_0x1dc5e0[_0x407f88(0x17d)])&&delete _0x1dc5e0[_0x407f88(0x17d)],_0x1dc5e0;}const LOCALE_MAP={'zh':a244_0x2e6eec(0x174),'zh-cn':'zh-CN','zh_cn':'zh-CN','en':'en-US','en-us':a244_0x2e6eec(0x173),'en_us':a244_0x2e6eec(0x173)};export function normalizeLocale(_0x4aeabe){const _0x457004=a244_0x2e6eec;if(!_0x4aeabe)return null;return LOCALE_MAP[_0x4aeabe[_0x457004(0x179)]()]??null;}
@@ -1 +1 @@
1
- const a231_0x242356=a231_0x254b;function a231_0x254b(_0x2ce6a9,_0x410b0c){_0x2ce6a9=_0x2ce6a9-0x6d;const _0x17e7ec=a231_0x17e7();let _0x254be8=_0x17e7ec[_0x2ce6a9];return _0x254be8;}function a231_0x17e7(){const _0x1fac67=['19540kjUymr','1OlehoX','102zwrcFy','30926HvneVd','3660428IWkYvX','2195457jrwyyW','/templates/projects','3088owzSZg','47739288wEJXCG','152270YbKdtk','36zeGkqo','3TELRQU','1434234nTwwPt'];a231_0x17e7=function(){return _0x1fac67;};return a231_0x17e7();}(function(_0x1c0f7f,_0x3485d7){const _0x399abb=a231_0x254b,_0x42dda9=_0x1c0f7f();while(!![]){try{const _0x3eb204=-parseInt(_0x399abb(0x6f))/0x1*(parseInt(_0x399abb(0x6d))/0x2)+parseInt(_0x399abb(0x79))/0x3*(-parseInt(_0x399abb(0x72))/0x4)+-parseInt(_0x399abb(0x6e))/0x5*(-parseInt(_0x399abb(0x70))/0x6)+parseInt(_0x399abb(0x71))/0x7*(-parseInt(_0x399abb(0x75))/0x8)+parseInt(_0x399abb(0x78))/0x9*(parseInt(_0x399abb(0x77))/0xa)+parseInt(_0x399abb(0x73))/0xb+parseInt(_0x399abb(0x76))/0xc;if(_0x3eb204===_0x3485d7)break;else _0x42dda9['push'](_0x42dda9['shift']());}catch(_0x1a8b96){_0x42dda9['push'](_0x42dda9['shift']());}}}(a231_0x17e7,0xec3d1));export const RABETBASE_CDN_BASE_URL='https://g.lovrabet.com/dist/rabetbase-cli';export const CLI_VERSION_POLICY_URL=RABETBASE_CDN_BASE_URL+'/config/index.json';export const PROJECT_TEMPLATE_ASSET_BASE_URL=RABETBASE_CDN_BASE_URL+a231_0x242356(0x74);
1
+ const a245_0x1d7e30=a245_0x692c;function a245_0x50f3(){const _0x5f0ebb=['2783336JvSThG','193369yoIkSJ','/templates/projects','/config/index.json','4JZoSRD','7kwxlpW','50RNGFoN','1302984gyOlVm','310ScPtAa','https://g.lovrabet.com/dist/rabetbase-cli','101030ZTUYRs','69663rpNxhB','625764xIpjdY','143742QKtPTx'];a245_0x50f3=function(){return _0x5f0ebb;};return a245_0x50f3();}(function(_0x3f6f3b,_0x617880){const _0x3cb8d5=a245_0x692c,_0x25b404=_0x3f6f3b();while(!![]){try{const _0xee09b5=parseInt(_0x3cb8d5(0x1db))/0x1+parseInt(_0x3cb8d5(0x1d5))/0x2*(parseInt(_0x3cb8d5(0x1ce))/0x3)+parseInt(_0x3cb8d5(0x1cf))/0x4+-parseInt(_0x3cb8d5(0x1d7))/0x5*(-parseInt(_0x3cb8d5(0x1d0))/0x6)+parseInt(_0x3cb8d5(0x1d6))/0x7*(parseInt(_0x3cb8d5(0x1d1))/0x8)+-parseInt(_0x3cb8d5(0x1d8))/0x9+-parseInt(_0x3cb8d5(0x1d9))/0xa*(parseInt(_0x3cb8d5(0x1d2))/0xb);if(_0xee09b5===_0x617880)break;else _0x25b404['push'](_0x25b404['shift']());}catch(_0x47f6e1){_0x25b404['push'](_0x25b404['shift']());}}}(a245_0x50f3,0x313cb));export const RABETBASE_CDN_BASE_URL=a245_0x1d7e30(0x1da);function a245_0x692c(_0x10024b,_0x2e1387){_0x10024b=_0x10024b-0x1ce;const _0x50f3de=a245_0x50f3();let _0x692c3d=_0x50f3de[_0x10024b];return _0x692c3d;}export const CLI_VERSION_POLICY_URL=RABETBASE_CDN_BASE_URL+a245_0x1d7e30(0x1d4);export const PROJECT_TEMPLATE_ASSET_BASE_URL=RABETBASE_CDN_BASE_URL+a245_0x1d7e30(0x1d3);
@@ -1 +1 @@
1
- const a232_0x2b9595=a232_0x1de7;(function(_0x117159,_0x1ca3af){const _0x587e8c=a232_0x1de7,_0x430905=_0x117159();while(!![]){try{const _0x1b5a73=parseInt(_0x587e8c(0x10d))/0x1*(parseInt(_0x587e8c(0x103))/0x2)+parseInt(_0x587e8c(0xd5))/0x3+parseInt(_0x587e8c(0xe5))/0x4+-parseInt(_0x587e8c(0xb1))/0x5+parseInt(_0x587e8c(0xcf))/0x6+parseInt(_0x587e8c(0xf1))/0x7+parseInt(_0x587e8c(0xce))/0x8*(-parseInt(_0x587e8c(0x9e))/0x9);if(_0x1b5a73===_0x1ca3af)break;else _0x430905['push'](_0x430905['shift']());}catch(_0x145ac8){_0x430905['push'](_0x430905['shift']());}}}(a232_0x2d7e,0x19a82));export const CLI_BIN_NAME=a232_0x2b9595(0xab);function a232_0x2d7e(){const _0x1ed8b7=['550671cMwRGM','yes','Enable\x20Backend\x20Function\x20save','Force\x20non-interactive\x20mode\x20(CI)','Read\x20value\x20from\x20environment\x20variable','project','Target\x20path','description','type','confirm','Skip\x20confirmation\x20for\x20high-risk\x20writes','datasetcode','Use\x20project\x20config\x20scope','DB\x20ID','Config\x20key','schemas','447824txCGAa','file','boolean','Reveal\x20sensitive\x20value','dryRun','Expected\x20current\x20menu\x20path','operationType','Confirm\x20destructive\x20action','Expected\x20current\x20child\x20count','Force\x20overwrite','params','target','451612evFDln','Expected\x20current\x20parent\x20menu\x20id','key','page','Operation\x20type','skip-imports','enableBffSave','sqlname','menuIds','Search\x20query','Type\x20filter','db-id','operation-type','functionNode','expectParentId','clear','fromEntries','@lovrabet/rabetbase-cli','9782kgrlDr','menu-ids','topk','expectedChildrenCount','tags','expectedCount','Record\x20ID','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','<code>','production\x20|\x20daily','5owCnIe','skipImports','name','env','title','Schemas','remote','string','verbose','<expr>','locale','Verbose\x20output','sqlcode','SQL\x20code','sort','map','help','description-file','operation','from-env','meowKey','code','2453643rupiVH','Use\x20remote','keyword','format','value','Override\x20appcode','Tags','zh-CN\x20|\x20en-US','Keyword\x20filter','Clear','stdin','sqlName','sql-name','rabetbase','Menu\x20sort\x20value','Config\x20value','app','global','SQL\x20name','345825OzQosT','output','dbid','Environment','Skip\x20import\x20generation','appcode','parentId','label','expected-children-count','force','Output\x20format','Description\x20file','Comma-separated\x20menu\x20IDs','pagesize','Use\x20global\x20config\x20scope','Code\x20filter','Menu\x20label','<name>','expected-count','Preview\x20operation\x20without\x20executing','nonInteractive','all','Maximum\x20search\x20hits','Name','Function\x20node','Title','Page\x20number','Apply\x20to\x20all','json\x20|\x20pretty\x20|\x20compress','8pgrQgL','374388CGZGXU','sql','Page\x20size','reveal','Read\x20value\x20from\x20stdin','query'];a232_0x2d7e=function(){return _0x1ed8b7;};return a232_0x2d7e();}export const CLI_DISPLAY_NAME='Rabetbase\x20CLI';export const NPM_PACKAGE_NAME=a232_0x2b9595(0x102);export const GLOBAL_FLAGS=[{'name':a232_0x2b9595(0xb6),'meowKey':a232_0x2b9595(0xb6),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xa3),'hint':a232_0x2b9595(0x10b)},{'name':'app','meowKey':'app','type':a232_0x2b9595(0x114),'description':'Select\x20app\x20profile\x20by\x20name','hint':a232_0x2b9595(0xc2)},{'name':a232_0x2b9595(0x110),'meowKey':a232_0x2b9595(0x110),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xb4),'hint':a232_0x2b9595(0x10c)},{'name':a232_0x2b9595(0xa1),'meowKey':'format','type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xbb),'hint':a232_0x2b9595(0xcd)},{'name':'jq','meowKey':'jq','type':a232_0x2b9595(0x114),'description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','hint':a232_0x2b9595(0x116)},{'name':'dry-run','meowKey':a232_0x2b9595(0xe9),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0xc4)},{'name':'yes','meowKey':a232_0x2b9595(0xd6),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0xdf)},{'name':'non-interactive','meowKey':a232_0x2b9595(0xc5),'type':'boolean','description':a232_0x2b9595(0xd8)},{'name':a232_0x2b9595(0xaf),'meowKey':a232_0x2b9595(0xaf),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0xbf)},{'name':a232_0x2b9595(0xda),'meowKey':a232_0x2b9595(0xda),'type':'boolean','description':a232_0x2b9595(0xe1)},{'name':'ci','meowKey':'ci','type':'boolean','description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':a232_0x2b9595(0x11d),'meowKey':a232_0x2b9595(0x11d),'type':a232_0x2b9595(0xe7),'description':'Show\x20help'},{'name':a232_0x2b9595(0x117),'meowKey':a232_0x2b9595(0x117),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0x10a),'hidden':!![],'hint':a232_0x2b9595(0xa5)},{'name':'name','meowKey':a232_0x2b9595(0x10f),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xc8),'hidden':!![]},{'name':a232_0x2b9595(0x111),'meowKey':a232_0x2b9595(0x111),'type':'string','description':a232_0x2b9595(0xca),'hidden':!![]},{'name':a232_0x2b9595(0xd4),'meowKey':'query','type':'string','description':a232_0x2b9595(0xfa),'hidden':!![]},{'name':'topk','meowKey':a232_0x2b9595(0x105),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xc7),'hidden':!![]},{'name':'clear','meowKey':a232_0x2b9595(0x100),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0xa7),'hidden':!![]},{'name':'watch','meowKey':'watch','type':'boolean','description':'Watch\x20mode','hidden':!![]},{'name':'output','meowKey':a232_0x2b9595(0xb2),'type':'string','description':'Output\x20path','hidden':!![]},{'name':a232_0x2b9595(0xef),'meowKey':a232_0x2b9595(0xef),'type':a232_0x2b9595(0x114),'description':'JSON\x20params','hidden':!![]},{'name':a232_0x2b9595(0xe0),'meowKey':'datasetcode','type':a232_0x2b9595(0x114),'description':'Dataset\x20code','hidden':!![]},{'name':a232_0x2b9595(0xc6),'meowKey':a232_0x2b9595(0xc6),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0xcc),'hidden':!![]},{'name':'enable-bff-save','meowKey':a232_0x2b9595(0xf7),'type':'boolean','description':a232_0x2b9595(0xd7),'hidden':!![]},{'name':'id','meowKey':'id','type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0x109),'hidden':!![]},{'name':'type','meowKey':a232_0x2b9595(0xdd),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xfb),'hidden':!![]},{'name':'file','meowKey':a232_0x2b9595(0xe6),'type':a232_0x2b9595(0x114),'description':'File\x20path','hidden':!![]},{'name':a232_0x2b9595(0x119),'meowKey':a232_0x2b9595(0x119),'type':'string','description':a232_0x2b9595(0x11a),'hidden':!![]},{'name':a232_0x2b9595(0xaa),'meowKey':a232_0x2b9595(0xa9),'type':a232_0x2b9595(0x114),'description':'SQL\x20name','hidden':!![]},{'name':a232_0x2b9595(0xf8),'meowKey':a232_0x2b9595(0xf8),'type':'string','description':a232_0x2b9595(0xb0),'hidden':!![]},{'name':a232_0x2b9595(0xfc),'meowKey':'dbId','type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xe2),'hidden':!![]},{'name':a232_0x2b9595(0xb3),'meowKey':a232_0x2b9595(0xb3),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xe2),'hidden':!![]},{'name':a232_0x2b9595(0xdc),'meowKey':'description','type':'string','description':'Description','hidden':!![]},{'name':a232_0x2b9595(0x11e),'meowKey':'descriptionFile','type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xbc),'hidden':!![]},{'name':'page','meowKey':a232_0x2b9595(0xf4),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xcb),'hidden':!![]},{'name':a232_0x2b9595(0xbe),'meowKey':'pagesize','type':'string','description':a232_0x2b9595(0xd1),'hidden':!![]},{'name':a232_0x2b9595(0xa0),'meowKey':a232_0x2b9595(0xa0),'type':'string','description':a232_0x2b9595(0xa6),'hidden':!![]},{'name':a232_0x2b9595(0x9d),'meowKey':a232_0x2b9595(0x9d),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xc0),'hidden':!![]},{'name':a232_0x2b9595(0xd0),'meowKey':'sql','type':'string','description':'SQL\x20string','hidden':!![]},{'name':a232_0x2b9595(0xe4),'meowKey':a232_0x2b9595(0xe4),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0x112),'hidden':!![]},{'name':a232_0x2b9595(0x9a),'meowKey':a232_0x2b9595(0x9a),'type':'string','description':a232_0x2b9595(0xf5),'hidden':!![]},{'name':a232_0x2b9595(0xf0),'meowKey':a232_0x2b9595(0xf0),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xdb),'hidden':!![]},{'name':a232_0x2b9595(0xf6),'meowKey':a232_0x2b9595(0x10e),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0xb5),'hidden':!![]},{'name':a232_0x2b9595(0xf3),'meowKey':a232_0x2b9595(0xf3),'type':'string','description':a232_0x2b9595(0xe3),'hidden':!![]},{'name':a232_0x2b9595(0xa2),'meowKey':a232_0x2b9595(0xa2),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xad),'hidden':!![]},{'name':a232_0x2b9595(0x107),'meowKey':a232_0x2b9595(0x107),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xa4),'hidden':!![]},{'name':a232_0x2b9595(0xa8),'meowKey':a232_0x2b9595(0xa8),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0xd3),'hidden':!![]},{'name':a232_0x2b9595(0x9b),'meowKey':'fromEnv','type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xd9),'hidden':!![]},{'name':a232_0x2b9595(0xd2),'meowKey':a232_0x2b9595(0xd2),'type':'boolean','description':a232_0x2b9595(0xe8),'hidden':!![]},{'name':'force','meowKey':a232_0x2b9595(0xba),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0xee),'hidden':!![]},{'name':a232_0x2b9595(0xde),'meowKey':a232_0x2b9595(0xde),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0xec),'hidden':!![]},{'name':a232_0x2b9595(0x113),'meowKey':'remote','type':'boolean','description':a232_0x2b9595(0x9f),'hidden':!![]},{'name':a232_0x2b9595(0x115),'meowKey':a232_0x2b9595(0x115),'type':a232_0x2b9595(0xe7),'description':a232_0x2b9595(0x118),'hidden':!![]},{'name':a232_0x2b9595(0xc3),'meowKey':a232_0x2b9595(0x108),'type':a232_0x2b9595(0x114),'description':'Expected\x20affected\x20count','hidden':!![]},{'name':a232_0x2b9595(0xb8),'meowKey':a232_0x2b9595(0xb8),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xc1),'hidden':!![]},{'name':'parent-id','meowKey':a232_0x2b9595(0xb7),'type':a232_0x2b9595(0x114),'description':'Parent\x20menu\x20id','hidden':!![]},{'name':a232_0x2b9595(0x11b),'meowKey':a232_0x2b9595(0x11b),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xac),'hidden':!![]},{'name':'expect-parent-id','meowKey':a232_0x2b9595(0xff),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xf2),'hidden':!![]},{'name':'expect-path','meowKey':'expectPath','type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xea),'hidden':!![]},{'name':a232_0x2b9595(0xb9),'meowKey':a232_0x2b9595(0x106),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xed),'hidden':!![]},{'name':a232_0x2b9595(0x104),'meowKey':a232_0x2b9595(0xf9),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xbd),'hidden':!![]},{'name':'task-id','meowKey':'taskId','type':a232_0x2b9595(0x114),'description':'Asynchronous\x20task\x20ID','hidden':!![]},{'name':a232_0x2b9595(0xfd),'meowKey':a232_0x2b9595(0xeb),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xf5),'hidden':!![]},{'name':'function-node','meowKey':a232_0x2b9595(0xfe),'type':a232_0x2b9595(0x114),'description':a232_0x2b9595(0xc9),'hidden':!![]},{'name':'codes','meowKey':'codes','type':'string','description':'Comma-separated\x20metadata\x20codes','hidden':!![]}];function a232_0x1de7(_0x2e034,_0x1d4707){_0x2e034=_0x2e034-0x9a;const _0x2d7e05=a232_0x2d7e();let _0x1de74f=_0x2d7e05[_0x2e034];return _0x1de74f;}export const PIPELINE_FLAG_NAMES=new Set([a232_0x2b9595(0xb6),a232_0x2b9595(0xae),a232_0x2b9595(0x110),'format','jq','dry-run','yes','non-interactive','ci']);export function buildMeowFlags(){const _0x53522d=a232_0x2b9595;return Object[_0x53522d(0x101)](GLOBAL_FLAGS[_0x53522d(0x11c)](_0x52076e=>[_0x52076e[_0x53522d(0x9c)],{'type':_0x52076e['type']}]));}
1
+ const a246_0x164b29=a246_0x5f40;function a246_0x3770(){const _0x214fc2=['description','schemas','Read\x20value\x20from\x20stdin','dataset-code','4982481ETGMgM','force','Search\x20query','Flow\x20status','Use\x20remote','file','flow-type','value','boolean','functionNode','target','dry-run','tags','clear','Expected\x20current\x20menu\x20path','yes','Description','env','DB\x20ID','remote','descriptionFile','Page\x20size','JSON\x20params','json\x20|\x20pretty\x20|\x20compress','zh-CN\x20|\x20en-US','sqlname','stdin','non-interactive','Operation\x20type','flowStatus','map','expectedCount','operationType','verbose','Clear','reveal','title','dryRun','6110710hgdOwS','4684386olhSSZ','flow-status','expected-children-count','app','pageSize','Force\x20non-interactive\x20mode\x20(CI)','flowType','Select\x20app\x20profile\x20by\x20name','fromEntries','dbid','page-size','Page\x20number','flowCode','all','Flow\x20type','page','label','Use\x20global\x20config\x20scope','662445ivAPHN','flow-name','SQL\x20name','key','rabetbase','function-node','SQL\x20string','Code\x20filter','Alias\x20for\x20--non-interactive','expectPath','codes','db-id','menu-ids','meowKey','enable-bff-save','datasetcode','operation','Apply\x20to\x20all','Description\x20file','Config\x20value','topk','skipImports','Flow\x20name','output','33MKovAe','Enable\x20Backend\x20Function\x20save','watch','Expected\x20affected\x20count','Show\x20help','locale','sql-name','128UKZuur','expected-count','Rabetbase\x20CLI','params','Config\x20key','Menu\x20sort\x20value','Asynchronous\x20task\x20ID','pagesize','Record\x20ID','Target\x20path','15CEgEIT','sort','string','appcode','expect-path','Type\x20filter','expectParentId','nonInteractive','Dataset\x20code','query','menuIds','Output\x20path','flowName','Read\x20value\x20from\x20environment\x20variable','help','enableBffSave','type','File\x20path','<name>','Function\x20node','flow-code','project','global','<expr>','3SNzMAD','from-env','Confirm\x20destructive\x20action','name','task-id','Name','Menu\x20label','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','Use\x20project\x20config\x20scope','code','confirm','Reveal\x20sensitive\x20value','sqlcode','Expected\x20current\x20child\x20count','1627202rEvuNM','parentId','fromEnv','production\x20|\x20daily','expectedChildrenCount','1506839riXUJg','Preview\x20operation\x20without\x20executing','Maximum\x20search\x20hits','skip-imports','Watch\x20mode','1910124iJNkYJ','format','SQL\x20code','Environment'];a246_0x3770=function(){return _0x214fc2;};return a246_0x3770();}(function(_0x32689f,_0x24aa3f){const _0x4fd988=a246_0x5f40,_0x57e566=_0x32689f();while(!![]){try{const _0x26a66e=-parseInt(_0x4fd988(0x138))/0x1+parseInt(_0x4fd988(0x133))/0x2*(-parseInt(_0x4fd988(0x125))/0x3)+parseInt(_0x4fd988(0x13d))/0x4*(parseInt(_0x4fd988(0x10d))/0x5)+parseInt(_0x4fd988(0xd2))/0x6+parseInt(_0x4fd988(0xe4))/0x7*(-parseInt(_0x4fd988(0x103))/0x8)+parseInt(_0x4fd988(0x145))/0x9+parseInt(_0x4fd988(0xd1))/0xa*(parseInt(_0x4fd988(0xfc))/0xb);if(_0x26a66e===_0x24aa3f)break;else _0x57e566['push'](_0x57e566['shift']());}catch(_0x122617){_0x57e566['push'](_0x57e566['shift']());}}}(a246_0x3770,0xbae6a));export const CLI_BIN_NAME=a246_0x164b29(0xe8);function a246_0x5f40(_0x4e4925,_0x296657){_0x4e4925=_0x4e4925-0xb8;const _0x3770cd=a246_0x3770();let _0x5f4009=_0x3770cd[_0x4e4925];return _0x5f4009;}export const CLI_DISPLAY_NAME=a246_0x164b29(0x105);export const NPM_PACKAGE_NAME='@lovrabet/rabetbase-cli';export const GLOBAL_FLAGS=[{'name':a246_0x164b29(0x110),'meowKey':a246_0x164b29(0x110),'type':a246_0x164b29(0x10f),'description':'Override\x20appcode','hint':'<code>'},{'name':'app','meowKey':a246_0x164b29(0xd5),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0xd9),'hint':a246_0x164b29(0x11f)},{'name':a246_0x164b29(0xbc),'meowKey':'env','type':'string','description':a246_0x164b29(0x140),'hint':a246_0x164b29(0x136)},{'name':a246_0x164b29(0x13e),'meowKey':a246_0x164b29(0x13e),'type':'string','description':'Output\x20format','hint':a246_0x164b29(0xc2)},{'name':'jq','meowKey':'jq','type':a246_0x164b29(0x10f),'description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','hint':a246_0x164b29(0x124)},{'name':a246_0x164b29(0x150),'meowKey':a246_0x164b29(0xd0),'type':a246_0x164b29(0x14d),'description':a246_0x164b29(0x139)},{'name':'yes','meowKey':a246_0x164b29(0xba),'type':a246_0x164b29(0x14d),'description':'Skip\x20confirmation\x20for\x20high-risk\x20writes'},{'name':a246_0x164b29(0xc6),'meowKey':a246_0x164b29(0x114),'type':'boolean','description':a246_0x164b29(0xd7)},{'name':a246_0x164b29(0x123),'meowKey':a246_0x164b29(0x123),'type':'boolean','description':a246_0x164b29(0xe3)},{'name':a246_0x164b29(0x122),'meowKey':a246_0x164b29(0x122),'type':a246_0x164b29(0x14d),'description':a246_0x164b29(0x12d)},{'name':'ci','meowKey':'ci','type':a246_0x164b29(0x14d),'description':a246_0x164b29(0xec),'hidden':!![]},{'name':a246_0x164b29(0x11b),'meowKey':a246_0x164b29(0x11b),'type':'boolean','description':a246_0x164b29(0x100)},{'name':a246_0x164b29(0x101),'meowKey':a246_0x164b29(0x101),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0x12c),'hidden':!![],'hint':a246_0x164b29(0xc3)},{'name':a246_0x164b29(0x128),'meowKey':a246_0x164b29(0x128),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0x12a),'hidden':!![]},{'name':a246_0x164b29(0xcf),'meowKey':'title','type':'string','description':'Title','hidden':!![]},{'name':a246_0x164b29(0x116),'meowKey':a246_0x164b29(0x116),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0x147),'hidden':!![]},{'name':a246_0x164b29(0xf8),'meowKey':a246_0x164b29(0xf8),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0x13a),'hidden':!![]},{'name':'clear','meowKey':a246_0x164b29(0xb8),'type':a246_0x164b29(0x14d),'description':a246_0x164b29(0xcd),'hidden':!![]},{'name':a246_0x164b29(0xfe),'meowKey':a246_0x164b29(0xfe),'type':a246_0x164b29(0x14d),'description':a246_0x164b29(0x13c),'hidden':!![]},{'name':'output','meowKey':a246_0x164b29(0xfb),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0x118),'hidden':!![]},{'name':a246_0x164b29(0x106),'meowKey':'params','type':'string','description':a246_0x164b29(0xc1),'hidden':!![]},{'name':a246_0x164b29(0xf3),'meowKey':a246_0x164b29(0xf3),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0x115),'hidden':!![]},{'name':'all','meowKey':a246_0x164b29(0xdf),'type':a246_0x164b29(0x14d),'description':a246_0x164b29(0xf5),'hidden':!![]},{'name':a246_0x164b29(0xf2),'meowKey':a246_0x164b29(0x11c),'type':a246_0x164b29(0x14d),'description':a246_0x164b29(0xfd),'hidden':!![]},{'name':'id','meowKey':'id','type':a246_0x164b29(0x10f),'description':a246_0x164b29(0x10b),'hidden':!![]},{'name':a246_0x164b29(0x11d),'meowKey':a246_0x164b29(0x11d),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0x112),'hidden':!![]},{'name':'file','meowKey':a246_0x164b29(0x14a),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0x11e),'hidden':!![]},{'name':a246_0x164b29(0x121),'meowKey':a246_0x164b29(0xde),'type':a246_0x164b29(0x10f),'description':'Flow\x20code','hidden':!![]},{'name':a246_0x164b29(0xe5),'meowKey':a246_0x164b29(0x119),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0xfa),'hidden':!![]},{'name':a246_0x164b29(0xd3),'meowKey':a246_0x164b29(0xc8),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0x148),'hidden':!![]},{'name':a246_0x164b29(0x14b),'meowKey':a246_0x164b29(0xd8),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0xe0),'hidden':!![]},{'name':a246_0x164b29(0x144),'meowKey':'datasetCode','type':a246_0x164b29(0x10f),'description':a246_0x164b29(0x115),'hidden':!![]},{'name':a246_0x164b29(0x131),'meowKey':a246_0x164b29(0x131),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0x13f),'hidden':!![]},{'name':a246_0x164b29(0x102),'meowKey':'sqlName','type':a246_0x164b29(0x10f),'description':a246_0x164b29(0xe6),'hidden':!![]},{'name':a246_0x164b29(0xc4),'meowKey':'sqlname','type':a246_0x164b29(0x10f),'description':a246_0x164b29(0xe6),'hidden':!![]},{'name':a246_0x164b29(0xef),'meowKey':'dbId','type':a246_0x164b29(0x10f),'description':a246_0x164b29(0xbd),'hidden':!![]},{'name':a246_0x164b29(0xdb),'meowKey':a246_0x164b29(0xdb),'type':a246_0x164b29(0x10f),'description':'DB\x20ID','hidden':!![]},{'name':a246_0x164b29(0x141),'meowKey':'description','type':'string','description':a246_0x164b29(0xbb),'hidden':!![]},{'name':'description-file','meowKey':a246_0x164b29(0xbf),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0xf6),'hidden':!![]},{'name':a246_0x164b29(0xe1),'meowKey':a246_0x164b29(0xe1),'type':'string','description':a246_0x164b29(0xdd),'hidden':!![]},{'name':a246_0x164b29(0xdc),'meowKey':a246_0x164b29(0xd6),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0xc0),'hidden':!![]},{'name':a246_0x164b29(0x10a),'meowKey':a246_0x164b29(0x10a),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0xc0),'hidden':!![]},{'name':'keyword','meowKey':'keyword','type':a246_0x164b29(0x10f),'description':'Keyword\x20filter','hidden':!![]},{'name':a246_0x164b29(0x12e),'meowKey':a246_0x164b29(0x12e),'type':'string','description':a246_0x164b29(0xeb),'hidden':!![]},{'name':'sql','meowKey':'sql','type':a246_0x164b29(0x10f),'description':a246_0x164b29(0xea),'hidden':!![]},{'name':a246_0x164b29(0x142),'meowKey':a246_0x164b29(0x142),'type':a246_0x164b29(0x10f),'description':'Schemas','hidden':!![]},{'name':a246_0x164b29(0xf4),'meowKey':'operation','type':a246_0x164b29(0x10f),'description':'Operation\x20type','hidden':!![]},{'name':a246_0x164b29(0x14f),'meowKey':a246_0x164b29(0x14f),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0x10c),'hidden':!![]},{'name':a246_0x164b29(0x13b),'meowKey':a246_0x164b29(0xf9),'type':a246_0x164b29(0x14d),'description':'Skip\x20import\x20generation','hidden':!![]},{'name':a246_0x164b29(0xe7),'meowKey':a246_0x164b29(0xe7),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0x107),'hidden':!![]},{'name':a246_0x164b29(0x14c),'meowKey':a246_0x164b29(0x14c),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0xf7),'hidden':!![]},{'name':a246_0x164b29(0x151),'meowKey':a246_0x164b29(0x151),'type':a246_0x164b29(0x10f),'description':'Tags','hidden':!![]},{'name':a246_0x164b29(0xc5),'meowKey':a246_0x164b29(0xc5),'type':a246_0x164b29(0x14d),'description':a246_0x164b29(0x143),'hidden':!![]},{'name':a246_0x164b29(0x126),'meowKey':a246_0x164b29(0x135),'type':'string','description':a246_0x164b29(0x11a),'hidden':!![]},{'name':a246_0x164b29(0xce),'meowKey':'reveal','type':'boolean','description':a246_0x164b29(0x130),'hidden':!![]},{'name':a246_0x164b29(0x146),'meowKey':'force','type':a246_0x164b29(0x14d),'description':'Force\x20overwrite','hidden':!![]},{'name':a246_0x164b29(0x12f),'meowKey':a246_0x164b29(0x12f),'type':a246_0x164b29(0x14d),'description':a246_0x164b29(0x127),'hidden':!![]},{'name':a246_0x164b29(0xbe),'meowKey':a246_0x164b29(0xbe),'type':'boolean','description':a246_0x164b29(0x149),'hidden':!![]},{'name':a246_0x164b29(0xcc),'meowKey':a246_0x164b29(0xcc),'type':'boolean','description':'Verbose\x20output','hidden':!![]},{'name':a246_0x164b29(0x104),'meowKey':a246_0x164b29(0xca),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0xff),'hidden':!![]},{'name':a246_0x164b29(0xe2),'meowKey':a246_0x164b29(0xe2),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0x12b),'hidden':!![]},{'name':'parent-id','meowKey':a246_0x164b29(0x134),'type':'string','description':'Parent\x20menu\x20id','hidden':!![]},{'name':a246_0x164b29(0x10e),'meowKey':'sort','type':a246_0x164b29(0x10f),'description':a246_0x164b29(0x108),'hidden':!![]},{'name':'expect-parent-id','meowKey':a246_0x164b29(0x113),'type':a246_0x164b29(0x10f),'description':'Expected\x20current\x20parent\x20menu\x20id','hidden':!![]},{'name':a246_0x164b29(0x111),'meowKey':a246_0x164b29(0xed),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0xb9),'hidden':!![]},{'name':a246_0x164b29(0xd4),'meowKey':a246_0x164b29(0x137),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0x132),'hidden':!![]},{'name':a246_0x164b29(0xf0),'meowKey':a246_0x164b29(0x117),'type':a246_0x164b29(0x10f),'description':'Comma-separated\x20menu\x20IDs','hidden':!![]},{'name':a246_0x164b29(0x129),'meowKey':'taskId','type':a246_0x164b29(0x10f),'description':a246_0x164b29(0x109),'hidden':!![]},{'name':'operation-type','meowKey':a246_0x164b29(0xcb),'type':a246_0x164b29(0x10f),'description':a246_0x164b29(0xc7),'hidden':!![]},{'name':a246_0x164b29(0xe9),'meowKey':a246_0x164b29(0x14e),'type':'string','description':a246_0x164b29(0x120),'hidden':!![]},{'name':'codes','meowKey':a246_0x164b29(0xee),'type':a246_0x164b29(0x10f),'description':'Comma-separated\x20metadata\x20codes','hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set(['appcode',a246_0x164b29(0xd5),a246_0x164b29(0xbc),a246_0x164b29(0x13e),'jq',a246_0x164b29(0x150),a246_0x164b29(0xba),a246_0x164b29(0xc6),'ci']);export function buildMeowFlags(){const _0x26b8c9=a246_0x164b29;return Object[_0x26b8c9(0xda)](GLOBAL_FLAGS[_0x26b8c9(0xc9)](_0x556e72=>[_0x556e72[_0x26b8c9(0xf1)],{'type':_0x556e72[_0x26b8c9(0x11d)]}]));}
@@ -1 +1 @@
1
- const a233_0x394e1a=a233_0x4a9e;function a233_0x4a9e(_0x51513c,_0x778ffb){_0x51513c=_0x51513c-0x1ed;const _0x4c176d=a233_0x4c17();let _0x4a9e43=_0x4c176d[_0x51513c];return _0x4a9e43;}(function(_0xd46fa2,_0x124e6b){const _0x2de9b2=a233_0x4a9e,_0x503fab=_0xd46fa2();while(!![]){try{const _0x12aa5c=parseInt(_0x2de9b2(0x1f5))/0x1+parseInt(_0x2de9b2(0x1f8))/0x2+parseInt(_0x2de9b2(0x1ef))/0x3+parseInt(_0x2de9b2(0x1f0))/0x4+-parseInt(_0x2de9b2(0x1f1))/0x5*(-parseInt(_0x2de9b2(0x1f2))/0x6)+parseInt(_0x2de9b2(0x1ee))/0x7*(parseInt(_0x2de9b2(0x1f7))/0x8)+-parseInt(_0x2de9b2(0x1ed))/0x9*(parseInt(_0x2de9b2(0x1f4))/0xa);if(_0x12aa5c===_0x124e6b)break;else _0x503fab['push'](_0x503fab['shift']());}catch(_0x4e0780){_0x503fab['push'](_0x503fab['shift']());}}}(a233_0x4c17,0x644ef));function a233_0x4c17(){const _0x2e47f1=['583537yVPMTh','compress','7120zALCBB','1094214WYcSny','512478dUDCRu','4858GYOyic','2365287ByFBht','2599460DNbHhU','5LmgOQx','3161406heHdft','production','580AaUpZN'];a233_0x4c17=function(){return _0x2e47f1;};return a233_0x4c17();}import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a233_0x394e1a(0x1f3),'format':a233_0x394e1a(0x1f6),'locale':'en-US','riskLevel':'write','apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a233_0x394e1a(0x1f6);
1
+ const a247_0x54b7f4=a247_0x2c48;(function(_0x410bbe,_0x39416b){const _0x5ea9b3=a247_0x2c48,_0xa1d23c=_0x410bbe();while(!![]){try{const _0x49ce04=-parseInt(_0x5ea9b3(0xdd))/0x1*(-parseInt(_0x5ea9b3(0xd7))/0x2)+parseInt(_0x5ea9b3(0xd2))/0x3+-parseInt(_0x5ea9b3(0xd6))/0x4+parseInt(_0x5ea9b3(0xd9))/0x5+-parseInt(_0x5ea9b3(0xdb))/0x6*(parseInt(_0x5ea9b3(0xd5))/0x7)+-parseInt(_0x5ea9b3(0xdc))/0x8*(-parseInt(_0x5ea9b3(0xd3))/0x9)+-parseInt(_0x5ea9b3(0xd8))/0xa;if(_0x49ce04===_0x39416b)break;else _0xa1d23c['push'](_0xa1d23c['shift']());}catch(_0x2b7140){_0xa1d23c['push'](_0xa1d23c['shift']());}}}(a247_0x28cd,0x7fcdc));function a247_0x2c48(_0x40dc95,_0x23b113){_0x40dc95=_0x40dc95-0xd2;const _0x28cd01=a247_0x28cd();let _0x2c48ce=_0x28cd01[_0x40dc95];return _0x2c48ce;}import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':'production','format':a247_0x54b7f4(0xda),'locale':a247_0x54b7f4(0xd4),'riskLevel':'write','apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT='compress';function a247_0x28cd(){const _0x5ddbdb=['1470944HpjWqH','26356AcIvoy','8066940jlPzLa','1186745FQiCoo','compress','127158FyopJN','21416FVmlbr','1XxaATE','2887881kPgHgF','1701kCdDwK','en-US','7szUyqY'];a247_0x28cd=function(){return _0x5ddbdb;};return a247_0x28cd();}
@@ -1 +1 @@
1
- const a234_0x64577c=a234_0x34f1;(function(_0x55b80a,_0xf29d02){const _0x16c4fd=a234_0x34f1,_0x1dea66=_0x55b80a();while(!![]){try{const _0x2e56a9=-parseInt(_0x16c4fd(0x1e6))/0x1*(parseInt(_0x16c4fd(0x1ec))/0x2)+parseInt(_0x16c4fd(0x1f4))/0x3+-parseInt(_0x16c4fd(0x1ed))/0x4+parseInt(_0x16c4fd(0x1f9))/0x5+-parseInt(_0x16c4fd(0x1e9))/0x6+parseInt(_0x16c4fd(0x1fa))/0x7+parseInt(_0x16c4fd(0x1ea))/0x8;if(_0x2e56a9===_0xf29d02)break;else _0x1dea66['push'](_0x1dea66['shift']());}catch(_0x385c96){_0x1dea66['push'](_0x1dea66['shift']());}}}(a234_0x24cb,0x9a557));import{getEnv,isProduction}from'../constant/env.js';function a234_0x34f1(_0x343724,_0x2d86c1){_0x343724=_0x343724-0x1e3;const _0x24cb6a=a234_0x24cb();let _0x34f1cf=_0x24cb6a[_0x343724];return _0x34f1cf;}import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';import{getOfficialRoutingCdn,getOfficialRoutingProfile}from'../constant/routing-profile.js';function a234_0x24cb(){const _0x1d4aa6=['2299484gHelmX','localDomain','skill','/app/','hostname','apiDomain','production','3345168fCbKkP','region','trim','runtime','/web-app/app/','3425385HGMxer','140287hIIAIq','kbDomain','serviceDomains','app','userDomain','skillDomain','157363tnmWrP','runtimeDomain','api','6489756UVGyUF','12560120PmfjDc','user','14LzeSPP'];a234_0x24cb=function(){return _0x1d4aa6;};return a234_0x24cb();}let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbDomain,customAppDomain,customLocalDomain,customCertificateDomain,customCdn,activeRegion=DEFAULT_LOVRABET_REGION;function getActiveRegionDomains(){const _0x2fcc6f=a234_0x34f1,_0x2311ba=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x2311ba[_0x2fcc6f(0x1fc)][_0x2fcc6f(0x1f3)]:_0x2311ba['serviceDomains']['daily']??_0x2311ba['serviceDomains'][_0x2fcc6f(0x1f3)];}export function initDomains(_0x1516af){const _0x191f5a=a234_0x34f1;customApiDomain=_0x1516af?.[_0x191f5a(0x1f2)],customUserDomain=_0x1516af?.[_0x191f5a(0x1e4)],customRuntimeDomain=_0x1516af?.[_0x191f5a(0x1e7)],customSkillDomain=_0x1516af?.[_0x191f5a(0x1e5)],customKbDomain=_0x1516af?.[_0x191f5a(0x1fb)],customAppDomain=_0x1516af?.['appDomain'],customLocalDomain=_0x1516af?.[_0x191f5a(0x1ee)],customCertificateDomain=_0x1516af?.['certificateDomain'],customCdn=_0x1516af?.['cdn'],activeRegion=_0x1516af?.[_0x191f5a(0x1f5)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a234_0x64577c(0x1eb)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a234_0x64577c(0x1e8)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a234_0x64577c(0x1f7)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a234_0x64577c(0x1ef)];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a234_0x64577c(0x1e3)];export const getActiveRegion=()=>activeRegion;export const getLocalDomain=()=>customLocalDomain;export const getCertificateDomain=()=>customCertificateDomain;export const getActiveCdn=()=>customCdn||getOfficialRoutingCdn(activeRegion);export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customAppDomain||customLocalDomain||customCertificateDomain);}export function getSdkClientRoutingConfig(){if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()['runtime'])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x3f3a8d=>{const _0x3edc60=a234_0x64577c,_0x554ddf=encodeURIComponent(_0x3f3a8d[_0x3edc60(0x1f6)]());return isProduction(getEnv())?getAppDomain()+_0x3edc60(0x1f0)+_0x554ddf:getAppDomain()+_0x3edc60(0x1f8)+_0x554ddf;};export const getPublishedAppDomain=_0x5b8895=>{const _0x583d8d=a234_0x64577c,_0x2212f8=new URL(getAppDomain());return _0x2212f8[_0x583d8d(0x1f1)]=_0x5b8895[_0x583d8d(0x1f6)]()+'.'+_0x2212f8['hostname'],_0x2212f8['origin'];};
1
+ const a248_0x3f9415=a248_0x2a78;(function(_0x16a081,_0x19e3f3){const _0x45c9bb=a248_0x2a78,_0x1ee149=_0x16a081();while(!![]){try{const _0x2b7ffe=parseInt(_0x45c9bb(0x1ce))/0x1+-parseInt(_0x45c9bb(0x1d1))/0x2+-parseInt(_0x45c9bb(0x1d8))/0x3*(parseInt(_0x45c9bb(0x1c9))/0x4)+parseInt(_0x45c9bb(0x1ca))/0x5*(-parseInt(_0x45c9bb(0x1c6))/0x6)+parseInt(_0x45c9bb(0x1db))/0x7*(parseInt(_0x45c9bb(0x1d6))/0x8)+parseInt(_0x45c9bb(0x1cf))/0x9+-parseInt(_0x45c9bb(0x1da))/0xa*(-parseInt(_0x45c9bb(0x1d5))/0xb);if(_0x2b7ffe===_0x19e3f3)break;else _0x1ee149['push'](_0x1ee149['shift']());}catch(_0x3a91d4){_0x1ee149['push'](_0x1ee149['shift']());}}}(a248_0x51d2,0x81af4));import{getEnv,isProduction}from'../constant/env.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';import{getOfficialRoutingCdn,getOfficialRoutingProfile}from'../constant/routing-profile.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbDomain,customAppDomain,customLocalDomain,customCertificateDomain,customCdn,activeRegion=DEFAULT_LOVRABET_REGION;function getActiveRegionDomains(){const _0x40c98d=a248_0x2a78,_0x548c1a=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x548c1a[_0x40c98d(0x1cc)][_0x40c98d(0x1e0)]:_0x548c1a['serviceDomains'][_0x40c98d(0x1d2)]??_0x548c1a[_0x40c98d(0x1cc)][_0x40c98d(0x1e0)];}export function initDomains(_0x1e514c){const _0x58aec9=a248_0x2a78;customApiDomain=_0x1e514c?.['apiDomain'],customUserDomain=_0x1e514c?.[_0x58aec9(0x1cb)],customRuntimeDomain=_0x1e514c?.['runtimeDomain'],customSkillDomain=_0x1e514c?.[_0x58aec9(0x1e3)],customKbDomain=_0x1e514c?.[_0x58aec9(0x1dc)],customAppDomain=_0x1e514c?.[_0x58aec9(0x1d3)],customLocalDomain=_0x1e514c?.[_0x58aec9(0x1e1)],customCertificateDomain=_0x1e514c?.[_0x58aec9(0x1d4)],customCdn=_0x1e514c?.[_0x58aec9(0x1d9)],activeRegion=_0x1e514c?.[_0x58aec9(0x1d7)]??DEFAULT_LOVRABET_REGION;}function a248_0x2a78(_0x303617,_0x136420){_0x303617=_0x303617-0x1c6;const _0x51d262=a248_0x51d2();let _0x2a7899=_0x51d262[_0x303617];return _0x2a7899;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a248_0x3f9415(0x1c8)];function a248_0x51d2(){const _0xd504a0=['region','9HApMYS','cdn','10stsHTl','7gUqSRK','kbDomain','origin','/app/','runtime','production','localDomain','trim','skillDomain','403014eqdWgy','hostname','user','851468zvTwuo','40MrlPHz','userDomain','serviceDomains','api','745939IHKzMD','2427390hJBbCr','/web-app/app/','2028446tWJHfj','daily','appDomain','certificateDomain','14050091xOTJiX','3427472UvvAgi'];a248_0x51d2=function(){return _0xd504a0;};return a248_0x51d2();}export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a248_0x3f9415(0x1cd)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a248_0x3f9415(0x1df)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()['skill'];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()['app'];export const getActiveRegion=()=>activeRegion;export const getLocalDomain=()=>customLocalDomain;export const getCertificateDomain=()=>customCertificateDomain;export const getActiveCdn=()=>customCdn||getOfficialRoutingCdn(activeRegion);export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customAppDomain||customLocalDomain||customCertificateDomain);}export function getSdkClientRoutingConfig(){const _0x35167e=a248_0x3f9415;if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()[_0x35167e(0x1df)])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x8177a2=>{const _0x2f4552=a248_0x3f9415,_0x4fffd1=encodeURIComponent(_0x8177a2[_0x2f4552(0x1e2)]());return isProduction(getEnv())?getAppDomain()+_0x2f4552(0x1de)+_0x4fffd1:getAppDomain()+_0x2f4552(0x1d0)+_0x4fffd1;};export const getPublishedAppDomain=_0x3e47cb=>{const _0x496f82=a248_0x3f9415,_0x2152c0=new URL(getAppDomain());return _0x2152c0[_0x496f82(0x1c7)]=_0x3e47cb[_0x496f82(0x1e2)]()+'.'+_0x2152c0['hostname'],_0x2152c0[_0x496f82(0x1dd)];};
@@ -1 +1 @@
1
- const a235_0xf0d3e3=a235_0x4d96;(function(_0x11c4a7,_0x530160){const _0x4d8712=a235_0x4d96,_0x235a8f=_0x11c4a7();while(!![]){try{const _0x4eb9f4=-parseInt(_0x4d8712(0x116))/0x1+-parseInt(_0x4d8712(0x10e))/0x2*(-parseInt(_0x4d8712(0x117))/0x3)+-parseInt(_0x4d8712(0x114))/0x4+parseInt(_0x4d8712(0x10f))/0x5*(-parseInt(_0x4d8712(0x113))/0x6)+parseInt(_0x4d8712(0x11b))/0x7*(-parseInt(_0x4d8712(0x10c))/0x8)+-parseInt(_0x4d8712(0x118))/0x9*(parseInt(_0x4d8712(0x111))/0xa)+parseInt(_0x4d8712(0x11a))/0xb;if(_0x4eb9f4===_0x530160)break;else _0x235a8f['push'](_0x235a8f['shift']());}catch(_0x19f3af){_0x235a8f['push'](_0x235a8f['shift']());}}}(a235_0x5a77,0x49c69));function a235_0x5a77(){const _0x472a98=['dev','8766846zOLyQb','35CRhOcq','614960EgWjgx','production','86murOis','62530bcrDBP','development','145210GsaRZh','daily','18rSxoLr','129816sSlHmA','online','53862PtzWUN','15117NhJmIh','126SfbDSV'];a235_0x5a77=function(){return _0x472a98;};return a235_0x5a77();}function a235_0x4d96(_0x46e69f,_0x359d1e){_0x46e69f=_0x46e69f-0x10c;const _0x5a7774=a235_0x5a77();let _0x4d9631=_0x5a7774[_0x46e69f];return _0x4d9631;}export const RABETBASE_ENV_VALUES=[a235_0xf0d3e3(0x10d),a235_0xf0d3e3(0x112)];export function normalizeEnv(_0x215b36){const _0x8e5c7b=a235_0xf0d3e3;return _0x215b36===_0x8e5c7b(0x115)?_0x8e5c7b(0x10d):_0x215b36;}export function isProduction(_0x51062e){return normalizeEnv(_0x51062e)==='production';}export function isDaily(_0x85d605){const _0x2e05ff=a235_0xf0d3e3;return normalizeEnv(_0x85d605)===_0x2e05ff(0x112);}export function isDev(_0x4bee6c){const _0x5bfc68=a235_0xf0d3e3,_0x53897d=normalizeEnv(_0x4bee6c);return _0x53897d===_0x5bfc68(0x110)||_0x53897d===_0x5bfc68(0x119);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a235_0xf0d3e3(0x10d));export function getEnv(){return env;}export function initEnv(_0x4cd0f6){env=normalizeEnv(_0x4cd0f6);}
1
+ const a249_0x36cf9c=a249_0x555f;(function(_0x6049fd,_0x426bd8){const _0x18f8f8=a249_0x555f,_0x2b4f02=_0x6049fd();while(!![]){try{const _0x51df00=parseInt(_0x18f8f8(0x105))/0x1*(parseInt(_0x18f8f8(0xf9))/0x2)+parseInt(_0x18f8f8(0xfe))/0x3*(parseInt(_0x18f8f8(0x100))/0x4)+parseInt(_0x18f8f8(0x103))/0x5*(parseInt(_0x18f8f8(0xfb))/0x6)+parseInt(_0x18f8f8(0x104))/0x7+-parseInt(_0x18f8f8(0xfd))/0x8+parseInt(_0x18f8f8(0x106))/0x9+parseInt(_0x18f8f8(0x101))/0xa*(-parseInt(_0x18f8f8(0xfa))/0xb);if(_0x51df00===_0x426bd8)break;else _0x2b4f02['push'](_0x2b4f02['shift']());}catch(_0x6a6f1){_0x2b4f02['push'](_0x2b4f02['shift']());}}}(a249_0x10fb,0x9f316));export const RABETBASE_ENV_VALUES=[a249_0x36cf9c(0x102),a249_0x36cf9c(0xff)];export function normalizeEnv(_0x3074df){return _0x3074df==='online'?'production':_0x3074df;}export function isProduction(_0x404571){const _0x16b3d7=a249_0x36cf9c;return normalizeEnv(_0x404571)===_0x16b3d7(0x102);}export function isDaily(_0x401dac){const _0x48e42c=a249_0x36cf9c;return normalizeEnv(_0x401dac)===_0x48e42c(0xff);}export function isDev(_0x59d0c2){const _0x3a9ea9=a249_0x36cf9c,_0x399865=normalizeEnv(_0x59d0c2);return _0x399865==='development'||_0x399865===_0x3a9ea9(0xfc);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a249_0x36cf9c(0x102));function a249_0x555f(_0x570c05,_0x8d00ae){_0x570c05=_0x570c05-0xf9;const _0x10fb29=a249_0x10fb();let _0x555f3b=_0x10fb29[_0x570c05];return _0x555f3b;}function a249_0x10fb(){const _0x3c74c8=['10tjEkYK','production','39885cobyqt','2783977TjAAGp','9236PdENmR','11566620DBiaEq','128BUHvDc','22227689yGPNiF','486fTONfv','dev','4268192OzUMSL','3zdydeA','daily','1144580IySdgZ'];a249_0x10fb=function(){return _0x3c74c8;};return a249_0x10fb();}export function getEnv(){return env;}export function initEnv(_0x2ad184){env=normalizeEnv(_0x2ad184);}
@@ -1 +1 @@
1
- const a236_0x431cfa=a236_0x1772;function a236_0x362a(){const _0x374df6=['2378598aiGcNM','1642vdyTkN','compress','4fJTQRb','2824lDlGDD','219810UcczqP','2107854ufQtnW','json','6182405VmdpZf','36756VkCdEX','1596vkGuiW','pretty','388066ipOqef'];a236_0x362a=function(){return _0x374df6;};return a236_0x362a();}function a236_0x1772(_0x32d9ce,_0x4e0534){_0x32d9ce=_0x32d9ce-0x131;const _0x362acc=a236_0x362a();let _0x17726d=_0x362acc[_0x32d9ce];return _0x17726d;}(function(_0x4f3a16,_0x44ccdc){const _0x12250f=a236_0x1772,_0x49fd63=_0x4f3a16();while(!![]){try{const _0x48e5ac=-parseInt(_0x12250f(0x139))/0x1*(-parseInt(_0x12250f(0x135))/0x2)+-parseInt(_0x12250f(0x131))/0x3+parseInt(_0x12250f(0x13b))/0x4*(parseInt(_0x12250f(0x133))/0x5)+parseInt(_0x12250f(0x138))/0x6+parseInt(_0x12250f(0x137))/0x7+parseInt(_0x12250f(0x13c))/0x8*(-parseInt(_0x12250f(0x134))/0x9)+parseInt(_0x12250f(0x13d))/0xa;if(_0x48e5ac===_0x44ccdc)break;else _0x49fd63['push'](_0x49fd63['shift']());}catch(_0x54a884){_0x49fd63['push'](_0x49fd63['shift']());}}}(a236_0x362a,0xd5f5b));export const RABETBASE_OUTPUT_FORMAT_VALUES=[a236_0x431cfa(0x132),a236_0x431cfa(0x136),a236_0x431cfa(0x13a)];
1
+ function a250_0x1098(){const _0x3a7e00=['3913692OIiHKw','5CGEdtO','5529vkEmwt','13145240lrikXb','json','4315048DDZKli','10197423rpXxrT','987382owTBZQ','1502btyBII','8ajkcjS','8509137qfRWEY','compress'];a250_0x1098=function(){return _0x3a7e00;};return a250_0x1098();}function a250_0x1b7b(_0x34ac8b,_0x422440){_0x34ac8b=_0x34ac8b-0xa7;const _0x109861=a250_0x1098();let _0x1b7b99=_0x109861[_0x34ac8b];return _0x1b7b99;}const a250_0x2acabd=a250_0x1b7b;(function(_0x462417,_0x2270b1){const _0x102fba=a250_0x1b7b,_0x3152d9=_0x462417();while(!![]){try{const _0x22c41d=parseInt(_0x102fba(0xac))/0x1+parseInt(_0x102fba(0xad))/0x2*(parseInt(_0x102fba(0xa7))/0x3)+-parseInt(_0x102fba(0xaa))/0x4+-parseInt(_0x102fba(0xb2))/0x5*(-parseInt(_0x102fba(0xb1))/0x6)+parseInt(_0x102fba(0xaf))/0x7+parseInt(_0x102fba(0xae))/0x8*(-parseInt(_0x102fba(0xab))/0x9)+-parseInt(_0x102fba(0xa8))/0xa;if(_0x22c41d===_0x2270b1)break;else _0x3152d9['push'](_0x3152d9['shift']());}catch(_0x27afb5){_0x3152d9['push'](_0x3152d9['shift']());}}}(a250_0x1098,0xae137));export const RABETBASE_OUTPUT_FORMAT_VALUES=[a250_0x2acabd(0xa9),'pretty',a250_0x2acabd(0xb0)];
@@ -1 +1 @@
1
- function a237_0x312f(){const _0x315289=['288612fUXHax','172420PqPYRr','110vPHcyb','1954lSiTeF','3EhPFcg','4193jxuRad','1382224mcjuiC','82686PgfARp','5gKGeMK','329zrIrRp','./src/api','1037124bUeFlc','4400aAoIIb'];a237_0x312f=function(){return _0x315289;};return a237_0x312f();}function a237_0x2490(_0x50a7fb,_0x64028f){_0x50a7fb=_0x50a7fb-0x111;const _0x312f3a=a237_0x312f();let _0x24909c=_0x312f3a[_0x50a7fb];return _0x24909c;}const a237_0x51742d=a237_0x2490;(function(_0x236768,_0x2ab5bd){const _0x20abb3=a237_0x2490,_0x582b7c=_0x236768();while(!![]){try{const _0x2b4dc4=-parseInt(_0x20abb3(0x115))/0x1*(-parseInt(_0x20abb3(0x11c))/0x2)+-parseInt(_0x20abb3(0x11d))/0x3*(-parseInt(_0x20abb3(0x112))/0x4)+parseInt(_0x20abb3(0x114))/0x5*(parseInt(_0x20abb3(0x113))/0x6)+parseInt(_0x20abb3(0x111))/0x7*(-parseInt(_0x20abb3(0x118))/0x8)+parseInt(_0x20abb3(0x117))/0x9+parseInt(_0x20abb3(0x11a))/0xa+-parseInt(_0x20abb3(0x11b))/0xb*(parseInt(_0x20abb3(0x119))/0xc);if(_0x2b4dc4===_0x2ab5bd)break;else _0x582b7c['push'](_0x582b7c['shift']());}catch(_0x5e8b9c){_0x582b7c['push'](_0x582b7c['shift']());}}}(a237_0x312f,0x3b658));export const DEFAULT_API_DIR=a237_0x51742d(0x116);
1
+ function a251_0x11b4(){const _0x47f7c6=['49740769BqFknJ','12neZKhC','269196bvGUHM','2759255PMFvPw','6WdXAhh','40DYHreR','10bHRsXK','4601133aBXWBY','./src/api','11HswZZY','63343QAvMKM','8033772bXDwwl','14yPOIho','10jiIURZ','1173263Schfyp'];a251_0x11b4=function(){return _0x47f7c6;};return a251_0x11b4();}const a251_0x170a82=a251_0x3030;function a251_0x3030(_0x245a8e,_0x2642fa){_0x245a8e=_0x245a8e-0xf1;const _0x11b46e=a251_0x11b4();let _0x30301a=_0x11b46e[_0x245a8e];return _0x30301a;}(function(_0x3ab9ea,_0x2b918e){const _0x3787e6=a251_0x3030,_0x1d2250=_0x3ab9ea();while(!![]){try{const _0x1521e5=parseInt(_0x3787e6(0xf7))/0x1*(-parseInt(_0x3787e6(0xfa))/0x2)+-parseInt(_0x3787e6(0xfe))/0x3*(parseInt(_0x3787e6(0xfd))/0x4)+parseInt(_0x3787e6(0xff))/0x5*(-parseInt(_0x3787e6(0xf1))/0x6)+-parseInt(_0x3787e6(0xfb))/0x7*(parseInt(_0x3787e6(0xf2))/0x8)+-parseInt(_0x3787e6(0xf4))/0x9*(parseInt(_0x3787e6(0xf3))/0xa)+parseInt(_0x3787e6(0xf6))/0xb*(-parseInt(_0x3787e6(0xf8))/0xc)+parseInt(_0x3787e6(0xfc))/0xd*(parseInt(_0x3787e6(0xf9))/0xe);if(_0x1521e5===_0x2b918e)break;else _0x1d2250['push'](_0x1d2250['shift']());}catch(_0x5b5a69){_0x1d2250['push'](_0x1d2250['shift']());}}}(a251_0x11b4,0xa37f8));export const DEFAULT_API_DIR=a251_0x170a82(0xf5);
@@ -1 +1 @@
1
- (function(_0x1d87aa,_0x39bd8c){const _0x3ac097=a238_0x143f,_0x18599b=_0x1d87aa();while(!![]){try{const _0x33a498=parseInt(_0x3ac097(0x15b))/0x1+parseInt(_0x3ac097(0x154))/0x2+-parseInt(_0x3ac097(0x15f))/0x3*(parseInt(_0x3ac097(0x15c))/0x4)+parseInt(_0x3ac097(0x157))/0x5*(parseInt(_0x3ac097(0x160))/0x6)+-parseInt(_0x3ac097(0x15e))/0x7+parseInt(_0x3ac097(0x156))/0x8*(-parseInt(_0x3ac097(0x15d))/0x9)+parseInt(_0x3ac097(0x155))/0xa*(parseInt(_0x3ac097(0x158))/0xb);if(_0x33a498===_0x39bd8c)break;else _0x18599b['push'](_0x18599b['shift']());}catch(_0xa591f2){_0x18599b['push'](_0x18599b['shift']());}}}(a238_0x5c30,0xc622a));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;function a238_0x5c30(){const _0x4411d9=['106827oXeBcI','39366oBYLRS','355408eVJFIy','1220amnWSw','32sLbBvS','775nsQGyb','25014fGnSUj','includes','string','1449853FUKYBC','76DOTBvn','1904706ibKQeN','4110897OWDKUH'];a238_0x5c30=function(){return _0x4411d9;};return a238_0x5c30();}export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;function a238_0x143f(_0x1bdb7f,_0x2d6f4b){_0x1bdb7f=_0x1bdb7f-0x154;const _0x5c30aa=a238_0x5c30();let _0x143f7e=_0x5c30aa[_0x1bdb7f];return _0x143f7e;}export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0xcad9a1){const _0x54f17c=a238_0x143f;return typeof _0xcad9a1===_0x54f17c(0x15a)&&LOVRABET_REGION_VALUES[_0x54f17c(0x159)](_0xcad9a1);}export function isEnabledLovrabetRegion(_0x27e234){const _0x44b13f=a238_0x143f;return typeof _0x27e234===_0x44b13f(0x15a)&&ENABLED_LOVRABET_REGION_VALUES['includes'](_0x27e234);}export function normalizeLovrabetRegion(_0x51eb65){const _0x337c19=a238_0x143f;if(typeof _0x51eb65!==_0x337c19(0x15a))return undefined;const _0x112fa3=REGION_ALIASES[_0x51eb65]??_0x51eb65;return isLovrabetRegion(_0x112fa3)?_0x112fa3:undefined;}export function isInvalidLovrabetRegion(_0x20625f){return _0x20625f!==undefined&&_0x20625f!==null&&_0x20625f!==''&&normalizeLovrabetRegion(_0x20625f)===undefined;}
1
+ (function(_0x38c532,_0x469816){const _0x38e64a=a252_0x4c83,_0x587f8b=_0x38c532();while(!![]){try{const _0x4fb7ea=-parseInt(_0x38e64a(0x1e4))/0x1*(parseInt(_0x38e64a(0x1e1))/0x2)+-parseInt(_0x38e64a(0x1e5))/0x3*(-parseInt(_0x38e64a(0x1df))/0x4)+-parseInt(_0x38e64a(0x1e0))/0x5+parseInt(_0x38e64a(0x1eb))/0x6*(-parseInt(_0x38e64a(0x1e8))/0x7)+parseInt(_0x38e64a(0x1ec))/0x8+parseInt(_0x38e64a(0x1e6))/0x9*(-parseInt(_0x38e64a(0x1e9))/0xa)+parseInt(_0x38e64a(0x1e3))/0xb*(parseInt(_0x38e64a(0x1e7))/0xc);if(_0x4fb7ea===_0x469816)break;else _0x587f8b['push'](_0x587f8b['shift']());}catch(_0x5dcb28){_0x587f8b['push'](_0x587f8b['shift']());}}}(a252_0x28aa,0x83a4b));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;function a252_0x4c83(_0x41d787,_0xaef8c3){_0x41d787=_0x41d787-0x1df;const _0x28aa38=a252_0x28aa();let _0x4c8350=_0x28aa38[_0x41d787];return _0x4c8350;}export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x220296){const _0x5504ee=a252_0x4c83;return typeof _0x220296===_0x5504ee(0x1e2)&&LOVRABET_REGION_VALUES[_0x5504ee(0x1ea)](_0x220296);}export function isEnabledLovrabetRegion(_0x5dfa92){const _0x56d911=a252_0x4c83;return typeof _0x5dfa92===_0x56d911(0x1e2)&&ENABLED_LOVRABET_REGION_VALUES[_0x56d911(0x1ea)](_0x5dfa92);}export function normalizeLovrabetRegion(_0x594627){const _0xe41a1=a252_0x4c83;if(typeof _0x594627!==_0xe41a1(0x1e2))return undefined;const _0x2ecb2a=REGION_ALIASES[_0x594627]??_0x594627;return isLovrabetRegion(_0x2ecb2a)?_0x2ecb2a:undefined;}function a252_0x28aa(){const _0x3fd44a=['149658xDgOyi','8516352aMCsMp','4968GuBgVW','4745215LPrGOs','180yaTXxz','string','33nEwIFv','4535SsMzYX','537NVKuNB','111402PbJMuQ','7702896QNQwoW','154mjjccI','620wrzinB','includes'];a252_0x28aa=function(){return _0x3fd44a;};return a252_0x28aa();}export function isInvalidLovrabetRegion(_0xe14ba8){return _0xe14ba8!==undefined&&_0xe14ba8!==null&&_0xe14ba8!==''&&normalizeLovrabetRegion(_0xe14ba8)===undefined;}
@@ -1 +1 @@
1
- const a239_0x2122ec=a239_0x5561;(function(_0x10cde5,_0x5ebca8){const _0x51d9fe=a239_0x5561,_0x368734=_0x10cde5();while(!![]){try{const _0x16c8d6=-parseInt(_0x51d9fe(0x97))/0x1*(parseInt(_0x51d9fe(0x98))/0x2)+parseInt(_0x51d9fe(0x90))/0x3*(-parseInt(_0x51d9fe(0x95))/0x4)+parseInt(_0x51d9fe(0x9a))/0x5*(-parseInt(_0x51d9fe(0x93))/0x6)+parseInt(_0x51d9fe(0x99))/0x7+parseInt(_0x51d9fe(0x96))/0x8*(parseInt(_0x51d9fe(0x91))/0x9)+parseInt(_0x51d9fe(0x92))/0xa+parseInt(_0x51d9fe(0x94))/0xb;if(_0x16c8d6===_0x5ebca8)break;else _0x368734['push'](_0x368734['shift']());}catch(_0x10ef49){_0x368734['push'](_0x368734['shift']());}}}(a239_0x37d5,0xbc33a));export const RISK_LEVEL_VALUES=[a239_0x2122ec(0x9b),'write',a239_0x2122ec(0x9c)];function a239_0x5561(_0x566f3e,_0x2346da){_0x566f3e=_0x566f3e-0x90;const _0x37d523=a239_0x37d5();let _0x556192=_0x37d523[_0x566f3e];return _0x556192;}function a239_0x37d5(){const _0x28e9dc=['6691212UXuNSy','107572ROqTea','5923784Yusshe','1mzRRdM','1806230nZqCqs','2272018Yivxtg','584110rZXmoQ','read','high-risk-write','165mntPTq','18AHEOUR','13234020hJaLvl','30bciRSu'];a239_0x37d5=function(){return _0x28e9dc;};return a239_0x37d5();}
1
+ function a253_0x1178(_0x39bade,_0x2f650b){_0x39bade=_0x39bade-0x9b;const _0x36ff84=a253_0x36ff();let _0x117871=_0x36ff84[_0x39bade];return _0x117871;}const a253_0x3c1127=a253_0x1178;(function(_0x259e55,_0x570f23){const _0x5d14f0=a253_0x1178,_0x51765f=_0x259e55();while(!![]){try{const _0x12e16c=-parseInt(_0x5d14f0(0xa6))/0x1*(parseInt(_0x5d14f0(0x9b))/0x2)+-parseInt(_0x5d14f0(0xa2))/0x3*(-parseInt(_0x5d14f0(0xa5))/0x4)+parseInt(_0x5d14f0(0xa4))/0x5+parseInt(_0x5d14f0(0x9f))/0x6*(-parseInt(_0x5d14f0(0xa0))/0x7)+-parseInt(_0x5d14f0(0xa7))/0x8+parseInt(_0x5d14f0(0x9d))/0x9+parseInt(_0x5d14f0(0xa3))/0xa*(-parseInt(_0x5d14f0(0x9e))/0xb);if(_0x12e16c===_0x570f23)break;else _0x51765f['push'](_0x51765f['shift']());}catch(_0x92dd68){_0x51765f['push'](_0x51765f['shift']());}}}(a253_0x36ff,0x36efe));function a253_0x36ff(){const _0x44f7e6=['230JkgnLx','2242495NMoSqb','23284djmAKT','346hJRcfP','959944UAEYgM','922FKukeO','high-risk-write','3149199cLwJnf','135267SPrucK','12nEkzgt','201691sdxETT','write','24DkVBwL'];a253_0x36ff=function(){return _0x44f7e6;};return a253_0x36ff();}export const RISK_LEVEL_VALUES=['read',a253_0x3c1127(0xa1),a253_0x3c1127(0x9c)];
@@ -1 +1 @@
1
- (function(_0x4c98ac,_0x2d16d7){const _0x208800=a240_0x19aa,_0x45905e=_0x4c98ac();while(!![]){try{const _0x24c581=-parseInt(_0x208800(0x9a))/0x1+parseInt(_0x208800(0x9c))/0x2+parseInt(_0x208800(0x9f))/0x3*(parseInt(_0x208800(0xa0))/0x4)+-parseInt(_0x208800(0x97))/0x5+parseInt(_0x208800(0x9d))/0x6+-parseInt(_0x208800(0x96))/0x7*(-parseInt(_0x208800(0x98))/0x8)+-parseInt(_0x208800(0x95))/0x9;if(_0x24c581===_0x2d16d7)break;else _0x45905e['push'](_0x45905e['shift']());}catch(_0x129bbc){_0x45905e['push'](_0x45905e['shift']());}}}(a240_0x4f25,0x83347));import{OFFICIAL_ROUTING_PROFILES as a240_0x24f77e,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';export const OFFICIAL_ROUTING_PROFILES=a240_0x24f77e;export{ROUTING_CATALOG_DIGEST};function a240_0x4f25(){const _0x45f6ce=['lovrabet','1786018TCTEVR','812106UJsaQi','libraries','63aFxbHA','37968pSOmdJ','841626zxxlUn','1145977JaUNpz','4894710WMpjVe','24QbXdeE','Official\x20routing\x20for\x20region\x20\x22','108954WQNNYi'];a240_0x4f25=function(){return _0x45f6ce;};return a240_0x4f25();}function a240_0x19aa(_0x2c8fae,_0x544434){_0x2c8fae=_0x2c8fae-0x95;const _0x4f25df=a240_0x4f25();let _0x19aa2c=_0x4f25df[_0x2c8fae];return _0x19aa2c;}export function getOfficialRoutingProfile(_0x4677ec){return OFFICIAL_ROUTING_PROFILES[_0x4677ec];}export function getOfficialRoutingCdn(_0x12a6b3){const _0x135e12=a240_0x19aa,_0x416b95=getOfficialRoutingProfile(_0x12a6b3)['cdn'];if(!_0x416b95[_0x135e12(0x9b)])throw new Error(_0x135e12(0x99)+_0x12a6b3+'\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.');return{'libraries':_0x416b95[_0x135e12(0x9e)],'lovrabet':_0x416b95[_0x135e12(0x9b)]};}
1
+ (function(_0xafb0dc,_0x50ab5f){const _0x2571ee=a254_0x4d02,_0x135101=_0xafb0dc();while(!![]){try{const _0x2d5314=-parseInt(_0x2571ee(0x136))/0x1+parseInt(_0x2571ee(0x137))/0x2+-parseInt(_0x2571ee(0x139))/0x3*(-parseInt(_0x2571ee(0x141))/0x4)+parseInt(_0x2571ee(0x13b))/0x5*(-parseInt(_0x2571ee(0x135))/0x6)+parseInt(_0x2571ee(0x13a))/0x7*(parseInt(_0x2571ee(0x13f))/0x8)+-parseInt(_0x2571ee(0x13c))/0x9+-parseInt(_0x2571ee(0x140))/0xa*(-parseInt(_0x2571ee(0x13d))/0xb);if(_0x2d5314===_0x50ab5f)break;else _0x135101['push'](_0x135101['shift']());}catch(_0x1fe3dd){_0x135101['push'](_0x135101['shift']());}}}(a254_0x2968,0xf3050));function a254_0x4d02(_0x302ea6,_0x119f4c){_0x302ea6=_0x302ea6-0x135;const _0x296865=a254_0x2968();let _0x4d0250=_0x296865[_0x302ea6];return _0x4d0250;}import{OFFICIAL_ROUTING_PROFILES as a254_0xe923c0,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';export const OFFICIAL_ROUTING_PROFILES=a254_0xe923c0;export{ROUTING_CATALOG_DIGEST};function a254_0x2968(){const _0x424f29=['1016754PwtEKQ','39571AbXikI','100NxISJe','6088131xfZwGF','187JdCMhw','lovrabet','32azbWYz','1860410QRRqOe','4AbHTFr','Official\x20routing\x20for\x20region\x20\x22','471522YzyGCn','1750140BgFAXF','2939040LylPfX','\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.'];a254_0x2968=function(){return _0x424f29;};return a254_0x2968();}export function getOfficialRoutingProfile(_0x4e3580){return OFFICIAL_ROUTING_PROFILES[_0x4e3580];}export function getOfficialRoutingCdn(_0x144bc6){const _0x1b89a1=a254_0x4d02,_0x362c9f=getOfficialRoutingProfile(_0x144bc6)['cdn'];if(!_0x362c9f[_0x1b89a1(0x13e)])throw new Error(_0x1b89a1(0x142)+_0x144bc6+_0x1b89a1(0x138));return{'libraries':_0x362c9f['libraries'],'lovrabet':_0x362c9f[_0x1b89a1(0x13e)]};}