@claudiolabs/claudio 0.1.15 → 0.2.0

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 (704) hide show
  1. package/dist/chunks/AgentTool-0.2.0-g1wqt0s3.mjs +1 -0
  2. package/dist/chunks/App-0.2.0-ntfv12g0.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.2.0-2ymsvey5.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.2.0-8jec5v9r.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.2.0-xvmknjn1.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.2.0-1cpe3m5c.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.2.0-851aysqd.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.2.0-v4515qqc.mjs +1 -0
  9. package/dist/chunks/{DiffDialog-0.1.15-86m0j64m.mjs → DiffDialog-0.2.0-kyhr5jh0.mjs} +1 -1
  10. package/dist/chunks/Doctor-0.2.0-ck3enc4g.mjs +1 -0
  11. package/dist/chunks/Grove-0.2.0-79c6g758.mjs +1 -0
  12. package/dist/chunks/ITermBackend-0.2.0-ez3ahe49.mjs +1 -0
  13. package/dist/chunks/InProcessTransport-0.2.0-9d5e65zk.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-0.2.0-mfrg36s6.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-0.2.0-n08wkb0d.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-0.2.0-9anh130m.mjs +1 -0
  17. package/dist/chunks/Onboarding-0.2.0-2468pvay.mjs +1 -0
  18. package/dist/chunks/ProviderManager-0.2.0-cjpn5dkk.mjs +1 -0
  19. package/dist/chunks/REPL-0.2.0-q3fd5jfy.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-0.2.0-3ff000x5.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-0.2.0-b51pr6s3.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-0.2.0-c3znpb7p.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-0.2.0-5wckmrvx.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-0.2.0-wdc9sxcv.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-0.2.0-mkbxpe3a.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-0.2.0-k7dvhq3e.mjs +1 -0
  27. package/dist/chunks/TrustDialog-0.2.0-xywdgnw5.mjs +1 -0
  28. package/dist/chunks/activeProvider-0.2.0-6yja1haw.mjs +1 -0
  29. package/dist/chunks/add-dir-0.2.0-qg5z82ke.mjs +1 -0
  30. package/dist/chunks/agents-0.2.0-2j995rg8.mjs +3 -0
  31. package/dist/chunks/agents-0.2.0-mzww8vhq.mjs +110 -0
  32. package/dist/chunks/api-0.2.0-rfc17a1j.mjs +1 -0
  33. package/dist/chunks/asciicast-0.2.0-25ban1yy.mjs +1 -0
  34. package/dist/chunks/assistant-0.2.0-wt3sz6f5.mjs +1 -0
  35. package/dist/chunks/auth-0.2.0-p1v8yq4y.mjs +1 -0
  36. package/dist/chunks/auth-0.2.0-sh12qb2q.mjs +1 -0
  37. package/dist/chunks/{autoMode-0.1.15-p9r45wxy.mjs → autoMode-0.2.0-vzqmqetr.mjs} +1 -1
  38. package/dist/chunks/backgroundHousekeeping-0.2.0-8d72paf3.mjs +1 -0
  39. package/dist/chunks/branch-0.2.0-vhf49enf.mjs +4 -0
  40. package/dist/chunks/bridgePointer-0.2.0-br2r89v9.mjs +1 -0
  41. package/dist/chunks/{btw-0.1.15-q693ppfr.mjs → btw-0.2.0-qtwstg74.mjs} +1 -1
  42. package/dist/chunks/{buddy-0.1.15-vcca6k2p.mjs → buddy-0.2.0-5a9wzpm1.mjs} +1 -1
  43. package/dist/chunks/cacache-0.2.0-nps3what.mjs +1 -0
  44. package/dist/chunks/{cache-probe-0.1.15-dfdjj53r.mjs → cache-probe-0.2.0-9d3hfar7.mjs} +1 -1
  45. package/dist/chunks/{cacheStats-0.1.15-v9v9y02q.mjs → cacheStats-0.2.0-rbr7a1xq.mjs} +1 -1
  46. package/dist/chunks/caches-0.2.0-jsvyz7k9.mjs +1 -0
  47. package/dist/chunks/claudeDesktop-0.2.0-ca7jbnc4.mjs +1 -0
  48. package/dist/chunks/claudemd-0.2.0-yt6b83v9.mjs +1 -0
  49. package/dist/chunks/clear-0.2.0-5e6fb269.mjs +1 -0
  50. package/dist/chunks/clearTerminal-0.2.0-c21vszkv.mjs +1 -0
  51. package/dist/chunks/cli-0.2.0-087sjqr6.mjs +2 -0
  52. package/dist/chunks/cli-0.2.0-0cjgm41a.mjs +2 -0
  53. package/dist/chunks/cli-0.2.0-0fwa4agt.mjs +2 -0
  54. package/dist/chunks/cli-0.2.0-0nmdgd3g.mjs +2 -0
  55. package/dist/chunks/cli-0.2.0-0vvkn4c2.mjs +2 -0
  56. package/dist/chunks/{cli-0.1.15-4fc5wnse.mjs → cli-0.2.0-13sc1gtx.mjs} +2 -2
  57. package/dist/chunks/cli-0.2.0-16yt5fwn.mjs +2 -0
  58. package/dist/chunks/cli-0.2.0-1br2y5jr.mjs +2 -0
  59. package/dist/chunks/cli-0.2.0-1mbgzd60.mjs +2 -0
  60. package/dist/chunks/cli-0.2.0-1vczhepy.mjs +2 -0
  61. package/dist/chunks/{cli-0.1.15-vwb8h4r1.mjs → cli-0.2.0-24bbrvmx.mjs} +1 -1
  62. package/dist/chunks/{cli-0.1.15-ncammv2n.mjs → cli-0.2.0-280a64s9.mjs} +2 -2
  63. package/dist/chunks/cli-0.2.0-2c2rdf9b.mjs +2 -0
  64. package/dist/chunks/cli-0.2.0-2crrewfg.mjs +5 -0
  65. package/dist/chunks/{cli-0.1.15-nkn6jfmb.mjs → cli-0.2.0-2edwgzmj.mjs} +1 -1
  66. package/dist/chunks/cli-0.2.0-2ppczk6v.mjs +2 -0
  67. package/dist/chunks/cli-0.2.0-35xeqadb.mjs +2 -0
  68. package/dist/chunks/cli-0.2.0-362nfwm4.mjs +5 -0
  69. package/dist/chunks/cli-0.2.0-3abr1pjj.mjs +2 -0
  70. package/dist/chunks/cli-0.2.0-3ttrh2tj.mjs +2 -0
  71. package/dist/chunks/cli-0.2.0-3y7hn5v2.mjs +2 -0
  72. package/dist/chunks/cli-0.2.0-41524wt1.mjs +2 -0
  73. package/dist/chunks/cli-0.2.0-46m4vcs3.mjs +2 -0
  74. package/dist/chunks/cli-0.2.0-48sfjp31.mjs +2 -0
  75. package/dist/chunks/cli-0.2.0-4hy8176k.mjs +2 -0
  76. package/dist/chunks/cli-0.2.0-4phx745d.mjs +2 -0
  77. package/dist/chunks/cli-0.2.0-4s3ve9jw.mjs +2 -0
  78. package/dist/chunks/cli-0.2.0-4t9h5c71.mjs +2 -0
  79. package/dist/chunks/cli-0.2.0-4vbz1xrx.mjs +2 -0
  80. package/dist/chunks/cli-0.2.0-4ve4asjv.mjs +2 -0
  81. package/dist/chunks/cli-0.2.0-514cx7c7.mjs +3 -0
  82. package/dist/chunks/cli-0.2.0-55mg69qb.mjs +2 -0
  83. package/dist/chunks/{cli-0.1.15-rq9n4js4.mjs → cli-0.2.0-5a2sf5g7.mjs} +1 -1
  84. package/dist/chunks/{cli-0.1.15-20tvdt2s.mjs → cli-0.2.0-5rm5wnp9.mjs} +2 -2
  85. package/dist/chunks/cli-0.2.0-69bn5730.mjs +2 -0
  86. package/dist/chunks/cli-0.2.0-6dbn4mn2.mjs +2 -0
  87. package/dist/chunks/cli-0.2.0-6en16pc3.mjs +2 -0
  88. package/dist/chunks/cli-0.2.0-6scx1ptz.mjs +4 -0
  89. package/dist/chunks/cli-0.2.0-6y2zbjr4.mjs +2 -0
  90. package/dist/chunks/cli-0.2.0-715a2z01.mjs +2 -0
  91. package/dist/chunks/cli-0.2.0-7xs4mtmq.mjs +2 -0
  92. package/dist/chunks/cli-0.2.0-7zpdrxbp.mjs +2 -0
  93. package/dist/chunks/cli-0.2.0-82kqh5xm.mjs +2 -0
  94. package/dist/chunks/cli-0.2.0-847azgnr.mjs +2 -0
  95. package/dist/chunks/cli-0.2.0-8hbq2p5t.mjs +2 -0
  96. package/dist/chunks/cli-0.2.0-8wnt08ky.mjs +12 -0
  97. package/dist/chunks/cli-0.2.0-98h2e6bt.mjs +2 -0
  98. package/dist/chunks/cli-0.2.0-9ez4c6sj.mjs +6 -0
  99. package/dist/chunks/{cli-0.1.15-m0v1d1kt.mjs → cli-0.2.0-9fckzgpc.mjs} +11 -11
  100. package/dist/chunks/cli-0.2.0-9jj1kcbc.mjs +2 -0
  101. package/dist/chunks/cli-0.2.0-9n89mtk3.mjs +2 -0
  102. package/dist/chunks/cli-0.2.0-9n8cdk9p.mjs +2 -0
  103. package/dist/chunks/cli-0.2.0-9t5wq1kd.mjs +2 -0
  104. package/dist/chunks/cli-0.2.0-am2e345h.mjs +2 -0
  105. package/dist/chunks/{cli-0.1.15-zap1wk9j.mjs → cli-0.2.0-amhtcvq4.mjs} +2 -2
  106. package/dist/chunks/cli-0.2.0-ar569zh3.mjs +2 -0
  107. package/dist/chunks/cli-0.2.0-arwyxqyx.mjs +2 -0
  108. package/dist/chunks/{cli-0.1.15-xe4dq144.mjs → cli-0.2.0-asc68d4g.mjs} +2 -2
  109. package/dist/chunks/cli-0.2.0-aw44dqmt.mjs +2 -0
  110. package/dist/chunks/cli-0.2.0-b1tfb8fj.mjs +2 -0
  111. package/dist/chunks/cli-0.2.0-b8a7b102.mjs +2 -0
  112. package/dist/chunks/{cli-0.1.15-mhbfhhf6.mjs → cli-0.2.0-b8hs09nv.mjs} +1 -1
  113. package/dist/chunks/{cli-0.1.15-rv6zpjh8.mjs → cli-0.2.0-bd59jfmr.mjs} +1 -1
  114. package/dist/chunks/cli-0.2.0-bs742fy1.mjs +2 -0
  115. package/dist/chunks/cli-0.2.0-c3qvrk8y.mjs +2 -0
  116. package/dist/chunks/{cli-0.1.15-68f0jtkh.mjs → cli-0.2.0-c7ea0dry.mjs} +2 -2
  117. package/dist/chunks/{cli-0.1.15-dp2e8j4f.mjs → cli-0.2.0-cabza42m.mjs} +1 -1
  118. package/dist/chunks/cli-0.2.0-ccwfmwcq.mjs +2 -0
  119. package/dist/chunks/cli-0.2.0-crn0mjsc.mjs +2 -0
  120. package/dist/chunks/{cli-0.1.15-26hkdean.mjs → cli-0.2.0-cs8e9514.mjs} +817 -949
  121. package/dist/chunks/cli-0.2.0-cst46q1r.mjs +2 -0
  122. package/dist/chunks/cli-0.2.0-d4ajkte5.mjs +2 -0
  123. package/dist/chunks/{cli-0.1.15-x69hfzmj.mjs → cli-0.2.0-da216rmz.mjs} +2 -2
  124. package/dist/chunks/cli-0.2.0-daxqaqx9.mjs +2 -0
  125. package/dist/chunks/cli-0.2.0-dsa5edrn.mjs +2 -0
  126. package/dist/chunks/cli-0.2.0-dtsxeqwx.mjs +17 -0
  127. package/dist/chunks/cli-0.2.0-e184jeam.mjs +2 -0
  128. package/dist/chunks/{cli-0.1.15-nk50qhet.mjs → cli-0.2.0-e9xwjcb3.mjs} +2 -2
  129. package/dist/chunks/{cli-0.1.15-e2e7hn7p.mjs → cli-0.2.0-eaeff4m6.mjs} +3 -3
  130. package/dist/chunks/cli-0.2.0-emdrfb4f.mjs +2 -0
  131. package/dist/chunks/cli-0.2.0-eyswa898.mjs +2 -0
  132. package/dist/chunks/{cli-0.1.15-d9nfa2yf.mjs → cli-0.2.0-ezgpj8e5.mjs} +1 -1
  133. package/dist/chunks/cli-0.2.0-f0ec18e0.mjs +2 -0
  134. package/dist/chunks/cli-0.2.0-f5rgr2bw.mjs +5 -0
  135. package/dist/chunks/cli-0.2.0-f63v4pa4.mjs +2 -0
  136. package/dist/chunks/{cli-0.1.15-gmdv5ny8.mjs → cli-0.2.0-f7tp61b0.mjs} +2 -2
  137. package/dist/chunks/cli-0.2.0-fanwxcjn.mjs +2 -0
  138. package/dist/chunks/cli-0.2.0-fgsp4dtv.mjs +2 -0
  139. package/dist/chunks/cli-0.2.0-fknhewrw.mjs +2 -0
  140. package/dist/chunks/cli-0.2.0-fr785r3y.mjs +2 -0
  141. package/dist/chunks/cli-0.2.0-frar6zbv.mjs +6 -0
  142. package/dist/chunks/{cli-0.1.15-gkzany0s.mjs → cli-0.2.0-frwsdnhe.mjs} +2 -2
  143. package/dist/chunks/cli-0.2.0-fy5rnmc5.mjs +2 -0
  144. package/dist/chunks/{cli-0.1.15-4892kydg.mjs → cli-0.2.0-g2h1t6ke.mjs} +4 -4
  145. package/dist/chunks/cli-0.2.0-g4kznbnn.mjs +2 -0
  146. package/dist/chunks/cli-0.2.0-g86682ye.mjs +2 -0
  147. package/dist/chunks/cli-0.2.0-gby7sqgg.mjs +2 -0
  148. package/dist/chunks/{cli-0.1.15-cr7qy3wd.mjs → cli-0.2.0-gjtwz4v6.mjs} +2 -2
  149. package/dist/chunks/cli-0.2.0-gmq4bxtp.mjs +2 -0
  150. package/dist/chunks/cli-0.2.0-gngqqtnd.mjs +4 -0
  151. package/dist/chunks/cli-0.2.0-gpc69j0z.mjs +2 -0
  152. package/dist/chunks/cli-0.2.0-gsw60zfe.mjs +2 -0
  153. package/dist/chunks/cli-0.2.0-gy72dze8.mjs +2 -0
  154. package/dist/chunks/cli-0.2.0-h2wnach8.mjs +16 -0
  155. package/dist/chunks/cli-0.2.0-h9tvrrx9.mjs +2 -0
  156. package/dist/chunks/cli-0.2.0-hg1xg9nq.mjs +2 -0
  157. package/dist/chunks/cli-0.2.0-hw4ce6k6.mjs +2 -0
  158. package/dist/chunks/cli-0.2.0-hzzgbj9r.mjs +2 -0
  159. package/dist/chunks/cli-0.2.0-j71ct7m7.mjs +2 -0
  160. package/dist/chunks/cli-0.2.0-jna42sz6.mjs +2 -0
  161. package/dist/chunks/cli-0.2.0-jsrrpd02.mjs +2 -0
  162. package/dist/chunks/cli-0.2.0-k0aa6s39.mjs +2 -0
  163. package/dist/chunks/cli-0.2.0-k2tq4knj.mjs +2 -0
  164. package/dist/chunks/{cli-0.1.15-jy7cjb23.mjs → cli-0.2.0-k438c5g3.mjs} +1 -1
  165. package/dist/chunks/cli-0.2.0-k7cxbyxg.mjs +2 -0
  166. package/dist/chunks/{cli-0.1.15-v07ep52w.mjs → cli-0.2.0-kg83sjcw.mjs} +2 -2
  167. package/dist/chunks/cli-0.2.0-kgs4hedc.mjs +2 -0
  168. package/dist/chunks/cli-0.2.0-krxmhdq4.mjs +2 -0
  169. package/dist/chunks/cli-0.2.0-m5s0ha7v.mjs +3 -0
  170. package/dist/chunks/cli-0.2.0-m81s8n1j.mjs +2 -0
  171. package/dist/chunks/cli-0.2.0-mg45dmsv.mjs +2 -0
  172. package/dist/chunks/cli-0.2.0-mhpecwq3.mjs +2 -0
  173. package/dist/chunks/cli-0.2.0-mne4f86b.mjs +7 -0
  174. package/dist/chunks/cli-0.2.0-mstcexpv.mjs +2 -0
  175. package/dist/chunks/{cli-0.1.15-2vwx57re.mjs → cli-0.2.0-ncjme2vj.mjs} +1 -1
  176. package/dist/chunks/cli-0.2.0-ndz9dbxz.mjs +2 -0
  177. package/dist/chunks/cli-0.2.0-p0dd7k39.mjs +4 -0
  178. package/dist/chunks/cli-0.2.0-p19kyd3z.mjs +4 -0
  179. package/dist/chunks/cli-0.2.0-p2jewnbn.mjs +2 -0
  180. package/dist/chunks/cli-0.2.0-p46nxmgy.mjs +2 -0
  181. package/dist/chunks/cli-0.2.0-pa834vt3.mjs +2 -0
  182. package/dist/chunks/cli-0.2.0-pdb8evy6.mjs +2 -0
  183. package/dist/chunks/cli-0.2.0-pfja1jsa.mjs +2 -0
  184. package/dist/chunks/cli-0.2.0-pt145sac.mjs +3 -0
  185. package/dist/chunks/cli-0.2.0-ptwysnj7.mjs +2 -0
  186. package/dist/chunks/cli-0.2.0-pw3er14v.mjs +2 -0
  187. package/dist/chunks/cli-0.2.0-pxy1f4ky.mjs +2 -0
  188. package/dist/chunks/cli-0.2.0-q1fz4qmd.mjs +2 -0
  189. package/dist/chunks/cli-0.2.0-q822fesk.mjs +2 -0
  190. package/dist/chunks/cli-0.2.0-qcr87znh.mjs +2 -0
  191. package/dist/chunks/{cli-0.1.15-5denzf1p.mjs → cli-0.2.0-qdcyy0k1.mjs} +3 -3
  192. package/dist/chunks/cli-0.2.0-qnd8v5pt.mjs +2 -0
  193. package/dist/chunks/cli-0.2.0-qw0kz7z3.mjs +2 -0
  194. package/dist/chunks/cli-0.2.0-r15zg9jv.mjs +2 -0
  195. package/dist/chunks/cli-0.2.0-r3f7ephj.mjs +2 -0
  196. package/dist/chunks/{cli-0.1.15-b7p48xfw.mjs → cli-0.2.0-rwdy3dtq.mjs} +1 -1
  197. package/dist/chunks/{cli-0.1.15-qns6xv34.mjs → cli-0.2.0-s02v5abf.mjs} +5 -5
  198. package/dist/chunks/{cli-0.1.15-6nwbd09n.mjs → cli-0.2.0-s130pb2c.mjs} +2 -2
  199. package/dist/chunks/cli-0.2.0-s919r7gy.mjs +2 -0
  200. package/dist/chunks/cli-0.2.0-sh26pc92.mjs +2 -0
  201. package/dist/chunks/cli-0.2.0-sj380wma.mjs +2 -0
  202. package/dist/chunks/cli-0.2.0-stn798t9.mjs +9 -0
  203. package/dist/chunks/cli-0.2.0-t0j5fnc5.mjs +2 -0
  204. package/dist/chunks/{cli-0.1.15-rbx47sc3.mjs → cli-0.2.0-teqjxyws.mjs} +1 -1
  205. package/dist/chunks/{cli-0.1.15-xaw2s45s.mjs → cli-0.2.0-v8kqgxs0.mjs} +1 -1
  206. package/dist/chunks/cli-0.2.0-vdhcg4g4.mjs +2 -0
  207. package/dist/chunks/cli-0.2.0-vejekjsb.mjs +2 -0
  208. package/dist/chunks/cli-0.2.0-vjcy5y97.mjs +4 -0
  209. package/dist/chunks/cli-0.2.0-vjnmd5ey.mjs +2 -0
  210. package/dist/chunks/cli-0.2.0-wc6ydzff.mjs +2 -0
  211. package/dist/chunks/cli-0.2.0-wmfpk06g.mjs +2 -0
  212. package/dist/chunks/{cli-0.1.15-rvtve9kq.mjs → cli-0.2.0-wmstwkhw.mjs} +1 -1
  213. package/dist/chunks/cli-0.2.0-wqzmxfnd.mjs +2 -0
  214. package/dist/chunks/cli-0.2.0-wwwmxcwz.mjs +2 -0
  215. package/dist/chunks/{cli-0.1.15-8sgewact.mjs → cli-0.2.0-x221h2yq.mjs} +1 -1
  216. package/dist/chunks/cli-0.2.0-xdmw2spe.mjs +4 -0
  217. package/dist/chunks/cli-0.2.0-xmf20rrm.mjs +2 -0
  218. package/dist/chunks/cli-0.2.0-xwrvt7rw.mjs +2 -0
  219. package/dist/chunks/cli-0.2.0-y1q43eac.mjs +2 -0
  220. package/dist/chunks/{cli-0.1.15-htms4w3h.mjs → cli-0.2.0-y6g66sm5.mjs} +1 -1
  221. package/dist/chunks/cli-0.2.0-y93dcrnm.mjs +2 -0
  222. package/dist/chunks/cli-0.2.0-y9bxbkxm.mjs +2 -0
  223. package/dist/chunks/{cli-0.1.15-23cavaaa.mjs → cli-0.2.0-ykvda8xj.mjs} +1 -1
  224. package/dist/chunks/cli-0.2.0-z1j2k2y8.mjs +2 -0
  225. package/dist/chunks/cli-0.2.0-zdr99w6n.mjs +2 -0
  226. package/dist/chunks/cli-0.2.0-zhq243rp.mjs +5 -0
  227. package/dist/chunks/cli-0.2.0-zxm7fqen.mjs +2 -0
  228. package/dist/chunks/client-0.2.0-qtv4epf8.mjs +1 -0
  229. package/dist/chunks/color-0.2.0-287d7bh5.mjs +1 -0
  230. package/dist/chunks/compact-0.2.0-qd4qye1t.mjs +3 -0
  231. package/dist/chunks/config-0.2.0-2fafd18t.mjs +1 -0
  232. package/dist/chunks/config-0.2.0-rm6w636d.mjs +1 -0
  233. package/dist/chunks/{context-0.1.15-ghkedaaw.mjs → context-0.2.0-k3gcs0rz.mjs} +1 -1
  234. package/dist/chunks/context-noninteractive-0.2.0-k88gx3fk.mjs +1 -0
  235. package/dist/chunks/conversation-0.2.0-7c5rr3m8.mjs +1 -0
  236. package/dist/chunks/{copy-0.1.15-53q3e2fk.mjs → copy-0.2.0-adh6xrdj.mjs} +1 -1
  237. package/dist/chunks/cost-0.2.0-mnj9rgcz.mjs +1 -0
  238. package/dist/chunks/createSession-0.2.0-9g9gw88m.mjs +1 -0
  239. package/dist/chunks/desktop-0.2.0-8f8qkdkf.mjs +1 -0
  240. package/dist/chunks/detectRepository-0.2.0-349d15w3.mjs +1 -0
  241. package/dist/chunks/detection-0.2.0-bwykm3rz.mjs +1 -0
  242. package/dist/chunks/diff-0.2.0-9vymm8d8.mjs +1 -0
  243. package/dist/chunks/doctor-0.2.0-rxs4z5h9.mjs +1 -0
  244. package/dist/chunks/earlyInput-0.2.0-693jvbhz.mjs +1 -0
  245. package/dist/chunks/{effort-0.1.15-5za6yh63.mjs → effort-0.2.0-v3ery43s.mjs} +1 -1
  246. package/dist/chunks/environmentSelection-0.2.0-51bq9j0p.mjs +1 -0
  247. package/dist/chunks/environments-0.2.0-f16b46v6.mjs +1 -0
  248. package/dist/chunks/exit-0.2.0-gxsz2644.mjs +1 -0
  249. package/dist/chunks/export-0.2.0-3tnxr36f.mjs +2 -0
  250. package/dist/chunks/extra-usage-0.2.0-7rhvw0qy.mjs +1 -0
  251. package/dist/chunks/extra-usage-noninteractive-0.2.0-6jn1b44v.mjs +1 -0
  252. package/dist/chunks/fast-0.2.0-m1ebwhxs.mjs +1 -0
  253. package/dist/chunks/feedback-0.2.0-n6jvewnr.mjs +14 -0
  254. package/dist/chunks/firstPartyEventLogger-0.2.0-20cb3z2a.mjs +1 -0
  255. package/dist/chunks/git-0.2.0-c4ee3tsv.mjs +1 -0
  256. package/dist/chunks/githubModelsCredentials-0.2.0-cdvezs97.mjs +1 -0
  257. package/dist/chunks/growthbook-0.2.0-att0j7gv.mjs +1 -0
  258. package/dist/chunks/heapdump-0.2.0-78f6h5zs.mjs +6 -0
  259. package/dist/chunks/help-0.2.0-dtcb464y.mjs +1 -0
  260. package/dist/chunks/hookChains-0.2.0-svw4xjh6.mjs +3 -0
  261. package/dist/chunks/{hooks-0.1.15-f81kq7m2.mjs → hooks-0.2.0-4hvw5w19.mjs} +1 -1
  262. package/dist/chunks/hooks-0.2.0-hw6zwnp8.mjs +1 -0
  263. package/dist/chunks/{ide-0.1.15-xepj09gj.mjs → ide-0.2.0-3a10v8p7.mjs} +1 -1
  264. package/dist/chunks/image-processor-napi-0.2.0-8t8g5777.mjs +1 -0
  265. package/dist/chunks/index-0.2.0-0f0aw7rx.mjs +1 -0
  266. package/dist/chunks/index-0.2.0-1pr9vtkj.mjs +9 -0
  267. package/dist/chunks/index-0.2.0-2dyw5tmn.mjs +1 -0
  268. package/dist/chunks/index-0.2.0-728crm0q.mjs +1 -0
  269. package/dist/chunks/index-0.2.0-7gpqav46.mjs +2 -0
  270. package/dist/chunks/{index-0.1.15-77j1wp6f.mjs → index-0.2.0-7wttyxdg.mjs} +1 -1
  271. package/dist/chunks/index-0.2.0-b33awb2n.mjs +1 -0
  272. package/dist/chunks/{index-0.1.15-f1y1067a.mjs → index-0.2.0-b71emahw.mjs} +1 -1
  273. package/dist/chunks/index-0.2.0-czy0090x.mjs +1 -0
  274. package/dist/chunks/index-0.2.0-dactt0mw.mjs +1 -0
  275. package/dist/chunks/index-0.2.0-f8nnmapf.mjs +1 -0
  276. package/dist/chunks/{index-0.1.15-15ftbc8a.mjs → index-0.2.0-h3z86gdx.mjs} +2 -2
  277. package/dist/chunks/index-0.2.0-jrzrpfvk.mjs +1 -0
  278. package/dist/chunks/index-0.2.0-mny50v93.mjs +1 -0
  279. package/dist/chunks/index-0.2.0-nhw2r534.mjs +1 -0
  280. package/dist/chunks/index-0.2.0-p27jjyjb.mjs +1 -0
  281. package/dist/chunks/index-0.2.0-pf79ppar.mjs +1 -0
  282. package/dist/chunks/index-0.2.0-tamm1gme.mjs +1 -0
  283. package/dist/chunks/index-0.2.0-tj7rwkwq.mjs +1 -0
  284. package/dist/chunks/{index-0.1.15-tf5b20vy.mjs → index-0.2.0-v2mzpt7h.mjs} +1 -1
  285. package/dist/chunks/index-0.2.0-w1m3v2y0.mjs +9 -0
  286. package/dist/chunks/index-0.2.0-z8m5wd19.mjs +1 -0
  287. package/dist/chunks/initReplBridge-0.2.0-5abnx6wk.mjs +1 -0
  288. package/dist/chunks/ink-0.2.0-v2d1zzt6.mjs +1 -0
  289. package/dist/chunks/{insights-0.1.15-2zt9898j.mjs → insights-0.2.0-5q6x53j1.mjs} +1 -1
  290. package/dist/chunks/install-0.2.0-0vhcv1w2.mjs +1 -0
  291. package/dist/chunks/{install-github-app-0.1.15-h746hza3.mjs → install-github-app-0.2.0-xcxxtxzh.mjs} +1 -1
  292. package/dist/chunks/install-slack-app-0.2.0-12qw49ga.mjs +1 -0
  293. package/dist/chunks/{instrumentation-0.1.15-bwm4tb1y.mjs → instrumentation-0.2.0-rfc7gt94.mjs} +1 -1
  294. package/dist/chunks/interactiveHelpers-0.2.0-69j5avm0.mjs +1 -0
  295. package/dist/chunks/keybindings-0.2.0-r9ensjdz.mjs +2 -0
  296. package/dist/chunks/knowledge-0.2.0-r222df23.mjs +2 -0
  297. package/dist/chunks/loadAgentsDir-0.2.0-wrpffsg4.mjs +1 -0
  298. package/dist/chunks/loadPluginHooks-0.2.0-4wkq3ar6.mjs +1 -0
  299. package/dist/chunks/lsp-0.2.0-vyrfqxg7.mjs +1 -0
  300. package/dist/chunks/main-0.2.0-r3wv26vg.mjs +1 -0
  301. package/dist/chunks/managedEnv-0.2.0-t6y3d3hp.mjs +1 -0
  302. package/dist/chunks/mcp-0.2.0-8rxg4gkx.mjs +1 -0
  303. package/dist/chunks/{mcp-0.1.15-tw9s435t.mjs → mcp-0.2.0-anen8fv7.mjs} +3 -3
  304. package/dist/chunks/mcp-0.2.0-brdssfg7.mjs +4 -0
  305. package/dist/chunks/mcpServer-0.2.0-816p5gfy.mjs +1 -0
  306. package/dist/chunks/mcpb-0.2.0-pte54tfe.mjs +1 -0
  307. package/dist/chunks/memory-0.2.0-vxnsyq72.mjs +3 -0
  308. package/dist/chunks/{mobile-0.1.15-sm8kbft4.mjs → mobile-0.2.0-npn2rcmr.mjs} +1 -1
  309. package/dist/chunks/model-0.2.0-ajjp4znr.mjs +1 -0
  310. package/dist/chunks/model-0.2.0-dsy2yzwq.mjs +2 -0
  311. package/dist/chunks/oauth-0.2.0-xfb7vgc2.mjs +1 -0
  312. package/dist/chunks/{openaiShim-0.1.15-0yryhq9r.mjs → openaiShim-0.2.0-5rabbqwx.mjs} +1 -1
  313. package/dist/chunks/output-style-0.2.0-0tea3sgj.mjs +1 -0
  314. package/dist/chunks/package-WSP46L7M-0.2.0-54rp856z.mjs +1 -0
  315. package/dist/chunks/parser-0.2.0-vxksd2kb.mjs +1 -0
  316. package/dist/chunks/passes-0.2.0-kb6z71d5.mjs +1 -0
  317. package/dist/chunks/permissions-0.2.0-pvq85gdj.mjs +3 -0
  318. package/dist/chunks/plan-0.2.0-nc7dtaj1.mjs +1 -0
  319. package/dist/chunks/plist-0.2.0-veq45ed0.mjs +1 -0
  320. package/dist/chunks/plugin-0.2.0-q0ehrvv3.mjs +29 -0
  321. package/dist/chunks/pluginStartupCheck-0.2.0-cnkhwj3j.mjs +1 -0
  322. package/dist/chunks/{plugins-0.1.15-3rpwr86v.mjs → plugins-0.2.0-s45nc253.mjs} +2 -2
  323. package/dist/chunks/{print-0.1.15-64y2p7wj.mjs → print-0.2.0-e9ckvtwf.mjs} +4 -4
  324. package/dist/chunks/privacy-settings-0.2.0-e9qgq22a.mjs +1 -0
  325. package/dist/chunks/process-0.2.0-5q69t7tp.mjs +1 -0
  326. package/dist/chunks/processBashCommand-0.2.0-n1qzbvn8.mjs +1 -0
  327. package/dist/chunks/{processSlashCommand-0.1.15-mee2mbyy.mjs → processSlashCommand-0.2.0-phzfkm35.mjs} +1 -1
  328. package/dist/chunks/prompt-0.2.0-8tvc5hkt.mjs +1 -0
  329. package/dist/chunks/prompt-0.2.0-znq97v28.mjs +1 -0
  330. package/dist/chunks/prompts-0.2.0-43x4r8s1.mjs +1 -0
  331. package/dist/chunks/provider-0.2.0-hdw0f0gf.mjs +2 -0
  332. package/dist/chunks/providerProfiles-0.2.0-fxf0kwk5.mjs +1 -0
  333. package/dist/chunks/rate-limit-options-0.2.0-6gs96kga.mjs +1 -0
  334. package/dist/chunks/registry-0.2.0-qn6vn1a0.mjs +1 -0
  335. package/dist/chunks/release-notes-0.2.0-n7d001cj.mjs +5 -0
  336. package/dist/chunks/reload-plugins-0.2.0-z66hj6gv.mjs +2 -0
  337. package/dist/chunks/{remote-env-0.1.15-fd5z1adp.mjs → remote-env-0.2.0-tb94ty2j.mjs} +1 -1
  338. package/dist/chunks/remoteBridgeCore-0.2.0-tggkxmb3.mjs +1 -0
  339. package/dist/chunks/remoteSession-0.2.0-e5ph1zn5.mjs +1 -0
  340. package/dist/chunks/rename-0.2.0-1a2tr4rh.mjs +1 -0
  341. package/dist/chunks/replBridgeHandle-0.2.0-58503tj0.mjs +1 -0
  342. package/dist/chunks/resume-0.2.0-nbs1aptk.mjs +2 -0
  343. package/dist/chunks/rewind-0.2.0-9vcza7j6.mjs +1 -0
  344. package/dist/chunks/sandbox-adapter-0.2.0-rvjkxzab.mjs +1 -0
  345. package/dist/chunks/{sandbox-toggle-0.1.15-fn86ac4p.mjs → sandbox-toggle-0.2.0-0hc6gk75.mjs} +1 -1
  346. package/dist/chunks/session-0.2.0-2mjsp1sz.mjs +2 -0
  347. package/dist/chunks/sessionFileAccessHooks-0.2.0-mmvc7bkc.mjs +1 -0
  348. package/dist/chunks/sessionStorage-0.2.0-69fq3tpm.mjs +1 -0
  349. package/dist/chunks/setup-0.2.0-06edanfh.mjs +5 -0
  350. package/dist/chunks/sinks-0.2.0-wja94cem.mjs +1 -0
  351. package/dist/chunks/skills-0.2.0-3z33tjhh.mjs +1 -0
  352. package/dist/chunks/startupProfiler-0.2.0-rsbrxr2e.mjs +1 -0
  353. package/dist/chunks/state-0.2.0-cqgytazz.mjs +1 -0
  354. package/dist/chunks/{stats-0.1.15-3c4f5zp4.mjs → stats-0.2.0-916qgsak.mjs} +1 -1
  355. package/dist/chunks/status-0.2.0-qpr1a3ep.mjs +1 -0
  356. package/dist/chunks/stickers-0.2.0-s40586dt.mjs +1 -0
  357. package/dist/chunks/subprocessEnv-0.2.0-8kaz087n.mjs +1 -0
  358. package/dist/chunks/tasks-0.2.0-kyab838f.mjs +1 -0
  359. package/dist/chunks/teamHelpers-0.2.0-r08wn3az.mjs +1 -0
  360. package/dist/chunks/teammateModeSnapshot-0.2.0-ew1rr6e3.mjs +1 -0
  361. package/dist/chunks/teleport-0.2.0-m7dva816.mjs +1 -0
  362. package/dist/chunks/terminalSetup-0.2.0-28qz91bk.mjs +1 -0
  363. package/dist/chunks/theme-0.2.0-t6hf3219.mjs +1 -0
  364. package/dist/chunks/thinkback-0.2.0-s3ggf62w.mjs +1 -0
  365. package/dist/chunks/thinkback-play-0.2.0-bh4h025z.mjs +1 -0
  366. package/dist/chunks/toolPool-0.2.0-cb20byyb.mjs +1 -0
  367. package/dist/chunks/toolSearch-0.2.0-2b8zp823.mjs +1 -0
  368. package/dist/chunks/trustedDevice-0.2.0-bm94scqy.mjs +1 -0
  369. package/dist/chunks/{turndown.cjs-0.1.15-pmxpe7z8.mjs → turndown.cjs-0.2.0-deg6aa1p.mjs} +1 -1
  370. package/dist/chunks/{ultrareviewCommand-0.1.15-3gjgaeyn.mjs → ultrareviewCommand-0.2.0-zw0s8h8q.mjs} +1 -1
  371. package/dist/chunks/{update-0.1.15-jtd1h3e7.mjs → update-0.2.0-7s5194yn.mjs} +11 -11
  372. package/dist/chunks/upgrade-0.2.0-qwr6an4v.mjs +1 -0
  373. package/dist/chunks/{upstreamproxy-0.1.15-wtbs40ct.mjs → upstreamproxy-0.2.0-xm05d4w5.mjs} +1 -1
  374. package/dist/chunks/usage-0.2.0-mp3vm726.mjs +1 -0
  375. package/dist/chunks/util-0.2.0-dbnnzv2b.mjs +1 -0
  376. package/dist/chunks/utils-0.2.0-memk8639.mjs +1 -0
  377. package/dist/chunks/vim-0.2.0-twpbq41v.mjs +1 -0
  378. package/dist/chunks/watcher-0.2.0-cfz0cgxt.mjs +1 -0
  379. package/dist/chunks/{wiki-0.1.15-pp951r9h.mjs → wiki-0.2.0-v5sdh8vv.mjs} +1 -1
  380. package/dist/chunks/worktree-0.2.0-cgeqcbwb.mjs +1 -0
  381. package/dist/chunks/worktreeModeEnabled-0.2.0-hb1hv05w.mjs +1 -0
  382. package/dist/chunks/wrapper-0.2.0-661tvhay.mjs +7 -0
  383. package/dist/claudio-vscode.vsix +0 -0
  384. package/dist/cli.mjs +3 -3
  385. package/package.json +1 -1
  386. package/dist/chunks/AgentTool-0.1.15-aene6e12.mjs +0 -1
  387. package/dist/chunks/App-0.1.15-skbrajfh.mjs +0 -1
  388. package/dist/chunks/ApproveApiKey-0.1.15-zkd425a9.mjs +0 -1
  389. package/dist/chunks/AssistantSessionChooser-0.1.15-3wyrkte5.mjs +0 -1
  390. package/dist/chunks/AutoModeOptInDialog-0.1.15-xemnqw1q.mjs +0 -1
  391. package/dist/chunks/BypassPermissionsModeDialog-0.1.15-51n3nd6r.mjs +0 -1
  392. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.15-g407nd3p.mjs +0 -1
  393. package/dist/chunks/ConsoleOAuthFlow-0.1.15-80g71gdg.mjs +0 -1
  394. package/dist/chunks/Doctor-0.1.15-9x07ccn6.mjs +0 -1
  395. package/dist/chunks/Grove-0.1.15-jdcp80ev.mjs +0 -1
  396. package/dist/chunks/ITermBackend-0.1.15-ejm7gc8d.mjs +0 -1
  397. package/dist/chunks/InProcessTransport-0.1.15-p32k8qva.mjs +0 -1
  398. package/dist/chunks/InvalidConfigDialog-0.1.15-rctrbcsm.mjs +0 -1
  399. package/dist/chunks/InvalidSettingsDialog-0.1.15-bjsk3qxm.mjs +0 -1
  400. package/dist/chunks/MigrationDialog-0.1.15-6x3bjqw1.mjs +0 -1
  401. package/dist/chunks/Onboarding-0.1.15-pqx4v1wq.mjs +0 -1
  402. package/dist/chunks/ProviderManager-0.1.15-t8sezf1q.mjs +0 -1
  403. package/dist/chunks/REPL-0.1.15-6e0xrr9y.mjs +0 -1
  404. package/dist/chunks/ResumeConversation-0.1.15-fm1gvj49.mjs +0 -1
  405. package/dist/chunks/SnapshotUpdateDialog-0.1.15-t3evkrvq.mjs +0 -1
  406. package/dist/chunks/TeleportProgress-0.1.15-gad6kpfq.mjs +0 -1
  407. package/dist/chunks/TeleportRepoMismatchDialog-0.1.15-00rkfxqs.mjs +0 -1
  408. package/dist/chunks/TeleportResumeWrapper-0.1.15-bwv0syaw.mjs +0 -1
  409. package/dist/chunks/TmuxBackend-0.1.15-0d8n5p59.mjs +0 -9
  410. package/dist/chunks/ToolSearchTool-0.1.15-1cemq4m9.mjs +0 -1
  411. package/dist/chunks/TrustDialog-0.1.15-srz2xcqx.mjs +0 -1
  412. package/dist/chunks/activeProvider-0.1.15-1fp1bec5.mjs +0 -1
  413. package/dist/chunks/add-dir-0.1.15-qj517xx8.mjs +0 -1
  414. package/dist/chunks/agents-0.1.15-vkekdkan.mjs +0 -3
  415. package/dist/chunks/agents-0.1.15-x18jhwwk.mjs +0 -111
  416. package/dist/chunks/api-0.1.15-jq17qdd8.mjs +0 -1
  417. package/dist/chunks/asciicast-0.1.15-4t4tanfk.mjs +0 -1
  418. package/dist/chunks/assistant-0.1.15-9fhfbk14.mjs +0 -1
  419. package/dist/chunks/auth-0.1.15-ddyv63ax.mjs +0 -1
  420. package/dist/chunks/auth-0.1.15-x6bxj6d1.mjs +0 -1
  421. package/dist/chunks/backgroundHousekeeping-0.1.15-sbv1p8kj.mjs +0 -1
  422. package/dist/chunks/branch-0.1.15-cqq1x0cj.mjs +0 -4
  423. package/dist/chunks/bridgePointer-0.1.15-p6kq1zz7.mjs +0 -1
  424. package/dist/chunks/cacache-0.1.15-tj6nes3h.mjs +0 -1
  425. package/dist/chunks/caches-0.1.15-tynjvd5a.mjs +0 -1
  426. package/dist/chunks/claudeDesktop-0.1.15-rxtx8hbf.mjs +0 -1
  427. package/dist/chunks/claudemd-0.1.15-s942v7vd.mjs +0 -1
  428. package/dist/chunks/clear-0.1.15-2tqn4fj6.mjs +0 -1
  429. package/dist/chunks/clearTerminal-0.1.15-qycj6c0p.mjs +0 -1
  430. package/dist/chunks/cli-0.1.15-0a38j3t8.mjs +0 -2
  431. package/dist/chunks/cli-0.1.15-0g0abv7y.mjs +0 -2
  432. package/dist/chunks/cli-0.1.15-11sdbfxy.mjs +0 -4
  433. package/dist/chunks/cli-0.1.15-12azgmva.mjs +0 -2
  434. package/dist/chunks/cli-0.1.15-1hxkpjgs.mjs +0 -2
  435. package/dist/chunks/cli-0.1.15-1kmf57b0.mjs +0 -2
  436. package/dist/chunks/cli-0.1.15-1nkkhw5c.mjs +0 -2
  437. package/dist/chunks/cli-0.1.15-216kns0c.mjs +0 -2
  438. package/dist/chunks/cli-0.1.15-229xqnrp.mjs +0 -2
  439. package/dist/chunks/cli-0.1.15-2ccapgj1.mjs +0 -2
  440. package/dist/chunks/cli-0.1.15-2h647znt.mjs +0 -2
  441. package/dist/chunks/cli-0.1.15-2te4sfkh.mjs +0 -2
  442. package/dist/chunks/cli-0.1.15-30tz5ck8.mjs +0 -2
  443. package/dist/chunks/cli-0.1.15-36pxgzf6.mjs +0 -2
  444. package/dist/chunks/cli-0.1.15-3jz926ax.mjs +0 -2
  445. package/dist/chunks/cli-0.1.15-3qwnw3ca.mjs +0 -2
  446. package/dist/chunks/cli-0.1.15-3rcdvk7c.mjs +0 -2
  447. package/dist/chunks/cli-0.1.15-3z0tzzs8.mjs +0 -2
  448. package/dist/chunks/cli-0.1.15-4hnhxg2w.mjs +0 -2
  449. package/dist/chunks/cli-0.1.15-4hzd3m6p.mjs +0 -2
  450. package/dist/chunks/cli-0.1.15-4y7051f2.mjs +0 -2
  451. package/dist/chunks/cli-0.1.15-5g0zxgxn.mjs +0 -2
  452. package/dist/chunks/cli-0.1.15-5qx5p8cd.mjs +0 -2
  453. package/dist/chunks/cli-0.1.15-5tz7z79g.mjs +0 -2
  454. package/dist/chunks/cli-0.1.15-69kq5chw.mjs +0 -2
  455. package/dist/chunks/cli-0.1.15-6mad0r56.mjs +0 -2
  456. package/dist/chunks/cli-0.1.15-6r12ayea.mjs +0 -2
  457. package/dist/chunks/cli-0.1.15-6r630k68.mjs +0 -9
  458. package/dist/chunks/cli-0.1.15-77346q11.mjs +0 -7
  459. package/dist/chunks/cli-0.1.15-7myqm617.mjs +0 -2
  460. package/dist/chunks/cli-0.1.15-7rr53z40.mjs +0 -2
  461. package/dist/chunks/cli-0.1.15-82r3zgmq.mjs +0 -3
  462. package/dist/chunks/cli-0.1.15-8k69z9kk.mjs +0 -2
  463. package/dist/chunks/cli-0.1.15-8v8bskr0.mjs +0 -2
  464. package/dist/chunks/cli-0.1.15-90ye3yqx.mjs +0 -2
  465. package/dist/chunks/cli-0.1.15-99wmm9j7.mjs +0 -2
  466. package/dist/chunks/cli-0.1.15-9m2znwvb.mjs +0 -4
  467. package/dist/chunks/cli-0.1.15-9pe3dbgs.mjs +0 -2
  468. package/dist/chunks/cli-0.1.15-9w140hjt.mjs +0 -2
  469. package/dist/chunks/cli-0.1.15-a10ekh15.mjs +0 -2
  470. package/dist/chunks/cli-0.1.15-a8kgfrkd.mjs +0 -2
  471. package/dist/chunks/cli-0.1.15-acdm8b28.mjs +0 -17
  472. package/dist/chunks/cli-0.1.15-ajg1d1bh.mjs +0 -2
  473. package/dist/chunks/cli-0.1.15-asts8hm3.mjs +0 -2
  474. package/dist/chunks/cli-0.1.15-b1t6c81s.mjs +0 -2
  475. package/dist/chunks/cli-0.1.15-b21k5hzy.mjs +0 -2
  476. package/dist/chunks/cli-0.1.15-b6gdqjbg.mjs +0 -2
  477. package/dist/chunks/cli-0.1.15-b7f6hacc.mjs +0 -2
  478. package/dist/chunks/cli-0.1.15-be4mz6ka.mjs +0 -2
  479. package/dist/chunks/cli-0.1.15-behp1dag.mjs +0 -2
  480. package/dist/chunks/cli-0.1.15-bfd337b0.mjs +0 -2
  481. package/dist/chunks/cli-0.1.15-bpcmpy8b.mjs +0 -2
  482. package/dist/chunks/cli-0.1.15-bz57rf9t.mjs +0 -2
  483. package/dist/chunks/cli-0.1.15-cbseyggr.mjs +0 -2
  484. package/dist/chunks/cli-0.1.15-cenwnwnx.mjs +0 -2
  485. package/dist/chunks/cli-0.1.15-cf4s92e9.mjs +0 -2
  486. package/dist/chunks/cli-0.1.15-cqzrzsh5.mjs +0 -5
  487. package/dist/chunks/cli-0.1.15-cyq0gbzk.mjs +0 -2
  488. package/dist/chunks/cli-0.1.15-dcabmk2v.mjs +0 -2
  489. package/dist/chunks/cli-0.1.15-dcxa8b6s.mjs +0 -2
  490. package/dist/chunks/cli-0.1.15-dq954y1q.mjs +0 -2
  491. package/dist/chunks/cli-0.1.15-dqkhbs67.mjs +0 -2
  492. package/dist/chunks/cli-0.1.15-e494j2sj.mjs +0 -4
  493. package/dist/chunks/cli-0.1.15-e64w5wan.mjs +0 -5
  494. package/dist/chunks/cli-0.1.15-e70ktyft.mjs +0 -2
  495. package/dist/chunks/cli-0.1.15-em40knm7.mjs +0 -4
  496. package/dist/chunks/cli-0.1.15-en9ppdbd.mjs +0 -2
  497. package/dist/chunks/cli-0.1.15-f838g4vw.mjs +0 -2
  498. package/dist/chunks/cli-0.1.15-f8abjagh.mjs +0 -2
  499. package/dist/chunks/cli-0.1.15-fe92jeft.mjs +0 -2
  500. package/dist/chunks/cli-0.1.15-fmnyh9j9.mjs +0 -6
  501. package/dist/chunks/cli-0.1.15-fr83vs1y.mjs +0 -2
  502. package/dist/chunks/cli-0.1.15-ft6xtjsa.mjs +0 -2
  503. package/dist/chunks/cli-0.1.15-g5wt8d3g.mjs +0 -2
  504. package/dist/chunks/cli-0.1.15-ghvjjc4g.mjs +0 -2
  505. package/dist/chunks/cli-0.1.15-gn4wnxx3.mjs +0 -2
  506. package/dist/chunks/cli-0.1.15-gqf82qvm.mjs +0 -2
  507. package/dist/chunks/cli-0.1.15-gqp8kzp0.mjs +0 -2
  508. package/dist/chunks/cli-0.1.15-gtn9gx9w.mjs +0 -2
  509. package/dist/chunks/cli-0.1.15-gwbebdj7.mjs +0 -2
  510. package/dist/chunks/cli-0.1.15-gxgy4enj.mjs +0 -2
  511. package/dist/chunks/cli-0.1.15-h3a2cbdb.mjs +0 -2
  512. package/dist/chunks/cli-0.1.15-h4erh2cn.mjs +0 -2
  513. package/dist/chunks/cli-0.1.15-h7cb0pw7.mjs +0 -2
  514. package/dist/chunks/cli-0.1.15-hyydz4kc.mjs +0 -12
  515. package/dist/chunks/cli-0.1.15-j5m3s9r5.mjs +0 -2
  516. package/dist/chunks/cli-0.1.15-k0bn0cze.mjs +0 -2
  517. package/dist/chunks/cli-0.1.15-knpxv22b.mjs +0 -2
  518. package/dist/chunks/cli-0.1.15-ks9rz9tk.mjs +0 -5
  519. package/dist/chunks/cli-0.1.15-kw7che8m.mjs +0 -2
  520. package/dist/chunks/cli-0.1.15-m7gtc61y.mjs +0 -2
  521. package/dist/chunks/cli-0.1.15-my0y22r7.mjs +0 -6
  522. package/dist/chunks/cli-0.1.15-n97y4hq4.mjs +0 -2
  523. package/dist/chunks/cli-0.1.15-nejf7yqz.mjs +0 -2
  524. package/dist/chunks/cli-0.1.15-njg0k6ga.mjs +0 -2
  525. package/dist/chunks/cli-0.1.15-nts79xbr.mjs +0 -2
  526. package/dist/chunks/cli-0.1.15-nw94frpp.mjs +0 -2
  527. package/dist/chunks/cli-0.1.15-nx5v1cvm.mjs +0 -2
  528. package/dist/chunks/cli-0.1.15-p159ga3t.mjs +0 -2
  529. package/dist/chunks/cli-0.1.15-p47rrzrn.mjs +0 -2
  530. package/dist/chunks/cli-0.1.15-p5ty029c.mjs +0 -2
  531. package/dist/chunks/cli-0.1.15-pcqjreq6.mjs +0 -2
  532. package/dist/chunks/cli-0.1.15-pxf97j8y.mjs +0 -2
  533. package/dist/chunks/cli-0.1.15-pya8tbx3.mjs +0 -2
  534. package/dist/chunks/cli-0.1.15-q021qg07.mjs +0 -2
  535. package/dist/chunks/cli-0.1.15-q35rzjnz.mjs +0 -16
  536. package/dist/chunks/cli-0.1.15-qhz07at6.mjs +0 -2
  537. package/dist/chunks/cli-0.1.15-r626437v.mjs +0 -2
  538. package/dist/chunks/cli-0.1.15-r8qzzahw.mjs +0 -2
  539. package/dist/chunks/cli-0.1.15-r9nrfwrq.mjs +0 -2
  540. package/dist/chunks/cli-0.1.15-rr65b3dk.mjs +0 -2
  541. package/dist/chunks/cli-0.1.15-rs5swvy0.mjs +0 -4
  542. package/dist/chunks/cli-0.1.15-rwx8446j.mjs +0 -2
  543. package/dist/chunks/cli-0.1.15-s7trme0x.mjs +0 -2
  544. package/dist/chunks/cli-0.1.15-sct02cw6.mjs +0 -5
  545. package/dist/chunks/cli-0.1.15-sd5jysf2.mjs +0 -2
  546. package/dist/chunks/cli-0.1.15-sg3n1v0w.mjs +0 -2
  547. package/dist/chunks/cli-0.1.15-svhrqvzp.mjs +0 -3
  548. package/dist/chunks/cli-0.1.15-tj4kzvth.mjs +0 -2
  549. package/dist/chunks/cli-0.1.15-tn4214gj.mjs +0 -2
  550. package/dist/chunks/cli-0.1.15-tp614m5f.mjs +0 -2
  551. package/dist/chunks/cli-0.1.15-twq0mjmr.mjs +0 -2
  552. package/dist/chunks/cli-0.1.15-v8zwx5j6.mjs +0 -3
  553. package/dist/chunks/cli-0.1.15-vzk22hwe.mjs +0 -2
  554. package/dist/chunks/cli-0.1.15-w8q8f37x.mjs +0 -2
  555. package/dist/chunks/cli-0.1.15-wfn10357.mjs +0 -2
  556. package/dist/chunks/cli-0.1.15-wmwtv0tz.mjs +0 -2
  557. package/dist/chunks/cli-0.1.15-wn40n534.mjs +0 -2
  558. package/dist/chunks/cli-0.1.15-x3yhaxm9.mjs +0 -2
  559. package/dist/chunks/cli-0.1.15-xery8c8c.mjs +0 -2
  560. package/dist/chunks/cli-0.1.15-y2pbhx6p.mjs +0 -2
  561. package/dist/chunks/cli-0.1.15-y6fkcbes.mjs +0 -2
  562. package/dist/chunks/cli-0.1.15-y7xkk5ds.mjs +0 -2
  563. package/dist/chunks/cli-0.1.15-yghcqf7h.mjs +0 -2
  564. package/dist/chunks/cli-0.1.15-yjxhk7qj.mjs +0 -2
  565. package/dist/chunks/cli-0.1.15-ywed2hpz.mjs +0 -2
  566. package/dist/chunks/cli-0.1.15-yxm6wwfz.mjs +0 -2
  567. package/dist/chunks/cli-0.1.15-yym7bka2.mjs +0 -2
  568. package/dist/chunks/cli-0.1.15-z2yexprk.mjs +0 -4
  569. package/dist/chunks/cli-0.1.15-z35x5bfj.mjs +0 -2
  570. package/dist/chunks/cli-0.1.15-zf1s8y92.mjs +0 -2
  571. package/dist/chunks/cli-0.1.15-ztxn2vjm.mjs +0 -2
  572. package/dist/chunks/client-0.1.15-pbb4218v.mjs +0 -1
  573. package/dist/chunks/color-0.1.15-w9tvjt51.mjs +0 -1
  574. package/dist/chunks/compact-0.1.15-2a2eywaz.mjs +0 -3
  575. package/dist/chunks/config-0.1.15-m4gwmfb1.mjs +0 -1
  576. package/dist/chunks/config-0.1.15-r15yk3zr.mjs +0 -1
  577. package/dist/chunks/context-noninteractive-0.1.15-wwa3qz84.mjs +0 -1
  578. package/dist/chunks/conversation-0.1.15-n1bn5vmb.mjs +0 -1
  579. package/dist/chunks/cost-0.1.15-garxyfxy.mjs +0 -1
  580. package/dist/chunks/createSession-0.1.15-krz8fv09.mjs +0 -1
  581. package/dist/chunks/desktop-0.1.15-j0znhh3a.mjs +0 -1
  582. package/dist/chunks/detectRepository-0.1.15-f34tbbq5.mjs +0 -1
  583. package/dist/chunks/detection-0.1.15-qfkk58tf.mjs +0 -1
  584. package/dist/chunks/diff-0.1.15-gc5686z3.mjs +0 -1
  585. package/dist/chunks/doctor-0.1.15-hhtv9s33.mjs +0 -1
  586. package/dist/chunks/earlyInput-0.1.15-ftgt9y2w.mjs +0 -1
  587. package/dist/chunks/environmentSelection-0.1.15-59904m5c.mjs +0 -1
  588. package/dist/chunks/environments-0.1.15-fn4ybjrt.mjs +0 -1
  589. package/dist/chunks/exit-0.1.15-qxj6czd5.mjs +0 -1
  590. package/dist/chunks/export-0.1.15-h5n9s624.mjs +0 -2
  591. package/dist/chunks/extra-usage-0.1.15-4a6e6rsa.mjs +0 -1
  592. package/dist/chunks/extra-usage-noninteractive-0.1.15-rgqd9ef7.mjs +0 -1
  593. package/dist/chunks/fast-0.1.15-98jhvjxk.mjs +0 -1
  594. package/dist/chunks/feedback-0.1.15-pqe68x4v.mjs +0 -14
  595. package/dist/chunks/firstPartyEventLogger-0.1.15-pss0293k.mjs +0 -1
  596. package/dist/chunks/git-0.1.15-002t17pq.mjs +0 -1
  597. package/dist/chunks/githubModelsCredentials-0.1.15-2a6dqqse.mjs +0 -1
  598. package/dist/chunks/growthbook-0.1.15-m7gdvgqa.mjs +0 -1
  599. package/dist/chunks/heapdump-0.1.15-s8h9rwpe.mjs +0 -6
  600. package/dist/chunks/help-0.1.15-y48dg88b.mjs +0 -1
  601. package/dist/chunks/hookChains-0.1.15-z46c2xkf.mjs +0 -3
  602. package/dist/chunks/hooks-0.1.15-vanat6cg.mjs +0 -1
  603. package/dist/chunks/image-processor-napi-0.1.15-5w5sybn1.mjs +0 -1
  604. package/dist/chunks/index-0.1.15-0z186jwx.mjs +0 -1
  605. package/dist/chunks/index-0.1.15-136649ke.mjs +0 -1
  606. package/dist/chunks/index-0.1.15-1r19582s.mjs +0 -1
  607. package/dist/chunks/index-0.1.15-3jxezstk.mjs +0 -1
  608. package/dist/chunks/index-0.1.15-52zxtxf2.mjs +0 -1
  609. package/dist/chunks/index-0.1.15-628tag5v.mjs +0 -1
  610. package/dist/chunks/index-0.1.15-7cp4n6z6.mjs +0 -1
  611. package/dist/chunks/index-0.1.15-832xm57n.mjs +0 -1
  612. package/dist/chunks/index-0.1.15-abzge0fa.mjs +0 -1
  613. package/dist/chunks/index-0.1.15-b9sdtjj4.mjs +0 -9
  614. package/dist/chunks/index-0.1.15-bvr8e4dt.mjs +0 -1
  615. package/dist/chunks/index-0.1.15-d4ea93sj.mjs +0 -9
  616. package/dist/chunks/index-0.1.15-n2q4dkvc.mjs +0 -1
  617. package/dist/chunks/index-0.1.15-nzmg6zng.mjs +0 -1
  618. package/dist/chunks/index-0.1.15-r9ck21mp.mjs +0 -1
  619. package/dist/chunks/index-0.1.15-rb4nqzzk.mjs +0 -1
  620. package/dist/chunks/index-0.1.15-x8ghxne4.mjs +0 -2
  621. package/dist/chunks/index-0.1.15-z3k5tm3n.mjs +0 -1
  622. package/dist/chunks/initReplBridge-0.1.15-g7q1qemf.mjs +0 -1
  623. package/dist/chunks/ink-0.1.15-rd56fvsx.mjs +0 -1
  624. package/dist/chunks/install-0.1.15-z6a6aa3t.mjs +0 -1
  625. package/dist/chunks/install-slack-app-0.1.15-2yhy3kwz.mjs +0 -1
  626. package/dist/chunks/interactiveHelpers-0.1.15-z5nx1rw2.mjs +0 -1
  627. package/dist/chunks/keybindings-0.1.15-cxmw2kd4.mjs +0 -2
  628. package/dist/chunks/knowledge-0.1.15-2bnycc4a.mjs +0 -2
  629. package/dist/chunks/loadAgentsDir-0.1.15-e4ms71xe.mjs +0 -1
  630. package/dist/chunks/loadPluginHooks-0.1.15-rcg3267j.mjs +0 -1
  631. package/dist/chunks/lsp-0.1.15-veqrp99h.mjs +0 -1
  632. package/dist/chunks/main-0.1.15-bfvfcwwj.mjs +0 -1
  633. package/dist/chunks/managedEnv-0.1.15-1mxydytg.mjs +0 -1
  634. package/dist/chunks/mcp-0.1.15-rfy9pyrt.mjs +0 -1
  635. package/dist/chunks/mcp-0.1.15-zc7h2fyj.mjs +0 -4
  636. package/dist/chunks/mcpServer-0.1.15-t7dsptwh.mjs +0 -1
  637. package/dist/chunks/mcpb-0.1.15-5mam984d.mjs +0 -1
  638. package/dist/chunks/memory-0.1.15-b6zkcs44.mjs +0 -3
  639. package/dist/chunks/model-0.1.15-843f7654.mjs +0 -1
  640. package/dist/chunks/model-0.1.15-e62wxf7h.mjs +0 -2
  641. package/dist/chunks/oauth-0.1.15-gxgmqwwx.mjs +0 -1
  642. package/dist/chunks/output-style-0.1.15-d20e4vc3.mjs +0 -1
  643. package/dist/chunks/package-WSP46L7M-0.1.15-jsqef57n.mjs +0 -1
  644. package/dist/chunks/parser-0.1.15-wbja947p.mjs +0 -1
  645. package/dist/chunks/passes-0.1.15-726y1cyq.mjs +0 -1
  646. package/dist/chunks/permissions-0.1.15-4pqgyt4h.mjs +0 -3
  647. package/dist/chunks/plan-0.1.15-p06bpb7x.mjs +0 -1
  648. package/dist/chunks/plist-0.1.15-fseac2c0.mjs +0 -1
  649. package/dist/chunks/plugin-0.1.15-yeqq1san.mjs +0 -29
  650. package/dist/chunks/pluginStartupCheck-0.1.15-s9v7kq6q.mjs +0 -1
  651. package/dist/chunks/privacy-settings-0.1.15-rq35tcyk.mjs +0 -1
  652. package/dist/chunks/process-0.1.15-g6km3z8k.mjs +0 -1
  653. package/dist/chunks/processBashCommand-0.1.15-57ga0c30.mjs +0 -1
  654. package/dist/chunks/prompt-0.1.15-gm20yk5m.mjs +0 -1
  655. package/dist/chunks/prompt-0.1.15-gxjy2vnc.mjs +0 -1
  656. package/dist/chunks/prompts-0.1.15-v7p366n5.mjs +0 -1
  657. package/dist/chunks/provider-0.1.15-gz0fhpp7.mjs +0 -2
  658. package/dist/chunks/providerProfiles-0.1.15-v7p3m9kf.mjs +0 -1
  659. package/dist/chunks/rate-limit-options-0.1.15-3vs25v7e.mjs +0 -1
  660. package/dist/chunks/registry-0.1.15-3h7bxrc2.mjs +0 -1
  661. package/dist/chunks/release-notes-0.1.15-1g908440.mjs +0 -5
  662. package/dist/chunks/reload-plugins-0.1.15-5r2acf43.mjs +0 -2
  663. package/dist/chunks/remoteBridgeCore-0.1.15-kbthngek.mjs +0 -1
  664. package/dist/chunks/remoteSession-0.1.15-yrg8c3z1.mjs +0 -1
  665. package/dist/chunks/rename-0.1.15-8079z5ff.mjs +0 -1
  666. package/dist/chunks/replBridgeHandle-0.1.15-cz1pf5m3.mjs +0 -1
  667. package/dist/chunks/resume-0.1.15-s4hv4t9y.mjs +0 -2
  668. package/dist/chunks/rewind-0.1.15-fevxgefp.mjs +0 -1
  669. package/dist/chunks/sandbox-adapter-0.1.15-yra7frkv.mjs +0 -1
  670. package/dist/chunks/session-0.1.15-crg226x4.mjs +0 -2
  671. package/dist/chunks/sessionFileAccessHooks-0.1.15-f3kpf3s7.mjs +0 -1
  672. package/dist/chunks/sessionStorage-0.1.15-x0gw4hbz.mjs +0 -1
  673. package/dist/chunks/setup-0.1.15-6znmc2q6.mjs +0 -5
  674. package/dist/chunks/sinks-0.1.15-npqf68gv.mjs +0 -1
  675. package/dist/chunks/skills-0.1.15-sybv0v2p.mjs +0 -1
  676. package/dist/chunks/startupProfiler-0.1.15-nwkwwtx6.mjs +0 -1
  677. package/dist/chunks/state-0.1.15-rr5k0vbf.mjs +0 -1
  678. package/dist/chunks/status-0.1.15-cvscafrs.mjs +0 -1
  679. package/dist/chunks/stickers-0.1.15-ee8ptkd4.mjs +0 -1
  680. package/dist/chunks/subprocessEnv-0.1.15-330g0p7g.mjs +0 -1
  681. package/dist/chunks/tasks-0.1.15-a4y42df2.mjs +0 -1
  682. package/dist/chunks/teamHelpers-0.1.15-gw6hwmyj.mjs +0 -1
  683. package/dist/chunks/teammateModeSnapshot-0.1.15-t2czx776.mjs +0 -1
  684. package/dist/chunks/teleport-0.1.15-bg434zjk.mjs +0 -1
  685. package/dist/chunks/terminalSetup-0.1.15-ged9eavp.mjs +0 -1
  686. package/dist/chunks/theme-0.1.15-zq998m8x.mjs +0 -1
  687. package/dist/chunks/thinkback-0.1.15-g09k62ck.mjs +0 -1
  688. package/dist/chunks/thinkback-play-0.1.15-mn7j6mm2.mjs +0 -1
  689. package/dist/chunks/toolPool-0.1.15-wej7eaff.mjs +0 -1
  690. package/dist/chunks/toolSearch-0.1.15-v6zmdk1y.mjs +0 -1
  691. package/dist/chunks/trustedDevice-0.1.15-t9sax8yq.mjs +0 -1
  692. package/dist/chunks/upgrade-0.1.15-07pcdyyq.mjs +0 -1
  693. package/dist/chunks/usage-0.1.15-ayne7pw6.mjs +0 -1
  694. package/dist/chunks/util-0.1.15-vs1eanbw.mjs +0 -1
  695. package/dist/chunks/utils-0.1.15-aq7vgwy1.mjs +0 -1
  696. package/dist/chunks/vim-0.1.15-syferjfa.mjs +0 -1
  697. package/dist/chunks/watcher-0.1.15-bh7ych8a.mjs +0 -1
  698. package/dist/chunks/worktree-0.1.15-twyfdw3p.mjs +0 -1
  699. package/dist/chunks/worktreeModeEnabled-0.1.15-afv7sbw1.mjs +0 -1
  700. package/dist/chunks/wrapper-0.1.15-dw3awx2b.mjs +0 -7
  701. /package/dist/chunks/{cli-0.1.15-7mfwj2xs.mjs → cli-0.2.0-4tn02vgd.mjs} +0 -0
  702. /package/dist/chunks/{cli-0.1.15-7ve9h395.mjs → cli-0.2.0-50cf7d1p.mjs} +0 -0
  703. /package/dist/chunks/{cli-0.1.15-p6bypqrv.mjs → cli-0.2.0-dgenwca0.mjs} +0 -0
  704. /package/dist/chunks/{cli-0.1.15-618hqv9f.mjs → cli-0.2.0-rnpcefe5.mjs} +0 -0
@@ -1,4 +1,4 @@
1
- import{y4 as as}from"./cli-0.1.15-v07ep52w.mjs";import{Nla as Du,Ola as uu,Pla as os,Qla as Jc}from"./cli-0.1.15-6r630k68.mjs";import{Tla as Vi,Ula as mt,Vla as Ct,Wla as zn,Xla as Ee,Yla as pe}from"./cli-0.1.15-acdm8b28.mjs";import{$la as $,cma as ht}from"./cli-0.1.15-mhbfhhf6.mjs";var Rn=$((xe)=>{Object.defineProperty(xe,"__esModule",{value:!0});xe.resolveHttpHandlerRuntimeConfig=xe.getHttpHandlerExtensionConfiguration=xe.isValidHostname=xe.HttpResponse=xe.HttpRequest=xe.Fields=xe.Field=void 0;var ze=pe();Object.defineProperty(xe,"Field",{enumerable:!0,get:function(){return ze.Field}});Object.defineProperty(xe,"Fields",{enumerable:!0,get:function(){return ze.Fields}});Object.defineProperty(xe,"HttpRequest",{enumerable:!0,get:function(){return ze.HttpRequest}});Object.defineProperty(xe,"HttpResponse",{enumerable:!0,get:function(){return ze.HttpResponse}});Object.defineProperty(xe,"isValidHostname",{enumerable:!0,get:function(){return ze.isValidHostname}});Object.defineProperty(xe,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return ze.getHttpHandlerExtensionConfiguration}});Object.defineProperty(xe,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return ze.resolveHttpHandlerRuntimeConfig}})});var Na=$((ma)=>{var da=Rn();function fa(e){return e}var Dn=(e)=>(t)=>async(i)=>{if(!da.HttpRequest.isInstance(i.request))return t(i);let{request:s}=i,{handlerProtocol:c=""}=e.requestHandler.metadata||{};if(c.indexOf("h2")>=0&&!s.headers[":authority"])delete s.headers.host,s.headers[":authority"]=s.hostname+(s.port?":"+s.port:"");else if(!s.headers.host){let o=s.hostname;if(s.port!=null)o+=`:${s.port}`;s.headers.host=o}return t(i)},Mn={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},pa=(e)=>({applyToStack:(t)=>{t.add(Dn(e),Mn)}});ma.getHostHeaderPlugin=pa;ma.hostHeaderMiddleware=Dn;ma.hostHeaderMiddlewareOptions=Mn;ma.resolveHostHeaderConfig=fa});var Oa=$((xa)=>{var jn=()=>(e,t)=>async(i)=>{try{let s=await e(i),{clientName:c,commandName:o,logger:a,dynamoDbDocumentClientOptions:l={}}=t,{overrideInputFilterSensitiveLog:f,overrideOutputFilterSensitiveLog:m}=l,g=f??t.inputFilterSensitiveLog,b=m??t.outputFilterSensitiveLog,{$metadata:w,..._}=s.output;return a?.info?.({clientName:c,commandName:o,input:g(i.input),output:b(_),metadata:w}),s}catch(s){let{clientName:c,commandName:o,logger:a,dynamoDbDocumentClientOptions:l={}}=t,{overrideInputFilterSensitiveLog:f}=l,m=f??t.inputFilterSensitiveLog;throw a?.error?.({clientName:c,commandName:o,input:m(i.input),error:s,metadata:s.$metadata}),s}},Ln={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},wa=(e)=>({applyToStack:(t)=>{t.add(jn(),Ln)}});xa.getLoggerPlugin=wa;xa.loggerMiddleware=jn;xa.loggerMiddlewareOptions=Ln});var Hn=$((Pa)=>{var lt={REQUEST_ID:Symbol.for("_AWS_LAMBDA_REQUEST_ID"),X_RAY_TRACE_ID:Symbol.for("_AWS_LAMBDA_X_RAY_TRACE_ID"),TENANT_ID:Symbol.for("_AWS_LAMBDA_TENANT_ID")},cr=["true","1"].includes(process.env?.AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA??"");if(!cr)globalThis.awslambda=globalThis.awslambda||{};class Pt{static PROTECTED_KEYS=lt;isProtectedKey(e){return Object.values(lt).includes(e)}getRequestId(){return this.get(lt.REQUEST_ID)??"-"}getXRayTraceId(){return this.get(lt.X_RAY_TRACE_ID)}getTenantId(){return this.get(lt.TENANT_ID)}}class $n extends Pt{currentContext;getContext(){return this.currentContext}hasContext(){return this.currentContext!==void 0}get(e){return this.currentContext?.[e]}set(e,t){if(this.isProtectedKey(e))throw Error(`Cannot modify protected Lambda context field: ${String(e)}`);this.currentContext=this.currentContext||{},this.currentContext[e]=t}run(e,t){return this.currentContext=e,t()}}class hr extends Pt{als;static async create(){let e=new hr,t=await import("node:async_hooks");return e.als=new t.AsyncLocalStorage,e}getContext(){return this.als.getStore()}hasContext(){return this.als.getStore()!==void 0}get(e){return this.als.getStore()?.[e]}set(e,t){if(this.isProtectedKey(e))throw Error(`Cannot modify protected Lambda context field: ${String(e)}`);let i=this.als.getStore();if(!i)throw Error("No context available");i[e]=t}run(e,t){return this.als.run(e,t)}}Pa.InvokeStore=void 0;(function(e){let t=null;async function i(s){if(!t)t=(async()=>{let o=s===!0||"AWS_LAMBDA_MAX_CONCURRENCY"in process.env?await hr.create():new $n;if(!cr&&globalThis.awslambda?.InvokeStore)return globalThis.awslambda.InvokeStore;else if(!cr&&globalThis.awslambda)return globalThis.awslambda.InvokeStore=o,o;else return o})();return t}e.getInstanceAsync=i,e._testing=process.env.AWS_LAMBDA_BENCHMARK_MODE==="1"?{reset:()=>{if(t=null,globalThis.awslambda?.InvokeStore)delete globalThis.awslambda.InvokeStore;globalThis.awslambda={InvokeStore:void 0}}}:void 0})(Pa.InvokeStore||(Pa.InvokeStore={}));Pa.InvokeStoreBase=Pt});var Un=$((Se)=>{Object.defineProperty(Se,"__esModule",{value:!0});Se.resolveHttpHandlerRuntimeConfig=Se.getHttpHandlerExtensionConfiguration=Se.isValidHostname=Se.HttpResponse=Se.HttpRequest=Se.Fields=Se.Field=void 0;var qe=pe();Object.defineProperty(Se,"Field",{enumerable:!0,get:function(){return qe.Field}});Object.defineProperty(Se,"Fields",{enumerable:!0,get:function(){return qe.Fields}});Object.defineProperty(Se,"HttpRequest",{enumerable:!0,get:function(){return qe.HttpRequest}});Object.defineProperty(Se,"HttpResponse",{enumerable:!0,get:function(){return qe.HttpResponse}});Object.defineProperty(Se,"isValidHostname",{enumerable:!0,get:function(){return qe.isValidHostname}});Object.defineProperty(Se,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return qe.getHttpHandlerExtensionConfiguration}});Object.defineProperty(Se,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return qe.resolveHttpHandlerRuntimeConfig}})});var Vn=$((Fn)=>{Object.defineProperty(Fn,"__esModule",{value:!0});Fn.recursionDetectionMiddleware=void 0;var Ia=Hn(),Ra=Un(),dr="X-Amzn-Trace-Id",Da="AWS_LAMBDA_FUNCTION_NAME",Ma="_X_AMZN_TRACE_ID",ja=()=>(e)=>async(t)=>{let{request:i}=t;if(!Ra.HttpRequest.isInstance(i))return e(t);let s=Object.keys(i.headers??{}).find((g)=>g.toLowerCase()===dr.toLowerCase())??dr;if(i.headers.hasOwnProperty(s))return e(t);let c=process.env[Da],o=process.env[Ma],f=(await Ia.InvokeStore.getInstanceAsync())?.getXRayTraceId()??o,m=(g)=>typeof g==="string"&&g.length>0;if(m(c)&&m(f))i.headers[dr]=f;return e({...t,request:i})};Fn.recursionDetectionMiddleware=ja});var Ua=$((ft)=>{var dt=Vn(),La={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},$a=(e)=>({applyToStack:(t)=>{t.add(dt.recursionDetectionMiddleware(),La)}});ft.getRecursionDetectionPlugin=$a;Object.prototype.hasOwnProperty.call(dt,"__proto__")&&!Object.prototype.hasOwnProperty.call(ft,"__proto__")&&Object.defineProperty(ft,"__proto__",{enumerable:!0,value:dt.__proto__});Object.keys(dt).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(ft,e))ft[e]=dt[e]})});var qn=$((ye)=>{Object.defineProperty(ye,"__esModule",{value:!0});ye.EndpointError=ye.resolveEndpoint=ye.customEndpointFunctions=ye.isValidHostLabel=ye.isIpAddress=ye.decideEndpoint=ye.EndpointCache=ye.BinaryDecisionDiagram=void 0;var Me=zn();Object.defineProperty(ye,"BinaryDecisionDiagram",{enumerable:!0,get:function(){return Me.BinaryDecisionDiagram}});Object.defineProperty(ye,"EndpointCache",{enumerable:!0,get:function(){return Me.EndpointCache}});Object.defineProperty(ye,"decideEndpoint",{enumerable:!0,get:function(){return Me.decideEndpoint}});Object.defineProperty(ye,"isIpAddress",{enumerable:!0,get:function(){return Me.isIpAddress}});Object.defineProperty(ye,"isValidHostLabel",{enumerable:!0,get:function(){return Me.isValidHostLabel}});Object.defineProperty(ye,"customEndpointFunctions",{enumerable:!0,get:function(){return Me.customEndpointFunctions}});Object.defineProperty(ye,"resolveEndpoint",{enumerable:!0,get:function(){return Me.resolveEndpoint}});Object.defineProperty(ye,"EndpointError",{enumerable:!0,get:function(){return Me.EndpointError}})});var Xn=$((fr)=>{Object.defineProperty(fr,"__esModule",{value:!0});fr.parseUrl=void 0;var Ba=pe();Object.defineProperty(fr,"parseUrl",{enumerable:!0,get:function(){return Ba.parseUrl}})});var es=$((Ya)=>{var ve=qn(),za=Xn(),kn=(e,t=!1)=>{if(t){for(let i of e.split("."))if(!kn(i))return!1;return!0}if(!ve.isValidHostLabel(e))return!1;if(e.length<3||e.length>63)return!1;if(e!==e.toLowerCase())return!1;if(ve.isIpAddress(e))return!1;return!0},Gn=":",qa="/",Xa=(e)=>{let t=e.split(Gn);if(t.length<6)return null;let[i,s,c,o,a,...l]=t;if(i!=="arn"||s===""||c===""||l.join(Gn)==="")return null;let f=l.map((m)=>m.split(qa)).flat();return{partition:s,service:c,region:o,accountId:a,resourceId:f}},Ga=[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-east-2":{description:"Asia Pacific (Taipei)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"ap-southeast-5":{description:"Asia Pacific (Malaysia)"},"ap-southeast-6":{description:"Asia Pacific (New Zealand)"},"ap-southeast-7":{description:"Asia Pacific (Thailand)"},"aws-global":{description:"aws global region"},"ca-central-1":{description:"Canada (Central)"},"ca-west-1":{description:"Canada West (Calgary)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"mx-central-1":{description:"Mexico (Central)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"aws-cn global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-eusc",outputs:{dnsSuffix:"amazonaws.eu",dualStackDnsSuffix:"api.amazonwebservices.eu",implicitGlobalRegion:"eusc-de-east-1",name:"aws-eusc",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eusc\\-(de)\\-\\w+\\-\\d+$",regions:{"eusc-de-east-1":{description:"AWS European Sovereign Cloud (Germany)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"api.aws.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"aws-iso global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"api.aws.scloud",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"aws-iso-b global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"},"us-isob-west-1":{description:"US ISOB West"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"api.cloud-aws.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"aws-iso-e-global":{description:"aws-iso-e global region"},"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"api.aws.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{"aws-iso-f-global":{description:"aws-iso-f global region"},"us-isof-east-1":{description:"US ISOF EAST"},"us-isof-south-1":{description:"US ISOF SOUTH"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"aws-us-gov global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}}],ka="1.1",Wn={partitions:Ga,version:ka},Qn=Wn,Kn="",Yn=(e)=>{let{partitions:t}=Qn;for(let s of t){let{regions:c,outputs:o}=s;for(let[a,l]of Object.entries(c))if(a===e)return{...o,...l}}for(let s of t){let{regionRegex:c,outputs:o}=s;if(new RegExp(c).test(e))return{...o}}let i=t.find((s)=>s.id==="aws");if(!i)throw Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...i.outputs}},Jn=(e,t="")=>{Qn=e,Kn=t},Wa=()=>{Jn(Wn,"")},Qa=()=>Kn,Zn={isVirtualHostableS3Bucket:kn,parseArn:Xa,partition:Yn};ve.customEndpointFunctions.aws=Zn;var Ka=(e)=>{if(typeof e.endpointProvider!=="function")throw Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.");let{endpoint:t}=e;if(t===void 0)e.endpoint=async()=>{return vn(e.endpointProvider({Region:typeof e.region==="function"?await e.region():e.region,UseDualStack:typeof e.useDualstackEndpoint==="function"?await e.useDualstackEndpoint():e.useDualstackEndpoint,UseFIPS:typeof e.useFipsEndpoint==="function"?await e.useFipsEndpoint():e.useFipsEndpoint,Endpoint:void 0},{logger:e.logger}))};return e},vn=(e)=>za.parseUrl(e.url);Ya.EndpointError=ve.EndpointError;Ya.isIpAddress=ve.isIpAddress;Ya.resolveEndpoint=ve.resolveEndpoint;Ya.awsEndpointFunctions=Zn;Ya.getUserAgentPrefix=Qa;Ya.partition=Yn;Ya.resolveDefaultAwsRegionalEndpointsConfig=Ka;Ya.setPartitionInfo=Jn;Ya.toEndpointV1=vn;Ya.useDefaultPartitionInfo=Wa});var ts=$((_e)=>{Object.defineProperty(_e,"__esModule",{value:!0});_e.resolveHttpHandlerRuntimeConfig=_e.getHttpHandlerExtensionConfiguration=_e.isValidHostname=_e.HttpResponse=_e.HttpRequest=_e.Fields=_e.Field=void 0;var Xe=pe();Object.defineProperty(_e,"Field",{enumerable:!0,get:function(){return Xe.Field}});Object.defineProperty(_e,"Fields",{enumerable:!0,get:function(){return Xe.Fields}});Object.defineProperty(_e,"HttpRequest",{enumerable:!0,get:function(){return Xe.HttpRequest}});Object.defineProperty(_e,"HttpResponse",{enumerable:!0,get:function(){return Xe.HttpResponse}});Object.defineProperty(_e,"isValidHostname",{enumerable:!0,get:function(){return Xe.isValidHostname}});Object.defineProperty(_e,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return Xe.getHttpHandlerExtensionConfiguration}});Object.defineProperty(_e,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return Xe.resolveHttpHandlerRuntimeConfig}})});var hs=$((wu)=>{var cu=as(),lu=es(),hu=ts(),Te=os(),rs=uu(),us=void 0;function du(e){if(e===void 0)return!0;return typeof e==="string"&&e.length<=50}function fu(e){let t=cu.normalizeProvider(e.userAgentAppId??us),{customUserAgent:i}=e;return Object.assign(e,{customUserAgent:typeof i==="string"?[[i]]:i,userAgentAppId:async()=>{let s=await t();if(!du(s)){let c=e.logger?.constructor?.name==="NoOpLogger"||!e.logger?console:e.logger;if(typeof s!=="string")c?.warn("userAgentAppId must be a string or undefined.");else if(s.length>50)c?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}return s}})}var pu=/\d{12}\.ddb/;async function mu(e,t,i){if(i.request?.headers?.["smithy-protocol"]==="rpc-v2-cbor")Te.setFeature(e,"PROTOCOL_RPC_V2_CBOR","M");if(typeof t.retryStrategy==="function"){let o=await t.retryStrategy();if(typeof o.mode==="string")switch(o.mode){case rs.RETRY_MODES.ADAPTIVE:Te.setFeature(e,"RETRY_MODE_ADAPTIVE","F");break;case rs.RETRY_MODES.STANDARD:Te.setFeature(e,"RETRY_MODE_STANDARD","E");break}}if(typeof t.accountIdEndpointMode==="function"){let o=e.endpointV2;if(String(o?.url?.hostname).match(pu))Te.setFeature(e,"ACCOUNT_ID_ENDPOINT","O");switch(await t.accountIdEndpointMode?.()){case"disabled":Te.setFeature(e,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":Te.setFeature(e,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":Te.setFeature(e,"ACCOUNT_ID_MODE_REQUIRED","R");break}}let c=e.__smithy_context?.selectedHttpAuthScheme?.identity;if(c?.$source){let o=c;if(o.accountId)Te.setFeature(e,"RESOLVED_ACCOUNT_ID","T");for(let[a,l]of Object.entries(o.$source??{}))Te.setFeature(e,a,l)}}var ns="user-agent",pr="x-amz-user-agent",ss=" ",mr="/",gu=/[^!$%&'*+\-.^_`|~\w]/g,yu=/[^!$%&'*+\-.^_`|~\w#]/g,is="-",bu=1024;function Eu(e){let t="";for(let i in e){let s=e[i];if(t.length+s.length+1<=bu){if(t.length)t+=","+s;else t+=s;continue}break}return t}var cs=(e)=>(t,i)=>async(s)=>{let{request:c}=s;if(!hu.HttpRequest.isInstance(c))return t(s);let{headers:o}=c,a=i?.userAgent?.map(At)||[],l=(await e.defaultUserAgentProvider()).map(At);await mu(i,e,s);let f=i;l.push(`m/${Eu(Object.assign({},i.__smithy_context?.features,f.__aws_sdk_context?.features))}`);let m=e?.customUserAgent?.map(At)||[],g=await e.userAgentAppId();if(g)l.push(At(["app",`${g}`]));let b=lu.getUserAgentPrefix(),w=(b?[b]:[]).concat([...l,...a,...m]).join(ss),_=[...l.filter((T)=>T.startsWith("aws-sdk-")),...m].join(ss);if(e.runtime!=="browser"){if(_)o[pr]=o[pr]?`${o[ns]} ${_}`:_;o[ns]=w}else o[pr]=w;return t({...s,request:c})},At=(e)=>{let t=e[0].split(mr).map((a)=>a.replace(gu,is)).join(mr),i=e[1]?.replace(yu,is),s=t.indexOf(mr),c=t.substring(0,s),o=t.substring(s+1);if(c==="api")o=o.toLowerCase();return[c,o,i].filter((a)=>a&&a.length>0).reduce((a,l,f)=>{switch(f){case 0:return l;case 1:return`${a}/${l}`;default:return`${a}#${l}`}},"")},ls={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},Nu=(e)=>({applyToStack:(t)=>{t.add(cs(e),ls)}});wu.DEFAULT_UA_APP_ID=us;wu.getUserAgentMiddlewareOptions=ls;wu.getUserAgentPlugin=Nu;wu.resolveUserAgentConfig=fu;wu.userAgentMiddleware=cs});var gr=$((J)=>{Object.defineProperty(J,"__esModule",{value:!0});J.getRegionInfo=J.resolveRegionConfig=J.NODE_REGION_CONFIG_FILE_OPTIONS=J.NODE_REGION_CONFIG_OPTIONS=J.REGION_INI_NAME=J.REGION_ENV_NAME=J.resolveEndpointsConfig=J.resolveCustomEndpointsConfig=J.nodeFipsConfigSelectors=J.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS=J.DEFAULT_USE_FIPS_ENDPOINT=J.CONFIG_USE_FIPS_ENDPOINT=J.ENV_USE_FIPS_ENDPOINT=J.nodeDualstackConfigSelectors=J.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS=J.DEFAULT_USE_DUALSTACK_ENDPOINT=J.CONFIG_USE_DUALSTACK_ENDPOINT=J.ENV_USE_DUALSTACK_ENDPOINT=void 0;var te=Ct();Object.defineProperty(J,"ENV_USE_DUALSTACK_ENDPOINT",{enumerable:!0,get:function(){return te.ENV_USE_DUALSTACK_ENDPOINT}});Object.defineProperty(J,"CONFIG_USE_DUALSTACK_ENDPOINT",{enumerable:!0,get:function(){return te.CONFIG_USE_DUALSTACK_ENDPOINT}});Object.defineProperty(J,"DEFAULT_USE_DUALSTACK_ENDPOINT",{enumerable:!0,get:function(){return te.DEFAULT_USE_DUALSTACK_ENDPOINT}});Object.defineProperty(J,"NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS",{enumerable:!0,get:function(){return te.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS}});Object.defineProperty(J,"nodeDualstackConfigSelectors",{enumerable:!0,get:function(){return te.nodeDualstackConfigSelectors}});Object.defineProperty(J,"ENV_USE_FIPS_ENDPOINT",{enumerable:!0,get:function(){return te.ENV_USE_FIPS_ENDPOINT}});Object.defineProperty(J,"CONFIG_USE_FIPS_ENDPOINT",{enumerable:!0,get:function(){return te.CONFIG_USE_FIPS_ENDPOINT}});Object.defineProperty(J,"DEFAULT_USE_FIPS_ENDPOINT",{enumerable:!0,get:function(){return te.DEFAULT_USE_FIPS_ENDPOINT}});Object.defineProperty(J,"NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS",{enumerable:!0,get:function(){return te.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS}});Object.defineProperty(J,"nodeFipsConfigSelectors",{enumerable:!0,get:function(){return te.nodeFipsConfigSelectors}});Object.defineProperty(J,"resolveCustomEndpointsConfig",{enumerable:!0,get:function(){return te.resolveCustomEndpointsConfig}});Object.defineProperty(J,"resolveEndpointsConfig",{enumerable:!0,get:function(){return te.resolveEndpointsConfig}});Object.defineProperty(J,"REGION_ENV_NAME",{enumerable:!0,get:function(){return te.REGION_ENV_NAME}});Object.defineProperty(J,"REGION_INI_NAME",{enumerable:!0,get:function(){return te.REGION_INI_NAME}});Object.defineProperty(J,"NODE_REGION_CONFIG_OPTIONS",{enumerable:!0,get:function(){return te.NODE_REGION_CONFIG_OPTIONS}});Object.defineProperty(J,"NODE_REGION_CONFIG_FILE_OPTIONS",{enumerable:!0,get:function(){return te.NODE_REGION_CONFIG_FILE_OPTIONS}});Object.defineProperty(J,"resolveRegionConfig",{enumerable:!0,get:function(){return te.resolveRegionConfig}});Object.defineProperty(J,"getRegionInfo",{enumerable:!0,get:function(){return te.getRegionInfo}})});var Cu=$((pt)=>{Object.defineProperty(pt,"__esModule",{value:!0});pt.getContentLengthPlugin=pt.contentLengthMiddlewareOptions=pt.contentLengthMiddleware=void 0;var yr=pe();Object.defineProperty(pt,"contentLengthMiddleware",{enumerable:!0,get:function(){return yr.contentLengthMiddleware}});Object.defineProperty(pt,"contentLengthMiddlewareOptions",{enumerable:!0,get:function(){return yr.contentLengthMiddlewareOptions}});Object.defineProperty(pt,"getContentLengthPlugin",{enumerable:!0,get:function(){return yr.getContentLengthPlugin}})});var Ru=$((be)=>{Object.defineProperty(be,"__esModule",{value:!0});be.resolveEndpointRequiredConfig=be.resolveEndpointConfig=be.getEndpointPlugin=be.endpointMiddlewareOptions=be.endpointMiddleware=be.toEndpointV1=be.resolveParams=be.getEndpointFromInstructions=void 0;var je=zn();Object.defineProperty(be,"getEndpointFromInstructions",{enumerable:!0,get:function(){return je.getEndpointFromInstructions}});Object.defineProperty(be,"resolveParams",{enumerable:!0,get:function(){return je.resolveParams}});Object.defineProperty(be,"toEndpointV1",{enumerable:!0,get:function(){return je.toEndpointV1}});Object.defineProperty(be,"endpointMiddleware",{enumerable:!0,get:function(){return je.endpointMiddleware}});Object.defineProperty(be,"endpointMiddlewareOptions",{enumerable:!0,get:function(){return je.endpointMiddlewareOptions}});Object.defineProperty(be,"getEndpointPlugin",{enumerable:!0,get:function(){return je.getEndpointPlugin}});Object.defineProperty(be,"resolveEndpointConfig",{enumerable:!0,get:function(){return je.resolveEndpointConfig}});Object.defineProperty(be,"resolveEndpointRequiredConfig",{enumerable:!0,get:function(){return je.resolveEndpointRequiredConfig}})});var ju=$((Z)=>{Object.defineProperty(Z,"__esModule",{value:!0});Z.retryMiddlewareOptions=Z.retryMiddleware=Z.resolveRetryConfig=Z.omitRetryHeadersMiddlewareOptions=Z.omitRetryHeadersMiddleware=Z.getRetryPlugin=Z.getRetryAfterHint=Z.getOmitRetryHeadersPlugin=Z.defaultRetryDecider=Z.defaultDelayDecider=Z.NODE_RETRY_MODE_CONFIG_OPTIONS=Z.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=Z.ENV_RETRY_MODE=Z.ENV_MAX_ATTEMPTS=Z.CONFIG_RETRY_MODE=Z.CONFIG_MAX_ATTEMPTS=Z.StandardRetryStrategy=Z.AdaptiveRetryStrategy=void 0;var re=Du();Object.defineProperty(Z,"AdaptiveRetryStrategy",{enumerable:!0,get:function(){return re.DeprecatedAdaptiveRetryStrategy}});Object.defineProperty(Z,"StandardRetryStrategy",{enumerable:!0,get:function(){return re.DeprecatedStandardRetryStrategy}});Object.defineProperty(Z,"CONFIG_MAX_ATTEMPTS",{enumerable:!0,get:function(){return re.CONFIG_MAX_ATTEMPTS}});Object.defineProperty(Z,"CONFIG_RETRY_MODE",{enumerable:!0,get:function(){return re.CONFIG_RETRY_MODE}});Object.defineProperty(Z,"ENV_MAX_ATTEMPTS",{enumerable:!0,get:function(){return re.ENV_MAX_ATTEMPTS}});Object.defineProperty(Z,"ENV_RETRY_MODE",{enumerable:!0,get:function(){return re.ENV_RETRY_MODE}});Object.defineProperty(Z,"NODE_MAX_ATTEMPT_CONFIG_OPTIONS",{enumerable:!0,get:function(){return re.NODE_MAX_ATTEMPT_CONFIG_OPTIONS}});Object.defineProperty(Z,"NODE_RETRY_MODE_CONFIG_OPTIONS",{enumerable:!0,get:function(){return re.NODE_RETRY_MODE_CONFIG_OPTIONS}});Object.defineProperty(Z,"defaultDelayDecider",{enumerable:!0,get:function(){return re.defaultDelayDecider}});Object.defineProperty(Z,"defaultRetryDecider",{enumerable:!0,get:function(){return re.defaultRetryDecider}});Object.defineProperty(Z,"getOmitRetryHeadersPlugin",{enumerable:!0,get:function(){return re.getOmitRetryHeadersPlugin}});Object.defineProperty(Z,"getRetryAfterHint",{enumerable:!0,get:function(){return re.getRetryAfterHint}});Object.defineProperty(Z,"getRetryPlugin",{enumerable:!0,get:function(){return re.getRetryPlugin}});Object.defineProperty(Z,"omitRetryHeadersMiddleware",{enumerable:!0,get:function(){return re.omitRetryHeadersMiddleware}});Object.defineProperty(Z,"omitRetryHeadersMiddlewareOptions",{enumerable:!0,get:function(){return re.omitRetryHeadersMiddlewareOptions}});Object.defineProperty(Z,"resolveRetryConfig",{enumerable:!0,get:function(){return re.resolveRetryConfig}});Object.defineProperty(Z,"retryMiddleware",{enumerable:!0,get:function(){return re.retryMiddleware}});Object.defineProperty(Z,"retryMiddlewareOptions",{enumerable:!0,get:function(){return re.retryMiddlewareOptions}})});var Hu=$((A)=>{Object.defineProperty(A,"__esModule",{value:!0});A.createAggregatedClient=A.convertMap=A._json=A.ServiceException=A.SENSITIVE_STRING=A.NoOpLogger=A.Command=A.Client=A.strictParseShort=A.strictParseLong=A.strictParseInt32=A.strictParseInt=A.strictParseFloat32=A.strictParseFloat=A.strictParseDouble=A.strictParseByte=A.splitHeader=A.splitEvery=A.quoteHeader=A.parseRfc7231DateTime=A.parseRfc3339DateTimeWithOffset=A.parseRfc3339DateTime=A.parseEpochTimestamp=A.parseBoolean=A.nv=A.logger=A.limitedParseFloat32=A.limitedParseFloat=A.limitedParseDouble=A.handleFloat=A.generateIdempotencyToken=A.expectUnion=A.expectString=A.expectShort=A.expectObject=A.expectNumber=A.expectNonNull=A.expectLong=A.expectInt32=A.expectInt=A.expectFloat32=A.expectByte=A.expectBoolean=A.dateToUtcString=A.copyDocumentWithTransform=A._parseRfc7231DateTime=A._parseRfc3339DateTimeWithOffset=A._parseEpochTimestamp=A.NumericValue=A.LazyJsonString=void 0;A.resolvedPath=A.extendedEncodeURIComponent=A.collectBody=A.withBaseException=A.throwDefaultError=A.take=A.serializeFloat=A.serializeDateTime=A.resolveDefaultRuntimeConfig=A.map=A.loadConfigsForDefaultMode=A.isSerializableHeaderValue=A.getValueFromTextNode=A.getDefaultExtensionConfiguration=A.getDefaultClientConfiguration=A.getArrayIfSingleItem=A.emitWarningIfUnsupportedVersion=A.decorateServiceException=void 0;var H=Ee();Object.defineProperty(A,"LazyJsonString",{enumerable:!0,get:function(){return H.LazyJsonString}});Object.defineProperty(A,"NumericValue",{enumerable:!0,get:function(){return H.NumericValue}});Object.defineProperty(A,"_parseEpochTimestamp",{enumerable:!0,get:function(){return H._parseEpochTimestamp}});Object.defineProperty(A,"_parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return H._parseRfc3339DateTimeWithOffset}});Object.defineProperty(A,"_parseRfc7231DateTime",{enumerable:!0,get:function(){return H._parseRfc7231DateTime}});Object.defineProperty(A,"copyDocumentWithTransform",{enumerable:!0,get:function(){return H.copyDocumentWithTransform}});Object.defineProperty(A,"dateToUtcString",{enumerable:!0,get:function(){return H.dateToUtcString}});Object.defineProperty(A,"expectBoolean",{enumerable:!0,get:function(){return H.expectBoolean}});Object.defineProperty(A,"expectByte",{enumerable:!0,get:function(){return H.expectByte}});Object.defineProperty(A,"expectFloat32",{enumerable:!0,get:function(){return H.expectFloat32}});Object.defineProperty(A,"expectInt",{enumerable:!0,get:function(){return H.expectInt}});Object.defineProperty(A,"expectInt32",{enumerable:!0,get:function(){return H.expectInt32}});Object.defineProperty(A,"expectLong",{enumerable:!0,get:function(){return H.expectLong}});Object.defineProperty(A,"expectNonNull",{enumerable:!0,get:function(){return H.expectNonNull}});Object.defineProperty(A,"expectNumber",{enumerable:!0,get:function(){return H.expectNumber}});Object.defineProperty(A,"expectObject",{enumerable:!0,get:function(){return H.expectObject}});Object.defineProperty(A,"expectShort",{enumerable:!0,get:function(){return H.expectShort}});Object.defineProperty(A,"expectString",{enumerable:!0,get:function(){return H.expectString}});Object.defineProperty(A,"expectUnion",{enumerable:!0,get:function(){return H.expectUnion}});Object.defineProperty(A,"generateIdempotencyToken",{enumerable:!0,get:function(){return H.generateIdempotencyToken}});Object.defineProperty(A,"handleFloat",{enumerable:!0,get:function(){return H.handleFloat}});Object.defineProperty(A,"limitedParseDouble",{enumerable:!0,get:function(){return H.limitedParseDouble}});Object.defineProperty(A,"limitedParseFloat",{enumerable:!0,get:function(){return H.limitedParseFloat}});Object.defineProperty(A,"limitedParseFloat32",{enumerable:!0,get:function(){return H.limitedParseFloat32}});Object.defineProperty(A,"logger",{enumerable:!0,get:function(){return H.logger}});Object.defineProperty(A,"nv",{enumerable:!0,get:function(){return H.nv}});Object.defineProperty(A,"parseBoolean",{enumerable:!0,get:function(){return H.parseBoolean}});Object.defineProperty(A,"parseEpochTimestamp",{enumerable:!0,get:function(){return H.parseEpochTimestamp}});Object.defineProperty(A,"parseRfc3339DateTime",{enumerable:!0,get:function(){return H.parseRfc3339DateTime}});Object.defineProperty(A,"parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return H.parseRfc3339DateTimeWithOffset}});Object.defineProperty(A,"parseRfc7231DateTime",{enumerable:!0,get:function(){return H.parseRfc7231DateTime}});Object.defineProperty(A,"quoteHeader",{enumerable:!0,get:function(){return H.quoteHeader}});Object.defineProperty(A,"splitEvery",{enumerable:!0,get:function(){return H.splitEvery}});Object.defineProperty(A,"splitHeader",{enumerable:!0,get:function(){return H.splitHeader}});Object.defineProperty(A,"strictParseByte",{enumerable:!0,get:function(){return H.strictParseByte}});Object.defineProperty(A,"strictParseDouble",{enumerable:!0,get:function(){return H.strictParseDouble}});Object.defineProperty(A,"strictParseFloat",{enumerable:!0,get:function(){return H.strictParseFloat}});Object.defineProperty(A,"strictParseFloat32",{enumerable:!0,get:function(){return H.strictParseFloat32}});Object.defineProperty(A,"strictParseInt",{enumerable:!0,get:function(){return H.strictParseInt}});Object.defineProperty(A,"strictParseInt32",{enumerable:!0,get:function(){return H.strictParseInt32}});Object.defineProperty(A,"strictParseLong",{enumerable:!0,get:function(){return H.strictParseLong}});Object.defineProperty(A,"strictParseShort",{enumerable:!0,get:function(){return H.strictParseShort}});var W=mt();Object.defineProperty(A,"Client",{enumerable:!0,get:function(){return W.Client}});Object.defineProperty(A,"Command",{enumerable:!0,get:function(){return W.Command}});Object.defineProperty(A,"NoOpLogger",{enumerable:!0,get:function(){return W.NoOpLogger}});Object.defineProperty(A,"SENSITIVE_STRING",{enumerable:!0,get:function(){return W.SENSITIVE_STRING}});Object.defineProperty(A,"ServiceException",{enumerable:!0,get:function(){return W.ServiceException}});Object.defineProperty(A,"_json",{enumerable:!0,get:function(){return W._json}});Object.defineProperty(A,"convertMap",{enumerable:!0,get:function(){return W.convertMap}});Object.defineProperty(A,"createAggregatedClient",{enumerable:!0,get:function(){return W.createAggregatedClient}});Object.defineProperty(A,"decorateServiceException",{enumerable:!0,get:function(){return W.decorateServiceException}});Object.defineProperty(A,"emitWarningIfUnsupportedVersion",{enumerable:!0,get:function(){return W.emitWarningIfUnsupportedVersion}});Object.defineProperty(A,"getArrayIfSingleItem",{enumerable:!0,get:function(){return W.getArrayIfSingleItem}});Object.defineProperty(A,"getDefaultClientConfiguration",{enumerable:!0,get:function(){return W.getDefaultClientConfiguration}});Object.defineProperty(A,"getDefaultExtensionConfiguration",{enumerable:!0,get:function(){return W.getDefaultExtensionConfiguration}});Object.defineProperty(A,"getValueFromTextNode",{enumerable:!0,get:function(){return W.getValueFromTextNode}});Object.defineProperty(A,"isSerializableHeaderValue",{enumerable:!0,get:function(){return W.isSerializableHeaderValue}});Object.defineProperty(A,"loadConfigsForDefaultMode",{enumerable:!0,get:function(){return W.loadConfigsForDefaultMode}});Object.defineProperty(A,"map",{enumerable:!0,get:function(){return W.map}});Object.defineProperty(A,"resolveDefaultRuntimeConfig",{enumerable:!0,get:function(){return W.resolveDefaultRuntimeConfig}});Object.defineProperty(A,"serializeDateTime",{enumerable:!0,get:function(){return W.serializeDateTime}});Object.defineProperty(A,"serializeFloat",{enumerable:!0,get:function(){return W.serializeFloat}});Object.defineProperty(A,"take",{enumerable:!0,get:function(){return W.take}});Object.defineProperty(A,"throwDefaultError",{enumerable:!0,get:function(){return W.throwDefaultError}});Object.defineProperty(A,"withBaseException",{enumerable:!0,get:function(){return W.withBaseException}});var br=pe();Object.defineProperty(A,"collectBody",{enumerable:!0,get:function(){return br.collectBody}});Object.defineProperty(A,"extendedEncodeURIComponent",{enumerable:!0,get:function(){return br.extendedEncodeURIComponent}});Object.defineProperty(A,"resolvedPath",{enumerable:!0,get:function(){return br.resolvedPath}})});var ds=$((Er)=>{Object.defineProperty(Er,"__esModule",{value:!0});Er.loadConfig=void 0;var Uu=Ct();Object.defineProperty(Er,"loadConfig",{enumerable:!0,get:function(){return Uu.loadConfig}})});var ms=$((ps)=>{Object.defineProperty(ps,"__esModule",{value:!0});ps.warning=void 0;ps.stsRegionDefaultResolver=Vu;var fs=gr(),Bu=ds();function Vu(e={}){return(0,Bu.loadConfig)({...fs.NODE_REGION_CONFIG_OPTIONS,async default(){if(!ps.warning.silence)console.warn("@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly.");return"us-east-1"}},{...fs.NODE_REGION_CONFIG_FILE_OPTIONS,...e})}ps.warning={silence:!1}});var Zu=$((gt)=>{var It=ms(),yt=gr(),qu=(e)=>{return{setRegion(t){e.region=t},region(){return e.region}}},Xu=(e)=>{return{region:e.region()}};gt.NODE_REGION_CONFIG_FILE_OPTIONS=yt.NODE_REGION_CONFIG_FILE_OPTIONS;gt.NODE_REGION_CONFIG_OPTIONS=yt.NODE_REGION_CONFIG_OPTIONS;gt.REGION_ENV_NAME=yt.REGION_ENV_NAME;gt.REGION_INI_NAME=yt.REGION_INI_NAME;gt.resolveRegionConfig=yt.resolveRegionConfig;gt.getAwsRegionExtensionConfiguration=qu;gt.resolveAwsRegionExtensionConfiguration=Xu;Object.prototype.hasOwnProperty.call(It,"__proto__")&&!Object.prototype.hasOwnProperty.call(gt,"__proto__")&&Object.defineProperty(gt,"__proto__",{enumerable:!0,value:It.__proto__});Object.keys(It).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(gt,e))gt[e]=It[e]})});var ec=$((Oe)=>{Object.defineProperty(Oe,"__esModule",{value:!0});Oe.resolveHttpHandlerRuntimeConfig=Oe.getHttpHandlerExtensionConfiguration=Oe.isValidHostname=Oe.HttpResponse=Oe.HttpRequest=Oe.Fields=Oe.Field=void 0;var Ge=pe();Object.defineProperty(Oe,"Field",{enumerable:!0,get:function(){return Ge.Field}});Object.defineProperty(Oe,"Fields",{enumerable:!0,get:function(){return Ge.Fields}});Object.defineProperty(Oe,"HttpRequest",{enumerable:!0,get:function(){return Ge.HttpRequest}});Object.defineProperty(Oe,"HttpResponse",{enumerable:!0,get:function(){return Ge.HttpResponse}});Object.defineProperty(Oe,"isValidHostname",{enumerable:!0,get:function(){return Ge.isValidHostname}});Object.defineProperty(Oe,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return Ge.getHttpHandlerExtensionConfiguration}});Object.defineProperty(Oe,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return Ge.resolveHttpHandlerRuntimeConfig}})});var gs=$((Pe)=>{Object.defineProperty(Pe,"__esModule",{value:!0});Pe.resolveHttpHandlerRuntimeConfig=Pe.getHttpHandlerExtensionConfiguration=Pe.isValidHostname=Pe.HttpResponse=Pe.HttpRequest=Pe.Fields=Pe.Field=void 0;var ke=pe();Object.defineProperty(Pe,"Field",{enumerable:!0,get:function(){return ke.Field}});Object.defineProperty(Pe,"Fields",{enumerable:!0,get:function(){return ke.Fields}});Object.defineProperty(Pe,"HttpRequest",{enumerable:!0,get:function(){return ke.HttpRequest}});Object.defineProperty(Pe,"HttpResponse",{enumerable:!0,get:function(){return ke.HttpResponse}});Object.defineProperty(Pe,"isValidHostname",{enumerable:!0,get:function(){return ke.isValidHostname}});Object.defineProperty(Pe,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return ke.getHttpHandlerExtensionConfiguration}});Object.defineProperty(Pe,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return ke.resolveHttpHandlerRuntimeConfig}})});var zs=$((hc)=>{var ie=Ee(),ys=mt(),tt=pe();class ws{format(e){let t=[];for(let c of Object.keys(e)){let o=ie.fromUtf8(c);t.push(Uint8Array.from([o.byteLength]),o,this.formatHeaderValue(e[c]))}let i=new Uint8Array(t.reduce((c,o)=>c+o.byteLength,0)),s=0;for(let c of t)i.set(c,s),s+=c.byteLength;return i}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let i=new DataView(new ArrayBuffer(5));return i.setUint8(0,4),i.setInt32(1,e.value,!1),new Uint8Array(i.buffer);case"long":let s=new Uint8Array(9);return s[0]=5,s.set(e.value.bytes,1),s;case"binary":let c=new DataView(new ArrayBuffer(3+e.value.byteLength));c.setUint8(0,6),c.setUint16(1,e.value.byteLength,!1);let o=new Uint8Array(c.buffer);return o.set(e.value,3),o;case"string":let a=ie.fromUtf8(e.value),l=new DataView(new ArrayBuffer(3+a.byteLength));l.setUint8(0,7),l.setUint16(1,a.byteLength,!1);let f=new Uint8Array(l.buffer);return f.set(a,3),f;case"timestamp":let m=new Uint8Array(9);return m[0]=8,m.set(Sr.fromNumber(e.value.valueOf()).bytes,1),m;case"uuid":if(!rc.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let g=new Uint8Array(17);return g[0]=9,g.set(ie.fromHex(e.value.replace(/\-/g,"")),1),g}}}var bs;(function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"})(bs||(bs={}));var rc=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class Sr{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>9223372036854776000||e<-9223372036854776000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let i=7,s=Math.abs(Math.round(e));i>-1&&s>0;i--,s/=256)t[i]=s;if(e<0)Es(t);return new Sr(t)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;if(t)Es(e);return parseInt(ie.toHex(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function Es(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1;t--)if(e[t]++,e[t]!==0)break}var xs="X-Amz-Algorithm",Ss="X-Amz-Credential",_r="X-Amz-Date",_s="X-Amz-SignedHeaders",Ts="X-Amz-Expires",Tr="X-Amz-Signature",Or="X-Amz-Security-Token",nc="X-Amz-Region-Set",Pr="authorization",Ar=_r.toLowerCase(),Os="date",Ps=[Pr,Ar,Os],As=Tr.toLowerCase(),Lt="x-amz-content-sha256",Cs=Or.toLowerCase(),sc="host",Is={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},Rs=/^proxy-/,Ds=/^sec-/,ic=[/^proxy-/i,/^sec-/i],Rt="AWS4-HMAC-SHA256",oc="AWS4-ECDSA-P256-SHA256",Ms="AWS4-HMAC-SHA256-PAYLOAD",js="UNSIGNED-PAYLOAD",Ls=50,Cr="aws4_request",$s=604800,Hs=({query:e={}})=>{let t=[],i={};for(let s of Object.keys(e)){if(s.toLowerCase()===As)continue;let c=tt.escapeUri(s);t.push(c);let o=e[s];if(typeof o==="string")i[c]=`${c}=${tt.escapeUri(o)}`;else if(Array.isArray(o))i[c]=o.slice(0).reduce((a,l)=>a.concat([`${c}=${tt.escapeUri(l)}`]),[]).sort().join("&")}return t.sort().map((s)=>i[s]).filter((s)=>s).join("&")},ac=(e)=>uc(e).toISOString().replace(/\.\d{3}Z$/,"Z"),uc=(e)=>{if(typeof e==="number")return new Date(e*1000);if(typeof e==="string"){if(Number(e))return new Date(Number(e)*1000);return new Date(e)}return e};class Ir{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:i,service:s,sha256:c,uriEscapePath:o=!0}){this.service=s,this.sha256=c,this.uriEscapePath=o,this.applyChecksum=typeof e==="boolean"?e:!0,this.regionProvider=ys.normalizeProvider(i),this.credentialProvider=ys.normalizeProvider(t)}createCanonicalRequest(e,t,i){let s=Object.keys(t).sort();return`${e.method}
1
+ import{D4 as as}from"./cli-0.2.0-kg83sjcw.mjs";import{Sla as Du,Tla as uu,Ula as os,Vla as Jc}from"./cli-0.2.0-stn798t9.mjs";import{$la as zn,Yla as Vi,Zla as mt,_la as Ct,ama as Ee,bma as pe}from"./cli-0.2.0-dtsxeqwx.mjs";import{ema as $,hma as ht}from"./cli-0.2.0-b8hs09nv.mjs";var Rn=$((xe)=>{Object.defineProperty(xe,"__esModule",{value:!0});xe.resolveHttpHandlerRuntimeConfig=xe.getHttpHandlerExtensionConfiguration=xe.isValidHostname=xe.HttpResponse=xe.HttpRequest=xe.Fields=xe.Field=void 0;var ze=pe();Object.defineProperty(xe,"Field",{enumerable:!0,get:function(){return ze.Field}});Object.defineProperty(xe,"Fields",{enumerable:!0,get:function(){return ze.Fields}});Object.defineProperty(xe,"HttpRequest",{enumerable:!0,get:function(){return ze.HttpRequest}});Object.defineProperty(xe,"HttpResponse",{enumerable:!0,get:function(){return ze.HttpResponse}});Object.defineProperty(xe,"isValidHostname",{enumerable:!0,get:function(){return ze.isValidHostname}});Object.defineProperty(xe,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return ze.getHttpHandlerExtensionConfiguration}});Object.defineProperty(xe,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return ze.resolveHttpHandlerRuntimeConfig}})});var Na=$((ma)=>{var da=Rn();function fa(e){return e}var Dn=(e)=>(t)=>async(i)=>{if(!da.HttpRequest.isInstance(i.request))return t(i);let{request:s}=i,{handlerProtocol:c=""}=e.requestHandler.metadata||{};if(c.indexOf("h2")>=0&&!s.headers[":authority"])delete s.headers.host,s.headers[":authority"]=s.hostname+(s.port?":"+s.port:"");else if(!s.headers.host){let o=s.hostname;if(s.port!=null)o+=`:${s.port}`;s.headers.host=o}return t(i)},Mn={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},pa=(e)=>({applyToStack:(t)=>{t.add(Dn(e),Mn)}});ma.getHostHeaderPlugin=pa;ma.hostHeaderMiddleware=Dn;ma.hostHeaderMiddlewareOptions=Mn;ma.resolveHostHeaderConfig=fa});var Oa=$((xa)=>{var jn=()=>(e,t)=>async(i)=>{try{let s=await e(i),{clientName:c,commandName:o,logger:a,dynamoDbDocumentClientOptions:l={}}=t,{overrideInputFilterSensitiveLog:f,overrideOutputFilterSensitiveLog:m}=l,g=f??t.inputFilterSensitiveLog,b=m??t.outputFilterSensitiveLog,{$metadata:w,..._}=s.output;return a?.info?.({clientName:c,commandName:o,input:g(i.input),output:b(_),metadata:w}),s}catch(s){let{clientName:c,commandName:o,logger:a,dynamoDbDocumentClientOptions:l={}}=t,{overrideInputFilterSensitiveLog:f}=l,m=f??t.inputFilterSensitiveLog;throw a?.error?.({clientName:c,commandName:o,input:m(i.input),error:s,metadata:s.$metadata}),s}},Ln={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},wa=(e)=>({applyToStack:(t)=>{t.add(jn(),Ln)}});xa.getLoggerPlugin=wa;xa.loggerMiddleware=jn;xa.loggerMiddlewareOptions=Ln});var Hn=$((Pa)=>{var lt={REQUEST_ID:Symbol.for("_AWS_LAMBDA_REQUEST_ID"),X_RAY_TRACE_ID:Symbol.for("_AWS_LAMBDA_X_RAY_TRACE_ID"),TENANT_ID:Symbol.for("_AWS_LAMBDA_TENANT_ID")},cr=["true","1"].includes(process.env?.AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA??"");if(!cr)globalThis.awslambda=globalThis.awslambda||{};class Pt{static PROTECTED_KEYS=lt;isProtectedKey(e){return Object.values(lt).includes(e)}getRequestId(){return this.get(lt.REQUEST_ID)??"-"}getXRayTraceId(){return this.get(lt.X_RAY_TRACE_ID)}getTenantId(){return this.get(lt.TENANT_ID)}}class $n extends Pt{currentContext;getContext(){return this.currentContext}hasContext(){return this.currentContext!==void 0}get(e){return this.currentContext?.[e]}set(e,t){if(this.isProtectedKey(e))throw Error(`Cannot modify protected Lambda context field: ${String(e)}`);this.currentContext=this.currentContext||{},this.currentContext[e]=t}run(e,t){return this.currentContext=e,t()}}class hr extends Pt{als;static async create(){let e=new hr,t=await import("node:async_hooks");return e.als=new t.AsyncLocalStorage,e}getContext(){return this.als.getStore()}hasContext(){return this.als.getStore()!==void 0}get(e){return this.als.getStore()?.[e]}set(e,t){if(this.isProtectedKey(e))throw Error(`Cannot modify protected Lambda context field: ${String(e)}`);let i=this.als.getStore();if(!i)throw Error("No context available");i[e]=t}run(e,t){return this.als.run(e,t)}}Pa.InvokeStore=void 0;(function(e){let t=null;async function i(s){if(!t)t=(async()=>{let o=s===!0||"AWS_LAMBDA_MAX_CONCURRENCY"in process.env?await hr.create():new $n;if(!cr&&globalThis.awslambda?.InvokeStore)return globalThis.awslambda.InvokeStore;else if(!cr&&globalThis.awslambda)return globalThis.awslambda.InvokeStore=o,o;else return o})();return t}e.getInstanceAsync=i,e._testing=process.env.AWS_LAMBDA_BENCHMARK_MODE==="1"?{reset:()=>{if(t=null,globalThis.awslambda?.InvokeStore)delete globalThis.awslambda.InvokeStore;globalThis.awslambda={InvokeStore:void 0}}}:void 0})(Pa.InvokeStore||(Pa.InvokeStore={}));Pa.InvokeStoreBase=Pt});var Un=$((Se)=>{Object.defineProperty(Se,"__esModule",{value:!0});Se.resolveHttpHandlerRuntimeConfig=Se.getHttpHandlerExtensionConfiguration=Se.isValidHostname=Se.HttpResponse=Se.HttpRequest=Se.Fields=Se.Field=void 0;var qe=pe();Object.defineProperty(Se,"Field",{enumerable:!0,get:function(){return qe.Field}});Object.defineProperty(Se,"Fields",{enumerable:!0,get:function(){return qe.Fields}});Object.defineProperty(Se,"HttpRequest",{enumerable:!0,get:function(){return qe.HttpRequest}});Object.defineProperty(Se,"HttpResponse",{enumerable:!0,get:function(){return qe.HttpResponse}});Object.defineProperty(Se,"isValidHostname",{enumerable:!0,get:function(){return qe.isValidHostname}});Object.defineProperty(Se,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return qe.getHttpHandlerExtensionConfiguration}});Object.defineProperty(Se,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return qe.resolveHttpHandlerRuntimeConfig}})});var Vn=$((Fn)=>{Object.defineProperty(Fn,"__esModule",{value:!0});Fn.recursionDetectionMiddleware=void 0;var Ia=Hn(),Ra=Un(),dr="X-Amzn-Trace-Id",Da="AWS_LAMBDA_FUNCTION_NAME",Ma="_X_AMZN_TRACE_ID",ja=()=>(e)=>async(t)=>{let{request:i}=t;if(!Ra.HttpRequest.isInstance(i))return e(t);let s=Object.keys(i.headers??{}).find((g)=>g.toLowerCase()===dr.toLowerCase())??dr;if(i.headers.hasOwnProperty(s))return e(t);let c=process.env[Da],o=process.env[Ma],f=(await Ia.InvokeStore.getInstanceAsync())?.getXRayTraceId()??o,m=(g)=>typeof g==="string"&&g.length>0;if(m(c)&&m(f))i.headers[dr]=f;return e({...t,request:i})};Fn.recursionDetectionMiddleware=ja});var Ua=$((ft)=>{var dt=Vn(),La={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},$a=(e)=>({applyToStack:(t)=>{t.add(dt.recursionDetectionMiddleware(),La)}});ft.getRecursionDetectionPlugin=$a;Object.prototype.hasOwnProperty.call(dt,"__proto__")&&!Object.prototype.hasOwnProperty.call(ft,"__proto__")&&Object.defineProperty(ft,"__proto__",{enumerable:!0,value:dt.__proto__});Object.keys(dt).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(ft,e))ft[e]=dt[e]})});var qn=$((ye)=>{Object.defineProperty(ye,"__esModule",{value:!0});ye.EndpointError=ye.resolveEndpoint=ye.customEndpointFunctions=ye.isValidHostLabel=ye.isIpAddress=ye.decideEndpoint=ye.EndpointCache=ye.BinaryDecisionDiagram=void 0;var Me=zn();Object.defineProperty(ye,"BinaryDecisionDiagram",{enumerable:!0,get:function(){return Me.BinaryDecisionDiagram}});Object.defineProperty(ye,"EndpointCache",{enumerable:!0,get:function(){return Me.EndpointCache}});Object.defineProperty(ye,"decideEndpoint",{enumerable:!0,get:function(){return Me.decideEndpoint}});Object.defineProperty(ye,"isIpAddress",{enumerable:!0,get:function(){return Me.isIpAddress}});Object.defineProperty(ye,"isValidHostLabel",{enumerable:!0,get:function(){return Me.isValidHostLabel}});Object.defineProperty(ye,"customEndpointFunctions",{enumerable:!0,get:function(){return Me.customEndpointFunctions}});Object.defineProperty(ye,"resolveEndpoint",{enumerable:!0,get:function(){return Me.resolveEndpoint}});Object.defineProperty(ye,"EndpointError",{enumerable:!0,get:function(){return Me.EndpointError}})});var Xn=$((fr)=>{Object.defineProperty(fr,"__esModule",{value:!0});fr.parseUrl=void 0;var Ba=pe();Object.defineProperty(fr,"parseUrl",{enumerable:!0,get:function(){return Ba.parseUrl}})});var es=$((Ya)=>{var ve=qn(),za=Xn(),kn=(e,t=!1)=>{if(t){for(let i of e.split("."))if(!kn(i))return!1;return!0}if(!ve.isValidHostLabel(e))return!1;if(e.length<3||e.length>63)return!1;if(e!==e.toLowerCase())return!1;if(ve.isIpAddress(e))return!1;return!0},Gn=":",qa="/",Xa=(e)=>{let t=e.split(Gn);if(t.length<6)return null;let[i,s,c,o,a,...l]=t;if(i!=="arn"||s===""||c===""||l.join(Gn)==="")return null;let f=l.map((m)=>m.split(qa)).flat();return{partition:s,service:c,region:o,accountId:a,resourceId:f}},Ga=[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-east-2":{description:"Asia Pacific (Taipei)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"ap-southeast-5":{description:"Asia Pacific (Malaysia)"},"ap-southeast-6":{description:"Asia Pacific (New Zealand)"},"ap-southeast-7":{description:"Asia Pacific (Thailand)"},"aws-global":{description:"aws global region"},"ca-central-1":{description:"Canada (Central)"},"ca-west-1":{description:"Canada West (Calgary)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"mx-central-1":{description:"Mexico (Central)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"aws-cn global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-eusc",outputs:{dnsSuffix:"amazonaws.eu",dualStackDnsSuffix:"api.amazonwebservices.eu",implicitGlobalRegion:"eusc-de-east-1",name:"aws-eusc",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eusc\\-(de)\\-\\w+\\-\\d+$",regions:{"eusc-de-east-1":{description:"AWS European Sovereign Cloud (Germany)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"api.aws.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"aws-iso global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"api.aws.scloud",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"aws-iso-b global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"},"us-isob-west-1":{description:"US ISOB West"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"api.cloud-aws.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"aws-iso-e-global":{description:"aws-iso-e global region"},"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"api.aws.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{"aws-iso-f-global":{description:"aws-iso-f global region"},"us-isof-east-1":{description:"US ISOF EAST"},"us-isof-south-1":{description:"US ISOF SOUTH"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"aws-us-gov global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}}],ka="1.1",Wn={partitions:Ga,version:ka},Qn=Wn,Kn="",Yn=(e)=>{let{partitions:t}=Qn;for(let s of t){let{regions:c,outputs:o}=s;for(let[a,l]of Object.entries(c))if(a===e)return{...o,...l}}for(let s of t){let{regionRegex:c,outputs:o}=s;if(new RegExp(c).test(e))return{...o}}let i=t.find((s)=>s.id==="aws");if(!i)throw Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...i.outputs}},Jn=(e,t="")=>{Qn=e,Kn=t},Wa=()=>{Jn(Wn,"")},Qa=()=>Kn,Zn={isVirtualHostableS3Bucket:kn,parseArn:Xa,partition:Yn};ve.customEndpointFunctions.aws=Zn;var Ka=(e)=>{if(typeof e.endpointProvider!=="function")throw Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.");let{endpoint:t}=e;if(t===void 0)e.endpoint=async()=>{return vn(e.endpointProvider({Region:typeof e.region==="function"?await e.region():e.region,UseDualStack:typeof e.useDualstackEndpoint==="function"?await e.useDualstackEndpoint():e.useDualstackEndpoint,UseFIPS:typeof e.useFipsEndpoint==="function"?await e.useFipsEndpoint():e.useFipsEndpoint,Endpoint:void 0},{logger:e.logger}))};return e},vn=(e)=>za.parseUrl(e.url);Ya.EndpointError=ve.EndpointError;Ya.isIpAddress=ve.isIpAddress;Ya.resolveEndpoint=ve.resolveEndpoint;Ya.awsEndpointFunctions=Zn;Ya.getUserAgentPrefix=Qa;Ya.partition=Yn;Ya.resolveDefaultAwsRegionalEndpointsConfig=Ka;Ya.setPartitionInfo=Jn;Ya.toEndpointV1=vn;Ya.useDefaultPartitionInfo=Wa});var ts=$((_e)=>{Object.defineProperty(_e,"__esModule",{value:!0});_e.resolveHttpHandlerRuntimeConfig=_e.getHttpHandlerExtensionConfiguration=_e.isValidHostname=_e.HttpResponse=_e.HttpRequest=_e.Fields=_e.Field=void 0;var Xe=pe();Object.defineProperty(_e,"Field",{enumerable:!0,get:function(){return Xe.Field}});Object.defineProperty(_e,"Fields",{enumerable:!0,get:function(){return Xe.Fields}});Object.defineProperty(_e,"HttpRequest",{enumerable:!0,get:function(){return Xe.HttpRequest}});Object.defineProperty(_e,"HttpResponse",{enumerable:!0,get:function(){return Xe.HttpResponse}});Object.defineProperty(_e,"isValidHostname",{enumerable:!0,get:function(){return Xe.isValidHostname}});Object.defineProperty(_e,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return Xe.getHttpHandlerExtensionConfiguration}});Object.defineProperty(_e,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return Xe.resolveHttpHandlerRuntimeConfig}})});var hs=$((wu)=>{var cu=as(),lu=es(),hu=ts(),Te=os(),rs=uu(),us=void 0;function du(e){if(e===void 0)return!0;return typeof e==="string"&&e.length<=50}function fu(e){let t=cu.normalizeProvider(e.userAgentAppId??us),{customUserAgent:i}=e;return Object.assign(e,{customUserAgent:typeof i==="string"?[[i]]:i,userAgentAppId:async()=>{let s=await t();if(!du(s)){let c=e.logger?.constructor?.name==="NoOpLogger"||!e.logger?console:e.logger;if(typeof s!=="string")c?.warn("userAgentAppId must be a string or undefined.");else if(s.length>50)c?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}return s}})}var pu=/\d{12}\.ddb/;async function mu(e,t,i){if(i.request?.headers?.["smithy-protocol"]==="rpc-v2-cbor")Te.setFeature(e,"PROTOCOL_RPC_V2_CBOR","M");if(typeof t.retryStrategy==="function"){let o=await t.retryStrategy();if(typeof o.mode==="string")switch(o.mode){case rs.RETRY_MODES.ADAPTIVE:Te.setFeature(e,"RETRY_MODE_ADAPTIVE","F");break;case rs.RETRY_MODES.STANDARD:Te.setFeature(e,"RETRY_MODE_STANDARD","E");break}}if(typeof t.accountIdEndpointMode==="function"){let o=e.endpointV2;if(String(o?.url?.hostname).match(pu))Te.setFeature(e,"ACCOUNT_ID_ENDPOINT","O");switch(await t.accountIdEndpointMode?.()){case"disabled":Te.setFeature(e,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":Te.setFeature(e,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":Te.setFeature(e,"ACCOUNT_ID_MODE_REQUIRED","R");break}}let c=e.__smithy_context?.selectedHttpAuthScheme?.identity;if(c?.$source){let o=c;if(o.accountId)Te.setFeature(e,"RESOLVED_ACCOUNT_ID","T");for(let[a,l]of Object.entries(o.$source??{}))Te.setFeature(e,a,l)}}var ns="user-agent",pr="x-amz-user-agent",ss=" ",mr="/",gu=/[^!$%&'*+\-.^_`|~\w]/g,yu=/[^!$%&'*+\-.^_`|~\w#]/g,is="-",bu=1024;function Eu(e){let t="";for(let i in e){let s=e[i];if(t.length+s.length+1<=bu){if(t.length)t+=","+s;else t+=s;continue}break}return t}var cs=(e)=>(t,i)=>async(s)=>{let{request:c}=s;if(!hu.HttpRequest.isInstance(c))return t(s);let{headers:o}=c,a=i?.userAgent?.map(At)||[],l=(await e.defaultUserAgentProvider()).map(At);await mu(i,e,s);let f=i;l.push(`m/${Eu(Object.assign({},i.__smithy_context?.features,f.__aws_sdk_context?.features))}`);let m=e?.customUserAgent?.map(At)||[],g=await e.userAgentAppId();if(g)l.push(At(["app",`${g}`]));let b=lu.getUserAgentPrefix(),w=(b?[b]:[]).concat([...l,...a,...m]).join(ss),_=[...l.filter((T)=>T.startsWith("aws-sdk-")),...m].join(ss);if(e.runtime!=="browser"){if(_)o[pr]=o[pr]?`${o[ns]} ${_}`:_;o[ns]=w}else o[pr]=w;return t({...s,request:c})},At=(e)=>{let t=e[0].split(mr).map((a)=>a.replace(gu,is)).join(mr),i=e[1]?.replace(yu,is),s=t.indexOf(mr),c=t.substring(0,s),o=t.substring(s+1);if(c==="api")o=o.toLowerCase();return[c,o,i].filter((a)=>a&&a.length>0).reduce((a,l,f)=>{switch(f){case 0:return l;case 1:return`${a}/${l}`;default:return`${a}#${l}`}},"")},ls={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},Nu=(e)=>({applyToStack:(t)=>{t.add(cs(e),ls)}});wu.DEFAULT_UA_APP_ID=us;wu.getUserAgentMiddlewareOptions=ls;wu.getUserAgentPlugin=Nu;wu.resolveUserAgentConfig=fu;wu.userAgentMiddleware=cs});var gr=$((J)=>{Object.defineProperty(J,"__esModule",{value:!0});J.getRegionInfo=J.resolveRegionConfig=J.NODE_REGION_CONFIG_FILE_OPTIONS=J.NODE_REGION_CONFIG_OPTIONS=J.REGION_INI_NAME=J.REGION_ENV_NAME=J.resolveEndpointsConfig=J.resolveCustomEndpointsConfig=J.nodeFipsConfigSelectors=J.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS=J.DEFAULT_USE_FIPS_ENDPOINT=J.CONFIG_USE_FIPS_ENDPOINT=J.ENV_USE_FIPS_ENDPOINT=J.nodeDualstackConfigSelectors=J.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS=J.DEFAULT_USE_DUALSTACK_ENDPOINT=J.CONFIG_USE_DUALSTACK_ENDPOINT=J.ENV_USE_DUALSTACK_ENDPOINT=void 0;var te=Ct();Object.defineProperty(J,"ENV_USE_DUALSTACK_ENDPOINT",{enumerable:!0,get:function(){return te.ENV_USE_DUALSTACK_ENDPOINT}});Object.defineProperty(J,"CONFIG_USE_DUALSTACK_ENDPOINT",{enumerable:!0,get:function(){return te.CONFIG_USE_DUALSTACK_ENDPOINT}});Object.defineProperty(J,"DEFAULT_USE_DUALSTACK_ENDPOINT",{enumerable:!0,get:function(){return te.DEFAULT_USE_DUALSTACK_ENDPOINT}});Object.defineProperty(J,"NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS",{enumerable:!0,get:function(){return te.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS}});Object.defineProperty(J,"nodeDualstackConfigSelectors",{enumerable:!0,get:function(){return te.nodeDualstackConfigSelectors}});Object.defineProperty(J,"ENV_USE_FIPS_ENDPOINT",{enumerable:!0,get:function(){return te.ENV_USE_FIPS_ENDPOINT}});Object.defineProperty(J,"CONFIG_USE_FIPS_ENDPOINT",{enumerable:!0,get:function(){return te.CONFIG_USE_FIPS_ENDPOINT}});Object.defineProperty(J,"DEFAULT_USE_FIPS_ENDPOINT",{enumerable:!0,get:function(){return te.DEFAULT_USE_FIPS_ENDPOINT}});Object.defineProperty(J,"NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS",{enumerable:!0,get:function(){return te.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS}});Object.defineProperty(J,"nodeFipsConfigSelectors",{enumerable:!0,get:function(){return te.nodeFipsConfigSelectors}});Object.defineProperty(J,"resolveCustomEndpointsConfig",{enumerable:!0,get:function(){return te.resolveCustomEndpointsConfig}});Object.defineProperty(J,"resolveEndpointsConfig",{enumerable:!0,get:function(){return te.resolveEndpointsConfig}});Object.defineProperty(J,"REGION_ENV_NAME",{enumerable:!0,get:function(){return te.REGION_ENV_NAME}});Object.defineProperty(J,"REGION_INI_NAME",{enumerable:!0,get:function(){return te.REGION_INI_NAME}});Object.defineProperty(J,"NODE_REGION_CONFIG_OPTIONS",{enumerable:!0,get:function(){return te.NODE_REGION_CONFIG_OPTIONS}});Object.defineProperty(J,"NODE_REGION_CONFIG_FILE_OPTIONS",{enumerable:!0,get:function(){return te.NODE_REGION_CONFIG_FILE_OPTIONS}});Object.defineProperty(J,"resolveRegionConfig",{enumerable:!0,get:function(){return te.resolveRegionConfig}});Object.defineProperty(J,"getRegionInfo",{enumerable:!0,get:function(){return te.getRegionInfo}})});var Cu=$((pt)=>{Object.defineProperty(pt,"__esModule",{value:!0});pt.getContentLengthPlugin=pt.contentLengthMiddlewareOptions=pt.contentLengthMiddleware=void 0;var yr=pe();Object.defineProperty(pt,"contentLengthMiddleware",{enumerable:!0,get:function(){return yr.contentLengthMiddleware}});Object.defineProperty(pt,"contentLengthMiddlewareOptions",{enumerable:!0,get:function(){return yr.contentLengthMiddlewareOptions}});Object.defineProperty(pt,"getContentLengthPlugin",{enumerable:!0,get:function(){return yr.getContentLengthPlugin}})});var Ru=$((be)=>{Object.defineProperty(be,"__esModule",{value:!0});be.resolveEndpointRequiredConfig=be.resolveEndpointConfig=be.getEndpointPlugin=be.endpointMiddlewareOptions=be.endpointMiddleware=be.toEndpointV1=be.resolveParams=be.getEndpointFromInstructions=void 0;var je=zn();Object.defineProperty(be,"getEndpointFromInstructions",{enumerable:!0,get:function(){return je.getEndpointFromInstructions}});Object.defineProperty(be,"resolveParams",{enumerable:!0,get:function(){return je.resolveParams}});Object.defineProperty(be,"toEndpointV1",{enumerable:!0,get:function(){return je.toEndpointV1}});Object.defineProperty(be,"endpointMiddleware",{enumerable:!0,get:function(){return je.endpointMiddleware}});Object.defineProperty(be,"endpointMiddlewareOptions",{enumerable:!0,get:function(){return je.endpointMiddlewareOptions}});Object.defineProperty(be,"getEndpointPlugin",{enumerable:!0,get:function(){return je.getEndpointPlugin}});Object.defineProperty(be,"resolveEndpointConfig",{enumerable:!0,get:function(){return je.resolveEndpointConfig}});Object.defineProperty(be,"resolveEndpointRequiredConfig",{enumerable:!0,get:function(){return je.resolveEndpointRequiredConfig}})});var ju=$((Z)=>{Object.defineProperty(Z,"__esModule",{value:!0});Z.retryMiddlewareOptions=Z.retryMiddleware=Z.resolveRetryConfig=Z.omitRetryHeadersMiddlewareOptions=Z.omitRetryHeadersMiddleware=Z.getRetryPlugin=Z.getRetryAfterHint=Z.getOmitRetryHeadersPlugin=Z.defaultRetryDecider=Z.defaultDelayDecider=Z.NODE_RETRY_MODE_CONFIG_OPTIONS=Z.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=Z.ENV_RETRY_MODE=Z.ENV_MAX_ATTEMPTS=Z.CONFIG_RETRY_MODE=Z.CONFIG_MAX_ATTEMPTS=Z.StandardRetryStrategy=Z.AdaptiveRetryStrategy=void 0;var re=Du();Object.defineProperty(Z,"AdaptiveRetryStrategy",{enumerable:!0,get:function(){return re.DeprecatedAdaptiveRetryStrategy}});Object.defineProperty(Z,"StandardRetryStrategy",{enumerable:!0,get:function(){return re.DeprecatedStandardRetryStrategy}});Object.defineProperty(Z,"CONFIG_MAX_ATTEMPTS",{enumerable:!0,get:function(){return re.CONFIG_MAX_ATTEMPTS}});Object.defineProperty(Z,"CONFIG_RETRY_MODE",{enumerable:!0,get:function(){return re.CONFIG_RETRY_MODE}});Object.defineProperty(Z,"ENV_MAX_ATTEMPTS",{enumerable:!0,get:function(){return re.ENV_MAX_ATTEMPTS}});Object.defineProperty(Z,"ENV_RETRY_MODE",{enumerable:!0,get:function(){return re.ENV_RETRY_MODE}});Object.defineProperty(Z,"NODE_MAX_ATTEMPT_CONFIG_OPTIONS",{enumerable:!0,get:function(){return re.NODE_MAX_ATTEMPT_CONFIG_OPTIONS}});Object.defineProperty(Z,"NODE_RETRY_MODE_CONFIG_OPTIONS",{enumerable:!0,get:function(){return re.NODE_RETRY_MODE_CONFIG_OPTIONS}});Object.defineProperty(Z,"defaultDelayDecider",{enumerable:!0,get:function(){return re.defaultDelayDecider}});Object.defineProperty(Z,"defaultRetryDecider",{enumerable:!0,get:function(){return re.defaultRetryDecider}});Object.defineProperty(Z,"getOmitRetryHeadersPlugin",{enumerable:!0,get:function(){return re.getOmitRetryHeadersPlugin}});Object.defineProperty(Z,"getRetryAfterHint",{enumerable:!0,get:function(){return re.getRetryAfterHint}});Object.defineProperty(Z,"getRetryPlugin",{enumerable:!0,get:function(){return re.getRetryPlugin}});Object.defineProperty(Z,"omitRetryHeadersMiddleware",{enumerable:!0,get:function(){return re.omitRetryHeadersMiddleware}});Object.defineProperty(Z,"omitRetryHeadersMiddlewareOptions",{enumerable:!0,get:function(){return re.omitRetryHeadersMiddlewareOptions}});Object.defineProperty(Z,"resolveRetryConfig",{enumerable:!0,get:function(){return re.resolveRetryConfig}});Object.defineProperty(Z,"retryMiddleware",{enumerable:!0,get:function(){return re.retryMiddleware}});Object.defineProperty(Z,"retryMiddlewareOptions",{enumerable:!0,get:function(){return re.retryMiddlewareOptions}})});var Hu=$((A)=>{Object.defineProperty(A,"__esModule",{value:!0});A.createAggregatedClient=A.convertMap=A._json=A.ServiceException=A.SENSITIVE_STRING=A.NoOpLogger=A.Command=A.Client=A.strictParseShort=A.strictParseLong=A.strictParseInt32=A.strictParseInt=A.strictParseFloat32=A.strictParseFloat=A.strictParseDouble=A.strictParseByte=A.splitHeader=A.splitEvery=A.quoteHeader=A.parseRfc7231DateTime=A.parseRfc3339DateTimeWithOffset=A.parseRfc3339DateTime=A.parseEpochTimestamp=A.parseBoolean=A.nv=A.logger=A.limitedParseFloat32=A.limitedParseFloat=A.limitedParseDouble=A.handleFloat=A.generateIdempotencyToken=A.expectUnion=A.expectString=A.expectShort=A.expectObject=A.expectNumber=A.expectNonNull=A.expectLong=A.expectInt32=A.expectInt=A.expectFloat32=A.expectByte=A.expectBoolean=A.dateToUtcString=A.copyDocumentWithTransform=A._parseRfc7231DateTime=A._parseRfc3339DateTimeWithOffset=A._parseEpochTimestamp=A.NumericValue=A.LazyJsonString=void 0;A.resolvedPath=A.extendedEncodeURIComponent=A.collectBody=A.withBaseException=A.throwDefaultError=A.take=A.serializeFloat=A.serializeDateTime=A.resolveDefaultRuntimeConfig=A.map=A.loadConfigsForDefaultMode=A.isSerializableHeaderValue=A.getValueFromTextNode=A.getDefaultExtensionConfiguration=A.getDefaultClientConfiguration=A.getArrayIfSingleItem=A.emitWarningIfUnsupportedVersion=A.decorateServiceException=void 0;var H=Ee();Object.defineProperty(A,"LazyJsonString",{enumerable:!0,get:function(){return H.LazyJsonString}});Object.defineProperty(A,"NumericValue",{enumerable:!0,get:function(){return H.NumericValue}});Object.defineProperty(A,"_parseEpochTimestamp",{enumerable:!0,get:function(){return H._parseEpochTimestamp}});Object.defineProperty(A,"_parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return H._parseRfc3339DateTimeWithOffset}});Object.defineProperty(A,"_parseRfc7231DateTime",{enumerable:!0,get:function(){return H._parseRfc7231DateTime}});Object.defineProperty(A,"copyDocumentWithTransform",{enumerable:!0,get:function(){return H.copyDocumentWithTransform}});Object.defineProperty(A,"dateToUtcString",{enumerable:!0,get:function(){return H.dateToUtcString}});Object.defineProperty(A,"expectBoolean",{enumerable:!0,get:function(){return H.expectBoolean}});Object.defineProperty(A,"expectByte",{enumerable:!0,get:function(){return H.expectByte}});Object.defineProperty(A,"expectFloat32",{enumerable:!0,get:function(){return H.expectFloat32}});Object.defineProperty(A,"expectInt",{enumerable:!0,get:function(){return H.expectInt}});Object.defineProperty(A,"expectInt32",{enumerable:!0,get:function(){return H.expectInt32}});Object.defineProperty(A,"expectLong",{enumerable:!0,get:function(){return H.expectLong}});Object.defineProperty(A,"expectNonNull",{enumerable:!0,get:function(){return H.expectNonNull}});Object.defineProperty(A,"expectNumber",{enumerable:!0,get:function(){return H.expectNumber}});Object.defineProperty(A,"expectObject",{enumerable:!0,get:function(){return H.expectObject}});Object.defineProperty(A,"expectShort",{enumerable:!0,get:function(){return H.expectShort}});Object.defineProperty(A,"expectString",{enumerable:!0,get:function(){return H.expectString}});Object.defineProperty(A,"expectUnion",{enumerable:!0,get:function(){return H.expectUnion}});Object.defineProperty(A,"generateIdempotencyToken",{enumerable:!0,get:function(){return H.generateIdempotencyToken}});Object.defineProperty(A,"handleFloat",{enumerable:!0,get:function(){return H.handleFloat}});Object.defineProperty(A,"limitedParseDouble",{enumerable:!0,get:function(){return H.limitedParseDouble}});Object.defineProperty(A,"limitedParseFloat",{enumerable:!0,get:function(){return H.limitedParseFloat}});Object.defineProperty(A,"limitedParseFloat32",{enumerable:!0,get:function(){return H.limitedParseFloat32}});Object.defineProperty(A,"logger",{enumerable:!0,get:function(){return H.logger}});Object.defineProperty(A,"nv",{enumerable:!0,get:function(){return H.nv}});Object.defineProperty(A,"parseBoolean",{enumerable:!0,get:function(){return H.parseBoolean}});Object.defineProperty(A,"parseEpochTimestamp",{enumerable:!0,get:function(){return H.parseEpochTimestamp}});Object.defineProperty(A,"parseRfc3339DateTime",{enumerable:!0,get:function(){return H.parseRfc3339DateTime}});Object.defineProperty(A,"parseRfc3339DateTimeWithOffset",{enumerable:!0,get:function(){return H.parseRfc3339DateTimeWithOffset}});Object.defineProperty(A,"parseRfc7231DateTime",{enumerable:!0,get:function(){return H.parseRfc7231DateTime}});Object.defineProperty(A,"quoteHeader",{enumerable:!0,get:function(){return H.quoteHeader}});Object.defineProperty(A,"splitEvery",{enumerable:!0,get:function(){return H.splitEvery}});Object.defineProperty(A,"splitHeader",{enumerable:!0,get:function(){return H.splitHeader}});Object.defineProperty(A,"strictParseByte",{enumerable:!0,get:function(){return H.strictParseByte}});Object.defineProperty(A,"strictParseDouble",{enumerable:!0,get:function(){return H.strictParseDouble}});Object.defineProperty(A,"strictParseFloat",{enumerable:!0,get:function(){return H.strictParseFloat}});Object.defineProperty(A,"strictParseFloat32",{enumerable:!0,get:function(){return H.strictParseFloat32}});Object.defineProperty(A,"strictParseInt",{enumerable:!0,get:function(){return H.strictParseInt}});Object.defineProperty(A,"strictParseInt32",{enumerable:!0,get:function(){return H.strictParseInt32}});Object.defineProperty(A,"strictParseLong",{enumerable:!0,get:function(){return H.strictParseLong}});Object.defineProperty(A,"strictParseShort",{enumerable:!0,get:function(){return H.strictParseShort}});var W=mt();Object.defineProperty(A,"Client",{enumerable:!0,get:function(){return W.Client}});Object.defineProperty(A,"Command",{enumerable:!0,get:function(){return W.Command}});Object.defineProperty(A,"NoOpLogger",{enumerable:!0,get:function(){return W.NoOpLogger}});Object.defineProperty(A,"SENSITIVE_STRING",{enumerable:!0,get:function(){return W.SENSITIVE_STRING}});Object.defineProperty(A,"ServiceException",{enumerable:!0,get:function(){return W.ServiceException}});Object.defineProperty(A,"_json",{enumerable:!0,get:function(){return W._json}});Object.defineProperty(A,"convertMap",{enumerable:!0,get:function(){return W.convertMap}});Object.defineProperty(A,"createAggregatedClient",{enumerable:!0,get:function(){return W.createAggregatedClient}});Object.defineProperty(A,"decorateServiceException",{enumerable:!0,get:function(){return W.decorateServiceException}});Object.defineProperty(A,"emitWarningIfUnsupportedVersion",{enumerable:!0,get:function(){return W.emitWarningIfUnsupportedVersion}});Object.defineProperty(A,"getArrayIfSingleItem",{enumerable:!0,get:function(){return W.getArrayIfSingleItem}});Object.defineProperty(A,"getDefaultClientConfiguration",{enumerable:!0,get:function(){return W.getDefaultClientConfiguration}});Object.defineProperty(A,"getDefaultExtensionConfiguration",{enumerable:!0,get:function(){return W.getDefaultExtensionConfiguration}});Object.defineProperty(A,"getValueFromTextNode",{enumerable:!0,get:function(){return W.getValueFromTextNode}});Object.defineProperty(A,"isSerializableHeaderValue",{enumerable:!0,get:function(){return W.isSerializableHeaderValue}});Object.defineProperty(A,"loadConfigsForDefaultMode",{enumerable:!0,get:function(){return W.loadConfigsForDefaultMode}});Object.defineProperty(A,"map",{enumerable:!0,get:function(){return W.map}});Object.defineProperty(A,"resolveDefaultRuntimeConfig",{enumerable:!0,get:function(){return W.resolveDefaultRuntimeConfig}});Object.defineProperty(A,"serializeDateTime",{enumerable:!0,get:function(){return W.serializeDateTime}});Object.defineProperty(A,"serializeFloat",{enumerable:!0,get:function(){return W.serializeFloat}});Object.defineProperty(A,"take",{enumerable:!0,get:function(){return W.take}});Object.defineProperty(A,"throwDefaultError",{enumerable:!0,get:function(){return W.throwDefaultError}});Object.defineProperty(A,"withBaseException",{enumerable:!0,get:function(){return W.withBaseException}});var br=pe();Object.defineProperty(A,"collectBody",{enumerable:!0,get:function(){return br.collectBody}});Object.defineProperty(A,"extendedEncodeURIComponent",{enumerable:!0,get:function(){return br.extendedEncodeURIComponent}});Object.defineProperty(A,"resolvedPath",{enumerable:!0,get:function(){return br.resolvedPath}})});var ds=$((Er)=>{Object.defineProperty(Er,"__esModule",{value:!0});Er.loadConfig=void 0;var Uu=Ct();Object.defineProperty(Er,"loadConfig",{enumerable:!0,get:function(){return Uu.loadConfig}})});var ms=$((ps)=>{Object.defineProperty(ps,"__esModule",{value:!0});ps.warning=void 0;ps.stsRegionDefaultResolver=Vu;var fs=gr(),Bu=ds();function Vu(e={}){return(0,Bu.loadConfig)({...fs.NODE_REGION_CONFIG_OPTIONS,async default(){if(!ps.warning.silence)console.warn("@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly.");return"us-east-1"}},{...fs.NODE_REGION_CONFIG_FILE_OPTIONS,...e})}ps.warning={silence:!1}});var Zu=$((gt)=>{var It=ms(),yt=gr(),qu=(e)=>{return{setRegion(t){e.region=t},region(){return e.region}}},Xu=(e)=>{return{region:e.region()}};gt.NODE_REGION_CONFIG_FILE_OPTIONS=yt.NODE_REGION_CONFIG_FILE_OPTIONS;gt.NODE_REGION_CONFIG_OPTIONS=yt.NODE_REGION_CONFIG_OPTIONS;gt.REGION_ENV_NAME=yt.REGION_ENV_NAME;gt.REGION_INI_NAME=yt.REGION_INI_NAME;gt.resolveRegionConfig=yt.resolveRegionConfig;gt.getAwsRegionExtensionConfiguration=qu;gt.resolveAwsRegionExtensionConfiguration=Xu;Object.prototype.hasOwnProperty.call(It,"__proto__")&&!Object.prototype.hasOwnProperty.call(gt,"__proto__")&&Object.defineProperty(gt,"__proto__",{enumerable:!0,value:It.__proto__});Object.keys(It).forEach(function(e){if(e!=="default"&&!Object.prototype.hasOwnProperty.call(gt,e))gt[e]=It[e]})});var ec=$((Oe)=>{Object.defineProperty(Oe,"__esModule",{value:!0});Oe.resolveHttpHandlerRuntimeConfig=Oe.getHttpHandlerExtensionConfiguration=Oe.isValidHostname=Oe.HttpResponse=Oe.HttpRequest=Oe.Fields=Oe.Field=void 0;var Ge=pe();Object.defineProperty(Oe,"Field",{enumerable:!0,get:function(){return Ge.Field}});Object.defineProperty(Oe,"Fields",{enumerable:!0,get:function(){return Ge.Fields}});Object.defineProperty(Oe,"HttpRequest",{enumerable:!0,get:function(){return Ge.HttpRequest}});Object.defineProperty(Oe,"HttpResponse",{enumerable:!0,get:function(){return Ge.HttpResponse}});Object.defineProperty(Oe,"isValidHostname",{enumerable:!0,get:function(){return Ge.isValidHostname}});Object.defineProperty(Oe,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return Ge.getHttpHandlerExtensionConfiguration}});Object.defineProperty(Oe,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return Ge.resolveHttpHandlerRuntimeConfig}})});var gs=$((Pe)=>{Object.defineProperty(Pe,"__esModule",{value:!0});Pe.resolveHttpHandlerRuntimeConfig=Pe.getHttpHandlerExtensionConfiguration=Pe.isValidHostname=Pe.HttpResponse=Pe.HttpRequest=Pe.Fields=Pe.Field=void 0;var ke=pe();Object.defineProperty(Pe,"Field",{enumerable:!0,get:function(){return ke.Field}});Object.defineProperty(Pe,"Fields",{enumerable:!0,get:function(){return ke.Fields}});Object.defineProperty(Pe,"HttpRequest",{enumerable:!0,get:function(){return ke.HttpRequest}});Object.defineProperty(Pe,"HttpResponse",{enumerable:!0,get:function(){return ke.HttpResponse}});Object.defineProperty(Pe,"isValidHostname",{enumerable:!0,get:function(){return ke.isValidHostname}});Object.defineProperty(Pe,"getHttpHandlerExtensionConfiguration",{enumerable:!0,get:function(){return ke.getHttpHandlerExtensionConfiguration}});Object.defineProperty(Pe,"resolveHttpHandlerRuntimeConfig",{enumerable:!0,get:function(){return ke.resolveHttpHandlerRuntimeConfig}})});var zs=$((hc)=>{var ie=Ee(),ys=mt(),tt=pe();class ws{format(e){let t=[];for(let c of Object.keys(e)){let o=ie.fromUtf8(c);t.push(Uint8Array.from([o.byteLength]),o,this.formatHeaderValue(e[c]))}let i=new Uint8Array(t.reduce((c,o)=>c+o.byteLength,0)),s=0;for(let c of t)i.set(c,s),s+=c.byteLength;return i}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let i=new DataView(new ArrayBuffer(5));return i.setUint8(0,4),i.setInt32(1,e.value,!1),new Uint8Array(i.buffer);case"long":let s=new Uint8Array(9);return s[0]=5,s.set(e.value.bytes,1),s;case"binary":let c=new DataView(new ArrayBuffer(3+e.value.byteLength));c.setUint8(0,6),c.setUint16(1,e.value.byteLength,!1);let o=new Uint8Array(c.buffer);return o.set(e.value,3),o;case"string":let a=ie.fromUtf8(e.value),l=new DataView(new ArrayBuffer(3+a.byteLength));l.setUint8(0,7),l.setUint16(1,a.byteLength,!1);let f=new Uint8Array(l.buffer);return f.set(a,3),f;case"timestamp":let m=new Uint8Array(9);return m[0]=8,m.set(Sr.fromNumber(e.value.valueOf()).bytes,1),m;case"uuid":if(!rc.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let g=new Uint8Array(17);return g[0]=9,g.set(ie.fromHex(e.value.replace(/\-/g,"")),1),g}}}var bs;(function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"})(bs||(bs={}));var rc=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class Sr{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>9223372036854776000||e<-9223372036854776000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let i=7,s=Math.abs(Math.round(e));i>-1&&s>0;i--,s/=256)t[i]=s;if(e<0)Es(t);return new Sr(t)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;if(t)Es(e);return parseInt(ie.toHex(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function Es(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1;t--)if(e[t]++,e[t]!==0)break}var xs="X-Amz-Algorithm",Ss="X-Amz-Credential",_r="X-Amz-Date",_s="X-Amz-SignedHeaders",Ts="X-Amz-Expires",Tr="X-Amz-Signature",Or="X-Amz-Security-Token",nc="X-Amz-Region-Set",Pr="authorization",Ar=_r.toLowerCase(),Os="date",Ps=[Pr,Ar,Os],As=Tr.toLowerCase(),Lt="x-amz-content-sha256",Cs=Or.toLowerCase(),sc="host",Is={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},Rs=/^proxy-/,Ds=/^sec-/,ic=[/^proxy-/i,/^sec-/i],Rt="AWS4-HMAC-SHA256",oc="AWS4-ECDSA-P256-SHA256",Ms="AWS4-HMAC-SHA256-PAYLOAD",js="UNSIGNED-PAYLOAD",Ls=50,Cr="aws4_request",$s=604800,Hs=({query:e={}})=>{let t=[],i={};for(let s of Object.keys(e)){if(s.toLowerCase()===As)continue;let c=tt.escapeUri(s);t.push(c);let o=e[s];if(typeof o==="string")i[c]=`${c}=${tt.escapeUri(o)}`;else if(Array.isArray(o))i[c]=o.slice(0).reduce((a,l)=>a.concat([`${c}=${tt.escapeUri(l)}`]),[]).sort().join("&")}return t.sort().map((s)=>i[s]).filter((s)=>s).join("&")},ac=(e)=>uc(e).toISOString().replace(/\.\d{3}Z$/,"Z"),uc=(e)=>{if(typeof e==="number")return new Date(e*1000);if(typeof e==="string"){if(Number(e))return new Date(Number(e)*1000);return new Date(e)}return e};class Ir{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:e,credentials:t,region:i,service:s,sha256:c,uriEscapePath:o=!0}){this.service=s,this.sha256=c,this.uriEscapePath=o,this.applyChecksum=typeof e==="boolean"?e:!0,this.regionProvider=ys.normalizeProvider(i),this.credentialProvider=ys.normalizeProvider(t)}createCanonicalRequest(e,t,i){let s=Object.keys(t).sort();return`${e.method}
2
2
  ${this.getCanonicalPath(e)}
3
3
  ${Hs(e)}
4
4
  ${s.map((c)=>`${c}:${t[c]}`).join(`
@@ -17,4 +17,4 @@ ${ie.toHex(o)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(l
17
17
  `,this.newLine=`
18
18
  `):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function oa(r,n,u,h){let d=this.extractAttributes(r);if(h.push(n,d),this.checkStopNode(h)){let x=this.buildRawContent(r),y=this.buildAttributesForStopNode(r);return h.pop(),this.buildObjectNode(x,n,y,u)}let p=this.j2x(r,u+1,h);return h.pop(),r[this.options.textNodeName]!==void 0&&Object.keys(r).length===1?this.buildTextValNode(r[this.options.textNodeName],n,p.attrStr,u,h):this.buildObjectNode(p.val,n,p.attrStr,u)}function aa(r){return this.options.indentBy.repeat(r)}function ua(r){return!(!r.startsWith(this.options.attributeNamePrefix)||r===this.options.textNodeName)&&r.substr(this.attrPrefixLen)}fe.prototype.build=function(r){if(this.options.preserveOrder)return ta(r,this.options);{Array.isArray(r)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(r={[this.options.arrayNodeName]:r});let n=new Tt;return this.j2x(r,0,n).val}},fe.prototype.j2x=function(r,n,u){let h="",d="";if(this.options.maxNestedTags&&u.getDepth()>=this.options.maxNestedTags)throw Error("Maximum nested tags exceeded");let p=this.options.jPath?u.toString():u,x=this.checkStopNode(u);for(let y in r)if(Object.prototype.hasOwnProperty.call(r,y))if(r[y]===void 0)this.isAttribute(y)&&(d+="");else if(r[y]===null)this.isAttribute(y)||y===this.options.cdataPropName?d+="":y[0]==="?"?d+=this.indentate(n)+"<"+y+"?"+this.tagEndChar:d+=this.indentate(n)+"<"+y+"/"+this.tagEndChar;else if(r[y]instanceof Date)d+=this.buildTextValNode(r[y],y,"",n,u);else if(typeof r[y]!="object"){let N=this.isAttribute(y);if(N&&!this.ignoreAttributesFn(N,p))h+=this.buildAttrPairStr(N,""+r[y],x);else if(!N)if(y===this.options.textNodeName){let E=this.options.tagValueProcessor(y,""+r[y]);d+=this.replaceEntitiesValue(E)}else{u.push(y);let E=this.checkStopNode(u);if(u.pop(),E){let S=""+r[y];d+=S===""?this.indentate(n)+"<"+y+this.closeTag(y)+this.tagEndChar:this.indentate(n)+"<"+y+">"+S+"</"+y+this.tagEndChar}else d+=this.buildTextValNode(r[y],y,"",n,u)}}else if(Array.isArray(r[y])){let N=r[y].length,E="",S="";for(let O=0;O<N;O++){let I=r[y][O];if(I===void 0);else if(I===null)y[0]==="?"?d+=this.indentate(n)+"<"+y+"?"+this.tagEndChar:d+=this.indentate(n)+"<"+y+"/"+this.tagEndChar;else if(typeof I=="object")if(this.options.oneListGroup){u.push(y);let D=this.j2x(I,n+1,u);u.pop(),E+=D.val,this.options.attributesGroupName&&I.hasOwnProperty(this.options.attributesGroupName)&&(S+=D.attrStr)}else E+=this.processTextOrObjNode(I,y,n,u);else if(this.options.oneListGroup){let D=this.options.tagValueProcessor(y,I);D=this.replaceEntitiesValue(D),E+=D}else{u.push(y);let D=this.checkStopNode(u);if(u.pop(),D){let M=""+I;E+=M===""?this.indentate(n)+"<"+y+this.closeTag(y)+this.tagEndChar:this.indentate(n)+"<"+y+">"+M+"</"+y+this.tagEndChar}else E+=this.buildTextValNode(I,y,"",n,u)}}this.options.oneListGroup&&(E=this.buildObjectNode(E,y,S,n)),d+=E}else if(this.options.attributesGroupName&&y===this.options.attributesGroupName){let N=Object.keys(r[y]),E=N.length;for(let S=0;S<E;S++)h+=this.buildAttrPairStr(N[S],""+r[y][N[S]],x)}else d+=this.processTextOrObjNode(r[y],y,n,u);return{attrStr:h,val:d}},fe.prototype.buildAttrPairStr=function(r,n,u){return u||(n=this.options.attributeValueProcessor(r,""+n),n=this.replaceEntitiesValue(n)),this.options.suppressBooleanAttributes&&n==="true"?" "+r:" "+r+'="'+n+'"'},fe.prototype.extractAttributes=function(r){if(!r||typeof r!="object")return null;let n={},u=!1;if(this.options.attributesGroupName&&r[this.options.attributesGroupName]){let h=r[this.options.attributesGroupName];for(let d in h)Object.prototype.hasOwnProperty.call(h,d)&&(n[d.startsWith(this.options.attributeNamePrefix)?d.substring(this.options.attributeNamePrefix.length):d]=h[d],u=!0)}else for(let h in r){if(!Object.prototype.hasOwnProperty.call(r,h))continue;let d=this.isAttribute(h);d&&(n[d]=r[h],u=!0)}return u?n:null},fe.prototype.buildRawContent=function(r){if(typeof r=="string")return r;if(typeof r!="object"||r===null)return String(r);if(r[this.options.textNodeName]!==void 0)return r[this.options.textNodeName];let n="";for(let u in r){if(!Object.prototype.hasOwnProperty.call(r,u))continue;if(this.isAttribute(u))continue;if(this.options.attributesGroupName&&u===this.options.attributesGroupName)continue;let h=r[u];if(u===this.options.textNodeName)n+=h;else if(Array.isArray(h)){for(let d of h)if(typeof d=="string"||typeof d=="number")n+=`<${u}>${d}</${u}>`;else if(typeof d=="object"&&d!==null){let p=this.buildRawContent(d),x=this.buildAttributesForStopNode(d);n+=p===""?`<${u}${x}/>`:`<${u}${x}>${p}</${u}>`}}else if(typeof h=="object"&&h!==null){let d=this.buildRawContent(h),p=this.buildAttributesForStopNode(h);n+=d===""?`<${u}${p}/>`:`<${u}${p}>${d}</${u}>`}else n+=`<${u}>${h}</${u}>`}return n},fe.prototype.buildAttributesForStopNode=function(r){if(!r||typeof r!="object")return"";let n="";if(this.options.attributesGroupName&&r[this.options.attributesGroupName]){let u=r[this.options.attributesGroupName];for(let h in u){if(!Object.prototype.hasOwnProperty.call(u,h))continue;let d=h.startsWith(this.options.attributeNamePrefix)?h.substring(this.options.attributeNamePrefix.length):h,p=u[h];p===!0&&this.options.suppressBooleanAttributes?n+=" "+d:n+=" "+d+'="'+p+'"'}}else for(let u in r){if(!Object.prototype.hasOwnProperty.call(r,u))continue;let h=this.isAttribute(u);if(h){let d=r[u];d===!0&&this.options.suppressBooleanAttributes?n+=" "+h:n+=" "+h+'="'+d+'"'}}return n},fe.prototype.buildObjectNode=function(r,n,u,h){if(r==="")return n[0]==="?"?this.indentate(h)+"<"+n+u+"?"+this.tagEndChar:this.indentate(h)+"<"+n+u+this.closeTag(n)+this.tagEndChar;{let d="</"+n+this.tagEndChar,p="";return n[0]==="?"&&(p="?",d=""),!u&&u!==""||r.indexOf("<")!==-1?this.options.commentPropName!==!1&&n===this.options.commentPropName&&p.length===0?this.indentate(h)+`<!--${r}-->`+this.newLine:this.indentate(h)+"<"+n+u+p+this.tagEndChar+r+this.indentate(h)+d:this.indentate(h)+"<"+n+u+p+">"+r+d}},fe.prototype.closeTag=function(r){let n="";return this.options.unpairedTags.indexOf(r)!==-1?this.options.suppressUnpairedNode||(n="/"):n=this.options.suppressEmptyNode?"/":`></${r}`,n},fe.prototype.checkStopNode=function(r){if(!this.stopNodeExpressions||this.stopNodeExpressions.length===0)return!1;for(let n=0;n<this.stopNodeExpressions.length;n++)if(r.matches(this.stopNodeExpressions[n]))return!0;return!1},fe.prototype.buildTextValNode=function(r,n,u,h,d){if(this.options.cdataPropName!==!1&&n===this.options.cdataPropName){let p=String(r).replace(/\]\]>/g,"]]]]><![CDATA[>");return this.indentate(h)+`<![CDATA[${p}]]>`+this.newLine}if(this.options.commentPropName!==!1&&n===this.options.commentPropName){let p=String(r).replace(/--/g,"- -").replace(/-$/,"- ");return this.indentate(h)+`<!--${p}-->`+this.newLine}if(n[0]==="?")return this.indentate(h)+"<"+n+u+"?"+this.tagEndChar;{let p=this.options.tagValueProcessor(n,r);return p=this.replaceEntitiesValue(p),p===""?this.indentate(h)+"<"+n+u+this.closeTag(n)+this.tagEndChar:this.indentate(h)+"<"+n+u+">"+p+"</"+n+this.tagEndChar}},fe.prototype.replaceEntitiesValue=function(r){if(r&&r.length>0&&this.options.processEntities)for(let n=0;n<this.options.entities.length;n++){let u=this.options.entities[n];r=r.replace(u.regex,u.val)}return r};let ca=fe,la={validate:m};eo.exports=t})()});var oo=$((no)=>{Object.defineProperty(no,"__esModule",{value:!0});no.EntityDecoderImpl=no.CURRENCY=no.COMMON_HTML=no.XML=void 0;no.XML={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};no.COMMON_HTML={nbsp:" ",copy:"©",reg:"®",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"«",raquo:"»",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"¶",sect:"§",deg:"°",frac12:"½",frac14:"¼",frac34:"¾"};no.CURRENCY={cent:"¢",pound:"£",curren:"¤",yen:"¥",euro:"€",dollar:"$",fnof:"ƒ",inr:"₹",af:"؋",birr:"ብር",peso:"₱",rub:"₽",won:"₩",yuan:"¥",cedil:"¸"};var Fh=new Set("!?\\/[]$%{}^&*()<>|+");function ro(e){if(e[0]==="#")throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(let t of e)if(Fh.has(t))throw Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);return e}function en(...e){let t=Object.create(null);for(let i of e){if(!i)continue;for(let s of Object.keys(i)){let c=i[s];if(typeof c==="string")t[s]=c;else if(c&&typeof c==="object"&&c.val!==void 0){let o=c.val;if(typeof o==="string")t[s]=o}}}return t}var Ye="external",Wt="base",tn="all";function Bh(e){if(!e||e===Ye)return new Set([Ye]);if(e===tn)return new Set([tn]);if(e===Wt)return new Set([Wt]);if(Array.isArray(e))return new Set(e);return new Set([Ye])}var le=Object.freeze({allow:0,leave:1,remove:2,throw:3}),Vh=new Set([9,10,13]);function zh(e){if(!e)return{xmlVersion:1,onLevel:le.allow,nullLevel:le.remove};let t=e.xmlVersion===1.1?1.1:1,i=le[e.onNCR??"allow"]??le.allow,s=le[e.nullNCR??"remove"]??le.remove,c=Math.max(s,le.remove);return{xmlVersion:t,onLevel:i,nullLevel:c}}var qh=class{_limit;_maxTotalExpansions;_maxExpandedLength;_postCheck;_limitTiers;_numericAllowed;_baseMap;_externalMap;_inputMap;_totalExpansions;_expandedLength;_removeSet;_leaveSet;_ncrXmlVersion;_ncrOnLevel;_ncrNullLevel;constructor(t={}){this._limit=t.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck=typeof t.postCheck==="function"?t.postCheck:(s)=>s,this._limitTiers=Bh(this._limit.applyLimitsTo??Ye),this._numericAllowed=t.numericAllowed??!0,this._baseMap=en(no.XML,t.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(t.remove&&Array.isArray(t.remove)?t.remove:[]),this._leaveSet=new Set(t.leave&&Array.isArray(t.leave)?t.leave:[]);let i=zh(t.ncr);this._ncrXmlVersion=i.xmlVersion,this._ncrOnLevel=i.onLevel,this._ncrNullLevel=i.nullLevel}setExternalEntities(t){if(t)for(let i of Object.keys(t))ro(i);this._externalMap=en(t)}addExternalEntity(t,i){if(ro(t),typeof i==="string"&&i.indexOf("&")===-1)this._externalMap[t]=i}addInputEntities(t){this._totalExpansions=0,this._expandedLength=0,this._inputMap=en(t)}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(t){this._ncrXmlVersion=t==="1.1"||t===1.1?1.1:1}decode(t){if(typeof t!=="string"||t.length===0)return t;let i=t,s=[],c=t.length,o=0,a=0,l=this._maxTotalExpansions>0,f=this._maxExpandedLength>0,m=l||f;while(a<c){if(t.charCodeAt(a)!==38){a++;continue}let b=a+1;while(b<c&&t.charCodeAt(b)!==59&&b-a<=32)b++;if(b>=c||t.charCodeAt(b)!==59){a++;continue}let w=t.slice(a+1,b);if(w.length===0){a++;continue}let _,T;if(this._removeSet.has(w)){if(_="",T===void 0)T=Ye}else if(this._leaveSet.has(w)){a++;continue}else if(w.charCodeAt(0)===35){let P=this._resolveNCR(w);if(P===void 0){a++;continue}_=P,T=Wt}else{let P=this._resolveName(w);_=P?.value,T=P?.tier}if(_===void 0){a++;continue}if(a>o)s.push(t.slice(o,a));if(s.push(_),o=b+1,a=o,m&&this._tierCounts(T)){if(l){if(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions)throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`)}if(f){let P=_.length-(w.length+2);if(P>0){if(this._expandedLength+=P,this._expandedLength>this._maxExpandedLength)throw Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}}if(o<c)s.push(t.slice(o));let g=s.length===0?t:s.join("");return this._postCheck(g,i)}_tierCounts(t){if(this._limitTiers.has(tn))return!0;return this._limitTiers.has(t)}_resolveName(t){if(t in this._inputMap)return{value:this._inputMap[t],tier:Ye};if(t in this._externalMap)return{value:this._externalMap[t],tier:Ye};if(t in this._baseMap)return{value:this._baseMap[t],tier:Wt};return}_classifyNCR(t){if(t===0)return this._ncrNullLevel;if(t>=55296&&t<=57343)return le.remove;if(this._ncrXmlVersion===1){if(t>=1&&t<=31&&!Vh.has(t))return le.remove}return-1}_applyNCRAction(t,i,s){switch(t){case le.allow:return String.fromCodePoint(s);case le.remove:return"";case le.leave:return;case le.throw:throw Error(`[EntityDecoder] Prohibited numeric character reference &${i}; (U+${s.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(s)}}_resolveNCR(t){let i=t.charCodeAt(1),s;if(i===120||i===88)s=parseInt(t.slice(2),16);else s=parseInt(t.slice(1),10);if(Number.isNaN(s)||s<0||s>1114111)return;let c=this._classifyNCR(s);if(!this._numericAllowed&&c<le.remove)return;let o=c===-1?this._ncrOnLevel:Math.max(this._ncrOnLevel,c);return this._applyNCRAction(o,t,s)}};no.EntityDecoderImpl=qh});var uo=$((ao)=>{Object.defineProperty(ao,"__esModule",{value:!0});ao.parseXML=Qh;var kh=to(),Qt=oo(),Kt=new Qt.EntityDecoderImpl({namedEntities:{...Qt.XML,...Qt.COMMON_HTML,...Qt.CURRENCY},numericAllowed:!0,limit:{maxTotalExpansions:1/0},ncr:{xmlVersion:1.1}}),Wh=new kh.XMLParser({attributeNamePrefix:"",processEntities:{enabled:!0,maxTotalExpansions:1/0},htmlEntities:!0,entityDecoder:{setExternalEntities:(e)=>{Kt.setExternalEntities(e)},addInputEntities:(e)=>{Kt.addInputEntities(e)},reset:()=>{Kt.reset()},decode:(e)=>{return Kt.decode(e)},setXmlVersion:(e)=>{return}},ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(e,t)=>t.trim()===""&&t.includes(`
19
19
  `)?"":void 0,maxNestedTags:1/0});function Qh(e){return Wh.parse(e,!0)}});var co=$((nd)=>{var Yh=uo(),Jh=/[&<>"]/g,Zh={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function vh(e){return e.replace(Jh,(t)=>Zh[t])}var ed=/[&"'<>\r\n\u0085\u2028]/g,td={"&":"&amp;",'"':"&quot;","'":"&apos;","<":"&lt;",">":"&gt;","\r":"&#x0D;","\n":"&#x0A;","…":"&#x85;","\u2028":"&#x2028;"};function rd(e){return e.replace(ed,(t)=>td[t])}class rn{value;constructor(e){this.value=e}toString(){return rd(""+this.value)}}class _t{name;children;attributes={};static of(e,t,i){let s=new _t(e);if(t!==void 0)s.addChildNode(new rn(t));if(i!==void 0)s.withName(i);return s}constructor(e,t=[]){this.name=e,this.children=t}withName(e){return this.name=e,this}addAttribute(e,t){return this.attributes[e]=t,this}addChildNode(e){return this.children.push(e),this}removeAttribute(e){return delete this.attributes[e],this}n(e){return this.name=e,this}c(e){return this.children.push(e),this}a(e,t){if(t!=null)this.attributes[e]=t;return this}cc(e,t,i=t){if(e[t]!=null){let s=_t.of(t,e[t]).withName(i);this.c(s)}}l(e,t,i,s){if(e[t]!=null)s().map((o)=>{o.withName(i),this.c(o)})}lc(e,t,i,s){if(e[t]!=null){let c=s(),o=new _t(i);c.map((a)=>{o.c(a)}),this.c(o)}}toString(){let e=Boolean(this.children.length),t=`<${this.name}`,i=this.attributes;for(let s of Object.keys(i)){let c=i[s];if(c!=null)t+=` ${s}="${vh(""+c)}"`}return t+=!e?"/>":`>${this.children.map((s)=>s.toString()).join("")}</${this.name}>`}}nd.parseXML=Yh.parseXML;nd.XmlNode=_t;nd.XmlText=rn});var Bd=$((pd)=>{var lo=Yi(),k=Vi(),De=Ji(),se=pe(),ee=Ee(),at=vi(),po=Hi(),ue=co();class ut{queryCompat;errorRegistry;constructor(e=!1){this.queryCompat=e}resolveRestContentType(e,t){let i=t.getMemberSchemas(),s=Object.values(i).find((c)=>{return!!c.getMergedTraits().httpPayload});if(s){let c=s.getMergedTraits().mediaType;if(c)return c;else if(s.isStringSchema())return"text/plain";else if(s.isBlobSchema())return"application/octet-stream";else return e}else if(!t.isUnitSchema()){if(Object.values(i).find((o)=>{let{httpQuery:a,httpQueryParams:l,httpHeader:f,httpLabel:m,httpPrefixHeaders:g}=o.getMergedTraits();return!a&&!l&&!f&&!m&&g===void 0}))return e}}async getErrorSchemaOrThrowBaseException(e,t,i,s,c,o){let a=e;if(e.includes("#"))[,a]=e.split("#");let l={$metadata:c,$fault:i.statusCode<500?"client":"server"};if(!this.errorRegistry)throw Error("@aws-sdk/core/protocols - error handler not initialized.");try{return{errorSchema:o?.(this.errorRegistry,a)??this.errorRegistry.getSchema(e),errorMetadata:l}}catch(f){s.message=s.message??s.Message??"UnknownError";let m=this.errorRegistry,g=m.getBaseException();if(g){let _=m.getErrorCtor(g)??Error;throw this.decorateServiceException(Object.assign(new _({name:a}),l),s)}let b=s,w=b?.message??b?.Message??b?.Error?.Message??b?.Error?.message;throw this.decorateServiceException(Object.assign(Error(w),{name:a},l),s)}}compose(e,t,i){let s=i;if(t.includes("#"))[s]=t.split("#");let c=k.TypeRegistry.for(s),o=k.TypeRegistry.for("smithy.ts.sdk.synthetic."+i);e.copyFrom(c),e.copyFrom(o),this.errorRegistry=e}decorateServiceException(e,t={}){if(this.queryCompat){let i=e.Message??t.Message,s=De.decorateServiceException(e,t);if(i)s.message=i;let c=s.Error??{};c.Type=s.Error?.Type,c.Code=s.Error?.Code,c.Message=s.Error?.message??s.Error?.Message??i,s.Error=c;let o=s.$metadata.requestId;if(o)s.RequestId=o;return s}return De.decorateServiceException(e,t)}setQueryCompatError(e,t){let i=t.headers?.["x-amzn-query-error"];if(e!==void 0&&i!=null){let[s,c]=i.split(";"),o=Object.keys(e),a={Code:s,Type:c};e.Code=s,e.Type=c;for(let l=0;l<o.length;l++){let f=o[l];a[f==="message"?"Message":f]=e[f]}delete a.__type,e.Error=a}}queryCompatOutput(e,t){if(e.Error)t.Error=e.Error;if(e.Type)t.Type=e.Type;if(e.Code)t.Code=e.Code}findQueryCompatibleError(e,t){try{return e.getSchema(t)}catch(i){return e.find((s)=>k.NormalizedSchema.of(s).getMergedTraits().awsQueryError?.[0]===t)}}}class mo extends lo.SmithyRpcV2CborProtocol{awsQueryCompatible;mixin;constructor({defaultNamespace:e,errorTypeRegistries:t,awsQueryCompatible:i}){super({defaultNamespace:e,errorTypeRegistries:t});this.awsQueryCompatible=!!i,this.mixin=new ut(this.awsQueryCompatible)}async serializeRequest(e,t,i){let s=await super.serializeRequest(e,t,i);if(this.awsQueryCompatible)s.headers["x-amzn-query-mode"]="true";return s}async handleError(e,t,i,s,c){if(this.awsQueryCompatible)this.mixin.setQueryCompatError(s,i);let o=(()=>{let _=i.headers["x-amzn-query-error"];if(_&&this.awsQueryCompatible)return _.split(";")[0];return lo.loadSmithyRpcV2CborErrorCode(i,s)??"Unknown"})();this.mixin.compose(this.compositeErrorRegistry,o,this.options.defaultNamespace);let{errorSchema:a,errorMetadata:l}=await this.mixin.getErrorSchemaOrThrowBaseException(o,this.options.defaultNamespace,i,s,c,this.awsQueryCompatible?this.mixin.findQueryCompatibleError:void 0),f=k.NormalizedSchema.of(a),m=s.message??s.Message??"UnknownError",b=new(this.compositeErrorRegistry.getErrorCtor(a)??Error)(m),w={};for(let[_,T]of f.structIterator())if(s[_]!=null)w[_]=this.deserializer.readValue(T,s[_]);if(this.awsQueryCompatible)this.mixin.queryCompatOutput(s,w);throw this.mixin.decorateServiceException(Object.assign(b,l,{$fault:f.getMergedTraits().error,message:m},w),s)}}var ad=(e)=>{if(e==null)return e;if(typeof e==="number"||typeof e==="bigint"){let t=Error(`Received number ${e} where a string was expected.`);return t.name="Warning",console.warn(t),String(e)}if(typeof e==="boolean"){let t=Error(`Received boolean ${e} where a string was expected.`);return t.name="Warning",console.warn(t),String(e)}return e},ud=(e)=>{if(e==null)return e;if(typeof e==="string"){let t=e.toLowerCase();if(e!==""&&t!=="false"&&t!=="true"){let i=Error(`Received string "${e}" where a boolean was expected.`);i.name="Warning",console.warn(i)}return e!==""&&t!=="false"}return e},cd=(e)=>{if(e==null)return e;if(typeof e==="string"){let t=Number(e);if(t.toString()!==e){let i=Error(`Received string "${e}" where a number was expected.`);return i.name="Warning",console.warn(i),e}return t}return e};class Ue{serdeContext;setSerdeContext(e){this.serdeContext=e}}class sn{from;to;keys;constructor(e,t){this.from=e,this.to=t;let i=Object.keys(this.from),s=new Set(i);s.delete("__type"),this.keys=s}mark(e){this.keys.delete(e)}hasUnknown(){return this.keys.size===1&&Object.keys(this.to).length===0}writeUnknown(){if(this.hasUnknown()){let e=this.keys.values().next().value,t=this.from[e];this.to.$unknown=[e,t]}}}function ld(e,t,i){if(i?.source){let s=i.source;if(typeof t==="number"){if(t>Number.MAX_SAFE_INTEGER||t<Number.MIN_SAFE_INTEGER||s!==String(t))if(s.includes("."))return new ee.NumericValue(s,"bigDecimal");else return BigInt(s)}}return t}var go=(e,t)=>De.collectBody(e,t).then((i)=>(t?.utf8Encoder??po.toUtf8)(i)),on=(e,t)=>go(e,t).then((i)=>{if(i.length)try{return JSON.parse(i)}catch(s){if(s?.name==="SyntaxError")Object.defineProperty(s,"$responseBodyText",{value:i});throw s}return{}}),hd=async(e,t)=>{let i=await on(e,t);return i.message=i.message??i.Message,i},ho=(e,t)=>Object.keys(e).find((i)=>i.toLowerCase()===t.toLowerCase()),nn=(e)=>{let t=e;if(typeof t==="number")t=t.toString();if(t.indexOf(",")>=0)t=t.split(",")[0];if(t.indexOf(":")>=0)t=t.split(":")[0];if(t.indexOf("#")>=0)t=t.split("#")[1];return t},an=(e,t)=>{let i=ho(e.headers,"x-amzn-errortype");if(i!==void 0)return nn(e.headers[i]);if(t&&typeof t==="object"){let s=ho(t,"code");if(s&&t[s]!==void 0)return nn(t[s]);if(t.__type!==void 0)return nn(t.__type)}};class un extends Ue{settings;constructor(e){super();this.settings=e}async read(e,t){return this._read(e,typeof t==="string"?JSON.parse(t,ld):await on(t,this.serdeContext))}readObject(e,t){return this._read(e,t)}_read(e,t){let i=t!==null&&typeof t==="object",s=k.NormalizedSchema.of(e);if(i){if(s.isStructSchema()){let o=t,a=s.isUnionSchema(),l={},f=void 0,{jsonName:m}=this.settings;if(m)f={};let g;if(a)g=new sn(o,l);for(let[b,w]of s.structIterator()){let _=b;if(m)_=w.getMergedTraits().jsonName??_,f[_]=b;if(a)g.mark(_);if(o[_]!=null)l[b]=this._read(w,o[_])}if(a)g.writeUnknown();else if(typeof o.__type==="string")for(let b in o){let w=o[b],_=m?f[b]??b:b;if(!(_ in l))l[_]=w}return l}if(Array.isArray(t)&&s.isListSchema()){let o=s.getValueSchema(),a=[];for(let l of t)a.push(this._read(o,l));return a}if(s.isMapSchema()){let o=s.getValueSchema(),a={};for(let l in t)a[l]=this._read(o,t[l]);return a}}if(s.isBlobSchema()&&typeof t==="string")return at.fromBase64(t);let c=s.getMergedTraits().mediaType;if(s.isStringSchema()&&typeof t==="string"&&c){if(c==="application/json"||c.endsWith("+json"))return ee.LazyJsonString.from(t);return t}if(s.isTimestampSchema()&&t!=null)switch(se.determineTimestampFormat(s,this.settings)){case 5:return ee.parseRfc3339DateTimeWithOffset(t);case 6:return ee.parseRfc7231DateTime(t);case 7:return ee.parseEpochTimestamp(t);default:return console.warn("Missing timestamp format, parsing value with Date constructor:",t),new Date(t)}if(s.isBigIntegerSchema()&&(typeof t==="number"||typeof t==="string"))return BigInt(t);if(s.isBigDecimalSchema()&&t!=null){if(t instanceof ee.NumericValue)return t;let o=t;if(o.type==="bigDecimal"&&"string"in o)return new ee.NumericValue(o.string,o.type);return new ee.NumericValue(String(t),"bigDecimal")}if(s.isNumericSchema()&&typeof t==="string"){switch(t){case"Infinity":return 1/0;case"-Infinity":return-1/0;case"NaN":return NaN}return t}if(s.isDocumentSchema())if(i){let o=Array.isArray(t)?[]:{};for(let a in t){let l=t[a];if(l instanceof ee.NumericValue)o[a]=l;else o[a]=this._read(s,l)}return o}else return structuredClone(t);return t}}var fo=String.fromCharCode(925);class yo{values=new Map;counter=0;stage=0;createReplacer(){if(this.stage===1)throw Error("@aws-sdk/core/protocols - JsonReplacer already created.");if(this.stage===2)throw Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");return this.stage=1,(e,t)=>{if(t instanceof ee.NumericValue){let i=`${fo+"nv"+this.counter++}_`+t.string;return this.values.set(`"${i}"`,t.string),i}if(typeof t==="bigint"){let i=t.toString(),s=`${fo+"b"+this.counter++}_`+i;return this.values.set(`"${s}"`,i),s}return t}}replaceInJson(e){if(this.stage===0)throw Error("@aws-sdk/core/protocols - JsonReplacer not created yet.");if(this.stage===2)throw Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");if(this.stage=2,this.counter===0)return e;for(let[t,i]of this.values)e=e.replace(t,i);return e}}class cn extends Ue{settings;buffer;useReplacer=!1;rootSchema;constructor(e){super();this.settings=e}write(e,t){this.rootSchema=k.NormalizedSchema.of(e),this.buffer=this._write(this.rootSchema,t)}flush(){let{rootSchema:e,useReplacer:t}=this;if(this.rootSchema=void 0,this.useReplacer=!1,e?.isStructSchema()||e?.isDocumentSchema()){if(!t)return JSON.stringify(this.buffer);let i=new yo;return i.replaceInJson(JSON.stringify(this.buffer,i.createReplacer(),0))}return this.buffer}writeDiscriminatedDocument(e,t){if(this.write(e,t),typeof this.buffer==="object")this.buffer.__type=k.NormalizedSchema.of(e).getName(!0)}_write(e,t,i){let s=t!==null&&typeof t==="object",c=k.NormalizedSchema.of(e);if(s){if(c.isStructSchema()){let o=t,a={},{jsonName:l}=this.settings,f=void 0;if(l)f={};let m=0;for(let[g,b]of c.structIterator()){let w=this._write(b,o[g],c);if(w!==void 0){let _=g;if(l)_=b.getMergedTraits().jsonName??g,f[g]=_;a[_]=w,m++}}if(c.isUnionSchema()&&m===0){let{$unknown:g}=o;if(Array.isArray(g)){let[b,w]=g;a[b]=this._write(15,w)}}else if(typeof o.__type==="string")for(let g in o){let b=o[g],w=l?f[g]??g:g;if(!(w in a))a[w]=this._write(15,b)}return a}if(Array.isArray(t)&&c.isListSchema()){let o=c.getValueSchema(),a=[],l=!!c.getMergedTraits().sparse;for(let f of t)if(l||f!=null)a.push(this._write(o,f));return a}if(c.isMapSchema()){let o=c.getValueSchema(),a={},l=!!c.getMergedTraits().sparse;for(let f in t){let m=t[f];if(l||m!=null)a[f]=this._write(o,m)}return a}if(t instanceof Uint8Array&&(c.isBlobSchema()||c.isDocumentSchema())){if(c===this.rootSchema)return t;return(this.serdeContext?.base64Encoder??at.toBase64)(t)}if(t instanceof Date&&(c.isTimestampSchema()||c.isDocumentSchema()))switch(se.determineTimestampFormat(c,this.settings)){case 5:return t.toISOString().replace(".000Z","Z");case 6:return ee.dateToUtcString(t);case 7:return t.getTime()/1000;default:return console.warn("Missing timestamp format, using epoch seconds",t),t.getTime()/1000}if(t instanceof ee.NumericValue)this.useReplacer=!0}if(t===null&&i?.isStructSchema())return;if(c.isStringSchema()){if(typeof t>"u"&&c.isIdempotencyToken())return ee.generateIdempotencyToken();let o=c.getMergedTraits().mediaType;if(t!=null&&o){if(o==="application/json"||o.endsWith("+json"))return ee.LazyJsonString.from(t)}return t}if(typeof t==="number"&&c.isNumericSchema()){if(Math.abs(t)===1/0||isNaN(t))return String(t);return t}if(typeof t==="string"&&c.isBlobSchema()){if(c===this.rootSchema)return t;return(this.serdeContext?.base64Encoder??at.toBase64)(t)}if(typeof t==="bigint")this.useReplacer=!0;if(c.isDocumentSchema())if(s){let o=Array.isArray(t)?[]:{};for(let a in t){let l=t[a];if(l instanceof ee.NumericValue)this.useReplacer=!0,o[a]=l;else o[a]=this._write(c,l)}return o}else return structuredClone(t);return t}}class Yt extends Ue{settings;constructor(e){super();this.settings=e}createSerializer(){let e=new cn(this.settings);return e.setSerdeContext(this.serdeContext),e}createDeserializer(){let e=new un(this.settings);return e.setSerdeContext(this.serdeContext),e}}class Jt extends se.RpcProtocol{serializer;deserializer;serviceTarget;codec;mixin;awsQueryCompatible;constructor({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:i,awsQueryCompatible:s,jsonCodec:c}){super({defaultNamespace:e,errorTypeRegistries:t});this.serviceTarget=i,this.codec=c??new Yt({timestampFormat:{useTrait:!0,default:7},jsonName:!1}),this.serializer=this.codec.createSerializer(),this.deserializer=this.codec.createDeserializer(),this.awsQueryCompatible=!!s,this.mixin=new ut(this.awsQueryCompatible)}async serializeRequest(e,t,i){let s=await super.serializeRequest(e,t,i);if(!s.path.endsWith("/"))s.path+="/";if(s.headers["content-type"]=`application/x-amz-json-${this.getJsonRpcVersion()}`,s.headers["x-amz-target"]=`${this.serviceTarget}.${e.name}`,this.awsQueryCompatible)s.headers["x-amzn-query-mode"]="true";if(k.deref(e.input)==="unit"||!s.body)s.body="{}";return s}getPayloadCodec(){return this.codec}async handleError(e,t,i,s,c){if(this.awsQueryCompatible)this.mixin.setQueryCompatError(s,i);let o=an(i,s)??"Unknown";this.mixin.compose(this.compositeErrorRegistry,o,this.options.defaultNamespace);let{errorSchema:a,errorMetadata:l}=await this.mixin.getErrorSchemaOrThrowBaseException(o,this.options.defaultNamespace,i,s,c,this.awsQueryCompatible?this.mixin.findQueryCompatibleError:void 0),f=k.NormalizedSchema.of(a),m=s.message??s.Message??"UnknownError",b=new(this.compositeErrorRegistry.getErrorCtor(a)??Error)(m),w={},_=this.codec.createDeserializer();for(let[T,P]of f.structIterator())if(s[T]!=null)w[T]=_.readObject(P,s[T]);if(this.awsQueryCompatible)this.mixin.queryCompatOutput(s,w);throw this.mixin.decorateServiceException(Object.assign(b,l,{$fault:f.getMergedTraits().error,message:m},w),s)}}class bo extends Jt{constructor({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:i,awsQueryCompatible:s,jsonCodec:c}){super({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:i,awsQueryCompatible:s,jsonCodec:c})}getShapeId(){return"aws.protocols#awsJson1_0"}getJsonRpcVersion(){return"1.0"}getDefaultContentType(){return"application/x-amz-json-1.0"}}class Eo extends Jt{constructor({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:i,awsQueryCompatible:s,jsonCodec:c}){super({defaultNamespace:e,errorTypeRegistries:t,serviceTarget:i,awsQueryCompatible:s,jsonCodec:c})}getShapeId(){return"aws.protocols#awsJson1_1"}getJsonRpcVersion(){return"1.1"}getDefaultContentType(){return"application/x-amz-json-1.1"}}class No extends se.HttpBindingProtocol{serializer;deserializer;codec;mixin=new ut;constructor({defaultNamespace:e,errorTypeRegistries:t}){super({defaultNamespace:e,errorTypeRegistries:t});let i={timestampFormat:{useTrait:!0,default:7},httpBindings:!0,jsonName:!0};this.codec=new Yt(i),this.serializer=new se.HttpInterceptingShapeSerializer(this.codec.createSerializer(),i),this.deserializer=new se.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(),i)}getShapeId(){return"aws.protocols#restJson1"}getPayloadCodec(){return this.codec}setSerdeContext(e){this.codec.setSerdeContext(e),super.setSerdeContext(e)}async serializeRequest(e,t,i){let s=await super.serializeRequest(e,t,i),c=k.NormalizedSchema.of(e.input);if(!s.headers["content-type"]){let o=this.mixin.resolveRestContentType(this.getDefaultContentType(),c);if(o)s.headers["content-type"]=o}if(s.body==null&&s.headers["content-type"]===this.getDefaultContentType())s.body="{}";return s}async deserializeResponse(e,t,i){let s=await super.deserializeResponse(e,t,i),c=k.NormalizedSchema.of(e.output);for(let[o,a]of c.structIterator())if(a.getMemberTraits().httpPayload&&!(o in s))s[o]=null;return s}async handleError(e,t,i,s,c){let o=an(i,s)??"Unknown";this.mixin.compose(this.compositeErrorRegistry,o,this.options.defaultNamespace);let{errorSchema:a,errorMetadata:l}=await this.mixin.getErrorSchemaOrThrowBaseException(o,this.options.defaultNamespace,i,s,c),f=k.NormalizedSchema.of(a),m=s.message??s.Message??"UnknownError",b=new(this.compositeErrorRegistry.getErrorCtor(a)??Error)(m);await this.deserializeHttpMessage(a,t,i,s);let w={},_=this.codec.createDeserializer();for(let[T,P]of f.structIterator()){let V=P.getMergedTraits().jsonName??T;w[T]=_.readObject(P,s[V])}throw this.mixin.decorateServiceException(Object.assign(b,l,{$fault:f.getMergedTraits().error,message:m},w),s)}getDefaultContentType(){return"application/json"}}var dd=(e)=>{if(e==null)return;if(typeof e==="object"&&"__type"in e)delete e.__type;return De.expectUnion(e)};class Zt extends Ue{settings;stringDeserializer;constructor(e){super();this.settings=e,this.stringDeserializer=new se.FromStringShapeDeserializer(e)}setSerdeContext(e){this.serdeContext=e,this.stringDeserializer.setSerdeContext(e)}read(e,t,i){let s=k.NormalizedSchema.of(e),c=s.getMemberSchemas();if(s.isStructSchema()&&s.isMemberSchema()&&!!Object.values(c).find((f)=>{return!!f.getMemberTraits().eventPayload})){let f={},m=Object.keys(c)[0];if(c[m].isBlobSchema())f[m]=t;else f[m]=this.read(c[m],t);return f}let a=(this.serdeContext?.utf8Encoder??po.toUtf8)(t),l=this.parseXml(a);return this.readSchema(e,i?l[i]:l)}readSchema(e,t){let i=k.NormalizedSchema.of(e);if(i.isUnitSchema())return;let s=i.getMergedTraits();if(i.isListSchema()&&!Array.isArray(t))return this.readSchema(i,[t]);if(t==null)return t;if(typeof t==="object"){let c=!!s.xmlFlattened;if(i.isListSchema()){let a=i.getValueSchema(),l=[],f=a.getMergedTraits().xmlName??"member",m=c?t:(t[0]??t)[f];if(m==null)return l;let g=Array.isArray(m)?m:[m];for(let b of g)l.push(this.readSchema(a,b));return l}let o={};if(i.isMapSchema()){let a=i.getKeySchema(),l=i.getValueSchema(),f;if(c)f=Array.isArray(t)?t:[t];else f=Array.isArray(t.entry)?t.entry:[t.entry];let m=a.getMergedTraits().xmlName??"key",g=l.getMergedTraits().xmlName??"value";for(let b of f){let w=b[m],_=b[g];o[w]=this.readSchema(l,_)}return o}if(i.isStructSchema()){let a=i.isUnionSchema(),l;if(a)l=new sn(t,o);for(let[f,m]of i.structIterator()){let g=m.getMergedTraits(),b=!g.httpPayload?m.getMemberTraits().xmlName??f:g.xmlName??m.getName();if(a)l.mark(b);if(t[b]!=null)o[f]=this.readSchema(m,t[b])}if(a)l.writeUnknown();return o}if(i.isDocumentSchema())return t;throw Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${i.getName(!0)}`)}if(i.isListSchema())return[];if(i.isMapSchema()||i.isStructSchema())return{};return this.stringDeserializer.read(i,t)}parseXml(e){if(e.length){let t;try{t=ue.parseXML(e)}catch(o){if(o&&typeof o==="object")Object.defineProperty(o,"$responseBodyText",{value:e});throw o}let i="#text",s=Object.keys(t)[0],c=t[s];if(c[i])c[s]=c[i],delete c[i];return De.getValueFromTextNode(c)}return{}}}class ln extends Ue{settings;buffer;constructor(e){super();this.settings=e}write(e,t,i=""){if(this.buffer===void 0)this.buffer="";let s=k.NormalizedSchema.of(e);if(i&&!i.endsWith("."))i+=".";if(s.isBlobSchema()){if(typeof t==="string"||t instanceof Uint8Array)this.writeKey(i),this.writeValue((this.serdeContext?.base64Encoder??at.toBase64)(t))}else if(s.isBooleanSchema()||s.isNumericSchema()||s.isStringSchema()){if(t!=null)this.writeKey(i),this.writeValue(String(t));else if(s.isIdempotencyToken())this.writeKey(i),this.writeValue(ee.generateIdempotencyToken())}else if(s.isBigIntegerSchema()){if(t!=null)this.writeKey(i),this.writeValue(String(t))}else if(s.isBigDecimalSchema()){if(t!=null)this.writeKey(i),this.writeValue(t instanceof ee.NumericValue?t.string:String(t))}else if(s.isTimestampSchema()){if(t instanceof Date)switch(this.writeKey(i),se.determineTimestampFormat(s,this.settings)){case 5:this.writeValue(t.toISOString().replace(".000Z","Z"));break;case 6:this.writeValue(De.dateToUtcString(t));break;case 7:this.writeValue(String(t.getTime()/1000));break}}else if(s.isDocumentSchema())if(Array.isArray(t))this.write(79,t,i);else if(t instanceof Date)this.write(4,t,i);else if(t instanceof Uint8Array)this.write(21,t,i);else if(t&&typeof t==="object")this.write(143,t,i);else this.writeKey(i),this.writeValue(String(t));else if(s.isListSchema()){if(Array.isArray(t))if(t.length===0){if(this.settings.serializeEmptyLists)this.writeKey(i),this.writeValue("")}else{let c=s.getValueSchema(),o=this.settings.flattenLists||s.getMergedTraits().xmlFlattened,a=1;for(let l of t){if(l==null)continue;let f=c.getMergedTraits(),m=this.getKey("member",f.xmlName,f.ec2QueryName),g=o?`${i}${a}`:`${i}${m}.${a}`;this.write(c,l,g),++a}}}else if(s.isMapSchema()){if(t&&typeof t==="object"){let c=s.getKeySchema(),o=s.getValueSchema(),a=s.getMergedTraits().xmlFlattened,l=1;for(let f in t){let m=t[f];if(m==null)continue;let g=c.getMergedTraits(),b=this.getKey("key",g.xmlName,g.ec2QueryName),w=a?`${i}${l}.${b}`:`${i}entry.${l}.${b}`,_=o.getMergedTraits(),T=this.getKey("value",_.xmlName,_.ec2QueryName),P=a?`${i}${l}.${T}`:`${i}entry.${l}.${T}`;this.write(c,f,w),this.write(o,m,P),++l}}}else if(s.isStructSchema()){if(t&&typeof t==="object"){let c=!1;for(let[o,a]of s.structIterator()){if(t[o]==null&&!a.isIdempotencyToken())continue;let l=a.getMergedTraits(),f=this.getKey(o,l.xmlName,l.ec2QueryName,"struct"),m=`${i}${f}`;this.write(a,t[o],m),c=!0}if(!c&&s.isUnionSchema()){let{$unknown:o}=t;if(Array.isArray(o)){let[a,l]=o,f=`${i}${a}`;this.write(15,l,f)}}}}else if(s.isUnitSchema());else throw Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${s.getName(!0)}`)}flush(){if(this.buffer===void 0)throw Error("@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.");let e=this.buffer;return delete this.buffer,e}getKey(e,t,i,s){let{ec2:c,capitalizeKeys:o}=this.settings;if(c&&i)return i;let a=t??e;if(o&&s==="struct")return a[0].toUpperCase()+a.slice(1);return a}writeKey(e){if(e.endsWith("."))e=e.slice(0,e.length-1);this.buffer+=`&${se.extendedEncodeURIComponent(e)}=`}writeValue(e){this.buffer+=se.extendedEncodeURIComponent(e)}}class hn extends se.RpcProtocol{options;serializer;deserializer;mixin=new ut;constructor(e){super({defaultNamespace:e.defaultNamespace,errorTypeRegistries:e.errorTypeRegistries});this.options=e;let t={timestampFormat:{useTrait:!0,default:5},httpBindings:!1,xmlNamespace:e.xmlNamespace,serviceNamespace:e.defaultNamespace,serializeEmptyLists:!0};this.serializer=new ln(t),this.deserializer=new Zt(t)}getShapeId(){return"aws.protocols#awsQuery"}setSerdeContext(e){this.serializer.setSerdeContext(e),this.deserializer.setSerdeContext(e)}getPayloadCodec(){throw Error("AWSQuery protocol has no payload codec.")}async serializeRequest(e,t,i){let s=await super.serializeRequest(e,t,i);if(!s.path.endsWith("/"))s.path+="/";if(s.headers["content-type"]="application/x-www-form-urlencoded",k.deref(e.input)==="unit"||!s.body)s.body="";let c=e.name.split("#")[1]??e.name;if(s.body=`Action=${c}&Version=${this.options.version}`+s.body,s.body.endsWith("&"))s.body=s.body.slice(-1);return s}async deserializeResponse(e,t,i){let s=this.deserializer,c=k.NormalizedSchema.of(e.output),o={};if(i.statusCode>=300){let m=await se.collectBody(i.body,t);if(m.byteLength>0)Object.assign(o,await s.read(15,m));await this.handleError(e,t,i,o,this.deserializeMetadata(i))}for(let m in i.headers){let g=i.headers[m];delete i.headers[m],i.headers[m.toLowerCase()]=g}let a=e.name.split("#")[1]??e.name,l=c.isStructSchema()&&this.useNestedResult()?a+"Result":void 0,f=await se.collectBody(i.body,t);if(f.byteLength>0)Object.assign(o,await s.read(c,f,l));return o.$metadata=this.deserializeMetadata(i),o}useNestedResult(){return!0}async handleError(e,t,i,s,c){let o=this.loadQueryErrorCode(i,s)??"Unknown";this.mixin.compose(this.compositeErrorRegistry,o,this.options.defaultNamespace);let a=this.loadQueryError(s)??{},l=this.loadQueryErrorMessage(s);a.message=l,a.Error={Type:a.Type,Code:a.Code,Message:l};let{errorSchema:f,errorMetadata:m}=await this.mixin.getErrorSchemaOrThrowBaseException(o,this.options.defaultNamespace,i,a,c,this.mixin.findQueryCompatibleError),g=k.NormalizedSchema.of(f),w=new(this.compositeErrorRegistry.getErrorCtor(f)??Error)(l),_={Type:a.Error.Type,Code:a.Error.Code,Error:a.Error};for(let[T,P]of g.structIterator()){let V=P.getMergedTraits().xmlName??T,X=a[V]??s[V];_[T]=this.deserializer.readSchema(P,X)}throw this.mixin.decorateServiceException(Object.assign(w,m,{$fault:g.getMergedTraits().error,message:l},_),s)}loadQueryErrorCode(e,t){let i=(t.Errors?.[0]?.Error??t.Errors?.Error??t.Error)?.Code;if(i!==void 0)return i;if(e.statusCode==404)return"NotFound"}loadQueryError(e){return e.Errors?.[0]?.Error??e.Errors?.Error??e.Error}loadQueryErrorMessage(e){let t=this.loadQueryError(e);return t?.message??t?.Message??e.message??e.Message??"Unknown"}getDefaultContentType(){return"application/x-www-form-urlencoded"}}class wo extends hn{options;constructor(e){super(e);this.options=e;let t={capitalizeKeys:!0,flattenLists:!0,serializeEmptyLists:!1,ec2:!0};Object.assign(this.serializer.settings,t)}getShapeId(){return"aws.protocols#ec2Query"}useNestedResult(){return!1}}var xo=(e,t)=>go(e,t).then((i)=>{if(i.length){let s;try{s=ue.parseXML(i)}catch(l){if(l&&typeof l==="object")Object.defineProperty(l,"$responseBodyText",{value:i});throw l}let c="#text",o=Object.keys(s)[0],a=s[o];if(a[c])a[o]=a[c],delete a[c];return De.getValueFromTextNode(a)}return{}}),fd=async(e,t)=>{let i=await xo(e,t);if(i.Error)i.Error.message=i.Error.message??i.Error.Message;return i},So=(e,t)=>{if(t?.Error?.Code!==void 0)return t.Error.Code;if(t?.Code!==void 0)return t.Code;if(e.statusCode==404)return"NotFound"};class dn extends Ue{settings;stringBuffer;byteBuffer;buffer;constructor(e){super();this.settings=e}write(e,t){let i=k.NormalizedSchema.of(e);if(i.isStringSchema()&&typeof t==="string")this.stringBuffer=t;else if(i.isBlobSchema())this.byteBuffer="byteLength"in t?t:(this.serdeContext?.base64Decoder??at.fromBase64)(t);else{this.buffer=this.writeStruct(i,t,void 0);let s=i.getMergedTraits();if(s.httpPayload&&!s.xmlName)this.buffer.withName(i.getName())}}flush(){if(this.byteBuffer!==void 0){let t=this.byteBuffer;return delete this.byteBuffer,t}if(this.stringBuffer!==void 0){let t=this.stringBuffer;return delete this.stringBuffer,t}let e=this.buffer;if(this.settings.xmlNamespace){if(!e?.attributes?.xmlns)e.addAttribute("xmlns",this.settings.xmlNamespace)}return delete this.buffer,e.toString()}writeStruct(e,t,i){let s=e.getMergedTraits(),c=e.isMemberSchema()&&!s.httpPayload?e.getMemberTraits().xmlName??e.getMemberName():s.xmlName??e.getName();if(!c||!e.isStructSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${e.getName(!0)}.`);let o=ue.XmlNode.of(c),[a,l]=this.getXmlnsAttribute(e,i);for(let[m,g]of e.structIterator()){let b=t[m];if(b!=null||g.isIdempotencyToken()){if(g.getMergedTraits().xmlAttribute){o.addAttribute(g.getMergedTraits().xmlName??m,this.writeSimple(g,b));continue}if(g.isListSchema())this.writeList(g,b,o,l);else if(g.isMapSchema())this.writeMap(g,b,o,l);else if(g.isStructSchema())o.addChildNode(this.writeStruct(g,b,l));else{let w=ue.XmlNode.of(g.getMergedTraits().xmlName??g.getMemberName());this.writeSimpleInto(g,b,w,l),o.addChildNode(w)}}}let{$unknown:f}=t;if(f&&e.isUnionSchema()&&Array.isArray(f)&&Object.keys(t).length===1){let[m,g]=f,b=ue.XmlNode.of(m);if(typeof g!=="string")if(t instanceof ue.XmlNode||t instanceof ue.XmlText)o.addChildNode(t);else throw Error("@aws-sdk - $unknown union member in XML requires value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.");this.writeSimpleInto(0,g,b,l),o.addChildNode(b)}if(l)o.addAttribute(a,l);return o}writeList(e,t,i,s){if(!e.isMemberSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${e.getName(!0)}`);let c=e.getMergedTraits(),o=e.getValueSchema(),a=o.getMergedTraits(),l=!!a.sparse,f=!!c.xmlFlattened,[m,g]=this.getXmlnsAttribute(e,s),b=(w,_)=>{if(o.isListSchema())this.writeList(o,Array.isArray(_)?_:[_],w,g);else if(o.isMapSchema())this.writeMap(o,_,w,g);else if(o.isStructSchema()){let T=this.writeStruct(o,_,g);w.addChildNode(T.withName(f?c.xmlName??e.getMemberName():a.xmlName??"member"))}else{let T=ue.XmlNode.of(f?c.xmlName??e.getMemberName():a.xmlName??"member");this.writeSimpleInto(o,_,T,g),w.addChildNode(T)}};if(f){for(let w of t)if(l||w!=null)b(i,w)}else{let w=ue.XmlNode.of(c.xmlName??e.getMemberName());if(g)w.addAttribute(m,g);for(let _ of t)if(l||_!=null)b(w,_);i.addChildNode(w)}}writeMap(e,t,i,s,c=!1){if(!e.isMemberSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${e.getName(!0)}`);let o=e.getMergedTraits(),a=e.getKeySchema(),f=a.getMergedTraits().xmlName??"key",m=e.getValueSchema(),g=m.getMergedTraits(),b=g.xmlName??"value",w=!!g.sparse,_=!!o.xmlFlattened,[T,P]=this.getXmlnsAttribute(e,s),V=(X,B,j)=>{let v=ue.XmlNode.of(f,B),[he,G]=this.getXmlnsAttribute(a,P);if(G)v.addAttribute(he,G);X.addChildNode(v);let me=ue.XmlNode.of(b);if(m.isListSchema())this.writeList(m,j,me,P);else if(m.isMapSchema())this.writeMap(m,j,me,P,!0);else if(m.isStructSchema())me=this.writeStruct(m,j,P);else this.writeSimpleInto(m,j,me,P);X.addChildNode(me)};if(_)for(let X in t){let B=t[X];if(w||B!=null){let j=ue.XmlNode.of(o.xmlName??e.getMemberName());V(j,X,B),i.addChildNode(j)}}else{let X;if(!c){if(X=ue.XmlNode.of(o.xmlName??e.getMemberName()),P)X.addAttribute(T,P);i.addChildNode(X)}for(let B in t){let j=t[B];if(w||j!=null){let v=ue.XmlNode.of("entry");V(v,B,j),(c?i:X).addChildNode(v)}}}}writeSimple(e,t){if(t===null)throw Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value.");let i=k.NormalizedSchema.of(e),s=null;if(t&&typeof t==="object")if(i.isBlobSchema())s=(this.serdeContext?.base64Encoder??at.toBase64)(t);else if(i.isTimestampSchema()&&t instanceof Date)switch(se.determineTimestampFormat(i,this.settings)){case 5:s=t.toISOString().replace(".000Z","Z");break;case 6:s=De.dateToUtcString(t);break;case 7:s=String(t.getTime()/1000);break;default:console.warn("Missing timestamp format, using http date",t),s=De.dateToUtcString(t);break}else if(i.isBigDecimalSchema()&&t){if(t instanceof ee.NumericValue)return t.string;return String(t)}else if(i.isMapSchema()||i.isListSchema())throw Error("@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.");else throw Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${i.getName(!0)}`);if(i.isBooleanSchema()||i.isNumericSchema()||i.isBigIntegerSchema()||i.isBigDecimalSchema())s=String(t);if(i.isStringSchema())if(t===void 0&&i.isIdempotencyToken())s=ee.generateIdempotencyToken();else s=String(t);if(s===null)throw Error(`Unhandled schema-value pair ${i.getName(!0)}=${t}`);return s}writeSimpleInto(e,t,i,s){let c=this.writeSimple(e,t),o=k.NormalizedSchema.of(e),a=new ue.XmlText(c),[l,f]=this.getXmlnsAttribute(o,s);if(f)i.addAttribute(l,f);i.addChildNode(a)}getXmlnsAttribute(e,t){let i=e.getMergedTraits(),[s,c]=i.xmlNamespace??[];if(c&&c!==t)return[s?`xmlns:${s}`:"xmlns",c];return[void 0,void 0]}}class fn extends Ue{settings;constructor(e){super();this.settings=e}createSerializer(){let e=new dn(this.settings);return e.setSerdeContext(this.serdeContext),e}createDeserializer(){let e=new Zt(this.settings);return e.setSerdeContext(this.serdeContext),e}}class _o extends se.HttpBindingProtocol{codec;serializer;deserializer;mixin=new ut;constructor(e){super(e);let t={timestampFormat:{useTrait:!0,default:5},httpBindings:!0,xmlNamespace:e.xmlNamespace,serviceNamespace:e.defaultNamespace};this.codec=new fn(t),this.serializer=new se.HttpInterceptingShapeSerializer(this.codec.createSerializer(),t),this.deserializer=new se.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(),t)}getPayloadCodec(){return this.codec}getShapeId(){return"aws.protocols#restXml"}async serializeRequest(e,t,i){let s=await super.serializeRequest(e,t,i),c=k.NormalizedSchema.of(e.input);if(!s.headers["content-type"]){let o=this.mixin.resolveRestContentType(this.getDefaultContentType(),c);if(o)s.headers["content-type"]=o}if(typeof s.body==="string"&&s.headers["content-type"]===this.getDefaultContentType()&&!s.body.startsWith("<?xml ")&&!this.hasUnstructuredPayloadBinding(c))s.body='<?xml version="1.0" encoding="UTF-8"?>'+s.body;return s}async deserializeResponse(e,t,i){return super.deserializeResponse(e,t,i)}async handleError(e,t,i,s,c){let o=So(i,s)??"Unknown";if(this.mixin.compose(this.compositeErrorRegistry,o,this.options.defaultNamespace),s.Error&&typeof s.Error==="object"){for(let T of Object.keys(s.Error))if(s[T]=s.Error[T],T.toLowerCase()==="message")s.message=s.Error[T]}if(s.RequestId&&!c.requestId)c.requestId=s.RequestId;let{errorSchema:a,errorMetadata:l}=await this.mixin.getErrorSchemaOrThrowBaseException(o,this.options.defaultNamespace,i,s,c),f=k.NormalizedSchema.of(a),m=s.Error?.message??s.Error?.Message??s.message??s.Message??"UnknownError",b=new(this.compositeErrorRegistry.getErrorCtor(a)??Error)(m);await this.deserializeHttpMessage(a,t,i,s);let w={},_=this.codec.createDeserializer();for(let[T,P]of f.structIterator()){let V=P.getMergedTraits().xmlName??T,X=s.Error?.[V]??s[V];w[T]=_.readSchema(P,X)}throw this.mixin.decorateServiceException(Object.assign(b,l,{$fault:f.getMergedTraits().error,message:m},w),s)}getDefaultContentType(){return"application/xml"}hasUnstructuredPayloadBinding(e){for(let[,t]of e.structIterator())if(t.getMergedTraits().httpPayload)return!(t.isStructSchema()||t.isMapSchema()||t.isListSchema());return!1}}pd.AwsEc2QueryProtocol=wo;pd.AwsJson1_0Protocol=bo;pd.AwsJson1_1Protocol=Eo;pd.AwsJsonRpcProtocol=Jt;pd.AwsQueryProtocol=hn;pd.AwsRestJsonProtocol=No;pd.AwsRestXmlProtocol=_o;pd.AwsSmithyRpcV2CborProtocol=mo;pd.JsonCodec=Yt;pd.JsonShapeDeserializer=un;pd.JsonShapeSerializer=cn;pd.QueryShapeSerializer=ln;pd.XmlCodec=fn;pd.XmlShapeDeserializer=Zt;pd.XmlShapeSerializer=dn;pd._toBool=ud;pd._toNum=cd;pd._toStr=ad;pd.awsExpectUnion=dd;pd.loadRestJsonErrorCode=an;pd.loadRestXmlErrorCode=So;pd.parseJsonBody=on;pd.parseJsonErrorBody=hd;pd.parseXmlBody=xo;pd.parseXmlErrorBody=fd});var zd=$((vt)=>{Object.defineProperty(vt,"__esModule",{value:!0});vt.toBase64=vt.fromBase64=void 0;var To=Ee();Object.defineProperty(vt,"fromBase64",{enumerable:!0,get:function(){return To.fromBase64}});Object.defineProperty(vt,"toBase64",{enumerable:!0,get:function(){return To.toBase64}})});
20
- export{bl as Z3,Na as _3,Oa as $3,Ua as a4,qn as b4,Xn as c4,es as d4,hs as e4,gr as f4,Cu as g4,Ru as h4,ju as i4,Hu as j4,Nl as k4,wl as l4,Sl as m4,Ai as n4,Gl as o4,Ql as p4,ds as q4,Jl as r4,eh as s4,Hi as t4,Bd as u4,zd as v4,Zu as w4,ec as x4};
20
+ export{bl as c4,Na as d4,Oa as e4,Ua as f4,qn as g4,Xn as h4,es as i4,hs as j4,gr as k4,Cu as l4,Ru as m4,ju as n4,Hu as o4,Nl as p4,wl as q4,Sl as r4,Ai as s4,Gl as t4,Ql as u4,ds as v4,Jl as w4,eh as x4,Hi as y4,Bd as z4,zd as A4,Zu as B4,ec as C4};
@@ -0,0 +1,2 @@
1
+ import{gma as n}from"./cli-0.2.0-b8hs09nv.mjs";function o(){return{}}function e(){return null}async function i(){}function g(){return!1}function r(){}function u(){}function f(){}async function l(){}var t=()=>{};
2
+ export{o as DP,e as EP,i as FP,g as GP,r as HP,u as IP,f as JP,l as KP,t as LP};
@@ -0,0 +1,2 @@
1
+ import{bg as f,gg as c}from"./cli-0.2.0-p19kyd3z.mjs";import{hg as F,jg as s}from"./cli-0.2.0-y6g66sm5.mjs";import{BF as G,Br as V,Ch as Y,Cr as g,Dh as A,EF as o,Ey as M,Ez as W,FE as x,Fy as d,Fz as C,GE as i,KA as j,LA as n,Wh as Z,Yt as E,_t as m,gm as U,hi as P,hm as p,ii as _,ji as $,kL as u,ki as B,li as N,mA as b,mi as D,nA as h,sJ as R,uJ as l,uL as t,ux as L,zx as S}from"./cli-0.2.0-cs8e9514.mjs";import{I4 as Q,O4 as k}from"./cli-0.2.0-0cjgm41a.mjs";import{C6 as I,W7 as X,X7 as v,v6 as O}from"./cli-0.2.0-g2h1t6ke.mjs";import{Nka as J,Zka as K,rla as T}from"./cli-0.2.0-gmq4bxtp.mjs";import{gma as y,hma as w}from"./cli-0.2.0-b8hs09nv.mjs";function Mq(H=new Set){let z=H.size>0;if(N.cache.clear?.(),B.cache.clear?.(),$.cache.clear?.(),Y.cache.clear?.(),f(),u(),!z)U();if(_(null),K(null),x(),G(),Z("session_start"),E(),X.clear(),M(),!z)L();if(Q(),R(),!z)V();J(H),O(),j(),W(),F(),b(),import("./utils-0.2.0-memk8639.mjs").then(({clearWebFetchCache:q})=>q()),import("./ToolSearchTool-0.2.0-k7dvhq3e.mjs").then(({clearToolSearchDescriptionCache:q})=>q()),import("./loadAgentsDir-0.2.0-wrpffsg4.mjs").then(({clearAgentDefinitionsCache:q})=>q()),import("./prompt-0.2.0-znq97v28.mjs").then(({clearPromptCache:q})=>q())}var r=y(()=>{T();t();A();D();c();S();g();p();d();i();C();s();n();o();l();P();k();I();v();m();h()});
2
+ export{Mq as _f,r as $f};
@@ -0,0 +1,2 @@
1
+ import{hd as Jq,ld as Tq}from"./cli-0.2.0-gngqqtnd.mjs";import{sd as zq,td as bq}from"./cli-0.2.0-2c2rdf9b.mjs";import{EG as qq,HG as Fq,RF as S,UF as Nq,XG as D,_G as Cq,dG as s,eG as _q,iG as a,lG as l,nv as r,ov as Gq,pG as t,uG as e,wG as Rq,wt as n,xt as yq,xy as u,yy as fq}from"./cli-0.2.0-cs8e9514.mjs";import{FU as F,HU as C,VS as Lq,kV as Oq,vU as i,wU as Bq}from"./cli-0.2.0-c7ea0dry.mjs";import{JV as v,KV as R,LV as p}from"./cli-0.2.0-fgsp4dtv.mjs";import{MV as Kq}from"./cli-0.2.0-gsw60zfe.mjs";import{Y7 as x,d6 as m,i6 as Zq,n6 as g,n7 as o,o6 as Xq,p7 as vq,q6 as $,s6 as Hq,s8 as wq}from"./cli-0.2.0-g2h1t6ke.mjs";import{Bfa as B,Efa as Yq,afa as P,dfa as h,hfa as Wq}from"./cli-0.2.0-e9xwjcb3.mjs";import{cma as d,gma as Vq}from"./cli-0.2.0-b8hs09nv.mjs";import{readFile as c}from"fs/promises";import{join as j}from"path";function Qq(){return s}function Aq(){return Mq}function Uq(){return`thinkback@${Qq()}`}async function jq(){let{enabled:H}=await D(),q=H.find((U)=>U.name==="thinkback"||U.source&&U.source.includes(Uq()));if(!q)return null;let J=j(q.path,"skills",Sq);if(await x(J))return J;return null}async function Iq(H){let q=j(H,"year_in_review.js"),J=j(H,"player.js");try{await c(q)}catch(z){if(h(z))return{success:!1,message:"No animation found. Run /think-back first to generate one."};return m(z),{success:!1,message:`Could not access animation data: ${P(z).message}`}}try{await c(J)}catch(z){if(h(z))return{success:!1,message:"Player script not found. The player.js file is missing from the thinkback skill."};return m(z),{success:!1,message:`Could not access player script: ${P(z).message}`}}let U=i.get(process.stdout);if(!U)return{success:!1,message:"Failed to access terminal instance"};U.enterAlternateScreen();try{await g("node",[J],{stdio:"inherit",cwd:H,reject:!1})}catch{}finally{U.exitAlternateScreen()}let O=j(H,"year_in_review.html");if(await x(O)){let z=o();$(z==="macos"?"open":z==="windows"?"start":"xdg-open",[O])}return{success:!0,message:"Year in review animation complete!"}}function Pq({onReady:H,onError:q}){let[J,U]=K.useState({phase:"checking"}),[O,z]=K.useState("");if(K.useEffect(()=>{async function Z(){try{let y=await l(),Y=Qq(),G=Aq(),X=Uq(),_=Y in y,L=qq(X);if(!_)U({phase:"installing-marketplace"}),B(`Installing marketplace ${G}`),await t({source:"github",repo:G},(V)=>{z(V)}),S(),B(`Marketplace ${Y} installed`);else if(!L)U({phase:"installing-marketplace"}),z("Updating marketplace…"),B(`Refreshing marketplace ${Y}`),await e(Y,(V)=>{z(V)}),a(),S(),B(`Marketplace ${Y} refreshed`);if(!L){U({phase:"installing-plugin"}),B(`Installing plugin ${X}`);let V=await zq([X]);if(V.failed.length>0){let w=V.failed.map((W)=>`${W.name}: ${W.error}`).join(", ");throw Error(`Failed to install plugin: ${w}`)}S(),B(`Plugin ${X} installed`)}else{let{disabled:V}=await D();if(V.some((W)=>W.name==="thinkback"||W.source?.includes(X))){U({phase:"enabling-plugin"}),B(`Enabling plugin ${X}`);let W=await Jq(X);if(!W.success)throw Error(`Failed to enable plugin: ${W.message}`);S(),B(`Plugin ${X} enabled`)}}U({phase:"ready"}),H()}catch(y){let Y=P(y);m(Y),U({phase:"error",message:Y.message}),q(Y.message)}}Z()},[H,q]),J.phase==="error")return v(F,{flexDirection:"column",children:R(C,{color:"error",children:["Error: ",J.message]})});if(J.phase==="ready")return null;let T=J.phase==="checking"?"Checking thinkback installation…":J.phase==="installing-marketplace"?"Installing marketplace…":J.phase==="enabling-plugin"?"Enabling thinkback plugin…":"Installing thinkback plugin…";return v(F,{flexDirection:"column",children:R(F,{children:[v(u,{}),v(C,{children:O||T})]})})}function mq(H){let q=k.c(19),{onDone:J,onAction:U,skillDir:O,hasGenerated:z}=H,[T,Z]=K.useState(!1),y;if(q[0]!==z)y=z?[{label:"Play animation",value:"play",description:"Watch your year in review"},{label:"Edit content",value:"edit",description:"Modify the animation"},{label:"Fix errors",value:"fix",description:"Fix validation or rendering issues"},{label:"Regenerate",value:"regenerate",description:"Create a new animation from scratch"}]:[{label:"Let's go!",value:"regenerate",description:"Generate your personalized animation"}],q[0]=z,q[1]=y;else y=q[1];let Y=y,G;if(q[2]!==U||q[3]!==J||q[4]!==O)G=function(b){if(Z(!0),b==="play")Iq(O).then(()=>{J(void 0,{display:"skip"})});else U(b)},q[2]=U,q[3]=J,q[4]=O,q[5]=G;else G=q[5];let X=G,_;if(q[6]!==J)_=function(){J(void 0,{display:"skip"})},q[6]=J,q[7]=_;else _=q[7];let L=_;if(T)return null;let V;if(q[8]!==z)V=!z&&R(F,{flexDirection:"column",children:[v(C,{children:"Relive your year of coding with Claude."}),v(C,{dimColor:!0,children:"We'll create a personalized ASCII animation celebrating your journey."})]}),q[8]=z,q[9]=V;else V=q[9];let w;if(q[10]!==X||q[11]!==Y)w=v(r,{options:Y,onChange:X,visibleOptionCount:5}),q[10]=X,q[11]=Y,q[12]=w;else w=q[12];let W;if(q[13]!==V||q[14]!==w)W=R(F,{flexDirection:"column",gap:1,children:[V,w]}),q[13]=V,q[14]=w,q[15]=W;else W=q[15];let f;if(q[16]!==L||q[17]!==W)f=v(n,{title:"Think Back on 2025 with Claude Code",subtitle:"Generate your 2025 Claude Code Think Back (takes a few minutes to run)",onCancel:L,color:"claude",children:W}),q[16]=L,q[17]=W,q[18]=f;else f=q[18];return f}function uq(H){let q=k.c(27),{onDone:J}=H,[U,O]=K.useState(!1),[z,T]=K.useState(null),[Z,y]=K.useState(null),[Y,G]=K.useState(null),X;if(q[0]===Symbol.for("react.memo_cache_sentinel"))X=function(){O(!0)},q[0]=X;else X=q[0];let _=X,L;if(q[1]!==J)L=(Q)=>{T(Q),J(`Error with thinkback: ${Q}. Try running /plugin to manually install the think-back plugin.`,{display:"system"})},q[1]=J,q[2]=L;else L=q[2];let V=L,w,W;if(q[3]!==V||q[4]!==U||q[5]!==z||q[6]!==Z)w=()=>{if(U&&!Z&&!z)jq().then((Q)=>{if(Q)B(`Thinkback skill directory: ${Q}`),y(Q);else V("Could not find thinkback skill directory")})},W=[U,Z,z,V],q[3]=V,q[4]=U,q[5]=z,q[6]=Z,q[7]=w,q[8]=W;else w=q[7],W=q[8];K.useEffect(w,W);let f,M;if(q[9]!==Z)f=()=>{if(!Z)return;let Q=j(Z,"year_in_review.js");x(Q).then((N)=>{B(`Checking for ${Q}: ${N?"found":"not found"}`),G(N)})},M=[Z],q[9]=Z,q[10]=f,q[11]=M;else f=q[10],M=q[11];K.useEffect(f,M);let b;if(q[12]!==J)b=function(N){J({edit:xq,fix:Eq,regenerate:hq}[N],{display:"user",shouldQuery:!0})},q[12]=J,q[13]=b;else b=q[13];let E=b;if(z){let Q;if(q[14]!==z)Q=R(C,{color:"error",children:["Error: ",z]}),q[14]=z,q[15]=Q;else Q=q[15];let N;if(q[16]===Symbol.for("react.memo_cache_sentinel"))N=v(C,{dimColor:!0,children:"Try running /plugin to manually install the think-back plugin."}),q[16]=N;else N=q[16];let A;if(q[17]!==Q)A=R(F,{flexDirection:"column",children:[Q,N]}),q[17]=Q,q[18]=A;else A=q[18];return A}if(!U){let Q;if(q[19]!==V)Q=v(Pq,{onReady:_,onError:V}),q[19]=V,q[20]=Q;else Q=q[20];return Q}if(!Z||Y===null){let Q;if(q[21]===Symbol.for("react.memo_cache_sentinel"))Q=R(F,{children:[v(u,{}),v(C,{children:"Loading thinkback skill…"})]}),q[21]=Q;else Q=q[21];return Q}let I;if(q[22]!==E||q[23]!==Y||q[24]!==J||q[25]!==Z)I=v(mq,{onDone:J,onAction:E,skillDir:Z,hasGenerated:Y}),q[22]=E,q[23]=Y,q[24]=J,q[25]=Z,q[26]=I;else I=q[26];return I}async function Yz(H){return v(uq,{onDone:H})}var k,K,Mq="anthropics/claude-plugins-official",Sq="thinkback",xq='Use the Skill tool to invoke the "thinkback" skill with mode=edit to modify my existing Claude Code year in review animation. Ask me what I want to change. When the animation is ready, tell the user to run /think-back again to play it.',Eq='Use the Skill tool to invoke the "thinkback" skill with mode=fix to fix validation or rendering errors in my existing Claude Code year in review animation. Run the validator, identify errors, and fix them. When the animation is ready, tell the user to run /think-back again to play it.',hq='Use the Skill tool to invoke the "thinkback" skill with mode=regenerate to create a completely new Claude Code year in review animation from scratch. Delete the existing animation and start fresh. When the animation is ready, tell the user to run /think-back again to play it.';var Dq=Vq(()=>{Xq();Gq();yq();fq();Bq();Oq();Tq();Yq();Wq();Hq();wq();Zq();vq();Nq();Fq();Rq();_q();Cq();bq();p();k=d(Lq(),1),K=d(Kq(),1)});
2
+ export{Iq as Zc,Yz as _c,Dq as $c};
@@ -1,2 +1,2 @@
1
1
  import{createRequire as w}from"node:module";var p=Object.create;var{getPrototypeOf:q,defineProperty:k,getOwnPropertyNames:m,getOwnPropertyDescriptor:r}=Object,n=Object.prototype.hasOwnProperty;function o(a){return this[a]}var s,t,z=(a,b,c)=>{var d=a!=null&&typeof a==="object";if(d){var h=b?s??=new WeakMap:t??=new WeakMap,g=h.get(a);if(g)return g}c=a!=null?p(q(a)):{};let e=b||!a||!a.__esModule?k(c,"default",{value:a,enumerable:!0}):c;for(let f of m(a))if(!n.call(e,f))k(e,f,{get:o.bind(a,f),enumerable:!0});if(d)h.set(a,e);return e},A=(a)=>{var b=(l??=new WeakMap).get(a),c;if(b)return b;if(b=k({},"__esModule",{value:!0}),a&&typeof a==="object"||typeof a==="function"){for(var d of m(a))if(!n.call(b,d))k(b,d,{get:o.bind(a,d),enumerable:!(c=r(a,d))||c.enumerable})}return l.set(a,b),b},l,B=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var u=(a)=>a;function v(a,b){this[a]=u.bind(null,b)}var C=(a,b)=>{for(var c in b)k(a,c,{get:b[c],enumerable:!0,configurable:!0,set:v.bind(b,c)})};var D=(a,b)=>()=>(a&&(b=a(a=0)),b);var F=w(import.meta.url),x=Symbol.dispose||Symbol.for("Symbol.dispose"),y=Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose"),G=(a,b,c)=>{if(b!=null){if(typeof b!=="object"&&typeof b!=="function")throw TypeError('Object expected to be assigned to "using" declaration');var d;if(c)d=b[y];if(d===void 0)d=b[x];if(typeof d!=="function")throw TypeError("Object not disposable");a.push([c,d,b])}else if(c)a.push([c]);return b},H=(a,b,c)=>{var d=typeof SuppressedError==="function"?SuppressedError:function(e,f,i,j){return j=Error(i),j.name="SuppressedError",j.error=e,j.suppressed=f,j},h=(e)=>b=c?new d(e,b,"An error was suppressed during disposal"):(c=!0,e),g=(e)=>{while(e=a.pop())try{var f=e[1]&&e[1].call(e[2]);if(e[0])return Promise.resolve(f).then(g,(i)=>(h(i),g()))}catch(i){h(i)}if(c)throw b};return g()};
2
- export{z as Zla,A as _la,B as $la,C as ama,D as bma,F as cma,G as dma,H as ema};
2
+ export{z as cma,A as dma,B as ema,C as fma,D as gma,F as hma,G as ima,H as jma};
@@ -1,4 +1,4 @@
1
- import{$la as T,bma as J5,cma as M}from"./cli-0.1.15-mhbfhhf6.mjs";var T0=T((G5,K1)=>{K1.exports=function(){return typeof Promise==="function"&&Promise.prototype&&Promise.prototype.then}});var y=T((O2)=>{var X0,E2=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];O2.getSymbolSize=function(q){if(!q)throw Error('"version" cannot be null or undefined');if(q<1||q>40)throw Error('"version" should be in range from 1 to 40');return q*4+17};O2.getSymbolTotalCodewords=function(q){return E2[q]};O2.getBCHDigit=function($){let q=0;while($!==0)q++,$>>>=1;return q};O2.setToSJISFunction=function(q){if(typeof q!=="function")throw Error('"toSJISFunc" is not a valid function.');X0=q};O2.isKanjiModeEnabled=function(){return typeof X0<"u"};O2.toSJIS=function(q){return X0(q)}});var J0=T((M2)=>{M2.L={bit:1};M2.M={bit:0};M2.Q={bit:3};M2.H={bit:2};function W2($){if(typeof $!=="string")throw Error("Param is not a string");switch($.toLowerCase()){case"l":case"low":return M2.L;case"m":case"medium":return M2.M;case"q":case"quartile":return M2.Q;case"h":case"high":return M2.H;default:throw Error("Unknown EC Level: "+$)}}M2.isValid=function(q){return q&&typeof q.bit<"u"&&q.bit>=0&&q.bit<4};M2.from=function(q,Z){if(M2.isValid(q))return q;try{return W2(q)}catch(J){return Z}}});var X1=T((N5,T1)=>{function O1(){this.buffer=[],this.length=0}O1.prototype={get:function($){let q=Math.floor($/8);return(this.buffer[q]>>>7-$%8&1)===1},put:function($,q){for(let Z=0;Z<q;Z++)this.putBit(($>>>q-Z-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function($){let q=Math.floor(this.length/8);if(this.buffer.length<=q)this.buffer.push(0);if($)this.buffer[q]|=128>>>this.length%8;this.length++}};T1.exports=O1});var V1=T((W5,G1)=>{function s($){if(!$||$<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=$,this.data=new Uint8Array($*$),this.reservedBit=new Uint8Array($*$)}s.prototype.set=function($,q,Z,J){let Q=$*this.size+q;if(this.data[Q]=Z,J)this.reservedBit[Q]=!0};s.prototype.get=function($,q){return this.data[$*this.size+q]};s.prototype.xor=function($,q,Z){this.data[$*this.size+q]^=Z};s.prototype.isReserved=function($,q){return this.reservedBit[$*this.size+q]};G1.exports=s});var N1=T((B2)=>{var _2=y().getSymbolSize;B2.getRowColCoords=function(q){if(q===1)return[];let Z=Math.floor(q/7)+2,J=_2(q),Q=J===145?26:Math.ceil((J-13)/(2*Z-2))*2,F=[J-7];for(let K=1;K<Z-1;K++)F[K]=F[K-1]-Q;return F.push(6),F.reverse()};B2.getPositions=function(q){let Z=[],J=B2.getRowColCoords(q),Q=J.length;for(let F=0;F<Q;F++)for(let K=0;K<Q;K++){if(F===0&&K===0||F===0&&K===Q-1||F===Q-1&&K===0)continue;Z.push([J[F],J[K]])}return Z}});var W1=T((z2)=>{var L2=y().getSymbolSize;z2.getPositions=function(q){let Z=L2(q);return[[0,0],[Z-7,0],[0,Z-7]]}});var L1=T((w2)=>{w2.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var v={N1:3,N2:3,N3:40,N4:10};w2.isValid=function(q){return q!=null&&q!==""&&!isNaN(q)&&q>=0&&q<=7};w2.from=function(q){return w2.isValid(q)?parseInt(q,10):void 0};w2.getPenaltyN1=function(q){let Z=q.size,J=0,Q=0,F=0,K=null,U=null;for(let R=0;R<Z;R++){Q=F=0,K=U=null;for(let H=0;H<Z;H++){let Y=q.get(R,H);if(Y===K)Q++;else{if(Q>=5)J+=v.N1+(Q-5);K=Y,Q=1}if(Y=q.get(H,R),Y===U)F++;else{if(F>=5)J+=v.N1+(F-5);U=Y,F=1}}if(Q>=5)J+=v.N1+(Q-5);if(F>=5)J+=v.N1+(F-5)}return J};w2.getPenaltyN2=function(q){let Z=q.size,J=0;for(let Q=0;Q<Z-1;Q++)for(let F=0;F<Z-1;F++){let K=q.get(Q,F)+q.get(Q,F+1)+q.get(Q+1,F)+q.get(Q+1,F+1);if(K===4||K===0)J++}return J*v.N2};w2.getPenaltyN3=function(q){let Z=q.size,J=0,Q=0,F=0;for(let K=0;K<Z;K++){Q=F=0;for(let U=0;U<Z;U++){if(Q=Q<<1&2047|q.get(K,U),U>=10&&(Q===1488||Q===93))J++;if(F=F<<1&2047|q.get(U,K),U>=10&&(F===1488||F===93))J++}}return J*v.N3};w2.getPenaltyN4=function(q){let Z=0,J=q.data.length;for(let F=0;F<J;F++)Z+=q.data[F];return Math.abs(Math.ceil(Z*100/J/5)-10)*v.N4};function S2($,q,Z){switch($){case w2.Patterns.PATTERN000:return(q+Z)%2===0;case w2.Patterns.PATTERN001:return q%2===0;case w2.Patterns.PATTERN010:return Z%3===0;case w2.Patterns.PATTERN011:return(q+Z)%3===0;case w2.Patterns.PATTERN100:return(Math.floor(q/2)+Math.floor(Z/3))%2===0;case w2.Patterns.PATTERN101:return q*Z%2+q*Z%3===0;case w2.Patterns.PATTERN110:return(q*Z%2+q*Z%3)%2===0;case w2.Patterns.PATTERN111:return(q*Z%3+(q+Z)%2)%2===0;default:throw Error("bad maskPattern:"+$)}}w2.applyMask=function(q,Z){let J=Z.size;for(let Q=0;Q<J;Q++)for(let F=0;F<J;F++){if(Z.isReserved(F,Q))continue;Z.xor(F,Q,S2(q,F,Q))}};w2.getBestMask=function(q,Z){let J=Object.keys(w2.Patterns).length,Q=0,F=1/0;for(let K=0;K<J;K++){Z(K),w2.applyMask(K,q);let U=w2.getPenaltyN1(q)+w2.getPenaltyN2(q)+w2.getPenaltyN3(q)+w2.getPenaltyN4(q);if(w2.applyMask(K,q),U<F)F=U,Q=K}return Q}});var V0=T((y2)=>{var g=J0(),Q0=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],F0=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];y2.getBlocksCount=function(q,Z){switch(Z){case g.L:return Q0[(q-1)*4+0];case g.M:return Q0[(q-1)*4+1];case g.Q:return Q0[(q-1)*4+2];case g.H:return Q0[(q-1)*4+3];default:return}};y2.getTotalCodewordsCount=function(q,Z){switch(Z){case g.L:return F0[(q-1)*4+0];case g.M:return F0[(q-1)*4+1];case g.Q:return F0[(q-1)*4+2];case g.H:return F0[(q-1)*4+3];default:return}}});var z1=T((D2)=>{var o=new Uint8Array(512),K0=new Uint8Array(256);(function(){let q=1;for(let Z=0;Z<255;Z++)if(o[Z]=q,K0[q]=Z,q<<=1,q&256)q^=285;for(let Z=255;Z<512;Z++)o[Z]=o[Z-255]})();D2.log=function(q){if(q<1)throw Error("log("+q+")");return K0[q]};D2.exp=function(q){return o[q]};D2.mul=function(q,Z){if(q===0||Z===0)return 0;return o[K0[q]+K0[Z]]}});var S1=T((c2)=>{var A0=z1();c2.mul=function(q,Z){let J=new Uint8Array(q.length+Z.length-1);for(let Q=0;Q<q.length;Q++)for(let F=0;F<Z.length;F++)J[Q+F]^=A0.mul(q[Q],Z[F]);return J};c2.mod=function(q,Z){let J=new Uint8Array(q);while(J.length-Z.length>=0){let Q=J[0];for(let K=0;K<Z.length;K++)J[K]^=A0.mul(Z[K],Q);let F=0;while(F<J.length&&J[F]===0)F++;J=J.slice(F)}return J};c2.generateECPolynomial=function(q){let Z=new Uint8Array([1]);for(let J=0;J<q;J++)Z=c2.mul(Z,new Uint8Array([1,A0.exp(J)]));return Z}});var C1=T((z5,f1)=>{var w1=S1();function N0($){if(this.genPoly=void 0,this.degree=$,this.degree)this.initialize(this.degree)}N0.prototype.initialize=function(q){this.degree=q,this.genPoly=w1.generateECPolynomial(this.degree)};N0.prototype.encode=function(q){if(!this.genPoly)throw Error("Encoder not initialized");let Z=new Uint8Array(q.length+this.degree);Z.set(q);let J=w1.mod(Z,this.genPoly),Q=this.degree-J.length;if(Q>0){let F=new Uint8Array(this.degree);return F.set(J,Q),F}return J};f1.exports=N0});var W0=T((x2)=>{x2.isValid=function(q){return!isNaN(q)&&q>=1&&q<=40}});var M0=T((i2)=>{var t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");var n2="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+`)(?:.|[\r
1
+ import{ema as T,gma as J5,hma as M}from"./cli-0.2.0-b8hs09nv.mjs";var T0=T((G5,K1)=>{K1.exports=function(){return typeof Promise==="function"&&Promise.prototype&&Promise.prototype.then}});var y=T((O2)=>{var X0,E2=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];O2.getSymbolSize=function(q){if(!q)throw Error('"version" cannot be null or undefined');if(q<1||q>40)throw Error('"version" should be in range from 1 to 40');return q*4+17};O2.getSymbolTotalCodewords=function(q){return E2[q]};O2.getBCHDigit=function($){let q=0;while($!==0)q++,$>>>=1;return q};O2.setToSJISFunction=function(q){if(typeof q!=="function")throw Error('"toSJISFunc" is not a valid function.');X0=q};O2.isKanjiModeEnabled=function(){return typeof X0<"u"};O2.toSJIS=function(q){return X0(q)}});var J0=T((M2)=>{M2.L={bit:1};M2.M={bit:0};M2.Q={bit:3};M2.H={bit:2};function W2($){if(typeof $!=="string")throw Error("Param is not a string");switch($.toLowerCase()){case"l":case"low":return M2.L;case"m":case"medium":return M2.M;case"q":case"quartile":return M2.Q;case"h":case"high":return M2.H;default:throw Error("Unknown EC Level: "+$)}}M2.isValid=function(q){return q&&typeof q.bit<"u"&&q.bit>=0&&q.bit<4};M2.from=function(q,Z){if(M2.isValid(q))return q;try{return W2(q)}catch(J){return Z}}});var X1=T((N5,T1)=>{function O1(){this.buffer=[],this.length=0}O1.prototype={get:function($){let q=Math.floor($/8);return(this.buffer[q]>>>7-$%8&1)===1},put:function($,q){for(let Z=0;Z<q;Z++)this.putBit(($>>>q-Z-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function($){let q=Math.floor(this.length/8);if(this.buffer.length<=q)this.buffer.push(0);if($)this.buffer[q]|=128>>>this.length%8;this.length++}};T1.exports=O1});var V1=T((W5,G1)=>{function s($){if(!$||$<1)throw Error("BitMatrix size must be defined and greater than 0");this.size=$,this.data=new Uint8Array($*$),this.reservedBit=new Uint8Array($*$)}s.prototype.set=function($,q,Z,J){let Q=$*this.size+q;if(this.data[Q]=Z,J)this.reservedBit[Q]=!0};s.prototype.get=function($,q){return this.data[$*this.size+q]};s.prototype.xor=function($,q,Z){this.data[$*this.size+q]^=Z};s.prototype.isReserved=function($,q){return this.reservedBit[$*this.size+q]};G1.exports=s});var N1=T((B2)=>{var _2=y().getSymbolSize;B2.getRowColCoords=function(q){if(q===1)return[];let Z=Math.floor(q/7)+2,J=_2(q),Q=J===145?26:Math.ceil((J-13)/(2*Z-2))*2,F=[J-7];for(let K=1;K<Z-1;K++)F[K]=F[K-1]-Q;return F.push(6),F.reverse()};B2.getPositions=function(q){let Z=[],J=B2.getRowColCoords(q),Q=J.length;for(let F=0;F<Q;F++)for(let K=0;K<Q;K++){if(F===0&&K===0||F===0&&K===Q-1||F===Q-1&&K===0)continue;Z.push([J[F],J[K]])}return Z}});var W1=T((z2)=>{var L2=y().getSymbolSize;z2.getPositions=function(q){let Z=L2(q);return[[0,0],[Z-7,0],[0,Z-7]]}});var L1=T((w2)=>{w2.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var v={N1:3,N2:3,N3:40,N4:10};w2.isValid=function(q){return q!=null&&q!==""&&!isNaN(q)&&q>=0&&q<=7};w2.from=function(q){return w2.isValid(q)?parseInt(q,10):void 0};w2.getPenaltyN1=function(q){let Z=q.size,J=0,Q=0,F=0,K=null,U=null;for(let R=0;R<Z;R++){Q=F=0,K=U=null;for(let H=0;H<Z;H++){let Y=q.get(R,H);if(Y===K)Q++;else{if(Q>=5)J+=v.N1+(Q-5);K=Y,Q=1}if(Y=q.get(H,R),Y===U)F++;else{if(F>=5)J+=v.N1+(F-5);U=Y,F=1}}if(Q>=5)J+=v.N1+(Q-5);if(F>=5)J+=v.N1+(F-5)}return J};w2.getPenaltyN2=function(q){let Z=q.size,J=0;for(let Q=0;Q<Z-1;Q++)for(let F=0;F<Z-1;F++){let K=q.get(Q,F)+q.get(Q,F+1)+q.get(Q+1,F)+q.get(Q+1,F+1);if(K===4||K===0)J++}return J*v.N2};w2.getPenaltyN3=function(q){let Z=q.size,J=0,Q=0,F=0;for(let K=0;K<Z;K++){Q=F=0;for(let U=0;U<Z;U++){if(Q=Q<<1&2047|q.get(K,U),U>=10&&(Q===1488||Q===93))J++;if(F=F<<1&2047|q.get(U,K),U>=10&&(F===1488||F===93))J++}}return J*v.N3};w2.getPenaltyN4=function(q){let Z=0,J=q.data.length;for(let F=0;F<J;F++)Z+=q.data[F];return Math.abs(Math.ceil(Z*100/J/5)-10)*v.N4};function S2($,q,Z){switch($){case w2.Patterns.PATTERN000:return(q+Z)%2===0;case w2.Patterns.PATTERN001:return q%2===0;case w2.Patterns.PATTERN010:return Z%3===0;case w2.Patterns.PATTERN011:return(q+Z)%3===0;case w2.Patterns.PATTERN100:return(Math.floor(q/2)+Math.floor(Z/3))%2===0;case w2.Patterns.PATTERN101:return q*Z%2+q*Z%3===0;case w2.Patterns.PATTERN110:return(q*Z%2+q*Z%3)%2===0;case w2.Patterns.PATTERN111:return(q*Z%3+(q+Z)%2)%2===0;default:throw Error("bad maskPattern:"+$)}}w2.applyMask=function(q,Z){let J=Z.size;for(let Q=0;Q<J;Q++)for(let F=0;F<J;F++){if(Z.isReserved(F,Q))continue;Z.xor(F,Q,S2(q,F,Q))}};w2.getBestMask=function(q,Z){let J=Object.keys(w2.Patterns).length,Q=0,F=1/0;for(let K=0;K<J;K++){Z(K),w2.applyMask(K,q);let U=w2.getPenaltyN1(q)+w2.getPenaltyN2(q)+w2.getPenaltyN3(q)+w2.getPenaltyN4(q);if(w2.applyMask(K,q),U<F)F=U,Q=K}return Q}});var V0=T((y2)=>{var g=J0(),Q0=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],F0=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];y2.getBlocksCount=function(q,Z){switch(Z){case g.L:return Q0[(q-1)*4+0];case g.M:return Q0[(q-1)*4+1];case g.Q:return Q0[(q-1)*4+2];case g.H:return Q0[(q-1)*4+3];default:return}};y2.getTotalCodewordsCount=function(q,Z){switch(Z){case g.L:return F0[(q-1)*4+0];case g.M:return F0[(q-1)*4+1];case g.Q:return F0[(q-1)*4+2];case g.H:return F0[(q-1)*4+3];default:return}}});var z1=T((D2)=>{var o=new Uint8Array(512),K0=new Uint8Array(256);(function(){let q=1;for(let Z=0;Z<255;Z++)if(o[Z]=q,K0[q]=Z,q<<=1,q&256)q^=285;for(let Z=255;Z<512;Z++)o[Z]=o[Z-255]})();D2.log=function(q){if(q<1)throw Error("log("+q+")");return K0[q]};D2.exp=function(q){return o[q]};D2.mul=function(q,Z){if(q===0||Z===0)return 0;return o[K0[q]+K0[Z]]}});var S1=T((c2)=>{var A0=z1();c2.mul=function(q,Z){let J=new Uint8Array(q.length+Z.length-1);for(let Q=0;Q<q.length;Q++)for(let F=0;F<Z.length;F++)J[Q+F]^=A0.mul(q[Q],Z[F]);return J};c2.mod=function(q,Z){let J=new Uint8Array(q);while(J.length-Z.length>=0){let Q=J[0];for(let K=0;K<Z.length;K++)J[K]^=A0.mul(Z[K],Q);let F=0;while(F<J.length&&J[F]===0)F++;J=J.slice(F)}return J};c2.generateECPolynomial=function(q){let Z=new Uint8Array([1]);for(let J=0;J<q;J++)Z=c2.mul(Z,new Uint8Array([1,A0.exp(J)]));return Z}});var C1=T((z5,f1)=>{var w1=S1();function N0($){if(this.genPoly=void 0,this.degree=$,this.degree)this.initialize(this.degree)}N0.prototype.initialize=function(q){this.degree=q,this.genPoly=w1.generateECPolynomial(this.degree)};N0.prototype.encode=function(q){if(!this.genPoly)throw Error("Encoder not initialized");let Z=new Uint8Array(q.length+this.degree);Z.set(q);let J=w1.mod(Z,this.genPoly),Q=this.degree-J.length;if(Q>0){let F=new Uint8Array(this.degree);return F.set(J,Q),F}return J};f1.exports=N0});var W0=T((x2)=>{x2.isValid=function(q){return!isNaN(q)&&q>=1&&q<=40}});var M0=T((i2)=>{var t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";t=t.replace(/u/g,"\\u");var n2="(?:(?![A-Z0-9 $%*+\\-./:]|"+t+`)(?:.|[\r
2
2
  ]))+`;i2.KANJI=new RegExp(t,"g");i2.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");i2.BYTE=new RegExp(n2,"g");i2.NUMERIC=new RegExp("[0-9]+","g");i2.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var p2=new RegExp("^"+t+"$"),d2=new RegExp("^[0-9]+$"),r2=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");i2.testKanji=function(q){return p2.test(q)};i2.testNumeric=function(q){return d2.test(q)};i2.testAlphanumeric=function(q){return r2.test(q)}});var u=T((F6)=>{var J6=W0(),j0=M0();F6.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};F6.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};F6.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};F6.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};F6.MIXED={bit:-1};F6.getCharCountIndicator=function(q,Z){if(!q.ccBits)throw Error("Invalid mode: "+q);if(!J6.isValid(Z))throw Error("Invalid version: "+Z);if(Z>=1&&Z<10)return q.ccBits[0];else if(Z<27)return q.ccBits[1];return q.ccBits[2]};F6.getBestModeForData=function(q){if(j0.testNumeric(q))return F6.NUMERIC;else if(j0.testAlphanumeric(q))return F6.ALPHANUMERIC;else if(j0.testKanji(q))return F6.KANJI;else return F6.BYTE};F6.toString=function(q){if(q&&q.id)return q.id;throw Error("Invalid mode")};F6.isValid=function(q){return q&&q.bit&&q.ccBits};function Q6($){if(typeof $!=="string")throw Error("Param is not a string");switch($.toLowerCase()){case"numeric":return F6.NUMERIC;case"alphanumeric":return F6.ALPHANUMERIC;case"kanji":return F6.KANJI;case"byte":return F6.BYTE;default:throw Error("Unknown mode: "+$)}}F6.from=function(q,Z){if(F6.isValid(q))return q;try{return Q6(q)}catch(J){return Z}}});var P1=T((G6)=>{var U0=y(),E6=V0(),g1=J0(),D=u(),z0=W0(),u1=U0.getBCHDigit(7973);function O6($,q,Z){for(let J=1;J<=40;J++)if(q<=G6.getCapacity(J,Z,$))return J;return}function D1($,q){return D.getCharCountIndicator($,q)+4}function T6($,q){let Z=0;return $.forEach(function(J){let Q=D1(J.mode,q);Z+=Q+J.getBitsLength()}),Z}function X6($,q){for(let Z=1;Z<=40;Z++)if(T6($,Z)<=G6.getCapacity(Z,q,D.MIXED))return Z;return}G6.from=function(q,Z){if(z0.isValid(q))return parseInt(q,10);return Z};G6.getCapacity=function(q,Z,J){if(!z0.isValid(q))throw Error("Invalid QR Code version");if(typeof J>"u")J=D.BYTE;let Q=U0.getSymbolTotalCodewords(q),F=E6.getTotalCodewordsCount(q,Z),K=(Q-F)*8;if(J===D.MIXED)return K;let U=K-D1(J,q);switch(J){case D.NUMERIC:return Math.floor(U/10*3);case D.ALPHANUMERIC:return Math.floor(U/11*2);case D.KANJI:return Math.floor(U/13);case D.BYTE:default:return Math.floor(U/8)}};G6.getBestVersionForData=function(q,Z){let J,Q=g1.from(Z,g1.M);if(Array.isArray(q)){if(q.length>1)return X6(q,Q);if(q.length===0)return 1;J=q[0]}else J=q;return O6(J.mode,J.getLength(),Q)};G6.getEncodedBits=function(q){if(!z0.isValid(q)||q<7)throw Error("Invalid QR Code version");let Z=q<<12;while(U0.getBCHDigit(Z)-u1>=0)Z^=7973<<U0.getBCHDigit(Z)-u1;return q<<12|Z}});var c1=T((W6)=>{var k0=y(),v1=k0.getBCHDigit(1335);W6.getEncodedBits=function(q,Z){let J=q.bit<<3|Z,Q=J<<10;while(k0.getBCHDigit(Q)-v1>=0)Q^=1335<<k0.getBCHDigit(Q)-v1;return(J<<10|Q)^21522}});var m1=T((y5,b1)=>{var j6=u();function m($){this.mode=j6.NUMERIC,this.data=$.toString()}m.getBitsLength=function(q){return 10*Math.floor(q/3)+(q%3?q%3*3+1:0)};m.prototype.getLength=function(){return this.data.length};m.prototype.getBitsLength=function(){return m.getBitsLength(this.data.length)};m.prototype.write=function(q){let Z,J,Q;for(Z=0;Z+3<=this.data.length;Z+=3)J=this.data.substr(Z,3),Q=parseInt(J,10),q.put(Q,10);let F=this.data.length-Z;if(F>0)J=this.data.substr(Z),Q=parseInt(J,10),q.put(Q,F*3+1)};b1.exports=m});var l1=T((g5,x1)=>{var _6=u(),S0=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function x($){this.mode=_6.ALPHANUMERIC,this.data=$}x.getBitsLength=function(q){return 11*Math.floor(q/2)+6*(q%2)};x.prototype.getLength=function(){return this.data.length};x.prototype.getBitsLength=function(){return x.getBitsLength(this.data.length)};x.prototype.write=function(q){let Z;for(Z=0;Z+2<=this.data.length;Z+=2){let J=S0.indexOf(this.data[Z])*45;J+=S0.indexOf(this.data[Z+1]),q.put(J,11)}if(this.data.length%2)q.put(S0.indexOf(this.data[Z]),6)};x1.exports=x});var p1=T((u5,n1)=>{var B6=u();function l($){if(this.mode=B6.BYTE,typeof $==="string")this.data=new TextEncoder().encode($);else this.data=new Uint8Array($)}l.getBitsLength=function(q){return q*8};l.prototype.getLength=function(){return this.data.length};l.prototype.getBitsLength=function(){return l.getBitsLength(this.data.length)};l.prototype.write=function($){for(let q=0,Z=this.data.length;q<Z;q++)$.put(this.data[q],8)};n1.exports=l});var r1=T((D5,d1)=>{var I6=u(),L6=y();function n($){this.mode=I6.KANJI,this.data=$}n.getBitsLength=function(q){return q*13};n.prototype.getLength=function(){return this.data.length};n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)};n.prototype.write=function($){let q;for(q=0;q<this.data.length;q++){let Z=L6.toSJIS(this.data[q]);if(Z>=33088&&Z<=40956)Z-=33088;else if(Z>=57408&&Z<=60351)Z-=49472;else throw Error("Invalid SJIS character: "+this.data[q]+`
3
3
  Make sure your charset is UTF-8`);Z=(Z>>>8&255)*192+(Z&255),$.put(Z,13)}};d1.exports=n});var i1=T((h5,w0)=>{var e={single_source_shortest_paths:function($,q,Z){var J={},Q={};Q[q]=0;var F=e.PriorityQueue.make();F.push(q,0);var K,U,R,H,Y,E,O,X,G;while(!F.empty()){K=F.pop(),U=K.value,H=K.cost,Y=$[U]||{};for(R in Y)if(Y.hasOwnProperty(R)){if(E=Y[R],O=H+E,X=Q[R],G=typeof Q[R]>"u",G||X>O)Q[R]=O,F.push(R,O),J[R]=U}}if(typeof Z<"u"&&typeof Q[Z]>"u"){var A=["Could not find a path from ",q," to ",Z,"."].join("");throw Error(A)}return J},extract_shortest_path_from_predecessor_list:function($,q){var Z=[],J=q,Q;while(J)Z.push(J),Q=$[J],J=$[J];return Z.reverse(),Z},find_path:function($,q,Z){var J=e.single_source_shortest_paths($,q,Z);return e.extract_shortest_path_from_predecessor_list(J,Z)},PriorityQueue:{make:function($){var q=e.PriorityQueue,Z={},J;$=$||{};for(J in q)if(q.hasOwnProperty(J))Z[J]=q[J];return Z.queue=[],Z.sorter=$.sorter||q.default_sorter,Z},default_sorter:function($,q){return $.cost-q.cost},push:function($,q){var Z={value:$,cost:q};this.queue.push(Z),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};if(typeof w0<"u")w0.exports=e});var Z7=T((f6)=>{var N=u(),t1=m1(),e1=l1(),a1=p1(),q7=r1(),a=M0(),R0=y(),z6=i1();function s1($){return unescape(encodeURIComponent($)).length}function q0($,q,Z){let J=[],Q;while((Q=$.exec(Z))!==null)J.push({data:Q[0],index:Q.index,mode:q,length:Q[0].length});return J}function $7($){let q=q0(a.NUMERIC,N.NUMERIC,$),Z=q0(a.ALPHANUMERIC,N.ALPHANUMERIC,$),J,Q;if(R0.isKanjiModeEnabled())J=q0(a.BYTE,N.BYTE,$),Q=q0(a.KANJI,N.KANJI,$);else J=q0(a.BYTE_KANJI,N.BYTE,$),Q=[];return q.concat(Z,J,Q).sort(function(K,U){return K.index-U.index}).map(function(K){return{data:K.data,mode:K.mode,length:K.length}})}function f0($,q){switch(q){case N.NUMERIC:return t1.getBitsLength($);case N.ALPHANUMERIC:return e1.getBitsLength($);case N.KANJI:return q7.getBitsLength($);case N.BYTE:return a1.getBitsLength($)}}function k6($){return $.reduce(function(q,Z){let J=q.length-1>=0?q[q.length-1]:null;if(J&&J.mode===Z.mode)return q[q.length-1].data+=Z.data,q;return q.push(Z),q},[])}function S6($){let q=[];for(let Z=0;Z<$.length;Z++){let J=$[Z];switch(J.mode){case N.NUMERIC:q.push([J,{data:J.data,mode:N.ALPHANUMERIC,length:J.length},{data:J.data,mode:N.BYTE,length:J.length}]);break;case N.ALPHANUMERIC:q.push([J,{data:J.data,mode:N.BYTE,length:J.length}]);break;case N.KANJI:q.push([J,{data:J.data,mode:N.BYTE,length:s1(J.data)}]);break;case N.BYTE:q.push([{data:J.data,mode:N.BYTE,length:s1(J.data)}])}}return q}function w6($,q){let Z={},J={start:{}},Q=["start"];for(let F=0;F<$.length;F++){let K=$[F],U=[];for(let R=0;R<K.length;R++){let H=K[R],Y=""+F+R;U.push(Y),Z[Y]={node:H,lastCount:0},J[Y]={};for(let E=0;E<Q.length;E++){let O=Q[E];if(Z[O]&&Z[O].node.mode===H.mode)J[O][Y]=f0(Z[O].lastCount+H.length,H.mode)-f0(Z[O].lastCount,H.mode),Z[O].lastCount+=H.length;else{if(Z[O])Z[O].lastCount=H.length;J[O][Y]=f0(H.length,H.mode)+4+N.getCharCountIndicator(H.mode,q)}}}Q=U}for(let F=0;F<Q.length;F++)J[Q[F]].end=0;return{map:J,table:Z}}function o1($,q){let Z,J=N.getBestModeForData($);if(Z=N.from(q,J),Z!==N.BYTE&&Z.bit<J.bit)throw Error('"'+$+'" cannot be encoded with mode '+N.toString(Z)+`.
4
4
  Suggested mode is: `+N.toString(J));if(Z===N.KANJI&&!R0.isKanjiModeEnabled())Z=N.BYTE;switch(Z){case N.NUMERIC:return new t1($);case N.ALPHANUMERIC:return new e1($);case N.KANJI:return new q7($);case N.BYTE:return new a1($)}}f6.fromArray=function(q){return q.reduce(function(Z,J){if(typeof J==="string")Z.push(o1(J,null));else if(J.data)Z.push(o1(J.data,J.mode));return Z},[])};f6.fromString=function(q,Z){let J=$7(q,R0.isKanjiModeEnabled()),Q=S6(J),F=w6(Q,Z),K=z6.find_path(F.map,"start","end"),U=[];for(let R=1;R<K.length-1;R++)U.push(F.table[K[R]].node);return f6.fromArray(k6(U))};f6.rawSplit=function(q){return f6.fromArray($7(q,R0.isKanjiModeEnabled()))}});var P0=T((i6)=>{var Y0=y(),y0=J0(),g6=X1(),u6=V1(),D6=N1(),h6=W1(),D0=L1(),h0=V0(),P6=C1(),H0=P1(),v6=c1(),c6=u(),g0=Z7();function b6($,q){let Z=$.size,J=h6.getPositions(q);for(let Q=0;Q<J.length;Q++){let F=J[Q][0],K=J[Q][1];for(let U=-1;U<=7;U++){if(F+U<=-1||Z<=F+U)continue;for(let R=-1;R<=7;R++){if(K+R<=-1||Z<=K+R)continue;if(U>=0&&U<=6&&(R===0||R===6)||R>=0&&R<=6&&(U===0||U===6)||U>=2&&U<=4&&R>=2&&R<=4)$.set(F+U,K+R,!0,!0);else $.set(F+U,K+R,!1,!0)}}}}function m6($){let q=$.size;for(let Z=8;Z<q-8;Z++){let J=Z%2===0;$.set(Z,6,J,!0),$.set(6,Z,J,!0)}}function x6($,q){let Z=D6.getPositions(q);for(let J=0;J<Z.length;J++){let Q=Z[J][0],F=Z[J][1];for(let K=-2;K<=2;K++)for(let U=-2;U<=2;U++)if(K===-2||K===2||U===-2||U===2||K===0&&U===0)$.set(Q+K,F+U,!0,!0);else $.set(Q+K,F+U,!1,!0)}}function l6($,q){let Z=$.size,J=H0.getEncodedBits(q),Q,F,K;for(let U=0;U<18;U++)Q=Math.floor(U/3),F=U%3+Z-8-3,K=(J>>U&1)===1,$.set(Q,F,K,!0),$.set(F,Q,K,!0)}function u0($,q,Z){let J=$.size,Q=v6.getEncodedBits(q,Z),F,K;for(F=0;F<15;F++){if(K=(Q>>F&1)===1,F<6)$.set(F,8,K,!0);else if(F<8)$.set(F+1,8,K,!0);else $.set(J-15+F,8,K,!0);if(F<8)$.set(8,J-F-1,K,!0);else if(F<9)$.set(8,15-F-1+1,K,!0);else $.set(8,15-F-1,K,!0)}$.set(J-8,8,1,!0)}function n6($,q){let Z=$.size,J=-1,Q=Z-1,F=7,K=0;for(let U=Z-1;U>0;U-=2){if(U===6)U--;while(!0){for(let R=0;R<2;R++)if(!$.isReserved(Q,U-R)){let H=!1;if(K<q.length)H=(q[K]>>>F&1)===1;if($.set(Q,U-R,H),F--,F===-1)K++,F=7}if(Q+=J,Q<0||Z<=Q){Q-=J,J=-J;break}}}}function p6($,q,Z){let J=new g6;Z.forEach(function(R){J.put(R.mode.bit,4),J.put(R.getLength(),c6.getCharCountIndicator(R.mode,$)),R.write(J)});let Q=Y0.getSymbolTotalCodewords($),F=h0.getTotalCodewordsCount($,q),K=(Q-F)*8;if(J.getLengthInBits()+4<=K)J.put(0,4);while(J.getLengthInBits()%8!==0)J.putBit(0);let U=(K-J.getLengthInBits())/8;for(let R=0;R<U;R++)J.put(R%2?17:236,8);return d6(J,$,q)}function d6($,q,Z){let J=Y0.getSymbolTotalCodewords(q),Q=h0.getTotalCodewordsCount(q,Z),F=J-Q,K=h0.getBlocksCount(q,Z),U=J%K,R=K-U,H=Math.floor(J/K),Y=Math.floor(F/K),E=Y+1,O=H-Y,X=new P6(O),G=0,A=Array(K),V=Array(K),W=0,E0=new Uint8Array($.buffer);for(let b=0;b<K;b++){let O0=b<R?Y:E;A[b]=E0.slice(G,G+O0),V[b]=X.encode(A[b]),G+=O0,W=Math.max(W,O0)}let i=new Uint8Array(J),I=0,z,C;for(z=0;z<W;z++)for(C=0;C<K;C++)if(z<A[C].length)i[I++]=A[C][z];for(z=0;z<O;z++)for(C=0;C<K;C++)i[I++]=V[C][z];return i}function r6($,q,Z,J){let Q;if(Array.isArray($))Q=g0.fromArray($);else if(typeof $==="string"){let H=q;if(!H){let Y=g0.rawSplit($);H=H0.getBestVersionForData(Y,Z)}Q=g0.fromString($,H||40)}else throw Error("Invalid data");let F=H0.getBestVersionForData(Q,Z);if(!F)throw Error("The amount of data is too big to be stored in a QR Code");if(!q)q=F;else if(q<F)throw Error(`
@@ -0,0 +1,2 @@
1
+ import{JK as o,LK as jj,MK as _j,NK as qj,OK as zj,PK as hj,QK as Fj,RK as Gj,SK as Hj,as as B,bs as D,cs as Lj}from"./cli-0.2.0-cs8e9514.mjs";import{A1 as n,D1 as b,D3 as bj,E1 as i,F1 as s,G1 as Z,H1 as U,LZ as J,M1 as C,Q1 as K,QZ as Bj,RZ as X,S1 as Ej,TZ as Dj,a2 as I,d1 as T,e1 as m,f1 as r,g2 as Uj,i3 as w,j1 as $,k1 as Kj,n1 as M,o1 as Tj,p1 as p,p3 as t,q1 as wj,r3 as e,t1 as y,w1 as a,x1 as d,y1 as S}from"./cli-0.2.0-h2wnach8.mjs";import{Aaa as _,Faa as h,Iaa as c,Laa as Zj,aaa as f,f$ as l,o$ as Xj,rba as k,sba as H,taa as Yj,xba as $j}from"./cli-0.2.0-g2h1t6ke.mjs";import{Mia as x,rla as Wj}from"./cli-0.2.0-gmq4bxtp.mjs";import{gma as Vj}from"./cli-0.2.0-b8hs09nv.mjs";function Jj(){let j=f(),q=k();if(!q)return[];if(j.additionalModelOptionsCacheScope!==void 0)return j.additionalModelOptionsCacheScope===q?j.additionalModelOptionsCache??[]:[];return q==="firstParty"?j.additionalModelOptionsCache??[]:[]}function V(j=!1){if(w())return{value:null,label:"Default (recommended)",description:i(j)};let q=J()!=="firstParty";return{value:null,label:"Default (recommended)",description:`Use the default model (currently ${s(n())})${q?"":` · ${$(T)}`}`}}function Cj(){let j=J()!=="firstParty",q=process.env.ANTHROPIC_DEFAULT_SONNET_MODEL;if(j&&q){let F=I(q);return{value:"sonnet",label:process.env.ANTHROPIC_DEFAULT_SONNET_MODEL_NAME??q,description:process.env.ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION??`Custom Sonnet model${F?" (1M context)":""}`,descriptionForModel:`${process.env.ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION??`Custom Sonnet model${F?" with 1M context":""}`} (${q})`}}}function Nj(){let j=J()!=="firstParty";return{value:j?X().sonnet46:"sonnet",label:"Sonnet",description:`Sonnet 4.6 · Best for everyday tasks${j?"":` · ${$(T)}`}`,descriptionForModel:"Sonnet 4.6 - best for everyday tasks. Generally recommended for most coding tasks"}}function xj(){let j=J()!=="firstParty",q=process.env.ANTHROPIC_DEFAULT_OPUS_MODEL;if(j&&q){let F=I(q);return{value:"opus",label:process.env.ANTHROPIC_DEFAULT_OPUS_MODEL_NAME??q,description:process.env.ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION??`Custom Opus model${F?" (1M context)":""}`,descriptionForModel:`${process.env.ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION??`Custom Opus model${F?" with 1M context":""}`} (${q})`}}}function kj(){return{value:"opus",label:"Opus 4.1",description:"Opus 4.1 · Legacy",descriptionForModel:"Opus 4.1 - legacy version"}}function A(j=!1){return{value:J()!=="firstParty"?X().opus47:"opus",label:"Opus",description:`Opus 4.7 · Most capable for complex work${Z(j)}`,descriptionForModel:"Opus 4.7 - most capable for complex work"}}function E(j=!1){return{value:X().opus46,label:"Opus 4.6",description:`Opus 4.6 · Previous Opus${Z(j)}`,descriptionForModel:"Opus 4.6 - previous Opus version"}}function v(){let j=J()!=="firstParty";return{value:j?X().sonnet46+"[1m]":"sonnet[1m]",label:"Sonnet (1M context)",description:`Sonnet 4.6 for long sessions${j?"":` · ${$(T)}`}`,descriptionForModel:"Sonnet 4.6 with 1M context window - for long sessions with large codebases"}}function yj(j=!1){return{value:J()!=="firstParty"?X().opus47+"[1m]":"opus[1m]",label:"Opus (1M context)",description:`Opus 4.7 for long sessions${Z(j)}`,descriptionForModel:"Opus 4.7 with 1M context window - for long sessions with large codebases"}}function Sj(j=!1){return{value:X().opus46+"[1m]",label:"Opus 4.6 (1M context)",description:`Opus 4.6 with 1M context · Previous Opus${Z(j)}`,descriptionForModel:"Opus 4.6 with 1M context - previous Opus version"}}function Ij(){let j=J()!=="firstParty",q=process.env.ANTHROPIC_DEFAULT_HAIKU_MODEL;if(j&&q)return{value:"haiku",label:process.env.ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME??q,description:process.env.ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION??"Custom Haiku model",descriptionForModel:`${process.env.ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION??"Custom Haiku model"} (${q})`}}function Qj(){return{value:"haiku",label:"Haiku",description:`Haiku 4.5 · Fastest for quick answers${J()!=="firstParty"?"":` · ${$(r)}`}`,descriptionForModel:"Haiku 4.5 - fastest for quick answers. Lower cost but less capable than Sonnet 4.6."}}function Aj(){return{value:"haiku",label:"Haiku",description:`Haiku 3.5 for simple tasks${J()!=="firstParty"?"":` · ${$(m)}`}`,descriptionForModel:"Haiku 3.5 - faster and lower cost, but less capable than Sonnet. Use for simple tasks."}}function vj(){return S()===X().haiku45?Qj():Aj()}function Rj(j=!1){return{value:"opus",label:"Opus",description:`Opus 4.7 · Most capable for complex work${j?Z(!0):""}`}}function P(){let j=J()!=="firstParty";return{value:"sonnet[1m]",label:"Sonnet (1M context)",description:`Sonnet 4.6 with 1M context${w()?" · Billed as extra usage":""}${j?"":` · ${$(T)}`}`}}function g(j=!1){return{value:"opus[1m]",label:"Opus (1M context)",description:`Opus 4.7 with 1M context${w()?" · Billed as extra usage":""}${Z(j)}`}}function N(j=!1){let q=J()!=="firstParty";return{value:q?X().opus47+"[1m]":"opus[1m]",label:"Opus (1M context)",description:`Opus 4.7 with 1M context · Most capable for complex work${!q&&j?Z(j):""}`,descriptionForModel:"Opus 4.7 with 1M context - most capable for complex work"}}function gj(){return{value:"opusplan",label:"Opus Plan Mode",description:"Use Opus 4.7 in plan mode, Sonnet 4.6 otherwise"}}function Oj(){return{value:"gpt-5.5",label:"gpt-5.5",description:"GPT-5.5 on the Codex backend with high reasoning"}}function uj(){return{value:"gpt-5.3-codex-spark",label:"gpt-5.3-codex-spark",description:"GPT-5.3 Codex Spark on the Codex backend for fast tool loops"}}function lj(){return[{value:"gpt-5.5",label:"gpt-5.5",description:"GPT-5.5 with high reasoning"},{value:"gpt-5.4",label:"gpt-5.4",description:"GPT-5.4 with high reasoning"},{value:"gpt-5.3-codex",label:"gpt-5.3-codex",description:"GPT-5.3 Codex with high reasoning"},{value:"gpt-5.3-codex-spark",label:"gpt-5.3-codex-spark",description:"GPT-5.3 Codex Spark for fast tool loops"},{value:"codexspark",label:"codexspark",description:"GPT-5.3 Codex Spark alias for fast tool loops"},{value:"gpt-5.2-codex",label:"gpt-5.2-codex",description:"GPT-5.2 Codex with high reasoning"},{value:"gpt-5.1-codex-max",label:"gpt-5.1-codex-max",description:"GPT-5.1 Codex Max for deep reasoning"},{value:"gpt-5.1-codex-mini",label:"gpt-5.1-codex-mini",description:"GPT-5.1 Codex Mini - faster, cheaper"},{value:"gpt-5.5-mini",label:"gpt-5.5-mini",description:"GPT-5.5 Mini - faster, cheaper"},{value:"gpt-5.4-mini",label:"gpt-5.4-mini",description:"GPT-5.4 Mini - faster, cheaper"}]}function fj(){return p().map((j)=>({value:j.id,label:j.name,description:`${j.family}${j.reasoning?" · Reasoning":""}${j.tool_call?" · Tool call":""} · ${Math.round(j.limit.context/1000)}K context`}))}function u(j=!1){if(J()==="github")return[V(j),...fj()];if(J()==="openai"&&o()){let z=V(j),G=jj();if(G.length>0)return[z,...G];let L=y()??x();if(L!=null)return[z,{value:L,label:L,description:"Currently configured Ollama model"}];return[z]}if(qj()){let z=V(j),G=zj();if(G.length>0)return[z,...G];return[z]}if(Fj()){let z=V(j),G=Gj();if(G.length>0)return[z,...G];return[z]}if(w()){if(t()||e()){let G=[V(j)];if(!U()&&B())G.push(g(j));if(G.push(Pj),D())G.push(P());return G.push(E(j)),G.push(O),G}let z=[V(j)];if(D())z.push(P());if(U())z.push(N(j));else if(z.push(Rj(j)),B())z.push(g(j));return z.push(E(j)),z.push(O),z}if(k()?.startsWith("openai:")){let z=c();return[V(j),...z.length>0?z:Jj()]}if(J()==="openai"&&!H()){let z=_();if(z){let G=h(z);if(G.length>0)return W([V(j),...G])}}let q=[];{let z=_();if(z){let G=h(z);q.push(...G)}}if(J()==="firstParty"){let z=[V(j)];if(D())z.push(v());if(U())z.push(N(j));else if(z.push(A(j)),B())z.push(yj(j));return z.push(E(j)),z.push(Qj()),z.push(...q),z}let F=[V(j)];if(H()||J()==="codex")F.push(...lj());let Q=Cj();if(Q!==void 0)F.push(Q);else if(F.push(Nj()),D())F.push(v());let R=xj();if(R!==void 0)F.push(R);else if(F.push(kj()),F.push(E(j)),F.push(A(j)),B())F.push(Sj(j));let Y=Ij();if(Y!==void 0)F.push(Y);else F.push(vj());return F.push(...q),F}function cj(j){let q=b(j);if(q.includes("claude-sonnet-4-6")||q.includes("claude-sonnet-4-5")||q.includes("claude-sonnet-4-")||q.includes("claude-3-7-sonnet")||q.includes("claude-3-5-sonnet")){let F=K(d());if(F)return{alias:"Sonnet",currentVersionName:F}}if(q.includes("claude-opus-4")){let F=K(a());if(F)return{alias:"Opus",currentVersionName:F}}if(q.includes("claude-haiku")||q.includes("claude-3-5-haiku")){let F=K(S());if(F)return{alias:"Haiku",currentVersionName:F}}return null}function mj(j){let q=K(j);if(!q)return null;let F=cj(j);if(!F)return{value:j,label:q,description:j};if(q!==F.currentVersionName)return{value:j,label:q,description:`Newer version available · select ${F.alias} for ${F.currentVersionName}`};return{value:j,label:q,description:j}}function Rq(j=!1){if(J()==="github")return W(u(j));let q=u(j),F=process.env.ANTHROPIC_CUSTOM_MODEL_OPTION;if(F&&!q.some((z)=>z.value===F))q.push({value:F,label:process.env.ANTHROPIC_CUSTOM_MODEL_OPTION_NAME??F,description:process.env.ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION??`Custom model (${F})`});for(let z of Jj())if(!q.some((G)=>G.value===z.value))q.push(z);let Q=null,R=y(),Y=x();if(R!==void 0&&R!==null)Q=R;else if(Y!==null)Q=Y;if(Q===null||q.some((z)=>{if(z.value===Q)return!0;if(z.value===null)return!1;try{return b(C(String(z.value)))===b(C(Q))}catch{return!1}}))return W(q);else if(Q==="opusplan")return W([...q,gj()]);else if(Q==="gpt-5.5")return W([...q,Oj()]);else if(Q==="gpt-5.3-codex-spark")return W([...q,uj()]);else if(Q==="opus"&&J()==="firstParty")return W([...q,Rj(j)]);else if(Q==="opus[1m]"&&J()==="firstParty")return W([...q,N(j)]);else{let z=mj(Q);if(z)q.push(z);else q.push({value:Q,label:Q,description:"Custom model"});return W(q)}}function W(j){let F=!(l()||{}).availableModels?j:j.filter((R)=>R.value===null||R.value!==null&&M(R.value)),Q=new Set;return F.filter((R)=>{let Y=String(R.value);if(Q.has(Y))return!1;return Q.add(Y),!0})}var Pj,O;var rj=Vj(()=>{Wj();$j();bj();Dj();Kj();Xj();Lj();Bj();Tj();Ej();Uj();Yj();Zj();_j();hj();Hj();wj();Pj={value:"sonnet",label:"Sonnet",description:"Sonnet 4.6 · Best for everyday tasks"},O={value:"haiku",label:"Haiku",description:"Haiku 4.5 · Fastest for quick answers"}});
2
+ export{Rq as Af,rj as Bf};
@@ -0,0 +1,2 @@
1
+ import{Pp as W,Sp as P,dI as U,pH as Y,ul as Q,vl as I}from"./cli-0.2.0-cs8e9514.mjs";import{Ica as B,Jca as H,dda as f}from"./cli-0.2.0-h9tvrrx9.mjs";import{Tda as J,Uda as F}from"./cli-0.2.0-p0dd7k39.mjs";import{Aha as v,rla as $}from"./cli-0.2.0-gmq4bxtp.mjs";import{gma as Z}from"./cli-0.2.0-b8hs09nv.mjs";import{randomUUID as V}from"crypto";function S(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:h.message,uuid:h.uuid,requestId:void 0,timestamp:new Date().toISOString()}];case"user":return[{type:"user",message:h.message,uuid:h.uuid??V(),timestamp:h.timestamp??new Date().toISOString(),isMeta:h.isSynthetic}];case"system":if(h.subtype==="compact_boundary")return[{type:"system",content:"Conversation compacted",level:"info",subtype:"compact_boundary",compactMetadata:w(h.compact_metadata),uuid:h.uuid,timestamp:new Date().toISOString()}];return[];default:return[]}})}function X(j){let h=j.preservedSegment;return{trigger:j.trigger,pre_tokens:j.preTokens,...h&&{preserved_segment:{head_uuid:h.headUuid,anchor_uuid:h.anchorUuid,tail_uuid:h.tailUuid}}}}function w(j){let h=j.preserved_segment;return{trigger:j.trigger,preTokens:j.pre_tokens,...h&&{preservedSegment:{headUuid:h.head_uuid,anchorUuid:h.anchor_uuid,tailUuid:h.tail_uuid}}}}function r(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:G(h),session_id:v(),parent_tool_use_id:null,uuid:h.uuid,error:h.error}];case"user":return[{type:"user",message:h.message,session_id:v(),parent_tool_use_id:null,uuid:h.uuid,timestamp:h.timestamp,isSynthetic:h.isMeta||h.isVisibleInTranscriptOnly,...h.toolUseResult!==void 0?{tool_use_result:h.toolUseResult}:{}}];case"system":if(h.subtype==="compact_boundary"&&h.compactMetadata)return[{type:"system",subtype:"compact_boundary",session_id:v(),uuid:h.uuid,compact_metadata:X(h.compactMetadata)}];if(h.subtype==="local_command"&&(h.content.includes(`<${B}>`)||h.content.includes(`<${H}>`)))return[z(h.content,h.uuid)];return[];default:return[]}})}function z(j,h){let x=J(j).replace(/<local-command-stdout>([\s\S]*?)<\/local-command-stdout>/,"$1").replace(/<local-command-stderr>([\s\S]*?)<\/local-command-stderr>/,"$1").trim();return{type:"assistant",message:Y({content:x}).message,parent_tool_use_id:null,session_id:v(),uuid:h}}function T(j){if(!j)return;return{status:j.status,...j.resetsAt!==void 0&&{resetsAt:j.resetsAt},...j.rateLimitType!==void 0&&{rateLimitType:j.rateLimitType},...j.utilization!==void 0&&{utilization:j.utilization},...j.overageStatus!==void 0&&{overageStatus:j.overageStatus},...j.overageResetsAt!==void 0&&{overageResetsAt:j.overageResetsAt},...j.overageDisabledReason!==void 0&&{overageDisabledReason:j.overageDisabledReason},...j.isUsingOverage!==void 0&&{isUsingOverage:j.isUsingOverage},...j.surpassedThreshold!==void 0&&{surpassedThreshold:j.surpassedThreshold}}}function G(j){let h=j.message.content;if(!Array.isArray(h))return j.message;let x=h.map((q)=>{if(q.type!=="tool_use")return q;if(q.name===Q){let y=W();if(y)return{...q,input:{...q.input,plan:y}}}return q});return{...j.message,content:x}}var R=Z(()=>{$();f();I();F();U();P()});
2
+ export{S as Sc,X as Tc,w as Uc,r as Vc,z as Wc,T as Xc,R as Yc};