@lovrabet/rabetbase-cli 2.5.12-beta.1 → 2.5.12

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 (376) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/api-group.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/api/legacy-api-file.js +1 -1
  7. package/lib/api/model-registry-file.js +1 -1
  8. package/lib/api/model-registry-scaffold.js +1 -1
  9. package/lib/api/model-source.js +1 -1
  10. package/lib/auth/auth-server-ui.js +1 -1
  11. package/lib/auth/auth-server.js +1 -1
  12. package/lib/auth/constant.js +1 -1
  13. package/lib/auth/get-cookie.js +1 -1
  14. package/lib/auth/get-session-user.js +1 -1
  15. package/lib/auth/is-session-valid.js +1 -1
  16. package/lib/auth/login-success-html.js +1 -1
  17. package/lib/auth/logout.js +1 -1
  18. package/lib/cli-flags.js +1 -1
  19. package/lib/cli.js +1 -1
  20. package/lib/commands/api/generate.js +1 -1
  21. package/lib/commands/api/index.js +1 -1
  22. package/lib/commands/api/list.js +1 -1
  23. package/lib/commands/api/pull.js +1 -1
  24. package/lib/commands/api/shared.js +1 -1
  25. package/lib/commands/app/detail.js +1 -1
  26. package/lib/commands/app/index.js +1 -1
  27. package/lib/commands/app/list.js +1 -1
  28. package/lib/commands/app/members-list.js +1 -1
  29. package/lib/commands/app/remote-directory.js +1 -1
  30. package/lib/commands/app/shared.js +1 -1
  31. package/lib/commands/app-config/delete.js +1 -1
  32. package/lib/commands/app-config/get.js +1 -1
  33. package/lib/commands/app-config/index.js +1 -1
  34. package/lib/commands/app-config/list.js +1 -1
  35. package/lib/commands/app-config/set.js +1 -1
  36. package/lib/commands/app-config/shared.js +1 -1
  37. package/lib/commands/auth/index.js +1 -1
  38. package/lib/commands/bff/create.js +1 -1
  39. package/lib/commands/bff/delete.js +1 -1
  40. package/lib/commands/bff/detail.js +1 -1
  41. package/lib/commands/bff/index.js +1 -1
  42. package/lib/commands/bff/list.js +1 -1
  43. package/lib/commands/bff/logs.js +1 -1
  44. package/lib/commands/bff/pull.js +1 -1
  45. package/lib/commands/bff/push.js +1 -1
  46. package/lib/commands/bff/status.js +1 -1
  47. package/lib/commands/cli-skill/index.js +1 -1
  48. package/lib/commands/cli-update.js +1 -1
  49. package/lib/commands/codegen/index.js +1 -1
  50. package/lib/commands/codegen/sdk.js +1 -1
  51. package/lib/commands/codegen/sql.js +1 -1
  52. package/lib/commands/common/app-registry.js +1 -1
  53. package/lib/commands/common/app-selector.js +1 -1
  54. package/lib/commands/common/async-task.js +1 -1
  55. package/lib/commands/common/dry-run.js +1 -1
  56. package/lib/commands/common/flags.js +1 -1
  57. package/lib/commands/common/local-file.js +1 -1
  58. package/lib/commands/common/validate.js +1 -1
  59. package/lib/commands/config/delete.js +1 -1
  60. package/lib/commands/config/get.js +1 -1
  61. package/lib/commands/config/index.js +1 -1
  62. package/lib/commands/config/init.js +1 -1
  63. package/lib/commands/config/list.js +1 -1
  64. package/lib/commands/config/set.js +1 -1
  65. package/lib/commands/config/shared.js +1 -1
  66. package/lib/commands/dataset/batch-design.js +1 -1
  67. package/lib/commands/dataset/business-group-update.js +1 -1
  68. package/lib/commands/dataset/business-groups.js +1 -1
  69. package/lib/commands/dataset/capability.js +1 -1
  70. package/lib/commands/dataset/cross-relation-create.js +1 -1
  71. package/lib/commands/dataset/cross-relation-delete.js +1 -1
  72. package/lib/commands/dataset/cross-relation-list.js +1 -1
  73. package/lib/commands/dataset/cross-relation-shared.js +1 -1
  74. package/lib/commands/dataset/cross-relation-update.js +1 -1
  75. package/lib/commands/dataset/delete.js +1 -1
  76. package/lib/commands/dataset/design-context.js +1 -1
  77. package/lib/commands/dataset/design-start.js +1 -1
  78. package/lib/commands/dataset/design-status.js +1 -1
  79. package/lib/commands/dataset/design-sync-retry.js +1 -1
  80. package/lib/commands/dataset/design-sync-status.js +1 -1
  81. package/lib/commands/dataset/design-validate.js +1 -1
  82. package/lib/commands/dataset/detail.js +1 -1
  83. package/lib/commands/dataset/extend-update.js +1 -1
  84. package/lib/commands/dataset/field-restore.js +1 -1
  85. package/lib/commands/dataset/field-update.js +1 -1
  86. package/lib/commands/dataset/generate.js +1 -1
  87. package/lib/commands/dataset/index.js +1 -1
  88. package/lib/commands/dataset/list.js +1 -1
  89. package/lib/commands/dataset/operations.js +1 -1
  90. package/lib/commands/dataset/relation-audit.js +1 -1
  91. package/lib/commands/dataset/relation-create.js +1 -1
  92. package/lib/commands/dataset/relation-delete.js +1 -1
  93. package/lib/commands/dataset/relation-shared.js +1 -1
  94. package/lib/commands/dataset/relation-update.js +1 -1
  95. package/lib/commands/dataset/relations.js +1 -1
  96. package/lib/commands/dataset/rename.js +1 -1
  97. package/lib/commands/dataset/restore.js +1 -1
  98. package/lib/commands/dataset/user-deleted-field-list.js +1 -1
  99. package/lib/commands/db/analysis-batching.js +1 -1
  100. package/lib/commands/db/analyze-batch-plan.js +1 -1
  101. package/lib/commands/db/analyze-cancel.js +1 -1
  102. package/lib/commands/db/analyze-start.js +1 -1
  103. package/lib/commands/db/analyze-status.js +1 -1
  104. package/lib/commands/db/create.js +1 -1
  105. package/lib/commands/db/cross-db-analysis-shared.js +1 -1
  106. package/lib/commands/db/cross-db-analyze-latest.js +1 -1
  107. package/lib/commands/db/cross-db-analyze-start.js +1 -1
  108. package/lib/commands/db/cross-db-analyze-status.js +1 -1
  109. package/lib/commands/db/delete.js +1 -1
  110. package/lib/commands/db/detail.js +1 -1
  111. package/lib/commands/db/diff-refresh-start.js +1 -1
  112. package/lib/commands/db/diff-refresh-status.js +1 -1
  113. package/lib/commands/db/diff.js +1 -1
  114. package/lib/commands/db/index.js +1 -1
  115. package/lib/commands/db/list.js +1 -1
  116. package/lib/commands/db/shared.js +1 -1
  117. package/lib/commands/db/table-diff-shared.js +1 -1
  118. package/lib/commands/db/tables.js +1 -1
  119. package/lib/commands/db/test.js +1 -1
  120. package/lib/commands/db/update.js +1 -1
  121. package/lib/commands/deployment/index.js +1 -1
  122. package/lib/commands/deployment/sync-all.js +1 -1
  123. package/lib/commands/deployment/sync-jobs.js +1 -1
  124. package/lib/commands/deployment/sync-status.js +1 -1
  125. package/lib/commands/doctor.js +1 -1
  126. package/lib/commands/file/index.js +1 -1
  127. package/lib/commands/flow/create.js +1 -1
  128. package/lib/commands/flow/detail.js +1 -1
  129. package/lib/commands/flow/index.js +1 -1
  130. package/lib/commands/flow/list.js +1 -1
  131. package/lib/commands/flow/page-list.js +1 -1
  132. package/lib/commands/flow/publish.js +1 -1
  133. package/lib/commands/flow/runtime-resources-shared.js +1 -1
  134. package/lib/commands/flow/runtime-role-list.js +1 -1
  135. package/lib/commands/flow/runtime-role-user-list.js +1 -1
  136. package/lib/commands/flow/runtime-user-search.js +1 -1
  137. package/lib/commands/flow/shared.js +1 -1
  138. package/lib/commands/flow/update.js +1 -1
  139. package/lib/commands/flow/validate.js +1 -1
  140. package/lib/commands/instant-api-policy/current.js +1 -1
  141. package/lib/commands/instant-api-policy/index.js +1 -1
  142. package/lib/commands/instant-api-policy/init.js +1 -1
  143. package/lib/commands/instant-api-policy/publish.js +1 -1
  144. package/lib/commands/instant-api-policy/pull.js +1 -1
  145. package/lib/commands/instant-api-policy/revision.js +1 -1
  146. package/lib/commands/instant-api-policy/revisions.js +1 -1
  147. package/lib/commands/instant-api-policy/rollback.js +1 -1
  148. package/lib/commands/instant-api-policy/shared.js +1 -1
  149. package/lib/commands/instant-api-policy/validate.js +1 -1
  150. package/lib/commands/issue/context.js +1 -1
  151. package/lib/commands/issue/index.js +1 -1
  152. package/lib/commands/issue/nudge.js +1 -1
  153. package/lib/commands/issue/report.js +1 -1
  154. package/lib/commands/kb/create.js +1 -1
  155. package/lib/commands/kb/delete.js +1 -1
  156. package/lib/commands/kb/detail.js +1 -1
  157. package/lib/commands/kb/index.js +1 -1
  158. package/lib/commands/kb/list.js +1 -1
  159. package/lib/commands/kb/search.js +1 -1
  160. package/lib/commands/kb/shared.js +1 -1
  161. package/lib/commands/kb/update.js +1 -1
  162. package/lib/commands/logs/index.js +1 -1
  163. package/lib/commands/menu/asset-update.js +1 -1
  164. package/lib/commands/menu/delete.js +1 -1
  165. package/lib/commands/menu/external-link-create.js +1 -1
  166. package/lib/commands/menu/external-link-update.js +1 -1
  167. package/lib/commands/menu/group-create.js +1 -1
  168. package/lib/commands/menu/group-update.js +1 -1
  169. package/lib/commands/menu/index.js +1 -1
  170. package/lib/commands/menu/list.js +1 -1
  171. package/lib/commands/menu/move.js +1 -1
  172. package/lib/commands/menu/regroup-start.js +1 -1
  173. package/lib/commands/menu/rename.js +1 -1
  174. package/lib/commands/menu/shared/compare-table.js +1 -1
  175. package/lib/commands/menu/shared/delete-plan.js +1 -1
  176. package/lib/commands/menu/shared/facts.js +1 -1
  177. package/lib/commands/menu/shared/index.js +1 -1
  178. package/lib/commands/menu/shared/inquirer.js +1 -1
  179. package/lib/commands/menu/shared/local-pages.js +1 -1
  180. package/lib/commands/menu/shared/logic.js +1 -1
  181. package/lib/commands/menu/shared/mutations.js +1 -1
  182. package/lib/commands/menu/shared/path.js +1 -1
  183. package/lib/commands/menu/shared/service.js +1 -1
  184. package/lib/commands/menu/shared/subapp-assets.js +1 -1
  185. package/lib/commands/menu/shared/sync-core.js +1 -1
  186. package/lib/commands/menu/shared/update-core.js +1 -1
  187. package/lib/commands/menu/shared/valid-url.js +1 -1
  188. package/lib/commands/menu/subapp-assets-status.js +1 -1
  189. package/lib/commands/menu/subapp-assets-update.js +1 -1
  190. package/lib/commands/menu/sync.js +1 -1
  191. package/lib/commands/menu/visibility-update.js +1 -1
  192. package/lib/commands/notification/config-create.js +1 -1
  193. package/lib/commands/notification/config-delete.js +1 -1
  194. package/lib/commands/notification/config-list.js +1 -1
  195. package/lib/commands/notification/config-update.js +1 -1
  196. package/lib/commands/notification/index.js +1 -1
  197. package/lib/commands/notification/shared.js +1 -1
  198. package/lib/commands/ocr/index.js +1 -1
  199. package/lib/commands/page/create.js +1 -1
  200. package/lib/commands/page/custom/detail.js +1 -1
  201. package/lib/commands/page/custom/list.js +1 -1
  202. package/lib/commands/page/custom/publish.js +1 -1
  203. package/lib/commands/page/custom/shared.js +1 -1
  204. package/lib/commands/page/custom/syntax.js +1 -1
  205. package/lib/commands/page/custom/update.js +1 -1
  206. package/lib/commands/page/data-list-status.js +1 -1
  207. package/lib/commands/page/generate-start.js +1 -1
  208. package/lib/commands/page/generate-status.js +1 -1
  209. package/lib/commands/page/index.js +1 -1
  210. package/lib/commands/page/pull.js +1 -1
  211. package/lib/commands/page/push.js +1 -1
  212. package/lib/commands/page/relation-audit.js +1 -1
  213. package/lib/commands/page/restore.js +1 -1
  214. package/lib/commands/page/shared.js +1 -1
  215. package/lib/commands/page/sync.js +1 -1
  216. package/lib/commands/project/api-architecture-upgrade.js +1 -1
  217. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  218. package/lib/commands/project/create/format-elapsed.js +1 -1
  219. package/lib/commands/project/create/main.js +1 -1
  220. package/lib/commands/project/create/materialize-project-template.js +1 -1
  221. package/lib/commands/project/create/project-name.js +1 -1
  222. package/lib/commands/project/create/project-template-archive.js +1 -1
  223. package/lib/commands/project/create/project-template-path.js +1 -1
  224. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  225. package/lib/commands/project/create/use-format-code.js +1 -1
  226. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  227. package/lib/commands/project/domain-routing-sync.js +1 -1
  228. package/lib/commands/project/index.js +1 -1
  229. package/lib/commands/project/upgrade.js +1 -1
  230. package/lib/commands/registry.js +1 -1
  231. package/lib/commands/role/delete.js +1 -1
  232. package/lib/commands/role/detail.js +1 -1
  233. package/lib/commands/role/index.js +1 -1
  234. package/lib/commands/role/list.js +1 -1
  235. package/lib/commands/role/shared.js +1 -1
  236. package/lib/commands/role/update.js +1 -1
  237. package/lib/commands/role/user-add.js +1 -1
  238. package/lib/commands/role/user-remove.js +1 -1
  239. package/lib/commands/role/user-resolve.js +1 -1
  240. package/lib/commands/rule/get.js +1 -1
  241. package/lib/commands/rule/index.js +1 -1
  242. package/lib/commands/rule/list.js +1 -1
  243. package/lib/commands/rule/set.js +1 -1
  244. package/lib/commands/rule/shared.js +1 -1
  245. package/lib/commands/run/index.js +1 -1
  246. package/lib/commands/schema.js +1 -1
  247. package/lib/commands/sql/create.js +1 -1
  248. package/lib/commands/sql/delete.js +1 -1
  249. package/lib/commands/sql/detail.js +1 -1
  250. package/lib/commands/sql/exec.js +1 -1
  251. package/lib/commands/sql/index.js +1 -1
  252. package/lib/commands/sql/list.js +1 -1
  253. package/lib/commands/sql/pull.js +1 -1
  254. package/lib/commands/sql/push.js +1 -1
  255. package/lib/commands/sql/shared.js +1 -1
  256. package/lib/commands/sql/status.js +1 -1
  257. package/lib/commands/sql/validate.js +1 -1
  258. package/lib/commands/task/index.js +1 -1
  259. package/lib/commands/task/status.js +1 -1
  260. package/lib/commands/tenant/index.js +1 -1
  261. package/lib/commands/tenant/members-list.js +1 -1
  262. package/lib/commands/tenant/shared.js +1 -1
  263. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  264. package/lib/commands/user-account/feishu-bind.js +1 -1
  265. package/lib/commands/user-account/index.js +1 -1
  266. package/lib/commands/workspace/add.js +1 -1
  267. package/lib/commands/workspace/index.js +1 -1
  268. package/lib/commands/workspace/remove.js +1 -1
  269. package/lib/config/domain-config.js +1 -1
  270. package/lib/config/project-domain-routing.js +1 -1
  271. package/lib/config/region-config.js +1 -1
  272. package/lib/config/schema.js +1 -1
  273. package/lib/constant/cdn.js +1 -1
  274. package/lib/constant/cli.js +1 -1
  275. package/lib/constant/defaults.js +1 -1
  276. package/lib/constant/domain.js +1 -1
  277. package/lib/constant/env.js +1 -1
  278. package/lib/constant/output.js +1 -1
  279. package/lib/constant/paths.js +1 -1
  280. package/lib/constant/region.js +1 -1
  281. package/lib/constant/risk.js +1 -1
  282. package/lib/constant/routing-profile.js +1 -1
  283. package/lib/context/app-resolver.js +1 -1
  284. package/lib/context/auth-resolver.js +1 -1
  285. package/lib/context/config-loader.js +1 -1
  286. package/lib/context.js +1 -1
  287. package/lib/core/alias-resolver.js +1 -1
  288. package/lib/core/api-client.js +1 -1
  289. package/lib/core/bff/config.js +1 -1
  290. package/lib/core/bff/file-system.js +1 -1
  291. package/lib/core/bff/hash.js +1 -1
  292. package/lib/core/bff/hook-directory.js +1 -1
  293. package/lib/core/bff/lock.js +1 -1
  294. package/lib/core/bff/utils.js +1 -1
  295. package/lib/core/cross-db-analysis.js +1 -1
  296. package/lib/core/cross-db-relation.js +1 -1
  297. package/lib/core/db-resolver.js +1 -1
  298. package/lib/core/flow-config.js +1 -1
  299. package/lib/core/instant-api-policy/config.js +1 -1
  300. package/lib/core/instant-api-policy/endpoints.js +1 -1
  301. package/lib/core/kb-management-client.js +1 -1
  302. package/lib/core/kb-search-client.js +1 -1
  303. package/lib/core/page/file-system.js +1 -1
  304. package/lib/core/page/hash.js +1 -1
  305. package/lib/core/page/lock.js +1 -1
  306. package/lib/core/page/lr-smart-jsx.js +1 -1
  307. package/lib/core/sql-index-auditor.js +1 -1
  308. package/lib/core/sql-sync/config.js +1 -1
  309. package/lib/core/sql-sync/file-system.js +1 -1
  310. package/lib/core/sql-sync/hash.js +1 -1
  311. package/lib/core/sql-sync/lock.js +1 -1
  312. package/lib/core/sql-sync/utils.js +1 -1
  313. package/lib/core/sql-validator.js +1 -1
  314. package/lib/errors.js +1 -1
  315. package/lib/framework/build-all-flags.js +1 -1
  316. package/lib/framework/error-output.js +1 -1
  317. package/lib/framework/explicit-yes.js +1 -1
  318. package/lib/framework/flags.js +1 -1
  319. package/lib/framework/help.js +1 -1
  320. package/lib/framework/index.js +1 -1
  321. package/lib/framework/output.js +1 -1
  322. package/lib/framework/response.js +1 -1
  323. package/lib/framework/runner-alias.js +1 -1
  324. package/lib/framework/runner.js +1 -1
  325. package/lib/framework/schema-export.js +1 -1
  326. package/lib/framework/supported-flags.js +1 -1
  327. package/lib/framework/types.js +1 -1
  328. package/lib/generated/build-info.d.ts +4 -4
  329. package/lib/generated/build-info.js +1 -1
  330. package/lib/generated/official-routing.js +1 -1
  331. package/lib/generated/routing-contract.js +1 -1
  332. package/lib/help.js +1 -1
  333. package/lib/postinstall.js +1 -1
  334. package/lib/runtime/confirmation.js +1 -1
  335. package/lib/runtime/event.js +1 -1
  336. package/lib/runtime/index.js +1 -1
  337. package/lib/runtime/queue.js +1 -1
  338. package/lib/runtime/resolve.js +1 -1
  339. package/lib/services/dataset-design/checkpoint.js +1 -1
  340. package/lib/services/dataset-design/commands.js +1 -1
  341. package/lib/services/dataset-design/contract.js +1 -1
  342. package/lib/skills/builtin-skill.js +1 -1
  343. package/lib/skills/main.js +1 -1
  344. package/lib/skills/npx-skills-add.js +1 -1
  345. package/lib/skills/skill-presence.js +1 -1
  346. package/lib/telemetry/cli-command-trace.js +1 -1
  347. package/lib/telemetry/cli-help-trace.js +1 -1
  348. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  349. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  350. package/lib/telemetry/send-cli-trace-log.js +1 -1
  351. package/lib/utils/ai_config.js +1 -1
  352. package/lib/utils/apply-jq-filter.js +1 -1
  353. package/lib/utils/cdn-config.js +1 -1
  354. package/lib/utils/check-sdk-version.js +1 -1
  355. package/lib/utils/cli-version-check.js +1 -1
  356. package/lib/utils/cli-version-policy.js +1 -1
  357. package/lib/utils/config.js +1 -1
  358. package/lib/utils/entity-with-id.js +1 -1
  359. package/lib/utils/file-utils.js +1 -1
  360. package/lib/utils/guides-cdn.js +1 -1
  361. package/lib/utils/http-client.js +1 -1
  362. package/lib/utils/is-non-interactive.js +1 -1
  363. package/lib/utils/logger.js +1 -1
  364. package/lib/utils/params.js +1 -1
  365. package/lib/utils/platform.js +1 -1
  366. package/lib/utils/sleep.js +1 -1
  367. package/lib/utils/template-replacer.js +1 -1
  368. package/lib/utils/update-notice.js +1 -1
  369. package/lib/utils/version.js +1 -1
  370. package/lib/utils/with-active-cookie.js +1 -1
  371. package/lib/utils/write-cli-side-channel.js +1 -1
  372. package/package.json +1 -1
  373. package/skills/rabetbase/SKILL.md +1 -1
  374. package/skills/rabetbase-dataset-generation/SKILL.md +1 -1
  375. package/skills/rabetbase-page-generation/SKILL.md +1 -1
  376. package/skills/rabetbase.manifest.json +3 -3
@@ -1 +1 @@
1
- const a269_0x4413e1=a269_0x62e1;(function(_0x120eb5,_0x388ae1){const _0x498476=a269_0x62e1,_0x47957c=_0x120eb5();while(!![]){try{const _0xe9b16e=parseInt(_0x498476(0x110))/0x1+-parseInt(_0x498476(0x11a))/0x2+-parseInt(_0x498476(0x117))/0x3+-parseInt(_0x498476(0x108))/0x4+parseInt(_0x498476(0xf3))/0x5+-parseInt(_0x498476(0x10e))/0x6*(-parseInt(_0x498476(0xd7))/0x7)+parseInt(_0x498476(0xf6))/0x8;if(_0xe9b16e===_0x388ae1)break;else _0x47957c['push'](_0x47957c['shift']());}catch(_0x41a714){_0x47957c['push'](_0x47957c['shift']());}}}(a269_0x49b2,0xba17f));import{existsSync,readFileSync}from'node:fs';import{isAbsolute,resolve}from'node:path';import{CliErrors}from'../errors.js';import{ENTERPRISE_ROUTING_CDN_FIELDS,ENTERPRISE_ROUTING_DOMAIN_FIELDS,ENTERPRISE_ROUTING_KIND,ENTERPRISE_ROUTING_PROTOCOL,REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS,REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS}from'../generated/routing-contract.js';export const DOMAIN_CONFIG_FIELDS=[a269_0x4413e1(0xed),a269_0x4413e1(0xf4),'runtimeDomain',a269_0x4413e1(0xde),'kbDomain',a269_0x4413e1(0xfc),'appDomain',a269_0x4413e1(0x100),a269_0x4413e1(0x10b)];const DOMAIN_FLAGS={'userDomain':a269_0x4413e1(0xdd),'apiDomain':a269_0x4413e1(0xdf),'runtimeDomain':a269_0x4413e1(0x11e),'skillDomain':a269_0x4413e1(0x119),'kbDomain':a269_0x4413e1(0xfd),'kbServiceDomain':'kb-service-domain','appDomain':a269_0x4413e1(0xf0),'localDomain':'local-domain','certificateDomain':'certificate-domain'};export const LEGACY_DOMAIN_CONFIG_FIELDS=[a269_0x4413e1(0x11c),'platformDomain',a269_0x4413e1(0x11b)];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':'userDomain','apiDomain':a269_0x4413e1(0xf4),'runtimeDomain':a269_0x4413e1(0xd6),'skillDomain':'skillDomain','kbDomain':a269_0x4413e1(0xfb),'kbServiceDomain':a269_0x4413e1(0xfc),'appDomain':a269_0x4413e1(0x102),'localDomain':a269_0x4413e1(0x100),'certificateDomain':a269_0x4413e1(0x10b)},ROUTING_CONSUMER=a269_0x4413e1(0x114);export function normalizeDomainOrigin(_0x1cb76f,_0x2d8395){const _0x4bae8e=a269_0x4413e1;if(typeof _0x2d8395!==_0x4bae8e(0xd9)||!_0x2d8395[_0x4bae8e(0xe7)]())throw CliErrors[_0x4bae8e(0x10a)](_0x4bae8e(0x106)+_0x1cb76f+_0x4bae8e(0xe3));let _0x36b350;try{_0x36b350=new URL(_0x2d8395[_0x4bae8e(0xe7)]());}catch{throw CliErrors['validation'](_0x4bae8e(0x106)+_0x1cb76f+_0x4bae8e(0x113)+_0x2d8395+_0x4bae8e(0xd5));}if(_0x36b350['protocol']!==_0x4bae8e(0xe6)||_0x36b350[_0x4bae8e(0x101)]||_0x36b350[_0x4bae8e(0x115)]||_0x36b350[_0x4bae8e(0xd2)]!=='/'&&_0x36b350[_0x4bae8e(0xd2)]!==''||_0x36b350[_0x4bae8e(0x103)]||_0x36b350[_0x4bae8e(0x111)])throw CliErrors[_0x4bae8e(0x10a)]('Invalid\x20'+_0x1cb76f+_0x4bae8e(0xdc),'For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.');return _0x36b350[_0x4bae8e(0x10c)];}export function normalizeRoutingDomainValue(_0x52ff27,_0x5ace22){const _0x23e21f=a269_0x4413e1;if(typeof _0x5ace22===_0x23e21f(0xd9))return normalizeDomainOrigin(_0x52ff27,_0x5ace22);if(!_0x5ace22||typeof _0x5ace22!==_0x23e21f(0x116)||Array[_0x23e21f(0x105)](_0x5ace22))throw CliErrors[_0x23e21f(0x10a)](_0x23e21f(0x106)+_0x52ff27+_0x23e21f(0xe9));const _0x14a4e9=_0x5ace22,_0x398943=_0x14a4e9[ROUTING_CONSUMER]??_0x14a4e9[_0x23e21f(0xeb)];if(_0x398943===undefined)throw CliErrors[_0x23e21f(0x10a)](_0x23e21f(0xe8)+_0x52ff27+_0x23e21f(0x107)+ROUTING_CONSUMER+_0x23e21f(0xec));return normalizeDomainOrigin(_0x52ff27,_0x398943);}export function normalizeCdnBaseUrl(_0x3a8c9a,_0x37667a){const _0x495faf=a269_0x4413e1;if(typeof _0x37667a!==_0x495faf(0xd9)||!_0x37667a[_0x495faf(0xe7)]())throw CliErrors[_0x495faf(0x10a)](_0x495faf(0xd0)+_0x3a8c9a+':\x20expected\x20a\x20non-empty\x20HTTPS\x20URL.');const _0x47904c=_0x37667a[_0x495faf(0xe7)]()[_0x495faf(0xe0)](/\/$/,'');let _0x216f0b;try{_0x216f0b=new URL(_0x47904c);}catch{throw CliErrors[_0x495faf(0x10a)](_0x495faf(0xd0)+_0x3a8c9a+_0x495faf(0x113)+_0x37667a+_0x495faf(0xd5));}if(_0x216f0b[_0x495faf(0xf8)]!==_0x495faf(0xe6)||_0x216f0b[_0x495faf(0x101)]||_0x216f0b[_0x495faf(0x115)]||_0x216f0b[_0x495faf(0x103)]||_0x216f0b[_0x495faf(0x111)]||_0x216f0b[_0x495faf(0xda)]['replace'](/\/$/,'')!==_0x47904c||_0x3a8c9a===_0x495faf(0xd3)&&_0x216f0b[_0x495faf(0x10c)]!==_0x47904c)throw CliErrors[_0x495faf(0x10a)](_0x495faf(0xd0)+_0x3a8c9a+_0x495faf(0x112)+(_0x3a8c9a===_0x495faf(0xd3)?_0x495faf(0x10c):_0x495faf(0xef))+'\x20without\x20credentials,\x20query,\x20or\x20fragment.');return _0x47904c;}export function resolveEnterpriseRoutingConfig(_0x32945b){const _0x57d219=a269_0x4413e1;return resolveEnterpriseRoutingManifest(_0x32945b)?.[_0x57d219(0xcf)];}export function resolveEnterpriseRoutingManifest(_0x11ec4d){const _0x11fd44=a269_0x4413e1;if(_0x11ec4d===undefined)return undefined;if(!_0x11ec4d||typeof _0x11ec4d!==_0x11fd44(0x116)||Array[_0x11fd44(0x105)](_0x11ec4d))throw CliErrors['validation']('Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.');return parseEnterpriseRoutingManifest(_0x11ec4d);}export function readDomainConfigInput(_0x3fe7aa){const _0x5bb916=a269_0x4413e1,_0x363968=isAbsolute(_0x3fe7aa)?_0x3fe7aa:resolve(process[_0x5bb916(0xf1)](),_0x3fe7aa);if(!existsSync(_0x363968))throw CliErrors[_0x5bb916(0x10a)](_0x5bb916(0xe1)+_0x363968);let _0x3e72cf;try{_0x3e72cf=JSON[_0x5bb916(0xe2)](readFileSync(_0x363968,'utf8'));}catch{throw CliErrors[_0x5bb916(0x10a)](_0x5bb916(0xd1)+_0x363968);}if(!_0x3e72cf||typeof _0x3e72cf!==_0x5bb916(0x116)||Array['isArray'](_0x3e72cf))throw CliErrors[_0x5bb916(0x10a)]('Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.');const _0x43ee25=_0x3e72cf;if(_0x5bb916(0xf8)in _0x43ee25)return parseEnterpriseRoutingManifest(_0x43ee25);const _0x57608e=Object[_0x5bb916(0xdb)](_0x43ee25)[_0x5bb916(0xf7)](_0xb743f7=>!DOMAIN_CONFIG_FIELDS['includes'](_0xb743f7));if(_0x57608e['length']>0x0)throw CliErrors[_0x5bb916(0x10a)](_0x5bb916(0xd4)+_0x57608e[_0x5bb916(0xe4)](',\x20'),_0x5bb916(0xd8)+DOMAIN_CONFIG_FIELDS[_0x5bb916(0xe4)](',\x20'));const _0x2fa5c0={};for(const _0x1eac9d of DOMAIN_CONFIG_FIELDS){_0x43ee25[_0x1eac9d]!==undefined&&(_0x2fa5c0[_0x1eac9d]=normalizeDomainOrigin(_0x1eac9d,_0x43ee25[_0x1eac9d]));}if(Object[_0x5bb916(0xdb)](_0x2fa5c0)[_0x5bb916(0xfe)]===0x0)throw CliErrors[_0x5bb916(0x10a)]('Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.');return{'mode':_0x5bb916(0xf9),'domains':_0x2fa5c0};}export function readDomainConfig(_0x58c0a7){const _0x4fcb2e=a269_0x4413e1;return readDomainConfigInput(_0x58c0a7)[_0x4fcb2e(0xcf)];}export function resolveDomainConfigInput(_0x49392c){const _0x2c558b=a269_0x4413e1,_0x26f905=(_0x49392c['str'](_0x2c558b(0xee))||'')[_0x2c558b(0xe7)](),_0x27cd9a=_0x26f905?readDomainConfigInput(_0x26f905):{'mode':_0x2c558b(0xf9),'domains':{}},_0xbc71cf=DOMAIN_CONFIG_FIELDS[_0x2c558b(0xf7)](_0x3a2a18=>Boolean((_0x49392c[_0x2c558b(0x104)](DOMAIN_FLAGS[_0x3a2a18])||'')[_0x2c558b(0xe7)]()));if(_0x27cd9a['mode']===_0x2c558b(0xf5)&&_0xbc71cf[_0x2c558b(0xfe)]>0x0)throw CliErrors[_0x2c558b(0x10a)](_0x2c558b(0x118),_0x2c558b(0x10f));for(const _0xf27d88 of DOMAIN_CONFIG_FIELDS){const _0x4c2b6b=(_0x49392c[_0x2c558b(0x104)](DOMAIN_FLAGS[_0xf27d88])||'')[_0x2c558b(0xe7)]();if(_0x4c2b6b)_0x27cd9a['domains'][_0xf27d88]=normalizeDomainOrigin(_0xf27d88,_0x4c2b6b);}return _0x27cd9a;}export function resolveDomainFlags(_0x1d545c){const _0x5ebcf0=a269_0x4413e1;return resolveDomainConfigInput(_0x1d545c)[_0x5ebcf0(0xcf)];}function a269_0x62e1(_0x2747e8,_0x215101){_0x2747e8=_0x2747e8-0xce;const _0x49b27f=a269_0x49b2();let _0x62e1dc=_0x49b27f[_0x2747e8];return _0x62e1dc;}export function parseEnterpriseRoutingManifest(_0x193f63){const _0x6107cd=a269_0x4413e1;if(_0x193f63[_0x6107cd(0xf8)]!==ENTERPRISE_ROUTING_PROTOCOL||_0x193f63[_0x6107cd(0x10d)]!==ENTERPRISE_ROUTING_KIND)throw CliErrors[_0x6107cd(0x10a)](_0x6107cd(0xfa)+ENTERPRISE_ROUTING_PROTOCOL+_0x6107cd(0xce)+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0x193f63[_0x6107cd(0xcf)]||typeof _0x193f63[_0x6107cd(0xcf)]!==_0x6107cd(0x116)||Array[_0x6107cd(0x105)](_0x193f63[_0x6107cd(0xcf)]))throw CliErrors['validation'](_0x6107cd(0xff));if(!_0x193f63['cdn']||typeof _0x193f63[_0x6107cd(0x11d)]!==_0x6107cd(0x116)||Array[_0x6107cd(0x105)](_0x193f63[_0x6107cd(0x11d)]))throw CliErrors[_0x6107cd(0x10a)](_0x6107cd(0xe5));const _0x1f23d8=_0x193f63['domains'],_0xaa9c56=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS[_0x6107cd(0xf7)](_0x4d5c0e=>_0x1f23d8[_0x4d5c0e]===undefined);if(_0xaa9c56[_0x6107cd(0xfe)]>0x0)throw CliErrors[_0x6107cd(0x10a)]('Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20'+_0xaa9c56[_0x6107cd(0xe4)](',\x20'));if(_0x1f23d8[_0x6107cd(0x100)]===undefined!==(_0x1f23d8[_0x6107cd(0x10b)]===undefined))throw CliErrors[_0x6107cd(0x10a)](_0x6107cd(0xf2));const _0x10f297=_0x193f63['cdn'],_0x406475=Object[_0x6107cd(0xdb)](_0x10f297)[_0x6107cd(0xf7)](_0x20fa0a=>!ENTERPRISE_ROUTING_CDN_FIELDS[_0x6107cd(0x109)](_0x20fa0a));if(_0x406475['length']>0x0)throw CliErrors[_0x6107cd(0x10a)]('Unsupported\x20enterprise\x20CDN\x20field(s):\x20'+_0x406475[_0x6107cd(0xe4)](',\x20'),_0x6107cd(0xd8)+ENTERPRISE_ROUTING_CDN_FIELDS[_0x6107cd(0xe4)](',\x20'));const _0xd340da=REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS[_0x6107cd(0xf7)](_0x4a1d33=>_0x10f297[_0x4a1d33]===undefined);if(_0xd340da[_0x6107cd(0xfe)]>0x0)throw CliErrors['validation'](_0x6107cd(0xea)+_0xd340da[_0x6107cd(0xe4)](',\x20'));const _0x96389f={};for(const _0x16797b of ENTERPRISE_ROUTING_CDN_FIELDS){_0x96389f[_0x16797b]=normalizeCdnBaseUrl(_0x16797b,_0x10f297[_0x16797b]);}const _0x4d2271={},_0x18c362={};for(const _0x399db3 of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x3c6ffb=_0x1f23d8[_0x399db3];if(_0x3c6ffb===undefined)continue;const _0x101d3d=normalizeRoutingDomainValue(_0x399db3,_0x3c6ffb);_0x4d2271[_0x399db3]=_0x101d3d;const _0x31e4c0=ENTERPRISE_TO_LOCAL_FIELD[_0x399db3];_0x31e4c0&&(_0x18c362[_0x31e4c0]=_0x101d3d);}return{'mode':'enterprise-v1','domains':_0x18c362,'manifestDomains':_0x4d2271,'cdn':_0x96389f};}function a269_0x49b2(){const _0x2295d4=['includes','validation','certificateDomain','origin','kind','6phDEPW','Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.','203912QZkVrq','hash',':\x20expected\x20an\x20HTTPS\x20',':\x20\x22','rabetbase-cli','password','object','377076mcOyrF','Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.','skill-domain','1596822roiZVR','skillHubDomain','agentDomain','cdn','runtime-domain','\x22\x20and\x20kind\x20\x22','domains','Invalid\x20cdn.','Invalid\x20domain\x20config\x20JSON:\x20','pathname','lovrabet','Unsupported\x20domain\x20config\x20field(s):\x20','\x22\x20is\x20not\x20a\x20valid\x20URL.','runtimeDomain','4886756FMrriq','Allowed\x20fields:\x20','string','href','keys',':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.','user-domain','skillDomain','api-domain','replace','Domain\x20config\x20file\x20not\x20found:\x20','parse',':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.','join','Invalid\x20enterprise\x20routing\x20manifest:\x20cdn\x20must\x20be\x20an\x20object.','https:','trim','Enterprise\x20',':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20CDN\x20field(s):\x20','default','\x20and\x20has\x20no\x20default.','userDomain','domain-config','base\x20URL','app-domain','cwd','Enterprise\x20routing\x20manifest\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','5782220rvBzOP','apiDomain','enterprise-v1','8206056qgiGJj','filter','protocol','legacy','Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22','kbDomain','kbServiceDomain','kb-domain','length','Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.','localDomain','username','appDomain','search','str','isArray','Invalid\x20','\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20','5591516OHUbry'];a269_0x49b2=function(){return _0x2295d4;};return a269_0x49b2();}
1
+ function a269_0x3c2d(){const _0x50bed0=['kb-service-domain','10sGENTp','rabetbase-cli','runtimeDomain','length','https:','Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22','Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.',':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.','apiDomain','kbDomain','kind','isArray','userDomain','860224LaXaEv','replace','protocol','base\x20URL','search','Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.','object',':\x20\x22','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20','enterprise-v1','certificateDomain','cwd','skillHubDomain','7900DIZkGT','str','Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.','\x20without\x20credentials,\x20query,\x20or\x20fragment.','Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.','filter','cdn','legacy','domains','690510DRJdmy','108584dGDYtw','validation','mode','runtime-domain','agentDomain','certificate-domain','platformDomain','Invalid\x20','Enterprise\x20','api-domain','Unsupported\x20domain\x20config\x20field(s):\x20','2321127faOwId','pathname','Invalid\x20enterprise\x20routing\x20manifest:\x20cdn\x20must\x20be\x20an\x20object.','Domain\x20config\x20file\x20not\x20found:\x20','Unsupported\x20enterprise\x20CDN\x20field(s):\x20','164852eDUFqs','origin','localDomain','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20CDN\x20field(s):\x20','join','trim','string','lovrabet','hash','skillDomain',':\x20expected\x20a\x20non-empty\x20HTTPS\x20URL.','Enterprise\x20routing\x20manifest\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','appDomain','\x22\x20is\x20not\x20a\x20valid\x20URL.','Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.','username','keys','Allowed\x20fields:\x20','5HFgVBO','includes','240YplZle','href','1402142VFFMZq','Invalid\x20cdn.','password',':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.'];a269_0x3c2d=function(){return _0x50bed0;};return a269_0x3c2d();}const a269_0x1ab127=a269_0x4f4b;(function(_0x230429,_0xefa888){const _0x32fdd2=a269_0x4f4b,_0x3ff551=_0x230429();while(!![]){try{const _0x26e270=-parseInt(_0x32fdd2(0xc0))/0x1+-parseInt(_0x32fdd2(0xd0))/0x2+parseInt(_0x32fdd2(0xe4))/0x3*(-parseInt(_0x32fdd2(0xb6))/0x4)+parseInt(_0x32fdd2(0xe2))/0x5*(-parseInt(_0x32fdd2(0xbf))/0x6)+parseInt(_0x32fdd2(0xe6))/0x7+parseInt(_0x32fdd2(0xa9))/0x8+parseInt(_0x32fdd2(0xcb))/0x9*(parseInt(_0x32fdd2(0xeb))/0xa);if(_0x26e270===_0xefa888)break;else _0x3ff551['push'](_0x3ff551['shift']());}catch(_0x2fabf6){_0x3ff551['push'](_0x3ff551['shift']());}}}(a269_0x3c2d,0x18d0a));import{existsSync,readFileSync}from'node:fs';import{isAbsolute,resolve}from'node:path';import{CliErrors}from'../errors.js';import{ENTERPRISE_ROUTING_CDN_FIELDS,ENTERPRISE_ROUTING_DOMAIN_FIELDS,ENTERPRISE_ROUTING_KIND,ENTERPRISE_ROUTING_PROTOCOL,REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS,REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS}from'../generated/routing-contract.js';export const DOMAIN_CONFIG_FIELDS=[a269_0x1ab127(0xa8),a269_0x1ab127(0xa4),a269_0x1ab127(0xed),a269_0x1ab127(0xd9),a269_0x1ab127(0xa5),'kbServiceDomain',a269_0x1ab127(0xdc),a269_0x1ab127(0xd2),'certificateDomain'];const DOMAIN_FLAGS={'userDomain':'user-domain','apiDomain':a269_0x1ab127(0xc9),'runtimeDomain':a269_0x1ab127(0xc3),'skillDomain':'skill-domain','kbDomain':'kb-domain','kbServiceDomain':a269_0x1ab127(0xea),'appDomain':'app-domain','localDomain':'local-domain','certificateDomain':a269_0x1ab127(0xc5)};export const LEGACY_DOMAIN_CONFIG_FIELDS=[a269_0x1ab127(0xc4),a269_0x1ab127(0xc6),a269_0x1ab127(0xb5)];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':a269_0x1ab127(0xa8),'apiDomain':'apiDomain','runtimeDomain':'runtimeDomain','skillDomain':a269_0x1ab127(0xd9),'kbDomain':'kbDomain','kbServiceDomain':'kbServiceDomain','appDomain':a269_0x1ab127(0xdc),'localDomain':'localDomain','certificateDomain':a269_0x1ab127(0xb3)},ROUTING_CONSUMER=a269_0x1ab127(0xec);function a269_0x4f4b(_0x3da101,_0x58ad5d){_0x3da101=_0x3da101-0xa1;const _0x3c2d1b=a269_0x3c2d();let _0x4f4b87=_0x3c2d1b[_0x3da101];return _0x4f4b87;}export function normalizeDomainOrigin(_0x131e9e,_0x424e74){const _0x2ac931=a269_0x1ab127;if(typeof _0x424e74!==_0x2ac931(0xd6)||!_0x424e74[_0x2ac931(0xd5)]())throw CliErrors[_0x2ac931(0xc1)]('Invalid\x20'+_0x131e9e+':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.');let _0x4c35cf;try{_0x4c35cf=new URL(_0x424e74['trim']());}catch{throw CliErrors['validation']('Invalid\x20'+_0x131e9e+_0x2ac931(0xb0)+_0x424e74+'\x22\x20is\x20not\x20a\x20valid\x20URL.');}if(_0x4c35cf['protocol']!==_0x2ac931(0xef)||_0x4c35cf[_0x2ac931(0xdf)]||_0x4c35cf[_0x2ac931(0xe8)]||_0x4c35cf[_0x2ac931(0xcc)]!=='/'&&_0x4c35cf[_0x2ac931(0xcc)]!==''||_0x4c35cf[_0x2ac931(0xad)]||_0x4c35cf[_0x2ac931(0xd8)])throw CliErrors[_0x2ac931(0xc1)](_0x2ac931(0xc7)+_0x131e9e+_0x2ac931(0xa3),'For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.');return _0x4c35cf[_0x2ac931(0xd1)];}export function normalizeRoutingDomainValue(_0x184093,_0x28d4e6){const _0x5e2897=a269_0x1ab127;if(typeof _0x28d4e6==='string')return normalizeDomainOrigin(_0x184093,_0x28d4e6);if(!_0x28d4e6||typeof _0x28d4e6!=='object'||Array[_0x5e2897(0xa7)](_0x28d4e6))throw CliErrors[_0x5e2897(0xc1)](_0x5e2897(0xc7)+_0x184093+_0x5e2897(0xe9));const _0x1255be=_0x28d4e6,_0x5ba9dc=_0x1255be[ROUTING_CONSUMER]??_0x1255be['default'];if(_0x5ba9dc===undefined)throw CliErrors['validation'](_0x5e2897(0xc8)+_0x184093+'\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20'+ROUTING_CONSUMER+'\x20and\x20has\x20no\x20default.');return normalizeDomainOrigin(_0x184093,_0x5ba9dc);}export function normalizeCdnBaseUrl(_0x3a3290,_0x42d5d8){const _0x2ac3fb=a269_0x1ab127;if(typeof _0x42d5d8!==_0x2ac3fb(0xd6)||!_0x42d5d8[_0x2ac3fb(0xd5)]())throw CliErrors[_0x2ac3fb(0xc1)]('Invalid\x20cdn.'+_0x3a3290+_0x2ac3fb(0xda));const _0x5848f9=_0x42d5d8[_0x2ac3fb(0xd5)]()[_0x2ac3fb(0xaa)](/\/$/,'');let _0x119baa;try{_0x119baa=new URL(_0x5848f9);}catch{throw CliErrors[_0x2ac3fb(0xc1)](_0x2ac3fb(0xe7)+_0x3a3290+_0x2ac3fb(0xb0)+_0x42d5d8+_0x2ac3fb(0xdd));}if(_0x119baa[_0x2ac3fb(0xab)]!=='https:'||_0x119baa[_0x2ac3fb(0xdf)]||_0x119baa['password']||_0x119baa[_0x2ac3fb(0xad)]||_0x119baa['hash']||_0x119baa[_0x2ac3fb(0xe5)][_0x2ac3fb(0xaa)](/\/$/,'')!==_0x5848f9||_0x3a3290===_0x2ac3fb(0xd7)&&_0x119baa[_0x2ac3fb(0xd1)]!==_0x5848f9)throw CliErrors['validation'](_0x2ac3fb(0xe7)+_0x3a3290+':\x20expected\x20an\x20HTTPS\x20'+(_0x3a3290===_0x2ac3fb(0xd7)?_0x2ac3fb(0xd1):_0x2ac3fb(0xac))+_0x2ac3fb(0xb9));return _0x5848f9;}export function resolveEnterpriseRoutingConfig(_0x272138){return resolveEnterpriseRoutingManifest(_0x272138)?.['domains'];}export function resolveEnterpriseRoutingManifest(_0x262f95){const _0x54b508=a269_0x1ab127;if(_0x262f95===undefined)return undefined;if(!_0x262f95||typeof _0x262f95!==_0x54b508(0xaf)||Array[_0x54b508(0xa7)](_0x262f95))throw CliErrors[_0x54b508(0xc1)]('Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.');return parseEnterpriseRoutingManifest(_0x262f95);}export function readDomainConfigInput(_0xa7039c){const _0xe28d70=a269_0x1ab127,_0x5ec177=isAbsolute(_0xa7039c)?_0xa7039c:resolve(process[_0xe28d70(0xb4)](),_0xa7039c);if(!existsSync(_0x5ec177))throw CliErrors[_0xe28d70(0xc1)](_0xe28d70(0xce)+_0x5ec177);let _0x372f96;try{_0x372f96=JSON['parse'](readFileSync(_0x5ec177,'utf8'));}catch{throw CliErrors[_0xe28d70(0xc1)]('Invalid\x20domain\x20config\x20JSON:\x20'+_0x5ec177);}if(!_0x372f96||typeof _0x372f96!==_0xe28d70(0xaf)||Array['isArray'](_0x372f96))throw CliErrors[_0xe28d70(0xc1)](_0xe28d70(0xde));const _0x423c87=_0x372f96;if(_0xe28d70(0xab)in _0x423c87)return parseEnterpriseRoutingManifest(_0x423c87);const _0x29db0f=Object[_0xe28d70(0xe0)](_0x423c87)[_0xe28d70(0xbb)](_0x32199f=>!DOMAIN_CONFIG_FIELDS[_0xe28d70(0xe3)](_0x32199f));if(_0x29db0f[_0xe28d70(0xee)]>0x0)throw CliErrors[_0xe28d70(0xc1)](_0xe28d70(0xca)+_0x29db0f[_0xe28d70(0xd4)](',\x20'),_0xe28d70(0xe1)+DOMAIN_CONFIG_FIELDS[_0xe28d70(0xd4)](',\x20'));const _0x209e6a={};for(const _0x39027c of DOMAIN_CONFIG_FIELDS){_0x423c87[_0x39027c]!==undefined&&(_0x209e6a[_0x39027c]=normalizeDomainOrigin(_0x39027c,_0x423c87[_0x39027c]));}if(Object[_0xe28d70(0xe0)](_0x209e6a)[_0xe28d70(0xee)]===0x0)throw CliErrors[_0xe28d70(0xc1)](_0xe28d70(0xa2));return{'mode':_0xe28d70(0xbd),'domains':_0x209e6a};}export function readDomainConfig(_0x2da4f2){return readDomainConfigInput(_0x2da4f2)['domains'];}export function resolveDomainConfigInput(_0x2a4a44){const _0x438c19=a269_0x1ab127,_0x20a571=(_0x2a4a44[_0x438c19(0xb7)]('domain-config')||'')[_0x438c19(0xd5)](),_0x2d64f1=_0x20a571?readDomainConfigInput(_0x20a571):{'mode':_0x438c19(0xbd),'domains':{}},_0x2e01b7=DOMAIN_CONFIG_FIELDS[_0x438c19(0xbb)](_0x51c6c9=>Boolean((_0x2a4a44[_0x438c19(0xb7)](DOMAIN_FLAGS[_0x51c6c9])||'')[_0x438c19(0xd5)]()));if(_0x2d64f1[_0x438c19(0xc2)]===_0x438c19(0xb2)&&_0x2e01b7[_0x438c19(0xee)]>0x0)throw CliErrors['validation'](_0x438c19(0xae),_0x438c19(0xb8));for(const _0x1403a8 of DOMAIN_CONFIG_FIELDS){const _0x2c9f7c=(_0x2a4a44[_0x438c19(0xb7)](DOMAIN_FLAGS[_0x1403a8])||'')[_0x438c19(0xd5)]();if(_0x2c9f7c)_0x2d64f1['domains'][_0x1403a8]=normalizeDomainOrigin(_0x1403a8,_0x2c9f7c);}return _0x2d64f1;}export function resolveDomainFlags(_0xddffd2){const _0x41927b=a269_0x1ab127;return resolveDomainConfigInput(_0xddffd2)[_0x41927b(0xbe)];}export function parseEnterpriseRoutingManifest(_0x488f18){const _0x5a124a=a269_0x1ab127;if(_0x488f18['protocol']!==ENTERPRISE_ROUTING_PROTOCOL||_0x488f18[_0x5a124a(0xa6)]!==ENTERPRISE_ROUTING_KIND)throw CliErrors[_0x5a124a(0xc1)](_0x5a124a(0xa1)+ENTERPRISE_ROUTING_PROTOCOL+'\x22\x20and\x20kind\x20\x22'+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0x488f18[_0x5a124a(0xbe)]||typeof _0x488f18['domains']!==_0x5a124a(0xaf)||Array[_0x5a124a(0xa7)](_0x488f18[_0x5a124a(0xbe)]))throw CliErrors[_0x5a124a(0xc1)](_0x5a124a(0xba));if(!_0x488f18[_0x5a124a(0xbc)]||typeof _0x488f18['cdn']!==_0x5a124a(0xaf)||Array['isArray'](_0x488f18[_0x5a124a(0xbc)]))throw CliErrors[_0x5a124a(0xc1)](_0x5a124a(0xcd));const _0x2d7ebc=_0x488f18[_0x5a124a(0xbe)],_0x51bba9=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS[_0x5a124a(0xbb)](_0xda19c6=>_0x2d7ebc[_0xda19c6]===undefined);if(_0x51bba9['length']>0x0)throw CliErrors[_0x5a124a(0xc1)](_0x5a124a(0xb1)+_0x51bba9[_0x5a124a(0xd4)](',\x20'));if(_0x2d7ebc[_0x5a124a(0xd2)]===undefined!==(_0x2d7ebc[_0x5a124a(0xb3)]===undefined))throw CliErrors[_0x5a124a(0xc1)](_0x5a124a(0xdb));const _0x4f5a18=_0x488f18['cdn'],_0x3742ba=Object['keys'](_0x4f5a18)[_0x5a124a(0xbb)](_0x22f777=>!ENTERPRISE_ROUTING_CDN_FIELDS[_0x5a124a(0xe3)](_0x22f777));if(_0x3742ba['length']>0x0)throw CliErrors['validation'](_0x5a124a(0xcf)+_0x3742ba[_0x5a124a(0xd4)](',\x20'),_0x5a124a(0xe1)+ENTERPRISE_ROUTING_CDN_FIELDS[_0x5a124a(0xd4)](',\x20'));const _0x2169ad=REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS['filter'](_0x5ab640=>_0x4f5a18[_0x5ab640]===undefined);if(_0x2169ad[_0x5a124a(0xee)]>0x0)throw CliErrors[_0x5a124a(0xc1)](_0x5a124a(0xd3)+_0x2169ad[_0x5a124a(0xd4)](',\x20'));const _0x41ff89={};for(const _0x4d1b3e of ENTERPRISE_ROUTING_CDN_FIELDS){_0x41ff89[_0x4d1b3e]=normalizeCdnBaseUrl(_0x4d1b3e,_0x4f5a18[_0x4d1b3e]);}const _0x2267d3={},_0xdfd9d3={};for(const _0x28019a of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x576fca=_0x2d7ebc[_0x28019a];if(_0x576fca===undefined)continue;const _0x19672a=normalizeRoutingDomainValue(_0x28019a,_0x576fca);_0x2267d3[_0x28019a]=_0x19672a;const _0x542714=ENTERPRISE_TO_LOCAL_FIELD[_0x28019a];_0x542714&&(_0xdfd9d3[_0x542714]=_0x19672a);}return{'mode':_0x5a124a(0xb2),'domains':_0xdfd9d3,'manifestDomains':_0x2267d3,'cdn':_0x41ff89};}
@@ -1 +1 @@
1
- const a270_0x26d9dc=a270_0x2406;(function(_0xebb1f4,_0x5807c5){const _0x4ad283=a270_0x2406,_0x202dd2=_0xebb1f4();while(!![]){try{const _0x2804e2=-parseInt(_0x4ad283(0xff))/0x1*(parseInt(_0x4ad283(0x108))/0x2)+-parseInt(_0x4ad283(0x105))/0x3+-parseInt(_0x4ad283(0xfb))/0x4*(-parseInt(_0x4ad283(0x104))/0x5)+parseInt(_0x4ad283(0x100))/0x6*(parseInt(_0x4ad283(0xf8))/0x7)+parseInt(_0x4ad283(0x109))/0x8+parseInt(_0x4ad283(0x101))/0x9+-parseInt(_0x4ad283(0xfd))/0xa;if(_0x2804e2===_0x5807c5)break;else _0x202dd2['push'](_0x202dd2['shift']());}catch(_0x465c45){_0x202dd2['push'](_0x202dd2['shift']());}}}(a270_0x9e2d,0x2b6c9));import{readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{join}from'node:path';import{getActiveRegion,getActiveCdn,getApiDomain,getAppDomain,getCertificateDomain,getKbDomain,getLocalDomain,getRuntimeDomain,getSkillDomain,getUserDomain,isIndependentDeployment}from'../constant/domain.js';import{getOfficialRoutingProfile}from'../constant/routing-profile.js';export const PROJECT_DOMAIN_ROUTING_FILE_NAME=a270_0x26d9dc(0x103);function a270_0x2406(_0x2835dd,_0x5145e6){_0x2835dd=_0x2835dd-0xf7;const _0x9e2da4=a270_0x9e2d();let _0x240672=_0x9e2da4[_0x2835dd];return _0x240672;}function a270_0x9e2d(){const _0x1d3bcb=['/cert/lovrabet-dev.json','now','147124gDitTz','lovrabet-project-domain-routing/v1','5042010GPaBim','.tmp','1Ekjgcb','438IfGxsE','1194093QxhUas','official','rabetbase.domain-routing.json','35qYknPo','272001fLLeie','Independent\x20deployment\x20routing\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','local','97574xblTwa','2642168YqwAra','lovrabet','pid','origin','utf8','9695kQafXN'];a270_0x9e2d=function(){return _0x1d3bcb;};return a270_0x9e2d();}export const PROJECT_DOMAIN_ROUTING_PROTOCOL=a270_0x26d9dc(0xfc);export function getProjectDomainRoutingManifest(){const _0x2843d3=a270_0x26d9dc,_0x452b73=getActiveRegion(),_0x38188b=isIndependentDeployment(),_0x39d2f7=getOfficialRoutingProfile(_0x452b73),_0x1e201d=getLocalDomain(),_0x4d623f=getCertificateDomain(),_0x100913=getActiveCdn();if(!!_0x1e201d!==!!_0x4d623f)throw new Error(_0x2843d3(0x106));return{'protocol':PROJECT_DOMAIN_ROUTING_PROTOCOL,'mode':_0x38188b?'independent':_0x2843d3(0x102),'region':_0x38188b?null:_0x452b73,'domains':{'api':getApiDomain(),'runtime':getRuntimeDomain(),'user':getUserDomain(),'app':getAppDomain(),'skill':getSkillDomain(),'kb':getKbDomain()},'cdn':_0x100913,'local':_0x1e201d&&_0x4d623f?{'origin':_0x1e201d,'certificateUrl':_0x4d623f+'/cert/lovrabet-dev.json'}:_0x38188b?{'origin':'http://localhost'}:{'origin':_0x39d2f7[_0x2843d3(0x107)][_0x2843d3(0x10c)],'certificateUrl':_0x100913[_0x2843d3(0x10a)]+_0x2843d3(0xf9)}};}export function writeProjectDomainRoutingManifest(_0x2ab5bb){const _0x168b28=a270_0x26d9dc,_0x2e5f04=getProjectDomainRoutingManifest(),_0x8799f8=join(_0x2ab5bb,PROJECT_DOMAIN_ROUTING_FILE_NAME),_0x9c5c85=JSON['stringify'](_0x2e5f04,null,0x2)+'\x0a';try{if(readFileSync(_0x8799f8,_0x168b28(0xf7))===_0x9c5c85)return{'path':_0x8799f8,'manifest':_0x2e5f04,'changed':![]};}catch{}const _0x255169=_0x8799f8+'.'+process[_0x168b28(0x10b)]+'.'+Date[_0x168b28(0xfa)]()+_0x168b28(0xfe);try{writeFileSync(_0x255169,_0x9c5c85,{'encoding':_0x168b28(0xf7),'mode':0x1a4}),renameSync(_0x255169,_0x8799f8);}catch(_0x17e833){try{unlinkSync(_0x255169);}catch{}throw _0x17e833;}return{'path':_0x8799f8,'manifest':_0x2e5f04,'changed':!![]};}
1
+ const a270_0x21a36a=a270_0x56be;(function(_0x1ffe58,_0x3a167d){const _0x108ce3=a270_0x56be,_0x36d022=_0x1ffe58();while(!![]){try{const _0x10fc50=parseInt(_0x108ce3(0x138))/0x1+-parseInt(_0x108ce3(0x132))/0x2+parseInt(_0x108ce3(0x12c))/0x3*(-parseInt(_0x108ce3(0x13b))/0x4)+-parseInt(_0x108ce3(0x12a))/0x5+-parseInt(_0x108ce3(0x133))/0x6+-parseInt(_0x108ce3(0x129))/0x7+parseInt(_0x108ce3(0x12f))/0x8;if(_0x10fc50===_0x3a167d)break;else _0x36d022['push'](_0x36d022['shift']());}catch(_0x4e99cd){_0x36d022['push'](_0x36d022['shift']());}}}(a270_0x4bbf,0x82535));import{readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{join}from'node:path';import{getActiveRegion,getActiveCdn,getApiDomain,getAppDomain,getCertificateDomain,getKbDomain,getLocalDomain,getRuntimeDomain,getSkillDomain,getUserDomain,isIndependentDeployment}from'../constant/domain.js';import{getOfficialRoutingProfile}from'../constant/routing-profile.js';export const PROJECT_DOMAIN_ROUTING_FILE_NAME=a270_0x21a36a(0x12e);export const PROJECT_DOMAIN_ROUTING_PROTOCOL=a270_0x21a36a(0x136);function a270_0x4bbf(){const _0x13400f=['now','559913KbxRCO','local','lovrabet','4VKoFyz','850276IWgStc','1901910CCLxZt','/cert/lovrabet-dev.json','306156ntHebY','independent','rabetbase.domain-routing.json','8543608kYRvbN','.tmp','Independent\x20deployment\x20routing\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','499080hjwopu','1443654XVkGbA','origin','utf8','lovrabet-project-domain-routing/v1'];a270_0x4bbf=function(){return _0x13400f;};return a270_0x4bbf();}function a270_0x56be(_0x337aed,_0x5796c1){_0x337aed=_0x337aed-0x129;const _0x4bbf61=a270_0x4bbf();let _0x56be86=_0x4bbf61[_0x337aed];return _0x56be86;}export function getProjectDomainRoutingManifest(){const _0x43d640=a270_0x21a36a,_0x3f5375=getActiveRegion(),_0x4af272=isIndependentDeployment(),_0x4e631e=getOfficialRoutingProfile(_0x3f5375),_0x28b143=getLocalDomain(),_0x17173d=getCertificateDomain(),_0x2d2dbd=getActiveCdn();if(!!_0x28b143!==!!_0x17173d)throw new Error(_0x43d640(0x131));return{'protocol':PROJECT_DOMAIN_ROUTING_PROTOCOL,'mode':_0x4af272?_0x43d640(0x12d):'official','region':_0x4af272?null:_0x3f5375,'domains':{'api':getApiDomain(),'runtime':getRuntimeDomain(),'user':getUserDomain(),'app':getAppDomain(),'skill':getSkillDomain(),'kb':getKbDomain()},'cdn':_0x2d2dbd,'local':_0x28b143&&_0x17173d?{'origin':_0x28b143,'certificateUrl':_0x17173d+_0x43d640(0x12b)}:_0x4af272?{'origin':'http://localhost'}:{'origin':_0x4e631e[_0x43d640(0x139)][_0x43d640(0x134)],'certificateUrl':_0x2d2dbd[_0x43d640(0x13a)]+_0x43d640(0x12b)}};}export function writeProjectDomainRoutingManifest(_0x4ba801){const _0x40c188=a270_0x21a36a,_0x4cb56f=getProjectDomainRoutingManifest(),_0x50c607=join(_0x4ba801,PROJECT_DOMAIN_ROUTING_FILE_NAME),_0x4dd00c=JSON['stringify'](_0x4cb56f,null,0x2)+'\x0a';try{if(readFileSync(_0x50c607,_0x40c188(0x135))===_0x4dd00c)return{'path':_0x50c607,'manifest':_0x4cb56f,'changed':![]};}catch{}const _0x432efa=_0x50c607+'.'+process['pid']+'.'+Date[_0x40c188(0x137)]()+_0x40c188(0x130);try{writeFileSync(_0x432efa,_0x4dd00c,{'encoding':_0x40c188(0x135),'mode':0x1a4}),renameSync(_0x432efa,_0x50c607);}catch(_0x1579c3){try{unlinkSync(_0x432efa);}catch{}throw _0x1579c3;}return{'path':_0x50c607,'manifest':_0x4cb56f,'changed':!![]};}
@@ -1 +1 @@
1
- (function(_0x2d0d82,_0x5488a2){const _0x45056d=a271_0x7a71,_0x1cbf25=_0x2d0d82();while(!![]){try{const _0x579b8c=-parseInt(_0x45056d(0x178))/0x1*(parseInt(_0x45056d(0x17f))/0x2)+-parseInt(_0x45056d(0x184))/0x3+parseInt(_0x45056d(0x183))/0x4*(parseInt(_0x45056d(0x180))/0x5)+parseInt(_0x45056d(0x181))/0x6*(parseInt(_0x45056d(0x179))/0x7)+-parseInt(_0x45056d(0x191))/0x8+-parseInt(_0x45056d(0x182))/0x9+parseInt(_0x45056d(0x18f))/0xa;if(_0x579b8c===_0x5488a2)break;else _0x1cbf25['push'](_0x1cbf25['shift']());}catch(_0x5b7f30){_0x1cbf25['push'](_0x1cbf25['shift']());}}}(a271_0x2f9f,0xbc145));import{CLI_BIN_NAME}from'../constant/cli.js';function a271_0x7a71(_0x9217b3,_0x18dbb6){_0x9217b3=_0x9217b3-0x177;const _0x2f9f89=a271_0x2f9f();let _0x7a7124=_0x2f9f89[_0x9217b3];return _0x7a7124;}import{DEFAULT_LOVRABET_REGION,isInvalidLovrabetRegion,normalizeLovrabetRegion}from'../constant/region.js';import{CliErrors}from'../errors.js';export function selectConfiguredRegion(_0x3acc32){const _0x3c2d0d=a271_0x7a71;if(_0x3acc32[_0x3c2d0d(0x17b)]!==undefined&&_0x3acc32[_0x3c2d0d(0x17b)]!==null&&_0x3acc32[_0x3c2d0d(0x17b)]!=='')return{'value':_0x3acc32[_0x3c2d0d(0x17b)],'source':_0x3c2d0d(0x18a)};if(_0x3acc32['projectRegion']!==undefined&&_0x3acc32['projectRegion']!==null&&_0x3acc32[_0x3c2d0d(0x17d)]!=='')return{'value':_0x3acc32[_0x3c2d0d(0x17d)],'source':'project'};if(_0x3acc32[_0x3c2d0d(0x192)]!==undefined&&_0x3acc32[_0x3c2d0d(0x192)]!==null&&_0x3acc32[_0x3c2d0d(0x192)]!=='')return{'value':_0x3acc32[_0x3c2d0d(0x192)],'source':'global'};if(_0x3acc32[_0x3c2d0d(0x18b)]!==undefined&&_0x3acc32[_0x3c2d0d(0x18b)]!==null&&_0x3acc32[_0x3c2d0d(0x18b)]!=='')return{'value':_0x3acc32[_0x3c2d0d(0x18b)],'source':_0x3c2d0d(0x187)};return{'value':undefined,'source':_0x3c2d0d(0x17c)};}function describeConfiguredRegion(_0x4cccf4){const _0xfd1f59=a271_0x7a71;return typeof _0x4cccf4===_0xfd1f59(0x17e)?JSON[_0xfd1f59(0x188)](_0x4cccf4):_0xfd1f59(0x18e)+(_0x4cccf4===null?'null':typeof _0x4cccf4);}export function resolveConfiguredRegion(_0x2f0766,_0x52be1a='Rabetbase\x20configuration'){const _0x5e938b=a271_0x7a71;if(isInvalidLovrabetRegion(_0x2f0766))throw CliErrors[_0x5e938b(0x195)](_0x5e938b(0x177)+describeConfiguredRegion(_0x2f0766)+'\x20in\x20'+_0x52be1a+'.',_0x5e938b(0x189)+CLI_BIN_NAME+_0x5e938b(0x17a));return normalizeLovrabetRegion(_0x2f0766)??DEFAULT_LOVRABET_REGION;}export function resolveEffectiveRegion(_0x145c62){const _0xeac5e2=a271_0x7a71,_0x2c8a21=selectConfiguredRegion(_0x145c62),_0xc28ed4=_0x2c8a21[_0xeac5e2(0x190)]===_0xeac5e2(0x18a)?_0x145c62[_0xeac5e2(0x193)]?_0xeac5e2(0x186)+_0x145c62[_0xeac5e2(0x193)]+'\x22':'selected\x20app\x20profile':_0x2c8a21[_0xeac5e2(0x190)]===_0xeac5e2(0x194)?_0xeac5e2(0x18c):_0x2c8a21[_0xeac5e2(0x190)]==='global'?_0xeac5e2(0x18d):'Rabetbase\x20configuration';return{'region':resolveConfiguredRegion(_0x2c8a21[_0xeac5e2(0x185)],_0xc28ed4),'source':_0x2c8a21[_0xeac5e2(0x190)]};}function a271_0x2f9f(){const _0x469f6c=['appName','project','validation','Invalid\x20country/region\x20','1hiMCIo','3738301CVDrDg','\x20doctor`\x20to\x20locate\x20and\x20repair\x20the\x20invalid\x20configuration\x20before\x20retrying.','appRegion','default','projectRegion','string','96598bayIVu','10ZyQMfN','6gAaoeB','3082608iENIkb','950512VyxPFb','1313928DKxYFW','value','app\x20profile\x20\x22','config','stringify','Run\x20`','app','mergedRegion','project\x20Rabetbase\x20configuration','global\x20Rabetbase\x20configuration','a\x20value\x20of\x20type\x20','6711250IjNbzl','source','650112MGgwxN','globalRegion'];a271_0x2f9f=function(){return _0x469f6c;};return a271_0x2f9f();}
1
+ (function(_0x40ffb9,_0x1367e1){const _0x42d5d6=a271_0x31a8,_0x53cf18=_0x40ffb9();while(!![]){try{const _0x387677=parseInt(_0x42d5d6(0x1e9))/0x1+-parseInt(_0x42d5d6(0x1ec))/0x2*(-parseInt(_0x42d5d6(0x1f5))/0x3)+-parseInt(_0x42d5d6(0x1f3))/0x4*(-parseInt(_0x42d5d6(0x1dd))/0x5)+-parseInt(_0x42d5d6(0x1fc))/0x6+parseInt(_0x42d5d6(0x1fb))/0x7*(-parseInt(_0x42d5d6(0x1e8))/0x8)+-parseInt(_0x42d5d6(0x1fa))/0x9+parseInt(_0x42d5d6(0x1de))/0xa*(parseInt(_0x42d5d6(0x1e0))/0xb);if(_0x387677===_0x1367e1)break;else _0x53cf18['push'](_0x53cf18['shift']());}catch(_0x149789){_0x53cf18['push'](_0x53cf18['shift']());}}}(a271_0x1fca,0xdc920));import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_LOVRABET_REGION,isInvalidLovrabetRegion,normalizeLovrabetRegion}from'../constant/region.js';import{CliErrors}from'../errors.js';function a271_0x1fca(){const _0x1be8ba=['a\x20value\x20of\x20type\x20','app','project','global','\x20doctor`\x20to\x20locate\x20and\x20repair\x20the\x20invalid\x20configuration\x20before\x20retrying.','config','source','21512FlXMOj','1699438FcyFXs','global\x20Rabetbase\x20configuration','appName','930ikLDCU','Rabetbase\x20configuration','null','string','mergedRegion','globalRegion','Run\x20`','733064GpFUMX','projectRegion','3669UwxIGr','stringify','project\x20Rabetbase\x20configuration','appRegion','value','14599134PxOJJo','4249IYUgVK','2093646RpTjQA','default','\x20in\x20','5rqcbYs','2936210QjAQMm','app\x20profile\x20\x22','77jnhfMM'];a271_0x1fca=function(){return _0x1be8ba;};return a271_0x1fca();}export function selectConfiguredRegion(_0x3adcd5){const _0x1c5aba=a271_0x31a8;if(_0x3adcd5[_0x1c5aba(0x1f8)]!==undefined&&_0x3adcd5[_0x1c5aba(0x1f8)]!==null&&_0x3adcd5[_0x1c5aba(0x1f8)]!=='')return{'value':_0x3adcd5['appRegion'],'source':'app'};if(_0x3adcd5[_0x1c5aba(0x1f4)]!==undefined&&_0x3adcd5[_0x1c5aba(0x1f4)]!==null&&_0x3adcd5['projectRegion']!=='')return{'value':_0x3adcd5['projectRegion'],'source':_0x1c5aba(0x1e3)};if(_0x3adcd5[_0x1c5aba(0x1f1)]!==undefined&&_0x3adcd5[_0x1c5aba(0x1f1)]!==null&&_0x3adcd5[_0x1c5aba(0x1f1)]!=='')return{'value':_0x3adcd5['globalRegion'],'source':_0x1c5aba(0x1e4)};if(_0x3adcd5['mergedRegion']!==undefined&&_0x3adcd5[_0x1c5aba(0x1f0)]!==null&&_0x3adcd5[_0x1c5aba(0x1f0)]!=='')return{'value':_0x3adcd5['mergedRegion'],'source':_0x1c5aba(0x1e6)};return{'value':undefined,'source':_0x1c5aba(0x1fd)};}function a271_0x31a8(_0x25c0e2,_0x60387e){_0x25c0e2=_0x25c0e2-0x1dc;const _0x1fca19=a271_0x1fca();let _0x31a8a2=_0x1fca19[_0x25c0e2];return _0x31a8a2;}function describeConfiguredRegion(_0x12960e){const _0x5eec02=a271_0x31a8;return typeof _0x12960e===_0x5eec02(0x1ef)?JSON[_0x5eec02(0x1f6)](_0x12960e):_0x5eec02(0x1e1)+(_0x12960e===null?_0x5eec02(0x1ee):typeof _0x12960e);}export function resolveConfiguredRegion(_0x237c14,_0x4d0201='Rabetbase\x20configuration'){const _0x104871=a271_0x31a8;if(isInvalidLovrabetRegion(_0x237c14))throw CliErrors['validation']('Invalid\x20country/region\x20'+describeConfiguredRegion(_0x237c14)+_0x104871(0x1dc)+_0x4d0201+'.',_0x104871(0x1f2)+CLI_BIN_NAME+_0x104871(0x1e5));return normalizeLovrabetRegion(_0x237c14)??DEFAULT_LOVRABET_REGION;}export function resolveEffectiveRegion(_0x505ea5){const _0x57077f=a271_0x31a8,_0x3c59cf=selectConfiguredRegion(_0x505ea5),_0xa42e8=_0x3c59cf['source']===_0x57077f(0x1e2)?_0x505ea5[_0x57077f(0x1eb)]?_0x57077f(0x1df)+_0x505ea5['appName']+'\x22':'selected\x20app\x20profile':_0x3c59cf[_0x57077f(0x1e7)]==='project'?_0x57077f(0x1f7):_0x3c59cf['source']===_0x57077f(0x1e4)?_0x57077f(0x1ea):_0x57077f(0x1ed);return{'region':resolveConfiguredRegion(_0x3c59cf[_0x57077f(0x1f9)],_0xa42e8),'source':_0x3c59cf[_0x57077f(0x1e7)]};}
@@ -1 +1 @@
1
- const a272_0x2ec802=a272_0x1f83;(function(_0x35b742,_0x22909f){const _0x1e3353=a272_0x1f83,_0x2baed9=_0x35b742();while(!![]){try{const _0x25e3a8=-parseInt(_0x1e3353(0x10b))/0x1*(-parseInt(_0x1e3353(0x13b))/0x2)+parseInt(_0x1e3353(0x128))/0x3+parseInt(_0x1e3353(0x141))/0x4+parseInt(_0x1e3353(0x137))/0x5*(-parseInt(_0x1e3353(0x12c))/0x6)+-parseInt(_0x1e3353(0x123))/0x7+parseInt(_0x1e3353(0x114))/0x8+parseInt(_0x1e3353(0x10d))/0x9*(-parseInt(_0x1e3353(0x120))/0xa);if(_0x25e3a8===_0x22909f)break;else _0x2baed9['push'](_0x2baed9['shift']());}catch(_0x18c32d){_0x2baed9['push'](_0x2baed9['shift']());}}}(a272_0xb7f3,0x87096));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,isProduction,RABETBASE_ENV_VALUES}from'../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../constant/output.js';import{RISK_LEVEL_VALUES}from'../constant/risk.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../constant/region.js';export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';export const PROJECT_CREATE_INHERITABLE_KEYS=[a272_0x2ec802(0x11f),a272_0x2ec802(0x113),a272_0x2ec802(0x133),'format',a272_0x2ec802(0x13f),a272_0x2ec802(0x138),'routing',a272_0x2ec802(0x13c),a272_0x2ec802(0x140),'runtimeDomain',a272_0x2ec802(0x11e),a272_0x2ec802(0x122),a272_0x2ec802(0x129),a272_0x2ec802(0x115),a272_0x2ec802(0x130),a272_0x2ec802(0x10c)];export const TOP_LEVEL_CONFIG_KEYS=new Set([a272_0x2ec802(0x121),'env',a272_0x2ec802(0x133),a272_0x2ec802(0x135),a272_0x2ec802(0x11f),a272_0x2ec802(0x113),'apiDir',a272_0x2ec802(0x138),a272_0x2ec802(0x13c),a272_0x2ec802(0x140),'runtimeDomain',a272_0x2ec802(0x11e),a272_0x2ec802(0x122),'kbServiceDomain',a272_0x2ec802(0x115),a272_0x2ec802(0x130),a272_0x2ec802(0x10c)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x1aa251){return[..._0x1aa251]['join'](',\x20');}function a272_0x1f83(_0x42932d,_0x4b7a5f){_0x42932d=_0x42932d-0x10a;const _0xb7f3d9=a272_0xb7f3();let _0x1f83fe=_0xb7f3d9[_0x42932d];return _0x1f83fe;}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x24926b){return TOP_LEVEL_CONFIG_KEYS['has'](_0x24926b);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x2ba85b=a272_0x2ec802;return _0x2ba85b(0x125)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'apiGroup':a272_0x2ec802(0x132),'region':'region','env':a272_0x2ec802(0x136),'apiDir':a272_0x2ec802(0x13d),'cookie':a272_0x2ec802(0x11f),'accessKey':a272_0x2ec802(0x113),'defaultFormat':a272_0x2ec802(0x135),'pageSize':'pageSize','riskLevel':a272_0x2ec802(0x13f),'locale':a272_0x2ec802(0x133)};export function getAppProfileFlagDefs(){const _0x17c6a7=a272_0x2ec802;return[{'name':'apiGroup','type':_0x17c6a7(0x111),'description':_0x17c6a7(0x13e)},{'name':'region','type':_0x17c6a7(0x111),'description':'Country/region\x20for\x20this\x20app\x20profile','enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':_0x17c6a7(0x136),'type':'string','description':_0x17c6a7(0x12f),'enum':[...RABETBASE_ENV_VALUES]},{'name':'apiDir','type':_0x17c6a7(0x111),'description':'API\x20directory\x20path'},{'name':'cookie','type':_0x17c6a7(0x111),'description':_0x17c6a7(0x134),'hidden':!![]},{'name':'accessKey','type':_0x17c6a7(0x111),'description':_0x17c6a7(0x139),'hidden':!![]},{'name':_0x17c6a7(0x11a),'type':'string','description':_0x17c6a7(0x117),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':'pageSize','type':_0x17c6a7(0x126),'description':_0x17c6a7(0x118)},{'name':'riskLevel','type':_0x17c6a7(0x111),'description':_0x17c6a7(0x11c),'enum':[...RISK_LEVEL_VALUES]},{'name':_0x17c6a7(0x133),'type':'string','description':'App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)'}];}export function collectAppProfileOverrides(_0x4c8546){const _0x36a8e5=a272_0x2ec802,_0x1b47d3={};for(const [_0x4283d5,_0x433337]of Object[_0x36a8e5(0x10f)](APP_PROFILE_FLAG_KEY_MAP)){const _0x380e99=_0x4c8546(_0x4283d5);if(!_0x380e99)continue;_0x1b47d3[_0x433337]=_0x433337===_0x36a8e5(0x112)?Number(_0x380e99):_0x380e99;}return _0x1b47d3;}export function buildAppProfileListFields(_0x10c5b8){const _0x518c20=a272_0x2ec802;return{'apiGroup':_0x10c5b8['apiGroup']??null,'region':_0x10c5b8[_0x518c20(0x138)]??null,'env':_0x10c5b8[_0x518c20(0x136)]??null,'apiDir':_0x10c5b8['apiDir']??null,'hasCookie':!!_0x10c5b8[_0x518c20(0x11f)],'hasAccessKey':!!_0x10c5b8[_0x518c20(0x113)],'format':_0x10c5b8[_0x518c20(0x135)]??null,'pageSize':_0x10c5b8[_0x518c20(0x112)]??null,'riskLevel':_0x10c5b8[_0x518c20(0x13f)]??null,'locale':_0x10c5b8[_0x518c20(0x133)]??null};}export function buildAppDoctorFields(_0x165fd9,_0x2fd090){const _0x35dbc3=a272_0x2ec802;return{'region':{'value':_0x165fd9[_0x35dbc3(0x138)]||_0x2fd090['region'],'source':_0x165fd9[_0x35dbc3(0x138)]?_0x35dbc3(0x124):'inherit'},'env':{'value':_0x165fd9[_0x35dbc3(0x136)]||_0x2fd090[_0x35dbc3(0x136)],'source':_0x165fd9[_0x35dbc3(0x136)]?_0x35dbc3(0x124):_0x35dbc3(0x131)},'apiDir':{'value':_0x165fd9[_0x35dbc3(0x13d)]||_0x2fd090[_0x35dbc3(0x13d)],'source':_0x165fd9[_0x35dbc3(0x13d)]?_0x35dbc3(0x124):_0x35dbc3(0x131)},'cookie':{'value':_0x165fd9[_0x35dbc3(0x11f)]||_0x2fd090[_0x35dbc3(0x11f)],'source':_0x165fd9[_0x35dbc3(0x11f)]?_0x35dbc3(0x124):_0x35dbc3(0x131)},'accessKey':{'value':_0x165fd9[_0x35dbc3(0x113)]||_0x2fd090[_0x35dbc3(0x113)],'source':_0x165fd9[_0x35dbc3(0x113)]?_0x35dbc3(0x124):_0x35dbc3(0x131)}};}export function buildCanonicalAppConfig(_0x59aa12,_0x434317){const _0x4cf3fa=a272_0x2ec802,_0x5eabf0=_0x59aa12[_0x4cf3fa(0x142)](_0x16d7c0=>String(_0x16d7c0||'')[_0x4cf3fa(0x11d)]())['filter'](Boolean);if(_0x5eabf0[_0x4cf3fa(0x12a)]===0x0)return{};const _0x332a83={};for(const _0x49a5c4 of _0x5eabf0){_0x332a83[_0x49a5c4]=_0x434317&&!isProduction(_0x434317)?{'appcode':_0x49a5c4,'env':_0x434317}:{'appcode':_0x49a5c4};}return _0x5eabf0[_0x4cf3fa(0x12a)]>0x1?{'apps':_0x332a83,'defaultApp':_0x5eabf0[0x0]}:{'apps':_0x332a83};}export function normalizeStoredDefaultApp(_0x21aa45,_0x15aa54){const _0x2f61b5=a272_0x2ec802,_0x1ec34b=_0x21aa45[_0x2f61b5(0x12e)]&&typeof _0x21aa45[_0x2f61b5(0x12e)]===_0x2f61b5(0x12d)?_0x21aa45['apps']:{},_0x424c85=Object[_0x2f61b5(0x119)](_0x1ec34b);if(_0x424c85[_0x2f61b5(0x12a)]<=0x1)return delete _0x21aa45[_0x2f61b5(0x13a)],undefined;const _0x2dde67=typeof _0x21aa45['defaultApp']===_0x2f61b5(0x111)&&_0x1ec34b[_0x21aa45[_0x2f61b5(0x13a)]]?_0x21aa45[_0x2f61b5(0x13a)]:undefined,_0x5661d5=_0x15aa54&&_0x1ec34b[_0x15aa54]?_0x15aa54:_0x2dde67;if(_0x5661d5)return _0x21aa45[_0x2f61b5(0x13a)]=_0x5661d5,_0x5661d5;return delete _0x21aa45[_0x2f61b5(0x13a)],undefined;}export function buildCanonicalProjectConfig(_0x59b9c5,_0xab0724){const _0x321364=a272_0x2ec802,{appCodes:appCodes=[],env:_0x5b6f29,metadata:_0x463d51}=_0xab0724,_0x2ce397={..._0x59b9c5,..._0x463d51||{}};delete _0x2ce397[_0x321364(0x121)],delete _0x2ce397[_0x321364(0x124)];const _0x3a12ba=_0x5b6f29||(typeof _0x2ce397[_0x321364(0x136)]===_0x321364(0x111)?_0x2ce397[_0x321364(0x136)]:'')||DEFAULT_CONFIG_VALUES['env'];if(isProduction(_0x3a12ba))delete _0x2ce397[_0x321364(0x136)];else _0x2ce397['env']=_0x3a12ba;const _0x3b626a=buildCanonicalAppConfig(appCodes,_0x3a12ba);if(Object[_0x321364(0x119)](_0x3b626a)[_0x321364(0x12a)]>0x0){_0x2ce397[_0x321364(0x12e)]=_0x3b626a['apps'];if(_0x3b626a[_0x321364(0x13a)])_0x2ce397[_0x321364(0x13a)]=_0x3b626a[_0x321364(0x13a)];else delete _0x2ce397[_0x321364(0x13a)];}return normalizeConfigForWrite(_0x2ce397);}function isRecord(_0xd37e27){const _0x3e49c7=a272_0x2ec802;return!!_0xd37e27&&typeof _0xd37e27===_0x3e49c7(0x12d)&&!Array[_0x3e49c7(0x10a)](_0xd37e27);}export function normalizeConfigForWrite(_0x41ddb1){const _0x2dba24=a272_0x2ec802,_0xb87391={..._0x41ddb1},_0x27f405=isRecord(_0x41ddb1['apps'])?_0x41ddb1['apps']:undefined,_0xb2908a=_0x27f405?Object[_0x2dba24(0x11b)](Object[_0x2dba24(0x10f)](_0x27f405)[_0x2dba24(0x142)](([_0xe304cf,_0x482427])=>[_0xe304cf,isRecord(_0x482427)?{..._0x482427}:_0x482427])):undefined;if(_0xb2908a){const _0x1f64dd=typeof _0xb87391[_0x2dba24(0x136)]===_0x2dba24(0x111)?_0xb87391[_0x2dba24(0x136)]:undefined,_0x121d6f=Object[_0x2dba24(0x10e)](_0xb2908a)[_0x2dba24(0x116)](_0x5a0bb2=>isRecord(_0x5a0bb2)&&typeof _0x5a0bb2[_0x2dba24(0x136)]==='string'&&isProduction(_0x5a0bb2[_0x2dba24(0x136)]));if(_0x1f64dd&&isDaily(_0x1f64dd)&&_0x121d6f){for(const _0x11bb02 of Object[_0x2dba24(0x10e)](_0xb2908a)){if(!isRecord(_0x11bb02))continue;if(_0x11bb02[_0x2dba24(0x136)]===undefined)_0x11bb02[_0x2dba24(0x136)]=_0x1f64dd;}delete _0xb87391[_0x2dba24(0x136)];}for(const _0x3c3c02 of Object[_0x2dba24(0x10e)](_0xb2908a)){isRecord(_0x3c3c02)&&typeof _0x3c3c02[_0x2dba24(0x136)]===_0x2dba24(0x111)&&isProduction(_0x3c3c02[_0x2dba24(0x136)])&&delete _0x3c3c02['env'];}_0xb87391[_0x2dba24(0x12e)]=_0xb2908a;}return typeof _0xb87391[_0x2dba24(0x136)]===_0x2dba24(0x111)&&isProduction(_0xb87391[_0x2dba24(0x136)])&&delete _0xb87391[_0x2dba24(0x136)],_0xb87391;}const LOCALE_MAP={'zh':a272_0x2ec802(0x127),'zh-cn':a272_0x2ec802(0x127),'zh_cn':a272_0x2ec802(0x127),'en':a272_0x2ec802(0x12b),'en-us':a272_0x2ec802(0x12b),'en_us':a272_0x2ec802(0x12b)};function a272_0xb7f3(){const _0x173316=['Target\x20environment','localDomain','inherit','apiGroup','locale','Auth\x20cookie','format','env','1675TPTtbc','region','Access\x20key','defaultApp','684946eyjLal','userDomain','apiDir','Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry','riskLevel','apiDomain','2368040AVlrCU','map','isArray','1OfkRAb','certificateDomain','11520NhKZge','values','entries','toLowerCase','string','pageSize','accessKey','3758632zMpCSC','appDomain','some','Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','Default\x20page\x20size','keys','defaultFormat','fromEntries','Risk\x20level','trim','skillDomain','cookie','1840LZGWLy','appcode','kbDomain','4851686JOoSHD','app','Config\x20key\x20(','number','zh-CN','1284483eWGdTV','kbServiceDomain','length','en-US','6282qyvpaS','object','apps'];a272_0xb7f3=function(){return _0x173316;};return a272_0xb7f3();}export function normalizeLocale(_0x4629b7){const _0x3fb3fe=a272_0x2ec802;if(!_0x4629b7)return null;return LOCALE_MAP[_0x4629b7[_0x3fb3fe(0x110)]()]??null;}
1
+ const a272_0x4c129f=a272_0x4f55;(function(_0x15e7b0,_0x2ee92f){const _0x2b2628=a272_0x4f55,_0x5bb6ec=_0x15e7b0();while(!![]){try{const _0x5ba4bb=parseInt(_0x2b2628(0x130))/0x1+parseInt(_0x2b2628(0x136))/0x2+parseInt(_0x2b2628(0x13c))/0x3+-parseInt(_0x2b2628(0x14d))/0x4+-parseInt(_0x2b2628(0x13e))/0x5*(parseInt(_0x2b2628(0x14e))/0x6)+parseInt(_0x2b2628(0x124))/0x7*(parseInt(_0x2b2628(0x14f))/0x8)+parseInt(_0x2b2628(0x134))/0x9;if(_0x5ba4bb===_0x2ee92f)break;else _0x5bb6ec['push'](_0x5bb6ec['shift']());}catch(_0x1904a6){_0x5bb6ec['push'](_0x5bb6ec['shift']());}}}(a272_0x53de,0x4dabc));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,isProduction,RABETBASE_ENV_VALUES}from'../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../constant/output.js';import{RISK_LEVEL_VALUES}from'../constant/risk.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../constant/region.js';export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';function a272_0x4f55(_0x3b960f,_0x4ad95f){_0x3b960f=_0x3b960f-0x11b;const _0x53de78=a272_0x53de();let _0x4f55db=_0x53de78[_0x3b960f];return _0x4f55db;}export const PROJECT_CREATE_INHERITABLE_KEYS=[a272_0x4c129f(0x127),a272_0x4c129f(0x149),a272_0x4c129f(0x131),'format',a272_0x4c129f(0x121),a272_0x4c129f(0x12c),a272_0x4c129f(0x141),a272_0x4c129f(0x153),a272_0x4c129f(0x12d),a272_0x4c129f(0x11b),a272_0x4c129f(0x133),a272_0x4c129f(0x11f),a272_0x4c129f(0x13d),a272_0x4c129f(0x12e),'localDomain',a272_0x4c129f(0x140)];function a272_0x53de(){const _0x3f4964=['381044UzFmpr','localDomain','API\x20directory\x20path','env','object','keys','697740YXSSKQ','kbServiceDomain','25ipMTOc','apps','certificateDomain','routing','isArray','appcode','string','Target\x20environment','app','zh-CN','defaultApp','accessKey','Default\x20page\x20size','inherit','format','798700pWtixx','623418SqPQZv','872pSnBtg','length','has','pageSize','userDomain','join','map','defaultFormat','entries','runtimeDomain','fromEntries','toLowerCase','Country/region\x20for\x20this\x20app\x20profile','kbDomain','en-US','riskLevel','Auth\x20cookie','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','3717KweoQD','Config\x20key\x20(','apiDir','cookie','apiGroup','some','Join\x20key\x20for\x20app\x20profiles\x20that\x20share\x20one\x20generated\x20API\x20model\x20registry','values','region','apiDomain','appDomain','number','59955yCWXxT','locale','Access\x20key','skillDomain','4467546moOHSQ','Default\x20output\x20format\x20for\x20this\x20app\x20(profile)'];a272_0x53de=function(){return _0x3f4964;};return a272_0x53de();}export const TOP_LEVEL_CONFIG_KEYS=new Set([a272_0x4c129f(0x143),a272_0x4c129f(0x139),a272_0x4c129f(0x131),'format',a272_0x4c129f(0x127),a272_0x4c129f(0x149),a272_0x4c129f(0x126),'region',a272_0x4c129f(0x153),'apiDomain',a272_0x4c129f(0x11b),a272_0x4c129f(0x133),a272_0x4c129f(0x11f),a272_0x4c129f(0x13d),'appDomain',a272_0x4c129f(0x137),a272_0x4c129f(0x140)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x53eb60){const _0x5ef57c=a272_0x4c129f;return[..._0x53eb60][_0x5ef57c(0x154)](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x2ae34a){const _0x4d6535=a272_0x4c129f;return TOP_LEVEL_CONFIG_KEYS[_0x4d6535(0x151)](_0x2ae34a);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x3b6e2e=a272_0x4c129f;return _0x3b6e2e(0x125)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'apiGroup':a272_0x4c129f(0x128),'region':'region','env':a272_0x4c129f(0x139),'apiDir':a272_0x4c129f(0x126),'cookie':'cookie','accessKey':a272_0x4c129f(0x149),'defaultFormat':'format','pageSize':a272_0x4c129f(0x152),'riskLevel':a272_0x4c129f(0x121),'locale':a272_0x4c129f(0x131)};export function getAppProfileFlagDefs(){const _0x247374=a272_0x4c129f;return[{'name':'apiGroup','type':_0x247374(0x144),'description':_0x247374(0x12a)},{'name':'region','type':_0x247374(0x144),'description':_0x247374(0x11e),'enum':[...ENABLED_LOVRABET_REGION_VALUES]},{'name':_0x247374(0x139),'type':_0x247374(0x144),'description':_0x247374(0x145),'enum':[...RABETBASE_ENV_VALUES]},{'name':_0x247374(0x126),'type':'string','description':_0x247374(0x138)},{'name':_0x247374(0x127),'type':'string','description':_0x247374(0x122),'hidden':!![]},{'name':'accessKey','type':'string','description':_0x247374(0x132),'hidden':!![]},{'name':_0x247374(0x156),'type':'string','description':_0x247374(0x135),'enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x247374(0x152),'type':_0x247374(0x12f),'description':_0x247374(0x14a)},{'name':_0x247374(0x121),'type':_0x247374(0x144),'description':'Risk\x20level','enum':[...RISK_LEVEL_VALUES]},{'name':_0x247374(0x131),'type':_0x247374(0x144),'description':_0x247374(0x123)}];}export function collectAppProfileOverrides(_0x295826){const _0x2ce49c=a272_0x4c129f,_0x17e928={};for(const [_0x203aad,_0x2e95e2]of Object[_0x2ce49c(0x157)](APP_PROFILE_FLAG_KEY_MAP)){const _0x2dca6f=_0x295826(_0x203aad);if(!_0x2dca6f)continue;_0x17e928[_0x2e95e2]=_0x2e95e2===_0x2ce49c(0x152)?Number(_0x2dca6f):_0x2dca6f;}return _0x17e928;}export function buildAppProfileListFields(_0x559f4a){const _0x18b163=a272_0x4c129f;return{'apiGroup':_0x559f4a[_0x18b163(0x128)]??null,'region':_0x559f4a['region']??null,'env':_0x559f4a['env']??null,'apiDir':_0x559f4a[_0x18b163(0x126)]??null,'hasCookie':!!_0x559f4a[_0x18b163(0x127)],'hasAccessKey':!!_0x559f4a[_0x18b163(0x149)],'format':_0x559f4a[_0x18b163(0x14c)]??null,'pageSize':_0x559f4a['pageSize']??null,'riskLevel':_0x559f4a[_0x18b163(0x121)]??null,'locale':_0x559f4a[_0x18b163(0x131)]??null};}export function buildAppDoctorFields(_0x4357f1,_0x3e196b){const _0x400e77=a272_0x4c129f;return{'region':{'value':_0x4357f1[_0x400e77(0x12c)]||_0x3e196b[_0x400e77(0x12c)],'source':_0x4357f1[_0x400e77(0x12c)]?_0x400e77(0x146):_0x400e77(0x14b)},'env':{'value':_0x4357f1[_0x400e77(0x139)]||_0x3e196b['env'],'source':_0x4357f1[_0x400e77(0x139)]?_0x400e77(0x146):'inherit'},'apiDir':{'value':_0x4357f1[_0x400e77(0x126)]||_0x3e196b[_0x400e77(0x126)],'source':_0x4357f1[_0x400e77(0x126)]?_0x400e77(0x146):_0x400e77(0x14b)},'cookie':{'value':_0x4357f1['cookie']||_0x3e196b[_0x400e77(0x127)],'source':_0x4357f1['cookie']?_0x400e77(0x146):_0x400e77(0x14b)},'accessKey':{'value':_0x4357f1[_0x400e77(0x149)]||_0x3e196b['accessKey'],'source':_0x4357f1[_0x400e77(0x149)]?_0x400e77(0x146):_0x400e77(0x14b)}};}export function buildCanonicalAppConfig(_0x5e0845,_0x4b2b66){const _0x5f206b=a272_0x4c129f,_0x14e2b6=_0x5e0845['map'](_0x7bee8f=>String(_0x7bee8f||'')['trim']())['filter'](Boolean);if(_0x14e2b6['length']===0x0)return{};const _0xe841be={};for(const _0x2b4322 of _0x14e2b6){_0xe841be[_0x2b4322]=_0x4b2b66&&!isProduction(_0x4b2b66)?{'appcode':_0x2b4322,'env':_0x4b2b66}:{'appcode':_0x2b4322};}return _0x14e2b6[_0x5f206b(0x150)]>0x1?{'apps':_0xe841be,'defaultApp':_0x14e2b6[0x0]}:{'apps':_0xe841be};}export function normalizeStoredDefaultApp(_0x14b85a,_0x7d362f){const _0x2d779c=a272_0x4c129f,_0x25e56b=_0x14b85a[_0x2d779c(0x13f)]&&typeof _0x14b85a['apps']===_0x2d779c(0x13a)?_0x14b85a[_0x2d779c(0x13f)]:{},_0x5ab417=Object[_0x2d779c(0x13b)](_0x25e56b);if(_0x5ab417['length']<=0x1)return delete _0x14b85a['defaultApp'],undefined;const _0x311731=typeof _0x14b85a['defaultApp']==='string'&&_0x25e56b[_0x14b85a[_0x2d779c(0x148)]]?_0x14b85a[_0x2d779c(0x148)]:undefined,_0x2296b0=_0x7d362f&&_0x25e56b[_0x7d362f]?_0x7d362f:_0x311731;if(_0x2296b0)return _0x14b85a['defaultApp']=_0x2296b0,_0x2296b0;return delete _0x14b85a[_0x2d779c(0x148)],undefined;}export function buildCanonicalProjectConfig(_0x5588ae,_0x34f90e){const _0xb7cb4f=a272_0x4c129f,{appCodes:appCodes=[],env:_0x3e61fd,metadata:_0x2fa486}=_0x34f90e,_0x4bf8f1={..._0x5588ae,..._0x2fa486||{}};delete _0x4bf8f1[_0xb7cb4f(0x143)],delete _0x4bf8f1['app'];const _0x32fc6c=_0x3e61fd||(typeof _0x4bf8f1['env']==='string'?_0x4bf8f1[_0xb7cb4f(0x139)]:'')||DEFAULT_CONFIG_VALUES[_0xb7cb4f(0x139)];if(isProduction(_0x32fc6c))delete _0x4bf8f1[_0xb7cb4f(0x139)];else _0x4bf8f1[_0xb7cb4f(0x139)]=_0x32fc6c;const _0x239fa3=buildCanonicalAppConfig(appCodes,_0x32fc6c);if(Object[_0xb7cb4f(0x13b)](_0x239fa3)[_0xb7cb4f(0x150)]>0x0){_0x4bf8f1[_0xb7cb4f(0x13f)]=_0x239fa3[_0xb7cb4f(0x13f)];if(_0x239fa3[_0xb7cb4f(0x148)])_0x4bf8f1[_0xb7cb4f(0x148)]=_0x239fa3[_0xb7cb4f(0x148)];else delete _0x4bf8f1[_0xb7cb4f(0x148)];}return normalizeConfigForWrite(_0x4bf8f1);}function isRecord(_0x2d9e8f){const _0x1cefa3=a272_0x4c129f;return!!_0x2d9e8f&&typeof _0x2d9e8f==='object'&&!Array[_0x1cefa3(0x142)](_0x2d9e8f);}export function normalizeConfigForWrite(_0x4f0a99){const _0x52e0b1=a272_0x4c129f,_0x2e6aec={..._0x4f0a99},_0x56257a=isRecord(_0x4f0a99[_0x52e0b1(0x13f)])?_0x4f0a99[_0x52e0b1(0x13f)]:undefined,_0x29da8d=_0x56257a?Object[_0x52e0b1(0x11c)](Object['entries'](_0x56257a)[_0x52e0b1(0x155)](([_0x52f2bb,_0x521eac])=>[_0x52f2bb,isRecord(_0x521eac)?{..._0x521eac}:_0x521eac])):undefined;if(_0x29da8d){const _0x206e3a=typeof _0x2e6aec[_0x52e0b1(0x139)]===_0x52e0b1(0x144)?_0x2e6aec['env']:undefined,_0xa7cf6b=Object[_0x52e0b1(0x12b)](_0x29da8d)[_0x52e0b1(0x129)](_0x4f1f1f=>isRecord(_0x4f1f1f)&&typeof _0x4f1f1f[_0x52e0b1(0x139)]==='string'&&isProduction(_0x4f1f1f['env']));if(_0x206e3a&&isDaily(_0x206e3a)&&_0xa7cf6b){for(const _0x5aec44 of Object[_0x52e0b1(0x12b)](_0x29da8d)){if(!isRecord(_0x5aec44))continue;if(_0x5aec44[_0x52e0b1(0x139)]===undefined)_0x5aec44['env']=_0x206e3a;}delete _0x2e6aec['env'];}for(const _0x3b5cb1 of Object[_0x52e0b1(0x12b)](_0x29da8d)){isRecord(_0x3b5cb1)&&typeof _0x3b5cb1['env']===_0x52e0b1(0x144)&&isProduction(_0x3b5cb1[_0x52e0b1(0x139)])&&delete _0x3b5cb1['env'];}_0x2e6aec['apps']=_0x29da8d;}return typeof _0x2e6aec[_0x52e0b1(0x139)]==='string'&&isProduction(_0x2e6aec[_0x52e0b1(0x139)])&&delete _0x2e6aec['env'],_0x2e6aec;}const LOCALE_MAP={'zh':a272_0x4c129f(0x147),'zh-cn':a272_0x4c129f(0x147),'zh_cn':a272_0x4c129f(0x147),'en':'en-US','en-us':a272_0x4c129f(0x120),'en_us':a272_0x4c129f(0x120)};export function normalizeLocale(_0x2c36d2){const _0x2e6781=a272_0x4c129f;if(!_0x2c36d2)return null;return LOCALE_MAP[_0x2c36d2[_0x2e6781(0x11d)]()]??null;}
@@ -1 +1 @@
1
- const a273_0x30d271=a273_0x5250;function a273_0x18a4(){const _0x52c394=['sub-app-react-demo-beta.zip','lovrabet','194696zggAiC','templates/projects','15HwfoRL','9317658IxVgSj','config/index.json','1fpHIzs','6237976xQmaYU','.zip','30311170muWHAi','2180500vkaYER','rabetbase-cli','1194325bkSKeu','18GirOhQ','218392XeKuup','/dist/'];a273_0x18a4=function(){return _0x52c394;};return a273_0x18a4();}(function(_0x55b1d3,_0x132bcf){const _0x198083=a273_0x5250,_0x205cac=_0x55b1d3();while(!![]){try{const _0x2ddc3d=-parseInt(_0x198083(0x191))/0x1*(-parseInt(_0x198083(0x188))/0x2)+-parseInt(_0x198083(0x18e))/0x3*(-parseInt(_0x198083(0x18c))/0x4)+parseInt(_0x198083(0x186))/0x5+-parseInt(_0x198083(0x18f))/0x6+parseInt(_0x198083(0x184))/0x7+-parseInt(_0x198083(0x192))/0x8*(parseInt(_0x198083(0x187))/0x9)+parseInt(_0x198083(0x194))/0xa;if(_0x2ddc3d===_0x132bcf)break;else _0x205cac['push'](_0x205cac['shift']());}catch(_0x2e990f){_0x205cac['push'](_0x205cac['shift']());}}}(a273_0x18a4,0xc896b));import{getActiveCdn}from'../constant/domain.js';const RABETBASE_CDN_PROJECT=a273_0x30d271(0x185),RABETBASE_CDN_CONFIG_ORIGIN='https://g.lovrabet.com',CDN_CONFIG_PATH=a273_0x30d271(0x190),PROJECT_TEMPLATE_ASSET_PATH=a273_0x30d271(0x18d),PROJECT_TEMPLATE_ARCHIVE_NAMES=Object['freeze']({'release':'sub-app-react-demo.zip','beta':a273_0x30d271(0x18a)});export const RABETBASE_CDN_PROJECT_PATH=a273_0x30d271(0x189)+RABETBASE_CDN_PROJECT;function getRabetbaseCdnBaseUrl(){const _0x324fdb=a273_0x30d271;return''+getActiveCdn()[_0x324fdb(0x18b)]+RABETBASE_CDN_PROJECT_PATH;}export function getCliVersionPolicyUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+CDN_CONFIG_PATH;}function a273_0x5250(_0x9012dd,_0x535670){_0x9012dd=_0x9012dd-0x184;const _0x18a46a=a273_0x18a4();let _0x5250a2=_0x18a46a[_0x9012dd];return _0x5250a2;}export function getProjectTemplateAssetBaseUrl(){return getRabetbaseCdnBaseUrl()+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateLegacyAssetBaseUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateRelativeUrl(_0x3f819a,_0x1855b2){const _0x53a7a5=a273_0x30d271,_0x2f29ce=_0x1855b2?'sub-app-react-demo-'+_0x1855b2+_0x53a7a5(0x193):PROJECT_TEMPLATE_ARCHIVE_NAMES[_0x3f819a];return RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH+'/'+_0x2f29ce;}
1
+ function a273_0x2aa9(_0x4c6902,_0x2f8b86){_0x4c6902=_0x4c6902-0x1aa;const _0x1cd91e=a273_0x1cd9();let _0x2aa973=_0x1cd91e[_0x4c6902];return _0x2aa973;}const a273_0x32a0c2=a273_0x2aa9;(function(_0x2e17e4,_0x214354){const _0x5a4c15=a273_0x2aa9,_0x5e6353=_0x2e17e4();while(!![]){try{const _0x514e96=-parseInt(_0x5a4c15(0x1b6))/0x1*(parseInt(_0x5a4c15(0x1aa))/0x2)+parseInt(_0x5a4c15(0x1b2))/0x3*(-parseInt(_0x5a4c15(0x1ab))/0x4)+-parseInt(_0x5a4c15(0x1af))/0x5+-parseInt(_0x5a4c15(0x1b7))/0x6*(parseInt(_0x5a4c15(0x1ad))/0x7)+-parseInt(_0x5a4c15(0x1b5))/0x8+parseInt(_0x5a4c15(0x1ba))/0x9*(parseInt(_0x5a4c15(0x1bc))/0xa)+parseInt(_0x5a4c15(0x1b1))/0xb;if(_0x514e96===_0x214354)break;else _0x5e6353['push'](_0x5e6353['shift']());}catch(_0x3dda1e){_0x5e6353['push'](_0x5e6353['shift']());}}}(a273_0x1cd9,0xd8149));import{getActiveCdn}from'../constant/domain.js';const RABETBASE_CDN_PROJECT=a273_0x32a0c2(0x1bd),RABETBASE_CDN_CONFIG_ORIGIN=a273_0x32a0c2(0x1b9),CDN_CONFIG_PATH='config/index.json',PROJECT_TEMPLATE_ASSET_PATH=a273_0x32a0c2(0x1ae),PROJECT_TEMPLATE_ARCHIVE_NAMES=Object[a273_0x32a0c2(0x1b8)]({'release':a273_0x32a0c2(0x1b3),'beta':a273_0x32a0c2(0x1bb)});export const RABETBASE_CDN_PROJECT_PATH=a273_0x32a0c2(0x1b0)+RABETBASE_CDN_PROJECT;function getRabetbaseCdnBaseUrl(){const _0x10b09c=a273_0x32a0c2;return''+getActiveCdn()[_0x10b09c(0x1be)]+RABETBASE_CDN_PROJECT_PATH;}export function getCliVersionPolicyUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+CDN_CONFIG_PATH;}export function getProjectTemplateAssetBaseUrl(){return getRabetbaseCdnBaseUrl()+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateLegacyAssetBaseUrl(){return''+RABETBASE_CDN_CONFIG_ORIGIN+RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH;}export function getProjectTemplateRelativeUrl(_0x12aa51,_0x10fcd3){const _0x54a194=a273_0x32a0c2,_0x13499d=_0x10fcd3?_0x54a194(0x1ac)+_0x10fcd3+_0x54a194(0x1b4):PROJECT_TEMPLATE_ARCHIVE_NAMES[_0x12aa51];return RABETBASE_CDN_PROJECT_PATH+'/'+PROJECT_TEMPLATE_ASSET_PATH+'/'+_0x13499d;}function a273_0x1cd9(){const _0x5a1836=['8141aKpXVf','templates/projects','2583850fsTxQF','/dist/','49895395LYKcYg','5403ttqjZY','sub-app-react-demo.zip','.zip','5351120nBrEzh','1twMqRg','1854hQRFlR','freeze','https://g.lovrabet.com','9OyoVAa','sub-app-react-demo-beta.zip','4046810MbLUxm','rabetbase-cli','lovrabet','3029162qQGPnt','2212UlwNkD','sub-app-react-demo-'];a273_0x1cd9=function(){return _0x5a1836;};return a273_0x1cd9();}
@@ -1 +1 @@
1
- const a274_0x31042e=a274_0x3165;(function(_0x268cf9,_0x536c8e){const _0x48bf1e=a274_0x3165,_0x3b50a7=_0x268cf9();while(!![]){try{const _0x5b22bf=-parseInt(_0x48bf1e(0x219))/0x1+-parseInt(_0x48bf1e(0x214))/0x2+parseInt(_0x48bf1e(0x235))/0x3+parseInt(_0x48bf1e(0x1f7))/0x4*(-parseInt(_0x48bf1e(0x264))/0x5)+parseInt(_0x48bf1e(0x261))/0x6*(-parseInt(_0x48bf1e(0x1f1))/0x7)+parseInt(_0x48bf1e(0x265))/0x8+parseInt(_0x48bf1e(0x25e))/0x9;if(_0x5b22bf===_0x536c8e)break;else _0x3b50a7['push'](_0x3b50a7['shift']());}catch(_0x5d7b98){_0x3b50a7['push'](_0x3b50a7['shift']());}}}(a274_0x16e4,0x2b0f5));export const CLI_BIN_NAME=a274_0x31042e(0x233);function a274_0x3165(_0x194210,_0x4aff50){_0x194210=_0x194210-0x1e8;const _0x16e418=a274_0x16e4();let _0x3165f3=_0x16e418[_0x194210];return _0x3165f3;}export const CLI_DISPLAY_NAME=a274_0x31042e(0x21f);function a274_0x16e4(){const _0x54484f=['sqlcode','key','<name>','Rabetbase\x20CLI','Skip\x20confirmation\x20for\x20high-risk\x20writes','value','Search\x20query','flow-name','sql','task-id','Comma-separated\x20metadata\x20codes','Force\x20non-interactive\x20mode\x20(CI)','env','description-file','watch','flowCode','topk','boolean','Show\x20help','fromEntries','Comma-separated\x20menu\x20IDs','descriptionFile','flowType','rabetbase','Operation\x20type','971952HhuovC','DB\x20ID','Watch\x20mode','@lovrabet/rabetbase-cli','type','label','taskId','page','Maximum\x20search\x20hits','reveal','yes','query','flow-code','Verbose\x20output','Expected\x20current\x20parent\x20menu\x20id','stdin','Parent\x20menu\x20id','help','dbid','Tags','expect-path','production\x20|\x20daily','JSON\x20params','schemas','functionNode','Use\x20project\x20config\x20scope','Use\x20remote','menuIds','confirm','expectPath','parentId','enable-bff-save','params','Record\x20ID','Expected\x20affected\x20count','fromEnv','clear','Environment','meowKey','zh-CN\x20|\x20en-US','menu-ids','2887245SGYLzk','Override\x20appcode','SQL\x20string','6aPWExa','Dataset\x20code','pagesize','1701215bJKncA','170808grTxfx','operation','name','flow-status','global','datasetcode','appcode','locale','title','function-node','format','dataset-code','expectedCount','Flow\x20code','app','flowStatus','Read\x20value\x20from\x20environment\x20variable','skip-imports','expected-children-count','string','operation-type','Select\x20app\x20profile\x20by\x20name','dbId','pageSize','target','codes','479059ywgaGM','Expected\x20current\x20child\x20count','<code>','dryRun','project','Type\x20filter','4qPQJYu','Name','output','Code\x20filter','non-interactive','Page\x20number','verbose','tags','force','Force\x20overwrite','Output\x20format','Flow\x20status','Apply\x20to\x20all','db-id','Output\x20path','expect-parent-id','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','sort','SQL\x20code','description','file','Config\x20value','sqlname','page-size','expectedChildrenCount','Page\x20size','Enable\x20Backend\x20Function\x20save','map','Read\x20value\x20from\x20stdin','117154PygaXy','code','dry-run','Clear','datasetCode','22510QmLtZw','Menu\x20label','expectParentId'];a274_0x16e4=function(){return _0x54484f;};return a274_0x16e4();}export const NPM_PACKAGE_NAME=a274_0x31042e(0x238);export const GLOBAL_FLAGS=[{'name':'appcode','meowKey':a274_0x31042e(0x26b),'type':'string','description':a274_0x31042e(0x25f),'hint':a274_0x31042e(0x1f3)},{'name':a274_0x31042e(0x273),'meowKey':a274_0x31042e(0x273),'type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x1ec),'hint':a274_0x31042e(0x21e)},{'name':a274_0x31042e(0x228),'meowKey':a274_0x31042e(0x228),'type':'string','description':a274_0x31042e(0x25a),'hint':a274_0x31042e(0x24a)},{'name':a274_0x31042e(0x26f),'meowKey':'format','type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x201),'hint':'json\x20|\x20pretty\x20|\x20compress'},{'name':'jq','meowKey':'jq','type':'string','description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','hint':'<expr>'},{'name':'dry-run','meowKey':a274_0x31042e(0x1f4),'type':'boolean','description':'Preview\x20operation\x20without\x20executing'},{'name':a274_0x31042e(0x23f),'meowKey':a274_0x31042e(0x23f),'type':a274_0x31042e(0x22d),'description':a274_0x31042e(0x220)},{'name':a274_0x31042e(0x1fb),'meowKey':'nonInteractive','type':a274_0x31042e(0x22d),'description':a274_0x31042e(0x227)},{'name':a274_0x31042e(0x269),'meowKey':a274_0x31042e(0x269),'type':a274_0x31042e(0x22d),'description':'Use\x20global\x20config\x20scope'},{'name':a274_0x31042e(0x1f5),'meowKey':'project','type':a274_0x31042e(0x22d),'description':a274_0x31042e(0x24e)},{'name':'ci','meowKey':'ci','type':a274_0x31042e(0x22d),'description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':a274_0x31042e(0x246),'meowKey':'help','type':a274_0x31042e(0x22d),'description':a274_0x31042e(0x22e)},{'name':a274_0x31042e(0x26c),'meowKey':a274_0x31042e(0x26c),'type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x207),'hidden':!![],'hint':a274_0x31042e(0x25c)},{'name':a274_0x31042e(0x267),'meowKey':'name','type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x1f8),'hidden':!![]},{'name':a274_0x31042e(0x26d),'meowKey':a274_0x31042e(0x26d),'type':a274_0x31042e(0x1ea),'description':'Title','hidden':!![]},{'name':a274_0x31042e(0x240),'meowKey':a274_0x31042e(0x240),'type':'string','description':a274_0x31042e(0x222),'hidden':!![]},{'name':a274_0x31042e(0x22c),'meowKey':a274_0x31042e(0x22c),'type':'string','description':a274_0x31042e(0x23d),'hidden':!![]},{'name':a274_0x31042e(0x259),'meowKey':a274_0x31042e(0x259),'type':a274_0x31042e(0x22d),'description':a274_0x31042e(0x217),'hidden':!![]},{'name':a274_0x31042e(0x22a),'meowKey':a274_0x31042e(0x22a),'type':'boolean','description':a274_0x31042e(0x237),'hidden':!![]},{'name':a274_0x31042e(0x1f9),'meowKey':'output','type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x205),'hidden':!![]},{'name':a274_0x31042e(0x255),'meowKey':a274_0x31042e(0x255),'type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x24b),'hidden':!![]},{'name':a274_0x31042e(0x26a),'meowKey':'datasetcode','type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x262),'hidden':!![]},{'name':'all','meowKey':'all','type':a274_0x31042e(0x22d),'description':a274_0x31042e(0x203),'hidden':!![]},{'name':a274_0x31042e(0x254),'meowKey':'enableBffSave','type':'boolean','description':a274_0x31042e(0x211),'hidden':!![]},{'name':'id','meowKey':'id','type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x256),'hidden':!![]},{'name':a274_0x31042e(0x239),'meowKey':a274_0x31042e(0x239),'type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x1f6),'hidden':!![]},{'name':a274_0x31042e(0x20b),'meowKey':a274_0x31042e(0x20b),'type':a274_0x31042e(0x1ea),'description':'File\x20path','hidden':!![]},{'name':a274_0x31042e(0x241),'meowKey':a274_0x31042e(0x22b),'type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x272),'hidden':!![]},{'name':a274_0x31042e(0x223),'meowKey':'flowName','type':'string','description':'Flow\x20name','hidden':!![]},{'name':a274_0x31042e(0x268),'meowKey':a274_0x31042e(0x274),'type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x202),'hidden':!![]},{'name':'flow-type','meowKey':a274_0x31042e(0x232),'type':'string','description':'Flow\x20type','hidden':!![]},{'name':a274_0x31042e(0x270),'meowKey':a274_0x31042e(0x218),'type':a274_0x31042e(0x1ea),'description':'Dataset\x20code','hidden':!![]},{'name':'sqlcode','meowKey':a274_0x31042e(0x21c),'type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x209),'hidden':!![]},{'name':'sql-name','meowKey':'sqlName','type':'string','description':'SQL\x20name','hidden':!![]},{'name':a274_0x31042e(0x20d),'meowKey':'sqlname','type':'string','description':'SQL\x20name','hidden':!![]},{'name':a274_0x31042e(0x204),'meowKey':a274_0x31042e(0x1ed),'type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x236),'hidden':!![]},{'name':a274_0x31042e(0x247),'meowKey':'dbid','type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x236),'hidden':!![]},{'name':a274_0x31042e(0x20a),'meowKey':a274_0x31042e(0x20a),'type':'string','description':'Description','hidden':!![]},{'name':a274_0x31042e(0x229),'meowKey':a274_0x31042e(0x231),'type':a274_0x31042e(0x1ea),'description':'Description\x20file','hidden':!![]},{'name':a274_0x31042e(0x23c),'meowKey':a274_0x31042e(0x23c),'type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x1fc),'hidden':!![]},{'name':a274_0x31042e(0x20e),'meowKey':a274_0x31042e(0x1ee),'type':a274_0x31042e(0x1ea),'description':'Page\x20size','hidden':!![]},{'name':a274_0x31042e(0x263),'meowKey':a274_0x31042e(0x263),'type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x210),'hidden':!![]},{'name':'keyword','meowKey':'keyword','type':'string','description':'Keyword\x20filter','hidden':!![]},{'name':a274_0x31042e(0x215),'meowKey':a274_0x31042e(0x215),'type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x1fa),'hidden':!![]},{'name':a274_0x31042e(0x224),'meowKey':a274_0x31042e(0x224),'type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x260),'hidden':!![]},{'name':a274_0x31042e(0x24c),'meowKey':'schemas','type':a274_0x31042e(0x1ea),'description':'Schemas','hidden':!![]},{'name':a274_0x31042e(0x266),'meowKey':a274_0x31042e(0x266),'type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x234),'hidden':!![]},{'name':a274_0x31042e(0x1ef),'meowKey':'target','type':'string','description':'Target\x20path','hidden':!![]},{'name':a274_0x31042e(0x1e8),'meowKey':'skipImports','type':a274_0x31042e(0x22d),'description':'Skip\x20import\x20generation','hidden':!![]},{'name':a274_0x31042e(0x21d),'meowKey':a274_0x31042e(0x21d),'type':a274_0x31042e(0x1ea),'description':'Config\x20key','hidden':!![]},{'name':a274_0x31042e(0x221),'meowKey':a274_0x31042e(0x221),'type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x20c),'hidden':!![]},{'name':a274_0x31042e(0x1fe),'meowKey':'tags','type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x248),'hidden':!![]},{'name':a274_0x31042e(0x244),'meowKey':'stdin','type':'boolean','description':a274_0x31042e(0x213),'hidden':!![]},{'name':'from-env','meowKey':a274_0x31042e(0x258),'type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x275),'hidden':!![]},{'name':a274_0x31042e(0x23e),'meowKey':a274_0x31042e(0x23e),'type':a274_0x31042e(0x22d),'description':'Reveal\x20sensitive\x20value','hidden':!![]},{'name':a274_0x31042e(0x1ff),'meowKey':a274_0x31042e(0x1ff),'type':'boolean','description':a274_0x31042e(0x200),'hidden':!![]},{'name':'confirm','meowKey':a274_0x31042e(0x251),'type':a274_0x31042e(0x22d),'description':'Confirm\x20destructive\x20action','hidden':!![]},{'name':'remote','meowKey':'remote','type':a274_0x31042e(0x22d),'description':a274_0x31042e(0x24f),'hidden':!![]},{'name':a274_0x31042e(0x1fd),'meowKey':a274_0x31042e(0x1fd),'type':a274_0x31042e(0x22d),'description':a274_0x31042e(0x242),'hidden':!![]},{'name':'expected-count','meowKey':a274_0x31042e(0x271),'type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x257),'hidden':!![]},{'name':a274_0x31042e(0x23a),'meowKey':'label','type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x21a),'hidden':!![]},{'name':'parent-id','meowKey':a274_0x31042e(0x253),'type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x245),'hidden':!![]},{'name':a274_0x31042e(0x208),'meowKey':'sort','type':a274_0x31042e(0x1ea),'description':'Menu\x20sort\x20value','hidden':!![]},{'name':a274_0x31042e(0x206),'meowKey':a274_0x31042e(0x21b),'type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x243),'hidden':!![]},{'name':a274_0x31042e(0x249),'meowKey':a274_0x31042e(0x252),'type':a274_0x31042e(0x1ea),'description':'Expected\x20current\x20menu\x20path','hidden':!![]},{'name':a274_0x31042e(0x1e9),'meowKey':a274_0x31042e(0x20f),'type':'string','description':a274_0x31042e(0x1f2),'hidden':!![]},{'name':a274_0x31042e(0x25d),'meowKey':a274_0x31042e(0x250),'type':'string','description':a274_0x31042e(0x230),'hidden':!![]},{'name':a274_0x31042e(0x225),'meowKey':a274_0x31042e(0x23b),'type':'string','description':'Asynchronous\x20task\x20ID','hidden':!![]},{'name':a274_0x31042e(0x1eb),'meowKey':'operationType','type':'string','description':a274_0x31042e(0x234),'hidden':!![]},{'name':a274_0x31042e(0x26e),'meowKey':a274_0x31042e(0x24d),'type':a274_0x31042e(0x1ea),'description':'Function\x20node','hidden':!![]},{'name':a274_0x31042e(0x1f0),'meowKey':'codes','type':a274_0x31042e(0x1ea),'description':a274_0x31042e(0x226),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a274_0x31042e(0x26b),a274_0x31042e(0x273),a274_0x31042e(0x228),'format','jq',a274_0x31042e(0x216),a274_0x31042e(0x23f),a274_0x31042e(0x1fb),'ci']);export function buildMeowFlags(){const _0xc4b0fc=a274_0x31042e;return Object[_0xc4b0fc(0x22f)](GLOBAL_FLAGS[_0xc4b0fc(0x212)](_0x369a16=>[_0x369a16[_0xc4b0fc(0x25b)],{'type':_0x369a16[_0xc4b0fc(0x239)]}]));}
1
+ const a274_0x2812b5=a274_0x504c;(function(_0x404c51,_0x77ab36){const _0x468eec=a274_0x504c,_0x227a89=_0x404c51();while(!![]){try{const _0xd013a7=parseInt(_0x468eec(0x1d1))/0x1*(-parseInt(_0x468eec(0x1d0))/0x2)+-parseInt(_0x468eec(0x15d))/0x3+parseInt(_0x468eec(0x1e8))/0x4+-parseInt(_0x468eec(0x184))/0x5+-parseInt(_0x468eec(0x1a4))/0x6+-parseInt(_0x468eec(0x17a))/0x7*(-parseInt(_0x468eec(0x1d8))/0x8)+parseInt(_0x468eec(0x1e4))/0x9;if(_0xd013a7===_0x77ab36)break;else _0x227a89['push'](_0x227a89['shift']());}catch(_0x3faabc){_0x227a89['push'](_0x227a89['shift']());}}}(a274_0x58de,0x7a050));export const CLI_BIN_NAME=a274_0x2812b5(0x173);export const CLI_DISPLAY_NAME='Rabetbase\x20CLI';function a274_0x504c(_0x25cab6,_0x3dce43){_0x25cab6=_0x25cab6-0x15c;const _0x58ded8=a274_0x58de();let _0x504c68=_0x58ded8[_0x25cab6];return _0x504c68;}export const NPM_PACKAGE_NAME=a274_0x2812b5(0x1c8);export const GLOBAL_FLAGS=[{'name':'appcode','meowKey':a274_0x2812b5(0x16d),'type':a274_0x2812b5(0x1ac),'description':'Override\x20appcode','hint':a274_0x2812b5(0x1b0)},{'name':a274_0x2812b5(0x1de),'meowKey':a274_0x2812b5(0x1de),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x164),'hint':'<name>'},{'name':a274_0x2812b5(0x1b4),'meowKey':a274_0x2812b5(0x1b4),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x1cd),'hint':a274_0x2812b5(0x1c4)},{'name':a274_0x2812b5(0x1d4),'meowKey':a274_0x2812b5(0x1d4),'type':'string','description':'Output\x20format','hint':'json\x20|\x20pretty\x20|\x20compress'},{'name':'jq','meowKey':'jq','type':'string','description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','hint':a274_0x2812b5(0x1f4)},{'name':'dry-run','meowKey':a274_0x2812b5(0x1f1),'type':'boolean','description':a274_0x2812b5(0x1aa)},{'name':a274_0x2812b5(0x1d7),'meowKey':a274_0x2812b5(0x1d7),'type':'boolean','description':'Skip\x20confirmation\x20for\x20high-risk\x20writes'},{'name':a274_0x2812b5(0x1e5),'meowKey':'nonInteractive','type':'boolean','description':'Force\x20non-interactive\x20mode\x20(CI)'},{'name':a274_0x2812b5(0x1c3),'meowKey':a274_0x2812b5(0x1c3),'type':'boolean','description':a274_0x2812b5(0x1c7)},{'name':a274_0x2812b5(0x194),'meowKey':a274_0x2812b5(0x194),'type':a274_0x2812b5(0x1ce),'description':a274_0x2812b5(0x1c6)},{'name':'ci','meowKey':'ci','type':a274_0x2812b5(0x1ce),'description':a274_0x2812b5(0x15e),'hidden':!![]},{'name':a274_0x2812b5(0x15f),'meowKey':'help','type':'boolean','description':a274_0x2812b5(0x169)},{'name':a274_0x2812b5(0x18b),'meowKey':a274_0x2812b5(0x18b),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x1e2),'hidden':!![],'hint':a274_0x2812b5(0x1c9)},{'name':'name','meowKey':'name','type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x183),'hidden':!![]},{'name':a274_0x2812b5(0x170),'meowKey':a274_0x2812b5(0x170),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x172),'hidden':!![]},{'name':'query','meowKey':a274_0x2812b5(0x1ba),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x1a7),'hidden':!![]},{'name':'topk','meowKey':a274_0x2812b5(0x1bf),'type':a274_0x2812b5(0x1ac),'description':'Maximum\x20search\x20hits','hidden':!![]},{'name':a274_0x2812b5(0x16a),'meowKey':a274_0x2812b5(0x16a),'type':a274_0x2812b5(0x1ce),'description':a274_0x2812b5(0x1b7),'hidden':!![]},{'name':'watch','meowKey':a274_0x2812b5(0x1b5),'type':a274_0x2812b5(0x1ce),'description':a274_0x2812b5(0x1a3),'hidden':!![]},{'name':a274_0x2812b5(0x18d),'meowKey':a274_0x2812b5(0x18d),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x1e1),'hidden':!![]},{'name':'params','meowKey':a274_0x2812b5(0x1ae),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x1f2),'hidden':!![]},{'name':a274_0x2812b5(0x18e),'meowKey':a274_0x2812b5(0x18e),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x17d),'hidden':!![]},{'name':a274_0x2812b5(0x1ec),'meowKey':a274_0x2812b5(0x1ec),'type':'boolean','description':a274_0x2812b5(0x161),'hidden':!![]},{'name':a274_0x2812b5(0x1ef),'meowKey':a274_0x2812b5(0x196),'type':a274_0x2812b5(0x1ce),'description':a274_0x2812b5(0x1c1),'hidden':!![]},{'name':'id','meowKey':'id','type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x193),'hidden':!![]},{'name':a274_0x2812b5(0x1bb),'meowKey':a274_0x2812b5(0x1bb),'type':'string','description':a274_0x2812b5(0x19f),'hidden':!![]},{'name':a274_0x2812b5(0x1db),'meowKey':'file','type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x15c),'hidden':!![]},{'name':a274_0x2812b5(0x1bd),'meowKey':a274_0x2812b5(0x1d5),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x1da),'hidden':!![]},{'name':'flow-name','meowKey':a274_0x2812b5(0x18a),'type':'string','description':a274_0x2812b5(0x174),'hidden':!![]},{'name':a274_0x2812b5(0x178),'meowKey':a274_0x2812b5(0x1e0),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x1f3),'hidden':!![]},{'name':a274_0x2812b5(0x182),'meowKey':a274_0x2812b5(0x166),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x1bc),'hidden':!![]},{'name':a274_0x2812b5(0x17b),'meowKey':a274_0x2812b5(0x160),'type':'string','description':a274_0x2812b5(0x17d),'hidden':!![]},{'name':'sqlcode','meowKey':'sqlcode','type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x1b9),'hidden':!![]},{'name':a274_0x2812b5(0x1b6),'meowKey':a274_0x2812b5(0x19e),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x16f),'hidden':!![]},{'name':a274_0x2812b5(0x1ad),'meowKey':a274_0x2812b5(0x1ad),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x16f),'hidden':!![]},{'name':a274_0x2812b5(0x191),'meowKey':a274_0x2812b5(0x19b),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x19c),'hidden':!![]},{'name':a274_0x2812b5(0x187),'meowKey':a274_0x2812b5(0x187),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x19c),'hidden':!![]},{'name':a274_0x2812b5(0x16c),'meowKey':'description','type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x1a2),'hidden':!![]},{'name':a274_0x2812b5(0x1dc),'meowKey':a274_0x2812b5(0x1f5),'type':a274_0x2812b5(0x1ac),'description':'Description\x20file','hidden':!![]},{'name':'page','meowKey':'page','type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x190),'hidden':!![]},{'name':a274_0x2812b5(0x19a),'meowKey':a274_0x2812b5(0x175),'type':a274_0x2812b5(0x1ac),'description':'Page\x20size','hidden':!![]},{'name':'pagesize','meowKey':a274_0x2812b5(0x1d3),'type':'string','description':a274_0x2812b5(0x1a5),'hidden':!![]},{'name':a274_0x2812b5(0x1f0),'meowKey':a274_0x2812b5(0x1f0),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x1cf),'hidden':!![]},{'name':a274_0x2812b5(0x188),'meowKey':a274_0x2812b5(0x188),'type':'string','description':a274_0x2812b5(0x198),'hidden':!![]},{'name':a274_0x2812b5(0x180),'meowKey':a274_0x2812b5(0x180),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x1cb),'hidden':!![]},{'name':a274_0x2812b5(0x163),'meowKey':a274_0x2812b5(0x163),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x1c5),'hidden':!![]},{'name':a274_0x2812b5(0x17e),'meowKey':a274_0x2812b5(0x17e),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x186),'hidden':!![]},{'name':a274_0x2812b5(0x17f),'meowKey':a274_0x2812b5(0x17f),'type':'string','description':a274_0x2812b5(0x1e9),'hidden':!![]},{'name':a274_0x2812b5(0x199),'meowKey':'skipImports','type':'boolean','description':a274_0x2812b5(0x167),'hidden':!![]},{'name':'key','meowKey':a274_0x2812b5(0x1a6),'type':'string','description':'Config\x20key','hidden':!![]},{'name':a274_0x2812b5(0x1d9),'meowKey':a274_0x2812b5(0x1d9),'type':'string','description':a274_0x2812b5(0x1b8),'hidden':!![]},{'name':'tags','meowKey':'tags','type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x1a9),'hidden':!![]},{'name':'stdin','meowKey':'stdin','type':'boolean','description':'Read\x20value\x20from\x20stdin','hidden':!![]},{'name':a274_0x2812b5(0x189),'meowKey':a274_0x2812b5(0x1dd),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x197),'hidden':!![]},{'name':a274_0x2812b5(0x18c),'meowKey':a274_0x2812b5(0x18c),'type':a274_0x2812b5(0x1ce),'description':a274_0x2812b5(0x1ed),'hidden':!![]},{'name':'force','meowKey':a274_0x2812b5(0x1a0),'type':a274_0x2812b5(0x1ce),'description':'Force\x20overwrite','hidden':!![]},{'name':a274_0x2812b5(0x1a8),'meowKey':'confirm','type':'boolean','description':a274_0x2812b5(0x16b),'hidden':!![]},{'name':a274_0x2812b5(0x1a1),'meowKey':a274_0x2812b5(0x1a1),'type':a274_0x2812b5(0x1ce),'description':a274_0x2812b5(0x1b3),'hidden':!![]},{'name':a274_0x2812b5(0x1b2),'meowKey':a274_0x2812b5(0x1b2),'type':'boolean','description':a274_0x2812b5(0x181),'hidden':!![]},{'name':a274_0x2812b5(0x1ee),'meowKey':a274_0x2812b5(0x162),'type':'string','description':a274_0x2812b5(0x195),'hidden':!![]},{'name':a274_0x2812b5(0x1e7),'meowKey':a274_0x2812b5(0x1e7),'type':a274_0x2812b5(0x1ac),'description':'Menu\x20label','hidden':!![]},{'name':a274_0x2812b5(0x16e),'meowKey':a274_0x2812b5(0x1d6),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x18f),'hidden':!![]},{'name':'sort','meowKey':a274_0x2812b5(0x1eb),'type':'string','description':a274_0x2812b5(0x1cc),'hidden':!![]},{'name':a274_0x2812b5(0x179),'meowKey':a274_0x2812b5(0x1c0),'type':'string','description':a274_0x2812b5(0x1af),'hidden':!![]},{'name':a274_0x2812b5(0x19d),'meowKey':a274_0x2812b5(0x1e3),'type':a274_0x2812b5(0x1ac),'description':'Expected\x20current\x20menu\x20path','hidden':!![]},{'name':a274_0x2812b5(0x192),'meowKey':a274_0x2812b5(0x1ab),'type':a274_0x2812b5(0x1ac),'description':'Expected\x20current\x20child\x20count','hidden':!![]},{'name':a274_0x2812b5(0x168),'meowKey':'menuIds','type':'string','description':a274_0x2812b5(0x185),'hidden':!![]},{'name':a274_0x2812b5(0x1d2),'meowKey':a274_0x2812b5(0x17c),'type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x1be),'hidden':!![]},{'name':a274_0x2812b5(0x1ca),'meowKey':'operationType','type':'string','description':a274_0x2812b5(0x186),'hidden':!![]},{'name':a274_0x2812b5(0x1e6),'meowKey':a274_0x2812b5(0x1b1),'type':'string','description':a274_0x2812b5(0x1ea),'hidden':!![]},{'name':a274_0x2812b5(0x177),'meowKey':'codes','type':a274_0x2812b5(0x1ac),'description':a274_0x2812b5(0x176),'hidden':!![]}];function a274_0x58de(){const _0x4e34c1=['Output\x20path','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','expectPath','17721828GEEkTn','non-interactive','function-node','label','1576172HoqKsD','Target\x20path','Function\x20node','sort','all','Reveal\x20sensitive\x20value','expected-count','enable-bff-save','keyword','dryRun','JSON\x20params','Flow\x20status','<expr>','descriptionFile','File\x20path','2332983zNSwND','Alias\x20for\x20--non-interactive','help','datasetCode','Apply\x20to\x20all','expectedCount','schemas','Select\x20app\x20profile\x20by\x20name','dry-run','flowType','Skip\x20import\x20generation','menu-ids','Show\x20help','clear','Confirm\x20destructive\x20action','description','appcode','parent-id','SQL\x20name','title','meowKey','Title','rabetbase','Flow\x20name','pageSize','Comma-separated\x20metadata\x20codes','codes','flow-status','expect-parent-id','534135insDqd','dataset-code','taskId','Dataset\x20code','operation','target','sql','Verbose\x20output','flow-type','Name','3134830ZKkjhX','Comma-separated\x20menu\x20IDs','Operation\x20type','dbid','code','from-env','flowName','locale','reveal','output','datasetcode','Parent\x20menu\x20id','Page\x20number','db-id','expected-children-count','Record\x20ID','project','Expected\x20affected\x20count','enableBffSave','Read\x20value\x20from\x20environment\x20variable','Code\x20filter','skip-imports','page-size','dbId','DB\x20ID','expect-path','sqlName','Type\x20filter','force','remote','Description','Watch\x20mode','2584458nMefTS','Page\x20size','key','Search\x20query','confirm','Tags','Preview\x20operation\x20without\x20executing','expectedChildrenCount','string','sqlname','params','Expected\x20current\x20parent\x20menu\x20id','<code>','functionNode','verbose','Use\x20remote','env','watch','sql-name','Clear','Config\x20value','SQL\x20code','query','type','Flow\x20type','flow-code','Asynchronous\x20task\x20ID','topk','expectParentId','Enable\x20Backend\x20Function\x20save','fromEntries','global','production\x20|\x20daily','Schemas','Use\x20project\x20config\x20scope','Use\x20global\x20config\x20scope','@lovrabet/rabetbase-cli','zh-CN\x20|\x20en-US','operation-type','SQL\x20string','Menu\x20sort\x20value','Environment','boolean','Keyword\x20filter','2SkJPKD','409498kwlvml','task-id','pagesize','format','flowCode','parentId','yes','40ZcRCnA','value','Flow\x20code','file','description-file','fromEnv','app','map','flowStatus'];a274_0x58de=function(){return _0x4e34c1;};return a274_0x58de();}export const PIPELINE_FLAG_NAMES=new Set([a274_0x2812b5(0x16d),a274_0x2812b5(0x1de),'env','format','jq',a274_0x2812b5(0x165),a274_0x2812b5(0x1d7),a274_0x2812b5(0x1e5),'ci']);export function buildMeowFlags(){const _0x36591a=a274_0x2812b5;return Object[_0x36591a(0x1c2)](GLOBAL_FLAGS[_0x36591a(0x1df)](_0x8fb68f=>[_0x8fb68f[_0x36591a(0x171)],{'type':_0x8fb68f[_0x36591a(0x1bb)]}]));}
@@ -1 +1 @@
1
- const a275_0x48c8a5=a275_0x18b3;(function(_0x3d8899,_0x12a533){const _0x39d8bd=a275_0x18b3,_0x4878b7=_0x3d8899();while(!![]){try{const _0x1af188=parseInt(_0x39d8bd(0x1b1))/0x1*(parseInt(_0x39d8bd(0x1b0))/0x2)+-parseInt(_0x39d8bd(0x1ae))/0x3*(-parseInt(_0x39d8bd(0x1b4))/0x4)+-parseInt(_0x39d8bd(0x1b2))/0x5*(parseInt(_0x39d8bd(0x1a8))/0x6)+-parseInt(_0x39d8bd(0x1ab))/0x7+parseInt(_0x39d8bd(0x1af))/0x8+parseInt(_0x39d8bd(0x1b3))/0x9+-parseInt(_0x39d8bd(0x1a9))/0xa;if(_0x1af188===_0x12a533)break;else _0x4878b7['push'](_0x4878b7['shift']());}catch(_0x1a7a01){_0x4878b7['push'](_0x4878b7['shift']());}}}(a275_0x6477,0xd3a4d));function a275_0x18b3(_0xbbf1cc,_0x71a3f5){_0xbbf1cc=_0xbbf1cc-0x1a8;const _0x647760=a275_0x6477();let _0x18b320=_0x647760[_0xbbf1cc];return _0x18b320;}import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a275_0x48c8a5(0x1ad),'format':'compress','locale':a275_0x48c8a5(0x1ac),'riskLevel':'write','apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a275_0x48c8a5(0x1aa);function a275_0x6477(){const _0x5b4cb1=['88HEqqsG','8355125LsdvVT','11218437VJSqmZ','4dUBfzK','6tZdVoG','6168290mAavSf','compress','7605563JBaPTU','en-US','production','1394346tauQZn','9179304elecPJ','31422vKIhdo'];a275_0x6477=function(){return _0x5b4cb1;};return a275_0x6477();}
1
+ const a275_0x1ba22f=a275_0x5aa8;(function(_0x1444df,_0x66d15f){const _0x382603=a275_0x5aa8,_0x2959a7=_0x1444df();while(!![]){try{const _0x415389=parseInt(_0x382603(0x146))/0x1*(-parseInt(_0x382603(0x13e))/0x2)+parseInt(_0x382603(0x141))/0x3*(parseInt(_0x382603(0x145))/0x4)+-parseInt(_0x382603(0x142))/0x5+-parseInt(_0x382603(0x144))/0x6*(parseInt(_0x382603(0x149))/0x7)+-parseInt(_0x382603(0x148))/0x8*(-parseInt(_0x382603(0x143))/0x9)+-parseInt(_0x382603(0x13b))/0xa*(parseInt(_0x382603(0x147))/0xb)+-parseInt(_0x382603(0x14a))/0xc*(-parseInt(_0x382603(0x13c))/0xd);if(_0x415389===_0x66d15f)break;else _0x2959a7['push'](_0x2959a7['shift']());}catch(_0x342834){_0x2959a7['push'](_0x2959a7['shift']());}}}(a275_0x41d4,0x87b41));function a275_0x41d4(){const _0x14f330=['3TcxfCw','856975LGAfFj','9675HoORuP','3798htMSnB','4115432ZXiZeZ','107IUfrtR','3975829YJeHjs','5192tcFQhG','7847tujxWA','444rThPhi','30qEuctl','367874wwWMOI','write','4718mHckiV','compress','production'];a275_0x41d4=function(){return _0x14f330;};return a275_0x41d4();}function a275_0x5aa8(_0x2b3898,_0x454261){_0x2b3898=_0x2b3898-0x13b;const _0x41d4c0=a275_0x41d4();let _0x5aa81b=_0x41d4c0[_0x2b3898];return _0x5aa81b;}import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a275_0x1ba22f(0x140),'format':'compress','locale':'en-US','riskLevel':a275_0x1ba22f(0x13d),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a275_0x1ba22f(0x13f);
@@ -1 +1 @@
1
- const a276_0x3023ec=a276_0x3b18;(function(_0x2767cf,_0x1c4fc7){const _0x1c3d86=a276_0x3b18,_0x7626f1=_0x2767cf();while(!![]){try{const _0x21d159=parseInt(_0x1c3d86(0x172))/0x1+parseInt(_0x1c3d86(0x179))/0x2+parseInt(_0x1c3d86(0x167))/0x3*(-parseInt(_0x1c3d86(0x16a))/0x4)+parseInt(_0x1c3d86(0x17c))/0x5*(parseInt(_0x1c3d86(0x17d))/0x6)+-parseInt(_0x1c3d86(0x175))/0x7*(-parseInt(_0x1c3d86(0x17b))/0x8)+parseInt(_0x1c3d86(0x170))/0x9*(parseInt(_0x1c3d86(0x165))/0xa)+-parseInt(_0x1c3d86(0x16f))/0xb*(-parseInt(_0x1c3d86(0x177))/0xc);if(_0x21d159===_0x1c4fc7)break;else _0x7626f1['push'](_0x7626f1['shift']());}catch(_0x46fa59){_0x7626f1['push'](_0x7626f1['shift']());}}}(a276_0x55ca,0x79a2c));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,customKbServiceDomain,allowOfficialKbServiceDefault=!![],customAppDomain,customLocalDomain,customCertificateDomain,customCdn,activeRegion=DEFAULT_LOVRABET_REGION;function getActiveRegionDomains(){const _0x5a5947=a276_0x3b18,_0x4279c8=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x4279c8['serviceDomains'][_0x5a5947(0x178)]:_0x4279c8[_0x5a5947(0x16d)]['daily']??_0x4279c8[_0x5a5947(0x16d)]['production'];}export function initDomains(_0x5b636a){const _0x4eb411=a276_0x3b18;customApiDomain=_0x5b636a?.[_0x4eb411(0x168)],customUserDomain=_0x5b636a?.[_0x4eb411(0x166)],customRuntimeDomain=_0x5b636a?.['runtimeDomain'],customSkillDomain=_0x5b636a?.['skillDomain'],customKbDomain=_0x5b636a?.['kbDomain'],customKbServiceDomain=_0x5b636a?.[_0x4eb411(0x176)],allowOfficialKbServiceDefault=_0x5b636a?.['allowOfficialKbServiceDefault']??!![],customAppDomain=_0x5b636a?.['appDomain'],customLocalDomain=_0x5b636a?.[_0x4eb411(0x16b)],customCertificateDomain=_0x5b636a?.['certificateDomain'],customCdn=_0x5b636a?.[_0x4eb411(0x16e)],activeRegion=_0x5b636a?.[_0x4eb411(0x171)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a276_0x3023ec(0x169)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()['api'];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a276_0x3023ec(0x174)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()['skill'];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getKbServiceDomain=()=>{if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;return getActiveRegionDomains()['kbService'];};export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()['app'];export const getActiveRegion=()=>activeRegion;export const getLocalDomain=()=>customLocalDomain;function a276_0x55ca(){const _0x2349c4=['7356EJeETt','production','256672LTQLeh','hostname','10776ahhUHA','1032765ELnYJE','12JBEWcy','5454410uPJIGX','userDomain','11031aAJDEc','apiDomain','user','744zicQVw','localDomain','trim','serviceDomains','cdn','77RDfBQK','9CReZFk','region','78845dbaYMJ','/app/','runtime','63AJGwlR','kbServiceDomain'];a276_0x55ca=function(){return _0x2349c4;};return a276_0x55ca();}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 _0x8ad5be=a276_0x3023ec;if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()[_0x8ad5be(0x174)])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x59ff3f=>{const _0x54e0e4=a276_0x3023ec,_0x2db0f4=encodeURIComponent(_0x59ff3f[_0x54e0e4(0x16c)]());return isProduction(getEnv())?getAppDomain()+_0x54e0e4(0x173)+_0x2db0f4:getAppDomain()+'/web-app/app/'+_0x2db0f4;};function a276_0x3b18(_0x4ac323,_0x1ceb8a){_0x4ac323=_0x4ac323-0x165;const _0x55ca9a=a276_0x55ca();let _0x3b180f=_0x55ca9a[_0x4ac323];return _0x3b180f;}export const getPublishedAppDomain=_0x519843=>{const _0x49e105=a276_0x3023ec,_0x2b9f5a=new URL(getAppDomain());return _0x2b9f5a[_0x49e105(0x17a)]=_0x519843[_0x49e105(0x16c)]()+'.'+_0x2b9f5a[_0x49e105(0x17a)],_0x2b9f5a['origin'];};
1
+ const a276_0x5428fb=a276_0x4d9e;(function(_0x1cf8df,_0x422b81){const _0x26e58a=a276_0x4d9e,_0x48664c=_0x1cf8df();while(!![]){try{const _0x1c8cd0=-parseInt(_0x26e58a(0xf0))/0x1*(parseInt(_0x26e58a(0xf8))/0x2)+-parseInt(_0x26e58a(0xf1))/0x3+-parseInt(_0x26e58a(0xe2))/0x4*(-parseInt(_0x26e58a(0xe8))/0x5)+-parseInt(_0x26e58a(0xed))/0x6+parseInt(_0x26e58a(0xeb))/0x7+parseInt(_0x26e58a(0xec))/0x8*(parseInt(_0x26e58a(0xfe))/0x9)+-parseInt(_0x26e58a(0xef))/0xa*(-parseInt(_0x26e58a(0xfc))/0xb);if(_0x1c8cd0===_0x422b81)break;else _0x48664c['push'](_0x48664c['shift']());}catch(_0x1345dd){_0x48664c['push'](_0x48664c['shift']());}}}(a276_0x53f9,0x7c343));import{getEnv,isProduction}from'../constant/env.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';function a276_0x4d9e(_0x2dbb43,_0x1f99fa){_0x2dbb43=_0x2dbb43-0xdf;const _0x53f974=a276_0x53f9();let _0x4d9e6f=_0x53f974[_0x2dbb43];return _0x4d9e6f;}import{getOfficialRoutingCdn,getOfficialRoutingProfile}from'../constant/routing-profile.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbDomain,customKbServiceDomain,allowOfficialKbServiceDefault=!![],customAppDomain,customLocalDomain,customCertificateDomain,customCdn,activeRegion=DEFAULT_LOVRABET_REGION;function getActiveRegionDomains(){const _0x59c02f=a276_0x4d9e,_0xde57ae=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0xde57ae['serviceDomains']['production']:_0xde57ae['serviceDomains']['daily']??_0xde57ae[_0x59c02f(0xea)][_0x59c02f(0xe7)];}export function initDomains(_0x5f4590){const _0x3f017a=a276_0x4d9e;customApiDomain=_0x5f4590?.['apiDomain'],customUserDomain=_0x5f4590?.['userDomain'],customRuntimeDomain=_0x5f4590?.[_0x3f017a(0xf3)],customSkillDomain=_0x5f4590?.[_0x3f017a(0xe5)],customKbDomain=_0x5f4590?.[_0x3f017a(0xe3)],customKbServiceDomain=_0x5f4590?.[_0x3f017a(0xe1)],allowOfficialKbServiceDefault=_0x5f4590?.[_0x3f017a(0xfb)]??!![],customAppDomain=_0x5f4590?.[_0x3f017a(0xe4)],customLocalDomain=_0x5f4590?.[_0x3f017a(0xf2)],customCertificateDomain=_0x5f4590?.[_0x3f017a(0xf9)],customCdn=_0x5f4590?.[_0x3f017a(0xf5)],activeRegion=_0x5f4590?.[_0x3f017a(0xf7)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a276_0x5428fb(0xe6)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()['api'];function a276_0x53f9(){const _0x3b86b5=['cdn','skill','region','2KgwyUp','certificateDomain','app','allowOfficialKbServiceDefault','22jnaPls','/app/','7502076JcilnC','runtime','origin','kbServiceDomain','4lTooWV','kbDomain','appDomain','skillDomain','user','production','1091505jQvxrF','trim','serviceDomains','912051pENCiG','8Tmzirh','4548048Tlprud','/web-app/app/','8451370IGueqN','895487hixAaA','2130594YURAHw','localDomain','runtimeDomain','hostname'];a276_0x53f9=function(){return _0x3b86b5;};return a276_0x53f9();}export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a276_0x5428fb(0xdf)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a276_0x5428fb(0xf6)];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getKbServiceDomain=()=>{if(customKbServiceDomain)return customKbServiceDomain;if(!allowOfficialKbServiceDefault)return undefined;return getActiveRegionDomains()['kbService'];};export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a276_0x5428fb(0xfa)];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 _0x1c490e=a276_0x5428fb;if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()[_0x1c490e(0xdf)])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x2346c2=>{const _0x5056a2=a276_0x5428fb,_0x164990=encodeURIComponent(_0x2346c2[_0x5056a2(0xe9)]());return isProduction(getEnv())?getAppDomain()+_0x5056a2(0xfd)+_0x164990:getAppDomain()+_0x5056a2(0xee)+_0x164990;};export const getPublishedAppDomain=_0x43ae14=>{const _0x1325a6=a276_0x5428fb,_0x1421e7=new URL(getAppDomain());return _0x1421e7[_0x1325a6(0xf4)]=_0x43ae14[_0x1325a6(0xe9)]()+'.'+_0x1421e7[_0x1325a6(0xf4)],_0x1421e7[_0x1325a6(0xe0)];};
@@ -1 +1 @@
1
- function a277_0x2073(){const _0x139fd0=['online','daily','2MWYMmS','20ILQKMG','859860IxhScO','dev','16521043BZRwcw','21uRaEZe','10976232LSYzIW','40XWZiIC','production','1440365wcIkTt','2878368GIvpfj','development','452714HufWYL','527664WflxYL'];a277_0x2073=function(){return _0x139fd0;};return a277_0x2073();}const a277_0xeb1c9c=a277_0x1ccd;(function(_0x432fbe,_0x5759a4){const _0x3db83e=a277_0x1ccd,_0x51547b=_0x432fbe();while(!![]){try{const _0x277ff2=-parseInt(_0x3db83e(0x1ad))/0x1+-parseInt(_0x3db83e(0x1b1))/0x2*(parseInt(_0x3db83e(0x1ab))/0x3)+-parseInt(_0x3db83e(0x1b2))/0x4*(-parseInt(_0x3db83e(0x1aa))/0x5)+parseInt(_0x3db83e(0x1b7))/0x6+parseInt(_0x3db83e(0x1b6))/0x7*(parseInt(_0x3db83e(0x1ae))/0x8)+-parseInt(_0x3db83e(0x1b3))/0x9*(-parseInt(_0x3db83e(0x1b8))/0xa)+-parseInt(_0x3db83e(0x1b5))/0xb;if(_0x277ff2===_0x5759a4)break;else _0x51547b['push'](_0x51547b['shift']());}catch(_0x20c36d){_0x51547b['push'](_0x51547b['shift']());}}}(a277_0x2073,0xe4708));export const RABETBASE_ENV_VALUES=['production',a277_0xeb1c9c(0x1b0)];export function normalizeEnv(_0x15297f){const _0x4fe89d=a277_0xeb1c9c;return _0x15297f===_0x4fe89d(0x1af)?_0x4fe89d(0x1b9):_0x15297f;}export function isProduction(_0x2609c2){const _0x4a62f8=a277_0xeb1c9c;return normalizeEnv(_0x2609c2)===_0x4a62f8(0x1b9);}export function isDaily(_0x32e039){const _0x1c4495=a277_0xeb1c9c;return normalizeEnv(_0x32e039)===_0x1c4495(0x1b0);}export function isDev(_0x3db99a){const _0x4bffbc=a277_0xeb1c9c,_0x179a1f=normalizeEnv(_0x3db99a);return _0x179a1f===_0x4bffbc(0x1ac)||_0x179a1f===_0x4bffbc(0x1b4);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a277_0xeb1c9c(0x1b9));function a277_0x1ccd(_0x6d44d6,_0x59f827){_0x6d44d6=_0x6d44d6-0x1aa;const _0x2073e5=a277_0x2073();let _0x1ccd16=_0x2073e5[_0x6d44d6];return _0x1ccd16;}export function getEnv(){return env;}export function initEnv(_0x51be9b){env=normalizeEnv(_0x51be9b);}
1
+ const a277_0x2d89b5=a277_0xd850;(function(_0x1f43a2,_0x4f5810){const _0x39a0fb=a277_0xd850,_0x3c2348=_0x1f43a2();while(!![]){try{const _0x439ebc=parseInt(_0x39a0fb(0x1bc))/0x1*(parseInt(_0x39a0fb(0x1b9))/0x2)+-parseInt(_0x39a0fb(0x1b3))/0x3+parseInt(_0x39a0fb(0x1b6))/0x4*(-parseInt(_0x39a0fb(0x1bd))/0x5)+parseInt(_0x39a0fb(0x1b5))/0x6+parseInt(_0x39a0fb(0x1be))/0x7+parseInt(_0x39a0fb(0x1bf))/0x8*(-parseInt(_0x39a0fb(0x1ba))/0x9)+-parseInt(_0x39a0fb(0x1b2))/0xa*(-parseInt(_0x39a0fb(0x1bb))/0xb);if(_0x439ebc===_0x4f5810)break;else _0x3c2348['push'](_0x3c2348['shift']());}catch(_0x5c035a){_0x3c2348['push'](_0x3c2348['shift']());}}}(a277_0x1ebb,0x2c45f));export const RABETBASE_ENV_VALUES=['production',a277_0x2d89b5(0x1b8)];function a277_0xd850(_0x32070b,_0x44ea2f){_0x32070b=_0x32070b-0x1b1;const _0x1ebbf8=a277_0x1ebb();let _0xd8503d=_0x1ebbf8[_0x32070b];return _0xd8503d;}export function normalizeEnv(_0x44caf9){return _0x44caf9==='online'?'production':_0x44caf9;}function a277_0x1ebb(){const _0x1fb9d3=['234762wLydUh','26610wWhoMy','466595NieJnL','1083271uXplZg','2593432SqaEZe','production','130bUigVC','298611ykbQhO','dev','1837668DBjLLQ','8wLeddz','development','daily','4htsGhe','9grVcgx'];a277_0x1ebb=function(){return _0x1fb9d3;};return a277_0x1ebb();}export function isProduction(_0x2a40cf){const _0x5cd9e0=a277_0x2d89b5;return normalizeEnv(_0x2a40cf)===_0x5cd9e0(0x1b1);}export function isDaily(_0x4c0dce){return normalizeEnv(_0x4c0dce)==='daily';}export function isDev(_0xc6b971){const _0x231be1=a277_0x2d89b5,_0x89c05d=normalizeEnv(_0xc6b971);return _0x89c05d===_0x231be1(0x1b7)||_0x89c05d===_0x231be1(0x1b4);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a277_0x2d89b5(0x1b1));export function getEnv(){return env;}export function initEnv(_0x1ba91a){env=normalizeEnv(_0x1ba91a);}
@@ -1 +1 @@
1
- const a278_0x477e28=a278_0x36a9;function a278_0x36a9(_0x32c2e6,_0x92a7d6){_0x32c2e6=_0x32c2e6-0x1a1;const _0x26f7b8=a278_0x26f7();let _0x36a923=_0x26f7b8[_0x32c2e6];return _0x36a923;}function a278_0x26f7(){const _0x65a6f2=['compress','217424naaICt','pretty','32pBzSCm','545165ocoJsO','252ZNZrkH','853899gGtaCi','json','27lfcpMi','884908LbcBtQ','9377220SvqFmi','292452AwOXKd','4zGMpMb','35044438jcMaXl'];a278_0x26f7=function(){return _0x65a6f2;};return a278_0x26f7();}(function(_0x4993fe,_0x2d1522){const _0x58cb3b=a278_0x36a9,_0x440845=_0x4993fe();while(!![]){try{const _0x26fc82=parseInt(_0x58cb3b(0x1a9))/0x1+-parseInt(_0x58cb3b(0x1ac))/0x2*(-parseInt(_0x58cb3b(0x1a6))/0x3)+-parseInt(_0x58cb3b(0x1a3))/0x4*(parseInt(_0x58cb3b(0x1a4))/0x5)+-parseInt(_0x58cb3b(0x1ab))/0x6*(parseInt(_0x58cb3b(0x1a5))/0x7)+parseInt(_0x58cb3b(0x1a1))/0x8*(-parseInt(_0x58cb3b(0x1a8))/0x9)+-parseInt(_0x58cb3b(0x1aa))/0xa+parseInt(_0x58cb3b(0x1ad))/0xb;if(_0x26fc82===_0x2d1522)break;else _0x440845['push'](_0x440845['shift']());}catch(_0x256f0f){_0x440845['push'](_0x440845['shift']());}}}(a278_0x26f7,0xf2a08));export const RABETBASE_OUTPUT_FORMAT_VALUES=[a278_0x477e28(0x1a7),a278_0x477e28(0x1a2),a278_0x477e28(0x1ae)];
1
+ const a278_0x25f47a=a278_0x2afa;function a278_0x2afa(_0x53f779,_0x399b53){_0x53f779=_0x53f779-0x92;const _0x31afce=a278_0x31af();let _0x2afabd=_0x31afce[_0x53f779];return _0x2afabd;}function a278_0x31af(){const _0x193cf5=['compress','4JkmsBy','94297spNFQI','3869185RddDcR','48xBUOeC','67491pKCRFx','160IwBQos','186MjglCx','2393628FtaQAz','590OYFxfX','185603paGYMw','json','23384FPmAeF','175190OxQUHE','65hUxcVl'];a278_0x31af=function(){return _0x193cf5;};return a278_0x31af();}(function(_0x3b3e27,_0x370437){const _0x384c7c=a278_0x2afa,_0x5d6967=_0x3b3e27();while(!![]){try{const _0x137756=-parseInt(_0x384c7c(0x97))/0x1+parseInt(_0x384c7c(0x98))/0x2*(parseInt(_0x384c7c(0x9e))/0x3)+-parseInt(_0x384c7c(0x9b))/0x4*(parseInt(_0x384c7c(0x9d))/0x5)+parseInt(_0x384c7c(0x92))/0x6*(parseInt(_0x384c7c(0x9c))/0x7)+parseInt(_0x384c7c(0xa0))/0x8*(-parseInt(_0x384c7c(0x9f))/0x9)+parseInt(_0x384c7c(0x94))/0xa*(parseInt(_0x384c7c(0x95))/0xb)+-parseInt(_0x384c7c(0x93))/0xc*(parseInt(_0x384c7c(0x99))/0xd);if(_0x137756===_0x370437)break;else _0x5d6967['push'](_0x5d6967['shift']());}catch(_0xb583f){_0x5d6967['push'](_0x5d6967['shift']());}}}(a278_0x31af,0xd46c2));export const RABETBASE_OUTPUT_FORMAT_VALUES=[a278_0x25f47a(0x96),'pretty',a278_0x25f47a(0x9a)];
@@ -1 +1 @@
1
- function a279_0x43a1(){const _0x1829fe=['1542042lCewxj','80oKpkFn','2bOhlQM','2656420PItTBZ','563731bcUcek','593179GcvoQi','1858098YPfboE','./src/api','876861AolwDc','175440IpDpnZ'];a279_0x43a1=function(){return _0x1829fe;};return a279_0x43a1();}const a279_0x32c60c=a279_0x322a;function a279_0x322a(_0x596f43,_0x35d959){_0x596f43=_0x596f43-0x1b4;const _0x43a1c2=a279_0x43a1();let _0x322aaa=_0x43a1c2[_0x596f43];return _0x322aaa;}(function(_0x99687b,_0x15e359){const _0x2e2049=a279_0x322a,_0x2264cd=_0x99687b();while(!![]){try{const _0x3d53e3=parseInt(_0x2e2049(0x1bc))/0x1*(-parseInt(_0x2e2049(0x1b9))/0x2)+-parseInt(_0x2e2049(0x1b7))/0x3+parseInt(_0x2e2049(0x1ba))/0x4+parseInt(_0x2e2049(0x1b6))/0x5+-parseInt(_0x2e2049(0x1bd))/0x6+parseInt(_0x2e2049(0x1bb))/0x7+-parseInt(_0x2e2049(0x1b8))/0x8*(-parseInt(_0x2e2049(0x1b5))/0x9);if(_0x3d53e3===_0x15e359)break;else _0x2264cd['push'](_0x2264cd['shift']());}catch(_0x4baf06){_0x2264cd['push'](_0x2264cd['shift']());}}}(a279_0x43a1,0x524f4));export const DEFAULT_API_DIR=a279_0x32c60c(0x1b4);
1
+ function a279_0x1824(){const _0x456e32=['77xGRhnG','./src/api','65912thMQJU','8892370svnUUi','9EOTYJr','4Itukfb','3164712kkHBfS','1705125jfomTC','1014904QzUURR','743035uzUbKk','590938LJgyjJ'];a279_0x1824=function(){return _0x456e32;};return a279_0x1824();}const a279_0x55dea0=a279_0x3aa0;(function(_0x46a361,_0x5bd6c3){const _0x5c826f=a279_0x3aa0,_0x3129b3=_0x46a361();while(!![]){try{const _0x20dc81=parseInt(_0x5c826f(0x104))/0x1+-parseInt(_0x5c826f(0x102))/0x2+parseInt(_0x5c826f(0x101))/0x3*(parseInt(_0x5c826f(0xff))/0x4)+parseInt(_0x5c826f(0x103))/0x5+parseInt(_0x5c826f(0x100))/0x6+parseInt(_0x5c826f(0x105))/0x7*(-parseInt(_0x5c826f(0x107))/0x8)+-parseInt(_0x5c826f(0xfe))/0x9*(parseInt(_0x5c826f(0xfd))/0xa);if(_0x20dc81===_0x5bd6c3)break;else _0x3129b3['push'](_0x3129b3['shift']());}catch(_0x5a0195){_0x3129b3['push'](_0x3129b3['shift']());}}}(a279_0x1824,0x54f96));function a279_0x3aa0(_0x34ba70,_0x5dcc4d){_0x34ba70=_0x34ba70-0xfd;const _0x1824d2=a279_0x1824();let _0x3aa087=_0x1824d2[_0x34ba70];return _0x3aa087;}export const DEFAULT_API_DIR=a279_0x55dea0(0x106);
@@ -1 +1 @@
1
- (function(_0x10cbe1,_0x1201db){const _0x1db5f0=a280_0x2c58,_0x4bd121=_0x10cbe1();while(!![]){try{const _0x11d669=parseInt(_0x1db5f0(0x17c))/0x1*(-parseInt(_0x1db5f0(0x183))/0x2)+-parseInt(_0x1db5f0(0x17d))/0x3*(parseInt(_0x1db5f0(0x181))/0x4)+parseInt(_0x1db5f0(0x17b))/0x5+parseInt(_0x1db5f0(0x180))/0x6*(-parseInt(_0x1db5f0(0x184))/0x7)+-parseInt(_0x1db5f0(0x17e))/0x8*(-parseInt(_0x1db5f0(0x187))/0x9)+parseInt(_0x1db5f0(0x186))/0xa+-parseInt(_0x1db5f0(0x17f))/0xb;if(_0x11d669===_0x1201db)break;else _0x4bd121['push'](_0x4bd121['shift']());}catch(_0x27f38f){_0x4bd121['push'](_0x4bd121['shift']());}}}(a280_0x476f,0xdfd42));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;function a280_0x2c58(_0x894253,_0x8fe714){_0x894253=_0x894253-0x17b;const _0x476f33=a280_0x476f();let _0x2c5870=_0x476f33[_0x894253];return _0x2c5870;}export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;function a280_0x476f(){const _0x1d1d3a=['17682690XAghAM','9kMqQJw','8694655ndMnCs','497zmWdqZ','3GblPbh','10178024khSfMs','3236750cLNwRp','6eCsIZI','5390644qGeUEc','includes','2674RYorrg','10893757vRCVfh','string'];a280_0x476f=function(){return _0x1d1d3a;};return a280_0x476f();}export function isLovrabetRegion(_0x4d14ff){const _0x5e3448=a280_0x2c58;return typeof _0x4d14ff==='string'&&LOVRABET_REGION_VALUES[_0x5e3448(0x182)](_0x4d14ff);}export function isEnabledLovrabetRegion(_0x52c43d){const _0x34edac=a280_0x2c58;return typeof _0x52c43d===_0x34edac(0x185)&&ENABLED_LOVRABET_REGION_VALUES[_0x34edac(0x182)](_0x52c43d);}export function normalizeLovrabetRegion(_0x1801f3){const _0x3d213d=a280_0x2c58;if(typeof _0x1801f3!==_0x3d213d(0x185))return undefined;const _0x470326=REGION_ALIASES[_0x1801f3]??_0x1801f3;return isLovrabetRegion(_0x470326)?_0x470326:undefined;}export function isInvalidLovrabetRegion(_0x8ddc69){return _0x8ddc69!==undefined&&_0x8ddc69!==null&&_0x8ddc69!==''&&normalizeLovrabetRegion(_0x8ddc69)===undefined;}
1
+ (function(_0x164e54,_0x5df94b){const _0xd7139=a280_0x4711,_0x2ead21=_0x164e54();while(!![]){try{const _0x490166=parseInt(_0xd7139(0x12e))/0x1*(-parseInt(_0xd7139(0x134))/0x2)+parseInt(_0xd7139(0x131))/0x3+-parseInt(_0xd7139(0x12f))/0x4*(-parseInt(_0xd7139(0x136))/0x5)+parseInt(_0xd7139(0x12c))/0x6+parseInt(_0xd7139(0x12d))/0x7+parseInt(_0xd7139(0x132))/0x8*(parseInt(_0xd7139(0x133))/0x9)+parseInt(_0xd7139(0x130))/0xa*(-parseInt(_0xd7139(0x135))/0xb);if(_0x490166===_0x5df94b)break;else _0x2ead21['push'](_0x2ead21['shift']());}catch(_0xaa6389){_0x2ead21['push'](_0x2ead21['shift']());}}}(a280_0x17ed,0xd228b));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;function a280_0x17ed(){const _0x2f2fe7=['11iqRuMx','1614245cJrjuL','includes','string','247782KQDsQI','7897582ixttGf','1005UQmQKR','4lPqOyH','28617670TGKOxa','2634720aKbrnL','152KWtExY','749421LnbZZS','458vPLkxD'];a280_0x17ed=function(){return _0x2f2fe7;};return a280_0x17ed();}export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x25f7cf){return typeof _0x25f7cf==='string'&&LOVRABET_REGION_VALUES['includes'](_0x25f7cf);}export function isEnabledLovrabetRegion(_0x5b57af){const _0x2c78e2=a280_0x4711;return typeof _0x5b57af==='string'&&ENABLED_LOVRABET_REGION_VALUES[_0x2c78e2(0x12a)](_0x5b57af);}function a280_0x4711(_0x5152ad,_0x966089){_0x5152ad=_0x5152ad-0x12a;const _0x17eda1=a280_0x17ed();let _0x471116=_0x17eda1[_0x5152ad];return _0x471116;}export function normalizeLovrabetRegion(_0x2b7240){const _0x18cfce=a280_0x4711;if(typeof _0x2b7240!==_0x18cfce(0x12b))return undefined;const _0x25c123=REGION_ALIASES[_0x2b7240]??_0x2b7240;return isLovrabetRegion(_0x25c123)?_0x25c123:undefined;}export function isInvalidLovrabetRegion(_0x385808){return _0x385808!==undefined&&_0x385808!==null&&_0x385808!==''&&normalizeLovrabetRegion(_0x385808)===undefined;}
@@ -1 +1 @@
1
- function a281_0x5e00(_0x4d53d4,_0x201e40){_0x4d53d4=_0x4d53d4-0xf3;const _0x19f67b=a281_0x19f6();let _0x5e0094=_0x19f67b[_0x4d53d4];return _0x5e0094;}const a281_0x3496d1=a281_0x5e00;(function(_0x482466,_0x34d2cc){const _0x1038bf=a281_0x5e00,_0x1d3ea5=_0x482466();while(!![]){try{const _0x1310d0=-parseInt(_0x1038bf(0xf8))/0x1+parseInt(_0x1038bf(0xf9))/0x2*(-parseInt(_0x1038bf(0xfd))/0x3)+-parseInt(_0x1038bf(0xfc))/0x4*(parseInt(_0x1038bf(0xfa))/0x5)+parseInt(_0x1038bf(0xfb))/0x6+parseInt(_0x1038bf(0xf7))/0x7+parseInt(_0x1038bf(0xf3))/0x8+-parseInt(_0x1038bf(0xfe))/0x9*(-parseInt(_0x1038bf(0xf5))/0xa);if(_0x1310d0===_0x34d2cc)break;else _0x1d3ea5['push'](_0x1d3ea5['shift']());}catch(_0x366d72){_0x1d3ea5['push'](_0x1d3ea5['shift']());}}}(a281_0x19f6,0x3a395));export const RISK_LEVEL_VALUES=[a281_0x3496d1(0xf6),a281_0x3496d1(0xf4),'high-risk-write'];function a281_0x19f6(){const _0x2d1b56=['47720YwZMkE','read','2765266VtjQUI','223100JFxRQK','5306qwJVAF','1081865XVILrB','1441158ErmoYY','8GkdyIU','213vnkgFz','279lGXOHC','2396248fvptrf','write'];a281_0x19f6=function(){return _0x2d1b56;};return a281_0x19f6();}
1
+ function a281_0x2f9e(_0x451e85,_0x536f27){_0x451e85=_0x451e85-0x167;const _0x581912=a281_0x5819();let _0x2f9e16=_0x581912[_0x451e85];return _0x2f9e16;}const a281_0x21173b=a281_0x2f9e;(function(_0x3cc509,_0x3da66a){const _0x283b02=a281_0x2f9e,_0x21cefb=_0x3cc509();while(!![]){try{const _0x466941=-parseInt(_0x283b02(0x170))/0x1*(parseInt(_0x283b02(0x171))/0x2)+parseInt(_0x283b02(0x16e))/0x3*(parseInt(_0x283b02(0x16a))/0x4)+parseInt(_0x283b02(0x172))/0x5*(-parseInt(_0x283b02(0x173))/0x6)+-parseInt(_0x283b02(0x16f))/0x7*(parseInt(_0x283b02(0x168))/0x8)+-parseInt(_0x283b02(0x16c))/0x9+-parseInt(_0x283b02(0x174))/0xa+parseInt(_0x283b02(0x167))/0xb;if(_0x466941===_0x3da66a)break;else _0x21cefb['push'](_0x21cefb['shift']());}catch(_0x1a7531){_0x21cefb['push'](_0x21cefb['shift']());}}}(a281_0x5819,0x9d9e3));export const RISK_LEVEL_VALUES=[a281_0x21173b(0x16b),a281_0x21173b(0x16d),a281_0x21173b(0x169)];function a281_0x5819(){const _0xa7bd98=['106068xhOePG','9197260IZjyNH','27931673yNCSmS','64XTQwcb','high-risk-write','95044gIRPvV','read','4158540JkqlSZ','write','105NLvVRw','397061GNysLo','1YSwRWd','1673342JKRNpK','15eGwOQT'];a281_0x5819=function(){return _0xa7bd98;};return a281_0x5819();}
@@ -1 +1 @@
1
- (function(_0x287308,_0x8b8dd0){const _0x34ef22=a282_0x1b43,_0x2f0254=_0x287308();while(!![]){try{const _0x526b5b=-parseInt(_0x34ef22(0xf7))/0x1*(parseInt(_0x34ef22(0xf2))/0x2)+parseInt(_0x34ef22(0xf1))/0x3*(-parseInt(_0x34ef22(0xf0))/0x4)+parseInt(_0x34ef22(0xfb))/0x5*(-parseInt(_0x34ef22(0xf9))/0x6)+-parseInt(_0x34ef22(0xf5))/0x7+parseInt(_0x34ef22(0xfa))/0x8+-parseInt(_0x34ef22(0xf6))/0x9*(-parseInt(_0x34ef22(0xef))/0xa)+-parseInt(_0x34ef22(0xf8))/0xb*(-parseInt(_0x34ef22(0xf3))/0xc);if(_0x526b5b===_0x8b8dd0)break;else _0x2f0254['push'](_0x2f0254['shift']());}catch(_0x3d647e){_0x2f0254['push'](_0x2f0254['shift']());}}}(a282_0x2c86,0xdfaf2));import{OFFICIAL_ROUTING_PROFILES as a282_0x2ce5e3,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';export const OFFICIAL_ROUTING_PROFILES=a282_0x2ce5e3;function a282_0x2c86(){const _0x1ff6bd=['1KhyrTa','6800673EKqQuB','41394uMcEVb','6532256hoTBZO','205vDCabB','\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.','175570QpNYiL','1004876bBIZTc','15ORJAra','3098956jUoPYl','36BirxDy','Official\x20routing\x20for\x20region\x20\x22','1358546GAkWiz','783yFOiGN'];a282_0x2c86=function(){return _0x1ff6bd;};return a282_0x2c86();}function a282_0x1b43(_0x164353,_0x14ecfd){_0x164353=_0x164353-0xef;const _0x2c863=a282_0x2c86();let _0x1b4399=_0x2c863[_0x164353];return _0x1b4399;}export{ROUTING_CATALOG_DIGEST};export function getOfficialRoutingProfile(_0x105468){return OFFICIAL_ROUTING_PROFILES[_0x105468];}export function getOfficialRoutingCdn(_0x92fe45){const _0x35ab0e=a282_0x1b43,_0x4ba894=getOfficialRoutingProfile(_0x92fe45)['cdn'];if(!_0x4ba894['lovrabet'])throw new Error(_0x35ab0e(0xf4)+_0x92fe45+_0x35ab0e(0xfc));return{'libraries':_0x4ba894['libraries'],'lovrabet':_0x4ba894['lovrabet']};}
1
+ (function(_0x5d69e4,_0x431b1c){const _0x15fea9=a282_0xd0a6,_0x532ddf=_0x5d69e4();while(!![]){try{const _0x4ed303=parseInt(_0x15fea9(0x80))/0x1*(-parseInt(_0x15fea9(0x87))/0x2)+parseInt(_0x15fea9(0x81))/0x3*(-parseInt(_0x15fea9(0x7e))/0x4)+-parseInt(_0x15fea9(0x7c))/0x5+-parseInt(_0x15fea9(0x84))/0x6+parseInt(_0x15fea9(0x7f))/0x7+-parseInt(_0x15fea9(0x85))/0x8+parseInt(_0x15fea9(0x86))/0x9*(parseInt(_0x15fea9(0x82))/0xa);if(_0x4ed303===_0x431b1c)break;else _0x532ddf['push'](_0x532ddf['shift']());}catch(_0x1eb8c1){_0x532ddf['push'](_0x532ddf['shift']());}}}(a282_0x4064,0x853ce));import{OFFICIAL_ROUTING_PROFILES as a282_0x8d3c15,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';function a282_0x4064(){const _0x314c6e=['483535IBTalN','libraries','636aJZEmS','1643796CvmOsR','871993DihlRv','2883VzKcOV','4383990FJYoeh','lovrabet','1383738SLsAuR','724480THsKrr','36JjEcUn','2SCApKJ','cdn'];a282_0x4064=function(){return _0x314c6e;};return a282_0x4064();}function a282_0xd0a6(_0x50741d,_0x216a87){_0x50741d=_0x50741d-0x7c;const _0x406489=a282_0x4064();let _0xd0a64e=_0x406489[_0x50741d];return _0xd0a64e;}export const OFFICIAL_ROUTING_PROFILES=a282_0x8d3c15;export{ROUTING_CATALOG_DIGEST};export function getOfficialRoutingProfile(_0x4ab545){return OFFICIAL_ROUTING_PROFILES[_0x4ab545];}export function getOfficialRoutingCdn(_0x5e5157){const _0xd9b749=a282_0xd0a6,_0x5aefa0=getOfficialRoutingProfile(_0x5e5157)[_0xd9b749(0x88)];if(!_0x5aefa0[_0xd9b749(0x83)])throw new Error('Official\x20routing\x20for\x20region\x20\x22'+_0x5e5157+'\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.');return{'libraries':_0x5aefa0[_0xd9b749(0x7d)],'lovrabet':_0x5aefa0[_0xd9b749(0x83)]};}
@@ -1 +1 @@
1
- (function(_0x380f5c,_0x4c9835){const _0xf060d1=a283_0x11a3,_0x36ab15=_0x380f5c();while(!![]){try{const _0x20fe72=parseInt(_0xf060d1(0x85))/0x1+-parseInt(_0xf060d1(0x90))/0x2+parseInt(_0xf060d1(0x7b))/0x3+-parseInt(_0xf060d1(0x96))/0x4+-parseInt(_0xf060d1(0x84))/0x5*(-parseInt(_0xf060d1(0x8d))/0x6)+parseInt(_0xf060d1(0x88))/0x7+parseInt(_0xf060d1(0x87))/0x8*(-parseInt(_0xf060d1(0x82))/0x9);if(_0x20fe72===_0x4c9835)break;else _0x36ab15['push'](_0x36ab15['shift']());}catch(_0xe5f101){_0x36ab15['push'](_0x36ab15['shift']());}}}(a283_0x44ef,0x2c57b));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,normalizeEnv}from'../constant/env.js';import{normalizeLegacyOutputFormat,riskLevelOrder}from'../framework/types.js';import{DEFAULT_LOVRABET_REGION,normalizeLovrabetRegion}from'../constant/region.js';import{selectConfiguredRegion}from'../config/region-config.js';function stringConfigValue(_0xd47181){const _0xc79a22=a283_0x11a3;return typeof _0xd47181===_0xc79a22(0xa1)&&_0xd47181[_0xc79a22(0x93)]()?_0xd47181[_0xc79a22(0x93)]():undefined;}function appProfiles(_0x282ade){const _0x11d8f7=a283_0x11a3;return _0x282ade[_0x11d8f7(0x9d)]&&typeof _0x282ade[_0x11d8f7(0x9d)]===_0x11d8f7(0x92)?_0x282ade[_0x11d8f7(0x9d)]:{};}function a283_0x11a3(_0x19072b,_0x20f9e2){_0x19072b=_0x19072b-0x7a;const _0x44efa7=a283_0x44ef();let _0x11a34d=_0x44efa7[_0x19072b];return _0x11a34d;}function resolveDefaultAppName(_0x2e0c6b){const _0x58ad75=a283_0x11a3,_0x89af70=stringConfigValue(_0x2e0c6b['defaultApp']);if(_0x89af70)return _0x89af70;const _0x14ef88=Object[_0x58ad75(0x8e)](appProfiles(_0x2e0c6b));return _0x14ef88['length']===0x1?_0x14ef88[0x0]:undefined;}function resolveTopLevelAppCode(_0x50772b){const _0x4cb606=a283_0x11a3;return stringConfigValue(_0x50772b[_0x4cb606(0x9b)])||stringConfigValue(_0x50772b[_0x4cb606(0x98)]);}function normalizeRiskCeiling(_0x4c5950){const _0xc60d6f=a283_0x11a3;if(_0x4c5950===undefined||_0x4c5950===null)return undefined;if(_0x4c5950===_0xc60d6f(0x8a)||_0x4c5950==='write'||_0x4c5950==='high-risk-write')return _0x4c5950;return _0xc60d6f(0x8a);}function a283_0x44ef(){const _0x120aa9=['FORMAT','pageSize','2064318jOFCVE','keys','VERBOSE','628370JoYxCg','format','object','trim','RISK_LEVEL','region','258484NYITfF','riskLevel','app','daily','value','appcode','apiDir','apps','ENV','projectConfig','locale','string','accessKey','projectPath','globalConfig','937332UtuNta','production','COOKIE','PAGE_SIZE','env','entries','ACCESS_KEY','639qxhCBV','length','5DVcXwa','59474uTWwjS','APP','52552qbXDFZ','2176027ZEoQEc','cookie','read'];a283_0x44ef=function(){return _0x120aa9;};return a283_0x44ef();}function resolveRiskCeiling(..._0x41975f){const _0x4ca1f9=a283_0x11a3;let _0x4c43f2;for(const _0x1868b2 of _0x41975f){const _0x1216b7=normalizeRiskCeiling(_0x1868b2);_0x1216b7&&(!_0x4c43f2||riskLevelOrder(_0x1216b7)<riskLevelOrder(_0x4c43f2))&&(_0x4c43f2=_0x1216b7);}return _0x4c43f2??DEFAULT_CONFIG_VALUES[_0x4ca1f9(0x97)];}export function resolveAppConfig({raw:_0x1e8fa6,flags:_0x34a87a,layers:_0x5377de,readEnv:_0x541704}){const _0x21b549=a283_0x11a3,_0x572046=_0x5377de?.[_0x21b549(0x9f)]??{},_0x30bc20=_0x5377de?.[_0x21b549(0x7a)]??{},_0x1b1c0d=!!_0x5377de?.[_0x21b549(0xa3)]||Object['keys'](_0x572046)['length']>0x0,_0x916830=!_0x1b1c0d,_0x247799=_0x1b1c0d?resolveDefaultAppName(_0x572046):undefined,_0x4f3d94=_0x916830?resolveDefaultAppName(_0x30bc20):undefined,_0x56deb3=stringConfigValue(_0x34a87a[_0x21b549(0x98)]),_0x292253=_0x541704(_0x21b549(0x86)),_0x327607={};if(_0x1e8fa6['apps']&&typeof _0x1e8fa6[_0x21b549(0x9d)]===_0x21b549(0x92))for(const [_0xd7a0db,_0x2af4cb]of Object[_0x21b549(0x80)](_0x1e8fa6['apps'])){_0x2af4cb&&typeof _0x2af4cb==='object'&&_0x2af4cb[_0x21b549(0x9b)]&&(_0x327607[_0xd7a0db]=_0x2af4cb);}const _0x530280=_0x247799||_0x4f3d94||resolveDefaultAppName(_0x1e8fa6),_0xae8d8f=Object[_0x21b549(0x8e)](_0x327607)['length']>0x0,_0x144c0f=_0x56deb3||_0x247799||_0x292253||_0x4f3d94||_0x530280||undefined,_0x17e207=stringConfigValue(_0x34a87a[_0x21b549(0x9b)]),_0x5b0dcd=_0x17e207?Object[_0x21b549(0x80)](_0x327607)['filter'](([,_0x512dcd])=>_0x512dcd?.[_0x21b549(0x9b)]===_0x17e207):[],_0x151790=_0x56deb3&&_0x327607[_0x56deb3]?.[_0x21b549(0x9b)]===_0x17e207?[_0x56deb3,_0x327607[_0x56deb3]]:undefined,_0x2a9888=_0x151790??(_0x5b0dcd[_0x21b549(0x83)]===0x1?_0x5b0dcd[0x0]:undefined),_0x15c915=_0x2a9888?.[0x0],_0x482384=_0x2a9888?.[0x1],_0x23e8af=_0x17e207?_0x15c915:_0x144c0f;let _0x3d2282=_0x23e8af&&_0x327607[_0x23e8af]?_0x327607[_0x23e8af]:undefined;_0x17e207&&_0x482384&&(_0x3d2282=_0x482384);const _0x185128=_0x17e207?_0x482384??_0x3d2282:_0x3d2282,_0x4af3e6=!_0x56deb3&&!_0x247799&&_0x292253&&_0x23e8af===_0x292253,_0x5e7114=_0x56deb3||(_0x4af3e6?_0x292253:undefined)||(_0x17e207?_0x15c915:undefined),_0x3c7969=_0x185128?.[_0x21b549(0x9b)],_0x594700=_0x1b1c0d?resolveTopLevelAppCode(_0x572046):undefined,_0x3bc119=_0x916830?resolveTopLevelAppCode(_0x30bc20):undefined,_0x1d2f3e=_0x56deb3||_0x247799?_0x3c7969:undefined,_0x551764=!_0x56deb3&&!_0x247799?_0x3c7969:undefined,_0x87a302=_0x17e207||_0x1d2f3e||_0x594700||_0x551764||_0x3bc119||undefined,_0x5936a0=_0x1b1c0d?stringConfigValue(_0x572046[_0x21b549(0x7f)]):undefined,_0x28d74d=_0x916830?stringConfigValue(_0x30bc20[_0x21b549(0x7f)]):undefined,_0x104853=_0x34a87a['env']||_0x185128?.[_0x21b549(0x7f)]||_0x5936a0||_0x541704(_0x21b549(0x9e))||_0x28d74d||_0x1e8fa6[_0x21b549(0x7f)]||DEFAULT_CONFIG_VALUES[_0x21b549(0x7f)],_0x1cf7e6=_0x185128?.[_0x21b549(0xa0)]||_0x1e8fa6[_0x21b549(0xa0)]||DEFAULT_CONFIG_VALUES['locale'],_0x2fb1cc=_0x541704(_0x21b549(0x7d))||_0x185128?.[_0x21b549(0x89)]||_0x1e8fa6[_0x21b549(0x89)]||undefined,_0x1166dd=_0x541704(_0x21b549(0x81))||_0x185128?.[_0x21b549(0xa2)]||_0x1e8fa6[_0x21b549(0xa2)]||undefined,_0x26d495=_0x34a87a[_0x21b549(0x91)]||_0x541704(_0x21b549(0x8b))||_0x185128?.[_0x21b549(0x91)]||_0x1e8fa6[_0x21b549(0x91)],_0x40fadc=normalizeLegacyOutputFormat(_0x26d495),_0xa2cc75=_0x541704(_0x21b549(0x7e))||_0x185128?.[_0x21b549(0x8c)]||_0x1e8fa6[_0x21b549(0x8c)],_0x32a72b=_0xa2cc75?Number(_0xa2cc75)||undefined:undefined,_0x3f84ca=_0x5377de?[_0x5377de[_0x21b549(0x7a)][_0x21b549(0x97)],_0x5377de[_0x21b549(0x9f)][_0x21b549(0x97)]]:[_0x1e8fa6[_0x21b549(0x97)]],_0x19ed89=resolveRiskCeiling(..._0x3f84ca,_0x185128?.[_0x21b549(0x97)]),_0x2373d1=resolveRiskCeiling(_0x19ed89,_0x541704(_0x21b549(0x94))),_0x1486a2=_0x541704(_0x21b549(0x8f)),_0x43f613=_0x1486a2==='1'||_0x1486a2==='true',_0x527925=_0x185128?.[_0x21b549(0x9c)]||_0x1e8fa6[_0x21b549(0x9c)]||DEFAULT_CONFIG_VALUES[_0x21b549(0x9c)],_0x3f7dfe=selectConfiguredRegion({'appRegion':_0x185128?.[_0x21b549(0x95)],'projectRegion':_0x1b1c0d?_0x572046[_0x21b549(0x95)]:undefined,'globalRegion':_0x1b1c0d||_0x916830?_0x30bc20[_0x21b549(0x95)]:undefined,'mergedRegion':_0x1e8fa6['region']}),_0x36fd5a=normalizeLovrabetRegion(_0x3f7dfe[_0x21b549(0x9a)])??DEFAULT_LOVRABET_REGION,_0x2eebb4=isDaily(normalizeEnv(String(_0x104853)))?_0x21b549(0x99):_0x21b549(0x7c);return{'appCode':typeof _0x87a302===_0x21b549(0xa1)&&_0x87a302['trim']()?_0x87a302[_0x21b549(0x93)]():undefined,'region':_0x36fd5a,'regionConfiguredValue':_0x3f7dfe[_0x21b549(0x9a)],'regionSource':_0x3f7dfe['source'],'env':_0x2eebb4,'locale':_0x1cf7e6,'cookie':_0x2fb1cc,'accessKey':_0x1166dd,'format':_0x40fadc,'pageSize':_0x32a72b,'riskLevel':_0x2373d1,'verbose':_0x43f613,'apiDir':_0x527925,'apps':_0x327607,'defaultApp':_0x530280,'currentApp':_0xae8d8f?_0x23e8af:undefined,'explicitAppName':_0x5e7114};}
1
+ (function(_0x982b6e,_0x5537cc){const _0xf6f1c=a283_0x2835,_0x2eb461=_0x982b6e();while(!![]){try{const _0x30a14a=parseInt(_0xf6f1c(0x14f))/0x1+parseInt(_0xf6f1c(0x15c))/0x2+-parseInt(_0xf6f1c(0x13c))/0x3+parseInt(_0xf6f1c(0x151))/0x4*(-parseInt(_0xf6f1c(0x132))/0x5)+-parseInt(_0xf6f1c(0x148))/0x6*(parseInt(_0xf6f1c(0x13d))/0x7)+-parseInt(_0xf6f1c(0x14e))/0x8+parseInt(_0xf6f1c(0x153))/0x9;if(_0x30a14a===_0x5537cc)break;else _0x2eb461['push'](_0x2eb461['shift']());}catch(_0xb87a30){_0x2eb461['push'](_0x2eb461['shift']());}}}(a283_0x16ce,0x8a16e));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,normalizeEnv}from'../constant/env.js';import{normalizeLegacyOutputFormat,riskLevelOrder}from'../framework/types.js';import{DEFAULT_LOVRABET_REGION,normalizeLovrabetRegion}from'../constant/region.js';import{selectConfiguredRegion}from'../config/region-config.js';function stringConfigValue(_0x337f5e){const _0x27d3d7=a283_0x2835;return typeof _0x337f5e==='string'&&_0x337f5e[_0x27d3d7(0x13a)]()?_0x337f5e['trim']():undefined;}function appProfiles(_0x423d4d){const _0x1991f6=a283_0x2835;return _0x423d4d['apps']&&typeof _0x423d4d['apps']===_0x1991f6(0x157)?_0x423d4d[_0x1991f6(0x15e)]:{};}function a283_0x16ce(){const _0x58d877=['filter','daily','string','keys','true','riskLevel','ACCESS_KEY','trim','RISK_LEVEL','268572HupDGE','273cfZUaA','env','appcode','pageSize','value','defaultApp','APP','accessKey','FORMAT','source','VERBOSE','15564DxLtBi','region','format','high-risk-write','read','app','5168224POhJJG','425300LlSbNF','locale','4hmkyRh','write','13834323ZeBoQW','globalConfig','apiDir','projectConfig','object','ENV','cookie','PAGE_SIZE','production','70474RDhlJN','entries','apps','length','2976760xgEJZV'];a283_0x16ce=function(){return _0x58d877;};return a283_0x16ce();}function a283_0x2835(_0x159b75,_0x27abb0){_0x159b75=_0x159b75-0x132;const _0x16ce5d=a283_0x16ce();let _0x283552=_0x16ce5d[_0x159b75];return _0x283552;}function resolveDefaultAppName(_0x5b2260){const _0x38144d=a283_0x2835,_0x1f8483=stringConfigValue(_0x5b2260[_0x38144d(0x142)]);if(_0x1f8483)return _0x1f8483;const _0xdef91f=Object['keys'](appProfiles(_0x5b2260));return _0xdef91f[_0x38144d(0x15f)]===0x1?_0xdef91f[0x0]:undefined;}function resolveTopLevelAppCode(_0x4d3099){return stringConfigValue(_0x4d3099['appcode'])||stringConfigValue(_0x4d3099['app']);}function normalizeRiskCeiling(_0x39a9e6){const _0x3e8b20=a283_0x2835;if(_0x39a9e6===undefined||_0x39a9e6===null)return undefined;if(_0x39a9e6===_0x3e8b20(0x14c)||_0x39a9e6===_0x3e8b20(0x152)||_0x39a9e6===_0x3e8b20(0x14b))return _0x39a9e6;return _0x3e8b20(0x14c);}function resolveRiskCeiling(..._0x334727){const _0x53bf32=a283_0x2835;let _0xd23d9;for(const _0x37a7fb of _0x334727){const _0xcc8b22=normalizeRiskCeiling(_0x37a7fb);_0xcc8b22&&(!_0xd23d9||riskLevelOrder(_0xcc8b22)<riskLevelOrder(_0xd23d9))&&(_0xd23d9=_0xcc8b22);}return _0xd23d9??DEFAULT_CONFIG_VALUES[_0x53bf32(0x138)];}export function resolveAppConfig({raw:_0x5c19ff,flags:_0x305593,layers:_0x17c360,readEnv:_0x37a19a}){const _0x326420=a283_0x2835,_0x1f27b7=_0x17c360?.[_0x326420(0x156)]??{},_0x2cb95c=_0x17c360?.[_0x326420(0x154)]??{},_0x4f968b=!!_0x17c360?.['projectPath']||Object[_0x326420(0x136)](_0x1f27b7)['length']>0x0,_0x503d18=!_0x4f968b,_0x338dd6=_0x4f968b?resolveDefaultAppName(_0x1f27b7):undefined,_0x5aa39a=_0x503d18?resolveDefaultAppName(_0x2cb95c):undefined,_0x4d765f=stringConfigValue(_0x305593[_0x326420(0x14d)]),_0x4c25f8=_0x37a19a(_0x326420(0x143)),_0xa2477={};if(_0x5c19ff[_0x326420(0x15e)]&&typeof _0x5c19ff[_0x326420(0x15e)]===_0x326420(0x157))for(const [_0x33b29f,_0x4255fb]of Object[_0x326420(0x15d)](_0x5c19ff[_0x326420(0x15e)])){_0x4255fb&&typeof _0x4255fb===_0x326420(0x157)&&_0x4255fb[_0x326420(0x13f)]&&(_0xa2477[_0x33b29f]=_0x4255fb);}const _0x18ff51=_0x338dd6||_0x5aa39a||resolveDefaultAppName(_0x5c19ff),_0x19dfd2=Object[_0x326420(0x136)](_0xa2477)[_0x326420(0x15f)]>0x0,_0x363e99=_0x4d765f||_0x338dd6||_0x4c25f8||_0x5aa39a||_0x18ff51||undefined,_0x45d564=stringConfigValue(_0x305593[_0x326420(0x13f)]),_0x4f5942=_0x45d564?Object['entries'](_0xa2477)[_0x326420(0x133)](([,_0x26535f])=>_0x26535f?.[_0x326420(0x13f)]===_0x45d564):[],_0x42cd8a=_0x4d765f&&_0xa2477[_0x4d765f]?.[_0x326420(0x13f)]===_0x45d564?[_0x4d765f,_0xa2477[_0x4d765f]]:undefined,_0x4b519c=_0x42cd8a??(_0x4f5942[_0x326420(0x15f)]===0x1?_0x4f5942[0x0]:undefined),_0x41ac23=_0x4b519c?.[0x0],_0x2f8756=_0x4b519c?.[0x1],_0x4e5e82=_0x45d564?_0x41ac23:_0x363e99;let _0xa50ae7=_0x4e5e82&&_0xa2477[_0x4e5e82]?_0xa2477[_0x4e5e82]:undefined;_0x45d564&&_0x2f8756&&(_0xa50ae7=_0x2f8756);const _0x2a9c62=_0x45d564?_0x2f8756??_0xa50ae7:_0xa50ae7,_0x522a98=!_0x4d765f&&!_0x338dd6&&_0x4c25f8&&_0x4e5e82===_0x4c25f8,_0x13e720=_0x4d765f||(_0x522a98?_0x4c25f8:undefined)||(_0x45d564?_0x41ac23:undefined),_0x4d38b8=_0x2a9c62?.['appcode'],_0x526546=_0x4f968b?resolveTopLevelAppCode(_0x1f27b7):undefined,_0x469e59=_0x503d18?resolveTopLevelAppCode(_0x2cb95c):undefined,_0x36ff0c=_0x4d765f||_0x338dd6?_0x4d38b8:undefined,_0x4f3441=!_0x4d765f&&!_0x338dd6?_0x4d38b8:undefined,_0x3669a7=_0x45d564||_0x36ff0c||_0x526546||_0x4f3441||_0x469e59||undefined,_0x19a243=_0x4f968b?stringConfigValue(_0x1f27b7[_0x326420(0x13e)]):undefined,_0x54bb0b=_0x503d18?stringConfigValue(_0x2cb95c['env']):undefined,_0x2d1b4b=_0x305593[_0x326420(0x13e)]||_0x2a9c62?.[_0x326420(0x13e)]||_0x19a243||_0x37a19a(_0x326420(0x158))||_0x54bb0b||_0x5c19ff['env']||DEFAULT_CONFIG_VALUES[_0x326420(0x13e)],_0x50b4cd=_0x2a9c62?.['locale']||_0x5c19ff[_0x326420(0x150)]||DEFAULT_CONFIG_VALUES['locale'],_0x53df71=_0x37a19a('COOKIE')||_0x2a9c62?.['cookie']||_0x5c19ff[_0x326420(0x159)]||undefined,_0x4ca8b8=_0x37a19a(_0x326420(0x139))||_0x2a9c62?.[_0x326420(0x144)]||_0x5c19ff[_0x326420(0x144)]||undefined,_0x5ab11f=_0x305593[_0x326420(0x14a)]||_0x37a19a(_0x326420(0x145))||_0x2a9c62?.['format']||_0x5c19ff[_0x326420(0x14a)],_0x510cb9=normalizeLegacyOutputFormat(_0x5ab11f),_0x4ae8d7=_0x37a19a(_0x326420(0x15a))||_0x2a9c62?.[_0x326420(0x140)]||_0x5c19ff[_0x326420(0x140)],_0xf5b17f=_0x4ae8d7?Number(_0x4ae8d7)||undefined:undefined,_0x149d97=_0x17c360?[_0x17c360['globalConfig'][_0x326420(0x138)],_0x17c360['projectConfig'][_0x326420(0x138)]]:[_0x5c19ff[_0x326420(0x138)]],_0x346b74=resolveRiskCeiling(..._0x149d97,_0x2a9c62?.[_0x326420(0x138)]),_0x2d3fb7=resolveRiskCeiling(_0x346b74,_0x37a19a(_0x326420(0x13b))),_0x8b3fa3=_0x37a19a(_0x326420(0x147)),_0x18d2f5=_0x8b3fa3==='1'||_0x8b3fa3===_0x326420(0x137),_0x302276=_0x2a9c62?.['apiDir']||_0x5c19ff[_0x326420(0x155)]||DEFAULT_CONFIG_VALUES[_0x326420(0x155)],_0x74141e=selectConfiguredRegion({'appRegion':_0x2a9c62?.[_0x326420(0x149)],'projectRegion':_0x4f968b?_0x1f27b7['region']:undefined,'globalRegion':_0x4f968b||_0x503d18?_0x2cb95c[_0x326420(0x149)]:undefined,'mergedRegion':_0x5c19ff[_0x326420(0x149)]}),_0x382654=normalizeLovrabetRegion(_0x74141e[_0x326420(0x141)])??DEFAULT_LOVRABET_REGION,_0x5c3938=isDaily(normalizeEnv(String(_0x2d1b4b)))?_0x326420(0x134):_0x326420(0x15b);return{'appCode':typeof _0x3669a7===_0x326420(0x135)&&_0x3669a7['trim']()?_0x3669a7['trim']():undefined,'region':_0x382654,'regionConfiguredValue':_0x74141e[_0x326420(0x141)],'regionSource':_0x74141e[_0x326420(0x146)],'env':_0x5c3938,'locale':_0x50b4cd,'cookie':_0x53df71,'accessKey':_0x4ca8b8,'format':_0x510cb9,'pageSize':_0xf5b17f,'riskLevel':_0x2d3fb7,'verbose':_0x18d2f5,'apiDir':_0x302276,'apps':_0xa2477,'defaultApp':_0x18ff51,'currentApp':_0x19dfd2?_0x4e5e82:undefined,'explicitAppName':_0x13e720};}
@@ -1 +1 @@
1
- (function(_0x2774b2,_0x33e3de){const _0x1ea22e=a284_0x47f9,_0x1b0fd4=_0x2774b2();while(!![]){try{const _0x3d77e7=parseInt(_0x1ea22e(0x182))/0x1+parseInt(_0x1ea22e(0x185))/0x2+-parseInt(_0x1ea22e(0x18a))/0x3*(-parseInt(_0x1ea22e(0x18b))/0x4)+-parseInt(_0x1ea22e(0x189))/0x5+parseInt(_0x1ea22e(0x187))/0x6*(-parseInt(_0x1ea22e(0x184))/0x7)+parseInt(_0x1ea22e(0x18e))/0x8*(parseInt(_0x1ea22e(0x18d))/0x9)+-parseInt(_0x1ea22e(0x18c))/0xa*(parseInt(_0x1ea22e(0x188))/0xb);if(_0x3d77e7===_0x33e3de)break;else _0x1b0fd4['push'](_0x1b0fd4['shift']());}catch(_0x5dd258){_0x1b0fd4['push'](_0x1b0fd4['shift']());}}}(a284_0x518d,0xa50eb));import{getIsSessionValid}from'../auth/is-session-valid.js';import{CliErrors}from'../errors.js';function a284_0x518d(){const _0x5490a8=['cookie','782244HXTLYW','547349IPoXry','330160sXMgIQ','1143wftRKZ','904KEaEjS','190eJrYtw','3141nRmEEb','14440LNRZUp','authRequired','944109lddevv','../auth/get-cookie.js','42BkhcEZ','1619224BaZSdu'];a284_0x518d=function(){return _0x5490a8;};return a284_0x518d();}function a284_0x47f9(_0x2c2389,_0x31a5f6){_0x2c2389=_0x2c2389-0x181;const _0x518df7=a284_0x518d();let _0x47f9ac=_0x518df7[_0x2c2389];return _0x47f9ac;}export async function buildAuth(_0xc2961d){const _0x507bd0=a284_0x47f9,{getCookie:_0x585a78}=await import(_0x507bd0(0x183)),_0x425921=_0xc2961d[_0x507bd0(0x186)]||_0x585a78(),_0x12d96f=_0x425921?await getIsSessionValid():![];return{'cookie':_0x425921,'isLoggedIn':_0x12d96f,async 'getOrLogin'(){const _0x5238e9=_0x507bd0;if(_0x425921&&_0x12d96f)return _0x425921;throw CliErrors[_0x5238e9(0x181)]();}};}
1
+ function a284_0x2b08(_0x14a044,_0x2c3de5){_0x14a044=_0x14a044-0x196;const _0x3c265f=a284_0x3c26();let _0x2b08ae=_0x3c265f[_0x14a044];return _0x2b08ae;}(function(_0x3db482,_0x413e67){const _0x2e9a86=a284_0x2b08,_0x277138=_0x3db482();while(!![]){try{const _0x4373ce=-parseInt(_0x2e9a86(0x19e))/0x1*(-parseInt(_0x2e9a86(0x19d))/0x2)+parseInt(_0x2e9a86(0x19b))/0x3+parseInt(_0x2e9a86(0x198))/0x4+-parseInt(_0x2e9a86(0x197))/0x5*(-parseInt(_0x2e9a86(0x199))/0x6)+parseInt(_0x2e9a86(0x19c))/0x7+-parseInt(_0x2e9a86(0x19a))/0x8*(parseInt(_0x2e9a86(0x19f))/0x9)+-parseInt(_0x2e9a86(0x196))/0xa;if(_0x4373ce===_0x413e67)break;else _0x277138['push'](_0x277138['shift']());}catch(_0x59237a){_0x277138['push'](_0x277138['shift']());}}}(a284_0x3c26,0xd59be));import{getIsSessionValid}from'../auth/is-session-valid.js';import{CliErrors}from'../errors.js';function a284_0x3c26(){const _0xb1d19d=['8LJpoHC','184079aOgaQz','108kUGwpP','9935270kiLYpV','155EyCRlG','341432ZWHCSS','242106uVyrKP','778304lRZVDS','278853QkXeFN','6092933fHrNWd'];a284_0x3c26=function(){return _0xb1d19d;};return a284_0x3c26();}export async function buildAuth(_0x5809d3){const {getCookie:_0x2bc9c2}=await import('../auth/get-cookie.js'),_0x3e21c3=_0x5809d3['cookie']||_0x2bc9c2(),_0x138877=_0x3e21c3?await getIsSessionValid():![];return{'cookie':_0x3e21c3,'isLoggedIn':_0x138877,async 'getOrLogin'(){if(_0x3e21c3&&_0x138877)return _0x3e21c3;throw CliErrors['authRequired']();}};}