@lovrabet/rabetbase-cli 2.5.1-beta.6 → 2.5.2-beta.1

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 (319) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.js +1 -1
  4. package/lib/api/generate-sdk-config-file.js +1 -1
  5. package/lib/auth/auth-server-ui.js +1 -1
  6. package/lib/auth/auth-server.js +1 -1
  7. package/lib/auth/constant.js +1 -1
  8. package/lib/auth/get-cookie.js +1 -1
  9. package/lib/auth/get-session-user.js +1 -1
  10. package/lib/auth/is-session-valid.js +1 -1
  11. package/lib/auth/login-success-html.js +1 -1
  12. package/lib/auth/logout.js +1 -1
  13. package/lib/cli-flags.js +1 -1
  14. package/lib/cli.js +1 -1
  15. package/lib/commands/api/generate.js +1 -1
  16. package/lib/commands/api/index.js +1 -1
  17. package/lib/commands/api/list.js +1 -1
  18. package/lib/commands/api/pull.js +1 -1
  19. package/lib/commands/api/shared.js +1 -1
  20. package/lib/commands/app/index.js +1 -1
  21. package/lib/commands/app/list.js +1 -1
  22. package/lib/commands/app/members-list.js +1 -1
  23. package/lib/commands/app/remote-directory.js +1 -1
  24. package/lib/commands/app/shared.js +1 -1
  25. package/lib/commands/app-config/delete.js +1 -1
  26. package/lib/commands/app-config/get.js +1 -1
  27. package/lib/commands/app-config/index.js +1 -1
  28. package/lib/commands/app-config/list.js +1 -1
  29. package/lib/commands/app-config/set.js +1 -1
  30. package/lib/commands/app-config/shared.js +1 -1
  31. package/lib/commands/auth/index.js +1 -1
  32. package/lib/commands/bff/create.js +1 -1
  33. package/lib/commands/bff/delete.js +1 -1
  34. package/lib/commands/bff/detail.js +1 -1
  35. package/lib/commands/bff/index.js +1 -1
  36. package/lib/commands/bff/list.js +1 -1
  37. package/lib/commands/bff/pull.js +1 -1
  38. package/lib/commands/bff/push.js +1 -1
  39. package/lib/commands/bff/status.js +1 -1
  40. package/lib/commands/cli-skill/index.js +1 -1
  41. package/lib/commands/cli-update.js +1 -1
  42. package/lib/commands/codegen/index.js +1 -1
  43. package/lib/commands/codegen/sdk.js +1 -1
  44. package/lib/commands/codegen/sql.js +1 -1
  45. package/lib/commands/common/app-registry.js +1 -1
  46. package/lib/commands/common/app-selector.js +1 -1
  47. package/lib/commands/common/async-task.js +1 -1
  48. package/lib/commands/common/dry-run.js +1 -1
  49. package/lib/commands/common/flags.js +1 -1
  50. package/lib/commands/common/local-file.js +1 -1
  51. package/lib/commands/common/validate.js +1 -1
  52. package/lib/commands/config/delete.js +1 -1
  53. package/lib/commands/config/get.js +1 -1
  54. package/lib/commands/config/index.js +1 -1
  55. package/lib/commands/config/init.js +1 -1
  56. package/lib/commands/config/list.js +1 -1
  57. package/lib/commands/config/set.js +1 -1
  58. package/lib/commands/config/shared.js +1 -1
  59. package/lib/commands/dataset/business-group-update.js +1 -1
  60. package/lib/commands/dataset/business-groups.js +1 -1
  61. package/lib/commands/dataset/capability.js +1 -1
  62. package/lib/commands/dataset/delete.js +1 -1
  63. package/lib/commands/dataset/detail.js +1 -1
  64. package/lib/commands/dataset/extend-update.js +1 -1
  65. package/lib/commands/dataset/field-restore.js +1 -1
  66. package/lib/commands/dataset/field-update.js +1 -1
  67. package/lib/commands/dataset/generate.js +1 -1
  68. package/lib/commands/dataset/index.js +1 -1
  69. package/lib/commands/dataset/list.js +1 -1
  70. package/lib/commands/dataset/operations.js +1 -1
  71. package/lib/commands/dataset/relation-audit.js +1 -1
  72. package/lib/commands/dataset/relation-create.js +1 -1
  73. package/lib/commands/dataset/relation-delete.js +1 -1
  74. package/lib/commands/dataset/relation-shared.js +1 -1
  75. package/lib/commands/dataset/relation-update.js +1 -1
  76. package/lib/commands/dataset/relations.js +1 -1
  77. package/lib/commands/dataset/rename.js +1 -1
  78. package/lib/commands/dataset/restore.js +1 -1
  79. package/lib/commands/dataset/user-deleted-field-list.js +1 -1
  80. package/lib/commands/db/analysis-batching.js +1 -1
  81. package/lib/commands/db/analyze-batch-plan.js +1 -1
  82. package/lib/commands/db/analyze-cancel.js +1 -1
  83. package/lib/commands/db/analyze-start.js +1 -1
  84. package/lib/commands/db/analyze-status.js +1 -1
  85. package/lib/commands/db/create.js +1 -1
  86. package/lib/commands/db/delete.js +1 -1
  87. package/lib/commands/db/detail.js +1 -1
  88. package/lib/commands/db/diff-refresh-start.js +1 -1
  89. package/lib/commands/db/diff-refresh-status.js +1 -1
  90. package/lib/commands/db/diff.js +1 -1
  91. package/lib/commands/db/index.js +1 -1
  92. package/lib/commands/db/list.js +1 -1
  93. package/lib/commands/db/shared.js +1 -1
  94. package/lib/commands/db/table-diff-shared.js +1 -1
  95. package/lib/commands/db/tables.js +1 -1
  96. package/lib/commands/db/test.js +1 -1
  97. package/lib/commands/db/update.js +1 -1
  98. package/lib/commands/deployment/auto-sync.d.ts +3 -11
  99. package/lib/commands/deployment/auto-sync.js +1 -1
  100. package/lib/commands/deployment/index.js +1 -1
  101. package/lib/commands/deployment/sync.js +1 -1
  102. package/lib/commands/doctor.js +1 -1
  103. package/lib/commands/file/index.js +1 -1
  104. package/lib/commands/issue/index.js +1 -1
  105. package/lib/commands/issue/nudge.js +1 -1
  106. package/lib/commands/issue/report.js +1 -1
  107. package/lib/commands/issue/shared.js +1 -1
  108. package/lib/commands/kb/create.js +1 -1
  109. package/lib/commands/kb/delete.js +1 -1
  110. package/lib/commands/kb/detail.js +1 -1
  111. package/lib/commands/kb/index.js +1 -1
  112. package/lib/commands/kb/list.js +1 -1
  113. package/lib/commands/kb/search.js +1 -1
  114. package/lib/commands/kb/shared.js +1 -1
  115. package/lib/commands/kb/update.js +1 -1
  116. package/lib/commands/logs/index.js +1 -1
  117. package/lib/commands/menu/asset-update.js +1 -1
  118. package/lib/commands/menu/delete.js +1 -1
  119. package/lib/commands/menu/external-link-create.js +1 -1
  120. package/lib/commands/menu/external-link-update.js +1 -1
  121. package/lib/commands/menu/group-create.js +1 -1
  122. package/lib/commands/menu/group-update.js +1 -1
  123. package/lib/commands/menu/index.js +1 -1
  124. package/lib/commands/menu/list.js +1 -1
  125. package/lib/commands/menu/move.js +1 -1
  126. package/lib/commands/menu/regroup-start.js +1 -1
  127. package/lib/commands/menu/rename.js +1 -1
  128. package/lib/commands/menu/shared/compare-table.js +1 -1
  129. package/lib/commands/menu/shared/delete-plan.js +1 -1
  130. package/lib/commands/menu/shared/facts.js +1 -1
  131. package/lib/commands/menu/shared/index.js +1 -1
  132. package/lib/commands/menu/shared/inquirer.js +1 -1
  133. package/lib/commands/menu/shared/local-pages.js +1 -1
  134. package/lib/commands/menu/shared/logic.js +1 -1
  135. package/lib/commands/menu/shared/mutations.js +1 -1
  136. package/lib/commands/menu/shared/service.js +1 -1
  137. package/lib/commands/menu/shared/sync-core.js +1 -1
  138. package/lib/commands/menu/shared/update-core.js +1 -1
  139. package/lib/commands/menu/shared/valid-url.js +1 -1
  140. package/lib/commands/menu/sync.js +1 -1
  141. package/lib/commands/menu/visibility-update.js +1 -1
  142. package/lib/commands/notification/config-create.js +1 -1
  143. package/lib/commands/notification/config-delete.js +1 -1
  144. package/lib/commands/notification/config-list.js +1 -1
  145. package/lib/commands/notification/config-update.js +1 -1
  146. package/lib/commands/notification/index.js +1 -1
  147. package/lib/commands/notification/shared.js +1 -1
  148. package/lib/commands/ocr/index.js +1 -1
  149. package/lib/commands/page/create.js +1 -1
  150. package/lib/commands/page/custom/detail.js +1 -1
  151. package/lib/commands/page/custom/list.js +1 -1
  152. package/lib/commands/page/custom/publish.js +1 -1
  153. package/lib/commands/page/custom/shared.js +1 -1
  154. package/lib/commands/page/custom/syntax.js +1 -1
  155. package/lib/commands/page/custom/template.js +1 -1
  156. package/lib/commands/page/custom/update.js +1 -1
  157. package/lib/commands/page/data-list-status.js +1 -1
  158. package/lib/commands/page/generate-start.js +1 -1
  159. package/lib/commands/page/generate-status.js +1 -1
  160. package/lib/commands/page/index.js +1 -1
  161. package/lib/commands/page/pull.js +1 -1
  162. package/lib/commands/page/push.js +1 -1
  163. package/lib/commands/page/relation-audit.js +1 -1
  164. package/lib/commands/page/restore.js +1 -1
  165. package/lib/commands/page/shared.js +1 -1
  166. package/lib/commands/page/sync.js +1 -1
  167. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  168. package/lib/commands/project/create/format-elapsed.js +1 -1
  169. package/lib/commands/project/create/main.js +1 -1
  170. package/lib/commands/project/create/materialize-project-template.js +1 -1
  171. package/lib/commands/project/create/project-name.js +1 -1
  172. package/lib/commands/project/create/project-template-archive.js +1 -1
  173. package/lib/commands/project/create/project-template-path.js +1 -1
  174. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  175. package/lib/commands/project/create/use-format-code.js +1 -1
  176. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  177. package/lib/commands/project/domain-routing-sync.js +1 -1
  178. package/lib/commands/project/index.js +1 -1
  179. package/lib/commands/project/upgrade.js +1 -1
  180. package/lib/commands/registry.js +1 -1
  181. package/lib/commands/role/delete.js +1 -1
  182. package/lib/commands/role/detail.js +1 -1
  183. package/lib/commands/role/index.js +1 -1
  184. package/lib/commands/role/list.js +1 -1
  185. package/lib/commands/role/shared.js +1 -1
  186. package/lib/commands/role/update.js +1 -1
  187. package/lib/commands/role/user-add.js +1 -1
  188. package/lib/commands/role/user-remove.js +1 -1
  189. package/lib/commands/role/user-resolve.js +1 -1
  190. package/lib/commands/rule/get.js +1 -1
  191. package/lib/commands/rule/index.js +1 -1
  192. package/lib/commands/rule/list.js +1 -1
  193. package/lib/commands/rule/set.js +1 -1
  194. package/lib/commands/rule/shared.js +1 -1
  195. package/lib/commands/run/index.js +1 -1
  196. package/lib/commands/schema.js +1 -1
  197. package/lib/commands/sql/create.js +1 -1
  198. package/lib/commands/sql/delete.js +1 -1
  199. package/lib/commands/sql/detail.js +1 -1
  200. package/lib/commands/sql/exec.js +1 -1
  201. package/lib/commands/sql/index.js +1 -1
  202. package/lib/commands/sql/list.js +1 -1
  203. package/lib/commands/sql/pull.js +1 -1
  204. package/lib/commands/sql/push.js +1 -1
  205. package/lib/commands/sql/shared.js +1 -1
  206. package/lib/commands/sql/status.js +1 -1
  207. package/lib/commands/sql/validate.js +1 -1
  208. package/lib/commands/task/index.js +1 -1
  209. package/lib/commands/task/status.js +1 -1
  210. package/lib/commands/tenant/index.js +1 -1
  211. package/lib/commands/tenant/members-list.js +1 -1
  212. package/lib/commands/tenant/shared.js +1 -1
  213. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  214. package/lib/commands/user-account/index.js +1 -1
  215. package/lib/commands/workspace/add.js +1 -1
  216. package/lib/commands/workspace/index.js +1 -1
  217. package/lib/commands/workspace/remove.js +1 -1
  218. package/lib/config/domain-config.js +1 -1
  219. package/lib/config/project-domain-routing.js +1 -1
  220. package/lib/config/schema.js +1 -1
  221. package/lib/constant/cdn.js +1 -1
  222. package/lib/constant/cli.js +1 -1
  223. package/lib/constant/defaults.js +1 -1
  224. package/lib/constant/domain.js +1 -1
  225. package/lib/constant/env.js +1 -1
  226. package/lib/constant/output.js +1 -1
  227. package/lib/constant/paths.js +1 -1
  228. package/lib/constant/region.js +1 -1
  229. package/lib/constant/risk.js +1 -1
  230. package/lib/constant/routing-profile.js +1 -1
  231. package/lib/context/app-resolver.d.ts +0 -2
  232. package/lib/context/app-resolver.js +1 -1
  233. package/lib/context/auth-resolver.js +1 -1
  234. package/lib/context/config-loader.js +1 -1
  235. package/lib/context.js +1 -1
  236. package/lib/core/alias-resolver.js +1 -1
  237. package/lib/core/api-client.d.ts +0 -2
  238. package/lib/core/api-client.js +1 -1
  239. package/lib/core/bff/config.js +1 -1
  240. package/lib/core/bff/file-system.js +1 -1
  241. package/lib/core/bff/hash.js +1 -1
  242. package/lib/core/bff/lock.js +1 -1
  243. package/lib/core/bff/utils.js +1 -1
  244. package/lib/core/db-resolver.js +1 -1
  245. package/lib/core/kb-search-client.js +1 -1
  246. package/lib/core/page/file-system.js +1 -1
  247. package/lib/core/page/hash.js +1 -1
  248. package/lib/core/page/lock.js +1 -1
  249. package/lib/core/sql-index-auditor.js +1 -1
  250. package/lib/core/sql-sync/config.js +1 -1
  251. package/lib/core/sql-sync/file-system.js +1 -1
  252. package/lib/core/sql-sync/hash.js +1 -1
  253. package/lib/core/sql-sync/lock.js +1 -1
  254. package/lib/core/sql-sync/utils.js +1 -1
  255. package/lib/core/sql-validator.js +1 -1
  256. package/lib/errors.js +1 -1
  257. package/lib/framework/build-all-flags.js +1 -1
  258. package/lib/framework/error-output.js +1 -1
  259. package/lib/framework/explicit-yes.js +1 -1
  260. package/lib/framework/flags.js +1 -1
  261. package/lib/framework/help.js +1 -1
  262. package/lib/framework/index.js +1 -1
  263. package/lib/framework/output.js +1 -1
  264. package/lib/framework/response.js +1 -1
  265. package/lib/framework/runner-alias.js +1 -1
  266. package/lib/framework/runner.js +1 -1
  267. package/lib/framework/schema-export.js +1 -1
  268. package/lib/framework/supported-flags.d.ts +2 -0
  269. package/lib/framework/supported-flags.js +1 -0
  270. package/lib/framework/types.d.ts +2 -4
  271. package/lib/framework/types.js +1 -1
  272. package/lib/generated/build-info.d.ts +4 -4
  273. package/lib/generated/build-info.js +1 -1
  274. package/lib/generated/official-routing.js +1 -1
  275. package/lib/generated/routing-contract.js +1 -1
  276. package/lib/help.js +1 -1
  277. package/lib/postinstall.js +1 -1
  278. package/lib/runtime/confirmation.js +1 -1
  279. package/lib/runtime/event.js +1 -1
  280. package/lib/runtime/index.js +1 -1
  281. package/lib/runtime/queue.js +1 -1
  282. package/lib/runtime/resolve.js +1 -1
  283. package/lib/skills/builtin-skill.js +1 -1
  284. package/lib/skills/main.js +1 -1
  285. package/lib/skills/npx-skills-add.js +1 -1
  286. package/lib/skills/skill-presence.js +1 -1
  287. package/lib/telemetry/cli-command-trace.js +1 -1
  288. package/lib/telemetry/cli-help-trace.js +1 -1
  289. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  290. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  291. package/lib/telemetry/send-cli-trace-log.js +1 -1
  292. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  293. package/lib/utils/ai_config.js +1 -1
  294. package/lib/utils/apply-jq-filter.js +1 -1
  295. package/lib/utils/cdn-config.js +1 -1
  296. package/lib/utils/check-sdk-version.js +1 -1
  297. package/lib/utils/cli-version-check.js +1 -1
  298. package/lib/utils/cli-version-policy.js +1 -1
  299. package/lib/utils/config.js +1 -1
  300. package/lib/utils/entity-with-id.js +1 -1
  301. package/lib/utils/file-utils.js +1 -1
  302. package/lib/utils/guides-cdn.js +1 -1
  303. package/lib/utils/http-client.js +1 -1
  304. package/lib/utils/is-non-interactive.js +1 -1
  305. package/lib/utils/logger.js +1 -1
  306. package/lib/utils/params.js +1 -1
  307. package/lib/utils/platform.js +1 -1
  308. package/lib/utils/sleep.js +1 -1
  309. package/lib/utils/template-replacer.js +1 -1
  310. package/lib/utils/update-notice.js +1 -1
  311. package/lib/utils/version.js +1 -1
  312. package/lib/utils/with-active-cookie.js +1 -1
  313. package/lib/utils/write-cli-side-channel.js +1 -1
  314. package/package.json +1 -1
  315. package/skills/rabetbase/SKILL.md +3 -3
  316. package/skills/rabetbase/references/rabetbase-deployment-sync.md +16 -44
  317. package/skills/rabetbase.manifest.json +3 -3
  318. package/lib/config/deployment-sync.d.ts +0 -10
  319. package/lib/config/deployment-sync.js +0 -1
@@ -1 +1 @@
1
- const a218_0x579d38=a218_0x4f69;(function(_0x1b2fdc,_0xa2fa5c){const _0xc7a901=a218_0x4f69,_0x30dfd5=_0x1b2fdc();while(!![]){try{const _0x2e430f=-parseInt(_0xc7a901(0x185))/0x1*(parseInt(_0xc7a901(0x17c))/0x2)+-parseInt(_0xc7a901(0x197))/0x3*(parseInt(_0xc7a901(0x19d))/0x4)+-parseInt(_0xc7a901(0x19c))/0x5+parseInt(_0xc7a901(0x190))/0x6*(-parseInt(_0xc7a901(0x1a4))/0x7)+parseInt(_0xc7a901(0x166))/0x8+parseInt(_0xc7a901(0x1b2))/0x9*(-parseInt(_0xc7a901(0x1b3))/0xa)+parseInt(_0xc7a901(0x163))/0xb;if(_0x2e430f===_0xa2fa5c)break;else _0x30dfd5['push'](_0x30dfd5['shift']());}catch(_0x50f9cf){_0x30dfd5['push'](_0x30dfd5['shift']());}}}(a218_0x323d,0x73c20));function a218_0x4f69(_0x720a62,_0x59b18d){_0x720a62=_0x720a62-0x161;const _0x323d13=a218_0x323d();let _0x4f6945=_0x323d13[_0x720a62];return _0x4f6945;}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,ENTERPRISE_ROUTING_TOP_LEVEL_FIELDS,ENTERPRISE_ROUTING_CONSUMERS,REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS,REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS}from'../generated/routing-contract.js';export const DOMAIN_CONFIG_FIELDS=['userDomain',a218_0x579d38(0x16a),a218_0x579d38(0x1aa),'skillDomain','kbDomain',a218_0x579d38(0x1b1),a218_0x579d38(0x1a2),a218_0x579d38(0x192)];const DOMAIN_FLAGS={'userDomain':a218_0x579d38(0x1b0),'apiDomain':'api-domain','runtimeDomain':a218_0x579d38(0x18a),'skillDomain':a218_0x579d38(0x176),'kbDomain':a218_0x579d38(0x1a9),'appDomain':a218_0x579d38(0x169),'localDomain':a218_0x579d38(0x194),'certificateDomain':'certificate-domain'};export const LEGACY_DOMAIN_CONFIG_FIELDS=[a218_0x579d38(0x19b),a218_0x579d38(0x191),'skillHubDomain'];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':a218_0x579d38(0x17d),'apiDomain':a218_0x579d38(0x16a),'runtimeDomain':'runtimeDomain','skillDomain':a218_0x579d38(0x1a6),'kbDomain':a218_0x579d38(0x1a5),'appDomain':a218_0x579d38(0x1b1),'localDomain':a218_0x579d38(0x1a2),'certificateDomain':a218_0x579d38(0x192)},ROUTING_CONSUMER=a218_0x579d38(0x1b6);export function normalizeDomainOrigin(_0x220876,_0x5c37e8){const _0x5dbf64=a218_0x579d38;if(typeof _0x5c37e8!==_0x5dbf64(0x183)||!_0x5c37e8[_0x5dbf64(0x199)]())throw CliErrors[_0x5dbf64(0x18f)](_0x5dbf64(0x17b)+_0x220876+_0x5dbf64(0x172));let _0x265060;try{_0x265060=new URL(_0x5c37e8[_0x5dbf64(0x199)]());}catch{throw CliErrors[_0x5dbf64(0x18f)](_0x5dbf64(0x17b)+_0x220876+_0x5dbf64(0x171)+_0x5c37e8+'\x22\x20is\x20not\x20a\x20valid\x20URL.');}if(_0x265060[_0x5dbf64(0x196)]!=='https:'||_0x265060[_0x5dbf64(0x19f)]||_0x265060[_0x5dbf64(0x17e)]||_0x265060[_0x5dbf64(0x165)]!=='/'&&_0x265060['pathname']!==''||_0x265060['search']||_0x265060[_0x5dbf64(0x1ae)])throw CliErrors[_0x5dbf64(0x18f)](_0x5dbf64(0x17b)+_0x220876+':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.',_0x5dbf64(0x1a7));return _0x265060[_0x5dbf64(0x184)];}function a218_0x323d(){const _0x34e21a=['skill-domain','utf8','lovrabet','str','\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20','Invalid\x20','1486xyQdJq','userDomain','password','default','\x22\x20and\x20kind\x20\x22','\x20consumer(s):\x20','mode','string','origin','109xdjYdH','base\x20URL','parse','Allowed\x20consumers:\x20','filter','runtime-domain','legacy','Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.','cwd',':\x20expected\x20an\x20HTTPS\x20','validation','78jXLzHm','platformDomain','certificateDomain','includes','local-domain','replace','protocol','65613LtiUxG','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20CDN\x20field(s):\x20','trim','Invalid\x20domain\x20config\x20JSON:\x20','agentDomain','1439380DgKiRn','152lyIddo','Allowed\x20fields:\x20','username','Unsupported\x20enterprise\x20CDN\x20field(s):\x20','Enterprise\x20routing\x20manifest\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','localDomain','object','337330aYyGas','kbDomain','skillDomain','For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22','kb-domain','runtimeDomain','domains','keys','Unsupported\x20','hash','\x22\x20is\x20not\x20a\x20valid\x20URL.','user-domain','appDomain','18idGtIk','3607490LYffAV','Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.','length','rabetbase-cli','Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.','join','Enterprise\x20','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20','32928357AupjXU','Unsupported\x20enterprise\x20Domain\x20field(s):\x20','pathname','228688lCnFeY','enterprise-v1','domain-config','app-domain','apiDomain','Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.','search','href','Invalid\x20cdn.','\x20and\x20has\x20no\x20default.','cdn',':\x20\x22',':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.','isArray','Unsupported\x20enterprise\x20routing\x20field(s):\x20','https:'];a218_0x323d=function(){return _0x34e21a;};return a218_0x323d();}export function normalizeRoutingDomainValue(_0x661f38,_0x5f03f8){const _0x7c6055=a218_0x579d38;if(typeof _0x5f03f8==='string')return normalizeDomainOrigin(_0x661f38,_0x5f03f8);if(!_0x5f03f8||typeof _0x5f03f8!==_0x7c6055(0x1a3)||Array[_0x7c6055(0x173)](_0x5f03f8))throw CliErrors[_0x7c6055(0x18f)]('Invalid\x20'+_0x661f38+':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.');const _0x200c4d=_0x5f03f8,_0x36350f=Object[_0x7c6055(0x1ac)](_0x200c4d),_0x345819=[_0x7c6055(0x17f),...ENTERPRISE_ROUTING_CONSUMERS],_0x583d89=_0x36350f[_0x7c6055(0x189)](_0x32637b=>!_0x345819[_0x7c6055(0x193)](_0x32637b));if(_0x583d89['length']>0x0)throw CliErrors[_0x7c6055(0x18f)](_0x7c6055(0x1ad)+_0x661f38+_0x7c6055(0x181)+_0x583d89[_0x7c6055(0x1b8)](',\x20'),_0x7c6055(0x188)+_0x345819[_0x7c6055(0x1b8)](',\x20'));if(_0x36350f['length']===0x0)throw CliErrors[_0x7c6055(0x18f)]('Invalid\x20'+_0x661f38+':\x20consumer\x20Domain\x20object\x20cannot\x20be\x20empty.');const _0x389838={};for(const _0x4105e4 of _0x36350f){const _0x4c16a6=_0x4105e4;_0x389838[_0x4c16a6]=normalizeDomainOrigin(_0x661f38,_0x200c4d[_0x4105e4]);}return _0x389838;}export function normalizeCdnBaseUrl(_0x2f1eab,_0x490c13){const _0x511fe1=a218_0x579d38;if(typeof _0x490c13!==_0x511fe1(0x183)||!_0x490c13[_0x511fe1(0x199)]())throw CliErrors[_0x511fe1(0x18f)](_0x511fe1(0x16e)+_0x2f1eab+':\x20expected\x20a\x20non-empty\x20HTTPS\x20URL.');const _0x224bb0=_0x490c13[_0x511fe1(0x199)]()[_0x511fe1(0x195)](/\/$/,'');let _0x14a1a1;try{_0x14a1a1=new URL(_0x224bb0);}catch{throw CliErrors[_0x511fe1(0x18f)](_0x511fe1(0x16e)+_0x2f1eab+':\x20\x22'+_0x490c13+_0x511fe1(0x1af));}if(_0x14a1a1['protocol']!==_0x511fe1(0x175)||_0x14a1a1[_0x511fe1(0x19f)]||_0x14a1a1[_0x511fe1(0x17e)]||_0x14a1a1[_0x511fe1(0x16c)]||_0x14a1a1['hash']||_0x14a1a1[_0x511fe1(0x16d)][_0x511fe1(0x195)](/\/$/,'')!==_0x224bb0||_0x2f1eab===_0x511fe1(0x178)&&_0x14a1a1[_0x511fe1(0x184)]!==_0x224bb0)throw CliErrors[_0x511fe1(0x18f)](_0x511fe1(0x16e)+_0x2f1eab+_0x511fe1(0x18e)+(_0x2f1eab===_0x511fe1(0x178)?_0x511fe1(0x184):_0x511fe1(0x186))+'\x20without\x20credentials,\x20query,\x20or\x20fragment.');return _0x224bb0;}export function resolveEnterpriseRoutingConfig(_0x2e29f8){return resolveEnterpriseRoutingManifest(_0x2e29f8)?.['domains'];}export function resolveEnterpriseRoutingManifest(_0x10875e){const _0x40a586=a218_0x579d38;if(_0x10875e===undefined)return undefined;if(!_0x10875e||typeof _0x10875e!==_0x40a586(0x1a3)||Array[_0x40a586(0x173)](_0x10875e))throw CliErrors[_0x40a586(0x18f)](_0x40a586(0x18c));return parseEnterpriseRoutingManifest(_0x10875e);}export function resolveRoutingDomainValue(_0x138898,_0x4400e5,_0x4f9b54){const _0xbbf3dc=a218_0x579d38;if(typeof _0x4400e5===_0xbbf3dc(0x183))return _0x4400e5;const _0x3d58da=_0x4400e5[_0x4f9b54]??_0x4400e5[_0xbbf3dc(0x17f)];if(!_0x3d58da)throw CliErrors[_0xbbf3dc(0x18f)](_0xbbf3dc(0x161)+_0x138898+_0xbbf3dc(0x17a)+_0x4f9b54+_0xbbf3dc(0x16f));return _0x3d58da;}export function readDomainConfigInput(_0x2ea6bb){const _0x42dbc9=a218_0x579d38,_0x14a612=isAbsolute(_0x2ea6bb)?_0x2ea6bb:resolve(process[_0x42dbc9(0x18d)](),_0x2ea6bb);if(!existsSync(_0x14a612))throw CliErrors['validation']('Domain\x20config\x20file\x20not\x20found:\x20'+_0x14a612);let _0x2bd3f5;try{_0x2bd3f5=JSON[_0x42dbc9(0x187)](readFileSync(_0x14a612,_0x42dbc9(0x177)));}catch{throw CliErrors['validation'](_0x42dbc9(0x19a)+_0x14a612);}if(!_0x2bd3f5||typeof _0x2bd3f5!==_0x42dbc9(0x1a3)||Array[_0x42dbc9(0x173)](_0x2bd3f5))throw CliErrors['validation']('Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.');const _0x539d52=_0x2bd3f5;if(_0x42dbc9(0x196)in _0x539d52)return parseEnterpriseRoutingManifest(_0x539d52);const _0x4ee96a=Object[_0x42dbc9(0x1ac)](_0x539d52)[_0x42dbc9(0x189)](_0x236fbe=>!DOMAIN_CONFIG_FIELDS[_0x42dbc9(0x193)](_0x236fbe));if(_0x4ee96a[_0x42dbc9(0x1b5)]>0x0)throw CliErrors[_0x42dbc9(0x18f)]('Unsupported\x20domain\x20config\x20field(s):\x20'+_0x4ee96a[_0x42dbc9(0x1b8)](',\x20'),'Allowed\x20fields:\x20'+DOMAIN_CONFIG_FIELDS['join'](',\x20'));const _0x36b868={};for(const _0x3540d9 of DOMAIN_CONFIG_FIELDS){_0x539d52[_0x3540d9]!==undefined&&(_0x36b868[_0x3540d9]=normalizeDomainOrigin(_0x3540d9,_0x539d52[_0x3540d9]));}if(Object[_0x42dbc9(0x1ac)](_0x36b868)[_0x42dbc9(0x1b5)]===0x0)throw CliErrors[_0x42dbc9(0x18f)]('Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.');return{'mode':_0x42dbc9(0x18b),'domains':_0x36b868};}export function readDomainConfig(_0x4d0706){return readDomainConfigInput(_0x4d0706)['domains'];}export function resolveDomainConfigInput(_0x380fe9){const _0xf6f8e=a218_0x579d38,_0x20036d=(_0x380fe9[_0xf6f8e(0x179)](_0xf6f8e(0x168))||'')['trim'](),_0x5e6de0=_0x20036d?readDomainConfigInput(_0x20036d):{'mode':_0xf6f8e(0x18b),'domains':{}},_0x5e6b8b=DOMAIN_CONFIG_FIELDS[_0xf6f8e(0x189)](_0x4e1e51=>Boolean((_0x380fe9[_0xf6f8e(0x179)](DOMAIN_FLAGS[_0x4e1e51])||'')[_0xf6f8e(0x199)]()));if(_0x5e6de0[_0xf6f8e(0x182)]===_0xf6f8e(0x167)&&_0x5e6b8b[_0xf6f8e(0x1b5)]>0x0)throw CliErrors[_0xf6f8e(0x18f)](_0xf6f8e(0x16b),_0xf6f8e(0x1b4));for(const _0x5e98f4 of DOMAIN_CONFIG_FIELDS){const _0x1c26c0=(_0x380fe9[_0xf6f8e(0x179)](DOMAIN_FLAGS[_0x5e98f4])||'')[_0xf6f8e(0x199)]();if(_0x1c26c0)_0x5e6de0['domains'][_0x5e98f4]=normalizeDomainOrigin(_0x5e98f4,_0x1c26c0);}return _0x5e6de0;}export function resolveDomainFlags(_0x2dfa47){const _0x5cc631=a218_0x579d38;return resolveDomainConfigInput(_0x2dfa47)[_0x5cc631(0x1ab)];}export function parseEnterpriseRoutingManifest(_0x4afa37){const _0x37f5e3=a218_0x579d38,_0x3871fd=Object[_0x37f5e3(0x1ac)](_0x4afa37)['filter'](_0x238b29=>!ENTERPRISE_ROUTING_TOP_LEVEL_FIELDS[_0x37f5e3(0x193)](_0x238b29));if(_0x3871fd['length']>0x0)throw CliErrors['validation'](_0x37f5e3(0x174)+_0x3871fd[_0x37f5e3(0x1b8)](',\x20'));if(_0x4afa37['protocol']!==ENTERPRISE_ROUTING_PROTOCOL||_0x4afa37['kind']!==ENTERPRISE_ROUTING_KIND)throw CliErrors[_0x37f5e3(0x18f)](_0x37f5e3(0x1a8)+ENTERPRISE_ROUTING_PROTOCOL+_0x37f5e3(0x180)+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0x4afa37['domains']||typeof _0x4afa37[_0x37f5e3(0x1ab)]!==_0x37f5e3(0x1a3)||Array[_0x37f5e3(0x173)](_0x4afa37[_0x37f5e3(0x1ab)]))throw CliErrors[_0x37f5e3(0x18f)](_0x37f5e3(0x1b7));if(!_0x4afa37[_0x37f5e3(0x170)]||typeof _0x4afa37[_0x37f5e3(0x170)]!==_0x37f5e3(0x1a3)||Array[_0x37f5e3(0x173)](_0x4afa37[_0x37f5e3(0x170)]))throw CliErrors['validation']('Invalid\x20enterprise\x20routing\x20manifest:\x20cdn\x20must\x20be\x20an\x20object.');const _0x23f19d=_0x4afa37[_0x37f5e3(0x1ab)],_0x2be0b8=Object[_0x37f5e3(0x1ac)](_0x23f19d)[_0x37f5e3(0x189)](_0x1c580a=>!ENTERPRISE_ROUTING_DOMAIN_FIELDS[_0x37f5e3(0x193)](_0x1c580a));if(_0x2be0b8[_0x37f5e3(0x1b5)]>0x0)throw CliErrors['validation'](_0x37f5e3(0x164)+_0x2be0b8[_0x37f5e3(0x1b8)](',\x20'),'Allowed\x20fields:\x20'+ENTERPRISE_ROUTING_DOMAIN_FIELDS[_0x37f5e3(0x1b8)](',\x20'));const _0x12db66=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS[_0x37f5e3(0x189)](_0xe76f38=>_0x23f19d[_0xe76f38]===undefined);if(_0x12db66[_0x37f5e3(0x1b5)]>0x0)throw CliErrors[_0x37f5e3(0x18f)](_0x37f5e3(0x162)+_0x12db66[_0x37f5e3(0x1b8)](',\x20'));if(_0x23f19d[_0x37f5e3(0x1a2)]===undefined!==(_0x23f19d[_0x37f5e3(0x192)]===undefined))throw CliErrors['validation'](_0x37f5e3(0x1a1));const _0x5526a4=_0x4afa37[_0x37f5e3(0x170)],_0x4273ea=Object['keys'](_0x5526a4)[_0x37f5e3(0x189)](_0x489076=>!ENTERPRISE_ROUTING_CDN_FIELDS['includes'](_0x489076));if(_0x4273ea[_0x37f5e3(0x1b5)]>0x0)throw CliErrors[_0x37f5e3(0x18f)](_0x37f5e3(0x1a0)+_0x4273ea[_0x37f5e3(0x1b8)](',\x20'),_0x37f5e3(0x19e)+ENTERPRISE_ROUTING_CDN_FIELDS[_0x37f5e3(0x1b8)](',\x20'));const _0x5290fb=REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS[_0x37f5e3(0x189)](_0x45d90e=>_0x5526a4[_0x45d90e]===undefined);if(_0x5290fb['length']>0x0)throw CliErrors[_0x37f5e3(0x18f)](_0x37f5e3(0x198)+_0x5290fb[_0x37f5e3(0x1b8)](',\x20'));const _0x316969={};for(const _0x252a7b of ENTERPRISE_ROUTING_CDN_FIELDS){_0x316969[_0x252a7b]=normalizeCdnBaseUrl(_0x252a7b,_0x5526a4[_0x252a7b]);}const _0x84a085={},_0x4a59ff={};for(const _0x48c6f9 of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x46e782=_0x23f19d[_0x48c6f9];if(_0x46e782===undefined)continue;const _0xddfe92=normalizeRoutingDomainValue(_0x48c6f9,_0x46e782);_0x84a085[_0x48c6f9]=_0xddfe92;const _0x1f1738=ENTERPRISE_TO_LOCAL_FIELD[_0x48c6f9];_0x1f1738&&(_0x4a59ff[_0x1f1738]=resolveRoutingDomainValue(_0x48c6f9,_0xddfe92,ROUTING_CONSUMER));}return{'mode':_0x37f5e3(0x167),'domains':_0x4a59ff,'manifestDomains':_0x84a085,'cdn':_0x316969};}
1
+ const a217_0x1a17b2=a217_0x5513;(function(_0x4a4c9b,_0x33e751){const _0x1995ed=a217_0x5513,_0x360a4c=_0x4a4c9b();while(!![]){try{const _0x2fdfdd=-parseInt(_0x1995ed(0x1bf))/0x1+-parseInt(_0x1995ed(0x1be))/0x2+parseInt(_0x1995ed(0x1d9))/0x3+-parseInt(_0x1995ed(0x1d3))/0x4+parseInt(_0x1995ed(0x1c9))/0x5*(-parseInt(_0x1995ed(0x1d7))/0x6)+parseInt(_0x1995ed(0x1cd))/0x7*(-parseInt(_0x1995ed(0x1f4))/0x8)+parseInt(_0x1995ed(0x1fb))/0x9*(parseInt(_0x1995ed(0x1bb))/0xa);if(_0x2fdfdd===_0x33e751)break;else _0x360a4c['push'](_0x360a4c['shift']());}catch(_0x540884){_0x360a4c['push'](_0x360a4c['shift']());}}}(a217_0x2d2f,0xe35a0));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,ENTERPRISE_ROUTING_TOP_LEVEL_FIELDS,ENTERPRISE_ROUTING_CONSUMERS,REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS,REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS}from'../generated/routing-contract.js';export const DOMAIN_CONFIG_FIELDS=[a217_0x1a17b2(0x1ba),'apiDomain','runtimeDomain',a217_0x1a17b2(0x1fc),a217_0x1a17b2(0x1b6),a217_0x1a17b2(0x1cc),a217_0x1a17b2(0x1b5),a217_0x1a17b2(0x1c5)];const DOMAIN_FLAGS={'userDomain':a217_0x1a17b2(0x1b2),'apiDomain':a217_0x1a17b2(0x1e6),'runtimeDomain':a217_0x1a17b2(0x1de),'skillDomain':a217_0x1a17b2(0x1ae),'kbDomain':'kb-domain','appDomain':a217_0x1a17b2(0x1ad),'localDomain':'local-domain','certificateDomain':a217_0x1a17b2(0x1da)};function a217_0x5513(_0x9594c7,_0x20a6ea){_0x9594c7=_0x9594c7-0x1ad;const _0x2d2f07=a217_0x2d2f();let _0x551354=_0x2d2f07[_0x9594c7];return _0x551354;}export const LEGACY_DOMAIN_CONFIG_FIELDS=[a217_0x1a17b2(0x1e1),a217_0x1a17b2(0x1f6),a217_0x1a17b2(0x1b0)];const ENTERPRISE_TO_LOCAL_FIELD={'userDomain':a217_0x1a17b2(0x1ba),'apiDomain':a217_0x1a17b2(0x200),'runtimeDomain':a217_0x1a17b2(0x1f5),'skillDomain':a217_0x1a17b2(0x1fc),'kbDomain':a217_0x1a17b2(0x1b6),'appDomain':a217_0x1a17b2(0x1cc),'localDomain':a217_0x1a17b2(0x1b5),'certificateDomain':a217_0x1a17b2(0x1c5)},ROUTING_CONSUMER=a217_0x1a17b2(0x1ca);export function normalizeDomainOrigin(_0x2c7ae8,_0x222d45){const _0x4289b5=a217_0x1a17b2;if(typeof _0x222d45!==_0x4289b5(0x1fe)||!_0x222d45[_0x4289b5(0x1b1)]())throw CliErrors[_0x4289b5(0x1e5)](_0x4289b5(0x1d8)+_0x2c7ae8+_0x4289b5(0x1ff));let _0x1e0260;try{_0x1e0260=new URL(_0x222d45['trim']());}catch{throw CliErrors[_0x4289b5(0x1e5)](_0x4289b5(0x1d8)+_0x2c7ae8+_0x4289b5(0x1db)+_0x222d45+_0x4289b5(0x1e3));}if(_0x1e0260[_0x4289b5(0x1e0)]!==_0x4289b5(0x1f9)||_0x1e0260[_0x4289b5(0x1e9)]||_0x1e0260['password']||_0x1e0260[_0x4289b5(0x1c4)]!=='/'&&_0x1e0260[_0x4289b5(0x1c4)]!==''||_0x1e0260[_0x4289b5(0x1b3)]||_0x1e0260[_0x4289b5(0x1c8)])throw CliErrors['validation'](_0x4289b5(0x1d8)+_0x2c7ae8+_0x4289b5(0x1d2),_0x4289b5(0x1d4));return _0x1e0260[_0x4289b5(0x1f0)];}export function normalizeRoutingDomainValue(_0x18c457,_0x17592b){const _0x3be6bb=a217_0x1a17b2;if(typeof _0x17592b===_0x3be6bb(0x1fe))return normalizeDomainOrigin(_0x18c457,_0x17592b);if(!_0x17592b||typeof _0x17592b!==_0x3be6bb(0x1c3)||Array['isArray'](_0x17592b))throw CliErrors[_0x3be6bb(0x1e5)](_0x3be6bb(0x1d8)+_0x18c457+_0x3be6bb(0x1f7));const _0x36fb75=_0x17592b,_0xaee8e3=Object['keys'](_0x36fb75),_0x1917ab=[_0x3be6bb(0x1cf),...ENTERPRISE_ROUTING_CONSUMERS],_0x4acd83=_0xaee8e3['filter'](_0x2ea4bb=>!_0x1917ab[_0x3be6bb(0x1ed)](_0x2ea4bb));if(_0x4acd83['length']>0x0)throw CliErrors[_0x3be6bb(0x1e5)]('Unsupported\x20'+_0x18c457+_0x3be6bb(0x1cb)+_0x4acd83['join'](',\x20'),_0x3be6bb(0x1dc)+_0x1917ab['join'](',\x20'));if(_0xaee8e3['length']===0x0)throw CliErrors[_0x3be6bb(0x1e5)](_0x3be6bb(0x1d8)+_0x18c457+_0x3be6bb(0x1eb));const _0x529b44={};for(const _0x3cfa33 of _0xaee8e3){const _0x49f64b=_0x3cfa33;_0x529b44[_0x49f64b]=normalizeDomainOrigin(_0x18c457,_0x36fb75[_0x3cfa33]);}return _0x529b44;}export function normalizeCdnBaseUrl(_0x25249a,_0x44788d){const _0x698760=a217_0x1a17b2;if(typeof _0x44788d!==_0x698760(0x1fe)||!_0x44788d[_0x698760(0x1b1)]())throw CliErrors['validation']('Invalid\x20cdn.'+_0x25249a+':\x20expected\x20a\x20non-empty\x20HTTPS\x20URL.');const _0x3d9f79=_0x44788d['trim']()[_0x698760(0x1bc)](/\/$/,'');let _0x5b96e4;try{_0x5b96e4=new URL(_0x3d9f79);}catch{throw CliErrors[_0x698760(0x1e5)](_0x698760(0x202)+_0x25249a+_0x698760(0x1db)+_0x44788d+'\x22\x20is\x20not\x20a\x20valid\x20URL.');}if(_0x5b96e4['protocol']!==_0x698760(0x1f9)||_0x5b96e4[_0x698760(0x1e9)]||_0x5b96e4[_0x698760(0x1af)]||_0x5b96e4[_0x698760(0x1b3)]||_0x5b96e4[_0x698760(0x1c8)]||_0x5b96e4['href'][_0x698760(0x1bc)](/\/$/,'')!==_0x3d9f79||_0x25249a==='lovrabet'&&_0x5b96e4[_0x698760(0x1f0)]!==_0x3d9f79)throw CliErrors['validation'](_0x698760(0x202)+_0x25249a+_0x698760(0x1e2)+(_0x25249a===_0x698760(0x1ef)?_0x698760(0x1f0):_0x698760(0x1f2))+_0x698760(0x1e4));return _0x3d9f79;}export function resolveEnterpriseRoutingConfig(_0x35eb4b){return resolveEnterpriseRoutingManifest(_0x35eb4b)?.['domains'];}export function resolveEnterpriseRoutingManifest(_0x3e0f3f){const _0x33c77c=a217_0x1a17b2;if(_0x3e0f3f===undefined)return undefined;if(!_0x3e0f3f||typeof _0x3e0f3f!=='object'||Array['isArray'](_0x3e0f3f))throw CliErrors[_0x33c77c(0x1e5)](_0x33c77c(0x1b9));return parseEnterpriseRoutingManifest(_0x3e0f3f);}export function resolveRoutingDomainValue(_0x16b793,_0x28bcca,_0x4fd0fa){const _0x18db5a=a217_0x1a17b2;if(typeof _0x28bcca===_0x18db5a(0x1fe))return _0x28bcca;const _0x2661be=_0x28bcca[_0x4fd0fa]??_0x28bcca['default'];if(!_0x2661be)throw CliErrors[_0x18db5a(0x1e5)](_0x18db5a(0x201)+_0x16b793+'\x20does\x20not\x20provide\x20a\x20Domain\x20for\x20'+_0x4fd0fa+_0x18db5a(0x1b4));return _0x2661be;}function a217_0x2d2f(){const _0x563b82=['apiDomain','Enterprise\x20','Invalid\x20cdn.','app-domain','skill-domain','password','skillHubDomain','trim','user-domain','search','\x20and\x20has\x20no\x20default.','localDomain','kbDomain','domains','enterprise-v1','Invalid\x20enterprise\x20routing\x20config:\x20expected\x20an\x20object.','userDomain','65590wagjEa','replace','Invalid\x20domain\x20config:\x20provide\x20at\x20least\x20one\x20supported\x20Domain.','1638036lIJbsa','1372765SYeOsC','Unsupported\x20domain\x20config\x20field(s):\x20','legacy','cdn','object','pathname','certificateDomain','\x22\x20and\x20kind\x20\x22','isArray','hash','370uaEzjV','rabetbase-cli','\x20consumer(s):\x20','appDomain','100772ohaoDl','join','default','kind','Unsupported\x20enterprise\x20routing\x20field(s):\x20',':\x20expected\x20an\x20HTTPS\x20origin\x20without\x20credentials,\x20path,\x20query,\x20or\x20fragment.','338196ZKjhkb','For\x20internal\x20deployments,\x20terminate\x20TLS\x20at\x20the\x20ingress,\x20reverse\x20proxy,\x20or\x20load\x20balancer;\x20an\x20internal\x20CA\x20is\x20supported.','Enterprise\x20routing\x20manifests\x20cannot\x20be\x20combined\x20with\x20individual\x20Domain\x20flags.','keys','56412QVJjSE','Invalid\x20','2186109UUADLU','certificate-domain',':\x20\x22','Allowed\x20consumers:\x20','str','runtime-domain','filter','protocol','agentDomain',':\x20expected\x20an\x20HTTPS\x20','\x22\x20is\x20not\x20a\x20valid\x20URL.','\x20without\x20credentials,\x20query,\x20or\x20fragment.','validation','api-domain','length','domain-config','username','Unsupported\x20routing\x20manifest:\x20expected\x20protocol\x20\x22',':\x20consumer\x20Domain\x20object\x20cannot\x20be\x20empty.','Enterprise\x20routing\x20manifest\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','includes','Update\x20the\x20manifest\x20so\x20both\x20CLIs\x20consume\x20the\x20same\x20routing\x20data.','lovrabet','origin','Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20CDN\x20field(s):\x20','base\x20URL','Unsupported\x20enterprise\x20Domain\x20field(s):\x20','944ATGJak','runtimeDomain','platformDomain',':\x20expected\x20an\x20HTTPS\x20origin\x20or\x20consumer\x20Domain\x20object.','utf8','https:','Allowed\x20fields:\x20','6687LWPJUL','skillDomain','Invalid\x20enterprise\x20routing\x20manifest:\x20cdn\x20must\x20be\x20an\x20object.','string',':\x20expected\x20a\x20non-empty\x20HTTPS\x20origin.'];a217_0x2d2f=function(){return _0x563b82;};return a217_0x2d2f();}export function readDomainConfigInput(_0x4a4021){const _0x25a008=a217_0x1a17b2,_0x1bdb18=isAbsolute(_0x4a4021)?_0x4a4021:resolve(process['cwd'](),_0x4a4021);if(!existsSync(_0x1bdb18))throw CliErrors['validation']('Domain\x20config\x20file\x20not\x20found:\x20'+_0x1bdb18);let _0x2f490b;try{_0x2f490b=JSON['parse'](readFileSync(_0x1bdb18,_0x25a008(0x1f8)));}catch{throw CliErrors[_0x25a008(0x1e5)]('Invalid\x20domain\x20config\x20JSON:\x20'+_0x1bdb18);}if(!_0x2f490b||typeof _0x2f490b!==_0x25a008(0x1c3)||Array['isArray'](_0x2f490b))throw CliErrors[_0x25a008(0x1e5)]('Invalid\x20domain\x20config:\x20expected\x20a\x20JSON\x20object.');const _0x37ddfa=_0x2f490b;if(_0x25a008(0x1e0)in _0x37ddfa)return parseEnterpriseRoutingManifest(_0x37ddfa);const _0x29952d=Object['keys'](_0x37ddfa)[_0x25a008(0x1df)](_0x1a431f=>!DOMAIN_CONFIG_FIELDS[_0x25a008(0x1ed)](_0x1a431f));if(_0x29952d[_0x25a008(0x1e7)]>0x0)throw CliErrors[_0x25a008(0x1e5)](_0x25a008(0x1c0)+_0x29952d['join'](',\x20'),_0x25a008(0x1fa)+DOMAIN_CONFIG_FIELDS[_0x25a008(0x1ce)](',\x20'));const _0x428eb8={};for(const _0x315e49 of DOMAIN_CONFIG_FIELDS){_0x37ddfa[_0x315e49]!==undefined&&(_0x428eb8[_0x315e49]=normalizeDomainOrigin(_0x315e49,_0x37ddfa[_0x315e49]));}if(Object['keys'](_0x428eb8)[_0x25a008(0x1e7)]===0x0)throw CliErrors['validation'](_0x25a008(0x1bd));return{'mode':_0x25a008(0x1c1),'domains':_0x428eb8};}export function readDomainConfig(_0x27a855){return readDomainConfigInput(_0x27a855)['domains'];}export function resolveDomainConfigInput(_0x1d0034){const _0x442237=a217_0x1a17b2,_0x14d5bd=(_0x1d0034[_0x442237(0x1dd)](_0x442237(0x1e8))||'')[_0x442237(0x1b1)](),_0x513239=_0x14d5bd?readDomainConfigInput(_0x14d5bd):{'mode':_0x442237(0x1c1),'domains':{}},_0x3ec4d8=DOMAIN_CONFIG_FIELDS[_0x442237(0x1df)](_0xeb6cfb=>Boolean((_0x1d0034[_0x442237(0x1dd)](DOMAIN_FLAGS[_0xeb6cfb])||'')[_0x442237(0x1b1)]()));if(_0x513239['mode']===_0x442237(0x1b8)&&_0x3ec4d8[_0x442237(0x1e7)]>0x0)throw CliErrors[_0x442237(0x1e5)](_0x442237(0x1d5),_0x442237(0x1ee));for(const _0x148655 of DOMAIN_CONFIG_FIELDS){const _0x2ff73d=(_0x1d0034['str'](DOMAIN_FLAGS[_0x148655])||'')['trim']();if(_0x2ff73d)_0x513239[_0x442237(0x1b7)][_0x148655]=normalizeDomainOrigin(_0x148655,_0x2ff73d);}return _0x513239;}export function resolveDomainFlags(_0xac7357){const _0x39d324=a217_0x1a17b2;return resolveDomainConfigInput(_0xac7357)[_0x39d324(0x1b7)];}export function parseEnterpriseRoutingManifest(_0x1c78b8){const _0x2158b0=a217_0x1a17b2,_0x30f198=Object[_0x2158b0(0x1d6)](_0x1c78b8)[_0x2158b0(0x1df)](_0x11e397=>!ENTERPRISE_ROUTING_TOP_LEVEL_FIELDS['includes'](_0x11e397));if(_0x30f198[_0x2158b0(0x1e7)]>0x0)throw CliErrors[_0x2158b0(0x1e5)](_0x2158b0(0x1d1)+_0x30f198[_0x2158b0(0x1ce)](',\x20'));if(_0x1c78b8[_0x2158b0(0x1e0)]!==ENTERPRISE_ROUTING_PROTOCOL||_0x1c78b8[_0x2158b0(0x1d0)]!==ENTERPRISE_ROUTING_KIND)throw CliErrors[_0x2158b0(0x1e5)](_0x2158b0(0x1ea)+ENTERPRISE_ROUTING_PROTOCOL+_0x2158b0(0x1c6)+ENTERPRISE_ROUTING_KIND+'\x22.');if(!_0x1c78b8[_0x2158b0(0x1b7)]||typeof _0x1c78b8[_0x2158b0(0x1b7)]!==_0x2158b0(0x1c3)||Array[_0x2158b0(0x1c7)](_0x1c78b8['domains']))throw CliErrors[_0x2158b0(0x1e5)]('Invalid\x20enterprise\x20routing\x20manifest:\x20domains\x20must\x20be\x20an\x20object.');if(!_0x1c78b8[_0x2158b0(0x1c2)]||typeof _0x1c78b8[_0x2158b0(0x1c2)]!=='object'||Array[_0x2158b0(0x1c7)](_0x1c78b8[_0x2158b0(0x1c2)]))throw CliErrors[_0x2158b0(0x1e5)](_0x2158b0(0x1fd));const _0x3ed0f9=_0x1c78b8['domains'],_0x406fad=Object['keys'](_0x3ed0f9)[_0x2158b0(0x1df)](_0x309191=>!ENTERPRISE_ROUTING_DOMAIN_FIELDS[_0x2158b0(0x1ed)](_0x309191));if(_0x406fad[_0x2158b0(0x1e7)]>0x0)throw CliErrors[_0x2158b0(0x1e5)](_0x2158b0(0x1f3)+_0x406fad[_0x2158b0(0x1ce)](',\x20'),_0x2158b0(0x1fa)+ENTERPRISE_ROUTING_DOMAIN_FIELDS[_0x2158b0(0x1ce)](',\x20'));const _0x373c35=REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS[_0x2158b0(0x1df)](_0x44c664=>_0x3ed0f9[_0x44c664]===undefined);if(_0x373c35[_0x2158b0(0x1e7)]>0x0)throw CliErrors[_0x2158b0(0x1e5)]('Enterprise\x20routing\x20manifest\x20is\x20missing\x20required\x20Domain(s):\x20'+_0x373c35['join'](',\x20'));if(_0x3ed0f9['localDomain']===undefined!==(_0x3ed0f9[_0x2158b0(0x1c5)]===undefined))throw CliErrors[_0x2158b0(0x1e5)](_0x2158b0(0x1ec));const _0x188b30=_0x1c78b8[_0x2158b0(0x1c2)],_0x10fc81=Object[_0x2158b0(0x1d6)](_0x188b30)[_0x2158b0(0x1df)](_0x5a2b2b=>!ENTERPRISE_ROUTING_CDN_FIELDS[_0x2158b0(0x1ed)](_0x5a2b2b));if(_0x10fc81[_0x2158b0(0x1e7)]>0x0)throw CliErrors['validation']('Unsupported\x20enterprise\x20CDN\x20field(s):\x20'+_0x10fc81[_0x2158b0(0x1ce)](',\x20'),_0x2158b0(0x1fa)+ENTERPRISE_ROUTING_CDN_FIELDS[_0x2158b0(0x1ce)](',\x20'));const _0x5c6000=REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS[_0x2158b0(0x1df)](_0x1e6969=>_0x188b30[_0x1e6969]===undefined);if(_0x5c6000[_0x2158b0(0x1e7)]>0x0)throw CliErrors[_0x2158b0(0x1e5)](_0x2158b0(0x1f1)+_0x5c6000[_0x2158b0(0x1ce)](',\x20'));const _0x1283aa={};for(const _0x183e2b of ENTERPRISE_ROUTING_CDN_FIELDS){_0x1283aa[_0x183e2b]=normalizeCdnBaseUrl(_0x183e2b,_0x188b30[_0x183e2b]);}const _0x2ed3b6={},_0x4d45fa={};for(const _0x46053c of ENTERPRISE_ROUTING_DOMAIN_FIELDS){const _0x73982e=_0x3ed0f9[_0x46053c];if(_0x73982e===undefined)continue;const _0x4d5539=normalizeRoutingDomainValue(_0x46053c,_0x73982e);_0x2ed3b6[_0x46053c]=_0x4d5539;const _0x3a5d05=ENTERPRISE_TO_LOCAL_FIELD[_0x46053c];_0x3a5d05&&(_0x4d45fa[_0x3a5d05]=resolveRoutingDomainValue(_0x46053c,_0x4d5539,ROUTING_CONSUMER));}return{'mode':_0x2158b0(0x1b8),'domains':_0x4d45fa,'manifestDomains':_0x2ed3b6,'cdn':_0x1283aa};}
@@ -1 +1 @@
1
- const a219_0x525a75=a219_0x181e;(function(_0xe39cd5,_0x27adc7){const _0x59c1d4=a219_0x181e,_0x1b52b8=_0xe39cd5();while(!![]){try{const _0x13855f=parseInt(_0x59c1d4(0xa0))/0x1*(parseInt(_0x59c1d4(0x94))/0x2)+-parseInt(_0x59c1d4(0x97))/0x3+parseInt(_0x59c1d4(0x9e))/0x4+parseInt(_0x59c1d4(0x8c))/0x5+-parseInt(_0x59c1d4(0x99))/0x6+-parseInt(_0x59c1d4(0x9f))/0x7+-parseInt(_0x59c1d4(0x98))/0x8*(-parseInt(_0x59c1d4(0x8d))/0x9);if(_0x13855f===_0x27adc7)break;else _0x1b52b8['push'](_0x1b52b8['shift']());}catch(_0x36c7db){_0x1b52b8['push'](_0x1b52b8['shift']());}}}(a219_0x49b9,0x8924e));import{renameSync,unlinkSync,writeFileSync}from'node:fs';import{join}from'node:path';import{getActiveRegion,getActiveCdn,getAppDomain,getCertificateDomain,getLocalDomain,getRuntimeDomain,getUserDomain,isIndependentDeployment}from'../constant/domain.js';import{getOfficialRoutingProfile}from'../constant/routing-profile.js';export const PROJECT_DOMAIN_ROUTING_FILE_NAME=a219_0x525a75(0x95);function a219_0x181e(_0x3f2b30,_0x33f201){_0x3f2b30=_0x3f2b30-0x8c;const _0x49b9f2=a219_0x49b9();let _0x181e2a=_0x49b9f2[_0x3f2b30];return _0x181e2a;}export const PROJECT_DOMAIN_ROUTING_PROTOCOL=a219_0x525a75(0x9a);function a219_0x49b9(){const _0x1a1e0e=['official','origin','/cert/lovrabet-dev.json','pid','Independent\x20deployment\x20routing\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','utf8','110hBltDk','rabetbase.domain-routing.json','independent','3365394DuCcfO','8041032vqkRbs','1434486dpHAnE','lovrabet-project-domain-routing/v1','local','http://localhost','.tmp','2577908CrRLwV','5576424QQIuqh','5050HeHNYm','3959485bOBPZp','9HbxVpq'];a219_0x49b9=function(){return _0x1a1e0e;};return a219_0x49b9();}export function getProjectDomainRoutingManifest(){const _0x539ca2=a219_0x525a75,_0xed99c2=getActiveRegion(),_0x8eb5e0=isIndependentDeployment(),_0x2ceb26=getOfficialRoutingProfile(_0xed99c2),_0x1fa67e=getLocalDomain(),_0x218b12=getCertificateDomain(),_0x3cf313=getActiveCdn();if(!!_0x1fa67e!==!!_0x218b12)throw new Error(_0x539ca2(0x92));return{'protocol':PROJECT_DOMAIN_ROUTING_PROTOCOL,'mode':_0x8eb5e0?_0x539ca2(0x96):_0x539ca2(0x8e),'region':_0x8eb5e0?null:_0xed99c2,'domains':{'user':getUserDomain(),'app':getAppDomain(),'runtime':getRuntimeDomain()},'cdn':_0x3cf313,'local':_0x1fa67e&&_0x218b12?{'origin':_0x1fa67e,'certificateUrl':_0x218b12+'/cert/lovrabet-dev.json'}:_0x8eb5e0?{'origin':_0x539ca2(0x9c)}:{'origin':_0x2ceb26[_0x539ca2(0x9b)][_0x539ca2(0x8f)],'certificateUrl':_0x3cf313['lovrabet']+_0x539ca2(0x90)}};}export function writeProjectDomainRoutingManifest(_0x24480e){const _0x6c2100=a219_0x525a75,_0xe9fa8a=getProjectDomainRoutingManifest(),_0x11dc71=join(_0x24480e,PROJECT_DOMAIN_ROUTING_FILE_NAME),_0x3b9aa8=_0x11dc71+'.'+process[_0x6c2100(0x91)]+'.'+Date['now']()+_0x6c2100(0x9d);try{writeFileSync(_0x3b9aa8,JSON['stringify'](_0xe9fa8a,null,0x2)+'\x0a',{'encoding':_0x6c2100(0x93),'mode':0x1a4}),renameSync(_0x3b9aa8,_0x11dc71);}catch(_0x355729){try{unlinkSync(_0x3b9aa8);}catch{}throw _0x355729;}return{'path':_0x11dc71,'manifest':_0xe9fa8a};}
1
+ function a218_0x4920(_0x13843e,_0x52c04d){_0x13843e=_0x13843e-0x84;const _0x580884=a218_0x5808();let _0x492065=_0x580884[_0x13843e];return _0x492065;}const a218_0x582def=a218_0x4920;(function(_0x1a31a0,_0x20d386){const _0xb7a8fe=a218_0x4920,_0x5fddc4=_0x1a31a0();while(!![]){try{const _0x5c53db=parseInt(_0xb7a8fe(0x87))/0x1*(parseInt(_0xb7a8fe(0x94))/0x2)+-parseInt(_0xb7a8fe(0x95))/0x3*(parseInt(_0xb7a8fe(0x97))/0x4)+parseInt(_0xb7a8fe(0x98))/0x5+-parseInt(_0xb7a8fe(0x88))/0x6*(parseInt(_0xb7a8fe(0x8a))/0x7)+-parseInt(_0xb7a8fe(0x90))/0x8*(parseInt(_0xb7a8fe(0x8b))/0x9)+-parseInt(_0xb7a8fe(0x86))/0xa+parseInt(_0xb7a8fe(0x96))/0xb;if(_0x5c53db===_0x20d386)break;else _0x5fddc4['push'](_0x5fddc4['shift']());}catch(_0x116885){_0x5fddc4['push'](_0x5fddc4['shift']());}}}(a218_0x5808,0x80c1a));import{renameSync,unlinkSync,writeFileSync}from'node:fs';import{join}from'node:path';function a218_0x5808(){const _0x1d522c=['Independent\x20deployment\x20routing\x20requires\x20localDomain\x20and\x20certificateDomain\x20together.','1090OTrXcP','111BIgQDT','16150871llSPVC','38524znwMYC','2854165jRdVOA','origin','utf8','stringify','5232250bTVMNk','1785YRKMzT','3468378nXMMnT','.tmp','7UGVAHs','249786ISiAUG','local','rabetbase.domain-routing.json','lovrabet-project-domain-routing/v1','/cert/lovrabet-dev.json','296sducId','official','now'];a218_0x5808=function(){return _0x1d522c;};return a218_0x5808();}import{getActiveRegion,getActiveCdn,getAppDomain,getCertificateDomain,getLocalDomain,getRuntimeDomain,getUserDomain,isIndependentDeployment}from'../constant/domain.js';import{getOfficialRoutingProfile}from'../constant/routing-profile.js';export const PROJECT_DOMAIN_ROUTING_FILE_NAME=a218_0x582def(0x8d);export const PROJECT_DOMAIN_ROUTING_PROTOCOL=a218_0x582def(0x8e);export function getProjectDomainRoutingManifest(){const _0x518a68=a218_0x582def,_0x27bfd6=getActiveRegion(),_0x515a70=isIndependentDeployment(),_0x28f270=getOfficialRoutingProfile(_0x27bfd6),_0x412a04=getLocalDomain(),_0x5e28f2=getCertificateDomain(),_0x26cc16=getActiveCdn();if(!!_0x412a04!==!!_0x5e28f2)throw new Error(_0x518a68(0x93));return{'protocol':PROJECT_DOMAIN_ROUTING_PROTOCOL,'mode':_0x515a70?'independent':_0x518a68(0x91),'region':_0x515a70?null:_0x27bfd6,'domains':{'user':getUserDomain(),'app':getAppDomain(),'runtime':getRuntimeDomain()},'cdn':_0x26cc16,'local':_0x412a04&&_0x5e28f2?{'origin':_0x412a04,'certificateUrl':_0x5e28f2+_0x518a68(0x8f)}:_0x515a70?{'origin':'http://localhost'}:{'origin':_0x28f270[_0x518a68(0x8c)][_0x518a68(0x99)],'certificateUrl':_0x26cc16['lovrabet']+'/cert/lovrabet-dev.json'}};}export function writeProjectDomainRoutingManifest(_0x3a149f){const _0xfff0a0=a218_0x582def,_0x4d5195=getProjectDomainRoutingManifest(),_0x3da1d4=join(_0x3a149f,PROJECT_DOMAIN_ROUTING_FILE_NAME),_0x88ce1f=_0x3da1d4+'.'+process['pid']+'.'+Date[_0xfff0a0(0x92)]()+_0xfff0a0(0x89);try{writeFileSync(_0x88ce1f,JSON[_0xfff0a0(0x85)](_0x4d5195,null,0x2)+'\x0a',{'encoding':_0xfff0a0(0x84),'mode':0x1a4}),renameSync(_0x88ce1f,_0x3da1d4);}catch(_0x141264){try{unlinkSync(_0x88ce1f);}catch{}throw _0x141264;}return{'path':_0x3da1d4,'manifest':_0x4d5195};}
@@ -1 +1 @@
1
- function a220_0x2e65(){const _0x4913f7=['runtimeDomain','format','object','inherit','userDomain','apiDir','keys','apps','1971230TwNQWO','riskLevel','deploymentSync','zh-CN','Config\x20key\x20(','pageSize','889200veKGNT','app','167926belSzO','entries','699223QZhVEw','routing','map','length','Auth\x20cookie','Target\x20environment','defaultFormat','region','appDomain','appcode','string','trim','toLowerCase','kbDomain','Access\x20key','API\x20directory\x20path','skillDomain','locale','2682792rcCCnx','cookie','apiDomain','accessKey','2638980ofaPKC','en-US','env','localDomain','certificateDomain','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','622740swsfpI','Default\x20page\x20size','defaultApp'];a220_0x2e65=function(){return _0x4913f7;};return a220_0x2e65();}const a220_0x2e1394=a220_0x5ecc;(function(_0x386ca0,_0x2ebf64){const _0x48a455=a220_0x5ecc,_0x46280d=_0x386ca0();while(!![]){try{const _0x4e8aa4=parseInt(_0x48a455(0x125))/0x1+-parseInt(_0x48a455(0x138))/0x2+parseInt(_0x48a455(0x11b))/0x3+-parseInt(_0x48a455(0x136))/0x4+-parseInt(_0x48a455(0x130))/0x5+-parseInt(_0x48a455(0x11f))/0x6+parseInt(_0x48a455(0x13a))/0x7;if(_0x4e8aa4===_0x2ebf64)break;else _0x46280d['push'](_0x46280d['shift']());}catch(_0x594582){_0x46280d['push'](_0x46280d['shift']());}}}(a220_0x2e65,0x7458a));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RABETBASE_ENV_VALUES}from'../constant/env.js';import{RABETBASE_OUTPUT_FORMAT_VALUES}from'../constant/output.js';import{RISK_LEVEL_VALUES}from'../constant/risk.js';import{ENABLED_LOVRABET_REGION_VALUES}from'../constant/region.js';import{collectDeploymentSyncProfile,getDeploymentSyncProfileFlagDefs}from'../config/deployment-sync.js';export{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';export const PROJECT_CREATE_INHERITABLE_KEYS=[a220_0x2e1394(0x11c),'accessKey','locale',a220_0x2e1394(0x129),'riskLevel','region',a220_0x2e1394(0x13b),a220_0x2e1394(0x12c),a220_0x2e1394(0x11d),a220_0x2e1394(0x128),a220_0x2e1394(0x119),a220_0x2e1394(0x116),a220_0x2e1394(0x142),a220_0x2e1394(0x122),a220_0x2e1394(0x123)];export const TOP_LEVEL_CONFIG_KEYS=new Set([a220_0x2e1394(0x143),a220_0x2e1394(0x121),a220_0x2e1394(0x11a),a220_0x2e1394(0x129),a220_0x2e1394(0x11c),'accessKey',a220_0x2e1394(0x12d),a220_0x2e1394(0x141),a220_0x2e1394(0x12c),a220_0x2e1394(0x11d),a220_0x2e1394(0x128),a220_0x2e1394(0x119),'kbDomain',a220_0x2e1394(0x142),a220_0x2e1394(0x122),a220_0x2e1394(0x123)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x16fd1f){return[..._0x16fd1f]['join'](',\x20');}function a220_0x5ecc(_0x48c354,_0x1b9d1b){_0x48c354=_0x48c354-0x116;const _0x2e6532=a220_0x2e65();let _0x5ecc9d=_0x2e6532[_0x48c354];return _0x5ecc9d;}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x1f561a){return TOP_LEVEL_CONFIG_KEYS['has'](_0x1f561a);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x5a7a1e=a220_0x2e1394;return _0x5a7a1e(0x134)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'env':'env','apiDir':a220_0x2e1394(0x12d),'cookie':a220_0x2e1394(0x11c),'accessKey':'accessKey','defaultFormat':a220_0x2e1394(0x129),'pageSize':a220_0x2e1394(0x135),'riskLevel':'riskLevel','locale':a220_0x2e1394(0x11a)};export function getAppProfileFlagDefs(){const _0x5694ee=a220_0x2e1394;return[{'name':_0x5694ee(0x121),'type':_0x5694ee(0x144),'description':_0x5694ee(0x13f),'enum':[...RABETBASE_ENV_VALUES]},{'name':_0x5694ee(0x12d),'type':_0x5694ee(0x144),'description':_0x5694ee(0x118)},{'name':'cookie','type':_0x5694ee(0x144),'description':_0x5694ee(0x13e),'hidden':!![]},{'name':'accessKey','type':_0x5694ee(0x144),'description':_0x5694ee(0x117),'hidden':!![]},{'name':_0x5694ee(0x140),'type':_0x5694ee(0x144),'description':'Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':'pageSize','type':'number','description':_0x5694ee(0x126)},{'name':_0x5694ee(0x131),'type':_0x5694ee(0x144),'description':'Risk\x20level','enum':[...RISK_LEVEL_VALUES]},{'name':_0x5694ee(0x11a),'type':_0x5694ee(0x144),'description':_0x5694ee(0x124)},...getDeploymentSyncProfileFlagDefs()];}export function collectAppProfileOverrides(_0x2f998a){const _0x4d4740=a220_0x2e1394,_0x3a6742={};for(const [_0x3712e9,_0x4da004]of Object[_0x4d4740(0x139)](APP_PROFILE_FLAG_KEY_MAP)){const _0x452abe=_0x2f998a(_0x3712e9);if(!_0x452abe)continue;_0x3a6742[_0x4da004]=_0x4da004===_0x4d4740(0x135)?Number(_0x452abe):_0x452abe;}const _0x39b84e=collectDeploymentSyncProfile(_0x2f998a);if(_0x39b84e)_0x3a6742[_0x4d4740(0x132)]=_0x39b84e;return _0x3a6742;}export function buildAppProfileListFields(_0x563203){const _0x503695=a220_0x2e1394;return{'env':_0x563203[_0x503695(0x121)]??null,'apiDir':_0x563203[_0x503695(0x12d)]??null,'hasCookie':!!_0x563203[_0x503695(0x11c)],'hasAccessKey':!!_0x563203[_0x503695(0x11e)],'format':_0x563203[_0x503695(0x129)]??null,'pageSize':_0x563203[_0x503695(0x135)]??null,'riskLevel':_0x563203[_0x503695(0x131)]??null,'locale':_0x563203[_0x503695(0x11a)]??null,'deploymentSync':_0x563203[_0x503695(0x132)]??null};}export function buildAppDoctorFields(_0x296a6c,_0x525ec5){const _0x4d906e=a220_0x2e1394;return{'env':{'value':_0x296a6c[_0x4d906e(0x121)]||_0x525ec5['env'],'source':_0x296a6c[_0x4d906e(0x121)]?_0x4d906e(0x137):_0x4d906e(0x12b)},'apiDir':{'value':_0x296a6c['apiDir']||_0x525ec5['apiDir'],'source':_0x296a6c[_0x4d906e(0x12d)]?_0x4d906e(0x137):_0x4d906e(0x12b)},'cookie':{'value':_0x296a6c[_0x4d906e(0x11c)]||_0x525ec5['cookie'],'source':_0x296a6c['cookie']?_0x4d906e(0x137):_0x4d906e(0x12b)},'accessKey':{'value':_0x296a6c[_0x4d906e(0x11e)]||_0x525ec5['accessKey'],'source':_0x296a6c[_0x4d906e(0x11e)]?'app':_0x4d906e(0x12b)}};}export function buildCanonicalAppConfig(_0x40a9f9,_0x3640ef){const _0x3bee27=a220_0x2e1394,_0x38f3e4=_0x40a9f9[_0x3bee27(0x13c)](_0x5c2b40=>String(_0x5c2b40||'')[_0x3bee27(0x145)]())['filter'](Boolean);if(_0x38f3e4[_0x3bee27(0x13d)]===0x0)return{};const _0x417606={};for(const _0x546e75 of _0x38f3e4){_0x417606[_0x546e75]=_0x3640ef?{'appcode':_0x546e75,'env':_0x3640ef}:{'appcode':_0x546e75};}return _0x38f3e4[_0x3bee27(0x13d)]>0x1?{'apps':_0x417606,'defaultApp':_0x38f3e4[0x0]}:{'apps':_0x417606};}export function normalizeStoredDefaultApp(_0x480051,_0x1a181f){const _0x2f3570=a220_0x2e1394,_0x909af9=_0x480051[_0x2f3570(0x12f)]&&typeof _0x480051[_0x2f3570(0x12f)]===_0x2f3570(0x12a)?_0x480051['apps']:{},_0x51c3b3=Object[_0x2f3570(0x12e)](_0x909af9);if(_0x51c3b3[_0x2f3570(0x13d)]<=0x1)return delete _0x480051[_0x2f3570(0x127)],undefined;const _0x504296=typeof _0x480051['defaultApp']===_0x2f3570(0x144)&&_0x909af9[_0x480051[_0x2f3570(0x127)]]?_0x480051[_0x2f3570(0x127)]:undefined,_0x242727=_0x1a181f&&_0x909af9[_0x1a181f]?_0x1a181f:_0x504296;if(_0x242727)return _0x480051[_0x2f3570(0x127)]=_0x242727,_0x242727;return delete _0x480051['defaultApp'],undefined;}export function buildCanonicalProjectConfig(_0x278b61,_0x425e1c){const _0x4d373f=a220_0x2e1394,{appCodes:appCodes=[],env:_0x2cf7ec,metadata:_0x33be8b}=_0x425e1c,_0x7c00f2={..._0x278b61,..._0x33be8b||{}};delete _0x7c00f2['appcode'],delete _0x7c00f2[_0x4d373f(0x137)];if(_0x2cf7ec)_0x7c00f2[_0x4d373f(0x121)]=_0x2cf7ec;else!_0x7c00f2[_0x4d373f(0x121)]&&(_0x7c00f2[_0x4d373f(0x121)]=DEFAULT_CONFIG_VALUES[_0x4d373f(0x121)]);const _0x33fe90=buildCanonicalAppConfig(appCodes,_0x7c00f2['env']);if(Object[_0x4d373f(0x12e)](_0x33fe90)[_0x4d373f(0x13d)]>0x0){_0x7c00f2[_0x4d373f(0x12f)]=_0x33fe90[_0x4d373f(0x12f)];if(_0x33fe90[_0x4d373f(0x127)])_0x7c00f2['defaultApp']=_0x33fe90['defaultApp'];else delete _0x7c00f2[_0x4d373f(0x127)];}return _0x7c00f2;}const LOCALE_MAP={'zh':a220_0x2e1394(0x133),'zh-cn':a220_0x2e1394(0x133),'zh_cn':a220_0x2e1394(0x133),'en':a220_0x2e1394(0x120),'en-us':'en-US','en_us':'en-US'};export function normalizeLocale(_0x1f81e7){const _0x2e18a2=a220_0x2e1394;if(!_0x1f81e7)return null;return LOCALE_MAP[_0x1f81e7[_0x2e18a2(0x146)]()]??null;}
1
+ const a219_0x327ff3=a219_0x5ba3;(function(_0x6f148e,_0x5cdeb5){const _0x552236=a219_0x5ba3,_0x46fa62=_0x6f148e();while(!![]){try{const _0x4ad61c=parseInt(_0x552236(0xfa))/0x1*(parseInt(_0x552236(0xfd))/0x2)+parseInt(_0x552236(0x120))/0x3*(-parseInt(_0x552236(0x108))/0x4)+parseInt(_0x552236(0x10d))/0x5*(-parseInt(_0x552236(0x10f))/0x6)+-parseInt(_0x552236(0x121))/0x7+parseInt(_0x552236(0x107))/0x8*(parseInt(_0x552236(0x124))/0x9)+parseInt(_0x552236(0x110))/0xa+parseInt(_0x552236(0x115))/0xb;if(_0x4ad61c===_0x5cdeb5)break;else _0x46fa62['push'](_0x46fa62['shift']());}catch(_0x182dc8){_0x46fa62['push'](_0x46fa62['shift']());}}}(a219_0x19e0,0x9db5e));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RABETBASE_ENV_VALUES}from'../constant/env.js';function a219_0x19e0(){const _0x3aa07a=['6900180lSVwFK','join','app','1177308IfSMIj','number','cookie','accessKey','en-US','locale','API\x20directory\x20path','pageSize','runtimeDomain','inherit','format','env','245744FrLCHn','riskLevel','userDomain','8DrmIQM','has','appDomain','defaultApp','apps','map','certificateDomain','length','keys','localDomain','32VemUFr','97564wYMyRw','App\x20locale\x20(not\x20CLI\x20language;\x20reserved\x20for\x20later\x20app\x20use)','appcode','region','Target\x20environment','5406430mfuYcJ','kbDomain','6VCWzkf','3607000smahKy','entries','zh-CN','object','Access\x20key','21648770uOSMXy','apiDir','Config\x20key\x20(','Auth\x20cookie','Default\x20page\x20size','defaultFormat','apiDomain','string','trim','filter','skillDomain','138BIREIq'];a219_0x19e0=function(){return _0x3aa07a;};return a219_0x19e0();}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=[a219_0x327ff3(0x126),a219_0x327ff3(0x127),'locale',a219_0x327ff3(0x12e),'riskLevel',a219_0x327ff3(0x10b),'routing',a219_0x327ff3(0xfc),a219_0x327ff3(0x11b),a219_0x327ff3(0x12c),a219_0x327ff3(0x11f),a219_0x327ff3(0x10e),a219_0x327ff3(0xff),a219_0x327ff3(0x106),a219_0x327ff3(0x103)];export const TOP_LEVEL_CONFIG_KEYS=new Set([a219_0x327ff3(0x10a),a219_0x327ff3(0x12f),a219_0x327ff3(0x129),a219_0x327ff3(0x12e),a219_0x327ff3(0x126),'accessKey',a219_0x327ff3(0x116),a219_0x327ff3(0x10b),a219_0x327ff3(0xfc),a219_0x327ff3(0x11b),a219_0x327ff3(0x12c),a219_0x327ff3(0x11f),a219_0x327ff3(0x10e),a219_0x327ff3(0xff),a219_0x327ff3(0x106),a219_0x327ff3(0x103)]);export const CONFIG_ENUM_VALUES={'env':[...RABETBASE_ENV_VALUES],'format':[...RABETBASE_OUTPUT_FORMAT_VALUES],'region':[...ENABLED_LOVRABET_REGION_VALUES]};export function formatConfigKeyList(_0x25d343){const _0x4541e8=a219_0x327ff3;return[..._0x25d343][_0x4541e8(0x122)](',\x20');}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function isTopLevelConfigKey(_0x385938){const _0x11a63f=a219_0x327ff3;return TOP_LEVEL_CONFIG_KEYS[_0x11a63f(0xfe)](_0x385938);}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x1cfab7=a219_0x327ff3;return _0x1cfab7(0x117)+getTopLevelConfigKeySummary()+')';}export const APP_PROFILE_FLAG_KEY_MAP={'env':a219_0x327ff3(0x12f),'apiDir':a219_0x327ff3(0x116),'cookie':a219_0x327ff3(0x126),'accessKey':a219_0x327ff3(0x127),'defaultFormat':a219_0x327ff3(0x12e),'pageSize':'pageSize','riskLevel':a219_0x327ff3(0xfb),'locale':a219_0x327ff3(0x129)};export function getAppProfileFlagDefs(){const _0x76fe06=a219_0x327ff3;return[{'name':'env','type':_0x76fe06(0x11c),'description':_0x76fe06(0x10c),'enum':[...RABETBASE_ENV_VALUES]},{'name':_0x76fe06(0x116),'type':_0x76fe06(0x11c),'description':_0x76fe06(0x12a)},{'name':'cookie','type':_0x76fe06(0x11c),'description':_0x76fe06(0x118),'hidden':!![]},{'name':_0x76fe06(0x127),'type':'string','description':_0x76fe06(0x114),'hidden':!![]},{'name':_0x76fe06(0x11a),'type':_0x76fe06(0x11c),'description':'Default\x20output\x20format\x20for\x20this\x20app\x20(profile)','enum':[...RABETBASE_OUTPUT_FORMAT_VALUES]},{'name':_0x76fe06(0x12b),'type':_0x76fe06(0x125),'description':_0x76fe06(0x119)},{'name':'riskLevel','type':_0x76fe06(0x11c),'description':'Risk\x20level','enum':[...RISK_LEVEL_VALUES]},{'name':_0x76fe06(0x129),'type':_0x76fe06(0x11c),'description':_0x76fe06(0x109)}];}export function collectAppProfileOverrides(_0x46fb06){const _0x4e6e68=a219_0x327ff3,_0x361d7a={};for(const [_0x3e07a8,_0x2964b1]of Object[_0x4e6e68(0x111)](APP_PROFILE_FLAG_KEY_MAP)){const _0x1d2365=_0x46fb06(_0x3e07a8);if(!_0x1d2365)continue;_0x361d7a[_0x2964b1]=_0x2964b1===_0x4e6e68(0x12b)?Number(_0x1d2365):_0x1d2365;}return _0x361d7a;}export function buildAppProfileListFields(_0x1f5c88){const _0x1c49a7=a219_0x327ff3;return{'env':_0x1f5c88['env']??null,'apiDir':_0x1f5c88[_0x1c49a7(0x116)]??null,'hasCookie':!!_0x1f5c88[_0x1c49a7(0x126)],'hasAccessKey':!!_0x1f5c88[_0x1c49a7(0x127)],'format':_0x1f5c88[_0x1c49a7(0x12e)]??null,'pageSize':_0x1f5c88[_0x1c49a7(0x12b)]??null,'riskLevel':_0x1f5c88[_0x1c49a7(0xfb)]??null,'locale':_0x1f5c88[_0x1c49a7(0x129)]??null};}export function buildAppDoctorFields(_0x46521a,_0x55c8dc){const _0x5d8071=a219_0x327ff3;return{'env':{'value':_0x46521a[_0x5d8071(0x12f)]||_0x55c8dc[_0x5d8071(0x12f)],'source':_0x46521a['env']?_0x5d8071(0x123):'inherit'},'apiDir':{'value':_0x46521a['apiDir']||_0x55c8dc[_0x5d8071(0x116)],'source':_0x46521a[_0x5d8071(0x116)]?_0x5d8071(0x123):_0x5d8071(0x12d)},'cookie':{'value':_0x46521a[_0x5d8071(0x126)]||_0x55c8dc[_0x5d8071(0x126)],'source':_0x46521a['cookie']?_0x5d8071(0x123):_0x5d8071(0x12d)},'accessKey':{'value':_0x46521a['accessKey']||_0x55c8dc[_0x5d8071(0x127)],'source':_0x46521a[_0x5d8071(0x127)]?_0x5d8071(0x123):_0x5d8071(0x12d)}};}export function buildCanonicalAppConfig(_0x7c984e,_0x333afa){const _0x2edaa1=a219_0x327ff3,_0x5304ff=_0x7c984e[_0x2edaa1(0x102)](_0x4e944e=>String(_0x4e944e||'')[_0x2edaa1(0x11d)]())[_0x2edaa1(0x11e)](Boolean);if(_0x5304ff[_0x2edaa1(0x104)]===0x0)return{};const _0x1eb12f={};for(const _0x1a6fa2 of _0x5304ff){_0x1eb12f[_0x1a6fa2]=_0x333afa?{'appcode':_0x1a6fa2,'env':_0x333afa}:{'appcode':_0x1a6fa2};}return _0x5304ff['length']>0x1?{'apps':_0x1eb12f,'defaultApp':_0x5304ff[0x0]}:{'apps':_0x1eb12f};}export function normalizeStoredDefaultApp(_0x4ec78f,_0x5a28c5){const _0x34592b=a219_0x327ff3,_0x3698e2=_0x4ec78f[_0x34592b(0x101)]&&typeof _0x4ec78f[_0x34592b(0x101)]===_0x34592b(0x113)?_0x4ec78f[_0x34592b(0x101)]:{},_0x4ef008=Object['keys'](_0x3698e2);if(_0x4ef008[_0x34592b(0x104)]<=0x1)return delete _0x4ec78f[_0x34592b(0x100)],undefined;const _0x4120aa=typeof _0x4ec78f[_0x34592b(0x100)]===_0x34592b(0x11c)&&_0x3698e2[_0x4ec78f[_0x34592b(0x100)]]?_0x4ec78f['defaultApp']:undefined,_0xd4fb3f=_0x5a28c5&&_0x3698e2[_0x5a28c5]?_0x5a28c5:_0x4120aa;if(_0xd4fb3f)return _0x4ec78f[_0x34592b(0x100)]=_0xd4fb3f,_0xd4fb3f;return delete _0x4ec78f['defaultApp'],undefined;}function a219_0x5ba3(_0x37eb6e,_0xce6f5e){_0x37eb6e=_0x37eb6e-0xfa;const _0x19e098=a219_0x19e0();let _0x5ba335=_0x19e098[_0x37eb6e];return _0x5ba335;}export function buildCanonicalProjectConfig(_0x15af9a,_0x4ff20a){const _0x52f3b9=a219_0x327ff3,{appCodes:appCodes=[],env:_0x53a162,metadata:_0x4c36c1}=_0x4ff20a,_0x29ddb0={..._0x15af9a,..._0x4c36c1||{}};delete _0x29ddb0['appcode'],delete _0x29ddb0[_0x52f3b9(0x123)];if(_0x53a162)_0x29ddb0[_0x52f3b9(0x12f)]=_0x53a162;else!_0x29ddb0[_0x52f3b9(0x12f)]&&(_0x29ddb0[_0x52f3b9(0x12f)]=DEFAULT_CONFIG_VALUES[_0x52f3b9(0x12f)]);const _0x3e05e5=buildCanonicalAppConfig(appCodes,_0x29ddb0[_0x52f3b9(0x12f)]);if(Object[_0x52f3b9(0x105)](_0x3e05e5)[_0x52f3b9(0x104)]>0x0){_0x29ddb0['apps']=_0x3e05e5['apps'];if(_0x3e05e5[_0x52f3b9(0x100)])_0x29ddb0[_0x52f3b9(0x100)]=_0x3e05e5['defaultApp'];else delete _0x29ddb0['defaultApp'];}return _0x29ddb0;}const LOCALE_MAP={'zh':a219_0x327ff3(0x112),'zh-cn':'zh-CN','zh_cn':a219_0x327ff3(0x112),'en':a219_0x327ff3(0x128),'en-us':a219_0x327ff3(0x128),'en_us':'en-US'};export function normalizeLocale(_0x14e5dc){if(!_0x14e5dc)return null;return LOCALE_MAP[_0x14e5dc['toLowerCase']()]??null;}
@@ -1 +1 @@
1
- const a221_0xb07bc5=a221_0x27c0;(function(_0x1842db,_0x49cd2d){const _0x41725e=a221_0x27c0,_0x3acdf1=_0x1842db();while(!![]){try{const _0x446edd=-parseInt(_0x41725e(0x1d0))/0x1*(parseInt(_0x41725e(0x1cd))/0x2)+-parseInt(_0x41725e(0x1cf))/0x3*(-parseInt(_0x41725e(0x1d4))/0x4)+-parseInt(_0x41725e(0x1d5))/0x5+-parseInt(_0x41725e(0x1cc))/0x6+-parseInt(_0x41725e(0x1ca))/0x7*(-parseInt(_0x41725e(0x1d6))/0x8)+parseInt(_0x41725e(0x1d7))/0x9*(-parseInt(_0x41725e(0x1d1))/0xa)+parseInt(_0x41725e(0x1d2))/0xb*(parseInt(_0x41725e(0x1cb))/0xc);if(_0x446edd===_0x49cd2d)break;else _0x3acdf1['push'](_0x3acdf1['shift']());}catch(_0x5ebdd1){_0x3acdf1['push'](_0x3acdf1['shift']());}}}(a221_0x721d,0x3fcf3));export const RABETBASE_CDN_BASE_URL=a221_0xb07bc5(0x1d3);export const CLI_VERSION_POLICY_URL=RABETBASE_CDN_BASE_URL+a221_0xb07bc5(0x1ce);function a221_0x27c0(_0x162aaf,_0x130371){_0x162aaf=_0x162aaf-0x1ca;const _0x721d78=a221_0x721d();let _0x27c0eb=_0x721d78[_0x162aaf];return _0x27c0eb;}function a221_0x721d(){const _0x4213bd=['432672KKKdMy','38zGduWs','/config/index.json','26145nELfdB','14947SuxkXR','3173790WXdALR','79013bWmoGV','https://g.lovrabet.com/dist/rabetbase-cli','16izVnlb','1336750LhlVSt','16ZJkBTk','9JwnjlM','792274TdXrvm','1572Yeizmt'];a221_0x721d=function(){return _0x4213bd;};return a221_0x721d();}export const PROJECT_TEMPLATE_ASSET_BASE_URL=RABETBASE_CDN_BASE_URL+'/templates/projects';
1
+ const a220_0x38d2f6=a220_0x483b;function a220_0x483b(_0x32fd0b,_0x23ab65){_0x32fd0b=_0x32fd0b-0xaf;const _0x802c3c=a220_0x802c();let _0x483bc0=_0x802c3c[_0x32fd0b];return _0x483bc0;}function a220_0x802c(){const _0xf01113=['2396430Bnwjyi','24141770gSJwsb','6901990OiafJI','7780990XKcmjQ','18531GWnHKX','1944465IBxdjy','4ibbReN','/templates/projects','249759nGxABU','150rVHdvb','88XLztAm'];a220_0x802c=function(){return _0xf01113;};return a220_0x802c();}(function(_0x54d21f,_0x17e5cb){const _0x172a47=a220_0x483b,_0x282bf2=_0x54d21f();while(!![]){try{const _0x57d6c5=-parseInt(_0x172a47(0xb7))/0x1*(-parseInt(_0x172a47(0xb1))/0x2)+-parseInt(_0x172a47(0xb8))/0x3*(parseInt(_0x172a47(0xb9))/0x4)+-parseInt(_0x172a47(0xb5))/0x5+parseInt(_0x172a47(0xb3))/0x6+-parseInt(_0x172a47(0xb6))/0x7+-parseInt(_0x172a47(0xb2))/0x8*(parseInt(_0x172a47(0xb0))/0x9)+parseInt(_0x172a47(0xb4))/0xa;if(_0x57d6c5===_0x17e5cb)break;else _0x282bf2['push'](_0x282bf2['shift']());}catch(_0x4e7651){_0x282bf2['push'](_0x282bf2['shift']());}}}(a220_0x802c,0xb9107));export const RABETBASE_CDN_BASE_URL='https://g.lovrabet.com/dist/rabetbase-cli';export const CLI_VERSION_POLICY_URL=RABETBASE_CDN_BASE_URL+'/config/index.json';export const PROJECT_TEMPLATE_ASSET_BASE_URL=RABETBASE_CDN_BASE_URL+a220_0x38d2f6(0xaf);
@@ -1 +1 @@
1
- const a222_0x2d8722=a222_0x453c;function a222_0x393a(){const _0x160991=['pagesize','2ZriMhT','boolean','Menu\x20sort\x20value','Config\x20value','sort','767524gRYaPa','470LnZCTj','sql','DB\x20ID','codes','sqlcode','Use\x20the\x20base\x20database\x20connection','type','<expr>','operation-type','datasetcode','Page\x20number','Rabetbase\x20CLI','Function\x20node','Config\x20key','parent-id','Title','Schemas','Operation\x20type','code','project','format','json\x20|\x20pretty\x20|\x20compress','production\x20|\x20daily','force','remote','Tags','nonInteractive','Apply\x20to\x20all','Expected\x20current\x20menu\x20path','all','page','expectParentId','query','topk','Parent\x20menu\x20id','Reveal\x20sensitive\x20value','global','name','tags','watch','descriptionFile','SQL\x20string','Target\x20connection\x20environment','non-interactive','SQL\x20name','sql-name','dbid','Comma-separated\x20metadata\x20codes','10668UUxsUG','title','label','File\x20path','map','182736pEYenh','string','functionNode','Use\x20remote','key','targetEnv','<code>','Select\x20app\x20profile\x20by\x20name','Description\x20file','db-id','target','Watch\x20mode','direct','appcode','menu-ids','value','Show\x20help','Search\x20query','skip-imports','Read\x20value\x20from\x20stdin','help','enableBffSave','function-node','JSON\x20params','operation','output','40390350QfnCFt','expected-children-count','Name','dryRun','file','Type\x20filter','description-file','SQL\x20code','env','expectedChildrenCount','Keyword\x20filter','keyword','schemas','2053842HPcdxf','stdin','Expected\x20current\x20parent\x20menu\x20id','fromEnv','Description','operationType','Read\x20value\x20from\x20environment\x20variable','Enable\x20Backend\x20Function\x20save','parentId','yes','Code\x20filter','Dataset\x20code','expectPath','@lovrabet/rabetbase-cli','dry-run','verbose','reveal','5hAKoKV','target-env','task-id','Use\x20project\x20config\x20scope','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','clear','Expected\x20affected\x20count','taskId','344838bqcokq','app','16OSNadg','Confirm\x20destructive\x20action','Force\x20non-interactive\x20mode\x20(CI)','sqlName','expect-path','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','params','Comma-separated\x20menu\x20IDs','Page\x20size','confirm','from-env','menuIds','sqlname','meowKey','1776453xtZNwZ','locale','Output\x20path','fromEntries','zh-CN\x20|\x20en-US','description'];a222_0x393a=function(){return _0x160991;};return a222_0x393a();}(function(_0x323740,_0x2362a1){const _0x3c551c=a222_0x453c,_0x2626fe=_0x323740();while(!![]){try{const _0x4ee162=-parseInt(_0x3c551c(0x15e))/0x1*(parseInt(_0x3c551c(0x159))/0x2)+-parseInt(_0x3c551c(0x129))/0x3+-parseInt(_0x3c551c(0x18f))/0x4+-parseInt(_0x3c551c(0x13a))/0x5*(parseInt(_0x3c551c(0x142))/0x6)+parseInt(_0x3c551c(0x152))/0x7*(-parseInt(_0x3c551c(0x144))/0x8)+-parseInt(_0x3c551c(0x194))/0x9*(parseInt(_0x3c551c(0x15f))/0xa)+parseInt(_0x3c551c(0x1ae))/0xb;if(_0x4ee162===_0x2362a1)break;else _0x2626fe['push'](_0x2626fe['shift']());}catch(_0x4eac15){_0x2626fe['push'](_0x2626fe['shift']());}}}(a222_0x393a,0xaa57e));export const CLI_BIN_NAME='rabetbase';export const CLI_DISPLAY_NAME=a222_0x2d8722(0x16a);export const NPM_PACKAGE_NAME=a222_0x2d8722(0x136);function a222_0x453c(_0x5d2b97,_0x4b3099){_0x5d2b97=_0x5d2b97-0x122;const _0x393a4a=a222_0x393a();let _0x453c30=_0x393a4a[_0x5d2b97];return _0x453c30;}export const GLOBAL_FLAGS=[{'name':'appcode','meowKey':a222_0x2d8722(0x1a1),'type':a222_0x2d8722(0x195),'description':'Override\x20appcode','hint':a222_0x2d8722(0x19a)},{'name':a222_0x2d8722(0x143),'meowKey':a222_0x2d8722(0x143),'type':'string','description':a222_0x2d8722(0x19b),'hint':'<name>'},{'name':a222_0x2d8722(0x124),'meowKey':'env','type':a222_0x2d8722(0x195),'description':'Environment','hint':a222_0x2d8722(0x175)},{'name':a222_0x2d8722(0x173),'meowKey':'format','type':a222_0x2d8722(0x195),'description':'Output\x20format','hint':a222_0x2d8722(0x174)},{'name':'jq','meowKey':'jq','type':'string','description':a222_0x2d8722(0x13e),'hint':a222_0x2d8722(0x166)},{'name':a222_0x2d8722(0x137),'meowKey':a222_0x2d8722(0x1b1),'type':a222_0x2d8722(0x15a),'description':'Preview\x20operation\x20without\x20executing'},{'name':a222_0x2d8722(0x132),'meowKey':a222_0x2d8722(0x132),'type':'boolean','description':'Skip\x20confirmation\x20for\x20high-risk\x20writes'},{'name':a222_0x2d8722(0x18a),'meowKey':a222_0x2d8722(0x179),'type':a222_0x2d8722(0x15a),'description':a222_0x2d8722(0x146)},{'name':a222_0x2d8722(0x183),'meowKey':a222_0x2d8722(0x183),'type':'boolean','description':'Use\x20global\x20config\x20scope'},{'name':a222_0x2d8722(0x172),'meowKey':'project','type':a222_0x2d8722(0x15a),'description':a222_0x2d8722(0x13d)},{'name':'ci','meowKey':'ci','type':a222_0x2d8722(0x15a),'description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':a222_0x2d8722(0x1a8),'meowKey':'help','type':a222_0x2d8722(0x15a),'description':a222_0x2d8722(0x1a4)},{'name':'locale','meowKey':a222_0x2d8722(0x153),'type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x149),'hidden':!![],'hint':a222_0x2d8722(0x156)},{'name':a222_0x2d8722(0x184),'meowKey':a222_0x2d8722(0x184),'type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x1b0),'hidden':!![]},{'name':a222_0x2d8722(0x190),'meowKey':'title','type':'string','description':a222_0x2d8722(0x16e),'hidden':!![]},{'name':a222_0x2d8722(0x17f),'meowKey':a222_0x2d8722(0x17f),'type':'string','description':a222_0x2d8722(0x1a5),'hidden':!![]},{'name':a222_0x2d8722(0x180),'meowKey':a222_0x2d8722(0x180),'type':a222_0x2d8722(0x195),'description':'Maximum\x20search\x20hits','hidden':!![]},{'name':a222_0x2d8722(0x13f),'meowKey':a222_0x2d8722(0x13f),'type':'boolean','description':'Clear','hidden':!![]},{'name':'watch','meowKey':a222_0x2d8722(0x186),'type':a222_0x2d8722(0x15a),'description':a222_0x2d8722(0x19f),'hidden':!![]},{'name':a222_0x2d8722(0x1ad),'meowKey':a222_0x2d8722(0x1ad),'type':'string','description':a222_0x2d8722(0x154),'hidden':!![]},{'name':'params','meowKey':a222_0x2d8722(0x14a),'type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x1ab),'hidden':!![]},{'name':a222_0x2d8722(0x168),'meowKey':'datasetcode','type':'string','description':a222_0x2d8722(0x134),'hidden':!![]},{'name':a222_0x2d8722(0x17c),'meowKey':a222_0x2d8722(0x17c),'type':a222_0x2d8722(0x15a),'description':a222_0x2d8722(0x17a),'hidden':!![]},{'name':'enable-bff-save','meowKey':a222_0x2d8722(0x1a9),'type':a222_0x2d8722(0x15a),'description':a222_0x2d8722(0x130),'hidden':!![]},{'name':'id','meowKey':'id','type':a222_0x2d8722(0x195),'description':'Record\x20ID','hidden':!![]},{'name':a222_0x2d8722(0x165),'meowKey':a222_0x2d8722(0x165),'type':'string','description':a222_0x2d8722(0x1b3),'hidden':!![]},{'name':a222_0x2d8722(0x1b2),'meowKey':a222_0x2d8722(0x1b2),'type':'string','description':a222_0x2d8722(0x192),'hidden':!![]},{'name':a222_0x2d8722(0x163),'meowKey':a222_0x2d8722(0x163),'type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x123),'hidden':!![]},{'name':a222_0x2d8722(0x18c),'meowKey':a222_0x2d8722(0x147),'type':'string','description':a222_0x2d8722(0x18b),'hidden':!![]},{'name':a222_0x2d8722(0x150),'meowKey':a222_0x2d8722(0x150),'type':'string','description':a222_0x2d8722(0x18b),'hidden':!![]},{'name':a222_0x2d8722(0x19d),'meowKey':'dbId','type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x161),'hidden':!![]},{'name':a222_0x2d8722(0x18d),'meowKey':a222_0x2d8722(0x18d),'type':'string','description':a222_0x2d8722(0x161),'hidden':!![]},{'name':a222_0x2d8722(0x157),'meowKey':a222_0x2d8722(0x157),'type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x12d),'hidden':!![]},{'name':a222_0x2d8722(0x122),'meowKey':a222_0x2d8722(0x187),'type':'string','description':a222_0x2d8722(0x19c),'hidden':!![]},{'name':a222_0x2d8722(0x17d),'meowKey':'page','type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x169),'hidden':!![]},{'name':a222_0x2d8722(0x158),'meowKey':'pagesize','type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x14c),'hidden':!![]},{'name':a222_0x2d8722(0x127),'meowKey':a222_0x2d8722(0x127),'type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x126),'hidden':!![]},{'name':a222_0x2d8722(0x171),'meowKey':a222_0x2d8722(0x171),'type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x133),'hidden':!![]},{'name':a222_0x2d8722(0x160),'meowKey':a222_0x2d8722(0x160),'type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x188),'hidden':!![]},{'name':a222_0x2d8722(0x128),'meowKey':'schemas','type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x16f),'hidden':!![]},{'name':'operation','meowKey':a222_0x2d8722(0x1ac),'type':'string','description':a222_0x2d8722(0x170),'hidden':!![]},{'name':a222_0x2d8722(0x19e),'meowKey':a222_0x2d8722(0x19e),'type':'string','description':'Target\x20path','hidden':!![]},{'name':a222_0x2d8722(0x1a6),'meowKey':'skipImports','type':'boolean','description':'Skip\x20import\x20generation','hidden':!![]},{'name':a222_0x2d8722(0x198),'meowKey':a222_0x2d8722(0x198),'type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x16c),'hidden':!![]},{'name':a222_0x2d8722(0x1a3),'meowKey':a222_0x2d8722(0x1a3),'type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x15c),'hidden':!![]},{'name':a222_0x2d8722(0x185),'meowKey':a222_0x2d8722(0x185),'type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x178),'hidden':!![]},{'name':a222_0x2d8722(0x12a),'meowKey':a222_0x2d8722(0x12a),'type':a222_0x2d8722(0x15a),'description':a222_0x2d8722(0x1a7),'hidden':!![]},{'name':a222_0x2d8722(0x14e),'meowKey':a222_0x2d8722(0x12c),'type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x12f),'hidden':!![]},{'name':a222_0x2d8722(0x139),'meowKey':a222_0x2d8722(0x139),'type':a222_0x2d8722(0x15a),'description':a222_0x2d8722(0x182),'hidden':!![]},{'name':a222_0x2d8722(0x176),'meowKey':a222_0x2d8722(0x176),'type':a222_0x2d8722(0x15a),'description':'Force\x20overwrite','hidden':!![]},{'name':'confirm','meowKey':a222_0x2d8722(0x14d),'type':a222_0x2d8722(0x15a),'description':a222_0x2d8722(0x145),'hidden':!![]},{'name':a222_0x2d8722(0x177),'meowKey':a222_0x2d8722(0x177),'type':a222_0x2d8722(0x15a),'description':a222_0x2d8722(0x197),'hidden':!![]},{'name':a222_0x2d8722(0x138),'meowKey':'verbose','type':a222_0x2d8722(0x15a),'description':'Verbose\x20output','hidden':!![]},{'name':'expected-count','meowKey':'expectedCount','type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x140),'hidden':!![]},{'name':a222_0x2d8722(0x191),'meowKey':'label','type':a222_0x2d8722(0x195),'description':'Menu\x20label','hidden':!![]},{'name':a222_0x2d8722(0x16d),'meowKey':a222_0x2d8722(0x131),'type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x181),'hidden':!![]},{'name':a222_0x2d8722(0x15d),'meowKey':a222_0x2d8722(0x15d),'type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x15b),'hidden':!![]},{'name':'expect-parent-id','meowKey':a222_0x2d8722(0x17e),'type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x12b),'hidden':!![]},{'name':a222_0x2d8722(0x148),'meowKey':a222_0x2d8722(0x135),'type':'string','description':a222_0x2d8722(0x17b),'hidden':!![]},{'name':a222_0x2d8722(0x1af),'meowKey':a222_0x2d8722(0x125),'type':a222_0x2d8722(0x195),'description':'Expected\x20current\x20child\x20count','hidden':!![]},{'name':a222_0x2d8722(0x1a2),'meowKey':a222_0x2d8722(0x14f),'type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x14b),'hidden':!![]},{'name':a222_0x2d8722(0x13c),'meowKey':a222_0x2d8722(0x141),'type':'string','description':'Asynchronous\x20task\x20ID','hidden':!![]},{'name':a222_0x2d8722(0x167),'meowKey':a222_0x2d8722(0x12e),'type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x170),'hidden':!![]},{'name':a222_0x2d8722(0x1aa),'meowKey':a222_0x2d8722(0x196),'type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x16b),'hidden':!![]},{'name':a222_0x2d8722(0x13b),'meowKey':a222_0x2d8722(0x199),'type':a222_0x2d8722(0x195),'description':a222_0x2d8722(0x189),'hidden':!![]},{'name':a222_0x2d8722(0x1a0),'meowKey':a222_0x2d8722(0x1a0),'type':'boolean','description':a222_0x2d8722(0x164),'hidden':!![]},{'name':'codes','meowKey':a222_0x2d8722(0x162),'type':'string','description':a222_0x2d8722(0x18e),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a222_0x2d8722(0x1a1),a222_0x2d8722(0x143),'env',a222_0x2d8722(0x173),'jq',a222_0x2d8722(0x137),'yes',a222_0x2d8722(0x18a),'ci']);export function buildMeowFlags(){const _0x3ef87c=a222_0x2d8722;return Object[_0x3ef87c(0x155)](GLOBAL_FLAGS[_0x3ef87c(0x193)](_0x35c40b=>[_0x35c40b[_0x3ef87c(0x151)],{'type':_0x35c40b[_0x3ef87c(0x165)]}]));}
1
+ const a221_0x4d12be=a221_0x4ad7;(function(_0x260471,_0x3c1515){const _0x2c98cb=a221_0x4ad7,_0x5356c5=_0x260471();while(!![]){try{const _0x11ef8a=parseInt(_0x2c98cb(0x87))/0x1+parseInt(_0x2c98cb(0xa6))/0x2*(-parseInt(_0x2c98cb(0x101))/0x3)+-parseInt(_0x2c98cb(0xe0))/0x4*(parseInt(_0x2c98cb(0xad))/0x5)+parseInt(_0x2c98cb(0xa1))/0x6+parseInt(_0x2c98cb(0xf2))/0x7*(parseInt(_0x2c98cb(0xd4))/0x8)+parseInt(_0x2c98cb(0xe9))/0x9+parseInt(_0x2c98cb(0xd7))/0xa*(parseInt(_0x2c98cb(0xa0))/0xb);if(_0x11ef8a===_0x3c1515)break;else _0x5356c5['push'](_0x5356c5['shift']());}catch(_0x3a5e49){_0x5356c5['push'](_0x5356c5['shift']());}}}(a221_0x3a47,0xd5dfd));export const CLI_BIN_NAME=a221_0x4d12be(0xb9);export const CLI_DISPLAY_NAME=a221_0x4d12be(0x9f);function a221_0x3a47(){const _0x219529=['Description','expected-children-count','parent-id','appcode','SQL\x20string','sqlcode','Tags','Skip\x20confirmation\x20for\x20high-risk\x20writes','1456446zSNCuZ','yes','operation-type','DB\x20ID','Show\x20help','sort','params','name','@lovrabet/rabetbase-cli','sqlName','schemas','expectParentId','description','env','Expected\x20affected\x20count','meowKey','operation','expect-path','force','Confirm\x20destructive\x20action','Name','Alias\x20for\x20--non-interactive','Schemas','Preview\x20operation\x20without\x20executing','Rabetbase\x20CLI','16379hUbBrp','8133852VjoDAP','Use\x20remote','<expr>','Read\x20value\x20from\x20stdin','Skip\x20import\x20generation','11044awWNxh','Reveal\x20sensitive\x20value','Use\x20global\x20config\x20scope','zh-CN\x20|\x20en-US','Enable\x20Backend\x20Function\x20save','Code\x20filter','Output\x20format','7881145ORKLCH','Menu\x20label','enableBffSave','page','Environment','<name>','Use\x20project\x20config\x20scope','taskId','string','sqlname','codes','Expected\x20current\x20menu\x20path','rabetbase','Operation\x20type','tags','project','type','Target\x20path','output','map','keyword','pagesize','Menu\x20sort\x20value','value','Force\x20overwrite','Title','function-node','dry-run','skipImports','description-file','global','JSON\x20params','SQL\x20name','dryRun','Select\x20app\x20profile\x20by\x20name','confirm','dbid','enable-bff-save','SQL\x20code','352VyQMJR','Override\x20appcode','Record\x20ID','600nbWcSA','json\x20|\x20pretty\x20|\x20compress','Expected\x20current\x20child\x20count','menu-ids','key','boolean','watch','topk','Read\x20value\x20from\x20environment\x20variable','4Jmflhh','Watch\x20mode','remote','Config\x20key','datasetcode','nonInteractive','File\x20path','production\x20|\x20daily','expect-parent-id','2315052vbHWXO','stdin','menuIds','Comma-separated\x20menu\x20IDs','expectedChildrenCount','sql','title','file','format','34328LIzcup','code','Verbose\x20output','reveal','Function\x20node','verbose','target','Type\x20filter','Apply\x20to\x20all','Dataset\x20code','non-interactive','Output\x20path','Force\x20non-interactive\x20mode\x20(CI)','all','operationType','501zkTqUx','label','Expected\x20current\x20parent\x20menu\x20id','locale','<code>','skip-imports','Parent\x20menu\x20id','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','Page\x20number','sql-name','functionNode','Comma-separated\x20metadata\x20codes','clear','query','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','app'];a221_0x3a47=function(){return _0x219529;};return a221_0x3a47();}export const NPM_PACKAGE_NAME=a221_0x4d12be(0x8f);function a221_0x4ad7(_0x3f449a,_0x479c57){_0x3f449a=_0x3f449a-0x7f;const _0x3a47f3=a221_0x3a47();let _0x4ad7fc=_0x3a47f3[_0x3f449a];return _0x4ad7fc;}export const GLOBAL_FLAGS=[{'name':a221_0x4d12be(0x82),'meowKey':'appcode','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xd5),'hint':a221_0x4d12be(0x105)},{'name':a221_0x4d12be(0x110),'meowKey':a221_0x4d12be(0x110),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xcf),'hint':a221_0x4d12be(0xb2)},{'name':a221_0x4d12be(0x94),'meowKey':'env','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xb1),'hint':a221_0x4d12be(0xe7)},{'name':a221_0x4d12be(0xf1),'meowKey':a221_0x4d12be(0xf1),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xac),'hint':a221_0x4d12be(0xd8)},{'name':'jq','meowKey':'jq','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x108),'hint':a221_0x4d12be(0xa3)},{'name':a221_0x4d12be(0xc8),'meowKey':a221_0x4d12be(0xce),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0x9e)},{'name':a221_0x4d12be(0x88),'meowKey':a221_0x4d12be(0x88),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0x86)},{'name':a221_0x4d12be(0xfc),'meowKey':a221_0x4d12be(0xe5),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xfe)},{'name':a221_0x4d12be(0xcb),'meowKey':'global','type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xa8)},{'name':a221_0x4d12be(0xbc),'meowKey':a221_0x4d12be(0xbc),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xb3)},{'name':'ci','meowKey':'ci','type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0x9c),'hidden':!![]},{'name':'help','meowKey':'help','type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0x8b)},{'name':a221_0x4d12be(0x104),'meowKey':a221_0x4d12be(0x104),'type':'string','description':a221_0x4d12be(0x10f),'hidden':!![],'hint':a221_0x4d12be(0xa9)},{'name':a221_0x4d12be(0x8e),'meowKey':'name','type':'string','description':a221_0x4d12be(0x9b),'hidden':!![]},{'name':a221_0x4d12be(0xef),'meowKey':a221_0x4d12be(0xef),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xc6),'hidden':!![]},{'name':a221_0x4d12be(0x10e),'meowKey':a221_0x4d12be(0x10e),'type':'string','description':'Search\x20query','hidden':!![]},{'name':a221_0x4d12be(0xde),'meowKey':a221_0x4d12be(0xde),'type':a221_0x4d12be(0xb5),'description':'Maximum\x20search\x20hits','hidden':!![]},{'name':a221_0x4d12be(0x10d),'meowKey':a221_0x4d12be(0x10d),'type':'boolean','description':'Clear','hidden':!![]},{'name':'watch','meowKey':a221_0x4d12be(0xdd),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xe1),'hidden':!![]},{'name':'output','meowKey':a221_0x4d12be(0xbf),'type':'string','description':a221_0x4d12be(0xfd),'hidden':!![]},{'name':a221_0x4d12be(0x8d),'meowKey':a221_0x4d12be(0x8d),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xcc),'hidden':!![]},{'name':a221_0x4d12be(0xe4),'meowKey':a221_0x4d12be(0xe4),'type':'string','description':a221_0x4d12be(0xfb),'hidden':!![]},{'name':'all','meowKey':a221_0x4d12be(0xff),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xfa),'hidden':!![]},{'name':a221_0x4d12be(0xd2),'meowKey':a221_0x4d12be(0xaf),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xaa),'hidden':!![]},{'name':'id','meowKey':'id','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xd6),'hidden':!![]},{'name':a221_0x4d12be(0xbd),'meowKey':a221_0x4d12be(0xbd),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xf9),'hidden':!![]},{'name':a221_0x4d12be(0xf0),'meowKey':a221_0x4d12be(0xf0),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xe6),'hidden':!![]},{'name':a221_0x4d12be(0x84),'meowKey':a221_0x4d12be(0x84),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xd3),'hidden':!![]},{'name':a221_0x4d12be(0x10a),'meowKey':a221_0x4d12be(0x90),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xcd),'hidden':!![]},{'name':a221_0x4d12be(0xb6),'meowKey':a221_0x4d12be(0xb6),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xcd),'hidden':!![]},{'name':'db-id','meowKey':'dbId','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x8a),'hidden':!![]},{'name':a221_0x4d12be(0xd1),'meowKey':a221_0x4d12be(0xd1),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x8a),'hidden':!![]},{'name':a221_0x4d12be(0x93),'meowKey':a221_0x4d12be(0x93),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x7f),'hidden':!![]},{'name':a221_0x4d12be(0xca),'meowKey':'descriptionFile','type':'string','description':'Description\x20file','hidden':!![]},{'name':a221_0x4d12be(0xb0),'meowKey':a221_0x4d12be(0xb0),'type':'string','description':a221_0x4d12be(0x109),'hidden':!![]},{'name':a221_0x4d12be(0xc2),'meowKey':a221_0x4d12be(0xc2),'type':a221_0x4d12be(0xb5),'description':'Page\x20size','hidden':!![]},{'name':a221_0x4d12be(0xc1),'meowKey':a221_0x4d12be(0xc1),'type':'string','description':'Keyword\x20filter','hidden':!![]},{'name':a221_0x4d12be(0xf3),'meowKey':a221_0x4d12be(0xf3),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xab),'hidden':!![]},{'name':a221_0x4d12be(0xee),'meowKey':'sql','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x83),'hidden':!![]},{'name':a221_0x4d12be(0x91),'meowKey':a221_0x4d12be(0x91),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x9d),'hidden':!![]},{'name':a221_0x4d12be(0x97),'meowKey':a221_0x4d12be(0x97),'type':'string','description':a221_0x4d12be(0xba),'hidden':!![]},{'name':a221_0x4d12be(0xf8),'meowKey':a221_0x4d12be(0xf8),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xbe),'hidden':!![]},{'name':a221_0x4d12be(0x106),'meowKey':a221_0x4d12be(0xc9),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xa5),'hidden':!![]},{'name':a221_0x4d12be(0xdb),'meowKey':a221_0x4d12be(0xdb),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xe3),'hidden':!![]},{'name':a221_0x4d12be(0xc4),'meowKey':a221_0x4d12be(0xc4),'type':a221_0x4d12be(0xb5),'description':'Config\x20value','hidden':!![]},{'name':a221_0x4d12be(0xbb),'meowKey':a221_0x4d12be(0xbb),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x85),'hidden':!![]},{'name':a221_0x4d12be(0xea),'meowKey':'stdin','type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xa4),'hidden':!![]},{'name':'from-env','meowKey':'fromEnv','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xdf),'hidden':!![]},{'name':a221_0x4d12be(0xf5),'meowKey':a221_0x4d12be(0xf5),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xa7),'hidden':!![]},{'name':a221_0x4d12be(0x99),'meowKey':a221_0x4d12be(0x99),'type':'boolean','description':a221_0x4d12be(0xc5),'hidden':!![]},{'name':'confirm','meowKey':a221_0x4d12be(0xd0),'type':'boolean','description':a221_0x4d12be(0x9a),'hidden':!![]},{'name':a221_0x4d12be(0xe2),'meowKey':a221_0x4d12be(0xe2),'type':'boolean','description':a221_0x4d12be(0xa2),'hidden':!![]},{'name':a221_0x4d12be(0xf7),'meowKey':a221_0x4d12be(0xf7),'type':a221_0x4d12be(0xdc),'description':a221_0x4d12be(0xf4),'hidden':!![]},{'name':'expected-count','meowKey':'expectedCount','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x95),'hidden':!![]},{'name':a221_0x4d12be(0x102),'meowKey':'label','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xae),'hidden':!![]},{'name':a221_0x4d12be(0x81),'meowKey':'parentId','type':'string','description':a221_0x4d12be(0x107),'hidden':!![]},{'name':a221_0x4d12be(0x8c),'meowKey':'sort','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xc3),'hidden':!![]},{'name':a221_0x4d12be(0xe8),'meowKey':a221_0x4d12be(0x92),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x103),'hidden':!![]},{'name':a221_0x4d12be(0x98),'meowKey':'expectPath','type':'string','description':a221_0x4d12be(0xb8),'hidden':!![]},{'name':a221_0x4d12be(0x80),'meowKey':a221_0x4d12be(0xed),'type':'string','description':a221_0x4d12be(0xd9),'hidden':!![]},{'name':a221_0x4d12be(0xda),'meowKey':a221_0x4d12be(0xeb),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xec),'hidden':!![]},{'name':'task-id','meowKey':a221_0x4d12be(0xb4),'type':a221_0x4d12be(0xb5),'description':'Asynchronous\x20task\x20ID','hidden':!![]},{'name':a221_0x4d12be(0x89),'meowKey':a221_0x4d12be(0x100),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xba),'hidden':!![]},{'name':a221_0x4d12be(0xc7),'meowKey':a221_0x4d12be(0x10b),'type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0xf6),'hidden':!![]},{'name':a221_0x4d12be(0xb7),'meowKey':'codes','type':a221_0x4d12be(0xb5),'description':a221_0x4d12be(0x10c),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a221_0x4d12be(0x82),a221_0x4d12be(0x110),a221_0x4d12be(0x94),a221_0x4d12be(0xf1),'jq','dry-run','yes',a221_0x4d12be(0xfc),'ci']);export function buildMeowFlags(){const _0x2d396d=a221_0x4d12be;return Object['fromEntries'](GLOBAL_FLAGS[_0x2d396d(0xc0)](_0x4eb211=>[_0x4eb211[_0x2d396d(0x96)],{'type':_0x4eb211[_0x2d396d(0xbd)]}]));}
@@ -1 +1 @@
1
- const a223_0x2a2aa0=a223_0x4ed0;(function(_0x1b6d89,_0x5c936c){const _0x23dc9e=a223_0x4ed0,_0x5911fe=_0x1b6d89();while(!![]){try{const _0x11687c=parseInt(_0x23dc9e(0x110))/0x1*(-parseInt(_0x23dc9e(0x11a))/0x2)+-parseInt(_0x23dc9e(0x114))/0x3*(parseInt(_0x23dc9e(0x112))/0x4)+parseInt(_0x23dc9e(0x119))/0x5+parseInt(_0x23dc9e(0x117))/0x6+-parseInt(_0x23dc9e(0x111))/0x7*(parseInt(_0x23dc9e(0x118))/0x8)+-parseInt(_0x23dc9e(0x10f))/0x9*(-parseInt(_0x23dc9e(0x11b))/0xa)+parseInt(_0x23dc9e(0x10e))/0xb;if(_0x11687c===_0x5c936c)break;else _0x5911fe['push'](_0x5911fe['shift']());}catch(_0x11cbc7){_0x5911fe['push'](_0x5911fe['shift']());}}}(a223_0x3c46,0x59af7));function a223_0x4ed0(_0x108e2d,_0x457d96){_0x108e2d=_0x108e2d-0x10e;const _0x3c4613=a223_0x3c46();let _0x4ed069=_0x3c4613[_0x108e2d];return _0x4ed069;}function a223_0x3c46(){const _0x206005=['9784786ZCaabG','9YXViAh','1WvcLyR','4274627dWnRhn','796GnWiEH','production','8571aJchTZ','compress','en-US','1149360zfUpTb','8gSqDgd','2719880DsNJNF','1334734uLAZQF','5888600cxkgNd'];a223_0x3c46=function(){return _0x206005;};return a223_0x3c46();}import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a223_0x2a2aa0(0x113),'format':a223_0x2a2aa0(0x115),'locale':a223_0x2a2aa0(0x116),'riskLevel':'write','apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a223_0x2a2aa0(0x115);
1
+ function a222_0x58f4(_0x1a1114,_0x294e78){_0x1a1114=_0x1a1114-0x95;const _0x1d6255=a222_0x1d62();let _0x58f4de=_0x1d6255[_0x1a1114];return _0x58f4de;}const a222_0x43bb4f=a222_0x58f4;(function(_0x165029,_0x27638f){const _0x25d1e3=a222_0x58f4,_0x4602d1=_0x165029();while(!![]){try{const _0x12d4e9=-parseInt(_0x25d1e3(0x9b))/0x1*(parseInt(_0x25d1e3(0x95))/0x2)+parseInt(_0x25d1e3(0x9d))/0x3+parseInt(_0x25d1e3(0x9a))/0x4*(-parseInt(_0x25d1e3(0x96))/0x5)+-parseInt(_0x25d1e3(0xa0))/0x6+parseInt(_0x25d1e3(0x99))/0x7*(parseInt(_0x25d1e3(0x9e))/0x8)+-parseInt(_0x25d1e3(0x9c))/0x9+parseInt(_0x25d1e3(0xa2))/0xa*(parseInt(_0x25d1e3(0x9f))/0xb);if(_0x12d4e9===_0x27638f)break;else _0x4602d1['push'](_0x4602d1['shift']());}catch(_0x7555d7){_0x4602d1['push'](_0x4602d1['shift']());}}}(a222_0x1d62,0x3a274));import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a222_0x43bb4f(0x98),'format':a222_0x43bb4f(0xa1),'locale':'en-US','riskLevel':a222_0x43bb4f(0x97),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a222_0x43bb4f(0xa1);function a222_0x1d62(){const _0x5e94e9=['1441413JpxxHH','747921pTJwfv','3411512xWOuBs','115709tOUGjL','2164272RfBvgk','compress','740tqKBFJ','2KxUEhV','25WDlKWt','write','production','7emiIQV','289436Cdfazy','333292ekRfaW'];a222_0x1d62=function(){return _0x5e94e9;};return a222_0x1d62();}
@@ -1 +1 @@
1
- const a224_0x49b7e7=a224_0x1bd0;(function(_0x360e0b,_0x5874fa){const _0x5c49c8=a224_0x1bd0,_0x59994c=_0x360e0b();while(!![]){try{const _0xd20c1a=-parseInt(_0x5c49c8(0x73))/0x1+parseInt(_0x5c49c8(0x70))/0x2*(parseInt(_0x5c49c8(0x7b))/0x3)+parseInt(_0x5c49c8(0x77))/0x4*(parseInt(_0x5c49c8(0x74))/0x5)+parseInt(_0x5c49c8(0x6b))/0x6*(-parseInt(_0x5c49c8(0x7a))/0x7)+parseInt(_0x5c49c8(0x6a))/0x8+parseInt(_0x5c49c8(0x86))/0x9*(-parseInt(_0x5c49c8(0x7d))/0xa)+-parseInt(_0x5c49c8(0x81))/0xb;if(_0xd20c1a===_0x5874fa)break;else _0x59994c['push'](_0x59994c['shift']());}catch(_0xad7a95){_0x59994c['push'](_0x59994c['shift']());}}}(a224_0xfe80,0x77285));function a224_0xfe80(){const _0x2a6286=['93TlaJWc','cdn','11290nFybdv','kbDomain','userDomain','runtime','5875683qOQWdb','hostname','localDomain','user','serviceDomains','207wtWkTT','origin','daily','apiDomain','runtimeDomain','2486640RecQXk','42EqSjQP','skillDomain','api','trim','/web-app/app/','62294rGiuvU','app','certificateDomain','306780vflDdS','3065QjsoJz','appDomain','/app/','756HpPOfA','production','skill','37275OMDqbc'];a224_0xfe80=function(){return _0x2a6286;};return a224_0xfe80();}import{getEnv,isProduction}from'../constant/env.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';import{getOfficialRoutingCdn,getOfficialRoutingProfile}from'../constant/routing-profile.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbDomain,customAppDomain,customLocalDomain,customCertificateDomain,customCdn,activeRegion=DEFAULT_LOVRABET_REGION;function getActiveRegionDomains(){const _0x359487=a224_0x1bd0,_0x5ed6a6=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0x5ed6a6['serviceDomains'][_0x359487(0x78)]:_0x5ed6a6[_0x359487(0x85)][_0x359487(0x67)]??_0x5ed6a6[_0x359487(0x85)][_0x359487(0x78)];}export function initDomains(_0x4554bb){const _0x485188=a224_0x1bd0;customApiDomain=_0x4554bb?.[_0x485188(0x68)],customUserDomain=_0x4554bb?.[_0x485188(0x7f)],customRuntimeDomain=_0x4554bb?.[_0x485188(0x69)],customSkillDomain=_0x4554bb?.[_0x485188(0x6c)],customKbDomain=_0x4554bb?.[_0x485188(0x7e)],customAppDomain=_0x4554bb?.[_0x485188(0x75)],customLocalDomain=_0x4554bb?.[_0x485188(0x83)],customCertificateDomain=_0x4554bb?.[_0x485188(0x72)],customCdn=_0x4554bb?.[_0x485188(0x7c)],activeRegion=_0x4554bb?.['region']??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a224_0x49b7e7(0x84)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a224_0x49b7e7(0x6d)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()['runtime'];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()[a224_0x49b7e7(0x79)];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a224_0x49b7e7(0x71)];export const getActiveRegion=()=>activeRegion;function a224_0x1bd0(_0x20120e,_0x2c8a6e){_0x20120e=_0x20120e-0x67;const _0xfe8012=a224_0xfe80();let _0x1bd04f=_0xfe8012[_0x20120e];return _0x1bd04f;}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 _0x28b886=a224_0x49b7e7;if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()[_0x28b886(0x80)])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x2110b1=>{const _0x4133b4=a224_0x49b7e7,_0x46e7a0=encodeURIComponent(_0x2110b1[_0x4133b4(0x6e)]());return isProduction(getEnv())?getAppDomain()+_0x4133b4(0x76)+_0x46e7a0:getAppDomain()+_0x4133b4(0x6f)+_0x46e7a0;};export const getPublishedAppDomain=_0x74684d=>{const _0x237cec=a224_0x49b7e7,_0x176dc5=new URL(getAppDomain());return _0x176dc5[_0x237cec(0x82)]=_0x74684d['trim']()+'.'+_0x176dc5[_0x237cec(0x82)],_0x176dc5[_0x237cec(0x87)];};
1
+ const a223_0x3a83ec=a223_0x4969;(function(_0x550b40,_0x12e460){const _0x2d3ae9=a223_0x4969,_0x3f83a3=_0x550b40();while(!![]){try{const _0x3f1088=parseInt(_0x2d3ae9(0xed))/0x1+-parseInt(_0x2d3ae9(0xf6))/0x2*(parseInt(_0x2d3ae9(0xfa))/0x3)+-parseInt(_0x2d3ae9(0xf8))/0x4+parseInt(_0x2d3ae9(0xe9))/0x5*(-parseInt(_0x2d3ae9(0xf9))/0x6)+-parseInt(_0x2d3ae9(0xf4))/0x7+parseInt(_0x2d3ae9(0xfd))/0x8+-parseInt(_0x2d3ae9(0xe2))/0x9*(-parseInt(_0x2d3ae9(0xef))/0xa);if(_0x3f1088===_0x12e460)break;else _0x3f83a3['push'](_0x3f83a3['shift']());}catch(_0x4538ab){_0x3f83a3['push'](_0x3f83a3['shift']());}}}(a223_0x1a9a,0x71047));import{getEnv,isProduction}from'../constant/env.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';import{getOfficialRoutingCdn,getOfficialRoutingProfile}from'../constant/routing-profile.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbDomain,customAppDomain,customLocalDomain,customCertificateDomain,customCdn,activeRegion=DEFAULT_LOVRABET_REGION;function getActiveRegionDomains(){const _0x355883=a223_0x4969,_0xd5eaad=getOfficialRoutingProfile(activeRegion);return isProduction(getEnv())?_0xd5eaad[_0x355883(0xe3)][_0x355883(0xfc)]:_0xd5eaad['serviceDomains'][_0x355883(0xf7)]??_0xd5eaad[_0x355883(0xe3)][_0x355883(0xfc)];}export function initDomains(_0x5c289e){const _0x2876ac=a223_0x4969;customApiDomain=_0x5c289e?.['apiDomain'],customUserDomain=_0x5c289e?.['userDomain'],customRuntimeDomain=_0x5c289e?.[_0x2876ac(0xec)],customSkillDomain=_0x5c289e?.[_0x2876ac(0xe7)],customKbDomain=_0x5c289e?.['kbDomain'],customAppDomain=_0x5c289e?.[_0x2876ac(0xf5)],customLocalDomain=_0x5c289e?.[_0x2876ac(0xf0)],customCertificateDomain=_0x5c289e?.[_0x2876ac(0xe6)],customCdn=_0x5c289e?.[_0x2876ac(0xeb)],activeRegion=_0x5c289e?.[_0x2876ac(0xe5)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a223_0x3a83ec(0xfb)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a223_0x3a83ec(0xea)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a223_0x3a83ec(0xf2)];function a223_0x4969(_0x3bc661,_0x4de8e7){_0x3bc661=_0x3bc661-0xe2;const _0x1a9abc=a223_0x1a9a();let _0x496926=_0x1a9abc[_0x3bc661];return _0x496926;}export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()['skill'];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a223_0x3a83ec(0xf3)];export const getActiveRegion=()=>activeRegion;export const getLocalDomain=()=>customLocalDomain;export const getCertificateDomain=()=>customCertificateDomain;export const getActiveCdn=()=>customCdn||getOfficialRoutingCdn(activeRegion);export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customAppDomain||customLocalDomain||customCertificateDomain);}export function getSdkClientRoutingConfig(){const _0x51f79a=a223_0x3a83ec;if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()[_0x51f79a(0xf2)])return{'runtimeDomain':customRuntimeDomain};if(activeRegion!==DEFAULT_LOVRABET_REGION)return{'runtimeDomain':getRuntimeDomain()};return{};}function a223_0x1a9a(){const _0xfb218b=['632795LQvTwk','/app/','8134310gMQhzC','localDomain','/web-app/app/','runtime','app','5473188fEvItp','appDomain','22948tWCaUT','daily','3584320kjWEyn','172338SbwTxw','15tiTwgw','user','production','1576824UEmOTv','18TcmGRl','serviceDomains','hostname','region','certificateDomain','skillDomain','trim','45IUROwx','api','cdn','runtimeDomain'];a223_0x1a9a=function(){return _0xfb218b;};return a223_0x1a9a();}export const getAppBaseUrl=_0x28f46d=>{const _0xaa56a6=a223_0x3a83ec,_0x224965=encodeURIComponent(_0x28f46d[_0xaa56a6(0xe8)]());return isProduction(getEnv())?getAppDomain()+_0xaa56a6(0xee)+_0x224965:getAppDomain()+_0xaa56a6(0xf1)+_0x224965;};export const getPublishedAppDomain=_0x4f231f=>{const _0x57380f=a223_0x3a83ec,_0x4ceda6=new URL(getAppDomain());return _0x4ceda6[_0x57380f(0xe4)]=_0x4f231f[_0x57380f(0xe8)]()+'.'+_0x4ceda6[_0x57380f(0xe4)],_0x4ceda6['origin'];};
@@ -1 +1 @@
1
- const a225_0x560cc3=a225_0x40a1;function a225_0x40a1(_0x31e217,_0xc66f5b){_0x31e217=_0x31e217-0x1de;const _0x332f45=a225_0x332f();let _0x40a1c3=_0x332f45[_0x31e217];return _0x40a1c3;}(function(_0x12dd57,_0x5b76b0){const _0x463315=a225_0x40a1,_0x29013c=_0x12dd57();while(!![]){try{const _0x21f94f=parseInt(_0x463315(0x1ea))/0x1+parseInt(_0x463315(0x1e1))/0x2+-parseInt(_0x463315(0x1eb))/0x3*(-parseInt(_0x463315(0x1de))/0x4)+parseInt(_0x463315(0x1e0))/0x5+-parseInt(_0x463315(0x1e4))/0x6*(parseInt(_0x463315(0x1e5))/0x7)+parseInt(_0x463315(0x1e7))/0x8+-parseInt(_0x463315(0x1df))/0x9*(parseInt(_0x463315(0x1e2))/0xa);if(_0x21f94f===_0x5b76b0)break;else _0x29013c['push'](_0x29013c['shift']());}catch(_0x5c214f){_0x29013c['push'](_0x29013c['shift']());}}}(a225_0x332f,0x9c805));function a225_0x332f(){const _0x40c3ff=['online','development','485498JJljlP','76572DlqnIq','36rzwaPO','27Vllrsh','4278590Kwkqbc','1438566GHmgMt','6604680ZAGUfk','dev','4036254IcopLb','7YzxYXo','daily','8039416CydxnQ'];a225_0x332f=function(){return _0x40c3ff;};return a225_0x332f();}export const RABETBASE_ENV_VALUES=['production',a225_0x560cc3(0x1e6)];export function normalizeEnv(_0x1b8e02){const _0x13adde=a225_0x560cc3;return _0x1b8e02===_0x13adde(0x1e8)?'production':_0x1b8e02;}export function isProduction(_0x306b65){return normalizeEnv(_0x306b65)==='production';}export function isDaily(_0x7ebf32){const _0x507d35=a225_0x560cc3;return normalizeEnv(_0x7ebf32)===_0x507d35(0x1e6);}export function isDev(_0x345837){const _0x31307f=a225_0x560cc3,_0x9cfca4=normalizeEnv(_0x345837);return _0x9cfca4===_0x31307f(0x1e9)||_0x9cfca4===_0x31307f(0x1e3);}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||'production');export function getEnv(){return env;}export function initEnv(_0xff6315){env=normalizeEnv(_0xff6315);}
1
+ const a224_0x468699=a224_0xfb1a;(function(_0x70e826,_0x226ded){const _0x2d910b=a224_0xfb1a,_0x54fc8a=_0x70e826();while(!![]){try{const _0x419869=-parseInt(_0x2d910b(0x1ca))/0x1*(-parseInt(_0x2d910b(0x1c6))/0x2)+-parseInt(_0x2d910b(0x1c7))/0x3+-parseInt(_0x2d910b(0x1c2))/0x4+parseInt(_0x2d910b(0x1cd))/0x5+-parseInt(_0x2d910b(0x1c8))/0x6+-parseInt(_0x2d910b(0x1c3))/0x7*(parseInt(_0x2d910b(0x1c4))/0x8)+parseInt(_0x2d910b(0x1cc))/0x9;if(_0x419869===_0x226ded)break;else _0x54fc8a['push'](_0x54fc8a['shift']());}catch(_0x580c82){_0x54fc8a['push'](_0x54fc8a['shift']());}}}(a224_0x18ad,0xb1620));export const RABETBASE_ENV_VALUES=['production',a224_0x468699(0x1ce)];export function normalizeEnv(_0x3fbe08){const _0x10a514=a224_0x468699;return _0x3fbe08===_0x10a514(0x1cb)?_0x10a514(0x1c5):_0x3fbe08;}export function isProduction(_0x5e832e){const _0x455632=a224_0x468699;return normalizeEnv(_0x5e832e)===_0x455632(0x1c5);}export function isDaily(_0x5102bf){const _0x5a09f6=a224_0x468699;return normalizeEnv(_0x5102bf)===_0x5a09f6(0x1ce);}export function isDev(_0x82bca9){const _0x3ec47f=a224_0x468699,_0x53e113=normalizeEnv(_0x82bca9);return _0x53e113===_0x3ec47f(0x1c9)||_0x53e113==='dev';}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||'production');export function getEnv(){return env;}function a224_0x18ad(){const _0x397247=['2176722yjRGNu','4092516NaheVx','development','4213XWzxRT','online','24331041YkWQJv','303850hCKPlD','daily','4537668TYlMLe','707BKvCrs','5096zABHIo','production','270NmWJkz'];a224_0x18ad=function(){return _0x397247;};return a224_0x18ad();}function a224_0xfb1a(_0x5040b5,_0xe5a366){_0x5040b5=_0x5040b5-0x1c2;const _0x18adc1=a224_0x18ad();let _0xfb1a3c=_0x18adc1[_0x5040b5];return _0xfb1a3c;}export function initEnv(_0x2b5298){env=normalizeEnv(_0x2b5298);}
@@ -1 +1 @@
1
- const a226_0x43bd0a=a226_0x3794;function a226_0x3794(_0x5a7fa1,_0xa0b7d1){_0x5a7fa1=_0x5a7fa1-0x1b5;const _0x550cbe=a226_0x550c();let _0x379468=_0x550cbe[_0x5a7fa1];return _0x379468;}(function(_0xfba1c8,_0x19ea1a){const _0x53c080=a226_0x3794,_0x5cc41f=_0xfba1c8();while(!![]){try{const _0x923339=-parseInt(_0x53c080(0x1c0))/0x1*(-parseInt(_0x53c080(0x1bf))/0x2)+-parseInt(_0x53c080(0x1b5))/0x3*(parseInt(_0x53c080(0x1b9))/0x4)+parseInt(_0x53c080(0x1ba))/0x5*(-parseInt(_0x53c080(0x1be))/0x6)+parseInt(_0x53c080(0x1c1))/0x7+parseInt(_0x53c080(0x1bb))/0x8+parseInt(_0x53c080(0x1bd))/0x9*(parseInt(_0x53c080(0x1c2))/0xa)+-parseInt(_0x53c080(0x1b7))/0xb*(parseInt(_0x53c080(0x1b6))/0xc);if(_0x923339===_0x19ea1a)break;else _0x5cc41f['push'](_0x5cc41f['shift']());}catch(_0x4651b7){_0x5cc41f['push'](_0x5cc41f['shift']());}}}(a226_0x550c,0xd449a));function a226_0x550c(){const _0x4be654=['pretty','369dZUnWE','6yxENuJ','826466msyKXr','3piGGVP','7818867CSTMWd','248590SrySdg','605541UZbpEd','1141644FbKYNS','242NBMXWv','json','12nvlzHB','5179305yXxwuh','9824376mtigyT'];a226_0x550c=function(){return _0x4be654;};return a226_0x550c();}export const RABETBASE_OUTPUT_FORMAT_VALUES=[a226_0x43bd0a(0x1b8),a226_0x43bd0a(0x1bc),'compress'];
1
+ const a225_0x172e43=a225_0x4732;(function(_0x52552d,_0x64d41c){const _0x42b124=a225_0x4732,_0x3c0601=_0x52552d();while(!![]){try{const _0x3573f9=parseInt(_0x42b124(0xf6))/0x1*(-parseInt(_0x42b124(0xf1))/0x2)+-parseInt(_0x42b124(0xf5))/0x3*(-parseInt(_0x42b124(0xf3))/0x4)+-parseInt(_0x42b124(0xf4))/0x5+parseInt(_0x42b124(0xfc))/0x6*(parseInt(_0x42b124(0xf2))/0x7)+parseInt(_0x42b124(0xf7))/0x8+-parseInt(_0x42b124(0xfb))/0x9*(-parseInt(_0x42b124(0xf0))/0xa)+-parseInt(_0x42b124(0xf8))/0xb;if(_0x3573f9===_0x64d41c)break;else _0x3c0601['push'](_0x3c0601['shift']());}catch(_0x14fdcf){_0x3c0601['push'](_0x3c0601['shift']());}}}(a225_0xf5a5,0x71427));function a225_0x4732(_0x1a0f1b,_0xfc19f1){_0x1a0f1b=_0x1a0f1b-0xef;const _0xf5a5bd=a225_0xf5a5();let _0x473299=_0xf5a5bd[_0x1a0f1b];return _0x473299;}export const RABETBASE_OUTPUT_FORMAT_VALUES=[a225_0x172e43(0xef),a225_0x172e43(0xf9),a225_0x172e43(0xfa)];function a225_0xf5a5(){const _0x103242=['2540724fPPVAu','json','850LzaBrQ','34802FiEUjB','14dEYKYU','297196dOEaFn','588110UBDUaa','33knOMms','40TSpGGH','3890376Qsoqvv','12617506TEEzrr','pretty','compress','29025aOtuPG'];a225_0xf5a5=function(){return _0x103242;};return a225_0xf5a5();}
@@ -1 +1 @@
1
- (function(_0x5ac086,_0x39522c){const _0x4b1786=a227_0x5464,_0x1d556d=_0x5ac086();while(!![]){try{const _0x2f9714=parseInt(_0x4b1786(0x163))/0x1*(-parseInt(_0x4b1786(0x161))/0x2)+parseInt(_0x4b1786(0x167))/0x3*(parseInt(_0x4b1786(0x16a))/0x4)+parseInt(_0x4b1786(0x165))/0x5+parseInt(_0x4b1786(0x16b))/0x6+parseInt(_0x4b1786(0x168))/0x7*(-parseInt(_0x4b1786(0x164))/0x8)+parseInt(_0x4b1786(0x162))/0x9*(-parseInt(_0x4b1786(0x169))/0xa)+parseInt(_0x4b1786(0x166))/0xb;if(_0x2f9714===_0x39522c)break;else _0x1d556d['push'](_0x1d556d['shift']());}catch(_0x1cba1e){_0x1d556d['push'](_0x1d556d['shift']());}}}(a227_0x5c27,0xaed75));export const DEFAULT_API_DIR='./src/api';function a227_0x5464(_0x596e83,_0x55e74f){_0x596e83=_0x596e83-0x161;const _0x5c27c1=a227_0x5c27();let _0x5464a5=_0x5c27c1[_0x596e83];return _0x5464a5;}function a227_0x5c27(){const _0x4e2be2=['175127ADLfIr','7597592hhOrIO','6016850pajgZX','1958583bHLcqI','792xofsro','7UrPNyK','79270aLbBJv','5276EncnOy','3474174Zlvaxn','2hGDDPG','531YwXCCP'];a227_0x5c27=function(){return _0x4e2be2;};return a227_0x5c27();}
1
+ function a226_0x1cd9(){const _0xfaa36b=['3gBtSZn','970186QuPcZs','9368776ynIjbt','2546148qrpivD','5382678QmWCRw','3476166nMEdlQ','./src/api','3042780iDzHEH','924142LaqUaa'];a226_0x1cd9=function(){return _0xfaa36b;};return a226_0x1cd9();}function a226_0x69b6(_0x342312,_0x1311b5){_0x342312=_0x342312-0x9d;const _0x1cd9ad=a226_0x1cd9();let _0x69b6bd=_0x1cd9ad[_0x342312];return _0x69b6bd;}const a226_0x3ffed7=a226_0x69b6;(function(_0x4812fc,_0x2facf6){const _0x56ea64=a226_0x69b6,_0x5830b4=_0x4812fc();while(!![]){try{const _0x50f121=parseInt(_0x56ea64(0xa0))/0x1+-parseInt(_0x56ea64(0xa2))/0x2+-parseInt(_0x56ea64(0xa1))/0x3*(parseInt(_0x56ea64(0xa4))/0x4)+parseInt(_0x56ea64(0x9f))/0x5+parseInt(_0x56ea64(0x9d))/0x6+parseInt(_0x56ea64(0xa5))/0x7+-parseInt(_0x56ea64(0xa3))/0x8;if(_0x50f121===_0x2facf6)break;else _0x5830b4['push'](_0x5830b4['shift']());}catch(_0xa3a2f7){_0x5830b4['push'](_0x5830b4['shift']());}}}(a226_0x1cd9,0x8f9fe));export const DEFAULT_API_DIR=a226_0x3ffed7(0x9e);
@@ -1 +1 @@
1
- (function(_0x2dce58,_0x9b7247){const _0x540655=a228_0x4110,_0x2d9652=_0x2dce58();while(!![]){try{const _0x31f67f=parseInt(_0x540655(0x1f3))/0x1+parseInt(_0x540655(0x1f2))/0x2+-parseInt(_0x540655(0x1fc))/0x3*(parseInt(_0x540655(0x1f6))/0x4)+-parseInt(_0x540655(0x1f4))/0x5*(parseInt(_0x540655(0x1f9))/0x6)+parseInt(_0x540655(0x1f7))/0x7+parseInt(_0x540655(0x1f1))/0x8*(-parseInt(_0x540655(0x1fa))/0x9)+-parseInt(_0x540655(0x1fb))/0xa;if(_0x31f67f===_0x9b7247)break;else _0x2d9652['push'](_0x2d9652['shift']());}catch(_0x3f29af){_0x2d9652['push'](_0x2d9652['shift']());}}}(a228_0x5ca8,0x7a63f));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;function a228_0x5ca8(){const _0x2046b9=['4HqcBPT','6092373qGlrWS','string','594pZNUll','333hwzCqL','714900oCpuiB','133023lmusVW','159992ODbfKf','1243516IVUSUw','795014czxuyM','46970YKMFRn','includes'];a228_0x5ca8=function(){return _0x2046b9;};return a228_0x5ca8();}export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;function a228_0x4110(_0x44ff85,_0x4b4af4){_0x44ff85=_0x44ff85-0x1f1;const _0x5ca89e=a228_0x5ca8();let _0x4110d7=_0x5ca89e[_0x44ff85];return _0x4110d7;}export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x35481f){const _0x1e840c=a228_0x4110;return typeof _0x35481f===_0x1e840c(0x1f8)&&LOVRABET_REGION_VALUES[_0x1e840c(0x1f5)](_0x35481f);}export function isEnabledLovrabetRegion(_0xfd3dc8){const _0x4b7761=a228_0x4110;return typeof _0xfd3dc8===_0x4b7761(0x1f8)&&ENABLED_LOVRABET_REGION_VALUES[_0x4b7761(0x1f5)](_0xfd3dc8);}export function normalizeLovrabetRegion(_0x583dbf){if(typeof _0x583dbf!=='string')return undefined;const _0x4c7c57=REGION_ALIASES[_0x583dbf]??_0x583dbf;return isLovrabetRegion(_0x4c7c57)?_0x4c7c57:undefined;}export function isInvalidLovrabetRegion(_0x52c955){return _0x52c955!==undefined&&_0x52c955!==null&&_0x52c955!==''&&normalizeLovrabetRegion(_0x52c955)===undefined;}
1
+ function a227_0x4439(){const _0x1db415=['string','36968mdDAOp','1920GESvbz','5886rSEhyL','329002czjZyC','288190pPnyPl','includes','1314568ddWIhq','426054WbWqxG','44289wdEBPi','18zadgUC'];a227_0x4439=function(){return _0x1db415;};return a227_0x4439();}(function(_0x1e2767,_0x2e35d3){const _0x584387=a227_0x285b,_0x31d7d3=_0x1e2767();while(!![]){try{const _0xc47e55=-parseInt(_0x584387(0x192))/0x1+-parseInt(_0x584387(0x18f))/0x2*(parseInt(_0x584387(0x18d))/0x3)+parseInt(_0x584387(0x18a))/0x4+parseInt(_0x584387(0x188))/0x5+parseInt(_0x584387(0x18b))/0x6+-parseInt(_0x584387(0x18c))/0x7+parseInt(_0x584387(0x190))/0x8*(parseInt(_0x584387(0x191))/0x9);if(_0xc47e55===_0x2e35d3)break;else _0x31d7d3['push'](_0x31d7d3['shift']());}catch(_0x361a96){_0x31d7d3['push'](_0x31d7d3['shift']());}}}(a227_0x4439,0x29050));import{DEFAULT_REGION,ENABLED_REGION_VALUES,REGION_ALIASES,REGION_VALUES}from'../generated/official-routing.js';export const LOVRABET_REGION_VALUES=REGION_VALUES;export const ENABLED_LOVRABET_REGION_VALUES=ENABLED_REGION_VALUES;export const DEFAULT_LOVRABET_REGION=DEFAULT_REGION;export function isLovrabetRegion(_0x524ea){const _0x10cdb9=a227_0x285b;return typeof _0x524ea==='string'&&LOVRABET_REGION_VALUES[_0x10cdb9(0x189)](_0x524ea);}function a227_0x285b(_0x169af3,_0x1e31f5){_0x169af3=_0x169af3-0x188;const _0x443907=a227_0x4439();let _0x285ba7=_0x443907[_0x169af3];return _0x285ba7;}export function isEnabledLovrabetRegion(_0x5ef38c){const _0x1d0073=a227_0x285b;return typeof _0x5ef38c===_0x1d0073(0x18e)&&ENABLED_LOVRABET_REGION_VALUES[_0x1d0073(0x189)](_0x5ef38c);}export function normalizeLovrabetRegion(_0x3271d4){const _0x4d0d87=a227_0x285b;if(typeof _0x3271d4!==_0x4d0d87(0x18e))return undefined;const _0x16386d=REGION_ALIASES[_0x3271d4]??_0x3271d4;return isLovrabetRegion(_0x16386d)?_0x16386d:undefined;}export function isInvalidLovrabetRegion(_0x15981e){return _0x15981e!==undefined&&_0x15981e!==null&&_0x15981e!==''&&normalizeLovrabetRegion(_0x15981e)===undefined;}
@@ -1 +1 @@
1
- const a229_0x54c82f=a229_0x5980;(function(_0x2b444b,_0x272e40){const _0x4a9f09=a229_0x5980,_0xa7ceaf=_0x2b444b();while(!![]){try{const _0xedb322=-parseInt(_0x4a9f09(0xb7))/0x1+-parseInt(_0x4a9f09(0xba))/0x2*(parseInt(_0x4a9f09(0xb2))/0x3)+parseInt(_0x4a9f09(0xb5))/0x4*(parseInt(_0x4a9f09(0xb8))/0x5)+parseInt(_0x4a9f09(0xb3))/0x6+parseInt(_0x4a9f09(0xbc))/0x7+-parseInt(_0x4a9f09(0xbd))/0x8*(-parseInt(_0x4a9f09(0xb6))/0x9)+parseInt(_0x4a9f09(0xb4))/0xa;if(_0xedb322===_0x272e40)break;else _0xa7ceaf['push'](_0xa7ceaf['shift']());}catch(_0x98dceb){_0xa7ceaf['push'](_0xa7ceaf['shift']());}}}(a229_0x5f4e,0x304a6));function a229_0x5980(_0x3e48f9,_0x1bf5bb){_0x3e48f9=_0x3e48f9-0xb2;const _0x5f4e9d=a229_0x5f4e();let _0x5980f5=_0x5f4e9d[_0x3e48f9];return _0x5980f5;}export const RISK_LEVEL_VALUES=['read',a229_0x54c82f(0xbb),a229_0x54c82f(0xb9)];function a229_0x5f4e(){const _0x3113b6=['1500422RLkoeu','8RNgpjI','240RNXgbt','1093434HLSUDu','564070PyBmyZ','4QUnmaj','315963nWttBD','127236cLUwTm','787875jnwKoT','high-risk-write','8016peCzpq','write'];a229_0x5f4e=function(){return _0x3113b6;};return a229_0x5f4e();}
1
+ const a228_0x24c30d=a228_0x10a3;function a228_0x10a3(_0x2c84dd,_0x5b380f){_0x2c84dd=_0x2c84dd-0x193;const _0xb1702=a228_0xb170();let _0x10a315=_0xb1702[_0x2c84dd];return _0x10a315;}(function(_0x169e62,_0x58280e){const _0x519959=a228_0x10a3,_0x403901=_0x169e62();while(!![]){try{const _0x2d5def=parseInt(_0x519959(0x196))/0x1+-parseInt(_0x519959(0x19d))/0x2*(-parseInt(_0x519959(0x19e))/0x3)+parseInt(_0x519959(0x197))/0x4*(-parseInt(_0x519959(0x19b))/0x5)+-parseInt(_0x519959(0x198))/0x6+parseInt(_0x519959(0x194))/0x7*(parseInt(_0x519959(0x19c))/0x8)+parseInt(_0x519959(0x19f))/0x9+-parseInt(_0x519959(0x193))/0xa;if(_0x2d5def===_0x58280e)break;else _0x403901['push'](_0x403901['shift']());}catch(_0xe8990d){_0x403901['push'](_0x403901['shift']());}}}(a228_0xb170,0x96293));export const RISK_LEVEL_VALUES=[a228_0x24c30d(0x199),a228_0x24c30d(0x19a),a228_0x24c30d(0x195)];function a228_0xb170(){const _0xeb12e5=['5503590zOeFGy','5928060QvgIIA','1407IVWXPf','high-risk-write','1108243KxyDBJ','4300eDNcLK','6952446gYjrwS','read','write','485QbwGXO','1952iFbuJJ','351042gGZOTq','12rXwgbX'];a228_0xb170=function(){return _0xeb12e5;};return a228_0xb170();}
@@ -1 +1 @@
1
- (function(_0x4b929a,_0x37621d){const _0x4919c7=a230_0x20eb,_0x4526cf=_0x4b929a();while(!![]){try{const _0x178aba=-parseInt(_0x4919c7(0x134))/0x1*(-parseInt(_0x4919c7(0x132))/0x2)+parseInt(_0x4919c7(0x130))/0x3*(-parseInt(_0x4919c7(0x13b))/0x4)+-parseInt(_0x4919c7(0x133))/0x5+-parseInt(_0x4919c7(0x135))/0x6*(-parseInt(_0x4919c7(0x131))/0x7)+-parseInt(_0x4919c7(0x137))/0x8*(-parseInt(_0x4919c7(0x136))/0x9)+parseInt(_0x4919c7(0x12f))/0xa+-parseInt(_0x4919c7(0x139))/0xb;if(_0x178aba===_0x37621d)break;else _0x4526cf['push'](_0x4526cf['shift']());}catch(_0x47d9b8){_0x4526cf['push'](_0x4526cf['shift']());}}}(a230_0x4637,0x190a4));import{OFFICIAL_ROUTING_PROFILES as a230_0x2fcfa5,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';export const OFFICIAL_ROUTING_PROFILES=a230_0x2fcfa5;export{ROUTING_CATALOG_DIGEST};export function getOfficialRoutingProfile(_0x16c189){return OFFICIAL_ROUTING_PROFILES[_0x16c189];}function a230_0x20eb(_0x4c9ed0,_0x58cb41){_0x4c9ed0=_0x4c9ed0-0x12e;const _0x4637d0=a230_0x4637();let _0x20eb4a=_0x4637d0[_0x4c9ed0];return _0x20eb4a;}function a230_0x4637(){const _0x388732=['39ETxEQk','91sdTHyE','2VOvcnk','264500CJIzRk','85783GDrwXh','92898PjPDcc','906786gBayvR','8GcHZxn','Official\x20routing\x20for\x20region\x20\x22','1556786LOEZFb','libraries','46652FOBIZB','lovrabet','cdn','\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.','607930jGdxcY'];a230_0x4637=function(){return _0x388732;};return a230_0x4637();}export function getOfficialRoutingCdn(_0x33440b){const _0x4c5680=a230_0x20eb,_0x276647=getOfficialRoutingProfile(_0x33440b)[_0x4c5680(0x13d)];if(!_0x276647[_0x4c5680(0x13c)])throw new Error(_0x4c5680(0x138)+_0x33440b+_0x4c5680(0x12e));return{'libraries':_0x276647[_0x4c5680(0x13a)],'lovrabet':_0x276647[_0x4c5680(0x13c)]};}
1
+ (function(_0x5f41ab,_0x3d4ab4){const _0x3de477=a229_0x88e4,_0x178df8=_0x5f41ab();while(!![]){try{const _0x34adf6=parseInt(_0x3de477(0x192))/0x1*(-parseInt(_0x3de477(0x18b))/0x2)+-parseInt(_0x3de477(0x185))/0x3+-parseInt(_0x3de477(0x18a))/0x4*(parseInt(_0x3de477(0x191))/0x5)+-parseInt(_0x3de477(0x193))/0x6*(parseInt(_0x3de477(0x187))/0x7)+-parseInt(_0x3de477(0x189))/0x8+parseInt(_0x3de477(0x18c))/0x9*(-parseInt(_0x3de477(0x18d))/0xa)+parseInt(_0x3de477(0x190))/0xb;if(_0x34adf6===_0x3d4ab4)break;else _0x178df8['push'](_0x178df8['shift']());}catch(_0x3e8a98){_0x178df8['push'](_0x178df8['shift']());}}}(a229_0x14c4,0x5e606));import{OFFICIAL_ROUTING_PROFILES as a229_0xcccea6,ROUTING_CATALOG_DIGEST}from'../generated/official-routing.js';function a229_0x14c4(){const _0x62fccb=['lovrabet','libraries','24854676BctvZI','5JlhNZc','399097qhTGDQ','204IDyLln','1423296YsJzoH','\x22\x20is\x20not\x20ready:\x20Lovrabet\x20CDN\x20Domain\x20is\x20not\x20configured.','3738LPrrXd','cdn','3482728hqEtpn','1458420nnCnsf','2jiODar','9IqjdFe','1813190nrruaU'];a229_0x14c4=function(){return _0x62fccb;};return a229_0x14c4();}export const OFFICIAL_ROUTING_PROFILES=a229_0xcccea6;function a229_0x88e4(_0x59353c,_0x17ba4f){_0x59353c=_0x59353c-0x185;const _0x14c461=a229_0x14c4();let _0x88e464=_0x14c461[_0x59353c];return _0x88e464;}export{ROUTING_CATALOG_DIGEST};export function getOfficialRoutingProfile(_0x3a511d){return OFFICIAL_ROUTING_PROFILES[_0x3a511d];}export function getOfficialRoutingCdn(_0x3c7954){const _0x192351=a229_0x88e4,_0x488ef5=getOfficialRoutingProfile(_0x3c7954)[_0x192351(0x188)];if(!_0x488ef5[_0x192351(0x18e)])throw new Error('Official\x20routing\x20for\x20region\x20\x22'+_0x3c7954+_0x192351(0x186));return{'libraries':_0x488ef5[_0x192351(0x18f)],'lovrabet':_0x488ef5[_0x192351(0x18e)]};}
@@ -1,6 +1,5 @@
1
1
  import { type OutputFormat, type Risk } from "../framework/types.js";
2
2
  import type { RawConfigLayers } from "../context/config-loader.js";
3
- import type { DeploymentSyncProfile } from "../config/deployment-sync.js";
4
3
  export interface AppProfile {
5
4
  appcode: string;
6
5
  env?: "production" | "daily";
@@ -11,7 +10,6 @@ export interface AppProfile {
11
10
  pageSize?: number;
12
11
  riskLevel?: Risk;
13
12
  locale?: string;
14
- deploymentSync?: DeploymentSyncProfile;
15
13
  }
16
14
  export interface ResolvedAppConfig {
17
15
  appCode: string | undefined;
@@ -1 +1 @@
1
- (function(_0x2258c2,_0x475bb2){const _0x3f4a74=a231_0x7722,_0x6b0b45=_0x2258c2();while(!![]){try{const _0x45858a=-parseInt(_0x3f4a74(0x188))/0x1+-parseInt(_0x3f4a74(0x185))/0x2+parseInt(_0x3f4a74(0x177))/0x3*(-parseInt(_0x3f4a74(0x17e))/0x4)+-parseInt(_0x3f4a74(0x17d))/0x5*(-parseInt(_0x3f4a74(0x18e))/0x6)+-parseInt(_0x3f4a74(0x190))/0x7+parseInt(_0x3f4a74(0x191))/0x8+-parseInt(_0x3f4a74(0x173))/0x9*(-parseInt(_0x3f4a74(0x180))/0xa);if(_0x45858a===_0x475bb2)break;else _0x6b0b45['push'](_0x6b0b45['shift']());}catch(_0x365a35){_0x6b0b45['push'](_0x6b0b45['shift']());}}}(a231_0x106a,0xa6bcb));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,normalizeEnv}from'../constant/env.js';function a231_0x7722(_0x39ca4a,_0x5bf243){_0x39ca4a=_0x39ca4a-0x16e;const _0x106acf=a231_0x106a();let _0x77223d=_0x106acf[_0x39ca4a];return _0x77223d;}import{normalizeLegacyOutputFormat,riskLevelOrder}from'../framework/types.js';function stringConfigValue(_0x4ea176){const _0x77ab07=a231_0x7722;return typeof _0x4ea176===_0x77ab07(0x170)&&_0x4ea176[_0x77ab07(0x184)]()?_0x4ea176[_0x77ab07(0x184)]():undefined;}function a231_0x106a(){const _0xd484f2=['207laUpVt','env','accessKey','format','74061nfFdEU','projectPath','apps','locale','length','FORMAT','4185705PISjVF','84uPMTsI','projectConfig','408530WuTJLn','daily','app','VERBOSE','trim','1560462qxinxW','PAGE_SIZE','riskLevel','184967uocXzf','object','entries','appcode','write','defaultApp','6KTDHMG','keys','1819454uqksjX','5197936ltCTIn','read','ENV','find','APP','globalConfig','high-risk-write','production','pageSize','string','cookie','apiDir'];a231_0x106a=function(){return _0xd484f2;};return a231_0x106a();}function appProfiles(_0x1e9af7){const _0x48c6e6=a231_0x7722;return _0x1e9af7[_0x48c6e6(0x179)]&&typeof _0x1e9af7[_0x48c6e6(0x179)]===_0x48c6e6(0x189)?_0x1e9af7[_0x48c6e6(0x179)]:{};}function resolveDefaultAppName(_0x3c4451){const _0x359f3=a231_0x7722,_0x24ef82=stringConfigValue(_0x3c4451[_0x359f3(0x18d)]);if(_0x24ef82)return _0x24ef82;const _0x998d12=Object[_0x359f3(0x18f)](appProfiles(_0x3c4451));return _0x998d12[_0x359f3(0x17b)]===0x1?_0x998d12[0x0]:undefined;}function resolveTopLevelAppCode(_0x2479ae){const _0x35e0f2=a231_0x7722;return stringConfigValue(_0x2479ae[_0x35e0f2(0x18b)])||stringConfigValue(_0x2479ae[_0x35e0f2(0x182)]);}function normalizeRiskCeiling(_0x35a1cd){const _0x3fa287=a231_0x7722;if(_0x35a1cd===undefined||_0x35a1cd===null)return undefined;if(_0x35a1cd===_0x3fa287(0x192)||_0x35a1cd===_0x3fa287(0x18c)||_0x35a1cd===_0x3fa287(0x197))return _0x35a1cd;return _0x3fa287(0x192);}function resolveRiskCeiling(..._0x5ae63e){let _0x43371f;for(const _0x5deb60 of _0x5ae63e){const _0x2acaf6=normalizeRiskCeiling(_0x5deb60);_0x2acaf6&&(!_0x43371f||riskLevelOrder(_0x2acaf6)<riskLevelOrder(_0x43371f))&&(_0x43371f=_0x2acaf6);}return _0x43371f??DEFAULT_CONFIG_VALUES['riskLevel'];}export function resolveAppConfig({raw:_0x4fa858,flags:_0x54c5cf,layers:_0x3c2d5f,readEnv:_0x541a00}){const _0x4b613e=a231_0x7722,_0x2ee4c9=_0x3c2d5f?.[_0x4b613e(0x17f)]??{},_0x27dbcd=_0x3c2d5f?.[_0x4b613e(0x196)]??{},_0x30bbb5=!!_0x3c2d5f?.[_0x4b613e(0x178)]||Object[_0x4b613e(0x18f)](_0x2ee4c9)['length']>0x0,_0xc776d2=!_0x30bbb5,_0x45a783=_0x30bbb5?resolveDefaultAppName(_0x2ee4c9):undefined,_0x57e62e=_0xc776d2?resolveDefaultAppName(_0x27dbcd):undefined,_0x36d979=stringConfigValue(_0x54c5cf[_0x4b613e(0x182)]),_0x125b66=_0x541a00(_0x4b613e(0x195)),_0x2351f5={};if(_0x4fa858[_0x4b613e(0x179)]&&typeof _0x4fa858[_0x4b613e(0x179)]==='object')for(const [_0x1ec471,_0x335e87]of Object[_0x4b613e(0x18a)](_0x4fa858[_0x4b613e(0x179)])){_0x335e87&&typeof _0x335e87===_0x4b613e(0x189)&&_0x335e87[_0x4b613e(0x18b)]&&(_0x2351f5[_0x1ec471]=_0x335e87);}const _0x2fef09=_0x45a783||_0x57e62e||resolveDefaultAppName(_0x4fa858),_0x53dac9=Object[_0x4b613e(0x18f)](_0x2351f5)[_0x4b613e(0x17b)]>0x0,_0x2a63d1=_0x36d979||_0x45a783||_0x125b66||_0x57e62e||_0x2fef09||undefined,_0xebf62=stringConfigValue(_0x54c5cf[_0x4b613e(0x18b)]),_0x575887=_0xebf62?Object[_0x4b613e(0x18a)](_0x2351f5)[_0x4b613e(0x194)](([,_0x44f798])=>_0x44f798?.[_0x4b613e(0x18b)]===_0xebf62):undefined,_0xd7a55c=_0x575887?.[0x0],_0x46e55b=_0x575887?.[0x1],_0x29b406=_0xebf62?_0xd7a55c:_0x2a63d1;let _0x399942=_0x29b406&&_0x2351f5[_0x29b406]?_0x2351f5[_0x29b406]:undefined;_0xebf62&&_0x46e55b&&(_0x399942=_0x46e55b);const _0x27c379=_0xebf62?_0x46e55b??_0x399942:_0x399942,_0x36ae7a=!_0x36d979&&!_0x45a783&&_0x125b66&&_0x29b406===_0x125b66,_0xfac6a8=_0x36d979||(_0x36ae7a?_0x125b66:undefined)||(_0xebf62?_0xd7a55c:undefined),_0x183622=_0x27c379?.[_0x4b613e(0x18b)],_0x234690=_0x30bbb5?resolveTopLevelAppCode(_0x2ee4c9):undefined,_0x849bd4=_0xc776d2?resolveTopLevelAppCode(_0x27dbcd):undefined,_0x24f7e4=_0x36d979||_0x45a783?_0x183622:undefined,_0x2f7d7b=!_0x36d979&&!_0x45a783?_0x183622:undefined,_0x2991db=_0xebf62||_0x24f7e4||_0x234690||_0x2f7d7b||_0x849bd4||undefined,_0x5350bd=_0x30bbb5?stringConfigValue(_0x2ee4c9['env']):undefined,_0x5ec8a7=_0xc776d2?stringConfigValue(_0x27dbcd[_0x4b613e(0x174)]):undefined,_0x5b9f47=_0x54c5cf['env']||_0x27c379?.[_0x4b613e(0x174)]||_0x5350bd||_0x541a00(_0x4b613e(0x193))||_0x5ec8a7||_0x4fa858[_0x4b613e(0x174)]||DEFAULT_CONFIG_VALUES['env'],_0x3d78bf=_0x27c379?.[_0x4b613e(0x17a)]||_0x4fa858['locale']||DEFAULT_CONFIG_VALUES[_0x4b613e(0x17a)],_0x8c1797=_0x541a00('COOKIE')||_0x27c379?.[_0x4b613e(0x171)]||_0x4fa858['cookie']||undefined,_0x5fd7a8=_0x541a00('ACCESS_KEY')||_0x27c379?.[_0x4b613e(0x175)]||_0x4fa858[_0x4b613e(0x175)]||undefined,_0x30d631=_0x54c5cf['format']||_0x541a00(_0x4b613e(0x17c))||_0x27c379?.[_0x4b613e(0x176)]||_0x4fa858[_0x4b613e(0x176)],_0x5b4eca=normalizeLegacyOutputFormat(_0x30d631),_0x191b5a=_0x541a00(_0x4b613e(0x186))||_0x27c379?.[_0x4b613e(0x16f)]||_0x4fa858['pageSize'],_0x3cc0df=_0x191b5a?Number(_0x191b5a)||undefined:undefined,_0x4e9dd4=_0x3c2d5f?[_0x3c2d5f['globalConfig'][_0x4b613e(0x187)],_0x3c2d5f[_0x4b613e(0x17f)][_0x4b613e(0x187)]]:[_0x4fa858[_0x4b613e(0x187)]],_0x12bab5=resolveRiskCeiling(..._0x4e9dd4,_0x27c379?.['riskLevel']),_0x5523b2=resolveRiskCeiling(_0x12bab5,_0x541a00('RISK_LEVEL')),_0x24875f=_0x541a00(_0x4b613e(0x183)),_0x4f00ce=_0x24875f==='1'||_0x24875f==='true',_0x4e726c=_0x27c379?.[_0x4b613e(0x172)]||_0x4fa858[_0x4b613e(0x172)]||DEFAULT_CONFIG_VALUES[_0x4b613e(0x172)],_0x36b929=isDaily(normalizeEnv(String(_0x5b9f47)))?_0x4b613e(0x181):_0x4b613e(0x16e);return{'appCode':typeof _0x2991db===_0x4b613e(0x170)&&_0x2991db[_0x4b613e(0x184)]()?_0x2991db[_0x4b613e(0x184)]():undefined,'env':_0x36b929,'locale':_0x3d78bf,'cookie':_0x8c1797,'accessKey':_0x5fd7a8,'format':_0x5b4eca,'pageSize':_0x3cc0df,'riskLevel':_0x5523b2,'verbose':_0x4f00ce,'apiDir':_0x4e726c,'apps':_0x2351f5,'defaultApp':_0x2fef09,'currentApp':_0x53dac9?_0x29b406:undefined,'explicitAppName':_0xfac6a8};}
1
+ (function(_0x16f869,_0x51d927){const _0x31680a=a230_0x2e63,_0x4f5540=_0x16f869();while(!![]){try{const _0x200daa=-parseInt(_0x31680a(0xbb))/0x1*(parseInt(_0x31680a(0xa2))/0x2)+parseInt(_0x31680a(0xbc))/0x3*(parseInt(_0x31680a(0xa1))/0x4)+-parseInt(_0x31680a(0xa7))/0x5*(-parseInt(_0x31680a(0xa6))/0x6)+-parseInt(_0x31680a(0xb3))/0x7*(parseInt(_0x31680a(0xa0))/0x8)+-parseInt(_0x31680a(0xb8))/0x9*(parseInt(_0x31680a(0xa8))/0xa)+parseInt(_0x31680a(0xa4))/0xb*(parseInt(_0x31680a(0xa3))/0xc)+-parseInt(_0x31680a(0xba))/0xd;if(_0x200daa===_0x51d927)break;else _0x4f5540['push'](_0x4f5540['shift']());}catch(_0x1dd01c){_0x4f5540['push'](_0x4f5540['shift']());}}}(a230_0x528f,0x8e612));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,normalizeEnv}from'../constant/env.js';import{normalizeLegacyOutputFormat,riskLevelOrder}from'../framework/types.js';function a230_0x528f(){const _0x3bb3b0=['apps','54xhjipJ','564540UIMsxS','543960hdlOFy','locale','riskLevel','app','object','true','appcode','string','globalConfig','write','projectPath','1360135PnEitQ','ACCESS_KEY','COOKIE','ENV','cookie','153gMhPqb','VERBOSE','1187212vhWdrS','5gJraet','846ciBBCE','projectConfig','length','production','apiDir','keys','APP','defaultApp','pageSize','read','env','format','daily','RISK_LEVEL','PAGE_SIZE','trim','high-risk-write','8Hwfidu','11956qMvgYG','401386NlVXYj','12ifDTut','10317362nDumjp'];a230_0x528f=function(){return _0x3bb3b0;};return a230_0x528f();}function stringConfigValue(_0x168263){return typeof _0x168263==='string'&&_0x168263['trim']()?_0x168263['trim']():undefined;}function appProfiles(_0x3d5530){const _0x468c04=a230_0x2e63;return _0x3d5530[_0x468c04(0xa5)]&&typeof _0x3d5530[_0x468c04(0xa5)]==='object'?_0x3d5530[_0x468c04(0xa5)]:{};}function resolveDefaultAppName(_0x56801a){const _0xe32b1=a230_0x2e63,_0xab41ee=stringConfigValue(_0x56801a[_0xe32b1(0x96)]);if(_0xab41ee)return _0xab41ee;const _0x3c945a=Object[_0xe32b1(0x94)](appProfiles(_0x56801a));return _0x3c945a[_0xe32b1(0xbe)]===0x1?_0x3c945a[0x0]:undefined;}function a230_0x2e63(_0x4fc7dd,_0x4c6b8a){_0x4fc7dd=_0x4fc7dd-0x92;const _0x528f48=a230_0x528f();let _0x2e637a=_0x528f48[_0x4fc7dd];return _0x2e637a;}function resolveTopLevelAppCode(_0xb0b5d3){return stringConfigValue(_0xb0b5d3['appcode'])||stringConfigValue(_0xb0b5d3['app']);}function normalizeRiskCeiling(_0x14df3d){const _0x285ae8=a230_0x2e63;if(_0x14df3d===undefined||_0x14df3d===null)return undefined;if(_0x14df3d===_0x285ae8(0x98)||_0x14df3d===_0x285ae8(0xb1)||_0x14df3d===_0x285ae8(0x9f))return _0x14df3d;return'read';}function resolveRiskCeiling(..._0x43ffa7){const _0x5be186=a230_0x2e63;let _0x48ea87;for(const _0x136d3e of _0x43ffa7){const _0x31d0e4=normalizeRiskCeiling(_0x136d3e);_0x31d0e4&&(!_0x48ea87||riskLevelOrder(_0x31d0e4)<riskLevelOrder(_0x48ea87))&&(_0x48ea87=_0x31d0e4);}return _0x48ea87??DEFAULT_CONFIG_VALUES[_0x5be186(0xaa)];}export function resolveAppConfig({raw:_0x9ad949,flags:_0x211a99,layers:_0x32629d,readEnv:_0x53fde8}){const _0xf058ba=a230_0x2e63,_0x569a52=_0x32629d?.[_0xf058ba(0xbd)]??{},_0x468c5b=_0x32629d?.[_0xf058ba(0xb0)]??{},_0x226b75=!!_0x32629d?.[_0xf058ba(0xb2)]||Object[_0xf058ba(0x94)](_0x569a52)[_0xf058ba(0xbe)]>0x0,_0x3f3eba=!_0x226b75,_0x33bc7f=_0x226b75?resolveDefaultAppName(_0x569a52):undefined,_0x5f4f9e=_0x3f3eba?resolveDefaultAppName(_0x468c5b):undefined,_0x227385=stringConfigValue(_0x211a99[_0xf058ba(0xab)]),_0x21aa80=_0x53fde8(_0xf058ba(0x95)),_0x42df6a={};if(_0x9ad949[_0xf058ba(0xa5)]&&typeof _0x9ad949[_0xf058ba(0xa5)]==='object')for(const [_0x1e9e87,_0x4126a8]of Object['entries'](_0x9ad949[_0xf058ba(0xa5)])){_0x4126a8&&typeof _0x4126a8===_0xf058ba(0xac)&&_0x4126a8[_0xf058ba(0xae)]&&(_0x42df6a[_0x1e9e87]=_0x4126a8);}const _0x376b4c=_0x33bc7f||_0x5f4f9e||resolveDefaultAppName(_0x9ad949),_0x41d0a0=Object[_0xf058ba(0x94)](_0x42df6a)[_0xf058ba(0xbe)]>0x0,_0x17965e=_0x227385||_0x33bc7f||_0x21aa80||_0x5f4f9e||_0x376b4c||undefined,_0x4f4af3=stringConfigValue(_0x211a99['appcode']),_0x1a93c5=_0x4f4af3?Object['entries'](_0x42df6a)['find'](([,_0x359ac7])=>_0x359ac7?.[_0xf058ba(0xae)]===_0x4f4af3):undefined,_0x5687f0=_0x1a93c5?.[0x0],_0x1c65e7=_0x1a93c5?.[0x1],_0x238973=_0x4f4af3?_0x5687f0:_0x17965e;let _0x54ae1e=_0x238973&&_0x42df6a[_0x238973]?_0x42df6a[_0x238973]:undefined;_0x4f4af3&&_0x1c65e7&&(_0x54ae1e=_0x1c65e7);const _0x78dce3=_0x4f4af3?_0x1c65e7??_0x54ae1e:_0x54ae1e,_0x19acae=!_0x227385&&!_0x33bc7f&&_0x21aa80&&_0x238973===_0x21aa80,_0xfaf01=_0x227385||(_0x19acae?_0x21aa80:undefined)||(_0x4f4af3?_0x5687f0:undefined),_0x454310=_0x78dce3?.[_0xf058ba(0xae)],_0x43500a=_0x226b75?resolveTopLevelAppCode(_0x569a52):undefined,_0xa817b6=_0x3f3eba?resolveTopLevelAppCode(_0x468c5b):undefined,_0x2cf832=_0x227385||_0x33bc7f?_0x454310:undefined,_0x4eb968=!_0x227385&&!_0x33bc7f?_0x454310:undefined,_0x237ee6=_0x4f4af3||_0x2cf832||_0x43500a||_0x4eb968||_0xa817b6||undefined,_0x3dcb06=_0x226b75?stringConfigValue(_0x569a52['env']):undefined,_0x4edc71=_0x3f3eba?stringConfigValue(_0x468c5b[_0xf058ba(0x99)]):undefined,_0x6857f5=_0x211a99['env']||_0x78dce3?.[_0xf058ba(0x99)]||_0x3dcb06||_0x53fde8(_0xf058ba(0xb6))||_0x4edc71||_0x9ad949[_0xf058ba(0x99)]||DEFAULT_CONFIG_VALUES[_0xf058ba(0x99)],_0x1c2eee=_0x78dce3?.[_0xf058ba(0xa9)]||_0x9ad949[_0xf058ba(0xa9)]||DEFAULT_CONFIG_VALUES[_0xf058ba(0xa9)],_0x2b2b1a=_0x53fde8(_0xf058ba(0xb5))||_0x78dce3?.[_0xf058ba(0xb7)]||_0x9ad949['cookie']||undefined,_0x41b73e=_0x53fde8(_0xf058ba(0xb4))||_0x78dce3?.['accessKey']||_0x9ad949['accessKey']||undefined,_0x1a9023=_0x211a99[_0xf058ba(0x9a)]||_0x53fde8('FORMAT')||_0x78dce3?.[_0xf058ba(0x9a)]||_0x9ad949[_0xf058ba(0x9a)],_0x1eb233=normalizeLegacyOutputFormat(_0x1a9023),_0x11171a=_0x53fde8(_0xf058ba(0x9d))||_0x78dce3?.[_0xf058ba(0x97)]||_0x9ad949[_0xf058ba(0x97)],_0x4b7380=_0x11171a?Number(_0x11171a)||undefined:undefined,_0x12d6ca=_0x32629d?[_0x32629d['globalConfig'][_0xf058ba(0xaa)],_0x32629d[_0xf058ba(0xbd)][_0xf058ba(0xaa)]]:[_0x9ad949[_0xf058ba(0xaa)]],_0x631b59=resolveRiskCeiling(..._0x12d6ca,_0x78dce3?.[_0xf058ba(0xaa)]),_0x3b3eeb=resolveRiskCeiling(_0x631b59,_0x53fde8(_0xf058ba(0x9c))),_0x6607bd=_0x53fde8(_0xf058ba(0xb9)),_0x445046=_0x6607bd==='1'||_0x6607bd===_0xf058ba(0xad),_0x32b6ca=_0x78dce3?.[_0xf058ba(0x93)]||_0x9ad949[_0xf058ba(0x93)]||DEFAULT_CONFIG_VALUES[_0xf058ba(0x93)],_0x28f576=isDaily(normalizeEnv(String(_0x6857f5)))?_0xf058ba(0x9b):_0xf058ba(0x92);return{'appCode':typeof _0x237ee6===_0xf058ba(0xaf)&&_0x237ee6[_0xf058ba(0x9e)]()?_0x237ee6[_0xf058ba(0x9e)]():undefined,'env':_0x28f576,'locale':_0x1c2eee,'cookie':_0x2b2b1a,'accessKey':_0x41b73e,'format':_0x1eb233,'pageSize':_0x4b7380,'riskLevel':_0x3b3eeb,'verbose':_0x445046,'apiDir':_0x32b6ca,'apps':_0x42df6a,'defaultApp':_0x376b4c,'currentApp':_0x41d0a0?_0x238973:undefined,'explicitAppName':_0xfaf01};}
@@ -1 +1 @@
1
- function a232_0x36a5(_0x3bfe5b,_0xe7c5b8){_0x3bfe5b=_0x3bfe5b-0x1f4;const _0x4a0410=a232_0x4a04();let _0x36a517=_0x4a0410[_0x3bfe5b];return _0x36a517;}(function(_0xc5b9e0,_0x49ed37){const _0x4f0cdd=a232_0x36a5,_0x4b3f3f=_0xc5b9e0();while(!![]){try{const _0x3c5085=parseInt(_0x4f0cdd(0x1f7))/0x1*(parseInt(_0x4f0cdd(0x1fa))/0x2)+parseInt(_0x4f0cdd(0x1fc))/0x3+-parseInt(_0x4f0cdd(0x200))/0x4+-parseInt(_0x4f0cdd(0x1f5))/0x5*(parseInt(_0x4f0cdd(0x1ff))/0x6)+-parseInt(_0x4f0cdd(0x1f6))/0x7+-parseInt(_0x4f0cdd(0x1fe))/0x8+-parseInt(_0x4f0cdd(0x1f9))/0x9*(-parseInt(_0x4f0cdd(0x1fd))/0xa);if(_0x3c5085===_0x49ed37)break;else _0x4b3f3f['push'](_0x4b3f3f['shift']());}catch(_0x5bde06){_0x4b3f3f['push'](_0x4b3f3f['shift']());}}}(a232_0x4a04,0x493f8));import{getIsSessionValid}from'../auth/is-session-valid.js';import{CliErrors}from'../errors.js';function a232_0x4a04(){const _0x5f2c17=['585312dTSolp','3693400zWEIxZ','554696kNpbnA','35484ivJUAX','2028076eRgoxv','authRequired','415pkiuxX','2854670fbOxCb','2rteVQQ','cookie','36xAggtp','102588mYyqGr','../auth/get-cookie.js'];a232_0x4a04=function(){return _0x5f2c17;};return a232_0x4a04();}export async function buildAuth(_0x35f32d){const _0x493ac1=a232_0x36a5,{getCookie:_0x4955a1}=await import(_0x493ac1(0x1fb)),_0x2801d9=_0x35f32d[_0x493ac1(0x1f8)]||_0x4955a1(),_0x24f52d=_0x2801d9?await getIsSessionValid():![];return{'cookie':_0x2801d9,'isLoggedIn':_0x24f52d,async 'getOrLogin'(){const _0x2f4aff=_0x493ac1;if(_0x2801d9&&_0x24f52d)return _0x2801d9;throw CliErrors[_0x2f4aff(0x1f4)]();}};}
1
+ function a231_0x5b5b(_0x4451b0,_0x507117){_0x4451b0=_0x4451b0-0x6c;const _0x2dcfdd=a231_0x2dcf();let _0x5b5bf7=_0x2dcfdd[_0x4451b0];return _0x5b5bf7;}(function(_0x40b42c,_0xe3c22f){const _0x3eed90=a231_0x5b5b,_0x52df1c=_0x40b42c();while(!![]){try{const _0x5593d8=parseInt(_0x3eed90(0x78))/0x1*(-parseInt(_0x3eed90(0x74))/0x2)+parseInt(_0x3eed90(0x70))/0x3*(-parseInt(_0x3eed90(0x6c))/0x4)+parseInt(_0x3eed90(0x73))/0x5*(-parseInt(_0x3eed90(0x6d))/0x6)+-parseInt(_0x3eed90(0x7a))/0x7*(-parseInt(_0x3eed90(0x76))/0x8)+parseInt(_0x3eed90(0x75))/0x9*(-parseInt(_0x3eed90(0x79))/0xa)+-parseInt(_0x3eed90(0x72))/0xb+parseInt(_0x3eed90(0x77))/0xc*(parseInt(_0x3eed90(0x71))/0xd);if(_0x5593d8===_0xe3c22f)break;else _0x52df1c['push'](_0x52df1c['shift']());}catch(_0x2472cf){_0x52df1c['push'](_0x52df1c['shift']());}}}(a231_0x2dcf,0x81a7f));function a231_0x2dcf(){const _0x569fd1=['50991vyjFQj','5237843FwmacJ','3435861HuSGbh','3527360xNtQGg','1021624pesxDG','9tmTXSV','96jZLtSR','84CsirpS','2Vskxro','304890WKcoyb','10843ggtFZD','56uvcCCP','6uKLxhw','authRequired','cookie'];a231_0x2dcf=function(){return _0x569fd1;};return a231_0x2dcf();}import{getIsSessionValid}from'../auth/is-session-valid.js';import{CliErrors}from'../errors.js';export async function buildAuth(_0x1f5841){const _0xfe16f6=a231_0x5b5b,{getCookie:_0x219acb}=await import('../auth/get-cookie.js'),_0x28b5b2=_0x1f5841[_0xfe16f6(0x6f)]||_0x219acb(),_0x11e922=_0x28b5b2?await getIsSessionValid():![];return{'cookie':_0x28b5b2,'isLoggedIn':_0x11e922,async 'getOrLogin'(){const _0x22935b=_0xfe16f6;if(_0x28b5b2&&_0x11e922)return _0x28b5b2;throw CliErrors[_0x22935b(0x6e)]();}};}
@@ -1 +1 @@
1
- const a233_0x4ae55b=a233_0x45eb;(function(_0x27297c,_0x1d2ec2){const _0x48a9ad=a233_0x45eb,_0x26e508=_0x27297c();while(!![]){try{const _0x31f857=-parseInt(_0x48a9ad(0x1b3))/0x1+parseInt(_0x48a9ad(0x1c8))/0x2+-parseInt(_0x48a9ad(0x1c4))/0x3+-parseInt(_0x48a9ad(0x1cb))/0x4*(-parseInt(_0x48a9ad(0x19f))/0x5)+parseInt(_0x48a9ad(0x19b))/0x6+parseInt(_0x48a9ad(0x1b6))/0x7+-parseInt(_0x48a9ad(0x1c3))/0x8;if(_0x31f857===_0x1d2ec2)break;else _0x26e508['push'](_0x26e508['shift']());}catch(_0x383953){_0x26e508['push'](_0x26e508['shift']());}}}(a233_0x3c79,0x71c85));import{existsSync,mkdirSync,readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{dirname,parse,resolve}from'node:path';function a233_0x3c79(){const _0x3e6281=['4741134PNVoXD','env','inherit','appDomain','35IzMQLL','kbDomain','utf8','status','.rabetbase.json','apps','warn','.tmp','missing','locale','projectPath','message','keys','empty','format','runtimeDomain','skillDomain','localDomain','defaultApp','parse','585148SzxYKf','config','stringify','4902135jVPJyD','region','cwd','app','apiDomain','userDomain','length','apiDir','accessKey','appcode','set','trim','cookie','5832408MQjZXE','2789334UHceOc','get','error','\x0a\x20\x20','1191896aIyjBY','object','riskLevel','356336DBTbRW','migrated','pageSize'];a233_0x3c79=function(){return _0x3e6281;};return a233_0x3c79();}import{homedir}from'node:os';import{CLI_BIN_NAME}from'../constant/cli.js';export const NEW_CONFIG_NAME=a233_0x4ae55b(0x1a3);export const CONFIG_NAMES=[NEW_CONFIG_NAME];const normalizedWriteCache=new Map();export function resolveConfigPath(_0x178a7a){for(const _0x1db268 of CONFIG_NAMES){const _0xec9489=resolve(_0x178a7a,_0x1db268);if(existsSync(_0xec9489))return _0xec9489;}return undefined;}export function findProjectRootDirectory(_0x477109=process[a233_0x4ae55b(0x1b8)]()){let _0xf99559=resolve(_0x477109);const {root:_0x2a724d}=parse(_0xf99559),_0x53f6f3=homedir();while(!![]){if(resolveConfigPath(_0xf99559)){if(_0xf99559===_0x53f6f3)break;return _0xf99559;}if(_0xf99559===_0x2a724d||_0xf99559===_0x53f6f3)break;const _0x2341e1=dirname(_0xf99559);if(_0x2341e1===_0xf99559)break;_0xf99559=_0x2341e1;}return resolve(_0x477109);}export function getProjectConfigPath(){const _0x4b33f8=a233_0x4ae55b;return resolveConfigPath(process[_0x4b33f8(0x1b8)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function isInProject(){return!!getProjectConfigPath();}export function inspectCliConfigJsonFile(_0x2cf0c6){const _0x3defec=a233_0x4ae55b;if(!existsSync(_0x2cf0c6))return{'status':'missing'};try{const _0x91129c=readFileSync(_0x2cf0c6,{'encoding':_0x3defec(0x1a1)});if(!_0x91129c?.[_0x3defec(0x1c1)]())return{'status':_0x3defec(0x1ac)};const _0x2c2f70=JSON[_0x3defec(0x1b2)](_0x91129c);return{'status':'ok','data':_0x2c2f70};}catch(_0x58ff89){return{'status':_0x3defec(0x1c6),'message':_0x58ff89 instanceof Error?_0x58ff89[_0x3defec(0x1aa)]:String(_0x58ff89)};}}function a233_0x45eb(_0x383d84,_0x4bf0cc){_0x383d84=_0x383d84-0x199;const _0x3c7920=a233_0x3c79();let _0x45eb58=_0x3c7920[_0x383d84];return _0x45eb58;}function parseCliConfigJsonFile(_0x4323c3,_0x2e3274,_0x33acbe){const _0x42e7b6=a233_0x4ae55b,_0x31b9d3=inspectCliConfigJsonFile(_0x4323c3);if(_0x31b9d3[_0x42e7b6(0x1a2)]===_0x42e7b6(0x1a7)||_0x31b9d3[_0x42e7b6(0x1a2)]===_0x42e7b6(0x1ac))return{};if(_0x31b9d3[_0x42e7b6(0x1a2)]==='ok')return _0x31b9d3['data'];return _0x2e3274==='warn'&&_0x33acbe&&console[_0x42e7b6(0x1c6)](CLI_BIN_NAME+':\x20'+_0x33acbe+'\x20config\x20file\x20ignored\x20(invalid\x20JSON\x20or\x20unreadable):\x20'+_0x4323c3+_0x42e7b6(0x1c7)+_0x31b9d3[_0x42e7b6(0x1aa)]),{};}function normalizeLegacyConfigShape(_0x403f0c){const _0x3dc64c=a233_0x4ae55b;if(!_0x403f0c||typeof _0x403f0c!==_0x3dc64c(0x1c9))return{'config':{},'migrated':![]};const _0x2fb43d={..._0x403f0c},_0x264138=_0x2fb43d[_0x3dc64c(0x1a4)]&&typeof _0x2fb43d['apps']===_0x3dc64c(0x1c9)?{..._0x2fb43d[_0x3dc64c(0x1a4)]}:{},_0x27ccbb=Object[_0x3dc64c(0x1ab)](_0x264138)[_0x3dc64c(0x1bc)],_0xb9f7b6=_0x2fb43d[_0x3dc64c(0x1bf)]||_0x2fb43d[_0x3dc64c(0x1b9)];let _0x12926f=![];if(_0xb9f7b6&&_0x27ccbb===0x0){const _0x579e55=typeof _0x2fb43d[_0x3dc64c(0x1b1)]==='string'&&_0x2fb43d['defaultApp']['trim']()?_0x2fb43d['defaultApp']:String(_0xb9f7b6)[_0x3dc64c(0x1c1)]();_0x264138[_0x579e55]={'appcode':String(_0xb9f7b6)[_0x3dc64c(0x1c1)](),..._0x2fb43d[_0x3dc64c(0x19c)]!=null?{'env':_0x2fb43d[_0x3dc64c(0x19c)]}:{},..._0x2fb43d[_0x3dc64c(0x1bd)]!=null?{'apiDir':_0x2fb43d[_0x3dc64c(0x1bd)]}:{},..._0x2fb43d[_0x3dc64c(0x1c2)]!=null?{'cookie':_0x2fb43d[_0x3dc64c(0x1c2)]}:{},..._0x2fb43d[_0x3dc64c(0x1be)]!=null?{'accessKey':_0x2fb43d[_0x3dc64c(0x1be)]}:{},..._0x2fb43d[_0x3dc64c(0x1ad)]!=null?{'format':_0x2fb43d[_0x3dc64c(0x1ad)]}:{},..._0x2fb43d[_0x3dc64c(0x19a)]!=null?{'pageSize':_0x2fb43d[_0x3dc64c(0x19a)]}:{},..._0x2fb43d['riskLevel']!=null?{'riskLevel':_0x2fb43d[_0x3dc64c(0x1ca)]}:{},..._0x2fb43d[_0x3dc64c(0x1a8)]!=null?{'locale':_0x2fb43d[_0x3dc64c(0x1a8)]}:{}},_0x2fb43d[_0x3dc64c(0x1a4)]=_0x264138,delete _0x2fb43d[_0x3dc64c(0x1b1)],_0x12926f=!![];}return(_0x3dc64c(0x1bf)in _0x2fb43d||_0x3dc64c(0x1b9)in _0x2fb43d)&&(delete _0x2fb43d[_0x3dc64c(0x1bf)],delete _0x2fb43d[_0x3dc64c(0x1b9)],_0x12926f=!![]),{'config':_0x2fb43d,'migrated':_0x12926f};}function writeNormalizedConfigIfNeeded(_0x167016,_0x1b9a3b){const _0x2b8ebd=a233_0x4ae55b,_0x3bbb91=JSON[_0x2b8ebd(0x1b5)](_0x1b9a3b,null,0x2)+'\x0a';if(normalizedWriteCache[_0x2b8ebd(0x1c5)](_0x167016)===_0x3bbb91)return;writeConfigFile(_0x167016,_0x1b9a3b),normalizedWriteCache[_0x2b8ebd(0x1c0)](_0x167016,_0x3bbb91);}function parseAndNormalizeConfig(_0xad1f98,_0x308768,_0x20282c){const _0x191ab4=a233_0x4ae55b,_0x3263fb=parseCliConfigJsonFile(_0xad1f98,_0x308768,_0x20282c),_0x473aa6=normalizeLegacyConfigShape(_0x3263fb);if(_0x473aa6[_0x191ab4(0x199)])try{writeNormalizedConfigIfNeeded(_0xad1f98,_0x473aa6[_0x191ab4(0x1b4)]);}catch{}return _0x473aa6['config'];}export function loadRawConfigLayers(_0x5b40c9){const _0x5ed0fd=a233_0x4ae55b;let _0xda06cd={},_0x3b83bf={};const _0x48035a=resolveConfigPath(homedir());_0x48035a&&(_0xda06cd=parseAndNormalizeConfig(_0x48035a,'warn','Global'));const _0x4983b7=_0x5b40c9??findProjectRootDirectory(),_0x7105d1=resolveConfigPath(_0x4983b7);return _0x7105d1&&(_0x3b83bf=parseAndNormalizeConfig(_0x7105d1,_0x5ed0fd(0x1a5),'Project')),{'globalPath':_0x48035a,'projectPath':_0x7105d1,'globalConfig':_0xda06cd,'projectConfig':_0x3b83bf};}const INHERIT_WHITELIST=['cookie',a233_0x4ae55b(0x1be),a233_0x4ae55b(0x1a8),a233_0x4ae55b(0x1ad),'riskLevel','pageSize',a233_0x4ae55b(0x1b7),'routing',a233_0x4ae55b(0x1bb),a233_0x4ae55b(0x1ba),a233_0x4ae55b(0x1ae),a233_0x4ae55b(0x1af),a233_0x4ae55b(0x1a0),a233_0x4ae55b(0x19e),a233_0x4ae55b(0x1b0),'certificateDomain'];export function mergeRawConfigLayers(_0x2f4be3){const _0x6e2e9f=a233_0x4ae55b,{globalConfig:_0x2aaef0,projectConfig:_0x4a6927}=_0x2f4be3,_0x15ba6b=!!_0x2f4be3[_0x6e2e9f(0x1a9)]||Object['keys'](_0x4a6927)['length']>0x0;if(!_0x15ba6b)return mergeGlobalOnly(_0x2aaef0);return mergeProjectFirst(_0x2aaef0,_0x4a6927);}function mergeGlobalOnly(_0x27b27d){const _0x586b71=a233_0x4ae55b,_0x2e93db={..._0x27b27d};delete _0x2e93db[_0x586b71(0x19d)];const _0x247a14=_0x27b27d[_0x586b71(0x1a4)]&&typeof _0x27b27d[_0x586b71(0x1a4)]===_0x586b71(0x1c9)?_0x27b27d[_0x586b71(0x1a4)]:{};if(Object[_0x586b71(0x1ab)](_0x247a14)[_0x586b71(0x1bc)]>0x0)_0x2e93db[_0x586b71(0x1a4)]=_0x247a14;if(_0x27b27d[_0x586b71(0x1b1)])_0x2e93db['defaultApp']=_0x27b27d[_0x586b71(0x1b1)];return _0x2e93db;}function mergeProjectFirst(_0x2e4b8b,_0x3580a8){const _0x187a46=a233_0x4ae55b,_0x342592={..._0x3580a8};delete _0x342592[_0x187a46(0x19d)];for(const _0x4ff577 of INHERIT_WHITELIST){!(_0x4ff577 in _0x342592)&&_0x4ff577 in _0x2e4b8b&&(_0x342592[_0x4ff577]=_0x2e4b8b[_0x4ff577]);}const _0x4507d7=_0x3580a8[_0x187a46(0x1a4)]&&typeof _0x3580a8[_0x187a46(0x1a4)]===_0x187a46(0x1c9)?_0x3580a8[_0x187a46(0x1a4)]:{};return Object[_0x187a46(0x1ab)](_0x4507d7)['length']>0x0?_0x342592['apps']=_0x4507d7:delete _0x342592[_0x187a46(0x1a4)],_0x187a46(0x1b1)in _0x3580a8?_0x342592[_0x187a46(0x1b1)]=_0x3580a8[_0x187a46(0x1b1)]:delete _0x342592[_0x187a46(0x1b1)],_0x342592;}export function readRawConfigWithLayers(_0x17c75f){const _0x35852c=loadRawConfigLayers(_0x17c75f);return{'config':mergeRawConfigLayers(_0x35852c),'layers':_0x35852c};}export function readRawConfig(_0x54fe27){return mergeRawConfigLayers(loadRawConfigLayers(_0x54fe27));}export function readConfigFile(_0x16e069){return parseAndNormalizeConfig(_0x16e069,'silent');}export function writeConfigFile(_0x4fa770,_0x173dd4){const _0x52be7d=a233_0x4ae55b,_0x5559c3=dirname(_0x4fa770);!existsSync(_0x5559c3)&&mkdirSync(_0x5559c3,{'recursive':!![]});const _0x386dd6=_0x4fa770+_0x52be7d(0x1a6);try{writeFileSync(_0x386dd6,JSON[_0x52be7d(0x1b5)](_0x173dd4,null,0x2)+'\x0a',{'encoding':_0x52be7d(0x1a1),'mode':0x180}),renameSync(_0x386dd6,_0x4fa770);}catch(_0x336733){try{unlinkSync(_0x386dd6);}catch{}throw _0x336733;}}export function resolveWriteConfigPath(_0x1010e8){const _0x1368aa=a233_0x4ae55b,_0x13eb5d=_0x1010e8==='project'?process[_0x1368aa(0x1b8)]():homedir(),_0x6722d=resolveConfigPath(_0x13eb5d);return _0x6722d??resolve(_0x13eb5d,NEW_CONFIG_NAME);}
1
+ const a232_0x101ccb=a232_0x5f27;function a232_0x5f27(_0x194c89,_0x561057){_0x194c89=_0x194c89-0xd3;const _0x2ad9b1=a232_0x2ad9();let _0x5f270d=_0x2ad9b1[_0x194c89];return _0x5f270d;}(function(_0x4ad5cd,_0x1a193b){const _0x32e201=a232_0x5f27,_0x2e3243=_0x4ad5cd();while(!![]){try{const _0x248380=parseInt(_0x32e201(0xd4))/0x1*(-parseInt(_0x32e201(0x108))/0x2)+parseInt(_0x32e201(0xd9))/0x3+parseInt(_0x32e201(0xd8))/0x4+parseInt(_0x32e201(0xfd))/0x5+-parseInt(_0x32e201(0xda))/0x6+parseInt(_0x32e201(0xfc))/0x7*(parseInt(_0x32e201(0x104))/0x8)+-parseInt(_0x32e201(0xe5))/0x9*(parseInt(_0x32e201(0xd5))/0xa);if(_0x248380===_0x1a193b)break;else _0x2e3243['push'](_0x2e3243['shift']());}catch(_0xf3a604){_0x2e3243['push'](_0x2e3243['shift']());}}}(a232_0x2ad9,0xb6312));import{existsSync,mkdirSync,readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{dirname,parse,resolve}from'node:path';import{homedir}from'node:os';import{CLI_BIN_NAME}from'../constant/cli.js';export const NEW_CONFIG_NAME=a232_0x101ccb(0xed);export const CONFIG_NAMES=[NEW_CONFIG_NAME];const normalizedWriteCache=new Map();export function resolveConfigPath(_0x4b18c1){for(const _0x57c508 of CONFIG_NAMES){const _0x274039=resolve(_0x4b18c1,_0x57c508);if(existsSync(_0x274039))return _0x274039;}return undefined;}export function findProjectRootDirectory(_0x4e8054=process['cwd']()){let _0x13ee81=resolve(_0x4e8054);const {root:_0x345942}=parse(_0x13ee81),_0x546a26=homedir();while(!![]){if(resolveConfigPath(_0x13ee81)){if(_0x13ee81===_0x546a26)break;return _0x13ee81;}if(_0x13ee81===_0x345942||_0x13ee81===_0x546a26)break;const _0x2058b5=dirname(_0x13ee81);if(_0x2058b5===_0x13ee81)break;_0x13ee81=_0x2058b5;}return resolve(_0x4e8054);}export function getProjectConfigPath(){const _0x2a54ef=a232_0x101ccb;return resolveConfigPath(process[_0x2a54ef(0xef)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function isInProject(){return!!getProjectConfigPath();}export function inspectCliConfigJsonFile(_0x3b8bfc){const _0x1a358f=a232_0x101ccb;if(!existsSync(_0x3b8bfc))return{'status':'missing'};try{const _0x5b5ca9=readFileSync(_0x3b8bfc,{'encoding':_0x1a358f(0xd6)});if(!_0x5b5ca9?.['trim']())return{'status':'empty'};const _0x596b23=JSON[_0x1a358f(0xe3)](_0x5b5ca9);return{'status':'ok','data':_0x596b23};}catch(_0x173469){return{'status':'error','message':_0x173469 instanceof Error?_0x173469[_0x1a358f(0xee)]:String(_0x173469)};}}function a232_0x2ad9(){const _0x35e6bc=['riskLevel','parse','warn','263979xWleSE','runtimeDomain','Project','apps','missing','project','\x0a\x20\x20','error','.rabetbase.json','message','cwd','keys','apiDir','skillDomain','apiDomain','.tmp','routing','string','app','env','appcode','cookie','locale','864451IIWAVI','5052180donPEY','length','stringify','format','object','trim','defaultApp','88xdxMhO','inherit','localDomain','config','118AXcoou','appDomain','migrated','accessKey','830ifJJzF','1180kwORPJ','utf8','pageSize','2483976EeOiOZ','4325838ypBNEN','1053078gukyrx','certificateDomain','\x20config\x20file\x20ignored\x20(invalid\x20JSON\x20or\x20unreadable):\x20','set','empty','get','data','status'];a232_0x2ad9=function(){return _0x35e6bc;};return a232_0x2ad9();}function parseCliConfigJsonFile(_0x1acf91,_0x2f1aaa,_0x1b505f){const _0x2bcca3=a232_0x101ccb,_0x59a618=inspectCliConfigJsonFile(_0x1acf91);if(_0x59a618[_0x2bcca3(0xe1)]===_0x2bcca3(0xe9)||_0x59a618[_0x2bcca3(0xe1)]===_0x2bcca3(0xde))return{};if(_0x59a618[_0x2bcca3(0xe1)]==='ok')return _0x59a618[_0x2bcca3(0xe0)];return _0x2f1aaa===_0x2bcca3(0xe4)&&_0x1b505f&&console[_0x2bcca3(0xec)](CLI_BIN_NAME+':\x20'+_0x1b505f+_0x2bcca3(0xdc)+_0x1acf91+_0x2bcca3(0xeb)+_0x59a618[_0x2bcca3(0xee)]),{};}function normalizeLegacyConfigShape(_0x32feb9){const _0x221049=a232_0x101ccb;if(!_0x32feb9||typeof _0x32feb9!==_0x221049(0x101))return{'config':{},'migrated':![]};const _0x2c679b={..._0x32feb9},_0x3ed36f=_0x2c679b[_0x221049(0xe8)]&&typeof _0x2c679b['apps']===_0x221049(0x101)?{..._0x2c679b[_0x221049(0xe8)]}:{},_0x371073=Object[_0x221049(0xf0)](_0x3ed36f)['length'],_0x338e27=_0x2c679b['appcode']||_0x2c679b[_0x221049(0xf7)];let _0x2b1cfb=![];if(_0x338e27&&_0x371073===0x0){const _0x1f664a=typeof _0x2c679b['defaultApp']===_0x221049(0xf6)&&_0x2c679b[_0x221049(0x103)][_0x221049(0x102)]()?_0x2c679b[_0x221049(0x103)]:String(_0x338e27)[_0x221049(0x102)]();_0x3ed36f[_0x1f664a]={'appcode':String(_0x338e27)['trim'](),..._0x2c679b['env']!=null?{'env':_0x2c679b[_0x221049(0xf8)]}:{},..._0x2c679b[_0x221049(0xf1)]!=null?{'apiDir':_0x2c679b[_0x221049(0xf1)]}:{},..._0x2c679b[_0x221049(0xfa)]!=null?{'cookie':_0x2c679b[_0x221049(0xfa)]}:{},..._0x2c679b['accessKey']!=null?{'accessKey':_0x2c679b[_0x221049(0xd3)]}:{},..._0x2c679b['format']!=null?{'format':_0x2c679b[_0x221049(0x100)]}:{},..._0x2c679b[_0x221049(0xd7)]!=null?{'pageSize':_0x2c679b[_0x221049(0xd7)]}:{},..._0x2c679b[_0x221049(0xe2)]!=null?{'riskLevel':_0x2c679b['riskLevel']}:{},..._0x2c679b[_0x221049(0xfb)]!=null?{'locale':_0x2c679b[_0x221049(0xfb)]}:{}},_0x2c679b['apps']=_0x3ed36f,delete _0x2c679b[_0x221049(0x103)],_0x2b1cfb=!![];}return(_0x221049(0xf9)in _0x2c679b||'app'in _0x2c679b)&&(delete _0x2c679b[_0x221049(0xf9)],delete _0x2c679b[_0x221049(0xf7)],_0x2b1cfb=!![]),{'config':_0x2c679b,'migrated':_0x2b1cfb};}function writeNormalizedConfigIfNeeded(_0x2f84d6,_0x1a1652){const _0xf9a528=a232_0x101ccb,_0x87e383=JSON[_0xf9a528(0xff)](_0x1a1652,null,0x2)+'\x0a';if(normalizedWriteCache[_0xf9a528(0xdf)](_0x2f84d6)===_0x87e383)return;writeConfigFile(_0x2f84d6,_0x1a1652),normalizedWriteCache[_0xf9a528(0xdd)](_0x2f84d6,_0x87e383);}function parseAndNormalizeConfig(_0x40079e,_0xd8f89e,_0x591804){const _0x8b69ea=a232_0x101ccb,_0x2f95e7=parseCliConfigJsonFile(_0x40079e,_0xd8f89e,_0x591804),_0x341dce=normalizeLegacyConfigShape(_0x2f95e7);if(_0x341dce[_0x8b69ea(0x10a)])try{writeNormalizedConfigIfNeeded(_0x40079e,_0x341dce[_0x8b69ea(0x107)]);}catch{}return _0x341dce[_0x8b69ea(0x107)];}export function loadRawConfigLayers(_0x28ecd5){const _0x20202b=a232_0x101ccb;let _0x400ada={},_0x13f160={};const _0x222307=resolveConfigPath(homedir());_0x222307&&(_0x400ada=parseAndNormalizeConfig(_0x222307,_0x20202b(0xe4),'Global'));const _0xdd654d=_0x28ecd5??findProjectRootDirectory(),_0x2352fc=resolveConfigPath(_0xdd654d);return _0x2352fc&&(_0x13f160=parseAndNormalizeConfig(_0x2352fc,_0x20202b(0xe4),_0x20202b(0xe7))),{'globalPath':_0x222307,'projectPath':_0x2352fc,'globalConfig':_0x400ada,'projectConfig':_0x13f160};}const INHERIT_WHITELIST=[a232_0x101ccb(0xfa),'accessKey',a232_0x101ccb(0xfb),a232_0x101ccb(0x100),a232_0x101ccb(0xe2),'pageSize','region',a232_0x101ccb(0xf5),'userDomain',a232_0x101ccb(0xf3),a232_0x101ccb(0xe6),a232_0x101ccb(0xf2),'kbDomain',a232_0x101ccb(0x109),a232_0x101ccb(0x106),a232_0x101ccb(0xdb)];export function mergeRawConfigLayers(_0x46eb22){const _0x1f3c48=a232_0x101ccb,{globalConfig:_0x339df4,projectConfig:_0x355a1b}=_0x46eb22,_0x1a182f=!!_0x46eb22['projectPath']||Object[_0x1f3c48(0xf0)](_0x355a1b)[_0x1f3c48(0xfe)]>0x0;if(!_0x1a182f)return mergeGlobalOnly(_0x339df4);return mergeProjectFirst(_0x339df4,_0x355a1b);}function mergeGlobalOnly(_0xb540f){const _0x45c474=a232_0x101ccb,_0x3b8e54={..._0xb540f};delete _0x3b8e54[_0x45c474(0x105)];const _0x56bd99=_0xb540f[_0x45c474(0xe8)]&&typeof _0xb540f['apps']===_0x45c474(0x101)?_0xb540f[_0x45c474(0xe8)]:{};if(Object[_0x45c474(0xf0)](_0x56bd99)[_0x45c474(0xfe)]>0x0)_0x3b8e54[_0x45c474(0xe8)]=_0x56bd99;if(_0xb540f[_0x45c474(0x103)])_0x3b8e54[_0x45c474(0x103)]=_0xb540f['defaultApp'];return _0x3b8e54;}function mergeProjectFirst(_0x5c1c82,_0x318c38){const _0x213c83=a232_0x101ccb,_0x1a649a={..._0x318c38};delete _0x1a649a[_0x213c83(0x105)];for(const _0x1d5500 of INHERIT_WHITELIST){!(_0x1d5500 in _0x1a649a)&&_0x1d5500 in _0x5c1c82&&(_0x1a649a[_0x1d5500]=_0x5c1c82[_0x1d5500]);}const _0x27832e=_0x318c38[_0x213c83(0xe8)]&&typeof _0x318c38['apps']===_0x213c83(0x101)?_0x318c38[_0x213c83(0xe8)]:{};return Object[_0x213c83(0xf0)](_0x27832e)[_0x213c83(0xfe)]>0x0?_0x1a649a[_0x213c83(0xe8)]=_0x27832e:delete _0x1a649a[_0x213c83(0xe8)],_0x213c83(0x103)in _0x318c38?_0x1a649a['defaultApp']=_0x318c38[_0x213c83(0x103)]:delete _0x1a649a[_0x213c83(0x103)],_0x1a649a;}export function readRawConfigWithLayers(_0x17a1b6){const _0x32c1c9=loadRawConfigLayers(_0x17a1b6);return{'config':mergeRawConfigLayers(_0x32c1c9),'layers':_0x32c1c9};}export function readRawConfig(_0x141ce3){return mergeRawConfigLayers(loadRawConfigLayers(_0x141ce3));}export function readConfigFile(_0x59bef0){return parseAndNormalizeConfig(_0x59bef0,'silent');}export function writeConfigFile(_0x4f8047,_0x5c2da7){const _0x58ac81=a232_0x101ccb,_0xe88b2=dirname(_0x4f8047);!existsSync(_0xe88b2)&&mkdirSync(_0xe88b2,{'recursive':!![]});const _0x209cb8=_0x4f8047+_0x58ac81(0xf4);try{writeFileSync(_0x209cb8,JSON[_0x58ac81(0xff)](_0x5c2da7,null,0x2)+'\x0a',{'encoding':_0x58ac81(0xd6),'mode':0x180}),renameSync(_0x209cb8,_0x4f8047);}catch(_0x34116e){try{unlinkSync(_0x209cb8);}catch{}throw _0x34116e;}}export function resolveWriteConfigPath(_0x4c7a08){const _0x594133=a232_0x101ccb,_0xe065d4=_0x4c7a08===_0x594133(0xea)?process[_0x594133(0xef)]():homedir(),_0xde3496=resolveConfigPath(_0xe065d4);return _0xde3496??resolve(_0xe065d4,NEW_CONFIG_NAME);}