@lovrabet/lovrabet-cli 2.3.6-beta.2 → 2.3.6

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 (184) hide show
  1. package/README.md +33 -2
  2. package/lib/cli.js +1 -1
  3. package/lib/commands/api-doc/index.js +1 -1
  4. package/lib/commands/app/cache.js +1 -1
  5. package/lib/commands/app/definitions.js +1 -1
  6. package/lib/commands/app/eligibility.js +1 -1
  7. package/lib/commands/app/mock-loader.js +1 -1
  8. package/lib/commands/app/remote-source.js +1 -1
  9. package/lib/commands/app/shared.js +1 -1
  10. package/lib/commands/app-config/get.js +1 -1
  11. package/lib/commands/app-config/index.js +1 -1
  12. package/lib/commands/approval/index.js +1 -1
  13. package/lib/commands/artifact/index.js +1 -1
  14. package/lib/commands/auth/device.js +1 -1
  15. package/lib/commands/auth/index.js +1 -1
  16. package/lib/commands/auth/prompt.js +1 -1
  17. package/lib/commands/bff/detail.js +1 -1
  18. package/lib/commands/bff/exec.js +1 -1
  19. package/lib/commands/bff/index.js +1 -1
  20. package/lib/commands/cli-skill/index.js +1 -1
  21. package/lib/commands/common/config-policy.js +1 -1
  22. package/lib/commands/common/constraints.js +1 -1
  23. package/lib/commands/common/flags.js +1 -1
  24. package/lib/commands/common/local-file.js +1 -1
  25. package/lib/commands/config/definitions.js +1 -1
  26. package/lib/commands/config/init.js +1 -1
  27. package/lib/commands/config/shared.js +1 -1
  28. package/lib/commands/data/import-excel.js +1 -1
  29. package/lib/commands/data/index.js +1 -1
  30. package/lib/commands/dataset/detail.js +1 -1
  31. package/lib/commands/dataset/index.js +1 -1
  32. package/lib/commands/dataset/list.js +1 -1
  33. package/lib/commands/dataset/sdk-doc.js +1 -1
  34. package/lib/commands/doctor.js +1 -1
  35. package/lib/commands/file/index.js +1 -1
  36. package/lib/commands/init.js +1 -1
  37. package/lib/commands/kb/index.js +1 -1
  38. package/lib/commands/logs/index.js +1 -1
  39. package/lib/commands/notification/config-list.js +1 -1
  40. package/lib/commands/notification/index.js +1 -1
  41. package/lib/commands/notification/shared.js +1 -1
  42. package/lib/commands/ocr/index.js +1 -1
  43. package/lib/commands/permit/dataset-get.js +1 -1
  44. package/lib/commands/permit/dataset-set.js +1 -1
  45. package/lib/commands/permit/index.js +1 -1
  46. package/lib/commands/permit/page-get.js +1 -1
  47. package/lib/commands/permit/page-set.js +1 -1
  48. package/lib/commands/permit/role-menus-set.js +1 -1
  49. package/lib/commands/permit/role-menus.js +1 -1
  50. package/lib/commands/permit/shared.js +1 -1
  51. package/lib/commands/personal-bff/index.js +1 -1
  52. package/lib/commands/registry.js +1 -1
  53. package/lib/commands/role/create.js +1 -1
  54. package/lib/commands/role/delete.js +1 -1
  55. package/lib/commands/role/detail.js +1 -1
  56. package/lib/commands/role/index.js +1 -1
  57. package/lib/commands/role/list.js +1 -1
  58. package/lib/commands/role/shared.js +1 -1
  59. package/lib/commands/role/update.js +1 -1
  60. package/lib/commands/role/user-add.js +1 -1
  61. package/lib/commands/role/user-remove.js +1 -1
  62. package/lib/commands/schedule/index.js +1 -1
  63. package/lib/commands/schema.js +1 -1
  64. package/lib/commands/service/dynamic.js +1 -1
  65. package/lib/commands/service/function-name-adapter.js +1 -1
  66. package/lib/commands/service/index.js +1 -1
  67. package/lib/commands/service/registry.js +1 -1
  68. package/lib/commands/skill/commands/create.js +1 -1
  69. package/lib/commands/skill/commands/diagram.js +1 -1
  70. package/lib/commands/skill/commands/install.js +1 -1
  71. package/lib/commands/skill/commands/list.js +1 -1
  72. package/lib/commands/skill/commands/push.js +1 -1
  73. package/lib/commands/skill/commands/validate.js +1 -1
  74. package/lib/commands/skill/diagram.js +1 -1
  75. package/lib/commands/skill/flags.js +1 -1
  76. package/lib/commands/skill/index.js +1 -1
  77. package/lib/commands/skill/manifest-helpers.js +1 -1
  78. package/lib/commands/skill/push-execute.js +1 -1
  79. package/lib/commands/skill/push-flow-helpers.js +1 -1
  80. package/lib/commands/skill/push-retarget.js +1 -1
  81. package/lib/commands/skill/scopes.js +1 -1
  82. package/lib/commands/skill/summary.js +1 -1
  83. package/lib/commands/skill/templates.js +1 -1
  84. package/lib/commands/skill/validate.js +1 -1
  85. package/lib/commands/sql/detail.js +1 -1
  86. package/lib/commands/sql/exec.js +1 -1
  87. package/lib/commands/sql/index.js +1 -1
  88. package/lib/commands/update.js +1 -1
  89. package/lib/commands/user-account/bind.js +1 -1
  90. package/lib/commands/user-account/index.js +1 -1
  91. package/lib/commands/workspace/index.js +1 -1
  92. package/lib/config/domain-config.js +1 -1
  93. package/lib/config/schema.js +1 -1
  94. package/lib/constant/app.js +1 -1
  95. package/lib/constant/auth-mode.js +1 -1
  96. package/lib/constant/cli.js +1 -1
  97. package/lib/constant/defaults.js +1 -1
  98. package/lib/constant/distribution.js +1 -1
  99. package/lib/constant/domain.js +1 -1
  100. package/lib/constant/env.js +1 -1
  101. package/lib/constant/output.js +1 -1
  102. package/lib/constant/product.js +1 -1
  103. package/lib/constant/region.js +1 -1
  104. package/lib/constant/risk.js +1 -1
  105. package/lib/constant/url.js +1 -1
  106. package/lib/context.js +1 -1
  107. package/lib/core/api-client.d.ts +6 -6
  108. package/lib/core/api-client.js +1 -1
  109. package/lib/core/db-resolver.js +1 -1
  110. package/lib/core/kb-management-client.d.ts +17 -0
  111. package/lib/core/kb-management-client.js +1 -0
  112. package/lib/core/kb-search-client.js +1 -1
  113. package/lib/core/sdk-client.js +1 -1
  114. package/lib/errors.js +1 -1
  115. package/lib/framework/access-error.js +1 -1
  116. package/lib/framework/build-all-flags.js +1 -1
  117. package/lib/framework/dryrun.js +1 -1
  118. package/lib/framework/flags.js +1 -1
  119. package/lib/framework/help.js +1 -1
  120. package/lib/framework/index.js +1 -1
  121. package/lib/framework/output.js +1 -1
  122. package/lib/framework/preparse.js +1 -1
  123. package/lib/framework/rate-limit.js +1 -1
  124. package/lib/framework/raw-flags.js +1 -1
  125. package/lib/framework/response.js +1 -1
  126. package/lib/framework/runner-confirmation.js +1 -1
  127. package/lib/framework/runner-error.js +1 -1
  128. package/lib/framework/runner.js +1 -1
  129. package/lib/framework/schema-export.js +1 -1
  130. package/lib/framework/service-order.js +1 -1
  131. package/lib/framework/types.js +1 -1
  132. package/lib/generated/build-info.d.ts +4 -4
  133. package/lib/generated/build-info.js +1 -1
  134. package/lib/generated/official-routing.js +1 -1
  135. package/lib/generated/routing-contract.js +1 -1
  136. package/lib/help.js +1 -1
  137. package/lib/postinstall.js +1 -1
  138. package/lib/runtime/confirmation.js +1 -1
  139. package/lib/runtime/event.js +1 -1
  140. package/lib/runtime/index.js +1 -1
  141. package/lib/runtime/queue.js +1 -1
  142. package/lib/runtime/resolve.js +1 -1
  143. package/lib/services/dataset-import/auto-id-runner.js +1 -1
  144. package/lib/services/dataset-import/excel-reader.js +1 -1
  145. package/lib/services/dataset-import/image-bytes.js +1 -1
  146. package/lib/services/dataset-import/image-ooxml.js +1 -1
  147. package/lib/services/dataset-import/image-runner.js +1 -1
  148. package/lib/services/dataset-import/metadata.js +1 -1
  149. package/lib/services/dataset-import/preview.js +1 -1
  150. package/lib/services/dataset-import/runner.js +1 -1
  151. package/lib/skills/builtin-skill.js +1 -1
  152. package/lib/skills/npx-skills-add.js +1 -1
  153. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  154. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  155. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  156. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  157. package/lib/skills/runtime-skill-sync/links.js +1 -1
  158. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  159. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  160. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  161. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  162. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  163. package/lib/skills/runtime-skill-sync/push.js +1 -1
  164. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  165. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  166. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  167. package/lib/skills/runtime-skill-sync.js +1 -1
  168. package/lib/skills/skill-presence.js +1 -1
  169. package/lib/utils/access-key-redaction.js +1 -1
  170. package/lib/utils/apply-jq-filter.js +1 -1
  171. package/lib/utils/cli-version-check.js +1 -1
  172. package/lib/utils/cli-version-policy.js +1 -1
  173. package/lib/utils/logger.js +1 -1
  174. package/lib/utils/lossless-json.js +1 -1
  175. package/lib/utils/params.js +1 -1
  176. package/lib/utils/positive-safe-integer.js +1 -1
  177. package/lib/utils/redaction.js +1 -1
  178. package/lib/utils/update-notice.js +1 -1
  179. package/lib/utils/version.js +1 -1
  180. package/lib/utils/write-cli-side-channel.js +1 -1
  181. package/package.json +1 -1
  182. package/skills/lovrabet/SKILL.md +1 -1
  183. package/skills/lovrabet/references/lovrabet-kb-workflow.md +7 -3
  184. package/skills/lovrabet.manifest.json +3 -3
@@ -1 +1 @@
1
- (function(_0x483ee3,_0xf5e6c){const _0x5ac2e0=a124_0x3d08,_0x3f414b=_0x483ee3();while(!![]){try{const _0x1b0919=parseInt(_0x5ac2e0(0x1a5))/0x1+parseInt(_0x5ac2e0(0x1a0))/0x2+parseInt(_0x5ac2e0(0x1a7))/0x3*(parseInt(_0x5ac2e0(0x19c))/0x4)+parseInt(_0x5ac2e0(0x19a))/0x5*(-parseInt(_0x5ac2e0(0x1a2))/0x6)+-parseInt(_0x5ac2e0(0x1a1))/0x7*(-parseInt(_0x5ac2e0(0x197))/0x8)+-parseInt(_0x5ac2e0(0x19f))/0x9+-parseInt(_0x5ac2e0(0x1a6))/0xa;if(_0x1b0919===_0xf5e6c)break;else _0x3f414b['push'](_0x3f414b['shift']());}catch(_0x54a0d7){_0x3f414b['push'](_0x3f414b['shift']());}}}(a124_0xd5fe,0xb03d5));import{buildSchemaPayload as a124_0x301e90}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a124_0xd5fe(){const _0x341851=['15stoqan','has','44kbTBCm','none','auth','347607XZoFfI','1618848zipWow','143549lRsjvx','2367132lraNyE','commands','requiresAuth','1139513CiKlUz','12293260bNLgfb','3966nTFXZh','service','../commands/registry.js','services','472deXeyq','required','map'];a124_0xd5fe=function(){return _0x341851;};return a124_0xd5fe();}import{findDynamicServiceDefinition,listDynamicServiceEntries}from'../commands/service/dynamic.js';import{insertDynamicServicesAfterServiceTree}from'../framework/service-order.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a124_0x3d08(_0xd83c93,_0x57cc34){_0xd83c93=_0xd83c93-0x195;const _0xd5fe96=a124_0xd5fe();let _0x3d089e=_0xd5fe96[_0xd83c93];return _0x3d089e;}import{getCliGitCommit,getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x5baa85=a124_0x3d08,{serviceRegistry:_0x494d17,findDefinition:_0x5451ba}=await import(_0x5baa85(0x195)),_0x86ecce=new Set(_0x494d17[_0x5baa85(0x199)](_0x5959c6=>_0x5959c6[_0x5baa85(0x1a8)])),_0x31d51a=listDynamicServiceEntries()['filter'](_0x122745=>!_0x86ecce[_0x5baa85(0x19b)](_0x122745[_0x5baa85(0x1a8)])),_0x12e5fc=a124_0x301e90({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':getCliGitCommit(),'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(_0x494d17,_0x31d51a),'buildAllFlags':buildAllFlags,'findDefinition':(_0x319eb0,_0x189fc3)=>_0x5451ba(_0x319eb0,_0x189fc3)??findDynamicServiceDefinition(_0x319eb0,_0x189fc3)});return normalizeSchemaPayload(_0x12e5fc);}function normalizeSchemaPayload(_0x1dcbeb){const _0x4c2744=a124_0x3d08;return{..._0x1dcbeb,'schemaVersion':0x2,'services':_0x1dcbeb[_0x4c2744(0x196)][_0x4c2744(0x199)](_0x365e52=>({..._0x365e52,'commands':_0x365e52[_0x4c2744(0x1a3)][_0x4c2744(0x199)](normalizeSchemaCommand)}))};}function normalizeSchemaCommand(_0x21bd56){const _0x52e9f4=a124_0x3d08,_0x2f91c0=_0x21bd56;return{..._0x21bd56,'auth':_0x2f91c0[_0x52e9f4(0x19e)]??(_0x21bd56[_0x52e9f4(0x1a4)]?_0x52e9f4(0x198):_0x52e9f4(0x19d))};}
1
+ (function(_0x51c47a,_0x135f41){const _0x4a376d=a125_0x40d3,_0x40bfff=_0x51c47a();while(!![]){try{const _0x463739=parseInt(_0x4a376d(0xca))/0x1+parseInt(_0x4a376d(0xba))/0x2*(-parseInt(_0x4a376d(0xbd))/0x3)+-parseInt(_0x4a376d(0xc5))/0x4+parseInt(_0x4a376d(0xc8))/0x5*(-parseInt(_0x4a376d(0xc6))/0x6)+parseInt(_0x4a376d(0xbf))/0x7*(parseInt(_0x4a376d(0xcc))/0x8)+parseInt(_0x4a376d(0xc2))/0x9+parseInt(_0x4a376d(0xb8))/0xa*(-parseInt(_0x4a376d(0xcb))/0xb);if(_0x463739===_0x135f41)break;else _0x40bfff['push'](_0x40bfff['shift']());}catch(_0x45f7a9){_0x40bfff['push'](_0x40bfff['shift']());}}}(a125_0x20e3,0x8f720));import{buildSchemaPayload as a125_0x7ca9dc}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a125_0x20e3(){const _0x5a669f=['none','service','2430176xGnJKq','108JKnCGo','has','14930pjwYZV','../commands/registry.js','1096356ZGFtWf','20663434txfRWI','888flbYnp','10ttNaom','commands','2sJAcYO','auth','required','410133MkIULS','requiresAuth','67963FDiINP','filter','map','9809946HhQhxN'];a125_0x20e3=function(){return _0x5a669f;};return a125_0x20e3();}import{findDynamicServiceDefinition,listDynamicServiceEntries}from'../commands/service/dynamic.js';import{insertDynamicServicesAfterServiceTree}from'../framework/service-order.js';function a125_0x40d3(_0x1651b7,_0x1e8ff0){_0x1651b7=_0x1651b7-0xb8;const _0x20e380=a125_0x20e3();let _0x40d346=_0x20e380[_0x1651b7];return _0x40d346;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliGitCommit,getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x592b4a=a125_0x40d3,{serviceRegistry:_0x1ef667,findDefinition:_0x411e7a}=await import(_0x592b4a(0xc9)),_0x3654f3=new Set(_0x1ef667[_0x592b4a(0xc1)](_0x166230=>_0x166230[_0x592b4a(0xc4)])),_0x5710a6=listDynamicServiceEntries()[_0x592b4a(0xc0)](_0x4118bc=>!_0x3654f3[_0x592b4a(0xc7)](_0x4118bc[_0x592b4a(0xc4)])),_0x2abba2=a125_0x7ca9dc({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':getCliGitCommit(),'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(_0x1ef667,_0x5710a6),'buildAllFlags':buildAllFlags,'findDefinition':(_0x225ec2,_0x4c9a30)=>_0x411e7a(_0x225ec2,_0x4c9a30)??findDynamicServiceDefinition(_0x225ec2,_0x4c9a30)});return normalizeSchemaPayload(_0x2abba2);}function normalizeSchemaPayload(_0x2a6044){const _0xa30923=a125_0x40d3;return{..._0x2a6044,'schemaVersion':0x2,'services':_0x2a6044['services'][_0xa30923(0xc1)](_0x32b042=>({..._0x32b042,'commands':_0x32b042[_0xa30923(0xb9)]['map'](normalizeSchemaCommand)}))};}function normalizeSchemaCommand(_0xad98a3){const _0x2b61f0=a125_0x40d3,_0x1f9f89=_0xad98a3;return{..._0xad98a3,'auth':_0x1f9f89[_0x2b61f0(0xbb)]??(_0xad98a3[_0x2b61f0(0xbe)]?_0x2b61f0(0xbc):_0x2b61f0(0xc3))};}
@@ -1 +1 @@
1
- (function(_0x48f7a1,_0x506ee1){const _0x4aee87=a125_0x2746,_0x289821=_0x48f7a1();while(!![]){try{const _0x28a88f=parseInt(_0x4aee87(0x17f))/0x1*(parseInt(_0x4aee87(0x174))/0x2)+-parseInt(_0x4aee87(0x17d))/0x3+parseInt(_0x4aee87(0x178))/0x4+-parseInt(_0x4aee87(0x17e))/0x5*(-parseInt(_0x4aee87(0x173))/0x6)+-parseInt(_0x4aee87(0x17b))/0x7+parseInt(_0x4aee87(0x179))/0x8*(-parseInt(_0x4aee87(0x176))/0x9)+-parseInt(_0x4aee87(0x17a))/0xa*(-parseInt(_0x4aee87(0x180))/0xb);if(_0x28a88f===_0x506ee1)break;else _0x289821['push'](_0x289821['shift']());}catch(_0x22a759){_0x289821['push'](_0x289821['shift']());}}}(a125_0x3431,0xd5bd7));function a125_0x2746(_0x1e0110,_0x3f3934){_0x1e0110=_0x1e0110-0x172;const _0x3431e9=a125_0x3431();let _0x2746dd=_0x3431e9[_0x1e0110];return _0x2746dd;}function a125_0x3431(){const _0x10fb78=['slice','162VMSjlI','service','1542596EbzvJC','746224vZdtWd','317230WVQEvY','1833307jbGXSA','findIndex','3619251OZAxkj','2467180EXbzup','7xpVfFV','737ofOJyD','length','12SmrZXD','149954LwlbRD'];a125_0x3431=function(){return _0x10fb78;};return a125_0x3431();}export function insertDynamicServicesAfterServiceTree(_0x18a3d0,_0x37aa6d){const _0x15db6b=a125_0x2746;if(_0x37aa6d[_0x15db6b(0x172)]===0x0)return[..._0x18a3d0];const _0x4ae90c=_0x18a3d0[_0x15db6b(0x17c)](_0x4470a6=>_0x4470a6['service']===_0x15db6b(0x177));if(_0x4ae90c<0x0)return[..._0x18a3d0,..._0x37aa6d];return[..._0x18a3d0[_0x15db6b(0x175)](0x0,_0x4ae90c+0x1),..._0x37aa6d,..._0x18a3d0['slice'](_0x4ae90c+0x1)];}
1
+ function a126_0x15c9(_0x43e2e8,_0xabf7dc){_0x43e2e8=_0x43e2e8-0xe1;const _0x583740=a126_0x5837();let _0x15c91c=_0x583740[_0x43e2e8];return _0x15c91c;}(function(_0x1efdd8,_0x3620ce){const _0x415a64=a126_0x15c9,_0x2ff2ea=_0x1efdd8();while(!![]){try{const _0x434f89=parseInt(_0x415a64(0xe8))/0x1*(-parseInt(_0x415a64(0xec))/0x2)+-parseInt(_0x415a64(0xe2))/0x3*(parseInt(_0x415a64(0xeb))/0x4)+-parseInt(_0x415a64(0xea))/0x5+-parseInt(_0x415a64(0xe7))/0x6+parseInt(_0x415a64(0xe9))/0x7+parseInt(_0x415a64(0xe1))/0x8*(-parseInt(_0x415a64(0xe4))/0x9)+parseInt(_0x415a64(0xe3))/0xa;if(_0x434f89===_0x3620ce)break;else _0x2ff2ea['push'](_0x2ff2ea['shift']());}catch(_0x5d9c87){_0x2ff2ea['push'](_0x2ff2ea['shift']());}}}(a126_0x5837,0x70c96));export function insertDynamicServicesAfterServiceTree(_0x1ebf1b,_0x44db73){const _0x381872=a126_0x15c9;if(_0x44db73['length']===0x0)return[..._0x1ebf1b];const _0xdd1fd0=_0x1ebf1b['findIndex'](_0x311992=>_0x311992[_0x381872(0xe6)]===_0x381872(0xe6));if(_0xdd1fd0<0x0)return[..._0x1ebf1b,..._0x44db73];return[..._0x1ebf1b[_0x381872(0xe5)](0x0,_0xdd1fd0+0x1),..._0x44db73,..._0x1ebf1b['slice'](_0xdd1fd0+0x1)];}function a126_0x5837(){const _0x5be633=['192642POMaFg','25506300duLkRu','9tgyskG','slice','service','1401060zBiFoZ','71317tTAJPb','2725051BHOUcU','1406375CDOBxT','28PTqIpR','22VRcdwv','5833432LynctG'];a126_0x5837=function(){return _0x5be633;};return a126_0x5837();}
@@ -1 +1 @@
1
- function a126_0x390b(_0x10099c,_0x5d1fe5){_0x10099c=_0x10099c-0x133;var _0x35d401=a126_0x35d4();var _0x390b94=_0x35d401[_0x10099c];return _0x390b94;}(function(_0x48f0b6,_0x4c315d){var _0x18fa4f=a126_0x390b,_0xe334bc=_0x48f0b6();while(!![]){try{var _0x41586d=-parseInt(_0x18fa4f(0x135))/0x1*(-parseInt(_0x18fa4f(0x138))/0x2)+parseInt(_0x18fa4f(0x13d))/0x3*(-parseInt(_0x18fa4f(0x136))/0x4)+parseInt(_0x18fa4f(0x134))/0x5*(-parseInt(_0x18fa4f(0x137))/0x6)+parseInt(_0x18fa4f(0x139))/0x7+-parseInt(_0x18fa4f(0x133))/0x8+parseInt(_0x18fa4f(0x13c))/0x9*(parseInt(_0x18fa4f(0x13a))/0xa)+-parseInt(_0x18fa4f(0x13b))/0xb;if(_0x41586d===_0x4c315d)break;else _0xe334bc['push'](_0xe334bc['shift']());}catch(_0x1a6d25){_0xe334bc['push'](_0xe334bc['shift']());}}}(a126_0x35d4,0x6713d));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';function a126_0x35d4(){var _0x106952=['5257476qmkinO','598870LkIiIp','6481079LTbPxj','117NzrnyC','24SswUrL','231384WgZELk','1106110ikmKRs','3KnHBfU','165872YBZAvS','6EwtqPi','42456sRVdJR'];a126_0x35d4=function(){return _0x106952;};return a126_0x35d4();}
1
+ function a127_0x5ddd(_0x11a74a,_0xc04774){_0x11a74a=_0x11a74a-0xfd;var _0x4b2f35=a127_0x4b2f();var _0x5ddd78=_0x4b2f35[_0x11a74a];return _0x5ddd78;}(function(_0x782a7,_0x58fa7a){var _0x282549=a127_0x5ddd,_0x76e758=_0x782a7();while(!![]){try{var _0x3b3a36=parseInt(_0x282549(0xfd))/0x1*(parseInt(_0x282549(0x102))/0x2)+parseInt(_0x282549(0x105))/0x3+-parseInt(_0x282549(0xfe))/0x4+parseInt(_0x282549(0x100))/0x5+-parseInt(_0x282549(0x101))/0x6+parseInt(_0x282549(0xff))/0x7*(-parseInt(_0x282549(0x103))/0x8)+parseInt(_0x282549(0x104))/0x9;if(_0x3b3a36===_0x58fa7a)break;else _0x76e758['push'](_0x76e758['shift']());}catch(_0x5c0f38){_0x76e758['push'](_0x76e758['shift']());}}}(a127_0x4b2f,0xe100e));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';function a127_0x4b2f(){var _0x4fa8fd=['6390680VLfFzn','6349266gnLiQw','4277841kHgtII','51mBbCQp','6879652EaPQdo','7mlapOt','7339995BzAYsN','10685760ZQxjkP','63604ZGptTU'];a127_0x4b2f=function(){return _0x4fa8fd;};return a127_0x4b2f();}
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "2.3.6-beta.2";
2
- export declare const GIT_TAG = "v2.3.6-beta.2";
3
- export declare const GIT_COMMIT = "ccecb34";
4
- export declare const BUILD_TIME = "2026-10-22T08:43:25.903Z";
1
+ export declare const VERSION = "2.3.6";
2
+ export declare const GIT_TAG = "v2.3.6";
3
+ export declare const GIT_COMMIT = "764a816";
4
+ export declare const BUILD_TIME = "2026-10-22T11:42:27.819Z";
@@ -1 +1 @@
1
- const a127_0xd8ba9c=a127_0x3145;function a127_0x36c4(){const _0x3958d9=['5DMADFV','71562ZbNecs','40146LeHZrl','1399760YIKDJT','2026-10-22T08:43:25.903Z','3434140UuAcXa','18xDIZcE','6424JrcidN','1521267gpkHBc','5975088zeARse','6381jWDDUk','2.3.6-beta.2','v2.3.6-beta.2'];a127_0x36c4=function(){return _0x3958d9;};return a127_0x36c4();}function a127_0x3145(_0x6f1e20,_0x56b208){_0x6f1e20=_0x6f1e20-0x122;const _0x36c4c6=a127_0x36c4();let _0x31453d=_0x36c4c6[_0x6f1e20];return _0x31453d;}(function(_0x1a3d4c,_0x9d0e10){const _0x380823=a127_0x3145,_0x2eabdb=_0x1a3d4c();while(!![]){try{const _0x36851f=-parseInt(_0x380823(0x12a))/0x1*(-parseInt(_0x380823(0x126))/0x2)+parseInt(_0x380823(0x12c))/0x3+parseInt(_0x380823(0x129))/0x4*(parseInt(_0x380823(0x124))/0x5)+parseInt(_0x380823(0x125))/0x6+-parseInt(_0x380823(0x12d))/0x7+parseInt(_0x380823(0x12b))/0x8*(-parseInt(_0x380823(0x12e))/0x9)+parseInt(_0x380823(0x127))/0xa;if(_0x36851f===_0x9d0e10)break;else _0x2eabdb['push'](_0x2eabdb['shift']());}catch(_0x1802e9){_0x2eabdb['push'](_0x2eabdb['shift']());}}}(a127_0x36c4,0x6f4fa));export const VERSION=a127_0xd8ba9c(0x122);export const GIT_TAG=a127_0xd8ba9c(0x123);export const GIT_COMMIT='ccecb34';export const BUILD_TIME=a127_0xd8ba9c(0x128);
1
+ const a128_0x120b97=a128_0x42d3;(function(_0x42003a,_0x2bc43a){const _0x2fdee9=a128_0x42d3,_0x57c32d=_0x42003a();while(!![]){try{const _0x13c26b=-parseInt(_0x2fdee9(0xa4))/0x1*(-parseInt(_0x2fdee9(0xa5))/0x2)+-parseInt(_0x2fdee9(0xa7))/0x3+parseInt(_0x2fdee9(0xa6))/0x4*(-parseInt(_0x2fdee9(0xa3))/0x5)+-parseInt(_0x2fdee9(0xa8))/0x6+parseInt(_0x2fdee9(0xac))/0x7+-parseInt(_0x2fdee9(0xa9))/0x8+parseInt(_0x2fdee9(0xa2))/0x9;if(_0x13c26b===_0x2bc43a)break;else _0x57c32d['push'](_0x57c32d['shift']());}catch(_0x554e1d){_0x57c32d['push'](_0x57c32d['shift']());}}}(a128_0xd42b,0xe5268));export const VERSION=a128_0x120b97(0xaa);function a128_0x42d3(_0x49d1fa,_0x33b6f5){_0x49d1fa=_0x49d1fa-0xa1;const _0xd42b8e=a128_0xd42b();let _0x42d305=_0xd42b8e[_0x49d1fa];return _0x42d305;}export const GIT_TAG='v2.3.6';function a128_0xd42b(){const _0x2295cb=['1930030pAQGPp','439822cSXQRf','2LNosXX','8EqVDUb','5321382lqCvzq','4715742yuvdQE','13379280yViYsO','2.3.6','2026-10-22T11:42:27.819Z','8905988raftqh','764a816','38076003gOvZJi'];a128_0xd42b=function(){return _0x2295cb;};return a128_0xd42b();}export const GIT_COMMIT=a128_0x120b97(0xa1);export const BUILD_TIME=a128_0x120b97(0xab);
@@ -1 +1 @@
1
- function a128_0xe151(){const _0x573ebc=['https://daily-api.lovrabet.com','29616GBLEJQ','326xaAkot','https://skills.lovrabet.com','Indonesia','https://runtime.lovrabet.com','753FSsOkK','5lPTKBa','https://skills-daily.lovrabet.com','https://daily-api.lovrabet.ai','https://skills.lovrabet.id','china','https://kb-service.lovrabet.id','414dFmyjy','https://user.lovrabet.ai','https://daily-runtime.lovrabet.ai','https://kb-service.lovrabet.com','https://runtime.lovrabet.id','1040370Bekmtw','https://api.lovrabet.ai','https://api.lovrabet.com','https://skills.lovrabet.ai','https://user.lovrabet.id','1998040OXGHsp','https://skills-daily.lovrabet.ai','https://user-daily.lovrabet.com','740742EJJwGs','https://api.lovrabet.id','https://user.lovrabet.com','49602jVGqXo','global','https://user-daily.lovrabet.ai','1313760CovPkn','indonesia','Mainland\x20China'];a128_0xe151=function(){return _0x573ebc;};return a128_0xe151();}const a128_0x54f485=a128_0x2f35;(function(_0x2fc951,_0x41bd4f){const _0x12fa52=a128_0x2f35,_0x26dcdf=_0x2fc951();while(!![]){try{const _0x3e8aee=parseInt(_0x12fa52(0x144))/0x1*(parseInt(_0x12fa52(0x140))/0x2)+-parseInt(_0x12fa52(0x12d))/0x3+parseInt(_0x12fa52(0x13b))/0x4+-parseInt(_0x12fa52(0x145))/0x5*(-parseInt(_0x12fa52(0x135))/0x6)+-parseInt(_0x12fa52(0x138))/0x7+parseInt(_0x12fa52(0x13f))/0x8*(parseInt(_0x12fa52(0x128))/0x9)+-parseInt(_0x12fa52(0x132))/0xa;if(_0x3e8aee===_0x41bd4f)break;else _0x26dcdf['push'](_0x26dcdf['shift']());}catch(_0x12665d){_0x26dcdf['push'](_0x26dcdf['shift']());}}}(a128_0xe151,0x2eb10));export const ROUTING_CATALOG_DIGEST='886843ef89aa4ff2b36d612e8fbd1b6c1840b37728916fba5699be34129ef579';function a128_0x2f35(_0x59c1cb,_0x28169b){_0x59c1cb=_0x59c1cb-0x124;const _0xe151d7=a128_0xe151();let _0x2f35a5=_0xe151d7[_0x59c1cb];return _0x2f35a5;}export const DEFAULT_REGION='cn';export const REGION_VALUES=['cn','id',a128_0x54f485(0x139)];export const ENABLED_REGION_VALUES=['cn','id',a128_0x54f485(0x139)];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a128_0x54f485(0x13d),'aliases':[a128_0x54f485(0x126)],'serviceDomains':{'production':{'user':a128_0x54f485(0x137),'api':a128_0x54f485(0x12f),'runtime':a128_0x54f485(0x143),'skill':a128_0x54f485(0x141),'kbService':a128_0x54f485(0x12b)},'daily':{'user':a128_0x54f485(0x134),'api':a128_0x54f485(0x13e),'runtime':'https://daily-runtime.lovrabet.com','skill':a128_0x54f485(0x146),'kbService':'https://kb-service-daily.lovrabet.com'}}},'id':{'enabled':!![],'label':a128_0x54f485(0x142),'aliases':[a128_0x54f485(0x13c)],'serviceDomains':{'production':{'user':a128_0x54f485(0x131),'api':a128_0x54f485(0x136),'runtime':a128_0x54f485(0x12c),'skill':a128_0x54f485(0x125),'kbService':a128_0x54f485(0x127)}}},'global':{'enabled':!![],'label':'Global','aliases':[],'serviceDomains':{'production':{'user':a128_0x54f485(0x129),'api':a128_0x54f485(0x12e),'runtime':'https://runtime.lovrabet.ai','skill':a128_0x54f485(0x130)},'daily':{'user':a128_0x54f485(0x13a),'api':a128_0x54f485(0x124),'runtime':a128_0x54f485(0x12a),'skill':a128_0x54f485(0x133)}}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
1
+ const a129_0x19f134=a129_0x41e3;function a129_0xf0d7(){const _0x53aa4d=['25431hNECDG','https://api.lovrabet.id','2035300dhfSwA','https://daily-api.lovrabet.ai','indonesia','7UZutng','https://skills.lovrabet.ai','https://runtime.lovrabet.ai','Mainland\x20China','Global','china','2678472QkyKME','886843ef89aa4ff2b36d612e8fbd1b6c1840b37728916fba5699be34129ef579','https://kb-service-daily.lovrabet.com','1423906WEMWIi','https://user-daily.lovrabet.com','https://runtime.lovrabet.id','https://skills.lovrabet.id','139231TUZOjk','https://kb-service.lovrabet.id','https://skills-daily.lovrabet.com','https://runtime.lovrabet.com','27xJqyhj','https://user.lovrabet.id','https://skills-daily.lovrabet.ai','global','4JFuouI','https://user.lovrabet.com','1828248XYBdvL','https://daily-runtime.lovrabet.com','76HMIQpg','https://user-daily.lovrabet.ai','611760OzYuRx','https://user.lovrabet.ai','https://daily-runtime.lovrabet.ai','https://api.lovrabet.com','https://kb-service.lovrabet.com'];a129_0xf0d7=function(){return _0x53aa4d;};return a129_0xf0d7();}(function(_0x517c52,_0x31624d){const _0x24fb93=a129_0x41e3,_0x1913c5=_0x517c52();while(!![]){try{const _0x1b0f33=parseInt(_0x24fb93(0x12c))/0x1+parseInt(_0x24fb93(0x138))/0x2*(parseInt(_0x24fb93(0x13f))/0x3)+-parseInt(_0x24fb93(0x134))/0x4*(parseInt(_0x24fb93(0x11c))/0x5)+parseInt(_0x24fb93(0x125))/0x6+parseInt(_0x24fb93(0x11f))/0x7*(parseInt(_0x24fb93(0x136))/0x8)+-parseInt(_0x24fb93(0x130))/0x9*(parseInt(_0x24fb93(0x13a))/0xa)+-parseInt(_0x24fb93(0x128))/0xb;if(_0x1b0f33===_0x31624d)break;else _0x1913c5['push'](_0x1913c5['shift']());}catch(_0x18a8b9){_0x1913c5['push'](_0x1913c5['shift']());}}}(a129_0xf0d7,0x65a0a));function a129_0x41e3(_0x89f0f,_0x4d9858){_0x89f0f=_0x89f0f-0x11b;const _0xf0d76=a129_0xf0d7();let _0x41e3af=_0xf0d76[_0x89f0f];return _0x41e3af;}export const ROUTING_CATALOG_DIGEST=a129_0x19f134(0x126);export const DEFAULT_REGION='cn';export const REGION_VALUES=['cn','id',a129_0x19f134(0x133)];export const ENABLED_REGION_VALUES=['cn','id',a129_0x19f134(0x133)];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a129_0x19f134(0x122),'aliases':[a129_0x19f134(0x124)],'serviceDomains':{'production':{'user':a129_0x19f134(0x135),'api':a129_0x19f134(0x13d),'runtime':a129_0x19f134(0x12f),'skill':'https://skills.lovrabet.com','kbService':a129_0x19f134(0x13e)},'daily':{'user':a129_0x19f134(0x129),'api':'https://daily-api.lovrabet.com','runtime':a129_0x19f134(0x137),'skill':a129_0x19f134(0x12e),'kbService':a129_0x19f134(0x127)}}},'id':{'enabled':!![],'label':'Indonesia','aliases':[a129_0x19f134(0x11e)],'serviceDomains':{'production':{'user':a129_0x19f134(0x131),'api':a129_0x19f134(0x11b),'runtime':a129_0x19f134(0x12a),'skill':a129_0x19f134(0x12b),'kbService':a129_0x19f134(0x12d)}}},'global':{'enabled':!![],'label':a129_0x19f134(0x123),'aliases':[],'serviceDomains':{'production':{'user':a129_0x19f134(0x13b),'api':'https://api.lovrabet.ai','runtime':a129_0x19f134(0x121),'skill':a129_0x19f134(0x120)},'daily':{'user':a129_0x19f134(0x139),'api':a129_0x19f134(0x11d),'runtime':a129_0x19f134(0x13c),'skill':a129_0x19f134(0x132)}}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
@@ -1 +1 @@
1
- const a129_0x51a5b8=a129_0x2e94;(function(_0x44dbb1,_0x23a420){const _0x4bd0ea=a129_0x2e94,_0xe8935c=_0x44dbb1();while(!![]){try{const _0x481bd3=parseInt(_0x4bd0ea(0xdf))/0x1*(-parseInt(_0x4bd0ea(0xd3))/0x2)+-parseInt(_0x4bd0ea(0xcf))/0x3*(parseInt(_0x4bd0ea(0xd1))/0x4)+parseInt(_0x4bd0ea(0xd4))/0x5*(parseInt(_0x4bd0ea(0xce))/0x6)+-parseInt(_0x4bd0ea(0xd9))/0x7*(-parseInt(_0x4bd0ea(0xdd))/0x8)+parseInt(_0x4bd0ea(0xd0))/0x9+-parseInt(_0x4bd0ea(0xde))/0xa*(parseInt(_0x4bd0ea(0xdb))/0xb)+parseInt(_0x4bd0ea(0xd2))/0xc*(parseInt(_0x4bd0ea(0xe0))/0xd);if(_0x481bd3===_0x23a420)break;else _0xe8935c['push'](_0xe8935c['shift']());}catch(_0x243c45){_0xe8935c['push'](_0xe8935c['shift']());}}}(a129_0x3e42,0x82ec2));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a129_0x51a5b8(0xd8);export const ENTERPRISE_ROUTING_PROTOCOL=a129_0x51a5b8(0xcd);function a129_0x3e42(){const _0xab2fcc=['apiDomain','110KSZbOJ','skillDomain','13816UByuxp','710520gSXdGa','28844YCAuMe','26RhrJea','lovrabet-routing/v1','1581756yUIaIi','1086hyJfbg','318897DIfZoq','1248vgXwFf','4775688BOSemd','22QGVztg','5IAIjMP','userDomain','kbServiceDomain','runtimeDomain','e3423cad71c22edb18a8481be7bdb733ff2d4136c31aa3ae6da56271e32cced7','2359ddMmQz'];a129_0x3e42=function(){return _0xab2fcc;};return a129_0x3e42();}export const ENTERPRISE_ROUTING_KIND='enterprise';export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a129_0x51a5b8(0xd5),'apiDomain','runtimeDomain',a129_0x51a5b8(0xdc),a129_0x51a5b8(0xd6)];function a129_0x2e94(_0x3972b1,_0xb4299f){_0x3972b1=_0x3972b1-0xcd;const _0x3e4220=a129_0x3e42();let _0x2e94cf=_0x3e4220[_0x3972b1];return _0x2e94cf;}export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a129_0x51a5b8(0xd5),a129_0x51a5b8(0xda),a129_0x51a5b8(0xd7),a129_0x51a5b8(0xdc)];
1
+ function a130_0x3be4(_0xe02b01,_0x40e748){_0xe02b01=_0xe02b01-0xa5;const _0x21e13d=a130_0x21e1();let _0x3be44a=_0x21e13d[_0xe02b01];return _0x3be44a;}const a130_0x26dd7e=a130_0x3be4;(function(_0x158d80,_0x1dc83b){const _0x2e97fc=a130_0x3be4,_0x4731fc=_0x158d80();while(!![]){try{const _0x37497e=parseInt(_0x2e97fc(0xaf))/0x1+parseInt(_0x2e97fc(0xa5))/0x2+parseInt(_0x2e97fc(0xae))/0x3*(-parseInt(_0x2e97fc(0xb1))/0x4)+-parseInt(_0x2e97fc(0xab))/0x5+-parseInt(_0x2e97fc(0xb0))/0x6+parseInt(_0x2e97fc(0xa7))/0x7+parseInt(_0x2e97fc(0xa8))/0x8;if(_0x37497e===_0x1dc83b)break;else _0x4731fc['push'](_0x4731fc['shift']());}catch(_0x374ae7){_0x4731fc['push'](_0x4731fc['shift']());}}}(a130_0x21e1,0xa0f34));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a130_0x26dd7e(0xa6);export const ENTERPRISE_ROUTING_PROTOCOL='lovrabet-routing/v1';export const ENTERPRISE_ROUTING_KIND='enterprise';export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=['userDomain',a130_0x26dd7e(0xad),'runtimeDomain',a130_0x26dd7e(0xaa),'kbServiceDomain'];export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a130_0x26dd7e(0xac),a130_0x26dd7e(0xad),a130_0x26dd7e(0xa9),a130_0x26dd7e(0xaa)];function a130_0x21e1(){const _0x327874=['3671379XqQoCg','1049344NPlVrd','4216782lqobFH','4dXQyPi','191566JIiUMG','e3423cad71c22edb18a8481be7bdb733ff2d4136c31aa3ae6da56271e32cced7','3575894lOEqLd','16915064yKShsf','runtimeDomain','skillDomain','5922550oEjUQW','userDomain','apiDomain'];a130_0x21e1=function(){return _0x327874;};return a130_0x21e1();}
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x49bc1a,_0x13c517){const _0x4b6824=a130_0x5727,_0x384d31=_0x49bc1a();while(!![]){try{const _0x39754a=parseInt(_0x4b6824(0x195))/0x1*(-parseInt(_0x4b6824(0x190))/0x2)+-parseInt(_0x4b6824(0x197))/0x3+parseInt(_0x4b6824(0x191))/0x4+-parseInt(_0x4b6824(0x193))/0x5+parseInt(_0x4b6824(0x18d))/0x6*(-parseInt(_0x4b6824(0x18e))/0x7)+parseInt(_0x4b6824(0x18f))/0x8+parseInt(_0x4b6824(0x192))/0x9*(parseInt(_0x4b6824(0x196))/0xa);if(_0x39754a===_0x13c517)break;else _0x384d31['push'](_0x384d31['shift']());}catch(_0x7add45){_0x384d31['push'](_0x384d31['shift']());}}}(a130_0x2303,0x3f9f7));import{jsx as a130_0x1e9d2f,jsxs as a130_0x2380a3}from'react/jsx-runtime';function a130_0x2303(){const _0x9267c9=['1250904GzIwzk','124vNJikw','1679164oKmiPr','2079aYuebt','2532305QrAPCf','\x20\x20Use\x20','2018ycfXTX','23250bHwsMN','518613foXsHJ','green','144546FjiUvI','14aHALjb'];a130_0x2303=function(){return _0x9267c9;};return a130_0x2303();}import{useEffect}from'react';function a130_0x5727(_0x2027c1,_0x4ddad6){_0x2027c1=_0x2027c1-0x18d;const _0x230346=a130_0x2303();let _0x57274c=_0x230346[_0x2027c1];return _0x57274c;}import{Box,Text,useApp}from'ink';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function Help(){const _0x3f6a8c=a130_0x5727,{exit:_0x2e6bb9}=useApp();return useEffect(()=>{_0x2e6bb9();},[_0x2e6bb9]),a130_0x2380a3(Box,{'flexDirection':'column','marginTop':0x1,'marginBottom':0x1,'children':[a130_0x1e9d2f(Box,{'children':a130_0x1e9d2f(Text,{'bold':!![],'color':_0x3f6a8c(0x198),'children':'\x20\x20'+CLI_DISPLAY_NAME})}),a130_0x2380a3(Box,{'marginTop':0x1,'children':[a130_0x1e9d2f(Text,{'dimColor':!![],'children':_0x3f6a8c(0x194)}),a130_0x1e9d2f(Text,{'bold':!![],'color':'green','children':CLI_BIN_NAME+'\x20--help'}),a130_0x1e9d2f(Text,{'dimColor':!![],'children':'\x20to\x20view\x20available\x20commands.'})]})]});}
1
+ function a131_0x59df(_0x12c1ca,_0x4a8676){_0x12c1ca=_0x12c1ca-0x1b2;const _0x2e1acf=a131_0x2e1a();let _0x59dfd9=_0x2e1acf[_0x12c1ca];return _0x59dfd9;}(function(_0x3b1363,_0x4e3b2d){const _0x3eb243=a131_0x59df,_0x1cede2=_0x3b1363();while(!![]){try{const _0x3d950a=parseInt(_0x3eb243(0x1b2))/0x1*(parseInt(_0x3eb243(0x1b6))/0x2)+parseInt(_0x3eb243(0x1b7))/0x3+-parseInt(_0x3eb243(0x1bf))/0x4+-parseInt(_0x3eb243(0x1bc))/0x5*(-parseInt(_0x3eb243(0x1b8))/0x6)+-parseInt(_0x3eb243(0x1bb))/0x7+parseInt(_0x3eb243(0x1be))/0x8*(parseInt(_0x3eb243(0x1ba))/0x9)+-parseInt(_0x3eb243(0x1b4))/0xa;if(_0x3d950a===_0x4e3b2d)break;else _0x1cede2['push'](_0x1cede2['shift']());}catch(_0x4731e1){_0x1cede2['push'](_0x1cede2['shift']());}}}(a131_0x2e1a,0x78742));import{jsx as a131_0x5dffee,jsxs as a131_0x3a2bb4}from'react/jsx-runtime';function a131_0x2e1a(){const _0x3814d5=['column','1377TlfEOi','1137318VzOMMl','3243125pJYbvs','green','4264pjIXRu','1479628fKAIFI','\x20--help','4MjvVaC','\x20to\x20view\x20available\x20commands.','1356360MUxmGh','\x20\x20Use\x20','190144SICvaw','152799kWhnnA','6znJDaJ'];a131_0x2e1a=function(){return _0x3814d5;};return a131_0x2e1a();}import{useEffect}from'react';import{Box,Text,useApp}from'ink';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function Help(){const _0xa2d4d1=a131_0x59df,{exit:_0x535e7d}=useApp();return useEffect(()=>{_0x535e7d();},[_0x535e7d]),a131_0x3a2bb4(Box,{'flexDirection':_0xa2d4d1(0x1b9),'marginTop':0x1,'marginBottom':0x1,'children':[a131_0x5dffee(Box,{'children':a131_0x5dffee(Text,{'bold':!![],'color':'green','children':'\x20\x20'+CLI_DISPLAY_NAME})}),a131_0x3a2bb4(Box,{'marginTop':0x1,'children':[a131_0x5dffee(Text,{'dimColor':!![],'children':_0xa2d4d1(0x1b5)}),a131_0x5dffee(Text,{'bold':!![],'color':_0xa2d4d1(0x1bd),'children':CLI_BIN_NAME+_0xa2d4d1(0x1c0)}),a131_0x5dffee(Text,{'dimColor':!![],'children':_0xa2d4d1(0x1b3)})]})]});}
@@ -1 +1 @@
1
- function a131_0x12d8(_0x5d159a,_0x28d814){_0x5d159a=_0x5d159a-0xc3;const _0x22c8a7=a131_0x22c8();let _0x12d8a0=_0x22c8a7[_0x5d159a];return _0x12d8a0;}(function(_0x3f775f,_0x45b6e4){const _0x5318c6=a131_0x12d8,_0x5f303c=_0x3f775f();while(!![]){try{const _0x40c92b=parseInt(_0x5318c6(0xd0))/0x1+-parseInt(_0x5318c6(0xcb))/0x2+parseInt(_0x5318c6(0xca))/0x3+-parseInt(_0x5318c6(0xcf))/0x4+parseInt(_0x5318c6(0xd1))/0x5+parseInt(_0x5318c6(0xc9))/0x6*(-parseInt(_0x5318c6(0xd2))/0x7)+-parseInt(_0x5318c6(0xd4))/0x8*(-parseInt(_0x5318c6(0xce))/0x9);if(_0x40c92b===_0x45b6e4)break;else _0x5f303c['push'](_0x5f303c['shift']());}catch(_0x577d38){_0x5f303c['push'](_0x5f303c['shift']());}}}(a131_0x22c8,0x69c04));import{installBuiltinSkill}from'./skills/builtin-skill.js';export async function runPostinstall(_0x2022d3={}){const _0x301126=a131_0x12d8,_0x5a08ab=installBuiltinSkill(_0x2022d3);if(_0x5a08ab['ok']){const _0x433500=_0x5a08ab['changed']?_0x301126(0xc6):_0x301126(0xcd),_0x991fff=_0x5a08ab[_0x301126(0xcc)]?_0x301126(0xd6)+_0x5a08ab[_0x301126(0xcc)]:'\x20via\x20skills@latest';return console['log'](_0x301126(0xc7)+_0x5a08ab['skillVersion']+'\x20'+_0x433500+_0x991fff),_0x5a08ab;}const _0x513a5b=_0x301126(0xc5)+(_0x5a08ab[_0x301126(0xc4)]??_0x301126(0xd3))+']\x20'+(_0x5a08ab['error']??'Installation\x20failed')+'.\x20'+('Repair\x20with:\x20'+_0x5a08ab[_0x301126(0xc8)]);if(_0x5a08ab['code']===_0x301126(0xc3))throw new Error(_0x513a5b);return console[_0x301126(0xd5)](_0x513a5b),_0x5a08ab;}function a131_0x22c8(){const _0x4af489=['FAILED','5416MdNVeR','warn','\x20at\x20','SOURCE_INVALID','code','[BUILTIN_SKILL_INSTALL_','installed','Lovrabet\x20Built-in\x20Skill\x20','repairCommand','4493106BbEZqV','2280585PkZSum','481794JZepdH','installedPath','already\x20current','6210oicvRn','662244mHOUrG','314464WqZPAT','233380QJvKza','7tnwYjr'];a131_0x22c8=function(){return _0x4af489;};return a131_0x22c8();}
1
+ function a132_0x1792(_0x3c284c,_0xe1c2d0){_0x3c284c=_0x3c284c-0x1d9;const _0x13c605=a132_0x13c6();let _0x17924a=_0x13c605[_0x3c284c];return _0x17924a;}(function(_0x534b62,_0x349a34){const _0x1433e8=a132_0x1792,_0x31bde0=_0x534b62();while(!![]){try{const _0x11bbac=parseInt(_0x1433e8(0x1e2))/0x1+-parseInt(_0x1433e8(0x1e3))/0x2*(-parseInt(_0x1433e8(0x1eb))/0x3)+-parseInt(_0x1433e8(0x1da))/0x4*(parseInt(_0x1433e8(0x1e5))/0x5)+parseInt(_0x1433e8(0x1e0))/0x6*(-parseInt(_0x1433e8(0x1e4))/0x7)+-parseInt(_0x1433e8(0x1dc))/0x8+parseInt(_0x1433e8(0x1de))/0x9+-parseInt(_0x1433e8(0x1ea))/0xa;if(_0x11bbac===_0x349a34)break;else _0x31bde0['push'](_0x31bde0['shift']());}catch(_0x2a8d00){_0x31bde0['push'](_0x31bde0['shift']());}}}(a132_0x13c6,0xc2d2a));import{installBuiltinSkill}from'./skills/builtin-skill.js';function a132_0x13c6(){const _0x23431d=['18799660fRvjPX','1692681aCWQJl','error','232444ARfNDo','FAILED','1892744akwPyb','installedPath','10043640dSwoPA','changed','520626QRFopx','code','1279909oLMQmm','4mDUDkE','7xVrmEq','45cwHywu','[BUILTIN_SKILL_INSTALL_','\x20at\x20','Repair\x20with:\x20','\x20via\x20skills@latest'];a132_0x13c6=function(){return _0x23431d;};return a132_0x13c6();}export async function runPostinstall(_0x18e51e={}){const _0xcb1834=a132_0x1792,_0x334da7=installBuiltinSkill(_0x18e51e);if(_0x334da7['ok']){const _0x489519=_0x334da7[_0xcb1834(0x1df)]?'installed':'already\x20current',_0x1f7dc3=_0x334da7['installedPath']?_0xcb1834(0x1e7)+_0x334da7[_0xcb1834(0x1dd)]:_0xcb1834(0x1e9);return console['log']('Lovrabet\x20Built-in\x20Skill\x20'+_0x334da7['skillVersion']+'\x20'+_0x489519+_0x1f7dc3),_0x334da7;}const _0x4323b4=_0xcb1834(0x1e6)+(_0x334da7[_0xcb1834(0x1e1)]??_0xcb1834(0x1db))+']\x20'+(_0x334da7[_0xcb1834(0x1d9)]??'Installation\x20failed')+'.\x20'+(_0xcb1834(0x1e8)+_0x334da7['repairCommand']);if(_0x334da7[_0xcb1834(0x1e1)]==='SOURCE_INVALID')throw new Error(_0x4323b4);return console['warn'](_0x4323b4),_0x334da7;}
@@ -1 +1 @@
1
- function a132_0x1e27(){const _0x55010a=['219950IiGvon','1155822sYCsNS','1801233RhhqEZ','risk','Lovrabet\x20confirmation\x20requires\x20a\x20write\x20command.','5oOoMoy','1125160IsYvmn','24EDBmHm','slice','383324tQaNRm','description','Run\x20this\x20write\x20operation','write','high-risk-write','690282UDcTcf','969819SLwKfB','replace','confirmationDescription','string'];a132_0x1e27=function(){return _0x55010a;};return a132_0x1e27();}(function(_0x1f6545,_0x53111a){const _0x5bc301=a132_0x5cf4,_0x354b1c=_0x1f6545();while(!![]){try{const _0x18af40=parseInt(_0x5bc301(0x1e7))/0x1+-parseInt(_0x5bc301(0x1f0))/0x2+-parseInt(_0x5bc301(0x1f6))/0x3+parseInt(_0x5bc301(0x1ed))/0x4+parseInt(_0x5bc301(0x1ec))/0x5*(parseInt(_0x5bc301(0x1e8))/0x6)+parseInt(_0x5bc301(0x1e9))/0x7+parseInt(_0x5bc301(0x1ee))/0x8*(-parseInt(_0x5bc301(0x1f5))/0x9);if(_0x18af40===_0x53111a)break;else _0x354b1c['push'](_0x354b1c['shift']());}catch(_0x2be942){_0x354b1c['push'](_0x354b1c['shift']());}}}(a132_0x1e27,0x32557));function a132_0x5cf4(_0x4c8433,_0x2683f6){_0x4c8433=_0x4c8433-0x1e4;const _0x1e2730=a132_0x1e27();let _0x5cf4cc=_0x1e2730[_0x4c8433];return _0x5cf4cc;}const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildLovrabetConfirmationRequest(_0x378634,_0x54c4bc,_0x5472b3){const _0x1639aa=a132_0x5cf4,_0x5c8621=normalizeText(_0x378634[_0x1639aa(0x1e5)],DESCRIPTION_MAX_LENGTH),_0x11d83c=normalizeText(_0x378634[_0x1639aa(0x1f1)],DESCRIPTION_MAX_LENGTH);return{'operation':_0x54c4bc,'risk':requireWriteRisk(_0x378634),'description':_0x5c8621||_0x11d83c||_0x1639aa(0x1f2),..._0x5472b3?{'signal':_0x5472b3}:{}};}function requireWriteRisk(_0x40d6de){const _0x455d9b=a132_0x5cf4;if(_0x40d6de['risk']===_0x455d9b(0x1f3)||_0x40d6de['risk']===_0x455d9b(0x1f4))return _0x40d6de[_0x455d9b(0x1ea)];throw new Error(_0x455d9b(0x1eb));}function normalizeText(_0x291b57,_0x2415d6){const _0x39cde2=a132_0x5cf4;if(typeof _0x291b57!==_0x39cde2(0x1e6))return'';return _0x291b57[_0x39cde2(0x1e4)](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x39cde2(0x1e4)](/\s+/g,'\x20')['trim']()[_0x39cde2(0x1ef)](0x0,_0x2415d6);}
1
+ (function(_0x141b3d,_0x537a4a){const _0x31c35d=a133_0x5bb1,_0x1da1f5=_0x141b3d();while(!![]){try{const _0x3537=-parseInt(_0x31c35d(0xbe))/0x1+parseInt(_0x31c35d(0xbd))/0x2*(-parseInt(_0x31c35d(0xc1))/0x3)+-parseInt(_0x31c35d(0xba))/0x4+-parseInt(_0x31c35d(0xc6))/0x5+parseInt(_0x31c35d(0xc4))/0x6*(parseInt(_0x31c35d(0xc7))/0x7)+parseInt(_0x31c35d(0xc2))/0x8+parseInt(_0x31c35d(0xbc))/0x9*(parseInt(_0x31c35d(0xc0))/0xa);if(_0x3537===_0x537a4a)break;else _0x1da1f5['push'](_0x1da1f5['shift']());}catch(_0x93eac9){_0x1da1f5['push'](_0x1da1f5['shift']());}}}(a133_0x35f4,0xb1147));function a133_0x5bb1(_0x318a54,_0x26d931){_0x318a54=_0x318a54-0xb6;const _0x35f4c0=a133_0x35f4();let _0x5bb1ae=_0x35f4c0[_0x318a54];return _0x5bb1ae;}const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildLovrabetConfirmationRequest(_0x4c6b45,_0x5063ed,_0x4e343b){const _0x1475bc=a133_0x5bb1,_0x1eb3ec=normalizeText(_0x4c6b45['confirmationDescription'],DESCRIPTION_MAX_LENGTH),_0x546552=normalizeText(_0x4c6b45[_0x1475bc(0xc8)],DESCRIPTION_MAX_LENGTH);return{'operation':_0x5063ed,'risk':requireWriteRisk(_0x4c6b45),'description':_0x1eb3ec||_0x546552||'Run\x20this\x20write\x20operation',..._0x4e343b?{'signal':_0x4e343b}:{}};}function requireWriteRisk(_0x59118f){const _0x5d5567=a133_0x5bb1;if(_0x59118f['risk']===_0x5d5567(0xc3)||_0x59118f[_0x5d5567(0xb7)]===_0x5d5567(0xbb))return _0x59118f['risk'];throw new Error(_0x5d5567(0xb6));}function a133_0x35f4(){const _0x5804c1=['2365512vWiISN','trim','6578460tPvWIG','14HVSZlw','description','Lovrabet\x20confirmation\x20requires\x20a\x20write\x20command.','risk','string','replace','4706832kPDAlA','high-risk-write','387lGWFZP','258vssRym','173460JtOugA','slice','586690llPuqB','9099pqRJxn','3769320FTuGLC','write'];a133_0x35f4=function(){return _0x5804c1;};return a133_0x35f4();}function normalizeText(_0x5387ac,_0x59742e){const _0x294e8b=a133_0x5bb1;if(typeof _0x5387ac!==_0x294e8b(0xb8))return'';return _0x5387ac[_0x294e8b(0xb9)](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x294e8b(0xb9)](/\s+/g,'\x20')[_0x294e8b(0xc5)]()[_0x294e8b(0xbf)](0x0,_0x59742e);}
@@ -1 +1 @@
1
- (function(_0x47d7e3,_0x246240){const _0x1b690e=a133_0x5d3f,_0x3a9e9d=_0x47d7e3();while(!![]){try{const _0x59a418=parseInt(_0x1b690e(0x1db))/0x1*(-parseInt(_0x1b690e(0x1dd))/0x2)+parseInt(_0x1b690e(0x1d5))/0x3+-parseInt(_0x1b690e(0x1de))/0x4+-parseInt(_0x1b690e(0x1d6))/0x5+parseInt(_0x1b690e(0x1e2))/0x6+parseInt(_0x1b690e(0x1da))/0x7*(parseInt(_0x1b690e(0x1e3))/0x8)+-parseInt(_0x1b690e(0x1d7))/0x9*(-parseInt(_0x1b690e(0x1e0))/0xa);if(_0x59a418===_0x246240)break;else _0x3a9e9d['push'](_0x3a9e9d['shift']());}catch(_0x442444){_0x3a9e9d['push'](_0x3a9e9d['shift']());}}}(a133_0x513f,0x32826));export function canonicalLovrabetOperation(_0x1e42eb){const _0x5182f7=a133_0x5d3f;return[_0x1e42eb[_0x5182f7(0x1e4)],..._0x1e42eb[_0x5182f7(0x1d9)][_0x5182f7(0x1d4)]()[_0x5182f7(0x1e1)](/\s+/)][_0x5182f7(0x1df)](Boolean)['join']('.');}function a133_0x513f(){const _0xe3f39d=['write','10TiMAep','802536EIYbXn','filter','12850pBZGUZ','split','1738182bJIbXU','31208vFbPRz','service','risk','trim','119676mTSnLp','753420WDSfPg','585JjnAIj','lovrabet.write.completed','command','595XGTTDE','37299ExnwxV'];a133_0x513f=function(){return _0xe3f39d;};return a133_0x513f();}function a133_0x5d3f(_0x86cbcb,_0x26817b){_0x86cbcb=_0x86cbcb-0x1d4;const _0x513fdf=a133_0x513f();let _0x5d3f6c=_0x513fdf[_0x86cbcb];return _0x5d3f6c;}export function createLovrabetWriteMetadata(_0xd625ed,_0x2dba1d,_0x3f70b1,_0x396f3d){const _0x43506c=a133_0x5d3f;if(_0x396f3d||_0x3f70b1['ok']!==!![]||_0xd625ed[_0x43506c(0x1e5)]!==_0x43506c(0x1dc)&&_0xd625ed[_0x43506c(0x1e5)]!=='high-risk-write')return undefined;const _0x151bdd=_0xd625ed['writeEventSubject']?.(_0x3f70b1),_0x213abf={'type':_0x43506c(0x1d8),'operation':_0x2dba1d,'risk':_0xd625ed[_0x43506c(0x1e5)],..._0x151bdd?{'subject':_0x151bdd}:{}};return{'lovrabet':{'schemaVersion':0x1,'event':_0x213abf}};}
1
+ function a134_0x4b20(){const _0x43ba57=['filter','lovrabet.write.completed','925133YsRaJx','6OipoMf','1060nkeAVj','1575160fLSqTK','join','risk','service','25677zjJgBU','1JoXtRW','command','4621302yTjpcD','2471483qVvWhi','156kXxoON','8ZfsjkG','writeEventSubject','650960pABaLQ','12602kTRvVv'];a134_0x4b20=function(){return _0x43ba57;};return a134_0x4b20();}(function(_0x2ed4c5,_0x1922f9){const _0x2e2fe3=a134_0x327a,_0x347782=_0x2ed4c5();while(!![]){try{const _0x43713c=-parseInt(_0x2e2fe3(0x194))/0x1*(-parseInt(_0x2e2fe3(0x19c))/0x2)+parseInt(_0x2e2fe3(0x18d))/0x3*(-parseInt(_0x2e2fe3(0x18f))/0x4)+parseInt(_0x2e2fe3(0x19b))/0x5+parseInt(_0x2e2fe3(0x196))/0x6+parseInt(_0x2e2fe3(0x197))/0x7*(-parseInt(_0x2e2fe3(0x199))/0x8)+parseInt(_0x2e2fe3(0x193))/0x9*(-parseInt(_0x2e2fe3(0x18e))/0xa)+parseInt(_0x2e2fe3(0x18c))/0xb*(parseInt(_0x2e2fe3(0x198))/0xc);if(_0x43713c===_0x1922f9)break;else _0x347782['push'](_0x347782['shift']());}catch(_0x2d4cf7){_0x347782['push'](_0x347782['shift']());}}}(a134_0x4b20,0x87fb6));function a134_0x327a(_0xeb44f,_0x4d8642){_0xeb44f=_0xeb44f-0x18a;const _0x4b20ae=a134_0x4b20();let _0x327a0b=_0x4b20ae[_0xeb44f];return _0x327a0b;}export function canonicalLovrabetOperation(_0x265296){const _0x584f73=a134_0x327a;return[_0x265296[_0x584f73(0x192)],..._0x265296[_0x584f73(0x195)]['trim']()['split'](/\s+/)][_0x584f73(0x18a)](Boolean)[_0x584f73(0x190)]('.');}export function createLovrabetWriteMetadata(_0x4cb348,_0x2b6b4c,_0xc85fda,_0x54767f){const _0x5a5333=a134_0x327a;if(_0x54767f||_0xc85fda['ok']!==!![]||_0x4cb348[_0x5a5333(0x191)]!=='write'&&_0x4cb348[_0x5a5333(0x191)]!=='high-risk-write')return undefined;const _0x45f4c7=_0x4cb348[_0x5a5333(0x19a)]?.(_0xc85fda),_0x12a50c={'type':_0x5a5333(0x18b),'operation':_0x2b6b4c,'risk':_0x4cb348[_0x5a5333(0x191)],..._0x45f4c7?{'subject':_0x45f4c7}:{}};return{'lovrabet':{'schemaVersion':0x1,'event':_0x12a50c}};}
@@ -1 +1 @@
1
- (function(_0x505767,_0x18e587){const _0x2907de=a134_0x1631,_0xc078d3=_0x505767();while(!![]){try{const _0x480b7c=-parseInt(_0x2907de(0x96))/0x1+-parseInt(_0x2907de(0x7d))/0x2+parseInt(_0x2907de(0x9b))/0x3*(parseInt(_0x2907de(0x83))/0x4)+parseInt(_0x2907de(0x80))/0x5*(parseInt(_0x2907de(0x82))/0x6)+-parseInt(_0x2907de(0x8c))/0x7*(parseInt(_0x2907de(0x91))/0x8)+-parseInt(_0x2907de(0x8a))/0x9*(-parseInt(_0x2907de(0x92))/0xa)+parseInt(_0x2907de(0x7c))/0xb*(parseInt(_0x2907de(0x79))/0xc);if(_0x480b7c===_0x18e587)break;else _0xc078d3['push'](_0xc078d3['shift']());}catch(_0x20025c){_0xc078d3['push'](_0xc078d3['shift']());}}}(a134_0x1278,0x31fd1));import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';import{createLovrabetRunnerAdapter,createPipelineEnv,finalizeLovrabetRuntimeState,runCommand}from'../framework/runner.js';import{canonicalLovrabetOperation,createLovrabetWriteMetadata}from'../runtime/event.js';import{buildLovrabetConfirmationRequest}from'../runtime/confirmation.js';function a134_0x1278(){const _0x2285f4=['command','12947DsrstP','735762QqBCue','confirm','signal','665030huCuPO','AbortError','12UFAzTx','2764YgVZaK','rawFlags','isNonInteractive','execute','reason','present','aborted','9czHwnt','dryRun','1778952ytSSMJ','result','presentation','stringify','Lovrabet\x20invocation\x20aborted.','8weupFG','2076430bGzuYu','riskLevel','definition','high-risk-write','20732ZTJseW','yes','dry-run','data','Embedded\x20Lovrabet\x20confirmation\x20must\x20run\x20inside\x20execute.','1434MADqJr','message','args','write','risk','444SEDiuW','format'];a134_0x1278=function(){return _0x2285f4;};return a134_0x1278();}import{resolveLovrabetInvocation}from'../runtime/resolve.js';import{runSerialized}from'../runtime/queue.js';const defaultPresentation={'present'({result:_0x2c2cd7,command:_0x48b530,risk:_0x551b59,dryRun:_0x4b24a1}){const _0x5936b8=a134_0x1631;return JSON[_0x5936b8(0x8f)]({'ok':_0x2c2cd7['ok'],'command':_0x48b530,'risk':_0x551b59,..._0x4b24a1?{'dryRun':!![]}:{},..._0x2c2cd7[_0x5936b8(0x99)]!==undefined?{'data':_0x2c2cd7['data']}:{},..._0x2c2cd7[_0x5936b8(0x9c)]?{'message':_0x2c2cd7[_0x5936b8(0x9c)]}:{}});}};export async function invokeLovrabet(_0x161abf,_0x25302b){const _0x61bfe3=a134_0x1631;throwIfAborted(_0x25302b[_0x61bfe3(0x7f)]);const _0x54390d=await resolveLovrabetInvocation(_0x161abf),_0x206a06=canonicalLovrabetOperation(_0x54390d[_0x61bfe3(0x94)]);return await confirmWriteBeforeQueue(_0x54390d['definition'],_0x54390d[_0x61bfe3(0x84)],_0x206a06,_0x25302b),runSerialized(async()=>{const _0xd5fa48=_0x61bfe3;throwIfAborted(_0x25302b[_0xd5fa48(0x7f)]);const _0x535592={},_0x1284bf=buildConfigFromFlags(_0x54390d[_0xd5fa48(0x84)]);await initGlobalEnvironment(_0x1284bf);const _0x236bf6=createPipelineEnv(_0x1284bf,{..._0x54390d[_0xd5fa48(0x84)],'yes':_0x54390d[_0xd5fa48(0x94)]['risk']===_0xd5fa48(0x95)?!![]:_0x54390d[_0xd5fa48(0x84)][_0xd5fa48(0x97)],'nonInteractive':!![]});_0x236bf6[_0xd5fa48(0x9d)]=_0x54390d[_0xd5fa48(0x9d)],_0x236bf6[_0xd5fa48(0x85)]=!![],_0x236bf6[_0xd5fa48(0x93)]='high-risk-write';const _0xb510d=withAbortSignal(_0x54390d[_0xd5fa48(0x94)],_0x25302b[_0xd5fa48(0x7f)]),_0x4be034=createLovrabetRunnerAdapter({'formatOutput'(_0xe48d34,_0x39e36a){const _0xc28b9b=_0xd5fa48;_0x535592[_0xc28b9b(0x8d)]=_0xe48d34,_0x535592[_0xc28b9b(0x7b)]=_0x39e36a[_0xc28b9b(0x7b)],_0x535592[_0xc28b9b(0x78)]=_0x39e36a[_0xc28b9b(0x78)],_0x535592[_0xc28b9b(0x7a)]=_0x39e36a[_0xc28b9b(0x7a)],_0x535592['dryRun']=_0x39e36a[_0xc28b9b(0x8b)]===!![];},async 'confirmHighRisk'(){const _0x2818b9=_0xd5fa48;throw new Error(_0x2818b9(0x9a));}});try{await runCommand(_0xb510d,_0x236bf6,_0x4be034);if(!_0x535592[_0xd5fa48(0x8d)]||!_0x535592[_0xd5fa48(0x7b)]||!_0x535592[_0xd5fa48(0x78)]||!_0x535592[_0xd5fa48(0x7a)])throw new Error('Lovrabet\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.');const _0x533795=_0x25302b[_0xd5fa48(0x8e)]??defaultPresentation,_0x54853c=_0x535592[_0xd5fa48(0x8b)]===!![],_0x1107f4={'result':_0x535592[_0xd5fa48(0x8d)],'command':_0x535592[_0xd5fa48(0x7b)],'operation':_0x206a06,'risk':_0x535592[_0xd5fa48(0x78)],'format':_0x535592['format'],'dryRun':_0x54853c},_0x4f5fac=createLovrabetWriteMetadata(_0x54390d[_0xd5fa48(0x94)],_0x206a06,_0x535592[_0xd5fa48(0x8d)],_0x54853c);let _0x2d81bb;try{_0x2d81bb=await _0x533795[_0xd5fa48(0x88)](_0x1107f4);}catch(_0x4ed93b){if(!_0x4f5fac||_0x533795===defaultPresentation)throw _0x4ed93b;_0x2d81bb=await defaultPresentation[_0xd5fa48(0x88)](_0x1107f4);}return{'operation':_0x206a06,'risk':_0x535592[_0xd5fa48(0x78)],'mode':_0x54853c?_0xd5fa48(0x98):_0xd5fa48(0x86),'result':_0x535592['result'],'output':_0x2d81bb,..._0x4f5fac?{'metadata':_0x4f5fac}:{}};}finally{await finalizeLovrabetRuntimeState();}});}async function confirmWriteBeforeQueue(_0x4d9166,_0x88b1a7,_0x228e44,_0x3e5c7e){const _0x5ce7a8=a134_0x1631;if(_0x88b1a7['dryRun']===!![]||_0x4d9166[_0x5ce7a8(0x78)]!==_0x5ce7a8(0x77)&&_0x4d9166[_0x5ce7a8(0x78)]!=='high-risk-write')return;await _0x3e5c7e['confirmation'][_0x5ce7a8(0x7e)](buildLovrabetConfirmationRequest(_0x4d9166,_0x228e44,_0x3e5c7e[_0x5ce7a8(0x7f)]));}function a134_0x1631(_0x7f988,_0x5c4308){_0x7f988=_0x7f988-0x77;const _0x127886=a134_0x1278();let _0x16315a=_0x127886[_0x7f988];return _0x16315a;}function withAbortSignal(_0x71b892,_0xf448e){return{..._0x71b892,async 'execute'(_0x430453){const _0x474497=a134_0x1631;return throwIfAborted(_0xf448e),_0x71b892[_0x474497(0x86)]({..._0x430453,'signal':_0xf448e});}};}function throwIfAborted(_0x3ef1cc){const _0x474f93=a134_0x1631;if(_0x3ef1cc?.[_0x474f93(0x89)])throw _0x3ef1cc[_0x474f93(0x87)]instanceof Error?_0x3ef1cc['reason']:new DOMException(_0x474f93(0x90),_0x474f93(0x81));}
1
+ (function(_0x30266e,_0x5294eb){const _0x325ea2=a135_0x725e,_0x552c05=_0x30266e();while(!![]){try{const _0x144951=-parseInt(_0x325ea2(0x165))/0x1+-parseInt(_0x325ea2(0x160))/0x2+-parseInt(_0x325ea2(0x15b))/0x3*(parseInt(_0x325ea2(0x15c))/0x4)+-parseInt(_0x325ea2(0x168))/0x5*(parseInt(_0x325ea2(0x15e))/0x6)+parseInt(_0x325ea2(0x179))/0x7*(parseInt(_0x325ea2(0x155))/0x8)+-parseInt(_0x325ea2(0x167))/0x9*(-parseInt(_0x325ea2(0x16c))/0xa)+parseInt(_0x325ea2(0x175))/0xb;if(_0x144951===_0x5294eb)break;else _0x552c05['push'](_0x552c05['shift']());}catch(_0x438279){_0x552c05['push'](_0x552c05['shift']());}}}(a135_0x34db,0xf2870));import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';import{createLovrabetRunnerAdapter,createPipelineEnv,finalizeLovrabetRuntimeState,runCommand}from'../framework/runner.js';function a135_0x725e(_0x809670,_0x5529ae){_0x809670=_0x809670-0x154;const _0x34dbcb=a135_0x34db();let _0x725ef4=_0x34dbcb[_0x809670];return _0x725ef4;}function a135_0x34db(){const _0x2158ee=['AbortError','risk','dry-run','dryRun','data','1977PjbVFQ','8012CVRglW','Lovrabet\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','360FMAMEP','Lovrabet\x20invocation\x20aborted.','2663178LiluXV','args','rawFlags','riskLevel','format','1560010TAqZzq','yes','2205enWwNM','59875SfZMYq','present','message','high-risk-write','75800REHeIF','result','confirm','aborted','command','confirmation','execute','write','signal','43423831qTXhVu','isNonInteractive','stringify','definition','831229iHFDUa','reason','8TjXdws'];a135_0x34db=function(){return _0x2158ee;};return a135_0x34db();}import{canonicalLovrabetOperation,createLovrabetWriteMetadata}from'../runtime/event.js';import{buildLovrabetConfirmationRequest}from'../runtime/confirmation.js';import{resolveLovrabetInvocation}from'../runtime/resolve.js';import{runSerialized}from'../runtime/queue.js';const defaultPresentation={'present'({result:_0x2ea105,command:_0x189c83,risk:_0x5dea2a,dryRun:_0x5498eb}){const _0x4d032e=a135_0x725e;return JSON[_0x4d032e(0x177)]({'ok':_0x2ea105['ok'],'command':_0x189c83,'risk':_0x5dea2a,..._0x5498eb?{'dryRun':!![]}:{},..._0x2ea105[_0x4d032e(0x15a)]!==undefined?{'data':_0x2ea105[_0x4d032e(0x15a)]}:{},..._0x2ea105[_0x4d032e(0x16a)]?{'message':_0x2ea105[_0x4d032e(0x16a)]}:{}});}};export async function invokeLovrabet(_0x1250ed,_0x2d83ee){const _0x41144d=a135_0x725e;throwIfAborted(_0x2d83ee[_0x41144d(0x174)]);const _0x5aff8a=await resolveLovrabetInvocation(_0x1250ed),_0x5b052b=canonicalLovrabetOperation(_0x5aff8a[_0x41144d(0x178)]);return await confirmWriteBeforeQueue(_0x5aff8a[_0x41144d(0x178)],_0x5aff8a['rawFlags'],_0x5b052b,_0x2d83ee),runSerialized(async()=>{const _0x1ce9e9=_0x41144d;throwIfAborted(_0x2d83ee[_0x1ce9e9(0x174)]);const _0xb62ddd={},_0x531679=buildConfigFromFlags(_0x5aff8a[_0x1ce9e9(0x162)]);await initGlobalEnvironment(_0x531679);const _0x21af00=createPipelineEnv(_0x531679,{..._0x5aff8a[_0x1ce9e9(0x162)],'yes':_0x5aff8a[_0x1ce9e9(0x178)]['risk']==='high-risk-write'?!![]:_0x5aff8a[_0x1ce9e9(0x162)][_0x1ce9e9(0x166)],'nonInteractive':!![]});_0x21af00[_0x1ce9e9(0x161)]=_0x5aff8a[_0x1ce9e9(0x161)],_0x21af00[_0x1ce9e9(0x176)]=!![],_0x21af00[_0x1ce9e9(0x163)]=_0x1ce9e9(0x16b);const _0x34ebc1=withAbortSignal(_0x5aff8a[_0x1ce9e9(0x178)],_0x2d83ee[_0x1ce9e9(0x174)]),_0x285d1e=createLovrabetRunnerAdapter({'formatOutput'(_0x5e47fb,_0xd7ad12){const _0x2cfb26=_0x1ce9e9;_0xb62ddd[_0x2cfb26(0x16d)]=_0x5e47fb,_0xb62ddd[_0x2cfb26(0x170)]=_0xd7ad12['command'],_0xb62ddd['risk']=_0xd7ad12[_0x2cfb26(0x157)],_0xb62ddd[_0x2cfb26(0x164)]=_0xd7ad12[_0x2cfb26(0x164)],_0xb62ddd[_0x2cfb26(0x159)]=_0xd7ad12[_0x2cfb26(0x159)]===!![];},async 'confirmHighRisk'(){throw new Error('Embedded\x20Lovrabet\x20confirmation\x20must\x20run\x20inside\x20execute.');}});try{await runCommand(_0x34ebc1,_0x21af00,_0x285d1e);if(!_0xb62ddd['result']||!_0xb62ddd['command']||!_0xb62ddd[_0x1ce9e9(0x157)]||!_0xb62ddd[_0x1ce9e9(0x164)])throw new Error(_0x1ce9e9(0x15d));const _0x215374=_0x2d83ee['presentation']??defaultPresentation,_0x486deb=_0xb62ddd[_0x1ce9e9(0x159)]===!![],_0x5c3fe3={'result':_0xb62ddd[_0x1ce9e9(0x16d)],'command':_0xb62ddd['command'],'operation':_0x5b052b,'risk':_0xb62ddd['risk'],'format':_0xb62ddd[_0x1ce9e9(0x164)],'dryRun':_0x486deb},_0x188db8=createLovrabetWriteMetadata(_0x5aff8a[_0x1ce9e9(0x178)],_0x5b052b,_0xb62ddd['result'],_0x486deb);let _0x246546;try{_0x246546=await _0x215374['present'](_0x5c3fe3);}catch(_0x5d7a34){if(!_0x188db8||_0x215374===defaultPresentation)throw _0x5d7a34;_0x246546=await defaultPresentation[_0x1ce9e9(0x169)](_0x5c3fe3);}return{'operation':_0x5b052b,'risk':_0xb62ddd[_0x1ce9e9(0x157)],'mode':_0x486deb?_0x1ce9e9(0x158):_0x1ce9e9(0x172),'result':_0xb62ddd[_0x1ce9e9(0x16d)],'output':_0x246546,..._0x188db8?{'metadata':_0x188db8}:{}};}finally{await finalizeLovrabetRuntimeState();}});}async function confirmWriteBeforeQueue(_0x378abb,_0x2984dd,_0x396147,_0x5f5019){const _0x492d23=a135_0x725e;if(_0x2984dd[_0x492d23(0x159)]===!![]||_0x378abb['risk']!==_0x492d23(0x173)&&_0x378abb[_0x492d23(0x157)]!==_0x492d23(0x16b))return;await _0x5f5019[_0x492d23(0x171)][_0x492d23(0x16e)](buildLovrabetConfirmationRequest(_0x378abb,_0x396147,_0x5f5019[_0x492d23(0x174)]));}function withAbortSignal(_0x53cd5c,_0x93f70c){return{..._0x53cd5c,async 'execute'(_0x31e1fc){const _0x5d5213=a135_0x725e;return throwIfAborted(_0x93f70c),_0x53cd5c[_0x5d5213(0x172)]({..._0x31e1fc,'signal':_0x93f70c});}};}function throwIfAborted(_0x400500){const _0x3f57d8=a135_0x725e;if(_0x400500?.[_0x3f57d8(0x16f)])throw _0x400500[_0x3f57d8(0x154)]instanceof Error?_0x400500[_0x3f57d8(0x154)]:new DOMException(_0x3f57d8(0x15f),_0x3f57d8(0x156));}
@@ -1 +1 @@
1
- const a135_0x11a43a=a135_0x446b;(function(_0x18b4b5,_0x4dbe7c){const _0x41347c=a135_0x446b,_0x2dd68f=_0x18b4b5();while(!![]){try{const _0x2c0616=parseInt(_0x41347c(0x145))/0x1+parseInt(_0x41347c(0x13b))/0x2*(-parseInt(_0x41347c(0x146))/0x3)+-parseInt(_0x41347c(0x142))/0x4*(-parseInt(_0x41347c(0x140))/0x5)+parseInt(_0x41347c(0x13c))/0x6*(-parseInt(_0x41347c(0x13d))/0x7)+parseInt(_0x41347c(0x144))/0x8*(-parseInt(_0x41347c(0x13a))/0x9)+parseInt(_0x41347c(0x143))/0xa*(parseInt(_0x41347c(0x141))/0xb)+parseInt(_0x41347c(0x13f))/0xc*(parseInt(_0x41347c(0x13e))/0xd);if(_0x2c0616===_0x4dbe7c)break;else _0x2dd68f['push'](_0x2dd68f['shift']());}catch(_0x465d87){_0x2dd68f['push'](_0x2dd68f['shift']());}}}(a135_0xd02c,0xd9174));function a135_0x446b(_0x1f90fb,_0x384f11){_0x1f90fb=_0x1f90fb-0x139;const _0xd02c09=a135_0xd02c();let _0x446bf9=_0xd02c09[_0x1f90fb];return _0x446bf9;}let tail=Promise[a135_0x11a43a(0x139)]();function a135_0xd02c(){const _0xe2d4f5=['648BFVoOT','1036201gpFlQh','3pWxGFc','resolve','50697MWYODk','1315906ZVzSZR','768oHNxch','95683lPcPxg','8462233pgGeQu','12eOzXfr','2013120LEItFn','352XTAhZX','16fwKfwL','142320WbvzRG'];a135_0xd02c=function(){return _0xe2d4f5;};return a135_0xd02c();}export async function runSerialized(_0x17ba8c){const _0x49414d=tail;let _0x4ba5be;tail=new Promise(_0x184b52=>{_0x4ba5be=_0x184b52;}),await _0x49414d['catch'](()=>undefined);try{return await _0x17ba8c();}finally{_0x4ba5be();}}
1
+ const a136_0x451cfe=a136_0x5bda;function a136_0x5439(){const _0x7fe98d=['7311830YNLdIB','1880134KPbaHq','199932dKyfvw','resolve','559452ZfBKGB','117vTUVSz','4767612mPHOyN','13926240jpMiTz','35dSNqMK','66oWRpvE','11WAaKBO','1UzQVhC','catch','76488exDOOn'];a136_0x5439=function(){return _0x7fe98d;};return a136_0x5439();}function a136_0x5bda(_0x468426,_0xc0f26b){_0x468426=_0x468426-0x14d;const _0x543994=a136_0x5439();let _0x5bda34=_0x543994[_0x468426];return _0x5bda34;}(function(_0x41b30e,_0xb483a0){const _0x4db99b=a136_0x5bda,_0x103cf4=_0x41b30e();while(!![]){try{const _0x5f4217=-parseInt(_0x4db99b(0x155))/0x1*(parseInt(_0x4db99b(0x159))/0x2)+-parseInt(_0x4db99b(0x153))/0x3*(-parseInt(_0x4db99b(0x15a))/0x4)+-parseInt(_0x4db99b(0x158))/0x5+parseInt(_0x4db99b(0x14e))/0x6*(parseInt(_0x4db99b(0x152))/0x7)+parseInt(_0x4db99b(0x157))/0x8*(-parseInt(_0x4db99b(0x14f))/0x9)+parseInt(_0x4db99b(0x151))/0xa+parseInt(_0x4db99b(0x154))/0xb*(parseInt(_0x4db99b(0x150))/0xc);if(_0x5f4217===_0xb483a0)break;else _0x103cf4['push'](_0x103cf4['shift']());}catch(_0x23f696){_0x103cf4['push'](_0x103cf4['shift']());}}}(a136_0x5439,0xca66b));let tail=Promise[a136_0x451cfe(0x14d)]();export async function runSerialized(_0x4e7a9c){const _0x5b833b=a136_0x451cfe,_0x153d2f=tail;let _0x410046;tail=new Promise(_0x2ad26f=>{_0x410046=_0x2ad26f;}),await _0x153d2f[_0x5b833b(0x156)](()=>undefined);try{return await _0x4e7a9c();}finally{_0x410046();}}
@@ -1 +1 @@
1
- (function(_0x2acd19,_0x488a8a){const _0x2123e2=a136_0x3676,_0x2a1913=_0x2acd19();while(!![]){try{const _0x3e77cc=-parseInt(_0x2123e2(0x19b))/0x1+-parseInt(_0x2123e2(0x1ab))/0x2*(parseInt(_0x2123e2(0x194))/0x3)+-parseInt(_0x2123e2(0x1a2))/0x4+-parseInt(_0x2123e2(0x195))/0x5*(-parseInt(_0x2123e2(0x1a8))/0x6)+parseInt(_0x2123e2(0x1a5))/0x7*(parseInt(_0x2123e2(0x1a7))/0x8)+parseInt(_0x2123e2(0x19e))/0x9*(-parseInt(_0x2123e2(0x196))/0xa)+parseInt(_0x2123e2(0x1aa))/0xb;if(_0x3e77cc===_0x488a8a)break;else _0x2a1913['push'](_0x2a1913['shift']());}catch(_0x20ebf7){_0x2a1913['push'](_0x2a1913['shift']());}}}(a136_0x59df,0x2273e));import a136_0x4dd04c from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';function a136_0x59df(){const _0x1b1669=['276108nEjcAP','validation','flags','4239HrDGvt','Lovrabet\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','join','args','328336plzAHN','unknownCommand','defaultCommand','63FKEZRi','message','72584qgjthD','90zrnMXZ','definition','7063001ftqHdt','25798GvgbzU','39bLlOQL','29125YsJbmj','3060QNMrhQ','slice','hint','assign','flatMap'];a136_0x59df=function(){return _0x1b1669;};return a136_0x59df();}import{resolveDynamicServiceCommand}from'../commands/service/dynamic.js';import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';export async function resolveLovrabetInvocation(_0x6b15bd){const _0x1f4fa6=a136_0x3676,_0x7281f0=a136_0x4dd04c('',{'importMeta':import.meta,'argv':_0x6b15bd,'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x27182d=[..._0x7281f0['input']],_0xecd0c2=_0x7281f0[_0x1f4fa6(0x19d)];await correctFlags(_0xecd0c2);const _0x33822c=_0x27182d[0x0];if(!_0x33822c)throw CliErrors[_0x1f4fa6(0x19c)]('Lovrabet\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.');const _0x5ae40d=resolveRemovedCommand(_0x33822c,_0x27182d[0x1]);if(_0x5ae40d)throw CliErrors[_0x1f4fa6(0x19c)](_0x5ae40d[_0x1f4fa6(0x1a6)],_0x5ae40d[_0x1f4fa6(0x198)]);if(!isKnownService(_0x33822c)){const _0x3f3d9b=resolveDynamicServiceCommand(_0x27182d,_0xecd0c2);if(!_0x3f3d9b)throw CliErrors[_0x1f4fa6(0x1a3)](_0x27182d[_0x1f4fa6(0x1a0)]('\x20'));return Object[_0x1f4fa6(0x199)](_0xecd0c2,_0x3f3d9b[_0x1f4fa6(0x19d)]),{'definition':_0x3f3d9b[_0x1f4fa6(0x1a9)],'rawFlags':_0xecd0c2,'args':_0x3f3d9b[_0x1f4fa6(0x1a1)]};}const _0x5bf0a9=getServiceEntry(_0x33822c),_0x1ea243=_0x27182d[0x1]||_0x5bf0a9[_0x1f4fa6(0x1a4)];if(!_0x1ea243)throw CliErrors['validation'](_0x1f4fa6(0x19f)+_0x33822c+'\x22.');const _0x4b83c9=findDefinition(_0x33822c,_0x1ea243);if(!_0x4b83c9)throw CliErrors[_0x1f4fa6(0x1a3)](_0x33822c+'\x20'+_0x1ea243);return{'definition':_0x4b83c9,'rawFlags':_0xecd0c2,'args':_0x27182d[_0x1f4fa6(0x197)](0x2)};}function a136_0x3676(_0x1a04dc,_0x22d665){_0x1a04dc=_0x1a04dc-0x194;const _0x59df83=a136_0x59df();let _0x3676bf=_0x59df83[_0x1a04dc];return _0x3676bf;}async function correctFlags(_0x129c63){const _0x1d586c=a136_0x3676;try{const {correctFlags:_0x1d6720}=await import('../framework/preparse.js'),{getAllDefinitions:_0x346d36}=await import('../commands/registry.js'),_0x40b2a6=_0x346d36()[_0x1d586c(0x19a)](_0x3a48ff=>_0x3a48ff[_0x1d586c(0x19d)]??[]),_0x532a53=_0x1d6720(_0x129c63,_0x40b2a6);Object[_0x1d586c(0x199)](_0x129c63,_0x532a53[_0x1d586c(0x19d)]);}catch{}}
1
+ (function(_0x188cba,_0x56e8e9){const _0x4b07e0=a137_0x3a42,_0x32a152=_0x188cba();while(!![]){try{const _0x1dec5c=parseInt(_0x4b07e0(0x14c))/0x1*(parseInt(_0x4b07e0(0x147))/0x2)+parseInt(_0x4b07e0(0x14d))/0x3+parseInt(_0x4b07e0(0x157))/0x4*(parseInt(_0x4b07e0(0x155))/0x5)+parseInt(_0x4b07e0(0x15c))/0x6+-parseInt(_0x4b07e0(0x15b))/0x7+parseInt(_0x4b07e0(0x159))/0x8+parseInt(_0x4b07e0(0x156))/0x9*(-parseInt(_0x4b07e0(0x149))/0xa);if(_0x1dec5c===_0x56e8e9)break;else _0x32a152['push'](_0x32a152['shift']());}catch(_0x3c6781){_0x32a152['push'](_0x32a152['shift']());}}}(a137_0x4fbc,0xcf6ed));import a137_0x3eb26f from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';import{resolveDynamicServiceCommand}from'../commands/service/dynamic.js';import{buildMeowFlags}from'../constant/cli.js';function a137_0x4fbc(){const _0x327104=['unknownCommand','join','5tuYeRw','39256632zsgPfk','6636632QIuTFl','args','4168616NwFUye','Lovrabet\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','3802722TjkihE','6501138HYlGHo','flatMap','slice','2014162THudnD','assign','10chreLC','validation','flags','1NqhvOL','4451700sbCJUI','definition','message','hint','../commands/registry.js','../framework/preparse.js'];a137_0x4fbc=function(){return _0x327104;};return a137_0x4fbc();}import{CliErrors}from'../errors.js';export async function resolveLovrabetInvocation(_0x54a357){const _0x26b505=a137_0x3a42,_0x1bc3e9=a137_0x3eb26f('',{'importMeta':import.meta,'argv':_0x54a357,'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x8003ac=[..._0x1bc3e9['input']],_0x5ee3d6=_0x1bc3e9[_0x26b505(0x14b)];await correctFlags(_0x5ee3d6);const _0x1f2e4a=_0x8003ac[0x0];if(!_0x1f2e4a)throw CliErrors[_0x26b505(0x14a)](_0x26b505(0x15a));const _0x4086e8=resolveRemovedCommand(_0x1f2e4a,_0x8003ac[0x1]);if(_0x4086e8)throw CliErrors['validation'](_0x4086e8[_0x26b505(0x14f)],_0x4086e8[_0x26b505(0x150)]);if(!isKnownService(_0x1f2e4a)){const _0x5c9b21=resolveDynamicServiceCommand(_0x8003ac,_0x5ee3d6);if(!_0x5c9b21)throw CliErrors[_0x26b505(0x153)](_0x8003ac[_0x26b505(0x154)]('\x20'));return Object[_0x26b505(0x148)](_0x5ee3d6,_0x5c9b21[_0x26b505(0x14b)]),{'definition':_0x5c9b21[_0x26b505(0x14e)],'rawFlags':_0x5ee3d6,'args':_0x5c9b21[_0x26b505(0x158)]};}const _0x465b9f=getServiceEntry(_0x1f2e4a),_0x321ce2=_0x8003ac[0x1]||_0x465b9f['defaultCommand'];if(!_0x321ce2)throw CliErrors['validation']('Lovrabet\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22'+_0x1f2e4a+'\x22.');const _0x243b79=findDefinition(_0x1f2e4a,_0x321ce2);if(!_0x243b79)throw CliErrors[_0x26b505(0x153)](_0x1f2e4a+'\x20'+_0x321ce2);return{'definition':_0x243b79,'rawFlags':_0x5ee3d6,'args':_0x8003ac[_0x26b505(0x146)](0x2)};}function a137_0x3a42(_0x549882,_0x44cb79){_0x549882=_0x549882-0x145;const _0x4fbc7a=a137_0x4fbc();let _0x3a4244=_0x4fbc7a[_0x549882];return _0x3a4244;}async function correctFlags(_0x72788b){const _0x12a385=a137_0x3a42;try{const {correctFlags:_0x1cb7b5}=await import(_0x12a385(0x152)),{getAllDefinitions:_0x13da88}=await import(_0x12a385(0x151)),_0xf8a18=_0x13da88()[_0x12a385(0x145)](_0x5342b6=>_0x5342b6[_0x12a385(0x14b)]??[]),_0x8e564a=_0x1cb7b5(_0x72788b,_0xf8a18);Object[_0x12a385(0x148)](_0x72788b,_0x8e564a[_0x12a385(0x14b)]);}catch{}}
@@ -1 +1 @@
1
- function a138_0x7aab(){const _0x512146=['values','sheet','schemaHash','resume','batches','206995zrDlzs','Auto-ID\x20import\x20items\x20cannot\x20contain\x20a\x20primary\x20key.','\x20exceeds\x20the\x20import\x20request\x20size\x20limit.','Import\x20generated\x20ID\x20collision.','string','imageFields','maxBatchSize','uploadFields','3QsqmKK','Cannot\x20read\x20the\x20import\x20checkpoint.','196488xlhYdM','151250snDUyk','status','checkpoint','Excel\x20contains\x20invalid\x20rows;\x20no\x20data\x20was\x20written.','includes','Invalid\x20import\x20task\x20readback\x20response.','push','completed','message','fileHash','reconcileImageConflicts','importId','maxBatchBytes','report','243JPAGGo','runtimeDomain','246CTRlPc','onCheckpointReady','ids','errors','unsent','3294500iCcMoG','isInteger','56434ofDkRd','rows','binding','hex','some','Import\x20checkpoint\x20contains\x20duplicate\x20generated\x20IDs.','keys','flatMap','add','elapsedMs','utf8','batchSize','warnings','isSafeInteger','The\x20import\x20write\x20outcome\x20is\x20unknown.\x20Resume\x20to\x20reconcile\x20the\x20original\x20task\x20marker\x20before\x20continuing.','rowNumber','now','actorId','succeeded','972788bqHCxX','reduce','785922PmVNxt','strategy','length','appCode','Invalid\x20write\x20result.','number','readTask','byteLength','rowIndexes','Incomplete\x20readback.','schemaFingerprint','Excel\x20row\x20','pending','Previously\x20imported\x20records\x20are\x20no\x20longer\x20visible;\x20recovery\x20conflict.','filter','The\x20auto-ID\x20runner\x20requires\x20the\x20v2\x20task\x20readback\x20contract.','datasetCode','map','incomplete','ENOENT','Excel\x20contains\x20no\x20valid\x20data\x20rows.','schemaVersion','write','taskId','Partial\x20import\x20task\x20readback\x20conflict.','isArray','size','conflict','has','Import\x20generated\x20ID\x20conflict.','Import\x20checkpoint\x20contains\x20a\x20content\x20conflict.'];a138_0x7aab=function(){return _0x512146;};return a138_0x7aab();}const a138_0x3e9677=a138_0x4446;(function(_0x243aaa,_0x2158a4){const _0x4b9fc5=a138_0x4446,_0x475c7a=_0x243aaa();while(!![]){try{const _0x2e842e=-parseInt(_0x4b9fc5(0x208))/0x1+parseInt(_0x4b9fc5(0x1d9))/0x2+parseInt(_0x4b9fc5(0x205))/0x3*(parseInt(_0x4b9fc5(0x1d7))/0x4)+parseInt(_0x4b9fc5(0x1fd))/0x5+parseInt(_0x4b9fc5(0x1bd))/0x6*(-parseInt(_0x4b9fc5(0x1c4))/0x7)+parseInt(_0x4b9fc5(0x207))/0x8*(parseInt(_0x4b9fc5(0x1bb))/0x9)+-parseInt(_0x4b9fc5(0x1c2))/0xa;if(_0x2e842e===_0x2158a4)break;else _0x475c7a['push'](_0x475c7a['shift']());}catch(_0x238d7c){_0x475c7a['push'](_0x475c7a['shift']());}}}(a138_0x7aab,0x81436));import{randomBytes,randomUUID}from'node:crypto';function a138_0x4446(_0x5a92b7,_0x563a33){_0x5a92b7=_0x5a92b7-0x1b9;const _0x7aabc8=a138_0x7aab();let _0x44461c=_0x7aabc8[_0x5a92b7];return _0x44461c;}import{lstat,readFile}from'node:fs/promises';import{acquireLock,assertImportContract,assertImportPaths,canonical,sameImportValue,resolveImportOutputPath,saveImportJson}from'./runner.js';const validId=_0x2e318b=>typeof _0x2e318b===a138_0x3e9677(0x1de)&&Number[a138_0x3e9677(0x1d1)](_0x2e318b)&&_0x2e318b>0x0;export async function runAutoIdExcelImport(_0x46713c){const _0x56075e=a138_0x3e9677,_0x4f84ae={..._0x46713c,'checkpoint':await resolveImportOutputPath(_0x46713c[_0x56075e(0x20a)]),'report':await resolveImportOutputPath(_0x46713c['report'])},{manifest:_0x43d80c,contract:_0x2e888b,api:_0x20fdef}=_0x4f84ae;assertImportContract(_0x2e888b,_0x4f84ae[_0x56075e(0x1dc)],_0x4f84ae['datasetCode']);if(_0x2e888b[_0x56075e(0x1ee)]!==0x2||!_0x20fdef[_0x56075e(0x1df)])throw Error(_0x56075e(0x1e8));if(_0x43d80c[_0x56075e(0x1c0)][_0x56075e(0x1db)])throw Error(_0x56075e(0x20b));if(!_0x43d80c[_0x56075e(0x1c5)]['length'])throw Error(_0x56075e(0x1ed));if(!Number[_0x56075e(0x1c3)](_0x4f84ae[_0x56075e(0x1cf)])||_0x4f84ae[_0x56075e(0x1cf)]<0x1||_0x4f84ae['batchSize']>_0x2e888b[_0x56075e(0x203)])throw Error('Invalid\x20import\x20batch\x20size.');assertImportPaths(_0x4f84ae[_0x56075e(0x20a)],_0x4f84ae[_0x56075e(0x1ba)]);if(_0x43d80c[_0x56075e(0x1c5)][_0x56075e(0x1c8)](_0x37e2fe=>Object['hasOwn'](_0x37e2fe[_0x56075e(0x1f8)],'id')))throw Error(_0x56075e(0x1fe));const _0x42173e=(_0x4bf2a4,_0x53d0b9)=>Buffer[_0x56075e(0x1e0)](JSON['stringify']({'schemaFingerprint':_0x2e888b[_0x56075e(0x1e3)],'taskId':_0x53d0b9,'items':_0x4bf2a4[_0x56075e(0x1ea)](_0x38bb6a=>_0x43d80c[_0x56075e(0x1c5)][_0x38bb6a][_0x56075e(0x1f8)])}),_0x56075e(0x1ce)),_0x312998=[];let _0x312f47=[];for(let _0x3851bc=0x0;_0x3851bc<_0x43d80c[_0x56075e(0x1c5)]['length'];_0x3851bc++){if(_0x42173e([_0x3851bc],0x2**0x34)>_0x2e888b[_0x56075e(0x1b9)])throw Error(_0x56075e(0x1e4)+_0x43d80c['rows'][_0x3851bc]['rowNumber']+_0x56075e(0x1ff));_0x312f47[_0x56075e(0x1db)]&&(_0x312f47[_0x56075e(0x1db)]===_0x4f84ae['batchSize']||_0x42173e([..._0x312f47,_0x3851bc],0x2**0x34)>_0x2e888b[_0x56075e(0x1b9)])&&(_0x312998['push'](_0x312f47),_0x312f47=[]),_0x312f47['push'](_0x3851bc);}if(_0x312f47['length'])_0x312998[_0x56075e(0x20e)](_0x312f47);const _0x3bed5a={'appCode':_0x4f84ae[_0x56075e(0x1dc)],'datasetCode':_0x4f84ae[_0x56075e(0x1e9)],'runtimeDomain':_0x4f84ae[_0x56075e(0x1bc)],'actorId':_0x2e888b[_0x56075e(0x1d5)],'fileHash':_0x43d80c[_0x56075e(0x211)],'mappingHash':_0x43d80c['mappingHash'],'schemaHash':_0x43d80c[_0x56075e(0x1fa)],'remoteSchemaHash':_0x2e888b[_0x56075e(0x1e3)],'batchSize':_0x4f84ae[_0x56075e(0x1cf)],'maxBatchBytes':_0x2e888b[_0x56075e(0x1b9)],'sheet':_0x43d80c[_0x56075e(0x1f9)],'strategy':_0x2e888b[_0x56075e(0x1da)]},_0x215556=await acquireLock(_0x4f84ae[_0x56075e(0x20a)]);let _0x18dada;const _0x5dde33=Date[_0x56075e(0x1d4)]();let _0x2f23e0=0x0;const _0x5f47f8=[],_0x5816c0=_0x6a012=>_0x18dada?.[_0x56075e(0x1fc)][_0x56075e(0x1e7)](_0x349ba1=>_0x349ba1[_0x56075e(0x209)]===_0x6a012)[_0x56075e(0x1d8)]((_0x2a0ab4,_0x47bd69)=>_0x2a0ab4+_0x47bd69['rowIndexes']['length'],0x0)??0x0,_0x7b792=()=>({'importId':_0x18dada?.[_0x56075e(0x213)],'sourceRows':_0x43d80c[_0x56075e(0x1c5)]['length'],'emptyRows':_0x43d80c['emptyRows'][_0x56075e(0x1db)],'succeeded':_0x5816c0(_0x56075e(0x1d6)),'unknown':_0x5816c0(_0x56075e(0x1e5)),'conflicts':_0x5816c0(_0x56075e(0x1f4)),'notAttempted':_0x5816c0('unsent'),'batches':_0x2f23e0,'batchResults':_0x5f47f8,'elapsedMs':Date[_0x56075e(0x1d4)]()-_0x5dde33,'checkpoint':_0x4f84ae[_0x56075e(0x20a)],'report':_0x4f84ae[_0x56075e(0x1ba)],'warnings':_0x43d80c[_0x56075e(0x1d0)]});try{if(_0x4f84ae[_0x56075e(0x1fb)]){try{_0x18dada=JSON['parse'](await readFile(_0x4f84ae[_0x56075e(0x20a)],_0x56075e(0x1ce)));}catch{throw Error(_0x56075e(0x206));}if(!_0x18dada||_0x18dada['version']!==0x2||typeof _0x18dada['importId']!==_0x56075e(0x201)||!_0x18dada['importId']||canonical(_0x18dada[_0x56075e(0x1c6)])!==canonical(_0x3bed5a)||!Array[_0x56075e(0x1f2)](_0x18dada[_0x56075e(0x1fc)])||_0x18dada[_0x56075e(0x1fc)][_0x56075e(0x1db)]!==_0x312998[_0x56075e(0x1db)]||new Set(_0x18dada[_0x56075e(0x1fc)][_0x56075e(0x1ea)](_0x5654de=>_0x5654de[_0x56075e(0x1f0)]))[_0x56075e(0x1f3)]!==_0x312998['length']||_0x18dada['batches']['some']((_0x5f54df,_0x3ec5ea)=>!validId(_0x5f54df[_0x56075e(0x1f0)])||_0x5f54df[_0x56075e(0x1f0)]>0x2**0x34||canonical(_0x5f54df[_0x56075e(0x1e1)])!==canonical(_0x312998[_0x3ec5ea])||![_0x56075e(0x1c1),'pending','succeeded','conflict'][_0x56075e(0x20c)](_0x5f54df[_0x56075e(0x209)])||!Array[_0x56075e(0x1f2)](_0x5f54df[_0x56075e(0x1bf)])||_0x5f54df['ids'][_0x56075e(0x1c8)](_0x38b337=>!validId(_0x38b337))||new Set(_0x5f54df[_0x56075e(0x1bf)])[_0x56075e(0x1f3)]!==_0x5f54df[_0x56075e(0x1bf)][_0x56075e(0x1db)]||_0x5f54df[_0x56075e(0x1bf)]['length']!==0x0&&_0x5f54df[_0x56075e(0x1bf)]['length']!==_0x5f54df[_0x56075e(0x1e1)][_0x56075e(0x1db)]||_0x5f54df['status']==='succeeded'&&_0x5f54df[_0x56075e(0x1bf)]['length']!==_0x5f54df[_0x56075e(0x1e1)][_0x56075e(0x1db)]||_0x5f54df['status']===_0x56075e(0x1c1)&&_0x5f54df['ids'][_0x56075e(0x1db)]!==0x0))throw Error('Import\x20checkpoint\x20does\x20not\x20match\x20the\x20input,\x20target\x20or\x20identity.');const _0xe8be63=_0x18dada[_0x56075e(0x1fc)][_0x56075e(0x1cb)](_0x13902a=>_0x13902a[_0x56075e(0x1bf)]);if(new Set(_0xe8be63)[_0x56075e(0x1f3)]!==_0xe8be63[_0x56075e(0x1db)])throw Error(_0x56075e(0x1c9));}else{try{await lstat(_0x4f84ae[_0x56075e(0x20a)]);throw Error('Import\x20checkpoint\x20already\x20exists;\x20use\x20--resume.');}catch(_0x3846e5){if(_0x3846e5['code']!==_0x56075e(0x1ec))throw _0x3846e5;}const _0x57bdb4=new Set();_0x18dada={'version':0x2,'importId':randomUUID(),'binding':_0x3bed5a,'batches':_0x312998[_0x56075e(0x1ea)](_0x343a8f=>{const _0x5e7386=_0x56075e;let _0x25fdd5;do{_0x25fdd5=Number(BigInt('0x'+randomBytes(0x7)['toString'](_0x5e7386(0x1c7)))&(0x1n<<0x34n)-0x1n)+0x1;}while(_0x57bdb4[_0x5e7386(0x1f5)](_0x25fdd5));return _0x57bdb4[_0x5e7386(0x1cc)](_0x25fdd5),{'taskId':_0x25fdd5,'rowIndexes':_0x343a8f,'ids':[],'status':_0x5e7386(0x1c1)};})},await saveImportJson(_0x4f84ae[_0x56075e(0x20a)],_0x18dada);}await _0x4f84ae[_0x56075e(0x1be)]?.();const _0x138250=_0x18dada,_0x1fb5d4=async(_0x2b4fe3,_0x308860)=>{const _0x1cca58=_0x56075e;_0x2b4fe3[_0x1cca58(0x209)]=_0x1cca58(0x1f4),await saveImportJson(_0x4f84ae[_0x1cca58(0x20a)],_0x138250);throw Error(_0x308860);},_0x3dfabb=async _0x5b72de=>{const _0x44791d=_0x56075e,_0x6b875d=await _0x20fdef[_0x44791d(0x1df)](_0x5b72de[_0x44791d(0x1f0)]);if(!Array[_0x44791d(0x1f2)](_0x6b875d))throw Error(_0x44791d(0x20d));if(_0x5b72de[_0x44791d(0x209)]===_0x44791d(0x1c1)&&_0x6b875d[_0x44791d(0x1db)])return _0x1fb5d4(_0x5b72de,'Import\x20task\x20marker\x20collision;\x20stop\x20without\x20replacing\x20the\x20marker.');if(!_0x6b875d[_0x44791d(0x1db)]){if(_0x5b72de[_0x44791d(0x209)]===_0x44791d(0x1d6)||_0x5b72de[_0x44791d(0x1bf)][_0x44791d(0x1db)])return _0x1fb5d4(_0x5b72de,_0x44791d(0x1e6));return![];}if(_0x6b875d[_0x44791d(0x1db)]!==_0x5b72de[_0x44791d(0x1e1)][_0x44791d(0x1db)])return _0x1fb5d4(_0x5b72de,_0x44791d(0x1f1));const _0x5ff25c=_0x6b875d['map'](_0x34f719=>_0x34f719?.['id']);if(_0x5ff25c['some'](_0x14e173=>!validId(_0x14e173)))return _0x1fb5d4(_0x5b72de,_0x44791d(0x1f6));const _0x1df5e1=_0x5ff25c;if(_0x1df5e1[_0x44791d(0x1c8)](_0xc29b04=>!validId(_0xc29b04))||_0x1df5e1[_0x44791d(0x1c8)]((_0x5933a0,_0x288784)=>_0x288784>0x0&&_0x5933a0<=_0x1df5e1[_0x288784-0x1])||_0x5b72de['ids'][_0x44791d(0x1db)]&&canonical(_0x1df5e1)!==canonical(_0x5b72de[_0x44791d(0x1bf)]))return _0x1fb5d4(_0x5b72de,_0x44791d(0x1f6));const _0xf3805f=new Set(_0x138250[_0x44791d(0x1fc)][_0x44791d(0x1e7)](_0x9011c5=>_0x9011c5!==_0x5b72de)[_0x44791d(0x1cb)](_0x2903f1=>_0x2903f1[_0x44791d(0x1bf)]));if(_0x1df5e1['some'](_0x5f5285=>_0xf3805f['has'](_0x5f5285)))return _0x1fb5d4(_0x5b72de,_0x44791d(0x200));for(let _0x5bcdba=0x0;_0x5bcdba<_0x6b875d[_0x44791d(0x1db)];_0x5bcdba++){const _0x4ff1c6=_0x43d80c['rows'][_0x5b72de['rowIndexes'][_0x5bcdba]][_0x44791d(0x1f8)];if(Object[_0x44791d(0x1ca)](_0x4ff1c6)[_0x44791d(0x1c8)](_0x531297=>!sameImportValue(_0x4ff1c6[_0x531297],_0x6b875d[_0x5bcdba][_0x531297],_0x43d80c[_0x44791d(0x202)]?.[_0x44791d(0x20c)](_0x531297)&&!_0x43d80c[_0x44791d(0x204)]?.[_0x44791d(0x20c)](_0x531297))))return _0x1fb5d4(_0x5b72de,'Import\x20content\x20conflict\x20at\x20Excel\x20row\x20'+_0x43d80c[_0x44791d(0x1c5)][_0x5b72de['rowIndexes'][_0x5bcdba]][_0x44791d(0x1d3)]+'.');}return _0x5b72de[_0x44791d(0x1bf)]=_0x1df5e1,_0x5b72de[_0x44791d(0x209)]=_0x44791d(0x1d6),await saveImportJson(_0x4f84ae[_0x44791d(0x20a)],_0x138250),!![];};if(_0x138250[_0x56075e(0x1fc)][_0x56075e(0x1c8)](_0x41df97=>_0x41df97[_0x56075e(0x209)]===_0x56075e(0x1f4)&&!(_0x4f84ae['resume']&&_0x4f84ae[_0x56075e(0x212)]&&_0x43d80c['imageFields']?.[_0x56075e(0x1db)]&&_0x41df97['ids'][_0x56075e(0x1db)]===_0x41df97[_0x56075e(0x1e1)][_0x56075e(0x1db)])))throw Error(_0x56075e(0x1f7));if(_0x4f84ae[_0x56075e(0x1fb)]){for(const _0x52f9b4 of _0x138250[_0x56075e(0x1fc)])await _0x3dfabb(_0x52f9b4);}for(const _0x1bf287 of _0x138250['batches']){if(_0x1bf287['status']==='succeeded')continue;if(!_0x4f84ae[_0x56075e(0x1fb)])await _0x3dfabb(_0x1bf287);_0x1bf287[_0x56075e(0x209)]='pending',await saveImportJson(_0x4f84ae[_0x56075e(0x20a)],_0x138250),_0x2f23e0++;const _0x1d0311=_0x1bf287[_0x56075e(0x1e1)][_0x56075e(0x1ea)](_0x5a1383=>_0x43d80c[_0x56075e(0x1c5)][_0x5a1383][_0x56075e(0x1f8)]),_0x1cf06d=Date[_0x56075e(0x1d4)](),_0x252d16={'batch':_0x2f23e0,'rowStart':_0x43d80c[_0x56075e(0x1c5)][_0x1bf287['rowIndexes'][0x0]][_0x56075e(0x1d3)],'rowEnd':_0x43d80c[_0x56075e(0x1c5)][_0x1bf287[_0x56075e(0x1e1)]['at'](-0x1)][_0x56075e(0x1d3)],'count':_0x1d0311[_0x56075e(0x1db)],'bytes':_0x42173e(_0x1bf287[_0x56075e(0x1e1)],_0x1bf287['taskId']),'elapsedMs':0x0,'status':'unknown'};_0x5f47f8[_0x56075e(0x20e)](_0x252d16);try{const _0x24aed4=await _0x20fdef[_0x56075e(0x1ef)](_0x1d0311,_0x1bf287[_0x56075e(0x1f0)]);if(!_0x24aed4||_0x24aed4['count']!==_0x1d0311[_0x56075e(0x1db)]||!Array[_0x56075e(0x1f2)](_0x24aed4[_0x56075e(0x1bf)])||_0x24aed4[_0x56075e(0x1bf)][_0x56075e(0x1db)]!==_0x1d0311['length']||_0x24aed4[_0x56075e(0x1bf)]['some'](_0x194dfd=>!validId(_0x194dfd))||new Set(_0x24aed4['ids'])[_0x56075e(0x1f3)]!==_0x24aed4[_0x56075e(0x1bf)]['length'])throw Error(_0x56075e(0x1dd));_0x1bf287['ids']=_0x24aed4['ids'],await saveImportJson(_0x4f84ae[_0x56075e(0x20a)],_0x138250);if(!await _0x3dfabb(_0x1bf287))throw Error(_0x56075e(0x1e2));}catch(_0x3ea87f){if(_0x1bf287[_0x56075e(0x209)]===_0x56075e(0x1f4))throw _0x3ea87f;try{await _0x3dfabb(_0x1bf287);}catch(_0x5ccfc5){if(_0x1bf287[_0x56075e(0x209)]===_0x56075e(0x1f4))throw _0x5ccfc5;}if(_0x1bf287[_0x56075e(0x209)]!=='succeeded')throw Error(_0x56075e(0x1d2));}finally{_0x252d16[_0x56075e(0x1cd)]=Date[_0x56075e(0x1d4)]()-_0x1cf06d,_0x252d16[_0x56075e(0x209)]=_0x1bf287[_0x56075e(0x209)]===_0x56075e(0x1d6)?_0x56075e(0x1d6):_0x1bf287[_0x56075e(0x209)]===_0x56075e(0x1f4)?_0x56075e(0x1f4):'unknown';}}const _0x471f00={'status':_0x56075e(0x20f),..._0x7b792()};return await saveImportJson(_0x4f84ae[_0x56075e(0x1ba)],_0x471f00),_0x471f00;}catch(_0x26fec1){if(_0x18dada)await saveImportJson(_0x4f84ae[_0x56075e(0x1ba)],{'status':_0x56075e(0x1eb),..._0x7b792(),'message':_0x26fec1[_0x56075e(0x210)]});throw _0x26fec1;}finally{await _0x215556();}}
1
+ const a139_0x217ae7=a139_0x13b9;(function(_0x3df0ef,_0x2a7482){const _0x404316=a139_0x13b9,_0x2b4bdc=_0x3df0ef();while(!![]){try{const _0x45a373=-parseInt(_0x404316(0x227))/0x1*(parseInt(_0x404316(0x23d))/0x2)+parseInt(_0x404316(0x22f))/0x3*(-parseInt(_0x404316(0x239))/0x4)+parseInt(_0x404316(0x238))/0x5+parseInt(_0x404316(0x214))/0x6+-parseInt(_0x404316(0x1f5))/0x7+-parseInt(_0x404316(0x232))/0x8*(parseInt(_0x404316(0x21a))/0x9)+parseInt(_0x404316(0x21b))/0xa;if(_0x45a373===_0x2a7482)break;else _0x2b4bdc['push'](_0x2b4bdc['shift']());}catch(_0x1867e2){_0x2b4bdc['push'](_0x2b4bdc['shift']());}}}(a139_0x5bbc,0x70ec8));import{randomBytes,randomUUID}from'node:crypto';function a139_0x5bbc(){const _0x19ead2=['toString','Incomplete\x20readback.','ids','Import\x20checkpoint\x20contains\x20a\x20content\x20conflict.','stringify','importId','unknown','\x20exceeds\x20the\x20import\x20request\x20size\x20limit.','checkpoint','errors','1514160msWvpW','hex','fileHash','imageFields','map','push','14211XUpcED','13842220GJEfNH','batchSize','mappingHash','taskId','Import\x20task\x20marker\x20collision;\x20stop\x20without\x20replacing\x20the\x20marker.','warnings','onCheckpointReady','schemaHash','rows','isSafeInteger','has','reconcileImageConflicts','29235kjzrvk','string','sheet','number','some','rowIndexes','status','byteLength','6FVXZdS','emptyRows','resume','1488oPlbtU','write','keys','Excel\x20contains\x20no\x20valid\x20data\x20rows.','Excel\x20row\x20','conflict','2345015gRLxht','707532jHJdwr','count','parse','Auto-ID\x20import\x20items\x20cannot\x20contain\x20a\x20primary\x20key.','22lQhBBk','completed','now','utf8','Import\x20generated\x20ID\x20collision.','schemaVersion','Import\x20checkpoint\x20contains\x20duplicate\x20generated\x20IDs.','add','hasOwn','report','Partial\x20import\x20task\x20readback\x20conflict.','datasetCode','Invalid\x20write\x20result.','ENOENT','The\x20auto-ID\x20runner\x20requires\x20the\x20v2\x20task\x20readback\x20contract.','succeeded','actorId','Import\x20generated\x20ID\x20conflict.','The\x20import\x20write\x20outcome\x20is\x20unknown.\x20Resume\x20to\x20reconcile\x20the\x20original\x20task\x20marker\x20before\x20continuing.','version','strategy','uploadFields','filter','rowNumber','4718028uxcZsg','values','isArray','schemaFingerprint','isInteger','pending','Import\x20content\x20conflict\x20at\x20Excel\x20row\x20','flatMap','Import\x20checkpoint\x20does\x20not\x20match\x20the\x20input,\x20target\x20or\x20identity.','incomplete','unsent','Cannot\x20read\x20the\x20import\x20checkpoint.','batches','size','Import\x20checkpoint\x20already\x20exists;\x20use\x20--resume.','appCode','maxBatchBytes','includes','length','Invalid\x20import\x20task\x20readback\x20response.','readTask'];a139_0x5bbc=function(){return _0x19ead2;};return a139_0x5bbc();}function a139_0x13b9(_0x658a0c,_0x5d2fc3){_0x658a0c=_0x658a0c-0x1ed;const _0x5bbc3c=a139_0x5bbc();let _0x13b99c=_0x5bbc3c[_0x658a0c];return _0x13b99c;}import{lstat,readFile}from'node:fs/promises';import{acquireLock,assertImportContract,assertImportPaths,canonical,sameImportValue,resolveImportOutputPath,saveImportJson}from'./runner.js';const validId=_0x1efed5=>typeof _0x1efed5===a139_0x217ae7(0x22a)&&Number[a139_0x217ae7(0x224)](_0x1efed5)&&_0x1efed5>0x0;export async function runAutoIdExcelImport(_0xacb6d){const _0x407b4c=a139_0x217ae7,_0x1b81dc={..._0xacb6d,'checkpoint':await resolveImportOutputPath(_0xacb6d[_0x407b4c(0x212)]),'report':await resolveImportOutputPath(_0xacb6d['report'])},{manifest:_0x393f67,contract:_0x18f2bd,api:_0xec09a5}=_0x1b81dc;assertImportContract(_0x18f2bd,_0x1b81dc[_0x407b4c(0x204)],_0x1b81dc[_0x407b4c(0x248)]);if(_0x18f2bd[_0x407b4c(0x242)]!==0x2||!_0xec09a5['readTask'])throw Error(_0x407b4c(0x24b));if(_0x393f67[_0x407b4c(0x213)][_0x407b4c(0x207)])throw Error('Excel\x20contains\x20invalid\x20rows;\x20no\x20data\x20was\x20written.');if(!_0x393f67['rows'][_0x407b4c(0x207)])throw Error(_0x407b4c(0x235));if(!Number[_0x407b4c(0x1f9)](_0x1b81dc[_0x407b4c(0x21c)])||_0x1b81dc[_0x407b4c(0x21c)]<0x1||_0x1b81dc[_0x407b4c(0x21c)]>_0x18f2bd['maxBatchSize'])throw Error('Invalid\x20import\x20batch\x20size.');assertImportPaths(_0x1b81dc['checkpoint'],_0x1b81dc[_0x407b4c(0x246)]);if(_0x393f67['rows']['some'](_0x5cbdfa=>Object[_0x407b4c(0x245)](_0x5cbdfa[_0x407b4c(0x1f6)],'id')))throw Error(_0x407b4c(0x23c));const _0x403f2b=(_0x4b7663,_0x42d8a1)=>Buffer[_0x407b4c(0x22e)](JSON[_0x407b4c(0x20e)]({'schemaFingerprint':_0x18f2bd[_0x407b4c(0x1f8)],'taskId':_0x42d8a1,'items':_0x4b7663['map'](_0x24d34d=>_0x393f67[_0x407b4c(0x223)][_0x24d34d]['values'])}),'utf8'),_0x2a33d1=[];let _0x4959eb=[];for(let _0x2d679d=0x0;_0x2d679d<_0x393f67['rows'][_0x407b4c(0x207)];_0x2d679d++){if(_0x403f2b([_0x2d679d],0x2**0x34)>_0x18f2bd['maxBatchBytes'])throw Error(_0x407b4c(0x236)+_0x393f67[_0x407b4c(0x223)][_0x2d679d][_0x407b4c(0x1f4)]+_0x407b4c(0x211));_0x4959eb[_0x407b4c(0x207)]&&(_0x4959eb[_0x407b4c(0x207)]===_0x1b81dc['batchSize']||_0x403f2b([..._0x4959eb,_0x2d679d],0x2**0x34)>_0x18f2bd['maxBatchBytes'])&&(_0x2a33d1[_0x407b4c(0x219)](_0x4959eb),_0x4959eb=[]),_0x4959eb[_0x407b4c(0x219)](_0x2d679d);}if(_0x4959eb[_0x407b4c(0x207)])_0x2a33d1[_0x407b4c(0x219)](_0x4959eb);const _0x4ba000={'appCode':_0x1b81dc[_0x407b4c(0x204)],'datasetCode':_0x1b81dc[_0x407b4c(0x248)],'runtimeDomain':_0x1b81dc['runtimeDomain'],'actorId':_0x18f2bd[_0x407b4c(0x1ed)],'fileHash':_0x393f67[_0x407b4c(0x216)],'mappingHash':_0x393f67[_0x407b4c(0x21d)],'schemaHash':_0x393f67[_0x407b4c(0x222)],'remoteSchemaHash':_0x18f2bd[_0x407b4c(0x1f8)],'batchSize':_0x1b81dc[_0x407b4c(0x21c)],'maxBatchBytes':_0x18f2bd[_0x407b4c(0x205)],'sheet':_0x393f67[_0x407b4c(0x229)],'strategy':_0x18f2bd[_0x407b4c(0x1f1)]},_0x1962a8=await acquireLock(_0x1b81dc[_0x407b4c(0x212)]);let _0x3e675b;const _0x188738=Date[_0x407b4c(0x23f)]();let _0x4a42ba=0x0;const _0x5d238d=[],_0xd3c8f5=_0x1b4937=>_0x3e675b?.[_0x407b4c(0x201)][_0x407b4c(0x1f3)](_0x70e0fd=>_0x70e0fd[_0x407b4c(0x22d)]===_0x1b4937)['reduce']((_0x561243,_0x17925d)=>_0x561243+_0x17925d[_0x407b4c(0x22c)][_0x407b4c(0x207)],0x0)??0x0,_0x5454d3=()=>({'importId':_0x3e675b?.[_0x407b4c(0x20f)],'sourceRows':_0x393f67[_0x407b4c(0x223)][_0x407b4c(0x207)],'emptyRows':_0x393f67[_0x407b4c(0x230)][_0x407b4c(0x207)],'succeeded':_0xd3c8f5(_0x407b4c(0x24c)),'unknown':_0xd3c8f5(_0x407b4c(0x1fa)),'conflicts':_0xd3c8f5('conflict'),'notAttempted':_0xd3c8f5('unsent'),'batches':_0x4a42ba,'batchResults':_0x5d238d,'elapsedMs':Date['now']()-_0x188738,'checkpoint':_0x1b81dc[_0x407b4c(0x212)],'report':_0x1b81dc[_0x407b4c(0x246)],'warnings':_0x393f67[_0x407b4c(0x220)]});try{if(_0x1b81dc[_0x407b4c(0x231)]){try{_0x3e675b=JSON[_0x407b4c(0x23b)](await readFile(_0x1b81dc[_0x407b4c(0x212)],_0x407b4c(0x240)));}catch{throw Error(_0x407b4c(0x200));}if(!_0x3e675b||_0x3e675b[_0x407b4c(0x1f0)]!==0x2||typeof _0x3e675b[_0x407b4c(0x20f)]!==_0x407b4c(0x228)||!_0x3e675b[_0x407b4c(0x20f)]||canonical(_0x3e675b['binding'])!==canonical(_0x4ba000)||!Array[_0x407b4c(0x1f7)](_0x3e675b['batches'])||_0x3e675b[_0x407b4c(0x201)][_0x407b4c(0x207)]!==_0x2a33d1[_0x407b4c(0x207)]||new Set(_0x3e675b['batches'][_0x407b4c(0x218)](_0x2e5d53=>_0x2e5d53[_0x407b4c(0x21e)]))[_0x407b4c(0x202)]!==_0x2a33d1[_0x407b4c(0x207)]||_0x3e675b[_0x407b4c(0x201)]['some']((_0x14a22e,_0x3f9e39)=>!validId(_0x14a22e[_0x407b4c(0x21e)])||_0x14a22e['taskId']>0x2**0x34||canonical(_0x14a22e[_0x407b4c(0x22c)])!==canonical(_0x2a33d1[_0x3f9e39])||!['unsent',_0x407b4c(0x1fa),_0x407b4c(0x24c),_0x407b4c(0x237)][_0x407b4c(0x206)](_0x14a22e['status'])||!Array[_0x407b4c(0x1f7)](_0x14a22e['ids'])||_0x14a22e[_0x407b4c(0x20c)][_0x407b4c(0x22b)](_0x36a663=>!validId(_0x36a663))||new Set(_0x14a22e[_0x407b4c(0x20c)])[_0x407b4c(0x202)]!==_0x14a22e['ids'][_0x407b4c(0x207)]||_0x14a22e['ids'][_0x407b4c(0x207)]!==0x0&&_0x14a22e[_0x407b4c(0x20c)]['length']!==_0x14a22e['rowIndexes']['length']||_0x14a22e[_0x407b4c(0x22d)]===_0x407b4c(0x24c)&&_0x14a22e[_0x407b4c(0x20c)][_0x407b4c(0x207)]!==_0x14a22e[_0x407b4c(0x22c)]['length']||_0x14a22e['status']===_0x407b4c(0x1ff)&&_0x14a22e[_0x407b4c(0x20c)][_0x407b4c(0x207)]!==0x0))throw Error(_0x407b4c(0x1fd));const _0x16cb6e=_0x3e675b['batches']['flatMap'](_0x4bb7a6=>_0x4bb7a6[_0x407b4c(0x20c)]);if(new Set(_0x16cb6e)[_0x407b4c(0x202)]!==_0x16cb6e[_0x407b4c(0x207)])throw Error(_0x407b4c(0x243));}else{try{await lstat(_0x1b81dc[_0x407b4c(0x212)]);throw Error(_0x407b4c(0x203));}catch(_0x3af206){if(_0x3af206['code']!==_0x407b4c(0x24a))throw _0x3af206;}const _0x47834d=new Set();_0x3e675b={'version':0x2,'importId':randomUUID(),'binding':_0x4ba000,'batches':_0x2a33d1[_0x407b4c(0x218)](_0xc21408=>{const _0x112ade=_0x407b4c;let _0x16a6c0;do{_0x16a6c0=Number(BigInt('0x'+randomBytes(0x7)[_0x112ade(0x20a)](_0x112ade(0x215)))&(0x1n<<0x34n)-0x1n)+0x1;}while(_0x47834d[_0x112ade(0x225)](_0x16a6c0));return _0x47834d[_0x112ade(0x244)](_0x16a6c0),{'taskId':_0x16a6c0,'rowIndexes':_0xc21408,'ids':[],'status':_0x112ade(0x1ff)};})},await saveImportJson(_0x1b81dc[_0x407b4c(0x212)],_0x3e675b);}await _0x1b81dc[_0x407b4c(0x221)]?.();const _0x2d68e6=_0x3e675b,_0x445aac=async(_0x49e891,_0x41d8bc)=>{const _0x53088d=_0x407b4c;_0x49e891['status']=_0x53088d(0x237),await saveImportJson(_0x1b81dc[_0x53088d(0x212)],_0x2d68e6);throw Error(_0x41d8bc);},_0x4615d3=async _0x59a9fb=>{const _0x362be8=_0x407b4c,_0x1094bb=await _0xec09a5[_0x362be8(0x209)](_0x59a9fb[_0x362be8(0x21e)]);if(!Array[_0x362be8(0x1f7)](_0x1094bb))throw Error(_0x362be8(0x208));if(_0x59a9fb[_0x362be8(0x22d)]===_0x362be8(0x1ff)&&_0x1094bb[_0x362be8(0x207)])return _0x445aac(_0x59a9fb,_0x362be8(0x21f));if(!_0x1094bb[_0x362be8(0x207)]){if(_0x59a9fb['status']==='succeeded'||_0x59a9fb[_0x362be8(0x20c)][_0x362be8(0x207)])return _0x445aac(_0x59a9fb,'Previously\x20imported\x20records\x20are\x20no\x20longer\x20visible;\x20recovery\x20conflict.');return![];}if(_0x1094bb[_0x362be8(0x207)]!==_0x59a9fb[_0x362be8(0x22c)][_0x362be8(0x207)])return _0x445aac(_0x59a9fb,_0x362be8(0x247));const _0x47af14=_0x1094bb['map'](_0x5eb93c=>_0x5eb93c?.['id']);if(_0x47af14[_0x362be8(0x22b)](_0x104d6b=>!validId(_0x104d6b)))return _0x445aac(_0x59a9fb,_0x362be8(0x1ee));const _0x232977=_0x47af14;if(_0x232977[_0x362be8(0x22b)](_0x2de9d2=>!validId(_0x2de9d2))||_0x232977[_0x362be8(0x22b)]((_0x2ff44d,_0x32b469)=>_0x32b469>0x0&&_0x2ff44d<=_0x232977[_0x32b469-0x1])||_0x59a9fb[_0x362be8(0x20c)]['length']&&canonical(_0x232977)!==canonical(_0x59a9fb[_0x362be8(0x20c)]))return _0x445aac(_0x59a9fb,'Import\x20generated\x20ID\x20conflict.');const _0x2b4dd5=new Set(_0x2d68e6[_0x362be8(0x201)][_0x362be8(0x1f3)](_0x432438=>_0x432438!==_0x59a9fb)[_0x362be8(0x1fc)](_0x10e0c0=>_0x10e0c0[_0x362be8(0x20c)]));if(_0x232977[_0x362be8(0x22b)](_0x1b672c=>_0x2b4dd5[_0x362be8(0x225)](_0x1b672c)))return _0x445aac(_0x59a9fb,_0x362be8(0x241));for(let _0x47cc73=0x0;_0x47cc73<_0x1094bb[_0x362be8(0x207)];_0x47cc73++){const _0x2cbb17=_0x393f67[_0x362be8(0x223)][_0x59a9fb[_0x362be8(0x22c)][_0x47cc73]][_0x362be8(0x1f6)];if(Object[_0x362be8(0x234)](_0x2cbb17)[_0x362be8(0x22b)](_0x111e03=>!sameImportValue(_0x2cbb17[_0x111e03],_0x1094bb[_0x47cc73][_0x111e03],_0x393f67['imageFields']?.[_0x362be8(0x206)](_0x111e03)&&!_0x393f67[_0x362be8(0x1f2)]?.[_0x362be8(0x206)](_0x111e03))))return _0x445aac(_0x59a9fb,_0x362be8(0x1fb)+_0x393f67[_0x362be8(0x223)][_0x59a9fb[_0x362be8(0x22c)][_0x47cc73]][_0x362be8(0x1f4)]+'.');}return _0x59a9fb[_0x362be8(0x20c)]=_0x232977,_0x59a9fb[_0x362be8(0x22d)]='succeeded',await saveImportJson(_0x1b81dc[_0x362be8(0x212)],_0x2d68e6),!![];};if(_0x2d68e6[_0x407b4c(0x201)][_0x407b4c(0x22b)](_0x4a883a=>_0x4a883a[_0x407b4c(0x22d)]===_0x407b4c(0x237)&&!(_0x1b81dc[_0x407b4c(0x231)]&&_0x1b81dc[_0x407b4c(0x226)]&&_0x393f67[_0x407b4c(0x217)]?.[_0x407b4c(0x207)]&&_0x4a883a['ids'][_0x407b4c(0x207)]===_0x4a883a[_0x407b4c(0x22c)]['length'])))throw Error(_0x407b4c(0x20d));if(_0x1b81dc[_0x407b4c(0x231)]){for(const _0x29dead of _0x2d68e6[_0x407b4c(0x201)])await _0x4615d3(_0x29dead);}for(const _0x10e741 of _0x2d68e6['batches']){if(_0x10e741[_0x407b4c(0x22d)]==='succeeded')continue;if(!_0x1b81dc[_0x407b4c(0x231)])await _0x4615d3(_0x10e741);_0x10e741[_0x407b4c(0x22d)]='pending',await saveImportJson(_0x1b81dc[_0x407b4c(0x212)],_0x2d68e6),_0x4a42ba++;const _0x474e9d=_0x10e741[_0x407b4c(0x22c)][_0x407b4c(0x218)](_0x450d67=>_0x393f67[_0x407b4c(0x223)][_0x450d67]['values']),_0x276d01=Date['now'](),_0x5e37cc={'batch':_0x4a42ba,'rowStart':_0x393f67['rows'][_0x10e741['rowIndexes'][0x0]][_0x407b4c(0x1f4)],'rowEnd':_0x393f67[_0x407b4c(0x223)][_0x10e741[_0x407b4c(0x22c)]['at'](-0x1)][_0x407b4c(0x1f4)],'count':_0x474e9d['length'],'bytes':_0x403f2b(_0x10e741[_0x407b4c(0x22c)],_0x10e741[_0x407b4c(0x21e)]),'elapsedMs':0x0,'status':_0x407b4c(0x210)};_0x5d238d[_0x407b4c(0x219)](_0x5e37cc);try{const _0x4df1cf=await _0xec09a5[_0x407b4c(0x233)](_0x474e9d,_0x10e741[_0x407b4c(0x21e)]);if(!_0x4df1cf||_0x4df1cf[_0x407b4c(0x23a)]!==_0x474e9d[_0x407b4c(0x207)]||!Array[_0x407b4c(0x1f7)](_0x4df1cf['ids'])||_0x4df1cf[_0x407b4c(0x20c)][_0x407b4c(0x207)]!==_0x474e9d[_0x407b4c(0x207)]||_0x4df1cf[_0x407b4c(0x20c)][_0x407b4c(0x22b)](_0x8fe57f=>!validId(_0x8fe57f))||new Set(_0x4df1cf['ids'])[_0x407b4c(0x202)]!==_0x4df1cf[_0x407b4c(0x20c)][_0x407b4c(0x207)])throw Error(_0x407b4c(0x249));_0x10e741[_0x407b4c(0x20c)]=_0x4df1cf[_0x407b4c(0x20c)],await saveImportJson(_0x1b81dc['checkpoint'],_0x2d68e6);if(!await _0x4615d3(_0x10e741))throw Error(_0x407b4c(0x20b));}catch(_0x389cf0){if(_0x10e741[_0x407b4c(0x22d)]===_0x407b4c(0x237))throw _0x389cf0;try{await _0x4615d3(_0x10e741);}catch(_0x5ac5d3){if(_0x10e741['status']===_0x407b4c(0x237))throw _0x5ac5d3;}if(_0x10e741[_0x407b4c(0x22d)]!==_0x407b4c(0x24c))throw Error(_0x407b4c(0x1ef));}finally{_0x5e37cc['elapsedMs']=Date[_0x407b4c(0x23f)]()-_0x276d01,_0x5e37cc[_0x407b4c(0x22d)]=_0x10e741['status']===_0x407b4c(0x24c)?_0x407b4c(0x24c):_0x10e741[_0x407b4c(0x22d)]===_0x407b4c(0x237)?_0x407b4c(0x237):_0x407b4c(0x210);}}const _0x23856b={'status':_0x407b4c(0x23e),..._0x5454d3()};return await saveImportJson(_0x1b81dc['report'],_0x23856b),_0x23856b;}catch(_0x48d073){if(_0x3e675b)await saveImportJson(_0x1b81dc[_0x407b4c(0x246)],{'status':_0x407b4c(0x1fe),..._0x5454d3(),'message':_0x48d073['message']});throw _0x48d073;}finally{await _0x1962a8();}}
@@ -1 +1 @@
1
- function a139_0x4665(){const _0x36dbaa=['reference','model','isInteger','Worksheet\x20exceeds\x20','Invalid\x20worksheet\x20hyperlink\x20reference.','Invalid\x20or\x20duplicate\x20dataset\x20field\x20metadata.','close','creatorName','textarea','slice','some','errors','parseInt','media','col','doType','XLSX\x20expanded\x20content\x20exceeds\x20100\x20MB.','Duplicate\x20ZIP64\x20extended\x20information\x20fields\x20are\x20not\x20supported.','exceljs','stringify','generalPurposeBitFlag','Sheet\x20index\x20must\x20be\x20a\x20positive\x20one-based\x20integer.','Workbook','1970934iSwGfi','readBigUInt64LE','2lcOpDB','\x20hidden\x20row(s)\x20are\x20included\x20in\x20the\x20import.','test','attributes','isBuffer','_xlnm.Print_Titles','datetime','size','top','before','sort','message','creatorId','readUInt16LE','761778evZeNM','Non-canonical\x20or\x20duplicate\x20image\x20archive\x20entry.','Unsupported\x20dataset\x20field\x20type:\x20serial_number.','fileName','fileNameStr','getCell','Headers\x20must\x20be\x20non-empty\x20text\x20cells\x20no\x20larger\x20than\x2064\x20KB.','length','Duplicate\x20workbook\x20ZIP\x20entry.','Cell\x20exceeds\x2064\x20KB.','extraFields','serial_number','date','ref','extname','byteLength','relativeOffsetOfLocalHeader','extraFieldsLength','boolean','ZIP\x20central\x20directory\x20entry\x20count\x20does\x20not\x20match\x20its\x20contents.','60954HNzTDU','XLSX\x20file\x20exceeds\x2020\x20MB.','dataset','MAX_SAFE_INTEGER','image','unixPermissions','file','Excel\x20import\x20only\x20supports\x20METADATA\x20datasets.','XLSX\x20file\x20must\x20be\x20a\x20regular\x20file\x20no\x20larger\x20than\x2020\x20MB.','Non-canonical\x20workbook\x20or\x20worksheet\x20ZIP\x20entry.','push','compressedSize','Required\x20image\x20value\x20is\x20missing.','headerRow\x20must\x20be\x20between\x201\x20and\x20100000.','digest','properties','generated','write','find','dataValidations','Requested\x20worksheet\x20does\x20not\x20exist.','Unknown\x20Excel\x20header:\x20','METADATA','decodeEx','uncompressedSize','jszip','set','bitFlag','destroy','exceljs/lib/utils/col-cache.js','sharedFormula','filter','exec','equals','required','opentag','parseText','object','Expected\x20an\x20Excel\x20date\x20cell.','isArray','sheet','Invalid\x20worksheet\x20cell\x20or\x20merge\x20reference.','mergeCell','cells','clear','startsWith','hyperlink','integer','entry','Unique\x20image\x20bytes\x20exceed\x2050\x20MB.','isSafeInteger','update','appCode','Mapping\x20must\x20contain\x20at\x20least\x20one\x20field.','Invalid\x20dataset\x20field\x20extension\x20metadata.','handleUTF8','autoIncrement','worksheets','pop','includes','readEntry','toLowerCase','23130096BpzQio','\x20columns.','parse','Invalid\x20worksheet\x20cell\x20without\x20an\x20initial\x20reference.','Image\x20XML\x20event\x20budget\x20exceeded.','Expected\x20a\x20finite\x20safe\x20numeric\x20cell.','.xlsx','address','charCodeAt','subarray','right','uploadFields','mapping','parseClose','closetag','directory','split','data','merges','openReadStream','string','add','deleted','externalFileAttributes','end','code','Invalid\x20ZIP\x20local\x20file\x20header.','Invalid\x20worksheet\x20nested\x20row.','Worksheet\x20column\x20objects\x20exceed\x20100000.','Duplicate\x20dataset\x20field\x20codes.','imageFields','dataset-import/','Image\x20XML\x20node\x20budget\x20exceeded.','definedName','fileCommentRaw','xl/workbook.xml','name','lastIndexOf','decimal','parseOpen','Non-canonical\x20worksheet\x20ZIP\x20entry.','Workbook\x20defined\x20name\x20work\x20exceeds\x20100000.','eachCell','Worksheet\x20deferred\x20cell\x20events\x20exceed\x201000000.','upload','every','image/jpeg','resolve','entryCount','Invalid\x20worksheet\x20merge\x20reference.','result','Invalid\x20XLSX\x20archive.','546787eoMsmZ','./reader/readerFor','row','hex','Worksheet\x20coordinate\x20exceeds\x20','hiddenRow','error','Only\x20.xlsx\x20files\x20are\x20supported.','Invalid\x20ZIP\x20central\x20directory\x20layout.','left','Invalid\x20worksheet\x20XML.','hidden','File\x20is\x20not\x20an\x20XLSX\x20workbook.','type','./utils','XML\x20DTD/entities\x20are\x20not\x20supported.','2104288vqBwEd','Invalid\x20worksheet\x20column\x20range.','192GbYwks','modifierId','imageCells','value','getRow','jpg','original','./utf8','get','Unsupported\x20field\x20type:\x20','max','4613478SHwJVw','Required\x20field\x20is\x20not\x20mapped:\x20','xlsx','getTime','columnCount','processAttributes','parserVersion','has','trim','number','bottom','map','20QfDckO','nativeCell','readEntryCursor','Formula\x20has\x20no\x20cached\x20result.','Invalid\x20worksheet\x20coordinate.','rowCount','sha256','fileNameRaw','contentHash','Unknown\x20or\x20generated\x20mapping\x20field:\x20','localeCompare','Invalid\x20worksheet\x20XML:\x20','exceljs/lib/xlsx/xform/book/defined-name-xform.js','utf8','sourceType','from','abs','warnings','values','isFinite','headerRow','text','5ueFDQv','readUInt32LE','datasetId','versionMadeBy','fields','ZIP\x20local\x20and\x20central\x20entry\x20names\x20must\x20match.','batchSize'];a139_0x4665=function(){return _0x36dbaa;};return a139_0x4665();}const a139_0x2cf248=a139_0x54ac;(function(_0x363c3b,_0x6112a6){const _0x333d51=a139_0x54ac,_0xc7e7ae=_0x363c3b();while(!![]){try{const _0x3b1da2=-parseInt(_0x333d51(0x7c))/0x1*(-parseInt(_0x333d51(0xdb))/0x2)+parseInt(_0x333d51(0xfd))/0x3*(parseInt(_0x333d51(0x8e))/0x4)+-parseInt(_0x333d51(0xbb))/0x5*(-parseInt(_0x333d51(0x99))/0x6)+parseInt(_0x333d51(0xd9))/0x7+parseInt(_0x333d51(0x8c))/0x8+parseInt(_0x333d51(0xe9))/0x9*(-parseInt(_0x333d51(0xa5))/0xa)+-parseInt(_0x333d51(0x13b))/0xb;if(_0x3b1da2===_0x6112a6)break;else _0xc7e7ae['push'](_0xc7e7ae['shift']());}catch(_0x112224){_0xc7e7ae['push'](_0xc7e7ae['shift']());}}}(a139_0x4665,0x89956));import{readFile,stat}from'node:fs/promises';import{createHash}from'node:crypto';import a139_0x4edb8f from'node:path';import{StringDecoder}from'node:string_decoder';import{createRequire}from'node:module';import{SaxesParser}from'saxes';import a139_0x9b9df5 from'exceljs';import a139_0x2f3373 from'yauzl';import{resolveWorksheetImages}from'./image-ooxml.js';import{validateImageBytes}from'./image-bytes.js';const MAX_FILE=0x14*0x400*0x400,MAX_EXPANDED=0x64*0x400*0x400,MAX_ROWS=0x186a0,MAX_COLUMNS=0x100,MAX_XML_ROWS=0x100000,MAX_XML_COLUMNS=0x4000,MAX_CELL=0x40*0x400,RESERVED=new Set(['id','tenantCode',a139_0x2cf248(0x131),a139_0x2cf248(0xbd),a139_0x2cf248(0xe7),a139_0x2cf248(0xc9),a139_0x2cf248(0x8f),'modifierName','createTime','updateTime',a139_0x2cf248(0x151)]),TYPES=new Set([a139_0x2cf248(0x14f),'text',a139_0x2cf248(0xca),a139_0x2cf248(0xa2),a139_0x2cf248(0x161),a139_0x2cf248(0x12c),a139_0x2cf248(0xfb),a139_0x2cf248(0xf5),a139_0x2cf248(0xe1),'image','upload']),isImageContainer=_0x4ef188=>[a139_0x2cf248(0x101),a139_0x2cf248(0x74)][a139_0x2cf248(0x138)](_0x4ef188[a139_0x2cf248(0x13a)]()),hash=_0x2d943f=>createHash(a139_0x2cf248(0xab))[a139_0x2cf248(0x130)](_0x2d943f)[a139_0x2cf248(0x10b)](a139_0x2cf248(0x7f)),require=createRequire(import.meta.url),DefinedNameXform=require(a139_0x2cf248(0xb1)),nameCoordinates=require(a139_0x2cf248(0x11a)),ABSOLUTE_NAME_RANGE=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/,excelRequire=createRequire(require[a139_0x2cf248(0x77)](a139_0x2cf248(0xd4))),zipRequire=createRequire(excelRequire[a139_0x2cf248(0x77)](a139_0x2cf248(0x116))),ZipEntry=zipRequire('./zipEntry'),zipReader=zipRequire(a139_0x2cf248(0x7d)),zipUtf8=zipRequire(a139_0x2cf248(0x95)),zipPaths=zipRequire(a139_0x2cf248(0x8a));function centralDirectoryEnd(_0x1aae4a,_0x29ff15){const _0x244ae2=a139_0x2cf248,_0x546871=()=>new Error(_0x244ae2(0x84)),_0x34d89f=_0x1aae4a[_0x244ae2(0x160)](Buffer[_0x244ae2(0xb4)]([0x50,0x4b,0x5,0x6]));if(_0x34d89f<0x0||_0x34d89f+0x16>_0x1aae4a['length']||_0x34d89f+0x16+_0x1aae4a[_0x244ae2(0xe8)](_0x34d89f+0x14)!==_0x1aae4a[_0x244ae2(0xf0)])throw _0x546871();let _0x2cc31d=_0x1aae4a['readUInt16LE'](_0x34d89f+0xa),_0x1480d2=_0x1aae4a['readUInt32LE'](_0x34d89f+0xc),_0x4add43=_0x1aae4a['readUInt32LE'](_0x34d89f+0x10),_0x2edaef=_0x34d89f;const _0x13f0ea=_0x34d89f-0x14,_0x4dea33=_0x13f0ea>=0x0&&_0x1aae4a[_0x244ae2(0xbc)](_0x13f0ea)===0x7064b50,_0x391439=[0x4,0x6,0x8,0xa][_0x244ae2(0xcc)](_0x137531=>_0x1aae4a[_0x244ae2(0xe8)](_0x34d89f+_0x137531)===0xffff)||_0x1480d2===0xffffffff||_0x4add43===0xffffffff;if(_0x4dea33!==_0x391439)throw _0x546871();if(_0x4dea33){if(_0x1aae4a['lastIndexOf'](Buffer[_0x244ae2(0xb4)]([0x50,0x4b,0x6,0x7]))!==_0x13f0ea)throw _0x546871();const _0x4fedba=_0x5e8f60=>{const _0x41979a=_0x244ae2,_0x243f0e=Number(_0x1aae4a[_0x41979a(0xda)](_0x5e8f60));if(!Number[_0x41979a(0x12f)](_0x243f0e))throw _0x546871();return _0x243f0e;};_0x2edaef=_0x4fedba(_0x13f0ea+0x8);if(_0x1aae4a[_0x244ae2(0xbc)](_0x13f0ea+0x4)!==0x0||_0x1aae4a['readUInt32LE'](_0x13f0ea+0x10)!==0x1||_0x2edaef>_0x13f0ea-0x38||_0x1aae4a['readUInt32LE'](_0x2edaef)!==0x6064b50||_0x4fedba(_0x2edaef+0x4)!==0x2c||_0x2edaef+0x38!==_0x13f0ea||_0x1aae4a[_0x244ae2(0xbc)](_0x2edaef+0x10)!==0x0||_0x1aae4a[_0x244ae2(0xbc)](_0x2edaef+0x14)!==0x0)throw _0x546871();_0x2cc31d=_0x4fedba(_0x2edaef+0x20),_0x1480d2=_0x4fedba(_0x2edaef+0x28),_0x4add43=_0x4fedba(_0x2edaef+0x30);if(_0x4fedba(_0x2edaef+0x18)!==_0x2cc31d)throw _0x546871();}else{if(_0x1aae4a[_0x244ae2(0xe8)](_0x34d89f+0x4)!==0x0||_0x1aae4a[_0x244ae2(0xe8)](_0x34d89f+0x6)!==0x0||_0x1aae4a['readUInt16LE'](_0x34d89f+0x8)!==_0x2cc31d)throw _0x546871();}const _0x89a4bb=_0x29ff15[_0x244ae2(0xa7)];if(_0x4add43!==_0x89a4bb||_0x2cc31d!==_0x29ff15[_0x244ae2(0x78)]||_0x4add43+_0x1480d2!==_0x2edaef)throw _0x546871();return _0x2edaef;}function consumerEntryName(_0x1e4dae,_0x36a9af){const _0x205417=a139_0x2cf248;if(_0x36a9af[_0x205417(0xf3)][_0x205417(0x11c)](_0x2313e6=>_0x2313e6['id']===0x1)['length']>0x1)throw new Error(_0x205417(0xd3));const _0x5b6080=_0x36a9af,_0x3a4018=_0x36a9af[_0x205417(0xf9)];if(!Buffer[_0x205417(0xdf)](_0x5b6080[_0x205417(0xac)])||!Buffer[_0x205417(0xdf)](_0x5b6080['extraFieldRaw'])||!Buffer[_0x205417(0xdf)](_0x5b6080[_0x205417(0x15d)])||!Number[_0x205417(0x12f)](_0x3a4018)||_0x3a4018<0x0||_0x3a4018>_0x1e4dae[_0x205417(0xf0)]-0x1e||_0x1e4dae[_0x205417(0xbc)](_0x3a4018)!==0x4034b50)throw new Error(_0x205417(0x155));const _0x1c7309=_0x3a4018+0x1e+_0x1e4dae[_0x205417(0xe8)](_0x3a4018+0x1a),_0x1e4473=_0x1c7309+_0x1e4dae['readUInt16LE'](_0x3a4018+0x1c)+_0x36a9af[_0x205417(0x108)];if(!Number[_0x205417(0x12f)](_0x1e4473)||_0x1e4473>_0x1e4dae[_0x205417(0xf0)])throw new Error(_0x205417(0x155));if(_0x1c7309>_0x1e4dae[_0x205417(0xf0)]||!_0x1e4dae[_0x205417(0x144)](_0x3a4018+0x1e,_0x1c7309)[_0x205417(0x11e)](_0x5b6080['fileNameRaw']))throw new Error(_0x205417(0xc0));const _0x310c07=new ZipEntry({},{'decodeFileName':zipUtf8['utf8decode']});_0x310c07[_0x205417(0x118)]=_0x36a9af[_0x205417(0xd6)],_0x310c07[_0x205417(0xec)]=_0x5b6080[_0x205417(0xac)],_0x310c07['fileComment']=_0x5b6080[_0x205417(0x15d)],_0x310c07[_0x205417(0xfa)]=_0x5b6080['extraFieldRaw'][_0x205417(0xf0)],_0x310c07['readExtraFields'](zipReader(_0x5b6080['extraFieldRaw'])),_0x310c07[_0x205417(0x134)](),_0x310c07['versionMadeBy']=_0x36a9af[_0x205417(0xbe)],_0x310c07[_0x205417(0x152)]=_0x36a9af['externalFileAttributes'],_0x310c07[_0x205417(0x9e)]();const _0x6721be=_0x310c07['dir']||Boolean((_0x310c07[_0x205417(0x102)]??0x0)&0x4000),_0x129886=zipPaths[_0x205417(0x77)](_0x310c07[_0x205417(0xed)]),_0xacd892=_0x129886[_0x205417(0x12a)]('/')?_0x129886['slice'](0x1):_0x129886;return{'name':_0xacd892,'original':_0x310c07[_0x205417(0xed)],'directory':_0x6721be};}export function normalizeImportFields(_0x523fc1){const _0x4c0ff1=a139_0x2cf248;if(!_0x523fc1||(_0x523fc1['source']??_0x523fc1[_0x4c0ff1(0xff)]?.[_0x4c0ff1(0xb3)])!==_0x4c0ff1(0x113))throw new Error(_0x4c0ff1(0x104));const _0x3e1301=Array[_0x4c0ff1(0x124)](_0x523fc1[_0x4c0ff1(0xbf)]),_0x41b433=_0x3e1301?_0x523fc1[_0x4c0ff1(0xbf)]:_0x523fc1[_0x4c0ff1(0x10c)];if(!Array[_0x4c0ff1(0x124)](_0x41b433)||_0x41b433[_0x4c0ff1(0xf0)]===0x0)throw new Error('Dataset\x20field\x20metadata\x20is\x20missing.');const _0x345fd2=[],_0x45dadd=new Set();for(const _0x1e815e of _0x41b433){if(_0x1e815e[_0x4c0ff1(0x151)]===!![])continue;let _0x34446b=_0x1e815e['extend']??{};if(!_0x3e1301&&typeof _0x34446b===_0x4c0ff1(0x14f)){try{_0x34446b=JSON[_0x4c0ff1(0x13d)](_0x34446b);}catch{throw new Error('Invalid\x20dataset\x20field\x20extension\x20metadata.');}if(!_0x34446b||typeof _0x34446b!==_0x4c0ff1(0x122)||Array['isArray'](_0x34446b))throw new Error(_0x4c0ff1(0x133));}const _0x419230=_0x3e1301?_0x1e815e[_0x4c0ff1(0x15f)]:_0x1e815e[_0x4c0ff1(0x154)],_0x4c743d=_0x3e1301?_0x1e815e[_0x4c0ff1(0xd1)]:_0x1e815e[_0x4c0ff1(0x89)]??_0x1e815e['dataType'];if(typeof _0x419230!==_0x4c0ff1(0x14f)||!_0x419230||typeof _0x4c743d!=='string'||_0x45dadd[_0x4c0ff1(0xa0)](_0x419230))throw new Error(_0x4c0ff1(0xc7));if(_0x4c743d['toLowerCase']()===_0x4c0ff1(0xf4))throw new Error(_0x4c0ff1(0xeb));_0x45dadd[_0x4c0ff1(0x150)](_0x419230);const _0x728e1a=_0x3e1301?_0x1e815e:_0x34446b,_0x3987d5={'code':_0x419230,'type':_0x4c743d,'required':_0x728e1a['required']===!![]};if(RESERVED['has'](_0x419230)||_0x728e1a['generated']===!![]||_0x728e1a[_0x4c0ff1(0x135)]===!![])_0x3987d5[_0x4c0ff1(0x10d)]=!![];_0x345fd2['push'](_0x3987d5);}return _0x345fd2;}async function checkArchive(_0x9524c9,_0x4e65bf){await new Promise((_0x768824,_0x331d50)=>{a139_0x2f3373['fromBuffer'](_0x9524c9,{'lazyEntries':!![],'validateEntrySizes':!![]},(_0x57f3ad,_0x147df4)=>{const _0x2c8699=a139_0x54ac;if(_0x57f3ad||!_0x147df4){_0x331d50(_0x57f3ad??new Error(_0x2c8699(0x7b)));return;}let _0x3e301c;try{_0x3e301c=centralDirectoryEnd(_0x9524c9,_0x147df4);}catch(_0x19c043){_0x147df4['close'](),_0x331d50(_0x19c043);return;}let _0xcdbeef=0x0,_0xb84208=0x0,_0x51fd4c=0x0,_0x408c11=0x0,_0x4bf3ad=0x0,_0x530604=0x0,_0x4b991d=0x0,_0x16806d=0x0,_0x22d50e=0x0,_0xa9e620=![],_0x3a5cef;const _0x303a45=new Set(),_0x35e471=_0xdb6600=>{const _0xe1e413=_0x2c8699;if(_0xa9e620)return;_0xa9e620=!![],_0x3a5cef?.['destroy'](),_0x147df4[_0xe1e413(0xc8)](),_0x331d50(_0xdb6600);},_0x5efeb3=(_0x301de4,_0x51064d)=>{const _0x5b1878=_0x2c8699;if(!_0x301de4||!/^\d+$/[_0x5b1878(0xdd)](_0x301de4))throw new Error(_0x5b1878(0xa9));const _0x436b0f=Number(_0x301de4);if(!Number[_0x5b1878(0x12f)](_0x436b0f)||_0x436b0f<0x1||_0x436b0f>_0x51064d)throw new Error(_0x5b1878(0x80)+_0x51064d+'.');return _0x436b0f;},_0x40c42a=(_0x15ea53,_0x3a390b=MAX_XML_COLUMNS)=>{const _0x229f30=_0x2c8699,_0x53fe51=/^\$?([A-Z]{1,3})\$?(\d+)$/[_0x229f30(0x11d)](_0x15ea53);if(!_0x53fe51)throw new Error(_0x229f30(0x126));let _0x3c8013=0x0;for(const _0x41bbcc of _0x53fe51[0x1])_0x3c8013=_0x3c8013*0x1a+_0x41bbcc[_0x229f30(0x143)](0x0)-0x40;if(_0x3c8013>_0x3a390b)throw new Error(_0x229f30(0xc5)+_0x3a390b+_0x229f30(0x13c));return{'row':_0x5efeb3(_0x53fe51[0x2],MAX_XML_ROWS),'col':_0x3c8013};},_0x1b3821=_0x519e8d=>{const _0x4d6901=_0x2c8699;if(_0x519e8d[_0x4d6901(0x15f)]==='_xlnm.Print_Area'||_0x519e8d[_0x4d6901(0x15f)]===_0x4d6901(0xe0))return;for(const _0x34f9b0 of _0x519e8d['ranges']){if(!ABSOLUTE_NAME_RANGE[_0x4d6901(0xdd)](_0x34f9b0[_0x4d6901(0x14b)]('!')[_0x4d6901(0x137)]()||''))continue;const _0x45ea38=nameCoordinates[_0x4d6901(0x114)](_0x34f9b0),_0x538b53='top'in _0x45ea38,_0x363536=_0x538b53?[_0x45ea38['top'],_0x45ea38[_0x4d6901(0xa3)]]:[_0x45ea38[_0x4d6901(0x7e)]],_0x287a98=_0x538b53?[_0x45ea38[_0x4d6901(0x85)],_0x45ea38['right']]:[_0x45ea38['col']],_0x4386fb=(_0x2e8b35,_0xfbd1e4)=>Number[_0x4d6901(0x12f)](_0x2e8b35)&&_0x2e8b35>=0x1&&_0x2e8b35<=_0xfbd1e4;if(!_0x363536[_0x4d6901(0x75)](_0x282cd3=>_0x4386fb(_0x282cd3,MAX_XML_ROWS))||!_0x287a98[_0x4d6901(0x75)](_0x497da0=>_0x4386fb(_0x497da0,MAX_XML_COLUMNS)))throw new Error('Invalid\x20defined\x20name\x20coordinate.');_0x4b991d+=_0x538b53?(_0x45ea38[_0x4d6901(0xa3)]-_0x45ea38[_0x4d6901(0xe3)]+0x1)*(_0x45ea38[_0x4d6901(0x145)]-_0x45ea38[_0x4d6901(0x85)]+0x1):0x1;if(_0x4b991d>MAX_ROWS)throw new Error(_0x4d6901(0x71));}};_0x147df4['on'](_0x2c8699(0x82),_0x35e471),_0x147df4['on'](_0x2c8699(0x12d),_0x4f9863=>{const _0x16a8dd=_0x2c8699;if(_0xa9e620)return;if(++_0x51fd4c>0x2710||(_0xcdbeef+=_0x4f9863[_0x16a8dd(0x115)])>MAX_EXPANDED){_0x35e471(new Error(_0x16a8dd(0xd2)));return;}let _0x43acbc;try{_0x43acbc=consumerEntryName(_0x9524c9,_0x4f9863);}catch(_0x275e52){_0x35e471(_0x275e52);return;}if(_0x43acbc[_0x16a8dd(0x14a)]){_0x147df4[_0x16a8dd(0x139)]();return;}const _0x57774c=_0x43acbc[_0x16a8dd(0x15f)];if(_0x4e65bf&&(_0x57774c!==_0x43acbc[_0x16a8dd(0x94)]||_0x303a45[_0x16a8dd(0xa0)](_0x57774c)||_0x57774c[_0x16a8dd(0x12a)]('/')||_0x57774c[_0x16a8dd(0x138)]('\x5c'))){_0x35e471(new Error(_0x16a8dd(0xea)));return;}if(_0x57774c!==_0x43acbc[_0x16a8dd(0x94)]&&(_0x57774c===_0x16a8dd(0x15e)||/xl\/worksheets\/sheet(\d+)[.]xml/[_0x16a8dd(0xdd)](_0x57774c))){_0x35e471(new Error(_0x16a8dd(0x106)));return;}const _0x2c5e40=_0x57774c===_0x16a8dd(0x15e);if(_0x2c5e40&&_0x303a45[_0x16a8dd(0xa0)](_0x57774c)){_0x35e471(new Error(_0x16a8dd(0xf1)));return;}_0x303a45[_0x16a8dd(0x150)](_0x57774c);const _0x933f10=/xl\/worksheets\/sheet(\d+)[.]xml/[_0x16a8dd(0xdd)](_0x57774c);if(_0x933f10&&!/^xl\/worksheets\/sheet\d+[.]xml$/['test'](_0x57774c)){_0x35e471(new Error(_0x16a8dd(0x70)));return;}_0x147df4[_0x16a8dd(0x14e)](_0x4f9863,(_0x1d2091,_0x22d65f)=>{const _0x587897=_0x16a8dd;if(_0xa9e620){_0x22d65f?.[_0x587897(0x119)]();return;}if(_0x1d2091||!_0x22d65f){_0x35e471(_0x1d2091??new Error('Invalid\x20XLSX\x20entry.'));return;}_0x3a5cef=_0x22d65f;const _0x571a59=_0x4e65bf?[]:undefined,_0x1e227c=_0x4e65bf&&/[.](xml|rels)$/[_0x587897(0xdd)](_0x57774c)?new StringDecoder(_0x587897(0xb2)):undefined,_0x438bf3=_0x1e227c?new SaxesParser({'xmlns':![]}):undefined,_0x1045cf=()=>{const _0x58a1d5=_0x587897;if(++_0x22d50e>0x1e8480)throw Error(_0x58a1d5(0x13f));};_0x438bf3?.['on']('doctype',()=>{const _0x189f36=_0x587897;throw Error(_0x189f36(0x8b));}),_0x438bf3?.['on'](_0x587897(0x120),()=>{const _0x1469a3=_0x587897;_0x1045cf();if(++_0x16806d>0x7a120)throw Error(_0x1469a3(0x15b));}),_0x438bf3?.['on'](_0x587897(0xba),_0x1045cf),_0x438bf3?.['on']('closetag',_0x1045cf),_0x438bf3?.['on']('error',_0x64a902=>{throw _0x64a902;});const _0x1022fa=_0x933f10||_0x2c5e40?new StringDecoder('utf8'):undefined,_0x50cbe8=_0x933f10||_0x2c5e40?new SaxesParser({'xmlns':![]}):undefined;let _0x46924f,_0x1a1ab0=0x0,_0x413bdf=0x0,_0x547b95,_0x3d8b90,_0x2be73b=![],_0x58d537=![],_0x5adfdb,_0x46812a,_0x49e6ac,_0x23b1d3=![];const _0x5cccd1=[],_0x38012e=new Set();let _0x3f50f1;const _0x1f1214=(_0x5b5838,_0x198671=0x0)=>{const _0x2b5997=_0x587897;_0x4bf3ad+=_0x198671+Math[_0x2b5997(0x98)](0x0,_0x5b5838-_0x413bdf),_0x413bdf=Math['max'](_0x413bdf,_0x5b5838);if(_0x4bf3ad>MAX_ROWS)throw new Error(_0x2b5997(0x157));};_0x50cbe8?.['on']('opentag',_0x144d47=>{const _0x4d447a=_0x587897;if(_0x2c5e40){if(!_0x46924f&&_0x144d47[_0x4d447a(0x15f)]===_0x4d447a(0x15c))_0x46924f=new DefinedNameXform();_0x46924f?.[_0x4d447a(0x162)](_0x144d47);return;}if(_0x144d47[_0x4d447a(0x15f)]===_0x4d447a(0x7e)){if(_0x58d537)throw new Error(_0x4d447a(0x156));_0x5efeb3(_0x144d47[_0x4d447a(0xde)]['r'],MAX_XML_ROWS),_0x547b95=undefined,_0x49e6ac=undefined,_0x23b1d3=![];}else{if(_0x144d47[_0x4d447a(0x15f)]==='c'){if(_0x58d537)throw new Error('Invalid\x20worksheet\x20nested\x20cell.');_0x58d537=!![],_0x2be73b=Boolean(Number[_0x4d447a(0xce)](_0x144d47[_0x4d447a(0xde)]['s']??'',0xa)),_0x3f50f1=undefined,_0x5adfdb=_0x144d47[_0x4d447a(0xde)]['r']||undefined,_0x46812a=_0x5adfdb?_0x40c42a(_0x5adfdb):undefined;if(_0x46812a)_0x3d8b90=_0x46812a;else _0x3d8b90=_0x547b95?{'row':_0x547b95[_0x4d447a(0x7e)],'col':_0x547b95[_0x4d447a(0xd0)]+0x1}:undefined;}else{if(_0x58d537&&['f','v','t'][_0x4d447a(0x138)](_0x144d47[_0x4d447a(0x15f)])){_0x3f50f1=_0x144d47[_0x4d447a(0x15f)];if(_0x144d47[_0x4d447a(0x15f)]==='f'&&_0x144d47['attributes']['t'])_0x2be73b=!![];}else{if(_0x58d537&&_0x144d47['name']==='r')_0x2be73b=!![];else{if(_0x144d47[_0x4d447a(0x15f)]===_0x4d447a(0x12b)){const _0x4f3c60=_0x144d47[_0x4d447a(0xde)][_0x4d447a(0xf6)];if(!_0x4f3c60)throw new Error(_0x4d447a(0xc6));const _0x489f34=_0x4f3c60['split'](':');if(_0x489f34[_0x4d447a(0xf0)]>0x2)throw new Error('Invalid\x20worksheet\x20hyperlink\x20reference.');const _0x690b04=_0x40c42a(_0x489f34[0x0]),_0x1d1a4c=_0x40c42a(_0x489f34[0x1]??_0x489f34[0x0]);_0x38012e['add'](_0x4f3c60),_0x1f1214(Math[_0x4d447a(0x98)](_0x690b04['col'],_0x1d1a4c[_0x4d447a(0xd0)]),0x1);}else{if(_0x144d47[_0x4d447a(0x15f)]===_0x4d447a(0xd0)){const _0x30a5d5=_0x5efeb3(_0x144d47[_0x4d447a(0xde)]['min'],0x4000),_0x5ad195=_0x5efeb3(_0x144d47[_0x4d447a(0xde)][_0x4d447a(0x98)],0x4000);if(_0x30a5d5>_0x5ad195)throw new Error(_0x4d447a(0x8d));_0x1f1214(_0x5ad195,0x1);}else{if(_0x144d47[_0x4d447a(0x15f)]===_0x4d447a(0x127)){const _0x452afb=_0x144d47[_0x4d447a(0xde)]['ref'];if(!_0x452afb)throw new Error(_0x4d447a(0x79));const _0x40ca61=_0x452afb[_0x4d447a(0x14b)](':');if(_0x40ca61[_0x4d447a(0xf0)]>0x2)throw new Error(_0x4d447a(0x79));const _0xe28f80=_0x40c42a(_0x40ca61[0x0]),_0x3bfa83=_0x40c42a(_0x40ca61[0x1]??_0x40ca61[0x0]);_0x1f1214(Math['max'](_0xe28f80[_0x4d447a(0xd0)],_0x3bfa83['col']));const _0x110aac=(Math[_0x4d447a(0xb5)](_0x3bfa83[_0x4d447a(0x7e)]-_0xe28f80[_0x4d447a(0x7e)])+0x1)*(Math[_0x4d447a(0xb5)](_0x3bfa83[_0x4d447a(0xd0)]-_0xe28f80[_0x4d447a(0xd0)])+0x1);_0x408c11+=_0x110aac+_0x1a1ab0++;if(_0x408c11>MAX_ROWS)throw new Error('Worksheet\x20merge\x20work\x20exceeds\x20100000.');}}}}}}}}),_0x50cbe8?.['on'](_0x587897(0xba),_0x2a3624=>{const _0x188751=_0x587897;if(_0x2c5e40){_0x46924f?.[_0x188751(0x121)](_0x2a3624);return;}if(_0x58d537&&_0x3f50f1&&_0x2a3624)_0x2be73b=!![];}),_0x50cbe8?.['on'](_0x587897(0x149),_0x22f277=>{const _0x486565=_0x587897;if(_0x2c5e40){_0x46924f&&!_0x46924f[_0x486565(0x148)]()&&(_0x1b3821(_0x46924f['model']),_0x46924f=undefined);return;}if(_0x22f277['name']==='c'){!_0x2be73b&&_0x5adfdb&&!_0x49e6ac&&(_0x49e6ac={'before':_0x547b95,'cells':[]});if(_0x49e6ac){if(++_0x530604>0xf4240)throw new Error(_0x486565(0x73));_0x49e6ac[_0x486565(0x128)][_0x486565(0x107)]({'reference':_0x5adfdb,'address':_0x46812a,'materialized':_0x2be73b});if(!_0x5adfdb&&_0x2be73b)_0x23b1d3=!![];}if(_0x2be73b){if(!_0x49e6ac||_0x5adfdb){if(!_0x3d8b90)throw new Error(_0x486565(0x13e));if(_0x3d8b90[_0x486565(0xd0)]>MAX_XML_COLUMNS)throw new Error('Worksheet\x20exceeds\x2016384\x20columns.');_0x1f1214(_0x3d8b90[_0x486565(0xd0)]);}_0x547b95=_0x3d8b90;}_0x58d537=![],_0x3d8b90=undefined,_0x5adfdb=undefined,_0x46812a=undefined,_0x3f50f1=undefined;}else{if(_0x22f277['name']===_0x486565(0x7e)){if(_0x49e6ac&&_0x23b1d3)_0x5cccd1['push'](_0x49e6ac);_0x49e6ac=undefined,_0x23b1d3=![];}else{if(_0x22f277['name']===_0x3f50f1)_0x3f50f1=undefined;}}}),_0x50cbe8?.['on'](_0x587897(0x82),_0x11b80c=>{const _0x2c2d1e=_0x587897;throw new Error(_0x2c2d1e(0xb0)+_0x11b80c['message']);}),_0x22d65f['on'](_0x587897(0x82),_0x35e471),_0x22d65f['on'](_0x587897(0x14c),_0x1c3527=>{const _0x51a56b=_0x587897;if(_0xa9e620)return;_0xb84208+=_0x1c3527[_0x51a56b(0xf0)],_0x571a59?.[_0x51a56b(0x107)](_0x1c3527);if(_0xb84208>MAX_EXPANDED){_0x35e471(new Error('XLSX\x20expanded\x20content\x20exceeds\x20100\x20MB.'));return;}try{if(_0x438bf3&&_0x1e227c)_0x438bf3[_0x51a56b(0x10e)](_0x1e227c[_0x51a56b(0x10e)](_0x1c3527));if(_0x50cbe8&&_0x1022fa)_0x50cbe8['write'](_0x1022fa['write'](_0x1c3527));}catch(_0x58c00d){_0x35e471(_0x58c00d instanceof Error?_0x58c00d:new Error(_0x51a56b(0x86)));}}),_0x22d65f['on']('end',()=>{const _0x370553=_0x587897;if(_0xa9e620)return;try{if(_0x438bf3&&_0x1e227c)_0x438bf3[_0x370553(0x10e)](_0x1e227c[_0x370553(0x153)]())[_0x370553(0xc8)]();if(_0x50cbe8&&_0x1022fa)_0x50cbe8['write'](_0x1022fa[_0x370553(0x153)]())[_0x370553(0xc8)]();for(const _0x5ce83e of _0x5cccd1){let _0xb3a470=_0x5ce83e[_0x370553(0xe4)];for(const _0x51f3da of _0x5ce83e[_0x370553(0x128)]){if(!_0x51f3da['materialized']&&!(_0x51f3da[_0x370553(0xc2)]&&_0x38012e[_0x370553(0xa0)](_0x51f3da['reference'])))continue;const _0x975658=_0x51f3da[_0x370553(0x142)]??(_0xb3a470?{'row':_0xb3a470[_0x370553(0x7e)],'col':_0xb3a470[_0x370553(0xd0)]+0x1}:undefined);if(!_0x975658)throw new Error(_0x370553(0x13e));if(_0x975658[_0x370553(0xd0)]>MAX_XML_COLUMNS)throw new Error('Worksheet\x20exceeds\x2016384\x20columns.');_0x1f1214(_0x975658['col']),_0xb3a470=_0x975658;}}_0x5cccd1[_0x370553(0xf0)]=0x0,_0x38012e[_0x370553(0x129)]();}catch(_0x3ba894){_0x35e471(_0x3ba894 instanceof Error?_0x3ba894:new Error(_0x370553(0x86)));return;}if(_0x571a59)_0x4e65bf['set'](_0x57774c,Buffer['concat'](_0x571a59));_0x3a5cef=undefined,_0x147df4['readEntry']();});});}),_0x147df4['on'](_0x2c8699(0x153),()=>{const _0x22bc9d=_0x2c8699;if(_0xa9e620)return;if(_0x147df4[_0x22bc9d(0xa7)]!==_0x3e301c){_0x331d50(new Error(_0x22bc9d(0xfc)));return;}if(!_0x303a45[_0x22bc9d(0xa0)]('[Content_Types].xml')||!_0x303a45['has'](_0x22bc9d(0x15e)))_0x331d50(new Error(_0x22bc9d(0x88)));else _0x768824();}),_0x147df4['readEntry']();});});}function valueOf(_0x372094){const _0x165d03=a139_0x2cf248,_0x1301df=_0x372094['value'];if(_0x1301df&&typeof _0x1301df===_0x165d03(0x122)&&('formula'in _0x1301df||_0x165d03(0x11b)in _0x1301df)){if(!(_0x165d03(0x7a)in _0x1301df)||_0x1301df[_0x165d03(0x7a)]===undefined)throw new Error(_0x165d03(0xa8));return _0x1301df[_0x165d03(0x7a)];}return _0x1301df;}function a139_0x54ac(_0x5d3166,_0x7490b6){_0x5d3166=_0x5d3166-0x70;const _0x466519=a139_0x4665();let _0x54ac37=_0x466519[_0x5d3166];return _0x54ac37;}function convert(_0x48e744,_0x169a03){const _0xcd3fc8=a139_0x2cf248;if(_0x48e744===null||_0x48e744===undefined||_0x48e744===''){if(_0x169a03['required']&&!_0x169a03[_0xcd3fc8(0x10d)])throw new Error('Required\x20value\x20is\x20missing.');return null;}if(typeof _0x48e744==='string'&&Buffer[_0xcd3fc8(0xf8)](_0x48e744,_0xcd3fc8(0xb2))>MAX_CELL)throw new Error('Cell\x20exceeds\x2064\x20KB.');switch(_0x169a03[_0xcd3fc8(0x89)]['toLowerCase']()){case'string':case'text':case'textarea':if(typeof _0x48e744!==_0xcd3fc8(0x14f))throw new Error('Expected\x20a\x20text\x20cell.');return _0x48e744;case _0xcd3fc8(0xa2):case _0xcd3fc8(0x161):case _0xcd3fc8(0x12c):if(typeof _0x48e744!=='number'||!Number[_0xcd3fc8(0xb8)](_0x48e744)||Math['abs'](_0x48e744)>Number[_0xcd3fc8(0x100)]||_0x169a03[_0xcd3fc8(0x89)][_0xcd3fc8(0x13a)]()===_0xcd3fc8(0x12c)&&!Number[_0xcd3fc8(0xc4)](_0x48e744))throw new Error(_0xcd3fc8(0x140));return _0x48e744;case _0xcd3fc8(0xfb):if(typeof _0x48e744!==_0xcd3fc8(0xfb))throw new Error('Expected\x20a\x20boolean\x20cell.');return _0x48e744;case _0xcd3fc8(0xf5):case _0xcd3fc8(0xe1):if(!(_0x48e744 instanceof Date)||!Number['isFinite'](_0x48e744[_0xcd3fc8(0x9c)]()))throw new Error(_0xcd3fc8(0x123));return _0x48e744[_0xcd3fc8(0x9c)]();default:throw new Error(_0xcd3fc8(0x97)+_0x169a03['type']+'.');}}export async function buildExcelManifest(_0x1b7c70){const _0x585dfc=a139_0x2cf248,_0x334f21=_0x1b7c70[_0x585dfc(0xb9)]??0x1;if(!Number[_0x585dfc(0xc4)](_0x334f21)||_0x334f21<0x1||_0x334f21>MAX_ROWS)throw new Error(_0x585dfc(0x10a));if(_0x1b7c70[_0x585dfc(0xc1)]!==undefined&&(!Number['isInteger'](_0x1b7c70['batchSize'])||_0x1b7c70['batchSize']<0x1||_0x1b7c70['batchSize']>0x3e8))throw new Error('batchSize\x20must\x20be\x20between\x201\x20and\x201000.');if(a139_0x4edb8f[_0x585dfc(0xf7)](_0x1b7c70[_0x585dfc(0x103)])['toLowerCase']()!==_0x585dfc(0x141))throw new Error(_0x585dfc(0x83));const _0x116a52=await stat(_0x1b7c70[_0x585dfc(0x103)]);if(!_0x116a52['isFile']()||_0x116a52[_0x585dfc(0xe2)]>MAX_FILE)throw new Error(_0x585dfc(0x105));const _0xb19d40=await readFile(_0x1b7c70[_0x585dfc(0x103)]);if(_0xb19d40[_0x585dfc(0xf0)]>MAX_FILE)throw new Error(_0x585dfc(0xfe));const _0x39f222=_0x1b7c70[_0x585dfc(0xbf)][_0x585dfc(0xcc)](_0x528657=>isImageContainer(_0x528657[_0x585dfc(0x89)])&&Object[_0x585dfc(0xb7)](_0x1b7c70['mapping'])[_0x585dfc(0x138)](_0x528657['code']))?new Map():undefined;await checkArchive(_0xb19d40,_0x39f222);const _0x2daa87=new a139_0x9b9df5[(_0x585dfc(0xd8))]();await _0x2daa87[_0x585dfc(0x9b)]['load'](_0xb19d40,{'ignoreNodes':[_0x585dfc(0x110)]});const _0x2895de=_0x1b7c70[_0x585dfc(0x125)];let _0x7ef6bc;if(_0x2895de===undefined)_0x7ef6bc=_0x2daa87[_0x585dfc(0x136)][0x0];else{if(typeof _0x2895de===_0x585dfc(0x14f)&&_0x2daa87['worksheets'][_0x585dfc(0xcc)](_0x375bc1=>_0x375bc1[_0x585dfc(0x15f)]===_0x2895de))_0x7ef6bc=_0x2daa87[_0x585dfc(0x136)]['find'](_0x1a81a7=>_0x1a81a7[_0x585dfc(0x15f)]===_0x2895de);else{if(typeof _0x2895de===_0x585dfc(0xa2)||/^\d+$/['test'](_0x2895de)){const _0x8c3ab6=Number(_0x2895de);if(!Number[_0x585dfc(0xc4)](_0x8c3ab6)||_0x8c3ab6<0x1)throw new Error(_0x585dfc(0xd7));_0x7ef6bc=_0x2daa87[_0x585dfc(0x136)][_0x8c3ab6-0x1];}else _0x7ef6bc=_0x2daa87[_0x585dfc(0x136)][_0x585dfc(0x10f)](_0x584083=>_0x584083['name']===_0x2895de);}}if(!_0x7ef6bc)throw new Error(_0x585dfc(0x111));if(_0x7ef6bc[_0x585dfc(0xaa)]>MAX_ROWS||_0x7ef6bc[_0x585dfc(0x9d)]>MAX_COLUMNS)throw new Error('Worksheet\x20exceeds\x20100000\x20rows\x20or\x20256\x20columns.');if((_0x7ef6bc[_0x585dfc(0xc3)][_0x585dfc(0x14d)]??[])[_0x585dfc(0xf0)])throw new Error('Merged\x20cells\x20are\x20not\x20supported.');const _0x2ffdac=new Map();_0x7ef6bc[_0x585dfc(0x92)](_0x334f21)[_0x585dfc(0x72)]((_0x3415fd,_0x170175)=>{const _0x32e5e8=_0x585dfc,_0x10b0ee=valueOf(_0x3415fd);if(typeof _0x10b0ee!=='string'||!_0x10b0ee[_0x32e5e8(0xa1)]()||Buffer[_0x32e5e8(0xf8)](_0x10b0ee)>MAX_CELL)throw new Error(_0x32e5e8(0xef));if(_0x2ffdac[_0x32e5e8(0xa0)](_0x10b0ee))throw new Error('Duplicate\x20header:\x20'+_0x10b0ee+'.');_0x2ffdac[_0x32e5e8(0x117)](_0x10b0ee,_0x170175);});const _0x1c86ac=Object['entries'](_0x1b7c70[_0x585dfc(0x147)]);if(!_0x1c86ac[_0x585dfc(0xf0)])throw new Error(_0x585dfc(0x132));const _0x4a3aaf=new Map(_0x1b7c70[_0x585dfc(0xbf)][_0x585dfc(0xa4)](_0x35f38f=>[_0x35f38f['code'],_0x35f38f]));if(_0x4a3aaf[_0x585dfc(0xe2)]!==_0x1b7c70['fields'][_0x585dfc(0xf0)])throw new Error(_0x585dfc(0x158));if(_0x1b7c70[_0x585dfc(0xbf)][_0x585dfc(0xcc)](_0x28638f=>_0x28638f[_0x585dfc(0x89)]['toLowerCase']()===_0x585dfc(0xf4)))throw new Error(_0x585dfc(0xeb));const _0xa864a5=new Set();for(const [_0x2b90d4,_0x37542a]of _0x1c86ac){const _0x6bdaa5=_0x4a3aaf[_0x585dfc(0x96)](_0x37542a);if(!_0x2ffdac['has'](_0x2b90d4))throw new Error(_0x585dfc(0x112)+_0x2b90d4+'.');if(!_0x6bdaa5||RESERVED[_0x585dfc(0xa0)](_0x37542a)||_0x6bdaa5[_0x585dfc(0x10d)])throw new Error(_0x585dfc(0xae)+_0x37542a+'.');if(_0xa864a5[_0x585dfc(0xa0)](_0x37542a))throw new Error('Duplicate\x20mapping\x20target:\x20'+_0x37542a+'.');if(!TYPES[_0x585dfc(0xa0)](_0x6bdaa5[_0x585dfc(0x89)][_0x585dfc(0x13a)]()))throw new Error(_0x585dfc(0x97)+_0x6bdaa5[_0x585dfc(0x89)]+'.');_0xa864a5[_0x585dfc(0x150)](_0x37542a);}for(const _0x278731 of _0x1b7c70['fields']){if(_0x278731[_0x585dfc(0x11f)]&&!_0x278731[_0x585dfc(0x10d)]&&!RESERVED[_0x585dfc(0xa0)](_0x278731[_0x585dfc(0x154)])&&!_0xa864a5[_0x585dfc(0xa0)](_0x278731['code']))throw new Error(_0x585dfc(0x9a)+_0x278731['code']+'.');}const _0x2e9502={'fileHash':hash(_0xb19d40),'mappingHash':hash(JSON[_0x585dfc(0xd5)]([..._0x1c86ac][_0x585dfc(0xe5)](([_0x39fb2b],[_0x13b707])=>_0x39fb2b[_0x585dfc(0xaf)](_0x13b707)))),'schemaHash':hash(JSON[_0x585dfc(0xd5)]([..._0x1b7c70[_0x585dfc(0xbf)]][_0x585dfc(0xe5)]((_0x50ab4e,_0x417bf0)=>_0x50ab4e[_0x585dfc(0x154)][_0x585dfc(0xaf)](_0x417bf0[_0x585dfc(0x154)])))),'sheet':_0x7ef6bc[_0x585dfc(0x15f)],'rows':[],'emptyRows':[],'errors':[],'warnings':[]},_0x51f7d2=_0x1c86ac['filter'](([,_0x1fa62c])=>isImageContainer(_0x4a3aaf[_0x585dfc(0x96)](_0x1fa62c)['type'])),_0x694693=_0x51f7d2['filter'](([,_0x1d1cf8])=>_0x4a3aaf[_0x585dfc(0x96)](_0x1d1cf8)[_0x585dfc(0x89)][_0x585dfc(0x13a)]()==='upload')[_0x585dfc(0xa4)](([,_0x4b379])=>_0x4b379);if(_0x694693[_0x585dfc(0xf0)])_0x2e9502[_0x585dfc(0x146)]=_0x694693;const _0x28b169=_0x39f222?resolveWorksheetImages(_0x39f222,_0x7ef6bc[_0x585dfc(0x15f)],new Set(_0x51f7d2[_0x585dfc(0xa4)](([_0x396a0f])=>_0x2ffdac[_0x585dfc(0x96)](_0x396a0f)))):[],_0x6d18af=new Map();for(const _0x1b8c0c of _0x28b169){const _0x472e05=_0x1b8c0c[_0x585dfc(0x7e)]+':'+_0x1b8c0c[_0x585dfc(0xd0)],_0x2ba23c=_0x6d18af['get'](_0x472e05)??[];_0x2ba23c[_0x585dfc(0x107)](_0x1b8c0c),_0x6d18af['set'](_0x472e05,_0x2ba23c);}const _0x2ace44=new Map();let _0xb5a9c6=0x0;_0x51f7d2['length']&&(_0x2e9502[_0x585dfc(0x159)]=_0x51f7d2[_0x585dfc(0xa4)](([,_0x1e1b0f])=>_0x1e1b0f),_0x2e9502[_0x585dfc(0x90)]=[],_0x2e9502[_0x585dfc(0x9f)]=0x1,_0x2e9502['media']=[]);const _0x1d5d17=Math[_0x585dfc(0x98)](0x0,..._0x28b169['map'](_0x234ff8=>_0x234ff8[_0x585dfc(0x7e)]));let _0x10ace9=0x0;const _0x431952=new Set(_0x1c86ac['map'](([_0x325b63])=>_0x2ffdac['get'](_0x325b63)));for(let _0x4b34e0=_0x334f21+0x1;_0x4b34e0<=Math[_0x585dfc(0x98)](_0x7ef6bc[_0x585dfc(0xaa)],_0x1d5d17);_0x4b34e0++){const _0x26f1a1=_0x7ef6bc['getRow'](_0x4b34e0);if(_0x26f1a1[_0x585dfc(0x87)]||_0x28b169['some'](_0x4a2da3=>_0x4a2da3[_0x585dfc(0x7e)]===_0x4b34e0&&_0x4a2da3[_0x585dfc(0x81)]))_0x10ace9++;let _0x5104d6=_0x28b169[_0x585dfc(0xcc)](_0x33bb6c=>_0x33bb6c[_0x585dfc(0x7e)]===_0x4b34e0);_0x26f1a1[_0x585dfc(0x72)](_0x538d8a=>{const _0xd2ec1d=_0x585dfc;if(_0x538d8a['value']!==null&&_0x538d8a[_0xd2ec1d(0x91)]!==undefined&&_0x538d8a[_0xd2ec1d(0x91)]!=='')_0x5104d6=!![];});if(!_0x5104d6){_0x2e9502['emptyRows'][_0x585dfc(0x107)](_0x4b34e0);continue;}const _0x50498d=Object['create'](null);_0x26f1a1[_0x585dfc(0x72)]((_0xd3443f,_0x230bba)=>{const _0x3c7f7d=_0x585dfc;if(_0x431952['has'](_0x230bba))return;try{const _0x150462=valueOf(_0xd3443f);if(typeof _0x150462===_0x3c7f7d(0x14f)&&Buffer[_0x3c7f7d(0xf8)](_0x150462,_0x3c7f7d(0xb2))>MAX_CELL)throw new Error(_0x3c7f7d(0xf2));}catch(_0x5e595c){_0x2e9502[_0x3c7f7d(0xcd)][_0x3c7f7d(0x107)]({'rowNumber':_0x4b34e0,'field':_0xd3443f[_0x3c7f7d(0x142)],'message':_0x5e595c[_0x3c7f7d(0xe6)]});}});for(const [_0x50687b,_0x1ef7cf]of _0x1c86ac){try{const _0x3ed91b=_0x26f1a1[_0x585dfc(0xee)](_0x2ffdac[_0x585dfc(0x96)](_0x50687b)),_0x12b4e0=_0x4a3aaf[_0x585dfc(0x96)](_0x1ef7cf);if(!isImageContainer(_0x12b4e0['type'])){_0x50498d[_0x1ef7cf]=convert(valueOf(_0x3ed91b),_0x12b4e0);continue;}const _0xfa6bba=_0x6d18af[_0x585dfc(0x96)](_0x4b34e0+':'+_0x2ffdac[_0x585dfc(0x96)](_0x50687b))??[];if(_0xfa6bba[_0x585dfc(0xcc)](_0x21567f=>_0x21567f[_0x585dfc(0x82)]))throw Error(_0xfa6bba[_0x585dfc(0x10f)](_0x64262a=>_0x64262a[_0x585dfc(0x82)])[_0x585dfc(0x82)]);if(_0x3ed91b['value']!=null&&_0x3ed91b['value']!==''&&!_0xfa6bba[_0x585dfc(0xcc)](_0x368be1=>_0x368be1[_0x585dfc(0xa6)]))throw Error('Image\x20cell\x20contains\x20scalar\x20or\x20mixed\x20content.');const _0x5343f2=[];for(const _0x52d86b of _0xfa6bba)for(const _0x3f8bf9 of _0x52d86b[_0x585dfc(0xcf)]){const _0x2cc273=_0x39f222[_0x585dfc(0x96)](_0x3f8bf9);if(!_0x2cc273)throw Error('Missing\x20image\x20media:\x20'+_0x3f8bf9+'.');const _0x235bb0=hash(_0x2cc273),_0x37cfb3=_0x2ace44['get'](_0x235bb0)??validateImageBytes(_0x2cc273);if(!_0x2ace44[_0x585dfc(0xa0)](_0x37cfb3[_0x585dfc(0xad)])){_0xb5a9c6+=_0x37cfb3[_0x585dfc(0xe2)];if(_0xb5a9c6>0x32*0x400*0x400)throw Error(_0x585dfc(0x12e));_0x2ace44[_0x585dfc(0x117)](_0x37cfb3['contentHash'],_0x37cfb3);}_0x5343f2[_0x585dfc(0x107)](_0x37cfb3[_0x585dfc(0xad)]);}if(!_0x5343f2[_0x585dfc(0xf0)]&&_0x12b4e0[_0x585dfc(0x11f)])throw Error(_0x585dfc(0x109));if(_0x5343f2[_0x585dfc(0xf0)])_0x2e9502[_0x585dfc(0x90)][_0x585dfc(0x107)]({'rowNumber':_0x4b34e0,'field':_0x1ef7cf,'hashes':_0x5343f2});_0x50498d[_0x1ef7cf]=_0x5343f2['map'](_0x6c68ed=>{const _0x2c7de0=_0x585dfc,_0x4454e1=_0x2ace44[_0x2c7de0(0x96)](_0x6c68ed),_0x1f31bf=_0x4454e1[_0x2c7de0(0x89)]===_0x2c7de0(0x76)?_0x2c7de0(0x93):_0x4454e1[_0x2c7de0(0x89)][_0x2c7de0(0xcb)](0x6),_0x2ed06f=_0x6c68ed+'.'+_0x1f31bf,_0x4c4f59=_0x2c7de0(0x15a)+'0'['repeat'](0x40)+'/'+_0x2ed06f;return _0x12b4e0[_0x2c7de0(0x89)]['toLowerCase']()===_0x2c7de0(0x74)?{'fileName':_0x2ed06f,'filePath':_0x4c4f59}:{'key':_0x4c4f59,'name':_0x2ed06f,'type':_0x4454e1['type'],'size':_0x4454e1[_0x2c7de0(0xe2)]};});}catch(_0x2227ac){_0x2e9502['errors'][_0x585dfc(0x107)]({'rowNumber':_0x4b34e0,'field':_0x1ef7cf,'message':_0x2227ac[_0x585dfc(0xe6)]});}}_0x2e9502['rows'][_0x585dfc(0x107)]({'rowNumber':_0x4b34e0,'values':_0x50498d});}if(_0x2e9502[_0x585dfc(0xcf)])_0x2e9502['media']=[..._0x2ace44[_0x585dfc(0xb7)]()];if(_0x10ace9)_0x2e9502[_0x585dfc(0xb6)][_0x585dfc(0x107)](_0x10ace9+_0x585dfc(0xdc));return _0x2e9502;}
1
+ const a140_0x590d62=a140_0x3f41;(function(_0x4622c1,_0x333449){const _0xac16a0=a140_0x3f41,_0x13477f=_0x4622c1();while(!![]){try{const _0x41d53e=-parseInt(_0xac16a0(0x1c5))/0x1+parseInt(_0xac16a0(0x150))/0x2*(-parseInt(_0xac16a0(0x238))/0x3)+parseInt(_0xac16a0(0x1a4))/0x4*(parseInt(_0xac16a0(0x1f6))/0x5)+parseInt(_0xac16a0(0x1ce))/0x6*(parseInt(_0xac16a0(0x19e))/0x7)+parseInt(_0xac16a0(0x1ad))/0x8*(-parseInt(_0xac16a0(0x1ef))/0x9)+parseInt(_0xac16a0(0x15d))/0xa+-parseInt(_0xac16a0(0x16f))/0xb*(-parseInt(_0xac16a0(0x167))/0xc);if(_0x41d53e===_0x333449)break;else _0x13477f['push'](_0x13477f['shift']());}catch(_0x24dbb5){_0x13477f['push'](_0x13477f['shift']());}}}(a140_0x58f6,0xe3ec8));import{readFile,stat}from'node:fs/promises';import{createHash}from'node:crypto';import a140_0x11e7ee from'node:path';import{StringDecoder}from'node:string_decoder';import{createRequire}from'node:module';function a140_0x58f6(){const _0x23ca35=['reference','image','File\x20is\x20not\x20an\x20XLSX\x20workbook.','2yphFgx','fromBuffer','resolve','Image\x20cell\x20contains\x20scalar\x20or\x20mixed\x20content.','fileNameRaw','update','Non-canonical\x20worksheet\x20ZIP\x20entry.','pop','concat','Headers\x20must\x20be\x20non-empty\x20text\x20cells\x20no\x20larger\x20than\x2064\x20KB.','message','properties','Unknown\x20Excel\x20header:\x20','14124510UWZpTE','doctype','Invalid\x20worksheet\x20coordinate.','generated','charCodeAt','extname','row','dataValidations','number','creatorName','494244vdxRPw','Excel\x20import\x20only\x20supports\x20METADATA\x20datasets.','uncompressedSize','top','some','\x20hidden\x20row(s)\x20are\x20included\x20in\x20the\x20import.','right','abs','319ECufdr','externalFileAttributes','datasetId','Worksheet\x20merge\x20work\x20exceeds\x20100000.','data','equals','isBuffer','readUInt32LE','sharedFormula','jszip','errors','add','parseClose','readEntry','Worksheet\x20exceeds\x2016384\x20columns.','media','sourceType','upload','stringify','serial_number','ZIP\x20local\x20and\x20central\x20entry\x20names\x20must\x20match.','formula','Dataset\x20field\x20metadata\x20is\x20missing.','modifierName','subarray','Required\x20value\x20is\x20missing.','parserVersion','close','emptyRows','./reader/readerFor','Required\x20image\x20value\x20is\x20missing.','hyperlink','textarea','Worksheet\x20exceeds\x20100000\x20rows\x20or\x20256\x20columns.','Invalid\x20worksheet\x20column\x20range.','Invalid\x20worksheet\x20hyperlink\x20reference.','load','creatorId','end','extend','updateTime','Expected\x20a\x20boolean\x20cell.','extraFieldsLength','Image\x20XML\x20event\x20budget\x20exceeded.','Non-canonical\x20workbook\x20or\x20worksheet\x20ZIP\x20entry.','xl/workbook.xml','Duplicate\x20header:\x20','21CsDFfm','Invalid\x20XLSX\x20entry.','test','type','error','length','12MYiMxd','merges','rows','openReadStream','modifierId','getCell','exceljs/lib/xlsx/xform/book/defined-name-xform.js','generalPurposeBitFlag','col','16fGASoi','xlsx','Expected\x20an\x20Excel\x20date\x20cell.','dir','mapping','has','isFile','Invalid\x20ZIP\x20local\x20file\x20header.','ref','unixPermissions','fileName','worksheets','Invalid\x20worksheet\x20nested\x20row.','getTime','dataset-import/','uploadFields','includes','string','Required\x20field\x20is\x20not\x20mapped:\x20','model','Cell\x20exceeds\x2064\x20KB.','Invalid\x20worksheet\x20merge\x20reference.','Invalid\x20dataset\x20field\x20extension\x20metadata.','extraFieldRaw','1418801SmqqPi','sheet','XLSX\x20expanded\x20content\x20exceeds\x20100\x20MB.','Duplicate\x20workbook\x20ZIP\x20entry.','Invalid\x20XLSX\x20archive.','materialized','contentHash','object','boolean','1517214zRkOzq','./zipEntry','from','attributes','Duplicate\x20ZIP64\x20extended\x20information\x20fields\x20are\x20not\x20supported.','value','Worksheet\x20deferred\x20cell\x20events\x20exceed\x201000000.','Merged\x20cells\x20are\x20not\x20supported.','hidden','repeat','address','original','Worksheet\x20exceeds\x20','Duplicate\x20mapping\x20target:\x20','Mapping\x20must\x20contain\x20at\x20least\x20one\x20field.','fileNameStr','fields','date','decodeEx','isInteger','Unsupported\x20field\x20type:\x20','clear','Worksheet\x20column\x20objects\x20exceed\x20100000.','batchSize','Expected\x20a\x20text\x20cell.','versionMadeBy','extraFields','required','every','set','name','startsWith','split','646911ruJpeh','entries','code','definedName','lastIndexOf','destroy','isArray','1283875TGPygh','push','size','source','integer','_xlnm.Print_Titles','autoIncrement','eachCell','./utils','getRow','.xlsx','Invalid\x20worksheet\x20XML.','hiddenRow','sort','utf8','max','filter','find','before','get','isSafeInteger','fileComment','readBigUInt64LE','Workbook\x20defined\x20name\x20work\x20exceeds\x20100000.','nativeCell','datetime','Invalid\x20or\x20duplicate\x20dataset\x20field\x20metadata.','map','values','directory','Sheet\x20index\x20must\x20be\x20a\x20positive\x20one-based\x20integer.','readExtraFields','bottom','exceljs/lib/utils/col-cache.js','Only\x20.xlsx\x20files\x20are\x20supported.','write','file','hex','ranges','handleUTF8','[Content_Types].xml','tenantCode','exec','processAttributes','cells','mergeCell','compressedSize','Formula\x20has\x20no\x20cached\x20result.','left','entry','readUInt16LE','isFinite','localeCompare','warnings','result','toLowerCase','image/jpeg','deleted','parseText','jpg','createTime','byteLength','Invalid\x20worksheet\x20XML:\x20','text','bitFlag','relativeOffsetOfLocalHeader','4919013vmuFUT','Invalid\x20defined\x20name\x20coordinate.','readEntryCursor','sha256','dataset','opentag','headerRow\x20must\x20be\x20between\x201\x20and\x20100000.','XLSX\x20file\x20must\x20be\x20a\x20regular\x20file\x20no\x20larger\x20than\x2020\x20MB.','batchSize\x20must\x20be\x20between\x201\x20and\x201000.','rowCount','imageCells'];a140_0x58f6=function(){return _0x23ca35;};return a140_0x58f6();}import{SaxesParser}from'saxes';function a140_0x3f41(_0x30aa4b,_0x5ccb13){_0x30aa4b=_0x30aa4b-0x14b;const _0x58f6cd=a140_0x58f6();let _0x3f41c0=_0x58f6cd[_0x30aa4b];return _0x3f41c0;}import a140_0xddb607 from'exceljs';import a140_0x560438 from'yauzl';import{resolveWorksheetImages}from'./image-ooxml.js';import{validateImageBytes}from'./image-bytes.js';const MAX_FILE=0x14*0x400*0x400,MAX_EXPANDED=0x64*0x400*0x400,MAX_ROWS=0x186a0,MAX_COLUMNS=0x100,MAX_XML_ROWS=0x100000,MAX_XML_COLUMNS=0x4000,MAX_CELL=0x40*0x400,RESERVED=new Set(['id',a140_0x590d62(0x21f),'appCode',a140_0x590d62(0x171),a140_0x590d62(0x194),a140_0x590d62(0x166),a140_0x590d62(0x1a8),a140_0x590d62(0x186),a140_0x590d62(0x232),a140_0x590d62(0x197),a140_0x590d62(0x22f)]),TYPES=new Set([a140_0x590d62(0x1be),a140_0x590d62(0x235),a140_0x590d62(0x18f),'number','decimal',a140_0x590d62(0x1fa),a140_0x590d62(0x1cd),a140_0x590d62(0x1df),a140_0x590d62(0x20f),'image',a140_0x590d62(0x180)]),isImageContainer=_0x4568d9=>[a140_0x590d62(0x14e),a140_0x590d62(0x180)][a140_0x590d62(0x1bd)](_0x4568d9[a140_0x590d62(0x22d)]()),hash=_0x5ef3c8=>createHash(a140_0x590d62(0x23b))[a140_0x590d62(0x155)](_0x5ef3c8)['digest'](a140_0x590d62(0x21b)),require=createRequire(import.meta.url),DefinedNameXform=require(a140_0x590d62(0x1aa)),nameCoordinates=require(a140_0x590d62(0x217)),ABSOLUTE_NAME_RANGE=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/,excelRequire=createRequire(require[a140_0x590d62(0x152)]('exceljs')),zipRequire=createRequire(excelRequire[a140_0x590d62(0x152)](a140_0x590d62(0x178))),ZipEntry=zipRequire(a140_0x590d62(0x1cf)),zipReader=zipRequire(a140_0x590d62(0x18c)),zipUtf8=zipRequire('./utf8'),zipPaths=zipRequire(a140_0x590d62(0x1fe));function centralDirectoryEnd(_0x13fa93,_0x1217f9){const _0xb6f9f0=a140_0x590d62,_0x5e2ec3=()=>new Error('Invalid\x20ZIP\x20central\x20directory\x20layout.'),_0x5be71f=_0x13fa93[_0xb6f9f0(0x1f3)](Buffer[_0xb6f9f0(0x1d0)]([0x50,0x4b,0x5,0x6]));if(_0x5be71f<0x0||_0x5be71f+0x16>_0x13fa93[_0xb6f9f0(0x1a3)]||_0x5be71f+0x16+_0x13fa93['readUInt16LE'](_0x5be71f+0x14)!==_0x13fa93[_0xb6f9f0(0x1a3)])throw _0x5e2ec3();let _0x2ce718=_0x13fa93['readUInt16LE'](_0x5be71f+0xa),_0x243092=_0x13fa93[_0xb6f9f0(0x176)](_0x5be71f+0xc),_0x49c881=_0x13fa93['readUInt32LE'](_0x5be71f+0x10),_0x27f5d9=_0x5be71f;const _0x22700b=_0x5be71f-0x14,_0x2ef42d=_0x22700b>=0x0&&_0x13fa93['readUInt32LE'](_0x22700b)===0x7064b50,_0xd99a1d=[0x4,0x6,0x8,0xa]['some'](_0x1eba5a=>_0x13fa93['readUInt16LE'](_0x5be71f+_0x1eba5a)===0xffff)||_0x243092===0xffffffff||_0x49c881===0xffffffff;if(_0x2ef42d!==_0xd99a1d)throw _0x5e2ec3();if(_0x2ef42d){if(_0x13fa93[_0xb6f9f0(0x1f3)](Buffer['from']([0x50,0x4b,0x6,0x7]))!==_0x22700b)throw _0x5e2ec3();const _0x1c0ccd=_0x21c00b=>{const _0x3e1280=_0xb6f9f0,_0x157d92=Number(_0x13fa93[_0x3e1280(0x20c)](_0x21c00b));if(!Number[_0x3e1280(0x20a)](_0x157d92))throw _0x5e2ec3();return _0x157d92;};_0x27f5d9=_0x1c0ccd(_0x22700b+0x8);if(_0x13fa93[_0xb6f9f0(0x176)](_0x22700b+0x4)!==0x0||_0x13fa93[_0xb6f9f0(0x176)](_0x22700b+0x10)!==0x1||_0x27f5d9>_0x22700b-0x38||_0x13fa93[_0xb6f9f0(0x176)](_0x27f5d9)!==0x6064b50||_0x1c0ccd(_0x27f5d9+0x4)!==0x2c||_0x27f5d9+0x38!==_0x22700b||_0x13fa93[_0xb6f9f0(0x176)](_0x27f5d9+0x10)!==0x0||_0x13fa93[_0xb6f9f0(0x176)](_0x27f5d9+0x14)!==0x0)throw _0x5e2ec3();_0x2ce718=_0x1c0ccd(_0x27f5d9+0x20),_0x243092=_0x1c0ccd(_0x27f5d9+0x28),_0x49c881=_0x1c0ccd(_0x27f5d9+0x30);if(_0x1c0ccd(_0x27f5d9+0x18)!==_0x2ce718)throw _0x5e2ec3();}else{if(_0x13fa93[_0xb6f9f0(0x228)](_0x5be71f+0x4)!==0x0||_0x13fa93[_0xb6f9f0(0x228)](_0x5be71f+0x6)!==0x0||_0x13fa93[_0xb6f9f0(0x228)](_0x5be71f+0x8)!==_0x2ce718)throw _0x5e2ec3();}const _0x2a0d6b=_0x1217f9[_0xb6f9f0(0x23a)];if(_0x49c881!==_0x2a0d6b||_0x2ce718!==_0x1217f9['entryCount']||_0x49c881+_0x243092!==_0x27f5d9)throw _0x5e2ec3();return _0x27f5d9;}function consumerEntryName(_0x14510e,_0x4d9f9c){const _0x23058c=a140_0x590d62;if(_0x4d9f9c[_0x23058c(0x1e8)][_0x23058c(0x206)](_0x151701=>_0x151701['id']===0x1)[_0x23058c(0x1a3)]>0x1)throw new Error(_0x23058c(0x1d2));const _0x1bafa3=_0x4d9f9c,_0x5e29df=_0x4d9f9c[_0x23058c(0x237)];if(!Buffer['isBuffer'](_0x1bafa3['fileNameRaw'])||!Buffer[_0x23058c(0x175)](_0x1bafa3[_0x23058c(0x1c4)])||!Buffer[_0x23058c(0x175)](_0x1bafa3['fileCommentRaw'])||!Number[_0x23058c(0x20a)](_0x5e29df)||_0x5e29df<0x0||_0x5e29df>_0x14510e[_0x23058c(0x1a3)]-0x1e||_0x14510e[_0x23058c(0x176)](_0x5e29df)!==0x4034b50)throw new Error(_0x23058c(0x1b4));const _0x3a1b27=_0x5e29df+0x1e+_0x14510e[_0x23058c(0x228)](_0x5e29df+0x1a),_0x4d80b9=_0x3a1b27+_0x14510e[_0x23058c(0x228)](_0x5e29df+0x1c)+_0x4d9f9c[_0x23058c(0x224)];if(!Number[_0x23058c(0x20a)](_0x4d80b9)||_0x4d80b9>_0x14510e[_0x23058c(0x1a3)])throw new Error(_0x23058c(0x1b4));if(_0x3a1b27>_0x14510e['length']||!_0x14510e[_0x23058c(0x187)](_0x5e29df+0x1e,_0x3a1b27)[_0x23058c(0x174)](_0x1bafa3[_0x23058c(0x154)]))throw new Error(_0x23058c(0x183));const _0x4c9218=new ZipEntry({},{'decodeFileName':zipUtf8['utf8decode']});_0x4c9218[_0x23058c(0x236)]=_0x4d9f9c[_0x23058c(0x1ab)],_0x4c9218[_0x23058c(0x1b7)]=_0x1bafa3[_0x23058c(0x154)],_0x4c9218[_0x23058c(0x20b)]=_0x1bafa3['fileCommentRaw'],_0x4c9218[_0x23058c(0x199)]=_0x1bafa3[_0x23058c(0x1c4)][_0x23058c(0x1a3)],_0x4c9218[_0x23058c(0x215)](zipReader(_0x1bafa3[_0x23058c(0x1c4)])),_0x4c9218[_0x23058c(0x21d)](),_0x4c9218[_0x23058c(0x1e7)]=_0x4d9f9c['versionMadeBy'],_0x4c9218[_0x23058c(0x170)]=_0x4d9f9c[_0x23058c(0x170)],_0x4c9218[_0x23058c(0x221)]();const _0x3e7c0a=_0x4c9218[_0x23058c(0x1b0)]||Boolean((_0x4c9218[_0x23058c(0x1b6)]??0x0)&0x4000),_0x58fb1e=zipPaths['resolve'](_0x4c9218['fileNameStr']),_0x347ec1=_0x58fb1e[_0x23058c(0x1ed)]('/')?_0x58fb1e['slice'](0x1):_0x58fb1e;return{'name':_0x347ec1,'original':_0x4c9218[_0x23058c(0x1dd)],'directory':_0x3e7c0a};}export function normalizeImportFields(_0x42ccfd){const _0x5afb0a=a140_0x590d62;if(!_0x42ccfd||(_0x42ccfd[_0x5afb0a(0x1f9)]??_0x42ccfd[_0x5afb0a(0x23c)]?.[_0x5afb0a(0x17f)])!=='METADATA')throw new Error(_0x5afb0a(0x168));const _0x5173ba=Array[_0x5afb0a(0x1f5)](_0x42ccfd['fields']),_0x2fff0b=_0x5173ba?_0x42ccfd[_0x5afb0a(0x1de)]:_0x42ccfd[_0x5afb0a(0x15b)];if(!Array[_0x5afb0a(0x1f5)](_0x2fff0b)||_0x2fff0b[_0x5afb0a(0x1a3)]===0x0)throw new Error(_0x5afb0a(0x185));const _0x14af31=[],_0x58d9de=new Set();for(const _0x38795a of _0x2fff0b){if(_0x38795a['deleted']===!![])continue;let _0x42f611=_0x38795a[_0x5afb0a(0x196)]??{};if(!_0x5173ba&&typeof _0x42f611==='string'){try{_0x42f611=JSON['parse'](_0x42f611);}catch{throw new Error(_0x5afb0a(0x1c3));}if(!_0x42f611||typeof _0x42f611!==_0x5afb0a(0x1cc)||Array[_0x5afb0a(0x1f5)](_0x42f611))throw new Error('Invalid\x20dataset\x20field\x20extension\x20metadata.');}const _0x372ae2=_0x5173ba?_0x38795a['name']:_0x38795a[_0x5afb0a(0x1f1)],_0x1caa53=_0x5173ba?_0x38795a['doType']:_0x38795a[_0x5afb0a(0x1a1)]??_0x38795a['dataType'];if(typeof _0x372ae2!=='string'||!_0x372ae2||typeof _0x1caa53!==_0x5afb0a(0x1be)||_0x58d9de[_0x5afb0a(0x1b2)](_0x372ae2))throw new Error(_0x5afb0a(0x210));if(_0x1caa53[_0x5afb0a(0x22d)]()===_0x5afb0a(0x182))throw new Error('Unsupported\x20dataset\x20field\x20type:\x20serial_number.');_0x58d9de['add'](_0x372ae2);const _0xfc6364=_0x5173ba?_0x38795a:_0x42f611,_0x534363={'code':_0x372ae2,'type':_0x1caa53,'required':_0xfc6364[_0x5afb0a(0x1e9)]===!![]};if(RESERVED[_0x5afb0a(0x1b2)](_0x372ae2)||_0xfc6364[_0x5afb0a(0x160)]===!![]||_0xfc6364[_0x5afb0a(0x1fc)]===!![])_0x534363[_0x5afb0a(0x160)]=!![];_0x14af31['push'](_0x534363);}return _0x14af31;}async function checkArchive(_0x2fa43a,_0x1262fb){await new Promise((_0x41d73d,_0x369459)=>{const _0x4dbe85=a140_0x3f41;a140_0x560438[_0x4dbe85(0x151)](_0x2fa43a,{'lazyEntries':!![],'validateEntrySizes':!![]},(_0xddd7e0,_0x2046bd)=>{const _0xe7e39d=_0x4dbe85;if(_0xddd7e0||!_0x2046bd){_0x369459(_0xddd7e0??new Error(_0xe7e39d(0x1c9)));return;}let _0x58dcd8;try{_0x58dcd8=centralDirectoryEnd(_0x2fa43a,_0x2046bd);}catch(_0x19f6c4){_0x2046bd[_0xe7e39d(0x18a)](),_0x369459(_0x19f6c4);return;}let _0x2298d5=0x0,_0x101188=0x0,_0x18637f=0x0,_0x4ae3f2=0x0,_0x2d9d64=0x0,_0x3bbb78=0x0,_0x224d63=0x0,_0x1e6d3b=0x0,_0x311341=0x0,_0x39d084=![],_0x30d1d5;const _0x4db5f2=new Set(),_0x4eaa70=_0x16941f=>{const _0x14e14d=_0xe7e39d;if(_0x39d084)return;_0x39d084=!![],_0x30d1d5?.[_0x14e14d(0x1f4)](),_0x2046bd[_0x14e14d(0x18a)](),_0x369459(_0x16941f);},_0x411ead=(_0x5cc743,_0xf8d8eb)=>{const _0x1e690c=_0xe7e39d;if(!_0x5cc743||!/^\d+$/[_0x1e690c(0x1a0)](_0x5cc743))throw new Error(_0x1e690c(0x15f));const _0x4a4cbf=Number(_0x5cc743);if(!Number[_0x1e690c(0x20a)](_0x4a4cbf)||_0x4a4cbf<0x1||_0x4a4cbf>_0xf8d8eb)throw new Error('Worksheet\x20coordinate\x20exceeds\x20'+_0xf8d8eb+'.');return _0x4a4cbf;},_0x4e47d0=(_0x56ace1,_0x180625=MAX_XML_COLUMNS)=>{const _0x7cd95e=_0xe7e39d,_0x249c92=/^\$?([A-Z]{1,3})\$?(\d+)$/[_0x7cd95e(0x220)](_0x56ace1);if(!_0x249c92)throw new Error('Invalid\x20worksheet\x20cell\x20or\x20merge\x20reference.');let _0x3bf3a4=0x0;for(const _0x174ad5 of _0x249c92[0x1])_0x3bf3a4=_0x3bf3a4*0x1a+_0x174ad5[_0x7cd95e(0x161)](0x0)-0x40;if(_0x3bf3a4>_0x180625)throw new Error(_0x7cd95e(0x1da)+_0x180625+'\x20columns.');return{'row':_0x411ead(_0x249c92[0x2],MAX_XML_ROWS),'col':_0x3bf3a4};},_0x373333=_0x355720=>{const _0x35026c=_0xe7e39d;if(_0x355720[_0x35026c(0x1ec)]==='_xlnm.Print_Area'||_0x355720[_0x35026c(0x1ec)]===_0x35026c(0x1fb))return;for(const _0x317876 of _0x355720[_0x35026c(0x21c)]){if(!ABSOLUTE_NAME_RANGE['test'](_0x317876['split']('!')[_0x35026c(0x157)]()||''))continue;const _0x3b67d3=nameCoordinates[_0x35026c(0x1e0)](_0x317876),_0x459c71=_0x35026c(0x16a)in _0x3b67d3,_0x115618=_0x459c71?[_0x3b67d3[_0x35026c(0x16a)],_0x3b67d3[_0x35026c(0x216)]]:[_0x3b67d3[_0x35026c(0x163)]],_0x2f253f=_0x459c71?[_0x3b67d3[_0x35026c(0x226)],_0x3b67d3[_0x35026c(0x16d)]]:[_0x3b67d3[_0x35026c(0x1ac)]],_0x3437f6=(_0x48d8b9,_0x4aed01)=>Number[_0x35026c(0x20a)](_0x48d8b9)&&_0x48d8b9>=0x1&&_0x48d8b9<=_0x4aed01;if(!_0x115618['every'](_0x4c0b3c=>_0x3437f6(_0x4c0b3c,MAX_XML_ROWS))||!_0x2f253f[_0x35026c(0x1ea)](_0x4523c4=>_0x3437f6(_0x4523c4,MAX_XML_COLUMNS)))throw new Error(_0x35026c(0x239));_0x224d63+=_0x459c71?(_0x3b67d3[_0x35026c(0x216)]-_0x3b67d3[_0x35026c(0x16a)]+0x1)*(_0x3b67d3[_0x35026c(0x16d)]-_0x3b67d3[_0x35026c(0x226)]+0x1):0x1;if(_0x224d63>MAX_ROWS)throw new Error(_0x35026c(0x20d));}};_0x2046bd['on'](_0xe7e39d(0x1a2),_0x4eaa70),_0x2046bd['on'](_0xe7e39d(0x227),_0x215785=>{const _0x5d8e90=_0xe7e39d;if(_0x39d084)return;if(++_0x18637f>0x2710||(_0x2298d5+=_0x215785[_0x5d8e90(0x169)])>MAX_EXPANDED){_0x4eaa70(new Error(_0x5d8e90(0x1c7)));return;}let _0x5d8613;try{_0x5d8613=consumerEntryName(_0x2fa43a,_0x215785);}catch(_0x253248){_0x4eaa70(_0x253248);return;}if(_0x5d8613[_0x5d8e90(0x213)]){_0x2046bd[_0x5d8e90(0x17c)]();return;}const _0x158985=_0x5d8613[_0x5d8e90(0x1ec)];if(_0x1262fb&&(_0x158985!==_0x5d8613[_0x5d8e90(0x1d9)]||_0x4db5f2[_0x5d8e90(0x1b2)](_0x158985)||_0x158985[_0x5d8e90(0x1ed)]('/')||_0x158985[_0x5d8e90(0x1bd)]('\x5c'))){_0x4eaa70(new Error('Non-canonical\x20or\x20duplicate\x20image\x20archive\x20entry.'));return;}if(_0x158985!==_0x5d8613[_0x5d8e90(0x1d9)]&&(_0x158985===_0x5d8e90(0x19c)||/xl\/worksheets\/sheet(\d+)[.]xml/[_0x5d8e90(0x1a0)](_0x158985))){_0x4eaa70(new Error(_0x5d8e90(0x19b)));return;}const _0x477343=_0x158985===_0x5d8e90(0x19c);if(_0x477343&&_0x4db5f2[_0x5d8e90(0x1b2)](_0x158985)){_0x4eaa70(new Error(_0x5d8e90(0x1c8)));return;}_0x4db5f2['add'](_0x158985);const _0x12cdde=/xl\/worksheets\/sheet(\d+)[.]xml/[_0x5d8e90(0x1a0)](_0x158985);if(_0x12cdde&&!/^xl\/worksheets\/sheet\d+[.]xml$/['test'](_0x158985)){_0x4eaa70(new Error(_0x5d8e90(0x156)));return;}_0x2046bd[_0x5d8e90(0x1a7)](_0x215785,(_0x59547a,_0x5be8c4)=>{const _0x21333e=_0x5d8e90;if(_0x39d084){_0x5be8c4?.[_0x21333e(0x1f4)]();return;}if(_0x59547a||!_0x5be8c4){_0x4eaa70(_0x59547a??new Error(_0x21333e(0x19f)));return;}_0x30d1d5=_0x5be8c4;const _0x2e18fe=_0x1262fb?[]:undefined,_0x443a4f=_0x1262fb&&/[.](xml|rels)$/[_0x21333e(0x1a0)](_0x158985)?new StringDecoder('utf8'):undefined,_0x7e628b=_0x443a4f?new SaxesParser({'xmlns':![]}):undefined,_0x30a457=()=>{const _0x49df7e=_0x21333e;if(++_0x311341>0x1e8480)throw Error(_0x49df7e(0x19a));};_0x7e628b?.['on'](_0x21333e(0x15e),()=>{throw Error('XML\x20DTD/entities\x20are\x20not\x20supported.');}),_0x7e628b?.['on'](_0x21333e(0x23d),()=>{_0x30a457();if(++_0x1e6d3b>0x7a120)throw Error('Image\x20XML\x20node\x20budget\x20exceeded.');}),_0x7e628b?.['on']('text',_0x30a457),_0x7e628b?.['on']('closetag',_0x30a457),_0x7e628b?.['on'](_0x21333e(0x1a2),_0x2474c0=>{throw _0x2474c0;});const _0x1541ff=_0x12cdde||_0x477343?new StringDecoder(_0x21333e(0x204)):undefined,_0x349142=_0x12cdde||_0x477343?new SaxesParser({'xmlns':![]}):undefined;let _0xbd7305,_0x4eeb27=0x0,_0x371819=0x0,_0x4ca3b1,_0x1df08b,_0x24f53c=![],_0xdc6c2f=![],_0x37cf45,_0x201ada,_0x45e4ba,_0x1d13af=![];const _0x2bab7b=[],_0x41236f=new Set();let _0x2d77a3;const _0x4ddd8f=(_0x436360,_0x2794cc=0x0)=>{const _0x504589=_0x21333e;_0x2d9d64+=_0x2794cc+Math['max'](0x0,_0x436360-_0x371819),_0x371819=Math[_0x504589(0x205)](_0x371819,_0x436360);if(_0x2d9d64>MAX_ROWS)throw new Error(_0x504589(0x1e4));};_0x349142?.['on']('opentag',_0x5b5a27=>{const _0x335b85=_0x21333e;if(_0x477343){if(!_0xbd7305&&_0x5b5a27[_0x335b85(0x1ec)]===_0x335b85(0x1f2))_0xbd7305=new DefinedNameXform();_0xbd7305?.['parseOpen'](_0x5b5a27);return;}if(_0x5b5a27[_0x335b85(0x1ec)]==='row'){if(_0xdc6c2f)throw new Error(_0x335b85(0x1b9));_0x411ead(_0x5b5a27[_0x335b85(0x1d1)]['r'],MAX_XML_ROWS),_0x4ca3b1=undefined,_0x45e4ba=undefined,_0x1d13af=![];}else{if(_0x5b5a27[_0x335b85(0x1ec)]==='c'){if(_0xdc6c2f)throw new Error('Invalid\x20worksheet\x20nested\x20cell.');_0xdc6c2f=!![],_0x24f53c=Boolean(Number['parseInt'](_0x5b5a27['attributes']['s']??'',0xa)),_0x2d77a3=undefined,_0x37cf45=_0x5b5a27['attributes']['r']||undefined,_0x201ada=_0x37cf45?_0x4e47d0(_0x37cf45):undefined;if(_0x201ada)_0x1df08b=_0x201ada;else _0x1df08b=_0x4ca3b1?{'row':_0x4ca3b1['row'],'col':_0x4ca3b1[_0x335b85(0x1ac)]+0x1}:undefined;}else{if(_0xdc6c2f&&['f','v','t'][_0x335b85(0x1bd)](_0x5b5a27[_0x335b85(0x1ec)])){_0x2d77a3=_0x5b5a27[_0x335b85(0x1ec)];if(_0x5b5a27[_0x335b85(0x1ec)]==='f'&&_0x5b5a27[_0x335b85(0x1d1)]['t'])_0x24f53c=!![];}else{if(_0xdc6c2f&&_0x5b5a27['name']==='r')_0x24f53c=!![];else{if(_0x5b5a27[_0x335b85(0x1ec)]===_0x335b85(0x18e)){const _0x529145=_0x5b5a27[_0x335b85(0x1d1)][_0x335b85(0x1b5)];if(!_0x529145)throw new Error(_0x335b85(0x192));const _0x39dca8=_0x529145[_0x335b85(0x1ee)](':');if(_0x39dca8[_0x335b85(0x1a3)]>0x2)throw new Error(_0x335b85(0x192));const _0x37ce4d=_0x4e47d0(_0x39dca8[0x0]),_0x5b0818=_0x4e47d0(_0x39dca8[0x1]??_0x39dca8[0x0]);_0x41236f[_0x335b85(0x17a)](_0x529145),_0x4ddd8f(Math[_0x335b85(0x205)](_0x37ce4d['col'],_0x5b0818[_0x335b85(0x1ac)]),0x1);}else{if(_0x5b5a27[_0x335b85(0x1ec)]===_0x335b85(0x1ac)){const _0x39a1c6=_0x411ead(_0x5b5a27[_0x335b85(0x1d1)]['min'],0x4000),_0x3a30ee=_0x411ead(_0x5b5a27[_0x335b85(0x1d1)]['max'],0x4000);if(_0x39a1c6>_0x3a30ee)throw new Error(_0x335b85(0x191));_0x4ddd8f(_0x3a30ee,0x1);}else{if(_0x5b5a27[_0x335b85(0x1ec)]===_0x335b85(0x223)){const _0x13e5f3=_0x5b5a27[_0x335b85(0x1d1)]['ref'];if(!_0x13e5f3)throw new Error(_0x335b85(0x1c2));const _0x1e976c=_0x13e5f3[_0x335b85(0x1ee)](':');if(_0x1e976c[_0x335b85(0x1a3)]>0x2)throw new Error(_0x335b85(0x1c2));const _0x3af94a=_0x4e47d0(_0x1e976c[0x0]),_0x508af1=_0x4e47d0(_0x1e976c[0x1]??_0x1e976c[0x0]);_0x4ddd8f(Math[_0x335b85(0x205)](_0x3af94a['col'],_0x508af1['col']));const _0x3f3106=(Math[_0x335b85(0x16e)](_0x508af1[_0x335b85(0x163)]-_0x3af94a[_0x335b85(0x163)])+0x1)*(Math[_0x335b85(0x16e)](_0x508af1['col']-_0x3af94a[_0x335b85(0x1ac)])+0x1);_0x4ae3f2+=_0x3f3106+_0x4eeb27++;if(_0x4ae3f2>MAX_ROWS)throw new Error(_0x335b85(0x172));}}}}}}}}),_0x349142?.['on'](_0x21333e(0x235),_0x32c63b=>{const _0x2088e7=_0x21333e;if(_0x477343){_0xbd7305?.[_0x2088e7(0x230)](_0x32c63b);return;}if(_0xdc6c2f&&_0x2d77a3&&_0x32c63b)_0x24f53c=!![];}),_0x349142?.['on']('closetag',_0x44867e=>{const _0x20a889=_0x21333e;if(_0x477343){_0xbd7305&&!_0xbd7305[_0x20a889(0x17b)]()&&(_0x373333(_0xbd7305[_0x20a889(0x1c0)]),_0xbd7305=undefined);return;}if(_0x44867e[_0x20a889(0x1ec)]==='c'){!_0x24f53c&&_0x37cf45&&!_0x45e4ba&&(_0x45e4ba={'before':_0x4ca3b1,'cells':[]});if(_0x45e4ba){if(++_0x3bbb78>0xf4240)throw new Error(_0x20a889(0x1d4));_0x45e4ba['cells'][_0x20a889(0x1f7)]({'reference':_0x37cf45,'address':_0x201ada,'materialized':_0x24f53c});if(!_0x37cf45&&_0x24f53c)_0x1d13af=!![];}if(_0x24f53c){if(!_0x45e4ba||_0x37cf45){if(!_0x1df08b)throw new Error('Invalid\x20worksheet\x20cell\x20without\x20an\x20initial\x20reference.');if(_0x1df08b[_0x20a889(0x1ac)]>MAX_XML_COLUMNS)throw new Error(_0x20a889(0x17d));_0x4ddd8f(_0x1df08b[_0x20a889(0x1ac)]);}_0x4ca3b1=_0x1df08b;}_0xdc6c2f=![],_0x1df08b=undefined,_0x37cf45=undefined,_0x201ada=undefined,_0x2d77a3=undefined;}else{if(_0x44867e[_0x20a889(0x1ec)]==='row'){if(_0x45e4ba&&_0x1d13af)_0x2bab7b[_0x20a889(0x1f7)](_0x45e4ba);_0x45e4ba=undefined,_0x1d13af=![];}else{if(_0x44867e[_0x20a889(0x1ec)]===_0x2d77a3)_0x2d77a3=undefined;}}}),_0x349142?.['on'](_0x21333e(0x1a2),_0x11b3df=>{const _0x32f4d2=_0x21333e;throw new Error(_0x32f4d2(0x234)+_0x11b3df['message']);}),_0x5be8c4['on']('error',_0x4eaa70),_0x5be8c4['on'](_0x21333e(0x173),_0x40641a=>{const _0xbce525=_0x21333e;if(_0x39d084)return;_0x101188+=_0x40641a[_0xbce525(0x1a3)],_0x2e18fe?.[_0xbce525(0x1f7)](_0x40641a);if(_0x101188>MAX_EXPANDED){_0x4eaa70(new Error(_0xbce525(0x1c7)));return;}try{if(_0x7e628b&&_0x443a4f)_0x7e628b[_0xbce525(0x219)](_0x443a4f['write'](_0x40641a));if(_0x349142&&_0x1541ff)_0x349142['write'](_0x1541ff['write'](_0x40641a));}catch(_0x3442a2){_0x4eaa70(_0x3442a2 instanceof Error?_0x3442a2:new Error(_0xbce525(0x201)));}}),_0x5be8c4['on']('end',()=>{const _0x254891=_0x21333e;if(_0x39d084)return;try{if(_0x7e628b&&_0x443a4f)_0x7e628b[_0x254891(0x219)](_0x443a4f[_0x254891(0x195)]())[_0x254891(0x18a)]();if(_0x349142&&_0x1541ff)_0x349142[_0x254891(0x219)](_0x1541ff[_0x254891(0x195)]())[_0x254891(0x18a)]();for(const _0x35a1ec of _0x2bab7b){let _0x1986a0=_0x35a1ec[_0x254891(0x208)];for(const _0x3e4e5d of _0x35a1ec[_0x254891(0x222)]){if(!_0x3e4e5d[_0x254891(0x1ca)]&&!(_0x3e4e5d['reference']&&_0x41236f[_0x254891(0x1b2)](_0x3e4e5d[_0x254891(0x14d)])))continue;const _0x130fcb=_0x3e4e5d[_0x254891(0x1d8)]??(_0x1986a0?{'row':_0x1986a0[_0x254891(0x163)],'col':_0x1986a0[_0x254891(0x1ac)]+0x1}:undefined);if(!_0x130fcb)throw new Error('Invalid\x20worksheet\x20cell\x20without\x20an\x20initial\x20reference.');if(_0x130fcb[_0x254891(0x1ac)]>MAX_XML_COLUMNS)throw new Error('Worksheet\x20exceeds\x2016384\x20columns.');_0x4ddd8f(_0x130fcb['col']),_0x1986a0=_0x130fcb;}}_0x2bab7b[_0x254891(0x1a3)]=0x0,_0x41236f[_0x254891(0x1e3)]();}catch(_0x3c9bde){_0x4eaa70(_0x3c9bde instanceof Error?_0x3c9bde:new Error(_0x254891(0x201)));return;}if(_0x2e18fe)_0x1262fb[_0x254891(0x1eb)](_0x158985,Buffer[_0x254891(0x158)](_0x2e18fe));_0x30d1d5=undefined,_0x2046bd[_0x254891(0x17c)]();});});}),_0x2046bd['on'](_0xe7e39d(0x195),()=>{const _0x58c6ad=_0xe7e39d;if(_0x39d084)return;if(_0x2046bd[_0x58c6ad(0x23a)]!==_0x58dcd8){_0x369459(new Error('ZIP\x20central\x20directory\x20entry\x20count\x20does\x20not\x20match\x20its\x20contents.'));return;}if(!_0x4db5f2[_0x58c6ad(0x1b2)](_0x58c6ad(0x21e))||!_0x4db5f2[_0x58c6ad(0x1b2)](_0x58c6ad(0x19c)))_0x369459(new Error(_0x58c6ad(0x14f)));else _0x41d73d();}),_0x2046bd[_0xe7e39d(0x17c)]();});});}function valueOf(_0x4330a4){const _0x3cbd22=a140_0x590d62,_0x5a97ba=_0x4330a4[_0x3cbd22(0x1d3)];if(_0x5a97ba&&typeof _0x5a97ba===_0x3cbd22(0x1cc)&&(_0x3cbd22(0x184)in _0x5a97ba||_0x3cbd22(0x177)in _0x5a97ba)){if(!(_0x3cbd22(0x22c)in _0x5a97ba)||_0x5a97ba['result']===undefined)throw new Error(_0x3cbd22(0x225));return _0x5a97ba[_0x3cbd22(0x22c)];}return _0x5a97ba;}function convert(_0x3fec8d,_0x35112a){const _0x107418=a140_0x590d62;if(_0x3fec8d===null||_0x3fec8d===undefined||_0x3fec8d===''){if(_0x35112a['required']&&!_0x35112a[_0x107418(0x160)])throw new Error(_0x107418(0x188));return null;}if(typeof _0x3fec8d===_0x107418(0x1be)&&Buffer[_0x107418(0x233)](_0x3fec8d,'utf8')>MAX_CELL)throw new Error(_0x107418(0x1c1));switch(_0x35112a[_0x107418(0x1a1)][_0x107418(0x22d)]()){case'string':case _0x107418(0x235):case _0x107418(0x18f):if(typeof _0x3fec8d!==_0x107418(0x1be))throw new Error(_0x107418(0x1e6));return _0x3fec8d;case _0x107418(0x165):case'decimal':case _0x107418(0x1fa):if(typeof _0x3fec8d!=='number'||!Number[_0x107418(0x229)](_0x3fec8d)||Math[_0x107418(0x16e)](_0x3fec8d)>Number['MAX_SAFE_INTEGER']||_0x35112a[_0x107418(0x1a1)][_0x107418(0x22d)]()===_0x107418(0x1fa)&&!Number[_0x107418(0x1e1)](_0x3fec8d))throw new Error('Expected\x20a\x20finite\x20safe\x20numeric\x20cell.');return _0x3fec8d;case _0x107418(0x1cd):if(typeof _0x3fec8d!==_0x107418(0x1cd))throw new Error(_0x107418(0x198));return _0x3fec8d;case _0x107418(0x1df):case'datetime':if(!(_0x3fec8d instanceof Date)||!Number[_0x107418(0x229)](_0x3fec8d[_0x107418(0x1ba)]()))throw new Error(_0x107418(0x1af));return _0x3fec8d[_0x107418(0x1ba)]();default:throw new Error(_0x107418(0x1e2)+_0x35112a[_0x107418(0x1a1)]+'.');}}export async function buildExcelManifest(_0x52955a){const _0x399465=a140_0x590d62,_0x2ff8f2=_0x52955a['headerRow']??0x1;if(!Number['isInteger'](_0x2ff8f2)||_0x2ff8f2<0x1||_0x2ff8f2>MAX_ROWS)throw new Error(_0x399465(0x23e));if(_0x52955a[_0x399465(0x1e5)]!==undefined&&(!Number['isInteger'](_0x52955a[_0x399465(0x1e5)])||_0x52955a[_0x399465(0x1e5)]<0x1||_0x52955a[_0x399465(0x1e5)]>0x3e8))throw new Error(_0x399465(0x240));if(a140_0x11e7ee[_0x399465(0x162)](_0x52955a[_0x399465(0x21a)])[_0x399465(0x22d)]()!==_0x399465(0x200))throw new Error(_0x399465(0x218));const _0x5707cf=await stat(_0x52955a[_0x399465(0x21a)]);if(!_0x5707cf[_0x399465(0x1b3)]()||_0x5707cf[_0x399465(0x1f8)]>MAX_FILE)throw new Error(_0x399465(0x23f));const _0x4b1bb8=await readFile(_0x52955a[_0x399465(0x21a)]);if(_0x4b1bb8[_0x399465(0x1a3)]>MAX_FILE)throw new Error('XLSX\x20file\x20exceeds\x2020\x20MB.');const _0x3ebe14=_0x52955a[_0x399465(0x1de)][_0x399465(0x16b)](_0x4e5290=>isImageContainer(_0x4e5290[_0x399465(0x1a1)])&&Object[_0x399465(0x212)](_0x52955a[_0x399465(0x1b1)])[_0x399465(0x1bd)](_0x4e5290[_0x399465(0x1f1)]))?new Map():undefined;await checkArchive(_0x4b1bb8,_0x3ebe14);const _0x5a6a93=new a140_0xddb607['Workbook']();await _0x5a6a93[_0x399465(0x1ae)][_0x399465(0x193)](_0x4b1bb8,{'ignoreNodes':[_0x399465(0x164)]});const _0x2a1b24=_0x52955a[_0x399465(0x1c6)];let _0x2244e9;if(_0x2a1b24===undefined)_0x2244e9=_0x5a6a93[_0x399465(0x1b8)][0x0];else{if(typeof _0x2a1b24==='string'&&_0x5a6a93[_0x399465(0x1b8)]['some'](_0x197062=>_0x197062[_0x399465(0x1ec)]===_0x2a1b24))_0x2244e9=_0x5a6a93[_0x399465(0x1b8)][_0x399465(0x207)](_0x4f5e28=>_0x4f5e28[_0x399465(0x1ec)]===_0x2a1b24);else{if(typeof _0x2a1b24===_0x399465(0x165)||/^\d+$/[_0x399465(0x1a0)](_0x2a1b24)){const _0x5a1467=Number(_0x2a1b24);if(!Number[_0x399465(0x1e1)](_0x5a1467)||_0x5a1467<0x1)throw new Error(_0x399465(0x214));_0x2244e9=_0x5a6a93[_0x399465(0x1b8)][_0x5a1467-0x1];}else _0x2244e9=_0x5a6a93[_0x399465(0x1b8)]['find'](_0x406449=>_0x406449['name']===_0x2a1b24);}}if(!_0x2244e9)throw new Error('Requested\x20worksheet\x20does\x20not\x20exist.');if(_0x2244e9[_0x399465(0x14b)]>MAX_ROWS||_0x2244e9['columnCount']>MAX_COLUMNS)throw new Error(_0x399465(0x190));if((_0x2244e9[_0x399465(0x1c0)][_0x399465(0x1a5)]??[])['length'])throw new Error(_0x399465(0x1d5));const _0x46efd2=new Map();_0x2244e9[_0x399465(0x1ff)](_0x2ff8f2)[_0x399465(0x1fd)]((_0x1ffbb8,_0x4f46e5)=>{const _0x1f5e41=_0x399465,_0x3db506=valueOf(_0x1ffbb8);if(typeof _0x3db506!==_0x1f5e41(0x1be)||!_0x3db506['trim']()||Buffer[_0x1f5e41(0x233)](_0x3db506)>MAX_CELL)throw new Error(_0x1f5e41(0x159));if(_0x46efd2[_0x1f5e41(0x1b2)](_0x3db506))throw new Error(_0x1f5e41(0x19d)+_0x3db506+'.');_0x46efd2[_0x1f5e41(0x1eb)](_0x3db506,_0x4f46e5);});const _0x1c73d5=Object[_0x399465(0x1f0)](_0x52955a[_0x399465(0x1b1)]);if(!_0x1c73d5['length'])throw new Error(_0x399465(0x1dc));const _0x571d30=new Map(_0x52955a[_0x399465(0x1de)][_0x399465(0x211)](_0x284379=>[_0x284379[_0x399465(0x1f1)],_0x284379]));if(_0x571d30[_0x399465(0x1f8)]!==_0x52955a[_0x399465(0x1de)][_0x399465(0x1a3)])throw new Error('Duplicate\x20dataset\x20field\x20codes.');if(_0x52955a[_0x399465(0x1de)][_0x399465(0x16b)](_0x1e2934=>_0x1e2934[_0x399465(0x1a1)][_0x399465(0x22d)]()===_0x399465(0x182)))throw new Error('Unsupported\x20dataset\x20field\x20type:\x20serial_number.');const _0x391ae6=new Set();for(const [_0x2764d0,_0x307411]of _0x1c73d5){const _0x214d3f=_0x571d30[_0x399465(0x209)](_0x307411);if(!_0x46efd2[_0x399465(0x1b2)](_0x2764d0))throw new Error(_0x399465(0x15c)+_0x2764d0+'.');if(!_0x214d3f||RESERVED['has'](_0x307411)||_0x214d3f[_0x399465(0x160)])throw new Error('Unknown\x20or\x20generated\x20mapping\x20field:\x20'+_0x307411+'.');if(_0x391ae6['has'](_0x307411))throw new Error(_0x399465(0x1db)+_0x307411+'.');if(!TYPES[_0x399465(0x1b2)](_0x214d3f[_0x399465(0x1a1)][_0x399465(0x22d)]()))throw new Error('Unsupported\x20field\x20type:\x20'+_0x214d3f[_0x399465(0x1a1)]+'.');_0x391ae6[_0x399465(0x17a)](_0x307411);}for(const _0x1be87a of _0x52955a[_0x399465(0x1de)]){if(_0x1be87a['required']&&!_0x1be87a['generated']&&!RESERVED[_0x399465(0x1b2)](_0x1be87a[_0x399465(0x1f1)])&&!_0x391ae6['has'](_0x1be87a[_0x399465(0x1f1)]))throw new Error(_0x399465(0x1bf)+_0x1be87a[_0x399465(0x1f1)]+'.');}const _0x366526={'fileHash':hash(_0x4b1bb8),'mappingHash':hash(JSON['stringify']([..._0x1c73d5][_0x399465(0x203)](([_0x2a1eae],[_0x5d3713])=>_0x2a1eae[_0x399465(0x22a)](_0x5d3713)))),'schemaHash':hash(JSON[_0x399465(0x181)]([..._0x52955a['fields']][_0x399465(0x203)]((_0x4f31fa,_0xb0ddb4)=>_0x4f31fa[_0x399465(0x1f1)][_0x399465(0x22a)](_0xb0ddb4[_0x399465(0x1f1)])))),'sheet':_0x2244e9[_0x399465(0x1ec)],'rows':[],'emptyRows':[],'errors':[],'warnings':[]},_0x52b599=_0x1c73d5[_0x399465(0x206)](([,_0x4aa861])=>isImageContainer(_0x571d30['get'](_0x4aa861)['type'])),_0x21052d=_0x52b599[_0x399465(0x206)](([,_0x3edec5])=>_0x571d30[_0x399465(0x209)](_0x3edec5)[_0x399465(0x1a1)]['toLowerCase']()===_0x399465(0x180))[_0x399465(0x211)](([,_0x3c7fb3])=>_0x3c7fb3);if(_0x21052d[_0x399465(0x1a3)])_0x366526[_0x399465(0x1bc)]=_0x21052d;const _0x444888=_0x3ebe14?resolveWorksheetImages(_0x3ebe14,_0x2244e9['name'],new Set(_0x52b599[_0x399465(0x211)](([_0x5e6b59])=>_0x46efd2[_0x399465(0x209)](_0x5e6b59)))):[],_0x4c8efa=new Map();for(const _0x49249e of _0x444888){const _0x285e7e=_0x49249e[_0x399465(0x163)]+':'+_0x49249e[_0x399465(0x1ac)],_0x520576=_0x4c8efa[_0x399465(0x209)](_0x285e7e)??[];_0x520576[_0x399465(0x1f7)](_0x49249e),_0x4c8efa[_0x399465(0x1eb)](_0x285e7e,_0x520576);}const _0x470725=new Map();let _0x11e780=0x0;_0x52b599['length']&&(_0x366526['imageFields']=_0x52b599[_0x399465(0x211)](([,_0x56c607])=>_0x56c607),_0x366526[_0x399465(0x14c)]=[],_0x366526[_0x399465(0x189)]=0x1,_0x366526[_0x399465(0x17e)]=[]);const _0x33a4cd=Math[_0x399465(0x205)](0x0,..._0x444888[_0x399465(0x211)](_0x24dafd=>_0x24dafd['row']));let _0x40a001=0x0;const _0x4dbeef=new Set(_0x1c73d5[_0x399465(0x211)](([_0x35d35e])=>_0x46efd2[_0x399465(0x209)](_0x35d35e)));for(let _0x3bb9d6=_0x2ff8f2+0x1;_0x3bb9d6<=Math['max'](_0x2244e9['rowCount'],_0x33a4cd);_0x3bb9d6++){const _0x56d6d4=_0x2244e9['getRow'](_0x3bb9d6);if(_0x56d6d4[_0x399465(0x1d6)]||_0x444888[_0x399465(0x16b)](_0x2a5950=>_0x2a5950[_0x399465(0x163)]===_0x3bb9d6&&_0x2a5950[_0x399465(0x202)]))_0x40a001++;let _0x3beb3e=_0x444888[_0x399465(0x16b)](_0x28727d=>_0x28727d['row']===_0x3bb9d6);_0x56d6d4[_0x399465(0x1fd)](_0x301658=>{const _0x34cbb0=_0x399465;if(_0x301658['value']!==null&&_0x301658[_0x34cbb0(0x1d3)]!==undefined&&_0x301658[_0x34cbb0(0x1d3)]!=='')_0x3beb3e=!![];});if(!_0x3beb3e){_0x366526[_0x399465(0x18b)][_0x399465(0x1f7)](_0x3bb9d6);continue;}const _0x8c413a=Object['create'](null);_0x56d6d4['eachCell']((_0x311dfb,_0x1eb6e3)=>{const _0x2d98ab=_0x399465;if(_0x4dbeef[_0x2d98ab(0x1b2)](_0x1eb6e3))return;try{const _0x25c127=valueOf(_0x311dfb);if(typeof _0x25c127===_0x2d98ab(0x1be)&&Buffer[_0x2d98ab(0x233)](_0x25c127,_0x2d98ab(0x204))>MAX_CELL)throw new Error(_0x2d98ab(0x1c1));}catch(_0x5077e5){_0x366526['errors'][_0x2d98ab(0x1f7)]({'rowNumber':_0x3bb9d6,'field':_0x311dfb['address'],'message':_0x5077e5[_0x2d98ab(0x15a)]});}});for(const [_0x175150,_0x463830]of _0x1c73d5){try{const _0x5a61dd=_0x56d6d4[_0x399465(0x1a9)](_0x46efd2['get'](_0x175150)),_0x2baa2d=_0x571d30['get'](_0x463830);if(!isImageContainer(_0x2baa2d[_0x399465(0x1a1)])){_0x8c413a[_0x463830]=convert(valueOf(_0x5a61dd),_0x2baa2d);continue;}const _0x2540b0=_0x4c8efa['get'](_0x3bb9d6+':'+_0x46efd2['get'](_0x175150))??[];if(_0x2540b0['some'](_0x5a27ce=>_0x5a27ce[_0x399465(0x1a2)]))throw Error(_0x2540b0[_0x399465(0x207)](_0x44622f=>_0x44622f[_0x399465(0x1a2)])[_0x399465(0x1a2)]);if(_0x5a61dd['value']!=null&&_0x5a61dd[_0x399465(0x1d3)]!==''&&!_0x2540b0[_0x399465(0x16b)](_0x570a1b=>_0x570a1b[_0x399465(0x20e)]))throw Error(_0x399465(0x153));const _0x3c2c4f=[];for(const _0x2cbcaf of _0x2540b0)for(const _0x535a08 of _0x2cbcaf[_0x399465(0x17e)]){const _0x3dae58=_0x3ebe14[_0x399465(0x209)](_0x535a08);if(!_0x3dae58)throw Error('Missing\x20image\x20media:\x20'+_0x535a08+'.');const _0x3ce488=hash(_0x3dae58),_0x2bbc77=_0x470725[_0x399465(0x209)](_0x3ce488)??validateImageBytes(_0x3dae58);if(!_0x470725[_0x399465(0x1b2)](_0x2bbc77[_0x399465(0x1cb)])){_0x11e780+=_0x2bbc77['size'];if(_0x11e780>0x32*0x400*0x400)throw Error('Unique\x20image\x20bytes\x20exceed\x2050\x20MB.');_0x470725['set'](_0x2bbc77[_0x399465(0x1cb)],_0x2bbc77);}_0x3c2c4f[_0x399465(0x1f7)](_0x2bbc77[_0x399465(0x1cb)]);}if(!_0x3c2c4f[_0x399465(0x1a3)]&&_0x2baa2d[_0x399465(0x1e9)])throw Error(_0x399465(0x18d));if(_0x3c2c4f[_0x399465(0x1a3)])_0x366526[_0x399465(0x14c)][_0x399465(0x1f7)]({'rowNumber':_0x3bb9d6,'field':_0x463830,'hashes':_0x3c2c4f});_0x8c413a[_0x463830]=_0x3c2c4f['map'](_0x5a186d=>{const _0x26c603=_0x399465,_0x3aa4c8=_0x470725['get'](_0x5a186d),_0x58aca0=_0x3aa4c8['type']===_0x26c603(0x22e)?_0x26c603(0x231):_0x3aa4c8[_0x26c603(0x1a1)]['slice'](0x6),_0x5a46b7=_0x5a186d+'.'+_0x58aca0,_0x37471e=_0x26c603(0x1bb)+'0'[_0x26c603(0x1d7)](0x40)+'/'+_0x5a46b7;return _0x2baa2d[_0x26c603(0x1a1)][_0x26c603(0x22d)]()===_0x26c603(0x180)?{'fileName':_0x5a46b7,'filePath':_0x37471e}:{'key':_0x37471e,'name':_0x5a46b7,'type':_0x3aa4c8['type'],'size':_0x3aa4c8[_0x26c603(0x1f8)]};});}catch(_0x235014){_0x366526[_0x399465(0x179)][_0x399465(0x1f7)]({'rowNumber':_0x3bb9d6,'field':_0x463830,'message':_0x235014[_0x399465(0x15a)]});}}_0x366526[_0x399465(0x1a6)][_0x399465(0x1f7)]({'rowNumber':_0x3bb9d6,'values':_0x8c413a});}if(_0x366526[_0x399465(0x17e)])_0x366526[_0x399465(0x17e)]=[..._0x470725[_0x399465(0x212)]()];if(_0x40a001)_0x366526[_0x399465(0x22b)]['push'](_0x40a001+_0x399465(0x16c));return _0x366526;}