@lovrabet/rabetbase-cli 2.5.2-beta.1 → 2.5.2-beta.3

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 (348) hide show
  1. package/README.md +1 -1
  2. package/lib/api/api-doc.js +1 -1
  3. package/lib/api/fetch-model-list.js +1 -1
  4. package/lib/api/generate-api-file.js +1 -1
  5. package/lib/api/generate-sdk-config-file.js +1 -1
  6. package/lib/auth/auth-server-ui.js +1 -1
  7. package/lib/auth/auth-server.js +1 -1
  8. package/lib/auth/constant.js +1 -1
  9. package/lib/auth/get-cookie.js +1 -1
  10. package/lib/auth/get-session-user.js +1 -1
  11. package/lib/auth/is-session-valid.js +1 -1
  12. package/lib/auth/login-success-html.js +1 -1
  13. package/lib/auth/logout.js +1 -1
  14. package/lib/cli-flags.js +1 -1
  15. package/lib/cli.js +1 -1
  16. package/lib/commands/api/generate.js +1 -1
  17. package/lib/commands/api/index.js +1 -1
  18. package/lib/commands/api/list.js +1 -1
  19. package/lib/commands/api/pull.js +1 -1
  20. package/lib/commands/api/shared.js +1 -1
  21. package/lib/commands/app/index.js +1 -1
  22. package/lib/commands/app/list.js +1 -1
  23. package/lib/commands/app/members-list.js +1 -1
  24. package/lib/commands/app/remote-directory.js +1 -1
  25. package/lib/commands/app/shared.d.ts +1 -0
  26. package/lib/commands/app/shared.js +1 -1
  27. package/lib/commands/app-config/delete.js +1 -1
  28. package/lib/commands/app-config/get.js +1 -1
  29. package/lib/commands/app-config/index.js +1 -1
  30. package/lib/commands/app-config/list.js +1 -1
  31. package/lib/commands/app-config/set.js +1 -1
  32. package/lib/commands/app-config/shared.js +1 -1
  33. package/lib/commands/auth/index.js +1 -1
  34. package/lib/commands/bff/create.js +1 -1
  35. package/lib/commands/bff/delete.js +1 -1
  36. package/lib/commands/bff/detail.js +1 -1
  37. package/lib/commands/bff/index.js +1 -1
  38. package/lib/commands/bff/list.js +1 -1
  39. package/lib/commands/bff/pull.js +1 -1
  40. package/lib/commands/bff/push.js +1 -1
  41. package/lib/commands/bff/status.js +1 -1
  42. package/lib/commands/cli-skill/index.js +1 -1
  43. package/lib/commands/cli-update.js +1 -1
  44. package/lib/commands/codegen/index.js +1 -1
  45. package/lib/commands/codegen/sdk.js +1 -1
  46. package/lib/commands/codegen/sql.js +1 -1
  47. package/lib/commands/common/app-registry.js +1 -1
  48. package/lib/commands/common/app-selector.js +1 -1
  49. package/lib/commands/common/async-task.js +1 -1
  50. package/lib/commands/common/dry-run.js +1 -1
  51. package/lib/commands/common/flags.js +1 -1
  52. package/lib/commands/common/local-file.js +1 -1
  53. package/lib/commands/common/validate.js +1 -1
  54. package/lib/commands/config/delete.js +1 -1
  55. package/lib/commands/config/get.js +1 -1
  56. package/lib/commands/config/index.js +1 -1
  57. package/lib/commands/config/init.js +1 -1
  58. package/lib/commands/config/list.js +1 -1
  59. package/lib/commands/config/set.js +1 -1
  60. package/lib/commands/config/shared.js +1 -1
  61. package/lib/commands/dataset/business-group-update.js +1 -1
  62. package/lib/commands/dataset/business-groups.js +1 -1
  63. package/lib/commands/dataset/capability.js +1 -1
  64. package/lib/commands/dataset/delete.js +1 -1
  65. package/lib/commands/dataset/detail.js +1 -1
  66. package/lib/commands/dataset/extend-update.js +1 -1
  67. package/lib/commands/dataset/field-restore.js +1 -1
  68. package/lib/commands/dataset/field-update.js +1 -1
  69. package/lib/commands/dataset/generate.js +1 -1
  70. package/lib/commands/dataset/index.js +1 -1
  71. package/lib/commands/dataset/list.js +1 -1
  72. package/lib/commands/dataset/operations.js +1 -1
  73. package/lib/commands/dataset/relation-audit.js +1 -1
  74. package/lib/commands/dataset/relation-create.js +1 -1
  75. package/lib/commands/dataset/relation-delete.js +1 -1
  76. package/lib/commands/dataset/relation-shared.js +1 -1
  77. package/lib/commands/dataset/relation-update.js +1 -1
  78. package/lib/commands/dataset/relations.js +1 -1
  79. package/lib/commands/dataset/rename.js +1 -1
  80. package/lib/commands/dataset/restore.js +1 -1
  81. package/lib/commands/dataset/user-deleted-field-list.js +1 -1
  82. package/lib/commands/db/analysis-batching.js +1 -1
  83. package/lib/commands/db/analyze-batch-plan.js +1 -1
  84. package/lib/commands/db/analyze-cancel.js +1 -1
  85. package/lib/commands/db/analyze-start.js +1 -1
  86. package/lib/commands/db/analyze-status.js +1 -1
  87. package/lib/commands/db/create.js +1 -1
  88. package/lib/commands/db/delete.js +1 -1
  89. package/lib/commands/db/detail.js +1 -1
  90. package/lib/commands/db/diff-refresh-start.js +1 -1
  91. package/lib/commands/db/diff-refresh-status.js +1 -1
  92. package/lib/commands/db/diff.js +1 -1
  93. package/lib/commands/db/index.js +1 -1
  94. package/lib/commands/db/list.js +1 -1
  95. package/lib/commands/db/shared.js +1 -1
  96. package/lib/commands/db/table-diff-shared.js +1 -1
  97. package/lib/commands/db/tables.js +1 -1
  98. package/lib/commands/db/test.js +1 -1
  99. package/lib/commands/db/update.js +1 -1
  100. package/lib/commands/deployment/auto-sync.js +1 -1
  101. package/lib/commands/deployment/index.js +1 -1
  102. package/lib/commands/deployment/sync-all.d.ts +2 -0
  103. package/lib/commands/deployment/sync-all.js +1 -0
  104. package/lib/commands/deployment/sync-jobs.d.ts +2 -0
  105. package/lib/commands/deployment/sync-jobs.js +1 -0
  106. package/lib/commands/deployment/sync-status.d.ts +2 -0
  107. package/lib/commands/deployment/sync-status.js +1 -0
  108. package/lib/commands/deployment/sync.js +1 -1
  109. package/lib/commands/doctor.js +1 -1
  110. package/lib/commands/file/index.js +1 -1
  111. package/lib/commands/instant-api-policy/current.d.ts +2 -0
  112. package/lib/commands/instant-api-policy/current.js +1 -0
  113. package/lib/commands/instant-api-policy/index.d.ts +2 -0
  114. package/lib/commands/instant-api-policy/index.js +1 -0
  115. package/lib/commands/instant-api-policy/init.d.ts +2 -0
  116. package/lib/commands/instant-api-policy/init.js +1 -0
  117. package/lib/commands/instant-api-policy/publish.d.ts +2 -0
  118. package/lib/commands/instant-api-policy/publish.js +1 -0
  119. package/lib/commands/instant-api-policy/pull.d.ts +2 -0
  120. package/lib/commands/instant-api-policy/pull.js +1 -0
  121. package/lib/commands/instant-api-policy/revision.d.ts +2 -0
  122. package/lib/commands/instant-api-policy/revision.js +1 -0
  123. package/lib/commands/instant-api-policy/revisions.d.ts +2 -0
  124. package/lib/commands/instant-api-policy/revisions.js +1 -0
  125. package/lib/commands/instant-api-policy/rollback.d.ts +2 -0
  126. package/lib/commands/instant-api-policy/rollback.js +1 -0
  127. package/lib/commands/instant-api-policy/shared.d.ts +82 -0
  128. package/lib/commands/instant-api-policy/shared.js +1 -0
  129. package/lib/commands/instant-api-policy/validate.d.ts +2 -0
  130. package/lib/commands/instant-api-policy/validate.js +1 -0
  131. package/lib/commands/issue/index.js +1 -1
  132. package/lib/commands/issue/nudge.js +1 -1
  133. package/lib/commands/issue/report.js +1 -1
  134. package/lib/commands/issue/shared.js +1 -1
  135. package/lib/commands/kb/create.js +1 -1
  136. package/lib/commands/kb/delete.js +1 -1
  137. package/lib/commands/kb/detail.js +1 -1
  138. package/lib/commands/kb/index.js +1 -1
  139. package/lib/commands/kb/list.js +1 -1
  140. package/lib/commands/kb/search.js +1 -1
  141. package/lib/commands/kb/shared.js +1 -1
  142. package/lib/commands/kb/update.js +1 -1
  143. package/lib/commands/logs/index.js +1 -1
  144. package/lib/commands/menu/asset-update.js +1 -1
  145. package/lib/commands/menu/delete.js +1 -1
  146. package/lib/commands/menu/external-link-create.js +1 -1
  147. package/lib/commands/menu/external-link-update.js +1 -1
  148. package/lib/commands/menu/group-create.js +1 -1
  149. package/lib/commands/menu/group-update.js +1 -1
  150. package/lib/commands/menu/index.js +1 -1
  151. package/lib/commands/menu/list.js +1 -1
  152. package/lib/commands/menu/move.js +1 -1
  153. package/lib/commands/menu/regroup-start.js +1 -1
  154. package/lib/commands/menu/rename.js +1 -1
  155. package/lib/commands/menu/shared/compare-table.js +1 -1
  156. package/lib/commands/menu/shared/delete-plan.js +1 -1
  157. package/lib/commands/menu/shared/facts.js +1 -1
  158. package/lib/commands/menu/shared/index.js +1 -1
  159. package/lib/commands/menu/shared/inquirer.js +1 -1
  160. package/lib/commands/menu/shared/local-pages.js +1 -1
  161. package/lib/commands/menu/shared/logic.js +1 -1
  162. package/lib/commands/menu/shared/mutations.js +1 -1
  163. package/lib/commands/menu/shared/service.js +1 -1
  164. package/lib/commands/menu/shared/sync-core.js +1 -1
  165. package/lib/commands/menu/shared/update-core.js +1 -1
  166. package/lib/commands/menu/shared/valid-url.js +1 -1
  167. package/lib/commands/menu/sync.js +1 -1
  168. package/lib/commands/menu/visibility-update.js +1 -1
  169. package/lib/commands/notification/config-create.js +1 -1
  170. package/lib/commands/notification/config-delete.js +1 -1
  171. package/lib/commands/notification/config-list.js +1 -1
  172. package/lib/commands/notification/config-update.js +1 -1
  173. package/lib/commands/notification/index.js +1 -1
  174. package/lib/commands/notification/shared.js +1 -1
  175. package/lib/commands/ocr/index.js +1 -1
  176. package/lib/commands/page/create.js +1 -1
  177. package/lib/commands/page/custom/detail.js +1 -1
  178. package/lib/commands/page/custom/list.js +1 -1
  179. package/lib/commands/page/custom/publish.js +1 -1
  180. package/lib/commands/page/custom/shared.js +1 -1
  181. package/lib/commands/page/custom/syntax.js +1 -1
  182. package/lib/commands/page/custom/template.js +1 -1
  183. package/lib/commands/page/custom/update.js +1 -1
  184. package/lib/commands/page/data-list-status.js +1 -1
  185. package/lib/commands/page/generate-start.js +1 -1
  186. package/lib/commands/page/generate-status.js +1 -1
  187. package/lib/commands/page/index.js +1 -1
  188. package/lib/commands/page/pull.js +1 -1
  189. package/lib/commands/page/push.js +1 -1
  190. package/lib/commands/page/relation-audit.js +1 -1
  191. package/lib/commands/page/restore.js +1 -1
  192. package/lib/commands/page/shared.js +1 -1
  193. package/lib/commands/page/sync.js +1 -1
  194. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  195. package/lib/commands/project/create/format-elapsed.js +1 -1
  196. package/lib/commands/project/create/main.js +1 -1
  197. package/lib/commands/project/create/materialize-project-template.js +1 -1
  198. package/lib/commands/project/create/project-name.js +1 -1
  199. package/lib/commands/project/create/project-template-archive.js +1 -1
  200. package/lib/commands/project/create/project-template-path.js +1 -1
  201. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  202. package/lib/commands/project/create/use-format-code.js +1 -1
  203. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  204. package/lib/commands/project/domain-routing-sync.js +1 -1
  205. package/lib/commands/project/index.js +1 -1
  206. package/lib/commands/project/upgrade.js +1 -1
  207. package/lib/commands/registry.js +1 -1
  208. package/lib/commands/role/delete.js +1 -1
  209. package/lib/commands/role/detail.js +1 -1
  210. package/lib/commands/role/index.js +1 -1
  211. package/lib/commands/role/list.js +1 -1
  212. package/lib/commands/role/shared.js +1 -1
  213. package/lib/commands/role/update.js +1 -1
  214. package/lib/commands/role/user-add.js +1 -1
  215. package/lib/commands/role/user-remove.js +1 -1
  216. package/lib/commands/role/user-resolve.js +1 -1
  217. package/lib/commands/rule/get.js +1 -1
  218. package/lib/commands/rule/index.js +1 -1
  219. package/lib/commands/rule/list.js +1 -1
  220. package/lib/commands/rule/set.js +1 -1
  221. package/lib/commands/rule/shared.js +1 -1
  222. package/lib/commands/run/index.js +1 -1
  223. package/lib/commands/schema.js +1 -1
  224. package/lib/commands/sql/create.js +1 -1
  225. package/lib/commands/sql/delete.js +1 -1
  226. package/lib/commands/sql/detail.js +1 -1
  227. package/lib/commands/sql/exec.js +1 -1
  228. package/lib/commands/sql/index.js +1 -1
  229. package/lib/commands/sql/list.js +1 -1
  230. package/lib/commands/sql/pull.js +1 -1
  231. package/lib/commands/sql/push.js +1 -1
  232. package/lib/commands/sql/shared.js +1 -1
  233. package/lib/commands/sql/status.js +1 -1
  234. package/lib/commands/sql/validate.js +1 -1
  235. package/lib/commands/task/index.js +1 -1
  236. package/lib/commands/task/status.js +1 -1
  237. package/lib/commands/tenant/index.js +1 -1
  238. package/lib/commands/tenant/members-list.js +1 -1
  239. package/lib/commands/tenant/shared.js +1 -1
  240. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  241. package/lib/commands/user-account/index.js +1 -1
  242. package/lib/commands/workspace/add.js +1 -1
  243. package/lib/commands/workspace/index.js +1 -1
  244. package/lib/commands/workspace/remove.js +1 -1
  245. package/lib/config/domain-config.d.ts +3 -7
  246. package/lib/config/domain-config.js +1 -1
  247. package/lib/config/project-domain-routing.js +1 -1
  248. package/lib/config/schema.js +1 -1
  249. package/lib/constant/cdn.js +1 -1
  250. package/lib/constant/cli.js +1 -1
  251. package/lib/constant/defaults.js +1 -1
  252. package/lib/constant/domain.js +1 -1
  253. package/lib/constant/env.js +1 -1
  254. package/lib/constant/output.js +1 -1
  255. package/lib/constant/paths.js +1 -1
  256. package/lib/constant/region.js +1 -1
  257. package/lib/constant/risk.js +1 -1
  258. package/lib/constant/routing-profile.js +1 -1
  259. package/lib/context/app-resolver.js +1 -1
  260. package/lib/context/auth-resolver.js +1 -1
  261. package/lib/context/config-loader.js +1 -1
  262. package/lib/context.js +1 -1
  263. package/lib/core/alias-resolver.js +1 -1
  264. package/lib/core/api-client.d.ts +114 -0
  265. package/lib/core/api-client.js +1 -1
  266. package/lib/core/bff/config.js +1 -1
  267. package/lib/core/bff/file-system.js +1 -1
  268. package/lib/core/bff/hash.js +1 -1
  269. package/lib/core/bff/lock.js +1 -1
  270. package/lib/core/bff/utils.js +1 -1
  271. package/lib/core/db-resolver.js +1 -1
  272. package/lib/core/instant-api-policy/config.d.ts +23 -0
  273. package/lib/core/instant-api-policy/config.js +1 -0
  274. package/lib/core/kb-search-client.js +1 -1
  275. package/lib/core/page/file-system.js +1 -1
  276. package/lib/core/page/hash.js +1 -1
  277. package/lib/core/page/lock.js +1 -1
  278. package/lib/core/sql-index-auditor.js +1 -1
  279. package/lib/core/sql-sync/config.js +1 -1
  280. package/lib/core/sql-sync/file-system.js +1 -1
  281. package/lib/core/sql-sync/hash.js +1 -1
  282. package/lib/core/sql-sync/lock.js +1 -1
  283. package/lib/core/sql-sync/utils.js +1 -1
  284. package/lib/core/sql-validator.js +1 -1
  285. package/lib/errors.js +1 -1
  286. package/lib/framework/build-all-flags.js +1 -1
  287. package/lib/framework/error-output.js +1 -1
  288. package/lib/framework/explicit-yes.js +1 -1
  289. package/lib/framework/flags.js +1 -1
  290. package/lib/framework/help.js +1 -1
  291. package/lib/framework/index.js +1 -1
  292. package/lib/framework/output.js +1 -1
  293. package/lib/framework/response.js +1 -1
  294. package/lib/framework/runner-alias.js +1 -1
  295. package/lib/framework/runner.js +1 -1
  296. package/lib/framework/schema-export.js +1 -1
  297. package/lib/framework/supported-flags.js +1 -1
  298. package/lib/framework/types.js +1 -1
  299. package/lib/generated/build-info.d.ts +4 -4
  300. package/lib/generated/build-info.js +1 -1
  301. package/lib/generated/official-routing.d.ts +1 -1
  302. package/lib/generated/official-routing.js +1 -1
  303. package/lib/generated/routing-contract.d.ts +1 -3
  304. package/lib/generated/routing-contract.js +1 -1
  305. package/lib/help.js +1 -1
  306. package/lib/postinstall.js +1 -1
  307. package/lib/runtime/confirmation.js +1 -1
  308. package/lib/runtime/event.js +1 -1
  309. package/lib/runtime/index.js +1 -1
  310. package/lib/runtime/queue.js +1 -1
  311. package/lib/runtime/resolve.js +1 -1
  312. package/lib/skills/builtin-skill.js +1 -1
  313. package/lib/skills/main.js +1 -1
  314. package/lib/skills/npx-skills-add.js +1 -1
  315. package/lib/skills/skill-presence.js +1 -1
  316. package/lib/telemetry/cli-command-trace.js +1 -1
  317. package/lib/telemetry/cli-help-trace.js +1 -1
  318. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  319. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  320. package/lib/telemetry/send-cli-trace-log.js +1 -1
  321. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  322. package/lib/utils/ai_config.js +1 -1
  323. package/lib/utils/apply-jq-filter.js +1 -1
  324. package/lib/utils/cdn-config.js +1 -1
  325. package/lib/utils/check-sdk-version.js +1 -1
  326. package/lib/utils/cli-version-check.js +1 -1
  327. package/lib/utils/cli-version-policy.js +1 -1
  328. package/lib/utils/config.js +1 -1
  329. package/lib/utils/entity-with-id.js +1 -1
  330. package/lib/utils/file-utils.js +1 -1
  331. package/lib/utils/guides-cdn.js +1 -1
  332. package/lib/utils/http-client.js +1 -1
  333. package/lib/utils/is-non-interactive.js +1 -1
  334. package/lib/utils/logger.js +1 -1
  335. package/lib/utils/params.js +1 -1
  336. package/lib/utils/platform.js +1 -1
  337. package/lib/utils/sleep.js +1 -1
  338. package/lib/utils/template-replacer.js +1 -1
  339. package/lib/utils/update-notice.js +1 -1
  340. package/lib/utils/version.js +1 -1
  341. package/lib/utils/with-active-cookie.js +1 -1
  342. package/lib/utils/write-cli-side-channel.js +1 -1
  343. package/package.json +1 -1
  344. package/skills/rabetbase/SKILL.md +12 -6
  345. package/skills/rabetbase/references/rabetbase-app-members-list.md +2 -0
  346. package/skills/rabetbase/references/rabetbase-deployment-sync.md +41 -5
  347. package/skills/rabetbase/references/rabetbase-instant-api-policy.md +92 -0
  348. package/skills/rabetbase.manifest.json +4 -3
@@ -1 +1 @@
1
- const a221_0x4d12be=a221_0x4ad7;(function(_0x260471,_0x3c1515){const _0x2c98cb=a221_0x4ad7,_0x5356c5=_0x260471();while(!![]){try{const _0x11ef8a=parseInt(_0x2c98cb(0x87))/0x1+parseInt(_0x2c98cb(0xa6))/0x2*(-parseInt(_0x2c98cb(0x101))/0x3)+-parseInt(_0x2c98cb(0xe0))/0x4*(parseInt(_0x2c98cb(0xad))/0x5)+parseInt(_0x2c98cb(0xa1))/0x6+parseInt(_0x2c98cb(0xf2))/0x7*(parseInt(_0x2c98cb(0xd4))/0x8)+parseInt(_0x2c98cb(0xe9))/0x9+parseInt(_0x2c98cb(0xd7))/0xa*(parseInt(_0x2c98cb(0xa0))/0xb);if(_0x11ef8a===_0x3c1515)break;else _0x5356c5['push'](_0x5356c5['shift']());}catch(_0x3a5e49){_0x5356c5['push'](_0x5356c5['shift']());}}}(a221_0x3a47,0xd5dfd));export const CLI_BIN_NAME=a221_0x4d12be(0xb9);export const CLI_DISPLAY_NAME=a221_0x4d12be(0x9f);function a221_0x3a47(){const _0x219529=['Description','expected-children-count','parent-id','appcode','SQL\x20string','sqlcode','Tags','Skip\x20confirmation\x20for\x20high-risk\x20writes','1456446zSNCuZ','yes','operation-type','DB\x20ID','Show\x20help','sort','params','name','@lovrabet/rabetbase-cli','sqlName','schemas','expectParentId','description','env','Expected\x20affected\x20count','meowKey','operation','expect-path','force','Confirm\x20destructive\x20action','Name','Alias\x20for\x20--non-interactive','Schemas','Preview\x20operation\x20without\x20executing','Rabetbase\x20CLI','16379hUbBrp','8133852VjoDAP','Use\x20remote','<expr>','Read\x20value\x20from\x20stdin','Skip\x20import\x20generation','11044awWNxh','Reveal\x20sensitive\x20value','Use\x20global\x20config\x20scope','zh-CN\x20|\x20en-US','Enable\x20Backend\x20Function\x20save','Code\x20filter','Output\x20format','7881145ORKLCH','Menu\x20label','enableBffSave','page','Environment','<name>','Use\x20project\x20config\x20scope','taskId','string','sqlname','codes','Expected\x20current\x20menu\x20path','rabetbase','Operation\x20type','tags','project','type','Target\x20path','output','map','keyword','pagesize','Menu\x20sort\x20value','value','Force\x20overwrite','Title','function-node','dry-run','skipImports','description-file','global','JSON\x20params','SQL\x20name','dryRun','Select\x20app\x20profile\x20by\x20name','confirm','dbid','enable-bff-save','SQL\x20code','352VyQMJR','Override\x20appcode','Record\x20ID','600nbWcSA','json\x20|\x20pretty\x20|\x20compress','Expected\x20current\x20child\x20count','menu-ids','key','boolean','watch','topk','Read\x20value\x20from\x20environment\x20variable','4Jmflhh','Watch\x20mode','remote','Config\x20key','datasetcode','nonInteractive','File\x20path','production\x20|\x20daily','expect-parent-id','2315052vbHWXO','stdin','menuIds','Comma-separated\x20menu\x20IDs','expectedChildrenCount','sql','title','file','format','34328LIzcup','code','Verbose\x20output','reveal','Function\x20node','verbose','target','Type\x20filter','Apply\x20to\x20all','Dataset\x20code','non-interactive','Output\x20path','Force\x20non-interactive\x20mode\x20(CI)','all','operationType','501zkTqUx','label','Expected\x20current\x20parent\x20menu\x20id','locale','<code>','skip-imports','Parent\x20menu\x20id','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','Page\x20number','sql-name','functionNode','Comma-separated\x20metadata\x20codes','clear','query','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','app'];a221_0x3a47=function(){return _0x219529;};return a221_0x3a47();}export const NPM_PACKAGE_NAME=a221_0x4d12be(0x8f);function a221_0x4ad7(_0x3f449a,_0x479c57){_0x3f449a=_0x3f449a-0x7f;const _0x3a47f3=a221_0x3a47();let _0x4ad7fc=_0x3a47f3[_0x3f449a];return _0x4ad7fc;}export const GLOBAL_FLAGS=[{'name':a221_0x4d12be(0x82),'meowKey':'appcode','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xd5),'hint':a221_0x4d12be(0x105)},{'name':a221_0x4d12be(0x110),'meowKey':a221_0x4d12be(0x110),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xcf),'hint':a221_0x4d12be(0xb2)},{'name':a221_0x4d12be(0x94),'meowKey':'env','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xb1),'hint':a221_0x4d12be(0xe7)},{'name':a221_0x4d12be(0xf1),'meowKey':a221_0x4d12be(0xf1),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xac),'hint':a221_0x4d12be(0xd8)},{'name':'jq','meowKey':'jq','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x108),'hint':a221_0x4d12be(0xa3)},{'name':a221_0x4d12be(0xc8),'meowKey':a221_0x4d12be(0xce),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0x9e)},{'name':a221_0x4d12be(0x88),'meowKey':a221_0x4d12be(0x88),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0x86)},{'name':a221_0x4d12be(0xfc),'meowKey':a221_0x4d12be(0xe5),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xfe)},{'name':a221_0x4d12be(0xcb),'meowKey':'global','type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xa8)},{'name':a221_0x4d12be(0xbc),'meowKey':a221_0x4d12be(0xbc),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xb3)},{'name':'ci','meowKey':'ci','type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0x9c),'hidden':!![]},{'name':'help','meowKey':'help','type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0x8b)},{'name':a221_0x4d12be(0x104),'meowKey':a221_0x4d12be(0x104),'type':'string','description':a221_0x4d12be(0x10f),'hidden':!![],'hint':a221_0x4d12be(0xa9)},{'name':a221_0x4d12be(0x8e),'meowKey':'name','type':'string','description':a221_0x4d12be(0x9b),'hidden':!![]},{'name':a221_0x4d12be(0xef),'meowKey':a221_0x4d12be(0xef),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xc6),'hidden':!![]},{'name':a221_0x4d12be(0x10e),'meowKey':a221_0x4d12be(0x10e),'type':'string','description':'Search\x20query','hidden':!![]},{'name':a221_0x4d12be(0xde),'meowKey':a221_0x4d12be(0xde),'type':a221_0x4d12be(0xb5),'description':'Maximum\x20search\x20hits','hidden':!![]},{'name':a221_0x4d12be(0x10d),'meowKey':a221_0x4d12be(0x10d),'type':'boolean','description':'Clear','hidden':!![]},{'name':'watch','meowKey':a221_0x4d12be(0xdd),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xe1),'hidden':!![]},{'name':'output','meowKey':a221_0x4d12be(0xbf),'type':'string','description':a221_0x4d12be(0xfd),'hidden':!![]},{'name':a221_0x4d12be(0x8d),'meowKey':a221_0x4d12be(0x8d),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xcc),'hidden':!![]},{'name':a221_0x4d12be(0xe4),'meowKey':a221_0x4d12be(0xe4),'type':'string','description':a221_0x4d12be(0xfb),'hidden':!![]},{'name':'all','meowKey':a221_0x4d12be(0xff),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xfa),'hidden':!![]},{'name':a221_0x4d12be(0xd2),'meowKey':a221_0x4d12be(0xaf),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xaa),'hidden':!![]},{'name':'id','meowKey':'id','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xd6),'hidden':!![]},{'name':a221_0x4d12be(0xbd),'meowKey':a221_0x4d12be(0xbd),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xf9),'hidden':!![]},{'name':a221_0x4d12be(0xf0),'meowKey':a221_0x4d12be(0xf0),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xe6),'hidden':!![]},{'name':a221_0x4d12be(0x84),'meowKey':a221_0x4d12be(0x84),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xd3),'hidden':!![]},{'name':a221_0x4d12be(0x10a),'meowKey':a221_0x4d12be(0x90),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xcd),'hidden':!![]},{'name':a221_0x4d12be(0xb6),'meowKey':a221_0x4d12be(0xb6),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xcd),'hidden':!![]},{'name':'db-id','meowKey':'dbId','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x8a),'hidden':!![]},{'name':a221_0x4d12be(0xd1),'meowKey':a221_0x4d12be(0xd1),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x8a),'hidden':!![]},{'name':a221_0x4d12be(0x93),'meowKey':a221_0x4d12be(0x93),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x7f),'hidden':!![]},{'name':a221_0x4d12be(0xca),'meowKey':'descriptionFile','type':'string','description':'Description\x20file','hidden':!![]},{'name':a221_0x4d12be(0xb0),'meowKey':a221_0x4d12be(0xb0),'type':'string','description':a221_0x4d12be(0x109),'hidden':!![]},{'name':a221_0x4d12be(0xc2),'meowKey':a221_0x4d12be(0xc2),'type':a221_0x4d12be(0xb5),'description':'Page\x20size','hidden':!![]},{'name':a221_0x4d12be(0xc1),'meowKey':a221_0x4d12be(0xc1),'type':'string','description':'Keyword\x20filter','hidden':!![]},{'name':a221_0x4d12be(0xf3),'meowKey':a221_0x4d12be(0xf3),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xab),'hidden':!![]},{'name':a221_0x4d12be(0xee),'meowKey':'sql','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x83),'hidden':!![]},{'name':a221_0x4d12be(0x91),'meowKey':a221_0x4d12be(0x91),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x9d),'hidden':!![]},{'name':a221_0x4d12be(0x97),'meowKey':a221_0x4d12be(0x97),'type':'string','description':a221_0x4d12be(0xba),'hidden':!![]},{'name':a221_0x4d12be(0xf8),'meowKey':a221_0x4d12be(0xf8),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xbe),'hidden':!![]},{'name':a221_0x4d12be(0x106),'meowKey':a221_0x4d12be(0xc9),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xa5),'hidden':!![]},{'name':a221_0x4d12be(0xdb),'meowKey':a221_0x4d12be(0xdb),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xe3),'hidden':!![]},{'name':a221_0x4d12be(0xc4),'meowKey':a221_0x4d12be(0xc4),'type':a221_0x4d12be(0xb5),'description':'Config\x20value','hidden':!![]},{'name':a221_0x4d12be(0xbb),'meowKey':a221_0x4d12be(0xbb),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x85),'hidden':!![]},{'name':a221_0x4d12be(0xea),'meowKey':'stdin','type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xa4),'hidden':!![]},{'name':'from-env','meowKey':'fromEnv','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xdf),'hidden':!![]},{'name':a221_0x4d12be(0xf5),'meowKey':a221_0x4d12be(0xf5),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xa7),'hidden':!![]},{'name':a221_0x4d12be(0x99),'meowKey':a221_0x4d12be(0x99),'type':'boolean','description':a221_0x4d12be(0xc5),'hidden':!![]},{'name':'confirm','meowKey':a221_0x4d12be(0xd0),'type':'boolean','description':a221_0x4d12be(0x9a),'hidden':!![]},{'name':a221_0x4d12be(0xe2),'meowKey':a221_0x4d12be(0xe2),'type':'boolean','description':a221_0x4d12be(0xa2),'hidden':!![]},{'name':a221_0x4d12be(0xf7),'meowKey':a221_0x4d12be(0xf7),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xf4),'hidden':!![]},{'name':'expected-count','meowKey':'expectedCount','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x95),'hidden':!![]},{'name':a221_0x4d12be(0x102),'meowKey':'label','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xae),'hidden':!![]},{'name':a221_0x4d12be(0x81),'meowKey':'parentId','type':'string','description':a221_0x4d12be(0x107),'hidden':!![]},{'name':a221_0x4d12be(0x8c),'meowKey':'sort','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xc3),'hidden':!![]},{'name':a221_0x4d12be(0xe8),'meowKey':a221_0x4d12be(0x92),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x103),'hidden':!![]},{'name':a221_0x4d12be(0x98),'meowKey':'expectPath','type':'string','description':a221_0x4d12be(0xb8),'hidden':!![]},{'name':a221_0x4d12be(0x80),'meowKey':a221_0x4d12be(0xed),'type':'string','description':a221_0x4d12be(0xd9),'hidden':!![]},{'name':a221_0x4d12be(0xda),'meowKey':a221_0x4d12be(0xeb),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xec),'hidden':!![]},{'name':'task-id','meowKey':a221_0x4d12be(0xb4),'type':a221_0x4d12be(0xb5),'description':'Asynchronous\x20task\x20ID','hidden':!![]},{'name':a221_0x4d12be(0x89),'meowKey':a221_0x4d12be(0x100),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xba),'hidden':!![]},{'name':a221_0x4d12be(0xc7),'meowKey':a221_0x4d12be(0x10b),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xf6),'hidden':!![]},{'name':a221_0x4d12be(0xb7),'meowKey':'codes','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x10c),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a221_0x4d12be(0x82),a221_0x4d12be(0x110),a221_0x4d12be(0x94),a221_0x4d12be(0xf1),'jq','dry-run','yes',a221_0x4d12be(0xfc),'ci']);export function buildMeowFlags(){const _0x2d396d=a221_0x4d12be;return Object['fromEntries'](GLOBAL_FLAGS[_0x2d396d(0xc0)](_0x4eb211=>[_0x4eb211[_0x2d396d(0x96)],{'type':_0x4eb211[_0x2d396d(0xbd)]}]));}
1
+ const a234_0x2dc487=a234_0x5250;(function(_0xad397a,_0x11ae7f){const _0x4a0870=a234_0x5250,_0x353d11=_0xad397a();while(!![]){try{const _0x33af9e=parseInt(_0x4a0870(0xbf))/0x1*(parseInt(_0x4a0870(0x95))/0x2)+-parseInt(_0x4a0870(0x80))/0x3*(-parseInt(_0x4a0870(0x8e))/0x4)+-parseInt(_0x4a0870(0x79))/0x5*(parseInt(_0x4a0870(0xd0))/0x6)+-parseInt(_0x4a0870(0x77))/0x7*(-parseInt(_0x4a0870(0xad))/0x8)+parseInt(_0x4a0870(0xb7))/0x9*(parseInt(_0x4a0870(0x98))/0xa)+-parseInt(_0x4a0870(0xda))/0xb*(parseInt(_0x4a0870(0x7a))/0xc)+parseInt(_0x4a0870(0xd8))/0xd;if(_0x33af9e===_0x11ae7f)break;else _0x353d11['push'](_0x353d11['shift']());}catch(_0x5570e5){_0x353d11['push'](_0x353d11['shift']());}}}(a234_0x22ea,0xbbf8c));export const CLI_BIN_NAME=a234_0x2dc487(0xc1);export const CLI_DISPLAY_NAME=a234_0x2dc487(0x76);export const NPM_PACKAGE_NAME='@lovrabet/rabetbase-cli';export const GLOBAL_FLAGS=[{'name':a234_0x2dc487(0xd1),'meowKey':a234_0x2dc487(0xd1),'type':a234_0x2dc487(0x90),'description':'Override\x20appcode','hint':a234_0x2dc487(0xb2)},{'name':a234_0x2dc487(0xa8),'meowKey':a234_0x2dc487(0xa8),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xde),'hint':a234_0x2dc487(0xc3)},{'name':a234_0x2dc487(0xe3),'meowKey':a234_0x2dc487(0xe3),'type':'string','description':'Environment','hint':'production\x20|\x20daily'},{'name':a234_0x2dc487(0x6e),'meowKey':a234_0x2dc487(0x6e),'type':a234_0x2dc487(0x90),'description':'Output\x20format','hint':a234_0x2dc487(0x8d)},{'name':'jq','meowKey':'jq','type':'string','description':a234_0x2dc487(0x9b),'hint':'<expr>'},{'name':a234_0x2dc487(0xd9),'meowKey':'dryRun','type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0xc8)},{'name':a234_0x2dc487(0xea),'meowKey':a234_0x2dc487(0xea),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0xba)},{'name':a234_0x2dc487(0x83),'meowKey':a234_0x2dc487(0xa3),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0x97)},{'name':'global','meowKey':'global','type':'boolean','description':'Use\x20global\x20config\x20scope'},{'name':a234_0x2dc487(0xc7),'meowKey':a234_0x2dc487(0xc7),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0xa1)},{'name':'ci','meowKey':'ci','type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0x9e),'hidden':!![]},{'name':a234_0x2dc487(0xcb),'meowKey':a234_0x2dc487(0xcb),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0x96)},{'name':a234_0x2dc487(0x88),'meowKey':a234_0x2dc487(0x88),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x70),'hidden':!![],'hint':a234_0x2dc487(0x7f)},{'name':a234_0x2dc487(0x7b),'meowKey':'name','type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x8f),'hidden':!![]},{'name':'title','meowKey':a234_0x2dc487(0xc9),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xee),'hidden':!![]},{'name':a234_0x2dc487(0xb0),'meowKey':a234_0x2dc487(0xb0),'type':a234_0x2dc487(0x90),'description':'Search\x20query','hidden':!![]},{'name':'topk','meowKey':a234_0x2dc487(0xbc),'type':'string','description':a234_0x2dc487(0xb4),'hidden':!![]},{'name':a234_0x2dc487(0xce),'meowKey':a234_0x2dc487(0xce),'type':a234_0x2dc487(0xdb),'description':'Clear','hidden':!![]},{'name':'watch','meowKey':a234_0x2dc487(0x9a),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0xf0),'hidden':!![]},{'name':a234_0x2dc487(0x6f),'meowKey':a234_0x2dc487(0x6f),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x7c),'hidden':!![]},{'name':'params','meowKey':a234_0x2dc487(0x91),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xd4),'hidden':!![]},{'name':'datasetcode','meowKey':a234_0x2dc487(0x84),'type':a234_0x2dc487(0x90),'description':'Dataset\x20code','hidden':!![]},{'name':a234_0x2dc487(0x8b),'meowKey':a234_0x2dc487(0x8b),'type':a234_0x2dc487(0xdb),'description':'Apply\x20to\x20all','hidden':!![]},{'name':a234_0x2dc487(0xd7),'meowKey':a234_0x2dc487(0xab),'type':'boolean','description':a234_0x2dc487(0xcd),'hidden':!![]},{'name':'id','meowKey':'id','type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xe4),'hidden':!![]},{'name':'type','meowKey':a234_0x2dc487(0x85),'type':a234_0x2dc487(0x90),'description':'Type\x20filter','hidden':!![]},{'name':a234_0x2dc487(0xdc),'meowKey':a234_0x2dc487(0xdc),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xe9),'hidden':!![]},{'name':a234_0x2dc487(0xa0),'meowKey':a234_0x2dc487(0xa0),'type':a234_0x2dc487(0x90),'description':'SQL\x20code','hidden':!![]},{'name':a234_0x2dc487(0xca),'meowKey':'sqlName','type':'string','description':a234_0x2dc487(0xa7),'hidden':!![]},{'name':a234_0x2dc487(0x72),'meowKey':a234_0x2dc487(0x72),'type':a234_0x2dc487(0x90),'description':'SQL\x20name','hidden':!![]},{'name':a234_0x2dc487(0xeb),'meowKey':a234_0x2dc487(0xc6),'type':a234_0x2dc487(0x90),'description':'DB\x20ID','hidden':!![]},{'name':a234_0x2dc487(0xe0),'meowKey':a234_0x2dc487(0xe0),'type':a234_0x2dc487(0x90),'description':'DB\x20ID','hidden':!![]},{'name':a234_0x2dc487(0xa9),'meowKey':a234_0x2dc487(0xa9),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x93),'hidden':!![]},{'name':a234_0x2dc487(0xdf),'meowKey':a234_0x2dc487(0x81),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xe1),'hidden':!![]},{'name':'page','meowKey':a234_0x2dc487(0xec),'type':'string','description':'Page\x20number','hidden':!![]},{'name':'pagesize','meowKey':'pagesize','type':a234_0x2dc487(0x90),'description':'Page\x20size','hidden':!![]},{'name':'keyword','meowKey':a234_0x2dc487(0xc2),'type':'string','description':a234_0x2dc487(0xa6),'hidden':!![]},{'name':a234_0x2dc487(0xae),'meowKey':a234_0x2dc487(0xae),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x6a),'hidden':!![]},{'name':a234_0x2dc487(0x6b),'meowKey':a234_0x2dc487(0x6b),'type':a234_0x2dc487(0x90),'description':'SQL\x20string','hidden':!![]},{'name':a234_0x2dc487(0x92),'meowKey':a234_0x2dc487(0x92),'type':a234_0x2dc487(0x90),'description':'Schemas','hidden':!![]},{'name':a234_0x2dc487(0x8c),'meowKey':a234_0x2dc487(0x8c),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x89),'hidden':!![]},{'name':'target','meowKey':'target','type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xc0),'hidden':!![]},{'name':a234_0x2dc487(0xef),'meowKey':a234_0x2dc487(0x7e),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0xb3),'hidden':!![]},{'name':a234_0x2dc487(0xaa),'meowKey':a234_0x2dc487(0xaa),'type':'string','description':a234_0x2dc487(0xb5),'hidden':!![]},{'name':a234_0x2dc487(0xd3),'meowKey':a234_0x2dc487(0xd3),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x9d),'hidden':!![]},{'name':a234_0x2dc487(0xa4),'meowKey':a234_0x2dc487(0xa4),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xbe),'hidden':!![]},{'name':a234_0x2dc487(0x8a),'meowKey':a234_0x2dc487(0x8a),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0x7d),'hidden':!![]},{'name':'from-env','meowKey':'fromEnv','type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xc4),'hidden':!![]},{'name':a234_0x2dc487(0x87),'meowKey':a234_0x2dc487(0x87),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0x9c),'hidden':!![]},{'name':a234_0x2dc487(0xd6),'meowKey':a234_0x2dc487(0xd6),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0xe6),'hidden':!![]},{'name':a234_0x2dc487(0x6c),'meowKey':a234_0x2dc487(0x6c),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0xc5),'hidden':!![]},{'name':a234_0x2dc487(0x6d),'meowKey':a234_0x2dc487(0x6d),'type':'boolean','description':a234_0x2dc487(0x73),'hidden':!![]},{'name':a234_0x2dc487(0xb6),'meowKey':a234_0x2dc487(0xb6),'type':a234_0x2dc487(0xdb),'description':a234_0x2dc487(0xe8),'hidden':!![]},{'name':'expected-count','meowKey':a234_0x2dc487(0xed),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xa2),'hidden':!![]},{'name':a234_0x2dc487(0xb9),'meowKey':a234_0x2dc487(0xb9),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x86),'hidden':!![]},{'name':'parent-id','meowKey':a234_0x2dc487(0x78),'type':a234_0x2dc487(0x90),'description':'Parent\x20menu\x20id','hidden':!![]},{'name':a234_0x2dc487(0xb1),'meowKey':a234_0x2dc487(0xb1),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xaf),'hidden':!![]},{'name':a234_0x2dc487(0xe2),'meowKey':a234_0x2dc487(0xa5),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x75),'hidden':!![]},{'name':a234_0x2dc487(0xdd),'meowKey':'expectPath','type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xbb),'hidden':!![]},{'name':'expected-children-count','meowKey':a234_0x2dc487(0xac),'type':a234_0x2dc487(0x90),'description':'Expected\x20current\x20child\x20count','hidden':!![]},{'name':a234_0x2dc487(0xcf),'meowKey':a234_0x2dc487(0xd2),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x99),'hidden':!![]},{'name':a234_0x2dc487(0xbd),'meowKey':a234_0x2dc487(0xcc),'type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xb8),'hidden':!![]},{'name':a234_0x2dc487(0x74),'meowKey':'operationType','type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0x89),'hidden':!![]},{'name':a234_0x2dc487(0x9f),'meowKey':'functionNode','type':'string','description':a234_0x2dc487(0x71),'hidden':!![]},{'name':a234_0x2dc487(0x82),'meowKey':'codes','type':a234_0x2dc487(0x90),'description':a234_0x2dc487(0xd5),'hidden':!![]}];function a234_0x5250(_0x483387,_0x27b3dd){_0x483387=_0x483387-0x6a;const _0x22ea5f=a234_0x22ea();let _0x5250a5=_0x22ea5f[_0x483387];return _0x5250a5;}export const PIPELINE_FLAG_NAMES=new Set([a234_0x2dc487(0xd1),a234_0x2dc487(0xa8),a234_0x2dc487(0xe3),a234_0x2dc487(0x6e),'jq',a234_0x2dc487(0xd9),a234_0x2dc487(0xea),a234_0x2dc487(0x83),'ci']);function a234_0x22ea(){const _0x3743dd=['enableBffSave','expectedChildrenCount','33568gGjNho','code','Menu\x20sort\x20value','query','sort','<code>','Skip\x20import\x20generation','Maximum\x20search\x20hits','Config\x20key','verbose','675639SScakZ','Asynchronous\x20task\x20ID','label','Skip\x20confirmation\x20for\x20high-risk\x20writes','Expected\x20current\x20menu\x20path','topk','task-id','Tags','1KqqIxS','Target\x20path','rabetbase','keyword','<name>','Read\x20value\x20from\x20environment\x20variable','Confirm\x20destructive\x20action','dbId','project','Preview\x20operation\x20without\x20executing','title','sql-name','help','taskId','Enable\x20Backend\x20Function\x20save','clear','menu-ids','7689804lNUhlz','appcode','menuIds','value','JSON\x20params','Comma-separated\x20metadata\x20codes','force','enable-bff-save','27773616jnjFSS','dry-run','118008OFblWS','boolean','file','expect-path','Select\x20app\x20profile\x20by\x20name','description-file','dbid','Description\x20file','expect-parent-id','env','Record\x20ID','map','Force\x20overwrite','meowKey','Verbose\x20output','File\x20path','yes','db-id','page','expectedCount','Title','skip-imports','Watch\x20mode','Code\x20filter','sql','confirm','remote','format','output','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','Function\x20node','sqlname','Use\x20remote','operation-type','Expected\x20current\x20parent\x20menu\x20id','Rabetbase\x20CLI','1253xzbNGr','parentId','5dbfONs','1428wuyshV','name','Output\x20path','Read\x20value\x20from\x20stdin','skipImports','zh-CN\x20|\x20en-US','105NXWbNZ','descriptionFile','codes','non-interactive','datasetcode','type','Menu\x20label','reveal','locale','Operation\x20type','stdin','all','operation','json\x20|\x20pretty\x20|\x20compress','8780elZfHK','Name','string','params','schemas','Description','fromEntries','127146DAKBJw','Show\x20help','Force\x20non-interactive\x20mode\x20(CI)','40MBkNnU','Comma-separated\x20menu\x20IDs','watch','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','Reveal\x20sensitive\x20value','Config\x20value','Alias\x20for\x20--non-interactive','function-node','sqlcode','Use\x20project\x20config\x20scope','Expected\x20affected\x20count','nonInteractive','tags','expectParentId','Keyword\x20filter','SQL\x20name','app','description','key'];a234_0x22ea=function(){return _0x3743dd;};return a234_0x22ea();}export function buildMeowFlags(){const _0x460d1f=a234_0x2dc487;return Object[_0x460d1f(0x94)](GLOBAL_FLAGS[_0x460d1f(0xe5)](_0x26f8aa=>[_0x26f8aa[_0x460d1f(0xe7)],{'type':_0x26f8aa[_0x460d1f(0x85)]}]));}
@@ -1 +1 @@
1
- function a222_0x58f4(_0x1a1114,_0x294e78){_0x1a1114=_0x1a1114-0x95;const _0x1d6255=a222_0x1d62();let _0x58f4de=_0x1d6255[_0x1a1114];return _0x58f4de;}const a222_0x43bb4f=a222_0x58f4;(function(_0x165029,_0x27638f){const _0x25d1e3=a222_0x58f4,_0x4602d1=_0x165029();while(!![]){try{const _0x12d4e9=-parseInt(_0x25d1e3(0x9b))/0x1*(parseInt(_0x25d1e3(0x95))/0x2)+parseInt(_0x25d1e3(0x9d))/0x3+parseInt(_0x25d1e3(0x9a))/0x4*(-parseInt(_0x25d1e3(0x96))/0x5)+-parseInt(_0x25d1e3(0xa0))/0x6+parseInt(_0x25d1e3(0x99))/0x7*(parseInt(_0x25d1e3(0x9e))/0x8)+-parseInt(_0x25d1e3(0x9c))/0x9+parseInt(_0x25d1e3(0xa2))/0xa*(parseInt(_0x25d1e3(0x9f))/0xb);if(_0x12d4e9===_0x27638f)break;else _0x4602d1['push'](_0x4602d1['shift']());}catch(_0x7555d7){_0x4602d1['push'](_0x4602d1['shift']());}}}(a222_0x1d62,0x3a274));import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a222_0x43bb4f(0x98),'format':a222_0x43bb4f(0xa1),'locale':'en-US','riskLevel':a222_0x43bb4f(0x97),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a222_0x43bb4f(0xa1);function a222_0x1d62(){const _0x5e94e9=['1441413JpxxHH','747921pTJwfv','3411512xWOuBs','115709tOUGjL','2164272RfBvgk','compress','740tqKBFJ','2KxUEhV','25WDlKWt','write','production','7emiIQV','289436Cdfazy','333292ekRfaW'];a222_0x1d62=function(){return _0x5e94e9;};return a222_0x1d62();}
1
+ const a235_0x44fbe2=a235_0x541f;function a235_0x1133(){const _0x248a9c=['compress','936740pHKzJW','234VRRtPX','6gUyURt','4ASSWTu','7516aPRzKD','977256PkVLlI','1403157bjLkur','4618FURmtg','108565ZesmBp','production','write','en-US','1285760TOwgTt'];a235_0x1133=function(){return _0x248a9c;};return a235_0x1133();}(function(_0x4827d7,_0xf8fc62){const _0xad3720=a235_0x541f,_0x28e4c6=_0x4827d7();while(!![]){try{const _0x783f0=parseInt(_0xad3720(0x86))/0x1+-parseInt(_0xad3720(0x89))/0x2*(-parseInt(_0xad3720(0x83))/0x3)+parseInt(_0xad3720(0x85))/0x4*(parseInt(_0xad3720(0x8a))/0x5)+-parseInt(_0xad3720(0x84))/0x6*(parseInt(_0xad3720(0x88))/0x7)+parseInt(_0xad3720(0x80))/0x8+parseInt(_0xad3720(0x87))/0x9+-parseInt(_0xad3720(0x82))/0xa;if(_0x783f0===_0xf8fc62)break;else _0x28e4c6['push'](_0x28e4c6['shift']());}catch(_0x3ed2bf){_0x28e4c6['push'](_0x28e4c6['shift']());}}}(a235_0x1133,0x2d0be));import{DEFAULT_API_DIR}from'../constant/paths.js';function a235_0x541f(_0x1a1075,_0x392577){_0x1a1075=_0x1a1075-0x80;const _0x113361=a235_0x1133();let _0x541f8b=_0x113361[_0x1a1075];return _0x541f8b;}export const DEFAULT_CONFIG_VALUES={'env':a235_0x44fbe2(0x8b),'format':a235_0x44fbe2(0x81),'locale':a235_0x44fbe2(0x8d),'riskLevel':a235_0x44fbe2(0x8c),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a235_0x44fbe2(0x81);
@@ -1 +1 @@
1
- const a223_0x3a83ec=a223_0x4969;(function(_0x550b40,_0x12e460){const _0x2d3ae9=a223_0x4969,_0x3f83a3=_0x550b40();while(!![]){try{const _0x3f1088=parseInt(_0x2d3ae9(0xed))/0x1+-parseInt(_0x2d3ae9(0xf6))/0x2*(parseInt(_0x2d3ae9(0xfa))/0x3)+-parseInt(_0x2d3ae9(0xf8))/0x4+parseInt(_0x2d3ae9(0xe9))/0x5*(-parseInt(_0x2d3ae9(0xf9))/0x6)+-parseInt(_0x2d3ae9(0xf4))/0x7+parseInt(_0x2d3ae9(0xfd))/0x8+-parseInt(_0x2d3ae9(0xe2))/0x9*(-parseInt(_0x2d3ae9(0xef))/0xa);if(_0x3f1088===_0x12e460)break;else _0x3f83a3['push'](_0x3f83a3['shift']());}catch(_0x4538ab){_0x3f83a3['push'](_0x3f83a3['shift']());}}}(a223_0x1a9a,0x71047));import{getEnv,isProduction}from'../constant/env.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';import{getOfficialRoutingCdn,getOfficialRoutingProfile}from'../constant/routing-profile.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbDomain,customAppDomain,customLocalDomain,customCertificateDomain,customCdn,activeRegion=DEFAULT_LOVRABET_REGION;function getActiveRegionDomains(){const _0x355883=a223_0x4969,_0xd5eaad=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0xd5eaad[_0x355883(0xe3)][_0x355883(0xfc)]:_0xd5eaad['serviceDomains'][_0x355883(0xf7)]??_0xd5eaad[_0x355883(0xe3)][_0x355883(0xfc)];}export function initDomains(_0x5c289e){const _0x2876ac=a223_0x4969;customApiDomain=_0x5c289e?.['apiDomain'],customUserDomain=_0x5c289e?.['userDomain'],customRuntimeDomain=_0x5c289e?.[_0x2876ac(0xec)],customSkillDomain=_0x5c289e?.[_0x2876ac(0xe7)],customKbDomain=_0x5c289e?.['kbDomain'],customAppDomain=_0x5c289e?.[_0x2876ac(0xf5)],customLocalDomain=_0x5c289e?.[_0x2876ac(0xf0)],customCertificateDomain=_0x5c289e?.[_0x2876ac(0xe6)],customCdn=_0x5c289e?.[_0x2876ac(0xeb)],activeRegion=_0x5c289e?.[_0x2876ac(0xe5)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a223_0x3a83ec(0xfb)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a223_0x3a83ec(0xea)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a223_0x3a83ec(0xf2)];function a223_0x4969(_0x3bc661,_0x4de8e7){_0x3bc661=_0x3bc661-0xe2;const _0x1a9abc=a223_0x1a9a();let _0x496926=_0x1a9abc[_0x3bc661];return _0x496926;}export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()['skill'];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a223_0x3a83ec(0xf3)];export const getActiveRegion=()=>activeRegion;export const getLocalDomain=()=>customLocalDomain;export const getCertificateDomain=()=>customCertificateDomain;export const getActiveCdn=()=>customCdn||getOfficialRoutingCdn(activeRegion);export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customAppDomain||customLocalDomain||customCertificateDomain);}export function getSdkClientRoutingConfig(){const _0x51f79a=a223_0x3a83ec;if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()[_0x51f79a(0xf2)])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}function a223_0x1a9a(){const _0xfb218b=['632795LQvTwk','/app/','8134310gMQhzC','localDomain','/web-app/app/','runtime','app','5473188fEvItp','appDomain','22948tWCaUT','daily','3584320kjWEyn','172338SbwTxw','15tiTwgw','user','production','1576824UEmOTv','18TcmGRl','serviceDomains','hostname','region','certificateDomain','skillDomain','trim','45IUROwx','api','cdn','runtimeDomain'];a223_0x1a9a=function(){return _0xfb218b;};return a223_0x1a9a();}export const getAppBaseUrl=_0x28f46d=>{const _0xaa56a6=a223_0x3a83ec,_0x224965=encodeURIComponent(_0x28f46d[_0xaa56a6(0xe8)]());return isProduction(getEnv())?getAppDomain()+_0xaa56a6(0xee)+_0x224965:getAppDomain()+_0xaa56a6(0xf1)+_0x224965;};export const getPublishedAppDomain=_0x4f231f=>{const _0x57380f=a223_0x3a83ec,_0x4ceda6=new URL(getAppDomain());return _0x4ceda6[_0x57380f(0xe4)]=_0x4f231f[_0x57380f(0xe8)]()+'.'+_0x4ceda6[_0x57380f(0xe4)],_0x4ceda6['origin'];};
1
+ const a236_0x18b012=a236_0xd035;(function(_0x410c5b,_0x23267a){const _0x1f11cd=a236_0xd035,_0x431353=_0x410c5b();while(!![]){try{const _0x59c83b=parseInt(_0x1f11cd(0x1c2))/0x1+parseInt(_0x1f11cd(0x1aa))/0x2*(-parseInt(_0x1f11cd(0x1ad))/0x3)+parseInt(_0x1f11cd(0x1be))/0x4+-parseInt(_0x1f11cd(0x1b3))/0x5+-parseInt(_0x1f11cd(0x1b0))/0x6*(parseInt(_0x1f11cd(0x1bb))/0x7)+-parseInt(_0x1f11cd(0x1bd))/0x8*(-parseInt(_0x1f11cd(0x1ac))/0x9)+parseInt(_0x1f11cd(0x1a9))/0xa;if(_0x59c83b===_0x23267a)break;else _0x431353['push'](_0x431353['shift']());}catch(_0xeb65eb){_0x431353['push'](_0x431353['shift']());}}}(a236_0x10bb,0x324a7));import{getEnv,isProduction}from'../constant/env.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';import{getOfficialRoutingCdn,getOfficialRoutingProfile}from'../constant/routing-profile.js';function a236_0xd035(_0xcd9312,_0x302ea0){_0xcd9312=_0xcd9312-0x1a9;const _0x10bbba=a236_0x10bb();let _0xd03547=_0x10bbba[_0xcd9312];return _0xd03547;}let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbDomain,customAppDomain,customLocalDomain,customCertificateDomain,customCdn,activeRegion=DEFAULT_LOVRABET_REGION;function a236_0x10bb(){const _0x1b40ca=['user','126PVkUGf','3bwqlMh','hostname','apiDomain','390DDASNy','runtime','/web-app/app/','108355rVHdQI','serviceDomains','trim','app','userDomain','skillDomain','appDomain','production','42203HAwudm','skill','28448MypBea','205516jvRqLw','localDomain','certificateDomain','api','348252HqJeOU','kbDomain','3573930KLgIaf','374522cmLxfz'];a236_0x10bb=function(){return _0x1b40ca;};return a236_0x10bb();}function getActiveRegionDomains(){const _0x41cc9f=a236_0xd035,_0x12f251=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x12f251[_0x41cc9f(0x1b4)][_0x41cc9f(0x1ba)]:_0x12f251[_0x41cc9f(0x1b4)]['daily']??_0x12f251['serviceDomains'][_0x41cc9f(0x1ba)];}export function initDomains(_0x1b5ce5){const _0x5bb006=a236_0xd035;customApiDomain=_0x1b5ce5?.[_0x5bb006(0x1af)],customUserDomain=_0x1b5ce5?.[_0x5bb006(0x1b7)],customRuntimeDomain=_0x1b5ce5?.['runtimeDomain'],customSkillDomain=_0x1b5ce5?.[_0x5bb006(0x1b8)],customKbDomain=_0x1b5ce5?.[_0x5bb006(0x1c3)],customAppDomain=_0x1b5ce5?.[_0x5bb006(0x1b9)],customLocalDomain=_0x1b5ce5?.[_0x5bb006(0x1bf)],customCertificateDomain=_0x1b5ce5?.[_0x5bb006(0x1c0)],customCdn=_0x1b5ce5?.['cdn'],activeRegion=_0x1b5ce5?.['region']??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a236_0x18b012(0x1ab)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a236_0x18b012(0x1c1)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a236_0x18b012(0x1b1)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a236_0x18b012(0x1bc)];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a236_0x18b012(0x1b6)];export const getActiveRegion=()=>activeRegion;export const getLocalDomain=()=>customLocalDomain;export const getCertificateDomain=()=>customCertificateDomain;export const getActiveCdn=()=>customCdn||getOfficialRoutingCdn(activeRegion);export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customAppDomain||customLocalDomain||customCertificateDomain);}export function getSdkClientRoutingConfig(){if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()['runtime'])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x3e7759=>{const _0x3fd684=a236_0x18b012,_0x413acb=encodeURIComponent(_0x3e7759[_0x3fd684(0x1b5)]());return isProduction(getEnv())?getAppDomain()+'/app/'+_0x413acb:getAppDomain()+_0x3fd684(0x1b2)+_0x413acb;};export const getPublishedAppDomain=_0x1ce96d=>{const _0x44e4ff=a236_0x18b012,_0xb2ca81=new URL(getAppDomain());return _0xb2ca81['hostname']=_0x1ce96d['trim']()+'.'+_0xb2ca81[_0x44e4ff(0x1ae)],_0xb2ca81['origin'];};
@@ -1 +1 @@
1
- const a224_0x468699=a224_0xfb1a;(function(_0x70e826,_0x226ded){const _0x2d910b=a224_0xfb1a,_0x54fc8a=_0x70e826();while(!![]){try{const _0x419869=-parseInt(_0x2d910b(0x1ca))/0x1*(-parseInt(_0x2d910b(0x1c6))/0x2)+-parseInt(_0x2d910b(0x1c7))/0x3+-parseInt(_0x2d910b(0x1c2))/0x4+parseInt(_0x2d910b(0x1cd))/0x5+-parseInt(_0x2d910b(0x1c8))/0x6+-parseInt(_0x2d910b(0x1c3))/0x7*(parseInt(_0x2d910b(0x1c4))/0x8)+parseInt(_0x2d910b(0x1cc))/0x9;if(_0x419869===_0x226ded)break;else _0x54fc8a['push'](_0x54fc8a['shift']());}catch(_0x580c82){_0x54fc8a['push'](_0x54fc8a['shift']());}}}(a224_0x18ad,0xb1620));export const RABETBASE_ENV_VALUES=['production',a224_0x468699(0x1ce)];export function normalizeEnv(_0x3fbe08){const _0x10a514=a224_0x468699;return _0x3fbe08===_0x10a514(0x1cb)?_0x10a514(0x1c5):_0x3fbe08;}export function isProduction(_0x5e832e){const _0x455632=a224_0x468699;return normalizeEnv(_0x5e832e)===_0x455632(0x1c5);}export function isDaily(_0x5102bf){const _0x5a09f6=a224_0x468699;return normalizeEnv(_0x5102bf)===_0x5a09f6(0x1ce);}export function isDev(_0x82bca9){const _0x3ec47f=a224_0x468699,_0x53e113=normalizeEnv(_0x82bca9);return _0x53e113===_0x3ec47f(0x1c9)||_0x53e113==='dev';}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||'production');export function getEnv(){return env;}function a224_0x18ad(){const _0x397247=['2176722yjRGNu','4092516NaheVx','development','4213XWzxRT','online','24331041YkWQJv','303850hCKPlD','daily','4537668TYlMLe','707BKvCrs','5096zABHIo','production','270NmWJkz'];a224_0x18ad=function(){return _0x397247;};return a224_0x18ad();}function a224_0xfb1a(_0x5040b5,_0xe5a366){_0x5040b5=_0x5040b5-0x1c2;const _0x18adc1=a224_0x18ad();let _0xfb1a3c=_0x18adc1[_0x5040b5];return _0xfb1a3c;}export function initEnv(_0x2b5298){env=normalizeEnv(_0x2b5298);}
1
+ const a237_0x2df85f=a237_0x30f6;(function(_0xd8be3d,_0x59bc6a){const _0x24b4d9=a237_0x30f6,_0x329a09=_0xd8be3d();while(!![]){try{const _0x5d2b8c=-parseInt(_0x24b4d9(0x1c9))/0x1+-parseInt(_0x24b4d9(0x1ca))/0x2*(parseInt(_0x24b4d9(0x1be))/0x3)+parseInt(_0x24b4d9(0x1c6))/0x4*(-parseInt(_0x24b4d9(0x1bf))/0x5)+parseInt(_0x24b4d9(0x1c1))/0x6*(-parseInt(_0x24b4d9(0x1c8))/0x7)+-parseInt(_0x24b4d9(0x1bd))/0x8+-parseInt(_0x24b4d9(0x1c3))/0x9+parseInt(_0x24b4d9(0x1c0))/0xa;if(_0x5d2b8c===_0x59bc6a)break;else _0x329a09['push'](_0x329a09['shift']());}catch(_0x56de48){_0x329a09['push'](_0x329a09['shift']());}}}(a237_0x4d56,0xa0e0f));export const RABETBASE_ENV_VALUES=['production',a237_0x2df85f(0x1c7)];export function normalizeEnv(_0x1c389a){const _0x9adc16=a237_0x2df85f;return _0x1c389a==='online'?_0x9adc16(0x1c5):_0x1c389a;}export function isProduction(_0x40881b){return normalizeEnv(_0x40881b)==='production';}function a237_0x30f6(_0x364a20,_0x3d3695){_0x364a20=_0x364a20-0x1bd;const _0x4d56d1=a237_0x4d56();let _0x30f644=_0x4d56d1[_0x364a20];return _0x30f644;}export function isDaily(_0x19d5b3){const _0x5a97fa=a237_0x2df85f;return normalizeEnv(_0x19d5b3)===_0x5a97fa(0x1c7);}export function isDev(_0x58d5c9){const _0x20e2c5=a237_0x2df85f,_0xd08950=normalizeEnv(_0x58d5c9);return _0xd08950===_0x20e2c5(0x1c4)||_0xd08950===_0x20e2c5(0x1c2);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a237_0x2df85f(0x1c5));export function getEnv(){return env;}export function initEnv(_0x42cf59){env=normalizeEnv(_0x42cf59);}function a237_0x4d56(){const _0x21296c=['145lVoOpM','42903160ADpApX','1194qjsGpS','dev','3840426aypoXE','development','production','115660vBODBJ','daily','22813IWeNea','214766zodVnF','6284DZACyj','8855272DqtLZZ','378yglFdA'];a237_0x4d56=function(){return _0x21296c;};return a237_0x4d56();}
@@ -1 +1 @@
1
- const a225_0x172e43=a225_0x4732;(function(_0x52552d,_0x64d41c){const _0x42b124=a225_0x4732,_0x3c0601=_0x52552d();while(!![]){try{const _0x3573f9=parseInt(_0x42b124(0xf6))/0x1*(-parseInt(_0x42b124(0xf1))/0x2)+-parseInt(_0x42b124(0xf5))/0x3*(-parseInt(_0x42b124(0xf3))/0x4)+-parseInt(_0x42b124(0xf4))/0x5+parseInt(_0x42b124(0xfc))/0x6*(parseInt(_0x42b124(0xf2))/0x7)+parseInt(_0x42b124(0xf7))/0x8+-parseInt(_0x42b124(0xfb))/0x9*(-parseInt(_0x42b124(0xf0))/0xa)+-parseInt(_0x42b124(0xf8))/0xb;if(_0x3573f9===_0x64d41c)break;else _0x3c0601['push'](_0x3c0601['shift']());}catch(_0x14fdcf){_0x3c0601['push'](_0x3c0601['shift']());}}}(a225_0xf5a5,0x71427));function a225_0x4732(_0x1a0f1b,_0xfc19f1){_0x1a0f1b=_0x1a0f1b-0xef;const _0xf5a5bd=a225_0xf5a5();let _0x473299=_0xf5a5bd[_0x1a0f1b];return _0x473299;}export const RABETBASE_OUTPUT_FORMAT_VALUES=[a225_0x172e43(0xef),a225_0x172e43(0xf9),a225_0x172e43(0xfa)];function a225_0xf5a5(){const _0x103242=['2540724fPPVAu','json','850LzaBrQ','34802FiEUjB','14dEYKYU','297196dOEaFn','588110UBDUaa','33knOMms','40TSpGGH','3890376Qsoqvv','12617506TEEzrr','pretty','compress','29025aOtuPG'];a225_0xf5a5=function(){return _0x103242;};return a225_0xf5a5();}
1
+ const a238_0x700474=a238_0x335e;function a238_0x335e(_0x125d8b,_0x2d6851){_0x125d8b=_0x125d8b-0x1b9;const _0x2cec61=a238_0x2cec();let _0x335efd=_0x2cec61[_0x125d8b];return _0x335efd;}(function(_0x172504,_0x30e5a6){const _0x3842be=a238_0x335e,_0x3cf067=_0x172504();while(!![]){try{const _0x2b41a4=-parseInt(_0x3842be(0x1be))/0x1+-parseInt(_0x3842be(0x1c4))/0x2+-parseInt(_0x3842be(0x1bf))/0x3+parseInt(_0x3842be(0x1c3))/0x4*(-parseInt(_0x3842be(0x1c2))/0x5)+-parseInt(_0x3842be(0x1bc))/0x6*(-parseInt(_0x3842be(0x1bd))/0x7)+parseInt(_0x3842be(0x1c1))/0x8*(parseInt(_0x3842be(0x1c0))/0x9)+-parseInt(_0x3842be(0x1b9))/0xa*(-parseInt(_0x3842be(0x1ba))/0xb);if(_0x2b41a4===_0x30e5a6)break;else _0x3cf067['push'](_0x3cf067['shift']());}catch(_0x27ccf0){_0x3cf067['push'](_0x3cf067['shift']());}}}(a238_0x2cec,0x2e0f7));function a238_0x2cec(){const _0x13beca=['25SdeZnO','139588PTLJGP','406284DdcbsT','10490yAZuCF','4279LablRa','json','582126CQOLlP','21JOMjUo','212727qBZJli','436443knfxJx','18YwhnHv','901496VuqdsY'];a238_0x2cec=function(){return _0x13beca;};return a238_0x2cec();}export const RABETBASE_OUTPUT_FORMAT_VALUES=[a238_0x700474(0x1bb),'pretty','compress'];
@@ -1 +1 @@
1
- function a226_0x1cd9(){const _0xfaa36b=['3gBtSZn','970186QuPcZs','9368776ynIjbt','2546148qrpivD','5382678QmWCRw','3476166nMEdlQ','./src/api','3042780iDzHEH','924142LaqUaa'];a226_0x1cd9=function(){return _0xfaa36b;};return a226_0x1cd9();}function a226_0x69b6(_0x342312,_0x1311b5){_0x342312=_0x342312-0x9d;const _0x1cd9ad=a226_0x1cd9();let _0x69b6bd=_0x1cd9ad[_0x342312];return _0x69b6bd;}const a226_0x3ffed7=a226_0x69b6;(function(_0x4812fc,_0x2facf6){const _0x56ea64=a226_0x69b6,_0x5830b4=_0x4812fc();while(!![]){try{const _0x50f121=parseInt(_0x56ea64(0xa0))/0x1+-parseInt(_0x56ea64(0xa2))/0x2+-parseInt(_0x56ea64(0xa1))/0x3*(parseInt(_0x56ea64(0xa4))/0x4)+parseInt(_0x56ea64(0x9f))/0x5+parseInt(_0x56ea64(0x9d))/0x6+parseInt(_0x56ea64(0xa5))/0x7+-parseInt(_0x56ea64(0xa3))/0x8;if(_0x50f121===_0x2facf6)break;else _0x5830b4['push'](_0x5830b4['shift']());}catch(_0xa3a2f7){_0x5830b4['push'](_0x5830b4['shift']());}}}(a226_0x1cd9,0x8f9fe));export const DEFAULT_API_DIR=a226_0x3ffed7(0x9e);
1
+ const a239_0x230f6f=a239_0x218d;(function(_0x34880e,_0x25f7d8){const _0x55f87d=a239_0x218d,_0x23b19f=_0x34880e();while(!![]){try{const _0x190c31=parseInt(_0x55f87d(0xbd))/0x1+parseInt(_0x55f87d(0xb8))/0x2+-parseInt(_0x55f87d(0xb7))/0x3+parseInt(_0x55f87d(0xba))/0x4+parseInt(_0x55f87d(0xbb))/0x5*(parseInt(_0x55f87d(0xc1))/0x6)+-parseInt(_0x55f87d(0xc0))/0x7*(-parseInt(_0x55f87d(0xbf))/0x8)+parseInt(_0x55f87d(0xb9))/0x9*(-parseInt(_0x55f87d(0xbc))/0xa);if(_0x190c31===_0x25f7d8)break;else _0x23b19f['push'](_0x23b19f['shift']());}catch(_0x2f535a){_0x23b19f['push'](_0x23b19f['shift']());}}}(a239_0x5917,0xb9e40));function a239_0x218d(_0x140bb4,_0x8b7abe){_0x140bb4=_0x140bb4-0xb7;const _0x5917bb=a239_0x5917();let _0x218d83=_0x5917bb[_0x140bb4];return _0x218d83;}function a239_0x5917(){const _0x5a5e6f=['2961466aNpvuW','218664FgRPwN','5311984BbcdBG','380HRSewn','530ULSOTw','174895KzedzP','./src/api','808WKQLPx','8001eeDYgd','17166eoOKSc','3802221JDLGgs'];a239_0x5917=function(){return _0x5a5e6f;};return a239_0x5917();}export const DEFAULT_API_DIR=a239_0x230f6f(0xbe);
@@ -1 +1 @@
1
- function a227_0x4439(){const _0x1db415=['string','36968mdDAOp','1920GESvbz','5886rSEhyL','329002czjZyC','288190pPnyPl','includes','1314568ddWIhq','426054WbWqxG','44289wdEBPi','18zadgUC'];a227_0x4439=function(){return _0x1db415;};return a227_0x4439();}(function(_0x1e2767,_0x2e35d3){const _0x584387=a227_0x285b,_0x31d7d3=_0x1e2767();while(!![]){try{const _0xc47e55=-parseInt(_0x584387(0x192))/0x1+-parseInt(_0x584387(0x18f))/0x2*(parseInt(_0x584387(0x18d))/0x3)+parseInt(_0x584387(0x18a))/0x4+parseInt(_0x584387(0x188))/0x5+parseInt(_0x584387(0x18b))/0x6+-parseInt(_0x584387(0x18c))/0x7+parseInt(_0x584387(0x190))/0x8*(parseInt(_0x584387(0x191))/0x9);if(_0xc47e55===_0x2e35d3)break;else _0x31d7d3['push'](_0x31d7d3['shift']());}catch(_0x361a96){_0x31d7d3['push'](_0x31d7d3['shift']());}}}(a227_0x4439,0x29050));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x524ea){const _0x10cdb9=a227_0x285b;return typeof _0x524ea==='string'&&LOVRABET_REGION_VALUES[_0x10cdb9(0x189)](_0x524ea);}function a227_0x285b(_0x169af3,_0x1e31f5){_0x169af3=_0x169af3-0x188;const _0x443907=a227_0x4439();let _0x285ba7=_0x443907[_0x169af3];return _0x285ba7;}export function isEnabledLovrabetRegion(_0x5ef38c){const _0x1d0073=a227_0x285b;return typeof _0x5ef38c===_0x1d0073(0x18e)&&ENABLED_LOVRABET_REGION_VALUES[_0x1d0073(0x189)](_0x5ef38c);}export function normalizeLovrabetRegion(_0x3271d4){const _0x4d0d87=a227_0x285b;if(typeof _0x3271d4!==_0x4d0d87(0x18e))return undefined;const _0x16386d=REGION_ALIASES[_0x3271d4]??_0x3271d4;return isLovrabetRegion(_0x16386d)?_0x16386d:undefined;}export function isInvalidLovrabetRegion(_0x15981e){return _0x15981e!==undefined&&_0x15981e!==null&&_0x15981e!==''&&normalizeLovrabetRegion(_0x15981e)===undefined;}
1
+ (function(_0x1fe6ce,_0x322108){const _0x164b3c=a240_0x4fd2,_0x56dcd8=_0x1fe6ce();while(!![]){try{const _0x1444a2=parseInt(_0x164b3c(0xd8))/0x1+parseInt(_0x164b3c(0xd3))/0x2*(-parseInt(_0x164b3c(0xd4))/0x3)+-parseInt(_0x164b3c(0xd5))/0x4*(-parseInt(_0x164b3c(0xd1))/0x5)+-parseInt(_0x164b3c(0xd7))/0x6+parseInt(_0x164b3c(0xd6))/0x7+-parseInt(_0x164b3c(0xdc))/0x8+-parseInt(_0x164b3c(0xd2))/0x9*(-parseInt(_0x164b3c(0xdb))/0xa);if(_0x1444a2===_0x322108)break;else _0x56dcd8['push'](_0x56dcd8['shift']());}catch(_0x457ea8){_0x56dcd8['push'](_0x56dcd8['shift']());}}}(a240_0x3be2,0x9decc));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;function a240_0x4fd2(_0x1d236b,_0x726684){_0x1d236b=_0x1d236b-0xd1;const _0x3be2d5=a240_0x3be2();let _0x4fd2d7=_0x3be2d5[_0x1d236b];return _0x4fd2d7;}export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x1cd16a){const _0x5e57dc=a240_0x4fd2;return typeof _0x1cd16a===_0x5e57dc(0xd9)&&LOVRABET_REGION_VALUES[_0x5e57dc(0xda)](_0x1cd16a);}export function isEnabledLovrabetRegion(_0x5e7ef2){const _0x3ee0df=a240_0x4fd2;return typeof _0x5e7ef2==='string'&&ENABLED_LOVRABET_REGION_VALUES[_0x3ee0df(0xda)](_0x5e7ef2);}export function normalizeLovrabetRegion(_0x23e392){const _0x3a0401=a240_0x4fd2;if(typeof _0x23e392!==_0x3a0401(0xd9))return undefined;const _0x4eeaa4=REGION_ALIASES[_0x23e392]??_0x23e392;return isLovrabetRegion(_0x4eeaa4)?_0x4eeaa4:undefined;}export function isInvalidLovrabetRegion(_0x56586e){return _0x56586e!==undefined&&_0x56586e!==null&&_0x56586e!==''&&normalizeLovrabetRegion(_0x56586e)===undefined;}function a240_0x3be2(){const _0x1794d0=['includes','10fTcHpI','8691696sucJzG','970xkfFUb','7389891OsSyvI','169114NuQRvg','30PJOUPh','7768wuCOOq','6538378fLCUIv','3099204dlEIfe','963525UpLDWb','string'];a240_0x3be2=function(){return _0x1794d0;};return a240_0x3be2();}
@@ -1 +1 @@
1
- const a228_0x24c30d=a228_0x10a3;function a228_0x10a3(_0x2c84dd,_0x5b380f){_0x2c84dd=_0x2c84dd-0x193;const _0xb1702=a228_0xb170();let _0x10a315=_0xb1702[_0x2c84dd];return _0x10a315;}(function(_0x169e62,_0x58280e){const _0x519959=a228_0x10a3,_0x403901=_0x169e62();while(!![]){try{const _0x2d5def=parseInt(_0x519959(0x196))/0x1+-parseInt(_0x519959(0x19d))/0x2*(-parseInt(_0x519959(0x19e))/0x3)+parseInt(_0x519959(0x197))/0x4*(-parseInt(_0x519959(0x19b))/0x5)+-parseInt(_0x519959(0x198))/0x6+parseInt(_0x519959(0x194))/0x7*(parseInt(_0x519959(0x19c))/0x8)+parseInt(_0x519959(0x19f))/0x9+-parseInt(_0x519959(0x193))/0xa;if(_0x2d5def===_0x58280e)break;else _0x403901['push'](_0x403901['shift']());}catch(_0xe8990d){_0x403901['push'](_0x403901['shift']());}}}(a228_0xb170,0x96293));export const RISK_LEVEL_VALUES=[a228_0x24c30d(0x199),a228_0x24c30d(0x19a),a228_0x24c30d(0x195)];function a228_0xb170(){const _0xeb12e5=['5503590zOeFGy','5928060QvgIIA','1407IVWXPf','high-risk-write','1108243KxyDBJ','4300eDNcLK','6952446gYjrwS','read','write','485QbwGXO','1952iFbuJJ','351042gGZOTq','12rXwgbX'];a228_0xb170=function(){return _0xeb12e5;};return a228_0xb170();}
1
+ const a241_0x1797b8=a241_0x4f72;function a241_0x4f72(_0x2bacda,_0x2c6118){_0x2bacda=_0x2bacda-0x139;const _0x404591=a241_0x4045();let _0x4f7237=_0x404591[_0x2bacda];return _0x4f7237;}function a241_0x4045(){const _0x235fa0=['784cSnamH','542772Uyyjvw','write','1555902hYNjFk','1563443WULHDt','1657384JYHwaO','read','5352048owxkfK','6pLmeEM','80178MkGJBQ','7565tuWiEi'];a241_0x4045=function(){return _0x235fa0;};return a241_0x4045();}(function(_0x4184ed,_0x424b29){const _0x5430bb=a241_0x4f72,_0x158388=_0x4184ed();while(!![]){try{const _0x4e02ac=parseInt(_0x5430bb(0x13c))/0x1+parseInt(_0x5430bb(0x13f))/0x2+-parseInt(_0x5430bb(0x141))/0x3+parseInt(_0x5430bb(0x13e))/0x4*(parseInt(_0x5430bb(0x13d))/0x5)+parseInt(_0x5430bb(0x13b))/0x6*(-parseInt(_0x5430bb(0x142))/0x7)+-parseInt(_0x5430bb(0x143))/0x8+parseInt(_0x5430bb(0x13a))/0x9;if(_0x4e02ac===_0x424b29)break;else _0x158388['push'](_0x158388['shift']());}catch(_0x1d51a5){_0x158388['push'](_0x158388['shift']());}}}(a241_0x4045,0x47afc));export const RISK_LEVEL_VALUES=[a241_0x1797b8(0x139),a241_0x1797b8(0x140),'high-risk-write'];
@@ -1 +1 @@
1
- (function(_0x5f41ab,_0x3d4ab4){const _0x3de477=a229_0x88e4,_0x178df8=_0x5f41ab();while(!![]){try{const _0x34adf6=parseInt(_0x3de477(0x192))/0x1*(-parseInt(_0x3de477(0x18b))/0x2)+-parseInt(_0x3de477(0x185))/0x3+-parseInt(_0x3de477(0x18a))/0x4*(parseInt(_0x3de477(0x191))/0x5)+-parseInt(_0x3de477(0x193))/0x6*(parseInt(_0x3de477(0x187))/0x7)+-parseInt(_0x3de477(0x189))/0x8+parseInt(_0x3de477(0x18c))/0x9*(-parseInt(_0x3de477(0x18d))/0xa)+parseInt(_0x3de477(0x190))/0xb;if(_0x34adf6===_0x3d4ab4)break;else _0x178df8['push'](_0x178df8['shift']());}catch(_0x3e8a98){_0x178df8['push'](_0x178df8['shift']());}}}(a229_0x14c4,0x5e606));import{OFFICIAL_ROUTING_PROFILES as a229_0xcccea6,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';function a229_0x14c4(){const _0x62fccb=['lovrabet','libraries','24854676BctvZI','5JlhNZc','399097qhTGDQ','204IDyLln','1423296YsJzoH','\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.','3738LPrrXd','cdn','3482728hqEtpn','1458420nnCnsf','2jiODar','9IqjdFe','1813190nrruaU'];a229_0x14c4=function(){return _0x62fccb;};return a229_0x14c4();}export const OFFICIAL_ROUTING_PROFILES=a229_0xcccea6;function a229_0x88e4(_0x59353c,_0x17ba4f){_0x59353c=_0x59353c-0x185;const _0x14c461=a229_0x14c4();let _0x88e464=_0x14c461[_0x59353c];return _0x88e464;}export{ROUTING_CATALOG_DIGEST};export function getOfficialRoutingProfile(_0x3a511d){return OFFICIAL_ROUTING_PROFILES[_0x3a511d];}export function getOfficialRoutingCdn(_0x3c7954){const _0x192351=a229_0x88e4,_0x488ef5=getOfficialRoutingProfile(_0x3c7954)[_0x192351(0x188)];if(!_0x488ef5[_0x192351(0x18e)])throw new Error('Official\x20routing\x20for\x20region\x20\x22'+_0x3c7954+_0x192351(0x186));return{'libraries':_0x488ef5[_0x192351(0x18f)],'lovrabet':_0x488ef5[_0x192351(0x18e)]};}
1
+ (function(_0x5441f7,_0x527879){const _0x2e2e65=a242_0x4f99,_0x12ca48=_0x5441f7();while(!![]){try{const _0x318611=-parseInt(_0x2e2e65(0x1b2))/0x1+parseInt(_0x2e2e65(0x1ab))/0x2*(-parseInt(_0x2e2e65(0x1b3))/0x3)+parseInt(_0x2e2e65(0x1b1))/0x4*(-parseInt(_0x2e2e65(0x1ad))/0x5)+-parseInt(_0x2e2e65(0x1b7))/0x6+-parseInt(_0x2e2e65(0x1af))/0x7+-parseInt(_0x2e2e65(0x1b6))/0x8+parseInt(_0x2e2e65(0x1b4))/0x9;if(_0x318611===_0x527879)break;else _0x12ca48['push'](_0x12ca48['shift']());}catch(_0x44b5f8){_0x12ca48['push'](_0x12ca48['shift']());}}}(a242_0x1cde,0x2c32c));import{OFFICIAL_ROUTING_PROFILES as a242_0x3bab61,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';function a242_0x4f99(_0x1e9909,_0x240b4d){_0x1e9909=_0x1e9909-0x1aa;const _0x1cde37=a242_0x1cde();let _0x4f99d9=_0x1cde37[_0x1e9909];return _0x4f99d9;}export const OFFICIAL_ROUTING_PROFILES=a242_0x3bab61;export{ROUTING_CATALOG_DIGEST};function a242_0x1cde(){const _0x7c55d1=['39sRrdoG','12477249WZfyxS','\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.','1577344hmBAjz','920454XQucvt','cdn','32036aonyEM','Official\x20routing\x20for\x20region\x20\x22','50NTwjRF','lovrabet','1082564WbcXwd','libraries','98672wyuhGC','245182OLULQH'];a242_0x1cde=function(){return _0x7c55d1;};return a242_0x1cde();}export function getOfficialRoutingProfile(_0x4e248a){return OFFICIAL_ROUTING_PROFILES[_0x4e248a];}export function getOfficialRoutingCdn(_0xa2f0f6){const _0x4289ad=a242_0x4f99,_0x4da006=getOfficialRoutingProfile(_0xa2f0f6)[_0x4289ad(0x1aa)];if(!_0x4da006[_0x4289ad(0x1ae)])throw new Error(_0x4289ad(0x1ac)+_0xa2f0f6+_0x4289ad(0x1b5));return{'libraries':_0x4da006[_0x4289ad(0x1b0)],'lovrabet':_0x4da006[_0x4289ad(0x1ae)]};}
@@ -1 +1 @@
1
- (function(_0x16f869,_0x51d927){const _0x31680a=a230_0x2e63,_0x4f5540=_0x16f869();while(!![]){try{const _0x200daa=-parseInt(_0x31680a(0xbb))/0x1*(parseInt(_0x31680a(0xa2))/0x2)+parseInt(_0x31680a(0xbc))/0x3*(parseInt(_0x31680a(0xa1))/0x4)+-parseInt(_0x31680a(0xa7))/0x5*(-parseInt(_0x31680a(0xa6))/0x6)+-parseInt(_0x31680a(0xb3))/0x7*(parseInt(_0x31680a(0xa0))/0x8)+-parseInt(_0x31680a(0xb8))/0x9*(parseInt(_0x31680a(0xa8))/0xa)+parseInt(_0x31680a(0xa4))/0xb*(parseInt(_0x31680a(0xa3))/0xc)+-parseInt(_0x31680a(0xba))/0xd;if(_0x200daa===_0x51d927)break;else _0x4f5540['push'](_0x4f5540['shift']());}catch(_0x1dd01c){_0x4f5540['push'](_0x4f5540['shift']());}}}(a230_0x528f,0x8e612));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,normalizeEnv}from'../constant/env.js';import{normalizeLegacyOutputFormat,riskLevelOrder}from'../framework/types.js';function a230_0x528f(){const _0x3bb3b0=['apps','54xhjipJ','564540UIMsxS','543960hdlOFy','locale','riskLevel','app','object','true','appcode','string','globalConfig','write','projectPath','1360135PnEitQ','ACCESS_KEY','COOKIE','ENV','cookie','153gMhPqb','VERBOSE','1187212vhWdrS','5gJraet','846ciBBCE','projectConfig','length','production','apiDir','keys','APP','defaultApp','pageSize','read','env','format','daily','RISK_LEVEL','PAGE_SIZE','trim','high-risk-write','8Hwfidu','11956qMvgYG','401386NlVXYj','12ifDTut','10317362nDumjp'];a230_0x528f=function(){return _0x3bb3b0;};return a230_0x528f();}function stringConfigValue(_0x168263){return typeof _0x168263==='string'&&_0x168263['trim']()?_0x168263['trim']():undefined;}function appProfiles(_0x3d5530){const _0x468c04=a230_0x2e63;return _0x3d5530[_0x468c04(0xa5)]&&typeof _0x3d5530[_0x468c04(0xa5)]==='object'?_0x3d5530[_0x468c04(0xa5)]:{};}function resolveDefaultAppName(_0x56801a){const _0xe32b1=a230_0x2e63,_0xab41ee=stringConfigValue(_0x56801a[_0xe32b1(0x96)]);if(_0xab41ee)return _0xab41ee;const _0x3c945a=Object[_0xe32b1(0x94)](appProfiles(_0x56801a));return _0x3c945a[_0xe32b1(0xbe)]===0x1?_0x3c945a[0x0]:undefined;}function a230_0x2e63(_0x4fc7dd,_0x4c6b8a){_0x4fc7dd=_0x4fc7dd-0x92;const _0x528f48=a230_0x528f();let _0x2e637a=_0x528f48[_0x4fc7dd];return _0x2e637a;}function resolveTopLevelAppCode(_0xb0b5d3){return stringConfigValue(_0xb0b5d3['appcode'])||stringConfigValue(_0xb0b5d3['app']);}function normalizeRiskCeiling(_0x14df3d){const _0x285ae8=a230_0x2e63;if(_0x14df3d===undefined||_0x14df3d===null)return undefined;if(_0x14df3d===_0x285ae8(0x98)||_0x14df3d===_0x285ae8(0xb1)||_0x14df3d===_0x285ae8(0x9f))return _0x14df3d;return'read';}function resolveRiskCeiling(..._0x43ffa7){const _0x5be186=a230_0x2e63;let _0x48ea87;for(const _0x136d3e of _0x43ffa7){const _0x31d0e4=normalizeRiskCeiling(_0x136d3e);_0x31d0e4&&(!_0x48ea87||riskLevelOrder(_0x31d0e4)<riskLevelOrder(_0x48ea87))&&(_0x48ea87=_0x31d0e4);}return _0x48ea87??DEFAULT_CONFIG_VALUES[_0x5be186(0xaa)];}export function resolveAppConfig({raw:_0x9ad949,flags:_0x211a99,layers:_0x32629d,readEnv:_0x53fde8}){const _0xf058ba=a230_0x2e63,_0x569a52=_0x32629d?.[_0xf058ba(0xbd)]??{},_0x468c5b=_0x32629d?.[_0xf058ba(0xb0)]??{},_0x226b75=!!_0x32629d?.[_0xf058ba(0xb2)]||Object[_0xf058ba(0x94)](_0x569a52)[_0xf058ba(0xbe)]>0x0,_0x3f3eba=!_0x226b75,_0x33bc7f=_0x226b75?resolveDefaultAppName(_0x569a52):undefined,_0x5f4f9e=_0x3f3eba?resolveDefaultAppName(_0x468c5b):undefined,_0x227385=stringConfigValue(_0x211a99[_0xf058ba(0xab)]),_0x21aa80=_0x53fde8(_0xf058ba(0x95)),_0x42df6a={};if(_0x9ad949[_0xf058ba(0xa5)]&&typeof _0x9ad949[_0xf058ba(0xa5)]==='object')for(const [_0x1e9e87,_0x4126a8]of Object['entries'](_0x9ad949[_0xf058ba(0xa5)])){_0x4126a8&&typeof _0x4126a8===_0xf058ba(0xac)&&_0x4126a8[_0xf058ba(0xae)]&&(_0x42df6a[_0x1e9e87]=_0x4126a8);}const _0x376b4c=_0x33bc7f||_0x5f4f9e||resolveDefaultAppName(_0x9ad949),_0x41d0a0=Object[_0xf058ba(0x94)](_0x42df6a)[_0xf058ba(0xbe)]>0x0,_0x17965e=_0x227385||_0x33bc7f||_0x21aa80||_0x5f4f9e||_0x376b4c||undefined,_0x4f4af3=stringConfigValue(_0x211a99['appcode']),_0x1a93c5=_0x4f4af3?Object['entries'](_0x42df6a)['find'](([,_0x359ac7])=>_0x359ac7?.[_0xf058ba(0xae)]===_0x4f4af3):undefined,_0x5687f0=_0x1a93c5?.[0x0],_0x1c65e7=_0x1a93c5?.[0x1],_0x238973=_0x4f4af3?_0x5687f0:_0x17965e;let _0x54ae1e=_0x238973&&_0x42df6a[_0x238973]?_0x42df6a[_0x238973]:undefined;_0x4f4af3&&_0x1c65e7&&(_0x54ae1e=_0x1c65e7);const _0x78dce3=_0x4f4af3?_0x1c65e7??_0x54ae1e:_0x54ae1e,_0x19acae=!_0x227385&&!_0x33bc7f&&_0x21aa80&&_0x238973===_0x21aa80,_0xfaf01=_0x227385||(_0x19acae?_0x21aa80:undefined)||(_0x4f4af3?_0x5687f0:undefined),_0x454310=_0x78dce3?.[_0xf058ba(0xae)],_0x43500a=_0x226b75?resolveTopLevelAppCode(_0x569a52):undefined,_0xa817b6=_0x3f3eba?resolveTopLevelAppCode(_0x468c5b):undefined,_0x2cf832=_0x227385||_0x33bc7f?_0x454310:undefined,_0x4eb968=!_0x227385&&!_0x33bc7f?_0x454310:undefined,_0x237ee6=_0x4f4af3||_0x2cf832||_0x43500a||_0x4eb968||_0xa817b6||undefined,_0x3dcb06=_0x226b75?stringConfigValue(_0x569a52['env']):undefined,_0x4edc71=_0x3f3eba?stringConfigValue(_0x468c5b[_0xf058ba(0x99)]):undefined,_0x6857f5=_0x211a99['env']||_0x78dce3?.[_0xf058ba(0x99)]||_0x3dcb06||_0x53fde8(_0xf058ba(0xb6))||_0x4edc71||_0x9ad949[_0xf058ba(0x99)]||DEFAULT_CONFIG_VALUES[_0xf058ba(0x99)],_0x1c2eee=_0x78dce3?.[_0xf058ba(0xa9)]||_0x9ad949[_0xf058ba(0xa9)]||DEFAULT_CONFIG_VALUES[_0xf058ba(0xa9)],_0x2b2b1a=_0x53fde8(_0xf058ba(0xb5))||_0x78dce3?.[_0xf058ba(0xb7)]||_0x9ad949['cookie']||undefined,_0x41b73e=_0x53fde8(_0xf058ba(0xb4))||_0x78dce3?.['accessKey']||_0x9ad949['accessKey']||undefined,_0x1a9023=_0x211a99[_0xf058ba(0x9a)]||_0x53fde8('FORMAT')||_0x78dce3?.[_0xf058ba(0x9a)]||_0x9ad949[_0xf058ba(0x9a)],_0x1eb233=normalizeLegacyOutputFormat(_0x1a9023),_0x11171a=_0x53fde8(_0xf058ba(0x9d))||_0x78dce3?.[_0xf058ba(0x97)]||_0x9ad949[_0xf058ba(0x97)],_0x4b7380=_0x11171a?Number(_0x11171a)||undefined:undefined,_0x12d6ca=_0x32629d?[_0x32629d['globalConfig'][_0xf058ba(0xaa)],_0x32629d[_0xf058ba(0xbd)][_0xf058ba(0xaa)]]:[_0x9ad949[_0xf058ba(0xaa)]],_0x631b59=resolveRiskCeiling(..._0x12d6ca,_0x78dce3?.[_0xf058ba(0xaa)]),_0x3b3eeb=resolveRiskCeiling(_0x631b59,_0x53fde8(_0xf058ba(0x9c))),_0x6607bd=_0x53fde8(_0xf058ba(0xb9)),_0x445046=_0x6607bd==='1'||_0x6607bd===_0xf058ba(0xad),_0x32b6ca=_0x78dce3?.[_0xf058ba(0x93)]||_0x9ad949[_0xf058ba(0x93)]||DEFAULT_CONFIG_VALUES[_0xf058ba(0x93)],_0x28f576=isDaily(normalizeEnv(String(_0x6857f5)))?_0xf058ba(0x9b):_0xf058ba(0x92);return{'appCode':typeof _0x237ee6===_0xf058ba(0xaf)&&_0x237ee6[_0xf058ba(0x9e)]()?_0x237ee6[_0xf058ba(0x9e)]():undefined,'env':_0x28f576,'locale':_0x1c2eee,'cookie':_0x2b2b1a,'accessKey':_0x41b73e,'format':_0x1eb233,'pageSize':_0x4b7380,'riskLevel':_0x3b3eeb,'verbose':_0x445046,'apiDir':_0x32b6ca,'apps':_0x42df6a,'defaultApp':_0x376b4c,'currentApp':_0x41d0a0?_0x238973:undefined,'explicitAppName':_0xfaf01};}
1
+ function a243_0x1741(_0x3684bd,_0x48ba9f){_0x3684bd=_0x3684bd-0x93;const _0x4f24cd=a243_0x4f24();let _0x1741b2=_0x4f24cd[_0x3684bd];return _0x1741b2;}(function(_0x5bc19b,_0x5b20ab){const _0x5439cd=a243_0x1741,_0x19d423=_0x5bc19b();while(!![]){try{const _0x49f2eb=-parseInt(_0x5439cd(0xb4))/0x1*(parseInt(_0x5439cd(0xa5))/0x2)+parseInt(_0x5439cd(0xbc))/0x3+parseInt(_0x5439cd(0xb3))/0x4*(-parseInt(_0x5439cd(0xa6))/0x5)+parseInt(_0x5439cd(0xba))/0x6*(-parseInt(_0x5439cd(0x9d))/0x7)+parseInt(_0x5439cd(0xad))/0x8+parseInt(_0x5439cd(0xab))/0x9*(-parseInt(_0x5439cd(0xa7))/0xa)+parseInt(_0x5439cd(0xb7))/0xb*(parseInt(_0x5439cd(0xac))/0xc);if(_0x49f2eb===_0x5b20ab)break;else _0x19d423['push'](_0x19d423['shift']());}catch(_0x4041f7){_0x19d423['push'](_0x19d423['shift']());}}}(a243_0x4f24,0x54206));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,normalizeEnv}from'../constant/env.js';function a243_0x4f24(){const _0x27dc20=['projectConfig','COOKIE','12FijtUO','2958GIWltt','string','globalConfig','1143461vsViXM','true','length','942SQljWO','cookie','253884cCHdYq','apps','defaultApp','high-risk-write','ENV','accessKey','keys','VERBOSE','trim','projectPath','app','PAGE_SIZE','appcode','production','15911gyGDGY','FORMAT','write','env','read','ACCESS_KEY','APP','entries','268yClpVD','908535XErRia','10CZyJqS','object','RISK_LEVEL','riskLevel','5138766yWfqyV','180uYAdrU','4560136NijqMs','format','locale','pageSize'];a243_0x4f24=function(){return _0x27dc20;};return a243_0x4f24();}import{normalizeLegacyOutputFormat,riskLevelOrder}from'../framework/types.js';function stringConfigValue(_0xdc3637){const _0x4d65d7=a243_0x1741;return typeof _0xdc3637===_0x4d65d7(0xb5)&&_0xdc3637[_0x4d65d7(0x97)]()?_0xdc3637['trim']():undefined;}function appProfiles(_0x1cc91e){const _0x219a1a=a243_0x1741;return _0x1cc91e[_0x219a1a(0xbd)]&&typeof _0x1cc91e[_0x219a1a(0xbd)]===_0x219a1a(0xa8)?_0x1cc91e[_0x219a1a(0xbd)]:{};}function resolveDefaultAppName(_0xce322b){const _0x12891c=a243_0x1741,_0x9d9eb8=stringConfigValue(_0xce322b[_0x12891c(0xbe)]);if(_0x9d9eb8)return _0x9d9eb8;const _0x5e28bd=Object['keys'](appProfiles(_0xce322b));return _0x5e28bd[_0x12891c(0xb9)]===0x1?_0x5e28bd[0x0]:undefined;}function resolveTopLevelAppCode(_0x5545d0){const _0xdfb81a=a243_0x1741;return stringConfigValue(_0x5545d0['appcode'])||stringConfigValue(_0x5545d0[_0xdfb81a(0x99)]);}function normalizeRiskCeiling(_0x422104){const _0x3aac4a=a243_0x1741;if(_0x422104===undefined||_0x422104===null)return undefined;if(_0x422104===_0x3aac4a(0xa1)||_0x422104===_0x3aac4a(0x9f)||_0x422104===_0x3aac4a(0xbf))return _0x422104;return _0x3aac4a(0xa1);}function resolveRiskCeiling(..._0x40a6d0){const _0x3154a6=a243_0x1741;let _0x12045e;for(const _0x158c69 of _0x40a6d0){const _0x14eb71=normalizeRiskCeiling(_0x158c69);_0x14eb71&&(!_0x12045e||riskLevelOrder(_0x14eb71)<riskLevelOrder(_0x12045e))&&(_0x12045e=_0x14eb71);}return _0x12045e??DEFAULT_CONFIG_VALUES[_0x3154a6(0xaa)];}export function resolveAppConfig({raw:_0x104515,flags:_0x59a24c,layers:_0x4f6110,readEnv:_0x46d622}){const _0x2acb40=a243_0x1741,_0x5c861f=_0x4f6110?.[_0x2acb40(0xb1)]??{},_0x4c4b6a=_0x4f6110?.['globalConfig']??{},_0xe2408=!!_0x4f6110?.[_0x2acb40(0x98)]||Object[_0x2acb40(0x95)](_0x5c861f)[_0x2acb40(0xb9)]>0x0,_0x581440=!_0xe2408,_0x1016ac=_0xe2408?resolveDefaultAppName(_0x5c861f):undefined,_0x545172=_0x581440?resolveDefaultAppName(_0x4c4b6a):undefined,_0x34a8dc=stringConfigValue(_0x59a24c['app']),_0x28c86b=_0x46d622(_0x2acb40(0xa3)),_0x3d9540={};if(_0x104515[_0x2acb40(0xbd)]&&typeof _0x104515['apps']===_0x2acb40(0xa8))for(const [_0x19576b,_0x3a9b44]of Object['entries'](_0x104515[_0x2acb40(0xbd)])){_0x3a9b44&&typeof _0x3a9b44===_0x2acb40(0xa8)&&_0x3a9b44[_0x2acb40(0x9b)]&&(_0x3d9540[_0x19576b]=_0x3a9b44);}const _0x53a079=_0x1016ac||_0x545172||resolveDefaultAppName(_0x104515),_0x5d1a28=Object[_0x2acb40(0x95)](_0x3d9540)[_0x2acb40(0xb9)]>0x0,_0xa9a310=_0x34a8dc||_0x1016ac||_0x28c86b||_0x545172||_0x53a079||undefined,_0x403191=stringConfigValue(_0x59a24c[_0x2acb40(0x9b)]),_0xef8175=_0x403191?Object[_0x2acb40(0xa4)](_0x3d9540)['find'](([,_0xed428b])=>_0xed428b?.[_0x2acb40(0x9b)]===_0x403191):undefined,_0x5e54ba=_0xef8175?.[0x0],_0x3ae7c4=_0xef8175?.[0x1],_0x3b52dc=_0x403191?_0x5e54ba:_0xa9a310;let _0x48975f=_0x3b52dc&&_0x3d9540[_0x3b52dc]?_0x3d9540[_0x3b52dc]:undefined;_0x403191&&_0x3ae7c4&&(_0x48975f=_0x3ae7c4);const _0x42f284=_0x403191?_0x3ae7c4??_0x48975f:_0x48975f,_0x3d6a3f=!_0x34a8dc&&!_0x1016ac&&_0x28c86b&&_0x3b52dc===_0x28c86b,_0x5d1917=_0x34a8dc||(_0x3d6a3f?_0x28c86b:undefined)||(_0x403191?_0x5e54ba:undefined),_0x252ee0=_0x42f284?.['appcode'],_0x10a9a2=_0xe2408?resolveTopLevelAppCode(_0x5c861f):undefined,_0x36d589=_0x581440?resolveTopLevelAppCode(_0x4c4b6a):undefined,_0xc1940c=_0x34a8dc||_0x1016ac?_0x252ee0:undefined,_0x456bec=!_0x34a8dc&&!_0x1016ac?_0x252ee0:undefined,_0x2e62a4=_0x403191||_0xc1940c||_0x10a9a2||_0x456bec||_0x36d589||undefined,_0x3b35d8=_0xe2408?stringConfigValue(_0x5c861f[_0x2acb40(0xa0)]):undefined,_0xfd5837=_0x581440?stringConfigValue(_0x4c4b6a[_0x2acb40(0xa0)]):undefined,_0x4da20b=_0x59a24c[_0x2acb40(0xa0)]||_0x42f284?.[_0x2acb40(0xa0)]||_0x3b35d8||_0x46d622(_0x2acb40(0x93))||_0xfd5837||_0x104515[_0x2acb40(0xa0)]||DEFAULT_CONFIG_VALUES[_0x2acb40(0xa0)],_0x20c2ca=_0x42f284?.[_0x2acb40(0xaf)]||_0x104515[_0x2acb40(0xaf)]||DEFAULT_CONFIG_VALUES['locale'],_0x3982f5=_0x46d622(_0x2acb40(0xb2))||_0x42f284?.[_0x2acb40(0xbb)]||_0x104515[_0x2acb40(0xbb)]||undefined,_0x3b47c8=_0x46d622(_0x2acb40(0xa2))||_0x42f284?.['accessKey']||_0x104515[_0x2acb40(0x94)]||undefined,_0x24bfd8=_0x59a24c[_0x2acb40(0xae)]||_0x46d622(_0x2acb40(0x9e))||_0x42f284?.[_0x2acb40(0xae)]||_0x104515['format'],_0x9b71b5=normalizeLegacyOutputFormat(_0x24bfd8),_0x6e8405=_0x46d622(_0x2acb40(0x9a))||_0x42f284?.['pageSize']||_0x104515[_0x2acb40(0xb0)],_0x572fd7=_0x6e8405?Number(_0x6e8405)||undefined:undefined,_0x3d968c=_0x4f6110?[_0x4f6110[_0x2acb40(0xb6)][_0x2acb40(0xaa)],_0x4f6110[_0x2acb40(0xb1)][_0x2acb40(0xaa)]]:[_0x104515[_0x2acb40(0xaa)]],_0x173084=resolveRiskCeiling(..._0x3d968c,_0x42f284?.[_0x2acb40(0xaa)]),_0x1c41bd=resolveRiskCeiling(_0x173084,_0x46d622(_0x2acb40(0xa9))),_0x5df9ac=_0x46d622(_0x2acb40(0x96)),_0xbf6b6f=_0x5df9ac==='1'||_0x5df9ac===_0x2acb40(0xb8),_0x150219=_0x42f284?.['apiDir']||_0x104515['apiDir']||DEFAULT_CONFIG_VALUES['apiDir'],_0x145278=isDaily(normalizeEnv(String(_0x4da20b)))?'daily':_0x2acb40(0x9c);return{'appCode':typeof _0x2e62a4==='string'&&_0x2e62a4[_0x2acb40(0x97)]()?_0x2e62a4[_0x2acb40(0x97)]():undefined,'env':_0x145278,'locale':_0x20c2ca,'cookie':_0x3982f5,'accessKey':_0x3b47c8,'format':_0x9b71b5,'pageSize':_0x572fd7,'riskLevel':_0x1c41bd,'verbose':_0xbf6b6f,'apiDir':_0x150219,'apps':_0x3d9540,'defaultApp':_0x53a079,'currentApp':_0x5d1a28?_0x3b52dc:undefined,'explicitAppName':_0x5d1917};}
@@ -1 +1 @@
1
- function a231_0x5b5b(_0x4451b0,_0x507117){_0x4451b0=_0x4451b0-0x6c;const _0x2dcfdd=a231_0x2dcf();let _0x5b5bf7=_0x2dcfdd[_0x4451b0];return _0x5b5bf7;}(function(_0x40b42c,_0xe3c22f){const _0x3eed90=a231_0x5b5b,_0x52df1c=_0x40b42c();while(!![]){try{const _0x5593d8=parseInt(_0x3eed90(0x78))/0x1*(-parseInt(_0x3eed90(0x74))/0x2)+parseInt(_0x3eed90(0x70))/0x3*(-parseInt(_0x3eed90(0x6c))/0x4)+parseInt(_0x3eed90(0x73))/0x5*(-parseInt(_0x3eed90(0x6d))/0x6)+-parseInt(_0x3eed90(0x7a))/0x7*(-parseInt(_0x3eed90(0x76))/0x8)+parseInt(_0x3eed90(0x75))/0x9*(-parseInt(_0x3eed90(0x79))/0xa)+-parseInt(_0x3eed90(0x72))/0xb+parseInt(_0x3eed90(0x77))/0xc*(parseInt(_0x3eed90(0x71))/0xd);if(_0x5593d8===_0xe3c22f)break;else _0x52df1c['push'](_0x52df1c['shift']());}catch(_0x2472cf){_0x52df1c['push'](_0x52df1c['shift']());}}}(a231_0x2dcf,0x81a7f));function a231_0x2dcf(){const _0x569fd1=['50991vyjFQj','5237843FwmacJ','3435861HuSGbh','3527360xNtQGg','1021624pesxDG','9tmTXSV','96jZLtSR','84CsirpS','2Vskxro','304890WKcoyb','10843ggtFZD','56uvcCCP','6uKLxhw','authRequired','cookie'];a231_0x2dcf=function(){return _0x569fd1;};return a231_0x2dcf();}import{getIsSessionValid}from'../auth/is-session-valid.js';import{CliErrors}from'../errors.js';export async function buildAuth(_0x1f5841){const _0xfe16f6=a231_0x5b5b,{getCookie:_0x219acb}=await import('../auth/get-cookie.js'),_0x28b5b2=_0x1f5841[_0xfe16f6(0x6f)]||_0x219acb(),_0x11e922=_0x28b5b2?await getIsSessionValid():![];return{'cookie':_0x28b5b2,'isLoggedIn':_0x11e922,async 'getOrLogin'(){const _0x22935b=_0xfe16f6;if(_0x28b5b2&&_0x11e922)return _0x28b5b2;throw CliErrors[_0x22935b(0x6e)]();}};}
1
+ (function(_0x3c1e04,_0x3d4173){const _0x220a24=a244_0x5aa0,_0x3bc85c=_0x3c1e04();while(!![]){try{const _0x39b056=-parseInt(_0x220a24(0xb0))/0x1*(parseInt(_0x220a24(0xad))/0x2)+parseInt(_0x220a24(0xaf))/0x3+parseInt(_0x220a24(0xb1))/0x4*(-parseInt(_0x220a24(0xb2))/0x5)+parseInt(_0x220a24(0xb5))/0x6+-parseInt(_0x220a24(0xb6))/0x7+parseInt(_0x220a24(0xb3))/0x8+parseInt(_0x220a24(0xb4))/0x9*(parseInt(_0x220a24(0xb7))/0xa);if(_0x39b056===_0x3d4173)break;else _0x3bc85c['push'](_0x3bc85c['shift']());}catch(_0x4eb59e){_0x3bc85c['push'](_0x3bc85c['shift']());}}}(a244_0x45fe,0xaa493));import{getIsSessionValid}from'../auth/is-session-valid.js';import{CliErrors}from'../errors.js';function a244_0x5aa0(_0x524cde,_0x3c27c2){_0x524cde=_0x524cde-0xad;const _0x45fedf=a244_0x45fe();let _0x5aa047=_0x45fedf[_0x524cde];return _0x5aa047;}function a244_0x45fe(){const _0x1730d6=['2518eLYYLj','3524284pxbWty','5GypWZg','4298568zUDSIz','49041PHjQzZ','1336158ciHqYI','9222472lHaSfk','3730zYWcuv','../auth/get-cookie.js','326PmuXDL','authRequired','1542003PbeGhf'];a244_0x45fe=function(){return _0x1730d6;};return a244_0x45fe();}export async function buildAuth(_0x1b1479){const _0x41c6df=a244_0x5aa0,{getCookie:_0x2b7fe7}=await import(_0x41c6df(0xb8)),_0x418806=_0x1b1479['cookie']||_0x2b7fe7(),_0x4609ef=_0x418806?await getIsSessionValid():![];return{'cookie':_0x418806,'isLoggedIn':_0x4609ef,async 'getOrLogin'(){const _0x5ac64b=_0x41c6df;if(_0x418806&&_0x4609ef)return _0x418806;throw CliErrors[_0x5ac64b(0xae)]();}};}
@@ -1 +1 @@
1
- const a232_0x101ccb=a232_0x5f27;function a232_0x5f27(_0x194c89,_0x561057){_0x194c89=_0x194c89-0xd3;const _0x2ad9b1=a232_0x2ad9();let _0x5f270d=_0x2ad9b1[_0x194c89];return _0x5f270d;}(function(_0x4ad5cd,_0x1a193b){const _0x32e201=a232_0x5f27,_0x2e3243=_0x4ad5cd();while(!![]){try{const _0x248380=parseInt(_0x32e201(0xd4))/0x1*(-parseInt(_0x32e201(0x108))/0x2)+parseInt(_0x32e201(0xd9))/0x3+parseInt(_0x32e201(0xd8))/0x4+parseInt(_0x32e201(0xfd))/0x5+-parseInt(_0x32e201(0xda))/0x6+parseInt(_0x32e201(0xfc))/0x7*(parseInt(_0x32e201(0x104))/0x8)+-parseInt(_0x32e201(0xe5))/0x9*(parseInt(_0x32e201(0xd5))/0xa);if(_0x248380===_0x1a193b)break;else _0x2e3243['push'](_0x2e3243['shift']());}catch(_0xf3a604){_0x2e3243['push'](_0x2e3243['shift']());}}}(a232_0x2ad9,0xb6312));import{existsSync,mkdirSync,readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{dirname,parse,resolve}from'node:path';import{homedir}from'node:os';import{CLI_BIN_NAME}from'../constant/cli.js';export const NEW_CONFIG_NAME=a232_0x101ccb(0xed);export const CONFIG_NAMES=[NEW_CONFIG_NAME];const normalizedWriteCache=new Map();export function resolveConfigPath(_0x4b18c1){for(const _0x57c508 of CONFIG_NAMES){const _0x274039=resolve(_0x4b18c1,_0x57c508);if(existsSync(_0x274039))return _0x274039;}return undefined;}export function findProjectRootDirectory(_0x4e8054=process['cwd']()){let _0x13ee81=resolve(_0x4e8054);const {root:_0x345942}=parse(_0x13ee81),_0x546a26=homedir();while(!![]){if(resolveConfigPath(_0x13ee81)){if(_0x13ee81===_0x546a26)break;return _0x13ee81;}if(_0x13ee81===_0x345942||_0x13ee81===_0x546a26)break;const _0x2058b5=dirname(_0x13ee81);if(_0x2058b5===_0x13ee81)break;_0x13ee81=_0x2058b5;}return resolve(_0x4e8054);}export function getProjectConfigPath(){const _0x2a54ef=a232_0x101ccb;return resolveConfigPath(process[_0x2a54ef(0xef)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function isInProject(){return!!getProjectConfigPath();}export function inspectCliConfigJsonFile(_0x3b8bfc){const _0x1a358f=a232_0x101ccb;if(!existsSync(_0x3b8bfc))return{'status':'missing'};try{const _0x5b5ca9=readFileSync(_0x3b8bfc,{'encoding':_0x1a358f(0xd6)});if(!_0x5b5ca9?.['trim']())return{'status':'empty'};const _0x596b23=JSON[_0x1a358f(0xe3)](_0x5b5ca9);return{'status':'ok','data':_0x596b23};}catch(_0x173469){return{'status':'error','message':_0x173469 instanceof Error?_0x173469[_0x1a358f(0xee)]:String(_0x173469)};}}function a232_0x2ad9(){const _0x35e6bc=['riskLevel','parse','warn','263979xWleSE','runtimeDomain','Project','apps','missing','project','\x0a\x20\x20','error','.rabetbase.json','message','cwd','keys','apiDir','skillDomain','apiDomain','.tmp','routing','string','app','env','appcode','cookie','locale','864451IIWAVI','5052180donPEY','length','stringify','format','object','trim','defaultApp','88xdxMhO','inherit','localDomain','config','118AXcoou','appDomain','migrated','accessKey','830ifJJzF','1180kwORPJ','utf8','pageSize','2483976EeOiOZ','4325838ypBNEN','1053078gukyrx','certificateDomain','\x20config\x20file\x20ignored\x20(invalid\x20JSON\x20or\x20unreadable):\x20','set','empty','get','data','status'];a232_0x2ad9=function(){return _0x35e6bc;};return a232_0x2ad9();}function parseCliConfigJsonFile(_0x1acf91,_0x2f1aaa,_0x1b505f){const _0x2bcca3=a232_0x101ccb,_0x59a618=inspectCliConfigJsonFile(_0x1acf91);if(_0x59a618[_0x2bcca3(0xe1)]===_0x2bcca3(0xe9)||_0x59a618[_0x2bcca3(0xe1)]===_0x2bcca3(0xde))return{};if(_0x59a618[_0x2bcca3(0xe1)]==='ok')return _0x59a618[_0x2bcca3(0xe0)];return _0x2f1aaa===_0x2bcca3(0xe4)&&_0x1b505f&&console[_0x2bcca3(0xec)](CLI_BIN_NAME+':\x20'+_0x1b505f+_0x2bcca3(0xdc)+_0x1acf91+_0x2bcca3(0xeb)+_0x59a618[_0x2bcca3(0xee)]),{};}function normalizeLegacyConfigShape(_0x32feb9){const _0x221049=a232_0x101ccb;if(!_0x32feb9||typeof _0x32feb9!==_0x221049(0x101))return{'config':{},'migrated':![]};const _0x2c679b={..._0x32feb9},_0x3ed36f=_0x2c679b[_0x221049(0xe8)]&&typeof _0x2c679b['apps']===_0x221049(0x101)?{..._0x2c679b[_0x221049(0xe8)]}:{},_0x371073=Object[_0x221049(0xf0)](_0x3ed36f)['length'],_0x338e27=_0x2c679b['appcode']||_0x2c679b[_0x221049(0xf7)];let _0x2b1cfb=![];if(_0x338e27&&_0x371073===0x0){const _0x1f664a=typeof _0x2c679b['defaultApp']===_0x221049(0xf6)&&_0x2c679b[_0x221049(0x103)][_0x221049(0x102)]()?_0x2c679b[_0x221049(0x103)]:String(_0x338e27)[_0x221049(0x102)]();_0x3ed36f[_0x1f664a]={'appcode':String(_0x338e27)['trim'](),..._0x2c679b['env']!=null?{'env':_0x2c679b[_0x221049(0xf8)]}:{},..._0x2c679b[_0x221049(0xf1)]!=null?{'apiDir':_0x2c679b[_0x221049(0xf1)]}:{},..._0x2c679b[_0x221049(0xfa)]!=null?{'cookie':_0x2c679b[_0x221049(0xfa)]}:{},..._0x2c679b['accessKey']!=null?{'accessKey':_0x2c679b[_0x221049(0xd3)]}:{},..._0x2c679b['format']!=null?{'format':_0x2c679b[_0x221049(0x100)]}:{},..._0x2c679b[_0x221049(0xd7)]!=null?{'pageSize':_0x2c679b[_0x221049(0xd7)]}:{},..._0x2c679b[_0x221049(0xe2)]!=null?{'riskLevel':_0x2c679b['riskLevel']}:{},..._0x2c679b[_0x221049(0xfb)]!=null?{'locale':_0x2c679b[_0x221049(0xfb)]}:{}},_0x2c679b['apps']=_0x3ed36f,delete _0x2c679b[_0x221049(0x103)],_0x2b1cfb=!![];}return(_0x221049(0xf9)in _0x2c679b||'app'in _0x2c679b)&&(delete _0x2c679b[_0x221049(0xf9)],delete _0x2c679b[_0x221049(0xf7)],_0x2b1cfb=!![]),{'config':_0x2c679b,'migrated':_0x2b1cfb};}function writeNormalizedConfigIfNeeded(_0x2f84d6,_0x1a1652){const _0xf9a528=a232_0x101ccb,_0x87e383=JSON[_0xf9a528(0xff)](_0x1a1652,null,0x2)+'\x0a';if(normalizedWriteCache[_0xf9a528(0xdf)](_0x2f84d6)===_0x87e383)return;writeConfigFile(_0x2f84d6,_0x1a1652),normalizedWriteCache[_0xf9a528(0xdd)](_0x2f84d6,_0x87e383);}function parseAndNormalizeConfig(_0x40079e,_0xd8f89e,_0x591804){const _0x8b69ea=a232_0x101ccb,_0x2f95e7=parseCliConfigJsonFile(_0x40079e,_0xd8f89e,_0x591804),_0x341dce=normalizeLegacyConfigShape(_0x2f95e7);if(_0x341dce[_0x8b69ea(0x10a)])try{writeNormalizedConfigIfNeeded(_0x40079e,_0x341dce[_0x8b69ea(0x107)]);}catch{}return _0x341dce[_0x8b69ea(0x107)];}export function loadRawConfigLayers(_0x28ecd5){const _0x20202b=a232_0x101ccb;let _0x400ada={},_0x13f160={};const _0x222307=resolveConfigPath(homedir());_0x222307&&(_0x400ada=parseAndNormalizeConfig(_0x222307,_0x20202b(0xe4),'Global'));const _0xdd654d=_0x28ecd5??findProjectRootDirectory(),_0x2352fc=resolveConfigPath(_0xdd654d);return _0x2352fc&&(_0x13f160=parseAndNormalizeConfig(_0x2352fc,_0x20202b(0xe4),_0x20202b(0xe7))),{'globalPath':_0x222307,'projectPath':_0x2352fc,'globalConfig':_0x400ada,'projectConfig':_0x13f160};}const INHERIT_WHITELIST=[a232_0x101ccb(0xfa),'accessKey',a232_0x101ccb(0xfb),a232_0x101ccb(0x100),a232_0x101ccb(0xe2),'pageSize','region',a232_0x101ccb(0xf5),'userDomain',a232_0x101ccb(0xf3),a232_0x101ccb(0xe6),a232_0x101ccb(0xf2),'kbDomain',a232_0x101ccb(0x109),a232_0x101ccb(0x106),a232_0x101ccb(0xdb)];export function mergeRawConfigLayers(_0x46eb22){const _0x1f3c48=a232_0x101ccb,{globalConfig:_0x339df4,projectConfig:_0x355a1b}=_0x46eb22,_0x1a182f=!!_0x46eb22['projectPath']||Object[_0x1f3c48(0xf0)](_0x355a1b)[_0x1f3c48(0xfe)]>0x0;if(!_0x1a182f)return mergeGlobalOnly(_0x339df4);return mergeProjectFirst(_0x339df4,_0x355a1b);}function mergeGlobalOnly(_0xb540f){const _0x45c474=a232_0x101ccb,_0x3b8e54={..._0xb540f};delete _0x3b8e54[_0x45c474(0x105)];const _0x56bd99=_0xb540f[_0x45c474(0xe8)]&&typeof _0xb540f['apps']===_0x45c474(0x101)?_0xb540f[_0x45c474(0xe8)]:{};if(Object[_0x45c474(0xf0)](_0x56bd99)[_0x45c474(0xfe)]>0x0)_0x3b8e54[_0x45c474(0xe8)]=_0x56bd99;if(_0xb540f[_0x45c474(0x103)])_0x3b8e54[_0x45c474(0x103)]=_0xb540f['defaultApp'];return _0x3b8e54;}function mergeProjectFirst(_0x5c1c82,_0x318c38){const _0x213c83=a232_0x101ccb,_0x1a649a={..._0x318c38};delete _0x1a649a[_0x213c83(0x105)];for(const _0x1d5500 of INHERIT_WHITELIST){!(_0x1d5500 in _0x1a649a)&&_0x1d5500 in _0x5c1c82&&(_0x1a649a[_0x1d5500]=_0x5c1c82[_0x1d5500]);}const _0x27832e=_0x318c38[_0x213c83(0xe8)]&&typeof _0x318c38['apps']===_0x213c83(0x101)?_0x318c38[_0x213c83(0xe8)]:{};return Object[_0x213c83(0xf0)](_0x27832e)[_0x213c83(0xfe)]>0x0?_0x1a649a[_0x213c83(0xe8)]=_0x27832e:delete _0x1a649a[_0x213c83(0xe8)],_0x213c83(0x103)in _0x318c38?_0x1a649a['defaultApp']=_0x318c38[_0x213c83(0x103)]:delete _0x1a649a[_0x213c83(0x103)],_0x1a649a;}export function readRawConfigWithLayers(_0x17a1b6){const _0x32c1c9=loadRawConfigLayers(_0x17a1b6);return{'config':mergeRawConfigLayers(_0x32c1c9),'layers':_0x32c1c9};}export function readRawConfig(_0x141ce3){return mergeRawConfigLayers(loadRawConfigLayers(_0x141ce3));}export function readConfigFile(_0x59bef0){return parseAndNormalizeConfig(_0x59bef0,'silent');}export function writeConfigFile(_0x4f8047,_0x5c2da7){const _0x58ac81=a232_0x101ccb,_0xe88b2=dirname(_0x4f8047);!existsSync(_0xe88b2)&&mkdirSync(_0xe88b2,{'recursive':!![]});const _0x209cb8=_0x4f8047+_0x58ac81(0xf4);try{writeFileSync(_0x209cb8,JSON[_0x58ac81(0xff)](_0x5c2da7,null,0x2)+'\x0a',{'encoding':_0x58ac81(0xd6),'mode':0x180}),renameSync(_0x209cb8,_0x4f8047);}catch(_0x34116e){try{unlinkSync(_0x209cb8);}catch{}throw _0x34116e;}}export function resolveWriteConfigPath(_0x4c7a08){const _0x594133=a232_0x101ccb,_0xe065d4=_0x4c7a08===_0x594133(0xea)?process[_0x594133(0xef)]():homedir(),_0xde3496=resolveConfigPath(_0xe065d4);return _0xde3496??resolve(_0xe065d4,NEW_CONFIG_NAME);}
1
+ const a245_0x41c2a2=a245_0xb431;(function(_0x20448b,_0x48bf18){const _0x3b65ac=a245_0xb431,_0x3b4356=_0x20448b();while(!![]){try{const _0x3d5642=parseInt(_0x3b65ac(0x160))/0x1*(-parseInt(_0x3b65ac(0x130))/0x2)+-parseInt(_0x3b65ac(0x13a))/0x3*(-parseInt(_0x3b65ac(0x15e))/0x4)+parseInt(_0x3b65ac(0x134))/0x5+parseInt(_0x3b65ac(0x146))/0x6*(parseInt(_0x3b65ac(0x148))/0x7)+parseInt(_0x3b65ac(0x157))/0x8*(-parseInt(_0x3b65ac(0x166))/0x9)+-parseInt(_0x3b65ac(0x155))/0xa*(-parseInt(_0x3b65ac(0x145))/0xb)+parseInt(_0x3b65ac(0x12f))/0xc*(parseInt(_0x3b65ac(0x14f))/0xd);if(_0x3d5642===_0x48bf18)break;else _0x3b4356['push'](_0x3b4356['shift']());}catch(_0x10fede){_0x3b4356['push'](_0x3b4356['shift']());}}}(a245_0x454f,0x9beb7));import{existsSync,mkdirSync,readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{dirname,parse,resolve}from'node:path';function a245_0xb431(_0xadd3fa,_0x3a1ffa){_0xadd3fa=_0xadd3fa-0x12f;const _0x454ff8=a245_0x454f();let _0xb431f3=_0x454ff8[_0xadd3fa];return _0xb431f3;}import{homedir}from'node:os';import{CLI_BIN_NAME}from'../constant/cli.js';export const NEW_CONFIG_NAME=a245_0x41c2a2(0x135);export const CONFIG_NAMES=[NEW_CONFIG_NAME];const normalizedWriteCache=new Map();export function resolveConfigPath(_0x5e93c8){for(const _0x263e72 of CONFIG_NAMES){const _0x38af31=resolve(_0x5e93c8,_0x263e72);if(existsSync(_0x38af31))return _0x38af31;}return undefined;}export function findProjectRootDirectory(_0x27af78=process[a245_0x41c2a2(0x140)]()){let _0xaf7e43=resolve(_0x27af78);const {root:_0x5942b1}=parse(_0xaf7e43),_0x3e2f6f=homedir();while(!![]){if(resolveConfigPath(_0xaf7e43)){if(_0xaf7e43===_0x3e2f6f)break;return _0xaf7e43;}if(_0xaf7e43===_0x5942b1||_0xaf7e43===_0x3e2f6f)break;const _0xeff0c3=dirname(_0xaf7e43);if(_0xeff0c3===_0xaf7e43)break;_0xaf7e43=_0xeff0c3;}return resolve(_0x27af78);}export function getProjectConfigPath(){const _0x4d105a=a245_0x41c2a2;return resolveConfigPath(process[_0x4d105a(0x140)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function isInProject(){return!!getProjectConfigPath();}export function inspectCliConfigJsonFile(_0x2e7a67){const _0x2528ed=a245_0x41c2a2;if(!existsSync(_0x2e7a67))return{'status':'missing'};try{const _0x1db9bb=readFileSync(_0x2e7a67,{'encoding':_0x2528ed(0x137)});if(!_0x1db9bb?.['trim']())return{'status':_0x2528ed(0x163)};const _0xc613bc=JSON[_0x2528ed(0x133)](_0x1db9bb);return{'status':'ok','data':_0xc613bc};}catch(_0x1e9c49){return{'status':_0x2528ed(0x153),'message':_0x1e9c49 instanceof Error?_0x1e9c49['message']:String(_0x1e9c49)};}}function parseCliConfigJsonFile(_0x3d61d9,_0x24aca8,_0x1a3f4a){const _0x23b817=a245_0x41c2a2,_0x36f4fa=inspectCliConfigJsonFile(_0x3d61d9);if(_0x36f4fa[_0x23b817(0x131)]===_0x23b817(0x158)||_0x36f4fa[_0x23b817(0x131)]===_0x23b817(0x163))return{};if(_0x36f4fa[_0x23b817(0x131)]==='ok')return _0x36f4fa[_0x23b817(0x141)];return _0x24aca8===_0x23b817(0x152)&&_0x1a3f4a&&console[_0x23b817(0x153)](CLI_BIN_NAME+':\x20'+_0x1a3f4a+_0x23b817(0x142)+_0x3d61d9+_0x23b817(0x154)+_0x36f4fa[_0x23b817(0x162)]),{};}function normalizeLegacyConfigShape(_0x14d114){const _0x1e02fa=a245_0x41c2a2;if(!_0x14d114||typeof _0x14d114!==_0x1e02fa(0x150))return{'config':{},'migrated':![]};const _0x2e9cd0={..._0x14d114},_0x3c49d2=_0x2e9cd0['apps']&&typeof _0x2e9cd0[_0x1e02fa(0x151)]===_0x1e02fa(0x150)?{..._0x2e9cd0[_0x1e02fa(0x151)]}:{},_0x348e9c=Object['keys'](_0x3c49d2)[_0x1e02fa(0x13b)],_0x237210=_0x2e9cd0[_0x1e02fa(0x132)]||_0x2e9cd0[_0x1e02fa(0x13c)];let _0x338484=![];if(_0x237210&&_0x348e9c===0x0){const _0x51335f=typeof _0x2e9cd0['defaultApp']===_0x1e02fa(0x161)&&_0x2e9cd0[_0x1e02fa(0x15c)][_0x1e02fa(0x14c)]()?_0x2e9cd0['defaultApp']:String(_0x237210)[_0x1e02fa(0x14c)]();_0x3c49d2[_0x51335f]={'appcode':String(_0x237210)[_0x1e02fa(0x14c)](),..._0x2e9cd0[_0x1e02fa(0x14b)]!=null?{'env':_0x2e9cd0[_0x1e02fa(0x14b)]}:{},..._0x2e9cd0['apiDir']!=null?{'apiDir':_0x2e9cd0[_0x1e02fa(0x14a)]}:{},..._0x2e9cd0[_0x1e02fa(0x15d)]!=null?{'cookie':_0x2e9cd0[_0x1e02fa(0x15d)]}:{},..._0x2e9cd0['accessKey']!=null?{'accessKey':_0x2e9cd0['accessKey']}:{},..._0x2e9cd0['format']!=null?{'format':_0x2e9cd0[_0x1e02fa(0x15f)]}:{},..._0x2e9cd0['pageSize']!=null?{'pageSize':_0x2e9cd0[_0x1e02fa(0x167)]}:{},..._0x2e9cd0['riskLevel']!=null?{'riskLevel':_0x2e9cd0[_0x1e02fa(0x13e)]}:{},..._0x2e9cd0[_0x1e02fa(0x136)]!=null?{'locale':_0x2e9cd0[_0x1e02fa(0x136)]}:{}},_0x2e9cd0['apps']=_0x3c49d2,delete _0x2e9cd0[_0x1e02fa(0x15c)],_0x338484=!![];}return(_0x1e02fa(0x132)in _0x2e9cd0||_0x1e02fa(0x13c)in _0x2e9cd0)&&(delete _0x2e9cd0[_0x1e02fa(0x132)],delete _0x2e9cd0[_0x1e02fa(0x13c)],_0x338484=!![]),{'config':_0x2e9cd0,'migrated':_0x338484};}function writeNormalizedConfigIfNeeded(_0x15789f,_0x3268d3){const _0x1e50fc=a245_0x41c2a2,_0x2f894=JSON[_0x1e50fc(0x13d)](_0x3268d3,null,0x2)+'\x0a';if(normalizedWriteCache['get'](_0x15789f)===_0x2f894)return;writeConfigFile(_0x15789f,_0x3268d3),normalizedWriteCache['set'](_0x15789f,_0x2f894);}function parseAndNormalizeConfig(_0x34fa37,_0x44cdef,_0x36b6c4){const _0x4da1c0=a245_0x41c2a2,_0x231fff=parseCliConfigJsonFile(_0x34fa37,_0x44cdef,_0x36b6c4),_0xeacfa=normalizeLegacyConfigShape(_0x231fff);if(_0xeacfa[_0x4da1c0(0x156)])try{writeNormalizedConfigIfNeeded(_0x34fa37,_0xeacfa[_0x4da1c0(0x164)]);}catch{}return _0xeacfa[_0x4da1c0(0x164)];}export function loadRawConfigLayers(_0x2fe591){const _0x38e36b=a245_0x41c2a2;let _0x157c5c={},_0x1a1b20={};const _0x362412=resolveConfigPath(homedir());_0x362412&&(_0x157c5c=parseAndNormalizeConfig(_0x362412,_0x38e36b(0x152),_0x38e36b(0x149)));const _0x33de6f=_0x2fe591??findProjectRootDirectory(),_0xe4fe2a=resolveConfigPath(_0x33de6f);return _0xe4fe2a&&(_0x1a1b20=parseAndNormalizeConfig(_0xe4fe2a,_0x38e36b(0x152),_0x38e36b(0x15b))),{'globalPath':_0x362412,'projectPath':_0xe4fe2a,'globalConfig':_0x157c5c,'projectConfig':_0x1a1b20};}const INHERIT_WHITELIST=[a245_0x41c2a2(0x15d),a245_0x41c2a2(0x159),'locale',a245_0x41c2a2(0x15f),a245_0x41c2a2(0x13e),'pageSize',a245_0x41c2a2(0x15a),a245_0x41c2a2(0x14d),'userDomain',a245_0x41c2a2(0x139),a245_0x41c2a2(0x13f),'skillDomain',a245_0x41c2a2(0x14e),a245_0x41c2a2(0x143),'localDomain','certificateDomain'];function a245_0x454f(){const _0x254a77=['accessKey','region','Project','defaultApp','cookie','244AFSlPG','format','1awfSnL','string','message','empty','config','keys','7462899vdgROz','pageSize','84nCdgUH','535298XKEZqg','status','appcode','parse','1902925ASnWVW','.rabetbase.json','locale','utf8','inherit','apiDomain','6927gYmmoO','length','app','stringify','riskLevel','runtimeDomain','cwd','data','\x20config\x20file\x20ignored\x20(invalid\x20JSON\x20or\x20unreadable):\x20','appDomain','silent','57651ZKxFWF','306006GZCjfa','.tmp','14agpIah','Global','apiDir','env','trim','routing','kbDomain','1938742yofVBN','object','apps','warn','error','\x0a\x20\x20','130XoKKFb','migrated','8SXrPOE','missing'];a245_0x454f=function(){return _0x254a77;};return a245_0x454f();}export function mergeRawConfigLayers(_0x37b319){const _0x2fab37=a245_0x41c2a2,{globalConfig:_0x800024,projectConfig:_0x447b00}=_0x37b319,_0x30fea3=!!_0x37b319['projectPath']||Object[_0x2fab37(0x165)](_0x447b00)[_0x2fab37(0x13b)]>0x0;if(!_0x30fea3)return mergeGlobalOnly(_0x800024);return mergeProjectFirst(_0x800024,_0x447b00);}function mergeGlobalOnly(_0x4cd39a){const _0x3db4d5=a245_0x41c2a2,_0x11074b={..._0x4cd39a};delete _0x11074b[_0x3db4d5(0x138)];const _0x575779=_0x4cd39a['apps']&&typeof _0x4cd39a[_0x3db4d5(0x151)]===_0x3db4d5(0x150)?_0x4cd39a[_0x3db4d5(0x151)]:{};if(Object[_0x3db4d5(0x165)](_0x575779)[_0x3db4d5(0x13b)]>0x0)_0x11074b[_0x3db4d5(0x151)]=_0x575779;if(_0x4cd39a[_0x3db4d5(0x15c)])_0x11074b[_0x3db4d5(0x15c)]=_0x4cd39a[_0x3db4d5(0x15c)];return _0x11074b;}function mergeProjectFirst(_0x80a139,_0x55c533){const _0x5cd60b=a245_0x41c2a2,_0x482215={..._0x55c533};delete _0x482215[_0x5cd60b(0x138)];for(const _0x4d4987 of INHERIT_WHITELIST){!(_0x4d4987 in _0x482215)&&_0x4d4987 in _0x80a139&&(_0x482215[_0x4d4987]=_0x80a139[_0x4d4987]);}const _0x397ab8=_0x55c533[_0x5cd60b(0x151)]&&typeof _0x55c533[_0x5cd60b(0x151)]===_0x5cd60b(0x150)?_0x55c533[_0x5cd60b(0x151)]:{};return Object['keys'](_0x397ab8)[_0x5cd60b(0x13b)]>0x0?_0x482215[_0x5cd60b(0x151)]=_0x397ab8:delete _0x482215[_0x5cd60b(0x151)],_0x5cd60b(0x15c)in _0x55c533?_0x482215[_0x5cd60b(0x15c)]=_0x55c533[_0x5cd60b(0x15c)]:delete _0x482215['defaultApp'],_0x482215;}export function readRawConfigWithLayers(_0xa71894){const _0x4f5c12=loadRawConfigLayers(_0xa71894);return{'config':mergeRawConfigLayers(_0x4f5c12),'layers':_0x4f5c12};}export function readRawConfig(_0x107af7){return mergeRawConfigLayers(loadRawConfigLayers(_0x107af7));}export function readConfigFile(_0x1fbf8a){const _0x222ac5=a245_0x41c2a2;return parseAndNormalizeConfig(_0x1fbf8a,_0x222ac5(0x144));}export function writeConfigFile(_0x5ccbee,_0xba86b){const _0x4648cd=a245_0x41c2a2,_0x10b8fe=dirname(_0x5ccbee);!existsSync(_0x10b8fe)&&mkdirSync(_0x10b8fe,{'recursive':!![]});const _0x957e33=_0x5ccbee+_0x4648cd(0x147);try{writeFileSync(_0x957e33,JSON['stringify'](_0xba86b,null,0x2)+'\x0a',{'encoding':_0x4648cd(0x137),'mode':0x180}),renameSync(_0x957e33,_0x5ccbee);}catch(_0x22b6c9){try{unlinkSync(_0x957e33);}catch{}throw _0x22b6c9;}}export function resolveWriteConfigPath(_0x2879ce){const _0x41f0c8=a245_0x41c2a2,_0x451856=_0x2879ce==='project'?process[_0x41f0c8(0x140)]():homedir(),_0x374392=resolveConfigPath(_0x451856);return _0x374392??resolve(_0x451856,NEW_CONFIG_NAME);}
package/lib/context.js CHANGED
@@ -1 +1 @@
1
- const a233_0xef55d2=a233_0x32e2;(function(_0x51359a,_0x1c94bf){const _0x224dff=a233_0x32e2,_0x2948d3=_0x51359a();while(!![]){try{const _0x4a5e9d=parseInt(_0x224dff(0x1a8))/0x1*(parseInt(_0x224dff(0x19b))/0x2)+-parseInt(_0x224dff(0x194))/0x3+-parseInt(_0x224dff(0x19e))/0x4+-parseInt(_0x224dff(0x198))/0x5+-parseInt(_0x224dff(0x1b8))/0x6*(parseInt(_0x224dff(0x189))/0x7)+parseInt(_0x224dff(0x188))/0x8*(parseInt(_0x224dff(0x1a3))/0x9)+parseInt(_0x224dff(0x187))/0xa;if(_0x4a5e9d===_0x1c94bf)break;else _0x2948d3['push'](_0x2948d3['shift']());}catch(_0x3ce1c9){_0x2948d3['push'](_0x2948d3['shift']());}}}(a233_0x5947,0x7fc44));import{resolve}from'node:path';import{CLI_BIN_NAME}from'./constant/cli.js';import{buildAuth}from'./context/auth-resolver.js';import{resolveAppConfig}from'./context/app-resolver.js';import{CONFIG_NAMES,NEW_CONFIG_NAME,findProjectRootDirectory,getGlobalConfigPath,getProjectConfigPath,inspectCliConfigJsonFile,isInProject,loadRawConfigLayers,mergeRawConfigLayers,readConfigFile,readRawConfig,readRawConfigWithLayers,resolveConfigPath,resolveWriteConfigPath,writeConfigFile}from'./context/config-loader.js';import{DEFAULT_LOVRABET_REGION,isInvalidLovrabetRegion,normalizeLovrabetRegion}from'./constant/region.js';import{resolveEnterpriseRoutingManifest}from'./config/domain-config.js';import{logger}from'./utils/logger.js';import{CliErrors}from'./errors.js';export{CONFIG_NAMES,NEW_CONFIG_NAME,findProjectRootDirectory,getGlobalConfigPath,getProjectConfigPath,inspectCliConfigJsonFile,isInProject,loadRawConfigLayers,mergeRawConfigLayers,readConfigFile,readRawConfig,readRawConfigWithLayers,resolveConfigPath,resolveWriteConfigPath,writeConfigFile};function env(_0x156965){return process.env[`RABETBASE_${_0x156965}`]||process.env[`LOVRABET_${_0x156965}`]||undefined;}function a233_0x32e2(_0x4562b4,_0x7dcab8){_0x4562b4=_0x4562b4-0x181;const _0x5947ac=a233_0x5947();let _0x32e236=_0x5947ac[_0x4562b4];return _0x32e236;}function optionalString(_0xfa3014){const _0x17730e=a233_0x32e2;return typeof _0xfa3014===_0x17730e(0x181)&&_0xfa3014[_0x17730e(0x18b)]()?_0xfa3014[_0x17730e(0x18b)]():undefined;}function describeConfiguredRegion(_0x3cdce2){const _0x57e860=a233_0x32e2;return typeof _0x3cdce2==='string'?JSON[_0x57e860(0x1a9)](_0x3cdce2):_0x57e860(0x1b9)+(_0x3cdce2===null?_0x57e860(0x1a2):typeof _0x3cdce2);}function resolveConfiguredRegion(_0x1ff289){const _0x2d4368=a233_0x32e2;if(isInvalidLovrabetRegion(_0x1ff289))throw CliErrors[_0x2d4368(0x1a6)]('Invalid\x20country/region\x20'+describeConfiguredRegion(_0x1ff289)+_0x2d4368(0x1bd),'Run\x20`'+CLI_BIN_NAME+_0x2d4368(0x185));return normalizeLovrabetRegion(_0x1ff289)??DEFAULT_LOVRABET_REGION;}export function isRoutingRecoveryService(_0x46c39a){const _0x38eccf=a233_0x32e2;return _0x46c39a===_0x38eccf(0x18d)||_0x46c39a==='doctor';}export async function createContext(_0x21c0c3){const _0x4c6f3c=a233_0x32e2,{config:_0xc222a7,layers:_0x3cff18}=readRawConfigWithLayers(),_0x2b0579=buildConfig(_0xc222a7,_0x21c0c3,_0x3cff18);await initGlobalEnvironment(_0x2b0579);const {getUserDomain:_0xd20ec3,getApiDomain:_0x1be948}=await import(_0x4c6f3c(0x186)),_0xbb2edd={'apiDomain':_0x1be948(),'userDomain':_0xd20ec3()},_0x5ddbc6=await buildAuth(_0x2b0579);logger[_0x4c6f3c(0x1a0)](process[_0x4c6f3c(0x1ba)]());const _0x46c90c=(CLI_BIN_NAME+'\x20'+process[_0x4c6f3c(0x1a4)][_0x4c6f3c(0x1ad)](0x2)[_0x4c6f3c(0x19d)]('\x20'))[_0x4c6f3c(0x18b)]();logger[_0x4c6f3c(0x1b7)](_0x46c90c);const {isNonInteractive:_0x10f05c}=await import(_0x4c6f3c(0x193)),_0x5e9e12=_0x10f05c(_0x21c0c3);return{'config':_0x2b0579,'auth':_0x5ddbc6,'logger':logger,'env':_0xbb2edd,'nonInteractive':_0x5e9e12};}function a233_0x5947(){const _0x3cb81b=['merged','\x20doctor`\x20to\x20locate\x20and\x20repair\x20the\x20invalid\x20configuration\x20before\x20retrying.','./constant/domain.js','11193660JxQQTI','24SAPtlC','7KkkAIl','keys','trim','-api.ts','config','agentDomain','userDomain','localDomain','platformDomain','appcode','./utils/is-non-interactive.js','537933LKzMto','project','cdn','apps','431660SIevCm','defaultApp','replace','3086opvUEy','domains','join','2521140YcIAYW','entries','setLogPath','cookie','null','2684376SwtdRx','argv','filter','validation','raw','167KvxsvR','stringify','projectConfig','kbDomain','apiDomain','slice','app','find','https://g.lovrabet.com/dist/lovrabet-skill','skillDomain','length','skillHubDomain','region','appDomain','globalConfig','setRawCommand','5115474nHCivn','a\x20value\x20of\x20type\x20','cwd','object','env','\x20in\x20Rabetbase\x20configuration.','template_base_url','apiDir','string','values','runtimeDomain'];a233_0x5947=function(){return _0x3cb81b;};return a233_0x5947();}export function buildConfigFromFlags(_0x2ade6a){const {config:_0x98db1f,layers:_0x3b91c7}=readRawConfigWithLayers();return buildConfig(_0x98db1f,_0x2ade6a,_0x3b91c7);}export async function initGlobalEnvironment(_0x4f5a4d){const _0x4562dc=a233_0x32e2,_0x42cf4a=resolveConfiguredRegion(_0x4f5a4d[_0x4562dc(0x1a7)]?.[_0x4562dc(0x1b4)]),_0x507d14=resolveEnterpriseRoutingManifest(_0x4f5a4d['raw']?.['routing']),_0x2a9d23={'region':_0x42cf4a,'apiDomain':_0x507d14?_0x507d14[_0x4562dc(0x19c)][_0x4562dc(0x1ac)]:optionalString(_0x4f5a4d[_0x4562dc(0x1a7)]?.[_0x4562dc(0x1ac)]),'userDomain':_0x507d14?_0x507d14[_0x4562dc(0x19c)][_0x4562dc(0x18f)]:optionalString(_0x4f5a4d[_0x4562dc(0x1a7)]?.[_0x4562dc(0x18f)]),'runtimeDomain':_0x507d14?_0x507d14[_0x4562dc(0x19c)][_0x4562dc(0x183)]:optionalString(_0x4f5a4d[_0x4562dc(0x1a7)]?.['runtimeDomain']),'skillDomain':_0x507d14?_0x507d14[_0x4562dc(0x19c)][_0x4562dc(0x1b1)]:optionalString(_0x4f5a4d[_0x4562dc(0x1a7)]?.['skillDomain'])||optionalString(_0x4f5a4d['raw']?.[_0x4562dc(0x1b3)])||optionalString(_0x4f5a4d['raw']?.[_0x4562dc(0x18e)])||optionalString(_0x4f5a4d['raw']?.[_0x4562dc(0x191)]),'kbDomain':_0x507d14?_0x507d14[_0x4562dc(0x19c)][_0x4562dc(0x1ab)]:optionalString(_0x4f5a4d['raw']?.[_0x4562dc(0x1ab)])||optionalString(_0x4f5a4d[_0x4562dc(0x1a7)]?.[_0x4562dc(0x18e)])||optionalString(_0x4f5a4d[_0x4562dc(0x1a7)]?.[_0x4562dc(0x191)]),'appDomain':_0x507d14?_0x507d14['domains'][_0x4562dc(0x1b5)]:optionalString(_0x4f5a4d[_0x4562dc(0x1a7)]?.[_0x4562dc(0x1b5)]),'localDomain':_0x507d14?_0x507d14[_0x4562dc(0x19c)][_0x4562dc(0x190)]:optionalString(_0x4f5a4d[_0x4562dc(0x1a7)]?.['localDomain']),'certificateDomain':_0x507d14?_0x507d14[_0x4562dc(0x19c)]['certificateDomain']:optionalString(_0x4f5a4d[_0x4562dc(0x1a7)]?.['certificateDomain']),'cdn':_0x507d14?.[_0x4562dc(0x196)]},{initEnv:_0x402e07}=await import('./constant/env.js'),{initDomains:_0x1ea37b}=await import('./constant/domain.js');_0x402e07(_0x4f5a4d[_0x4562dc(0x1bc)]),_0x1ea37b(_0x2a9d23);}export function getConfigAppCode(_0x26316a){const _0x448ee2=a233_0x32e2,_0x10a47b=readRawConfig(_0x26316a);if(_0x10a47b['apps']&&typeof _0x10a47b[_0x448ee2(0x197)]===_0x448ee2(0x1bb)){const _0x43be88=_0x10a47b[_0x448ee2(0x199)];if(_0x43be88)return _0x10a47b[_0x448ee2(0x197)][_0x43be88]?.[_0x448ee2(0x192)]?String(_0x10a47b[_0x448ee2(0x197)][_0x43be88][_0x448ee2(0x192)])[_0x448ee2(0x18b)]():undefined;const _0x195bb7=Object[_0x448ee2(0x182)](_0x10a47b[_0x448ee2(0x197)]);if(_0x195bb7['length']===0x1&&_0x195bb7[0x0]?.['appcode'])return String(_0x195bb7[0x0][_0x448ee2(0x192)])[_0x448ee2(0x18b)]();}const _0x5662df=_0x10a47b[_0x448ee2(0x192)]||_0x10a47b[_0x448ee2(0x1ae)];if(typeof _0x5662df!==_0x448ee2(0x181)||_0x5662df[_0x448ee2(0x18b)]()==='')return undefined;return _0x5662df[_0x448ee2(0x18b)]();}export function getMultiAppConfigs(_0x4c4473=a233_0xef55d2(0x195),_0x57e576){const _0x299757=a233_0xef55d2,_0x2cc688=loadRawConfigLayers(_0x57e576);let _0x10303c,_0x19f3f3;if(_0x4c4473===_0x299757(0x184)){const _0x340c45=_0x2cc688[_0x299757(0x1b6)][_0x299757(0x197)]&&typeof _0x2cc688[_0x299757(0x1b6)][_0x299757(0x197)]===_0x299757(0x1bb)?_0x2cc688[_0x299757(0x1b6)]['apps']:{},_0x35910a=_0x2cc688[_0x299757(0x1aa)]['apps']&&typeof _0x2cc688[_0x299757(0x1aa)][_0x299757(0x197)]===_0x299757(0x1bb)?_0x2cc688['projectConfig']['apps']:{};_0x10303c={..._0x340c45,..._0x35910a};const _0x40d93b=readRawConfig(_0x57e576);_0x19f3f3=_0x40d93b[_0x299757(0x199)];}else _0x10303c=_0x2cc688[_0x299757(0x1aa)][_0x299757(0x197)],_0x19f3f3=_0x2cc688[_0x299757(0x1aa)][_0x299757(0x199)];!_0x19f3f3&&_0x10303c&&typeof _0x10303c===_0x299757(0x1bb)&&Object[_0x299757(0x18a)](_0x10303c)['length']===0x1&&(_0x19f3f3=Object[_0x299757(0x18a)](_0x10303c)[0x0]);if(!_0x10303c||typeof _0x10303c!==_0x299757(0x1bb)||Object[_0x299757(0x18a)](_0x10303c)[_0x299757(0x1b2)]===0x0)return null;return Object['entries'](_0x10303c)['map'](([_0x287ad8,_0x2cb050])=>({'name':_0x287ad8,'appcode':_0x2cb050?.[_0x299757(0x192)]||'','isDefault':_0x287ad8===_0x19f3f3,'env':_0x2cb050?.[_0x299757(0x1bc)],'apiDir':_0x2cb050?.[_0x299757(0x1bf)],'cookie':_0x2cb050?.[_0x299757(0x1a1)]||undefined}))[_0x299757(0x1a5)](_0x45e6bb=>_0x45e6bb[_0x299757(0x192)]);}export function getTemplateBaseUrl(_0x4befb9){const _0x3cd303=a233_0xef55d2,_0x328d5f=readRawConfig(_0x4befb9);if(_0x328d5f[_0x3cd303(0x1be)]&&typeof _0x328d5f['template_base_url']===_0x3cd303(0x181))return _0x328d5f['template_base_url'][_0x3cd303(0x19a)](/\/$/,'');return _0x3cd303(0x1b0);}function buildConfig(_0x1b99aa,_0x30ff58,_0x302f37){return{...resolveAppConfig({'raw':_0x1b99aa,'flags':_0x30ff58,'layers':_0x302f37,'readEnv':env}),'raw':_0x1b99aa};}export function resolveApiFilePath(_0xce1e24,_0x20779a){const _0x28e4f8=a233_0xef55d2,_0x12d77b=resolve(process['cwd'](),_0xce1e24),_0x4cc8cf=resolve(_0x12d77b,'api.ts');if(!_0x20779a)return _0x4cc8cf;const _0x3e609d=readRawConfig(),_0x2994dc=_0x3e609d['apps']&&typeof _0x3e609d[_0x28e4f8(0x197)]===_0x28e4f8(0x1bb)?_0x3e609d[_0x28e4f8(0x197)]:{},_0xb23384=Object[_0x28e4f8(0x19f)](_0x2994dc)[_0x28e4f8(0x1af)](([,_0x760b72])=>_0x760b72?.[_0x28e4f8(0x192)]===_0x20779a);if(!_0xb23384)return _0x4cc8cf;const [_0x1a534e,_0x1e1ed3]=_0xb23384,_0x23e5c4=typeof _0x3e609d[_0x28e4f8(0x199)]==='string'?_0x3e609d[_0x28e4f8(0x199)]:undefined;if(_0x1e1ed3?.[_0x28e4f8(0x1bf)])return _0x4cc8cf;if(_0x23e5c4&&_0x1a534e!==_0x23e5c4)return resolve(_0x12d77b,_0x1a534e+_0x28e4f8(0x18c));return _0x4cc8cf;}
1
+ const a246_0x1aad2a=a246_0x5273;(function(_0x42100a,_0x375aac){const _0x5d72d2=a246_0x5273,_0x5be3ec=_0x42100a();while(!![]){try{const _0x1261b8=parseInt(_0x5d72d2(0xa5))/0x1*(parseInt(_0x5d72d2(0xb6))/0x2)+-parseInt(_0x5d72d2(0xa3))/0x3+-parseInt(_0x5d72d2(0xc2))/0x4+parseInt(_0x5d72d2(0xb7))/0x5+parseInt(_0x5d72d2(0x9a))/0x6+-parseInt(_0x5d72d2(0xc8))/0x7*(-parseInt(_0x5d72d2(0xcb))/0x8)+-parseInt(_0x5d72d2(0xa7))/0x9;if(_0x1261b8===_0x375aac)break;else _0x5be3ec['push'](_0x5be3ec['shift']());}catch(_0x424154){_0x5be3ec['push'](_0x5be3ec['shift']());}}}(a246_0x1dc6,0x81c65));import{resolve}from'node:path';function a246_0x1dc6(){const _0x823003=['raw','routing','domains','stringify','apps','app','values','apiDomain','2013147BZkmCM','env','823507JnkdIe','project','9848466eYKwOY','find','apiDir','userDomain','null','object','trim','keys','Invalid\x20country/region\x20','Run\x20`','a\x20value\x20of\x20type\x20','kbDomain','skillDomain','validation','\x20doctor`\x20to\x20locate\x20and\x20repair\x20the\x20invalid\x20configuration\x20before\x20retrying.','2yXIdip','4974510ZgSYDJ','certificateDomain','api.ts','replace','localDomain','./constant/env.js','string','./utils/is-non-interactive.js','setLogPath','setRawCommand','agentDomain','3891004aUnqZt','map','region','https://g.lovrabet.com/dist/lovrabet-skill','length','skillHubDomain','1636719BabMSz','cdn','cwd','24vKvBnH','projectConfig','join','template_base_url','appcode','appDomain','defaultApp','./constant/domain.js','\x20in\x20Rabetbase\x20configuration.','doctor','entries','cookie','4498626SeSdgP'];a246_0x1dc6=function(){return _0x823003;};return a246_0x1dc6();}import{CLI_BIN_NAME}from'./constant/cli.js';import{buildAuth}from'./context/auth-resolver.js';import{resolveAppConfig}from'./context/app-resolver.js';import{CONFIG_NAMES,NEW_CONFIG_NAME,findProjectRootDirectory,getGlobalConfigPath,getProjectConfigPath,inspectCliConfigJsonFile,isInProject,loadRawConfigLayers,mergeRawConfigLayers,readConfigFile,readRawConfig,readRawConfigWithLayers,resolveConfigPath,resolveWriteConfigPath,writeConfigFile}from'./context/config-loader.js';import{DEFAULT_LOVRABET_REGION,isInvalidLovrabetRegion,normalizeLovrabetRegion}from'./constant/region.js';import{resolveEnterpriseRoutingManifest}from'./config/domain-config.js';import{logger}from'./utils/logger.js';import{CliErrors}from'./errors.js';export{CONFIG_NAMES,NEW_CONFIG_NAME,findProjectRootDirectory,getGlobalConfigPath,getProjectConfigPath,inspectCliConfigJsonFile,isInProject,loadRawConfigLayers,mergeRawConfigLayers,readConfigFile,readRawConfig,readRawConfigWithLayers,resolveConfigPath,resolveWriteConfigPath,writeConfigFile};function env(_0x162f1f){return process.env[`RABETBASE_${_0x162f1f}`]||process.env[`LOVRABET_${_0x162f1f}`]||undefined;}function optionalString(_0x33f260){const _0x57d552=a246_0x5273;return typeof _0x33f260===_0x57d552(0xbd)&&_0x33f260[_0x57d552(0xad)]()?_0x33f260['trim']():undefined;}function describeConfiguredRegion(_0x4c15bc){const _0x128604=a246_0x5273;return typeof _0x4c15bc===_0x128604(0xbd)?JSON[_0x128604(0x9e)](_0x4c15bc):_0x128604(0xb1)+(_0x4c15bc===null?_0x128604(0xab):typeof _0x4c15bc);}function resolveConfiguredRegion(_0x32531a){const _0x551f85=a246_0x5273;if(isInvalidLovrabetRegion(_0x32531a))throw CliErrors[_0x551f85(0xb4)](_0x551f85(0xaf)+describeConfiguredRegion(_0x32531a)+_0x551f85(0x96),_0x551f85(0xb0)+CLI_BIN_NAME+_0x551f85(0xb5));return normalizeLovrabetRegion(_0x32531a)??DEFAULT_LOVRABET_REGION;}export function isRoutingRecoveryService(_0x183441){const _0x541b51=a246_0x5273;return _0x183441==='config'||_0x183441===_0x541b51(0x97);}export async function createContext(_0x5a028a){const _0x3db864=a246_0x5273,{config:_0x3d3cd5,layers:_0x3d56bf}=readRawConfigWithLayers(),_0x40047c=buildConfig(_0x3d3cd5,_0x5a028a,_0x3d56bf);await initGlobalEnvironment(_0x40047c);const {getUserDomain:_0x5340d2,getApiDomain:_0x30f582}=await import('./constant/domain.js'),_0x48118={'apiDomain':_0x30f582(),'userDomain':_0x5340d2()},_0x557e7e=await buildAuth(_0x40047c);logger[_0x3db864(0xbf)](process[_0x3db864(0xca)]());const _0x226a3c=(CLI_BIN_NAME+'\x20'+process['argv']['slice'](0x2)[_0x3db864(0xcd)]('\x20'))[_0x3db864(0xad)]();logger[_0x3db864(0xc0)](_0x226a3c);const {isNonInteractive:_0x5bd6c9}=await import(_0x3db864(0xbe)),_0x2265d8=_0x5bd6c9(_0x5a028a);return{'config':_0x40047c,'auth':_0x557e7e,'logger':logger,'env':_0x48118,'nonInteractive':_0x2265d8};}export function buildConfigFromFlags(_0x31ebed){const {config:_0xd77692,layers:_0xbb691d}=readRawConfigWithLayers();return buildConfig(_0xd77692,_0x31ebed,_0xbb691d);}export async function initGlobalEnvironment(_0xc9ac12){const _0xa9ffcc=a246_0x5273,_0x18517c=resolveConfiguredRegion(_0xc9ac12[_0xa9ffcc(0x9b)]?.[_0xa9ffcc(0xc4)]),_0x3daadb=resolveEnterpriseRoutingManifest(_0xc9ac12['raw']?.[_0xa9ffcc(0x9c)]),_0x1161ad={'region':_0x18517c,'apiDomain':_0x3daadb?_0x3daadb[_0xa9ffcc(0x9d)][_0xa9ffcc(0xa2)]:optionalString(_0xc9ac12['raw']?.[_0xa9ffcc(0xa2)]),'userDomain':_0x3daadb?_0x3daadb[_0xa9ffcc(0x9d)][_0xa9ffcc(0xaa)]:optionalString(_0xc9ac12['raw']?.['userDomain']),'runtimeDomain':_0x3daadb?_0x3daadb['domains']['runtimeDomain']:optionalString(_0xc9ac12[_0xa9ffcc(0x9b)]?.['runtimeDomain']),'skillDomain':_0x3daadb?_0x3daadb[_0xa9ffcc(0x9d)][_0xa9ffcc(0xb3)]:optionalString(_0xc9ac12['raw']?.[_0xa9ffcc(0xb3)])||optionalString(_0xc9ac12[_0xa9ffcc(0x9b)]?.[_0xa9ffcc(0xc7)])||optionalString(_0xc9ac12[_0xa9ffcc(0x9b)]?.[_0xa9ffcc(0xc1)])||optionalString(_0xc9ac12[_0xa9ffcc(0x9b)]?.['platformDomain']),'kbDomain':_0x3daadb?_0x3daadb[_0xa9ffcc(0x9d)]['kbDomain']:optionalString(_0xc9ac12[_0xa9ffcc(0x9b)]?.[_0xa9ffcc(0xb2)])||optionalString(_0xc9ac12[_0xa9ffcc(0x9b)]?.[_0xa9ffcc(0xc1)])||optionalString(_0xc9ac12['raw']?.['platformDomain']),'appDomain':_0x3daadb?_0x3daadb[_0xa9ffcc(0x9d)]['appDomain']:optionalString(_0xc9ac12['raw']?.[_0xa9ffcc(0xd0)]),'localDomain':_0x3daadb?_0x3daadb[_0xa9ffcc(0x9d)]['localDomain']:optionalString(_0xc9ac12[_0xa9ffcc(0x9b)]?.[_0xa9ffcc(0xbb)]),'certificateDomain':_0x3daadb?_0x3daadb[_0xa9ffcc(0x9d)][_0xa9ffcc(0xb8)]:optionalString(_0xc9ac12[_0xa9ffcc(0x9b)]?.[_0xa9ffcc(0xb8)]),'cdn':_0x3daadb?.[_0xa9ffcc(0xc9)]},{initEnv:_0x6befea}=await import(_0xa9ffcc(0xbc)),{initDomains:_0x5841ac}=await import(_0xa9ffcc(0x95));_0x6befea(_0xc9ac12[_0xa9ffcc(0xa4)]),_0x5841ac(_0x1161ad);}export function getConfigAppCode(_0x130cb0){const _0x4a4935=a246_0x5273,_0x5bc80a=readRawConfig(_0x130cb0);if(_0x5bc80a['apps']&&typeof _0x5bc80a['apps']===_0x4a4935(0xac)){const _0x54944b=_0x5bc80a['defaultApp'];if(_0x54944b)return _0x5bc80a['apps'][_0x54944b]?.['appcode']?String(_0x5bc80a[_0x4a4935(0x9f)][_0x54944b]['appcode'])[_0x4a4935(0xad)]():undefined;const _0x1aaebc=Object[_0x4a4935(0xa1)](_0x5bc80a['apps']);if(_0x1aaebc['length']===0x1&&_0x1aaebc[0x0]?.[_0x4a4935(0xcf)])return String(_0x1aaebc[0x0]['appcode'])[_0x4a4935(0xad)]();}const _0x6e96c1=_0x5bc80a[_0x4a4935(0xcf)]||_0x5bc80a[_0x4a4935(0xa0)];if(typeof _0x6e96c1!==_0x4a4935(0xbd)||_0x6e96c1['trim']()==='')return undefined;return _0x6e96c1['trim']();}function a246_0x5273(_0x2316b5,_0x4763cf){_0x2316b5=_0x2316b5-0x95;const _0x1dc6d3=a246_0x1dc6();let _0x527303=_0x1dc6d3[_0x2316b5];return _0x527303;}export function getMultiAppConfigs(_0x47804b=a246_0x1aad2a(0xa6),_0x553858){const _0x3b07fb=a246_0x1aad2a,_0x5a0ef0=loadRawConfigLayers(_0x553858);let _0x59ef08,_0x495fd8;if(_0x47804b==='merged'){const _0x9ba66b=_0x5a0ef0['globalConfig'][_0x3b07fb(0x9f)]&&typeof _0x5a0ef0['globalConfig'][_0x3b07fb(0x9f)]===_0x3b07fb(0xac)?_0x5a0ef0['globalConfig'][_0x3b07fb(0x9f)]:{},_0x2b14c8=_0x5a0ef0[_0x3b07fb(0xcc)]['apps']&&typeof _0x5a0ef0[_0x3b07fb(0xcc)][_0x3b07fb(0x9f)]===_0x3b07fb(0xac)?_0x5a0ef0[_0x3b07fb(0xcc)][_0x3b07fb(0x9f)]:{};_0x59ef08={..._0x9ba66b,..._0x2b14c8};const _0x25cadf=readRawConfig(_0x553858);_0x495fd8=_0x25cadf[_0x3b07fb(0xd1)];}else _0x59ef08=_0x5a0ef0[_0x3b07fb(0xcc)][_0x3b07fb(0x9f)],_0x495fd8=_0x5a0ef0['projectConfig']['defaultApp'];!_0x495fd8&&_0x59ef08&&typeof _0x59ef08==='object'&&Object[_0x3b07fb(0xae)](_0x59ef08)['length']===0x1&&(_0x495fd8=Object['keys'](_0x59ef08)[0x0]);if(!_0x59ef08||typeof _0x59ef08!==_0x3b07fb(0xac)||Object['keys'](_0x59ef08)[_0x3b07fb(0xc6)]===0x0)return null;return Object[_0x3b07fb(0x98)](_0x59ef08)[_0x3b07fb(0xc3)](([_0x42574f,_0x7c383a])=>({'name':_0x42574f,'appcode':_0x7c383a?.[_0x3b07fb(0xcf)]||'','isDefault':_0x42574f===_0x495fd8,'env':_0x7c383a?.['env'],'apiDir':_0x7c383a?.[_0x3b07fb(0xa9)],'cookie':_0x7c383a?.[_0x3b07fb(0x99)]||undefined}))['filter'](_0x13dbf8=>_0x13dbf8[_0x3b07fb(0xcf)]);}export function getTemplateBaseUrl(_0x1e4632){const _0x2c4240=a246_0x1aad2a,_0x79e603=readRawConfig(_0x1e4632);if(_0x79e603[_0x2c4240(0xce)]&&typeof _0x79e603[_0x2c4240(0xce)]===_0x2c4240(0xbd))return _0x79e603['template_base_url'][_0x2c4240(0xba)](/\/$/,'');return _0x2c4240(0xc5);}function buildConfig(_0x125218,_0x3acd83,_0x4b213c){return{...resolveAppConfig({'raw':_0x125218,'flags':_0x3acd83,'layers':_0x4b213c,'readEnv':env}),'raw':_0x125218};}export function resolveApiFilePath(_0x458ecd,_0x329711){const _0x18a118=a246_0x1aad2a,_0x44be56=resolve(process['cwd'](),_0x458ecd),_0x55af1d=resolve(_0x44be56,_0x18a118(0xb9));if(!_0x329711)return _0x55af1d;const _0x413fc0=readRawConfig(),_0x44c297=_0x413fc0[_0x18a118(0x9f)]&&typeof _0x413fc0[_0x18a118(0x9f)]===_0x18a118(0xac)?_0x413fc0['apps']:{},_0x5061d1=Object['entries'](_0x44c297)[_0x18a118(0xa8)](([,_0x5b8e60])=>_0x5b8e60?.[_0x18a118(0xcf)]===_0x329711);if(!_0x5061d1)return _0x55af1d;const [_0xaff9fc,_0x3e618d]=_0x5061d1,_0x33cf22=typeof _0x413fc0[_0x18a118(0xd1)]===_0x18a118(0xbd)?_0x413fc0[_0x18a118(0xd1)]:undefined;if(_0x3e618d?.[_0x18a118(0xa9)])return _0x55af1d;if(_0x33cf22&&_0xaff9fc!==_0x33cf22)return resolve(_0x44be56,_0xaff9fc+'-api.ts');return _0x55af1d;}
@@ -1 +1 @@
1
- (function(_0x3ed1ad,_0x4f94a5){const _0x542b74=a234_0x3134,_0x4736c0=_0x3ed1ad();while(!![]){try{const _0x4a572d=-parseInt(_0x542b74(0xef))/0x1*(-parseInt(_0x542b74(0xe6))/0x2)+parseInt(_0x542b74(0xea))/0x3+parseInt(_0x542b74(0xe0))/0x4+parseInt(_0x542b74(0xe9))/0x5*(-parseInt(_0x542b74(0xf1))/0x6)+parseInt(_0x542b74(0xf2))/0x7*(-parseInt(_0x542b74(0xf0))/0x8)+-parseInt(_0x542b74(0xee))/0x9*(parseInt(_0x542b74(0xe4))/0xa)+parseInt(_0x542b74(0xec))/0xb;if(_0x4a572d===_0x4f94a5)break;else _0x4736c0['push'](_0x4736c0['shift']());}catch(_0x1b6324){_0x4736c0['push'](_0x4736c0['shift']());}}}(a234_0x4e8a,0xc833a));function a234_0x4e8a(){const _0x263316=['get','exec','5527864RJJGPN','has','push','set','72130GrMGgO','datasetCode','1573934dGDDMr','cwd','api.ts','1005fOKraz','1738824oPHEgP','find','1721005IYLxBJ','utf-8','270tGIeVx','1TejaIW','2240TfIjJp','31080aSkmsH','20685cJQfVf'];a234_0x4e8a=function(){return _0x263316;};return a234_0x4e8a();}import{readFileSync,existsSync}from'node:fs';import{resolve}from'node:path';const cache=new Map();function a234_0x3134(_0x357afe,_0x597131){_0x357afe=_0x357afe-0xe0;const _0x4e8a3a=a234_0x4e8a();let _0x3134af=_0x4e8a3a[_0x357afe];return _0x3134af;}function parseApiFile(_0x69b07f){const _0xaeee31=a234_0x3134,_0x565b10=[],_0x18be70=/\{\s*datasetCode:\s*"([^"]+)"\s*,\s*tableName:\s*"([^"]+)"\s*,\s*name:\s*"([^"]*?)"\s*,\s*alias:\s*"([^"]+)"\s*,?\s*\}/g;let _0x521d10;while((_0x521d10=_0x18be70[_0xaeee31(0xf4)](_0x69b07f))!==null){_0x565b10[_0xaeee31(0xe2)]({'datasetCode':_0x521d10[0x1],'tableName':_0x521d10[0x2],'name':_0x521d10[0x3],'alias':_0x521d10[0x4]});}return _0x565b10;}export function loadAliasMap(_0x41f2b7,_0x2982d7,_0xddedca){const _0x49fff3=a234_0x3134,_0x1893b9=_0xddedca??resolve(process[_0x49fff3(0xe7)](),_0x41f2b7,_0x49fff3(0xe8));if(cache[_0x49fff3(0xe1)](_0x1893b9))return cache[_0x49fff3(0xf3)](_0x1893b9);if(!existsSync(_0x1893b9))return cache[_0x49fff3(0xe3)](_0x1893b9,[]),[];try{const _0x205a1d=readFileSync(_0x1893b9,_0x49fff3(0xed)),_0x23aab8=parseApiFile(_0x205a1d);return cache['set'](_0x1893b9,_0x23aab8),_0x23aab8;}catch{return cache[_0x49fff3(0xe3)](_0x1893b9,[]),[];}}export function resolveAlias(_0x17947d,_0x2ed18f,_0x3bf810,_0x150433){const _0x2da7b1=a234_0x3134;if(!_0x2ed18f)return undefined;const _0x5050d3=loadAliasMap(_0x17947d,_0x3bf810,_0x150433),_0x26a54c=_0x5050d3[_0x2da7b1(0xeb)](_0x9c2ba9=>_0x9c2ba9['alias']===_0x2ed18f);return _0x26a54c?.[_0x2da7b1(0xe5)];}export function listAliases(_0x198937,_0x1c6dfd,_0x383c09){return loadAliasMap(_0x198937,_0x1c6dfd,_0x383c09);}
1
+ (function(_0x1d0633,_0x18e680){const _0x4fb319=a247_0x1fc6,_0x4151c0=_0x1d0633();while(!![]){try{const _0x1a68a9=parseInt(_0x4fb319(0xe4))/0x1+parseInt(_0x4fb319(0xee))/0x2*(-parseInt(_0x4fb319(0xf0))/0x3)+-parseInt(_0x4fb319(0xec))/0x4+-parseInt(_0x4fb319(0xe8))/0x5+parseInt(_0x4fb319(0xe1))/0x6+-parseInt(_0x4fb319(0xe3))/0x7+-parseInt(_0x4fb319(0xe6))/0x8*(-parseInt(_0x4fb319(0xe0))/0x9);if(_0x1a68a9===_0x18e680)break;else _0x4151c0['push'](_0x4151c0['shift']());}catch(_0x191ced){_0x4151c0['push'](_0x4151c0['shift']());}}}(a247_0x2eda,0x7d05d));import{readFileSync,existsSync}from'node:fs';function a247_0x1fc6(_0x58ef67,_0x4a3c8d){_0x58ef67=_0x58ef67-0xe0;const _0x2eda17=a247_0x2eda();let _0x1fc665=_0x2eda17[_0x58ef67];return _0x1fc665;}import{resolve}from'node:path';const cache=new Map();function parseApiFile(_0x36c310){const _0x485d85=a247_0x1fc6,_0x51498c=[],_0x56d54e=/\{\s*datasetCode:\s*"([^"]+)"\s*,\s*tableName:\s*"([^"]+)"\s*,\s*name:\s*"([^"]*?)"\s*,\s*alias:\s*"([^"]+)"\s*,?\s*\}/g;let _0x31c625;while((_0x31c625=_0x56d54e[_0x485d85(0xe7)](_0x36c310))!==null){_0x51498c[_0x485d85(0xe2)]({'datasetCode':_0x31c625[0x1],'tableName':_0x31c625[0x2],'name':_0x31c625[0x3],'alias':_0x31c625[0x4]});}return _0x51498c;}export function loadAliasMap(_0x5bff7a,_0x4c9f8e,_0x42b287){const _0x6ad354=a247_0x1fc6,_0x23952d=_0x42b287??resolve(process[_0x6ad354(0xed)](),_0x5bff7a,_0x6ad354(0xe5));if(cache[_0x6ad354(0xea)](_0x23952d))return cache['get'](_0x23952d);if(!existsSync(_0x23952d))return cache[_0x6ad354(0xe9)](_0x23952d,[]),[];try{const _0x52a29b=readFileSync(_0x23952d,_0x6ad354(0xeb)),_0x767b6e=parseApiFile(_0x52a29b);return cache[_0x6ad354(0xe9)](_0x23952d,_0x767b6e),_0x767b6e;}catch{return cache[_0x6ad354(0xe9)](_0x23952d,[]),[];}}export function resolveAlias(_0x12334a,_0x561c18,_0x531e70,_0x5b02ba){const _0x4b8ef5=a247_0x1fc6;if(!_0x561c18)return undefined;const _0x226cbb=loadAliasMap(_0x12334a,_0x531e70,_0x5b02ba),_0x355a00=_0x226cbb['find'](_0x37e1b5=>_0x37e1b5['alias']===_0x561c18);return _0x355a00?.[_0x4b8ef5(0xef)];}export function listAliases(_0x52e09c,_0x13911f,_0x25fc9d){return loadAliasMap(_0x52e09c,_0x13911f,_0x25fc9d);}function a247_0x2eda(){const _0x79aefc=['81040DHhwaK','exec','2877735wPusLg','set','has','utf-8','2557180VUHWvS','cwd','2VGLaBs','datasetCode','2973228Efeogd','1233xdYdZt','4031808eCAxoU','push','1375360cIKNvu','854713JBmcXd','api.ts'];a247_0x2eda=function(){return _0x79aefc;};return a247_0x2eda();}
@@ -452,7 +452,53 @@ export interface DeploymentSyncItem {
452
452
  export interface DeploymentSyncResult {
453
453
  items: DeploymentSyncItem[];
454
454
  }
455
+ export interface DeploymentSyncJobItem {
456
+ bizType: string;
457
+ code: string;
458
+ action: string;
459
+ [key: string]: unknown;
460
+ }
461
+ export interface DeploymentSyncJob {
462
+ jobId: number;
463
+ status: string;
464
+ results: DeploymentSyncJobItem[];
465
+ [key: string]: unknown;
466
+ }
467
+ export type DeploymentSyncSubmission = {
468
+ outcome: "submitted";
469
+ job: DeploymentSyncJob;
470
+ } | {
471
+ outcome: "not_needed";
472
+ };
473
+ export interface DeploymentSyncJobSummary {
474
+ jobId: number;
475
+ appCode: string;
476
+ status: string;
477
+ [key: string]: unknown;
478
+ }
479
+ export interface DeploymentSyncJobsPage {
480
+ items: DeploymentSyncJobSummary[];
481
+ paging: {
482
+ currentPage: number;
483
+ pageSize: number;
484
+ totalCount: number;
485
+ totalPages: number;
486
+ };
487
+ }
455
488
  export declare function syncDeploymentMetadata(input: DeploymentSyncInput): Promise<DeploymentSyncResult>;
489
+ export declare function submitDeploymentMetadataSyncAll(input: {
490
+ appCode: string;
491
+ }): Promise<DeploymentSyncSubmission>;
492
+ export declare function getDeploymentMetadataSyncStatus(input: {
493
+ jobId: number;
494
+ appCode: string;
495
+ }): Promise<DeploymentSyncJob>;
496
+ export declare function listDeploymentMetadataSyncJobs(input: {
497
+ appCode: string;
498
+ currentPage: number;
499
+ pageSize: number;
500
+ status?: string;
501
+ }): Promise<DeploymentSyncJobsPage>;
456
502
  export type RecycleBinResourceType = "DATASET";
457
503
  export interface RecycleBinResourceLog {
458
504
  id: number;
@@ -972,6 +1018,73 @@ export interface DbAnalysisStatus {
972
1018
  endTime?: number | string | null;
973
1019
  [key: string]: unknown;
974
1020
  }
1021
+ export type InstantApiPolicyAction = "allow" | "deny" | "route";
1022
+ export interface InstantApiPolicyDatasetTarget {
1023
+ datasetCode?: string | null;
1024
+ tableName?: string | null;
1025
+ }
1026
+ export interface InstantApiPolicyRule {
1027
+ name: string;
1028
+ description?: string | null;
1029
+ datasets: InstantApiPolicyDatasetTarget[];
1030
+ apis: string[];
1031
+ action: InstantApiPolicyAction | string;
1032
+ backendFunction?: string | null;
1033
+ }
1034
+ export interface InstantApiPolicyConfig {
1035
+ /** Policy document schema version. This is distinct from the published revision. */
1036
+ version: string;
1037
+ appCode: string;
1038
+ defaults: {
1039
+ instantApi: "allow" | "deny" | string;
1040
+ };
1041
+ rules?: InstantApiPolicyRule[] | null;
1042
+ }
1043
+ export interface InstantApiPolicy {
1044
+ id: number;
1045
+ appCode: string;
1046
+ revision: number;
1047
+ config: InstantApiPolicyConfig;
1048
+ configHash: string;
1049
+ enabled: boolean;
1050
+ createUserId?: string | null;
1051
+ updateUserId?: string | null;
1052
+ gmtCreate?: string | null;
1053
+ gmtModified?: string | null;
1054
+ }
1055
+ export interface InstantApiPolicyValidation {
1056
+ valid: boolean;
1057
+ configHash: string;
1058
+ normalizedConfig: InstantApiPolicyConfig;
1059
+ }
1060
+ export interface InstantApiPolicyRevision {
1061
+ id: number;
1062
+ policyId: number;
1063
+ appCode: string;
1064
+ revision: number;
1065
+ config: InstantApiPolicyConfig;
1066
+ configHash: string;
1067
+ changeType: "PUBLISH" | "ROLLBACK" | string;
1068
+ changeSummary?: string | null;
1069
+ operatorId?: string | null;
1070
+ gmtCreate?: string | null;
1071
+ }
1072
+ export interface InstantApiPolicyPublishInput {
1073
+ appCode: string;
1074
+ config: InstantApiPolicyConfig;
1075
+ changeSummary?: string;
1076
+ }
1077
+ export interface InstantApiPolicyRollbackInput {
1078
+ appCode: string;
1079
+ revision: number;
1080
+ changeSummary?: string;
1081
+ }
1082
+ export declare function getCurrentInstantApiPolicy(appCode: string): Promise<InstantApiPolicy | null>;
1083
+ export declare function validateInstantApiPolicy(input: InstantApiPolicyPublishInput): Promise<InstantApiPolicyValidation>;
1084
+ export declare function publishInstantApiPolicy(input: InstantApiPolicyPublishInput): Promise<InstantApiPolicy>;
1085
+ export declare function listInstantApiPolicyRevisions(appCode: string): Promise<InstantApiPolicyRevision[]>;
1086
+ export declare function getInstantApiPolicyRevision(appCode: string, revision: number): Promise<InstantApiPolicyRevision>;
1087
+ export declare function rollbackInstantApiPolicy(input: InstantApiPolicyRollbackInput): Promise<InstantApiPolicy>;
975
1088
  export type NotificationChannelType = "EMAIL" | "FEISHU" | "DINGTALK" | "WECOM" | "WEBHOOK";
976
1089
  export interface NotificationChannelConfigItem {
977
1090
  id?: number | null;
@@ -1105,6 +1218,7 @@ export interface RoleUserRef {
1105
1218
  }
1106
1219
  export interface RoleUsers {
1107
1220
  id: number;
1221
+ roleCode: string;
1108
1222
  roleName: string;
1109
1223
  roleType: "ADMIN" | "DEV" | "OWNER" | "CUSTOM";
1110
1224
  userList: RoleUserRef[];