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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.js +1 -1
  4. package/lib/auth/auth-server-ui.js +1 -1
  5. package/lib/auth/auth-server.js +1 -1
  6. package/lib/auth/constant.js +1 -1
  7. package/lib/auth/get-cookie.js +1 -1
  8. package/lib/auth/get-session-user.js +1 -1
  9. package/lib/auth/is-session-valid.js +1 -1
  10. package/lib/auth/login-success-html.js +1 -1
  11. package/lib/auth/logout.js +1 -1
  12. package/lib/cli-flags.js +1 -1
  13. package/lib/cli.js +1 -1
  14. package/lib/commands/api/generate.js +1 -1
  15. package/lib/commands/api/index.js +1 -1
  16. package/lib/commands/api/list.js +1 -1
  17. package/lib/commands/api/pull.js +1 -1
  18. package/lib/commands/api/shared.js +1 -1
  19. package/lib/commands/app/add.js +1 -1
  20. package/lib/commands/app/index.js +1 -1
  21. package/lib/commands/app/list.js +1 -1
  22. package/lib/commands/app/remote-directory.js +1 -1
  23. package/lib/commands/app/remove.js +1 -1
  24. package/lib/commands/app/shared.js +1 -1
  25. package/lib/commands/app-config/delete.js +1 -1
  26. package/lib/commands/app-config/get.js +1 -1
  27. package/lib/commands/app-config/index.js +1 -1
  28. package/lib/commands/app-config/list.js +1 -1
  29. package/lib/commands/app-config/set.js +1 -1
  30. package/lib/commands/app-config/shared.js +1 -1
  31. package/lib/commands/auth/index.js +1 -1
  32. package/lib/commands/bff/create.js +1 -1
  33. package/lib/commands/bff/delete.js +1 -1
  34. package/lib/commands/bff/detail.js +1 -1
  35. package/lib/commands/bff/index.js +1 -1
  36. package/lib/commands/bff/list.js +1 -1
  37. package/lib/commands/bff/pull.js +1 -1
  38. package/lib/commands/bff/push.js +1 -1
  39. package/lib/commands/bff/status.js +1 -1
  40. package/lib/commands/cli-skill/index.js +1 -1
  41. package/lib/commands/cli-update.js +1 -1
  42. package/lib/commands/codegen/index.js +1 -1
  43. package/lib/commands/codegen/sdk.js +1 -1
  44. package/lib/commands/codegen/sql.js +1 -1
  45. package/lib/commands/common/app-registry.js +1 -1
  46. package/lib/commands/common/app-selector.js +1 -1
  47. package/lib/commands/common/async-task.js +1 -0
  48. package/lib/commands/common/dry-run.js +1 -1
  49. package/lib/commands/common/flags.js +1 -1
  50. package/lib/commands/common/local-file.js +1 -1
  51. package/lib/commands/common/validate.js +1 -1
  52. package/lib/commands/config/get.js +1 -1
  53. package/lib/commands/config/index.js +1 -1
  54. package/lib/commands/config/list.js +1 -1
  55. package/lib/commands/config/set.js +1 -1
  56. package/lib/commands/config/shared.js +1 -1
  57. package/lib/commands/data/filter.js +1 -1
  58. package/lib/commands/data/getOne.js +1 -1
  59. package/lib/commands/data/index.js +1 -1
  60. package/lib/commands/data/shared.js +1 -1
  61. package/lib/commands/dataset/business-group-update.js +1 -1
  62. package/lib/commands/dataset/capability.js +1 -1
  63. package/lib/commands/dataset/delete.js +1 -1
  64. package/lib/commands/dataset/detail.js +1 -1
  65. package/lib/commands/dataset/extend-update.js +1 -1
  66. package/lib/commands/dataset/field-update.js +1 -1
  67. package/lib/commands/dataset/generate.js +1 -1
  68. package/lib/commands/dataset/index.js +1 -1
  69. package/lib/commands/dataset/list.js +1 -1
  70. package/lib/commands/dataset/operations.js +1 -1
  71. package/lib/commands/dataset/relation-audit.js +1 -1
  72. package/lib/commands/dataset/relation-create.js +1 -1
  73. package/lib/commands/dataset/relation-delete.js +1 -1
  74. package/lib/commands/dataset/relation-shared.js +1 -1
  75. package/lib/commands/dataset/relation-update.js +1 -1
  76. package/lib/commands/dataset/relations.js +1 -1
  77. package/lib/commands/dataset/rename.js +1 -1
  78. package/lib/commands/dataset/restore.js +1 -1
  79. package/lib/commands/db/analysis-batching.js +1 -1
  80. package/lib/commands/db/analyze-batch-plan.js +1 -1
  81. package/lib/commands/db/analyze-cancel.js +1 -1
  82. package/lib/commands/db/analyze-start.js +1 -1
  83. package/lib/commands/db/analyze-status.js +1 -1
  84. package/lib/commands/db/create.js +1 -1
  85. package/lib/commands/db/delete.js +1 -1
  86. package/lib/commands/db/detail.js +1 -1
  87. package/lib/commands/db/diff.js +1 -1
  88. package/lib/commands/db/index.js +1 -1
  89. package/lib/commands/db/list.js +1 -1
  90. package/lib/commands/db/shared.js +1 -1
  91. package/lib/commands/db/tables.js +1 -1
  92. package/lib/commands/db/test.js +1 -1
  93. package/lib/commands/db/update.js +1 -1
  94. package/lib/commands/doctor.js +1 -1
  95. package/lib/commands/file/index.js +1 -1
  96. package/lib/commands/init/index.js +1 -1
  97. package/lib/commands/issue/index.js +1 -1
  98. package/lib/commands/issue/nudge.js +1 -1
  99. package/lib/commands/issue/report.js +1 -1
  100. package/lib/commands/issue/shared.js +1 -1
  101. package/lib/commands/logs/index.js +1 -1
  102. package/lib/commands/menu/delete.js +1 -0
  103. package/lib/commands/menu/group-create.js +1 -0
  104. package/lib/commands/menu/group-update.js +1 -0
  105. package/lib/commands/menu/index.js +1 -1
  106. package/lib/commands/menu/list.js +1 -1
  107. package/lib/commands/menu/regroup-start.js +1 -0
  108. package/lib/commands/menu/shared/compare-table.js +1 -1
  109. package/lib/commands/menu/shared/delete-plan.js +1 -0
  110. package/lib/commands/menu/shared/facts.js +1 -0
  111. package/lib/commands/menu/shared/index.js +1 -1
  112. package/lib/commands/menu/shared/inquirer.js +1 -1
  113. package/lib/commands/menu/shared/local-pages.js +1 -1
  114. package/lib/commands/menu/shared/logic.js +1 -1
  115. package/lib/commands/menu/shared/mutations.js +1 -0
  116. package/lib/commands/menu/shared/service.js +1 -1
  117. package/lib/commands/menu/shared/sync-core.js +1 -1
  118. package/lib/commands/menu/shared/update-core.js +1 -1
  119. package/lib/commands/menu/shared/valid-url.js +1 -1
  120. package/lib/commands/menu/sync.js +1 -1
  121. package/lib/commands/menu/update.js +1 -1
  122. package/lib/commands/notification/config-list.js +1 -1
  123. package/lib/commands/notification/index.js +1 -1
  124. package/lib/commands/page/generate-start.js +1 -1
  125. package/lib/commands/page/generate-status.js +1 -1
  126. package/lib/commands/page/index.js +1 -1
  127. package/lib/commands/page/pull.js +1 -1
  128. package/lib/commands/page/push.js +1 -1
  129. package/lib/commands/page/relation-audit.js +1 -1
  130. package/lib/commands/page/shared.js +1 -1
  131. package/lib/commands/page/standard-page-status.js +1 -1
  132. package/lib/commands/page/sync.js +1 -1
  133. package/lib/commands/permit/index.js +1 -1
  134. package/lib/commands/permit/page-get.js +1 -1
  135. package/lib/commands/permit/page-set.js +1 -1
  136. package/lib/commands/permit/role-apis-set.js +1 -1
  137. package/lib/commands/permit/role-menus-set.js +1 -1
  138. package/lib/commands/permit/role-menus.js +1 -1
  139. package/lib/commands/permit/shared.js +1 -1
  140. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  141. package/lib/commands/project/create/format-elapsed.js +1 -1
  142. package/lib/commands/project/create/main.js +1 -1
  143. package/lib/commands/project/create/non-interactive.js +1 -1
  144. package/lib/commands/project/create/project-template-path.js +1 -1
  145. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  146. package/lib/commands/project/create/use-format-code.js +1 -1
  147. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  148. package/lib/commands/project/index.js +1 -1
  149. package/lib/commands/project/init.js +1 -1
  150. package/lib/commands/project/upgrade.js +1 -1
  151. package/lib/commands/registry.js +1 -1
  152. package/lib/commands/role/create.js +1 -1
  153. package/lib/commands/role/delete.js +1 -1
  154. package/lib/commands/role/detail.js +1 -1
  155. package/lib/commands/role/index.js +1 -1
  156. package/lib/commands/role/list.js +1 -1
  157. package/lib/commands/role/shared.js +1 -1
  158. package/lib/commands/role/update.js +1 -1
  159. package/lib/commands/role/user-add.js +1 -1
  160. package/lib/commands/role/user-remove.js +1 -1
  161. package/lib/commands/role/user-resolve.js +1 -1
  162. package/lib/commands/run/index.js +1 -1
  163. package/lib/commands/schema.js +1 -1
  164. package/lib/commands/sql/create.js +1 -1
  165. package/lib/commands/sql/delete.js +1 -1
  166. package/lib/commands/sql/detail.js +1 -1
  167. package/lib/commands/sql/exec.js +1 -1
  168. package/lib/commands/sql/index.js +1 -1
  169. package/lib/commands/sql/list.js +1 -1
  170. package/lib/commands/sql/pull.js +1 -1
  171. package/lib/commands/sql/push.js +1 -1
  172. package/lib/commands/sql/save.js +1 -1
  173. package/lib/commands/sql/shared.js +1 -1
  174. package/lib/commands/sql/status.js +1 -1
  175. package/lib/commands/sql/validate.js +1 -1
  176. package/lib/commands/task/index.js +1 -0
  177. package/lib/commands/task/status.js +1 -0
  178. package/lib/commands/workspace/add.js +1 -1
  179. package/lib/commands/workspace/index.js +1 -1
  180. package/lib/commands/workspace/remove.js +1 -1
  181. package/lib/config/schema.js +1 -1
  182. package/lib/constant/cdn.js +1 -1
  183. package/lib/constant/cli.js +1 -1
  184. package/lib/constant/defaults.js +1 -1
  185. package/lib/constant/domain.js +1 -1
  186. package/lib/constant/env.js +1 -1
  187. package/lib/constant/output.js +1 -1
  188. package/lib/constant/paths.js +1 -1
  189. package/lib/constant/risk.js +1 -1
  190. package/lib/context/app-resolver.js +1 -1
  191. package/lib/context/auth-resolver.js +1 -1
  192. package/lib/context/config-loader.js +1 -1
  193. package/lib/context.js +1 -1
  194. package/lib/core/alias-resolver.js +1 -1
  195. package/lib/core/api-client.js +1 -1
  196. package/lib/core/bff/config.js +1 -1
  197. package/lib/core/bff/file-system.js +1 -1
  198. package/lib/core/bff/hash.js +1 -1
  199. package/lib/core/bff/lock.js +1 -1
  200. package/lib/core/bff/utils.js +1 -1
  201. package/lib/core/db-resolver.js +1 -1
  202. package/lib/core/page/file-system.js +1 -1
  203. package/lib/core/page/hash.js +1 -1
  204. package/lib/core/page/lock.js +1 -1
  205. package/lib/core/sql-index-auditor.js +1 -0
  206. package/lib/core/sql-sync/config.js +1 -1
  207. package/lib/core/sql-sync/file-system.js +1 -1
  208. package/lib/core/sql-sync/hash.js +1 -1
  209. package/lib/core/sql-sync/lock.js +1 -1
  210. package/lib/core/sql-sync/utils.js +1 -1
  211. package/lib/core/sql-validator.js +1 -1
  212. package/lib/errors.js +1 -1
  213. package/lib/framework/build-all-flags.js +1 -1
  214. package/lib/framework/error-output.js +1 -0
  215. package/lib/framework/explicit-yes.js +1 -0
  216. package/lib/framework/flags.js +1 -1
  217. package/lib/framework/help.js +1 -1
  218. package/lib/framework/index.js +1 -1
  219. package/lib/framework/output.js +1 -1
  220. package/lib/framework/response.js +1 -1
  221. package/lib/framework/runner-alias.js +1 -1
  222. package/lib/framework/runner.js +1 -1
  223. package/lib/framework/schema-export.js +1 -1
  224. package/lib/framework/types.js +1 -1
  225. package/lib/generated/build-info.js +1 -1
  226. package/lib/help.js +1 -1
  227. package/lib/skills/main.js +1 -1
  228. package/lib/skills/npx-skills-add.js +1 -1
  229. package/lib/telemetry/cli-command-trace.js +1 -1
  230. package/lib/telemetry/cli-help-trace.js +1 -1
  231. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  232. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  233. package/lib/telemetry/send-cli-trace-log.js +1 -1
  234. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  235. package/lib/utils/ai_config.js +1 -1
  236. package/lib/utils/apply-jq-filter.js +1 -1
  237. package/lib/utils/cdn-config.js +1 -1
  238. package/lib/utils/check-sdk-version.js +1 -1
  239. package/lib/utils/cli-version-check.js +1 -1
  240. package/lib/utils/cli-version-policy.js +1 -1
  241. package/lib/utils/config.js +1 -1
  242. package/lib/utils/copy-directory.js +1 -1
  243. package/lib/utils/entity-with-id.js +1 -1
  244. package/lib/utils/file-utils.js +1 -1
  245. package/lib/utils/guides-cdn.js +1 -1
  246. package/lib/utils/http-client.js +1 -1
  247. package/lib/utils/is-non-interactive.js +1 -1
  248. package/lib/utils/logger.js +1 -1
  249. package/lib/utils/params.js +1 -1
  250. package/lib/utils/platform.js +1 -1
  251. package/lib/utils/rules-cdn.js +1 -1
  252. package/lib/utils/sleep.js +1 -1
  253. package/lib/utils/template-replacer.js +1 -1
  254. package/lib/utils/update-notice.js +1 -1
  255. package/lib/utils/version.js +1 -1
  256. package/lib/utils/with-active-cookie.js +1 -1
  257. package/lib/utils/write-cli-side-channel.js +1 -1
  258. package/package.json +1 -1
@@ -1 +1 @@
1
- const a193_0xd92b3a=a193_0x5b84;(function(_0x64d0a6,_0x6c2c80){const _0x4ff9df=a193_0x5b84,_0x5039b1=_0x64d0a6();while(!![]){try{const _0xe617aa=-parseInt(_0x4ff9df(0x16d))/0x1*(-parseInt(_0x4ff9df(0x16c))/0x2)+-parseInt(_0x4ff9df(0x169))/0x3*(parseInt(_0x4ff9df(0x167))/0x4)+parseInt(_0x4ff9df(0x164))/0x5*(parseInt(_0x4ff9df(0x166))/0x6)+parseInt(_0x4ff9df(0x16f))/0x7*(-parseInt(_0x4ff9df(0x173))/0x8)+parseInt(_0x4ff9df(0x168))/0x9*(parseInt(_0x4ff9df(0x16a))/0xa)+parseInt(_0x4ff9df(0x175))/0xb+-parseInt(_0x4ff9df(0x16e))/0xc*(-parseInt(_0x4ff9df(0x174))/0xd);if(_0xe617aa===_0x6c2c80)break;else _0x5039b1['push'](_0x5039b1['shift']());}catch(_0x2f31db){_0x5039b1['push'](_0x5039b1['shift']());}}}(a193_0x355e,0x27537));function a193_0x5b84(_0x339f2b,_0x1ebf95){_0x339f2b=_0x339f2b-0x164;const _0x355e01=a193_0x355e();let _0x5b84a3=_0x355e01[_0x339f2b];return _0x5b84a3;}import{constants}from'node:fs';import{access,mkdir}from'node:fs/promises';import{dirname,join,resolve}from'node:path';export function loadPageProjectConfig(_0x2f822f,_0x463c52=process[a193_0xd92b3a(0x16b)]()){const _0x30eb64=a193_0xd92b3a,_0x47ea0d=resolve(_0x463c52),_0x53c844=join(_0x47ea0d,'.rabetbase','page');return{'projectRoot':_0x47ea0d,'pagesBaseDir':_0x53c844,'appPagesDir':join(_0x53c844,_0x2f822f),'lockFilePath':join(_0x47ea0d,'.rabetbase',_0x30eb64(0x172))};}export function buildPageFileName(_0x4753c4,_0x21bd8a){const _0x133f05=a193_0xd92b3a;return _0x4753c4+'-'+String(_0x21bd8a)[_0x133f05(0x171)]()+_0x133f05(0x170);}export function resolvePageFilePath(_0x2579e9,_0x1be639,_0x680d4d){const _0x218f2b=a193_0xd92b3a;return join(_0x2579e9[_0x218f2b(0x165)],buildPageFileName(_0x1be639,_0x680d4d));}function a193_0x355e(){const _0x2bdac6=['page.lock.json','8AkHXMo','4790006NBsZxK','1372657rLdoYa','145rfcZCT','appPagesDir','19878zuUEmF','60zwctcE','639KGXyfA','38022HFtVEW','1040MHetpr','cwd','1202wTftnm','46VzwIHO','12CZYQUV','1912169iJKoYQ','.json','toUpperCase'];a193_0x355e=function(){return _0x2bdac6;};return a193_0x355e();}export async function ensureParentDirectory(_0x344d39){await mkdir(dirname(_0x344d39),{'recursive':!![]});}export async function fileExists(_0xb94f3e){try{return await access(_0xb94f3e,constants['F_OK']),!![];}catch{return![];}}
1
+ (function(_0x17b23a,_0x551dd0){const _0x2e4cbb=a203_0x35e6,_0x10b109=_0x17b23a();while(!![]){try{const _0x3a6099=parseInt(_0x2e4cbb(0x18d))/0x1+parseInt(_0x2e4cbb(0x18c))/0x2+-parseInt(_0x2e4cbb(0x189))/0x3*(-parseInt(_0x2e4cbb(0x181))/0x4)+parseInt(_0x2e4cbb(0x180))/0x5+parseInt(_0x2e4cbb(0x18b))/0x6*(-parseInt(_0x2e4cbb(0x188))/0x7)+parseInt(_0x2e4cbb(0x185))/0x8*(parseInt(_0x2e4cbb(0x184))/0x9)+-parseInt(_0x2e4cbb(0x182))/0xa;if(_0x3a6099===_0x551dd0)break;else _0x10b109['push'](_0x10b109['shift']());}catch(_0x28fc4c){_0x10b109['push'](_0x10b109['shift']());}}}(a203_0x1476,0x58369));import{constants}from'node:fs';function a203_0x35e6(_0x4434fe,_0x4d360c){_0x4434fe=_0x4434fe-0x180;const _0x1476a9=a203_0x1476();let _0x35e62c=_0x1476a9[_0x4434fe];return _0x35e62c;}import{access,mkdir}from'node:fs/promises';import{dirname,join,resolve}from'node:path';export function loadPageProjectConfig(_0x53548b,_0x189141=process['cwd']()){const _0x1e6786=a203_0x35e6,_0x33674e=resolve(_0x189141),_0x192411=join(_0x33674e,'.rabetbase','page');return{'projectRoot':_0x33674e,'pagesBaseDir':_0x192411,'appPagesDir':join(_0x192411,_0x53548b),'lockFilePath':join(_0x33674e,_0x1e6786(0x183),_0x1e6786(0x186))};}export function buildPageFileName(_0x410e59,_0x231b79){const _0x3f90d5=a203_0x35e6;return _0x410e59+'-'+String(_0x231b79)['toUpperCase']()+_0x3f90d5(0x18a);}function a203_0x1476(){const _0xb5d390=['489181ngLjpc','3177940aqqmUA','474184gMrHJY','16384800LtxvPG','.rabetbase','460953fcMRdP','80wUMIXj','page.lock.json','appPagesDir','3474163siPmBs','9cngCnZ','.json','6fpjNPX','1007066VMGKWK'];a203_0x1476=function(){return _0xb5d390;};return a203_0x1476();}export function resolvePageFilePath(_0x1f969a,_0x5c44f7,_0x5e975e){const _0x3ea6cd=a203_0x35e6;return join(_0x1f969a[_0x3ea6cd(0x187)],buildPageFileName(_0x5c44f7,_0x5e975e));}export async function ensureParentDirectory(_0x28c556){await mkdir(dirname(_0x28c556),{'recursive':!![]});}export async function fileExists(_0x9f62f5){try{return await access(_0x9f62f5,constants['F_OK']),!![];}catch{return![];}}
@@ -1 +1 @@
1
- (function(_0x126eab,_0x556437){const _0x2d9856=a194_0x2c05,_0x332561=_0x126eab();while(!![]){try{const _0xfac8c=-parseInt(_0x2d9856(0x11e))/0x1*(-parseInt(_0x2d9856(0x11a))/0x2)+-parseInt(_0x2d9856(0x122))/0x3*(-parseInt(_0x2d9856(0x11d))/0x4)+-parseInt(_0x2d9856(0x121))/0x5*(-parseInt(_0x2d9856(0x11f))/0x6)+-parseInt(_0x2d9856(0x115))/0x7*(parseInt(_0x2d9856(0x125))/0x8)+-parseInt(_0x2d9856(0x11b))/0x9+-parseInt(_0x2d9856(0x123))/0xa+-parseInt(_0x2d9856(0x120))/0xb*(-parseInt(_0x2d9856(0x11c))/0xc);if(_0xfac8c===_0x556437)break;else _0x332561['push'](_0x332561['shift']());}catch(_0x4d293f){_0x332561['push'](_0x332561['shift']());}}}(a194_0x2a0d,0x2875c));function a194_0x2c05(_0x2fa76a,_0x367b38){_0x2fa76a=_0x2fa76a-0x115;const _0x2a0d8c=a194_0x2a0d();let _0x2c0542=_0x2a0d8c[_0x2fa76a];return _0x2c0542;}import a194_0x2583dd from'node:crypto';import{readFile}from'node:fs/promises';function a194_0x2a0d(){const _0x366bb3=['6879otlFIy','3192680nabMuD','parse','178792jnvxXB','77xtntyz','stringify','createHash','utf8','md5','2GvOwHi','2925846GkgUHy','12hXecHq','52qCMyVa','131788RPHcAA','33654QWddAZ','7554745QjnvtA','185xICySz'];a194_0x2a0d=function(){return _0x366bb3;};return a194_0x2a0d();}export function serializePageSchemaForFile(_0x2671e2){const _0x3ccbdc=a194_0x2c05;return JSON[_0x3ccbdc(0x116)](JSON[_0x3ccbdc(0x124)](_0x2671e2),null,0x2)+'\x0a';}export function computePageContentHash(_0x154c69){const _0x43bce0=a194_0x2c05;return a194_0x2583dd[_0x43bce0(0x117)](_0x43bce0(0x119))['update'](_0x154c69)['digest']('hex');}export function computeSerializedSchemaHash(_0x3da320){return computePageContentHash(serializePageSchemaForFile(_0x3da320));}export async function computePageFileHash(_0x5d6f21){const _0x179ca3=a194_0x2c05,_0x4cffd5=await readFile(_0x5d6f21,_0x179ca3(0x118));return computePageContentHash(_0x4cffd5);}
1
+ (function(_0x4f06d4,_0x5dade4){const _0x383d3c=a204_0xf2cb,_0x276f95=_0x4f06d4();while(!![]){try{const _0x37c8a8=parseInt(_0x383d3c(0x13f))/0x1+-parseInt(_0x383d3c(0x14c))/0x2*(parseInt(_0x383d3c(0x141))/0x3)+-parseInt(_0x383d3c(0x146))/0x4+parseInt(_0x383d3c(0x14d))/0x5*(-parseInt(_0x383d3c(0x13e))/0x6)+-parseInt(_0x383d3c(0x140))/0x7*(parseInt(_0x383d3c(0x147))/0x8)+parseInt(_0x383d3c(0x149))/0x9*(-parseInt(_0x383d3c(0x148))/0xa)+-parseInt(_0x383d3c(0x14b))/0xb*(-parseInt(_0x383d3c(0x145))/0xc);if(_0x37c8a8===_0x5dade4)break;else _0x276f95['push'](_0x276f95['shift']());}catch(_0x49e131){_0x276f95['push'](_0x276f95['shift']());}}}(a204_0x2bd1,0x64d21));import a204_0x2d9d9e from'node:crypto';import{readFile}from'node:fs/promises';function a204_0x2bd1(){const _0x3aca9c=['createHash','11lOyBrV','1166812bIhWWE','15btQMpF','stringify','101922DzyKbZ','325688tquuXH','2394595QvrEDt','3PRyfyL','update','parse','md5','16304304gJcNZa','296084zoShjE','8pbYDrH','100430zlPbAO','198DyqoaE'];a204_0x2bd1=function(){return _0x3aca9c;};return a204_0x2bd1();}function a204_0xf2cb(_0x573fed,_0xc850c5){_0x573fed=_0x573fed-0x13e;const _0x2bd14f=a204_0x2bd1();let _0xf2cb58=_0x2bd14f[_0x573fed];return _0xf2cb58;}export function serializePageSchemaForFile(_0x5e99dc){const _0x5a5f68=a204_0xf2cb;return JSON[_0x5a5f68(0x14e)](JSON[_0x5a5f68(0x143)](_0x5e99dc),null,0x2)+'\x0a';}export function computePageContentHash(_0x4e27c1){const _0x16d8e1=a204_0xf2cb;return a204_0x2d9d9e[_0x16d8e1(0x14a)](_0x16d8e1(0x144))[_0x16d8e1(0x142)](_0x4e27c1)['digest']('hex');}export function computeSerializedSchemaHash(_0x4cceca){return computePageContentHash(serializePageSchemaForFile(_0x4cceca));}export async function computePageFileHash(_0x24cc0a){const _0x589a4e=await readFile(_0x24cc0a,'utf8');return computePageContentHash(_0x589a4e);}
@@ -1 +1 @@
1
- function a195_0x4dc5(_0x228fbf,_0x2f38f7){_0x228fbf=_0x228fbf-0x11a;const _0x958fb5=a195_0x958f();let _0x4dc527=_0x958fb5[_0x228fbf];return _0x4dc527;}(function(_0x5dfa90,_0xcfa22a){const _0x46cf80=a195_0x4dc5,_0x9feba5=_0x5dfa90();while(!![]){try{const _0x3c4380=parseInt(_0x46cf80(0x123))/0x1+parseInt(_0x46cf80(0x127))/0x2+-parseInt(_0x46cf80(0x125))/0x3+-parseInt(_0x46cf80(0x11d))/0x4+parseInt(_0x46cf80(0x12a))/0x5*(parseInt(_0x46cf80(0x11f))/0x6)+-parseInt(_0x46cf80(0x121))/0x7*(parseInt(_0x46cf80(0x129))/0x8)+parseInt(_0x46cf80(0x124))/0x9;if(_0x3c4380===_0xcfa22a)break;else _0x9feba5['push'](_0x9feba5['shift']());}catch(_0x21dfc4){_0x9feba5['push'](_0x9feba5['shift']());}}}(a195_0x958f,0x9cdae));import{mkdir,readFile,writeFile}from'node:fs/promises';import{dirname}from'node:path';export function createEmptyPageLock(){return{'apps':{}};}export function ensurePageLockScope(_0x48d5cc,_0x5070b1){const _0x54ae7d=a195_0x4dc5,_0x3a77cf={'apps':_0x48d5cc[_0x54ae7d(0x11a)]&&typeof _0x48d5cc[_0x54ae7d(0x11a)]===_0x54ae7d(0x126)?_0x48d5cc['apps']:{}};let _0x459657=_0x3a77cf[_0x54ae7d(0x11a)][_0x5070b1];if(!_0x459657)return _0x459657={'lastSync':'','pages':{}},_0x3a77cf[_0x54ae7d(0x11a)][_0x5070b1]=_0x459657,{'lockData':_0x3a77cf,'appLock':_0x459657};return!_0x459657[_0x54ae7d(0x122)]&&(_0x459657[_0x54ae7d(0x122)]=''),(!_0x459657[_0x54ae7d(0x11b)]||typeof _0x459657['pages']!=='object')&&(_0x459657[_0x54ae7d(0x11b)]={}),{'lockData':_0x3a77cf,'appLock':_0x459657};}export async function readPageLockFile(_0x1a4928){const _0x566cbf=a195_0x4dc5;try{const _0x54f31c=await readFile(_0x1a4928,_0x566cbf(0x120)),_0x20c29f=JSON['parse'](_0x54f31c);return{'apps':_0x20c29f[_0x566cbf(0x11a)]&&typeof _0x20c29f[_0x566cbf(0x11a)]===_0x566cbf(0x126)?_0x20c29f[_0x566cbf(0x11a)]:{}};}catch(_0x112ad3){if(_0x112ad3[_0x566cbf(0x128)]===_0x566cbf(0x11c))return null;throw new Error('Failed\x20to\x20read\x20page\x20lock\x20file:\x20'+String(_0x112ad3));}}export async function writePageLockFile(_0x1a465b,_0x95e764){const _0x1ae2f1=a195_0x4dc5;await mkdir(dirname(_0x1a465b),{'recursive':!![]}),await writeFile(_0x1a465b,JSON[_0x1ae2f1(0x11e)](_0x95e764,null,0x2),_0x1ae2f1(0x120));}function a195_0x958f(){const _0x2afca5=['531678lsWJtJ','utf8','4369939SkZZSq','lastSync','50406OZnslg','28601721PYOQPV','3657045eIUGdC','object','829432FBoVHV','code','8WOGEBz','5vlYXvh','apps','pages','ENOENT','4983736aOLBUr','stringify'];a195_0x958f=function(){return _0x2afca5;};return a195_0x958f();}
1
+ function a205_0x241f(){const _0x283203=['utf8','19242XMGydS','272186oaYXmE','2512FJKHzV','pages','ENOENT','parse','1976613KMVOAP','2230YmgQXH','2615768OZpczW','Failed\x20to\x20read\x20page\x20lock\x20file:\x20','4654485cJrLDX','stringify','object','apps','lastSync','2239802qDpyBF','1995VIkdJK'];a205_0x241f=function(){return _0x283203;};return a205_0x241f();}(function(_0x43e28e,_0x3cbbe9){const _0x4ad711=a205_0x2708,_0x16e02f=_0x43e28e();while(!![]){try{const _0x3b2f0c=parseInt(_0x4ad711(0x155))/0x1+parseInt(_0x4ad711(0x151))/0x2+parseInt(_0x4ad711(0x15a))/0x3+parseInt(_0x4ad711(0x156))/0x4*(parseInt(_0x4ad711(0x15b))/0x5)+-parseInt(_0x4ad711(0x154))/0x6*(parseInt(_0x4ad711(0x152))/0x7)+-parseInt(_0x4ad711(0x15c))/0x8+-parseInt(_0x4ad711(0x14c))/0x9;if(_0x3b2f0c===_0x3cbbe9)break;else _0x16e02f['push'](_0x16e02f['shift']());}catch(_0x593b05){_0x16e02f['push'](_0x16e02f['shift']());}}}(a205_0x241f,0x8bdf3));import{mkdir,readFile,writeFile}from'node:fs/promises';import{dirname}from'node:path';export function createEmptyPageLock(){return{'apps':{}};}export function ensurePageLockScope(_0x362b20,_0x23512d){const _0x3aedfd=a205_0x2708,_0x1e522e={'apps':_0x362b20[_0x3aedfd(0x14f)]&&typeof _0x362b20['apps']===_0x3aedfd(0x14e)?_0x362b20[_0x3aedfd(0x14f)]:{}};let _0x36b1c2=_0x1e522e[_0x3aedfd(0x14f)][_0x23512d];if(!_0x36b1c2)return _0x36b1c2={'lastSync':'','pages':{}},_0x1e522e['apps'][_0x23512d]=_0x36b1c2,{'lockData':_0x1e522e,'appLock':_0x36b1c2};return!_0x36b1c2[_0x3aedfd(0x150)]&&(_0x36b1c2[_0x3aedfd(0x150)]=''),(!_0x36b1c2['pages']||typeof _0x36b1c2[_0x3aedfd(0x157)]!=='object')&&(_0x36b1c2[_0x3aedfd(0x157)]={}),{'lockData':_0x1e522e,'appLock':_0x36b1c2};}export async function readPageLockFile(_0x50b2ca){const _0x1c8d2a=a205_0x2708;try{const _0x4c7580=await readFile(_0x50b2ca,'utf8'),_0x42d2b5=JSON[_0x1c8d2a(0x159)](_0x4c7580);return{'apps':_0x42d2b5[_0x1c8d2a(0x14f)]&&typeof _0x42d2b5[_0x1c8d2a(0x14f)]==='object'?_0x42d2b5[_0x1c8d2a(0x14f)]:{}};}catch(_0x2539df){if(_0x2539df['code']===_0x1c8d2a(0x158))return null;throw new Error(_0x1c8d2a(0x14b)+String(_0x2539df));}}function a205_0x2708(_0x358aee,_0x5b6c16){_0x358aee=_0x358aee-0x14b;const _0x241fd5=a205_0x241f();let _0x27086e=_0x241fd5[_0x358aee];return _0x27086e;}export async function writePageLockFile(_0x188f0e,_0x3bdc62){const _0x477256=a205_0x2708;await mkdir(dirname(_0x188f0e),{'recursive':!![]}),await writeFile(_0x188f0e,JSON[_0x477256(0x14d)](_0x3bdc62,null,0x2),_0x477256(0x153));}
@@ -0,0 +1 @@
1
+ (function(_0x36609c,_0x22795f){const _0x59b861=a207_0x5760,_0x440617=_0x36609c();while(!![]){try{const _0x175b68=-parseInt(_0x59b861(0x170))/0x1*(-parseInt(_0x59b861(0x179))/0x2)+parseInt(_0x59b861(0x169))/0x3+-parseInt(_0x59b861(0x192))/0x4*(-parseInt(_0x59b861(0x168))/0x5)+-parseInt(_0x59b861(0x196))/0x6+-parseInt(_0x59b861(0x19e))/0x7*(parseInt(_0x59b861(0x181))/0x8)+-parseInt(_0x59b861(0x18a))/0x9+parseInt(_0x59b861(0x171))/0xa*(parseInt(_0x59b861(0x194))/0xb);if(_0x175b68===_0x22795f)break;else _0x440617['push'](_0x440617['shift']());}catch(_0xe5345f){_0x440617['push'](_0x440617['shift']());}}}(a207_0x1940,0x2b061));export function auditSqlJoinIndexes(_0x5f305f,_0x53a160){const _0x3ec05c=a207_0x5760,_0x4e6160=[],_0x298c94=extractJoinFacts(_0x5f305f)['map'](_0x3aa9aa=>{const _0x40c341=a207_0x5760;if(_0x3aa9aa[_0x40c341(0x167)]||_0x3aa9aa[_0x40c341(0x175)]['length']===0x0)return _0x4e6160[_0x40c341(0x18e)]({'code':_0x40c341(0x18d),'table':_0x3aa9aa[_0x40c341(0x19d)],'alias':_0x3aa9aa[_0x40c341(0x177)],'columns':_0x3aa9aa['columns'],'reason':_0x3aa9aa['unsupportedReason']??_0x40c341(0x18f)}),{'table':_0x3aa9aa[_0x40c341(0x19d)],'alias':_0x3aa9aa[_0x40c341(0x177)],'columns':_0x3aa9aa[_0x40c341(0x175)],'status':'unavailable'};const _0x4646de=resolveTableMetadata(_0x53a160,_0x3aa9aa[_0x40c341(0x19d)]),_0x2e4a9b=(_0x4646de?.[_0x40c341(0x16d)]??[])[_0x40c341(0x17b)](_0x177f3b=>({'index':_0x177f3b,'matchedPrefix':findEqualityPrefix(_0x177f3b[_0x40c341(0x175)],_0x3aa9aa[_0x40c341(0x175)])}))[_0x40c341(0x17e)](_0x2d99e1=>_0x2d99e1[_0x40c341(0x16b)][_0x40c341(0x191)]>0x0),_0x5ada15=_0x2e4a9b[_0x40c341(0x190)]((_0xd264f7,_0x504b81)=>!_0xd264f7||_0x504b81[_0x40c341(0x16b)][_0x40c341(0x191)]>_0xd264f7['matchedPrefix'][_0x40c341(0x191)]?_0x504b81:_0xd264f7,_0x2e4a9b[0x0]);if(_0x5ada15)return{'table':_0x3aa9aa[_0x40c341(0x19d)],'alias':_0x3aa9aa['alias'],'columns':_0x3aa9aa[_0x40c341(0x175)],'status':_0x40c341(0x19b),'matchedIndex':{..._0x5ada15['index'],'matchedPrefix':_0x5ada15[_0x40c341(0x16b)]}};const _0x4294c0=_0x4646de?.['indexes'][_0x40c341(0x17e)](_0x25688d=>_0x25688d[_0x40c341(0x175)][_0x40c341(0x16e)](_0x504e32=>_0x3aa9aa[_0x40c341(0x175)][_0x40c341(0x16e)](_0x275ed8=>columnNamesMatch(_0x504e32,_0x275ed8))))??[];if(_0x4294c0[_0x40c341(0x191)]>0x0)return _0x4e6160[_0x40c341(0x18e)]({'code':_0x40c341(0x166),'table':_0x3aa9aa[_0x40c341(0x19d)],'alias':_0x3aa9aa['alias'],'columns':_0x3aa9aa['columns'],'reason':_0x40c341(0x18b)}),{'table':_0x3aa9aa[_0x40c341(0x19d)],'alias':_0x3aa9aa[_0x40c341(0x177)],'columns':_0x3aa9aa[_0x40c341(0x175)],'status':'warning','candidateIndexes':_0x4294c0};if(_0x4646de&&_0x4646de['metadataAvailable']!==![]&&_0x4646de[_0x40c341(0x16d)][_0x40c341(0x191)]>0x0&&_0x3aa9aa[_0x40c341(0x175)][_0x40c341(0x191)]>0x0)return _0x4e6160[_0x40c341(0x18e)]({'code':_0x40c341(0x172),'table':_0x3aa9aa[_0x40c341(0x19d)],'alias':_0x3aa9aa[_0x40c341(0x177)],'columns':_0x3aa9aa[_0x40c341(0x175)],'reason':_0x40c341(0x178)}),{'table':_0x3aa9aa[_0x40c341(0x19d)],'alias':_0x3aa9aa[_0x40c341(0x177)],'columns':_0x3aa9aa[_0x40c341(0x175)],'status':'warning'};return _0x4e6160[_0x40c341(0x18e)]({'code':_0x40c341(0x16c),'table':_0x3aa9aa[_0x40c341(0x19d)],'alias':_0x3aa9aa[_0x40c341(0x177)],'columns':_0x3aa9aa[_0x40c341(0x175)],'reason':_0x4646de?_0x40c341(0x187):_0x40c341(0x180)}),{'table':_0x3aa9aa[_0x40c341(0x19d)],'alias':_0x3aa9aa[_0x40c341(0x177)],'columns':_0x3aa9aa['columns'],'status':'unavailable'};});return{'checked':_0x298c94[_0x3ec05c(0x191)]>0x0,'joins':_0x298c94,'warnings':_0x4e6160};}function extractJoinFacts(_0x105c69){const _0x19c631=a207_0x5760,_0x9a28b4=maskNestedQueries(stripSqlNoise(_0x105c69)),_0x564028=maskQuotedIdentifiers(_0x9a28b4),_0x2c5a4f=[],_0x12bec2=new Set(),_0x5bd278=/\b(?:(INNER|LEFT|RIGHT|FULL)(?:\s+OUTER)?\s+)?JOIN\s+([`"\w$.]+)(?:\s+(?:AS\s+)?([`"\w$]+))?\s+ON\s+([\s\S]*?)(?=\s+(?:(?:(?:INNER|LEFT|RIGHT|FULL)(?:\s+OUTER)?\s+)?JOIN\b|(?:WHERE|GROUP\s+BY|ORDER\s+BY|HAVING|LIMIT|UNION)\b)|;|$)/gi;for(const _0x165b2e of _0x9a28b4['matchAll'](_0x5bd278)){const _0x461e44=_0x165b2e[_0x19c631(0x1a2)]??0x0,_0x257295=_0x165b2e[0x0]['search'](/\bJOIN\b/i),_0x336e68=_0x461e44+Math[_0x19c631(0x19f)](0x0,_0x257295);if(!/^JOIN\b/i[_0x19c631(0x195)](_0x564028[_0x19c631(0x1a1)](_0x336e68)))continue;_0x12bec2[_0x19c631(0x185)](_0x336e68);const _0x58a01f=normalizeIdentifier(_0x165b2e[0x1]||_0x19c631(0x193)),_0xb3516b=normalizeIdentifier(_0x165b2e[0x2]??''),_0x47b284=normalizeIdentifier(_0x165b2e[0x3]||_0xb3516b[_0x19c631(0x186)]('.')['at'](-0x1)||_0xb3516b),_0x39c6c7=[],_0x38610e=_0xb3516b===_0x19c631(0x16a);let _0x3e0fe1=_0x58a01f===_0x19c631(0x16f)||_0x58a01f===_0x19c631(0x176)||_0x38610e,_0x4261f9=_0x3e0fe1?_0x38610e?_0x19c631(0x188):_0x58a01f[_0x19c631(0x184)]()+_0x19c631(0x174):undefined;const _0x5bffb2=stripOuterParentheses(_0x165b2e[0x4]??'');hasTopLevelKeyword(_0x5bffb2,'OR')&&(_0x3e0fe1=!![],_0x4261f9??=_0x19c631(0x18c));for(const _0x5c6c7b of splitTopLevelAnd(_0x5bffb2)){const _0xca6f31=stripOuterParentheses(_0x5c6c7b);if(hasTopLevelKeyword(_0xca6f31,'OR')){_0x3e0fe1=!![],_0x4261f9??=_0x19c631(0x18c);continue;}const _0x395fef=splitEquality(_0xca6f31);if(!_0x395fef){containsColumnReference(_0x5c6c7b,_0x47b284)&&(_0x3e0fe1=!![]);continue;}const _0x5b0af0=parseDirectColumnReference(_0x395fef[0x0],_0x47b284),_0x840416=parseDirectColumnReference(_0x395fef[0x1],_0x47b284),_0x44cbc6=containsColumnReference(_0x395fef[0x0],_0x47b284),_0x330910=containsColumnReference(_0x395fef[0x1],_0x47b284),_0x535018=_0x5b0af0&&!_0x330910?_0x5b0af0:_0x840416&&!_0x44cbc6?_0x840416:null;if(_0x535018&&!_0x39c6c7[_0x19c631(0x19c)](_0x535018))_0x39c6c7[_0x19c631(0x18e)](_0x535018);else!_0x535018&&containsColumnReference(_0x5c6c7b,_0x47b284)&&(_0x3e0fe1=!![]);}_0x2c5a4f[_0x19c631(0x18e)]({'table':_0xb3516b,'alias':_0x47b284,'columns':_0x39c6c7,'unsupportedPredicate':_0x3e0fe1,'unsupportedReason':_0x4261f9,'position':_0x336e68});}for(const _0x5ee2c3 of _0x564028[_0x19c631(0x17f)](/\bJOIN\b/gi)){const _0x562f38=_0x5ee2c3[_0x19c631(0x1a2)]??0x0;if(_0x12bec2[_0x19c631(0x182)](_0x562f38))continue;const _0x97978b=/^\s+([`"\w$.]+)(?:\s+(?:AS\s+)?([`"\w$]+))?/['exec'](_0x9a28b4[_0x19c631(0x1a1)](_0x562f38+_0x5ee2c3[0x0]['length'])),_0x5c618e=normalizeIdentifier(_0x97978b?.[0x1]||_0x19c631(0x17d)),_0x1b9ebd=normalizeIdentifier(_0x97978b?.[0x2]||''),_0x32c35f=isSqlClauseKeyword(_0x1b9ebd)?_0x5c618e['split']('.')['at'](-0x1)||_0x5c618e:_0x1b9ebd||_0x5c618e[_0x19c631(0x186)]('.')['at'](-0x1)||_0x5c618e;_0x2c5a4f[_0x19c631(0x18e)]({'table':_0x5c618e,'alias':_0x32c35f,'columns':[],'unsupportedPredicate':!![],'unsupportedReason':'Only\x20explicit\x20table\x20JOIN\x20clauses\x20with\x20an\x20ON\x20predicate\x20are\x20supported.','position':_0x562f38});}return _0x2c5a4f['sort']((_0x1417cd,_0x507ca2)=>_0x1417cd[_0x19c631(0x1a5)]-_0x507ca2['position']);}function stripSqlNoise(_0x168d5b){const _0x33e783=a207_0x5760,_0x735940=Array['from'](_0x168d5b),_0xaf2d64=(_0x1eb731,_0x3582a8)=>{for(let _0x4516db=_0x1eb731;_0x4516db<_0x3582a8;_0x4516db+=0x1){_0x735940[_0x4516db]!=='\x0a'&&_0x735940[_0x4516db]!=='\x0d'&&(_0x735940[_0x4516db]='\x20');}};for(let _0x3ba2b5=0x0;_0x3ba2b5<_0x735940['length'];_0x3ba2b5+=0x1){const _0xdd46aa=_0x735940[_0x3ba2b5],_0x161ddf=_0x735940[_0x3ba2b5+0x1];if(_0xdd46aa==='\x27'||_0xdd46aa==='\x22'||_0xdd46aa==='`'){const _0x1b68c2=_0xdd46aa,_0x45f918=_0x3ba2b5;_0x3ba2b5+=0x1;while(_0x3ba2b5<_0x735940[_0x33e783(0x191)]){if(_0x735940[_0x3ba2b5]==='\x5c'&&_0x3ba2b5+0x1<_0x735940[_0x33e783(0x191)]){_0x3ba2b5+=0x2;continue;}if(_0x735940[_0x3ba2b5]!==_0x1b68c2){_0x3ba2b5+=0x1;continue;}if(_0x735940[_0x3ba2b5+0x1]===_0x1b68c2){_0x3ba2b5+=0x2;continue;}break;}if(_0x1b68c2==='\x27')_0xaf2d64(_0x45f918,Math['min'](_0x3ba2b5+0x1,_0x735940['length']));continue;}if(_0xdd46aa==='-'&&_0x161ddf==='-'){const _0x1b770f=_0x3ba2b5;while(_0x3ba2b5<_0x735940[_0x33e783(0x191)]&&_0x735940[_0x3ba2b5]!=='\x0a')_0x3ba2b5+=0x1;_0xaf2d64(_0x1b770f,_0x3ba2b5);continue;}if(_0xdd46aa==='/'&&_0x161ddf==='*'){const _0x5380d1=_0x3ba2b5;_0x3ba2b5+=0x2;while(_0x3ba2b5<_0x735940['length']&&!(_0x735940[_0x3ba2b5]==='*'&&_0x735940[_0x3ba2b5+0x1]==='/')){_0x3ba2b5+=0x1;}_0x3ba2b5=Math[_0x33e783(0x1a4)](_0x3ba2b5+0x1,_0x735940['length']-0x1),_0xaf2d64(_0x5380d1,_0x3ba2b5+0x1);continue;}if(_0xdd46aa==='#'&&_0x161ddf!=='{'){const _0x16d9c3=_0x3ba2b5;while(_0x3ba2b5<_0x735940[_0x33e783(0x191)]&&_0x735940[_0x3ba2b5]!=='\x0a')_0x3ba2b5+=0x1;_0xaf2d64(_0x16d9c3,_0x3ba2b5);continue;}if((_0xdd46aa==='#'||_0xdd46aa==='$')&&_0x161ddf==='{'){const _0x287577=_0x3ba2b5;_0x3ba2b5+=0x2;while(_0x3ba2b5<_0x735940[_0x33e783(0x191)]&&_0x735940[_0x3ba2b5]!=='}')_0x3ba2b5+=0x1;_0xaf2d64(_0x287577,Math[_0x33e783(0x1a4)](_0x3ba2b5+0x1,_0x735940[_0x33e783(0x191)]));}}return _0x735940['join']('');}function a207_0x5760(_0x577016,_0x52591e){_0x577016=_0x577016-0x166;const _0x194061=a207_0x1940();let _0x57609f=_0x194061[_0x577016];return _0x57609f;}function maskQuotedIdentifiers(_0x3811c0){const _0x4d251b=a207_0x5760,_0x2fbcda=Array['from'](_0x3811c0);for(let _0x9649cc=0x0;_0x9649cc<_0x2fbcda['length'];_0x9649cc+=0x1){const _0x5d4ae3=_0x2fbcda[_0x9649cc];if(_0x5d4ae3!=='\x22'&&_0x5d4ae3!=='`')continue;_0x9649cc+=0x1;while(_0x9649cc<_0x2fbcda['length']){if(_0x2fbcda[_0x9649cc]===_0x5d4ae3){if(_0x2fbcda[_0x9649cc+0x1]===_0x5d4ae3){_0x2fbcda[_0x9649cc]='\x20',_0x2fbcda[_0x9649cc+0x1]='\x20',_0x9649cc+=0x2;continue;}break;}_0x2fbcda[_0x9649cc]='\x20',_0x9649cc+=0x1;}}return _0x2fbcda[_0x4d251b(0x197)]('');}function maskNestedQueries(_0x48a425){const _0x6b0400=a207_0x5760,_0x291e2b=Array['from'](_0x48a425);for(let _0x139f83=0x0;_0x139f83<_0x291e2b[_0x6b0400(0x191)];_0x139f83+=0x1){if(_0x291e2b[_0x139f83]!=='(')continue;const _0x274d20=_0x48a425[_0x6b0400(0x1a1)](_0x139f83+0x1);if(!/^\s*(?:SELECT|WITH)\b/i['test'](_0x274d20))continue;let _0x51e739=0x1,_0x3bed7b=_0x139f83+0x1;for(;_0x3bed7b<_0x291e2b[_0x6b0400(0x191)]&&_0x51e739>0x0;_0x3bed7b+=0x1){if(_0x291e2b[_0x3bed7b]==='(')_0x51e739+=0x1;if(_0x291e2b[_0x3bed7b]===')')_0x51e739-=0x1;}if(_0x51e739!==0x0)continue;for(let _0x4870d5=_0x139f83;_0x4870d5<_0x3bed7b;_0x4870d5+=0x1){_0x291e2b[_0x4870d5]='\x20';}const _0x445fc1=_0x6b0400(0x16a);for(let _0x154125=0x0;_0x154125<_0x445fc1[_0x6b0400(0x191)]&&_0x139f83+_0x154125<_0x3bed7b;_0x154125+=0x1){_0x291e2b[_0x139f83+_0x154125]=_0x445fc1[_0x154125];}_0x139f83=_0x3bed7b-0x1;}return _0x291e2b[_0x6b0400(0x197)]('');}function splitTopLevelAnd(_0x608899){const _0x111fc0=a207_0x5760,_0x32e923=[];let _0x4ed4be=0x0,_0x508337=0x0;for(let _0x588f37=0x0;_0x588f37<_0x608899['length'];_0x588f37+=0x1){const _0x5d6f55=_0x608899[_0x588f37];if(_0x5d6f55==='(')_0x4ed4be+=0x1;if(_0x5d6f55===')')_0x4ed4be=Math[_0x111fc0(0x19f)](0x0,_0x4ed4be-0x1);_0x4ed4be===0x0&&_0x608899[_0x111fc0(0x1a1)](_0x588f37)[_0x111fc0(0x17a)](/^AND\b/i)&&(_0x588f37===0x0||/\s/[_0x111fc0(0x195)](_0x608899[_0x588f37-0x1]??''))&&(_0x32e923['push'](_0x608899[_0x111fc0(0x1a1)](_0x508337,_0x588f37)[_0x111fc0(0x19a)]()),_0x588f37+=0x2,_0x508337=_0x588f37+0x1);}const _0x1b4cbd=_0x608899[_0x111fc0(0x1a1)](_0x508337)[_0x111fc0(0x19a)]();if(_0x1b4cbd)_0x32e923[_0x111fc0(0x18e)](_0x1b4cbd);return _0x32e923;}function a207_0x1940(){const _0x4bf5c1=['JOIN_INDEX_NOT_USABLE','unsupportedPredicate','2610iDEzZy','551565TmJuvA','__sq__','matchedPrefix','INDEX_METADATA_UNAVAILABLE','indexes','some','right','36081dzJiRT','2816060KopIDr','JOIN_INDEX_MISSING','startsWith','\x20JOIN\x20direction\x20is\x20not\x20supported\x20by\x20static\x20index\x20auditing.','columns','full','alias','No\x20reported\x20index\x20contains\x20the\x20JOIN\x20access\x20columns.','2DZNMkN','match','map','tableName','unknown','filter','matchAll','No\x20dataset\x20metadata\x20matched\x20the\x20JOIN\x20table.','1061488lYgHvP','has','(?:^|[^\x5cw$])','toUpperCase','add','split','The\x20dataset\x20returned\x20no\x20distinguishable\x20index\x20metadata.','Derived-table\x20JOIN\x20targets\x20are\x20not\x20supported.','toLowerCase','773568baqxOq','Relevant\x20columns\x20do\x20not\x20form\x20a\x20complete\x20leftmost\x20index\x20prefix.','OR-connected\x20JOIN\x20predicates\x20are\x20not\x20supported.','JOIN_PREDICATE_UNSUPPORTED','push','Not\x20every\x20JOIN\x20target\x20predicate\x20could\x20be\x20audited\x20safely.','reduce','length','1544rrqQud','INNER','11AOUFVt','test','1052910flBrqM','join','inner','cross','trim','covered','includes','table','14MmCJeu','max','natural','slice','index','\x5cs*\x5c.\x5cs*[\x5cw$]+','min','position','replace'];a207_0x1940=function(){return _0x4bf5c1;};return a207_0x1940();}function hasTopLevelKeyword(_0x4ab839,_0x29ec02){const _0x12916a=a207_0x5760;let _0xef7caa=0x0;for(let _0x1362b3=0x0;_0x1362b3<_0x4ab839[_0x12916a(0x191)];_0x1362b3+=0x1){const _0x11ccde=_0x4ab839[_0x1362b3];if(_0x11ccde==='(')_0xef7caa+=0x1;if(_0x11ccde===')')_0xef7caa=Math['max'](0x0,_0xef7caa-0x1);if(_0xef7caa!==0x0)continue;const _0x2199ab=_0x4ab839[_0x12916a(0x1a1)](_0x1362b3,_0x1362b3+_0x29ec02['length']),_0x10f766=_0x4ab839[_0x1362b3-0x1]??'\x20',_0x5dd332=_0x4ab839[_0x1362b3+_0x29ec02[_0x12916a(0x191)]]??'\x20';if(_0x2199ab[_0x12916a(0x184)]()===_0x29ec02[_0x12916a(0x184)]()&&!/[\w$]/[_0x12916a(0x195)](_0x10f766)&&!/[\w$]/[_0x12916a(0x195)](_0x5dd332))return!![];}return![];}function splitEquality(_0x514eea){const _0x16e5ba=a207_0x5760,_0x214e83=stripOuterParentheses(_0x514eea);let _0x3fed52=0x0,_0x1ff967;for(let _0x5f359f=0x0;_0x5f359f<_0x214e83['length'];_0x5f359f+=0x1){const _0x121e9e=_0x214e83[_0x5f359f];if(_0x121e9e==='(')_0x3fed52+=0x1;if(_0x121e9e===')')_0x3fed52=Math['max'](0x0,_0x3fed52-0x1);const _0x2ba8e9=_0x214e83[_0x5f359f-0x1]??'',_0x27b845=_0x214e83[_0x5f359f+0x1]??'';if(_0x121e9e==='='&&_0x3fed52===0x0&&!/[!<>=:]/[_0x16e5ba(0x195)](_0x2ba8e9)&&_0x27b845!=='='){if(_0x1ff967!==undefined)return null;_0x1ff967=_0x5f359f;}}return _0x1ff967===undefined?null:[_0x214e83[_0x16e5ba(0x1a1)](0x0,_0x1ff967)[_0x16e5ba(0x19a)](),_0x214e83[_0x16e5ba(0x1a1)](_0x1ff967+0x1)['trim']()];}function parseDirectColumnReference(_0x5753a4,_0x469f44){const _0xf7a7b7=/^([`"]?[\w$]+[`"]?)\s*\.\s*([`"]?[\w$]+[`"]?)$/['exec'](stripOuterParentheses(_0x5753a4));if(!_0xf7a7b7)return null;if(normalizeIdentifier(_0xf7a7b7[0x1]??'')!==normalizeIdentifier(_0x469f44))return null;return normalizeIdentifier(_0xf7a7b7[0x2]??'');}function containsColumnReference(_0x50d4e7,_0xefb7ad){const _0xc0fd22=a207_0x5760,_0x2a4db5=_0x50d4e7[_0xc0fd22(0x1a6)](/[`"]/g,''),_0x50110f=_0xefb7ad[_0xc0fd22(0x1a6)](/[.*+?^${}()|[\]\\]/g,'\x5c$&');return new RegExp(_0xc0fd22(0x183)+_0x50110f+_0xc0fd22(0x1a3),'i')[_0xc0fd22(0x195)](_0x2a4db5);}function findEqualityPrefix(_0x2473af,_0x65798d){const _0x4f81f8=a207_0x5760,_0x47a73b=new Set(_0x65798d[_0x4f81f8(0x17b)](normalizeIdentifier)),_0x1a8d22=[];for(const _0x1e6be9 of _0x2473af){if(!_0x47a73b['has'](normalizeIdentifier(_0x1e6be9)))break;_0x1a8d22[_0x4f81f8(0x18e)](_0x1e6be9);}return _0x1a8d22;}function resolveTableMetadata(_0xfd4894,_0xfa49d){const _0x3140b8=a207_0x5760,_0x122487=normalizeIdentifier(_0xfa49d),_0x2c6d10=_0xfd4894[_0x3140b8(0x17e)](_0x3d3214=>normalizeIdentifier(_0x3d3214[_0x3140b8(0x17c)])===_0x122487);if(_0x2c6d10[_0x3140b8(0x191)]===0x1)return _0x2c6d10[0x0];const _0x83b0f4=_0x122487[_0x3140b8(0x19c)]('.'),_0x2ec545=_0x122487[_0x3140b8(0x186)]('.')['at'](-0x1),_0x3daa34=_0xfd4894[_0x3140b8(0x17e)](_0x4a6206=>{const _0x36d144=_0x3140b8,_0x5aebfd=normalizeIdentifier(_0x4a6206['tableName']);if(_0x83b0f4&&_0x5aebfd[_0x36d144(0x19c)]('.'))return![];return _0x5aebfd[_0x36d144(0x186)]('.')['at'](-0x1)===_0x2ec545;});return _0x3daa34['length']===0x1?_0x3daa34[0x0]:undefined;}function columnNamesMatch(_0x21b553,_0x502fa5){return normalizeIdentifier(_0x21b553)===normalizeIdentifier(_0x502fa5);}function normalizeIdentifier(_0x12f7bc){const _0x443bc0=a207_0x5760;return _0x12f7bc[_0x443bc0(0x1a6)](/[`"]/g,'')[_0x443bc0(0x19a)]()[_0x443bc0(0x189)]();}function isSqlClauseKeyword(_0x20b975){const _0x146c55=a207_0x5760;return new Set(['on','using','where',_0x146c55(0x197),_0x146c55(0x198),'left','right','full',_0x146c55(0x199),_0x146c55(0x1a0)])['has'](_0x20b975);}function stripOuterParentheses(_0x1430c6){const _0x29d38d=a207_0x5760;let _0x5c3a63=_0x1430c6[_0x29d38d(0x19a)]();while(_0x5c3a63[_0x29d38d(0x173)]('(')&&_0x5c3a63['endsWith'](')')){let _0xff669a=0x0,_0x5d4b4f=!![];for(let _0x59a0f4=0x0;_0x59a0f4<_0x5c3a63[_0x29d38d(0x191)];_0x59a0f4+=0x1){if(_0x5c3a63[_0x59a0f4]==='(')_0xff669a+=0x1;if(_0x5c3a63[_0x59a0f4]===')')_0xff669a-=0x1;if(_0xff669a===0x0&&_0x59a0f4<_0x5c3a63['length']-0x1){_0x5d4b4f=![];break;}}if(!_0x5d4b4f||_0xff669a!==0x0)break;_0x5c3a63=_0x5c3a63[_0x29d38d(0x1a1)](0x1,-0x1)[_0x29d38d(0x19a)]();}return _0x5c3a63;}
@@ -1 +1 @@
1
- function a197_0x2dba(_0x3099ca,_0x13e1dd){_0x3099ca=_0x3099ca-0x12e;const _0x18952b=a197_0x1895();let _0x2dba20=_0x18952b[_0x3099ca];return _0x2dba20;}const a197_0x191d3f=a197_0x2dba;(function(_0x1997ff,_0x1ec195){const _0x2ea70f=a197_0x2dba,_0x4dc6bd=_0x1997ff();while(!![]){try{const _0x1ad156=parseInt(_0x2ea70f(0x136))/0x1+parseInt(_0x2ea70f(0x12e))/0x2*(parseInt(_0x2ea70f(0x133))/0x3)+-parseInt(_0x2ea70f(0x137))/0x4+-parseInt(_0x2ea70f(0x139))/0x5*(parseInt(_0x2ea70f(0x134))/0x6)+-parseInt(_0x2ea70f(0x132))/0x7+-parseInt(_0x2ea70f(0x130))/0x8+parseInt(_0x2ea70f(0x135))/0x9;if(_0x1ad156===_0x1ec195)break;else _0x4dc6bd['push'](_0x4dc6bd['shift']());}catch(_0x4a1a15){_0x4dc6bd['push'](_0x4dc6bd['shift']());}}}(a197_0x1895,0xcc95f));import{resolve}from'node:path';import{findProjectRootDirectory}from'../../context.js';const DOT_DIR='.rabetbase',LOCK_FILE_NAME=a197_0x191d3f(0x138),TRASH_DIR_NAME='sql-trash';export function loadSqlProjectConfig(_0x46a9f1,_0x118801){const _0x3dbfeb=a197_0x191d3f,_0x377cbd=resolve(_0x118801??findProjectRootDirectory()),_0x14fcca=DOT_DIR+_0x3dbfeb(0x131),_0x491951=_0x14fcca+'/'+_0x46a9f1;return{'projectRoot':_0x377cbd,'appCode':_0x46a9f1,'sqlWorkspaceRoot':_0x14fcca,'sqlRoot':_0x491951,'sqlRootDir':resolve(_0x377cbd,DOT_DIR,_0x3dbfeb(0x12f),_0x46a9f1),'lockFilePath':resolve(_0x377cbd,DOT_DIR,LOCK_FILE_NAME),'trashDir':resolve(_0x377cbd,DOT_DIR,TRASH_DIR_NAME)};}function a197_0x1895(){const _0x3c91d1=['1113122TTZfKA','4259696kgXaXa','sql.lock.json','1481945oCBlWm','46yvzHHm','sql','3095904Obsros','/sql','1893668KZgaep','156687yOLLOi','18iqfKgG','10216773zdmWQg'];a197_0x1895=function(){return _0x3c91d1;};return a197_0x1895();}
1
+ const a208_0x4301dd=a208_0x4352;function a208_0x5144(){const _0x10e8da=['5892754swEfnH','795184AqHzgU','151266xVrFRX','.rabetbase','sql','1719496FMbYVd','sql.lock.json','9743830dlJWWX','6SXpNek','165vHbpiM','3258afcDoE','12944eBIrrq','452826GfzosT'];a208_0x5144=function(){return _0x10e8da;};return a208_0x5144();}function a208_0x4352(_0x487aaf,_0x14ae12){_0x487aaf=_0x487aaf-0x12e;const _0x514412=a208_0x5144();let _0x43521f=_0x514412[_0x487aaf];return _0x43521f;}(function(_0x1827af,_0x47bc2c){const _0x556143=a208_0x4352,_0x2e5a35=_0x1827af();while(!![]){try{const _0x53d8aa=parseInt(_0x556143(0x133))/0x1+parseInt(_0x556143(0x131))/0x2+parseInt(_0x556143(0x13a))/0x3*(parseInt(_0x556143(0x137))/0x4)+-parseInt(_0x556143(0x12e))/0x5*(parseInt(_0x556143(0x134))/0x6)+-parseInt(_0x556143(0x132))/0x7+parseInt(_0x556143(0x130))/0x8*(-parseInt(_0x556143(0x12f))/0x9)+parseInt(_0x556143(0x139))/0xa;if(_0x53d8aa===_0x47bc2c)break;else _0x2e5a35['push'](_0x2e5a35['shift']());}catch(_0x147da6){_0x2e5a35['push'](_0x2e5a35['shift']());}}}(a208_0x5144,0x91903));import{resolve}from'node:path';import{findProjectRootDirectory}from'../../context.js';const DOT_DIR=a208_0x4301dd(0x135),LOCK_FILE_NAME=a208_0x4301dd(0x138),TRASH_DIR_NAME='sql-trash';export function loadSqlProjectConfig(_0x43bb4f,_0xc75412){const _0x27f4cf=a208_0x4301dd,_0x5351dd=resolve(_0xc75412??findProjectRootDirectory()),_0x441e41=DOT_DIR+'/sql',_0x506484=_0x441e41+'/'+_0x43bb4f;return{'projectRoot':_0x5351dd,'appCode':_0x43bb4f,'sqlWorkspaceRoot':_0x441e41,'sqlRoot':_0x506484,'sqlRootDir':resolve(_0x5351dd,DOT_DIR,_0x27f4cf(0x136),_0x43bb4f),'lockFilePath':resolve(_0x5351dd,DOT_DIR,LOCK_FILE_NAME),'trashDir':resolve(_0x5351dd,DOT_DIR,TRASH_DIR_NAME)};}
@@ -1 +1 @@
1
- (function(_0x5a453d,_0x33c548){const _0x325dd7=a198_0x5f46,_0x1a824e=_0x5a453d();while(!![]){try{const _0x19277d=parseInt(_0x325dd7(0x134))/0x1+-parseInt(_0x325dd7(0x121))/0x2+parseInt(_0x325dd7(0x11b))/0x3*(-parseInt(_0x325dd7(0x11a))/0x4)+-parseInt(_0x325dd7(0x122))/0x5+-parseInt(_0x325dd7(0x120))/0x6+parseInt(_0x325dd7(0x12d))/0x7*(parseInt(_0x325dd7(0x132))/0x8)+parseInt(_0x325dd7(0x127))/0x9;if(_0x19277d===_0x33c548)break;else _0x1a824e['push'](_0x1a824e['shift']());}catch(_0x3f9fd1){_0x1a824e['push'](_0x1a824e['shift']());}}}(a198_0x5938,0x5c57e));import{readdir,stat}from'node:fs/promises';function a198_0x5938(){const _0x129ace=['dbName','length','push','sqlRootDir','105stEzRq','code','toLowerCase','replace','test','173688iaYPVI','dbId','379516okZWCK','mybatisXml','isFile','ENOENT','978816zIXrpg','6OczxmI','slice','sqlName','.xml','split','2443824DTCJyZ','301328miiEtl','3484910nUKNue','sql','name','filter','indexOf','12756735ELXVOJ','isDirectory'];a198_0x5938=function(){return _0x129ace;};return a198_0x5938();}import{extname,join,relative}from'node:path';function a198_0x5f46(_0x52a4ae,_0x1091fb){_0x52a4ae=_0x52a4ae-0x119;const _0x5938c2=a198_0x5938();let _0x5f460c=_0x5938c2[_0x52a4ae];return _0x5f460c;}import{buildDefaultSqlFileName,buildSqlRelativePath}from'./utils.js';function extensionToMode(_0x3a67aa){const _0x5aef0d=a198_0x5f46;if(_0x3a67aa==='.sql')return _0x5aef0d(0x123);if(_0x3a67aa===_0x5aef0d(0x11e))return _0x5aef0d(0x135);return undefined;}async function scanSqlFilesRecursively(_0x373706,_0x15f112){const _0x5539eb=a198_0x5f46,_0x10c722=[];try{const _0x523908=await readdir(_0x373706,{'withFileTypes':!![]});for(const _0x40356f of _0x523908){const _0x347517=join(_0x373706,_0x40356f[_0x5539eb(0x124)]);if(_0x40356f[_0x5539eb(0x128)]()){_0x10c722['push'](...await scanSqlFilesRecursively(_0x347517,_0x15f112));continue;}if(!_0x40356f[_0x5539eb(0x136)]())continue;const _0x281d31=extname(_0x40356f[_0x5539eb(0x124)])[_0x5539eb(0x12f)](),_0x1afcd7=extensionToMode(_0x281d31);if(!_0x1afcd7)continue;const _0xb1ea63=relative(_0x15f112,_0x347517)[_0x5539eb(0x130)](/\\/g,'/'),_0x5a0884=_0xb1ea63[_0x5539eb(0x11f)]('/')[_0x5539eb(0x125)](Boolean),_0x47d3a9=parseSqlPath(_0x5a0884,_0x40356f[_0x5539eb(0x124)],_0x281d31);if(!_0x47d3a9)continue;_0x10c722[_0x5539eb(0x12b)]({'sqlCode':_0x47d3a9['sqlCode'],'sqlName':_0x47d3a9[_0x5539eb(0x11d)],'dbDirectory':_0x5a0884[0x0],'filePath':_0x347517,'relativePath':_0xb1ea63,'lockKey':_0x47d3a9['sqlCode'],'mode':_0x1afcd7});}}catch(_0x3e8cd4){if(_0x3e8cd4[_0x5539eb(0x12e)]!==_0x5539eb(0x119))throw _0x3e8cd4;}return _0x10c722;}export async function scanLocalSqlQueries(_0x13e7ce){const _0x36f808=a198_0x5f46;return scanSqlFilesRecursively(_0x13e7ce['sqlRootDir'],_0x13e7ce[_0x36f808(0x12c)]);}export function resolveLocalSqlFilePath(_0x4c4759,_0x43784f,_0x5f0569){const _0x36456d=a198_0x5f46,_0xa7116b=_0x5f0569?.['path']||(_0x5f0569?.[_0x36456d(0x11d)]||_0x5f0569?.[_0x36456d(0x129)]?buildSqlRelativePath(_0x43784f,_0x5f0569?.['sqlName'],_0x5f0569?.[_0x36456d(0x129)],_0x5f0569?.['mode']||_0x36456d(0x123),_0x5f0569?.[_0x36456d(0x133)]):buildDefaultSqlFileName(_0x43784f,_0x5f0569?.['mode']||_0x36456d(0x123)));return join(_0x4c4759['sqlRootDir'],_0xa7116b);}export async function directoryExists(_0x5bdbf9){try{const _0x4de667=await stat(_0x5bdbf9);return _0x4de667['isDirectory']();}catch{return![];}}function parseSqlPath(_0x6d6b0,_0x2a5c2e,_0x2f0506){const _0x966d21=a198_0x5f46,_0x3a6c9f=_0x2a5c2e[_0x966d21(0x11c)](0x0,-_0x2f0506[_0x966d21(0x12a)]);if(_0x6d6b0['length']<0x2)return null;const _0x5c950d=_0x3a6c9f[_0x966d21(0x126)]('_');if(_0x5c950d<=0x0||_0x5c950d>=_0x3a6c9f[_0x966d21(0x12a)]-0x1)return null;const _0x777b7e=_0x3a6c9f['slice'](0x0,_0x5c950d);if(!isLikelySqlCode(_0x777b7e))return null;return{'sqlCode':_0x777b7e,'sqlName':_0x3a6c9f[_0x966d21(0x11c)](_0x5c950d+0x1)};}function isLikelySqlCode(_0x2e44aa){const _0x2a7899=a198_0x5f46;return/^[A-Za-z0-9-]+-[A-Za-z0-9-]+$/[_0x2a7899(0x131)](_0x2e44aa);}
1
+ (function(_0x43371d,_0x4da355){const _0x2f8058=a209_0xa076,_0x810a75=_0x43371d();while(!![]){try{const _0x1016c5=-parseInt(_0x2f8058(0x1e4))/0x1*(parseInt(_0x2f8058(0x1d6))/0x2)+parseInt(_0x2f8058(0x1d3))/0x3+-parseInt(_0x2f8058(0x1e6))/0x4*(-parseInt(_0x2f8058(0x1e2))/0x5)+parseInt(_0x2f8058(0x1d4))/0x6+parseInt(_0x2f8058(0x1df))/0x7*(parseInt(_0x2f8058(0x1d8))/0x8)+-parseInt(_0x2f8058(0x1cc))/0x9+parseInt(_0x2f8058(0x1d1))/0xa*(-parseInt(_0x2f8058(0x1dc))/0xb);if(_0x1016c5===_0x4da355)break;else _0x810a75['push'](_0x810a75['shift']());}catch(_0x44ac77){_0x810a75['push'](_0x810a75['shift']());}}}(a209_0x13b8,0x65c28));import{readdir,stat}from'node:fs/promises';import{extname,join,relative}from'node:path';import{buildDefaultSqlFileName,buildSqlRelativePath}from'./utils.js';function extensionToMode(_0x129941){const _0x6aeaca=a209_0xa076;if(_0x129941==='.sql')return'sql';if(_0x129941===_0x6aeaca(0x1d0))return _0x6aeaca(0x1d5);return undefined;}async function scanSqlFilesRecursively(_0x46b170,_0x5698c3){const _0x482938=a209_0xa076,_0x1d487c=[];try{const _0x5b7c49=await readdir(_0x46b170,{'withFileTypes':!![]});for(const _0x162d7d of _0x5b7c49){const _0x47679d=join(_0x46b170,_0x162d7d[_0x482938(0x1e7)]);if(_0x162d7d[_0x482938(0x1d9)]()){_0x1d487c['push'](...await scanSqlFilesRecursively(_0x47679d,_0x5698c3));continue;}if(!_0x162d7d[_0x482938(0x1e0)]())continue;const _0x341a45=extname(_0x162d7d[_0x482938(0x1e7)])[_0x482938(0x1d2)](),_0x2bacd4=extensionToMode(_0x341a45);if(!_0x2bacd4)continue;const _0x2fa46d=relative(_0x5698c3,_0x47679d)[_0x482938(0x1e5)](/\\/g,'/'),_0x288ec8=_0x2fa46d['split']('/')['filter'](Boolean),_0x115b9c=parseSqlPath(_0x288ec8,_0x162d7d[_0x482938(0x1e7)],_0x341a45);if(!_0x115b9c)continue;_0x1d487c[_0x482938(0x1da)]({'sqlCode':_0x115b9c[_0x482938(0x1e3)],'sqlName':_0x115b9c[_0x482938(0x1cf)],'dbDirectory':_0x288ec8[0x0],'filePath':_0x47679d,'relativePath':_0x2fa46d,'lockKey':_0x115b9c[_0x482938(0x1e3)],'mode':_0x2bacd4});}}catch(_0x1f681f){if(_0x1f681f[_0x482938(0x1cd)]!==_0x482938(0x1d7))throw _0x1f681f;}return _0x1d487c;}export async function scanLocalSqlQueries(_0x221d03){const _0x17860e=a209_0xa076;return scanSqlFilesRecursively(_0x221d03[_0x17860e(0x1dd)],_0x221d03['sqlRootDir']);}function a209_0x13b8(){const _0xeefa30=['dbName','5191020pYeUTY','code','slice','sqlName','.xml','50HBMrhF','toLowerCase','2129676GcxKzE','3213420dNEFIE','mybatisXml','1568hjRWWl','ENOENT','8seQHMZ','isDirectory','push','mode','543279KHoiuo','sqlRootDir','length','4986891mjEVpl','isFile','indexOf','5QRyQVA','sqlCode','1018RGUgjn','replace','323080FophmF','name','test','dbId'];a209_0x13b8=function(){return _0xeefa30;};return a209_0x13b8();}function a209_0xa076(_0xc04261,_0x380269){_0xc04261=_0xc04261-0x1c9;const _0x13b807=a209_0x13b8();let _0xa076c0=_0x13b807[_0xc04261];return _0xa076c0;}export function resolveLocalSqlFilePath(_0x42d8aa,_0x4717a8,_0x547226){const _0x3f75c6=a209_0xa076,_0x239704=_0x547226?.['path']||(_0x547226?.[_0x3f75c6(0x1cf)]||_0x547226?.['dbName']?buildSqlRelativePath(_0x4717a8,_0x547226?.['sqlName'],_0x547226?.[_0x3f75c6(0x1cb)],_0x547226?.[_0x3f75c6(0x1db)]||'sql',_0x547226?.[_0x3f75c6(0x1ca)]):buildDefaultSqlFileName(_0x4717a8,_0x547226?.[_0x3f75c6(0x1db)]||'sql'));return join(_0x42d8aa['sqlRootDir'],_0x239704);}export async function directoryExists(_0x5062b6){const _0x2b76a2=a209_0xa076;try{const _0x528f31=await stat(_0x5062b6);return _0x528f31[_0x2b76a2(0x1d9)]();}catch{return![];}}function parseSqlPath(_0x4a4daa,_0x11f1e6,_0x38646d){const _0x30cb17=a209_0xa076,_0x415823=_0x11f1e6[_0x30cb17(0x1ce)](0x0,-_0x38646d['length']);if(_0x4a4daa[_0x30cb17(0x1de)]<0x2)return null;const _0x3b1eda=_0x415823[_0x30cb17(0x1e1)]('_');if(_0x3b1eda<=0x0||_0x3b1eda>=_0x415823[_0x30cb17(0x1de)]-0x1)return null;const _0x382078=_0x415823[_0x30cb17(0x1ce)](0x0,_0x3b1eda);if(!isLikelySqlCode(_0x382078))return null;return{'sqlCode':_0x382078,'sqlName':_0x415823[_0x30cb17(0x1ce)](_0x3b1eda+0x1)};}function isLikelySqlCode(_0x5380bf){const _0x1eeb50=a209_0xa076;return/^[A-Za-z0-9-]+-[A-Za-z0-9-]+$/[_0x1eeb50(0x1c9)](_0x5380bf);}
@@ -1 +1 @@
1
- function a199_0x305a(_0x579da6,_0x51e2ad){_0x579da6=_0x579da6-0x110;const _0x3f55c3=a199_0x3f55();let _0x305aab=_0x3f55c3[_0x579da6];return _0x305aab;}(function(_0x4ba10e,_0x42dca3){const _0x59e7d4=a199_0x305a,_0x737f=_0x4ba10e();while(!![]){try{const _0xa0ed5c=parseInt(_0x59e7d4(0x11a))/0x1+parseInt(_0x59e7d4(0x113))/0x2*(parseInt(_0x59e7d4(0x111))/0x3)+-parseInt(_0x59e7d4(0x118))/0x4+parseInt(_0x59e7d4(0x11c))/0x5+-parseInt(_0x59e7d4(0x115))/0x6*(-parseInt(_0x59e7d4(0x117))/0x7)+-parseInt(_0x59e7d4(0x119))/0x8*(-parseInt(_0x59e7d4(0x11d))/0x9)+-parseInt(_0x59e7d4(0x116))/0xa;if(_0xa0ed5c===_0x42dca3)break;else _0x737f['push'](_0x737f['shift']());}catch(_0x211592){_0x737f['push'](_0x737f['shift']());}}}(a199_0x3f55,0x2f17e));import{readFile}from'node:fs/promises';import a199_0x2411bc from'node:crypto';export function computeSqlContentHash(_0x24b4e3){const _0x49592a=a199_0x305a;return a199_0x2411bc[_0x49592a(0x11b)]('md5')[_0x49592a(0x112)](_0x24b4e3)[_0x49592a(0x110)]('hex');}function a199_0x3f55(){const _0x559b81=['update','2sxNBPH','utf8','6KZGwem','6924740FvovNI','1229095zChKwf','1021224mloMmF','1160OSSGiz','279439dMwsuH','createHash','1270480nBLncl','9657dfopEK','digest','827907TceCrf'];a199_0x3f55=function(){return _0x559b81;};return a199_0x3f55();}export async function computeSqlFileHash(_0x5e64ee){const _0x69d34c=a199_0x305a,_0x54af4f=await readFile(_0x5e64ee,_0x69d34c(0x114));return computeSqlContentHash(_0x54af4f);}
1
+ (function(_0x58911d,_0x27f84c){const _0x5637ce=a210_0x4894,_0x352cae=_0x58911d();while(!![]){try{const _0x5f4da6=-parseInt(_0x5637ce(0x19d))/0x1*(-parseInt(_0x5637ce(0x1a5))/0x2)+parseInt(_0x5637ce(0x19b))/0x3*(parseInt(_0x5637ce(0x1a3))/0x4)+parseInt(_0x5637ce(0x19a))/0x5+-parseInt(_0x5637ce(0x19c))/0x6+parseInt(_0x5637ce(0x1a1))/0x7*(parseInt(_0x5637ce(0x1a2))/0x8)+-parseInt(_0x5637ce(0x1a0))/0x9+-parseInt(_0x5637ce(0x1a4))/0xa;if(_0x5f4da6===_0x27f84c)break;else _0x352cae['push'](_0x352cae['shift']());}catch(_0x4e837d){_0x352cae['push'](_0x352cae['shift']());}}}(a210_0x2898,0x85b13));function a210_0x2898(){const _0x525f63=['12881270lgYbsk','406RTMUfA','2278505ySWqAp','65133GDwoRv','561432ZsmzOJ','3349VcqoHJ','md5','hex','2337174DconqS','7vJkNTj','2348440coecCR','140mLccph'];a210_0x2898=function(){return _0x525f63;};return a210_0x2898();}import{readFile}from'node:fs/promises';function a210_0x4894(_0x2568c4,_0x5e944d){_0x2568c4=_0x2568c4-0x19a;const _0x2898bf=a210_0x2898();let _0x489499=_0x2898bf[_0x2568c4];return _0x489499;}import a210_0x38acfc from'node:crypto';export function computeSqlContentHash(_0x44472c){const _0x322933=a210_0x4894;return a210_0x38acfc['createHash'](_0x322933(0x19e))['update'](_0x44472c)['digest'](_0x322933(0x19f));}export async function computeSqlFileHash(_0x5756b0){const _0x5de175=await readFile(_0x5756b0,'utf8');return computeSqlContentHash(_0x5de175);}
@@ -1 +1 @@
1
- (function(_0x147049,_0x3d6118){const _0x27e06c=a200_0x17a9,_0x2bf7b0=_0x147049();while(!![]){try{const _0x4e7ecd=-parseInt(_0x27e06c(0x11f))/0x1+parseInt(_0x27e06c(0x121))/0x2*(parseInt(_0x27e06c(0x11a))/0x3)+-parseInt(_0x27e06c(0x117))/0x4+-parseInt(_0x27e06c(0x123))/0x5+parseInt(_0x27e06c(0x122))/0x6*(parseInt(_0x27e06c(0x11e))/0x7)+parseInt(_0x27e06c(0x124))/0x8*(parseInt(_0x27e06c(0x126))/0x9)+parseInt(_0x27e06c(0x12b))/0xa*(parseInt(_0x27e06c(0x128))/0xb);if(_0x4e7ecd===_0x3d6118)break;else _0x2bf7b0['push'](_0x2bf7b0['shift']());}catch(_0x2ec37c){_0x2bf7b0['push'](_0x2bf7b0['shift']());}}}(a200_0x2f2f,0xdbcdf));function a200_0x2f2f(){const _0x499add=['75627djtqnl','\x22\x20vs\x20lock\x20\x22','11913583wRqWTS','utf8','Failed\x20to\x20read\x20SQL\x20lock\x20file:\x20','10mrZIiF','sqls','1858696zrqElP','code','sqlRoot','6geNmOh','lastSync','Check\x20.rabetbase/sql.lock.json\x20or\x20operate\x20from\x20the\x20correct\x20project\x20directory.','\x22.\x20','7pcqZes','1151234WVWRse',':\x20sqlRoot\x20mismatch\x20—\x20current\x20\x22','1424420avEOOC','3639126NemrSW','3282940UrWXWT','56olZMMI','apps'];a200_0x2f2f=function(){return _0x499add;};return a200_0x2f2f();}import{mkdir,readFile,writeFile}from'node:fs/promises';import{dirname}from'node:path';export function createEmptySqlLock(){return{'apps':{}};}function a200_0x17a9(_0x141070,_0x275c7f){_0x141070=_0x141070-0x117;const _0x2f2f65=a200_0x2f2f();let _0x17a963=_0x2f2f65[_0x141070];return _0x17a963;}export function ensureSqlLockScope(_0x1f4f33,_0x327c09,_0x5420de,_0x79bc33){const _0x212375=a200_0x17a9,_0x3949c8=_0x1f4f33??createEmptySqlLock();let _0x9a0791=_0x3949c8['apps'][_0x327c09];if(!_0x9a0791)return _0x9a0791={'sqlRoot':_0x5420de,'lastSync':'','sqls':{}},_0x3949c8[_0x212375(0x125)][_0x327c09]=_0x9a0791,{'lockData':_0x3949c8,'appLock':_0x9a0791};if(!_0x9a0791[_0x212375(0x119)])_0x9a0791[_0x212375(0x119)]=_0x5420de;else{if(_0x9a0791[_0x212375(0x119)]!==_0x5420de)throw new Error(_0x79bc33+_0x212375(0x120)+_0x5420de+_0x212375(0x127)+_0x9a0791['sqlRoot']+_0x212375(0x11d)+_0x212375(0x11c));}return!_0x9a0791[_0x212375(0x12c)]&&(_0x9a0791[_0x212375(0x12c)]={}),!_0x9a0791[_0x212375(0x11b)]&&(_0x9a0791['lastSync']=''),{'lockData':_0x3949c8,'appLock':_0x9a0791};}export async function readSqlLockFile(_0x471118){const _0x7f3f89=a200_0x17a9;try{const _0x3583fd=await readFile(_0x471118,_0x7f3f89(0x129));return JSON['parse'](_0x3583fd);}catch(_0x415a3c){if(_0x415a3c[_0x7f3f89(0x118)]==='ENOENT')return null;throw new Error(_0x7f3f89(0x12a)+String(_0x415a3c));}}export async function writeSqlLockFile(_0x2c7d63,_0x47a65a){await mkdir(dirname(_0x2c7d63),{'recursive':!![]}),await writeFile(_0x2c7d63,JSON['stringify'](_0x47a65a,null,0x2),'utf8');}
1
+ function a211_0x3424(_0x502fd2,_0x2584c8){_0x502fd2=_0x502fd2-0xab;const _0x5dedf7=a211_0x5ded();let _0x342467=_0x5dedf7[_0x502fd2];return _0x342467;}(function(_0x241c6a,_0x38177b){const _0x517f29=a211_0x3424,_0x3c4740=_0x241c6a();while(!![]){try{const _0x2409ac=-parseInt(_0x517f29(0xbe))/0x1+-parseInt(_0x517f29(0xaf))/0x2*(-parseInt(_0x517f29(0xb5))/0x3)+-parseInt(_0x517f29(0xc0))/0x4+-parseInt(_0x517f29(0xb2))/0x5+-parseInt(_0x517f29(0xb3))/0x6*(-parseInt(_0x517f29(0xab))/0x7)+parseInt(_0x517f29(0xb6))/0x8*(parseInt(_0x517f29(0xbd))/0x9)+parseInt(_0x517f29(0xb9))/0xa*(parseInt(_0x517f29(0xb0))/0xb);if(_0x2409ac===_0x38177b)break;else _0x3c4740['push'](_0x3c4740['shift']());}catch(_0x105192){_0x3c4740['push'](_0x3c4740['shift']());}}}(a211_0x5ded,0x3222e));import{mkdir,readFile,writeFile}from'node:fs/promises';import{dirname}from'node:path';export function createEmptySqlLock(){return{'apps':{}};}export function ensureSqlLockScope(_0x1e04ca,_0x384184,_0x1cc5a4,_0x38e7f6){const _0x43dcb4=a211_0x3424,_0x5e234f=_0x1e04ca??createEmptySqlLock();let _0x286750=_0x5e234f[_0x43dcb4(0xbb)][_0x384184];if(!_0x286750)return _0x286750={'sqlRoot':_0x1cc5a4,'lastSync':'','sqls':{}},_0x5e234f[_0x43dcb4(0xbb)][_0x384184]=_0x286750,{'lockData':_0x5e234f,'appLock':_0x286750};if(!_0x286750[_0x43dcb4(0xad)])_0x286750[_0x43dcb4(0xad)]=_0x1cc5a4;else{if(_0x286750[_0x43dcb4(0xad)]!==_0x1cc5a4)throw new Error(_0x38e7f6+_0x43dcb4(0xae)+_0x1cc5a4+_0x43dcb4(0xb1)+_0x286750[_0x43dcb4(0xad)]+'\x22.\x20'+_0x43dcb4(0xba));}return!_0x286750[_0x43dcb4(0xbc)]&&(_0x286750['sqls']={}),!_0x286750[_0x43dcb4(0xb7)]&&(_0x286750['lastSync']=''),{'lockData':_0x5e234f,'appLock':_0x286750};}export async function readSqlLockFile(_0x403a7a){const _0x1d75c0=a211_0x3424;try{const _0x389b12=await readFile(_0x403a7a,_0x1d75c0(0xb8));return JSON[_0x1d75c0(0xc1)](_0x389b12);}catch(_0x3c8dc0){if(_0x3c8dc0['code']===_0x1d75c0(0xac))return null;throw new Error(_0x1d75c0(0xbf)+String(_0x3c8dc0));}}export async function writeSqlLockFile(_0x5f25da,_0x22e311){const _0x3b8057=a211_0x3424;await mkdir(dirname(_0x5f25da),{'recursive':!![]}),await writeFile(_0x5f25da,JSON[_0x3b8057(0xb4)](_0x22e311,null,0x2),_0x3b8057(0xb8));}function a211_0x5ded(){const _0x25b281=['\x22\x20vs\x20lock\x20\x22','939985nyDDuI','12gDXQBy','stringify','4881AToTjm','72bigxcP','lastSync','utf8','265570fFCuEc','Check\x20.rabetbase/sql.lock.json\x20or\x20operate\x20from\x20the\x20correct\x20project\x20directory.','apps','sqls','171567dDwSIZ','227321ZmxTEV','Failed\x20to\x20read\x20SQL\x20lock\x20file:\x20','465144qVqtCd','parse','364574fkiUST','ENOENT','sqlRoot',':\x20sqlRoot\x20mismatch\x20—\x20current\x20\x22','12DtFvgU','187XDvzBz'];a211_0x5ded=function(){return _0x25b281;};return a211_0x5ded();}
@@ -1 +1 @@
1
- (function(_0x309ce5,_0x3d4d46){const _0x3cb642=a202_0x50c1,_0xf97ef0=_0x309ce5();while(!![]){try{const _0x283e5e=parseInt(_0x3cb642(0x143))/0x1*(-parseInt(_0x3cb642(0x13c))/0x2)+parseInt(_0x3cb642(0x144))/0x3+parseInt(_0x3cb642(0x148))/0x4*(parseInt(_0x3cb642(0x13a))/0x5)+-parseInt(_0x3cb642(0x147))/0x6+-parseInt(_0x3cb642(0x145))/0x7+parseInt(_0x3cb642(0x13f))/0x8*(-parseInt(_0x3cb642(0x141))/0x9)+-parseInt(_0x3cb642(0x13b))/0xa*(-parseInt(_0x3cb642(0x13d))/0xb);if(_0x283e5e===_0x3d4d46)break;else _0xf97ef0['push'](_0xf97ef0['shift']());}catch(_0x4aa225){_0xf97ef0['push'](_0xf97ef0['shift']());}}}(a202_0x22fa,0xa2a03));function a202_0x22fa(){const _0x11b742=['trim','2691354dPySgK','900EWSjuy','mybatisXml','8355xcSvNY','200BarsgY','40hMAbXf','1556038zoePxO','replace','2072yUVtAK','.xml','39798OCyEke','.sql','59278RvozoF','2488752udANdr','4124309rRajkq'];a202_0x22fa=function(){return _0x11b742;};return a202_0x22fa();}export function detectSqlMode(_0x4dff89){const _0x43aed6=a202_0x50c1,_0x580fc0=_0x4dff89['trimStart']();if(/^<(select|insert|update|delete)\b/i['test'](_0x580fc0))return _0x43aed6(0x139);return'sql';}export function getSqlFileExtension(_0x145fff){const _0x264eab=a202_0x50c1;return _0x145fff==='mybatisXml'?_0x264eab(0x140):_0x264eab(0x142);}export function buildDefaultSqlFileName(_0x2ad1b8,_0x2231bb){return''+_0x2ad1b8+getSqlFileExtension(_0x2231bb);}function a202_0x50c1(_0x4b1dc9,_0x319f6b){_0x4b1dc9=_0x4b1dc9-0x139;const _0x22fade=a202_0x22fa();let _0x50c16d=_0x22fade[_0x4b1dc9];return _0x50c16d;}export function sanitizeSqlPathSegment(_0x2ba438,_0x27d641){const _0x3db815=a202_0x50c1,_0x3191dd=String(_0x2ba438??'')[_0x3db815(0x146)](),_0x5e87ab=_0x3191dd[_0x3db815(0x13e)](/[<>:"/\\|?*\u0000-\u001F]/g,'-')[_0x3db815(0x13e)](/\s+/g,'-')['replace'](/-+/g,'-')[_0x3db815(0x13e)](/^\.+/,'')[_0x3db815(0x13e)](/\.+$/,'')[_0x3db815(0x13e)](/^-+/,'')['replace'](/-+$/,'');return _0x5e87ab||_0x27d641;}export function buildDbDirectoryName(_0x1600d5,_0x272cb4){return sanitizeSqlPathSegment(_0x1600d5,_0x272cb4!=null?'db-'+_0x272cb4:'unknown-db');}export function buildSqlRelativePath(_0x1a0495,_0x3c801a,_0x5cdf15,_0x5638be,_0x2bcbbc){const _0x321af5=buildDbDirectoryName(_0x5cdf15,_0x2bcbbc),_0x1eccd0=sanitizeSqlPathSegment(_0x1a0495,'unknown-sql'),_0x4ccc59=sanitizeSqlPathSegment(_0x3c801a,_0x1eccd0);return _0x321af5+'/'+_0x1eccd0+'_'+_0x4ccc59+getSqlFileExtension(_0x5638be);}
1
+ function a213_0x36be(_0x5fc2b4,_0x3034d1){_0x5fc2b4=_0x5fc2b4-0xfb;const _0x4d530f=a213_0x4d53();let _0x36be78=_0x4d530f[_0x5fc2b4];return _0x36be78;}(function(_0x2a96c2,_0x54b0b8){const _0x322e50=a213_0x36be,_0x296c20=_0x2a96c2();while(!![]){try{const _0x39a081=parseInt(_0x322e50(0xfd))/0x1*(-parseInt(_0x322e50(0x102))/0x2)+-parseInt(_0x322e50(0xfb))/0x3+parseInt(_0x322e50(0x104))/0x4+parseInt(_0x322e50(0xfe))/0x5*(parseInt(_0x322e50(0x105))/0x6)+parseInt(_0x322e50(0x108))/0x7*(parseInt(_0x322e50(0x103))/0x8)+-parseInt(_0x322e50(0xfc))/0x9*(-parseInt(_0x322e50(0x109))/0xa)+parseInt(_0x322e50(0x10c))/0xb*(-parseInt(_0x322e50(0x107))/0xc);if(_0x39a081===_0x54b0b8)break;else _0x296c20['push'](_0x296c20['shift']());}catch(_0x5b14ee){_0x296c20['push'](_0x296c20['shift']());}}}(a213_0x4d53,0xdcf81));export function detectSqlMode(_0x1f0466){const _0x1cdac6=a213_0x36be,_0x5a176a=_0x1f0466[_0x1cdac6(0xff)]();if(/^<(select|insert|update|delete)\b/i[_0x1cdac6(0x10a)](_0x5a176a))return'mybatisXml';return'sql';}function a213_0x4d53(){const _0x4ccaf6=['1399409ehwWbk','replace','2914122PvTAqh','1719SbBupS','3ELsngf','2615wSeovQ','trimStart','unknown-db','mybatisXml','1159182PUJTJr','555848LFHVuL','4935592caamha','6852WRyHUk','db-','120bSimxh','175XjlLYC','69070kIPodu','test','.xml'];a213_0x4d53=function(){return _0x4ccaf6;};return a213_0x4d53();}export function getSqlFileExtension(_0x5eb7ed){const _0x47c15b=a213_0x36be;return _0x5eb7ed===_0x47c15b(0x101)?_0x47c15b(0x10b):'.sql';}export function buildDefaultSqlFileName(_0x1f83b7,_0x1400b7){return''+_0x1f83b7+getSqlFileExtension(_0x1400b7);}export function sanitizeSqlPathSegment(_0xf1b699,_0x46b645){const _0x2e57b4=a213_0x36be,_0x1d9d66=String(_0xf1b699??'')['trim'](),_0x4c041d=_0x1d9d66[_0x2e57b4(0x10d)](/[<>:"/\\|?*\u0000-\u001F]/g,'-')[_0x2e57b4(0x10d)](/\s+/g,'-')['replace'](/-+/g,'-')[_0x2e57b4(0x10d)](/^\.+/,'')[_0x2e57b4(0x10d)](/\.+$/,'')['replace'](/^-+/,'')['replace'](/-+$/,'');return _0x4c041d||_0x46b645;}export function buildDbDirectoryName(_0x414d73,_0x13b649){const _0x2a8361=a213_0x36be;return sanitizeSqlPathSegment(_0x414d73,_0x13b649!=null?_0x2a8361(0x106)+_0x13b649:_0x2a8361(0x100));}export function buildSqlRelativePath(_0x842964,_0x110f5b,_0x3a6b84,_0xbf7182,_0x10abf9){const _0x32f848=buildDbDirectoryName(_0x3a6b84,_0x10abf9),_0x337593=sanitizeSqlPathSegment(_0x842964,'unknown-sql'),_0x265c72=sanitizeSqlPathSegment(_0x110f5b,_0x337593);return _0x32f848+'/'+_0x337593+'_'+_0x265c72+getSqlFileExtension(_0xbf7182);}
@@ -1 +1 @@
1
- (function(_0x205b4e,_0x1fbcf9){const _0x2ffe77=a203_0x5705,_0x5ab5af=_0x205b4e();while(!![]){try{const _0x3f2a2b=parseInt(_0x2ffe77(0x1db))/0x1*(-parseInt(_0x2ffe77(0x1d0))/0x2)+-parseInt(_0x2ffe77(0x1ca))/0x3+parseInt(_0x2ffe77(0x1c5))/0x4*(parseInt(_0x2ffe77(0x1e0))/0x5)+parseInt(_0x2ffe77(0x1de))/0x6*(parseInt(_0x2ffe77(0x1c1))/0x7)+parseInt(_0x2ffe77(0x1c7))/0x8*(parseInt(_0x2ffe77(0x1c8))/0x9)+-parseInt(_0x2ffe77(0x1df))/0xa+-parseInt(_0x2ffe77(0x1ba))/0xb*(-parseInt(_0x2ffe77(0x1c9))/0xc);if(_0x3f2a2b===_0x1fbcf9)break;else _0x5ab5af['push'](_0x5ab5af['shift']());}catch(_0x4756a2){_0x5ab5af['push'](_0x5ab5af['shift']());}}}(a203_0x1b97,0xb1087));function a203_0x5705(_0x3b0412,_0x307876){_0x3b0412=_0x3b0412-0x1b9;const _0x1b97f9=a203_0x1b97();let _0x5705de=_0x1b97f9[_0x3b0412];return _0x5705de;}export function detectSqlType(_0x3e9fdf){const _0x35225f=a203_0x5705;if(!_0x3e9fdf?.[_0x35225f(0x1ce)]())return{'type':_0x35225f(0x1cc),'isSelectOnly':![],'isDangerous':![],'reason':_0x35225f(0x1bc)};const _0x33af46=_0x3e9fdf[_0x35225f(0x1d6)](/#\{[^}]*\}/g,'?')['replace'](/\$\{[^}]*\}/g,'?')[_0x35225f(0x1d6)](/@[^(\s]+(\([^)]*\))?/g,'')[_0x35225f(0x1d6)](/\/\*[\s\S]*?\*\//g,'')[_0x35225f(0x1ce)](),_0x27d2ff=_0x33af46[_0x35225f(0x1c0)]('\x0a');let _0x2e7b7f='';for(const _0x3db74f of _0x27d2ff){const _0x380678=_0x3db74f[_0x35225f(0x1ce)]();if(!_0x380678||_0x380678[_0x35225f(0x1d7)]('--')||_0x380678[_0x35225f(0x1d7)]('/*'))continue;_0x2e7b7f=_0x380678;break;}const _0x2536e9=_0x2e7b7f[_0x35225f(0x1e2)]();if(_0x2536e9[_0x35225f(0x1d7)](_0x35225f(0x1bb))||_0x2536e9[_0x35225f(0x1d7)](_0x35225f(0x1e1))){const _0x923137=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i['test'](_0x33af46);return{'type':_0x35225f(0x1bb),'isSelectOnly':!_0x923137,'isDangerous':_0x923137,'reason':_0x923137?_0x35225f(0x1bd):undefined};}if(_0x2536e9['startsWith']('INSERT'))return{'type':_0x35225f(0x1d3),'isSelectOnly':![],'isDangerous':![]};if(_0x2536e9[_0x35225f(0x1d7)](_0x35225f(0x1b9)))return{'type':'UPDATE','isSelectOnly':![],'isDangerous':![]};if(_0x2536e9[_0x35225f(0x1d7)]('DELETE'))return{'type':_0x35225f(0x1d8),'isSelectOnly':![],'isDangerous':!![],'reason':'DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save'};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i[_0x35225f(0x1d5)](_0x2536e9))return{'type':_0x35225f(0x1d1),'isSelectOnly':![],'isDangerous':!![],'reason':'DDL\x20statements\x20are\x20blocked\x20from\x20auto-save'};return{'type':'UNKNOWN','isSelectOnly':![],'isDangerous':![]};}function a203_0x1b97(){const _0x36e775=['test','replace','startsWith','DELETE','reason','includes','59181FOkifc','Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.','from','6909414QsCVPx','13424620cKKzXN','410650kNwRBI','WITH','toUpperCase','UPDATE','5346vYlupZ','SELECT','SQL\x20content\x20is\x20empty','SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT','match','length','split','7pONwhd','isDangerous','push','\x20with\x20parameters:\x20','40hyllBp','\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.','16dIOUsG','4149351DqmpcN','2484iaJQsH','2251251hDyFUI','\x20query\x20targeting\x20','UNKNOWN','add','trim','matchAll','6GaXsGE','DDL','type','INSERT','join'];a203_0x1b97=function(){return _0x36e775;};return a203_0x1b97();}function extractTables(_0x17a3e3){const _0x48dad8=a203_0x5705,_0xfb2028=_0x17a3e3[_0x48dad8(0x1d6)](/#\{[^}]*\}/g,'?')[_0x48dad8(0x1d6)](/\$\{[^}]*\}/g,'?')[_0x48dad8(0x1d6)](/'[^']*'/g,'\x27\x27')[_0x48dad8(0x1d6)](/--.*$/gm,'')[_0x48dad8(0x1d6)](/\/\*[\s\S]*?\*\//g,''),_0x2298c2=[],_0x479ccc=_0xfb2028[_0x48dad8(0x1be)](/FROM\s+([^\s,)(]+)/i);if(_0x479ccc?.[0x1])_0x2298c2['push'](_0x479ccc[0x1][_0x48dad8(0x1d6)](/[`"]/g,''));for(const _0x155b65 of _0xfb2028[_0x48dad8(0x1cf)](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){const _0x1c4a69=_0x155b65[0x1]?.[_0x48dad8(0x1d6)](/[`"]/g,'');if(_0x1c4a69&&!_0x2298c2[_0x48dad8(0x1da)](_0x1c4a69))_0x2298c2[_0x48dad8(0x1c3)](_0x1c4a69);}const _0x4fc07a=_0xfb2028[_0x48dad8(0x1be)](/INTO\s+([^\s(]+)/i);if(_0x4fc07a?.[0x1]){const _0x25b1ef=_0x4fc07a[0x1][_0x48dad8(0x1d6)](/[`"]/g,'');if(!_0x2298c2[_0x48dad8(0x1da)](_0x25b1ef))_0x2298c2[_0x48dad8(0x1c3)](_0x25b1ef);}const _0x29a473=_0xfb2028['match'](/UPDATE\s+([^\s,)(]+)/i);if(_0x29a473?.[0x1]){const _0x4bb940=_0x29a473[0x1][_0x48dad8(0x1d6)](/[`"]/g,'');if(!_0x2298c2[_0x48dad8(0x1da)](_0x4bb940))_0x2298c2['push'](_0x4bb940);}return _0x2298c2;}function extractParameters(_0xbc20c6){const _0x1cbe44=a203_0x5705,_0xd4b73c=new Set();for(const _0x2ef5b2 of _0xbc20c6[_0x1cbe44(0x1cf)](/#\{(\w+)\}/g))if(_0x2ef5b2[0x1])_0xd4b73c[_0x1cbe44(0x1cd)](_0x2ef5b2[0x1]);for(const _0x5b61e8 of _0xbc20c6[_0x1cbe44(0x1cf)](/\$\{(\w+)\}/g))if(_0x5b61e8[0x1])_0xd4b73c[_0x1cbe44(0x1cd)](_0x5b61e8[0x1]);return Array[_0x1cbe44(0x1dd)](_0xd4b73c);}export function validateSql(_0x198e8e){const _0x4f182f=a203_0x5705,_0x377961=detectSqlType(_0x198e8e),_0x451bba=extractTables(_0x198e8e),_0x5526a9=extractParameters(_0x198e8e);if(_0x377961[_0x4f182f(0x1c2)])return{'valid':![],'sqlType':_0x377961,'tables':_0x451bba,'parameters':_0x5526a9,'message':_0x377961[_0x4f182f(0x1d9)]||_0x377961[_0x4f182f(0x1d2)]+_0x4f182f(0x1c6)};if(_0x377961[_0x4f182f(0x1d2)]===_0x4f182f(0x1cc))return{'valid':![],'sqlType':_0x377961,'tables':_0x451bba,'parameters':_0x5526a9,'message':_0x4f182f(0x1dc)};return{'valid':!![],'sqlType':_0x377961,'tables':_0x451bba,'parameters':_0x5526a9,'message':_0x377961['type']+_0x4f182f(0x1cb)+(_0x451bba[_0x4f182f(0x1bf)]?_0x451bba[_0x4f182f(0x1d4)](',\x20'):'unknown\x20table(s)')+(_0x5526a9[_0x4f182f(0x1bf)]?_0x4f182f(0x1c4)+_0x5526a9[_0x4f182f(0x1d4)](',\x20'):'')};}
1
+ function a214_0x109b(_0x8929aa,_0x864e6){_0x8929aa=_0x8929aa-0x185;const _0x3485d5=a214_0x3485();let _0x109b74=_0x3485d5[_0x8929aa];return _0x109b74;}(function(_0x5b9c87,_0x5f15f2){const _0x5ef02e=a214_0x109b,_0x1d762f=_0x5b9c87();while(!![]){try{const _0x3156b4=-parseInt(_0x5ef02e(0x18f))/0x1+-parseInt(_0x5ef02e(0x189))/0x2+parseInt(_0x5ef02e(0x1a4))/0x3*(-parseInt(_0x5ef02e(0x193))/0x4)+parseInt(_0x5ef02e(0x18b))/0x5+parseInt(_0x5ef02e(0x1a8))/0x6*(-parseInt(_0x5ef02e(0x195))/0x7)+parseInt(_0x5ef02e(0x196))/0x8*(parseInt(_0x5ef02e(0x1ac))/0x9)+-parseInt(_0x5ef02e(0x18d))/0xa*(-parseInt(_0x5ef02e(0x18c))/0xb);if(_0x3156b4===_0x5f15f2)break;else _0x1d762f['push'](_0x1d762f['shift']());}catch(_0x1e3ad4){_0x1d762f['push'](_0x1d762f['shift']());}}}(a214_0x3485,0xcdfa4));export function detectSqlType(_0x4f820b){const _0x1cc1fa=a214_0x109b;if(!_0x4f820b?.[_0x1cc1fa(0x185)]())return{'type':_0x1cc1fa(0x192),'isSelectOnly':![],'isDangerous':![],'reason':_0x1cc1fa(0x19c)};const _0x2e5eb4=_0x4f820b[_0x1cc1fa(0x186)](/#\{[^}]*\}/g,'?')['replace'](/\$\{[^}]*\}/g,'?')[_0x1cc1fa(0x186)](/@[^(\s]+(\([^)]*\))?/g,'')['replace'](/\/\*[\s\S]*?\*\//g,'')[_0x1cc1fa(0x185)](),_0x26a6cd=_0x2e5eb4[_0x1cc1fa(0x19b)]('\x0a');let _0x768063='';for(const _0xd00e97 of _0x26a6cd){const _0x5f0574=_0xd00e97[_0x1cc1fa(0x185)]();if(!_0x5f0574||_0x5f0574[_0x1cc1fa(0x18e)]('--')||_0x5f0574[_0x1cc1fa(0x18e)]('/*'))continue;_0x768063=_0x5f0574;break;}const _0x366312=_0x768063[_0x1cc1fa(0x1a1)]();if(_0x366312[_0x1cc1fa(0x18e)]('SELECT')||_0x366312['startsWith'](_0x1cc1fa(0x1ab))){const _0x18bf13=/\b(INSERT|UPDATE|DELETE|DROP|ALTER|CREATE|TRUNCATE)\b/i[_0x1cc1fa(0x1a3)](_0x2e5eb4);return{'type':_0x1cc1fa(0x19a),'isSelectOnly':!_0x18bf13,'isDangerous':_0x18bf13,'reason':_0x18bf13?_0x1cc1fa(0x1a9):undefined};}if(_0x366312[_0x1cc1fa(0x18e)](_0x1cc1fa(0x18a)))return{'type':_0x1cc1fa(0x18a),'isSelectOnly':![],'isDangerous':![]};if(_0x366312[_0x1cc1fa(0x18e)](_0x1cc1fa(0x1a2)))return{'type':_0x1cc1fa(0x1a2),'isSelectOnly':![],'isDangerous':![]};if(_0x366312[_0x1cc1fa(0x18e)]('DELETE'))return{'type':'DELETE','isSelectOnly':![],'isDangerous':!![],'reason':'DELETE\x20statements\x20are\x20blocked\x20from\x20auto-save'};if(/^(CREATE|ALTER|DROP|TRUNCATE)/i['test'](_0x366312))return{'type':'DDL','isSelectOnly':![],'isDangerous':!![],'reason':_0x1cc1fa(0x19d)};return{'type':_0x1cc1fa(0x192),'isSelectOnly':![],'isDangerous':![]};}function extractTables(_0x184d24){const _0x228658=a214_0x109b,_0x34fc94=_0x184d24[_0x228658(0x186)](/#\{[^}]*\}/g,'?')[_0x228658(0x186)](/\$\{[^}]*\}/g,'?')[_0x228658(0x186)](/'[^']*'/g,'\x27\x27')[_0x228658(0x186)](/--.*$/gm,'')[_0x228658(0x186)](/\/\*[\s\S]*?\*\//g,''),_0x3f8fdc=[],_0x31eaed=_0x34fc94[_0x228658(0x188)](/FROM\s+([^\s,)(]+)/i);if(_0x31eaed?.[0x1])_0x3f8fdc[_0x228658(0x199)](_0x31eaed[0x1][_0x228658(0x186)](/[`"]/g,''));for(const _0x58d772 of _0x34fc94['matchAll'](/(?:INNER|LEFT|RIGHT|FULL|CROSS)?\s*JOIN\s+([^\s,)(]+)/gi)){const _0x2e023d=_0x58d772[0x1]?.['replace'](/[`"]/g,'');if(_0x2e023d&&!_0x3f8fdc[_0x228658(0x194)](_0x2e023d))_0x3f8fdc[_0x228658(0x199)](_0x2e023d);}const _0x505b97=_0x34fc94[_0x228658(0x188)](/INTO\s+([^\s(]+)/i);if(_0x505b97?.[0x1]){const _0x157ec6=_0x505b97[0x1][_0x228658(0x186)](/[`"]/g,'');if(!_0x3f8fdc[_0x228658(0x194)](_0x157ec6))_0x3f8fdc[_0x228658(0x199)](_0x157ec6);}const _0x2c1394=_0x34fc94[_0x228658(0x188)](/UPDATE\s+([^\s,)(]+)/i);if(_0x2c1394?.[0x1]){const _0x5d7773=_0x2c1394[0x1][_0x228658(0x186)](/[`"]/g,'');if(!_0x3f8fdc[_0x228658(0x194)](_0x5d7773))_0x3f8fdc['push'](_0x5d7773);}return _0x3f8fdc;}function extractParameters(_0x189065){const _0x586084=a214_0x109b,_0x1156dc=new Set();for(const _0x5a7251 of _0x189065[_0x586084(0x191)](/#\{(\w+)\}/g))if(_0x5a7251[0x1])_0x1156dc['add'](_0x5a7251[0x1]);for(const _0x189208 of _0x189065[_0x586084(0x191)](/\$\{(\w+)\}/g))if(_0x189208[0x1])_0x1156dc[_0x586084(0x1a6)](_0x189208[0x1]);return Array[_0x586084(0x197)](_0x1156dc);}function a214_0x3485(){const _0xed68b8=['3652doUQKW','includes','3428222JxbnKY','5879624bBADMr','from','\x20with\x20parameters:\x20','push','SELECT','split','SQL\x20content\x20is\x20empty','DDL\x20statements\x20are\x20blocked\x20from\x20auto-save','type','length','join','toUpperCase','UPDATE','test','2307UjEKco','reason','add','\x20query\x20targeting\x20','6HGdpEm','SQL\x20contains\x20modification\x20statements\x20alongside\x20SELECT','unknown\x20table(s)','WITH','18csHGjx','trim','replace','isDangerous','match','98162NLSQKB','INSERT','3598200aNQhbZ','64229MkDUls','10sZXKql','startsWith','110777IPGuGr','\x20statements\x20cannot\x20be\x20auto-saved.\x20Please\x20operate\x20manually\x20on\x20the\x20platform.','matchAll','UNKNOWN'];a214_0x3485=function(){return _0xed68b8;};return a214_0x3485();}export function validateSql(_0xe67c97){const _0x45e70d=a214_0x109b,_0x156e25=detectSqlType(_0xe67c97),_0x481db8=extractTables(_0xe67c97),_0x3c6ada=extractParameters(_0xe67c97);if(_0x156e25[_0x45e70d(0x187)])return{'valid':![],'sqlType':_0x156e25,'tables':_0x481db8,'parameters':_0x3c6ada,'message':_0x156e25[_0x45e70d(0x1a5)]||_0x156e25[_0x45e70d(0x19e)]+_0x45e70d(0x190)};if(_0x156e25[_0x45e70d(0x19e)]===_0x45e70d(0x192))return{'valid':![],'sqlType':_0x156e25,'tables':_0x481db8,'parameters':_0x3c6ada,'message':'Unable\x20to\x20detect\x20SQL\x20type.\x20Please\x20check\x20the\x20SQL\x20content.'};return{'valid':!![],'sqlType':_0x156e25,'tables':_0x481db8,'parameters':_0x3c6ada,'message':_0x156e25[_0x45e70d(0x19e)]+_0x45e70d(0x1a7)+(_0x481db8['length']?_0x481db8[_0x45e70d(0x1a0)](',\x20'):_0x45e70d(0x1aa))+(_0x3c6ada[_0x45e70d(0x19f)]?_0x45e70d(0x198)+_0x3c6ada[_0x45e70d(0x1a0)](',\x20'):'')};}
package/lib/errors.js CHANGED
@@ -1 +1 @@
1
- function a204_0x1389(_0x231664,_0x1f1567){_0x231664=_0x231664-0x18a;const _0x3f38df=a204_0x3f38();let _0x1389f2=_0x3f38df[_0x231664];return _0x1389f2;}const a204_0x4d340f=a204_0x1389;(function(_0x245a24,_0x3b16ae){const _0x423ef2=a204_0x1389,_0x1cbcdc=_0x245a24();while(!![]){try{const _0x2851bf=parseInt(_0x423ef2(0x197))/0x1+parseInt(_0x423ef2(0x192))/0x2*(parseInt(_0x423ef2(0x18c))/0x3)+-parseInt(_0x423ef2(0x194))/0x4*(parseInt(_0x423ef2(0x18d))/0x5)+-parseInt(_0x423ef2(0x195))/0x6+parseInt(_0x423ef2(0x18e))/0x7*(parseInt(_0x423ef2(0x18f))/0x8)+-parseInt(_0x423ef2(0x198))/0x9+parseInt(_0x423ef2(0x199))/0xa*(parseInt(_0x423ef2(0x191))/0xb);if(_0x2851bf===_0x3b16ae)break;else _0x1cbcdc['push'](_0x1cbcdc['shift']());}catch(_0x28bb1f){_0x1cbcdc['push'](_0x1cbcdc['shift']());}}}(a204_0x3f38,0x3922b));import{CliError,createCliErrors}from'@lovrabet/cli-framework';import{CLI_BIN_NAME}from'./constant/cli.js';function a204_0x3f38(){const _0x4d5496=['302162oleJax','80BfnYQX','Tip:\x20`','22hReopa','482jzQXRk','\x0a\x20\x20\x20\x20\x20\x20\x20','179012xyySjx','2210514JGNFEU','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','42195pIzHym','4117878ACfDzD','3783660kJowuI','join','\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.','Run\x20`','1776JRRnMK','35kWTlIP'];a204_0x3f38=function(){return _0x4d5496;};return a204_0x3f38();}export{CliError};export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a204_0x4d340f(0x18b)+CLI_BIN_NAME+'\x20auth`\x20to\x20login\x20first.','configMissingHint':['Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+a204_0x4d340f(0x196),a204_0x4d340f(0x190)+CLI_BIN_NAME+a204_0x4d340f(0x18a)][a204_0x4d340f(0x19a)](a204_0x4d340f(0x193)),'notInProjectHint':'Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.'});
1
+ const a215_0x91ee9b=a215_0x1b9d;(function(_0x51711e,_0x5d82e6){const _0x496953=a215_0x1b9d,_0x16fc8a=_0x51711e();while(!![]){try{const _0x31cc67=-parseInt(_0x496953(0x8f))/0x1+-parseInt(_0x496953(0x93))/0x2+-parseInt(_0x496953(0x9a))/0x3+-parseInt(_0x496953(0x91))/0x4+parseInt(_0x496953(0x96))/0x5*(-parseInt(_0x496953(0x97))/0x6)+-parseInt(_0x496953(0x95))/0x7+parseInt(_0x496953(0x90))/0x8;if(_0x31cc67===_0x5d82e6)break;else _0x16fc8a['push'](_0x16fc8a['shift']());}catch(_0x575a07){_0x16fc8a['push'](_0x16fc8a['shift']());}}}(a215_0x535a,0x59f0e));function a215_0x535a(){const _0x37951b=['5wSQtho','2582706qDXyXc','\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','\x0a\x20\x20\x20\x20\x20\x20\x20','1535973dbCcpj','Tip:\x20`','Set\x20appcode\x20via\x20`','413780FIBjsC','21289160RnAYJk','267976FljiFP','\x20init\x20--appcode\x20<code>\x20--global`\x20registers\x20globally\x20so\x20you\x20can\x20use\x20it\x20from\x20anywhere.','857136Ystiwp','Run\x20`','3086741gYHAGk'];a215_0x535a=function(){return _0x37951b;};return a215_0x535a();}import{CliError,createCliErrors}from'@lovrabet/cli-framework';function a215_0x1b9d(_0x560f83,_0x813bf7){_0x560f83=_0x560f83-0x8d;const _0x535ad5=a215_0x535a();let _0x1b9dbd=_0x535ad5[_0x560f83];return _0x1b9dbd;}import{CLI_BIN_NAME}from'./constant/cli.js';export{CliError};export const CliErrors=createCliErrors({'cliBinName':CLI_BIN_NAME,'authRequiredHint':a215_0x91ee9b(0x94)+CLI_BIN_NAME+'\x20auth`\x20to\x20login\x20first.','configMissingHint':[a215_0x91ee9b(0x8e)+CLI_BIN_NAME+a215_0x91ee9b(0x98),a215_0x91ee9b(0x8d)+CLI_BIN_NAME+a215_0x91ee9b(0x92)]['join'](a215_0x91ee9b(0x99)),'notInProjectHint':'Run\x20this\x20command\x20inside\x20a\x20project\x20with\x20.rabetbase.json\x20file.'});
@@ -1 +1 @@
1
- (function(_0x597f54,_0x28840e){var _0x884a3b=a205_0xe78f,_0x49e899=_0x597f54();while(!![]){try{var _0x19421e=-parseInt(_0x884a3b(0x189))/0x1*(-parseInt(_0x884a3b(0x188))/0x2)+-parseInt(_0x884a3b(0x18a))/0x3+-parseInt(_0x884a3b(0x187))/0x4+parseInt(_0x884a3b(0x18b))/0x5+-parseInt(_0x884a3b(0x185))/0x6+parseInt(_0x884a3b(0x18c))/0x7+parseInt(_0x884a3b(0x186))/0x8*(-parseInt(_0x884a3b(0x184))/0x9);if(_0x19421e===_0x28840e)break;else _0x49e899['push'](_0x49e899['shift']());}catch(_0x1e670e){_0x49e899['push'](_0x49e899['shift']());}}}(a205_0x4bec,0x284a6));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';function a205_0x4bec(){var _0x51f72a=['101372mNEAiG','6EPkkpJ','218178RqQCdK','1608360yGDyQu','1290611nXocTL','3206691MkTOuB','156078yBEBsS','8AGzuty','760372UthLTW'];a205_0x4bec=function(){return _0x51f72a;};return a205_0x4bec();}import{buildAllFlags as a205_0x38714b}from'@lovrabet/cli-framework';function a205_0xe78f(_0x54e26e,_0x12632c){_0x54e26e=_0x54e26e-0x184;var _0x4bec24=a205_0x4bec();var _0xe78f9e=_0x4bec24[_0x54e26e];return _0xe78f9e;}export function buildAllFlags(_0x2d4222){return a205_0x38714b(_0x2d4222,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});}
1
+ (function(_0x119ba1,_0x5bd936){const _0x17e16d=a216_0x48f1,_0x306ee5=_0x119ba1();while(!![]){try{const _0x3767a6=-parseInt(_0x17e16d(0x1a4))/0x1*(parseInt(_0x17e16d(0x1a5))/0x2)+-parseInt(_0x17e16d(0x1a0))/0x3+-parseInt(_0x17e16d(0x1a2))/0x4*(-parseInt(_0x17e16d(0x19c))/0x5)+parseInt(_0x17e16d(0x19b))/0x6+parseInt(_0x17e16d(0x1a7))/0x7*(-parseInt(_0x17e16d(0x19f))/0x8)+parseInt(_0x17e16d(0x19e))/0x9+parseInt(_0x17e16d(0x19d))/0xa*(parseInt(_0x17e16d(0x1a6))/0xb);if(_0x3767a6===_0x5bd936)break;else _0x306ee5['push'](_0x306ee5['shift']());}catch(_0x5cf24c){_0x306ee5['push'](_0x306ee5['shift']());}}}(a216_0x16d8,0x6f3f4));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';function a216_0x16d8(){const _0x4b691b=['7073ZEDPCW','7iKlIAk','436668cemDOM','25danHoY','14540hxinNB','3728646SJuKNK','2724760tEleYY','1036197INjZRB','yes','51196ywYNZn','map','344327mzRHAK','2StFyDj'];a216_0x16d8=function(){return _0x4b691b;};return a216_0x16d8();}function a216_0x48f1(_0x3fe42a,_0x3608e1){_0x3fe42a=_0x3fe42a-0x19b;const _0x16d83a=a216_0x16d8();let _0x48f13d=_0x16d83a[_0x3fe42a];return _0x48f13d;}import{buildAllFlags as a216_0x5428d3}from'@lovrabet/cli-framework';import{EXPLICIT_YES_FLAG_DESCRIPTION,requiresExplicitYes}from'../framework/explicit-yes.js';export function buildAllFlags(_0x5a6f23){const _0x1a076c=a216_0x48f1,_0x31b294=a216_0x5428d3(_0x5a6f23,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});if(!requiresExplicitYes(_0x5a6f23))return _0x31b294;return _0x31b294[_0x1a076c(0x1a3)](_0x22c55f=>_0x22c55f['name']===_0x1a076c(0x1a1)?{..._0x22c55f,'description':EXPLICIT_YES_FLAG_DESCRIPTION}:_0x22c55f);}
@@ -0,0 +1 @@
1
+ function a217_0x94ba(){var _0x2a9056=['defaultFormat','format','11mswiXC','flags','26437548KmOUez','628270eCwQiw','7121165QrCjse','50309cTbzoZ','structuredErrors','988014ZTLySM','279hGnjSh','5IbyfvL','248672wglpuH','4DQpgWZ','246bvzcWW','def','171090zTXhzv'];a217_0x94ba=function(){return _0x2a9056;};return a217_0x94ba();}(function(_0x2d240f,_0x14c24f){var _0x58e3b8=a217_0x34d2,_0x2d5bd3=_0x2d240f();while(!![]){try{var _0x415de3=-parseInt(_0x58e3b8(0x140))/0x1*(-parseInt(_0x58e3b8(0x145))/0x2)+parseInt(_0x58e3b8(0x13e))/0x3+parseInt(_0x58e3b8(0x142))/0x4*(-parseInt(_0x58e3b8(0x13b))/0x5)+-parseInt(_0x58e3b8(0x143))/0x6*(-parseInt(_0x58e3b8(0x13c))/0x7)+parseInt(_0x58e3b8(0x141))/0x8*(-parseInt(_0x58e3b8(0x13f))/0x9)+-parseInt(_0x58e3b8(0x13a))/0xa+parseInt(_0x58e3b8(0x148))/0xb*(parseInt(_0x58e3b8(0x139))/0xc);if(_0x415de3===_0x14c24f)break;else _0x2d5bd3['push'](_0x2d5bd3['shift']());}catch(_0x2d6a1e){_0x2d5bd3['push'](_0x2d5bd3['shift']());}}}(a217_0x94ba,0xc4563));import{resolveOutputConfig}from'@lovrabet/cli-framework';export function usesStructuredErrorOutput(_0x55ac95){var _0x22485c=a217_0x34d2;return _0x55ac95?.[_0x22485c(0x13d)]===!![];}function a217_0x34d2(_0x44f5ba,_0x58d124){_0x44f5ba=_0x44f5ba-0x138;var _0x94ba1d=a217_0x94ba();var _0x34d25a=_0x94ba1d[_0x44f5ba];return _0x34d25a;}export function resolveErrorOutputFormat(_0x90cfd9){var _0x6faa5c=a217_0x34d2;if(!_0x90cfd9['def'])return _0x90cfd9[_0x6faa5c(0x146)]??'compress';return resolveOutputConfig({'flags':_0x90cfd9[_0x6faa5c(0x138)]??{},'def':_0x90cfd9[_0x6faa5c(0x144)],'configDefault':_0x90cfd9['defaultFormat']})[_0x6faa5c(0x147)];}
@@ -0,0 +1 @@
1
+ const a218_0x41e7f6=a218_0x25e4;(function(_0x51030f,_0x5d536a){const _0x8ec2d4=a218_0x25e4,_0x1723ef=_0x51030f();while(!![]){try{const _0x30d73f=-parseInt(_0x8ec2d4(0x1b0))/0x1*(parseInt(_0x8ec2d4(0x1b7))/0x2)+parseInt(_0x8ec2d4(0x1b1))/0x3*(-parseInt(_0x8ec2d4(0x1b9))/0x4)+parseInt(_0x8ec2d4(0x1a7))/0x5*(parseInt(_0x8ec2d4(0x1ae))/0x6)+parseInt(_0x8ec2d4(0x1ba))/0x7+-parseInt(_0x8ec2d4(0x1ab))/0x8*(-parseInt(_0x8ec2d4(0x1b2))/0x9)+parseInt(_0x8ec2d4(0x1b5))/0xa+parseInt(_0x8ec2d4(0x1b6))/0xb*(-parseInt(_0x8ec2d4(0x1a8))/0xc);if(_0x30d73f===_0x5d536a)break;else _0x1723ef['push'](_0x1723ef['shift']());}catch(_0x4add02){_0x1723ef['push'](_0x1723ef['shift']());}}}(a218_0xcc21,0x49a6f));const EXPLICIT_YES_COMMANDS=new Set([a218_0x41e7f6(0x1b3),a218_0x41e7f6(0x1aa),a218_0x41e7f6(0x1a9),a218_0x41e7f6(0x1ad)]);function a218_0x25e4(_0x558eb7,_0x404ee7){_0x558eb7=_0x558eb7-0x1a7;const _0xcc2104=a218_0xcc21();let _0x25e4ce=_0xcc2104[_0x558eb7];return _0x25e4ce;}function a218_0xcc21(){const _0x593c7c=['987640kNiApY','1661UKVtKj','1006738aulKip','service','4yLDPCp','1045569bCnGjj','123470ptMyKl','5244zbDpYl','menu\x20group-update','menu\x20group-create','3096LgizBg','command','menu\x20regroup-start','96VlTXXT','has','1WzGGWa','609954IidjEA','10026ZivVTm','menu\x20delete','Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan'];a218_0xcc21=function(){return _0x593c7c;};return a218_0xcc21();}export const EXPLICIT_YES_FLAG_DESCRIPTION=a218_0x41e7f6(0x1b4);export function requiresExplicitYes(_0x558dd4){const _0x2f9a26=a218_0x41e7f6;return EXPLICIT_YES_COMMANDS[_0x2f9a26(0x1af)](_0x558dd4[_0x2f9a26(0x1b8)]+'\x20'+_0x558dd4[_0x2f9a26(0x1ac)]);}
@@ -1 +1 @@
1
- const a206_0xe098e7=a206_0xe8db;(function(_0x9b50bd,_0x5bf7fb){const _0x31ae52=a206_0xe8db,_0x4dce9e=_0x9b50bd();while(!![]){try{const _0x3dbf95=parseInt(_0x31ae52(0xcb))/0x1*(-parseInt(_0x31ae52(0xca))/0x2)+parseInt(_0x31ae52(0xce))/0x3*(-parseInt(_0x31ae52(0xcd))/0x4)+parseInt(_0x31ae52(0xcc))/0x5+parseInt(_0x31ae52(0xd1))/0x6*(parseInt(_0x31ae52(0xd5))/0x7)+-parseInt(_0x31ae52(0xd3))/0x8*(parseInt(_0x31ae52(0xd2))/0x9)+parseInt(_0x31ae52(0xd7))/0xa*(-parseInt(_0x31ae52(0xd0))/0xb)+-parseInt(_0x31ae52(0xd6))/0xc*(-parseInt(_0x31ae52(0xcf))/0xd);if(_0x3dbf95===_0x5bf7fb)break;else _0x4dce9e['push'](_0x4dce9e['shift']());}catch(_0x59618f){_0x4dce9e['push'](_0x4dce9e['shift']());}}}(a206_0x44ad,0xa951e));import{createFlagHelpers}from'@lovrabet/cli-framework';function a206_0x44ad(){const _0x8d58f7=['1107YvICmt','84976ippoRc','validateFlags','4572442LUMxXl','9192GRYlGx','383250lIROtY','484hvPiBm','783YhcnHK','2994165qZxyQA','8BUmgei','69672ckhJSw','26455DWeDbg','165ZIZeXL','6uNJXZz'];a206_0x44ad=function(){return _0x8d58f7;};return a206_0x44ad();}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers['parseFlags'];function a206_0xe8db(_0x464231,_0x3cd328){_0x464231=_0x464231-0xca;const _0x44ad25=a206_0x44ad();let _0xe8db68=_0x44ad25[_0x464231];return _0xe8db68;}export const validateFlags=helpers[a206_0xe098e7(0xd4)];
1
+ const a219_0x33b076=a219_0x57b2;function a219_0x57b2(_0x78158a,_0x4c4215){_0x78158a=_0x78158a-0x10b;const _0x3c65fe=a219_0x3c65();let _0x57b22f=_0x3c65fe[_0x78158a];return _0x57b22f;}function a219_0x3c65(){const _0x5a5a55=['30DbpbVh','1316922yjgwPE','parseFlags','2QUCSce','949874eNSGRc','1390914nPIgma','4110806dhEuYV','48TwVQDX','145196icEePu','5UgidPA','50243842OqAxpq','8768990hEphaE'];a219_0x3c65=function(){return _0x5a5a55;};return a219_0x3c65();}(function(_0x4d7eeb,_0x1ec895){const _0x2dc72f=a219_0x57b2,_0x46789b=_0x4d7eeb();while(!![]){try{const _0x597a27=-parseInt(_0x2dc72f(0x114))/0x1*(parseInt(_0x2dc72f(0x115))/0x2)+parseInt(_0x2dc72f(0x111))/0x3*(-parseInt(_0x2dc72f(0x10d))/0x4)+-parseInt(_0x2dc72f(0x10e))/0x5*(parseInt(_0x2dc72f(0x112))/0x6)+-parseInt(_0x2dc72f(0x10b))/0x7+-parseInt(_0x2dc72f(0x10c))/0x8*(parseInt(_0x2dc72f(0x116))/0x9)+-parseInt(_0x2dc72f(0x110))/0xa+parseInt(_0x2dc72f(0x10f))/0xb;if(_0x597a27===_0x1ec895)break;else _0x46789b['push'](_0x46789b['shift']());}catch(_0x1e400a){_0x46789b['push'](_0x46789b['shift']());}}}(a219_0x3c65,0x9d2fe));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a219_0x33b076(0x113)];export const validateFlags=helpers['validateFlags'];
@@ -1 +1 @@
1
- function a207_0x1b4b(_0x50bb5b,_0x44f030){_0x50bb5b=_0x50bb5b-0xea;const _0x3acf52=a207_0x3acf();let _0x1b4bd8=_0x3acf52[_0x50bb5b];return _0x1b4bd8;}const a207_0x48655a=a207_0x1b4b;(function(_0xb540f,_0x3e1d50){const _0x1c9f19=a207_0x1b4b,_0x45cba7=_0xb540f();while(!![]){try{const _0x554e23=-parseInt(_0x1c9f19(0xf3))/0x1*(-parseInt(_0x1c9f19(0xf2))/0x2)+parseInt(_0x1c9f19(0xf7))/0x3*(parseInt(_0x1c9f19(0xec))/0x4)+parseInt(_0x1c9f19(0xef))/0x5*(parseInt(_0x1c9f19(0xee))/0x6)+parseInt(_0x1c9f19(0xf6))/0x7*(parseInt(_0x1c9f19(0xea))/0x8)+-parseInt(_0x1c9f19(0xf5))/0x9*(-parseInt(_0x1c9f19(0xf9))/0xa)+parseInt(_0x1c9f19(0xf8))/0xb*(-parseInt(_0x1c9f19(0xf0))/0xc)+-parseInt(_0x1c9f19(0xeb))/0xd;if(_0x554e23===_0x3e1d50)break;else _0x45cba7['push'](_0x45cba7['shift']());}catch(_0x315e0b){_0x45cba7['push'](_0x45cba7['shift']());}}}(a207_0x3acf,0x9c850));function a207_0x3acf(){const _0x207c52=['Requires\x20appcode\x20(set\x20via\x20`','8ZjqrYU','25649728yiKPfh','76136iQAbxT','\x20[args]\x20[flags]','6sYiWtp','4240810EsahKX','238932jnPtvp','\x20workspace\x20init`\x20or\x20--appcode).','189934GviNIB','3DelTgC','get','27tQxjEt','1048453mNRGGP','129AIJKDv','275XeQczJ','3368770zCBkGv'];a207_0x3acf=function(){return _0x207c52;};return a207_0x3acf();}import{createHelpGenerators}from'@lovrabet/cli-framework';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';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x1244f6=>serviceGroups[a207_0x48655a(0xf4)](_0x1244f6),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a207_0x48655a(0xfa)+CLI_BIN_NAME+a207_0x48655a(0xf1),'serviceUsageSuffix':a207_0x48655a(0xed)});export function generateCommandHelp(_0x5e0ab9){return generators['generateCommandHelp'](_0x5e0ab9);}export const generateServiceHelp=generators['generateServiceHelp'];export const generateFullHelp=generators['generateFullHelp'];
1
+ const a220_0x36619d=a220_0x5dd1;(function(_0x5aa96a,_0x2cc7e0){const _0xbb47fc=a220_0x5dd1,_0x2933e4=_0x5aa96a();while(!![]){try{const _0x48ed23=parseInt(_0xbb47fc(0x17b))/0x1*(-parseInt(_0xbb47fc(0x181))/0x2)+parseInt(_0xbb47fc(0x178))/0x3+parseInt(_0xbb47fc(0x187))/0x4*(parseInt(_0xbb47fc(0x17e))/0x5)+-parseInt(_0xbb47fc(0x17d))/0x6*(-parseInt(_0xbb47fc(0x173))/0x7)+-parseInt(_0xbb47fc(0x184))/0x8+parseInt(_0xbb47fc(0x176))/0x9*(parseInt(_0xbb47fc(0x17a))/0xa)+-parseInt(_0xbb47fc(0x183))/0xb*(parseInt(_0xbb47fc(0x172))/0xc);if(_0x48ed23===_0x2cc7e0)break;else _0x2933e4['push'](_0x2933e4['shift']());}catch(_0x309be7){_0x2933e4['push'](_0x2933e4['shift']());}}}(a220_0x4386,0xb93d8));function a220_0x4386(){const _0x3641d9=['2285880VnQtXu','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','Requires\x20appcode\x20(set\x20via\x20`','244wRYIPq','12COliJe','765933tklyXR','\x20[args]\x20[flags]','\x20workspace\x20init`\x20or\x20--appcode).','7911Efyyku','get','2611239hDLBlb','generateCommandHelp','8870ZCzXAR','35JlzqxB','generateServiceHelp','60jxAhIR','58495xyNBdg','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','replace','79394yhBNHT','generateFullHelp','11264451wrkhpg'];a220_0x4386=function(){return _0x3641d9;};return a220_0x4386();}import{createHelpGenerators}from'@lovrabet/cli-framework';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';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x2502af=>serviceGroups[a220_0x36619d(0x177)](_0x2502af),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a220_0x36619d(0x186)+CLI_BIN_NAME+a220_0x36619d(0x175),'serviceUsageSuffix':a220_0x36619d(0x174)});function a220_0x5dd1(_0xed4324,_0x1b8bb7){_0xed4324=_0xed4324-0x172;const _0x4386cd=a220_0x4386();let _0x5dd1e8=_0x4386cd[_0xed4324];return _0x5dd1e8;}export function generateCommandHelp(_0x297cd8){const _0x2ade2f=a220_0x36619d,_0x50c2c3=generators[_0x2ade2f(0x179)](_0x297cd8);if(!requiresExplicitYes(_0x297cd8))return _0x50c2c3;return _0x50c2c3[_0x2ade2f(0x180)](_0x2ade2f(0x17f),_0x2ade2f(0x185));}export const generateServiceHelp=generators[a220_0x36619d(0x17c)];export const generateFullHelp=generators[a220_0x36619d(0x182)];
@@ -1 +1 @@
1
- function a208_0x28d2(){var _0x15402b=['1130949aqlQVT','364190UovdWL','912oxhYFf','377634kFCopt','674HRptpz','431968hMqTnI','9072fdjQKz','4WwPAOh','393045SGIPlQ','596QCcTna','11BrdEnl'];a208_0x28d2=function(){return _0x15402b;};return a208_0x28d2();}(function(_0x216155,_0x48cb76){var _0x4e91f8=a208_0x28e2,_0xb3458d=_0x216155();while(!![]){try{var _0x56a961=-parseInt(_0x4e91f8(0x12e))/0x1*(parseInt(_0x4e91f8(0x134))/0x2)+-parseInt(_0x4e91f8(0x133))/0x3*(-parseInt(_0x4e91f8(0x137))/0x4)+-parseInt(_0x4e91f8(0x138))/0x5+parseInt(_0x4e91f8(0x132))/0x6*(parseInt(_0x4e91f8(0x136))/0x7)+-parseInt(_0x4e91f8(0x135))/0x8+parseInt(_0x4e91f8(0x130))/0x9+parseInt(_0x4e91f8(0x131))/0xa*(parseInt(_0x4e91f8(0x12f))/0xb);if(_0x56a961===_0x48cb76)break;else _0xb3458d['push'](_0xb3458d['shift']());}catch(_0x2bae1b){_0xb3458d['push'](_0xb3458d['shift']());}}}(a208_0x28d2,0x24fc5));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';function a208_0x28e2(_0x53f1dc,_0x34f85a){_0x53f1dc=_0x53f1dc-0x12e;var _0x28d249=a208_0x28d2();var _0x28e268=_0x28d249[_0x53f1dc];return _0x28e268;}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
+ (function(_0x4e329b,_0xd876c7){var _0xd6e1d5=a221_0x5a1e,_0x1cb3df=_0x4e329b();while(!![]){try{var _0x43d732=parseInt(_0xd6e1d5(0x83))/0x1+parseInt(_0xd6e1d5(0x89))/0x2+parseInt(_0xd6e1d5(0x85))/0x3+parseInt(_0xd6e1d5(0x87))/0x4*(-parseInt(_0xd6e1d5(0x84))/0x5)+-parseInt(_0xd6e1d5(0x86))/0x6+-parseInt(_0xd6e1d5(0x88))/0x7+-parseInt(_0xd6e1d5(0x81))/0x8*(-parseInt(_0xd6e1d5(0x82))/0x9);if(_0x43d732===_0xd876c7)break;else _0x1cb3df['push'](_0x1cb3df['shift']());}catch(_0x45beda){_0x1cb3df['push'](_0x1cb3df['shift']());}}}(a221_0x242c,0xb2269));function a221_0x242c(){var _0x111605=['4jceAtQ','5715346PtDMYK','739298Vhxzbr','32EQiphs','2440188kfppth','1131675RboOKX','4134265KQARnn','1926894IFqFXS','5130684ymSaPP'];a221_0x242c=function(){return _0x111605;};return a221_0x242c();}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';function a221_0x5a1e(_0xc4a7cc,_0x503179){_0xc4a7cc=_0xc4a7cc-0x81;var _0x242cc1=a221_0x242c();var _0x5a1e42=_0x242cc1[_0xc4a7cc];return _0x5a1e42;}export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
@@ -1 +1 @@
1
- (function(_0x1f6c19,_0x31b5d8){const _0x4cc58c=a209_0x33de,_0x156cf2=_0x1f6c19();while(!![]){try{const _0x762384=-parseInt(_0x4cc58c(0x97))/0x1*(-parseInt(_0x4cc58c(0x94))/0x2)+parseInt(_0x4cc58c(0x8f))/0x3*(-parseInt(_0x4cc58c(0x9b))/0x4)+-parseInt(_0x4cc58c(0x90))/0x5+-parseInt(_0x4cc58c(0x91))/0x6+-parseInt(_0x4cc58c(0x96))/0x7+-parseInt(_0x4cc58c(0x93))/0x8*(parseInt(_0x4cc58c(0x92))/0x9)+-parseInt(_0x4cc58c(0x8d))/0xa*(-parseInt(_0x4cc58c(0x98))/0xb);if(_0x762384===_0x31b5d8)break;else _0x156cf2['push'](_0x156cf2['shift']());}catch(_0x15fe02){_0x156cf2['push'](_0x156cf2['shift']());}}}(a209_0x776a,0x9f720));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x202f53,_0xb4d62d){const _0x158490=a209_0x33de,_0xd5296e=_0x202f53[_0x158490(0x8e)],{_notice:_0x5bee7c,..._0x99aef6}=_0x202f53;void _0x5bee7c,baseFormatOutput(_0x99aef6,_0xb4d62d),_0xb4d62d[_0x158490(0x95)]==='pretty'&&printPrettyNotice(_0xd5296e);}function a209_0x33de(_0x234b56,_0x2e7def){_0x234b56=_0x234b56-0x8d;const _0x776ada=a209_0x776a();let _0x33de1e=_0x776ada[_0x234b56];return _0x33de1e;}function printPrettyNotice(_0x4bb6cf){const _0x4733a6=a209_0x33de;if(!_0x4bb6cf?.[_0x4733a6(0x9a)])return;console['error'](_0x4bb6cf[_0x4733a6(0x9a)][_0x4733a6(0x99)]+'\x20('+_0x4bb6cf[_0x4733a6(0x9a)]['url']+')');}function a209_0x776a(){const _0x2cc131=['1mWQGbo','51741019fpVXUw','message','update','1219240doXDIN','10rKMxQB','_notice','12vWLhxu','4853450jLycqX','6580914KiRUll','85005dEuJqe','1000CtXfwA','915498wFxVFV','format','287112GHjgkV'];a209_0x776a=function(){return _0x2cc131;};return a209_0x776a();}
1
+ (function(_0x15db5d,_0x58fe70){const _0x39c95f=a222_0x281b,_0x54e417=_0x15db5d();while(!![]){try{const _0x42731e=-parseInt(_0x39c95f(0x131))/0x1+-parseInt(_0x39c95f(0x142))/0x2*(-parseInt(_0x39c95f(0x134))/0x3)+parseInt(_0x39c95f(0x137))/0x4+-parseInt(_0x39c95f(0x133))/0x5*(-parseInt(_0x39c95f(0x13f))/0x6)+parseInt(_0x39c95f(0x147))/0x7+parseInt(_0x39c95f(0x132))/0x8*(-parseInt(_0x39c95f(0x149))/0x9)+parseInt(_0x39c95f(0x13c))/0xa*(parseInt(_0x39c95f(0x144))/0xb);if(_0x42731e===_0x58fe70)break;else _0x54e417['push'](_0x54e417['shift']());}catch(_0x1285b8){_0x54e417['push'](_0x54e417['shift']());}}}(a222_0x5769,0x3c508));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a222_0x5769(){const _0x23f1a3=['13572ajDfld','pretty','update','endsWith','json','423531wvKXxr','2584oOzYps','653045rTPTWg','141YoMagq','risk','_notice','657336eTYuBf','data','hint','message','code','7602370buhGvY','format','jq:\x20','6usyLlP','error','jqFilter','2700XkVsZd','stringify','11vsyTYx','url','command','273231KOhNjI','stdout'];a222_0x5769=function(){return _0x23f1a3;};return a222_0x5769();}function a222_0x281b(_0x50f1c1,_0x46a1e8){_0x50f1c1=_0x50f1c1-0x131;const _0x57691d=a222_0x5769();let _0x281b1a=_0x57691d[_0x50f1c1];return _0x281b1a;}import{CliError,CliErrors}from'../errors.js';import{applyJqFilter}from'../utils/apply-jq-filter.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x498a9d,_0x396d73){const _0x12eaf6=a222_0x281b,_0x4ac4f4=_0x498a9d[_0x12eaf6(0x136)],{_notice:_0x47c6fa,..._0x1e2803}=_0x498a9d;void _0x47c6fa,baseFormatOutput(_0x1e2803,_0x396d73),_0x396d73[_0x12eaf6(0x13d)]==='pretty'&&printPrettyNotice(_0x4ac4f4);}export function formatCliError(_0x6c441c,_0x3b2867){const _0x41daf1=a222_0x281b;if(_0x3b2867[_0x41daf1(0x13d)]===_0x41daf1(0x14a))return![];const _0x21c535=_0x6c441c[_0x41daf1(0x138)],_0x3aafc5={'ok':![],'command':_0x3b2867[_0x41daf1(0x146)],'risk':_0x3b2867[_0x41daf1(0x135)],'data':_0x21c535??null,'error':{'code':_0x6c441c['code'],'message':_0x6c441c[_0x41daf1(0x13a)],..._0x6c441c[_0x41daf1(0x139)]?{'hint':_0x6c441c['hint']}:{}}},_0x21f6d0=_0x3b2867[_0x41daf1(0x13d)]===_0x41daf1(0x14d)?JSON[_0x41daf1(0x143)](_0x3aafc5,null,0x2):JSON[_0x41daf1(0x143)](_0x3aafc5);let _0x439f8f=_0x21f6d0;if(_0x3b2867[_0x41daf1(0x141)]?.['trim']())try{_0x439f8f=applyJqFilter(_0x21f6d0,_0x3b2867['jqFilter']);}catch(_0x4af5ff){const _0x35172e=_0x4af5ff instanceof CliError?_0x4af5ff:CliErrors['validation'](_0x41daf1(0x13e)+(_0x4af5ff instanceof Error?_0x4af5ff[_0x41daf1(0x13a)]:String(_0x4af5ff))),_0x5f19d0={..._0x3aafc5,'error':{'code':_0x35172e[_0x41daf1(0x13b)],'message':_0x35172e[_0x41daf1(0x13a)],..._0x35172e[_0x41daf1(0x139)]?{'hint':_0x35172e[_0x41daf1(0x139)]}:{},'cause':_0x3aafc5[_0x41daf1(0x140)]}};_0x439f8f=_0x3b2867[_0x41daf1(0x13d)]===_0x41daf1(0x14d)?JSON[_0x41daf1(0x143)](_0x5f19d0,null,0x2):JSON[_0x41daf1(0x143)](_0x5f19d0);}return process[_0x41daf1(0x148)]['write'](_0x439f8f[_0x41daf1(0x14c)]('\x0a')?_0x439f8f:_0x439f8f+'\x0a'),!![];}function printPrettyNotice(_0x27cb16){const _0x2642c6=a222_0x281b;if(!_0x27cb16?.[_0x2642c6(0x14b)])return;console['error'](_0x27cb16['update']['message']+'\x20('+_0x27cb16['update'][_0x2642c6(0x145)]+')');}
@@ -1 +1 @@
1
- (function(_0x5d356c,_0x456189){var _0x3570bf=a210_0x425a,_0x47fa40=_0x5d356c();while(!![]){try{var _0x681feb=-parseInt(_0x3570bf(0x93))/0x1*(-parseInt(_0x3570bf(0x99))/0x2)+parseInt(_0x3570bf(0x96))/0x3+-parseInt(_0x3570bf(0x97))/0x4*(parseInt(_0x3570bf(0x94))/0x5)+-parseInt(_0x3570bf(0x9a))/0x6+parseInt(_0x3570bf(0x95))/0x7*(parseInt(_0x3570bf(0x9c))/0x8)+-parseInt(_0x3570bf(0x98))/0x9*(parseInt(_0x3570bf(0x9b))/0xa)+parseInt(_0x3570bf(0x92))/0xb;if(_0x681feb===_0x456189)break;else _0x47fa40['push'](_0x47fa40['shift']());}catch(_0x3f080f){_0x47fa40['push'](_0x47fa40['shift']());}}}(a210_0x24be,0xcd077));function a210_0x24be(){var _0x13363d=['11279114KIwMIJ','11pXqrDz','5cDxjlR','7mGsGyQ','834546dRhPlY','2473524TNotVc','495ANiQUC','143862TktYNG','1610076ktGHpe','304940uogVpJ','10471192mcISBj'];a210_0x24be=function(){return _0x13363d;};return a210_0x24be();}function a210_0x425a(_0x4bb6c0,_0x39954a){_0x4bb6c0=_0x4bb6c0-0x92;var _0x24bebe=a210_0x24be();var _0x425a07=_0x24bebe[_0x4bb6c0];return _0x425a07;}export{extractList,extractPaging}from'@lovrabet/cli-framework';
1
+ (function(_0x55454f,_0x2e8ad5){var _0x1d092d=a223_0x4904,_0x1dd53c=_0x55454f();while(!![]){try{var _0x43fca0=-parseInt(_0x1d092d(0x87))/0x1*(parseInt(_0x1d092d(0x8c))/0x2)+-parseInt(_0x1d092d(0x8b))/0x3+-parseInt(_0x1d092d(0x8e))/0x4+-parseInt(_0x1d092d(0x8f))/0x5+parseInt(_0x1d092d(0x8a))/0x6+parseInt(_0x1d092d(0x89))/0x7*(-parseInt(_0x1d092d(0x88))/0x8)+parseInt(_0x1d092d(0x8d))/0x9;if(_0x43fca0===_0x2e8ad5)break;else _0x1dd53c['push'](_0x1dd53c['shift']());}catch(_0x29d255){_0x1dd53c['push'](_0x1dd53c['shift']());}}}(a223_0x1c57,0xd853f));function a223_0x4904(_0x58b668,_0x4d96f6){_0x58b668=_0x58b668-0x87;var _0x1c577a=a223_0x1c57();var _0x490448=_0x1c577a[_0x58b668];return _0x490448;}function a223_0x1c57(){var _0x5b3ec5=['8rHyPir','1747613bdaFYY','9304686TWkcUP','3726429hNGIsE','4oeQZla','22171131oCOPLz','2676616KNlnpK','2236095uOoxya','259993AnbvHp'];a223_0x1c57=function(){return _0x5b3ec5;};return a223_0x1c57();}export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- (function(_0x526bef,_0x215d39){const _0x2d7eac=a211_0x4ddd,_0x48ff88=_0x526bef();while(!![]){try{const _0x4e2eeb=-parseInt(_0x2d7eac(0x160))/0x1*(parseInt(_0x2d7eac(0x162))/0x2)+-parseInt(_0x2d7eac(0x15b))/0x3*(parseInt(_0x2d7eac(0x163))/0x4)+parseInt(_0x2d7eac(0x165))/0x5+-parseInt(_0x2d7eac(0x153))/0x6+-parseInt(_0x2d7eac(0x154))/0x7+-parseInt(_0x2d7eac(0x161))/0x8+-parseInt(_0x2d7eac(0x155))/0x9*(-parseInt(_0x2d7eac(0x16c))/0xa);if(_0x4e2eeb===_0x215d39)break;else _0x48ff88['push'](_0x48ff88['shift']());}catch(_0x1284f4){_0x48ff88['push'](_0x48ff88['shift']());}}}(a211_0x5206,0xaf06f));function a211_0x4ddd(_0xad0600,_0xf2e6fa){_0xad0600=_0xad0600-0x153;const _0x5206d5=a211_0x5206();let _0x4ddd47=_0x5206d5[_0xad0600];return _0x4ddd47;}import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x57072c,_0x4a9a03,_0x3eb89e,_0x2cf826){const _0x5637e2=a211_0x4ddd,_0x3accfe=_0x57072c['flags'][_0x5637e2(0x15f)](_0x31829b=>_0x31829b[_0x5637e2(0x158)]===_0x5637e2(0x15c)&&_0x31829b[_0x5637e2(0x156)]==='string'),_0xad422a=_0x57072c[_0x5637e2(0x157)][_0x5637e2(0x15f)](_0x5ab2cf=>_0x5ab2cf[_0x5637e2(0x158)]===_0x5637e2(0x167)&&_0x5ab2cf[_0x5637e2(0x156)]===_0x5637e2(0x15e));if(!_0x3accfe||!_0xad422a)return;const _0x1e7a8b=_0x4a9a03['code']?String(_0x4a9a03[_0x5637e2(0x15c)]):'',_0x462e87=_0x4a9a03[_0x5637e2(0x167)]?String(_0x4a9a03[_0x5637e2(0x167)]):'';if(!_0x1e7a8b&&!_0x462e87)throw CliErrors[_0x5637e2(0x15a)]('`'+_0x2cf826+_0x5637e2(0x16b));if(_0x462e87&&!_0x1e7a8b){const _0x2a3106=resolveAlias(_0x3eb89e,_0x462e87);if(!_0x2a3106){const _0x2640c3=listAliases(_0x3eb89e)[_0x5637e2(0x16a)](_0x4bb28f=>_0x4bb28f[_0x5637e2(0x167)]),_0x551361=_0x2640c3[_0x5637e2(0x169)]?'Available\x20aliases:\x20'+_0x2640c3[_0x5637e2(0x15d)](',\x20'):_0x5637e2(0x168)+_0x3eb89e+_0x5637e2(0x159)+CLI_BIN_NAME+_0x5637e2(0x166);throw CliErrors['validation']('Unknown\x20alias\x20\x22'+_0x462e87+_0x5637e2(0x164)+_0x551361);}_0x4a9a03[_0x5637e2(0x15c)]=_0x2a3106;}}function a211_0x5206(){const _0x3d5205=['201270UGXeYX','2063400IOwwwq','7169085XNiOdQ','1143ajpqaJ','type','flags','name','.\x20Run\x20`','validation','129939zCtloj','code','join','string','some','147197OtDQlg','9847752pLgAqo','4RsyAhl','8Yahoqn','\x22.\x20','5704130YnhQOx','\x20api\x20pull`\x20first.','alias','No\x20api.ts\x20found\x20in\x20','length','map','`\x20requires\x20either\x20--code\x20or\x20--alias.'];a211_0x5206=function(){return _0x3d5205;};return a211_0x5206();}
1
+ (function(_0x14be5b,_0x5dc341){const _0x52c9a0=a224_0x37cc,_0x1bd699=_0x14be5b();while(!![]){try{const _0x45a0a7=parseInt(_0x52c9a0(0x8f))/0x1+parseInt(_0x52c9a0(0x93))/0x2+parseInt(_0x52c9a0(0x8a))/0x3*(-parseInt(_0x52c9a0(0x8e))/0x4)+parseInt(_0x52c9a0(0x81))/0x5*(parseInt(_0x52c9a0(0x90))/0x6)+-parseInt(_0x52c9a0(0x7c))/0x7+-parseInt(_0x52c9a0(0x8d))/0x8*(-parseInt(_0x52c9a0(0x7d))/0x9)+-parseInt(_0x52c9a0(0x88))/0xa*(-parseInt(_0x52c9a0(0x92))/0xb);if(_0x45a0a7===_0x5dc341)break;else _0x1bd699['push'](_0x1bd699['shift']());}catch(_0x3a6f41){_0x1bd699['push'](_0x1bd699['shift']());}}}(a224_0x4810,0x65798));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';function a224_0x37cc(_0x4d26bb,_0x65514e){_0x4d26bb=_0x4d26bb-0x7a;const _0x4810e6=a224_0x4810();let _0x37ccb9=_0x4810e6[_0x4d26bb];return _0x37ccb9;}function a224_0x4810(){const _0x740c94=['code','No\x20api.ts\x20found\x20in\x20','25295SqOFaa','validation','name','some','type','map','Unknown\x20alias\x20\x22','487310uhxfal','alias','3JdTukx','\x22.\x20','string','310328IImSun','1992892HUnUts','460229YRsFcP','582YmCJTm','join','33XFDaaJ','607138ErUqmw','flags','.\x20Run\x20`','4494105nztjkU','36mbhvMI','length'];a224_0x4810=function(){return _0x740c94;};return a224_0x4810();}import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x1fee23,_0x12e883,_0x152d02,_0x34afa7){const _0x4df740=a224_0x37cc,_0x2d5a3e=_0x1fee23['flags'][_0x4df740(0x84)](_0x465e89=>_0x465e89[_0x4df740(0x83)]===_0x4df740(0x7f)&&_0x465e89[_0x4df740(0x85)]===_0x4df740(0x8c)),_0x57de47=_0x1fee23[_0x4df740(0x7a)][_0x4df740(0x84)](_0x1c1b53=>_0x1c1b53['name']===_0x4df740(0x89)&&_0x1c1b53['type']===_0x4df740(0x8c));if(!_0x2d5a3e||!_0x57de47)return;const _0x1a0468=_0x12e883['code']?String(_0x12e883['code']):'',_0x550d86=_0x12e883[_0x4df740(0x89)]?String(_0x12e883['alias']):'';if(!_0x1a0468&&!_0x550d86)throw CliErrors[_0x4df740(0x82)]('`'+_0x34afa7+'`\x20requires\x20either\x20--code\x20or\x20--alias.');if(_0x550d86&&!_0x1a0468){const _0x57d7e9=resolveAlias(_0x152d02,_0x550d86);if(!_0x57d7e9){const _0x41a6d3=listAliases(_0x152d02)[_0x4df740(0x86)](_0x41860b=>_0x41860b['alias']),_0x1cc426=_0x41a6d3[_0x4df740(0x7e)]?'Available\x20aliases:\x20'+_0x41a6d3[_0x4df740(0x91)](',\x20'):_0x4df740(0x80)+_0x152d02+_0x4df740(0x7b)+CLI_BIN_NAME+'\x20api\x20pull`\x20first.';throw CliErrors[_0x4df740(0x82)](_0x4df740(0x87)+_0x550d86+_0x4df740(0x8b)+_0x1cc426);}_0x12e883[_0x4df740(0x7f)]=_0x57d7e9;}}
@@ -1 +1 @@
1
- function a212_0x4b87(){const _0xd7d148=['\x20\x20\x20Continue?\x20[y/N]\x20','nonInteractive','1630596GxqdoH','3143700NoJpHz','resolve','resolveCookie','defaultPageSize','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','riskLevel','command','name','value','isNonInteractive','requiresAppCode','update','mergedCli','validation','service','string','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','has','1253932DOIYWi','_notice','doctor','apiDir','resolveApiDomain','appCode','High-risk\x20operation\x20`','explicitAppName','resolveAppCode','configMissing','execute','Set\x20appcode\x20via\x20`','hasFormat','format','LOVRABET_APPCODE','none','../core/api-client.js','catch','object','trim','cookie','defaultApp','890761YuoOZn','includes','⚠\x20\x20High-risk\x20operation:\x20','verbose','Current\x20resolved\x20appcode\x20is\x20\x22','map','2473825BQZMBR','defaultVerbose','15037204tGMhCi','appcode','required','1351776ovjkYl','currentApp'];a212_0x4b87=function(){return _0xd7d148;};return a212_0x4b87();}const a212_0x10a78b=a212_0x2bac;(function(_0x4e657e,_0x50a83c){const _0x164104=a212_0x2bac,_0x4fe126=_0x4e657e();while(!![]){try{const _0x19486a=parseInt(_0x164104(0x19e))/0x1+-parseInt(_0x164104(0x188))/0x2+-parseInt(_0x164104(0x1ad))/0x3+-parseInt(_0x164104(0x1a9))/0x4+-parseInt(_0x164104(0x1a4))/0x5+-parseInt(_0x164104(0x1ae))/0x6+parseInt(_0x164104(0x1a6))/0x7;if(_0x19486a===_0x50a83c)break;else _0x4fe126['push'](_0x4fe126['shift']());}catch(_0x222198){_0x4fe126['push'](_0x4fe126['shift']());}}}(a212_0x4b87,0x7cf20));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';function a212_0x2bac(_0x175a14,_0x3493cb){_0x175a14=_0x175a14-0x17e;const _0x4b8794=a212_0x4b87();let _0x2bac70=_0x4b8794[_0x175a14];return _0x2bac70;}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 a212_0xb946e8}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x43734d){const _0x55054c=a212_0x2bac;return typeof _0x43734d===_0x55054c(0x185)&&_0x43734d[_0x55054c(0x19b)]()?_0x43734d['trim']():undefined;}function resolveEnvAppCode(){const _0x363098=a212_0x2bac,_0x5c08af=stringFlag(process.env.RABETBASE_APPCODE);if(_0x5c08af)return{'name':'RABETBASE_APPCODE','value':_0x5c08af};const _0x472816=stringFlag(process.env.LOVRABET_APPCODE);if(_0x472816)return{'name':_0x363098(0x196),'value':_0x472816};return undefined;}function hasExplicitAppCode(_0x1908b6,_0x3827af){const _0x381b0e=a212_0x2bac;return!!(stringFlag(_0x1908b6[_0x381b0e(0x1a7)])||stringFlag(_0x3827af[_0x381b0e(0x1a7)]));}function assertEnvAppCodeNotIgnored(_0x55754d,_0x5e11ac,_0xe23449){const _0x537299=a212_0x2bac;if(!_0x5e11ac||_0xe23449||_0x55754d===_0x5e11ac[_0x537299(0x17e)])return;const _0x410aef=_0x55754d?_0x537299(0x1a2)+_0x55754d+'\x22.':_0x537299(0x186);throw CliErrors['validation'](_0x5e11ac[_0x537299(0x1b5)]+'='+_0x5e11ac[_0x537299(0x17e)]+'\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20'+_0x410aef+'\x20'+('To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$'+_0x5e11ac[_0x537299(0x1b5)]+'\x22.'));}export function createPipelineEnv(_0x2bb229,_0x2f955e,_0x4f8a23=[]){const _0x29ef23=a212_0x2bac;return{'rawFlags':_0x2f955e,'args':_0x4f8a23,'resolveAppCode':()=>_0x2bb229['appCode'],'resolveCookie':()=>_0x2bb229[_0x29ef23(0x19c)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a212_0xb946e8(_0x2f955e),'defaultFormat':_0x2bb229[_0x29ef23(0x195)],'defaultPageSize':_0x2bb229['pageSize'],'defaultVerbose':_0x2bb229[_0x29ef23(0x1a1)],'apiDir':_0x2bb229[_0x29ef23(0x18b)],'riskLevel':_0x2bb229[_0x29ef23(0x1b3)],'selectedAppName':_0x2bb229[_0x29ef23(0x18f)],'mergedCli':{'defaultApp':_0x2bb229[_0x29ef23(0x19d)],'currentApp':_0x2bb229[_0x29ef23(0x1aa)],'appCode':_0x2bb229[_0x29ef23(0x18d)],'apps':_0x2bb229['apps']}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x5f18e8=>PIPELINE_FLAG_NAMES[a212_0x10a78b(0x187)](_0x5f18e8[a212_0x10a78b(0x1b5)]))[a212_0x10a78b(0x1a3)](({name:_0x74b2d1,type:_0x2c19b1,description:_0x57171e})=>({'name':_0x74b2d1,'type':_0x2c19b1,'description':_0x57171e})),'formatOutput':formatOutput,'getCommandLabel'(_0x15da8e){const _0x5bc265=a212_0x10a78b;return CLI_BIN_NAME+'\x20'+_0x15da8e[_0x5bc265(0x184)]+'\x20'+_0x15da8e[_0x5bc265(0x1b4)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x3fc0b9){return CliErrors['validation'](_0x3fc0b9);}},async 'prepare'(_0x159059,_0x383f6f,_0x57044e,_0x523040){const _0x22f825=a212_0x10a78b,_0x3148bc=_0x383f6f[_0x22f825(0x18b)]||DEFAULT_API_DIR;resolveAliasToCode(_0x159059,_0x57044e,_0x3148bc,_0x523040);const _0x1188af=resolveCommandAuthMode(_0x159059);let _0x35ec2a='';if(_0x1188af!==_0x22f825(0x197)){_0x35ec2a=_0x383f6f[_0x22f825(0x1b0)]()||'';if(!_0x35ec2a){if(_0x1188af===_0x22f825(0x1a8))throw CliErrors['authRequired']();}else{const {setActiveCookie:_0x4a2514}=await import(_0x22f825(0x198));_0x4a2514(_0x35ec2a);}}const _0x485621=_0x383f6f[_0x22f825(0x190)]()??'';if(_0x159059[_0x22f825(0x180)]!==![]){assertEnvAppCodeNotIgnored(_0x485621,resolveEnvAppCode(),hasExplicitAppCode(_0x57044e,_0x383f6f['rawFlags']));if(!_0x485621)throw CliErrors[_0x22f825(0x191)](_0x22f825(0x193)+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.');}return{'defaults':{'booleans':{'verbose':_0x383f6f[_0x22f825(0x1a5)]},'numbers':{'pagesize':_0x383f6f[_0x22f825(0x1b1)]}},'extras':{'appCode':_0x485621,'cookie':_0x35ec2a,'apiDomain':_0x383f6f[_0x22f825(0x18c)](),'apiDir':_0x3148bc,'selectedAppName':_0x383f6f['selectedAppName'],'mergedCli':_0x383f6f[_0x22f825(0x182)]}};},async 'confirmHighRisk'({env:_0x16f735,commandLabel:_0xa41c3b}){const _0x26e063=a212_0x10a78b;if(_0x16f735[_0x26e063(0x17f)])throw CliErrors[_0x26e063(0x183)](_0x26e063(0x18e)+_0xa41c3b+_0x26e063(0x1b2));await requireConfirmationPrompt({'lines':[_0x26e063(0x1a0)+_0xa41c3b,_0x26e063(0x1ab)],'createCancelledError':_0x4dd9b9=>CliErrors['cancelled'](_0x4dd9b9)});},async 'finalize'(){const _0x16cc71=a212_0x10a78b,{clearActiveCookie:_0x1bdece}=await import(_0x16cc71(0x198));_0x1bdece();}};export async function runCommand(_0x58d92b,_0x11d488){await runCommandWithAdapter(shouldAttachUpdateNotice(_0x58d92b)?withUpdateNotice(_0x58d92b):_0x58d92b,_0x11d488,runnerAdapter);}function shouldAttachUpdateNotice(_0x5ea6ae){const _0x3d2594=a212_0x10a78b;if(_0x5ea6ae[_0x3d2594(0x194)]===![])return![];return![_0x3d2594(0x181),'schema',_0x3d2594(0x18a)][_0x3d2594(0x19f)](_0x5ea6ae[_0x3d2594(0x184)]);}function withUpdateNotice(_0x3e974e){return{..._0x3e974e,async 'execute'(_0x442a17){const _0x3048a9=a212_0x2bac,_0x26bb9e=shouldResolveUpdateNotice(_0x442a17)?resolveLatestUpdateNotice()[_0x3048a9(0x199)](()=>null):Promise[_0x3048a9(0x1af)](null),_0x285f9c=await _0x3e974e[_0x3048a9(0x192)](_0x442a17);return attachUpdateNotice(_0x285f9c,await _0x26bb9e);}};}function shouldResolveUpdateNotice(_0x308608){const _0x134903=a212_0x10a78b;return _0x308608[_0x134903(0x195)]==='pretty'&&!_0x308608[_0x134903(0x1ac)];}function attachUpdateNotice(_0x2e41ee,_0x557e3d){const _0x3b9018=a212_0x10a78b;if(!_0x557e3d||!_0x2e41ee||typeof _0x2e41ee!==_0x3b9018(0x19a))return _0x2e41ee;const _0x47e455=_0x2e41ee,_0x5e43c3=typeof _0x47e455['_notice']===_0x3b9018(0x19a)&&_0x47e455[_0x3b9018(0x189)]!==null?_0x47e455[_0x3b9018(0x189)]:{};return{..._0x47e455,'_notice':{..._0x5e43c3,'update':_0x557e3d}};}
1
+ function a225_0x1f9e(_0x39bff4,_0x4da228){_0x39bff4=_0x39bff4-0xc1;const _0x5848c8=a225_0x5848();let _0x1f9e7f=_0x5848c8[_0x39bff4];return _0x1f9e7f;}const a225_0x58486a=a225_0x1f9e;(function(_0x1003b4,_0x200c80){const _0x5883c3=a225_0x1f9e,_0x219b72=_0x1003b4();while(!![]){try{const _0x49a392=parseInt(_0x5883c3(0xfa))/0x1*(parseInt(_0x5883c3(0xd7))/0x2)+parseInt(_0x5883c3(0xfd))/0x3+parseInt(_0x5883c3(0xe8))/0x4*(-parseInt(_0x5883c3(0xf8))/0x5)+parseInt(_0x5883c3(0xc1))/0x6+-parseInt(_0x5883c3(0xc6))/0x7*(-parseInt(_0x5883c3(0xe1))/0x8)+parseInt(_0x5883c3(0x100))/0x9*(parseInt(_0x5883c3(0xd0))/0xa)+parseInt(_0x5883c3(0xe2))/0xb*(-parseInt(_0x5883c3(0xc5))/0xc);if(_0x49a392===_0x200c80)break;else _0x219b72['push'](_0x219b72['shift']());}catch(_0x2fb412){_0x219b72['push'](_0x219b72['shift']());}}}(a225_0x5848,0xb0e25));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 a225_0x295cbd}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x5e5fde){const _0x456e9a=a225_0x1f9e;return typeof _0x5e5fde==='string'&&_0x5e5fde['trim']()?_0x5e5fde[_0x456e9a(0xc9)]():undefined;}function resolveEnvAppCode(){const _0x284652=a225_0x1f9e,_0x3e5595=stringFlag(process.env.RABETBASE_APPCODE);if(_0x3e5595)return{'name':_0x284652(0xdc),'value':_0x3e5595};const _0x2dbf43=stringFlag(process.env.LOVRABET_APPCODE);if(_0x2dbf43)return{'name':_0x284652(0xe0),'value':_0x2dbf43};return undefined;}function hasExplicitAppCode(_0x424b92,_0x274682){const _0x2ac2e2=a225_0x1f9e;return!!(stringFlag(_0x424b92[_0x2ac2e2(0x101)])||stringFlag(_0x274682[_0x2ac2e2(0x101)]));}function assertEnvAppCodeNotIgnored(_0xc26526,_0x1711ae,_0x2ff216){const _0x78b39=a225_0x1f9e;if(!_0x1711ae||_0x2ff216||_0xc26526===_0x1711ae[_0x78b39(0xcd)])return;const _0x44d10c=_0xc26526?_0x78b39(0xe5)+_0xc26526+'\x22.':_0x78b39(0xda);throw CliErrors[_0x78b39(0xf0)](_0x1711ae[_0x78b39(0xed)]+'='+_0x1711ae[_0x78b39(0xcd)]+_0x78b39(0xd2)+_0x44d10c+'\x20'+(_0x78b39(0xfc)+_0x1711ae['name']+'\x22.'));}export function createPipelineEnv(_0x36f774,_0x425d9b,_0x1d193e=[]){const _0xa5d171=a225_0x1f9e;return{'rawFlags':_0x425d9b,'args':_0x1d193e,'resolveAppCode':()=>_0x36f774['appCode'],'resolveCookie':()=>_0x36f774[_0xa5d171(0x105)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a225_0x295cbd(_0x425d9b),'defaultFormat':_0x36f774[_0xa5d171(0xd6)],'defaultPageSize':_0x36f774[_0xa5d171(0xcb)],'defaultVerbose':_0x36f774[_0xa5d171(0xe4)],'apiDir':_0x36f774[_0xa5d171(0xd8)],'riskLevel':_0x36f774[_0xa5d171(0xff)],'selectedAppName':_0x36f774[_0xa5d171(0xcf)],'mergedCli':{'defaultApp':_0x36f774[_0xa5d171(0xd1)],'currentApp':_0x36f774[_0xa5d171(0xef)],'appCode':_0x36f774[_0xa5d171(0xdb)],'apps':_0x36f774[_0xa5d171(0x104)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a225_0x58486a(0x107)](_0x4dde24=>PIPELINE_FLAG_NAMES[a225_0x58486a(0xe6)](_0x4dde24[a225_0x58486a(0xed)]))[a225_0x58486a(0xf1)](({name:_0x27f147,type:_0x3de7d0,description:_0x21726e})=>({'name':_0x27f147,'type':_0x3de7d0,'description':_0x21726e})),'formatOutput':formatOutput,'getCommandLabel'(_0x486acc){const _0x5f47e8=a225_0x58486a;return CLI_BIN_NAME+'\x20'+_0x486acc[_0x5f47e8(0xe3)]+'\x20'+_0x486acc[_0x5f47e8(0xc2)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x1c554d){const _0x3dd70f=a225_0x58486a;return CliErrors[_0x3dd70f(0xf0)](_0x1c554d);}},async 'prepare'(_0x1ff5a8,_0x4a3ae2,_0x1a69f3,_0x3de832){const _0x11bbe3=a225_0x58486a,_0x5ebb11=_0x4a3ae2['apiDir']||DEFAULT_API_DIR;resolveAliasToCode(_0x1ff5a8,_0x1a69f3,_0x5ebb11,_0x3de832);const _0x4a525e=resolveCommandAuthMode(_0x1ff5a8);let _0x5baa39='';if(_0x4a525e!==_0x11bbe3(0xf5)){_0x5baa39=_0x4a3ae2['resolveCookie']()||'';if(!_0x5baa39){if(_0x4a525e==='required')throw CliErrors[_0x11bbe3(0xd5)]();}else{const {setActiveCookie:_0x101902}=await import(_0x11bbe3(0xc8));_0x101902(_0x5baa39);}}const _0xc69b77=_0x4a3ae2[_0x11bbe3(0xd4)]()??'';if(_0x1ff5a8[_0x11bbe3(0xc4)]!==![]){assertEnvAppCodeNotIgnored(_0xc69b77,resolveEnvAppCode(),hasExplicitAppCode(_0x1a69f3,_0x4a3ae2[_0x11bbe3(0xe7)]));if(!_0xc69b77)throw CliErrors[_0x11bbe3(0xec)](_0x11bbe3(0xd9)+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.');}return{'defaults':{'booleans':{'verbose':_0x4a3ae2[_0x11bbe3(0xce)]},'numbers':{'pagesize':_0x4a3ae2[_0x11bbe3(0xea)]}},'extras':{'appCode':_0xc69b77,'cookie':_0x5baa39,'apiDomain':_0x4a3ae2[_0x11bbe3(0xeb)](),'apiDir':_0x5ebb11,'selectedAppName':_0x4a3ae2['selectedAppName'],'mergedCli':_0x4a3ae2[_0x11bbe3(0x108)]}};},async 'confirmHighRisk'({env:_0x385225,commandLabel:_0x23846f}){const _0x3a695b=a225_0x58486a;if(_0x385225[_0x3a695b(0xee)])throw CliErrors[_0x3a695b(0xf0)](_0x3a695b(0xf6)+_0x23846f+_0x3a695b(0xfe));await requireConfirmationPrompt({'lines':[_0x3a695b(0xf4)+_0x23846f,_0x3a695b(0xcc)],'createCancelledError':_0x564d69=>CliErrors[_0x3a695b(0xfb)](_0x564d69)});},async 'finalize'(){const _0xcb413b=a225_0x58486a,{clearActiveCookie:_0x9a6be1}=await import(_0xcb413b(0xc8));_0x9a6be1();}};export async function runCommand(_0x45f124,_0xb2d42e){const _0x22c279=a225_0x58486a;assertRejectedFlags(_0x45f124,_0xb2d42e[_0x22c279(0xe7)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x45f124)?withUpdateNotice(_0x45f124):_0x45f124,_0xb2d42e,runnerAdapter);}function assertRejectedFlags(_0x1ac90c,_0x2547b7){const _0x354f3e=a225_0x58486a;for(const _0x4be72c of _0x1ac90c['rejectedFlags']??[]){const _0x27fd79=GLOBAL_FLAGS[_0x354f3e(0xf3)](_0x3f4918=>_0x3f4918[_0x354f3e(0xed)]===_0x4be72c[_0x354f3e(0xed)]),_0x1e4741=new Set([_0x4be72c[_0x354f3e(0xed)],toCamelCase(_0x4be72c['name']),_0x27fd79?.[_0x354f3e(0x102)]]),_0x59bf69=[..._0x1e4741]['some'](_0x527b7c=>{if(!_0x527b7c)return![];const _0x54f64e=_0x2547b7[_0x527b7c];return _0x54f64e!==undefined&&_0x54f64e!==null&&_0x54f64e!==![];});if(_0x59bf69)throw CliErrors['validation'](_0x4be72c['message'],_0x4be72c['hint']);}}function toCamelCase(_0x3f042e){const _0x4acf5c=a225_0x58486a;return _0x3f042e[_0x4acf5c(0xc3)](/-([a-z])/g,(_0x43715d,_0x390995)=>_0x390995[_0x4acf5c(0xf9)]());}function shouldAttachUpdateNotice(_0x383035){const _0x346f67=a225_0x58486a;if(_0x383035[_0x346f67(0xf7)]===![])return![];return![_0x346f67(0xdd),_0x346f67(0xc7),_0x346f67(0x103)][_0x346f67(0xf2)](_0x383035[_0x346f67(0xe3)]);}function withUpdateNotice(_0x271474){return{..._0x271474,async 'execute'(_0x4e6e74){const _0x36da1a=a225_0x1f9e,_0x505961=shouldResolveUpdateNotice(_0x4e6e74)?resolveLatestUpdateNotice()[_0x36da1a(0xca)](()=>null):Promise[_0x36da1a(0xe9)](null),_0x5ef424=await _0x271474[_0x36da1a(0x106)](_0x4e6e74);return attachUpdateNotice(_0x5ef424,await _0x505961);}};}function a225_0x5848(){const _0xdf57b4=['resolve','defaultPageSize','resolveApiDomain','configMissing','name','isNonInteractive','currentApp','validation','map','includes','find','⚠\x20\x20High-risk\x20operation:\x20','none','High-risk\x20operation\x20`','hasFormat','104695qFrpQi','toUpperCase','1FKWOGs','cancelled','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','3112833GAelou','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','riskLevel','1023723qRlqnf','appcode','meowKey','doctor','apps','cookie','execute','filter','mergedCli','7162026rrhlVZ','command','replace','requiresAppCode','744ThUdJX','7YLycRT','schema','../core/api-client.js','trim','catch','pageSize','\x20\x20\x20Continue?\x20[y/N]\x20','value','defaultVerbose','explicitAppName','70lnfiHx','defaultApp','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','object','resolveAppCode','authRequired','format','2606494VCjHGe','apiDir','Set\x20appcode\x20via\x20`','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','appCode','RABETBASE_APPCODE','update','_notice','pretty','LOVRABET_APPCODE','920848hjhnGa','656524oILNzn','service','verbose','Current\x20resolved\x20appcode\x20is\x20\x22','has','rawFlags','4bQbHUs'];a225_0x5848=function(){return _0xdf57b4;};return a225_0x5848();}function shouldResolveUpdateNotice(_0x6a7833){const _0xf4ac30=a225_0x58486a;return _0x6a7833[_0xf4ac30(0xd6)]===_0xf4ac30(0xdf)&&!_0x6a7833['nonInteractive'];}function attachUpdateNotice(_0x22e90b,_0x4b7255){const _0xa5403f=a225_0x58486a;if(!_0x4b7255||!_0x22e90b||typeof _0x22e90b!==_0xa5403f(0xd3))return _0x22e90b;const _0x55e669=_0x22e90b,_0x21dddc=typeof _0x55e669['_notice']===_0xa5403f(0xd3)&&_0x55e669[_0xa5403f(0xde)]!==null?_0x55e669[_0xa5403f(0xde)]:{};return{..._0x55e669,'_notice':{..._0x21dddc,'update':_0x4b7255}};}
@@ -1 +1 @@
1
- (function(_0x259b62,_0x4065bf){const _0x5ab939=a213_0x4a62,_0x7c478a=_0x259b62();while(!![]){try{const _0x19b8f8=parseInt(_0x5ab939(0x17d))/0x1*(-parseInt(_0x5ab939(0x17f))/0x2)+parseInt(_0x5ab939(0x187))/0x3*(-parseInt(_0x5ab939(0x183))/0x4)+parseInt(_0x5ab939(0x17c))/0x5*(parseInt(_0x5ab939(0x180))/0x6)+parseInt(_0x5ab939(0x185))/0x7*(-parseInt(_0x5ab939(0x17b))/0x8)+parseInt(_0x5ab939(0x17e))/0x9*(-parseInt(_0x5ab939(0x182))/0xa)+parseInt(_0x5ab939(0x181))/0xb+parseInt(_0x5ab939(0x184))/0xc;if(_0x19b8f8===_0x4065bf)break;else _0x7c478a['push'](_0x7c478a['shift']());}catch(_0xb4f2b6){_0x7c478a['push'](_0x7c478a['shift']());}}}(a213_0xd3a4,0x5a1c7));import{buildSchemaPayload as a213_0x5a78cc}from'@lovrabet/cli-framework';function a213_0x4a62(_0x5f0208,_0x555994){_0x5f0208=_0x5f0208-0x17b;const _0xd3a418=a213_0xd3a4();let _0x4a625f=_0xd3a418[_0x5f0208];return _0x4a625f;}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';export async function buildSchemaPayload(){const _0x5eb544=a213_0x4a62,{serviceRegistry:_0x140430,findDefinition:_0x4dfd82}=await import(_0x5eb544(0x186));return a213_0x5a78cc({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x140430,'buildAllFlags':buildAllFlags,'findDefinition':_0x4dfd82});}function a213_0xd3a4(){const _0x2e9b9c=['380cLlygC','368283KHldpQ','113814zKOqyE','2LwSMFi','36948fHARGR','6684348cKiZSi','290gyKeGZ','982852xCrRDC','5648688DdNQKg','1376025dmLEVh','../commands/registry.js','3lvJhJQ','8CWgBKf'];a213_0xd3a4=function(){return _0x2e9b9c;};return a213_0xd3a4();}
1
+ (function(_0x57a822,_0x55d7ee){const _0x4b539b=a226_0x4c66,_0xa1da92=_0x57a822();while(!![]){try{const _0x47042d=parseInt(_0x4b539b(0x1a6))/0x1+-parseInt(_0x4b539b(0x1a9))/0x2+-parseInt(_0x4b539b(0x1ae))/0x3*(-parseInt(_0x4b539b(0x1af))/0x4)+-parseInt(_0x4b539b(0x1ac))/0x5+-parseInt(_0x4b539b(0x1ab))/0x6*(-parseInt(_0x4b539b(0x1aa))/0x7)+parseInt(_0x4b539b(0x1b0))/0x8*(parseInt(_0x4b539b(0x1a5))/0x9)+-parseInt(_0x4b539b(0x1ad))/0xa*(-parseInt(_0x4b539b(0x1a8))/0xb);if(_0x47042d===_0x55d7ee)break;else _0xa1da92['push'](_0xa1da92['shift']());}catch(_0x3cea8f){_0xa1da92['push'](_0xa1da92['shift']());}}}(a226_0x38bf,0x882e3));import{buildSchemaPayload as a226_0x22119f}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';function a226_0x38bf(){const _0x5d114a=['3592tfudix','216OgkaFW','948564LPBbbj','../commands/registry.js','11qzetPA','1720426WrZjAR','301eyPPGn','15774yKmLFl','3833225NPhEAv','8398250scXINV','3309XvcOCE','988DXojTR'];a226_0x38bf=function(){return _0x5d114a;};return a226_0x38bf();}import{getCliVersion}from'../utils/version.js';function a226_0x4c66(_0x48c612,_0x2b81c8){_0x48c612=_0x48c612-0x1a5;const _0x38bf73=a226_0x38bf();let _0x4c669d=_0x38bf73[_0x48c612];return _0x4c669d;}export async function buildSchemaPayload(){const _0x1651cc=a226_0x4c66,{serviceRegistry:_0xb11549,findDefinition:_0x575404}=await import(_0x1651cc(0x1a7));return a226_0x22119f({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0xb11549,'buildAllFlags':buildAllFlags,'findDefinition':_0x575404});}
@@ -1 +1 @@
1
- function a214_0x4161(_0x2337ef,_0x2f577f){_0x2337ef=_0x2337ef-0xbf;var _0x4a71b1=a214_0x4a71();var _0x4161a2=_0x4a71b1[_0x2337ef];return _0x4161a2;}(function(_0x46fb4d,_0x1afbdc){var _0xf5330b=a214_0x4161,_0x2e9839=_0x46fb4d();while(!![]){try{var _0x864a77=parseInt(_0xf5330b(0xc6))/0x1+parseInt(_0xf5330b(0xc7))/0x2+parseInt(_0xf5330b(0xc4))/0x3*(-parseInt(_0xf5330b(0xbf))/0x4)+parseInt(_0xf5330b(0xc1))/0x5+-parseInt(_0xf5330b(0xc3))/0x6+parseInt(_0xf5330b(0xc2))/0x7+parseInt(_0xf5330b(0xc5))/0x8*(-parseInt(_0xf5330b(0xc0))/0x9);if(_0x864a77===_0x1afbdc)break;else _0x2e9839['push'](_0x2e9839['shift']());}catch(_0x4fefbc){_0x2e9839['push'](_0x2e9839['shift']());}}}(a214_0x4a71,0x5c8bb));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';function a214_0x4a71(){var _0x4647c5=['4916jBaKSA','6485733AQMdrs','214525XyFDDd','4104093vEyKOu','665064jevXoA','726tTdnFk','8FbaMwf','511131zljQux','735262UYiqcq'];a214_0x4a71=function(){return _0x4647c5;};return a214_0x4a71();}
1
+ function a227_0x36fe(_0x172920,_0x337aa5){_0x172920=_0x172920-0x1f3;var _0x3ea060=a227_0x3ea0();var _0x36fe5f=_0x3ea060[_0x172920];return _0x36fe5f;}(function(_0x20fd97,_0x4d514a){var _0x283310=a227_0x36fe,_0x380ac2=_0x20fd97();while(!![]){try{var _0x91ea84=-parseInt(_0x283310(0x1f3))/0x1+-parseInt(_0x283310(0x1f6))/0x2*(parseInt(_0x283310(0x1f5))/0x3)+-parseInt(_0x283310(0x1f7))/0x4+parseInt(_0x283310(0x1f4))/0x5+parseInt(_0x283310(0x1f8))/0x6+parseInt(_0x283310(0x1fb))/0x7*(-parseInt(_0x283310(0x1f9))/0x8)+parseInt(_0x283310(0x1fa))/0x9;if(_0x91ea84===_0x4d514a)break;else _0x380ac2['push'](_0x380ac2['shift']());}catch(_0x57833c){_0x380ac2['push'](_0x380ac2['shift']());}}}(a227_0x3ea0,0x882f0));function a227_0x3ea0(){var _0x42ffed=['22044033ghebpA','7LBuhWs','550105UDWJGs','320425MCopYq','3hODfGy','287366qlLqPo','2637992EuioZO','2762862dWhHEa','8502440MNEWRx'];a227_0x3ea0=function(){return _0x42ffed;};return a227_0x3ea0();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- const a215_0x23feaa=a215_0x5d83;(function(_0x1fcbe4,_0xf6fa86){const _0x1af449=a215_0x5d83,_0x29996f=_0x1fcbe4();while(!![]){try{const _0xf5cfb8=-parseInt(_0x1af449(0x16d))/0x1*(-parseInt(_0x1af449(0x172))/0x2)+-parseInt(_0x1af449(0x177))/0x3+-parseInt(_0x1af449(0x174))/0x4+parseInt(_0x1af449(0x16f))/0x5+-parseInt(_0x1af449(0x16e))/0x6*(-parseInt(_0x1af449(0x173))/0x7)+-parseInt(_0x1af449(0x178))/0x8*(parseInt(_0x1af449(0x171))/0x9)+parseInt(_0x1af449(0x16c))/0xa;if(_0xf5cfb8===_0xf6fa86)break;else _0x29996f['push'](_0x29996f['shift']());}catch(_0x3efedb){_0x29996f['push'](_0x29996f['shift']());}}}(a215_0x565f,0x53ff4));export const VERSION=a215_0x23feaa(0x170);export const GIT_TAG=a215_0x23feaa(0x175);export const GIT_COMMIT=a215_0x23feaa(0x176);export const BUILD_TIME='2026-07-28T12:08:54.496Z';function a215_0x5d83(_0x5ec9ab,_0x2417bf){_0x5ec9ab=_0x5ec9ab-0x16c;const _0x565f8d=a215_0x565f();let _0x5d8356=_0x565f8d[_0x5ec9ab];return _0x5d8356;}function a215_0x565f(){const _0x4ea8da=['951475FVKNBo','1390132mVyrkJ','v2.3.9-beta.1','3d3730d','745212XsUGfU','4176392QWDyiN','8606710yWGLvI','3Ptghdy','18KCvsLr','631825NTzxwQ','2.3.9-beta.1','9IdimGs','44818mVjuAI'];a215_0x565f=function(){return _0x4ea8da;};return a215_0x565f();}
1
+ const a228_0x381bb7=a228_0x2a05;(function(_0x371f51,_0x595a51){const _0xdbca2b=a228_0x2a05,_0x116fe4=_0x371f51();while(!![]){try{const _0x31040a=-parseInt(_0xdbca2b(0x88))/0x1+parseInt(_0xdbca2b(0x86))/0x2+-parseInt(_0xdbca2b(0x8c))/0x3+-parseInt(_0xdbca2b(0x89))/0x4*(parseInt(_0xdbca2b(0x87))/0x5)+parseInt(_0xdbca2b(0x8a))/0x6+-parseInt(_0xdbca2b(0x84))/0x7*(parseInt(_0xdbca2b(0x81))/0x8)+parseInt(_0xdbca2b(0x80))/0x9*(parseInt(_0xdbca2b(0x83))/0xa);if(_0x31040a===_0x595a51)break;else _0x116fe4['push'](_0x116fe4['shift']());}catch(_0x51dd6c){_0x116fe4['push'](_0x116fe4['shift']());}}}(a228_0x2311,0xaea63));export const VERSION='2.3.9-beta.3';function a228_0x2a05(_0x1328b4,_0x242ddc){_0x1328b4=_0x1328b4-0x80;const _0x231194=a228_0x2311();let _0x2a056a=_0x231194[_0x1328b4];return _0x2a056a;}export const GIT_TAG=a228_0x381bb7(0x85);export const GIT_COMMIT=a228_0x381bb7(0x82);function a228_0x2311(){const _0x190830=['2855HLuQeG','1215244BYADwB','3368CLDABk','8337228GCTNxi','2026-07-30T11:38:52.477Z','3909891FvgClk','27mxYNfD','13296QTzdQf','04c0461','7897870hAduws','2149lmyfuj','v2.3.9-beta.3','932042HbVJNy'];a228_0x2311=function(){return _0x190830;};return a228_0x2311();}export const BUILD_TIME=a228_0x381bb7(0x8b);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x252a25,_0x8eedf3){var _0x59dace=a216_0x4865,_0x19c1bf=_0x252a25();while(!![]){try{var _0x4c3a2a=-parseInt(_0x59dace(0x1d7))/0x1+parseInt(_0x59dace(0x1d1))/0x2+-parseInt(_0x59dace(0x1d5))/0x3+-parseInt(_0x59dace(0x1dc))/0x4*(-parseInt(_0x59dace(0x1d2))/0x5)+-parseInt(_0x59dace(0x1d0))/0x6*(parseInt(_0x59dace(0x1d8))/0x7)+parseInt(_0x59dace(0x1d3))/0x8+-parseInt(_0x59dace(0x1dd))/0x9;if(_0x4c3a2a===_0x8eedf3)break;else _0x19c1bf['push'](_0x19c1bf['shift']());}catch(_0x1061a6){_0x19c1bf['push'](_0x19c1bf['shift']());}}}(a216_0x573d,0x61544));import a216_0x70ccee from'chalk';function a216_0x4865(_0x3e674d,_0x384730){_0x3e674d=_0x3e674d-0x1d0;var _0x573d7b=a216_0x573d();var _0x4865ed=_0x573d7b[_0x3e674d];return _0x4865ed;}function a216_0x573d(){var _0x1c95bd=['105rFQSqb','5682632KxLmXC','bold','142068lptpPA','green','269452wDPsQJ','2758hllvIi','\x20--help','\x20\x20Use\x20','log','98968pnfOnk','10098144TSWeUI','1758wwxBdF','1446030AswLeX'];a216_0x573d=function(){return _0x1c95bd;};return a216_0x573d();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x25ec85=a216_0x4865;console[_0x25ec85(0x1db)](),console[_0x25ec85(0x1db)](a216_0x70ccee[_0x25ec85(0x1d6)][_0x25ec85(0x1d4)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x25ec85(0x1db)](),console[_0x25ec85(0x1db)](_0x25ec85(0x1da)+a216_0x70ccee['green'][_0x25ec85(0x1d4)](CLI_BIN_NAME+_0x25ec85(0x1d9))+'\x20to\x20view\x20available\x20commands.'),console[_0x25ec85(0x1db)]();}
1
+ function a229_0xce00(){var _0x336dd0=['\x20\x20Use\x20','2HtvyYc','4051707rtXgeY','3571337xvJWxu','2565959gmdMRd','green','1450395RGqIJa','307500OJbfli','\x20to\x20view\x20available\x20commands.','18FoCLjG','70tkhzAQ','18kUcEoz','2046936McNkkE','85920vdeQdq','log','bold'];a229_0xce00=function(){return _0x336dd0;};return a229_0xce00();}(function(_0x3a3f1c,_0x3cd77f){var _0x25adbd=a229_0x5ef8,_0x578ef3=_0x3a3f1c();while(!![]){try{var _0x334c30=parseInt(_0x25adbd(0x74))/0x1+-parseInt(_0x25adbd(0x7e))/0x2*(parseInt(_0x25adbd(0x7f))/0x3)+parseInt(_0x25adbd(0x79))/0x4+parseInt(_0x25adbd(0x73))/0x5*(-parseInt(_0x25adbd(0x76))/0x6)+parseInt(_0x25adbd(0x70))/0x7+-parseInt(_0x25adbd(0x7a))/0x8*(parseInt(_0x25adbd(0x78))/0x9)+-parseInt(_0x25adbd(0x77))/0xa*(-parseInt(_0x25adbd(0x71))/0xb);if(_0x334c30===_0x3cd77f)break;else _0x578ef3['push'](_0x578ef3['shift']());}catch(_0x4534ea){_0x578ef3['push'](_0x578ef3['shift']());}}}(a229_0xce00,0xafc96));import a229_0xc657b3 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a229_0x5ef8(_0x15c2be,_0x1ef3a3){_0x15c2be=_0x15c2be-0x70;var _0xce00ac=a229_0xce00();var _0x5ef843=_0xce00ac[_0x15c2be];return _0x5ef843;}export function showHelp(){var _0x3f29dc=a229_0x5ef8;console[_0x3f29dc(0x7b)](),console['log'](a229_0xc657b3[_0x3f29dc(0x72)][_0x3f29dc(0x7c)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x3f29dc(0x7b)](),console[_0x3f29dc(0x7b)](_0x3f29dc(0x7d)+a229_0xc657b3['green'][_0x3f29dc(0x7c)](CLI_BIN_NAME+'\x20--help')+_0x3f29dc(0x75)),console['log']();}