@lovrabet/rabetbase-cli 2.5.3-beta.4 → 2.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/api-group.js +1 -1
  3. package/lib/api/fetch-model-list.js +1 -1
  4. package/lib/api/generate-api-file.js +1 -1
  5. package/lib/api/generate-sdk-config-file.js +1 -1
  6. package/lib/api/legacy-api-file.js +1 -1
  7. package/lib/api/model-registry-file.js +1 -1
  8. package/lib/api/model-registry-scaffold.js +1 -1
  9. package/lib/api/model-source.js +1 -1
  10. package/lib/auth/auth-server-ui.js +1 -1
  11. package/lib/auth/auth-server.js +1 -1
  12. package/lib/auth/constant.js +1 -1
  13. package/lib/auth/get-cookie.js +1 -1
  14. package/lib/auth/get-session-user.js +1 -1
  15. package/lib/auth/is-session-valid.js +1 -1
  16. package/lib/auth/login-success-html.js +1 -1
  17. package/lib/auth/logout.js +1 -1
  18. package/lib/cli-flags.js +1 -1
  19. package/lib/cli.js +1 -1
  20. package/lib/commands/api/generate.js +1 -1
  21. package/lib/commands/api/index.js +1 -1
  22. package/lib/commands/api/list.js +1 -1
  23. package/lib/commands/api/pull.js +1 -1
  24. package/lib/commands/api/shared.js +1 -1
  25. package/lib/commands/app/index.js +1 -1
  26. package/lib/commands/app/list.js +1 -1
  27. package/lib/commands/app/members-list.js +1 -1
  28. package/lib/commands/app/remote-directory.js +1 -1
  29. package/lib/commands/app/shared.js +1 -1
  30. package/lib/commands/app-config/delete.js +1 -1
  31. package/lib/commands/app-config/get.js +1 -1
  32. package/lib/commands/app-config/index.js +1 -1
  33. package/lib/commands/app-config/list.js +1 -1
  34. package/lib/commands/app-config/set.js +1 -1
  35. package/lib/commands/app-config/shared.js +1 -1
  36. package/lib/commands/auth/index.js +1 -1
  37. package/lib/commands/bff/create.js +1 -1
  38. package/lib/commands/bff/delete.js +1 -1
  39. package/lib/commands/bff/detail.js +1 -1
  40. package/lib/commands/bff/index.js +1 -1
  41. package/lib/commands/bff/list.js +1 -1
  42. package/lib/commands/bff/logs.js +1 -1
  43. package/lib/commands/bff/pull.js +1 -1
  44. package/lib/commands/bff/push.js +1 -1
  45. package/lib/commands/bff/status.js +1 -1
  46. package/lib/commands/cli-skill/index.js +1 -1
  47. package/lib/commands/cli-update.js +1 -1
  48. package/lib/commands/codegen/index.js +1 -1
  49. package/lib/commands/codegen/sdk.js +1 -1
  50. package/lib/commands/codegen/sql.js +1 -1
  51. package/lib/commands/common/app-registry.js +1 -1
  52. package/lib/commands/common/app-selector.js +1 -1
  53. package/lib/commands/common/async-task.js +1 -1
  54. package/lib/commands/common/dry-run.js +1 -1
  55. package/lib/commands/common/flags.js +1 -1
  56. package/lib/commands/common/local-file.js +1 -1
  57. package/lib/commands/common/validate.js +1 -1
  58. package/lib/commands/config/delete.js +1 -1
  59. package/lib/commands/config/get.js +1 -1
  60. package/lib/commands/config/index.js +1 -1
  61. package/lib/commands/config/init.js +1 -1
  62. package/lib/commands/config/list.js +1 -1
  63. package/lib/commands/config/set.js +1 -1
  64. package/lib/commands/config/shared.js +1 -1
  65. package/lib/commands/dataset/batch-design.js +1 -1
  66. package/lib/commands/dataset/business-group-update.js +1 -1
  67. package/lib/commands/dataset/business-groups.js +1 -1
  68. package/lib/commands/dataset/capability.js +1 -1
  69. package/lib/commands/dataset/cross-relation-create.js +1 -1
  70. package/lib/commands/dataset/cross-relation-delete.js +1 -1
  71. package/lib/commands/dataset/cross-relation-list.js +1 -1
  72. package/lib/commands/dataset/cross-relation-shared.js +1 -1
  73. package/lib/commands/dataset/cross-relation-update.js +1 -1
  74. package/lib/commands/dataset/delete.js +1 -1
  75. package/lib/commands/dataset/detail.js +1 -1
  76. package/lib/commands/dataset/extend-update.js +1 -1
  77. package/lib/commands/dataset/field-restore.js +1 -1
  78. package/lib/commands/dataset/field-update.js +1 -1
  79. package/lib/commands/dataset/generate.js +1 -1
  80. package/lib/commands/dataset/index.js +1 -1
  81. package/lib/commands/dataset/list.js +1 -1
  82. package/lib/commands/dataset/operations.js +1 -1
  83. package/lib/commands/dataset/relation-audit.js +1 -1
  84. package/lib/commands/dataset/relation-create.js +1 -1
  85. package/lib/commands/dataset/relation-delete.js +1 -1
  86. package/lib/commands/dataset/relation-shared.js +1 -1
  87. package/lib/commands/dataset/relation-update.js +1 -1
  88. package/lib/commands/dataset/relations.js +1 -1
  89. package/lib/commands/dataset/rename.js +1 -1
  90. package/lib/commands/dataset/restore.js +1 -1
  91. package/lib/commands/dataset/user-deleted-field-list.js +1 -1
  92. package/lib/commands/db/analysis-batching.js +1 -1
  93. package/lib/commands/db/analyze-batch-plan.js +1 -1
  94. package/lib/commands/db/analyze-cancel.js +1 -1
  95. package/lib/commands/db/analyze-start.js +1 -1
  96. package/lib/commands/db/analyze-status.js +1 -1
  97. package/lib/commands/db/create.js +1 -1
  98. package/lib/commands/db/delete.js +1 -1
  99. package/lib/commands/db/detail.js +1 -1
  100. package/lib/commands/db/diff-refresh-start.js +1 -1
  101. package/lib/commands/db/diff-refresh-status.js +1 -1
  102. package/lib/commands/db/diff.js +1 -1
  103. package/lib/commands/db/index.js +1 -1
  104. package/lib/commands/db/list.js +1 -1
  105. package/lib/commands/db/shared.js +1 -1
  106. package/lib/commands/db/table-diff-shared.js +1 -1
  107. package/lib/commands/db/tables.js +1 -1
  108. package/lib/commands/db/test.js +1 -1
  109. package/lib/commands/db/update.js +1 -1
  110. package/lib/commands/deployment/index.js +1 -1
  111. package/lib/commands/deployment/sync-all.js +1 -1
  112. package/lib/commands/deployment/sync-jobs.js +1 -1
  113. package/lib/commands/deployment/sync-status.js +1 -1
  114. package/lib/commands/doctor.js +1 -1
  115. package/lib/commands/file/index.js +1 -1
  116. package/lib/commands/flow/create.js +1 -1
  117. package/lib/commands/flow/detail.js +1 -1
  118. package/lib/commands/flow/index.js +1 -1
  119. package/lib/commands/flow/list.js +1 -1
  120. package/lib/commands/flow/publish.js +1 -1
  121. package/lib/commands/flow/runtime-resources-shared.js +1 -1
  122. package/lib/commands/flow/runtime-role-list.js +1 -1
  123. package/lib/commands/flow/runtime-role-user-list.js +1 -1
  124. package/lib/commands/flow/runtime-user-search.js +1 -1
  125. package/lib/commands/flow/shared.js +1 -1
  126. package/lib/commands/flow/update.js +1 -1
  127. package/lib/commands/flow/validate.js +1 -1
  128. package/lib/commands/instant-api-policy/current.js +1 -1
  129. package/lib/commands/instant-api-policy/index.js +1 -1
  130. package/lib/commands/instant-api-policy/init.js +1 -1
  131. package/lib/commands/instant-api-policy/publish.js +1 -1
  132. package/lib/commands/instant-api-policy/pull.js +1 -1
  133. package/lib/commands/instant-api-policy/revision.js +1 -1
  134. package/lib/commands/instant-api-policy/revisions.js +1 -1
  135. package/lib/commands/instant-api-policy/rollback.js +1 -1
  136. package/lib/commands/instant-api-policy/shared.js +1 -1
  137. package/lib/commands/instant-api-policy/validate.js +1 -1
  138. package/lib/commands/issue/index.js +1 -1
  139. package/lib/commands/issue/nudge.js +1 -1
  140. package/lib/commands/issue/report.js +1 -1
  141. package/lib/commands/issue/shared.js +1 -1
  142. package/lib/commands/kb/create.js +1 -1
  143. package/lib/commands/kb/delete.js +1 -1
  144. package/lib/commands/kb/detail.js +1 -1
  145. package/lib/commands/kb/index.js +1 -1
  146. package/lib/commands/kb/list.js +1 -1
  147. package/lib/commands/kb/search.js +1 -1
  148. package/lib/commands/kb/shared.js +1 -1
  149. package/lib/commands/kb/update.js +1 -1
  150. package/lib/commands/logs/index.js +1 -1
  151. package/lib/commands/menu/asset-update.js +1 -1
  152. package/lib/commands/menu/delete.js +1 -1
  153. package/lib/commands/menu/external-link-create.js +1 -1
  154. package/lib/commands/menu/external-link-update.js +1 -1
  155. package/lib/commands/menu/group-create.js +1 -1
  156. package/lib/commands/menu/group-update.js +1 -1
  157. package/lib/commands/menu/index.js +1 -1
  158. package/lib/commands/menu/list.js +1 -1
  159. package/lib/commands/menu/move.js +1 -1
  160. package/lib/commands/menu/regroup-start.js +1 -1
  161. package/lib/commands/menu/rename.js +1 -1
  162. package/lib/commands/menu/shared/compare-table.js +1 -1
  163. package/lib/commands/menu/shared/delete-plan.js +1 -1
  164. package/lib/commands/menu/shared/facts.js +1 -1
  165. package/lib/commands/menu/shared/index.js +1 -1
  166. package/lib/commands/menu/shared/inquirer.js +1 -1
  167. package/lib/commands/menu/shared/local-pages.js +1 -1
  168. package/lib/commands/menu/shared/logic.js +1 -1
  169. package/lib/commands/menu/shared/mutations.js +1 -1
  170. package/lib/commands/menu/shared/service.js +1 -1
  171. package/lib/commands/menu/shared/sync-core.js +1 -1
  172. package/lib/commands/menu/shared/update-core.js +1 -1
  173. package/lib/commands/menu/shared/valid-url.js +1 -1
  174. package/lib/commands/menu/sync.js +1 -1
  175. package/lib/commands/menu/visibility-update.js +1 -1
  176. package/lib/commands/notification/config-create.js +1 -1
  177. package/lib/commands/notification/config-delete.js +1 -1
  178. package/lib/commands/notification/config-list.js +1 -1
  179. package/lib/commands/notification/config-update.js +1 -1
  180. package/lib/commands/notification/index.js +1 -1
  181. package/lib/commands/notification/shared.js +1 -1
  182. package/lib/commands/ocr/index.js +1 -1
  183. package/lib/commands/page/create.js +1 -1
  184. package/lib/commands/page/custom/detail.js +1 -1
  185. package/lib/commands/page/custom/list.js +1 -1
  186. package/lib/commands/page/custom/publish.js +1 -1
  187. package/lib/commands/page/custom/shared.js +1 -1
  188. package/lib/commands/page/custom/syntax.js +1 -1
  189. package/lib/commands/page/custom/update.js +1 -1
  190. package/lib/commands/page/data-list-status.js +1 -1
  191. package/lib/commands/page/generate-start.js +1 -1
  192. package/lib/commands/page/generate-status.js +1 -1
  193. package/lib/commands/page/index.js +1 -1
  194. package/lib/commands/page/pull.js +1 -1
  195. package/lib/commands/page/push.js +1 -1
  196. package/lib/commands/page/relation-audit.js +1 -1
  197. package/lib/commands/page/restore.js +1 -1
  198. package/lib/commands/page/shared.js +1 -1
  199. package/lib/commands/page/sync.js +1 -1
  200. package/lib/commands/project/api-architecture-upgrade.js +1 -1
  201. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  202. package/lib/commands/project/create/format-elapsed.js +1 -1
  203. package/lib/commands/project/create/main.js +1 -1
  204. package/lib/commands/project/create/materialize-project-template.js +1 -1
  205. package/lib/commands/project/create/project-name.js +1 -1
  206. package/lib/commands/project/create/project-template-archive.js +1 -1
  207. package/lib/commands/project/create/project-template-path.js +1 -1
  208. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  209. package/lib/commands/project/create/use-format-code.js +1 -1
  210. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  211. package/lib/commands/project/domain-routing-sync.js +1 -1
  212. package/lib/commands/project/index.js +1 -1
  213. package/lib/commands/project/upgrade.js +1 -1
  214. package/lib/commands/registry.js +1 -1
  215. package/lib/commands/role/delete.js +1 -1
  216. package/lib/commands/role/detail.js +1 -1
  217. package/lib/commands/role/index.js +1 -1
  218. package/lib/commands/role/list.js +1 -1
  219. package/lib/commands/role/shared.js +1 -1
  220. package/lib/commands/role/update.js +1 -1
  221. package/lib/commands/role/user-add.js +1 -1
  222. package/lib/commands/role/user-remove.js +1 -1
  223. package/lib/commands/role/user-resolve.js +1 -1
  224. package/lib/commands/rule/get.js +1 -1
  225. package/lib/commands/rule/index.js +1 -1
  226. package/lib/commands/rule/list.js +1 -1
  227. package/lib/commands/rule/set.js +1 -1
  228. package/lib/commands/rule/shared.js +1 -1
  229. package/lib/commands/run/index.js +1 -1
  230. package/lib/commands/schema.js +1 -1
  231. package/lib/commands/sql/create.js +1 -1
  232. package/lib/commands/sql/delete.js +1 -1
  233. package/lib/commands/sql/detail.js +1 -1
  234. package/lib/commands/sql/exec.js +1 -1
  235. package/lib/commands/sql/index.js +1 -1
  236. package/lib/commands/sql/list.js +1 -1
  237. package/lib/commands/sql/pull.js +1 -1
  238. package/lib/commands/sql/push.js +1 -1
  239. package/lib/commands/sql/shared.js +1 -1
  240. package/lib/commands/sql/status.js +1 -1
  241. package/lib/commands/sql/validate.js +1 -1
  242. package/lib/commands/task/index.js +1 -1
  243. package/lib/commands/task/status.js +1 -1
  244. package/lib/commands/tenant/index.js +1 -1
  245. package/lib/commands/tenant/members-list.js +1 -1
  246. package/lib/commands/tenant/shared.js +1 -1
  247. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  248. package/lib/commands/user-account/index.js +1 -1
  249. package/lib/commands/workspace/add.js +1 -1
  250. package/lib/commands/workspace/index.js +1 -1
  251. package/lib/commands/workspace/remove.js +1 -1
  252. package/lib/config/domain-config.js +1 -1
  253. package/lib/config/project-domain-routing.js +1 -1
  254. package/lib/config/region-config.js +1 -1
  255. package/lib/config/schema.js +1 -1
  256. package/lib/constant/cdn.js +1 -1
  257. package/lib/constant/cli.js +1 -1
  258. package/lib/constant/defaults.js +1 -1
  259. package/lib/constant/domain.js +1 -1
  260. package/lib/constant/env.js +1 -1
  261. package/lib/constant/output.js +1 -1
  262. package/lib/constant/paths.js +1 -1
  263. package/lib/constant/region.js +1 -1
  264. package/lib/constant/risk.js +1 -1
  265. package/lib/constant/routing-profile.js +1 -1
  266. package/lib/context/app-resolver.js +1 -1
  267. package/lib/context/auth-resolver.js +1 -1
  268. package/lib/context/config-loader.js +1 -1
  269. package/lib/context.js +1 -1
  270. package/lib/core/alias-resolver.js +1 -1
  271. package/lib/core/api-client.js +1 -1
  272. package/lib/core/bff/config.js +1 -1
  273. package/lib/core/bff/file-system.js +1 -1
  274. package/lib/core/bff/hash.js +1 -1
  275. package/lib/core/bff/hook-directory.js +1 -1
  276. package/lib/core/bff/lock.js +1 -1
  277. package/lib/core/bff/utils.js +1 -1
  278. package/lib/core/cross-db-relation.js +1 -1
  279. package/lib/core/db-resolver.js +1 -1
  280. package/lib/core/flow-config.js +1 -1
  281. package/lib/core/instant-api-policy/config.js +1 -1
  282. package/lib/core/kb-search-client.js +1 -1
  283. package/lib/core/page/file-system.js +1 -1
  284. package/lib/core/page/hash.js +1 -1
  285. package/lib/core/page/lock.js +1 -1
  286. package/lib/core/page/lr-smart-jsx.js +1 -1
  287. package/lib/core/sql-index-auditor.js +1 -1
  288. package/lib/core/sql-sync/config.js +1 -1
  289. package/lib/core/sql-sync/file-system.js +1 -1
  290. package/lib/core/sql-sync/hash.js +1 -1
  291. package/lib/core/sql-sync/lock.js +1 -1
  292. package/lib/core/sql-sync/utils.js +1 -1
  293. package/lib/core/sql-validator.js +1 -1
  294. package/lib/errors.js +1 -1
  295. package/lib/framework/build-all-flags.js +1 -1
  296. package/lib/framework/error-output.js +1 -1
  297. package/lib/framework/explicit-yes.js +1 -1
  298. package/lib/framework/flags.js +1 -1
  299. package/lib/framework/help.js +1 -1
  300. package/lib/framework/index.js +1 -1
  301. package/lib/framework/output.js +1 -1
  302. package/lib/framework/response.js +1 -1
  303. package/lib/framework/runner-alias.js +1 -1
  304. package/lib/framework/runner.js +1 -1
  305. package/lib/framework/schema-export.js +1 -1
  306. package/lib/framework/supported-flags.js +1 -1
  307. package/lib/framework/types.js +1 -1
  308. package/lib/generated/build-info.d.ts +4 -4
  309. package/lib/generated/build-info.js +1 -1
  310. package/lib/generated/official-routing.js +1 -1
  311. package/lib/generated/routing-contract.js +1 -1
  312. package/lib/help.js +1 -1
  313. package/lib/postinstall.js +1 -1
  314. package/lib/runtime/confirmation.js +1 -1
  315. package/lib/runtime/event.js +1 -1
  316. package/lib/runtime/index.js +1 -1
  317. package/lib/runtime/queue.js +1 -1
  318. package/lib/runtime/resolve.js +1 -1
  319. package/lib/skills/builtin-skill.js +1 -1
  320. package/lib/skills/main.js +1 -1
  321. package/lib/skills/npx-skills-add.js +1 -1
  322. package/lib/skills/skill-presence.js +1 -1
  323. package/lib/telemetry/cli-command-trace.js +1 -1
  324. package/lib/telemetry/cli-help-trace.js +1 -1
  325. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  326. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  327. package/lib/telemetry/send-cli-trace-log.js +1 -1
  328. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  329. package/lib/utils/ai_config.js +1 -1
  330. package/lib/utils/apply-jq-filter.js +1 -1
  331. package/lib/utils/cdn-config.js +1 -1
  332. package/lib/utils/check-sdk-version.js +1 -1
  333. package/lib/utils/cli-version-check.js +1 -1
  334. package/lib/utils/cli-version-policy.js +1 -1
  335. package/lib/utils/config.js +1 -1
  336. package/lib/utils/entity-with-id.js +1 -1
  337. package/lib/utils/file-utils.js +1 -1
  338. package/lib/utils/guides-cdn.js +1 -1
  339. package/lib/utils/http-client.js +1 -1
  340. package/lib/utils/is-non-interactive.js +1 -1
  341. package/lib/utils/logger.js +1 -1
  342. package/lib/utils/params.js +1 -1
  343. package/lib/utils/platform.js +1 -1
  344. package/lib/utils/sleep.js +1 -1
  345. package/lib/utils/template-replacer.js +1 -1
  346. package/lib/utils/update-notice.js +1 -1
  347. package/lib/utils/version.js +1 -1
  348. package/lib/utils/with-active-cookie.js +1 -1
  349. package/lib/utils/write-cli-side-channel.js +1 -1
  350. package/package.json +1 -1
  351. package/skills/rabetbase/SKILL.md +1 -1
  352. package/skills/rabetbase.manifest.json +3 -3
@@ -1 +1 @@
1
- const a296_0xe2d21f=a296_0x2ec3;(function(_0x8ddda8,_0x112b3e){const _0x1833c8=a296_0x2ec3,_0x505990=_0x8ddda8();while(!![]){try{const _0x366195=parseInt(_0x1833c8(0x164))/0x1*(-parseInt(_0x1833c8(0x199))/0x2)+-parseInt(_0x1833c8(0x181))/0x3*(parseInt(_0x1833c8(0x17b))/0x4)+parseInt(_0x1833c8(0x154))/0x5+-parseInt(_0x1833c8(0x14a))/0x6*(-parseInt(_0x1833c8(0x15f))/0x7)+parseInt(_0x1833c8(0x17a))/0x8*(-parseInt(_0x1833c8(0x177))/0x9)+-parseInt(_0x1833c8(0x166))/0xa*(parseInt(_0x1833c8(0x159))/0xb)+parseInt(_0x1833c8(0x170))/0xc;if(_0x366195===_0x112b3e)break;else _0x505990['push'](_0x505990['shift']());}catch(_0x25f45f){_0x505990['push'](_0x505990['shift']());}}}(a296_0x5868,0xbb8ef));const MYBATIS_OUTER_TAGS=new Map([[a296_0xe2d21f(0x185),a296_0xe2d21f(0x14c)],[a296_0xe2d21f(0x15a),a296_0xe2d21f(0x1ab)],[a296_0xe2d21f(0x19c),a296_0xe2d21f(0x19b)],['delete',a296_0xe2d21f(0x1ad)]]),MYBATIS_DYNAMIC_TAGS=new Set(['if',a296_0xe2d21f(0x18d),a296_0xe2d21f(0x18a),'choose',a296_0xe2d21f(0x149),a296_0xe2d21f(0x197),a296_0xe2d21f(0x16a),a296_0xe2d21f(0x19a),a296_0xe2d21f(0x1a4),'include','property']),MYBATIS_BRANCH_TAGS=new Set(['if',a296_0xe2d21f(0x18a),a296_0xe2d21f(0x14f),a296_0xe2d21f(0x149),a296_0xe2d21f(0x197)]);export const MYBATIS_DYNAMIC_START_MARKER=a296_0xe2d21f(0x157);function a296_0x2ec3(_0x195ea1,_0xb7b919){_0x195ea1=_0x195ea1-0x149;const _0x586834=a296_0x5868();let _0x2ec347=_0x586834[_0x195ea1];return _0x2ec347;}export const MYBATIS_DYNAMIC_END_MARKER='__RABETBASE_MYBATIS_DYNAMIC_END__';export const MYBATIS_INCLUDE_MARKER=a296_0xe2d21f(0x179);const UNRESOLVED_SQL_FRAGMENT='__RABETBASE_UNRESOLVED_SQL_FRAGMENT__',MYBATIS_OUTER_TAG_PATTERN=new RegExp(a296_0xe2d21f(0x1a7)+[...MYBATIS_OUTER_TAGS[a296_0xe2d21f(0x1a3)]()][a296_0xe2d21f(0x150)]('|')+')\x5cb','i');export function normalizeSqlForStaticAnalysis(_0x856003){const _0x3cfd8b=a296_0xe2d21f,_0xbbb8ad=typeof _0x856003===_0x3cfd8b(0x19f)?_0x856003:'';if(!startsWithMybatisStatementWrapper(_0xbbb8ad))return{'sql':_0xbbb8ad,'mode':'sql'};let _0x4bf2ac=0x0,_0x192f21='',_0x11f694,_0x2744ee=![],_0x3858a=![];const _0x2db200=[];while(_0x4bf2ac<_0xbbb8ad[_0x3cfd8b(0x15d)]){if(_0xbbb8ad['startsWith'](_0x3cfd8b(0x18f),_0x4bf2ac)){const _0x2837b5=_0xbbb8ad[_0x3cfd8b(0x17f)](_0x3cfd8b(0x182),_0x4bf2ac+0x4);if(_0x2837b5<0x0)return invalidMybatisSource('Unterminated\x20XML\x20comment.');_0x192f21+='\x20',_0x4bf2ac=_0x2837b5+0x3;continue;}if(_0xbbb8ad['startsWith'](_0x3cfd8b(0x187),_0x4bf2ac)){if(!_0x2744ee||_0x3858a)return invalidMybatisSource(_0x3cfd8b(0x1b2));const _0xc20c22=_0xbbb8ad[_0x3cfd8b(0x17f)](_0x3cfd8b(0x189),_0x4bf2ac+0x9);if(_0xc20c22<0x0)return invalidMybatisSource(_0x3cfd8b(0x169));_0x192f21+=_0xbbb8ad[_0x3cfd8b(0x1ac)](_0x4bf2ac+0x9,_0xc20c22),_0x4bf2ac=_0xc20c22+0x3;continue;}if(_0xbbb8ad[_0x3cfd8b(0x190)]('<?',_0x4bf2ac)){if(_0x2744ee)return invalidMybatisSource(_0x3cfd8b(0x176));const _0x886883=_0xbbb8ad[_0x3cfd8b(0x17f)]('?>',_0x4bf2ac+0x2);if(_0x886883<0x0)return invalidMybatisSource(_0x3cfd8b(0x156));_0x192f21+='\x20',_0x4bf2ac=_0x886883+0x2;continue;}if(_0xbbb8ad[_0x4bf2ac]!=='<'){const _0xc615c8=_0xbbb8ad[_0x3cfd8b(0x17f)]('<',_0x4bf2ac),_0x91f3ab=_0xc615c8<0x0?_0xbbb8ad['length']:_0xc615c8,_0x4c1eae=_0xbbb8ad[_0x3cfd8b(0x1ac)](_0x4bf2ac,_0x91f3ab);if((!_0x2744ee||_0x3858a)&&_0x4c1eae[_0x3cfd8b(0x16a)]())return invalidMybatisSource(_0x3cfd8b(0x160));if(_0x2744ee&&!_0x3858a){const _0x18ae4c=decodeXmlEntities(_0x4c1eae);if(_0x18ae4c===null)return invalidMybatisSource(_0x3cfd8b(0x167));_0x192f21+=_0x18ae4c;}else _0x192f21+='\x20';_0x4bf2ac=_0x91f3ab;continue;}const _0x34888e=findXmlTagEnd(_0xbbb8ad,_0x4bf2ac);if(_0x34888e<0x0)return invalidMybatisSource(_0x3cfd8b(0x14b));const _0x3cff79=_0xbbb8ad[_0x3cfd8b(0x1ac)](_0x4bf2ac,_0x34888e+0x1),_0x1f2ae1=/^<\s*(\/?)\s*([A-Za-z][\w:-]*)([\s\S]*?)(\/?)\s*>$/[_0x3cfd8b(0x168)](_0x3cff79);if(!_0x1f2ae1)return invalidMybatisSource('Invalid\x20MyBatis\x20XML\x20tag.');const _0x5a5dfe=_0x1f2ae1[0x1]==='/',_0x472d44=_0x1f2ae1[0x2]??'',_0x541bd0=_0x472d44[_0x3cfd8b(0x15c)](),_0x346f03=_0x1f2ae1[0x3]??'',_0x1c2e29=_0x1f2ae1[0x4]==='/',_0x54ec71=MYBATIS_OUTER_TAGS[_0x3cfd8b(0x174)](_0x541bd0);if(!_0x54ec71&&!MYBATIS_DYNAMIC_TAGS['has'](_0x541bd0))return invalidMybatisSource(_0x3cfd8b(0x152)+_0x541bd0+'>.');if(!_0x54ec71&&_0x472d44!==_0x541bd0)return invalidMybatisSource(_0x3cfd8b(0x18b)+_0x472d44+'>.');if(_0x5a5dfe){if(_0x346f03[_0x3cfd8b(0x16a)]()||_0x1c2e29)return invalidMybatisSource(_0x3cfd8b(0x1b0)+_0x472d44+'>.');const _0x2691d2=_0x2db200['at'](-0x1);if(!_0x2691d2||(_0x2691d2[_0x3cfd8b(0x15e)]?_0x2691d2[_0x3cfd8b(0x17e)]!==_0x541bd0:_0x2691d2[_0x3cfd8b(0x196)]!==_0x472d44))return invalidMybatisSource(_0x3cfd8b(0x186)+_0x472d44+'>.');_0x2db200[_0x3cfd8b(0x172)]();if(_0x2691d2['outer'])_0x3858a=!![];_0x192f21+=MYBATIS_BRANCH_TAGS[_0x3cfd8b(0x171)](_0x541bd0)?'\x20'+MYBATIS_DYNAMIC_END_MARKER+'\x20':'\x20';}else{if(!hasWellFormedXmlAttributes(_0x346f03))return invalidMybatisSource(_0x3cfd8b(0x1a2)+_0x472d44+'>.');if(_0x541bd0===_0x3cfd8b(0x1a6)&&(!_0x1c2e29||_0x2db200['at'](-0x1)?.['tagName']!=='include'))return invalidMybatisSource(_0x3cfd8b(0x195));if(_0x54ec71){if(_0x2744ee||_0x2db200[_0x3cfd8b(0x15d)]>0x0)return invalidMybatisSource('Multiple\x20MyBatis\x20statement\x20wrappers\x20are\x20not\x20supported.');_0x2744ee=!![],_0x3858a=_0x1c2e29,_0x11f694=_0x54ec71;}else{if(!_0x2744ee||_0x3858a)return invalidMybatisSource(_0x3cfd8b(0x16d)+_0x472d44+'>.');}_0x192f21+=_0x541bd0===_0x3cfd8b(0x18d)?_0x3cfd8b(0x19e):_0x541bd0===_0x3cfd8b(0x19a)?_0x3cfd8b(0x1a0):_0x541bd0===_0x3cfd8b(0x1b1)?'\x20'+MYBATIS_INCLUDE_MARKER+'\x20':MYBATIS_BRANCH_TAGS['has'](_0x541bd0)&&!_0x1c2e29?'\x20'+MYBATIS_DYNAMIC_START_MARKER+'\x20':'\x20',!_0x1c2e29&&_0x2db200[_0x3cfd8b(0x193)]({'rawName':_0x472d44,'tagName':_0x541bd0,'outer':!!_0x54ec71});}_0x4bf2ac=_0x34888e+0x1;}if(_0x2db200[_0x3cfd8b(0x15d)]>0x0)return invalidMybatisSource('Unclosed\x20MyBatis\x20XML\x20tag:\x20<'+_0x2db200['at'](-0x1)?.['rawName']+'>.');if(!_0x2744ee||!_0x3858a)return invalidMybatisSource(_0x3cfd8b(0x16f));return{'sql':_0x192f21[_0x3cfd8b(0x16a)](),'mode':_0x3cfd8b(0x18e),..._0x11f694?{'statementType':_0x11f694}:{}};}function hasWellFormedXmlAttributes(_0x5e3b74){const _0x1402e2=a296_0xe2d21f;let _0x2f7121=0x0;const _0x1d089c=new Set();while(_0x2f7121<_0x5e3b74[_0x1402e2(0x15d)]){while(_0x2f7121<_0x5e3b74[_0x1402e2(0x15d)]&&/\s/['test'](_0x5e3b74[_0x2f7121]??''))_0x2f7121+=0x1;if(_0x2f7121>=_0x5e3b74[_0x1402e2(0x15d)])return!![];const _0x18f6fd=/^[A-Za-z_:][\w:.-]*/[_0x1402e2(0x168)](_0x5e3b74['slice'](_0x2f7121)),_0x4c6b31=_0x18f6fd?.[0x0];if(!_0x4c6b31||_0x1d089c[_0x1402e2(0x171)](_0x4c6b31))return![];_0x1d089c[_0x1402e2(0x173)](_0x4c6b31),_0x2f7121+=_0x4c6b31['length'];while(_0x2f7121<_0x5e3b74[_0x1402e2(0x15d)]&&/\s/[_0x1402e2(0x15b)](_0x5e3b74[_0x2f7121]??''))_0x2f7121+=0x1;if(_0x5e3b74[_0x2f7121]!=='=')return![];_0x2f7121+=0x1;while(_0x2f7121<_0x5e3b74[_0x1402e2(0x15d)]&&/\s/[_0x1402e2(0x15b)](_0x5e3b74[_0x2f7121]??''))_0x2f7121+=0x1;const _0x355165=_0x5e3b74[_0x2f7121];if(_0x355165!=='\x22'&&_0x355165!=='\x27')return![];_0x2f7121+=0x1;const _0x2c64cc=_0x5e3b74['indexOf'](_0x355165,_0x2f7121);if(_0x2c64cc<0x0)return![];if(decodeXmlEntities(_0x5e3b74[_0x1402e2(0x1ac)](_0x2f7121,_0x2c64cc))===null)return![];_0x2f7121=_0x2c64cc+0x1;}return!![];}function startsWithMybatisStatementWrapper(_0x53f97c){const _0xf26426=a296_0xe2d21f;let _0xd98e8f=0x0;const _0x10504a=()=>{const _0x484c6c=a296_0x2ec3;while(_0xd98e8f<_0x53f97c['length']&&/\s/[_0x484c6c(0x15b)](_0x53f97c[_0xd98e8f]??''))_0xd98e8f+=0x1;};_0x10504a();while(_0xd98e8f<_0x53f97c[_0xf26426(0x15d)]){if(_0x53f97c[_0xf26426(0x190)](_0xf26426(0x18f),_0xd98e8f)){const _0x10a420=_0x53f97c['indexOf']('-->',_0xd98e8f+0x4);if(_0x10a420<0x0)return!![];_0xd98e8f=_0x10a420+0x3,_0x10504a();continue;}if(_0x53f97c[_0xf26426(0x190)]('<?',_0xd98e8f)){const _0x51b866=_0x53f97c[_0xf26426(0x17f)]('?>',_0xd98e8f+0x2);if(_0x51b866<0x0)return!![];_0xd98e8f=_0x51b866+0x2,_0x10504a();continue;}break;}return MYBATIS_OUTER_TAG_PATTERN[_0xf26426(0x15b)](_0x53f97c[_0xf26426(0x1ac)](_0xd98e8f));}function invalidMybatisSource(_0x4de398){const _0x20c912=a296_0xe2d21f;return{'sql':'','mode':_0x20c912(0x18e),'error':_0x4de398};}function a296_0x5868(){const _0x52d053=['insert','test','toLowerCase','length','outer','15596HODdNQ','SQL\x20text\x20must\x20be\x20inside\x20the\x20MyBatis\x20statement\x20wrapper.','&amp;','Unable\x20to\x20detect\x20SQL\x20type.\x20','\x20query\x20targeting\x20','452LYDvAe','parseInt','904170KiwaOG','Invalid\x20XML\x20entity\x20reference.','exec','Unterminated\x20CDATA\x20section.','trim','\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.','reason','MyBatis\x20dynamic\x20tag\x20must\x20be\x20inside\x20the\x20statement\x20wrapper:\x20<','match','MyBatis\x20XML\x20must\x20contain\x20exactly\x20one\x20complete\x20statement\x20wrapper.','8664948yGUDlY','has','pop','add','get','replace','XML\x20declarations\x20must\x20precede\x20the\x20MyBatis\x20statement\x20wrapper.','9606852IhtvuC','WITH','__RABETBASE_MYBATIS_INCLUDE_UNRESOLVED__','8QzstLr','52HguCUN','statementType','includes','tagName','indexOf','SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT','9777qBFsax','-->','isDangerous','SQL\x20contains\x20blocked\x20DELETE\x20or\x20DDL\x20statements','select','Mismatched\x20MyBatis\x20XML\x20closing\x20tag:\x20</','<![CDATA[','DDL\x20statements\x20are\x20blocked\x20from\x20auto-save',']]>','foreach','MyBatis\x20dynamic\x20tag\x20names\x20must\x20be\x20lowercase:\x20<','fromCodePoint','where','mybatisXml','<!--','startsWith','replaceAll','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.','push','&gt;','MyBatis\x20<property>\x20must\x20be\x20a\x20self-closing\x20direct\x20child\x20of\x20<include>.','rawName','otherwise','&lt;','974RdxrTL','set','UPDATE','update','DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save','\x20WHERE\x20','string','\x20SET\x20','type','Invalid\x20attributes\x20on\x20MyBatis\x20XML\x20tag:\x20<','keys','bind','matchAll','property','^<\x5cs*(?:','from','DDL','unknown\x20table(s)','INSERT','slice','DELETE','&apos;','SQL\x20content\x20is\x20empty','Invalid\x20MyBatis\x20XML\x20closing\x20tag:\x20</','include','CDATA\x20sections\x20must\x20be\x20inside\x20the\x20MyBatis\x20statement\x20wrapper.','when','582ueLses','Unterminated\x20MyBatis\x20XML\x20tag.','SELECT','UNKNOWN','toUpperCase','choose','join','sql','Unsupported\x20MyBatis\x20XML\x20tag:\x20<','&quot;','7156070pnjKPi','\x20with\x20parameters:\x20','Unterminated\x20XML\x20declaration.','__RABETBASE_MYBATIS_DYNAMIC_START__','error','33DjDmCG'];a296_0x5868=function(){return _0x52d053;};return a296_0x5868();}function findXmlTagEnd(_0x5d04c5,_0x5bdbbc){const _0x4c1e54=a296_0xe2d21f;let _0x5da384;for(let _0x29d50d=_0x5bdbbc+0x1;_0x29d50d<_0x5d04c5[_0x4c1e54(0x15d)];_0x29d50d+=0x1){const _0xfdf964=_0x5d04c5[_0x29d50d];if(_0x5da384){if(_0xfdf964===_0x5da384)_0x5da384=undefined;continue;}if(_0xfdf964==='\x22'||_0xfdf964==='\x27'){_0x5da384=_0xfdf964;continue;}if(_0xfdf964==='>')return _0x29d50d;}return-0x1;}function decodeXmlEntities(_0x4133e8){let _0x523e46=![];const _0x28eb5d=_0x4133e8['replace'](/&(?:#x[0-9a-f]+;|#[0-9]+;|[A-Za-z_:][\w:.-]*;)?/g,_0x44d883=>{const _0x377011=a296_0x2ec3;if(_0x44d883===_0x377011(0x198))return'<';if(_0x44d883===_0x377011(0x194))return'>';if(_0x44d883===_0x377011(0x153))return'\x22';if(_0x44d883===_0x377011(0x1ae))return'\x27';if(_0x44d883===_0x377011(0x161))return'&';const _0x545f39=/^&#(?:x([0-9a-f]+)|([0-9]+));$/[_0x377011(0x168)](_0x44d883);if(_0x545f39){const _0x392be8=_0x545f39[0x1],_0x4a3dba=_0x545f39[0x2],_0x2de19a=Number[_0x377011(0x165)](_0x392be8??_0x4a3dba??'',_0x392be8?0x10:0xa);if(isValidXmlCharacter(_0x2de19a))return String[_0x377011(0x18c)](_0x2de19a);}return _0x523e46=!![],'';});return _0x523e46?null:_0x28eb5d;}function isValidXmlCharacter(_0x52e1ef){return _0x52e1ef===0x9||_0x52e1ef===0xa||_0x52e1ef===0xd||_0x52e1ef>=0x20&&_0x52e1ef<=0xd7ff||_0x52e1ef>=0xe000&&_0x52e1ef<=0xfffd||_0x52e1ef>=0x10000&&_0x52e1ef<=0x10ffff;}export function detectSqlType(_0xf2c179){return detectNormalizedSqlType(normalizeSqlForStaticAnalysis(_0xf2c179));}function detectNormalizedSqlType(_0x40dcb8){const _0x4c775b=a296_0xe2d21f;if(_0x40dcb8[_0x4c775b(0x158)])return{'type':_0x4c775b(0x14d),'isSelectOnly':![],'isDangerous':![],'reason':_0x40dcb8['error']};if(!_0x40dcb8[_0x4c775b(0x151)]['trim']())return{'type':_0x4c775b(0x14d),'isSelectOnly':![],'isDangerous':![],'reason':_0x4c775b(0x1af)};const _0x4756c8=stripStaticAnalysisMarkers(_0x40dcb8[_0x4c775b(0x151)])[_0x4c775b(0x175)](/#\{[^}]*\}/g,'?')[_0x4c775b(0x175)](/\$\{[^}]*\}/g,'?')['replace'](/@[^(\s]+(\([^)]*\))?/g,'')[_0x4c775b(0x175)](/\/\*[\s\S]*?\*\//g,'')[_0x4c775b(0x16a)](),_0x594e3d=_0x4756c8['split']('\x0a');let _0x4ece22='';for(const _0x4722bb of _0x594e3d){const _0x22b92d=_0x4722bb[_0x4c775b(0x16a)]();if(!_0x22b92d||_0x22b92d[_0x4c775b(0x190)]('--')||_0x22b92d[_0x4c775b(0x190)]('/*'))continue;_0x4ece22=_0x22b92d;break;}const _0x538f54=_0x4ece22[_0x4c775b(0x14e)](),_0x152122=_0x40dcb8[_0x4c775b(0x17c)],_0x39125e=maskSqlTextForBlockedKeywordScan(_0x4756c8),_0x17a027=/\b(DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i[_0x4c775b(0x15b)](_0x39125e);if(_0x152122===_0x4c775b(0x14c)||!_0x152122&&(_0x538f54[_0x4c775b(0x190)](_0x4c775b(0x14c))||_0x538f54[_0x4c775b(0x190)](_0x4c775b(0x178)))){const _0x21e423=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i['test'](_0x4756c8);return{'type':'SELECT','isSelectOnly':!_0x21e423,'isDangerous':_0x21e423,'reason':_0x21e423?_0x4c775b(0x180):undefined};}if(_0x152122===_0x4c775b(0x1ab)||!_0x152122&&_0x538f54['startsWith']('INSERT'))return{'type':_0x4c775b(0x1ab),'isSelectOnly':![],'isDangerous':_0x17a027,'reason':_0x17a027?_0x4c775b(0x184):undefined};if(_0x152122===_0x4c775b(0x19b)||!_0x152122&&_0x538f54[_0x4c775b(0x190)](_0x4c775b(0x19b)))return{'type':_0x4c775b(0x19b),'isSelectOnly':![],'isDangerous':_0x17a027,'reason':_0x17a027?'SQL\x20contains\x20blocked\x20DELETE\x20or\x20DDL\x20statements':undefined};if(_0x152122===_0x4c775b(0x1ad)||!_0x152122&&_0x538f54[_0x4c775b(0x190)](_0x4c775b(0x1ad)))return{'type':_0x4c775b(0x1ad),'isSelectOnly':![],'isDangerous':!![],'reason':_0x4c775b(0x19d)};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i[_0x4c775b(0x15b)](_0x538f54))return{'type':_0x4c775b(0x1a9),'isSelectOnly':![],'isDangerous':!![],'reason':_0x4c775b(0x188)};return{'type':_0x4c775b(0x14d),'isSelectOnly':![],'isDangerous':![]};}function stripStaticAnalysisMarkers(_0xc687c8){const _0x6e44f1=a296_0xe2d21f;return _0xc687c8[_0x6e44f1(0x191)](MYBATIS_DYNAMIC_START_MARKER,'\x20')[_0x6e44f1(0x191)](MYBATIS_DYNAMIC_END_MARKER,'\x20')['replaceAll'](MYBATIS_INCLUDE_MARKER,'\x20'+UNRESOLVED_SQL_FRAGMENT+'\x20');}function maskSqlTextForBlockedKeywordScan(_0x1db35e){const _0x4f4aae=a296_0xe2d21f;return _0x1db35e[_0x4f4aae(0x175)](/'(?:''|\\.|[^'])*'/g,'\x20')[_0x4f4aae(0x175)](/"(?:""|\\.|[^"])*"/g,'\x20')[_0x4f4aae(0x175)](/`(?:``|\\.|[^`])*`/g,'\x20')[_0x4f4aae(0x175)](/--.*$/gm,'\x20')[_0x4f4aae(0x175)](/#.*$/gm,'\x20')[_0x4f4aae(0x175)](/\/\*[\s\S]*?\*\//g,'\x20');}function extractTables(_0x2b2e3c){const _0x313f23=a296_0xe2d21f,_0x8e3b69=_0x2b2e3c[_0x313f23(0x175)](/#\{[^}]*\}/g,'?')[_0x313f23(0x175)](/\$\{[^}]*\}/g,'?')[_0x313f23(0x175)](/'[^']*'/g,'\x27\x27')[_0x313f23(0x175)](/--.*$/gm,'')['replace'](/\/\*[\s\S]*?\*\//g,''),_0x143fa7=[],_0x7cfa44=_0x8e3b69[_0x313f23(0x16e)](/FROM\s+([^\s,)(]+)/i);addTable(_0x143fa7,_0x7cfa44?.[0x1]);for(const _0x3a42d5 of _0x8e3b69[_0x313f23(0x1a5)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){addTable(_0x143fa7,_0x3a42d5[0x1]);}const _0x5c1fae=_0x8e3b69[_0x313f23(0x16e)](/INTO\s+([^\s(]+)/i);addTable(_0x143fa7,_0x5c1fae?.[0x1]);const _0x32626f=_0x8e3b69[_0x313f23(0x16e)](/UPDATE\s+([^\s,)(]+)/i);return addTable(_0x143fa7,_0x32626f?.[0x1]),_0x143fa7;}function addTable(_0x5d9557,_0x5d4884){const _0x2256b2=a296_0xe2d21f,_0x276345=_0x5d4884?.[_0x2256b2(0x175)](/[`"]/g,'');_0x276345&&_0x276345!==UNRESOLVED_SQL_FRAGMENT&&!_0x5d9557[_0x2256b2(0x17d)](_0x276345)&&_0x5d9557[_0x2256b2(0x193)](_0x276345);}function extractParameters(_0x5669bb){const _0x967fae=a296_0xe2d21f,_0x1977d1=new Set();for(const _0x1f736d of _0x5669bb[_0x967fae(0x1a5)](/[#$]\{\s*([A-Za-z_][\w.]*)\s*(?=[,}])/g)){if(_0x1f736d[0x1])_0x1977d1[_0x967fae(0x173)](_0x1f736d[0x1]);}return Array[_0x967fae(0x1a8)](_0x1977d1);}export function validateSql(_0x4ac5f3){const _0x267eda=a296_0xe2d21f,_0x1bb99d=normalizeSqlForStaticAnalysis(_0x4ac5f3),_0x574bcf=detectNormalizedSqlType(_0x1bb99d),_0x56fb6a=stripStaticAnalysisMarkers(_0x1bb99d[_0x267eda(0x151)]),_0x2214c2=_0x1bb99d[_0x267eda(0x158)]?[]:extractTables(_0x56fb6a),_0x2c9b7d=_0x1bb99d[_0x267eda(0x158)]?[]:extractParameters(_0x56fb6a);if(_0x574bcf[_0x267eda(0x183)])return{'valid':![],'sqlType':_0x574bcf,'tables':_0x2214c2,'parameters':_0x2c9b7d,'message':_0x574bcf[_0x267eda(0x16c)]||_0x574bcf[_0x267eda(0x1a1)]+_0x267eda(0x16b)};if(_0x574bcf['type']===_0x267eda(0x14d))return{'valid':![],'sqlType':_0x574bcf,'tables':_0x2214c2,'parameters':_0x2c9b7d,'message':_0x1bb99d[_0x267eda(0x158)]?_0x267eda(0x162)+_0x1bb99d[_0x267eda(0x158)]:_0x267eda(0x192)};return{'valid':!![],'sqlType':_0x574bcf,'tables':_0x2214c2,'parameters':_0x2c9b7d,'message':_0x574bcf['type']+_0x267eda(0x163)+(_0x2214c2[_0x267eda(0x15d)]?_0x2214c2[_0x267eda(0x150)](',\x20'):_0x267eda(0x1aa))+(_0x2c9b7d['length']?_0x267eda(0x155)+_0x2c9b7d[_0x267eda(0x150)](',\x20'):'')};}
1
+ const a296_0x30ed2f=a296_0x2dd3;(function(_0x52b020,_0xd2f2c8){const _0x50a24c=a296_0x2dd3,_0xfc483d=_0x52b020();while(!![]){try{const _0x58ccb2=-parseInt(_0x50a24c(0x162))/0x1+parseInt(_0x50a24c(0x14a))/0x2*(-parseInt(_0x50a24c(0x193))/0x3)+-parseInt(_0x50a24c(0x163))/0x4*(parseInt(_0x50a24c(0x169))/0x5)+parseInt(_0x50a24c(0x174))/0x6*(-parseInt(_0x50a24c(0x17b))/0x7)+parseInt(_0x50a24c(0x170))/0x8*(parseInt(_0x50a24c(0x16d))/0x9)+parseInt(_0x50a24c(0x15f))/0xa*(parseInt(_0x50a24c(0x18e))/0xb)+parseInt(_0x50a24c(0x185))/0xc;if(_0x58ccb2===_0xd2f2c8)break;else _0xfc483d['push'](_0xfc483d['shift']());}catch(_0x382c27){_0xfc483d['push'](_0xfc483d['shift']());}}}(a296_0x2b2b,0xeed2a));const MYBATIS_OUTER_TAGS=new Map([[a296_0x30ed2f(0x18f),a296_0x30ed2f(0x165)],[a296_0x30ed2f(0x1a1),a296_0x30ed2f(0x171)],['update',a296_0x30ed2f(0x149)],['delete',a296_0x30ed2f(0x178)]]),MYBATIS_DYNAMIC_TAGS=new Set(['if',a296_0x30ed2f(0x19e),a296_0x30ed2f(0x168),'choose','when',a296_0x30ed2f(0x17c),a296_0x30ed2f(0x14d),a296_0x30ed2f(0x177),a296_0x30ed2f(0x155),a296_0x30ed2f(0x151),a296_0x30ed2f(0x17d)]),MYBATIS_BRANCH_TAGS=new Set(['if',a296_0x30ed2f(0x168),a296_0x30ed2f(0x18a),'when',a296_0x30ed2f(0x17c)]);export const MYBATIS_DYNAMIC_START_MARKER='__RABETBASE_MYBATIS_DYNAMIC_START__';export const MYBATIS_DYNAMIC_END_MARKER='__RABETBASE_MYBATIS_DYNAMIC_END__';export const MYBATIS_INCLUDE_MARKER='__RABETBASE_MYBATIS_INCLUDE_UNRESOLVED__';function a296_0x2dd3(_0x4072e5,_0x38260e){_0x4072e5=_0x4072e5-0x147;const _0x2b2b0f=a296_0x2b2b();let _0x2dd382=_0x2b2b0f[_0x4072e5];return _0x2dd382;}const UNRESOLVED_SQL_FRAGMENT='__RABETBASE_UNRESOLVED_SQL_FRAGMENT__',MYBATIS_OUTER_TAG_PATTERN=new RegExp(a296_0x30ed2f(0x15b)+[...MYBATIS_OUTER_TAGS[a296_0x30ed2f(0x181)]()]['join']('|')+a296_0x30ed2f(0x15e),'i');export function normalizeSqlForStaticAnalysis(_0x573e19){const _0x9d07e3=a296_0x30ed2f,_0x51ac93=typeof _0x573e19==='string'?_0x573e19:'';if(!startsWithMybatisStatementWrapper(_0x51ac93))return{'sql':_0x51ac93,'mode':_0x9d07e3(0x19b)};let _0x15a310=0x0,_0x34f329='',_0x3830c2,_0x3817d2=![],_0x2c2355=![];const _0x53336c=[];while(_0x15a310<_0x51ac93['length']){if(_0x51ac93[_0x9d07e3(0x150)](_0x9d07e3(0x164),_0x15a310)){const _0x3f352b=_0x51ac93[_0x9d07e3(0x186)](_0x9d07e3(0x156),_0x15a310+0x4);if(_0x3f352b<0x0)return invalidMybatisSource(_0x9d07e3(0x194));_0x34f329+='\x20',_0x15a310=_0x3f352b+0x3;continue;}if(_0x51ac93[_0x9d07e3(0x150)](_0x9d07e3(0x19f),_0x15a310)){if(!_0x3817d2||_0x2c2355)return invalidMybatisSource(_0x9d07e3(0x183));const _0x5cc664=_0x51ac93[_0x9d07e3(0x186)](']]>',_0x15a310+0x9);if(_0x5cc664<0x0)return invalidMybatisSource(_0x9d07e3(0x16b));_0x34f329+=_0x51ac93['slice'](_0x15a310+0x9,_0x5cc664),_0x15a310=_0x5cc664+0x3;continue;}if(_0x51ac93[_0x9d07e3(0x150)]('<?',_0x15a310)){if(_0x3817d2)return invalidMybatisSource(_0x9d07e3(0x195));const _0x48090b=_0x51ac93[_0x9d07e3(0x186)]('?>',_0x15a310+0x2);if(_0x48090b<0x0)return invalidMybatisSource(_0x9d07e3(0x182));_0x34f329+='\x20',_0x15a310=_0x48090b+0x2;continue;}if(_0x51ac93[_0x15a310]!=='<'){const _0x417ed1=_0x51ac93['indexOf']('<',_0x15a310),_0x444cd1=_0x417ed1<0x0?_0x51ac93[_0x9d07e3(0x19a)]:_0x417ed1,_0x1c2f37=_0x51ac93[_0x9d07e3(0x152)](_0x15a310,_0x444cd1);if((!_0x3817d2||_0x2c2355)&&_0x1c2f37[_0x9d07e3(0x14d)]())return invalidMybatisSource('SQL\x20text\x20must\x20be\x20inside\x20the\x20MyBatis\x20statement\x20wrapper.');if(_0x3817d2&&!_0x2c2355){const _0x35d655=decodeXmlEntities(_0x1c2f37);if(_0x35d655===null)return invalidMybatisSource(_0x9d07e3(0x19c));_0x34f329+=_0x35d655;}else _0x34f329+='\x20';_0x15a310=_0x444cd1;continue;}const _0x420708=findXmlTagEnd(_0x51ac93,_0x15a310);if(_0x420708<0x0)return invalidMybatisSource('Unterminated\x20MyBatis\x20XML\x20tag.');const _0x3dcda8=_0x51ac93['slice'](_0x15a310,_0x420708+0x1),_0x237a7=/^<\s*(\/?)\s*([A-Za-z][\w:-]*)([\s\S]*?)(\/?)\s*>$/[_0x9d07e3(0x161)](_0x3dcda8);if(!_0x237a7)return invalidMybatisSource(_0x9d07e3(0x157));const _0x5dd98c=_0x237a7[0x1]==='/',_0x13f4ca=_0x237a7[0x2]??'',_0x1ad32f=_0x13f4ca['toLowerCase'](),_0x5beb09=_0x237a7[0x3]??'',_0xcc6f3a=_0x237a7[0x4]==='/',_0x2e1510=MYBATIS_OUTER_TAGS[_0x9d07e3(0x15c)](_0x1ad32f);if(!_0x2e1510&&!MYBATIS_DYNAMIC_TAGS[_0x9d07e3(0x16c)](_0x1ad32f))return invalidMybatisSource(_0x9d07e3(0x14c)+_0x1ad32f+'>.');if(!_0x2e1510&&_0x13f4ca!==_0x1ad32f)return invalidMybatisSource(_0x9d07e3(0x166)+_0x13f4ca+'>.');if(_0x5dd98c){if(_0x5beb09[_0x9d07e3(0x14d)]()||_0xcc6f3a)return invalidMybatisSource('Invalid\x20MyBatis\x20XML\x20closing\x20tag:\x20</'+_0x13f4ca+'>.');const _0x56e0c5=_0x53336c['at'](-0x1);if(!_0x56e0c5||(_0x56e0c5[_0x9d07e3(0x18d)]?_0x56e0c5[_0x9d07e3(0x167)]!==_0x1ad32f:_0x56e0c5[_0x9d07e3(0x16e)]!==_0x13f4ca))return invalidMybatisSource(_0x9d07e3(0x1a0)+_0x13f4ca+'>.');_0x53336c[_0x9d07e3(0x159)]();if(_0x56e0c5[_0x9d07e3(0x18d)])_0x2c2355=!![];_0x34f329+=MYBATIS_BRANCH_TAGS[_0x9d07e3(0x16c)](_0x1ad32f)?'\x20'+MYBATIS_DYNAMIC_END_MARKER+'\x20':'\x20';}else{if(!hasWellFormedXmlAttributes(_0x5beb09))return invalidMybatisSource(_0x9d07e3(0x15a)+_0x13f4ca+'>.');if(_0x1ad32f===_0x9d07e3(0x17d)&&(!_0xcc6f3a||_0x53336c['at'](-0x1)?.['tagName']!=='include'))return invalidMybatisSource(_0x9d07e3(0x196));if(_0x2e1510){if(_0x3817d2||_0x53336c[_0x9d07e3(0x19a)]>0x0)return invalidMybatisSource(_0x9d07e3(0x17e));_0x3817d2=!![],_0x2c2355=_0xcc6f3a,_0x3830c2=_0x2e1510;}else{if(!_0x3817d2||_0x2c2355)return invalidMybatisSource(_0x9d07e3(0x199)+_0x13f4ca+'>.');}_0x34f329+=_0x1ad32f==='where'?_0x9d07e3(0x173):_0x1ad32f===_0x9d07e3(0x177)?'\x20SET\x20':_0x1ad32f===_0x9d07e3(0x151)?'\x20'+MYBATIS_INCLUDE_MARKER+'\x20':MYBATIS_BRANCH_TAGS['has'](_0x1ad32f)&&!_0xcc6f3a?'\x20'+MYBATIS_DYNAMIC_START_MARKER+'\x20':'\x20',!_0xcc6f3a&&_0x53336c['push']({'rawName':_0x13f4ca,'tagName':_0x1ad32f,'outer':!!_0x2e1510});}_0x15a310=_0x420708+0x1;}if(_0x53336c[_0x9d07e3(0x19a)]>0x0)return invalidMybatisSource(_0x9d07e3(0x17a)+_0x53336c['at'](-0x1)?.[_0x9d07e3(0x16e)]+'>.');if(!_0x3817d2||!_0x2c2355)return invalidMybatisSource('MyBatis\x20XML\x20must\x20contain\x20exactly\x20one\x20complete\x20statement\x20wrapper.');return{'sql':_0x34f329[_0x9d07e3(0x14d)](),'mode':_0x9d07e3(0x153),..._0x3830c2?{'statementType':_0x3830c2}:{}};}function hasWellFormedXmlAttributes(_0x3ca014){const _0x5d6c0f=a296_0x30ed2f;let _0x58b67c=0x0;const _0x46a233=new Set();while(_0x58b67c<_0x3ca014[_0x5d6c0f(0x19a)]){while(_0x58b67c<_0x3ca014[_0x5d6c0f(0x19a)]&&/\s/[_0x5d6c0f(0x180)](_0x3ca014[_0x58b67c]??''))_0x58b67c+=0x1;if(_0x58b67c>=_0x3ca014['length'])return!![];const _0x5b1562=/^[A-Za-z_:][\w:.-]*/[_0x5d6c0f(0x161)](_0x3ca014['slice'](_0x58b67c)),_0x52aebb=_0x5b1562?.[0x0];if(!_0x52aebb||_0x46a233[_0x5d6c0f(0x16c)](_0x52aebb))return![];_0x46a233[_0x5d6c0f(0x16f)](_0x52aebb),_0x58b67c+=_0x52aebb[_0x5d6c0f(0x19a)];while(_0x58b67c<_0x3ca014[_0x5d6c0f(0x19a)]&&/\s/[_0x5d6c0f(0x180)](_0x3ca014[_0x58b67c]??''))_0x58b67c+=0x1;if(_0x3ca014[_0x58b67c]!=='=')return![];_0x58b67c+=0x1;while(_0x58b67c<_0x3ca014[_0x5d6c0f(0x19a)]&&/\s/[_0x5d6c0f(0x180)](_0x3ca014[_0x58b67c]??''))_0x58b67c+=0x1;const _0x1f51b9=_0x3ca014[_0x58b67c];if(_0x1f51b9!=='\x22'&&_0x1f51b9!=='\x27')return![];_0x58b67c+=0x1;const _0x5d2ed7=_0x3ca014[_0x5d6c0f(0x186)](_0x1f51b9,_0x58b67c);if(_0x5d2ed7<0x0)return![];if(decodeXmlEntities(_0x3ca014[_0x5d6c0f(0x152)](_0x58b67c,_0x5d2ed7))===null)return![];_0x58b67c=_0x5d2ed7+0x1;}return!![];}function startsWithMybatisStatementWrapper(_0x2e3486){const _0x46d9d6=a296_0x30ed2f;let _0x53f182=0x0;const _0x3a685a=()=>{const _0x177d5b=a296_0x2dd3;while(_0x53f182<_0x2e3486['length']&&/\s/[_0x177d5b(0x180)](_0x2e3486[_0x53f182]??''))_0x53f182+=0x1;};_0x3a685a();while(_0x53f182<_0x2e3486[_0x46d9d6(0x19a)]){if(_0x2e3486['startsWith'](_0x46d9d6(0x164),_0x53f182)){const _0x4d58f6=_0x2e3486[_0x46d9d6(0x186)](_0x46d9d6(0x156),_0x53f182+0x4);if(_0x4d58f6<0x0)return!![];_0x53f182=_0x4d58f6+0x3,_0x3a685a();continue;}if(_0x2e3486['startsWith']('<?',_0x53f182)){const _0x5cba5e=_0x2e3486['indexOf']('?>',_0x53f182+0x2);if(_0x5cba5e<0x0)return!![];_0x53f182=_0x5cba5e+0x2,_0x3a685a();continue;}break;}return MYBATIS_OUTER_TAG_PATTERN[_0x46d9d6(0x180)](_0x2e3486[_0x46d9d6(0x152)](_0x53f182));}function invalidMybatisSource(_0x25196c){return{'sql':'','mode':'mybatisXml','error':_0x25196c};}function findXmlTagEnd(_0xc75218,_0x32336d){const _0x46664f=a296_0x30ed2f;let _0x376116;for(let _0x54b851=_0x32336d+0x1;_0x54b851<_0xc75218[_0x46664f(0x19a)];_0x54b851+=0x1){const _0x2e7fe2=_0xc75218[_0x54b851];if(_0x376116){if(_0x2e7fe2===_0x376116)_0x376116=undefined;continue;}if(_0x2e7fe2==='\x22'||_0x2e7fe2==='\x27'){_0x376116=_0x2e7fe2;continue;}if(_0x2e7fe2==='>')return _0x54b851;}return-0x1;}function decodeXmlEntities(_0x557620){const _0x450342=a296_0x30ed2f;let _0x1cb37a=![];const _0x4efb37=_0x557620[_0x450342(0x175)](/&(?:#x[0-9a-f]+;|#[0-9]+;|[A-Za-z_:][\w:.-]*;)?/g,_0x6747c8=>{const _0x211748=_0x450342;if(_0x6747c8===_0x211748(0x15d))return'<';if(_0x6747c8===_0x211748(0x18c))return'>';if(_0x6747c8===_0x211748(0x14f))return'\x22';if(_0x6747c8===_0x211748(0x14b))return'\x27';if(_0x6747c8==='&amp;')return'&';const _0x50c2f1=/^&#(?:x([0-9a-f]+)|([0-9]+));$/[_0x211748(0x161)](_0x6747c8);if(_0x50c2f1){const _0x3dd446=_0x50c2f1[0x1],_0x19886d=_0x50c2f1[0x2],_0x3edb8c=Number[_0x211748(0x176)](_0x3dd446??_0x19886d??'',_0x3dd446?0x10:0xa);if(isValidXmlCharacter(_0x3edb8c))return String['fromCodePoint'](_0x3edb8c);}return _0x1cb37a=!![],'';});return _0x1cb37a?null:_0x4efb37;}function isValidXmlCharacter(_0x377424){return _0x377424===0x9||_0x377424===0xa||_0x377424===0xd||_0x377424>=0x20&&_0x377424<=0xd7ff||_0x377424>=0xe000&&_0x377424<=0xfffd||_0x377424>=0x10000&&_0x377424<=0x10ffff;}export function detectSqlType(_0x226b49){return detectNormalizedSqlType(normalizeSqlForStaticAnalysis(_0x226b49));}function detectNormalizedSqlType(_0x391558){const _0x2b42d4=a296_0x30ed2f;if(_0x391558[_0x2b42d4(0x184)])return{'type':_0x2b42d4(0x179),'isSelectOnly':![],'isDangerous':![],'reason':_0x391558[_0x2b42d4(0x184)]};if(!_0x391558[_0x2b42d4(0x19b)][_0x2b42d4(0x14d)]())return{'type':'UNKNOWN','isSelectOnly':![],'isDangerous':![],'reason':_0x2b42d4(0x19d)};const _0xb3779d=stripStaticAnalysisMarkers(_0x391558[_0x2b42d4(0x19b)])[_0x2b42d4(0x175)](/#\{[^}]*\}/g,'?')[_0x2b42d4(0x175)](/\$\{[^}]*\}/g,'?')['replace'](/@[^(\s]+(\([^)]*\))?/g,'')[_0x2b42d4(0x175)](/\/\*[\s\S]*?\*\//g,'')['trim'](),_0x1750c7=_0xb3779d['split']('\x0a');let _0x190437='';for(const _0x584105 of _0x1750c7){const _0x4313f5=_0x584105[_0x2b42d4(0x14d)]();if(!_0x4313f5||_0x4313f5[_0x2b42d4(0x150)]('--')||_0x4313f5[_0x2b42d4(0x150)]('/*'))continue;_0x190437=_0x4313f5;break;}const _0xabd0ee=_0x190437['toUpperCase'](),_0xaa8baf=_0x391558['statementType'],_0x1ecd7f=maskSqlTextForBlockedKeywordScan(_0xb3779d),_0x16dd95=/\b(DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i['test'](_0x1ecd7f);if(_0xaa8baf===_0x2b42d4(0x165)||!_0xaa8baf&&(_0xabd0ee[_0x2b42d4(0x150)](_0x2b42d4(0x165))||_0xabd0ee[_0x2b42d4(0x150)](_0x2b42d4(0x14e)))){const _0x35fe48=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i[_0x2b42d4(0x180)](_0xb3779d);return{'type':_0x2b42d4(0x165),'isSelectOnly':!_0x35fe48,'isDangerous':_0x35fe48,'reason':_0x35fe48?'SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT':undefined};}if(_0xaa8baf==='INSERT'||!_0xaa8baf&&_0xabd0ee[_0x2b42d4(0x150)]('INSERT'))return{'type':_0x2b42d4(0x171),'isSelectOnly':![],'isDangerous':_0x16dd95,'reason':_0x16dd95?_0x2b42d4(0x192):undefined};if(_0xaa8baf===_0x2b42d4(0x149)||!_0xaa8baf&&_0xabd0ee[_0x2b42d4(0x150)](_0x2b42d4(0x149)))return{'type':_0x2b42d4(0x149),'isSelectOnly':![],'isDangerous':_0x16dd95,'reason':_0x16dd95?'SQL\x20contains\x20blocked\x20DELETE\x20or\x20DDL\x20statements':undefined};if(_0xaa8baf===_0x2b42d4(0x178)||!_0xaa8baf&&_0xabd0ee[_0x2b42d4(0x150)](_0x2b42d4(0x178)))return{'type':_0x2b42d4(0x178),'isSelectOnly':![],'isDangerous':!![],'reason':_0x2b42d4(0x187)};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i[_0x2b42d4(0x180)](_0xabd0ee))return{'type':_0x2b42d4(0x189),'isSelectOnly':![],'isDangerous':!![],'reason':_0x2b42d4(0x190)};return{'type':_0x2b42d4(0x179),'isSelectOnly':![],'isDangerous':![]};}function stripStaticAnalysisMarkers(_0x53fd76){const _0x155f73=a296_0x30ed2f;return _0x53fd76[_0x155f73(0x148)](MYBATIS_DYNAMIC_START_MARKER,'\x20')[_0x155f73(0x148)](MYBATIS_DYNAMIC_END_MARKER,'\x20')[_0x155f73(0x148)](MYBATIS_INCLUDE_MARKER,'\x20'+UNRESOLVED_SQL_FRAGMENT+'\x20');}function maskSqlTextForBlockedKeywordScan(_0x5bb266){const _0x2fa420=a296_0x30ed2f;return _0x5bb266[_0x2fa420(0x175)](/'(?:''|\\.|[^'])*'/g,'\x20')[_0x2fa420(0x175)](/"(?:""|\\.|[^"])*"/g,'\x20')['replace'](/`(?:``|\\.|[^`])*`/g,'\x20')[_0x2fa420(0x175)](/--.*$/gm,'\x20')[_0x2fa420(0x175)](/#.*$/gm,'\x20')['replace'](/\/\*[\s\S]*?\*\//g,'\x20');}function extractTables(_0x53760){const _0xcbc8f=a296_0x30ed2f,_0x343124=_0x53760[_0xcbc8f(0x175)](/#\{[^}]*\}/g,'?')[_0xcbc8f(0x175)](/\$\{[^}]*\}/g,'?')['replace'](/'[^']*'/g,'\x27\x27')[_0xcbc8f(0x175)](/--.*$/gm,'')[_0xcbc8f(0x175)](/\/\*[\s\S]*?\*\//g,''),_0xf3d46f=[],_0x7f018b=_0x343124[_0xcbc8f(0x154)](/FROM\s+([^\s,)(]+)/i);addTable(_0xf3d46f,_0x7f018b?.[0x1]);for(const _0x23953b of _0x343124[_0xcbc8f(0x191)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){addTable(_0xf3d46f,_0x23953b[0x1]);}const _0x2be310=_0x343124['match'](/INTO\s+([^\s(]+)/i);addTable(_0xf3d46f,_0x2be310?.[0x1]);const _0x52c176=_0x343124[_0xcbc8f(0x154)](/UPDATE\s+([^\s,)(]+)/i);return addTable(_0xf3d46f,_0x52c176?.[0x1]),_0xf3d46f;}function a296_0x2b2b(){const _0x31b08c=['exec','1376413MvoBLZ','9428dAbNwp','<!--','SELECT','MyBatis\x20dynamic\x20tag\x20names\x20must\x20be\x20lowercase:\x20<','tagName','foreach','3635kDJmuM','Unable\x20to\x20detect\x20SQL\x20type.\x20','Unterminated\x20CDATA\x20section.','has','99ISrzjf','rawName','add','153264JhimpB','INSERT','reason','\x20WHERE\x20','2626314qZHYFz','replace','parseInt','set','DELETE','UNKNOWN','Unclosed\x20MyBatis\x20XML\x20tag:\x20<','7gDKmvR','otherwise','property','Multiple\x20MyBatis\x20statement\x20wrappers\x20are\x20not\x20supported.','join','test','keys','Unterminated\x20XML\x20declaration.','CDATA\x20sections\x20must\x20be\x20inside\x20the\x20MyBatis\x20statement\x20wrapper.','error','51900672DQEboP','indexOf','DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save','type','DDL','choose','\x20query\x20targeting\x20','&gt;','outer','46486VnxJTc','select','DDL\x20statements\x20are\x20blocked\x20from\x20auto-save','matchAll','SQL\x20contains\x20blocked\x20DELETE\x20or\x20DDL\x20statements','3309927PBDZQq','Unterminated\x20XML\x20comment.','XML\x20declarations\x20must\x20precede\x20the\x20MyBatis\x20statement\x20wrapper.','MyBatis\x20<property>\x20must\x20be\x20a\x20self-closing\x20direct\x20child\x20of\x20<include>.','unknown\x20table(s)','\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.','MyBatis\x20dynamic\x20tag\x20must\x20be\x20inside\x20the\x20statement\x20wrapper:\x20<','length','sql','Invalid\x20XML\x20entity\x20reference.','SQL\x20content\x20is\x20empty','where','<![CDATA[','Mismatched\x20MyBatis\x20XML\x20closing\x20tag:\x20</','insert','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.','from','replaceAll','UPDATE','2lrnfGQ','&apos;','Unsupported\x20MyBatis\x20XML\x20tag:\x20<','trim','WITH','&quot;','startsWith','include','slice','mybatisXml','match','bind','-->','Invalid\x20MyBatis\x20XML\x20tag.','push','pop','Invalid\x20attributes\x20on\x20MyBatis\x20XML\x20tag:\x20<','^<\x5cs*(?:','get','&lt;',')\x5cb','2540XInYuV','includes'];a296_0x2b2b=function(){return _0x31b08c;};return a296_0x2b2b();}function addTable(_0x4fc54b,_0x2d133e){const _0x4a9ace=a296_0x30ed2f,_0x2b0515=_0x2d133e?.[_0x4a9ace(0x175)](/[`"]/g,'');_0x2b0515&&_0x2b0515!==UNRESOLVED_SQL_FRAGMENT&&!_0x4fc54b[_0x4a9ace(0x160)](_0x2b0515)&&_0x4fc54b[_0x4a9ace(0x158)](_0x2b0515);}function extractParameters(_0x325f3c){const _0x48e5be=a296_0x30ed2f,_0x595592=new Set();for(const _0x105d24 of _0x325f3c['matchAll'](/[#$]\{\s*([A-Za-z_][\w.]*)\s*(?=[,}])/g)){if(_0x105d24[0x1])_0x595592['add'](_0x105d24[0x1]);}return Array[_0x48e5be(0x147)](_0x595592);}export function validateSql(_0x2c1503){const _0x53bc12=a296_0x30ed2f,_0x5c1ab6=normalizeSqlForStaticAnalysis(_0x2c1503),_0x56e28b=detectNormalizedSqlType(_0x5c1ab6),_0x44f0c6=stripStaticAnalysisMarkers(_0x5c1ab6[_0x53bc12(0x19b)]),_0x372f08=_0x5c1ab6[_0x53bc12(0x184)]?[]:extractTables(_0x44f0c6),_0x2c1192=_0x5c1ab6['error']?[]:extractParameters(_0x44f0c6);if(_0x56e28b['isDangerous'])return{'valid':![],'sqlType':_0x56e28b,'tables':_0x372f08,'parameters':_0x2c1192,'message':_0x56e28b[_0x53bc12(0x172)]||_0x56e28b[_0x53bc12(0x188)]+_0x53bc12(0x198)};if(_0x56e28b[_0x53bc12(0x188)]===_0x53bc12(0x179))return{'valid':![],'sqlType':_0x56e28b,'tables':_0x372f08,'parameters':_0x2c1192,'message':_0x5c1ab6[_0x53bc12(0x184)]?_0x53bc12(0x16a)+_0x5c1ab6[_0x53bc12(0x184)]:_0x53bc12(0x1a2)};return{'valid':!![],'sqlType':_0x56e28b,'tables':_0x372f08,'parameters':_0x2c1192,'message':_0x56e28b[_0x53bc12(0x188)]+_0x53bc12(0x18b)+(_0x372f08[_0x53bc12(0x19a)]?_0x372f08[_0x53bc12(0x17f)](',\x20'):_0x53bc12(0x197))+(_0x2c1192[_0x53bc12(0x19a)]?'\x20with\x20parameters:\x20'+_0x2c1192[_0x53bc12(0x17f)](',\x20'):'')};}
package/lib/errors.js CHANGED
@@ -1 +1 @@
1
- function a297_0x1eee(){const _0x3d7667=['4800840BrtIFn','auth_required','Configuration\x20file\x20not\x20found','\x20workspace\x20add\x20<name>\x20--appcode\x20<code>\x20--global`\x20registers\x20a\x20reusable\x20global\x20app\x20profile.','\x20project\x20directory','Authentication\x20required','Missing\x20required\x20flag:\x20--','\x20--help`\x20to\x20see\x20available\x20commands.','176224yRCBxq','2907474HhtrOo','683358RMbQib','config_missing','Run\x20`','\x20auth`\x20to\x20login\x20first.','apiError','cancelled','network_error','Set\x20appcode\x20via\x20`','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.\x0a\x20\x20\x20\x20\x20\x20\x20Tip:\x20`','Not\x20in\x20a\x20','not_in_project','651drJUYJ','flag_missing','4707552ztcXhj','103384HqMymf','Operation\x20cancelled.','Check\x20your\x20internet\x20connection\x20and\x20try\x20again.','843975ZNxyEQ','Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.'];a297_0x1eee=function(){return _0x3d7667;};return a297_0x1eee();}const a297_0x2dfe78=a297_0x5068;(function(_0x3aa0bc,_0x18528e){const _0x268f61=a297_0x5068,_0x4667c4=_0x3aa0bc();while(!![]){try{const _0x1300fc=parseInt(_0x268f61(0x1cf))/0x1+-parseInt(_0x268f61(0x1d1))/0x2+-parseInt(_0x268f61(0x1d0))/0x3+parseInt(_0x268f61(0x1e4))/0x4+parseInt(_0x268f61(0x1e2))/0x5+-parseInt(_0x268f61(0x1de))/0x6+parseInt(_0x268f61(0x1dc))/0x7*(parseInt(_0x268f61(0x1df))/0x8);if(_0x1300fc===_0x18528e)break;else _0x4667c4['push'](_0x4667c4['shift']());}catch(_0x43d1aa){_0x4667c4['push'](_0x4667c4['shift']());}}}(a297_0x1eee,0x9f177));import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';export{CliError};function a297_0x5068(_0x120152,_0x14cb37){_0x120152=_0x120152-0x1cc;const _0x1eee3f=a297_0x1eee();let _0x5068f7=_0x1eee3f[_0x120152];return _0x5068f7;}const baseCliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a297_0x2dfe78(0x1d3)+CLI_BIN_NAME+a297_0x2dfe78(0x1d4),'configMissingHint':'Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+a297_0x2dfe78(0x1d9)+CLI_BIN_NAME+'\x20workspace\x20add\x20<name>\x20--appcode\x20<code>\x20--global`\x20registers\x20a\x20reusable\x20global\x20app\x20profile.','notInProjectHint':a297_0x2dfe78(0x1e3)});export const CliErrors={'authRequired'(_0x32dbb8){const _0x5c803e=a297_0x2dfe78;return new CliError(_0x5c803e(0x1e5),0x1,_0x5c803e(0x1cc),_0x32dbb8??'Run\x20`'+CLI_BIN_NAME+_0x5c803e(0x1d4));},'configMissing'(_0x45fd2e){const _0x498acc=a297_0x2dfe78;return new CliError(_0x498acc(0x1d2),0x1,_0x498acc(0x1e6),_0x45fd2e??_0x498acc(0x1d8)+CLI_BIN_NAME+_0x498acc(0x1d9)+CLI_BIN_NAME+_0x498acc(0x1e7));},'notInProject'(){const _0x5c8bdd=a297_0x2dfe78;return new CliError(_0x5c8bdd(0x1db),0x1,_0x5c8bdd(0x1da)+CLI_BIN_NAME+_0x5c8bdd(0x1e8),_0x5c8bdd(0x1e3));},'apiError'(_0x502d3c,_0x100a0f){const _0x5f3e98=a297_0x2dfe78;return baseCliErrors[_0x5f3e98(0x1d5)](_0x502d3c,_0x100a0f);},'networkError'(_0x34e8c8){const _0x1534af=a297_0x2dfe78;return new CliError(_0x1534af(0x1d7),0x2,'Network\x20error:\x20'+_0x34e8c8,_0x1534af(0x1e1));},'unknownCommand'(_0x2547c2){const _0x248e26=a297_0x2dfe78;return new CliError('unknown_command',0x1,'Unknown\x20command:\x20'+_0x2547c2,_0x248e26(0x1d3)+CLI_BIN_NAME+_0x248e26(0x1ce));},'flagMissing'(_0x281e02,_0xa8414d){const _0x45d045=a297_0x2dfe78;return new CliError(_0x45d045(0x1dd),0x1,_0x45d045(0x1cd)+_0x281e02,_0xa8414d);},'validation'(_0x3d7774,_0xb17acc){return baseCliErrors['validation'](_0x3d7774,_0xb17acc);},'cancelled'(_0x347f27){const _0x289848=a297_0x2dfe78;return new CliError(_0x289848(0x1d6),0x0,_0x347f27??_0x289848(0x1e0));}};
1
+ const a297_0x3434fc=a297_0x5724;(function(_0x1785b7,_0x3c8cf2){const _0x223098=a297_0x5724,_0x596b76=_0x1785b7();while(!![]){try{const _0x15cbb3=parseInt(_0x223098(0x15e))/0x1+-parseInt(_0x223098(0x167))/0x2+parseInt(_0x223098(0x15b))/0x3+parseInt(_0x223098(0x150))/0x4+parseInt(_0x223098(0x163))/0x5+-parseInt(_0x223098(0x153))/0x6*(-parseInt(_0x223098(0x164))/0x7)+parseInt(_0x223098(0x169))/0x8*(-parseInt(_0x223098(0x14f))/0x9);if(_0x15cbb3===_0x3c8cf2)break;else _0x596b76['push'](_0x596b76['shift']());}catch(_0x3fc128){_0x596b76['push'](_0x596b76['shift']());}}}(a297_0x54d1,0xba9bd));import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';export{CliError};const baseCliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a297_0x3434fc(0x16b)+CLI_BIN_NAME+a297_0x3434fc(0x160),'configMissingHint':a297_0x3434fc(0x162)+CLI_BIN_NAME+a297_0x3434fc(0x14e)+CLI_BIN_NAME+'\x20workspace\x20add\x20<name>\x20--appcode\x20<code>\x20--global`\x20registers\x20a\x20reusable\x20global\x20app\x20profile.','notInProjectHint':a297_0x3434fc(0x159)});function a297_0x54d1(){const _0x5666b4=['Run\x20`','validation','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.\x0a\x20\x20\x20\x20\x20\x20\x20Tip:\x20`','72XFEbcf','4242996XDRRFV','Missing\x20required\x20flag:\x20--','config_missing','1323996FCAcND','\x20--help`\x20to\x20see\x20available\x20commands.','Authentication\x20required','not_in_project','Not\x20in\x20a\x20','Operation\x20cancelled.','Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.','Configuration\x20file\x20not\x20found','1746300aYiHvy','auth_required','unknown_command','471190mqaRSf','\x20project\x20directory','\x20auth`\x20to\x20login\x20first.','\x20workspace\x20add\x20<name>\x20--appcode\x20<code>\x20--global`\x20registers\x20a\x20reusable\x20global\x20app\x20profile.','Set\x20appcode\x20via\x20`','4249050uzzbfD','14XVgwnf','Check\x20your\x20internet\x20connection\x20and\x20try\x20again.','network_error','1427376DnTBGq','flag_missing','1927144hTsTtB','Network\x20error:\x20'];a297_0x54d1=function(){return _0x5666b4;};return a297_0x54d1();}function a297_0x5724(_0x2debdc,_0x86796f){_0x2debdc=_0x2debdc-0x14d;const _0x54d153=a297_0x54d1();let _0x572443=_0x54d153[_0x2debdc];return _0x572443;}export const CliErrors={'authRequired'(_0x4cd1ea){const _0x281d49=a297_0x3434fc;return new CliError(_0x281d49(0x15c),0x1,_0x281d49(0x155),_0x4cd1ea??_0x281d49(0x16b)+CLI_BIN_NAME+_0x281d49(0x160));},'configMissing'(_0x19411d){const _0x49d358=a297_0x3434fc;return new CliError(_0x49d358(0x152),0x1,_0x49d358(0x15a),_0x19411d??_0x49d358(0x162)+CLI_BIN_NAME+_0x49d358(0x14e)+CLI_BIN_NAME+_0x49d358(0x161));},'notInProject'(){const _0x30a419=a297_0x3434fc;return new CliError(_0x30a419(0x156),0x1,_0x30a419(0x157)+CLI_BIN_NAME+_0x30a419(0x15f),_0x30a419(0x159));},'apiError'(_0x535f36,_0x1c693b){return baseCliErrors['apiError'](_0x535f36,_0x1c693b);},'networkError'(_0x7d5de0){const _0x31b0b9=a297_0x3434fc;return new CliError(_0x31b0b9(0x166),0x2,_0x31b0b9(0x16a)+_0x7d5de0,_0x31b0b9(0x165));},'unknownCommand'(_0x4a5b0a){const _0x515bd7=a297_0x3434fc;return new CliError(_0x515bd7(0x15d),0x1,'Unknown\x20command:\x20'+_0x4a5b0a,'Run\x20`'+CLI_BIN_NAME+_0x515bd7(0x154));},'flagMissing'(_0xeb5f4e,_0x343ed7){const _0x4f23cf=a297_0x3434fc;return new CliError(_0x4f23cf(0x168),0x1,_0x4f23cf(0x151)+_0xeb5f4e,_0x343ed7);},'validation'(_0x4b388b,_0x15b103){const _0x574a57=a297_0x3434fc;return baseCliErrors[_0x574a57(0x14d)](_0x4b388b,_0x15b103);},'cancelled'(_0x2925f7){const _0xb99c1=a297_0x3434fc;return new CliError('cancelled',0x0,_0x2925f7??_0xb99c1(0x158));}};
@@ -1 +1 @@
1
- function a298_0x262f(){const _0x1beba5=['171651YRgEZS','map','8BVZbzi','7985CaCibZ','5301303Mbzyhn','17304939HTQbGJ','yes','549453BBpHAc','628WnZHGS','7437072fwloVL','1601722JXELhX'];a298_0x262f=function(){return _0x1beba5;};return a298_0x262f();}(function(_0x50a9e3,_0x3d9d0d){const _0x56c0b9=a298_0x3042,_0x41280b=_0x50a9e3();while(!![]){try{const _0x449e29=-parseInt(_0x56c0b9(0x102))/0x1+parseInt(_0x56c0b9(0x101))/0x2+-parseInt(_0x56c0b9(0xfe))/0x3+parseInt(_0x56c0b9(0xff))/0x4*(parseInt(_0x56c0b9(0x105))/0x5)+-parseInt(_0x56c0b9(0x100))/0x6+-parseInt(_0x56c0b9(0x106))/0x7+-parseInt(_0x56c0b9(0x104))/0x8*(-parseInt(_0x56c0b9(0x107))/0x9);if(_0x449e29===_0x3d9d0d)break;else _0x41280b['push'](_0x41280b['shift']());}catch(_0x1b5d05){_0x41280b['push'](_0x41280b['shift']());}}}(a298_0x262f,0x9807e));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a298_0x41b6bc}from'@lovrabet/cli-framework';import{EXPLICIT_YES_FLAG_DESCRIPTION,requiresExplicitYes}from'../framework/explicit-yes.js';function a298_0x3042(_0x1a79f6,_0x510be5){_0x1a79f6=_0x1a79f6-0xfd;const _0x262fab=a298_0x262f();let _0x304211=_0x262fab[_0x1a79f6];return _0x304211;}export function buildAllFlags(_0xec9820){const _0x4547b2=a298_0x3042,_0x3b598f=a298_0x41b6bc(_0xec9820,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});if(!requiresExplicitYes(_0xec9820))return _0x3b598f;return _0x3b598f[_0x4547b2(0x103)](_0x47cf6a=>_0x47cf6a['name']===_0x4547b2(0xfd)?{..._0x47cf6a,'description':EXPLICIT_YES_FLAG_DESCRIPTION}:_0x47cf6a);}
1
+ (function(_0x13ca4d,_0x3801f6){const _0x28ea19=a298_0x6b62,_0xa462bb=_0x13ca4d();while(!![]){try{const _0x1340bf=-parseInt(_0x28ea19(0x184))/0x1+-parseInt(_0x28ea19(0x185))/0x2*(parseInt(_0x28ea19(0x187))/0x3)+parseInt(_0x28ea19(0x17e))/0x4+-parseInt(_0x28ea19(0x17c))/0x5*(parseInt(_0x28ea19(0x181))/0x6)+parseInt(_0x28ea19(0x17d))/0x7*(-parseInt(_0x28ea19(0x180))/0x8)+parseInt(_0x28ea19(0x182))/0x9+parseInt(_0x28ea19(0x183))/0xa;if(_0x1340bf===_0x3801f6)break;else _0xa462bb['push'](_0xa462bb['shift']());}catch(_0x5f28b5){_0xa462bb['push'](_0xa462bb['shift']());}}}(a298_0x2263,0xbca92));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a298_0x1cdc20}from'@lovrabet/cli-framework';function a298_0x6b62(_0xa3de4c,_0x49be97){_0xa3de4c=_0xa3de4c-0x17b;const _0x22639e=a298_0x2263();let _0x6b62a1=_0x22639e[_0xa3de4c];return _0x6b62a1;}function a298_0x2263(){const _0x2c8b14=['yes','177sdXDao','map','30755zcxOhM','91EUmQcW','2619756vZLedF','name','129432FzUzyU','426CVnTmS','1596681ZeBITL','35320880wktAYj','1522793ZyxHHj','48198yUBCUi'];a298_0x2263=function(){return _0x2c8b14;};return a298_0x2263();}import{EXPLICIT_YES_FLAG_DESCRIPTION,requiresExplicitYes}from'../framework/explicit-yes.js';export function buildAllFlags(_0x3a0d29){const _0xe68d43=a298_0x6b62,_0x458d40=a298_0x1cdc20(_0x3a0d29,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});if(!requiresExplicitYes(_0x3a0d29))return _0x458d40;return _0x458d40[_0xe68d43(0x17b)](_0x88a796=>_0x88a796[_0xe68d43(0x17f)]===_0xe68d43(0x186)?{..._0x88a796,'description':EXPLICIT_YES_FLAG_DESCRIPTION}:_0x88a796);}
@@ -1 +1 @@
1
- function a299_0x9742(_0x2f5a9f,_0x17a05f){_0x2f5a9f=_0x2f5a9f-0x1c3;var _0x4ae908=a299_0x4ae9();var _0x974201=_0x4ae908[_0x2f5a9f];return _0x974201;}function a299_0x4ae9(){var _0x2ee87c=['5601871VSfwbT','structuredErrors','defaultFormat','3160530EePmsJ','780507VEqfrg','7suOLRd','def','compress','flags','6439938lTYFNw','4295yyPVkT','36964TOdvRO','48CiCIdU','9UoOSeE','1129936uaKleN','format','2228REQPTs'];a299_0x4ae9=function(){return _0x2ee87c;};return a299_0x4ae9();}(function(_0x1444b9,_0x488236){var _0x23c64c=a299_0x9742,_0x454b6f=_0x1444b9();while(!![]){try{var _0x1c9fa3=-parseInt(_0x23c64c(0x1cd))/0x1*(-parseInt(_0x23c64c(0x1ce))/0x2)+-parseInt(_0x23c64c(0x1c6))/0x3+parseInt(_0x23c64c(0x1d2))/0x4*(-parseInt(_0x23c64c(0x1cc))/0x5)+parseInt(_0x23c64c(0x1cb))/0x6*(parseInt(_0x23c64c(0x1c7))/0x7)+-parseInt(_0x23c64c(0x1d0))/0x8*(-parseInt(_0x23c64c(0x1cf))/0x9)+-parseInt(_0x23c64c(0x1c5))/0xa+-parseInt(_0x23c64c(0x1d3))/0xb;if(_0x1c9fa3===_0x488236)break;else _0x454b6f['push'](_0x454b6f['shift']());}catch(_0x5deb0a){_0x454b6f['push'](_0x454b6f['shift']());}}}(a299_0x4ae9,0x8349b));import{resolveOutputConfig}from'@lovrabet/cli-framework';export function usesStructuredErrorOutput(_0x2be325){var _0x34db4b=a299_0x9742;return _0x2be325?.[_0x34db4b(0x1c3)]===!![];}export function resolveErrorOutputFormat(_0xc576b9){var _0x28641a=a299_0x9742;if(!_0xc576b9[_0x28641a(0x1c8)])return _0xc576b9[_0x28641a(0x1c4)]??_0x28641a(0x1c9);return resolveOutputConfig({'flags':_0xc576b9[_0x28641a(0x1ca)]??{},'def':_0xc576b9[_0x28641a(0x1c8)],'configDefault':_0xc576b9[_0x28641a(0x1c4)]})[_0x28641a(0x1d1)];}
1
+ function a299_0x5455(_0x4d6e6f,_0x26fea7){_0x4d6e6f=_0x4d6e6f-0xab;var _0x2009f8=a299_0x2009();var _0x5455f7=_0x2009f8[_0x4d6e6f];return _0x5455f7;}(function(_0x2c3e9c,_0x2d5025){var _0x58f4ad=a299_0x5455,_0xac4e9b=_0x2c3e9c();while(!![]){try{var _0x34517c=parseInt(_0x58f4ad(0xab))/0x1*(parseInt(_0x58f4ad(0xb3))/0x2)+-parseInt(_0x58f4ad(0xb0))/0x3+-parseInt(_0x58f4ad(0xb5))/0x4+-parseInt(_0x58f4ad(0xb6))/0x5+parseInt(_0x58f4ad(0xb4))/0x6*(-parseInt(_0x58f4ad(0xb2))/0x7)+-parseInt(_0x58f4ad(0xb1))/0x8+-parseInt(_0x58f4ad(0xb9))/0x9*(-parseInt(_0x58f4ad(0xad))/0xa);if(_0x34517c===_0x2d5025)break;else _0xac4e9b['push'](_0xac4e9b['shift']());}catch(_0x3ea1ef){_0xac4e9b['push'](_0xac4e9b['shift']());}}}(a299_0x2009,0x6269a));import{resolveOutputConfig}from'@lovrabet/cli-framework';function a299_0x2009(){var _0x391a29=['1XcWjCr','flags','2171990QBImgw','structuredErrors','defaultFormat','1234833tuogbX','1995480uwjEzM','1222319nhQbTh','460986YFYpUB','12XIYxuA','2680100NJiOpz','1595400fdHZtJ','compress','def','90ZWmmCc','format'];a299_0x2009=function(){return _0x391a29;};return a299_0x2009();}export function usesStructuredErrorOutput(_0x1df7f9){var _0x314aae=a299_0x5455;return _0x1df7f9?.[_0x314aae(0xae)]===!![];}export function resolveErrorOutputFormat(_0x4d0b30){var _0x180e6a=a299_0x5455;if(!_0x4d0b30[_0x180e6a(0xb8)])return _0x4d0b30[_0x180e6a(0xaf)]??_0x180e6a(0xb7);return resolveOutputConfig({'flags':_0x4d0b30[_0x180e6a(0xac)]??{},'def':_0x4d0b30[_0x180e6a(0xb8)],'configDefault':_0x4d0b30[_0x180e6a(0xaf)]})[_0x180e6a(0xba)];}
@@ -1 +1 @@
1
- function a300_0x3cc8(_0x14cda6,_0x5e0b6f){_0x14cda6=_0x14cda6-0x194;const _0x55407f=a300_0x5540();let _0x3cc824=_0x55407f[_0x14cda6];return _0x3cc824;}const a300_0x47bff8=a300_0x3cc8;(function(_0x270666,_0x3da663){const _0x4b2bef=a300_0x3cc8,_0x6ab338=_0x270666();while(!![]){try{const _0x211636=parseInt(_0x4b2bef(0x1a2))/0x1+-parseInt(_0x4b2bef(0x19b))/0x2*(-parseInt(_0x4b2bef(0x194))/0x3)+-parseInt(_0x4b2bef(0x19c))/0x4+parseInt(_0x4b2bef(0x1a1))/0x5*(-parseInt(_0x4b2bef(0x196))/0x6)+parseInt(_0x4b2bef(0x197))/0x7+-parseInt(_0x4b2bef(0x195))/0x8+-parseInt(_0x4b2bef(0x1a3))/0x9*(-parseInt(_0x4b2bef(0x199))/0xa);if(_0x211636===_0x3da663)break;else _0x6ab338['push'](_0x6ab338['shift']());}catch(_0x55cb34){_0x6ab338['push'](_0x6ab338['shift']());}}}(a300_0x5540,0x41787));const EXPLICIT_YES_COMMANDS=new Set([a300_0x47bff8(0x19f),a300_0x47bff8(0x19a),a300_0x47bff8(0x1a0),a300_0x47bff8(0x19e)]);function a300_0x5540(){const _0x432ac5=['12432tERWDd','29012oYhaMo','command','notification\x20config-delete','menu\x20delete','notification\x20config-update','5Yutiow','64999XIHzPj','108GRQxBQ','108eAgZzX','1611264ZIjuMz','2552658gYFaoc','901964KADtoy','has','403870ZMomyd','kb\x20delete'];a300_0x5540=function(){return _0x432ac5;};return a300_0x5540();}export const EXPLICIT_YES_FLAG_DESCRIPTION='Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan';export function requiresExplicitYes(_0x49f05a){const _0xd1d0ac=a300_0x47bff8;return EXPLICIT_YES_COMMANDS[_0xd1d0ac(0x198)](_0x49f05a['service']+'\x20'+_0x49f05a[_0xd1d0ac(0x19d)]);}
1
+ function a300_0x410a(){const _0x4b4037=['notification\x20config-update','3221659zfpfXj','notification\x20config-delete','kb\x20delete','856890EErIfL','command','3554568PtXcos','24UeYenj','27080REgXhc','1oDDSHI','290928QWAxcr','2368215FZQGQU','357294VOzgAR','10KDLiiN','3443WOaxjR'];a300_0x410a=function(){return _0x4b4037;};return a300_0x410a();}const a300_0x157d3f=a300_0x43f2;(function(_0x46300c,_0x1b2643){const _0x1a4820=a300_0x43f2,_0x4c4852=_0x46300c();while(!![]){try{const _0x182064=-parseInt(_0x1a4820(0xce))/0x1*(-parseInt(_0x1a4820(0xc9))/0x2)+parseInt(_0x1a4820(0xcf))/0x3*(parseInt(_0x1a4820(0xcc))/0x4)+-parseInt(_0x1a4820(0xc3))/0x5*(parseInt(_0x1a4820(0xc2))/0x6)+parseInt(_0x1a4820(0xc6))/0x7+-parseInt(_0x1a4820(0xcb))/0x8+parseInt(_0x1a4820(0xd0))/0x9+parseInt(_0x1a4820(0xcd))/0xa*(-parseInt(_0x1a4820(0xc4))/0xb);if(_0x182064===_0x1b2643)break;else _0x4c4852['push'](_0x4c4852['shift']());}catch(_0x57c10b){_0x4c4852['push'](_0x4c4852['shift']());}}}(a300_0x410a,0x4ec5a));function a300_0x43f2(_0x25d3aa,_0x18483d){_0x25d3aa=_0x25d3aa-0xc2;const _0x410a4e=a300_0x410a();let _0x43f250=_0x410a4e[_0x25d3aa];return _0x43f250;}const EXPLICIT_YES_COMMANDS=new Set(['menu\x20delete',a300_0x157d3f(0xc8),a300_0x157d3f(0xc5),a300_0x157d3f(0xc7)]);export const EXPLICIT_YES_FLAG_DESCRIPTION='Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan';export function requiresExplicitYes(_0x86612c){const _0x3d8287=a300_0x157d3f;return EXPLICIT_YES_COMMANDS['has'](_0x86612c['service']+'\x20'+_0x86612c[_0x3d8287(0xca)]);}
@@ -1 +1 @@
1
- const a301_0xa544df=a301_0xf221;(function(_0x180349,_0x5c9a49){const _0x4ae3c4=a301_0xf221,_0x4129fe=_0x180349();while(!![]){try{const _0x35f84a=-parseInt(_0x4ae3c4(0x15a))/0x1*(parseInt(_0x4ae3c4(0x159))/0x2)+-parseInt(_0x4ae3c4(0x15b))/0x3*(-parseInt(_0x4ae3c4(0x153))/0x4)+-parseInt(_0x4ae3c4(0x154))/0x5*(-parseInt(_0x4ae3c4(0x152))/0x6)+parseInt(_0x4ae3c4(0x158))/0x7+-parseInt(_0x4ae3c4(0x156))/0x8+parseInt(_0x4ae3c4(0x157))/0x9*(-parseInt(_0x4ae3c4(0x151))/0xa)+parseInt(_0x4ae3c4(0x15c))/0xb;if(_0x35f84a===_0x5c9a49)break;else _0x4129fe['push'](_0x4129fe['shift']());}catch(_0x3a962a){_0x4129fe['push'](_0x4129fe['shift']());}}}(a301_0x3473,0x8afa3));import{createFlagHelpers}from'@lovrabet/cli-framework';function a301_0xf221(_0x12748a,_0x30ec36){_0x12748a=_0x12748a-0x151;const _0x3473cd=a301_0x3473();let _0xf2212a=_0x3473cd[_0x12748a];return _0xf2212a;}function a301_0x3473(){const _0x408701=['4543784QlogYa','387458FxBTlS','3lcnyCh','79818BEuPuC','705969MaWYTc','parseFlags','190lhAtQP','4080DUIWZP','136xOMcIz','5935OiMzJH','validateFlags','6393592YNrXYu','225198ovlTBc'];a301_0x3473=function(){return _0x408701;};return a301_0x3473();}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a301_0xa544df(0x15d)];export const validateFlags=helpers[a301_0xa544df(0x155)];
1
+ const a301_0x51c66a=a301_0x2bb0;(function(_0x3785dc,_0x3aa635){const _0x3aa069=a301_0x2bb0,_0x5767b1=_0x3785dc();while(!![]){try{const _0x4bb318=parseInt(_0x3aa069(0x1ee))/0x1+parseInt(_0x3aa069(0x1e6))/0x2*(-parseInt(_0x3aa069(0x1ea))/0x3)+parseInt(_0x3aa069(0x1ed))/0x4+parseInt(_0x3aa069(0x1f0))/0x5+parseInt(_0x3aa069(0x1ef))/0x6*(-parseInt(_0x3aa069(0x1e9))/0x7)+-parseInt(_0x3aa069(0x1e7))/0x8+-parseInt(_0x3aa069(0x1f1))/0x9*(parseInt(_0x3aa069(0x1ec))/0xa);if(_0x4bb318===_0x3aa635)break;else _0x5767b1['push'](_0x5767b1['shift']());}catch(_0x574873){_0x5767b1['push'](_0x5767b1['shift']());}}}(a301_0x439c,0x3e931));import{createFlagHelpers}from'@lovrabet/cli-framework';function a301_0x439c(){const _0x165046=['726lysWAJ','1938055UXfxdt','171OIBLyu','240258aOPSUt','2417816jhFhVj','validateFlags','13076sYrLGH','3TTnKCF','parseFlags','33890CpRTgh','2035744nprsud','72533qEaMzq'];a301_0x439c=function(){return _0x165046;};return a301_0x439c();}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);function a301_0x2bb0(_0x1ca6a2,_0x42aaa4){_0x1ca6a2=_0x1ca6a2-0x1e6;const _0x439c1d=a301_0x439c();let _0x2bb0fa=_0x439c1d[_0x1ca6a2];return _0x2bb0fa;}export const parseFlags=helpers[a301_0x51c66a(0x1eb)];export const validateFlags=helpers[a301_0x51c66a(0x1e8)];
@@ -1 +1 @@
1
- (function(_0x357b65,_0x243d02){const _0x1ec732=a302_0xf68a,_0x3c7999=_0x357b65();while(!![]){try{const _0x1b538f=parseInt(_0x1ec732(0x90))/0x1*(parseInt(_0x1ec732(0x7f))/0x2)+-parseInt(_0x1ec732(0x91))/0x3*(-parseInt(_0x1ec732(0x8f))/0x4)+-parseInt(_0x1ec732(0x80))/0x5+-parseInt(_0x1ec732(0x87))/0x6*(-parseInt(_0x1ec732(0x8a))/0x7)+parseInt(_0x1ec732(0x85))/0x8*(-parseInt(_0x1ec732(0x83))/0x9)+parseInt(_0x1ec732(0x8d))/0xa+parseInt(_0x1ec732(0x89))/0xb*(-parseInt(_0x1ec732(0x82))/0xc);if(_0x1b538f===_0x243d02)break;else _0x3c7999['push'](_0x3c7999['shift']());}catch(_0xf5fce0){_0x3c7999['push'](_0x3c7999['shift']());}}}(a302_0x49f2,0x69021));function a302_0x49f2(){const _0x1d9904=['7090CgWNTr','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','4oOduHD','207123kvmqHl','1489257XLOtRn','get','6tCcJQv','2333175gOtTKe','replace','468oLGTGm','2537469xFkBbu','\x20workspace\x20init`\x20or\x20--appcode).','24fvMixf','Requires\x20appcode\x20(set\x20via\x20`','66VoJLJv','generateFullHelp','38841mXsQNQ','484771vEMEmZ','\x20[args]\x20[flags]','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.'];a302_0x49f2=function(){return _0x1d9904;};return a302_0x49f2();}import{createHelpGenerators}from'@lovrabet/cli-framework';function a302_0xf68a(_0x5a482a,_0x422121){_0x5a482a=_0x5a482a-0x7f;const _0x49f264=a302_0x49f2();let _0xf68af4=_0x49f264[_0x5a482a];return _0xf68af4;}import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{requiresExplicitYes}from'../framework/explicit-yes.js';function createGenerators(){const _0x1d7ff9=a302_0xf68a;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0xed39cd=>serviceGroups[_0x1d7ff9(0x92)](_0xed39cd),'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x1d7ff9(0x86)+CLI_BIN_NAME+_0x1d7ff9(0x84),'serviceUsageSuffix':_0x1d7ff9(0x8b)});}export function generateCommandHelp(_0x1c7964){const _0x1ac8f0=a302_0xf68a,_0x1f5819=createGenerators()['generateCommandHelp'](_0x1c7964);if(!requiresExplicitYes(_0x1c7964))return _0x1f5819;return _0x1f5819[_0x1ac8f0(0x81)](_0x1ac8f0(0x8c),_0x1ac8f0(0x8e));}export function generateServiceHelp(_0x2ffcde){return createGenerators()['generateServiceHelp'](_0x2ffcde);}export function generateFullHelp(){const _0x2b4058=a302_0xf68a;return createGenerators()[_0x2b4058(0x88)]();}
1
+ (function(_0x43c147,_0x4b92c1){const _0x28b451=a302_0x58be,_0x1002aa=_0x43c147();while(!![]){try{const _0x5ca2fa=-parseInt(_0x28b451(0xc3))/0x1+parseInt(_0x28b451(0xcb))/0x2*(-parseInt(_0x28b451(0xcd))/0x3)+parseInt(_0x28b451(0xc8))/0x4*(-parseInt(_0x28b451(0xc5))/0x5)+-parseInt(_0x28b451(0xc9))/0x6+-parseInt(_0x28b451(0xca))/0x7+-parseInt(_0x28b451(0xc2))/0x8*(parseInt(_0x28b451(0xcf))/0x9)+parseInt(_0x28b451(0xc6))/0xa;if(_0x5ca2fa===_0x4b92c1)break;else _0x1002aa['push'](_0x1002aa['shift']());}catch(_0x4ec059){_0x1002aa['push'](_0x1002aa['shift']());}}}(a302_0x5b21,0xf15e6));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a302_0x5b21(){const _0x260700=['5233515jejMSd','52WzvYlb','generateFullHelp','147927HiEmwN','replace','9120555IKMfBp','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','generateServiceHelp','8nPKsDP','301596wzBDlD','\x20[args]\x20[flags]','10MBijcc','63397280UQLBgX','generateCommandHelp','3410204jQoBZU','1807860eVeYSH'];a302_0x5b21=function(){return _0x260700;};return a302_0x5b21();}import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';function a302_0x58be(_0x53bea1,_0x2e16e4){_0x53bea1=_0x53bea1-0xc0;const _0x5b21d5=a302_0x5b21();let _0x58bef2=_0x5b21d5[_0x53bea1];return _0x58bef2;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{requiresExplicitYes}from'../framework/explicit-yes.js';function createGenerators(){const _0x272aa1=a302_0x58be;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x2d13b5=>serviceGroups['get'](_0x2d13b5),'buildAllFlags':buildAllFlags,'appPrerequisiteText':'Requires\x20appcode\x20(set\x20via\x20`'+CLI_BIN_NAME+'\x20workspace\x20init`\x20or\x20--appcode).','serviceUsageSuffix':_0x272aa1(0xc4)});}export function generateCommandHelp(_0x56ab6f){const _0x45f81c=a302_0x58be,_0x526a7e=createGenerators()[_0x45f81c(0xc7)](_0x56ab6f);if(!requiresExplicitYes(_0x56ab6f))return _0x526a7e;return _0x526a7e[_0x45f81c(0xce)](_0x45f81c(0xc0),'Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.');}export function generateServiceHelp(_0x54d070){const _0x5d8e2f=a302_0x58be;return createGenerators()[_0x5d8e2f(0xc1)](_0x54d070);}export function generateFullHelp(){const _0x3ba3bf=a302_0x58be;return createGenerators()[_0x3ba3bf(0xcc)]();}
@@ -1 +1 @@
1
- (function(_0x4437fe,_0x19a45d){var _0x2e0090=a303_0x3a99,_0x4c7518=_0x4437fe();while(!![]){try{var _0x52c932=-parseInt(_0x2e0090(0x1f3))/0x1+parseInt(_0x2e0090(0x1f9))/0x2*(-parseInt(_0x2e0090(0x1f4))/0x3)+parseInt(_0x2e0090(0x1f7))/0x4+parseInt(_0x2e0090(0x1f6))/0x5*(-parseInt(_0x2e0090(0x1f2))/0x6)+-parseInt(_0x2e0090(0x1f1))/0x7+parseInt(_0x2e0090(0x1f8))/0x8+parseInt(_0x2e0090(0x1f5))/0x9;if(_0x52c932===_0x19a45d)break;else _0x4c7518['push'](_0x4c7518['shift']());}catch(_0x4807d5){_0x4c7518['push'](_0x4c7518['shift']());}}}(a303_0x4cd7,0x87995));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';function a303_0x3a99(_0x226d46,_0x2a3d07){_0x226d46=_0x226d46-0x1f1;var _0x4cd7cb=a303_0x4cd7();var _0x3a99d1=_0x4cd7cb[_0x226d46];return _0x3a99d1;}export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';function a303_0x4cd7(){var _0x54a4f5=['927192TcEqwV','1375792XjVjpn','1746074JNnfpx','6414926NSJhIm','48252VrTkoo','596992lxnLiC','3EdIGCS','30731994MhoGGD','545rZnEXF'];a303_0x4cd7=function(){return _0x54a4f5;};return a303_0x4cd7();}
1
+ function a303_0x46a2(){var _0x1c28a0=['2ozpRUh','570304auSpuy','215265cutUPZ','8882739OfoikH','30560820KsEUhT','5502248Cgiyhm','84cJTtah','5084943sbLwbz','12QzCNEQ','1112859cvFkdP'];a303_0x46a2=function(){return _0x1c28a0;};return a303_0x46a2();}(function(_0x1ab8e2,_0x571d92){var _0x557e4b=a303_0xca0c,_0xf8027=_0x1ab8e2();while(!![]){try{var _0x318bd2=parseInt(_0x557e4b(0x1cb))/0x1*(-parseInt(_0x557e4b(0x1cc))/0x2)+-parseInt(_0x557e4b(0x1c9))/0x3+-parseInt(_0x557e4b(0x1ca))/0x4*(parseInt(_0x557e4b(0x1ce))/0x5)+-parseInt(_0x557e4b(0x1d2))/0x6*(-parseInt(_0x557e4b(0x1cd))/0x7)+parseInt(_0x557e4b(0x1d1))/0x8+-parseInt(_0x557e4b(0x1cf))/0x9+parseInt(_0x557e4b(0x1d0))/0xa;if(_0x318bd2===_0x571d92)break;else _0xf8027['push'](_0xf8027['shift']());}catch(_0x9e1001){_0xf8027['push'](_0xf8027['shift']());}}}(a303_0x46a2,0xea7f5));function a303_0xca0c(_0x25add4,_0x100098){_0x25add4=_0x25add4-0x1c9;var _0x46a220=a303_0x46a2();var _0xca0c49=_0x46a220[_0x25add4];return _0xca0c49;}export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
@@ -1 +1 @@
1
- (function(_0x2562fc,_0x3e15b1){const _0x4211a5=a304_0x1389,_0x5181d6=_0x2562fc();while(!![]){try{const _0x16c220=-parseInt(_0x4211a5(0xf7))/0x1+parseInt(_0x4211a5(0xe8))/0x2*(-parseInt(_0x4211a5(0xff))/0x3)+parseInt(_0x4211a5(0xec))/0x4+-parseInt(_0x4211a5(0xf2))/0x5*(-parseInt(_0x4211a5(0xee))/0x6)+-parseInt(_0x4211a5(0xe7))/0x7*(-parseInt(_0x4211a5(0xfc))/0x8)+-parseInt(_0x4211a5(0xed))/0x9*(-parseInt(_0x4211a5(0x100))/0xa)+-parseInt(_0x4211a5(0xef))/0xb*(parseInt(_0x4211a5(0xf0))/0xc);if(_0x16c220===_0x3e15b1)break;else _0x5181d6['push'](_0x5181d6['shift']());}catch(_0x5faebd){_0x5181d6['push'](_0x5181d6['shift']());}}}(a304_0x1ae4,0xa8c4b));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliError,CliErrors}from'../errors.js';import{applyJqFilter}from'../utils/apply-jq-filter.js';function a304_0x1ae4(){const _0x1e1b8e=['hint','2815312xXJYvO','1373283gignQK','383166vLHFcP','11lfirmb','15686904vIRYYm','jqFilter','15QMEvkc','update','error','format','stringify','116307Ahyjcz','endsWith','command','jq:\x20','url','9871432mqwtwV','trim','write','3QQeHjq','10MiOIkg','pretty','json','message','7iiMSao','334206HOMhQH','validation','code'];a304_0x1ae4=function(){return _0x1e1b8e;};return a304_0x1ae4();}const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x51dfc9,_0x379614){const _0x471889=a304_0x1389,_0x384184=_0x51dfc9['_notice'],{_notice:_0x295cf0,..._0x321c5c}=_0x51dfc9;void _0x295cf0,baseFormatOutput(_0x321c5c,_0x379614),_0x379614['format']===_0x471889(0x101)&&printPrettyNotice(_0x384184);}export function formatCliError(_0x28fb20,_0xa57cd0){const _0x402cb7=a304_0x1389;if(_0xa57cd0[_0x402cb7(0xf5)]==='pretty')return![];const _0x18cd92=_0x28fb20['data'],_0x593c86={'ok':![],'command':_0xa57cd0[_0x402cb7(0xf9)],'risk':_0xa57cd0['risk'],'data':_0x18cd92??null,'error':{'code':_0x28fb20[_0x402cb7(0xea)],'message':_0x28fb20[_0x402cb7(0xe6)],..._0x28fb20[_0x402cb7(0xeb)]?{'hint':_0x28fb20[_0x402cb7(0xeb)]}:{}}},_0x1fe561=_0xa57cd0['format']===_0x402cb7(0xe5)?JSON[_0x402cb7(0xf6)](_0x593c86,null,0x2):JSON[_0x402cb7(0xf6)](_0x593c86);let _0x3c8c2f=_0x1fe561;if(_0xa57cd0[_0x402cb7(0xf1)]?.[_0x402cb7(0xfd)]())try{_0x3c8c2f=applyJqFilter(_0x1fe561,_0xa57cd0[_0x402cb7(0xf1)]);}catch(_0x125813){const _0xbf20b2=_0x125813 instanceof CliError?_0x125813:CliErrors[_0x402cb7(0xe9)](_0x402cb7(0xfa)+(_0x125813 instanceof Error?_0x125813[_0x402cb7(0xe6)]:String(_0x125813))),_0x154f12={..._0x593c86,'error':{'code':_0xbf20b2[_0x402cb7(0xea)],'message':_0xbf20b2[_0x402cb7(0xe6)],..._0xbf20b2['hint']?{'hint':_0xbf20b2[_0x402cb7(0xeb)]}:{},'cause':_0x593c86['error']}};_0x3c8c2f=_0xa57cd0[_0x402cb7(0xf5)]===_0x402cb7(0xe5)?JSON[_0x402cb7(0xf6)](_0x154f12,null,0x2):JSON[_0x402cb7(0xf6)](_0x154f12);}return process['stdout'][_0x402cb7(0xfe)](_0x3c8c2f[_0x402cb7(0xf8)]('\x0a')?_0x3c8c2f:_0x3c8c2f+'\x0a'),!![];}function a304_0x1389(_0x2ef5fd,_0x2d0c63){_0x2ef5fd=_0x2ef5fd-0xe5;const _0x1ae493=a304_0x1ae4();let _0x1389aa=_0x1ae493[_0x2ef5fd];return _0x1389aa;}function printPrettyNotice(_0xb809da){const _0x9817f8=a304_0x1389;if(!_0xb809da?.[_0x9817f8(0xf3)])return;console[_0x9817f8(0xf4)](_0xb809da[_0x9817f8(0xf3)][_0x9817f8(0xe6)]+'\x20('+_0xb809da['update'][_0x9817f8(0xfb)]+')');}
1
+ (function(_0x41db2d,_0x387f25){const _0x2b37fa=a304_0x5798,_0x9ebced=_0x41db2d();while(!![]){try{const _0x529fc1=parseInt(_0x2b37fa(0xa5))/0x1*(-parseInt(_0x2b37fa(0xbe))/0x2)+-parseInt(_0x2b37fa(0xbf))/0x3*(-parseInt(_0x2b37fa(0xae))/0x4)+parseInt(_0x2b37fa(0xaa))/0x5+-parseInt(_0x2b37fa(0xa3))/0x6+parseInt(_0x2b37fa(0xb9))/0x7+parseInt(_0x2b37fa(0xb8))/0x8*(parseInt(_0x2b37fa(0xb6))/0x9)+parseInt(_0x2b37fa(0xbc))/0xa*(parseInt(_0x2b37fa(0xa6))/0xb);if(_0x529fc1===_0x387f25)break;else _0x9ebced['push'](_0x9ebced['shift']());}catch(_0x57c4af){_0x9ebced['push'](_0x9ebced['shift']());}}}(a304_0x2e4d,0x9f024));function a304_0x2e4d(){const _0x2cde91=['endsWith','trim','_notice','2610185BCoOpr','update','error','message','40VElLQb','command','stringify','url','format','data','stdout','code','99uqOCjO','json','442704FSZeIa','6826939nutAKh','hint','pretty','5770VDsYQx','risk','8596MweMLc','19785VfkGVp','7409550HWXyZu','jqFilter','181PNWsLY','9383ZxHcNo'];a304_0x2e4d=function(){return _0x2cde91;};return a304_0x2e4d();}import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliError,CliErrors}from'../errors.js';function a304_0x5798(_0x45c4ad,_0x4a494a){_0x45c4ad=_0x45c4ad-0xa3;const _0x2e4d55=a304_0x2e4d();let _0x579843=_0x2e4d55[_0x45c4ad];return _0x579843;}import{applyJqFilter}from'../utils/apply-jq-filter.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x2e9c8b,_0x5639f3){const _0x5c13a7=a304_0x5798,_0x2ccd81=_0x2e9c8b[_0x5c13a7(0xa9)],{_notice:_0x17e5b8,..._0x3ff60b}=_0x2e9c8b;void _0x17e5b8,baseFormatOutput(_0x3ff60b,_0x5639f3),_0x5639f3[_0x5c13a7(0xb2)]===_0x5c13a7(0xbb)&&printPrettyNotice(_0x2ccd81);}export function formatCliError(_0x569263,_0x4e5b07){const _0x2235d3=a304_0x5798;if(_0x4e5b07[_0x2235d3(0xb2)]==='pretty')return![];const _0x305cc3=_0x569263[_0x2235d3(0xb3)],_0x3f9404={'ok':![],'command':_0x4e5b07[_0x2235d3(0xaf)],'risk':_0x4e5b07[_0x2235d3(0xbd)],'data':_0x305cc3??null,'error':{'code':_0x569263[_0x2235d3(0xb5)],'message':_0x569263['message'],..._0x569263[_0x2235d3(0xba)]?{'hint':_0x569263['hint']}:{}}},_0x2c274d=_0x4e5b07[_0x2235d3(0xb2)]===_0x2235d3(0xb7)?JSON[_0x2235d3(0xb0)](_0x3f9404,null,0x2):JSON[_0x2235d3(0xb0)](_0x3f9404);let _0x2412b3=_0x2c274d;if(_0x4e5b07[_0x2235d3(0xa4)]?.[_0x2235d3(0xa8)]())try{_0x2412b3=applyJqFilter(_0x2c274d,_0x4e5b07[_0x2235d3(0xa4)]);}catch(_0x31e97b){const _0x5f3e41=_0x31e97b instanceof CliError?_0x31e97b:CliErrors['validation']('jq:\x20'+(_0x31e97b instanceof Error?_0x31e97b[_0x2235d3(0xad)]:String(_0x31e97b))),_0x119bbe={..._0x3f9404,'error':{'code':_0x5f3e41[_0x2235d3(0xb5)],'message':_0x5f3e41[_0x2235d3(0xad)],..._0x5f3e41[_0x2235d3(0xba)]?{'hint':_0x5f3e41[_0x2235d3(0xba)]}:{},'cause':_0x3f9404[_0x2235d3(0xac)]}};_0x2412b3=_0x4e5b07['format']===_0x2235d3(0xb7)?JSON[_0x2235d3(0xb0)](_0x119bbe,null,0x2):JSON['stringify'](_0x119bbe);}return process[_0x2235d3(0xb4)]['write'](_0x2412b3[_0x2235d3(0xa7)]('\x0a')?_0x2412b3:_0x2412b3+'\x0a'),!![];}function printPrettyNotice(_0x178eb8){const _0x5420fc=a304_0x5798;if(!_0x178eb8?.[_0x5420fc(0xab)])return;console[_0x5420fc(0xac)](_0x178eb8[_0x5420fc(0xab)][_0x5420fc(0xad)]+'\x20('+_0x178eb8[_0x5420fc(0xab)][_0x5420fc(0xb1)]+')');}
@@ -1 +1 @@
1
- (function(_0x3e2b54,_0x32e996){var _0x28d8f3=a305_0x2c6f,_0x144bec=_0x3e2b54();while(!![]){try{var _0x2fcd91=parseInt(_0x28d8f3(0xca))/0x1*(parseInt(_0x28d8f3(0xcc))/0x2)+parseInt(_0x28d8f3(0xcd))/0x3+-parseInt(_0x28d8f3(0xc8))/0x4*(parseInt(_0x28d8f3(0xcb))/0x5)+parseInt(_0x28d8f3(0xc6))/0x6+parseInt(_0x28d8f3(0xc5))/0x7+parseInt(_0x28d8f3(0xc9))/0x8+-parseInt(_0x28d8f3(0xce))/0x9*(parseInt(_0x28d8f3(0xc7))/0xa);if(_0x2fcd91===_0x32e996)break;else _0x144bec['push'](_0x144bec['shift']());}catch(_0x3debd5){_0x144bec['push'](_0x144bec['shift']());}}}(a305_0x4961,0x74ea5));function a305_0x2c6f(_0x511126,_0x448d84){_0x511126=_0x511126-0xc5;var _0x4961ca=a305_0x4961();var _0x2c6fd7=_0x4961ca[_0x511126];return _0x2c6fd7;}export{extractList,extractPaging}from'@lovrabet/cli-framework';function a305_0x4961(){var _0x1cc8d4=['4682766qDYwPc','160GBnGSR','27164ntlUlG','4425280NiTDCt','4203qdgset','310PjXfsF','158aGGNvm','1881555JZrtZi','1213326gelOlO','5348756RXKwOS'];a305_0x4961=function(){return _0x1cc8d4;};return a305_0x4961();}
1
+ (function(_0x3189b5,_0x457fa5){var _0x47ad59=a305_0x3257,_0x428821=_0x3189b5();while(!![]){try{var _0x590b00=parseInt(_0x47ad59(0x1cc))/0x1*(-parseInt(_0x47ad59(0x1c9))/0x2)+-parseInt(_0x47ad59(0x1cf))/0x3*(-parseInt(_0x47ad59(0x1ce))/0x4)+parseInt(_0x47ad59(0x1c8))/0x5+parseInt(_0x47ad59(0x1cb))/0x6*(parseInt(_0x47ad59(0x1cd))/0x7)+-parseInt(_0x47ad59(0x1d1))/0x8*(-parseInt(_0x47ad59(0x1d2))/0x9)+parseInt(_0x47ad59(0x1d4))/0xa*(parseInt(_0x47ad59(0x1ca))/0xb)+-parseInt(_0x47ad59(0x1d3))/0xc*(parseInt(_0x47ad59(0x1d0))/0xd);if(_0x590b00===_0x457fa5)break;else _0x428821['push'](_0x428821['shift']());}catch(_0x3ec568){_0x428821['push'](_0x428821['shift']());}}}(a305_0x59e6,0x4afac));function a305_0x59e6(){var _0x5722ed=['82197QTSBNb','637620YxMEOn','1450jpOnqv','2221805gSiMDD','2qYKXLJ','19987OimPNd','68574SyJhNO','513819cDpegE','154uZnDmT','167292cEquNq','3QDwYdR','91vhpwyS','168vOGIkX'];a305_0x59e6=function(){return _0x5722ed;};return a305_0x59e6();}function a305_0x3257(_0x22fb69,_0x3c9124){_0x22fb69=_0x22fb69-0x1c8;var _0x59e6d1=a305_0x59e6();var _0x3257eb=_0x59e6d1[_0x22fb69];return _0x3257eb;}export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- (function(_0x204c82,_0x4f5998){const _0x105add=a306_0xf16e,_0x55b3ae=_0x204c82();while(!![]){try{const _0x5a3006=-parseInt(_0x105add(0x19d))/0x1+parseInt(_0x105add(0x193))/0x2*(-parseInt(_0x105add(0x191))/0x3)+parseInt(_0x105add(0x199))/0x4*(parseInt(_0x105add(0x188))/0x5)+-parseInt(_0x105add(0x18d))/0x6*(parseInt(_0x105add(0x19f))/0x7)+parseInt(_0x105add(0x19b))/0x8*(parseInt(_0x105add(0x194))/0x9)+parseInt(_0x105add(0x18e))/0xa+parseInt(_0x105add(0x198))/0xb;if(_0x5a3006===_0x4f5998)break;else _0x55b3ae['push'](_0x55b3ae['shift']());}catch(_0x142473){_0x55b3ae['push'](_0x55b3ae['shift']());}}}(a306_0xa1c8,0x44b85));import{CliErrors}from'../errors.js';function a306_0xf16e(_0x4dc48c,_0x4d817f){_0x4dc48c=_0x4dc48c-0x187;const _0xa1c89f=a306_0xa1c8();let _0xf16e74=_0xa1c89f[_0x4dc48c];return _0xf16e74;}import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{resolveApiModelSource}from'../api/model-source.js';export function resolveAliasToCode(_0x2216ec,_0xf47c5,_0x35aac5,_0x455f5c,_0x4e393c,_0x45d582){const _0x4a7204=a306_0xf16e,_0x2d486b=_0x2216ec['flags']['some'](_0x1dc106=>_0x1dc106['name']==='code'&&_0x1dc106['type']===_0x4a7204(0x1a1)),_0x4a3a2d=_0x2216ec[_0x4a7204(0x18b)]['some'](_0x28de63=>_0x28de63[_0x4a7204(0x19c)]===_0x4a7204(0x19a)&&_0x28de63[_0x4a7204(0x19e)]==='string');if(!_0x2d486b||!_0x4a3a2d)return;const _0x1eb1b1=_0xf47c5[_0x4a7204(0x192)]?String(_0xf47c5[_0x4a7204(0x192)]):'',_0x1e503a=_0xf47c5[_0x4a7204(0x19a)]?String(_0xf47c5[_0x4a7204(0x19a)]):'';if(!_0x1eb1b1&&!_0x1e503a)throw CliErrors[_0x4a7204(0x189)]('`'+_0x455f5c+_0x4a7204(0x195));if(_0x1e503a&&!_0x1eb1b1){const _0x293912=resolveApiModelSource(_0x35aac5,_0x4e393c,_0x45d582),_0x17dcf4=resolveAlias(_0x35aac5,_0x1e503a,undefined,_0x293912[_0x4a7204(0x197)],_0x293912[_0x4a7204(0x187)]);if(!_0x17dcf4){const _0x1a08ad=listAliases(_0x35aac5,undefined,_0x293912['filePath'],_0x293912[_0x4a7204(0x187)])[_0x4a7204(0x18c)](_0x3febbf=>_0x3febbf[_0x4a7204(0x19a)]),_0xa25492=_0x1a08ad[_0x4a7204(0x196)]?'Available\x20aliases:\x20'+_0x1a08ad[_0x4a7204(0x1a0)](',\x20'):_0x4a7204(0x1a2)+_0x35aac5+_0x4a7204(0x18f)+CLI_BIN_NAME+'\x20api\x20pull`\x20first.';throw CliErrors[_0x4a7204(0x189)](_0x4a7204(0x190)+_0x1e503a+_0x4a7204(0x18a)+_0xa25492);}_0xf47c5[_0x4a7204(0x192)]=_0x17dcf4;}}function a306_0xa1c8(){const _0x2e6af9=['.\x20Run\x20`','Unknown\x20alias\x20\x22','111YeFWRR','code','4362vYRoPC','54pFzoff','`\x20requires\x20either\x20--code\x20or\x20--alias.','length','filePath','7428421wCouPG','4aLXhxb','alias','536832ZsCknZ','name','534798JyUrtg','type','7sUmcYs','join','string','No\x20model\x20aliases\x20found\x20in\x20','profileName','972825RJrkFi','validation','\x22.\x20','flags','map','2920914gIMfXa','1112910GmhFQi'];a306_0xa1c8=function(){return _0x2e6af9;};return a306_0xa1c8();}
1
+ (function(_0x1902bc,_0x136a72){const _0x528440=a306_0x5b76,_0x5b77f8=_0x1902bc();while(!![]){try{const _0x1c4e68=-parseInt(_0x528440(0x1f1))/0x1+parseInt(_0x528440(0x1eb))/0x2*(parseInt(_0x528440(0x1f8))/0x3)+-parseInt(_0x528440(0x1f3))/0x4*(-parseInt(_0x528440(0x1f7))/0x5)+parseInt(_0x528440(0x1e2))/0x6+-parseInt(_0x528440(0x1e1))/0x7*(-parseInt(_0x528440(0x1f5))/0x8)+parseInt(_0x528440(0x1e7))/0x9+-parseInt(_0x528440(0x1e5))/0xa*(parseInt(_0x528440(0x1f2))/0xb);if(_0x1c4e68===_0x136a72)break;else _0x5b77f8['push'](_0x5b77f8['shift']());}catch(_0x530037){_0x5b77f8['push'](_0x5b77f8['shift']());}}}(a306_0x2b7a,0xe0c1c));import{CliErrors}from'../errors.js';function a306_0x2b7a(){const _0x54eec9=['70375KJFHAy','3UchCHS','map','name','127505LTkNrj','5499054unFevS','\x22.\x20','profileName','76690WpyeSD','filePath','4625262VJAklS','No\x20model\x20aliases\x20found\x20in\x20','`\x20requires\x20either\x20--code\x20or\x20--alias.','type','2135972ITZAoa','string','code','Unknown\x20alias\x20\x22','flags','alias','998467pqJlVL','3883FuVfar','496MULHcF','.\x20Run\x20`','168ZXjqjt','validation'];a306_0x2b7a=function(){return _0x54eec9;};return a306_0x2b7a();}import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a306_0x5b76(_0x356989,_0x181371){_0x356989=_0x356989-0x1df;const _0x2b7af1=a306_0x2b7a();let _0x5b7601=_0x2b7af1[_0x356989];return _0x5b7601;}import{resolveApiModelSource}from'../api/model-source.js';export function resolveAliasToCode(_0x3d1b57,_0x211c37,_0x475839,_0x42b4ce,_0x394b99,_0x5c5da3){const _0x3d8415=a306_0x5b76,_0x5454b6=_0x3d1b57[_0x3d8415(0x1ef)]['some'](_0x34c9ab=>_0x34c9ab[_0x3d8415(0x1e0)]===_0x3d8415(0x1ed)&&_0x34c9ab[_0x3d8415(0x1ea)]===_0x3d8415(0x1ec)),_0xf6813e=_0x3d1b57[_0x3d8415(0x1ef)]['some'](_0x410af0=>_0x410af0[_0x3d8415(0x1e0)]===_0x3d8415(0x1f0)&&_0x410af0[_0x3d8415(0x1ea)]===_0x3d8415(0x1ec));if(!_0x5454b6||!_0xf6813e)return;const _0x4b8176=_0x211c37[_0x3d8415(0x1ed)]?String(_0x211c37[_0x3d8415(0x1ed)]):'',_0x2e4404=_0x211c37[_0x3d8415(0x1f0)]?String(_0x211c37[_0x3d8415(0x1f0)]):'';if(!_0x4b8176&&!_0x2e4404)throw CliErrors[_0x3d8415(0x1f6)]('`'+_0x42b4ce+_0x3d8415(0x1e9));if(_0x2e4404&&!_0x4b8176){const _0x24053e=resolveApiModelSource(_0x475839,_0x394b99,_0x5c5da3),_0x4ed254=resolveAlias(_0x475839,_0x2e4404,undefined,_0x24053e[_0x3d8415(0x1e6)],_0x24053e[_0x3d8415(0x1e4)]);if(!_0x4ed254){const _0x12fea4=listAliases(_0x475839,undefined,_0x24053e['filePath'],_0x24053e[_0x3d8415(0x1e4)])[_0x3d8415(0x1df)](_0x4fa6fa=>_0x4fa6fa[_0x3d8415(0x1f0)]),_0x35ab05=_0x12fea4['length']?'Available\x20aliases:\x20'+_0x12fea4['join'](',\x20'):_0x3d8415(0x1e8)+_0x475839+_0x3d8415(0x1f4)+CLI_BIN_NAME+'\x20api\x20pull`\x20first.';throw CliErrors['validation'](_0x3d8415(0x1ee)+_0x2e4404+_0x3d8415(0x1e3)+_0x35ab05);}_0x211c37[_0x3d8415(0x1ed)]=_0x4ed254;}}
@@ -1 +1 @@
1
- (function(_0x2fe19b,_0x5b7f76){const _0x2b5aa1=a307_0x6595,_0x23d5bd=_0x2fe19b();while(!![]){try{const _0x253e30=-parseInt(_0x2b5aa1(0x1f1))/0x1*(-parseInt(_0x2b5aa1(0x20f))/0x2)+parseInt(_0x2b5aa1(0x1db))/0x3*(parseInt(_0x2b5aa1(0x1d1))/0x4)+-parseInt(_0x2b5aa1(0x208))/0x5*(parseInt(_0x2b5aa1(0x1c5))/0x6)+-parseInt(_0x2b5aa1(0x1bc))/0x7+parseInt(_0x2b5aa1(0x1c3))/0x8+-parseInt(_0x2b5aa1(0x210))/0x9+parseInt(_0x2b5aa1(0x1ef))/0xa*(parseInt(_0x2b5aa1(0x1fe))/0xb);if(_0x253e30===_0x5b7f76)break;else _0x23d5bd['push'](_0x23d5bd['shift']());}catch(_0x36adcb){_0x23d5bd['push'](_0x23d5bd['shift']());}}}(a307_0x1952,0x805ba));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';function a307_0x6595(_0x56b0a2,_0x147a0e){_0x56b0a2=_0x56b0a2-0x1b7;const _0x195232=a307_0x1952();let _0x659560=_0x195232[_0x56b0a2];return _0x659560;}import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a307_0x3c3373}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x4d5ede){const _0x23a279=a307_0x6595;return typeof _0x4d5ede===_0x23a279(0x1f2)&&_0x4d5ede[_0x23a279(0x1e9)]()?_0x4d5ede['trim']():undefined;}function resolveEnvAppCode(){const _0x44c6f5=a307_0x6595,_0x2c290b=stringFlag(process.env.RABETBASE_APPCODE);if(_0x2c290b)return{'name':_0x44c6f5(0x1bf),'value':_0x2c290b};const _0x39fe69=stringFlag(process.env.LOVRABET_APPCODE);if(_0x39fe69)return{'name':_0x44c6f5(0x1bd),'value':_0x39fe69};return undefined;}function a307_0x1952(){const _0xb1b751=['\x0a\x20\x20','High-risk\x20operation\x20`','risk','entries','Set\x20appcode\x20via\x20`','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','947441WDoURd','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','object','defaultPageSize','selectedAppName','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','pageSize','keys','apps','nonInteractive','1120870KZqxfe','required','replace','toUpperCase','all','name','appcode','489170hPxZjg','3362409tGSoyu','command','../constant/env.js','hasFormat','none','riskLevel','defaultVerbose','length','includes','4869074PvkWLE','LOVRABET_APPCODE','schema','RABETBASE_APPCODE','service','appCode','isNonInteractive','5230808OhufSR','Edit\x20the\x20config\x20file\x20manually','24SDYzde','\x22\x20belongs\x20to\x20multiple\x20app\x20profiles:\x20','cookie','map','find','explicitAppName','rawFlags','message','confirmHighRisk','apiDir','filter','Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`','4gaWYyN','doctor','defaultApp','../constant/domain.js','update','value','some','join','resolveAppCode','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','128517urjVkF','Select\x20the\x20target\x20explicitly\x20with\x20--app\x20<profile>.','.\x20Use\x20--app/--appcode,\x20or\x20run\x20`','mergedCli','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','verbose','hint','A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22','App\x20\x22','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','currentApp','catch','requiresAppCode','has','trim','cancelled','authRequired','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','_notice','180TfMXTZ','execute','1cWZPQA','string','validation','AppCode\x20\x22','production','formatOutput','meowKey'];a307_0x1952=function(){return _0xb1b751;};return a307_0x1952();}function hasExplicitAppCode(_0x182599,_0xf1bfe3){const _0x123c9a=a307_0x6595;return!!(stringFlag(_0x182599['appcode'])||stringFlag(_0xf1bfe3[_0x123c9a(0x20e)]));}function assertEnvAppCodeNotIgnored(_0x555ca6,_0xa23268,_0xd2099f){const _0x51af0f=a307_0x6595;if(!_0xa23268||_0xd2099f||_0x555ca6===_0xa23268[_0x51af0f(0x1d6)])return;const _0x3eb80d=_0x555ca6?'Current\x20resolved\x20appcode\x20is\x20\x22'+_0x555ca6+'\x22.':_0x51af0f(0x1da);throw CliErrors[_0x51af0f(0x1f3)](_0xa23268['name']+'='+_0xa23268[_0x51af0f(0x1d6)]+_0x51af0f(0x1fd)+_0x3eb80d+'\x20'+(_0x51af0f(0x1ed)+_0xa23268[_0x51af0f(0x20d)]+'\x22.'));}export function createPipelineEnv(_0x5dbd27,_0x5e4508,_0x1f6c53=[]){const _0x39afd9=a307_0x6595;return{'rawFlags':_0x5e4508,'args':_0x1f6c53,'resolveAppCode':()=>_0x5dbd27[_0x39afd9(0x1c1)],'resolveCookie':()=>_0x5dbd27[_0x39afd9(0x1c7)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a307_0x3c3373(_0x5e4508),'defaultFormat':_0x5dbd27['format'],'defaultPageSize':_0x5dbd27[_0x39afd9(0x204)],'defaultVerbose':_0x5dbd27[_0x39afd9(0x1e0)],'apiDir':_0x5dbd27[_0x39afd9(0x1ce)],'riskLevel':_0x5dbd27[_0x39afd9(0x1b8)],'selectedAppName':_0x5dbd27[_0x39afd9(0x1ca)],'mergedCli':{'defaultApp':_0x5dbd27[_0x39afd9(0x1d3)],'currentApp':_0x5dbd27['currentApp'],'appCode':_0x5dbd27[_0x39afd9(0x1c1)],'apps':_0x5dbd27[_0x39afd9(0x206)]}};}export function createRabetbaseRunnerAdapter(_0x10b0b8={}){const _0x4a77ec=a307_0x6595;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x4cdb3d=>PIPELINE_FLAG_NAMES[_0x4a77ec(0x1e8)](_0x4cdb3d['name']))[_0x4a77ec(0x1c8)](({name:_0x23cf30,type:_0x32d61b,description:_0x30f3dd})=>({'name':_0x23cf30,'type':_0x32d61b,'description':_0x30f3dd})),'formatOutput':_0x10b0b8[_0x4a77ec(0x1f6)]??formatOutput,'getCommandLabel'(_0x3b1dd2){const _0x6675ff=_0x4a77ec;return CLI_BIN_NAME+'\x20'+_0x3b1dd2[_0x6675ff(0x1c0)]+'\x20'+_0x3b1dd2[_0x6675ff(0x211)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x48f377,{def:_0x3eed86}){const _0x42a23f=_0x4a77ec,_0x527369=_0x48f377[_0x42a23f(0x1bb)](_0x42a23f(0x1c4))?'AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.':_0x42a23f(0x1e2)+_0x3eed86[_0x42a23f(0x1fa)]+_0x42a23f(0x1e4)+_0x42a23f(0x1ec);return CliErrors[_0x42a23f(0x1f3)](_0x48f377+_0x42a23f(0x1f8)+_0x527369);}},async 'prepare'(_0x2f20ad,_0x38e560,_0x2eecc1,_0x246a27){const _0x3a25fa=_0x4a77ec,_0x72417a=_0x38e560[_0x3a25fa(0x1ce)]||DEFAULT_API_DIR,_0x632bc2=hasExplicitAppCode(_0x2eecc1,_0x38e560[_0x3a25fa(0x1cb)]),_0x3ac4ae=stringFlag(_0x2eecc1[_0x3a25fa(0x20e)])||stringFlag(_0x38e560[_0x3a25fa(0x1cb)]['appcode']),_0x4e5b2f=_0x38e560[_0x3a25fa(0x1de)]?.[_0x3a25fa(0x206)]??{},_0x2bd915=_0x38e560['selectedAppName']||_0x38e560[_0x3a25fa(0x1de)]?.[_0x3a25fa(0x1e5)]||_0x38e560[_0x3a25fa(0x1de)]?.[_0x3a25fa(0x1d3)],_0x46be07=_0x3ac4ae?Object[_0x3a25fa(0x1fb)](_0x4e5b2f)[_0x3a25fa(0x1cf)](([,_0x2d4727])=>_0x2d4727[_0x3a25fa(0x20e)]===_0x3ac4ae)['map'](([_0x1cf32f])=>_0x1cf32f):[];if(_0x46be07[_0x3a25fa(0x1ba)]>0x1&&!_0x38e560[_0x3a25fa(0x202)])throw CliErrors[_0x3a25fa(0x1f3)](_0x3a25fa(0x1f4)+_0x3ac4ae+_0x3a25fa(0x1c6)+_0x46be07['join'](',\x20')+'.',_0x3a25fa(0x1dc));resolveAliasToCode(_0x2f20ad,_0x2eecc1,_0x72417a,_0x246a27,_0x38e560['resolveAppCode'](),_0x2bd915);const _0x565a60=resolveCommandAuthMode(_0x2f20ad);let _0x3b4e46='';if(_0x565a60!==_0x3a25fa(0x1b7)){_0x3b4e46=_0x38e560['resolveCookie']()||'';if(!_0x3b4e46){if(_0x565a60===_0x3a25fa(0x209))throw CliErrors[_0x3a25fa(0x1eb)]();}else{const {setActiveCookie:_0x5729ed}=await import('../core/api-client.js');_0x5729ed(_0x3b4e46);}}const _0x557d28=_0x38e560[_0x3a25fa(0x1d9)]()??'';if(_0x2f20ad[_0x3a25fa(0x1e7)]!==![]){if(!_0x632bc2&&_0x2bd915&&!_0x4e5b2f[_0x2bd915]){const _0x47d811=Object['keys'](_0x4e5b2f);throw CliErrors['validation'](_0x3a25fa(0x1e3)+_0x2bd915+'\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.',_0x47d811[_0x3a25fa(0x1ba)]>0x0?'Available:\x20'+_0x47d811['join'](',\x20')+_0x3a25fa(0x1dd)+CLI_BIN_NAME+'\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.':_0x3a25fa(0x1d0)+CLI_BIN_NAME+_0x3a25fa(0x203));}assertEnvAppCodeNotIgnored(_0x557d28,resolveEnvAppCode(),_0x632bc2);if(!_0x557d28){const _0x3516e5=Object[_0x3a25fa(0x205)](_0x4e5b2f);if(!_0x2bd915&&_0x3516e5[_0x3a25fa(0x1ba)]>0x1)throw CliErrors['configMissing']('Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`'+CLI_BIN_NAME+'\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20'+_0x3516e5[_0x3a25fa(0x1d8)](',\x20')+'.');throw CliErrors['configMissing'](_0x3a25fa(0x1fc)+CLI_BIN_NAME+_0x3a25fa(0x1ff));}}return{'defaults':{'booleans':{'verbose':_0x38e560[_0x3a25fa(0x1b9)]},'numbers':{'pagesize':_0x38e560[_0x3a25fa(0x201)]}},'extras':{'appCode':_0x557d28,'cookie':_0x3b4e46,'apiDomain':_0x38e560['resolveApiDomain'](),'apiDir':_0x72417a,'selectedAppName':_0x38e560[_0x3a25fa(0x202)],'mergedCli':_0x38e560[_0x3a25fa(0x1de)]}};},'confirmHighRisk':_0x10b0b8[_0x4a77ec(0x1cd)]??(async({env:_0x2505fc,commandLabel:_0x22e2b6})=>{const _0x256aff=_0x4a77ec;if(_0x2505fc[_0x256aff(0x1c2)])throw CliErrors['validation'](_0x256aff(0x1f9)+_0x22e2b6+_0x256aff(0x1df));await requireConfirmationPrompt({'lines':['⚠\x20\x20High-risk\x20operation:\x20'+_0x22e2b6,'\x20\x20\x20Continue?\x20[y/N]\x20'],'createCancelledError':_0x554d74=>CliErrors[_0x256aff(0x1ea)](_0x554d74)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const {clearActiveCookie:_0x2f0530}=await import('../core/api-client.js');_0x2f0530();}export async function finalizeRabetbaseRuntimeState(){const _0x1bfd77=a307_0x6595;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x292efa},{initEnv:_0x37e33f}]=await Promise[_0x1bfd77(0x20c)]([import(_0x1bfd77(0x1d4)),import(_0x1bfd77(0x212))]);_0x292efa(),_0x37e33f(_0x1bfd77(0x1f5));}}export async function runCommand(_0x88b3c8,_0x4ff4d,_0x213090=terminalRunnerAdapter){const _0x24154f=a307_0x6595;assertRejectedFlags(_0x88b3c8,_0x4ff4d[_0x24154f(0x1cb)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x88b3c8)?withUpdateNotice(_0x88b3c8):_0x88b3c8,_0x4ff4d,_0x213090);}function assertRejectedFlags(_0x51988f,_0xb4b668){const _0x564983=a307_0x6595;for(const _0x475a58 of _0x51988f['rejectedFlags']??[]){const _0x30091f=GLOBAL_FLAGS[_0x564983(0x1c9)](_0x209c5f=>_0x209c5f[_0x564983(0x20d)]===_0x475a58[_0x564983(0x20d)]),_0x4afed0=new Set([_0x475a58[_0x564983(0x20d)],toCamelCase(_0x475a58[_0x564983(0x20d)]),_0x30091f?.[_0x564983(0x1f7)]]),_0x14bfae=[..._0x4afed0][_0x564983(0x1d7)](_0x5ce584=>{if(!_0x5ce584)return![];const _0x5a0a8d=_0xb4b668[_0x5ce584];return _0x5a0a8d!==undefined&&_0x5a0a8d!==null&&_0x5a0a8d!==![];});if(_0x14bfae)throw CliErrors[_0x564983(0x1f3)](_0x475a58[_0x564983(0x1cc)],_0x475a58[_0x564983(0x1e1)]);}}function toCamelCase(_0x475207){const _0x41855a=a307_0x6595;return _0x475207[_0x41855a(0x20a)](/-([a-z])/g,(_0x3749f5,_0x1fcec3)=>_0x1fcec3[_0x41855a(0x20b)]());}function shouldAttachUpdateNotice(_0x3bf941){const _0xb0eb70=a307_0x6595;if(_0x3bf941[_0xb0eb70(0x213)]===![])return![];return![_0xb0eb70(0x1d5),_0xb0eb70(0x1be),_0xb0eb70(0x1d2)][_0xb0eb70(0x1bb)](_0x3bf941[_0xb0eb70(0x1c0)]);}function withUpdateNotice(_0x16d4ba){return{..._0x16d4ba,async 'execute'(_0x274442){const _0x54bb54=a307_0x6595,_0x5b3762=shouldResolveUpdateNotice(_0x274442)?resolveLatestUpdateNotice()[_0x54bb54(0x1e6)](()=>null):Promise['resolve'](null),_0x1a2e55=await _0x16d4ba[_0x54bb54(0x1f0)](_0x274442);return attachUpdateNotice(_0x1a2e55,await _0x5b3762);}};}function shouldResolveUpdateNotice(_0x18daa0){const _0x23da2a=a307_0x6595;return _0x18daa0['format']==='pretty'&&!_0x18daa0[_0x23da2a(0x207)];}function attachUpdateNotice(_0x627e24,_0x40ed13){const _0x3a4a66=a307_0x6595;if(!_0x40ed13||!_0x627e24||typeof _0x627e24!==_0x3a4a66(0x200))return _0x627e24;const _0x7ba7cd=_0x627e24,_0x317d4e=typeof _0x7ba7cd[_0x3a4a66(0x1ee)]===_0x3a4a66(0x200)&&_0x7ba7cd['_notice']!==null?_0x7ba7cd[_0x3a4a66(0x1ee)]:{};return{..._0x7ba7cd,'_notice':{..._0x317d4e,'update':_0x40ed13}};}
1
+ (function(_0x10cbec,_0x2b264a){const _0x9c211d=a307_0xeb45,_0x477983=_0x10cbec();while(!![]){try{const _0x104b75=parseInt(_0x9c211d(0xa7))/0x1+parseInt(_0x9c211d(0xa1))/0x2*(parseInt(_0x9c211d(0xb4))/0x3)+parseInt(_0x9c211d(0xc0))/0x4*(-parseInt(_0x9c211d(0x8d))/0x5)+parseInt(_0x9c211d(0x84))/0x6*(parseInt(_0x9c211d(0x7a))/0x7)+-parseInt(_0x9c211d(0xce))/0x8+parseInt(_0x9c211d(0xa2))/0x9+parseInt(_0x9c211d(0x88))/0xa;if(_0x104b75===_0x2b264a)break;else _0x477983['push'](_0x477983['shift']());}catch(_0x5d3d2a){_0x477983['push'](_0x477983['shift']());}}}(a307_0x1e18,0x96a50));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a307_0x55d4ab}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x1c21a5){const _0x3c4d82=a307_0xeb45;return typeof _0x1c21a5===_0x3c4d82(0xd3)&&_0x1c21a5[_0x3c4d82(0x7e)]()?_0x1c21a5[_0x3c4d82(0x7e)]():undefined;}function resolveEnvAppCode(){const _0x55604b=a307_0xeb45,_0x4fa576=stringFlag(process.env.RABETBASE_APPCODE);if(_0x4fa576)return{'name':_0x55604b(0x9f),'value':_0x4fa576};const _0x1fa06c=stringFlag(process.env.LOVRABET_APPCODE);if(_0x1fa06c)return{'name':_0x55604b(0x80),'value':_0x1fa06c};return undefined;}function hasExplicitAppCode(_0x2b4be6,_0x48ef9f){return!!(stringFlag(_0x2b4be6['appcode'])||stringFlag(_0x48ef9f['appcode']));}function assertEnvAppCodeNotIgnored(_0x56350e,_0x1ca2af,_0x45f765){const _0x2cb11a=a307_0xeb45;if(!_0x1ca2af||_0x45f765||_0x56350e===_0x1ca2af[_0x2cb11a(0xb3)])return;const _0x7d496f=_0x56350e?_0x2cb11a(0xb0)+_0x56350e+'\x22.':_0x2cb11a(0xd5);throw CliErrors[_0x2cb11a(0xb1)](_0x1ca2af['name']+'='+_0x1ca2af['value']+'\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20'+_0x7d496f+'\x20'+(_0x2cb11a(0xb2)+_0x1ca2af[_0x2cb11a(0x99)]+'\x22.'));}export function createPipelineEnv(_0x426297,_0xf44c91,_0x5464d7=[]){const _0x1dd22d=a307_0xeb45;return{'rawFlags':_0xf44c91,'args':_0x5464d7,'resolveAppCode':()=>_0x426297[_0x1dd22d(0x9e)],'resolveCookie':()=>_0x426297['cookie']||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a307_0x55d4ab(_0xf44c91),'defaultFormat':_0x426297[_0x1dd22d(0x82)],'defaultPageSize':_0x426297[_0x1dd22d(0xa6)],'defaultVerbose':_0x426297[_0x1dd22d(0x81)],'apiDir':_0x426297['apiDir'],'riskLevel':_0x426297[_0x1dd22d(0xae)],'selectedAppName':_0x426297[_0x1dd22d(0xc2)],'mergedCli':{'defaultApp':_0x426297[_0x1dd22d(0x8b)],'currentApp':_0x426297['currentApp'],'appCode':_0x426297[_0x1dd22d(0x9e)],'apps':_0x426297['apps']}};}export function createRabetbaseRunnerAdapter(_0x4202a3={}){const _0x4f68c4=a307_0xeb45;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x4f68c4(0xc4)](_0x15d881=>PIPELINE_FLAG_NAMES[_0x4f68c4(0xad)](_0x15d881[_0x4f68c4(0x99)]))[_0x4f68c4(0xa5)](({name:_0x362bcf,type:_0x545800,description:_0x415f73})=>({'name':_0x362bcf,'type':_0x545800,'description':_0x415f73})),'formatOutput':_0x4202a3[_0x4f68c4(0x7f)]??formatOutput,'getCommandLabel'(_0x344cf7){const _0x4d9366=_0x4f68c4;return CLI_BIN_NAME+'\x20'+_0x344cf7['service']+'\x20'+_0x344cf7[_0x4d9366(0xac)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0xff91ff,{def:_0x17bd5b}){const _0x4ead7d=_0x4f68c4,_0x529a8b=_0xff91ff[_0x4ead7d(0x77)]('Edit\x20the\x20config\x20file\x20manually')?_0x4ead7d(0x7c):_0x4ead7d(0x85)+_0x17bd5b[_0x4ead7d(0x94)]+_0x4ead7d(0xc8)+_0x4ead7d(0x7c);return CliErrors['validation'](_0xff91ff+_0x4ead7d(0x7b)+_0x529a8b);}},async 'prepare'(_0x1fbe7f,_0x59cab6,_0x307059,_0x38eb49){const _0x105820=_0x4f68c4,_0x520a18=_0x59cab6[_0x105820(0xbf)]||DEFAULT_API_DIR,_0x20813e=hasExplicitAppCode(_0x307059,_0x59cab6[_0x105820(0xb9)]),_0x67a710=stringFlag(_0x307059[_0x105820(0xb8)])||stringFlag(_0x59cab6[_0x105820(0xb9)][_0x105820(0xb8)]),_0x276d23=_0x59cab6[_0x105820(0xbe)]?.[_0x105820(0x8c)]??{},_0xe5275f=_0x59cab6[_0x105820(0xd1)]||_0x59cab6[_0x105820(0xbe)]?.['currentApp']||_0x59cab6[_0x105820(0xbe)]?.[_0x105820(0x8b)],_0x12f603=_0x67a710?Object[_0x105820(0xa8)](_0x276d23)[_0x105820(0xc4)](([,_0x1ac382])=>_0x1ac382[_0x105820(0xb8)]===_0x67a710)[_0x105820(0xa5)](([_0xab4b])=>_0xab4b):[];if(_0x12f603[_0x105820(0xcc)]>0x1&&!_0x59cab6[_0x105820(0xd1)])throw CliErrors[_0x105820(0xb1)]('AppCode\x20\x22'+_0x67a710+'\x22\x20belongs\x20to\x20multiple\x20app\x20profiles:\x20'+_0x12f603[_0x105820(0xaa)](',\x20')+'.',_0x105820(0x9c));resolveAliasToCode(_0x1fbe7f,_0x307059,_0x520a18,_0x38eb49,_0x59cab6[_0x105820(0xb6)](),_0xe5275f);const _0x99f261=resolveCommandAuthMode(_0x1fbe7f);let _0x1c33a3='';if(_0x99f261!==_0x105820(0x89)){_0x1c33a3=_0x59cab6['resolveCookie']()||'';if(!_0x1c33a3){if(_0x99f261===_0x105820(0xd0))throw CliErrors[_0x105820(0x8e)]();}else{const {setActiveCookie:_0x3c667b}=await import(_0x105820(0xba));_0x3c667b(_0x1c33a3);}}const _0x1e3f42=_0x59cab6[_0x105820(0xb6)]()??'';if(_0x1fbe7f['requiresAppCode']!==![]){if(!_0x20813e&&_0xe5275f&&!_0x276d23[_0xe5275f]){const _0x36539f=Object[_0x105820(0x96)](_0x276d23);throw CliErrors[_0x105820(0xb1)](_0x105820(0xd4)+_0xe5275f+_0x105820(0xc5),_0x36539f[_0x105820(0xcc)]>0x0?_0x105820(0xcd)+_0x36539f[_0x105820(0xaa)](',\x20')+_0x105820(0x98)+CLI_BIN_NAME+_0x105820(0x78):_0x105820(0xbd)+CLI_BIN_NAME+'\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.');}assertEnvAppCodeNotIgnored(_0x1e3f42,resolveEnvAppCode(),_0x20813e);if(!_0x1e3f42){const _0x464c7b=Object['keys'](_0x276d23);if(!_0xe5275f&&_0x464c7b[_0x105820(0xcc)]>0x1)throw CliErrors[_0x105820(0xb5)](_0x105820(0xa9)+CLI_BIN_NAME+_0x105820(0xa4)+_0x464c7b[_0x105820(0xaa)](',\x20')+'.');throw CliErrors[_0x105820(0xb5)](_0x105820(0xa0)+CLI_BIN_NAME+_0x105820(0xaf));}}return{'defaults':{'booleans':{'verbose':_0x59cab6[_0x105820(0xa3)]},'numbers':{'pagesize':_0x59cab6[_0x105820(0xbc)]}},'extras':{'appCode':_0x1e3f42,'cookie':_0x1c33a3,'apiDomain':_0x59cab6[_0x105820(0xca)](),'apiDir':_0x520a18,'selectedAppName':_0x59cab6['selectedAppName'],'mergedCli':_0x59cab6['mergedCli']}};},'confirmHighRisk':_0x4202a3[_0x4f68c4(0x87)]??(async({env:_0x2e849e,commandLabel:_0x5414ed})=>{const _0x140a05=_0x4f68c4;if(_0x2e849e['isNonInteractive'])throw CliErrors[_0x140a05(0xb1)](_0x140a05(0xc7)+_0x5414ed+_0x140a05(0xc3));await requireConfirmationPrompt({'lines':[_0x140a05(0xc9)+_0x5414ed,'\x20\x20\x20Continue?\x20[y/N]\x20'],'createCancelledError':_0x3e80e0=>CliErrors[_0x140a05(0xb7)](_0x3e80e0)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0xb333bb=a307_0xeb45,{clearActiveCookie:_0x5c6cea}=await import(_0xb333bb(0xba));_0x5c6cea();}export async function finalizeRabetbaseRuntimeState(){const _0x4b4918=a307_0xeb45;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x183903},{initEnv:_0x14bf37}]=await Promise[_0x4b4918(0x9a)]([import(_0x4b4918(0x86)),import(_0x4b4918(0x79))]);_0x183903(),_0x14bf37(_0x4b4918(0x90));}}export async function runCommand(_0xe5ac5d,_0x147c3c,_0x17b158=terminalRunnerAdapter){const _0x3a6176=a307_0xeb45;assertRejectedFlags(_0xe5ac5d,_0x147c3c[_0x3a6176(0xb9)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0xe5ac5d)?withUpdateNotice(_0xe5ac5d):_0xe5ac5d,_0x147c3c,_0x17b158);}function assertRejectedFlags(_0x219c0f,_0x37fc47){const _0x47c4c1=a307_0xeb45;for(const _0x57f3a2 of _0x219c0f['rejectedFlags']??[]){const _0x364b5e=GLOBAL_FLAGS[_0x47c4c1(0xbb)](_0xae729d=>_0xae729d[_0x47c4c1(0x99)]===_0x57f3a2['name']),_0x446fc7=new Set([_0x57f3a2[_0x47c4c1(0x99)],toCamelCase(_0x57f3a2[_0x47c4c1(0x99)]),_0x364b5e?.[_0x47c4c1(0x93)]]),_0x176409=[..._0x446fc7][_0x47c4c1(0x95)](_0x5b08a3=>{if(!_0x5b08a3)return![];const _0x20c46a=_0x37fc47[_0x5b08a3];return _0x20c46a!==undefined&&_0x20c46a!==null&&_0x20c46a!==![];});if(_0x176409)throw CliErrors[_0x47c4c1(0xb1)](_0x57f3a2[_0x47c4c1(0x8f)],_0x57f3a2[_0x47c4c1(0x9b)]);}}function toCamelCase(_0x4dfc64){const _0x25be4c=a307_0xeb45;return _0x4dfc64[_0x25be4c(0x9d)](/-([a-z])/g,(_0x573228,_0x301cac)=>_0x301cac[_0x25be4c(0xcf)]());}function shouldAttachUpdateNotice(_0x66efed){const _0x17251c=a307_0xeb45;if(_0x66efed[_0x17251c(0x8a)]===![])return![];return![_0x17251c(0xcb),_0x17251c(0x91),_0x17251c(0x92)][_0x17251c(0x77)](_0x66efed[_0x17251c(0x83)]);}function withUpdateNotice(_0x2fde8f){return{..._0x2fde8f,async 'execute'(_0x5df05b){const _0x491420=a307_0xeb45,_0x31eb77=shouldResolveUpdateNotice(_0x5df05b)?resolveLatestUpdateNotice()[_0x491420(0xd2)](()=>null):Promise[_0x491420(0xab)](null),_0x13d3b4=await _0x2fde8f[_0x491420(0xc6)](_0x5df05b);return attachUpdateNotice(_0x13d3b4,await _0x31eb77);}};}function shouldResolveUpdateNotice(_0x4a306d){const _0x2f0600=a307_0xeb45;return _0x4a306d['format']==='pretty'&&!_0x4a306d[_0x2f0600(0x97)];}function a307_0xeb45(_0x92de71,_0x2c903b){_0x92de71=_0x92de71-0x77;const _0x1e18e2=a307_0x1e18();let _0xeb4533=_0x1e18e2[_0x92de71];return _0xeb4533;}function attachUpdateNotice(_0x4ee66c,_0x24a1be){const _0x253598=a307_0xeb45;if(!_0x24a1be||!_0x4ee66c||typeof _0x4ee66c!==_0x253598(0x7d))return _0x4ee66c;const _0x237d67=_0x4ee66c,_0x112b1f=typeof _0x237d67[_0x253598(0xc1)]==='object'&&_0x237d67[_0x253598(0xc1)]!==null?_0x237d67[_0x253598(0xc1)]:{};return{..._0x237d67,'_notice':{..._0x112b1f,'update':_0x24a1be}};}function a307_0x1e18(){const _0x2b02d7=['Available:\x20','9448184GFlSXw','toUpperCase','required','selectedAppName','catch','string','App\x20\x22','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','includes','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','../constant/env.js','6766648kChMpp','\x0a\x20\x20','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','object','trim','formatOutput','LOVRABET_APPCODE','verbose','format','service','6YlLOwE','A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22','../constant/domain.js','confirmHighRisk','1745400irzJTH','none','hasFormat','defaultApp','apps','750jtEbga','authRequired','message','production','schema','doctor','meowKey','risk','some','keys','nonInteractive','.\x20Use\x20--app/--appcode,\x20or\x20run\x20`','name','all','hint','Select\x20the\x20target\x20explicitly\x20with\x20--app\x20<profile>.','replace','appCode','RABETBASE_APPCODE','Set\x20appcode\x20via\x20`','30IJaiin','3470994gyffUa','defaultVerbose','\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20','map','pageSize','733028IrATHM','entries','Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`','join','resolve','command','has','riskLevel','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','Current\x20resolved\x20appcode\x20is\x20\x22','validation','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','value','145593MQAgCs','configMissing','resolveAppCode','cancelled','appcode','rawFlags','../core/api-client.js','find','defaultPageSize','Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`','mergedCli','apiDir','31728aQyatc','_notice','explicitAppName','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','filter','\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.','execute','High-risk\x20operation\x20`','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','⚠\x20\x20High-risk\x20operation:\x20','resolveApiDomain','update','length'];a307_0x1e18=function(){return _0x2b02d7;};return a307_0x1e18();}
@@ -1 +1 @@
1
- (function(_0x1f1f52,_0x5c1e42){const _0x3e8688=a308_0x15d2,_0x38b763=_0x1f1f52();while(!![]){try{const _0x599587=-parseInt(_0x3e8688(0x192))/0x1*(-parseInt(_0x3e8688(0x191))/0x2)+parseInt(_0x3e8688(0x195))/0x3+-parseInt(_0x3e8688(0x193))/0x4+-parseInt(_0x3e8688(0x190))/0x5+-parseInt(_0x3e8688(0x197))/0x6+parseInt(_0x3e8688(0x198))/0x7+parseInt(_0x3e8688(0x194))/0x8;if(_0x599587===_0x5c1e42)break;else _0x38b763['push'](_0x38b763['shift']());}catch(_0x335162){_0x38b763['push'](_0x38b763['shift']());}}}(a308_0x4e8f,0xc1769));import{buildSchemaPayload as a308_0xcccc18}from'@lovrabet/cli-framework';function a308_0x4e8f(){const _0x27896f=['1094880ffDwxQ','591920RWVSHr','3321040hkVecB','1685234iRQrBH','1rDCazM','4531940nkzKBi','12795656EBlLnt','736392YSllAV','../commands/registry.js'];a308_0x4e8f=function(){return _0x27896f;};return a308_0x4e8f();}import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a308_0x15d2(_0x2b9edb,_0x25033d){_0x2b9edb=_0x2b9edb-0x190;const _0x4e8f82=a308_0x4e8f();let _0x15d250=_0x4e8f82[_0x2b9edb];return _0x15d250;}import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x4c80a7=a308_0x15d2,{serviceRegistry:_0x1cb725,findDefinition:_0x189a95}=await import(_0x4c80a7(0x196));return a308_0xcccc18({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x1cb725,'buildAllFlags':buildAllFlags,'findDefinition':_0x189a95});}
1
+ function a308_0x5cfb(){const _0x191e18=['1035652SxHQpi','182885PzxekX','15077384xfcyau','4036011WcRoBk','../commands/registry.js','4790760cyZFdK','791234PCmAHu','4982562kXMdPz','9AWSNol'];a308_0x5cfb=function(){return _0x191e18;};return a308_0x5cfb();}(function(_0x29fc3a,_0x525da9){const _0x4d82ee=a308_0x53d2,_0xb021ac=_0x29fc3a();while(!![]){try{const _0x6a171e=-parseInt(_0x4d82ee(0x14e))/0x1+parseInt(_0x4d82ee(0x153))/0x2*(parseInt(_0x4d82ee(0x14c))/0x3)+parseInt(_0x4d82ee(0x14d))/0x4+-parseInt(_0x4d82ee(0x152))/0x5+-parseInt(_0x4d82ee(0x154))/0x6+-parseInt(_0x4d82ee(0x150))/0x7+parseInt(_0x4d82ee(0x14f))/0x8;if(_0x6a171e===_0x525da9)break;else _0xb021ac['push'](_0xb021ac['shift']());}catch(_0x12974a){_0xb021ac['push'](_0xb021ac['shift']());}}}(a308_0x5cfb,0xbf040));import{buildSchemaPayload as a308_0xc3390a}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';function a308_0x53d2(_0x1b16f7,_0x8e39f6){_0x1b16f7=_0x1b16f7-0x14c;const _0x5cfb68=a308_0x5cfb();let _0x53d232=_0x5cfb68[_0x1b16f7];return _0x53d232;}export async function buildSchemaPayload(){const _0x1bfb19=a308_0x53d2,{serviceRegistry:_0x47334e,findDefinition:_0x312420}=await import(_0x1bfb19(0x151));return a308_0xc3390a({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x47334e,'buildAllFlags':buildAllFlags,'findDefinition':_0x312420});}
@@ -1 +1 @@
1
- (function(_0x58a0aa,_0x28304f){const _0x2c8218=a309_0x41e8,_0x23b986=_0x58a0aa();while(!![]){try{const _0x37beed=-parseInt(_0x2c8218(0x77))/0x1+parseInt(_0x2c8218(0x7f))/0x2*(parseInt(_0x2c8218(0x73))/0x3)+-parseInt(_0x2c8218(0x76))/0x4+parseInt(_0x2c8218(0x7a))/0x5*(-parseInt(_0x2c8218(0x91))/0x6)+-parseInt(_0x2c8218(0x8c))/0x7*(parseInt(_0x2c8218(0x90))/0x8)+-parseInt(_0x2c8218(0x80))/0x9+parseInt(_0x2c8218(0x79))/0xa;if(_0x37beed===_0x28304f)break;else _0x23b986['push'](_0x23b986['shift']());}catch(_0x2daff1){_0x23b986['push'](_0x23b986['shift']());}}}(a309_0x47e4,0x4fac2));function a309_0x41e8(_0x437feb,_0x43b1f7){_0x437feb=_0x437feb-0x71;const _0x47e403=a309_0x47e4();let _0x41e8f5=_0x47e403[_0x437feb];return _0x41e8f5;}import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function assertSupportedCommandFlags(_0xa7f6fd,_0x1f480d){const _0x4959ff=a309_0x41e8;if(!_0xa7f6fd[_0x4959ff(0x82)])return;const _0x2d2993=new Set([_0x4959ff(0x7e),_0x4959ff(0x7c)]),_0x2e99f5=GLOBAL_FLAGS['filter'](_0x1bbd21=>PIPELINE_FLAG_NAMES[_0x4959ff(0x84)](_0x1bbd21[_0x4959ff(0x8d)]));for(const _0x92f8b8 of[..._0xa7f6fd[_0x4959ff(0x8f)],..._0x2e99f5]){addFlagCandidates(_0x2d2993,_0x92f8b8);}for(const [_0x47ceb9,_0x27eec2]of Object[_0x4959ff(0x71)](_0x1f480d)){if(!isExplicitValue(_0x27eec2)||_0x2d2993[_0x4959ff(0x84)](_0x47ceb9))continue;const _0x1b53bc=GLOBAL_FLAGS[_0x4959ff(0x86)](_0x224287=>_0x224287[_0x4959ff(0x72)]===_0x47ceb9)?.[_0x4959ff(0x8d)]??toKebabCase(_0x47ceb9);throw CliErrors[_0x4959ff(0x8b)](_0x4959ff(0x74)+_0x1b53bc+_0x4959ff(0x81)+CLI_BIN_NAME+'\x20'+_0xa7f6fd[_0x4959ff(0x89)]+'\x20'+_0xa7f6fd[_0x4959ff(0x8a)]+'`.',_0x4959ff(0x7b)+CLI_BIN_NAME+'\x20'+_0xa7f6fd['service']+'\x20'+_0xa7f6fd[_0x4959ff(0x8a)]+_0x4959ff(0x85));}}function a309_0x47e4(){const _0x4b3c26=['519832GFWttj','193193RVnkKi','alias','12115480xlnIAn','30ZUfxzA','Run\x20`','version','isArray','help','368786DeyrSQ','1706814rYegqZ','\x20for\x20`','strictFlags','toUpperCase','has','\x20--help`\x20to\x20view\x20the\x20current\x20command\x20contract.','find','replace','$1-$2','service','command','validation','318556uZXUEF','name','add','flags','72qhekxZ','147234iaCaWO','entries','meowKey','3tUVUVl','Unsupported\x20flag\x20--','length'];a309_0x47e4=function(){return _0x4b3c26;};return a309_0x47e4();}function addFlagCandidates(_0x4546d8,_0x462b0e){const _0x233224=a309_0x41e8,_0x4ba227=_0x233224(0x72)in _0x462b0e?[_0x462b0e[_0x233224(0x8d)],_0x462b0e[_0x233224(0x72)]]:[_0x462b0e['name'],_0x462b0e[_0x233224(0x78)]];for(const _0x133912 of _0x4ba227){if(!_0x133912)continue;_0x4546d8[_0x233224(0x8e)](_0x133912),_0x4546d8['add'](toCamelCase(_0x133912));}}function isExplicitValue(_0x2e0f61){const _0x4392a8=a309_0x41e8;return _0x2e0f61!==undefined&&_0x2e0f61!==null&&_0x2e0f61!==![]&&(!Array[_0x4392a8(0x7d)](_0x2e0f61)||_0x2e0f61[_0x4392a8(0x75)]>0x0);}function toCamelCase(_0x442b4b){const _0xea88de=a309_0x41e8;return _0x442b4b[_0xea88de(0x87)](/-([a-z])/g,(_0x4cd3bb,_0x276d32)=>_0x276d32[_0xea88de(0x83)]());}function toKebabCase(_0x3e66cc){const _0x2b77d1=a309_0x41e8;return _0x3e66cc['replace'](/([a-z0-9])([A-Z])/g,_0x2b77d1(0x88))['toLowerCase']();}
1
+ (function(_0x3bf852,_0x5e62a3){const _0x55378f=a309_0x69ed,_0x4af031=_0x3bf852();while(!![]){try{const _0x37ead4=parseInt(_0x55378f(0x15a))/0x1+parseInt(_0x55378f(0x166))/0x2*(-parseInt(_0x55378f(0x156))/0x3)+-parseInt(_0x55378f(0x158))/0x4+parseInt(_0x55378f(0x15c))/0x5*(-parseInt(_0x55378f(0x152))/0x6)+parseInt(_0x55378f(0x169))/0x7*(parseInt(_0x55378f(0x160))/0x8)+parseInt(_0x55378f(0x151))/0x9*(parseInt(_0x55378f(0x16a))/0xa)+parseInt(_0x55378f(0x15f))/0xb*(parseInt(_0x55378f(0x163))/0xc);if(_0x37ead4===_0x5e62a3)break;else _0x4af031['push'](_0x4af031['shift']());}catch(_0x7edb89){_0x4af031['push'](_0x4af031['shift']());}}}(a309_0x68cb,0xb9811));function a309_0x69ed(_0x25a3d3,_0x5d3e2b){_0x25a3d3=_0x25a3d3-0x150;const _0x68cbb9=a309_0x68cb();let _0x69ed6b=_0x68cbb9[_0x25a3d3];return _0x69ed6b;}import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function assertSupportedCommandFlags(_0x1086cf,_0x204e18){const _0x200d66=a309_0x69ed;if(!_0x1086cf[_0x200d66(0x164)])return;const _0x1c5daa=new Set([_0x200d66(0x150),'version']),_0x446d34=GLOBAL_FLAGS[_0x200d66(0x159)](_0x160997=>PIPELINE_FLAG_NAMES[_0x200d66(0x154)](_0x160997[_0x200d66(0x167)]));for(const _0x116f03 of[..._0x1086cf['flags'],..._0x446d34]){addFlagCandidates(_0x1c5daa,_0x116f03);}for(const [_0x3f9bfc,_0x55901c]of Object['entries'](_0x204e18)){if(!isExplicitValue(_0x55901c)||_0x1c5daa[_0x200d66(0x154)](_0x3f9bfc))continue;const _0x22e996=GLOBAL_FLAGS['find'](_0x10072f=>_0x10072f[_0x200d66(0x15d)]===_0x3f9bfc)?.['name']??toKebabCase(_0x3f9bfc);throw CliErrors[_0x200d66(0x165)](_0x200d66(0x16b)+_0x22e996+'\x20for\x20`'+CLI_BIN_NAME+'\x20'+_0x1086cf[_0x200d66(0x153)]+'\x20'+_0x1086cf[_0x200d66(0x15b)]+'`.','Run\x20`'+CLI_BIN_NAME+'\x20'+_0x1086cf[_0x200d66(0x153)]+'\x20'+_0x1086cf['command']+_0x200d66(0x168));}}function addFlagCandidates(_0x30835a,_0x4e4644){const _0x39b923=a309_0x69ed,_0x361675=_0x39b923(0x15d)in _0x4e4644?[_0x4e4644[_0x39b923(0x167)],_0x4e4644[_0x39b923(0x15d)]]:[_0x4e4644[_0x39b923(0x167)],_0x4e4644[_0x39b923(0x157)]];for(const _0x28b30a of _0x361675){if(!_0x28b30a)continue;_0x30835a['add'](_0x28b30a),_0x30835a[_0x39b923(0x161)](toCamelCase(_0x28b30a));}}function a309_0x68cb(){const _0x99be17=['has','length','547455ExnKRm','alias','5663876hQWppU','filter','362205DbgBFF','command','5140085CwQcXA','meowKey','isArray','15983HySkct','8173320QTXmUE','add','replace','26832sZsPhv','strictFlags','validation','16jgTkEu','name','\x20--help`\x20to\x20view\x20the\x20current\x20command\x20contract.','7EKCsGd','10tTHlIy','Unsupported\x20flag\x20--','help','278217ufGNGH','6YeXKrh','service'];a309_0x68cb=function(){return _0x99be17;};return a309_0x68cb();}function isExplicitValue(_0x190d89){const _0x4d7f21=a309_0x69ed;return _0x190d89!==undefined&&_0x190d89!==null&&_0x190d89!==![]&&(!Array[_0x4d7f21(0x15e)](_0x190d89)||_0x190d89[_0x4d7f21(0x155)]>0x0);}function toCamelCase(_0x274277){const _0x509a3f=a309_0x69ed;return _0x274277[_0x509a3f(0x162)](/-([a-z])/g,(_0x4f8547,_0xcb3dac)=>_0xcb3dac['toUpperCase']());}function toKebabCase(_0x4541cd){const _0x224990=a309_0x69ed;return _0x4541cd[_0x224990(0x162)](/([a-z0-9])([A-Z])/g,'$1-$2')['toLowerCase']();}
@@ -1 +1 @@
1
- (function(_0x1a00f2,_0x1dba30){var _0x404362=a310_0x51c0,_0x17cb6b=_0x1a00f2();while(!![]){try{var _0x528366=parseInt(_0x404362(0x18e))/0x1*(-parseInt(_0x404362(0x18b))/0x2)+parseInt(_0x404362(0x189))/0x3+parseInt(_0x404362(0x18d))/0x4*(-parseInt(_0x404362(0x18a))/0x5)+parseInt(_0x404362(0x18c))/0x6+parseInt(_0x404362(0x191))/0x7+-parseInt(_0x404362(0x192))/0x8+parseInt(_0x404362(0x18f))/0x9*(parseInt(_0x404362(0x190))/0xa);if(_0x528366===_0x1dba30)break;else _0x17cb6b['push'](_0x17cb6b['shift']());}catch(_0x28b014){_0x17cb6b['push'](_0x17cb6b['shift']());}}}(a310_0xc3ae,0x5a0f2));function a310_0xc3ae(){var _0x5dccd2=['1796432DJuLWC','1422942SGIbsr','5GHtawU','6HpOnAu','3435780GeQBxI','1587676BKuTIW','226531kCAbqe','9CpIRmF','211520bQKdjr','4212964fnVXiZ'];a310_0xc3ae=function(){return _0x5dccd2;};return a310_0xc3ae();}function a310_0x51c0(_0x444b5f,_0x39eb3c){_0x444b5f=_0x444b5f-0x189;var _0xc3aeef=a310_0xc3ae();var _0x51c039=_0xc3aeef[_0x444b5f];return _0x51c039;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
1
+ (function(_0x221018,_0x517d68){var _0x554a36=a310_0x35a8,_0x18a0a3=_0x221018();while(!![]){try{var _0x3c9dd0=-parseInt(_0x554a36(0x192))/0x1+parseInt(_0x554a36(0x193))/0x2*(parseInt(_0x554a36(0x190))/0x3)+-parseInt(_0x554a36(0x194))/0x4*(parseInt(_0x554a36(0x18b))/0x5)+-parseInt(_0x554a36(0x18e))/0x6+-parseInt(_0x554a36(0x195))/0x7*(parseInt(_0x554a36(0x191))/0x8)+-parseInt(_0x554a36(0x18f))/0x9*(parseInt(_0x554a36(0x18c))/0xa)+parseInt(_0x554a36(0x18d))/0xb;if(_0x3c9dd0===_0x517d68)break;else _0x18a0a3['push'](_0x18a0a3['shift']());}catch(_0x5dac0e){_0x18a0a3['push'](_0x18a0a3['shift']());}}}(a310_0x1680,0xd7dd7));function a310_0x1680(){var _0x3312b2=['172120xNKftk','31054375EWvxlC','1494408bAInaa','639PMHArN','1660563Crlpoe','272IrOERX','509244cmwCLd','6CThRIi','5659612ainTLi','42049FsJPTv','5geemQk'];a310_0x1680=function(){return _0x3312b2;};return a310_0x1680();}function a310_0x35a8(_0x56e8f3,_0x5c1079){_0x56e8f3=_0x56e8f3-0x18b;var _0x168098=a310_0x1680();var _0x35a8e6=_0x168098[_0x56e8f3];return _0x35a8e6;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "2.5.3-beta.4";
2
- export declare const GIT_TAG = "v2.5.3-beta.4";
3
- export declare const GIT_COMMIT = "e78aef00";
4
- export declare const BUILD_TIME = "2026-09-12T15:33:19.354Z";
1
+ export declare const VERSION = "2.5.3";
2
+ export declare const GIT_TAG = "v2.5.3";
3
+ export declare const GIT_COMMIT = "ff93c672";
4
+ export declare const BUILD_TIME = "2026-09-14T03:40:23.014Z";
@@ -1 +1 @@
1
- const a311_0xd0aaa9=a311_0x56bb;(function(_0x4b34d4,_0x221815){const _0x2c4c44=a311_0x56bb,_0xed8b8d=_0x4b34d4();while(!![]){try{const _0x14d577=parseInt(_0x2c4c44(0x161))/0x1*(-parseInt(_0x2c4c44(0x16a))/0x2)+-parseInt(_0x2c4c44(0x162))/0x3+-parseInt(_0x2c4c44(0x164))/0x4*(parseInt(_0x2c4c44(0x165))/0x5)+-parseInt(_0x2c4c44(0x160))/0x6*(-parseInt(_0x2c4c44(0x16b))/0x7)+-parseInt(_0x2c4c44(0x168))/0x8+-parseInt(_0x2c4c44(0x167))/0x9*(parseInt(_0x2c4c44(0x169))/0xa)+parseInt(_0x2c4c44(0x16c))/0xb*(parseInt(_0x2c4c44(0x16d))/0xc);if(_0x14d577===_0x221815)break;else _0xed8b8d['push'](_0xed8b8d['shift']());}catch(_0x407247){_0xed8b8d['push'](_0xed8b8d['shift']());}}}(a311_0x599e,0x600b5));export const VERSION='2.5.3-beta.4';function a311_0x56bb(_0x105551,_0x5b0893){_0x105551=_0x105551-0x160;const _0x599ee4=a311_0x599e();let _0x56bb66=_0x599ee4[_0x105551];return _0x56bb66;}export const GIT_TAG=a311_0xd0aaa9(0x166);export const GIT_COMMIT='e78aef00';export const BUILD_TIME=a311_0xd0aaa9(0x163);function a311_0x599e(){const _0x40d826=['v2.5.3-beta.4','4555548SvgQvM','802688nxPJNB','10SpNDMx','10NFKifn','559762xYupth','24403555nAGkaB','12EgXLfu','6kNUrXL','66931wHqepd','1624485OBBKAr','2026-09-12T15:33:19.354Z','211208RYUQSv','40SQMpMl'];a311_0x599e=function(){return _0x40d826;};return a311_0x599e();}
1
+ function a311_0x4ee0(){const _0x52f8d3=['4174nBMcUj','5718792MpqhdB','180910wBvOZu','ff93c672','v2.5.3','18hcSnel','463haRAuy','5644878fVVPIH','174036BPAphV','2.5.3','44628160fbfChu','8369514GIovqk','7qoADrw'];a311_0x4ee0=function(){return _0x52f8d3;};return a311_0x4ee0();}function a311_0x1b13(_0x5100b5,_0x34b52b){_0x5100b5=_0x5100b5-0xb8;const _0x4ee096=a311_0x4ee0();let _0x1b13cd=_0x4ee096[_0x5100b5];return _0x1b13cd;}const a311_0x3a4af6=a311_0x1b13;(function(_0x51ba1f,_0x13f103){const _0x4c40a7=a311_0x1b13,_0xb9f6e=_0x51ba1f();while(!![]){try{const _0x31f98d=parseInt(_0x4c40a7(0xc1))/0x1*(-parseInt(_0x4c40a7(0xbb))/0x2)+parseInt(_0x4c40a7(0xc0))/0x3*(-parseInt(_0x4c40a7(0xc3))/0x4)+-parseInt(_0x4c40a7(0xbd))/0x5+-parseInt(_0x4c40a7(0xc2))/0x6*(parseInt(_0x4c40a7(0xba))/0x7)+-parseInt(_0x4c40a7(0xbc))/0x8+-parseInt(_0x4c40a7(0xb9))/0x9+parseInt(_0x4c40a7(0xb8))/0xa;if(_0x31f98d===_0x13f103)break;else _0xb9f6e['push'](_0xb9f6e['shift']());}catch(_0x4db99f){_0xb9f6e['push'](_0xb9f6e['shift']());}}}(a311_0x4ee0,0x95d3b));export const VERSION=a311_0x3a4af6(0xc4);export const GIT_TAG=a311_0x3a4af6(0xbf);export const GIT_COMMIT=a311_0x3a4af6(0xbe);export const BUILD_TIME='2026-09-14T03:40:23.014Z';
@@ -1 +1 @@
1
- const a312_0x9456df=a312_0x308c;(function(_0x8ce8e7,_0x3db769){const _0x53fbe2=a312_0x308c,_0x4b4163=_0x8ce8e7();while(!![]){try{const _0x526d25=-parseInt(_0x53fbe2(0x1d8))/0x1*(parseInt(_0x53fbe2(0x1d6))/0x2)+-parseInt(_0x53fbe2(0x1d4))/0x3*(parseInt(_0x53fbe2(0x1c3))/0x4)+parseInt(_0x53fbe2(0x1b2))/0x5*(-parseInt(_0x53fbe2(0x1c1))/0x6)+parseInt(_0x53fbe2(0x1d7))/0x7*(parseInt(_0x53fbe2(0x1c4))/0x8)+parseInt(_0x53fbe2(0x1bd))/0x9*(parseInt(_0x53fbe2(0x1da))/0xa)+-parseInt(_0x53fbe2(0x1ce))/0xb*(parseInt(_0x53fbe2(0x1c5))/0xc)+parseInt(_0x53fbe2(0x1cc))/0xd;if(_0x526d25===_0x3db769)break;else _0x4b4163['push'](_0x4b4163['shift']());}catch(_0x2ee497){_0x4b4163['push'](_0x4b4163['shift']());}}}(a312_0x3aff,0x2d082));function a312_0x3aff(){const _0x1d5f7a=['https://app.lovrabet.id','20QsJsUG','https://skills.lovrabet.ai','5dhykeN','https://g.lovrabet.id','https://dev.lovrabet.ai','Global','https://g.lovrabet.com','https://user.lovrabet.com','indonesia','https://api.lovrabet.com','https://skills-daily.lovrabet.com','https://daily-api.lovrabet.com','Mainland\x20China','145647HWGAUW','https://app.lovrabet.com','https://runtime.lovrabet.id','https://user.lovrabet.id','769962DsptUl','https://runtime.lovrabet.ai','333964ZhbBeO','8QkHcwQ','3875616poIwDS','https://skills.lovrabet.com','Indonesia','china','https://user-daily.lovrabet.com','https://g.alicdn.com/code/lib','https://api.lovrabet.id','10777715OCFVkw','https://cdnjs.cloudflare.com/ajax/libs','11bKQTVf','https://dev.lovrabet.id','https://api.lovrabet.ai','https://daily-runtime.lovrabet.com','3106fb4f7940b1f4446307e8a7f0c6f6e4a71affd6f8ebe7e5f23e055c08ca3f','https://user.lovrabet.ai','3CrjUYc','https://skills.lovrabet.id','45188DQLtpt','111811bzZTUc','7keeHGp'];a312_0x3aff=function(){return _0x1d5f7a;};return a312_0x3aff();}function a312_0x308c(_0x1a006e,_0x314906){_0x1a006e=_0x1a006e-0x1b2;const _0x3aff77=a312_0x3aff();let _0x308c9c=_0x3aff77[_0x1a006e];return _0x308c9c;}export const ROUTING_CATALOG_DIGEST=a312_0x9456df(0x1d2);export const DEFAULT_REGION='cn';export const REGION_VALUES=['cn','id','global'];export const ENABLED_REGION_VALUES=['cn','id'];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a312_0x9456df(0x1bc),'aliases':[a312_0x9456df(0x1c8)],'serviceDomains':{'production':{'user':a312_0x9456df(0x1b7),'api':a312_0x9456df(0x1b9),'runtime':'https://runtime.lovrabet.com','skill':a312_0x9456df(0x1c6),'kb':a312_0x9456df(0x1b9),'app':a312_0x9456df(0x1be)},'daily':{'user':a312_0x9456df(0x1c9),'api':'https://daily-api.lovrabet.com','runtime':a312_0x9456df(0x1d1),'skill':a312_0x9456df(0x1ba),'kb':a312_0x9456df(0x1bb),'app':'https://daily.lovrabet.com'}},'cdn':{'libraries':a312_0x9456df(0x1ca),'lovrabet':a312_0x9456df(0x1b6)},'local':{'origin':'https://dev.lovrabet.com'}},'id':{'enabled':!![],'label':a312_0x9456df(0x1c7),'aliases':[a312_0x9456df(0x1b8)],'serviceDomains':{'production':{'user':a312_0x9456df(0x1c0),'api':a312_0x9456df(0x1cb),'runtime':a312_0x9456df(0x1bf),'skill':a312_0x9456df(0x1d5),'kb':a312_0x9456df(0x1cb),'app':a312_0x9456df(0x1d9)}},'cdn':{'libraries':a312_0x9456df(0x1cd),'lovrabet':a312_0x9456df(0x1b3)},'local':{'origin':a312_0x9456df(0x1cf)}},'global':{'enabled':![],'label':a312_0x9456df(0x1b5),'aliases':[],'serviceDomains':{'production':{'user':a312_0x9456df(0x1d3),'api':a312_0x9456df(0x1d0),'runtime':a312_0x9456df(0x1c2),'skill':a312_0x9456df(0x1db),'kb':a312_0x9456df(0x1d0),'app':'https://app.lovrabet.ai'}},'cdn':{'libraries':'https://cdnjs.cloudflare.com/ajax/libs'},'local':{'origin':a312_0x9456df(0x1b4)}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
1
+ const a312_0x4c8e93=a312_0x5e24;(function(_0x13a9e1,_0x4c7b5f){const _0x366462=a312_0x5e24,_0xcf3ce1=_0x13a9e1();while(!![]){try{const _0x4cfcac=parseInt(_0x366462(0x1ad))/0x1*(-parseInt(_0x366462(0x1c8))/0x2)+-parseInt(_0x366462(0x1b2))/0x3+parseInt(_0x366462(0x1d2))/0x4+parseInt(_0x366462(0x1bb))/0x5*(parseInt(_0x366462(0x1b9))/0x6)+parseInt(_0x366462(0x1cd))/0x7+-parseInt(_0x366462(0x1b0))/0x8*(parseInt(_0x366462(0x1c5))/0x9)+parseInt(_0x366462(0x1c3))/0xa*(-parseInt(_0x366462(0x1b1))/0xb);if(_0x4cfcac===_0x4c7b5f)break;else _0xcf3ce1['push'](_0xcf3ce1['shift']());}catch(_0x41dacf){_0xcf3ce1['push'](_0xcf3ce1['shift']());}}}(a312_0x30eb,0x952ae));export const ROUTING_CATALOG_DIGEST=a312_0x4c8e93(0x1b6);export const DEFAULT_REGION='cn';function a312_0x5e24(_0x17e22c,_0x14adf0){_0x17e22c=_0x17e22c-0x1ac;const _0x30eb3c=a312_0x30eb();let _0x5e249e=_0x30eb3c[_0x17e22c];return _0x5e249e;}function a312_0x30eb(){const _0x54da7b=['https://daily-runtime.lovrabet.com','https://user-daily.lovrabet.com','1192356HMiwmj','https://dev.lovrabet.ai','13ovXTeA','https://user.lovrabet.ai','indonesia','24LGxASG','649StGHnn','500340kVjmAy','Global','https://dev.lovrabet.id','https://dev.lovrabet.com','3106fb4f7940b1f4446307e8a7f0c6f6e4a71affd6f8ebe7e5f23e055c08ca3f','https://api.lovrabet.com','https://skills.lovrabet.ai','3067188SWfmLp','Mainland\x20China','10vbMSnh','https://cdnjs.cloudflare.com/ajax/libs','https://daily.lovrabet.com','https://api.lovrabet.id','https://api.lovrabet.ai','Indonesia','global','https://skills.lovrabet.com','9880ezThji','https://user.lovrabet.id','1064169UIDPbA','https://app.lovrabet.com','china','176760OOwjRR','https://g.lovrabet.com','https://app.lovrabet.id','https://runtime.lovrabet.com','https://g.lovrabet.id','7134680oYovYt','https://daily-api.lovrabet.com','https://app.lovrabet.ai'];a312_0x30eb=function(){return _0x54da7b;};return a312_0x30eb();}export const REGION_VALUES=['cn','id',a312_0x4c8e93(0x1c1)];export const ENABLED_REGION_VALUES=['cn','id'];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a312_0x4c8e93(0x1ba),'aliases':[a312_0x4c8e93(0x1c7)],'serviceDomains':{'production':{'user':'https://user.lovrabet.com','api':a312_0x4c8e93(0x1b7),'runtime':a312_0x4c8e93(0x1cb),'skill':a312_0x4c8e93(0x1c2),'kb':a312_0x4c8e93(0x1b7),'app':a312_0x4c8e93(0x1c6)},'daily':{'user':a312_0x4c8e93(0x1d1),'api':a312_0x4c8e93(0x1ce),'runtime':a312_0x4c8e93(0x1d0),'skill':'https://skills-daily.lovrabet.com','kb':a312_0x4c8e93(0x1ce),'app':a312_0x4c8e93(0x1bd)}},'cdn':{'libraries':'https://g.alicdn.com/code/lib','lovrabet':a312_0x4c8e93(0x1c9)},'local':{'origin':a312_0x4c8e93(0x1b5)}},'id':{'enabled':!![],'label':a312_0x4c8e93(0x1c0),'aliases':[a312_0x4c8e93(0x1af)],'serviceDomains':{'production':{'user':a312_0x4c8e93(0x1c4),'api':a312_0x4c8e93(0x1be),'runtime':'https://runtime.lovrabet.id','skill':'https://skills.lovrabet.id','kb':a312_0x4c8e93(0x1be),'app':a312_0x4c8e93(0x1ca)}},'cdn':{'libraries':a312_0x4c8e93(0x1bc),'lovrabet':a312_0x4c8e93(0x1cc)},'local':{'origin':a312_0x4c8e93(0x1b4)}},'global':{'enabled':![],'label':a312_0x4c8e93(0x1b3),'aliases':[],'serviceDomains':{'production':{'user':a312_0x4c8e93(0x1ae),'api':a312_0x4c8e93(0x1bf),'runtime':'https://runtime.lovrabet.ai','skill':a312_0x4c8e93(0x1b8),'kb':a312_0x4c8e93(0x1bf),'app':a312_0x4c8e93(0x1cf)}},'cdn':{'libraries':'https://cdnjs.cloudflare.com/ajax/libs'},'local':{'origin':a312_0x4c8e93(0x1ac)}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
@@ -1 +1 @@
1
- const a313_0x45ef78=a313_0x3ec1;(function(_0x53ad6f,_0x1c95b0){const _0x3990d4=a313_0x3ec1,_0x53c3e7=_0x53ad6f();while(!![]){try{const _0x1e24a3=-parseInt(_0x3990d4(0x13d))/0x1*(parseInt(_0x3990d4(0x144))/0x2)+-parseInt(_0x3990d4(0x138))/0x3*(parseInt(_0x3990d4(0x146))/0x4)+-parseInt(_0x3990d4(0x145))/0x5+parseInt(_0x3990d4(0x13b))/0x6+-parseInt(_0x3990d4(0x135))/0x7+-parseInt(_0x3990d4(0x136))/0x8+parseInt(_0x3990d4(0x140))/0x9;if(_0x1e24a3===_0x1c95b0)break;else _0x53c3e7['push'](_0x53c3e7['shift']());}catch(_0x19a6e6){_0x53c3e7['push'](_0x53c3e7['shift']());}}}(a313_0xad0a,0xba7c1));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST='d83929cbced3959b68435d16131e5ff12a4bfc6095e6b7f15bada2bfd03a72cc';export const ENTERPRISE_ROUTING_PROTOCOL=a313_0x45ef78(0x13e);function a313_0x3ec1(_0x5134e9,_0x597840){_0x5134e9=_0x5134e9-0x132;const _0xad0ab8=a313_0xad0a();let _0x3ec1f5=_0xad0ab8[_0x5134e9];return _0x3ec1f5;}export const ENTERPRISE_ROUTING_KIND=a313_0x45ef78(0x143);export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a313_0x45ef78(0x137),'apiDomain',a313_0x45ef78(0x13c),a313_0x45ef78(0x142),'kbDomain',a313_0x45ef78(0x139),a313_0x45ef78(0x141),a313_0x45ef78(0x133)];export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a313_0x45ef78(0x137),a313_0x45ef78(0x134),'runtimeDomain',a313_0x45ef78(0x142),a313_0x45ef78(0x132),a313_0x45ef78(0x139)];function a313_0xad0a(){const _0x44136b=['7153510kWmhcN','8NNRFtV','kbDomain','certificateDomain','apiDomain','2338329nnEAHm','6572696XEJCLW','userDomain','152403XGHjoT','appDomain','libraries','8665740YyRnUq','runtimeDomain','41777revfnh','lovrabet-routing/v1','lovrabet','18819387sbftwU','localDomain','skillDomain','enterprise','4SZkAiU'];a313_0xad0a=function(){return _0x44136b;};return a313_0xad0a();}export const ENTERPRISE_ROUTING_CDN_FIELDS=[a313_0x45ef78(0x13a),a313_0x45ef78(0x13f)];export const REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS=[a313_0x45ef78(0x13a),a313_0x45ef78(0x13f)];
1
+ const a313_0x403dce=a313_0x1333;(function(_0x3d4d82,_0x186eab){const _0x510ad3=a313_0x1333,_0x207072=_0x3d4d82();while(!![]){try{const _0x47d254=-parseInt(_0x510ad3(0xa0))/0x1+-parseInt(_0x510ad3(0xa3))/0x2*(-parseInt(_0x510ad3(0xa7))/0x3)+parseInt(_0x510ad3(0x9e))/0x4+parseInt(_0x510ad3(0x97))/0x5*(parseInt(_0x510ad3(0xa1))/0x6)+-parseInt(_0x510ad3(0x92))/0x7*(parseInt(_0x510ad3(0x93))/0x8)+-parseInt(_0x510ad3(0xa6))/0x9+parseInt(_0x510ad3(0xa5))/0xa;if(_0x47d254===_0x186eab)break;else _0x207072['push'](_0x207072['shift']());}catch(_0x168381){_0x207072['push'](_0x207072['shift']());}}}(a313_0x4cd8,0x1fad7));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a313_0x403dce(0xa8);export const ENTERPRISE_ROUTING_PROTOCOL=a313_0x403dce(0xa2);export const ENTERPRISE_ROUTING_KIND=a313_0x403dce(0x98);export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=['userDomain',a313_0x403dce(0x9d),a313_0x403dce(0x9a),a313_0x403dce(0x9b),a313_0x403dce(0x9c),a313_0x403dce(0xa4),a313_0x403dce(0x99),a313_0x403dce(0x9f)];function a313_0x1333(_0x550722,_0xe38b5c){_0x550722=_0x550722-0x92;const _0x4cd8a4=a313_0x4cd8();let _0x133307=_0x4cd8a4[_0x550722];return _0x133307;}export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a313_0x403dce(0x96),'apiDomain',a313_0x403dce(0x9a),a313_0x403dce(0x9b),'kbDomain',a313_0x403dce(0xa4)];function a313_0x4cd8(){const _0x595279=['d83929cbced3959b68435d16131e5ff12a4bfc6095e6b7f15bada2bfd03a72cc','14tUqVCb','675704TiFYmc','libraries','lovrabet','userDomain','3255wdJwVk','enterprise','localDomain','runtimeDomain','skillDomain','kbDomain','apiDomain','432288MPOQKB','certificateDomain','62589GqKpUM','972ZnGkuQ','lovrabet-routing/v1','396786axeNQR','appDomain','1221470pxkEHN','1555272wfuzxF','3vKsFTa'];a313_0x4cd8=function(){return _0x595279;};return a313_0x4cd8();}export const ENTERPRISE_ROUTING_CDN_FIELDS=[a313_0x403dce(0x94),a313_0x403dce(0x95)];export const REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS=[a313_0x403dce(0x94),a313_0x403dce(0x95)];
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- function a314_0x17bb(){var _0x16fbf2=['413400HwcThL','2235191meCESF','green','24366366xMUXIc','\x20to\x20view\x20available\x20commands.','bold','8mlAyCm','620008gtSAfo','\x20--help','1654491AnLECP','839910jaoaRj','25sjyRzH','log','2136172lYRaRs'];a314_0x17bb=function(){return _0x16fbf2;};return a314_0x17bb();}function a314_0x5ec8(_0x1b6a2b,_0x467fb4){_0x1b6a2b=_0x1b6a2b-0x167;var _0x17bbc7=a314_0x17bb();var _0x5ec821=_0x17bbc7[_0x1b6a2b];return _0x5ec821;}(function(_0x316b5d,_0x151abd){var _0x5326ba=a314_0x5ec8,_0x1d6fe8=_0x316b5d();while(!![]){try{var _0x46b176=-parseInt(_0x5326ba(0x16e))/0x1+parseInt(_0x5326ba(0x16b))/0x2+-parseInt(_0x5326ba(0x16d))/0x3+-parseInt(_0x5326ba(0x171))/0x4+parseInt(_0x5326ba(0x16f))/0x5*(-parseInt(_0x5326ba(0x172))/0x6)+parseInt(_0x5326ba(0x173))/0x7*(-parseInt(_0x5326ba(0x16a))/0x8)+parseInt(_0x5326ba(0x167))/0x9;if(_0x46b176===_0x151abd)break;else _0x1d6fe8['push'](_0x1d6fe8['shift']());}catch(_0x479d2e){_0x1d6fe8['push'](_0x1d6fe8['shift']());}}}(a314_0x17bb,0x68853));import a314_0x6a9467 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x58bfb9=a314_0x5ec8;console['log'](),console[_0x58bfb9(0x170)](a314_0x6a9467[_0x58bfb9(0x174)][_0x58bfb9(0x169)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x58bfb9(0x170)](),console['log']('\x20\x20Use\x20'+a314_0x6a9467['green'][_0x58bfb9(0x169)](CLI_BIN_NAME+_0x58bfb9(0x16c))+_0x58bfb9(0x168)),console[_0x58bfb9(0x170)]();}
1
+ (function(_0x3e7d45,_0x248938){var _0x5ccefa=a314_0x83a2,_0x1335b2=_0x3e7d45();while(!![]){try{var _0x39f97f=parseInt(_0x5ccefa(0x7e))/0x1+parseInt(_0x5ccefa(0x7a))/0x2*(parseInt(_0x5ccefa(0x79))/0x3)+-parseInt(_0x5ccefa(0x81))/0x4+-parseInt(_0x5ccefa(0x84))/0x5*(parseInt(_0x5ccefa(0x80))/0x6)+parseInt(_0x5ccefa(0x7c))/0x7+parseInt(_0x5ccefa(0x78))/0x8*(parseInt(_0x5ccefa(0x7b))/0x9)+-parseInt(_0x5ccefa(0x7f))/0xa;if(_0x39f97f===_0x248938)break;else _0x1335b2['push'](_0x1335b2['shift']());}catch(_0x283651){_0x1335b2['push'](_0x1335b2['shift']());}}}(a314_0x1609,0xb97a2));import a314_0x192f9b from'chalk';function a314_0x1609(){var _0x2f165f=['log','587587ohtAlG','10398610ENuMxn','18WYwIlH','1777144OaVnRI','green','\x20\x20Use\x20','1758045vsnUkA','\x20to\x20view\x20available\x20commands.','bold','2024LCFfTX','1761mhrpFe','4198NegUdm','11673lpoHnC','8055929ySycbD'];a314_0x1609=function(){return _0x2f165f;};return a314_0x1609();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a314_0x83a2(_0x1bfda3,_0x4504a0){_0x1bfda3=_0x1bfda3-0x78;var _0x160942=a314_0x1609();var _0x83a2a9=_0x160942[_0x1bfda3];return _0x83a2a9;}export function showHelp(){var _0xea4cd4=a314_0x83a2;console['log'](),console['log'](a314_0x192f9b[_0xea4cd4(0x82)][_0xea4cd4(0x86)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0xea4cd4(0x7d)](),console[_0xea4cd4(0x7d)](_0xea4cd4(0x83)+a314_0x192f9b[_0xea4cd4(0x82)][_0xea4cd4(0x86)](CLI_BIN_NAME+'\x20--help')+_0xea4cd4(0x85)),console[_0xea4cd4(0x7d)]();}
@@ -1 +1 @@
1
- (function(_0x2d570a,_0x5ab28b){const _0x3af79e=a315_0x2d10,_0x10af07=_0x2d570a();while(!![]){try{const _0x3b1ece=-parseInt(_0x3af79e(0xcc))/0x1*(-parseInt(_0x3af79e(0xd0))/0x2)+parseInt(_0x3af79e(0xc8))/0x3+-parseInt(_0x3af79e(0xd1))/0x4*(parseInt(_0x3af79e(0xd7))/0x5)+parseInt(_0x3af79e(0xd5))/0x6+parseInt(_0x3af79e(0xd2))/0x7+-parseInt(_0x3af79e(0xce))/0x8*(-parseInt(_0x3af79e(0xc3))/0x9)+-parseInt(_0x3af79e(0xc5))/0xa;if(_0x3b1ece===_0x5ab28b)break;else _0x10af07['push'](_0x10af07['shift']());}catch(_0x3066c2){_0x10af07['push'](_0x10af07['shift']());}}}(a315_0x18c1,0x5dc9a));function a315_0x2d10(_0x46473b,_0x436c67){_0x46473b=_0x46473b-0xc3;const _0x18c19e=a315_0x18c1();let _0x2d106c=_0x18c19e[_0x46473b];return _0x2d106c;}import{installBuiltinSkill}from'./skills/builtin-skill.js';function a315_0x18c1(){const _0x117015=['repairCommand','log','4165224jNPGyL','changed','5HRfGOW','640818HfvhuS','Repair\x20with:\x20','12886310gsYZVZ','Installation\x20failed','error','1888041eVGKCr','installedPath','\x20at\x20','SOURCE_INVALID','297MgUoTG','already\x20current','16mabpOx','FAILED','1306qqVOqm','2861156uJKQhd','5097246fBudwT'];a315_0x18c1=function(){return _0x117015;};return a315_0x18c1();}export async function runPostinstall(_0x248d2a={}){const _0x47ff1d=a315_0x2d10,_0x7802da=installBuiltinSkill(_0x248d2a);if(_0x7802da['ok']){const _0x574523=_0x7802da[_0x47ff1d(0xd6)]?'installed':_0x47ff1d(0xcd),_0x52a00c=_0x7802da[_0x47ff1d(0xc9)]?_0x47ff1d(0xca)+_0x7802da[_0x47ff1d(0xc9)]:'\x20via\x20skills@latest';return console[_0x47ff1d(0xd4)]('Rabetbase\x20Built-in\x20Skill\x20'+_0x7802da['skillVersion']+'\x20'+_0x574523+_0x52a00c),_0x7802da;}const _0x5386ba='[BUILTIN_SKILL_INSTALL_'+(_0x7802da['code']??_0x47ff1d(0xcf))+']\x20'+(_0x7802da[_0x47ff1d(0xc7)]??_0x47ff1d(0xc6))+'.\x20'+(_0x47ff1d(0xc4)+_0x7802da[_0x47ff1d(0xd3)]);if(_0x7802da['code']===_0x47ff1d(0xcb))throw new Error(_0x5386ba);return console['warn'](_0x5386ba),_0x7802da;}
1
+ (function(_0x3cc496,_0x48c730){const _0x4ff219=a315_0x4186,_0x9733f0=_0x3cc496();while(!![]){try{const _0x30edbd=-parseInt(_0x4ff219(0xfc))/0x1*(parseInt(_0x4ff219(0xee))/0x2)+parseInt(_0x4ff219(0xff))/0x3+-parseInt(_0x4ff219(0x100))/0x4+parseInt(_0x4ff219(0xef))/0x5+parseInt(_0x4ff219(0xf8))/0x6*(parseInt(_0x4ff219(0xf2))/0x7)+parseInt(_0x4ff219(0xf7))/0x8*(-parseInt(_0x4ff219(0xf4))/0x9)+-parseInt(_0x4ff219(0xfa))/0xa;if(_0x30edbd===_0x48c730)break;else _0x9733f0['push'](_0x9733f0['shift']());}catch(_0x18c975){_0x9733f0['push'](_0x9733f0['shift']());}}}(a315_0x9479,0xd2a21));function a315_0x9479(){const _0x1c7f29=['\x20at\x20','45176oLPcga','241302hCNMZF','repairCommand','3694350OcgGXa','changed','298092HdCtDN','\x20via\x20skills@latest','FAILED','3906675bQCXxn','1115688qRfVbI','installedPath','code','Repair\x20with:\x20','Rabetbase\x20Built-in\x20Skill\x20','warn','4kGiyRo','1495945zIaYhL','already\x20current','Installation\x20failed','91WARcls','[BUILTIN_SKILL_INSTALL_','27csUQnf','error'];a315_0x9479=function(){return _0x1c7f29;};return a315_0x9479();}import{installBuiltinSkill}from'./skills/builtin-skill.js';function a315_0x4186(_0x5a07f1,_0x449dd8){_0x5a07f1=_0x5a07f1-0xea;const _0x94798d=a315_0x9479();let _0x4186be=_0x94798d[_0x5a07f1];return _0x4186be;}export async function runPostinstall(_0x48ccb4={}){const _0x53e7c3=a315_0x4186,_0x365156=installBuiltinSkill(_0x48ccb4);if(_0x365156['ok']){const _0x1b03fc=_0x365156[_0x53e7c3(0xfb)]?'installed':_0x53e7c3(0xf0),_0x20666c=_0x365156[_0x53e7c3(0x101)]?_0x53e7c3(0xf6)+_0x365156['installedPath']:_0x53e7c3(0xfd);return console['log'](_0x53e7c3(0xec)+_0x365156['skillVersion']+'\x20'+_0x1b03fc+_0x20666c),_0x365156;}const _0x1c235c=_0x53e7c3(0xf3)+(_0x365156[_0x53e7c3(0xea)]??_0x53e7c3(0xfe))+']\x20'+(_0x365156[_0x53e7c3(0xf5)]??_0x53e7c3(0xf1))+'.\x20'+(_0x53e7c3(0xeb)+_0x365156[_0x53e7c3(0xf9)]);if(_0x365156[_0x53e7c3(0xea)]==='SOURCE_INVALID')throw new Error(_0x1c235c);return console[_0x53e7c3(0xed)](_0x1c235c),_0x365156;}
@@ -1 +1 @@
1
- (function(_0x2672f4,_0x543150){const _0x198fc7=a316_0x3b31,_0x2ac571=_0x2672f4();while(!![]){try{const _0x20faae=parseInt(_0x198fc7(0x85))/0x1+parseInt(_0x198fc7(0x7e))/0x2+-parseInt(_0x198fc7(0x80))/0x3*(parseInt(_0x198fc7(0x86))/0x4)+parseInt(_0x198fc7(0x83))/0x5*(-parseInt(_0x198fc7(0x89))/0x6)+-parseInt(_0x198fc7(0x8b))/0x7+-parseInt(_0x198fc7(0x87))/0x8+parseInt(_0x198fc7(0x82))/0x9;if(_0x20faae===_0x543150)break;else _0x2ac571['push'](_0x2ac571['shift']());}catch(_0x51fdfb){_0x2ac571['push'](_0x2ac571['shift']());}}}(a316_0x5cfa,0x52924));const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildRabetbaseConfirmationRequest(_0x31221c,_0x4319ea,_0x32585d){const _0x3e1116=a316_0x3b31,_0x1d0b0f=normalizeText(_0x31221c[_0x3e1116(0x8d)],DESCRIPTION_MAX_LENGTH),_0xc75aa8=_0x1d0b0f||normalizeText(defaultDescription(requireWriteRisk(_0x31221c),_0x4319ea),DESCRIPTION_MAX_LENGTH);return{'operation':_0x4319ea,'risk':requireWriteRisk(_0x31221c),'description':_0xc75aa8,..._0x32585d?{'signal':_0x32585d}:{}};}function a316_0x3b31(_0x475470,_0x36c99f){_0x475470=_0x475470-0x7b;const _0x5cfa87=a316_0x5cfa();let _0x3b3153=_0x5cfa87[_0x475470];return _0x3b3153;}function a316_0x5cfa(){const _0x17e4c1=['7591698uUIgXb','45PWjhUF','replace','73490ShxREX','8KkrlIe','41432HKXISS','high-risk-write','121854nakByU','.\x20It\x20may\x20create\x20or\x20change\x20business\x20data\x20or\x20local\x20configuration.','846230PCROcm','Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.','confirmationDescription','.\x20It\x20may\x20overwrite,\x20delete,\x20or\x20materially\x20change\x20live\x20behavior.','slice','string','write','638828XXHxwj','risk','884046bYTBCf','trim'];a316_0x5cfa=function(){return _0x17e4c1;};return a316_0x5cfa();}function requireWriteRisk(_0x2d81fa){const _0x4002ac=a316_0x3b31;if(_0x2d81fa[_0x4002ac(0x7f)]===_0x4002ac(0x7d)||_0x2d81fa[_0x4002ac(0x7f)]===_0x4002ac(0x88))return _0x2d81fa[_0x4002ac(0x7f)];throw new Error(_0x4002ac(0x8c));}function defaultDescription(_0x40d678,_0x4161d1){const _0x5d3879=a316_0x3b31;if(_0x40d678==='high-risk-write')return'This\x20will\x20run\x20the\x20high-risk\x20write\x20'+_0x4161d1+_0x5d3879(0x8e);return'This\x20will\x20run\x20the\x20write\x20'+_0x4161d1+_0x5d3879(0x8a);}function normalizeText(_0x466e28,_0x9abfa0){const _0x17735d=a316_0x3b31;if(typeof _0x466e28!==_0x17735d(0x7c))return'';return _0x466e28['replace'](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x17735d(0x84)](/\s+/g,'\x20')[_0x17735d(0x81)]()[_0x17735d(0x7b)](0x0,_0x9abfa0);}
1
+ (function(_0x149c21,_0x279561){const _0x373750=a316_0x2132,_0x3bd780=_0x149c21();while(!![]){try{const _0x4dc52f=-parseInt(_0x373750(0xfd))/0x1+-parseInt(_0x373750(0xfa))/0x2*(-parseInt(_0x373750(0xf9))/0x3)+parseInt(_0x373750(0xf2))/0x4+-parseInt(_0x373750(0xf4))/0x5*(-parseInt(_0x373750(0xf5))/0x6)+-parseInt(_0x373750(0xf6))/0x7*(parseInt(_0x373750(0xf3))/0x8)+-parseInt(_0x373750(0x101))/0x9*(parseInt(_0x373750(0xfc))/0xa)+-parseInt(_0x373750(0x102))/0xb*(-parseInt(_0x373750(0x100))/0xc);if(_0x4dc52f===_0x279561)break;else _0x3bd780['push'](_0x3bd780['shift']());}catch(_0xea5bf0){_0x3bd780['push'](_0x3bd780['shift']());}}}(a316_0x2b45,0x20378));const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildRabetbaseConfirmationRequest(_0x57f346,_0x1003c7,_0x223945){const _0x432a5f=normalizeText(_0x57f346['confirmationDescription'],DESCRIPTION_MAX_LENGTH),_0x50550c=_0x432a5f||normalizeText(defaultDescription(requireWriteRisk(_0x57f346),_0x1003c7),DESCRIPTION_MAX_LENGTH);return{'operation':_0x1003c7,'risk':requireWriteRisk(_0x57f346),'description':_0x50550c,..._0x223945?{'signal':_0x223945}:{}};}function requireWriteRisk(_0x433643){const _0x234ec2=a316_0x2132;if(_0x433643[_0x234ec2(0xf1)]==='write'||_0x433643['risk']===_0x234ec2(0xf0))return _0x433643['risk'];throw new Error('Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.');}function a316_0x2b45(){const _0xf32f28=['45cCmZKW','10967OKHrkh','high-risk-write','risk','143096jkwmJy','416TMogSy','10465AZLrhU','156IKGxEn','33929fvUowS','string','slice','21iCOXfV','11654dDrPgN','This\x20will\x20run\x20the\x20high-risk\x20write\x20','387070aCryBI','87834mHBJfY','.\x20It\x20may\x20overwrite,\x20delete,\x20or\x20materially\x20change\x20live\x20behavior.','replace','6432YtIxLw'];a316_0x2b45=function(){return _0xf32f28;};return a316_0x2b45();}function defaultDescription(_0x5d22bc,_0x361e47){const _0x1147a9=a316_0x2132;if(_0x5d22bc==='high-risk-write')return _0x1147a9(0xfb)+_0x361e47+_0x1147a9(0xfe);return'This\x20will\x20run\x20the\x20write\x20'+_0x361e47+'.\x20It\x20may\x20create\x20or\x20change\x20business\x20data\x20or\x20local\x20configuration.';}function a316_0x2132(_0x4a27b6,_0x13fb38){_0x4a27b6=_0x4a27b6-0xf0;const _0x2b4506=a316_0x2b45();let _0x213222=_0x2b4506[_0x4a27b6];return _0x213222;}function normalizeText(_0x1e2d07,_0x4daf4e){const _0x34e701=a316_0x2132;if(typeof _0x1e2d07!==_0x34e701(0xf7))return'';return _0x1e2d07[_0x34e701(0xff)](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x34e701(0xff)](/\s+/g,'\x20')['trim']()[_0x34e701(0xf8)](0x0,_0x4daf4e);}