@lovrabet/rabetbase-cli 2.3.16-beta.5 → 2.3.16-beta.7

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 (278) 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/auth/auth-server-ui.js +1 -1
  5. package/lib/auth/auth-server.js +1 -1
  6. package/lib/auth/constant.js +1 -1
  7. package/lib/auth/get-cookie.js +1 -1
  8. package/lib/auth/get-session-user.js +1 -1
  9. package/lib/auth/is-session-valid.js +1 -1
  10. package/lib/auth/login-success-html.js +1 -1
  11. package/lib/auth/logout.js +1 -1
  12. package/lib/cli-flags.js +1 -1
  13. package/lib/cli.js +1 -1
  14. package/lib/commands/api/generate.js +1 -1
  15. package/lib/commands/api/index.js +1 -1
  16. package/lib/commands/api/list.js +1 -1
  17. package/lib/commands/api/pull.js +1 -1
  18. package/lib/commands/api/shared.js +1 -1
  19. package/lib/commands/app/index.js +1 -1
  20. package/lib/commands/app/list.js +1 -1
  21. package/lib/commands/app/members-list.js +1 -1
  22. package/lib/commands/app/remote-directory.js +1 -1
  23. package/lib/commands/app/shared.js +1 -1
  24. package/lib/commands/app-config/delete.js +1 -1
  25. package/lib/commands/app-config/get.js +1 -1
  26. package/lib/commands/app-config/index.js +1 -1
  27. package/lib/commands/app-config/list.js +1 -1
  28. package/lib/commands/app-config/set.js +1 -1
  29. package/lib/commands/app-config/shared.js +1 -1
  30. package/lib/commands/auth/index.js +1 -1
  31. package/lib/commands/bff/create.js +1 -1
  32. package/lib/commands/bff/delete.js +1 -1
  33. package/lib/commands/bff/detail.js +1 -1
  34. package/lib/commands/bff/index.js +1 -1
  35. package/lib/commands/bff/list.js +1 -1
  36. package/lib/commands/bff/pull.js +1 -1
  37. package/lib/commands/bff/push.js +1 -1
  38. package/lib/commands/bff/status.js +1 -1
  39. package/lib/commands/cli-skill/index.js +1 -1
  40. package/lib/commands/cli-update.js +1 -1
  41. package/lib/commands/codegen/index.js +1 -1
  42. package/lib/commands/codegen/sdk.js +1 -1
  43. package/lib/commands/codegen/sql.js +1 -1
  44. package/lib/commands/common/app-registry.js +1 -1
  45. package/lib/commands/common/app-selector.js +1 -1
  46. package/lib/commands/common/async-task.js +1 -1
  47. package/lib/commands/common/dry-run.js +1 -1
  48. package/lib/commands/common/flags.js +1 -1
  49. package/lib/commands/common/local-file.js +1 -1
  50. package/lib/commands/common/validate.js +1 -1
  51. package/lib/commands/config/get.js +1 -1
  52. package/lib/commands/config/index.js +1 -1
  53. package/lib/commands/config/list.js +1 -1
  54. package/lib/commands/config/set.js +1 -1
  55. package/lib/commands/config/shared.js +1 -1
  56. package/lib/commands/data/filter.js +1 -1
  57. package/lib/commands/data/getOne.js +1 -1
  58. package/lib/commands/data/index.js +1 -1
  59. package/lib/commands/data/shared.js +1 -1
  60. package/lib/commands/dataset/business-group-update.js +1 -1
  61. package/lib/commands/dataset/capability.js +1 -1
  62. package/lib/commands/dataset/delete.js +1 -1
  63. package/lib/commands/dataset/detail.js +1 -1
  64. package/lib/commands/dataset/extend-update.js +1 -1
  65. package/lib/commands/dataset/field-update.js +1 -1
  66. package/lib/commands/dataset/generate.js +1 -1
  67. package/lib/commands/dataset/index.js +1 -1
  68. package/lib/commands/dataset/list.js +1 -1
  69. package/lib/commands/dataset/operations.js +1 -1
  70. package/lib/commands/dataset/relation-audit.js +1 -1
  71. package/lib/commands/dataset/relation-create.js +1 -1
  72. package/lib/commands/dataset/relation-delete.js +1 -1
  73. package/lib/commands/dataset/relation-shared.js +1 -1
  74. package/lib/commands/dataset/relation-update.js +1 -1
  75. package/lib/commands/dataset/relations.js +1 -1
  76. package/lib/commands/dataset/rename.js +1 -1
  77. package/lib/commands/dataset/restore.js +1 -1
  78. package/lib/commands/db/analysis-batching.js +1 -1
  79. package/lib/commands/db/analyze-batch-plan.js +1 -1
  80. package/lib/commands/db/analyze-cancel.js +1 -1
  81. package/lib/commands/db/analyze-start.js +1 -1
  82. package/lib/commands/db/analyze-status.js +1 -1
  83. package/lib/commands/db/create.js +1 -1
  84. package/lib/commands/db/delete.js +1 -1
  85. package/lib/commands/db/detail.js +1 -1
  86. package/lib/commands/db/diff.js +1 -1
  87. package/lib/commands/db/index.js +1 -1
  88. package/lib/commands/db/list.js +1 -1
  89. package/lib/commands/db/shared.js +1 -1
  90. package/lib/commands/db/tables.js +1 -1
  91. package/lib/commands/db/test.js +1 -1
  92. package/lib/commands/db/update.js +1 -1
  93. package/lib/commands/doctor.js +1 -1
  94. package/lib/commands/file/index.js +1 -1
  95. package/lib/commands/init/index.js +1 -1
  96. package/lib/commands/issue/index.js +1 -1
  97. package/lib/commands/issue/nudge.js +1 -1
  98. package/lib/commands/issue/report.js +1 -1
  99. package/lib/commands/issue/shared.js +1 -1
  100. package/lib/commands/kb/create.js +1 -1
  101. package/lib/commands/kb/delete.js +1 -1
  102. package/lib/commands/kb/detail.js +1 -1
  103. package/lib/commands/kb/index.js +1 -1
  104. package/lib/commands/kb/list.js +1 -1
  105. package/lib/commands/kb/shared.js +1 -1
  106. package/lib/commands/kb/update.js +1 -1
  107. package/lib/commands/logs/index.js +1 -1
  108. package/lib/commands/menu/asset-update.js +1 -1
  109. package/lib/commands/menu/delete.js +1 -1
  110. package/lib/commands/menu/external-link-create.js +1 -1
  111. package/lib/commands/menu/external-link-update.js +1 -1
  112. package/lib/commands/menu/group-create.js +1 -1
  113. package/lib/commands/menu/group-update.js +1 -1
  114. package/lib/commands/menu/index.js +1 -1
  115. package/lib/commands/menu/list.js +1 -1
  116. package/lib/commands/menu/move.js +1 -1
  117. package/lib/commands/menu/regroup-start.js +1 -1
  118. package/lib/commands/menu/rename.js +1 -1
  119. package/lib/commands/menu/shared/compare-table.js +1 -1
  120. package/lib/commands/menu/shared/delete-plan.js +1 -1
  121. package/lib/commands/menu/shared/facts.js +1 -1
  122. package/lib/commands/menu/shared/index.js +1 -1
  123. package/lib/commands/menu/shared/inquirer.js +1 -1
  124. package/lib/commands/menu/shared/local-pages.js +1 -1
  125. package/lib/commands/menu/shared/logic.js +1 -1
  126. package/lib/commands/menu/shared/mutations.js +1 -1
  127. package/lib/commands/menu/shared/service.js +1 -1
  128. package/lib/commands/menu/shared/sync-core.js +1 -1
  129. package/lib/commands/menu/shared/update-core.js +1 -1
  130. package/lib/commands/menu/shared/valid-url.js +1 -1
  131. package/lib/commands/menu/sync.js +1 -1
  132. package/lib/commands/notification/config-list.js +1 -1
  133. package/lib/commands/notification/index.js +1 -1
  134. package/lib/commands/ocr/index.js +1 -1
  135. package/lib/commands/page/generate-start.js +1 -1
  136. package/lib/commands/page/generate-status.js +1 -1
  137. package/lib/commands/page/index.js +1 -1
  138. package/lib/commands/page/pull.js +1 -1
  139. package/lib/commands/page/push.js +1 -1
  140. package/lib/commands/page/relation-audit.js +1 -1
  141. package/lib/commands/page/restore.js +1 -1
  142. package/lib/commands/page/shared.js +1 -1
  143. package/lib/commands/page/standard-page-status.js +1 -1
  144. package/lib/commands/page/sync.js +1 -1
  145. package/lib/commands/permit/index.js +1 -1
  146. package/lib/commands/permit/page-get.js +1 -1
  147. package/lib/commands/permit/page-set.js +1 -1
  148. package/lib/commands/permit/role-apis-set.js +1 -1
  149. package/lib/commands/permit/role-menus-set.js +1 -1
  150. package/lib/commands/permit/role-menus.js +1 -1
  151. package/lib/commands/permit/shared.js +1 -1
  152. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  153. package/lib/commands/project/create/format-elapsed.js +1 -1
  154. package/lib/commands/project/create/main.js +1 -1
  155. package/lib/commands/project/create/non-interactive.js +1 -1
  156. package/lib/commands/project/create/project-template-path.js +1 -1
  157. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  158. package/lib/commands/project/create/use-format-code.js +1 -1
  159. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  160. package/lib/commands/project/index.js +1 -1
  161. package/lib/commands/project/upgrade.js +1 -1
  162. package/lib/commands/registry.js +1 -1
  163. package/lib/commands/role/create.js +1 -1
  164. package/lib/commands/role/delete.js +1 -1
  165. package/lib/commands/role/detail.js +1 -1
  166. package/lib/commands/role/index.js +1 -1
  167. package/lib/commands/role/list.js +1 -1
  168. package/lib/commands/role/shared.js +1 -1
  169. package/lib/commands/role/update.js +1 -1
  170. package/lib/commands/role/user-add.js +1 -1
  171. package/lib/commands/role/user-remove.js +1 -1
  172. package/lib/commands/role/user-resolve.js +1 -1
  173. package/lib/commands/run/index.js +1 -1
  174. package/lib/commands/schema.js +1 -1
  175. package/lib/commands/sql/create.js +1 -1
  176. package/lib/commands/sql/delete.js +1 -1
  177. package/lib/commands/sql/detail.js +1 -1
  178. package/lib/commands/sql/exec.js +1 -1
  179. package/lib/commands/sql/index.js +1 -1
  180. package/lib/commands/sql/list.js +1 -1
  181. package/lib/commands/sql/pull.js +1 -1
  182. package/lib/commands/sql/push.js +1 -1
  183. package/lib/commands/sql/shared.js +1 -1
  184. package/lib/commands/sql/status.js +1 -1
  185. package/lib/commands/sql/validate.js +1 -1
  186. package/lib/commands/task/index.js +1 -1
  187. package/lib/commands/task/status.js +1 -1
  188. package/lib/commands/tenant/index.js +1 -1
  189. package/lib/commands/tenant/members-list.js +1 -1
  190. package/lib/commands/tenant/shared.js +1 -1
  191. package/lib/commands/workspace/add.js +1 -1
  192. package/lib/commands/workspace/index.js +1 -1
  193. package/lib/commands/workspace/remove.js +1 -1
  194. package/lib/config/schema.js +1 -1
  195. package/lib/constant/cdn.js +1 -1
  196. package/lib/constant/cli.js +1 -1
  197. package/lib/constant/defaults.js +1 -1
  198. package/lib/constant/domain.js +1 -1
  199. package/lib/constant/env.js +1 -1
  200. package/lib/constant/output.js +1 -1
  201. package/lib/constant/paths.js +1 -1
  202. package/lib/constant/risk.js +1 -1
  203. package/lib/context/app-resolver.js +1 -1
  204. package/lib/context/auth-resolver.js +1 -1
  205. package/lib/context/config-loader.js +1 -1
  206. package/lib/context.js +1 -1
  207. package/lib/core/alias-resolver.js +1 -1
  208. package/lib/core/api-client.js +1 -1
  209. package/lib/core/bff/config.js +1 -1
  210. package/lib/core/bff/file-system.js +1 -1
  211. package/lib/core/bff/hash.js +1 -1
  212. package/lib/core/bff/lock.js +1 -1
  213. package/lib/core/bff/utils.js +1 -1
  214. package/lib/core/db-resolver.js +1 -1
  215. package/lib/core/page/file-system.js +1 -1
  216. package/lib/core/page/hash.js +1 -1
  217. package/lib/core/page/lock.js +1 -1
  218. package/lib/core/sql-index-auditor.js +1 -1
  219. package/lib/core/sql-sync/config.js +1 -1
  220. package/lib/core/sql-sync/file-system.js +1 -1
  221. package/lib/core/sql-sync/hash.js +1 -1
  222. package/lib/core/sql-sync/lock.js +1 -1
  223. package/lib/core/sql-sync/utils.js +1 -1
  224. package/lib/core/sql-validator.js +1 -1
  225. package/lib/errors.js +1 -1
  226. package/lib/framework/build-all-flags.js +1 -1
  227. package/lib/framework/error-output.js +1 -1
  228. package/lib/framework/explicit-yes.js +1 -1
  229. package/lib/framework/flags.js +1 -1
  230. package/lib/framework/help.js +1 -1
  231. package/lib/framework/index.js +1 -1
  232. package/lib/framework/output.js +1 -1
  233. package/lib/framework/response.js +1 -1
  234. package/lib/framework/runner-alias.js +1 -1
  235. package/lib/framework/runner.js +1 -1
  236. package/lib/framework/schema-export.js +1 -1
  237. package/lib/framework/types.js +1 -1
  238. package/lib/generated/build-info.d.ts +4 -4
  239. package/lib/generated/build-info.js +1 -1
  240. package/lib/help.js +1 -1
  241. package/lib/runtime/confirmation.js +1 -1
  242. package/lib/runtime/event.js +1 -1
  243. package/lib/runtime/index.js +1 -1
  244. package/lib/runtime/queue.js +1 -1
  245. package/lib/runtime/resolve.js +1 -1
  246. package/lib/skills/main.js +1 -1
  247. package/lib/skills/npx-skills-add.js +1 -1
  248. package/lib/skills/skill-presence.js +1 -1
  249. package/lib/telemetry/cli-command-trace.js +1 -1
  250. package/lib/telemetry/cli-help-trace.js +1 -1
  251. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  252. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  253. package/lib/telemetry/send-cli-trace-log.js +1 -1
  254. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  255. package/lib/utils/ai_config.js +1 -1
  256. package/lib/utils/apply-jq-filter.js +1 -1
  257. package/lib/utils/cdn-config.js +1 -1
  258. package/lib/utils/check-sdk-version.js +1 -1
  259. package/lib/utils/cli-version-check.js +1 -1
  260. package/lib/utils/cli-version-policy.js +1 -1
  261. package/lib/utils/config.js +1 -1
  262. package/lib/utils/copy-directory.js +1 -1
  263. package/lib/utils/entity-with-id.js +1 -1
  264. package/lib/utils/file-utils.js +1 -1
  265. package/lib/utils/guides-cdn.js +1 -1
  266. package/lib/utils/http-client.js +1 -1
  267. package/lib/utils/is-non-interactive.js +1 -1
  268. package/lib/utils/logger.js +1 -1
  269. package/lib/utils/params.js +1 -1
  270. package/lib/utils/platform.js +1 -1
  271. package/lib/utils/rules-cdn.js +1 -1
  272. package/lib/utils/sleep.js +1 -1
  273. package/lib/utils/template-replacer.js +1 -1
  274. package/lib/utils/update-notice.js +1 -1
  275. package/lib/utils/version.js +1 -1
  276. package/lib/utils/with-active-cookie.js +1 -1
  277. package/lib/utils/write-cli-side-channel.js +1 -1
  278. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x55f282,_0x120b77){const _0x546da7=a186_0x2ca8,_0x2afe1f=_0x55f282();while(!![]){try{const _0x90af39=parseInt(_0x546da7(0x169))/0x1+parseInt(_0x546da7(0x16c))/0x2*(-parseInt(_0x546da7(0x16e))/0x3)+-parseInt(_0x546da7(0x167))/0x4+parseInt(_0x546da7(0x16a))/0x5*(parseInt(_0x546da7(0x168))/0x6)+parseInt(_0x546da7(0x16b))/0x7+-parseInt(_0x546da7(0x166))/0x8*(-parseInt(_0x546da7(0x16f))/0x9)+-parseInt(_0x546da7(0x16d))/0xa;if(_0x90af39===_0x120b77)break;else _0x2afe1f['push'](_0x2afe1f['shift']());}catch(_0x3d33d5){_0x2afe1f['push'](_0x2afe1f['shift']());}}}(a186_0x367b,0x6b2dd));function a186_0x367b(){const _0x4cd374=['204200LUIZjl','2880088zUKHBB','36PPXwOU','385986cgsWcF','503670JDAlfa','3357473IUhRJu','20926pBkdkY','7574590vojbdD','33RmYnJC','198NYrVwI'];a186_0x367b=function(){return _0x4cd374;};return a186_0x367b();}import{taskStatus}from'../../commands/task/status.js';function a186_0x2ca8(_0x37028f,_0x1c7b87){_0x37028f=_0x37028f-0x166;const _0x367bdb=a186_0x367b();let _0x2ca85d=_0x367bdb[_0x37028f];return _0x2ca85d;}export const taskDefinitions=[taskStatus];
1
+ (function(_0x467d67,_0x3f0d41){const _0x1ee26c=a186_0xf94b,_0x5d980c=_0x467d67();while(!![]){try{const _0x976bb8=-parseInt(_0x1ee26c(0xc9))/0x1+parseInt(_0x1ee26c(0xca))/0x2+-parseInt(_0x1ee26c(0xce))/0x3+parseInt(_0x1ee26c(0xcd))/0x4*(parseInt(_0x1ee26c(0xc7))/0x5)+-parseInt(_0x1ee26c(0xd0))/0x6*(parseInt(_0x1ee26c(0xcf))/0x7)+parseInt(_0x1ee26c(0xcc))/0x8*(-parseInt(_0x1ee26c(0xc8))/0x9)+parseInt(_0x1ee26c(0xcb))/0xa;if(_0x976bb8===_0x3f0d41)break;else _0x5d980c['push'](_0x5d980c['shift']());}catch(_0x2b3a13){_0x5d980c['push'](_0x5d980c['shift']());}}}(a186_0x2676,0x71308));import{taskStatus}from'../../commands/task/status.js';export const taskDefinitions=[taskStatus];function a186_0xf94b(_0xf38c70,_0x17e611){_0xf38c70=_0xf38c70-0xc7;const _0x267692=a186_0x2676();let _0xf94b9=_0x267692[_0xf38c70];return _0xf94b9;}function a186_0x2676(){const _0x14add2=['91vrJYMa','101778ALEejW','3863290roREEw','9nYNomk','496763cLSOtP','1722572iLXJaS','6153540moCeeC','5297696CLkvIM','4vRmEwl','1218540SgevhI'];a186_0x2676=function(){return _0x14add2;};return a186_0x2676();}
@@ -1 +1 @@
1
- function a187_0x46bd(_0x16b20a,_0x36cfd3){_0x16b20a=_0x16b20a-0x110;const _0x1caa6d=a187_0x1caa();let _0x46bde7=_0x1caa6d[_0x16b20a];return _0x46bde7;}const a187_0xc4dfc6=a187_0x46bd;(function(_0x5bf062,_0x5a320d){const _0x50f93c=a187_0x46bd,_0x184c7e=_0x5bf062();while(!![]){try{const _0x37151a=parseInt(_0x50f93c(0x124))/0x1*(parseInt(_0x50f93c(0x112))/0x2)+parseInt(_0x50f93c(0x12a))/0x3+parseInt(_0x50f93c(0x125))/0x4*(parseInt(_0x50f93c(0x115))/0x5)+parseInt(_0x50f93c(0x129))/0x6*(parseInt(_0x50f93c(0x127))/0x7)+parseInt(_0x50f93c(0x114))/0x8+parseInt(_0x50f93c(0x11d))/0x9*(-parseInt(_0x50f93c(0x121))/0xa)+-parseInt(_0x50f93c(0x120))/0xb;if(_0x37151a===_0x5a320d)break;else _0x184c7e['push'](_0x184c7e['shift']());}catch(_0x5966a6){_0x184c7e['push'](_0x184c7e['shift']());}}}(a187_0x1caa,0x82ed4));import{APPCODE_FLAG_OPTIONAL}from'../../commands/common/flags.js';function a187_0x1caa(){const _0x27ad13=['4713961dQENhs','read','6trEeQk','791949NgGwuf','Task\x20id\x20returned\x20by\x20an\x20asynchronous\x20platform\x20command',',\x20received\x20','16ViFeWd','status','562392drhAYb','110wRPhuI','task-id','compress','taskId','appCode','apiError','flagMissing','Task\x20status\x20response\x20id\x20mismatch:\x20requested\x20','7583616CoIqQw','string','cookie','11259281QtUhFq','10YhhaPx','task','trim','108838kIWQCr','95284jtIYic','str'];a187_0x1caa=function(){return _0x27ad13;};return a187_0x1caa();}import{asyncTaskMessage,buildAsyncTaskStatusCommand,normalizeAsyncTask}from'../../commands/common/async-task.js';import{getAsyncTaskStatus}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';export const taskStatus={'service':a187_0xc4dfc6(0x122),'command':a187_0xc4dfc6(0x113),'description':'Query\x20an\x20asynchronous\x20task;\x20repeat\x20for\x20PENDING\x20or\x20PROCESSING\x20until\x20SUCCESS\x20or\x20FAILED','risk':a187_0xc4dfc6(0x128),'defaultOutputFormat':a187_0xc4dfc6(0x117),'structuredErrors':!![],'flags':[{'name':'task-id','type':a187_0xc4dfc6(0x11e),'required':!![],'description':a187_0xc4dfc6(0x110)},APPCODE_FLAG_OPTIONAL],async 'validate'(_0x267fe5){const _0x46b972=a187_0xc4dfc6;if(!_0x267fe5[_0x46b972(0x126)](_0x46b972(0x116))['trim']())throw CliErrors[_0x46b972(0x11b)](_0x46b972(0x116));},async 'execute'(_0x35d14e){const _0x2d0996=a187_0xc4dfc6,_0x36169b=_0x35d14e[_0x2d0996(0x126)]('task-id')[_0x2d0996(0x123)](),_0x204ade=normalizeAsyncTask(await getAsyncTaskStatus(_0x36169b,_0x35d14e[_0x2d0996(0x119)],_0x35d14e[_0x2d0996(0x11f)]));if(_0x204ade[_0x2d0996(0x118)]!==_0x36169b)throw CliErrors[_0x2d0996(0x11a)](_0x2d0996(0x11c)+_0x36169b+_0x2d0996(0x111)+_0x204ade[_0x2d0996(0x118)]+'.');const _0xe9aa4e=buildAsyncTaskStatusCommand(_0x204ade[_0x2d0996(0x118)],_0x35d14e[_0x2d0996(0x119)]);return{'ok':!![],'message':asyncTaskMessage(_0x204ade),'data':{'appCode':_0x35d14e[_0x2d0996(0x119)],..._0x204ade,'query':_0x204ade['isTerminal']?null:{'command':_0xe9aa4e}}};}};
1
+ const a187_0x12faca=a187_0x1819;(function(_0x561c42,_0x161f67){const _0x85d657=a187_0x1819,_0x5adf08=_0x561c42();while(!![]){try{const _0x5c0d07=parseInt(_0x85d657(0x1b9))/0x1*(parseInt(_0x85d657(0x1c2))/0x2)+parseInt(_0x85d657(0x1bd))/0x3*(-parseInt(_0x85d657(0x1b0))/0x4)+parseInt(_0x85d657(0x1c0))/0x5+parseInt(_0x85d657(0x1c5))/0x6+-parseInt(_0x85d657(0x1b7))/0x7+-parseInt(_0x85d657(0x1b4))/0x8+parseInt(_0x85d657(0x1b8))/0x9*(parseInt(_0x85d657(0x1c4))/0xa);if(_0x5c0d07===_0x161f67)break;else _0x5adf08['push'](_0x5adf08['shift']());}catch(_0x1471a8){_0x5adf08['push'](_0x5adf08['shift']());}}}(a187_0x1cfb,0x94150));function a187_0x1cfb(){const _0xddda56=['Task\x20id\x20returned\x20by\x20an\x20asynchronous\x20platform\x20command','12xyVitv','cookie',',\x20received\x20','4338985pcWipt','apiError','724468sqZixa','trim','2280snZzeU','3582588tVrcJr','taskId','181000BagQrM','str','compress','Task\x20status\x20response\x20id\x20mismatch:\x20requested\x20','1110720fANPCq','appCode','task-id','7380919KHiJaD','6066FQyeGV','1BJhkxc','flagMissing','isTerminal'];a187_0x1cfb=function(){return _0xddda56;};return a187_0x1cfb();}import{APPCODE_FLAG_OPTIONAL}from'../../commands/common/flags.js';function a187_0x1819(_0x29d5d1,_0x18e709){_0x29d5d1=_0x29d5d1-0x1b0;const _0x1cfbb9=a187_0x1cfb();let _0x1819e0=_0x1cfbb9[_0x29d5d1];return _0x1819e0;}import{asyncTaskMessage,buildAsyncTaskStatusCommand,normalizeAsyncTask}from'../../commands/common/async-task.js';import{getAsyncTaskStatus}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';export const taskStatus={'service':'task','command':'status','description':'Query\x20an\x20asynchronous\x20task;\x20repeat\x20for\x20PENDING\x20or\x20PROCESSING\x20until\x20SUCCESS\x20or\x20FAILED','risk':'read','defaultOutputFormat':a187_0x12faca(0x1b2),'structuredErrors':!![],'flags':[{'name':a187_0x12faca(0x1b6),'type':'string','required':!![],'description':a187_0x12faca(0x1bc)},APPCODE_FLAG_OPTIONAL],async 'validate'(_0x104f8a){const _0x5067e2=a187_0x12faca;if(!_0x104f8a[_0x5067e2(0x1b1)]('task-id')[_0x5067e2(0x1c3)]())throw CliErrors[_0x5067e2(0x1ba)](_0x5067e2(0x1b6));},async 'execute'(_0x5cd6e5){const _0x258762=a187_0x12faca,_0x3ab2c9=_0x5cd6e5[_0x258762(0x1b1)](_0x258762(0x1b6))['trim'](),_0x48b209=normalizeAsyncTask(await getAsyncTaskStatus(_0x3ab2c9,_0x5cd6e5[_0x258762(0x1b5)],_0x5cd6e5[_0x258762(0x1be)]));if(_0x48b209[_0x258762(0x1c6)]!==_0x3ab2c9)throw CliErrors[_0x258762(0x1c1)](_0x258762(0x1b3)+_0x3ab2c9+_0x258762(0x1bf)+_0x48b209[_0x258762(0x1c6)]+'.');const _0x37dbfa=buildAsyncTaskStatusCommand(_0x48b209[_0x258762(0x1c6)],_0x5cd6e5['appCode']);return{'ok':!![],'message':asyncTaskMessage(_0x48b209),'data':{'appCode':_0x5cd6e5[_0x258762(0x1b5)],..._0x48b209,'query':_0x48b209[_0x258762(0x1bb)]?null:{'command':_0x37dbfa}}};}};
@@ -1 +1 @@
1
- (function(_0x3d1efb,_0xd0776){const _0x281e16=a188_0x3fc4,_0x18953c=_0x3d1efb();while(!![]){try{const _0x5ddbae=-parseInt(_0x281e16(0xd3))/0x1*(-parseInt(_0x281e16(0xd0))/0x2)+-parseInt(_0x281e16(0xd6))/0x3*(-parseInt(_0x281e16(0xcb))/0x4)+-parseInt(_0x281e16(0xca))/0x5*(-parseInt(_0x281e16(0xcf))/0x6)+parseInt(_0x281e16(0xd2))/0x7*(-parseInt(_0x281e16(0xce))/0x8)+parseInt(_0x281e16(0xd4))/0x9*(-parseInt(_0x281e16(0xcd))/0xa)+parseInt(_0x281e16(0xd1))/0xb+-parseInt(_0x281e16(0xd5))/0xc*(-parseInt(_0x281e16(0xcc))/0xd);if(_0x5ddbae===_0xd0776)break;else _0x18953c['push'](_0x18953c['shift']());}catch(_0x37dbe6){_0x18953c['push'](_0x18953c['shift']());}}}(a188_0x37d9,0x3172d));import{tenantMembersListDefinition}from'../../commands/tenant/members-list.js';function a188_0x3fc4(_0x470677,_0x25b01b){_0x470677=_0x470677-0xca;const _0x37d932=a188_0x37d9();let _0x3fc4eb=_0x37d932[_0x470677];return _0x3fc4eb;}export const tenantDefinitions=[tenantMembersListDefinition];function a188_0x37d9(){const _0x12d2d9=['26GVzsQa','60LVUbxR','3069656LpAYcW','26382VEjdvF','1846qFnSmD','1604966fOrZtn','7vxzBkB','406tNXIEp','541035ojGRYK','1236372xLxYww','3HnFMtz','145bazvLn','370876ghpgyE'];a188_0x37d9=function(){return _0x12d2d9;};return a188_0x37d9();}
1
+ function a188_0x5f19(_0x41ac56,_0x3baa36){_0x41ac56=_0x41ac56-0x14d;const _0x2bdd20=a188_0x2bdd();let _0x5f19db=_0x2bdd20[_0x41ac56];return _0x5f19db;}(function(_0x1b2574,_0x1731aa){const _0x4046f0=a188_0x5f19,_0x18a347=_0x1b2574();while(!![]){try{const _0x3e6a01=parseInt(_0x4046f0(0x152))/0x1+-parseInt(_0x4046f0(0x151))/0x2*(-parseInt(_0x4046f0(0x157))/0x3)+-parseInt(_0x4046f0(0x14f))/0x4*(-parseInt(_0x4046f0(0x155))/0x5)+-parseInt(_0x4046f0(0x150))/0x6+-parseInt(_0x4046f0(0x14e))/0x7*(-parseInt(_0x4046f0(0x154))/0x8)+parseInt(_0x4046f0(0x14d))/0x9*(-parseInt(_0x4046f0(0x156))/0xa)+parseInt(_0x4046f0(0x153))/0xb;if(_0x3e6a01===_0x1731aa)break;else _0x18a347['push'](_0x18a347['shift']());}catch(_0x190b4f){_0x18a347['push'](_0x18a347['shift']());}}}(a188_0x2bdd,0xd1fdf));import{tenantMembersListDefinition}from'../../commands/tenant/members-list.js';export const tenantDefinitions=[tenantMembersListDefinition];function a188_0x2bdd(){const _0xc6598a=['8XcIKOA','175365yxnCfW','2882530pluREI','49026mpSjGo','36sgcXiP','5689257swoDwZ','24lOxWao','9570816RmSfiT','138WIFnvV','83091buHNMj','15118367ccNVOy'];a188_0x2bdd=function(){return _0xc6598a;};return a188_0x2bdd();}
@@ -1 +1 @@
1
- function a189_0x596b(){const _0x320105=['\x20tenant\x20member(s)','260gCRjyU','16783EAwods','str','70654EwrBdK','50334qEwLQn','4kTWiWd','45regxRb','1365JWhauE','13iyCLNy','43638RPHISi','trim','12086124cUDXEX','550323CKcsiZ','flagMissing','1174296bhegTd','tenant','11FLpviO','Pass\x20--tenant-code\x20<code>.','string','71920tYYmQK','Exact\x20tenant\x20code','members-list','tenant-code','length'];a189_0x596b=function(){return _0x320105;};return a189_0x596b();}const a189_0x4552de=a189_0x5906;(function(_0x4e712d,_0x549511){const _0x5be4ea=a189_0x5906,_0x5b3fa1=_0x4e712d();while(!![]){try{const _0x3323b2=-parseInt(_0x5be4ea(0x1ca))/0x1*(parseInt(_0x5be4ea(0x1c5))/0x2)+-parseInt(_0x5be4ea(0x1c6))/0x3*(-parseInt(_0x5be4ea(0x1c7))/0x4)+parseInt(_0x5be4ea(0x1c8))/0x5*(parseInt(_0x5be4ea(0x1d0))/0x6)+parseInt(_0x5be4ea(0x1c9))/0x7*(-parseInt(_0x5be4ea(0x1d5))/0x8)+-parseInt(_0x5be4ea(0x1ce))/0x9*(parseInt(_0x5be4ea(0x1db))/0xa)+-parseInt(_0x5be4ea(0x1d2))/0xb*(parseInt(_0x5be4ea(0x1cd))/0xc)+parseInt(_0x5be4ea(0x1c3))/0xd*(parseInt(_0x5be4ea(0x1cb))/0xe);if(_0x3323b2===_0x549511)break;else _0x5b3fa1['push'](_0x5b3fa1['shift']());}catch(_0x30fd81){_0x5b3fa1['push'](_0x5b3fa1['shift']());}}}(a189_0x596b,0xf26c9));function a189_0x5906(_0x2f330b,_0x4e5999){_0x2f330b=_0x2f330b-0x1c3;const _0x596b45=a189_0x596b();let _0x5906e3=_0x596b45[_0x2f330b];return _0x5906e3;}import{listCurrentUserTenantMemberships,listTenantDirectoryMembers}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';import{assertTenantAccessible,projectTenantMembers}from'../../commands/tenant/shared.js';export const tenantMembersListDefinition={'service':a189_0x4552de(0x1d1),'command':a189_0x4552de(0x1d7),'description':'List\x20members\x20of\x20a\x20tenant\x20available\x20to\x20the\x20current\x20account','risk':'read','requiresAuth':!![],'requiresAppCode':![],'structuredErrors':!![],'flags':[{'name':a189_0x4552de(0x1d8),'type':a189_0x4552de(0x1d4),'required':!![],'description':a189_0x4552de(0x1d6)}],async 'validate'(_0x488c81){const _0x50c74f=a189_0x4552de;if(!_0x488c81[_0x50c74f(0x1c4)](_0x50c74f(0x1d8))[_0x50c74f(0x1cc)]())throw CliErrors[_0x50c74f(0x1cf)]('tenant-code',_0x50c74f(0x1d3));},async 'execute'(_0x4b05e0){const _0x9113b=a189_0x4552de,_0x4fd1c5=_0x4b05e0[_0x9113b(0x1c4)]('tenant-code')['trim'](),_0x833956=await listCurrentUserTenantMemberships();assertTenantAccessible(_0x4fd1c5,_0x833956);const _0x34ee53=projectTenantMembers(await listTenantDirectoryMembers(_0x4fd1c5));return{'ok':!![],'data':{'tenantCode':_0x4fd1c5,'items':_0x34ee53,'totalCount':_0x34ee53['length']},'message':'Found\x20'+_0x34ee53[_0x9113b(0x1d9)]+_0x9113b(0x1da)};}};
1
+ const a189_0x5ec09f=a189_0x5179;(function(_0x501f85,_0x420e3c){const _0x417721=a189_0x5179,_0x100753=_0x501f85();while(!![]){try{const _0x5b3530=-parseInt(_0x417721(0x18f))/0x1+parseInt(_0x417721(0x18b))/0x2+-parseInt(_0x417721(0x18e))/0x3+parseInt(_0x417721(0x187))/0x4+-parseInt(_0x417721(0x192))/0x5*(-parseInt(_0x417721(0x182))/0x6)+parseInt(_0x417721(0x18d))/0x7*(-parseInt(_0x417721(0x184))/0x8)+parseInt(_0x417721(0x188))/0x9*(-parseInt(_0x417721(0x185))/0xa);if(_0x5b3530===_0x420e3c)break;else _0x100753['push'](_0x100753['shift']());}catch(_0x47c09c){_0x100753['push'](_0x100753['shift']());}}}(a189_0x4c41,0x45714));import{listCurrentUserTenantMemberships,listTenantDirectoryMembers}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';function a189_0x4c41(){const _0xaf660d=['99wlsJwA','tenant-code','List\x20members\x20of\x20a\x20tenant\x20available\x20to\x20the\x20current\x20account','259112fKzhYX','Exact\x20tenant\x20code','224917hdLxUt','106212FJPaTW','70020mzXtSL','trim','length','1740090FPoHYt','str','6wftaxo','read','56hRtKeO','327830toZVjM','Found\x20','1991264GNCjIV'];a189_0x4c41=function(){return _0xaf660d;};return a189_0x4c41();}import{assertTenantAccessible,projectTenantMembers}from'../../commands/tenant/shared.js';function a189_0x5179(_0x84e97d,_0x5f0c46){_0x84e97d=_0x84e97d-0x182;const _0x4c41d1=a189_0x4c41();let _0x51792c=_0x4c41d1[_0x84e97d];return _0x51792c;}export const tenantMembersListDefinition={'service':'tenant','command':'members-list','description':a189_0x5ec09f(0x18a),'risk':a189_0x5ec09f(0x183),'requiresAuth':!![],'requiresAppCode':![],'structuredErrors':!![],'flags':[{'name':a189_0x5ec09f(0x189),'type':'string','required':!![],'description':a189_0x5ec09f(0x18c)}],async 'validate'(_0x6b4674){const _0x132703=a189_0x5ec09f;if(!_0x6b4674[_0x132703(0x193)](_0x132703(0x189))[_0x132703(0x190)]())throw CliErrors['flagMissing'](_0x132703(0x189),'Pass\x20--tenant-code\x20<code>.');},async 'execute'(_0x38e655){const _0x1eaed6=a189_0x5ec09f,_0x179a46=_0x38e655[_0x1eaed6(0x193)](_0x1eaed6(0x189))[_0x1eaed6(0x190)](),_0xd06e74=await listCurrentUserTenantMemberships();assertTenantAccessible(_0x179a46,_0xd06e74);const _0x5890f4=projectTenantMembers(await listTenantDirectoryMembers(_0x179a46));return{'ok':!![],'data':{'tenantCode':_0x179a46,'items':_0x5890f4,'totalCount':_0x5890f4[_0x1eaed6(0x191)]},'message':_0x1eaed6(0x186)+_0x5890f4[_0x1eaed6(0x191)]+'\x20tenant\x20member(s)'};}};
@@ -1 +1 @@
1
- function a190_0x5138(){const _0x5936f7=['values','ADMIN','8792819OWeLBN','displayName','tenantCode','adminFlag','role','set','12QRjcTf','status','username','MEMBER','508431zwxCfD','nickname','12738030UKfRWd','2738150hvYmGd','1072730vMozcJ','12MsGCvw','1062386AeRTky','isFinite','13664696bptJDX','some','9uMCFkv','trim','\x22\x20is\x20not\x20available\x20to\x20the\x20current\x20account.','userId'];a190_0x5138=function(){return _0x5936f7;};return a190_0x5138();}(function(_0x27cb02,_0x31caa0){const _0x333d58=a190_0x30f3,_0x61c02d=_0x27cb02();while(!![]){try{const _0xc0ea8b=-parseInt(_0x333d58(0x1cc))/0x1+-parseInt(_0x333d58(0x1c9))/0x2+parseInt(_0x333d58(0x1c6))/0x3*(-parseInt(_0x333d58(0x1cb))/0x4)+-parseInt(_0x333d58(0x1ca))/0x5*(parseInt(_0x333d58(0x1c2))/0x6)+parseInt(_0x333d58(0x1bc))/0x7+-parseInt(_0x333d58(0x1b4))/0x8*(-parseInt(_0x333d58(0x1b6))/0x9)+parseInt(_0x333d58(0x1c8))/0xa;if(_0xc0ea8b===_0x31caa0)break;else _0x61c02d['push'](_0x61c02d['shift']());}catch(_0x221e69){_0x61c02d['push'](_0x61c02d['shift']());}}}(a190_0x5138,0xd429f));import{CliErrors}from'../../errors.js';function a190_0x30f3(_0x320287,_0x477870){_0x320287=_0x320287-0x1b4;const _0x51386d=a190_0x5138();let _0x30f3d0=_0x51386d[_0x320287];return _0x30f3d0;}function textOrNull(_0x191e0f){const _0x508676=a190_0x30f3,_0x4a3b09=_0x191e0f?.[_0x508676(0x1b7)]();return _0x4a3b09?_0x4a3b09:null;}export function projectTenantMembers(_0x248115){const _0x14f294=a190_0x30f3,_0x3f36f3=new Map();for(const _0x53aeb4 of _0x248115){const _0x5a98e7=Number(_0x53aeb4[_0x14f294(0x1b9)]);if(!Number[_0x14f294(0x1cd)](_0x5a98e7)||_0x5a98e7<=0x0)continue;const _0x4cbb8a={'userId':_0x5a98e7,'username':textOrNull(_0x53aeb4[_0x14f294(0x1c4)]),'displayName':textOrNull(_0x53aeb4[_0x14f294(0x1c7)]),'role':_0x53aeb4[_0x14f294(0x1bf)]===!![]?'ADMIN':_0x14f294(0x1c5),'status':textOrNull(_0x53aeb4[_0x14f294(0x1c3)])},_0x72ccbd=_0x3f36f3['get'](_0x5a98e7);if(!_0x72ccbd){_0x3f36f3[_0x14f294(0x1c1)](_0x5a98e7,_0x4cbb8a);continue;}_0x72ccbd[_0x14f294(0x1c4)]??=_0x4cbb8a['username'],_0x72ccbd[_0x14f294(0x1bd)]??=_0x4cbb8a[_0x14f294(0x1bd)],_0x72ccbd[_0x14f294(0x1c3)]??=_0x4cbb8a[_0x14f294(0x1c3)];if(_0x4cbb8a[_0x14f294(0x1c0)]===_0x14f294(0x1bb))_0x72ccbd['role']='ADMIN';}return[..._0x3f36f3[_0x14f294(0x1ba)]()]['sort']((_0x59e3de,_0x1faa3a)=>_0x59e3de[_0x14f294(0x1b9)]-_0x1faa3a[_0x14f294(0x1b9)]);}export function assertTenantAccessible(_0x20714a,_0x202306){const _0x1d1599=a190_0x30f3;if(_0x202306[_0x1d1599(0x1b5)](_0x38a295=>_0x38a295[_0x1d1599(0x1be)]===_0x20714a))return;throw CliErrors['validation']('Tenant\x20\x22'+_0x20714a+_0x1d1599(0x1b8),'Check\x20--tenant-code\x20or\x20login\x20with\x20an\x20account\x20that\x20belongs\x20to\x20this\x20tenant.');}
1
+ (function(_0x444913,_0x228495){const _0x889be0=a190_0xb95d,_0x565cf8=_0x444913();while(!![]){try{const _0x20f91e=-parseInt(_0x889be0(0x17f))/0x1+parseInt(_0x889be0(0x16d))/0x2*(parseInt(_0x889be0(0x170))/0x3)+-parseInt(_0x889be0(0x185))/0x4+-parseInt(_0x889be0(0x176))/0x5*(parseInt(_0x889be0(0x177))/0x6)+parseInt(_0x889be0(0x182))/0x7*(parseInt(_0x889be0(0x17d))/0x8)+parseInt(_0x889be0(0x17b))/0x9+-parseInt(_0x889be0(0x184))/0xa;if(_0x20f91e===_0x228495)break;else _0x565cf8['push'](_0x565cf8['shift']());}catch(_0x5b8d54){_0x565cf8['push'](_0x565cf8['shift']());}}}(a190_0x5cce,0x1d694));import{CliErrors}from'../../errors.js';function textOrNull(_0x525f74){const _0x400ba6=a190_0xb95d,_0x55965e=_0x525f74?.[_0x400ba6(0x183)]();return _0x55965e?_0x55965e:null;}function a190_0x5cce(){const _0x57a6e0=['isFinite','username','65IJNZju','6084nrNNHD','role','displayName','values','979911SBAxzE','Check\x20--tenant-code\x20or\x20login\x20with\x20an\x20account\x20that\x20belongs\x20to\x20this\x20tenant.','8XFPWXv','adminFlag','11592NqstHF','ADMIN','userId','687113hbOpRn','trim','86540hNzsnz','549608HnVmUz','nickname','sort','some','10XNGRUS','set','status','50556kfRqqB','tenantCode','validation','Tenant\x20\x22'];a190_0x5cce=function(){return _0x57a6e0;};return a190_0x5cce();}function a190_0xb95d(_0x28ce4a,_0x297358){_0x28ce4a=_0x28ce4a-0x16a;const _0x5cce67=a190_0x5cce();let _0xb95dfd=_0x5cce67[_0x28ce4a];return _0xb95dfd;}export function projectTenantMembers(_0x281b10){const _0x2ee891=a190_0xb95d,_0x4205a7=new Map();for(const _0x185fc8 of _0x281b10){const _0x322d64=Number(_0x185fc8['userId']);if(!Number[_0x2ee891(0x174)](_0x322d64)||_0x322d64<=0x0)continue;const _0x53e337={'userId':_0x322d64,'username':textOrNull(_0x185fc8[_0x2ee891(0x175)]),'displayName':textOrNull(_0x185fc8[_0x2ee891(0x16a)]),'role':_0x185fc8[_0x2ee891(0x17e)]===!![]?_0x2ee891(0x180):'MEMBER','status':textOrNull(_0x185fc8[_0x2ee891(0x16f)])},_0x396ed4=_0x4205a7['get'](_0x322d64);if(!_0x396ed4){_0x4205a7[_0x2ee891(0x16e)](_0x322d64,_0x53e337);continue;}_0x396ed4[_0x2ee891(0x175)]??=_0x53e337[_0x2ee891(0x175)],_0x396ed4[_0x2ee891(0x179)]??=_0x53e337[_0x2ee891(0x179)],_0x396ed4['status']??=_0x53e337['status'];if(_0x53e337['role']===_0x2ee891(0x180))_0x396ed4[_0x2ee891(0x178)]=_0x2ee891(0x180);}return[..._0x4205a7[_0x2ee891(0x17a)]()][_0x2ee891(0x16b)]((_0x121f7d,_0x4adf79)=>_0x121f7d[_0x2ee891(0x181)]-_0x4adf79[_0x2ee891(0x181)]);}export function assertTenantAccessible(_0x27f129,_0x13b462){const _0x3b0bb9=a190_0xb95d;if(_0x13b462[_0x3b0bb9(0x16c)](_0x55d6b5=>_0x55d6b5[_0x3b0bb9(0x171)]===_0x27f129))return;throw CliErrors[_0x3b0bb9(0x172)](_0x3b0bb9(0x173)+_0x27f129+'\x22\x20is\x20not\x20available\x20to\x20the\x20current\x20account.',_0x3b0bb9(0x17c));}
@@ -1 +1 @@
1
- function a191_0x42a9(){const _0x35a1fc=['App\x20profile\x20name','4JfaPbI','1899lFcyNi','14200ZGFDHw','854meonhs','8125968NteRie','1004476WbpBHW','1635255rXMiIY','workspace\x20add','3142356sZlFXo','7YgdIFu','workspace','add','Register\x20an\x20app\x20profile\x20in\x20the\x20current\x20workspace\x20(or\x20--global)','name','9qUhaqM','48jQCmnr','write','4043770rpAjrM'];a191_0x42a9=function(){return _0x35a1fc;};return a191_0x42a9();}function a191_0x3b1d(_0x1f62e0,_0x4ad5fb){_0x1f62e0=_0x1f62e0-0x195;const _0x42a901=a191_0x42a9();let _0x3b1d9c=_0x42a901[_0x1f62e0];return _0x3b1d9c;}const a191_0x5df045=a191_0x3b1d;(function(_0x5e9fc6,_0x20c46a){const _0x2f548b=a191_0x3b1d,_0x473bbe=_0x5e9fc6();while(!![]){try{const _0x4eb82d=-parseInt(_0x2f548b(0x197))/0x1+parseInt(_0x2f548b(0x198))/0x2*(parseInt(_0x2f548b(0x196))/0x3)+-parseInt(_0x2f548b(0x195))/0x4*(parseInt(_0x2f548b(0x19b))/0x5)+parseInt(_0x2f548b(0x19d))/0x6*(parseInt(_0x2f548b(0x19e))/0x7)+parseInt(_0x2f548b(0x199))/0x8+parseInt(_0x2f548b(0x1a3))/0x9*(-parseInt(_0x2f548b(0x1a6))/0xa)+-parseInt(_0x2f548b(0x19a))/0xb*(parseInt(_0x2f548b(0x1a4))/0xc);if(_0x4eb82d===_0x20c46a)break;else _0x473bbe['push'](_0x473bbe['shift']());}catch(_0x42a308){_0x473bbe['push'](_0x473bbe['shift']());}}}(a191_0x42a9,0xaa9f7));import{buildAppAddFlags,runAppAdd,validateAppName}from'../../commands/common/app-registry.js';export const workspaceAddDefinition={'service':a191_0x5df045(0x19f),'command':a191_0x5df045(0x1a0),'description':a191_0x5df045(0x1a1),'risk':a191_0x5df045(0x1a5),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a191_0x5df045(0x1a2),'description':a191_0x5df045(0x1a7),'required':!![]}],'flags':buildAppAddFlags(),'validate':_0xb23338=>validateAppName(_0xb23338,a191_0x5df045(0x19c)),'execute':_0x53495f=>runAppAdd(_0x53495f,a191_0x5df045(0x19c))};
1
+ function a191_0x1d98(){const _0x525fe3=['12776nNXlAF','workspace\x20add','3102cmlDqB','1210870EjjJpp','1191065edxvZL','748446wWNYhn','App\x20profile\x20name','Register\x20an\x20app\x20profile\x20in\x20the\x20current\x20workspace\x20(or\x20--global)','write','12alXKMu','881423kJlARt','2711303DpzDOo','add','1502TAvHdE','405eobbmA','workspace'];a191_0x1d98=function(){return _0x525fe3;};return a191_0x1d98();}const a191_0x45b325=a191_0xef98;function a191_0xef98(_0x2f2544,_0x521fe2){_0x2f2544=_0x2f2544-0xd1;const _0x1d9855=a191_0x1d98();let _0xef989e=_0x1d9855[_0x2f2544];return _0xef989e;}(function(_0x4dffe8,_0x5e1cf8){const _0x1a2caf=a191_0xef98,_0x5e7059=_0x4dffe8();while(!![]){try{const _0x3a8516=parseInt(_0x1a2caf(0xe0))/0x1+-parseInt(_0x1a2caf(0xd3))/0x2*(parseInt(_0x1a2caf(0xd8))/0x3)+-parseInt(_0x1a2caf(0xdf))/0x4*(-parseInt(_0x1a2caf(0xda))/0x5)+parseInt(_0x1a2caf(0xdb))/0x6+-parseInt(_0x1a2caf(0xd1))/0x7+-parseInt(_0x1a2caf(0xd6))/0x8*(-parseInt(_0x1a2caf(0xd4))/0x9)+-parseInt(_0x1a2caf(0xd9))/0xa;if(_0x3a8516===_0x5e1cf8)break;else _0x5e7059['push'](_0x5e7059['shift']());}catch(_0x32d6d2){_0x5e7059['push'](_0x5e7059['shift']());}}}(a191_0x1d98,0x7bf46));import{buildAppAddFlags,runAppAdd,validateAppName}from'../../commands/common/app-registry.js';export const workspaceAddDefinition={'service':a191_0x45b325(0xd5),'command':a191_0x45b325(0xd2),'description':a191_0x45b325(0xdd),'risk':a191_0x45b325(0xde),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':'name','description':a191_0x45b325(0xdc),'required':!![]}],'flags':buildAppAddFlags(),'validate':_0x476a72=>validateAppName(_0x476a72,a191_0x45b325(0xd7)),'execute':_0x486fbf=>runAppAdd(_0x486fbf,a191_0x45b325(0xd7))};
@@ -1 +1 @@
1
- const a192_0xa40f16=a192_0xebfa;function a192_0x58f4(){const _0x2e94ad=['2FycxoQ','workspace','\x20--appcode\x20<code>`.','\x20workspace\x20','object','Missing\x20workspace\x20app\x20selector.','app','flag','1139488wQwgxe','validation','globalConfig','str','trim','appcode','Pass\x20--appcode\x20<code>,\x20or\x20choose\x20one\x20of:\x20','env','defaultApp','45rgfmLM','Risk\x20level\x20for\x20this\x20workspace\x20app\x20profile','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`','411830rqRbyH','string','updated','\x20workspace\x20use\x20--app\x20<name>`.','2462733KFIGtL','Default\x20page\x20size\x20for\x20this\x20workspace\x20app\x20profile','apps','110938xZpIXz','App\x20code\x20to\x20bind\x20to\x20this\x20workspace','locale','\x20workspace\x20<init|use>\x20--app\x20<name>\x20[--appcode\x20<code>]','initialized','number','\x20(appcode:\x20','Use\x20`','8XOpBCC','Target\x20environment','6YfmyyK','riskLevel','1972619KJjGIU','Invalid\x20appcode:\x20','format','isArray','Initialize\x20the\x20current\x20workspace\x20app\x20binding','1659770UVAclF','init',').\x20Config:\x20','apiDir','pageSize','Switch\x20the\x20current\x20workspace\x20app\x20binding','.\x20Credentials:\x20not\x20written.','90339MKzGIE','keys','\x22\x20not\x20found.','\x20--app\x20','defaultFormat'];a192_0x58f4=function(){return _0x2e94ad;};return a192_0x58f4();}(function(_0x1cca7f,_0x643f77){const _0x212dd6=a192_0xebfa,_0x2483b5=_0x1cca7f();while(!![]){try{const _0x93d7ee=parseInt(_0x212dd6(0x1da))/0x1*(parseInt(_0x212dd6(0x1f5))/0x2)+-parseInt(_0x212dd6(0x1d5))/0x3*(parseInt(_0x212dd6(0x1c5))/0x4)+parseInt(_0x212dd6(0x1ce))/0x5+parseInt(_0x212dd6(0x1c7))/0x6*(parseInt(_0x212dd6(0x1f2))/0x7)+-parseInt(_0x212dd6(0x1e2))/0x8+parseInt(_0x212dd6(0x1eb))/0x9*(-parseInt(_0x212dd6(0x1ee))/0xa)+-parseInt(_0x212dd6(0x1c9))/0xb;if(_0x93d7ee===_0x643f77)break;else _0x2483b5['push'](_0x2483b5['shift']());}catch(_0x20f73e){_0x2483b5['push'](_0x2483b5['shift']());}}}(a192_0x58f4,0x327d5));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';const WORKSPACE_USAGE=CLI_BIN_NAME+a192_0xa40f16(0x1f8),SAFE_PROFILE_KEYS=[a192_0xa40f16(0x1e7),a192_0xa40f16(0x1e9),a192_0xa40f16(0x1d1),'format',a192_0xa40f16(0x1d2),a192_0xa40f16(0x1c8),'locale'],workspaceFlags=[{'name':'app','type':a192_0xa40f16(0x1ef),'description':'App\x20profile\x20name\x20to\x20use\x20in\x20this\x20workspace'},{'name':a192_0xa40f16(0x1e7),'type':'string','description':a192_0xa40f16(0x1f6)},{'name':a192_0xa40f16(0x1e9),'type':a192_0xa40f16(0x1ef),'description':a192_0xa40f16(0x1c6),'enum':[...RABETBASE_ENV_VALUES]},{'name':a192_0xa40f16(0x1d1),'type':a192_0xa40f16(0x1ef),'description':'API\x20directory\x20path\x20for\x20this\x20workspace\x20app\x20profile'},{'name':a192_0xa40f16(0x1d9),'type':'string','description':'Default\x20output\x20format\x20for\x20this\x20workspace\x20app\x20profile','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':a192_0xa40f16(0x1d2),'type':a192_0xa40f16(0x1c2),'description':a192_0xa40f16(0x1f3)},{'name':'riskLevel','type':a192_0xa40f16(0x1ef),'description':a192_0xa40f16(0x1ec),'enum':[...RISK_LEVEL_VALUES]},{'name':'locale','type':a192_0xa40f16(0x1ef),'description':'Locale\x20for\x20this\x20workspace\x20app\x20profile'}];function isRecord(_0x6968cd){const _0x3122dd=a192_0xa40f16;return!!_0x6968cd&&typeof _0x6968cd===_0x3122dd(0x1de)&&!Array[_0x3122dd(0x1cc)](_0x6968cd);}function assertValidAppcode(_0xc256e0){const _0x3c90a8=a192_0xa40f16,{valid:_0x16b9a5,message:_0x2035d9}=validateAppcode(_0xc256e0);if(!_0x16b9a5)throw CliErrors[_0x3c90a8(0x1e3)](_0x3c90a8(0x1ca)+_0xc256e0,_0x2035d9);}function sanitizeProfile(_0x5b4a73){if(!isRecord(_0x5b4a73))return{};const _0x2c783f={};for(const _0x1d032c of SAFE_PROFILE_KEYS){if(_0x5b4a73[_0x1d032c]!==undefined)_0x2c783f[_0x1d032c]=_0x5b4a73[_0x1d032c];}return _0x2c783f;}function cloneProfile(_0x5a35d2){return isRecord(_0x5a35d2)?{..._0x5a35d2}:{};}function collectWorkspaceProfileOverrides(_0x296d66){const _0x1488e5=a192_0xa40f16,_0xbbbf32={},_0x3f7a0e=_0x296d66[_0x1488e5(0x1e5)](_0x1488e5(0x1e9)),_0x301f44=_0x296d66['str'](_0x1488e5(0x1d1)),_0x25592d=_0x296d66[_0x1488e5(0x1e5)](_0x1488e5(0x1d9)),_0x4dc0fc=_0x296d66[_0x1488e5(0x1e1)](_0x1488e5(0x1d2)),_0xa21e33=_0x296d66[_0x1488e5(0x1e5)]('riskLevel'),_0x506c48=_0x296d66['str'](_0x1488e5(0x1f7));if(_0x3f7a0e)_0xbbbf32['env']=_0x3f7a0e;if(_0x301f44)_0xbbbf32[_0x1488e5(0x1d1)]=_0x301f44;if(_0x25592d)_0xbbbf32[_0x1488e5(0x1cb)]=_0x25592d;if(_0x4dc0fc!==undefined&&_0x4dc0fc!=='')_0xbbbf32[_0x1488e5(0x1d2)]=Number(_0x4dc0fc);if(_0xa21e33)_0xbbbf32[_0x1488e5(0x1c8)]=_0xa21e33;if(_0x506c48)_0xbbbf32['locale']=_0x506c48;return _0xbbbf32;}function a192_0xebfa(_0x2c8cb2,_0x1fcf0d){_0x2c8cb2=_0x2c8cb2-0x1c2;const _0x58f432=a192_0x58f4();let _0xebfade=_0x58f432[_0x2c8cb2];return _0xebfade;}async function validateWorkspaceArgs(_0x52dce1){const _0x545739=a192_0xa40f16,_0x160fb7=_0x52dce1['str']('app')[_0x545739(0x1e6)](),_0x467d26=_0x52dce1[_0x545739(0x1e5)]('appcode')[_0x545739(0x1e6)]();if(!_0x160fb7&&!_0x467d26)throw CliErrors[_0x545739(0x1e3)]('Missing\x20workspace\x20app\x20selector.',_0x545739(0x1c4)+CLI_BIN_NAME+_0x545739(0x1ed)+CLI_BIN_NAME+_0x545739(0x1f1));if(_0x467d26)assertValidAppcode(_0x467d26);}function resolveKnownApps(){const _0x11ecb2=a192_0xa40f16,{config:_0x4f5291,layers:_0x247982}=readRawConfigWithLayers(),_0x3ae7c6=isRecord(_0x4f5291[_0x11ecb2(0x1f4)])?_0x4f5291[_0x11ecb2(0x1f4)]:{},_0x153bb6=isRecord(_0x247982[_0x11ecb2(0x1e4)][_0x11ecb2(0x1f4)])?_0x247982['globalConfig'][_0x11ecb2(0x1f4)]:{};return{..._0x153bb6,..._0x3ae7c6};}async function configureWorkspace(_0x47db71,_0x19471b){const _0x59bc9b=a192_0xa40f16,_0x5badaa=_0x47db71[_0x59bc9b(0x1e5)](_0x59bc9b(0x1e0))[_0x59bc9b(0x1e6)](),_0x2a89a1=_0x47db71[_0x59bc9b(0x1e5)](_0x59bc9b(0x1e7))['trim'](),_0xa5450=_0x5badaa||_0x2a89a1;if(!_0xa5450)throw CliErrors[_0x59bc9b(0x1e3)](_0x59bc9b(0x1df),_0x59bc9b(0x1c4)+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`'+CLI_BIN_NAME+'\x20workspace\x20use\x20--app\x20<name>`.');if(_0x2a89a1)assertValidAppcode(_0x2a89a1);const _0xcaee9c=resolveWriteConfigPath('project'),_0x432a50=readConfigFile(_0xcaee9c),_0x53d8d7=resolveKnownApps(),_0x3ba9b2=isRecord(_0x432a50[_0x59bc9b(0x1f4)])?{..._0x432a50[_0x59bc9b(0x1f4)]}:{},_0xc2cc9=cloneProfile(_0x3ba9b2[_0xa5450]),_0xf774f4=sanitizeProfile(_0x53d8d7[_0xa5450]),_0x5a727c=_0x2a89a1?{}:_0xf774f4,_0xf504e2=_0x2a89a1||_0x5a727c['appcode'];if(!_0xf504e2){const _0xe7bcff=Object[_0x59bc9b(0x1d6)](_0x53d8d7),_0x53ed1c=_0xe7bcff['length']===0x0?_0x59bc9b(0x1c4)+CLI_BIN_NAME+_0x59bc9b(0x1dd)+_0x19471b+_0x59bc9b(0x1d8)+_0xa5450+_0x59bc9b(0x1dc):_0x59bc9b(0x1e8)+_0xe7bcff['join'](',\x20');throw CliErrors[_0x59bc9b(0x1e3)]('App\x20\x22'+_0xa5450+_0x59bc9b(0x1d7),_0x53ed1c);}assertValidAppcode(String(_0xf504e2));const _0x3c0240={..._0x5a727c,..._0xc2cc9,'appcode':String(_0xf504e2),...collectWorkspaceProfileOverrides(_0x47db71)};return _0x3ba9b2[_0xa5450]=_0x3c0240,_0x432a50[_0x59bc9b(0x1f4)]=_0x3ba9b2,_0x432a50[_0x59bc9b(0x1ea)]=_0xa5450,delete _0x432a50['appcode'],delete _0x432a50[_0x59bc9b(0x1e0)],_0x3c0240['env']&&(_0x432a50['env']=_0x3c0240[_0x59bc9b(0x1e9)]),writeConfigFile(_0xcaee9c,_0x432a50),{'ok':!![],'message':'Workspace\x20'+(_0x19471b===_0x59bc9b(0x1cf)?_0x59bc9b(0x1f9):_0x59bc9b(0x1f0))+':\x20'+_0xa5450+_0x59bc9b(0x1c3)+_0x3c0240[_0x59bc9b(0x1e7)]+_0x59bc9b(0x1d0)+_0xcaee9c+_0x59bc9b(0x1d4),'data':{'operation':'workspace.'+_0x19471b,'configPath':_0xcaee9c,'app':_0xa5450,'appcode':_0x3c0240[_0x59bc9b(0x1e7)],'env':_0x3c0240['env']??null,'credentialsWritten':![]}};}const workspaceInitDefinition={'service':'workspace','command':a192_0xa40f16(0x1cf),'description':a192_0xa40f16(0x1cd),'risk':'write','requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x5830a4=>configureWorkspace(_0x5830a4,a192_0xa40f16(0x1cf))},workspaceUseDefinition={'service':a192_0xa40f16(0x1db),'command':'use','description':a192_0xa40f16(0x1d3),'risk':'write','requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x377ce8=>configureWorkspace(_0x377ce8,'use')};export const workspaceDefinitions=[workspaceInitDefinition,workspaceUseDefinition,workspaceAddDefinition,workspaceRemoveDefinition];export{WORKSPACE_USAGE};
1
+ const a192_0x1ac181=a192_0x3818;(function(_0x4a02ca,_0x1f2af9){const _0xe61473=a192_0x3818,_0x16bc52=_0x4a02ca();while(!![]){try{const _0x32dedd=parseInt(_0xe61473(0xf2))/0x1+-parseInt(_0xe61473(0xd5))/0x2+parseInt(_0xe61473(0xcc))/0x3*(-parseInt(_0xe61473(0xe1))/0x4)+parseInt(_0xe61473(0xf3))/0x5+parseInt(_0xe61473(0xbc))/0x6*(parseInt(_0xe61473(0xb7))/0x7)+parseInt(_0xe61473(0xe3))/0x8+-parseInt(_0xe61473(0xe5))/0x9;if(_0x32dedd===_0x1f2af9)break;else _0x16bc52['push'](_0x16bc52['shift']());}catch(_0x4492ee){_0x16bc52['push'](_0x16bc52['shift']());}}}(a192_0x3724,0xda166));import{CliErrors}from'../../errors.js';import{CLI_BIN_NAME}from'../../constant/cli.js';function a192_0x3818(_0x167779,_0x3ec96b){_0x167779=_0x167779-0xb7;const _0x3724f7=a192_0x3724();let _0x38187a=_0x3724f7[_0x167779];return _0x38187a;}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';function a192_0x3724(){const _0x1c76d8=['Locale\x20for\x20this\x20workspace\x20app\x20profile','\x20workspace\x20','\x20workspace\x20<init|use>\x20--app\x20<name>\x20[--appcode\x20<code>]','Default\x20output\x20format\x20for\x20this\x20workspace\x20app\x20profile','string','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`','App\x20code\x20to\x20bind\x20to\x20this\x20workspace','format','3qcEYbi','\x20workspace\x20use\x20--app\x20<name>`.','apiDir','defaultApp','Pass\x20--appcode\x20<code>,\x20or\x20choose\x20one\x20of:\x20','apps','workspace','Workspace\x20','API\x20directory\x20path\x20for\x20this\x20workspace\x20app\x20profile','1883198PYyQbA','Missing\x20workspace\x20app\x20selector.','appcode','updated','project','globalConfig','use','\x22\x20not\x20found.','env','defaultFormat','number','locale','4444276wOitnY','str','13467136NheTxA','Default\x20page\x20size\x20for\x20this\x20workspace\x20app\x20profile','14432481OGqNxq','\x20--app\x20','length','object','flag','initialized','riskLevel','write','app','App\x20\x22','Switch\x20the\x20current\x20workspace\x20app\x20binding','pageSize','trim','1365144fxnXgP','1239235pUrqpm','Use\x20`',').\x20Config:\x20','1754452LsKFdz','keys','validation','Target\x20environment','\x20--appcode\x20<code>`.','30qtbvSJ','init','.\x20Credentials:\x20not\x20written.','join','Initialize\x20the\x20current\x20workspace\x20app\x20binding','isArray','App\x20profile\x20name\x20to\x20use\x20in\x20this\x20workspace','workspace.'];a192_0x3724=function(){return _0x1c76d8;};return a192_0x3724();}const WORKSPACE_USAGE=CLI_BIN_NAME+a192_0x1ac181(0xc6),SAFE_PROFILE_KEYS=['appcode',a192_0x1ac181(0xdd),'apiDir',a192_0x1ac181(0xcb),a192_0x1ac181(0xf0),a192_0x1ac181(0xeb),a192_0x1ac181(0xe0)],workspaceFlags=[{'name':a192_0x1ac181(0xed),'type':a192_0x1ac181(0xc8),'description':a192_0x1ac181(0xc2)},{'name':a192_0x1ac181(0xd7),'type':'string','description':a192_0x1ac181(0xca)},{'name':a192_0x1ac181(0xdd),'type':a192_0x1ac181(0xc8),'description':a192_0x1ac181(0xba),'enum':[...RABETBASE_ENV_VALUES]},{'name':a192_0x1ac181(0xce),'type':a192_0x1ac181(0xc8),'description':a192_0x1ac181(0xd4)},{'name':a192_0x1ac181(0xde),'type':a192_0x1ac181(0xc8),'description':a192_0x1ac181(0xc7),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':a192_0x1ac181(0xf0),'type':a192_0x1ac181(0xdf),'description':a192_0x1ac181(0xe4)},{'name':a192_0x1ac181(0xeb),'type':a192_0x1ac181(0xc8),'description':'Risk\x20level\x20for\x20this\x20workspace\x20app\x20profile','enum':[...RISK_LEVEL_VALUES]},{'name':a192_0x1ac181(0xe0),'type':'string','description':a192_0x1ac181(0xc4)}];function isRecord(_0x340c77){const _0x359db9=a192_0x1ac181;return!!_0x340c77&&typeof _0x340c77===_0x359db9(0xe8)&&!Array[_0x359db9(0xc1)](_0x340c77);}function assertValidAppcode(_0xf116f1){const {valid:_0x24011a,message:_0x249658}=validateAppcode(_0xf116f1);if(!_0x24011a)throw CliErrors['validation']('Invalid\x20appcode:\x20'+_0xf116f1,_0x249658);}function sanitizeProfile(_0x354295){if(!isRecord(_0x354295))return{};const _0x2f7e73={};for(const _0x40f45b of SAFE_PROFILE_KEYS){if(_0x354295[_0x40f45b]!==undefined)_0x2f7e73[_0x40f45b]=_0x354295[_0x40f45b];}return _0x2f7e73;}function cloneProfile(_0xd07997){return isRecord(_0xd07997)?{..._0xd07997}:{};}function collectWorkspaceProfileOverrides(_0x48973d){const _0x14030e=a192_0x1ac181,_0x32d06d={},_0x2a3448=_0x48973d[_0x14030e(0xe2)](_0x14030e(0xdd)),_0xd2918=_0x48973d[_0x14030e(0xe2)](_0x14030e(0xce)),_0x490783=_0x48973d['str']('defaultFormat'),_0x1dbc0c=_0x48973d[_0x14030e(0xe9)]('pageSize'),_0x399086=_0x48973d[_0x14030e(0xe2)](_0x14030e(0xeb)),_0x48f086=_0x48973d[_0x14030e(0xe2)](_0x14030e(0xe0));if(_0x2a3448)_0x32d06d['env']=_0x2a3448;if(_0xd2918)_0x32d06d['apiDir']=_0xd2918;if(_0x490783)_0x32d06d[_0x14030e(0xcb)]=_0x490783;if(_0x1dbc0c!==undefined&&_0x1dbc0c!=='')_0x32d06d[_0x14030e(0xf0)]=Number(_0x1dbc0c);if(_0x399086)_0x32d06d[_0x14030e(0xeb)]=_0x399086;if(_0x48f086)_0x32d06d[_0x14030e(0xe0)]=_0x48f086;return _0x32d06d;}async function validateWorkspaceArgs(_0x4fb051){const _0x3b14c2=a192_0x1ac181,_0x48dbd1=_0x4fb051[_0x3b14c2(0xe2)](_0x3b14c2(0xed))[_0x3b14c2(0xf1)](),_0x32cfd9=_0x4fb051['str'](_0x3b14c2(0xd7))[_0x3b14c2(0xf1)]();if(!_0x48dbd1&&!_0x32cfd9)throw CliErrors[_0x3b14c2(0xb9)](_0x3b14c2(0xd6),_0x3b14c2(0xf4)+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20`'+CLI_BIN_NAME+_0x3b14c2(0xcd));if(_0x32cfd9)assertValidAppcode(_0x32cfd9);}function resolveKnownApps(){const _0x2e2afc=a192_0x1ac181,{config:_0x4089aa,layers:_0x7b5c90}=readRawConfigWithLayers(),_0x3bc892=isRecord(_0x4089aa[_0x2e2afc(0xd1)])?_0x4089aa[_0x2e2afc(0xd1)]:{},_0x5e4732=isRecord(_0x7b5c90[_0x2e2afc(0xda)][_0x2e2afc(0xd1)])?_0x7b5c90[_0x2e2afc(0xda)][_0x2e2afc(0xd1)]:{};return{..._0x5e4732,..._0x3bc892};}async function configureWorkspace(_0x207925,_0x53b0f3){const _0x5b5d3a=a192_0x1ac181,_0x2b34ff=_0x207925[_0x5b5d3a(0xe2)](_0x5b5d3a(0xed))[_0x5b5d3a(0xf1)](),_0x81804f=_0x207925[_0x5b5d3a(0xe2)]('appcode')[_0x5b5d3a(0xf1)](),_0x3f272a=_0x2b34ff||_0x81804f;if(!_0x3f272a)throw CliErrors[_0x5b5d3a(0xb9)]('Missing\x20workspace\x20app\x20selector.',_0x5b5d3a(0xf4)+CLI_BIN_NAME+_0x5b5d3a(0xc9)+CLI_BIN_NAME+_0x5b5d3a(0xcd));if(_0x81804f)assertValidAppcode(_0x81804f);const _0xb54aac=resolveWriteConfigPath(_0x5b5d3a(0xd9)),_0x16b395=readConfigFile(_0xb54aac),_0x144ddc=resolveKnownApps(),_0x126a8a=isRecord(_0x16b395[_0x5b5d3a(0xd1)])?{..._0x16b395[_0x5b5d3a(0xd1)]}:{},_0x5e1bf7=cloneProfile(_0x126a8a[_0x3f272a]),_0x4aace9=sanitizeProfile(_0x144ddc[_0x3f272a]),_0x78c289=_0x81804f?{}:_0x4aace9,_0x284c6e=_0x81804f||_0x78c289[_0x5b5d3a(0xd7)];if(!_0x284c6e){const _0x1e726d=Object[_0x5b5d3a(0xb8)](_0x144ddc),_0x5d4521=_0x1e726d[_0x5b5d3a(0xe7)]===0x0?_0x5b5d3a(0xf4)+CLI_BIN_NAME+_0x5b5d3a(0xc5)+_0x53b0f3+_0x5b5d3a(0xe6)+_0x3f272a+_0x5b5d3a(0xbb):_0x5b5d3a(0xd0)+_0x1e726d[_0x5b5d3a(0xbf)](',\x20');throw CliErrors[_0x5b5d3a(0xb9)](_0x5b5d3a(0xee)+_0x3f272a+_0x5b5d3a(0xdc),_0x5d4521);}assertValidAppcode(String(_0x284c6e));const _0x593519={..._0x78c289,..._0x5e1bf7,'appcode':String(_0x284c6e),...collectWorkspaceProfileOverrides(_0x207925)};return _0x126a8a[_0x3f272a]=_0x593519,_0x16b395[_0x5b5d3a(0xd1)]=_0x126a8a,_0x16b395[_0x5b5d3a(0xcf)]=_0x3f272a,delete _0x16b395[_0x5b5d3a(0xd7)],delete _0x16b395[_0x5b5d3a(0xed)],_0x593519['env']&&(_0x16b395['env']=_0x593519[_0x5b5d3a(0xdd)]),writeConfigFile(_0xb54aac,_0x16b395),{'ok':!![],'message':_0x5b5d3a(0xd3)+(_0x53b0f3==='init'?_0x5b5d3a(0xea):_0x5b5d3a(0xd8))+':\x20'+_0x3f272a+'\x20(appcode:\x20'+_0x593519[_0x5b5d3a(0xd7)]+_0x5b5d3a(0xf5)+_0xb54aac+_0x5b5d3a(0xbe),'data':{'operation':_0x5b5d3a(0xc3)+_0x53b0f3,'configPath':_0xb54aac,'app':_0x3f272a,'appcode':_0x593519[_0x5b5d3a(0xd7)],'env':_0x593519[_0x5b5d3a(0xdd)]??null,'credentialsWritten':![]}};}const workspaceInitDefinition={'service':a192_0x1ac181(0xd2),'command':a192_0x1ac181(0xbd),'description':a192_0x1ac181(0xc0),'risk':a192_0x1ac181(0xec),'requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x5a588a=>configureWorkspace(_0x5a588a,a192_0x1ac181(0xbd))},workspaceUseDefinition={'service':a192_0x1ac181(0xd2),'command':a192_0x1ac181(0xdb),'description':a192_0x1ac181(0xef),'risk':'write','requiresAuth':![],'requiresAppCode':![],'args':[],'flags':workspaceFlags,'validate':validateWorkspaceArgs,'execute':_0x2c34fd=>configureWorkspace(_0x2c34fd,a192_0x1ac181(0xdb))};export const workspaceDefinitions=[workspaceInitDefinition,workspaceUseDefinition,workspaceAddDefinition,workspaceRemoveDefinition];export{WORKSPACE_USAGE};
@@ -1 +1 @@
1
- const a193_0x746d20=a193_0x408a;(function(_0x21a1dd,_0xa62ecb){const _0x2390e0=a193_0x408a,_0x2a89be=_0x21a1dd();while(!![]){try{const _0x54b222=parseInt(_0x2390e0(0x142))/0x1*(parseInt(_0x2390e0(0x14d))/0x2)+-parseInt(_0x2390e0(0x14c))/0x3*(parseInt(_0x2390e0(0x14b))/0x4)+-parseInt(_0x2390e0(0x146))/0x5*(-parseInt(_0x2390e0(0x13f))/0x6)+-parseInt(_0x2390e0(0x145))/0x7+parseInt(_0x2390e0(0x144))/0x8+parseInt(_0x2390e0(0x143))/0x9*(parseInt(_0x2390e0(0x147))/0xa)+parseInt(_0x2390e0(0x14e))/0xb*(-parseInt(_0x2390e0(0x14a))/0xc);if(_0x54b222===_0xa62ecb)break;else _0x2a89be['push'](_0x2a89be['shift']());}catch(_0x51318d){_0x2a89be['push'](_0x2a89be['shift']());}}}(a193_0x49cd,0x52996));import{buildAppRemoveFlags,runAppRemove,validateAppName}from'../../commands/common/app-registry.js';function a193_0x49cd(){const _0x313b7e=['write','307534rsKqVt','639XJjWTS','4168840nsNNfL','1047088ThGGTD','345Twekaf','9590fizNnx','workspace\x20remove','name','60pgDkDI','1452ZpvSDH','1560TwrLch','2wHMlmT','1736174vvhwXj','49488cLAlBj','App\x20profile\x20name\x20to\x20remove'];a193_0x49cd=function(){return _0x313b7e;};return a193_0x49cd();}function a193_0x408a(_0x161786,_0x2bbd47){_0x161786=_0x161786-0x13f;const _0x49cdb8=a193_0x49cd();let _0x408ace=_0x49cdb8[_0x161786];return _0x408ace;}export const workspaceRemoveDefinition={'service':'workspace','command':'remove','description':'Remove\x20an\x20app\x20profile\x20from\x20the\x20current\x20workspace\x20(or\x20--global)','risk':a193_0x746d20(0x141),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a193_0x746d20(0x149),'description':a193_0x746d20(0x140),'required':!![]}],'flags':buildAppRemoveFlags(),'validate':_0x1b5ba1=>validateAppName(_0x1b5ba1,a193_0x746d20(0x148)),'execute':_0x52fe38=>runAppRemove(_0x52fe38,a193_0x746d20(0x148))};
1
+ const a193_0x5eabdf=a193_0x475b;function a193_0x8e2f(){const _0x4f4a9b=['8PhYwvA','Remove\x20an\x20app\x20profile\x20from\x20the\x20current\x20workspace\x20(or\x20--global)','7ccMvIQ','name','App\x20profile\x20name\x20to\x20remove','714762xJWEnp','workspace','709364ikAHgI','183172sYzDJM','write','3225WxHTge','8630862wshRJq','1347827ZDXDyd','8516PDlWob','5423499HWUnoS','workspace\x20remove','1910zLFVba'];a193_0x8e2f=function(){return _0x4f4a9b;};return a193_0x8e2f();}(function(_0x169ba1,_0x26352d){const _0x22a8d6=a193_0x475b,_0x5ca0d7=_0x169ba1();while(!![]){try{const _0x16f1b2=parseInt(_0x22a8d6(0x13a))/0x1+-parseInt(_0x22a8d6(0x135))/0x2+parseInt(_0x22a8d6(0x133))/0x3+-parseInt(_0x22a8d6(0x13b))/0x4*(parseInt(_0x22a8d6(0x138))/0x5)+parseInt(_0x22a8d6(0x139))/0x6*(-parseInt(_0x22a8d6(0x141))/0x7)+-parseInt(_0x22a8d6(0x13f))/0x8*(parseInt(_0x22a8d6(0x13c))/0x9)+parseInt(_0x22a8d6(0x13e))/0xa*(parseInt(_0x22a8d6(0x136))/0xb);if(_0x16f1b2===_0x26352d)break;else _0x5ca0d7['push'](_0x5ca0d7['shift']());}catch(_0xb1f032){_0x5ca0d7['push'](_0x5ca0d7['shift']());}}}(a193_0x8e2f,0xf3906));import{buildAppRemoveFlags,runAppRemove,validateAppName}from'../../commands/common/app-registry.js';function a193_0x475b(_0x3f487,_0x239014){_0x3f487=_0x3f487-0x132;const _0x8e2f9f=a193_0x8e2f();let _0x475b71=_0x8e2f9f[_0x3f487];return _0x475b71;}export const workspaceRemoveDefinition={'service':a193_0x5eabdf(0x134),'command':'remove','description':a193_0x5eabdf(0x140),'risk':a193_0x5eabdf(0x137),'requiresAuth':![],'requiresAppCode':![],'args':[{'name':a193_0x5eabdf(0x142),'description':a193_0x5eabdf(0x132),'required':!![]}],'flags':buildAppRemoveFlags(),'validate':_0x440713=>validateAppName(_0x440713,a193_0x5eabdf(0x13d)),'execute':_0x4de346=>runAppRemove(_0x4de346,a193_0x5eabdf(0x13d))};
@@ -1 +1 @@
1
- const a194_0x5e5c23=a194_0x55e2;(function(_0x1dbdb0,_0x49489c){const _0x28783f=a194_0x55e2,_0x551331=_0x1dbdb0();while(!![]){try{const _0x4cfa54=parseInt(_0x28783f(0x173))/0x1*(parseInt(_0x28783f(0x169))/0x2)+-parseInt(_0x28783f(0x179))/0x3+-parseInt(_0x28783f(0x16d))/0x4+parseInt(_0x28783f(0x178))/0x5*(-parseInt(_0x28783f(0x161))/0x6)+parseInt(_0x28783f(0x168))/0x7+-parseInt(_0x28783f(0x17e))/0x8+parseInt(_0x28783f(0x172))/0x9;if(_0x4cfa54===_0x49489c)break;else _0x551331['push'](_0x551331['shift']());}catch(_0x13be34){_0x551331['push'](_0x551331['shift']());}}}(a194_0x39e5,0x60b69));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.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 a194_0x55e2(_0x3598e2,_0x5c2755){_0x3598e2=_0x3598e2-0x15d;const _0x39e55f=a194_0x39e5();let _0x55e29e=_0x39e55f[_0x3598e2];return _0x55e29e;}export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';export const PROJECT_CREATE_INHERITABLE_KEYS=[a194_0x5e5c23(0x17d),a194_0x5e5c23(0x17b),a194_0x5e5c23(0x182),'format',a194_0x5e5c23(0x165)];function a194_0x39e5(){const _0x4a3155=['Auth\x20cookie','9273357UKLpxl','1BFuZwC','inherit','string','keys','Default\x20page\x20size','155PlxdEM','1657275nHXdaA','zh-CN','accessKey','filter','cookie','1917544BMmSnB','Config\x20key\x20(','length','app','locale','apps','Access\x20key','appcode','Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','entries','en-US','25884whJPYG','map','format','defaultApp','riskLevel','join','apiDir','2249940qmrJtM','631226RDgSBA','API\x20directory\x20path','pageSize','toLowerCase','1381668KQskUA','Risk\x20level','env','defaultFormat'];a194_0x39e5=function(){return _0x4a3155;};return a194_0x39e5();}export const TOP_LEVEL_CONFIG_KEYS=new Set([a194_0x5e5c23(0x15d),a194_0x5e5c23(0x16f),'locale','format',a194_0x5e5c23(0x17d),a194_0x5e5c23(0x17b),a194_0x5e5c23(0x167)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES]};export function formatConfigKeyList(_0x99b40f){const _0x41fddc=a194_0x5e5c23;return[..._0x99b40f][_0x41fddc(0x166)](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x118ec9){return TOP_LEVEL_CONFIG_KEYS['has'](_0x118ec9);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x3a851e=a194_0x5e5c23;return _0x3a851e(0x17f)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'env':a194_0x5e5c23(0x16f),'apiDir':'apiDir','cookie':a194_0x5e5c23(0x17d),'accessKey':'accessKey','defaultFormat':a194_0x5e5c23(0x163),'pageSize':a194_0x5e5c23(0x16b),'riskLevel':a194_0x5e5c23(0x165),'locale':a194_0x5e5c23(0x182)};export function getAppProfileFlagDefs(){const _0x1f4818=a194_0x5e5c23;return[{'name':_0x1f4818(0x16f),'type':_0x1f4818(0x175),'description':'Target\x20environment','enum':[...RABETBASE_ENV_VALUES]},{'name':_0x1f4818(0x167),'type':_0x1f4818(0x175),'description':_0x1f4818(0x16a)},{'name':_0x1f4818(0x17d),'type':_0x1f4818(0x175),'description':_0x1f4818(0x171),'hidden':!![]},{'name':_0x1f4818(0x17b),'type':_0x1f4818(0x175),'description':_0x1f4818(0x184),'hidden':!![]},{'name':_0x1f4818(0x170),'type':_0x1f4818(0x175),'description':_0x1f4818(0x15e),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':'pageSize','type':'number','description':_0x1f4818(0x177)},{'name':_0x1f4818(0x165),'type':_0x1f4818(0x175),'description':_0x1f4818(0x16e),'enum':[...RISK_LEVEL_VALUES]},{'name':_0x1f4818(0x182),'type':'string','description':'Locale'}];}export function collectAppProfileOverrides(_0x44ebbd){const _0x5c398d=a194_0x5e5c23,_0x259c00={};for(const [_0x2ebce0,_0xae9a87]of Object[_0x5c398d(0x15f)](APP_PROFILE_FLAG_KEY_MAP)){const _0x2b26fb=_0x44ebbd(_0x2ebce0);if(!_0x2b26fb)continue;_0x259c00[_0xae9a87]=_0xae9a87===_0x5c398d(0x16b)?Number(_0x2b26fb):_0x2b26fb;}return _0x259c00;}export function buildAppProfileListFields(_0x19bd45){const _0x58debb=a194_0x5e5c23;return{'env':_0x19bd45[_0x58debb(0x16f)]??null,'apiDir':_0x19bd45[_0x58debb(0x167)]??null,'hasCookie':!!_0x19bd45[_0x58debb(0x17d)],'hasAccessKey':!!_0x19bd45['accessKey'],'format':_0x19bd45[_0x58debb(0x163)]??null,'pageSize':_0x19bd45[_0x58debb(0x16b)]??null,'riskLevel':_0x19bd45[_0x58debb(0x165)]??null,'locale':_0x19bd45[_0x58debb(0x182)]??null};}export function buildAppDoctorFields(_0x4a27c3,_0x496d22){const _0x14e153=a194_0x5e5c23;return{'env':{'value':_0x4a27c3[_0x14e153(0x16f)]||_0x496d22['env'],'source':_0x4a27c3[_0x14e153(0x16f)]?_0x14e153(0x181):_0x14e153(0x174)},'apiDir':{'value':_0x4a27c3[_0x14e153(0x167)]||_0x496d22['apiDir'],'source':_0x4a27c3['apiDir']?_0x14e153(0x181):'inherit'},'cookie':{'value':_0x4a27c3['cookie']||_0x496d22[_0x14e153(0x17d)],'source':_0x4a27c3['cookie']?'app':'inherit'},'accessKey':{'value':_0x4a27c3[_0x14e153(0x17b)]||_0x496d22['accessKey'],'source':_0x4a27c3[_0x14e153(0x17b)]?_0x14e153(0x181):'inherit'}};}export function buildCanonicalAppConfig(_0x47f949,_0x4de7e7){const _0x20c203=a194_0x5e5c23,_0x2bec36=_0x47f949[_0x20c203(0x162)](_0xf29d90=>String(_0xf29d90||'')['trim']())[_0x20c203(0x17c)](Boolean);if(_0x2bec36[_0x20c203(0x180)]===0x0)return{};const _0x396bd6={};for(const _0x4d506c of _0x2bec36){_0x396bd6[_0x4d506c]=_0x4de7e7?{'appcode':_0x4d506c,'env':_0x4de7e7}:{'appcode':_0x4d506c};}return{'apps':_0x396bd6,'defaultApp':_0x2bec36[0x0]};}export function buildCanonicalProjectConfig(_0x5a8cf0,_0x53a030){const _0x3ffd33=a194_0x5e5c23,{appCodes:appCodes=[],env:_0x59b64b,metadata:_0x1022d8}=_0x53a030,_0x28d3c4={..._0x5a8cf0,..._0x1022d8||{}};delete _0x28d3c4[_0x3ffd33(0x15d)],delete _0x28d3c4[_0x3ffd33(0x181)];if(_0x59b64b)_0x28d3c4[_0x3ffd33(0x16f)]=_0x59b64b;else!_0x28d3c4[_0x3ffd33(0x16f)]&&(_0x28d3c4[_0x3ffd33(0x16f)]=DEFAULT_CONFIG_VALUES[_0x3ffd33(0x16f)]);const _0x176a20=buildCanonicalAppConfig(appCodes,_0x28d3c4[_0x3ffd33(0x16f)]);return Object[_0x3ffd33(0x176)](_0x176a20)[_0x3ffd33(0x180)]>0x0&&(_0x28d3c4[_0x3ffd33(0x183)]=_0x176a20[_0x3ffd33(0x183)],_0x28d3c4[_0x3ffd33(0x164)]=_0x176a20['defaultApp']),_0x28d3c4;}const LOCALE_MAP={'zh':a194_0x5e5c23(0x17a),'zh-cn':a194_0x5e5c23(0x17a),'zh_cn':a194_0x5e5c23(0x17a),'en':a194_0x5e5c23(0x160),'en-us':a194_0x5e5c23(0x160),'en_us':a194_0x5e5c23(0x160)};export function normalizeLocale(_0x5442e4){const _0x141eb3=a194_0x5e5c23;if(!_0x5442e4)return null;return LOCALE_MAP[_0x5442e4[_0x141eb3(0x16c)]()]??null;}
1
+ const a194_0x5bf277=a194_0x48af;(function(_0x2ba940,_0x446d4a){const _0x566341=a194_0x48af,_0xaef861=_0x2ba940();while(!![]){try{const _0x20bc97=-parseInt(_0x566341(0x213))/0x1*(parseInt(_0x566341(0x215))/0x2)+parseInt(_0x566341(0x210))/0x3+parseInt(_0x566341(0x1ef))/0x4*(-parseInt(_0x566341(0x1f0))/0x5)+parseInt(_0x566341(0x1fb))/0x6*(parseInt(_0x566341(0x201))/0x7)+parseInt(_0x566341(0x1f5))/0x8*(-parseInt(_0x566341(0x21b))/0x9)+-parseInt(_0x566341(0x202))/0xa*(parseInt(_0x566341(0x204))/0xb)+parseInt(_0x566341(0x212))/0xc*(parseInt(_0x566341(0x1fe))/0xd);if(_0x20bc97===_0x446d4a)break;else _0xaef861['push'](_0xaef861['shift']());}catch(_0x58883a){_0xaef861['push'](_0xaef861['shift']());}}}(a194_0x22ad,0x9e876));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RABETBASE_ENV_VALUES}from'../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../constant/output.js';function a194_0x48af(_0x306ffb,_0x512510){_0x306ffb=_0x306ffb-0x1ed;const _0x22ad2c=a194_0x22ad();let _0x48af57=_0x22ad2c[_0x306ffb];return _0x48af57;}import{RISK_LEVEL_VALUES}from'../constant/risk.js';export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';export const PROJECT_CREATE_INHERITABLE_KEYS=[a194_0x5bf277(0x1f6),a194_0x5bf277(0x20e),a194_0x5bf277(0x1ed),a194_0x5bf277(0x214),a194_0x5bf277(0x203)];export const TOP_LEVEL_CONFIG_KEYS=new Set(['appcode','env',a194_0x5bf277(0x1ed),a194_0x5bf277(0x214),'cookie',a194_0x5bf277(0x20e),a194_0x5bf277(0x1ff)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES]};function a194_0x22ad(){const _0x23958c=['Risk\x20level','defaultApp','Access\x20key','accessKey','Target\x20environment','1590321Hokcnp','trim','710652SlbiGE','3699uHYMKF','format','74teetNb','Config\x20key\x20(','apps','pageSize','toLowerCase','has','27cyjSSh','locale','entries','4JXizvl','1876555qaXEVl','length','string','Default\x20page\x20size','Locale','2907288LKSgnD','cookie','keys','Auth\x20cookie','inherit','zh-CN','18JOzcIp','API\x20directory\x20path','en-US','455cCQVmZ','apiDir','join','1320431WjPlDp','2292500Yvncxz','riskLevel','44FUqENP','app','number','appcode','env','Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','defaultFormat'];a194_0x22ad=function(){return _0x23958c;};return a194_0x22ad();}export function formatConfigKeyList(_0x57d49d){const _0x298bd7=a194_0x5bf277;return[..._0x57d49d][_0x298bd7(0x200)](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x2cf259){const _0x344cbc=a194_0x5bf277;return TOP_LEVEL_CONFIG_KEYS[_0x344cbc(0x21a)](_0x2cf259);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x1910c3=a194_0x5bf277;return _0x1910c3(0x216)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'env':a194_0x5bf277(0x208),'apiDir':a194_0x5bf277(0x1ff),'cookie':a194_0x5bf277(0x1f6),'accessKey':'accessKey','defaultFormat':a194_0x5bf277(0x214),'pageSize':a194_0x5bf277(0x218),'riskLevel':'riskLevel','locale':a194_0x5bf277(0x1ed)};export function getAppProfileFlagDefs(){const _0x136c04=a194_0x5bf277;return[{'name':'env','type':_0x136c04(0x1f2),'description':_0x136c04(0x20f),'enum':[...RABETBASE_ENV_VALUES]},{'name':_0x136c04(0x1ff),'type':_0x136c04(0x1f2),'description':_0x136c04(0x1fc)},{'name':_0x136c04(0x1f6),'type':_0x136c04(0x1f2),'description':_0x136c04(0x1f8),'hidden':!![]},{'name':_0x136c04(0x20e),'type':'string','description':_0x136c04(0x20d),'hidden':!![]},{'name':_0x136c04(0x20a),'type':_0x136c04(0x1f2),'description':_0x136c04(0x209),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x136c04(0x218),'type':_0x136c04(0x206),'description':_0x136c04(0x1f3)},{'name':_0x136c04(0x203),'type':_0x136c04(0x1f2),'description':_0x136c04(0x20b),'enum':[...RISK_LEVEL_VALUES]},{'name':_0x136c04(0x1ed),'type':'string','description':_0x136c04(0x1f4)}];}export function collectAppProfileOverrides(_0x1e988b){const _0x16451f=a194_0x5bf277,_0x155263={};for(const [_0x1c8bb2,_0x4a3004]of Object[_0x16451f(0x1ee)](APP_PROFILE_FLAG_KEY_MAP)){const _0xb2fe4d=_0x1e988b(_0x1c8bb2);if(!_0xb2fe4d)continue;_0x155263[_0x4a3004]=_0x4a3004==='pageSize'?Number(_0xb2fe4d):_0xb2fe4d;}return _0x155263;}export function buildAppProfileListFields(_0x1352c2){const _0x21c136=a194_0x5bf277;return{'env':_0x1352c2[_0x21c136(0x208)]??null,'apiDir':_0x1352c2[_0x21c136(0x1ff)]??null,'hasCookie':!!_0x1352c2[_0x21c136(0x1f6)],'hasAccessKey':!!_0x1352c2[_0x21c136(0x20e)],'format':_0x1352c2['format']??null,'pageSize':_0x1352c2[_0x21c136(0x218)]??null,'riskLevel':_0x1352c2[_0x21c136(0x203)]??null,'locale':_0x1352c2[_0x21c136(0x1ed)]??null};}export function buildAppDoctorFields(_0x5c43fb,_0x1a6a89){const _0x22bbaa=a194_0x5bf277;return{'env':{'value':_0x5c43fb[_0x22bbaa(0x208)]||_0x1a6a89[_0x22bbaa(0x208)],'source':_0x5c43fb[_0x22bbaa(0x208)]?_0x22bbaa(0x205):'inherit'},'apiDir':{'value':_0x5c43fb[_0x22bbaa(0x1ff)]||_0x1a6a89['apiDir'],'source':_0x5c43fb[_0x22bbaa(0x1ff)]?'app':'inherit'},'cookie':{'value':_0x5c43fb['cookie']||_0x1a6a89['cookie'],'source':_0x5c43fb['cookie']?_0x22bbaa(0x205):_0x22bbaa(0x1f9)},'accessKey':{'value':_0x5c43fb[_0x22bbaa(0x20e)]||_0x1a6a89[_0x22bbaa(0x20e)],'source':_0x5c43fb[_0x22bbaa(0x20e)]?_0x22bbaa(0x205):'inherit'}};}export function buildCanonicalAppConfig(_0xb4a1fd,_0x4517da){const _0x7a9eda=a194_0x5bf277,_0x2ccd5a=_0xb4a1fd['map'](_0x5541ba=>String(_0x5541ba||'')[_0x7a9eda(0x211)]())['filter'](Boolean);if(_0x2ccd5a[_0x7a9eda(0x1f1)]===0x0)return{};const _0x48aa75={};for(const _0xe1724a of _0x2ccd5a){_0x48aa75[_0xe1724a]=_0x4517da?{'appcode':_0xe1724a,'env':_0x4517da}:{'appcode':_0xe1724a};}return{'apps':_0x48aa75,'defaultApp':_0x2ccd5a[0x0]};}export function buildCanonicalProjectConfig(_0x524f9f,_0x2cda96){const _0xfa2a63=a194_0x5bf277,{appCodes:appCodes=[],env:_0x189456,metadata:_0x252e13}=_0x2cda96,_0x44646b={..._0x524f9f,..._0x252e13||{}};delete _0x44646b[_0xfa2a63(0x207)],delete _0x44646b[_0xfa2a63(0x205)];if(_0x189456)_0x44646b['env']=_0x189456;else!_0x44646b[_0xfa2a63(0x208)]&&(_0x44646b[_0xfa2a63(0x208)]=DEFAULT_CONFIG_VALUES[_0xfa2a63(0x208)]);const _0x7e9321=buildCanonicalAppConfig(appCodes,_0x44646b['env']);return Object[_0xfa2a63(0x1f7)](_0x7e9321)[_0xfa2a63(0x1f1)]>0x0&&(_0x44646b[_0xfa2a63(0x217)]=_0x7e9321[_0xfa2a63(0x217)],_0x44646b[_0xfa2a63(0x20c)]=_0x7e9321[_0xfa2a63(0x20c)]),_0x44646b;}const LOCALE_MAP={'zh':a194_0x5bf277(0x1fa),'zh-cn':a194_0x5bf277(0x1fa),'zh_cn':a194_0x5bf277(0x1fa),'en':'en-US','en-us':a194_0x5bf277(0x1fd),'en_us':a194_0x5bf277(0x1fd)};export function normalizeLocale(_0x47571a){const _0x184188=a194_0x5bf277;if(!_0x47571a)return null;return LOCALE_MAP[_0x47571a[_0x184188(0x219)]()]??null;}
@@ -1 +1 @@
1
- function a195_0x4aee(_0x2d164a,_0x1e832a){_0x2d164a=_0x2d164a-0xe8;const _0x51de8a=a195_0x51de();let _0x4aee02=_0x51de8a[_0x2d164a];return _0x4aee02;}const a195_0x19979b=a195_0x4aee;(function(_0x363225,_0x22ac8d){const _0x1c6afb=a195_0x4aee,_0x3fd0c5=_0x363225();while(!![]){try{const _0x5126ce=-parseInt(_0x1c6afb(0xee))/0x1+-parseInt(_0x1c6afb(0xe9))/0x2*(-parseInt(_0x1c6afb(0xea))/0x3)+-parseInt(_0x1c6afb(0xe8))/0x4+parseInt(_0x1c6afb(0xf1))/0x5+parseInt(_0x1c6afb(0xef))/0x6+-parseInt(_0x1c6afb(0xf0))/0x7+parseInt(_0x1c6afb(0xeb))/0x8*(parseInt(_0x1c6afb(0xed))/0x9);if(_0x5126ce===_0x22ac8d)break;else _0x3fd0c5['push'](_0x3fd0c5['shift']());}catch(_0x255990){_0x3fd0c5['push'](_0x3fd0c5['shift']());}}}(a195_0x51de,0x5a08b));export const CLI_VERSION_POLICY_URL=a195_0x19979b(0xec);function a195_0x51de(){const _0x5d9eec=['1422SGvMnm','674454KghjgK','1567848pgrrFq','3478181RRTTdo','3109245HfnrcF','1763484gkaEiX','4MVKJXp','875073xgIWRT','26048jxcYTA','https://g.lovrabet.com/dist/rabetbase-cli/config/index.json'];a195_0x51de=function(){return _0x5d9eec;};return a195_0x51de();}
1
+ (function(_0x4311f4,_0x2187d4){const _0x36dfe0=a195_0x1610,_0x532b5d=_0x4311f4();while(!![]){try{const _0xa6c0de=-parseInt(_0x36dfe0(0x112))/0x1*(parseInt(_0x36dfe0(0x11b))/0x2)+parseInt(_0x36dfe0(0x11c))/0x3*(-parseInt(_0x36dfe0(0x115))/0x4)+-parseInt(_0x36dfe0(0x116))/0x5*(parseInt(_0x36dfe0(0x119))/0x6)+-parseInt(_0x36dfe0(0x113))/0x7+parseInt(_0x36dfe0(0x117))/0x8*(-parseInt(_0x36dfe0(0x11a))/0x9)+-parseInt(_0x36dfe0(0x114))/0xa+parseInt(_0x36dfe0(0x118))/0xb;if(_0xa6c0de===_0x2187d4)break;else _0x532b5d['push'](_0x532b5d['shift']());}catch(_0x116d20){_0x532b5d['push'](_0x532b5d['shift']());}}}(a195_0x230f,0x57676));function a195_0x1610(_0x321823,_0x4a910f){_0x321823=_0x321823-0x112;const _0x230fce=a195_0x230f();let _0x1610eb=_0x230fce[_0x321823];return _0x1610eb;}export const CLI_VERSION_POLICY_URL='https://g.lovrabet.com/dist/rabetbase-cli/config/index.json';function a195_0x230f(){const _0x29b6aa=['29606214RZypBv','6AzfATx','9ROABqj','2vQCzdk','175227eWatUu','478358emTloa','2410254xJjyAc','5787860eqijKm','44pxuVta','127895CNZvcF','2111392wuFklg'];a195_0x230f=function(){return _0x29b6aa;};return a195_0x230f();}
@@ -1 +1 @@
1
- const a196_0x37c696=a196_0x3f0f;(function(_0x5d6335,_0x256b67){const _0xd76e75=a196_0x3f0f,_0x5b8fa7=_0x5d6335();while(!![]){try{const _0x1f0a81=parseInt(_0xd76e75(0x1b3))/0x1+parseInt(_0xd76e75(0x225))/0x2*(parseInt(_0xd76e75(0x203))/0x3)+-parseInt(_0xd76e75(0x1e6))/0x4*(parseInt(_0xd76e75(0x1e2))/0x5)+parseInt(_0xd76e75(0x205))/0x6+parseInt(_0xd76e75(0x1ba))/0x7+-parseInt(_0xd76e75(0x1ee))/0x8*(parseInt(_0xd76e75(0x220))/0x9)+parseInt(_0xd76e75(0x1f5))/0xa*(-parseInt(_0xd76e75(0x1ed))/0xb);if(_0x1f0a81===_0x256b67)break;else _0x5b8fa7['push'](_0x5b8fa7['shift']());}catch(_0x175aca){_0x5b8fa7['push'](_0x5b8fa7['shift']());}}}(a196_0x5b62,0xc963c));function a196_0x5b62(){const _0x49427d=['Target\x20path','type','operation','task-id','expect-parent-id','skipImports','Read\x20value\x20from\x20stdin','descriptionFile','Clear','fromEnv','functionNode','format','Watch\x20mode','schemas','Reveal\x20sensitive\x20value','non-interactive','json\x20|\x20pretty\x20|\x20compress','clear','meowKey','Confirm\x20destructive\x20action','281583CWWsqZ','sqlname','enableBffSave','parentId','output','434YscRUj','force','confirm','taskId','enable-bff-save','Description','global','Name','stdin','Operation\x20type','boolean','Read\x20value\x20from\x20environment\x20variable','pagesize','349169zWBZlH','Rabetbase\x20CLI','key','page','Tags','sort','Expected\x20current\x20parent\x20menu\x20id','7424263MZsYSh','Apply\x20to\x20all','title','fromEntries','production\x20|\x20daily','sqlName','value','Show\x20help','expectPath','Page\x20number','env','menu-ids','JSON\x20params','SQL\x20name','<code>','project','yes','Schemas','DB\x20ID','Config\x20value','Force\x20non-interactive\x20mode\x20(CI)','File\x20path','appcode','Comma-separated\x20menu\x20IDs','SQL\x20string','string','Menu\x20label','keyword','target','expected-children-count','map','name','expectedChildrenCount','watch','db-id','Skip\x20confirmation\x20for\x20high-risk\x20writes','<name>','Override\x20appcode','<expr>','expectedCount','122815OhMIsP','Config\x20key','help','SQL\x20code','8YuJGdw','code','Dataset\x20code','Force\x20overwrite','Menu\x20sort\x20value','from-env','Enable\x20BFF\x20save','715wASyvx','56sujdiG','remote','datasetcode','Expected\x20affected\x20count','dry-run','params','Title','382030kEltuI','Expected\x20current\x20menu\x20path','reveal','label','expectParentId','app','description-file','Environment','Record\x20ID','sqlcode','Page\x20size','Use\x20remote','dbId','verbose','12963lQAzpW','tags','7372722bxPacK','Skip\x20import\x20generation','Asynchronous\x20task\x20ID','parent-id','Description\x20file','Output\x20path','dbid'];a196_0x5b62=function(){return _0x49427d;};return a196_0x5b62();}export const CLI_BIN_NAME='rabetbase';export const CLI_DISPLAY_NAME=a196_0x37c696(0x1b4);export const NPM_PACKAGE_NAME='@lovrabet/rabetbase-cli';export const GLOBAL_FLAGS=[{'name':a196_0x37c696(0x1d0),'meowKey':a196_0x37c696(0x1d0),'type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1df),'hint':a196_0x37c696(0x1c8)},{'name':'app','meowKey':'app','type':a196_0x37c696(0x1d3),'description':'Select\x20app\x20profile\x20by\x20name','hint':a196_0x37c696(0x1de)},{'name':'env','meowKey':a196_0x37c696(0x1c4),'type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1fc),'hint':a196_0x37c696(0x1be)},{'name':a196_0x37c696(0x217),'meowKey':a196_0x37c696(0x217),'type':'string','description':'Output\x20format','hint':a196_0x37c696(0x21c)},{'name':'jq','meowKey':'jq','type':'string','description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','hint':a196_0x37c696(0x1e0)},{'name':a196_0x37c696(0x1f2),'meowKey':'dryRun','type':a196_0x37c696(0x1b0),'description':'Preview\x20operation\x20without\x20executing'},{'name':a196_0x37c696(0x1ca),'meowKey':a196_0x37c696(0x1ca),'type':'boolean','description':a196_0x37c696(0x1dd)},{'name':a196_0x37c696(0x21b),'meowKey':'nonInteractive','type':a196_0x37c696(0x1b0),'description':a196_0x37c696(0x1ce)},{'name':a196_0x37c696(0x1ac),'meowKey':a196_0x37c696(0x1ac),'type':a196_0x37c696(0x1b0),'description':'Use\x20global\x20config\x20scope'},{'name':'project','meowKey':a196_0x37c696(0x1c9),'type':a196_0x37c696(0x1b0),'description':'Use\x20project\x20config\x20scope'},{'name':'ci','meowKey':'ci','type':a196_0x37c696(0x1b0),'description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':a196_0x37c696(0x1e4),'meowKey':a196_0x37c696(0x1e4),'type':'boolean','description':a196_0x37c696(0x1c1)},{'name':a196_0x37c696(0x1d9),'meowKey':a196_0x37c696(0x1d9),'type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1ad),'hidden':!![]},{'name':a196_0x37c696(0x1bc),'meowKey':a196_0x37c696(0x1bc),'type':'string','description':a196_0x37c696(0x1f4),'hidden':!![]},{'name':a196_0x37c696(0x21d),'meowKey':a196_0x37c696(0x21d),'type':'boolean','description':a196_0x37c696(0x214),'hidden':!![]},{'name':a196_0x37c696(0x1db),'meowKey':'watch','type':a196_0x37c696(0x1b0),'description':a196_0x37c696(0x218),'hidden':!![]},{'name':a196_0x37c696(0x224),'meowKey':a196_0x37c696(0x224),'type':'string','description':a196_0x37c696(0x20a),'hidden':!![]},{'name':a196_0x37c696(0x1f3),'meowKey':'params','type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1c6),'hidden':!![]},{'name':'datasetcode','meowKey':a196_0x37c696(0x1f0),'type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1e8),'hidden':!![]},{'name':'all','meowKey':'all','type':a196_0x37c696(0x1b0),'description':a196_0x37c696(0x1bb),'hidden':!![]},{'name':a196_0x37c696(0x1aa),'meowKey':a196_0x37c696(0x222),'type':a196_0x37c696(0x1b0),'description':a196_0x37c696(0x1ec),'hidden':!![]},{'name':'id','meowKey':'id','type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1fd),'hidden':!![]},{'name':a196_0x37c696(0x20d),'meowKey':a196_0x37c696(0x20d),'type':a196_0x37c696(0x1d3),'description':'Type\x20filter','hidden':!![]},{'name':'file','meowKey':'file','type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1cf),'hidden':!![]},{'name':a196_0x37c696(0x1fe),'meowKey':a196_0x37c696(0x1fe),'type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1e5),'hidden':!![]},{'name':'sql-name','meowKey':a196_0x37c696(0x1bf),'type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1c7),'hidden':!![]},{'name':a196_0x37c696(0x221),'meowKey':a196_0x37c696(0x221),'type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1c7),'hidden':!![]},{'name':a196_0x37c696(0x1dc),'meowKey':a196_0x37c696(0x201),'type':'string','description':a196_0x37c696(0x1cc),'hidden':!![]},{'name':'dbid','meowKey':a196_0x37c696(0x20b),'type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1cc),'hidden':!![]},{'name':'description','meowKey':'description','type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1ab),'hidden':!![]},{'name':a196_0x37c696(0x1fb),'meowKey':a196_0x37c696(0x213),'type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x209),'hidden':!![]},{'name':a196_0x37c696(0x1b6),'meowKey':a196_0x37c696(0x1b6),'type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1c3),'hidden':!![]},{'name':a196_0x37c696(0x1b2),'meowKey':'pagesize','type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1ff),'hidden':!![]},{'name':a196_0x37c696(0x1d5),'meowKey':a196_0x37c696(0x1d5),'type':a196_0x37c696(0x1d3),'description':'Keyword\x20filter','hidden':!![]},{'name':a196_0x37c696(0x1e7),'meowKey':a196_0x37c696(0x1e7),'type':a196_0x37c696(0x1d3),'description':'Code\x20filter','hidden':!![]},{'name':'sql','meowKey':'sql','type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1d2),'hidden':!![]},{'name':a196_0x37c696(0x219),'meowKey':a196_0x37c696(0x219),'type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1cb),'hidden':!![]},{'name':'operation','meowKey':a196_0x37c696(0x20e),'type':'string','description':a196_0x37c696(0x1af),'hidden':!![]},{'name':a196_0x37c696(0x1d6),'meowKey':a196_0x37c696(0x1d6),'type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x20c),'hidden':!![]},{'name':'skip-imports','meowKey':a196_0x37c696(0x211),'type':a196_0x37c696(0x1b0),'description':a196_0x37c696(0x206),'hidden':!![]},{'name':a196_0x37c696(0x1b5),'meowKey':'key','type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1e3),'hidden':!![]},{'name':a196_0x37c696(0x1c0),'meowKey':a196_0x37c696(0x1c0),'type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1cd),'hidden':!![]},{'name':a196_0x37c696(0x204),'meowKey':a196_0x37c696(0x204),'type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1b7),'hidden':!![]},{'name':a196_0x37c696(0x1ae),'meowKey':a196_0x37c696(0x1ae),'type':a196_0x37c696(0x1b0),'description':a196_0x37c696(0x212),'hidden':!![]},{'name':a196_0x37c696(0x1eb),'meowKey':a196_0x37c696(0x215),'type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1b1),'hidden':!![]},{'name':a196_0x37c696(0x1f7),'meowKey':a196_0x37c696(0x1f7),'type':a196_0x37c696(0x1b0),'description':a196_0x37c696(0x21a),'hidden':!![]},{'name':'force','meowKey':a196_0x37c696(0x226),'type':a196_0x37c696(0x1b0),'description':a196_0x37c696(0x1e9),'hidden':!![]},{'name':a196_0x37c696(0x1a8),'meowKey':a196_0x37c696(0x1a8),'type':a196_0x37c696(0x1b0),'description':a196_0x37c696(0x21f),'hidden':!![]},{'name':a196_0x37c696(0x1ef),'meowKey':a196_0x37c696(0x1ef),'type':a196_0x37c696(0x1b0),'description':a196_0x37c696(0x200),'hidden':!![]},{'name':a196_0x37c696(0x202),'meowKey':a196_0x37c696(0x202),'type':a196_0x37c696(0x1b0),'description':'Verbose\x20output','hidden':!![]},{'name':'expected-count','meowKey':a196_0x37c696(0x1e1),'type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1f1),'hidden':!![]},{'name':a196_0x37c696(0x1f8),'meowKey':'label','type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1d4),'hidden':!![]},{'name':a196_0x37c696(0x208),'meowKey':a196_0x37c696(0x223),'type':'string','description':'Parent\x20menu\x20id','hidden':!![]},{'name':a196_0x37c696(0x1b8),'meowKey':a196_0x37c696(0x1b8),'type':'string','description':a196_0x37c696(0x1ea),'hidden':!![]},{'name':a196_0x37c696(0x210),'meowKey':a196_0x37c696(0x1f9),'type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1b9),'hidden':!![]},{'name':'expect-path','meowKey':a196_0x37c696(0x1c2),'type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1f6),'hidden':!![]},{'name':a196_0x37c696(0x1d7),'meowKey':a196_0x37c696(0x1da),'type':a196_0x37c696(0x1d3),'description':'Expected\x20current\x20child\x20count','hidden':!![]},{'name':a196_0x37c696(0x1c5),'meowKey':'menuIds','type':'string','description':a196_0x37c696(0x1d1),'hidden':!![]},{'name':a196_0x37c696(0x20f),'meowKey':a196_0x37c696(0x1a9),'type':'string','description':a196_0x37c696(0x207),'hidden':!![]},{'name':'operation-type','meowKey':'operationType','type':a196_0x37c696(0x1d3),'description':a196_0x37c696(0x1af),'hidden':!![]},{'name':'function-node','meowKey':a196_0x37c696(0x216),'type':a196_0x37c696(0x1d3),'description':'Function\x20node','hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a196_0x37c696(0x1d0),a196_0x37c696(0x1fa),a196_0x37c696(0x1c4),a196_0x37c696(0x217),'jq',a196_0x37c696(0x1f2),a196_0x37c696(0x1ca),a196_0x37c696(0x21b),'ci']);function a196_0x3f0f(_0x395bc2,_0x2b478c){_0x395bc2=_0x395bc2-0x1a8;const _0x5b62a8=a196_0x5b62();let _0x3f0f5d=_0x5b62a8[_0x395bc2];return _0x3f0f5d;}export function buildMeowFlags(){const _0xc250=a196_0x37c696;return Object[_0xc250(0x1bd)](GLOBAL_FLAGS[_0xc250(0x1d8)](_0x3d42a8=>[_0x3d42a8[_0xc250(0x21e)],{'type':_0x3d42a8[_0xc250(0x20d)]}]));}
1
+ const a196_0x468652=a196_0x1a47;(function(_0x706442,_0x2af25f){const _0xe096d3=a196_0x1a47,_0x4562df=_0x706442();while(!![]){try{const _0x4479af=-parseInt(_0xe096d3(0x199))/0x1*(-parseInt(_0xe096d3(0x177))/0x2)+parseInt(_0xe096d3(0x198))/0x3+parseInt(_0xe096d3(0x128))/0x4*(parseInt(_0xe096d3(0x146))/0x5)+parseInt(_0xe096d3(0x12b))/0x6*(-parseInt(_0xe096d3(0x170))/0x7)+parseInt(_0xe096d3(0x12e))/0x8*(-parseInt(_0xe096d3(0x19e))/0x9)+parseInt(_0xe096d3(0x17d))/0xa+-parseInt(_0xe096d3(0x13e))/0xb*(-parseInt(_0xe096d3(0x15a))/0xc);if(_0x4479af===_0x2af25f)break;else _0x4562df['push'](_0x4562df['shift']());}catch(_0x2065fc){_0x4562df['push'](_0x4562df['shift']());}}}(a196_0x3f8c,0xd7514));export const CLI_BIN_NAME='rabetbase';export const CLI_DISPLAY_NAME=a196_0x468652(0x124);export const NPM_PACKAGE_NAME='@lovrabet/rabetbase-cli';export const GLOBAL_FLAGS=[{'name':'appcode','meowKey':'appcode','type':a196_0x468652(0x19d),'description':a196_0x468652(0x193),'hint':a196_0x468652(0x18d)},{'name':a196_0x468652(0x16a),'meowKey':a196_0x468652(0x16a),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x130),'hint':a196_0x468652(0x164)},{'name':a196_0x468652(0x186),'meowKey':'env','type':'string','description':a196_0x468652(0x1a0),'hint':'production\x20|\x20daily'},{'name':a196_0x468652(0x185),'meowKey':a196_0x468652(0x185),'type':'string','description':a196_0x468652(0x14f),'hint':a196_0x468652(0x17a)},{'name':'jq','meowKey':'jq','type':a196_0x468652(0x19d),'description':a196_0x468652(0x139),'hint':a196_0x468652(0x140)},{'name':a196_0x468652(0x180),'meowKey':a196_0x468652(0x19f),'type':a196_0x468652(0x19a),'description':a196_0x468652(0x14d)},{'name':a196_0x468652(0x14e),'meowKey':a196_0x468652(0x14e),'type':a196_0x468652(0x19a),'description':a196_0x468652(0x157)},{'name':a196_0x468652(0x12c),'meowKey':a196_0x468652(0x135),'type':a196_0x468652(0x19a),'description':a196_0x468652(0x158)},{'name':'global','meowKey':'global','type':'boolean','description':a196_0x468652(0x167)},{'name':'project','meowKey':'project','type':a196_0x468652(0x19a),'description':a196_0x468652(0x191)},{'name':'ci','meowKey':'ci','type':a196_0x468652(0x19a),'description':a196_0x468652(0x15c),'hidden':!![]},{'name':a196_0x468652(0x17e),'meowKey':a196_0x468652(0x17e),'type':a196_0x468652(0x19a),'description':a196_0x468652(0x18b)},{'name':a196_0x468652(0x182),'meowKey':a196_0x468652(0x182),'type':a196_0x468652(0x19d),'description':'Name','hidden':!![]},{'name':'title','meowKey':'title','type':a196_0x468652(0x19d),'description':a196_0x468652(0x12a),'hidden':!![]},{'name':a196_0x468652(0x166),'meowKey':a196_0x468652(0x166),'type':a196_0x468652(0x19a),'description':a196_0x468652(0x14c),'hidden':!![]},{'name':'watch','meowKey':a196_0x468652(0x17c),'type':a196_0x468652(0x19a),'description':a196_0x468652(0x13c),'hidden':!![]},{'name':a196_0x468652(0x174),'meowKey':a196_0x468652(0x174),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x156),'hidden':!![]},{'name':a196_0x468652(0x150),'meowKey':a196_0x468652(0x150),'type':'string','description':'JSON\x20params','hidden':!![]},{'name':a196_0x468652(0x1a2),'meowKey':'datasetcode','type':a196_0x468652(0x19d),'description':'Dataset\x20code','hidden':!![]},{'name':'all','meowKey':a196_0x468652(0x196),'type':'boolean','description':a196_0x468652(0x126),'hidden':!![]},{'name':a196_0x468652(0x134),'meowKey':'enableBffSave','type':a196_0x468652(0x19a),'description':'Enable\x20BFF\x20save','hidden':!![]},{'name':'id','meowKey':'id','type':a196_0x468652(0x19d),'description':'Record\x20ID','hidden':!![]},{'name':a196_0x468652(0x13f),'meowKey':a196_0x468652(0x13f),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x18a),'hidden':!![]},{'name':'file','meowKey':a196_0x468652(0x169),'type':'string','description':'File\x20path','hidden':!![]},{'name':a196_0x468652(0x142),'meowKey':'sqlcode','type':a196_0x468652(0x19d),'description':a196_0x468652(0x17f),'hidden':!![]},{'name':a196_0x468652(0x190),'meowKey':a196_0x468652(0x179),'type':'string','description':a196_0x468652(0x144),'hidden':!![]},{'name':'sqlname','meowKey':a196_0x468652(0x165),'type':'string','description':a196_0x468652(0x144),'hidden':!![]},{'name':'db-id','meowKey':'dbId','type':a196_0x468652(0x19d),'description':a196_0x468652(0x18e),'hidden':!![]},{'name':a196_0x468652(0x12f),'meowKey':'dbid','type':'string','description':a196_0x468652(0x18e),'hidden':!![]},{'name':a196_0x468652(0x160),'meowKey':'description','type':'string','description':'Description','hidden':!![]},{'name':a196_0x468652(0x194),'meowKey':a196_0x468652(0x149),'type':'string','description':a196_0x468652(0x13b),'hidden':!![]},{'name':a196_0x468652(0x12d),'meowKey':a196_0x468652(0x12d),'type':a196_0x468652(0x19d),'description':'Page\x20number','hidden':!![]},{'name':a196_0x468652(0x138),'meowKey':a196_0x468652(0x138),'type':'string','description':'Page\x20size','hidden':!![]},{'name':a196_0x468652(0x14a),'meowKey':'keyword','type':'string','description':'Keyword\x20filter','hidden':!![]},{'name':a196_0x468652(0x159),'meowKey':a196_0x468652(0x159),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x1a1),'hidden':!![]},{'name':a196_0x468652(0x175),'meowKey':a196_0x468652(0x175),'type':'string','description':a196_0x468652(0x15b),'hidden':!![]},{'name':a196_0x468652(0x173),'meowKey':a196_0x468652(0x173),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x162),'hidden':!![]},{'name':'operation','meowKey':'operation','type':a196_0x468652(0x19d),'description':a196_0x468652(0x195),'hidden':!![]},{'name':a196_0x468652(0x168),'meowKey':'target','type':a196_0x468652(0x19d),'description':'Target\x20path','hidden':!![]},{'name':a196_0x468652(0x197),'meowKey':a196_0x468652(0x188),'type':a196_0x468652(0x19a),'description':a196_0x468652(0x143),'hidden':!![]},{'name':a196_0x468652(0x13a),'meowKey':a196_0x468652(0x13a),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x147),'hidden':!![]},{'name':a196_0x468652(0x187),'meowKey':'value','type':a196_0x468652(0x19d),'description':a196_0x468652(0x19c),'hidden':!![]},{'name':'tags','meowKey':'tags','type':a196_0x468652(0x19d),'description':a196_0x468652(0x141),'hidden':!![]},{'name':a196_0x468652(0x192),'meowKey':'stdin','type':a196_0x468652(0x19a),'description':a196_0x468652(0x184),'hidden':!![]},{'name':a196_0x468652(0x129),'meowKey':a196_0x468652(0x14b),'type':a196_0x468652(0x19d),'description':'Read\x20value\x20from\x20environment\x20variable','hidden':!![]},{'name':'reveal','meowKey':'reveal','type':a196_0x468652(0x19a),'description':a196_0x468652(0x18f),'hidden':!![]},{'name':a196_0x468652(0x125),'meowKey':a196_0x468652(0x125),'type':a196_0x468652(0x19a),'description':'Force\x20overwrite','hidden':!![]},{'name':a196_0x468652(0x13d),'meowKey':a196_0x468652(0x13d),'type':a196_0x468652(0x19a),'description':'Confirm\x20destructive\x20action','hidden':!![]},{'name':a196_0x468652(0x172),'meowKey':a196_0x468652(0x172),'type':a196_0x468652(0x19a),'description':a196_0x468652(0x181),'hidden':!![]},{'name':a196_0x468652(0x152),'meowKey':a196_0x468652(0x152),'type':a196_0x468652(0x19a),'description':a196_0x468652(0x16d),'hidden':!![]},{'name':a196_0x468652(0x16f),'meowKey':a196_0x468652(0x133),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x15f),'hidden':!![]},{'name':'label','meowKey':a196_0x468652(0x183),'type':a196_0x468652(0x19d),'description':'Menu\x20label','hidden':!![]},{'name':a196_0x468652(0x15d),'meowKey':a196_0x468652(0x176),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x145),'hidden':!![]},{'name':a196_0x468652(0x154),'meowKey':a196_0x468652(0x154),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x16e),'hidden':!![]},{'name':a196_0x468652(0x153),'meowKey':'expectParentId','type':a196_0x468652(0x19d),'description':a196_0x468652(0x148),'hidden':!![]},{'name':a196_0x468652(0x16b),'meowKey':a196_0x468652(0x136),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x16c),'hidden':!![]},{'name':a196_0x468652(0x189),'meowKey':a196_0x468652(0x15e),'type':a196_0x468652(0x19d),'description':'Expected\x20current\x20child\x20count','hidden':!![]},{'name':a196_0x468652(0x18c),'meowKey':a196_0x468652(0x163),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x171),'hidden':!![]},{'name':a196_0x468652(0x131),'meowKey':a196_0x468652(0x132),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x151),'hidden':!![]},{'name':'operation-type','meowKey':a196_0x468652(0x137),'type':a196_0x468652(0x19d),'description':'Operation\x20type','hidden':!![]},{'name':'function-node','meowKey':a196_0x468652(0x178),'type':a196_0x468652(0x19d),'description':a196_0x468652(0x155),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a196_0x468652(0x161),'app','env',a196_0x468652(0x185),'jq',a196_0x468652(0x180),'yes',a196_0x468652(0x12c),'ci']);export function buildMeowFlags(){const _0x4cda97=a196_0x468652;return Object[_0x4cda97(0x19b)](GLOBAL_FLAGS[_0x4cda97(0x17b)](_0x591430=>[_0x591430[_0x4cda97(0x127)],{'type':_0x591430['type']}]));}function a196_0x1a47(_0x740c17,_0x5f2265){_0x740c17=_0x740c17-0x124;const _0x3f8c57=a196_0x3f8c();let _0x1a478f=_0x3f8c57[_0x740c17];return _0x1a478f;}function a196_0x3f8c(){const _0x3a6ab2=['Reveal\x20sensitive\x20value','sql-name','Use\x20project\x20config\x20scope','stdin','Override\x20appcode','description-file','Operation\x20type','all','skip-imports','1471596aGdDvO','1334waxkpb','boolean','fromEntries','Config\x20value','string','77481gKsrRV','dryRun','Environment','Code\x20filter','datasetcode','Rabetbase\x20CLI','force','Apply\x20to\x20all','meowKey','12LLeRwk','from-env','Title','294OwCIDN','non-interactive','page','1608QaUsDD','dbid','Select\x20app\x20profile\x20by\x20name','task-id','taskId','expectedCount','enable-bff-save','nonInteractive','expectPath','operationType','pagesize','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','key','Description\x20file','Watch\x20mode','confirm','4477uHusVo','type','<expr>','Tags','sqlcode','Skip\x20import\x20generation','SQL\x20name','Parent\x20menu\x20id','1330190CuILXC','Config\x20key','Expected\x20current\x20parent\x20menu\x20id','descriptionFile','keyword','fromEnv','Clear','Preview\x20operation\x20without\x20executing','yes','Output\x20format','params','Asynchronous\x20task\x20ID','verbose','expect-parent-id','sort','Function\x20node','Output\x20path','Skip\x20confirmation\x20for\x20high-risk\x20writes','Force\x20non-interactive\x20mode\x20(CI)','code','408WguWza','SQL\x20string','Alias\x20for\x20--non-interactive','parent-id','expectedChildrenCount','Expected\x20affected\x20count','description','appcode','Schemas','menuIds','<name>','sqlname','clear','Use\x20global\x20config\x20scope','target','file','app','expect-path','Expected\x20current\x20menu\x20path','Verbose\x20output','Menu\x20sort\x20value','expected-count','195335HQaRlP','Comma-separated\x20menu\x20IDs','remote','schemas','output','sql','parentId','2336ogdmRy','functionNode','sqlName','json\x20|\x20pretty\x20|\x20compress','map','watch','11190980uOFbYL','help','SQL\x20code','dry-run','Use\x20remote','name','label','Read\x20value\x20from\x20stdin','format','env','value','skipImports','expected-children-count','Type\x20filter','Show\x20help','menu-ids','<code>','DB\x20ID'];a196_0x3f8c=function(){return _0x3a6ab2;};return a196_0x3f8c();}
@@ -1 +1 @@
1
- const a197_0x167fe6=a197_0x5b17;function a197_0x5b17(_0x4dab6f,_0xdb1c9a){_0x4dab6f=_0x4dab6f-0x64;const _0x19c9da=a197_0x19c9();let _0x5b1761=_0x19c9da[_0x4dab6f];return _0x5b1761;}function a197_0x19c9(){const _0x33da8a=['73808IXRNjs','746072VEPokF','3845172wJuSIG','41881180SBAuDx','1655745nKBumM','13176vugNfv','compress','high-risk-write','656ffOiax','3250ccTBMa','54KRTGyO','421895QluVto','5fBqOaE','production'];a197_0x19c9=function(){return _0x33da8a;};return a197_0x19c9();}(function(_0x264973,_0x4d0358){const _0x53587b=a197_0x5b17,_0x29bbdb=_0x264973();while(!![]){try{const _0x38795f=-parseInt(_0x53587b(0x68))/0x1*(parseInt(_0x53587b(0x6b))/0x2)+parseInt(_0x53587b(0x6e))/0x3+-parseInt(_0x53587b(0x6c))/0x4+-parseInt(_0x53587b(0x67))/0x5*(-parseInt(_0x53587b(0x66))/0x6)+-parseInt(_0x53587b(0x6a))/0x7*(parseInt(_0x53587b(0x64))/0x8)+-parseInt(_0x53587b(0x6f))/0x9*(parseInt(_0x53587b(0x65))/0xa)+parseInt(_0x53587b(0x6d))/0xb;if(_0x38795f===_0x4d0358)break;else _0x29bbdb['push'](_0x29bbdb['shift']());}catch(_0x289248){_0x29bbdb['push'](_0x29bbdb['shift']());}}}(a197_0x19c9,0xe8611));import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a197_0x167fe6(0x69),'format':a197_0x167fe6(0x70),'locale':'en-US','riskLevel':a197_0x167fe6(0x71),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a197_0x167fe6(0x70);
1
+ const a197_0x5b6e00=a197_0x2aad;(function(_0x6f3dd5,_0x445e23){const _0x422d30=a197_0x2aad,_0x569578=_0x6f3dd5();while(!![]){try{const _0x3e5020=parseInt(_0x422d30(0x183))/0x1+parseInt(_0x422d30(0x181))/0x2+parseInt(_0x422d30(0x17f))/0x3*(-parseInt(_0x422d30(0x187))/0x4)+parseInt(_0x422d30(0x184))/0x5*(-parseInt(_0x422d30(0x186))/0x6)+-parseInt(_0x422d30(0x182))/0x7+parseInt(_0x422d30(0x188))/0x8*(-parseInt(_0x422d30(0x185))/0x9)+parseInt(_0x422d30(0x17c))/0xa*(parseInt(_0x422d30(0x17e))/0xb);if(_0x3e5020===_0x445e23)break;else _0x569578['push'](_0x569578['shift']());}catch(_0x570e47){_0x569578['push'](_0x569578['shift']());}}}(a197_0x2782,0x46b3c));import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a197_0x5b6e00(0x17d),'format':a197_0x5b6e00(0x18a),'locale':a197_0x5b6e00(0x189),'riskLevel':a197_0x5b6e00(0x180),'apiDir':DEFAULT_API_DIR};function a197_0x2aad(_0x410649,_0x4aebd5){_0x410649=_0x410649-0x17c;const _0x2782d1=a197_0x2782();let _0x2aad39=_0x2782d1[_0x410649];return _0x2aad39;}export const DEFAULT_COMMAND_OUTPUT_FORMAT=a197_0x5b6e00(0x18a);function a197_0x2782(){const _0x1a916b=['10968dkqArb','90328ZagHPp','16gXpQYG','en-US','compress','6033470GBERIt','production','11FBzvWu','12jYgoeZ','high-risk-write','697886sdauiR','3874472lnNytw','110028JNkpkT','345isHSvz','12447XogaLA'];a197_0x2782=function(){return _0x1a916b;};return a197_0x2782();}
@@ -1 +1 @@
1
- const a198_0x1d9da1=a198_0x3a55;function a198_0x3a55(_0x583df2,_0x3c9dae){_0x583df2=_0x583df2-0x1a7;const _0x17db7f=a198_0x17db();let _0x3a5505=_0x17db7f[_0x583df2];return _0x3a5505;}(function(_0x115a27,_0x2d2be1){const _0x44c595=a198_0x3a55,_0x3670b1=_0x115a27();while(!![]){try{const _0x3fed9b=-parseInt(_0x44c595(0x1b5))/0x1*(-parseInt(_0x44c595(0x1b1))/0x2)+-parseInt(_0x44c595(0x1b9))/0x3*(parseInt(_0x44c595(0x1ad))/0x4)+parseInt(_0x44c595(0x1b8))/0x5*(-parseInt(_0x44c595(0x1be))/0x6)+-parseInt(_0x44c595(0x1b7))/0x7*(-parseInt(_0x44c595(0x1ac))/0x8)+parseInt(_0x44c595(0x1ba))/0x9*(parseInt(_0x44c595(0x1bc))/0xa)+parseInt(_0x44c595(0x1a9))/0xb+parseInt(_0x44c595(0x1ab))/0xc*(-parseInt(_0x44c595(0x1b0))/0xd);if(_0x3fed9b===_0x2d2be1)break;else _0x3670b1['push'](_0x3670b1['shift']());}catch(_0x1099b9){_0x3670b1['push'](_0x3670b1['shift']());}}}(a198_0x17db,0x9c28a));import{getEnv,isProduction}from'../constant/env.js';function a198_0x17db(){const _0x5884ed=['https://user-daily.lovrabet.com','90996ZexDwR','200UvCvdr','279204WjONox','https://daily-runtime.lovrabet.com','userDomain','1742zBvhjF','1825872YmUqED','/web-app/app/','https://daily.lovrabet.com','https://runtime.lovrabet.com','1syKyHQ','https://daily-api.lovrabet.com','76104TbYlcv','292295qyNYAy','33qCwlua','13446YfxkLr','https://user.lovrabet.com','6680kkUePp','/app/','6IioLGS','https://api.lovrabet.com','https://app.lovrabet.com','apiDomain','trim','3292190TLKPJs'];a198_0x17db=function(){return _0x5884ed;};return a198_0x17db();}let customApiDomain,customUserDomain,customRuntimeDomain;export function initDomains(_0x270460){const _0x5cfc72=a198_0x3a55;customApiDomain=_0x270460?.[_0x5cfc72(0x1a7)],customUserDomain=_0x270460?.[_0x5cfc72(0x1af)],customRuntimeDomain=_0x270460?.['runtimeDomain'];}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?a198_0x1d9da1(0x1bb):a198_0x1d9da1(0x1aa));export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?a198_0x1d9da1(0x1bf):a198_0x1d9da1(0x1b6));export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?a198_0x1d9da1(0x1b4):a198_0x1d9da1(0x1ae));export const getAppDomain=()=>isProduction(getEnv())?a198_0x1d9da1(0x1c0):a198_0x1d9da1(0x1b3);export const getAppBaseUrl=_0x1d4c02=>{const _0x109b2a=a198_0x1d9da1,_0x54b5b9=encodeURIComponent(_0x1d4c02[_0x109b2a(0x1a8)]());return isProduction(getEnv())?getAppDomain()+_0x109b2a(0x1bd)+_0x54b5b9:getAppDomain()+_0x109b2a(0x1b2)+_0x54b5b9;};
1
+ const a198_0x7c02cb=a198_0x5e59;(function(_0x252b6b,_0x51296a){const _0x132dd0=a198_0x5e59,_0x284e3f=_0x252b6b();while(!![]){try{const _0x1b4a71=parseInt(_0x132dd0(0x94))/0x1+parseInt(_0x132dd0(0x9e))/0x2*(-parseInt(_0x132dd0(0x9c))/0x3)+-parseInt(_0x132dd0(0xa6))/0x4*(-parseInt(_0x132dd0(0xa1))/0x5)+parseInt(_0x132dd0(0xa5))/0x6*(-parseInt(_0x132dd0(0x99))/0x7)+parseInt(_0x132dd0(0x9f))/0x8+-parseInt(_0x132dd0(0x9d))/0x9*(parseInt(_0x132dd0(0xa2))/0xa)+parseInt(_0x132dd0(0x98))/0xb;if(_0x1b4a71===_0x51296a)break;else _0x284e3f['push'](_0x284e3f['shift']());}catch(_0x17c66b){_0x284e3f['push'](_0x284e3f['shift']());}}}(a198_0x190c,0xccbe0));import{getEnv,isProduction}from'../constant/env.js';let customApiDomain,customUserDomain,customRuntimeDomain;export function initDomains(_0x4289c3){const _0x28dfb5=a198_0x5e59;customApiDomain=_0x4289c3?.[_0x28dfb5(0x9a)],customUserDomain=_0x4289c3?.['userDomain'],customRuntimeDomain=_0x4289c3?.['runtimeDomain'];}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?a198_0x7c02cb(0x95):'https://user-daily.lovrabet.com');export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?'https://api.lovrabet.com':'https://daily-api.lovrabet.com');export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?a198_0x7c02cb(0xa4):a198_0x7c02cb(0xa3));export const getAppDomain=()=>isProduction(getEnv())?a198_0x7c02cb(0xa0):a198_0x7c02cb(0x96);function a198_0x5e59(_0x5a0611,_0x45f059){_0x5a0611=_0x5a0611-0x94;const _0x190c0c=a198_0x190c();let _0x5e596f=_0x190c0c[_0x5a0611];return _0x5e596f;}function a198_0x190c(){const _0x4a8a28=['18918gJqTHD','1658vaexyM','2098472UdQAzH','https://app.lovrabet.com','13595BgGFhV','3190BkBGsd','https://daily-runtime.lovrabet.com','https://runtime.lovrabet.com','2672202avXQMZ','1708KqZxzz','487088MFlGdq','https://user.lovrabet.com','https://daily.lovrabet.com','/app/','23806860tetlPX','21yeoWCJ','apiDomain','/web-app/app/','4449GSgwzv'];a198_0x190c=function(){return _0x4a8a28;};return a198_0x190c();}export const getAppBaseUrl=_0x32fdba=>{const _0x1611e6=a198_0x7c02cb,_0x3a8bdf=encodeURIComponent(_0x32fdba['trim']());return isProduction(getEnv())?getAppDomain()+_0x1611e6(0x97)+_0x3a8bdf:getAppDomain()+_0x1611e6(0x9b)+_0x3a8bdf;};
@@ -1 +1 @@
1
- const a199_0x133c0c=a199_0x4e74;(function(_0x2cba46,_0x254321){const _0x209407=a199_0x4e74,_0x323d82=_0x2cba46();while(!![]){try{const _0x1de5bd=parseInt(_0x209407(0x1f4))/0x1*(-parseInt(_0x209407(0x1f1))/0x2)+-parseInt(_0x209407(0x1eb))/0x3+-parseInt(_0x209407(0x1f9))/0x4*(parseInt(_0x209407(0x1f6))/0x5)+-parseInt(_0x209407(0x1f2))/0x6+parseInt(_0x209407(0x1ed))/0x7+-parseInt(_0x209407(0x1ef))/0x8*(-parseInt(_0x209407(0x1f3))/0x9)+parseInt(_0x209407(0x1ee))/0xa;if(_0x1de5bd===_0x254321)break;else _0x323d82['push'](_0x323d82['shift']());}catch(_0x1909f4){_0x323d82['push'](_0x323d82['shift']());}}}(a199_0x29a3,0xd5c0d));export const RABETBASE_ENV_VALUES=[a199_0x133c0c(0x1ec),a199_0x133c0c(0x1f0)];export function normalizeEnv(_0x16b4b3){const _0x27bc27=a199_0x133c0c;return _0x16b4b3===_0x27bc27(0x1f8)?_0x27bc27(0x1ec):_0x16b4b3;}export function isProduction(_0xa1c4c7){const _0x1d687e=a199_0x133c0c;return normalizeEnv(_0xa1c4c7)===_0x1d687e(0x1ec);}export function isDaily(_0x1cded0){const _0x477f94=a199_0x133c0c;return normalizeEnv(_0x1cded0)===_0x477f94(0x1f0);}export function isDev(_0x837eaa){const _0x508f7c=a199_0x133c0c,_0x4266bc=normalizeEnv(_0x837eaa);return _0x4266bc===_0x508f7c(0x1f7)||_0x4266bc===_0x508f7c(0x1f5);}function a199_0x4e74(_0x2514b1,_0x151368){_0x2514b1=_0x2514b1-0x1eb;const _0x29a305=a199_0x29a3();let _0x4e7423=_0x29a305[_0x2514b1];return _0x4e7423;}function a199_0x29a3(){const _0x25a1e3=['2683062yEDrsQ','2565378WkmdyT','1gnXZbx','dev','2117620nMQUrl','development','online','4pXBTBG','860253bazHRh','production','43274QNbvGT','21340600dVomko','8ZioGak','daily','784598hstaoJ'];a199_0x29a3=function(){return _0x25a1e3;};return a199_0x29a3();}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a199_0x133c0c(0x1ec));export function getEnv(){return env;}export function initEnv(_0x3f3f6f){env=normalizeEnv(_0x3f3f6f);}
1
+ function a199_0x372c(_0x5923a1,_0x449db1){_0x5923a1=_0x5923a1-0x86;const _0x36493a=a199_0x3649();let _0x372c75=_0x36493a[_0x5923a1];return _0x372c75;}function a199_0x3649(){const _0x4f76f6=['development','dev','198291JzpAgv','634200hygHZW','3046484KjXnvA','2isCnFd','829228EPFOYQ','2816082suuFAA','daily','1315200IbwpuQ','5gzdsmJ','1043768gQzbih','production'];a199_0x3649=function(){return _0x4f76f6;};return a199_0x3649();}const a199_0x42cf14=a199_0x372c;(function(_0x662be0,_0x3ae75e){const _0x2941a3=a199_0x372c,_0xac0f94=_0x662be0();while(!![]){try{const _0x1067ea=parseInt(_0x2941a3(0x88))/0x1*(parseInt(_0x2941a3(0x8b))/0x2)+-parseInt(_0x2941a3(0x89))/0x3+-parseInt(_0x2941a3(0x8c))/0x4*(parseInt(_0x2941a3(0x90))/0x5)+parseInt(_0x2941a3(0x8f))/0x6+parseInt(_0x2941a3(0x8a))/0x7+parseInt(_0x2941a3(0x91))/0x8+-parseInt(_0x2941a3(0x8d))/0x9;if(_0x1067ea===_0x3ae75e)break;else _0xac0f94['push'](_0xac0f94['shift']());}catch(_0x218fe9){_0xac0f94['push'](_0xac0f94['shift']());}}}(a199_0x3649,0x3d6b1));export const RABETBASE_ENV_VALUES=[a199_0x42cf14(0x92),a199_0x42cf14(0x8e)];export function normalizeEnv(_0x1b978f){return _0x1b978f==='online'?'production':_0x1b978f;}export function isProduction(_0x3f3a08){const _0x4291c2=a199_0x42cf14;return normalizeEnv(_0x3f3a08)===_0x4291c2(0x92);}export function isDaily(_0x44a771){const _0x417802=a199_0x42cf14;return normalizeEnv(_0x44a771)===_0x417802(0x8e);}export function isDev(_0x133dbf){const _0x2eb48a=a199_0x42cf14,_0x4dd84c=normalizeEnv(_0x133dbf);return _0x4dd84c===_0x2eb48a(0x86)||_0x4dd84c===_0x2eb48a(0x87);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a199_0x42cf14(0x92));export function getEnv(){return env;}export function initEnv(_0x4a8160){env=normalizeEnv(_0x4a8160);}
@@ -1 +1 @@
1
- const a200_0x1c9657=a200_0x362d;(function(_0x438949,_0x38358e){const _0x26b4ac=a200_0x362d,_0x236f3d=_0x438949();while(!![]){try{const _0x30185a=parseInt(_0x26b4ac(0x1b8))/0x1*(-parseInt(_0x26b4ac(0x1bc))/0x2)+parseInt(_0x26b4ac(0x1c0))/0x3+parseInt(_0x26b4ac(0x1b9))/0x4+-parseInt(_0x26b4ac(0x1c2))/0x5+parseInt(_0x26b4ac(0x1c3))/0x6*(-parseInt(_0x26b4ac(0x1bf))/0x7)+-parseInt(_0x26b4ac(0x1bd))/0x8*(-parseInt(_0x26b4ac(0x1c1))/0x9)+-parseInt(_0x26b4ac(0x1b7))/0xa*(-parseInt(_0x26b4ac(0x1be))/0xb);if(_0x30185a===_0x38358e)break;else _0x236f3d['push'](_0x236f3d['shift']());}catch(_0x1de1c7){_0x236f3d['push'](_0x236f3d['shift']());}}}(a200_0x246e,0x9ec0e));function a200_0x362d(_0x1da899,_0x27b48c){_0x1da899=_0x1da899-0x1b7;const _0x246e72=a200_0x246e();let _0x362dba=_0x246e72[_0x1da899];return _0x362dba;}function a200_0x246e(){const _0x3b3712=['json','163558FqUOGi','8hzXGhD','55AFgxlH','10577cYsrYm','1868142WeZssy','8673012cVehwc','3045705AzANth','5118migtIa','2560420aWAHXg','7LCbssp','1016556YWKSOJ','compress'];a200_0x246e=function(){return _0x3b3712;};return a200_0x246e();}export const RABETBASE_OUTPUT_FORMAT_VALUES=[a200_0x1c9657(0x1bb),'pretty',a200_0x1c9657(0x1ba)];
1
+ const a200_0x460273=a200_0x8afe;(function(_0x3e5142,_0x96dc58){const _0x233823=a200_0x8afe,_0x1262a8=_0x3e5142();while(!![]){try{const _0x5df574=parseInt(_0x233823(0xa9))/0x1*(parseInt(_0x233823(0xb0))/0x2)+parseInt(_0x233823(0xa5))/0x3+parseInt(_0x233823(0xa4))/0x4+-parseInt(_0x233823(0xa7))/0x5*(parseInt(_0x233823(0xa8))/0x6)+parseInt(_0x233823(0xad))/0x7+-parseInt(_0x233823(0xaf))/0x8+-parseInt(_0x233823(0xa6))/0x9*(-parseInt(_0x233823(0xae))/0xa);if(_0x5df574===_0x96dc58)break;else _0x1262a8['push'](_0x1262a8['shift']());}catch(_0x118de6){_0x1262a8['push'](_0x1262a8['shift']());}}}(a200_0xbc91,0x8a1f3));function a200_0x8afe(_0x28f53b,_0x1594d2){_0x28f53b=_0x28f53b-0xa4;const _0xbc914a=a200_0xbc91();let _0x8afe03=_0xbc914a[_0x28f53b];return _0x8afe03;}export const RABETBASE_OUTPUT_FORMAT_VALUES=[a200_0x460273(0xac),a200_0x460273(0xaa),a200_0x460273(0xab)];function a200_0xbc91(){const _0x20d185=['2117726OzXflF','1660040gFfLNg','3079317nQAjBT','2423097CviOBU','3985fQpEAv','8418clwWBA','1UYbXHz','pretty','compress','json','116550fDJmae','10uWnfJJ','8818056xYCAVG'];a200_0xbc91=function(){return _0x20d185;};return a200_0xbc91();}
@@ -1 +1 @@
1
- const a201_0x219168=a201_0x4cf3;(function(_0x3172fc,_0xf779af){const _0x5a4b16=a201_0x4cf3,_0x4a4cf8=_0x3172fc();while(!![]){try{const _0x413a5b=parseInt(_0x5a4b16(0x114))/0x1+parseInt(_0x5a4b16(0x10e))/0x2*(-parseInt(_0x5a4b16(0x111))/0x3)+-parseInt(_0x5a4b16(0x112))/0x4+parseInt(_0x5a4b16(0x10c))/0x5+parseInt(_0x5a4b16(0x10f))/0x6*(-parseInt(_0x5a4b16(0x10d))/0x7)+parseInt(_0x5a4b16(0x10b))/0x8+-parseInt(_0x5a4b16(0x115))/0x9*(-parseInt(_0x5a4b16(0x110))/0xa);if(_0x413a5b===_0xf779af)break;else _0x4a4cf8['push'](_0x4a4cf8['shift']());}catch(_0x1d106f){_0x4a4cf8['push'](_0x4a4cf8['shift']());}}}(a201_0xc258,0x6b89c));function a201_0x4cf3(_0x4de474,_0x7afea4){_0x4de474=_0x4de474-0x10b;const _0xc258b2=a201_0xc258();let _0x4cf3f2=_0xc258b2[_0x4de474];return _0x4cf3f2;}function a201_0xc258(){const _0x26834e=['100gxIqmx','33wPureE','2340332rCkiBQ','./src/api','823141qPkdTK','959112KrUVOG','1584328gKKmwU','370795oRfpJC','3283WBWYDd','120578ORBAKf','6042BIaFhT'];a201_0xc258=function(){return _0x26834e;};return a201_0xc258();}export const DEFAULT_API_DIR=a201_0x219168(0x113);
1
+ function a201_0x5834(){const _0x411546=['1791279fgpIOz','3408sNDhjn','2412mTqDoi','./src/api','26VvcayS','4807704UkiXlD','56073AOHvow','949iTiZjl','10ixUjMm','312930JuwgcI','24jfuwtc','105240nlSKnb','5OHayfd','3738097AkikDc'];a201_0x5834=function(){return _0x411546;};return a201_0x5834();}function a201_0x3ef1(_0x14eef2,_0x32b320){_0x14eef2=_0x14eef2-0xbc;const _0x5834e1=a201_0x5834();let _0x3ef110=_0x5834e1[_0x14eef2];return _0x3ef110;}const a201_0xe9f2a=a201_0x3ef1;(function(_0x11efc9,_0x1c9fbf){const _0x37aaf3=a201_0x3ef1,_0x8f55fb=_0x11efc9();while(!![]){try{const _0xf9f4c1=-parseInt(_0x37aaf3(0xc5))/0x1*(-parseInt(_0x37aaf3(0xc3))/0x2)+parseInt(_0x37aaf3(0xc0))/0x3*(parseInt(_0x37aaf3(0xc1))/0x4)+-parseInt(_0x37aaf3(0xbd))/0x5*(-parseInt(_0x37aaf3(0xc4))/0x6)+parseInt(_0x37aaf3(0xbf))/0x7*(-parseInt(_0x37aaf3(0xc9))/0x8)+-parseInt(_0x37aaf3(0xc8))/0x9+parseInt(_0x37aaf3(0xc7))/0xa*(-parseInt(_0x37aaf3(0xbe))/0xb)+-parseInt(_0x37aaf3(0xbc))/0xc*(parseInt(_0x37aaf3(0xc6))/0xd);if(_0xf9f4c1===_0x1c9fbf)break;else _0x8f55fb['push'](_0x8f55fb['shift']());}catch(_0x3aef08){_0x8f55fb['push'](_0x8f55fb['shift']());}}}(a201_0x5834,0x69a67));export const DEFAULT_API_DIR=a201_0xe9f2a(0xc2);
@@ -1 +1 @@
1
- const a202_0x8822fc=a202_0x4f6e;function a202_0x54b7(){const _0x3aad8b=['7663411BMyHfp','45AxyZvZ','6491960Oudtje','76100AgXsRk','34610022GPFTmf','8192670HFpknv','high-risk-write','226731cTbLrA','read','1343138NuDzoZ','write','36lDqREt'];a202_0x54b7=function(){return _0x3aad8b;};return a202_0x54b7();}function a202_0x4f6e(_0x398fef,_0x4214e9){_0x398fef=_0x398fef-0x1d4;const _0x54b75b=a202_0x54b7();let _0x4f6e09=_0x54b75b[_0x398fef];return _0x4f6e09;}(function(_0x56de12,_0x1a7754){const _0x1653f2=a202_0x4f6e,_0x3f9f96=_0x56de12();while(!![]){try{const _0x77f4eb=-parseInt(_0x1653f2(0x1dc))/0x1+parseInt(_0x1653f2(0x1de))/0x2*(-parseInt(_0x1653f2(0x1da))/0x3)+parseInt(_0x1653f2(0x1d6))/0x4*(parseInt(_0x1653f2(0x1d4))/0x5)+parseInt(_0x1653f2(0x1d8))/0x6+-parseInt(_0x1653f2(0x1df))/0x7+-parseInt(_0x1653f2(0x1d5))/0x8+parseInt(_0x1653f2(0x1d7))/0x9;if(_0x77f4eb===_0x1a7754)break;else _0x3f9f96['push'](_0x3f9f96['shift']());}catch(_0x34f277){_0x3f9f96['push'](_0x3f9f96['shift']());}}}(a202_0x54b7,0xbc954));export const RISK_LEVEL_VALUES=[a202_0x8822fc(0x1db),a202_0x8822fc(0x1dd),a202_0x8822fc(0x1d9)];
1
+ function a202_0x2027(){const _0x18f89f=['79533nwzxrT','write','high-risk-write','22070EXJutk','1668296aoSDCg','4238130TFwMSK','120RyNLee','7368585rduHPB','59606cyrMCO','110DqsZAt','6klQApE','44YibJgi','read','703592WTXpHE'];a202_0x2027=function(){return _0x18f89f;};return a202_0x2027();}function a202_0x7d6e(_0x242761,_0x33d985){_0x242761=_0x242761-0x18b;const _0x202748=a202_0x2027();let _0x7d6e07=_0x202748[_0x242761];return _0x7d6e07;}const a202_0x2ec335=a202_0x7d6e;(function(_0x55ac0d,_0x5026fb){const _0xc0c897=a202_0x7d6e,_0x890bcb=_0x55ac0d();while(!![]){try{const _0x4ae7b2=parseInt(_0xc0c897(0x197))/0x1*(parseInt(_0xc0c897(0x194))/0x2)+parseInt(_0xc0c897(0x196))/0x3*(parseInt(_0xc0c897(0x18b))/0x4)+-parseInt(_0xc0c897(0x193))/0x5+parseInt(_0xc0c897(0x191))/0x6+-parseInt(_0xc0c897(0x190))/0x7+parseInt(_0xc0c897(0x192))/0x8*(parseInt(_0xc0c897(0x18c))/0x9)+-parseInt(_0xc0c897(0x18f))/0xa*(parseInt(_0xc0c897(0x195))/0xb);if(_0x4ae7b2===_0x5026fb)break;else _0x890bcb['push'](_0x890bcb['shift']());}catch(_0x19afae){_0x890bcb['push'](_0x890bcb['shift']());}}}(a202_0x2027,0xbb7b3));export const RISK_LEVEL_VALUES=[a202_0x2ec335(0x198),a202_0x2ec335(0x18d),a202_0x2ec335(0x18e)];
@@ -1 +1 @@
1
- (function(_0x1e86a8,_0x4254b2){const _0x38bdd2=a203_0x2a23,_0x27c67b=_0x1e86a8();while(!![]){try{const _0x5e2a34=-parseInt(_0x38bdd2(0x8e))/0x1*(parseInt(_0x38bdd2(0x91))/0x2)+-parseInt(_0x38bdd2(0x8d))/0x3+parseInt(_0x38bdd2(0x8c))/0x4*(parseInt(_0x38bdd2(0x87))/0x5)+parseInt(_0x38bdd2(0x86))/0x6*(parseInt(_0x38bdd2(0x6b))/0x7)+-parseInt(_0x38bdd2(0x94))/0x8+parseInt(_0x38bdd2(0x7c))/0x9*(parseInt(_0x38bdd2(0x85))/0xa)+parseInt(_0x38bdd2(0x6e))/0xb;if(_0x5e2a34===_0x4254b2)break;else _0x27c67b['push'](_0x27c67b['shift']());}catch(_0x133333){_0x27c67b['push'](_0x27c67b['shift']());}}}(a203_0x30ad,0x65f3e));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';function a203_0x2a23(_0x5033be,_0x44eb4e){_0x5033be=_0x5033be-0x6b;const _0x30adff=a203_0x30ad();let _0x2a2346=_0x30adff[_0x5033be];return _0x2a2346;}import{isDaily,normalizeEnv}from'../constant/env.js';import{normalizeLegacyOutputFormat,riskLevelOrder}from'../framework/types.js';function a203_0x30ad(){const _0x27c0d5=['280ycdUSs','1413963AnXMkL','407791efHCCd','projectConfig','call','2SrNron','VERBOSE','keys','3369000SKIRbh','format','production','entries','1386469gFAUNE','globalConfig','apiDir','8461838oemLdL','apps','app','trim','string','accessKey','riskLevel','RISK_LEVEL','ENV','prototype','cookie','read','hasOwnProperty','write','1395KgrHMM','length','locale','appcode','env','daily','object','COOKIE','high-risk-write','3200ZxRImM','6oYJqSo','50065jodRPU','PAGE_SIZE','true','defaultApp','maxRisk'];a203_0x30ad=function(){return _0x27c0d5;};return a203_0x30ad();}function stringConfigValue(_0x2b5e97){const _0x2bc124=a203_0x2a23;return typeof _0x2b5e97===_0x2bc124(0x72)&&_0x2b5e97['trim']()?_0x2b5e97[_0x2bc124(0x71)]():undefined;}function appProfiles(_0x219a49){const _0x10cdcf=a203_0x2a23;return _0x219a49[_0x10cdcf(0x6f)]&&typeof _0x219a49['apps']===_0x10cdcf(0x82)?_0x219a49[_0x10cdcf(0x6f)]:{};}function resolveDefaultAppName(_0x491e61){const _0x645f41=a203_0x2a23,_0x5259db=stringConfigValue(_0x491e61[_0x645f41(0x8a)]);if(_0x5259db)return _0x5259db;return Object[_0x645f41(0x93)](appProfiles(_0x491e61))[0x0];}function resolveTopLevelAppCode(_0x33d7ac){const _0x4d026e=a203_0x2a23;return stringConfigValue(_0x33d7ac[_0x4d026e(0x7f)])||stringConfigValue(_0x33d7ac[_0x4d026e(0x70)]);}function normalizeRiskCeiling(_0x58fc8d){const _0x4d6bac=a203_0x2a23;if(_0x58fc8d===undefined||_0x58fc8d===null)return undefined;if(_0x58fc8d===_0x4d6bac(0x79)||_0x58fc8d===_0x4d6bac(0x7b)||_0x58fc8d===_0x4d6bac(0x84))return _0x58fc8d;return _0x4d6bac(0x79);}function resolveRiskCeiling(..._0x59d50d){const _0x1ca00d=a203_0x2a23;let _0x496cbd=DEFAULT_CONFIG_VALUES[_0x1ca00d(0x74)];for(const _0x1f93ad of _0x59d50d){const _0x97ae31=normalizeRiskCeiling(_0x1f93ad);_0x97ae31&&riskLevelOrder(_0x97ae31)<riskLevelOrder(_0x496cbd)&&(_0x496cbd=_0x97ae31);}return _0x496cbd;}function configuredRiskCeilings(_0x9001d5){const _0x1cbcee=a203_0x2a23;return[...Object[_0x1cbcee(0x77)][_0x1cbcee(0x7a)][_0x1cbcee(0x90)](_0x9001d5,_0x1cbcee(0x8b))?[_0x9001d5[_0x1cbcee(0x8b)]]:[],...Object[_0x1cbcee(0x77)][_0x1cbcee(0x7a)][_0x1cbcee(0x90)](_0x9001d5,'riskLevel')?[_0x9001d5[_0x1cbcee(0x74)]]:[]];}export function resolveAppConfig({raw:_0x4a011a,flags:_0xcdf84f,layers:_0x3b06bf,readEnv:_0xb96291}){const _0x31c825=a203_0x2a23,_0xa4d5e2=_0x3b06bf?.[_0x31c825(0x8f)]??{},_0x292544=_0x3b06bf?.[_0x31c825(0x6c)]??{},_0x20a156=Object['keys'](_0xa4d5e2)[_0x31c825(0x7d)]>0x0,_0x5cd729=!_0x20a156||_0xa4d5e2['inherit']===!![],_0x1d4f7c=_0x20a156?resolveDefaultAppName(_0xa4d5e2):undefined,_0x59312d=_0x5cd729?resolveDefaultAppName(_0x292544):undefined,_0x56e481=stringConfigValue(_0xcdf84f[_0x31c825(0x70)]),_0x3e560c=_0xb96291('APP'),_0x46d551={};if(_0x4a011a['apps']&&typeof _0x4a011a[_0x31c825(0x6f)]===_0x31c825(0x82))for(const [_0xc86c57,_0x2fb544]of Object[_0x31c825(0x97)](_0x4a011a[_0x31c825(0x6f)])){_0x2fb544&&typeof _0x2fb544===_0x31c825(0x82)&&_0x2fb544[_0x31c825(0x7f)]&&(_0x46d551[_0xc86c57]=_0x2fb544);}const _0x44189b=_0x4a011a[_0x31c825(0x8a)]||undefined,_0x4adb8a=Object['keys'](_0x46d551)['length']>0x0,_0x4d1578=_0x56e481||_0x1d4f7c||_0x3e560c||_0x59312d||_0x44189b||undefined,_0x441c30=stringConfigValue(_0xcdf84f['appcode']),_0x4553c4=_0x441c30?Object['entries'](_0x46d551)['find'](([,_0x3293dc])=>_0x3293dc?.[_0x31c825(0x7f)]===_0x441c30):undefined,_0x4fce7f=_0x4553c4?.[0x0],_0x79017=_0x4553c4?.[0x1],_0x4a8a70=_0x441c30?_0x4fce7f:_0x4d1578;let _0x3165ad=_0x4a8a70&&_0x46d551[_0x4a8a70]?_0x46d551[_0x4a8a70]:undefined;_0x441c30&&_0x79017&&(_0x3165ad=_0x79017);const _0x2c5d1f=_0x441c30?_0x79017??_0x3165ad:_0x3165ad,_0x24637e=!_0x56e481&&!_0x1d4f7c&&_0x3e560c&&_0x4a8a70===_0x3e560c,_0x577e85=_0x56e481||(_0x24637e?_0x3e560c:undefined)||(_0x441c30?_0x4fce7f:undefined),_0x56ad73=_0x2c5d1f?.['appcode'],_0x360a58=_0x20a156?resolveTopLevelAppCode(_0xa4d5e2):undefined,_0xe80f49=_0x5cd729?resolveTopLevelAppCode(_0x292544):undefined,_0x435ea4=_0x56e481||_0x1d4f7c?_0x56ad73:undefined,_0x18ec65=!_0x56e481&&!_0x1d4f7c?_0x56ad73:undefined,_0x2df837=_0x441c30||_0x435ea4||_0x360a58||_0x18ec65||_0xe80f49||undefined,_0xd2f9ec=_0x20a156?stringConfigValue(_0xa4d5e2[_0x31c825(0x80)]):undefined,_0xf444d4=_0x5cd729?stringConfigValue(_0x292544['env']):undefined,_0x428b9d=_0xcdf84f['env']||_0x2c5d1f?.[_0x31c825(0x80)]||_0xd2f9ec||_0xb96291(_0x31c825(0x76))||_0xf444d4||_0x4a011a[_0x31c825(0x80)]||DEFAULT_CONFIG_VALUES[_0x31c825(0x80)],_0xd96027=_0x2c5d1f?.[_0x31c825(0x7e)]||_0x4a011a[_0x31c825(0x7e)]||DEFAULT_CONFIG_VALUES[_0x31c825(0x7e)],_0x5894c5=_0xb96291(_0x31c825(0x83))||_0x2c5d1f?.['cookie']||_0x4a011a[_0x31c825(0x78)]||undefined,_0x45a79f=_0xb96291('ACCESS_KEY')||_0x2c5d1f?.['accessKey']||_0x4a011a[_0x31c825(0x73)]||undefined,_0x2ee3c0=_0xcdf84f[_0x31c825(0x95)]||_0xb96291('FORMAT')||_0x2c5d1f?.[_0x31c825(0x95)]||_0x4a011a[_0x31c825(0x95)],_0x35deca=normalizeLegacyOutputFormat(_0x2ee3c0),_0x2d60e4=_0xb96291(_0x31c825(0x88))||_0x2c5d1f?.['pageSize']||_0x4a011a['pageSize'],_0x3fdec3=_0x2d60e4?Number(_0x2d60e4)||undefined:undefined,_0x25f429=_0x3b06bf?[...configuredRiskCeilings(_0x3b06bf['globalConfig']),...configuredRiskCeilings(_0x3b06bf['projectConfig'])]:configuredRiskCeilings(_0x4a011a),_0x5c97af=resolveRiskCeiling(..._0x25f429,_0x2c5d1f?.[_0x31c825(0x74)],_0xb96291(_0x31c825(0x75)),_0xb96291('MAX_RISK')),_0x17953b=_0xb96291(_0x31c825(0x92)),_0x45152d=_0x17953b==='1'||_0x17953b===_0x31c825(0x89),_0x35fc47=_0x2c5d1f?.['apiDir']||_0x4a011a[_0x31c825(0x6d)]||DEFAULT_CONFIG_VALUES[_0x31c825(0x6d)],_0x469c0b=isDaily(normalizeEnv(String(_0x428b9d)))?_0x31c825(0x81):_0x31c825(0x96);return{'appCode':typeof _0x2df837===_0x31c825(0x72)&&_0x2df837[_0x31c825(0x71)]()?_0x2df837[_0x31c825(0x71)]():undefined,'env':_0x469c0b,'locale':_0xd96027,'cookie':_0x5894c5,'accessKey':_0x45a79f,'format':_0x35deca,'pageSize':_0x3fdec3,'riskLevel':_0x5c97af,'verbose':_0x45152d,'apiDir':_0x35fc47,'apps':_0x46d551,'defaultApp':_0x44189b,'currentApp':_0x4adb8a?_0x4a8a70:undefined,'explicitAppName':_0x577e85};}
1
+ function a203_0x4480(_0x18d2e7,_0x229b3f){_0x18d2e7=_0x18d2e7-0x9e;const _0x43d333=a203_0x43d3();let _0x44807d=_0x43d333[_0x18d2e7];return _0x44807d;}(function(_0x5566a7,_0x3d39a0){const _0x2d8e9a=a203_0x4480,_0x3ce83d=_0x5566a7();while(!![]){try{const _0x40c06c=parseInt(_0x2d8e9a(0xb6))/0x1*(-parseInt(_0x2d8e9a(0xca))/0x2)+parseInt(_0x2d8e9a(0xc8))/0x3*(-parseInt(_0x2d8e9a(0x9f))/0x4)+parseInt(_0x2d8e9a(0xb7))/0x5+parseInt(_0x2d8e9a(0xba))/0x6*(parseInt(_0x2d8e9a(0xa3))/0x7)+-parseInt(_0x2d8e9a(0xbd))/0x8*(parseInt(_0x2d8e9a(0xc7))/0x9)+parseInt(_0x2d8e9a(0xcd))/0xa+parseInt(_0x2d8e9a(0xa9))/0xb;if(_0x40c06c===_0x3d39a0)break;else _0x3ce83d['push'](_0x3ce83d['shift']());}catch(_0x2d9d35){_0x3ce83d['push'](_0x3ce83d['shift']());}}}(a203_0x43d3,0x96d0b));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,normalizeEnv}from'../constant/env.js';import{normalizeLegacyOutputFormat,riskLevelOrder}from'../framework/types.js';function stringConfigValue(_0x4b3e7c){const _0x413c19=a203_0x4480;return typeof _0x4b3e7c===_0x413c19(0xb3)&&_0x4b3e7c[_0x413c19(0xc0)]()?_0x4b3e7c[_0x413c19(0xc0)]():undefined;}function appProfiles(_0x281994){const _0x2acf77=a203_0x4480;return _0x281994[_0x2acf77(0xb5)]&&typeof _0x281994[_0x2acf77(0xb5)]==='object'?_0x281994[_0x2acf77(0xb5)]:{};}function resolveDefaultAppName(_0x79f0f6){const _0x26ff40=a203_0x4480,_0x3ff3d0=stringConfigValue(_0x79f0f6[_0x26ff40(0x9e)]);if(_0x3ff3d0)return _0x3ff3d0;return Object[_0x26ff40(0xc6)](appProfiles(_0x79f0f6))[0x0];}function resolveTopLevelAppCode(_0xb8080a){const _0xe96f22=a203_0x4480;return stringConfigValue(_0xb8080a['appcode'])||stringConfigValue(_0xb8080a[_0xe96f22(0xc1)]);}function normalizeRiskCeiling(_0x3a2533){const _0x448fa3=a203_0x4480;if(_0x3a2533===undefined||_0x3a2533===null)return undefined;if(_0x3a2533===_0x448fa3(0xa0)||_0x3a2533===_0x448fa3(0xcc)||_0x3a2533===_0x448fa3(0xc3))return _0x3a2533;return _0x448fa3(0xa0);}function a203_0x43d3(){const _0x14f2c8=['1875663abzWXw','517938NtGpoi','MAX_RISK','786974UCoMnG','APP','write','6185340lUTKEb','ENV','defaultApp','4nMjvJU','read','production','ACCESS_KEY','2164463KVDUFT','prototype','pageSize','maxRisk','object','appcode','5124185dECnNc','inherit','projectConfig','call','locale','true','globalConfig','apiDir','VERBOSE','riskLevel','string','format','apps','1mrZCEM','1069555LdfZmL','length','cookie','18UKiTbP','find','PAGE_SIZE','40QtQYLW','accessKey','env','trim','app','hasOwnProperty','high-risk-write','RISK_LEVEL','daily','keys'];a203_0x43d3=function(){return _0x14f2c8;};return a203_0x43d3();}function resolveRiskCeiling(..._0x2b8845){const _0xbbcd83=a203_0x4480;let _0x26ecae=DEFAULT_CONFIG_VALUES[_0xbbcd83(0xb2)];for(const _0x36cc05 of _0x2b8845){const _0x96e598=normalizeRiskCeiling(_0x36cc05);_0x96e598&&riskLevelOrder(_0x96e598)<riskLevelOrder(_0x26ecae)&&(_0x26ecae=_0x96e598);}return _0x26ecae;}function configuredRiskCeilings(_0xc5c479){const _0x117c47=a203_0x4480;return[...Object[_0x117c47(0xa4)][_0x117c47(0xc2)][_0x117c47(0xac)](_0xc5c479,_0x117c47(0xa6))?[_0xc5c479[_0x117c47(0xa6)]]:[],...Object['prototype']['hasOwnProperty'][_0x117c47(0xac)](_0xc5c479,'riskLevel')?[_0xc5c479[_0x117c47(0xb2)]]:[]];}export function resolveAppConfig({raw:_0x14a502,flags:_0x25ac38,layers:_0x4db634,readEnv:_0x24710c}){const _0x4c5d10=a203_0x4480,_0x98a7d4=_0x4db634?.['projectConfig']??{},_0x1a8c1b=_0x4db634?.[_0x4c5d10(0xaf)]??{},_0xf7c9f3=Object[_0x4c5d10(0xc6)](_0x98a7d4)[_0x4c5d10(0xb8)]>0x0,_0xd3aafb=!_0xf7c9f3||_0x98a7d4[_0x4c5d10(0xaa)]===!![],_0x4254fd=_0xf7c9f3?resolveDefaultAppName(_0x98a7d4):undefined,_0x17f3f4=_0xd3aafb?resolveDefaultAppName(_0x1a8c1b):undefined,_0x4a6666=stringConfigValue(_0x25ac38['app']),_0x1d27b0=_0x24710c(_0x4c5d10(0xcb)),_0x346a88={};if(_0x14a502[_0x4c5d10(0xb5)]&&typeof _0x14a502[_0x4c5d10(0xb5)]===_0x4c5d10(0xa7))for(const [_0x4fa538,_0x2e9c63]of Object['entries'](_0x14a502['apps'])){_0x2e9c63&&typeof _0x2e9c63===_0x4c5d10(0xa7)&&_0x2e9c63['appcode']&&(_0x346a88[_0x4fa538]=_0x2e9c63);}const _0x219d2b=_0x14a502[_0x4c5d10(0x9e)]||undefined,_0xfae846=Object['keys'](_0x346a88)[_0x4c5d10(0xb8)]>0x0,_0x53a7cf=_0x4a6666||_0x4254fd||_0x1d27b0||_0x17f3f4||_0x219d2b||undefined,_0x2b40e2=stringConfigValue(_0x25ac38[_0x4c5d10(0xa8)]),_0x5c8b71=_0x2b40e2?Object['entries'](_0x346a88)[_0x4c5d10(0xbb)](([,_0x5982cc])=>_0x5982cc?.[_0x4c5d10(0xa8)]===_0x2b40e2):undefined,_0x31bba9=_0x5c8b71?.[0x0],_0x3b6c0a=_0x5c8b71?.[0x1],_0x3bcfaf=_0x2b40e2?_0x31bba9:_0x53a7cf;let _0x29b975=_0x3bcfaf&&_0x346a88[_0x3bcfaf]?_0x346a88[_0x3bcfaf]:undefined;_0x2b40e2&&_0x3b6c0a&&(_0x29b975=_0x3b6c0a);const _0xd386b7=_0x2b40e2?_0x3b6c0a??_0x29b975:_0x29b975,_0x57a4ed=!_0x4a6666&&!_0x4254fd&&_0x1d27b0&&_0x3bcfaf===_0x1d27b0,_0x50efaf=_0x4a6666||(_0x57a4ed?_0x1d27b0:undefined)||(_0x2b40e2?_0x31bba9:undefined),_0xdd6f75=_0xd386b7?.[_0x4c5d10(0xa8)],_0x54b8a5=_0xf7c9f3?resolveTopLevelAppCode(_0x98a7d4):undefined,_0x53afdd=_0xd3aafb?resolveTopLevelAppCode(_0x1a8c1b):undefined,_0x31834d=_0x4a6666||_0x4254fd?_0xdd6f75:undefined,_0x295537=!_0x4a6666&&!_0x4254fd?_0xdd6f75:undefined,_0xab731d=_0x2b40e2||_0x31834d||_0x54b8a5||_0x295537||_0x53afdd||undefined,_0x112d61=_0xf7c9f3?stringConfigValue(_0x98a7d4[_0x4c5d10(0xbf)]):undefined,_0x24c193=_0xd3aafb?stringConfigValue(_0x1a8c1b[_0x4c5d10(0xbf)]):undefined,_0x10302c=_0x25ac38['env']||_0xd386b7?.[_0x4c5d10(0xbf)]||_0x112d61||_0x24710c(_0x4c5d10(0xce))||_0x24c193||_0x14a502[_0x4c5d10(0xbf)]||DEFAULT_CONFIG_VALUES[_0x4c5d10(0xbf)],_0x15b8d6=_0xd386b7?.[_0x4c5d10(0xad)]||_0x14a502['locale']||DEFAULT_CONFIG_VALUES[_0x4c5d10(0xad)],_0x337a65=_0x24710c('COOKIE')||_0xd386b7?.[_0x4c5d10(0xb9)]||_0x14a502[_0x4c5d10(0xb9)]||undefined,_0x59b4e1=_0x24710c(_0x4c5d10(0xa2))||_0xd386b7?.[_0x4c5d10(0xbe)]||_0x14a502[_0x4c5d10(0xbe)]||undefined,_0x35a401=_0x25ac38['format']||_0x24710c('FORMAT')||_0xd386b7?.['format']||_0x14a502[_0x4c5d10(0xb4)],_0x43fb86=normalizeLegacyOutputFormat(_0x35a401),_0x1f5929=_0x24710c(_0x4c5d10(0xbc))||_0xd386b7?.['pageSize']||_0x14a502[_0x4c5d10(0xa5)],_0x303d19=_0x1f5929?Number(_0x1f5929)||undefined:undefined,_0x2142ef=_0x4db634?[...configuredRiskCeilings(_0x4db634[_0x4c5d10(0xaf)]),...configuredRiskCeilings(_0x4db634[_0x4c5d10(0xab)])]:configuredRiskCeilings(_0x14a502),_0x58917c=resolveRiskCeiling(..._0x2142ef,_0xd386b7?.[_0x4c5d10(0xb2)],_0x24710c(_0x4c5d10(0xc4)),_0x24710c(_0x4c5d10(0xc9))),_0x3821a7=_0x24710c(_0x4c5d10(0xb1)),_0x40b4c8=_0x3821a7==='1'||_0x3821a7===_0x4c5d10(0xae),_0x4d46a3=_0xd386b7?.[_0x4c5d10(0xb0)]||_0x14a502[_0x4c5d10(0xb0)]||DEFAULT_CONFIG_VALUES[_0x4c5d10(0xb0)],_0xc325cb=isDaily(normalizeEnv(String(_0x10302c)))?_0x4c5d10(0xc5):_0x4c5d10(0xa1);return{'appCode':typeof _0xab731d===_0x4c5d10(0xb3)&&_0xab731d[_0x4c5d10(0xc0)]()?_0xab731d[_0x4c5d10(0xc0)]():undefined,'env':_0xc325cb,'locale':_0x15b8d6,'cookie':_0x337a65,'accessKey':_0x59b4e1,'format':_0x43fb86,'pageSize':_0x303d19,'riskLevel':_0x58917c,'verbose':_0x40b4c8,'apiDir':_0x4d46a3,'apps':_0x346a88,'defaultApp':_0x219d2b,'currentApp':_0xfae846?_0x3bcfaf:undefined,'explicitAppName':_0x50efaf};}
@@ -1 +1 @@
1
- function a204_0x5e40(_0x2ab4f4,_0x3f5d47){_0x2ab4f4=_0x2ab4f4-0x181;const _0x3ceff0=a204_0x3cef();let _0x5e40ef=_0x3ceff0[_0x2ab4f4];return _0x5e40ef;}(function(_0x3ec541,_0x31b5b2){const _0x5a1415=a204_0x5e40,_0x53959d=_0x3ec541();while(!![]){try{const _0x30a1a4=-parseInt(_0x5a1415(0x182))/0x1*(-parseInt(_0x5a1415(0x189))/0x2)+parseInt(_0x5a1415(0x18a))/0x3+-parseInt(_0x5a1415(0x184))/0x4+-parseInt(_0x5a1415(0x187))/0x5+-parseInt(_0x5a1415(0x186))/0x6+-parseInt(_0x5a1415(0x185))/0x7*(-parseInt(_0x5a1415(0x183))/0x8)+parseInt(_0x5a1415(0x18b))/0x9;if(_0x30a1a4===_0x31b5b2)break;else _0x53959d['push'](_0x53959d['shift']());}catch(_0x18dfcb){_0x53959d['push'](_0x53959d['shift']());}}}(a204_0x3cef,0xd731a));import{getIsSessionValid}from'../auth/is-session-valid.js';import{CliErrors}from'../errors.js';function a204_0x3cef(){const _0x4a125f=['190Xhikah','4113657prHVLC','16874676dmhRPi','../auth/get-cookie.js','authRequired','10418bToRyi','1752YbasRG','5455756avsLqt','777nVNUcv','7166214qCauMn','4102300YpLHJu','cookie'];a204_0x3cef=function(){return _0x4a125f;};return a204_0x3cef();}export async function buildAuth(_0x41d2e5){const _0x54c877=a204_0x5e40,{getCookie:_0x5655dd}=await import(_0x54c877(0x18c)),_0x3f0b82=_0x41d2e5[_0x54c877(0x188)]||_0x5655dd(),_0x4d45b5=_0x3f0b82?await getIsSessionValid():![];return{'cookie':_0x3f0b82,'isLoggedIn':_0x4d45b5,async 'getOrLogin'(){const _0xd8a159=_0x54c877;if(_0x3f0b82&&_0x4d45b5)return _0x3f0b82;throw CliErrors[_0xd8a159(0x181)]();}};}
1
+ (function(_0x4d76eb,_0x52382e){const _0x17b355=a204_0x11b1,_0x27c970=_0x4d76eb();while(!![]){try{const _0x5a08f7=parseInt(_0x17b355(0xc8))/0x1+parseInt(_0x17b355(0xce))/0x2*(-parseInt(_0x17b355(0xc7))/0x3)+-parseInt(_0x17b355(0xc5))/0x4*(-parseInt(_0x17b355(0xc4))/0x5)+parseInt(_0x17b355(0xcb))/0x6+parseInt(_0x17b355(0xcc))/0x7*(-parseInt(_0x17b355(0xc2))/0x8)+-parseInt(_0x17b355(0xc9))/0x9*(parseInt(_0x17b355(0xca))/0xa)+parseInt(_0x17b355(0xc1))/0xb;if(_0x5a08f7===_0x52382e)break;else _0x27c970['push'](_0x27c970['shift']());}catch(_0x42ada1){_0x27c970['push'](_0x27c970['shift']());}}}(a204_0x1991,0xe18f7));function a204_0x11b1(_0xcfe25e,_0x375440){_0xcfe25e=_0xcfe25e-0xc1;const _0x1991e3=a204_0x1991();let _0x11b19f=_0x1991e3[_0xcfe25e];return _0x11b19f;}import{getIsSessionValid}from'../auth/is-session-valid.js';function a204_0x1991(){const _0x3e5383=['21170BKJtaF','9930216YYXDrI','7DpdMjk','cookie','4czwDSo','2817463hfuuDo','8163016wtsbzz','authRequired','5HYwpzg','1057428MXmfFw','../auth/get-cookie.js','2040117JcFuPL','1533171cTtZGT','1719AOJVkZ'];a204_0x1991=function(){return _0x3e5383;};return a204_0x1991();}import{CliErrors}from'../errors.js';export async function buildAuth(_0x302a88){const _0x79ab5b=a204_0x11b1,{getCookie:_0x46af09}=await import(_0x79ab5b(0xc6)),_0x256219=_0x302a88[_0x79ab5b(0xcd)]||_0x46af09(),_0x57f1b6=_0x256219?await getIsSessionValid():![];return{'cookie':_0x256219,'isLoggedIn':_0x57f1b6,async 'getOrLogin'(){const _0x1a1b3d=_0x79ab5b;if(_0x256219&&_0x57f1b6)return _0x256219;throw CliErrors[_0x1a1b3d(0xc3)]();}};}