@acedatacloud/nexior 3.58.0 → 3.60.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 (255) hide show
  1. package/dist/assets/{Auth-DYGNDqCW.js → Auth-Bc1ZEOyS.js} +1 -1
  2. package/dist/assets/{BotPlaceholder-ChCb8Vv8.js → BotPlaceholder-CFeS0lPI.js} +1 -1
  3. package/dist/assets/{Callback-D6hA0ji-.js → Callback-BzN1YgMl.js} +1 -1
  4. package/dist/assets/{Console-CD1F8NGN.js → Console-Wm3oDzUM.js} +1 -1
  5. package/dist/assets/{Consumption-DfeDOZae.js → Consumption-C1KeusUW.js} +1 -1
  6. package/dist/assets/{Conversation-B4PNsemL.js → Conversation-BtdAVSA5.js} +1 -1
  7. package/dist/assets/{CopyToClipboard-BM_lDXUt.js → CopyToClipboard-Bwj8g4ti.js} +1 -1
  8. package/dist/assets/{Detail-aNp4-Sp1.js → Detail-BsfKccBT.js} +2 -2
  9. package/dist/assets/{EditArray-CBdYV5V0.js → EditArray-BMED20x7.js} +1 -1
  10. package/dist/assets/{Extra-CmpCn6PS.js → Extra-xpYIQ5yi.js} +1 -1
  11. package/dist/assets/{FilePreview-D29J-g_1.js → FilePreview-CCWfsE4C.js} +1 -1
  12. package/dist/assets/{History-CW8HZxm2.js → History-T471DyjG.js} +1 -1
  13. package/dist/assets/{IconPark.vue_vue_type_script_setup_true_lang-7d4twQSG.js → IconPark.vue_vue_type_script_setup_true_lang-qIqsx0l-.js} +1 -1
  14. package/dist/assets/{ImagePreview-DfqytLVt.js → ImagePreview-DBkeqGne.js} +1 -1
  15. package/dist/assets/{ImageWrapper-BvdzaQyW.js → ImageWrapper-BI_HqAjp.js} +1 -1
  16. package/dist/assets/{Index-DKUupcBI.js → Index-B5-Fy_22.js} +1 -1
  17. package/dist/assets/{Index-BmlsKknA.js → Index-B_nOFV_2.js} +1 -1
  18. package/dist/assets/{Index-BKrksj2b.js → Index-B_w3YlP8.js} +1 -1
  19. package/dist/assets/{Index-Bm0mOK1G.js → Index-Bc6LCWHH.js} +1 -1
  20. package/dist/assets/{Index-Cv8w1bl-.js → Index-BeU_5byh.js} +1 -1
  21. package/dist/assets/{Index-KBisOGIs.js → Index-CEX06Z4V.js} +1 -1
  22. package/dist/assets/{Index-BBXhcLe3.js → Index-Ca6ezffN.js} +1 -1
  23. package/dist/assets/{Index-qsmXsP0U.js → Index-CcvqgSbS.js} +1 -1
  24. package/dist/assets/{Index-QvBxzlbu.js → Index-CkOYAwEL.js} +1 -1
  25. package/dist/assets/{Index-Cm5jI-BT.js → Index-Culsao9t.js} +1 -1
  26. package/dist/assets/{Index-5Ew_nUjP.js → Index-DNwkR4L0.js} +1 -1
  27. package/dist/assets/{Index-B6B3lGgv.js → Index-Dl6Lgr6n.js} +1 -1
  28. package/dist/assets/{Index-DzBiOr6Q.js → Index-DokAPyYb.js} +1 -1
  29. package/dist/assets/{Index-DceE04r8.js → Index-Dqof_Cuu.js} +1 -1
  30. package/dist/assets/{Index-BhbrHnuw.js → Index-Le4bI-zg.js} +1 -1
  31. package/dist/assets/{Index-BeyI91Ap.js → Index-Lf8rawDK.js} +1 -1
  32. package/dist/assets/{Index-DtH3VYmQ.js → Index-NYN1lNN7.js} +1 -1
  33. package/dist/assets/{Index-DFsTf4U0.js → Index-TyhtnsFU.js} +1 -1
  34. package/dist/assets/{Index-DZFHVttQ.js → Index-X5vppYpa.js} +1 -1
  35. package/dist/assets/{Index-03DGesjV.js → Index-_idA0KPw.js} +1 -1
  36. package/dist/assets/{Index-BN68BETM.js → Index-fJYeflSC.js} +1 -1
  37. package/dist/assets/{Index-BL5xyEGb.js → Index-rIQyWj07.js} +1 -1
  38. package/dist/assets/{Index-CFv_2F4m.js → Index-x8vNBX3G.js} +1 -1
  39. package/dist/assets/{Index-CIDu_0km.js → Index-xS2u5L2e.js} +1 -1
  40. package/dist/assets/{Invitees-DambzAZ5.js → Invitees-DSoCOfMP.js} +1 -1
  41. package/dist/assets/{List-Gv-kPRLv.js → List-AWlKUJQS.js} +1 -1
  42. package/dist/assets/{List-Cb2kPVhy.js → List-CYCEfYZG.js} +1 -1
  43. package/dist/assets/{List-CRrgHzH8.js → List-CntmpuU-.js} +1 -1
  44. package/dist/assets/{Main-B_OQq6Hu.js → Main-D9QmIhSj.js} +1 -1
  45. package/dist/assets/{Navigator-hKVLCxHm.js → Navigator-D5VP_NKw.js} +1 -1
  46. package/dist/assets/{NoTasks-BQcfOWR1.js → NoTasks-HBj-UocI.js} +1 -1
  47. package/dist/assets/{NotFound-D9G0sMKY.js → NotFound-D6iUwJb-.js} +1 -1
  48. package/dist/assets/{OAuthCallback-Bft7N_6M.js → OAuthCallback-Br7XRKRR.js} +1 -1
  49. package/dist/assets/{Pagination-CwKQPumN.js → Pagination-DUpP8tcc.js} +1 -1
  50. package/dist/assets/{ScrollList-Ct0Km1sY.js → ScrollList-CQAzClwU.js} +1 -1
  51. package/dist/assets/{Status-CmGIO8J1.js → Status-BeMPMRA6.js} +1 -1
  52. package/dist/assets/{Subscribe-jOjSvjKO.js → Subscribe-BTS9ZFMM.js} +1 -1
  53. package/dist/assets/{TransportWebHID-ZBNiW_Ch.js → TransportWebHID-DOTu9yBv.js} +1 -1
  54. package/dist/assets/{VideoPlayer-BkUkC5yH.js → VideoPlayer-D9VeGqsh.js} +1 -1
  55. package/dist/assets/{_Uint8Array-DRbO7RkA.js → _Uint8Array-CzkknY9d.js} +1 -1
  56. package/dist/assets/{_baseClone-DHUSso_K.js → _baseClone-CdFHryfs.js} +1 -1
  57. package/dist/assets/{_baseIteratee-hfdFxZm7.js → _baseIteratee-Cmon9_5a.js} +1 -1
  58. package/dist/assets/{_initCloneObject-B2aXh2fK.js → _initCloneObject-BoYLcg48.js} +1 -1
  59. package/dist/assets/{add-DhadK362.js → add-Dn-HzEG9.js} +1 -1
  60. package/dist/assets/{all-wallets-Ni8qhSZL.js → all-wallets-D9T0XM5i.js} +1 -1
  61. package/dist/assets/{api-S46-7iFE.js → api-BeG4WOjg.js} +1 -1
  62. package/dist/assets/{api-DEdojowz.js → api-DhgoScpQ.js} +1 -1
  63. package/dist/assets/{app-store-DVcmMDzD.js → app-store-DRACwrqX.js} +1 -1
  64. package/dist/assets/{apple-BOu8fl8n.js → apple-BhjEkPjo.js} +1 -1
  65. package/dist/assets/{arrow-bottom-wRnCvG-y.js → arrow-bottom-DNGuEFfg.js} +1 -1
  66. package/dist/assets/{arrow-bottom-circle-DfpGNMRg.js → arrow-bottom-circle-77t-R-m4.js} +1 -1
  67. package/dist/assets/{arrow-left-CRlumsiB.js → arrow-left-y2y-YewK.js} +1 -1
  68. package/dist/assets/{arrow-right-rAXL4ENL.js → arrow-right-DxQGFXy6.js} +1 -1
  69. package/dist/assets/{arrow-top-DB51jSRj.js → arrow-top-D0CJ1LCd.js} +1 -1
  70. package/dist/assets/{avatar-BO8ODAAQ.js → avatar-CITEdV6q.js} +1 -1
  71. package/dist/assets/{bank-9ZOJ8L3s.js → bank-3IYg080o.js} +1 -1
  72. package/dist/assets/{basic-BKQ-9IWm.js → basic-DfVqZ-zs.js} +1 -1
  73. package/dist/assets/{browser-CO2zYrsc.js → browser-a3l_NWf-.js} +1 -1
  74. package/dist/assets/{card-BONzkVYn.js → card-BTJUnRar.js} +1 -1
  75. package/dist/assets/{castArray-boTYBhhU.js → castArray-CqOCtFFO.js} +1 -1
  76. package/dist/assets/{chat-BnbsSb28.js → chat-BuHiaaH3.js} +1 -1
  77. package/dist/assets/{checkmark-BVayYgzC.js → checkmark--kVnZYac.js} +1 -1
  78. package/dist/assets/{checkmark-bold-BNy9Wrun.js → checkmark-bold-CpUoaNwR.js} +1 -1
  79. package/dist/assets/{chevron-bottom-CxFddH5r.js → chevron-bottom-BO_7kd3Y.js} +1 -1
  80. package/dist/assets/{chevron-left-BYh0usVR.js → chevron-left-CULk7_bN.js} +1 -1
  81. package/dist/assets/{chevron-right-oL5SSFS-.js → chevron-right-DnmWhNve.js} +1 -1
  82. package/dist/assets/{chevron-top-DjwqpzIA.js → chevron-top-Ctqfw_vf.js} +1 -1
  83. package/dist/assets/{chrome-store-B6OHi5WC.js → chrome-store-CNrtdcnz.js} +1 -1
  84. package/dist/assets/{clock-C5C_CaH6.js → clock-B_EE9e8u.js} +1 -1
  85. package/dist/assets/{close-CvZTt_oz.js → close-t1T5uRQw.js} +1 -1
  86. package/dist/assets/{coinPlaceholder-DZokdzDS.js → coinPlaceholder-BKDqBScz.js} +1 -1
  87. package/dist/assets/common-BjTyswUh.js +1 -0
  88. package/dist/assets/common-Dv6xK4CK.js +1 -0
  89. package/dist/assets/{compass-B3rqEe9w.js → compass-BYZiKKaH.js} +1 -1
  90. package/dist/assets/{copy-DFZolEQK.js → copy-Dy_EyONR.js} +1 -1
  91. package/dist/assets/{cursor-DjniHeDZ.js → cursor-DPql4hdp.js} +1 -1
  92. package/dist/assets/{cursor-transparent-DI-y0M24.js → cursor-transparent-BWxs-Vus.js} +1 -1
  93. package/dist/assets/{debounce-CVEmZFNe.js → debounce-BU9isDMA.js} +1 -1
  94. package/dist/assets/{desktop-C_HwU0UG.js → desktop-DpVGhNw7.js} +1 -1
  95. package/dist/assets/{disconnect-DDQS_OiL.js → disconnect-L5unV5W8.js} +1 -1
  96. package/dist/assets/{discord-CQ3KrLAd.js → discord-Pig2v5-d.js} +1 -1
  97. package/dist/assets/{distribution-tRLoajUC.js → distribution-DiKDxUQ5.js} +1 -1
  98. package/dist/assets/{dropdown-Di-OQgFj.js → dropdown-DFjS54vw.js} +1 -1
  99. package/dist/assets/{etherscan-CM7uLO7K.js → etherscan-Ced9FJY0.js} +1 -1
  100. package/dist/assets/{exclamation-triangle-DIIgA_js.js → exclamation-triangle-COf_fwRE.js} +1 -1
  101. package/dist/assets/{extension-DyvmlZM2.js → extension-5RkinuhI.js} +1 -1
  102. package/dist/assets/{external-link-BhmKJ37p.js → external-link-D8wd5fju.js} +1 -1
  103. package/dist/assets/{facebook-DSC3nSpY.js → facebook-YBiSrfM-.js} +1 -1
  104. package/dist/assets/{farcaster-CjMNvEMi.js → farcaster-CdkR2X9i.js} +1 -1
  105. package/dist/assets/{filters-WkKrBs_-.js → filters-D1smfrSo.js} +1 -1
  106. package/dist/assets/{flux-BuXPvQIy.js → flux-BzShnxDW.js} +1 -1
  107. package/dist/assets/{github-BqamU31R.js → github-BbLFirWk.js} +1 -1
  108. package/dist/assets/{google-DdqSu_Y-.js → google-BNBBDDyt.js} +1 -1
  109. package/dist/assets/{hailuo-KQG2WmuV.js → hailuo-C81ozFSq.js} +1 -1
  110. package/dist/assets/{headshots-XMemsZ0g.js → headshots-BUqA43-_.js} +1 -1
  111. package/dist/assets/{headshots-DA95kWDp.js → headshots-CfyqkgAK.js} +1 -1
  112. package/dist/assets/{headshots-BJMWFKEW.js → headshots-k_oUektK.js} +1 -1
  113. package/dist/assets/{help-circle-DhFYS3R2.js → help-circle-B3ycV0TR.js} +1 -1
  114. package/dist/assets/{id-Cx8qcdPw.js → id-CYfF5xS5.js} +1 -1
  115. package/dist/assets/{image-Maq0XRYp.js → image-CAH-k0Qp.js} +1 -1
  116. package/dist/assets/{index-CmozsmzZ.js → index-7hHy0raL.js} +1 -1
  117. package/dist/assets/{index-RljJMDHd.js → index-B7q3-h78.js} +1 -1
  118. package/dist/assets/{index-CnnRg155.js → index-BQxTkntr.js} +1 -1
  119. package/dist/assets/{index-CeYRpRe_.js → index-BU3cjQQ4.js} +1 -1
  120. package/dist/assets/{index-ClCxNcRl.js → index-BUPgUe-m.js} +1 -1
  121. package/dist/assets/{index-BrzeY6o4.js → index-BVRX5NqD.js} +1 -1
  122. package/dist/assets/{index-Cz_pUAj0.js → index-BYTkRlu-.js} +1 -1
  123. package/dist/assets/{index-DXs08-vF.js → index-B__Kptq7.js} +1 -1
  124. package/dist/assets/{index-D-dlJ-aT.js → index-BcQ0x5sE.js} +1 -1
  125. package/dist/assets/{index-Btb2Kqu3.js → index-BfIhQTEK.js} +1 -1
  126. package/dist/assets/{index-C0OivO0I.js → index-Bgg99S5O.js} +1 -1
  127. package/dist/assets/{index-g-iFajHB.js → index-BjDrRB5S.js} +1 -1
  128. package/dist/assets/{index-CM4diDdr.js → index-Bp_XL4cn.js} +1 -1
  129. package/dist/assets/{index-CB8f7OLq.js → index-C3O7XZb8.js} +1 -1
  130. package/dist/assets/{index-DU3pVVDP.js → index-C6Txa53s.js} +1 -1
  131. package/dist/assets/{index-CN2LiVMo.js → index-C9-Z_pMc.js} +1 -1
  132. package/dist/assets/{index-CJgc03o7.js → index-CAj4EHVz.js} +1 -1
  133. package/dist/assets/{index-Di6x4d6J.js → index-CCusmSuq.js} +1 -1
  134. package/dist/assets/{index-BuhoT_Et.js → index-CGaZ_Omb.js} +1 -1
  135. package/dist/assets/{index-C9xhN24M.js → index-CTNvmznV.js} +1 -1
  136. package/dist/assets/{index-B20YcFJ8.js → index-CVi2iC3i.js} +1 -1
  137. package/dist/assets/{index-DujV5uiQ.js → index-Cd29BIsC.js} +1 -1
  138. package/dist/assets/{index-DByFUX_w.js → index-CdUz2mFg.js} +1 -1
  139. package/dist/assets/{index-Dt1mN8jC.js → index-Ce8ylCKN.js} +1 -1
  140. package/dist/assets/{index-DrVoTBh9.js → index-ChHTosNb.js} +1 -1
  141. package/dist/assets/{index-C6aOwQV6.js → index-CkNOn61q.js} +1 -1
  142. package/dist/assets/{index-D07OZdqt.js → index-CkRFiL0E.js} +1 -1
  143. package/dist/assets/{index-0ofnOFaT.js → index-Cla0vceJ.js} +1 -1
  144. package/dist/assets/{index-CaUDDPQ_.js → index-Cn7kpL17.js} +3 -3
  145. package/dist/assets/{index-DUKehVcR.js → index-D1nP7M-C.js} +1 -1
  146. package/dist/assets/{index-BQfx3xgL.js → index-D7qHgdg0.js} +1 -1
  147. package/dist/assets/{index-zi0qhO12.js → index-D9OANo-g.js} +1 -1
  148. package/dist/assets/{index-KS_ASdMS.js → index-DBgxk4X5.js} +1 -1
  149. package/dist/assets/{index-edWGeP0p.js → index-DEQo4s45.js} +1 -1
  150. package/dist/assets/{index-DDzvF3is.js → index-DINq8R6m.js} +7 -7
  151. package/dist/assets/{index-CgATUzcB.js → index-DMItY-nD.js} +1 -1
  152. package/dist/assets/{index-JUgdZ--r.js → index-DSXtMBw4.js} +1 -1
  153. package/dist/assets/{index-BFjkLxAL.js → index-DbIHhTbZ.js} +1 -1
  154. package/dist/assets/{index-BxprUbM8.js → index-DdOV0VIO.js} +1 -1
  155. package/dist/assets/{index-DdFII0BA.js → index-DeEWeite.js} +1 -1
  156. package/dist/assets/{index-CN4Fuyfy.js → index-DgML0Adc.js} +1 -1
  157. package/dist/assets/{index-BI8dCsU_.js → index-Dh4ibTp5.js} +1 -1
  158. package/dist/assets/{index-DQbaTzuT.js → index-DhOtcLEN.js} +1 -1
  159. package/dist/assets/{index-CvPaTM2w.js → index-DkyajLoN.js} +1 -1
  160. package/dist/assets/{index-DqmH3VWE.js → index-DsmRh-jr.js} +1 -1
  161. package/dist/assets/{index-5xA8y5QF.js → index-DxuOVeTY.js} +1 -1
  162. package/dist/assets/{index-CXHd491Q.js → index-FV_rgDf4.js} +1 -1
  163. package/dist/assets/{index-DBY6jjcR.js → index-LVrXgHUR.js} +1 -1
  164. package/dist/assets/{index-9szaY8p5.js → index-PWTSTSo9.js} +1 -1
  165. package/dist/assets/{index-o0J_0rGw.js → index-UfN2Nq7e.js} +1 -1
  166. package/dist/assets/{index-BI0gGf-3.js → index-VtfjHJbR.js} +1 -1
  167. package/dist/assets/{index-D8L9insm.js → index-XEif21W-.js} +1 -1
  168. package/dist/assets/{index-DDhlU0g3.js → index-apKrtIad.js} +1 -1
  169. package/dist/assets/{index-D7MVODqe.js → index-gHQUYj0J.js} +1 -1
  170. package/dist/assets/{index-CfBt-7Qg.js → index-mhKmKuBG.js} +1 -1
  171. package/dist/assets/{index-Bbo9QFjr.js → index-nlkPqTEQ.js} +1 -1
  172. package/dist/assets/{index-iN2PeQEN.js → index-pIEARt-4.js} +1 -1
  173. package/dist/assets/{index-DCg4Dkdi.js → index-q_66wTX8.js} +4 -4
  174. package/dist/assets/{index-D9G1sBr2.js → index-rXXkvPDC.js} +1 -1
  175. package/dist/assets/{index-DVhJKDru.js → index-xMpgqAvR.js} +1 -1
  176. package/dist/assets/{index-DmGUQNIF.js → index-zJqDIVoI.js} +1 -1
  177. package/dist/assets/{index-DdlRdmBp.js → index-zkXyNc7l.js} +1 -1
  178. package/dist/assets/{index.browser.esm-uBaXz-Gy.js → index.browser.esm-I7fg10vC.js} +1 -1
  179. package/dist/assets/{index.es-DQSkYkzb.js → index.es-uZQD9_wc.js} +1 -1
  180. package/dist/assets/{info-Caab-juq.js → info-C_a232SH.js} +1 -1
  181. package/dist/assets/{info-circle-7CoG-nwM.js → info-circle-BNS1tpLX.js} +1 -1
  182. package/dist/assets/{isEqual-7DyH1zpL.js → isEqual-BQLdMC9u.js} +1 -1
  183. package/dist/assets/{isPlainObject-CcQDDiIC.js → isPlainObject-BEQJcez8.js} +1 -1
  184. package/dist/assets/{kling-CcsG_zjz.js → kling-CGVyNds-.js} +1 -1
  185. package/dist/assets/{lightbulb-elhvzwVM.js → lightbulb-Dabq6VoN.js} +1 -1
  186. package/dist/assets/{luma-B9z-LqT4.js → luma-oTxAvrR-.js} +1 -1
  187. package/dist/assets/{mail-Bi5adMHa.js → mail-Bu8O6smJ.js} +1 -1
  188. package/dist/assets/{midjourney-BITXq65L.js → midjourney-uMEPIfin.js} +1 -1
  189. package/dist/assets/{mobile-t8hcXVRB.js → mobile-pCpWN48b.js} +1 -1
  190. package/dist/assets/{more-CA3r7H1s.js → more-DglKPxKj.js} +1 -1
  191. package/dist/assets/{nanobanana-DVBYAXad.js → nanobanana-DYWXPTMv.js} +1 -1
  192. package/dist/assets/{network-placeholder-DPM6L2lr.js → network-placeholder-CWgrCZGZ.js} +1 -1
  193. package/dist/assets/{nftPlaceholder-CxjU0Uj9.js → nftPlaceholder-B34CyinE.js} +1 -1
  194. package/dist/assets/{off-ByxHjo6B.js → off-zFsVLCIl.js} +1 -1
  195. package/dist/assets/{openaiimage-DmZ4rtOW.js → openaiimage-CVgX7toK.js} +1 -1
  196. package/dist/assets/{order-BStPpJZr.js → order-Ch4l11me.js} +1 -1
  197. package/dist/assets/{pika-CrPvsxcR.js → pika-6XdsmIS2.js} +1 -1
  198. package/dist/assets/{pixverse-DbrgLmEa.js → pixverse-BfCkt0CL.js} +1 -1
  199. package/dist/assets/{play-store-CuxFBK0A.js → play-store-BZGSdtYW.js} +1 -1
  200. package/dist/assets/{plus-BrKh6o3U.js → plus-BVVOTT4O.js} +1 -1
  201. package/dist/assets/{price-DAh4h84D.js → price-DNF0yLAq.js} +1 -1
  202. package/dist/assets/{producer-DdBwxuB4.js → producer-PNoMtyX2.js} +1 -1
  203. package/dist/assets/{qr-code-DxHRxaxj.js → qr-code-Y-Q29T4H.js} +1 -1
  204. package/dist/assets/{qrart-CQOYuUuj.js → qrart-BHxrXFHe.js} +1 -1
  205. package/dist/assets/{qrart-B1CpQE1F.js → qrart-bz2ka1jT.js} +1 -1
  206. package/dist/assets/{qrart-5eWjLAFP.js → qrart-ok8OOX9K.js} +1 -1
  207. package/dist/assets/{recycle-horizontal-C0Kevh8S.js → recycle-horizontal-BjI2mVNj.js} +1 -1
  208. package/dist/assets/{refresh-BP3yEHbs.js → refresh-BMTW70l1.js} +1 -1
  209. package/dist/assets/{reown-logo-C_5FtN8d.js → reown-logo-CB6IBbw0.js} +1 -1
  210. package/dist/assets/{search-CVudJ8LY.js → search-DgtGMxCh.js} +1 -1
  211. package/dist/assets/{secp256k1-CNY_qDc6.js → secp256k1-CNwRAPdJ.js} +1 -1
  212. package/dist/assets/{secp256k1-DYjP08cD.js → secp256k1-CsmKW8zr.js} +1 -1
  213. package/dist/assets/{seedance-CjCdMQc2.js → seedance-Qaov9UZb.js} +1 -1
  214. package/dist/assets/{seedream-Bd4cNrMU.js → seedream-DiY6L9y_.js} +1 -1
  215. package/dist/assets/{send-BPbPi2QR.js → send-CXBXVVm9.js} +1 -1
  216. package/dist/assets/{service-Djt3u4NK.js → service-DN_YOMTy.js} +1 -1
  217. package/dist/assets/{site-BGwTb3tg.js → site-CdS7LwGZ.js} +1 -1
  218. package/dist/assets/{site-Bf90NcZQ.js → site-yTTARj-x.js} +1 -1
  219. package/dist/assets/{solana-wallets-DS6NPicw.js → solana-wallets-B0Ry3hxV.js} +2 -2
  220. package/dist/assets/{solana-wallets-vue-WaPOrf75.js → solana-wallets-vue-BRFmoxej.js} +1 -1
  221. package/dist/assets/{solanaEmbed.esm-C-ewx9GG.js → solanaEmbed.esm-jmKND5Ot.js} +1 -1
  222. package/dist/assets/{sora-C8htab1Z.js → sora-DYppYUB4.js} +1 -1
  223. package/dist/assets/{string_decoder-CseZS9ez.js → string_decoder-CPRIldOl.js} +1 -1
  224. package/dist/assets/{suno-cOROeLkt.js → suno-C2ojcvzc.js} +1 -1
  225. package/dist/assets/{suno-CET3_qoZ.js → suno-C7fUKl4M.js} +1 -1
  226. package/dist/assets/{suno-D3UODCz4.js → suno-DfNwyKU0.js} +1 -1
  227. package/dist/assets/{swapHorizontal-DxbcSfrX.js → swapHorizontal-HfW8Od64.js} +1 -1
  228. package/dist/assets/{swapHorizontalBold-CSsCLIDQ.js → swapHorizontalBold-CLBkL7fa.js} +1 -1
  229. package/dist/assets/{swapHorizontalMedium-BLMooGz3.js → swapHorizontalMedium-ChaXFLjB.js} +1 -1
  230. package/dist/assets/{swapHorizontalRoundedBold-M454M7e2.js → swapHorizontalRoundedBold-BQ64pMO_.js} +1 -1
  231. package/dist/assets/{swapVertical-BDQH6x9G.js → swapVertical-BG3bRiec.js} +1 -1
  232. package/dist/assets/{telegram-CRQUEqB3.js → telegram-Cwp3p1X1.js} +1 -1
  233. package/dist/assets/{three-dots-BYPcIbkP.js → three-dots-ocX27-91.js} +1 -1
  234. package/dist/assets/{twitch-BFrXlxO8.js → twitch-Dx8-5yhX.js} +1 -1
  235. package/dist/assets/{twitterIcon-DUKFvBEP.js → twitterIcon-BjytbclG.js} +1 -1
  236. package/dist/assets/{typescript-BR9jNAAl.js → typescript-Ckmdn4KJ.js} +1 -1
  237. package/dist/assets/{use-form-item-uOcrry0J.js → use-form-item-DyyKqmqf.js} +1 -1
  238. package/dist/assets/validator-CV2ZWjU3.js +1 -0
  239. package/dist/assets/{veo-DEXaPvpl.js → veo-D7a-NBmu.js} +1 -1
  240. package/dist/assets/{verify-CGC2-5v6.js → verify-CxV-0pxQ.js} +1 -1
  241. package/dist/assets/{verify-filled-eopuvi_U.js → verify-filled-Dm-f7dg7.js} +1 -1
  242. package/dist/assets/{w3m-modal-D5zLQHPN.js → w3m-modal-DTQaV41y.js} +1 -1
  243. package/dist/assets/{wallet-BnenGNvH.js → wallet-BXoUgo1B.js} +1 -1
  244. package/dist/assets/{wallet-placeholder-B2kJ5YQW.js → wallet-placeholder-DlZ2j89Z.js} +1 -1
  245. package/dist/assets/{walletconnect-B-tbPQEO.js → walletconnect-BMAaqvAz.js} +1 -1
  246. package/dist/assets/{wan-qrpwEMGw.js → wan-ygvGcWgm.js} +1 -1
  247. package/dist/assets/{warning-circle-d8wdF7hh.js → warning-circle-SPEOLbFM.js} +1 -1
  248. package/dist/assets/{web-dX_vAzUV.js → web-C2ZIP3Kq.js} +1 -1
  249. package/dist/assets/{web-CHBRhTqb.js → web-WEeISaWn.js} +1 -1
  250. package/dist/assets/{x-CRJXddsS.js → x-Cbl1SxVL.js} +1 -1
  251. package/dist/index.html +1 -1
  252. package/package.json +1 -1
  253. package/dist/assets/common-DbzOeqFx.js +0 -1
  254. package/dist/assets/common-frp9uHUU.js +0 -1
  255. package/dist/assets/validator-DwlbfJWW.js +0 -1
@@ -1,4 +1,4 @@
1
- import{w as o}from"./index-DDzvF3is.js";import"./index.browser.esm-uBaXz-Gy.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-DCg4Dkdi.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const g=o`<svg fill="none" viewBox="0 0 41 40">
1
+ import{w as o}from"./index-DINq8R6m.js";import"./index.browser.esm-I7fg10vC.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-q_66wTX8.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const g=o`<svg fill="none" viewBox="0 0 41 40">
2
2
  <path
3
3
  style="fill: var(--wui-color-fg-100);"
4
4
  fill-opacity=".05"
@@ -1 +1 @@
1
- import{a as n}from"./vendor-axios-NIGUFBhG.js";import{B as e}from"./index-DCg4Dkdi.js";class o{async task(a,t){return await n.post("/nano-banana/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:e})}async tasks(a,t){return await n.post("/nano-banana/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:e})}async generate(a,t){return await n.post("/nano-banana/images",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:e})}}const c=new o;export{c as n};
1
+ import{a as n}from"./vendor-axios-NIGUFBhG.js";import{B as e}from"./index-q_66wTX8.js";class o{async task(a,t){return await n.post("/nano-banana/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:e})}async tasks(a,t){return await n.post("/nano-banana/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:e})}async generate(a,t){return await n.post("/nano-banana/images",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:e})}}const c=new o;export{c as n};
@@ -1,4 +1,4 @@
1
- import{w as l}from"./index-DDzvF3is.js";import"./index.browser.esm-uBaXz-Gy.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-DCg4Dkdi.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const Z=l`<svg fill="none" viewBox="0 0 22 20">
1
+ import{w as l}from"./index-DINq8R6m.js";import"./index.browser.esm-I7fg10vC.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-q_66wTX8.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const Z=l`<svg fill="none" viewBox="0 0 22 20">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as c}from"./index-DDzvF3is.js";import"./index.browser.esm-uBaXz-Gy.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-DCg4Dkdi.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const n=c`<svg fill="none" viewBox="0 0 20 20">
1
+ import{w as c}from"./index-DINq8R6m.js";import"./index.browser.esm-I7fg10vC.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-q_66wTX8.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const n=c`<svg fill="none" viewBox="0 0 20 20">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as o}from"./index-DDzvF3is.js";import"./index.browser.esm-uBaXz-Gy.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-DCg4Dkdi.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const a=o`<svg fill="none" viewBox="0 0 16 16">
1
+ import{w as o}from"./index-DINq8R6m.js";import"./index.browser.esm-I7fg10vC.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-q_66wTX8.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const a=o`<svg fill="none" viewBox="0 0 16 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1 +1 @@
1
- import{a as o}from"./vendor-axios-NIGUFBhG.js";import{B as n}from"./index-DCg4Dkdi.js";class i{async task(a,e){return await o.post("/openai/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${e.token}`,"x-record-exempt":"true"},baseURL:n})}async tasks(a,e){return await o.post("/openai/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${e.token}`,"x-record-exempt":"true"},baseURL:n})}async generate(a,e){return await o.post("/openai/images/generations",a,{headers:{authorization:`Bearer ${e.token}`,"content-type":"application/json",accept:"application/json"},baseURL:n})}async edit(a,e){const t=new FormData;return a.model&&t.append("model",a.model),a.prompt&&t.append("prompt",a.prompt),a.callback_url&&t.append("callback_url",a.callback_url),(a.image_urls||[]).forEach(p=>{t.append("image",p)}),await o.post("/openai/images/edits",t,{headers:{authorization:`Bearer ${e.token}`,"content-type":"multipart/form-data",accept:"application/json"},baseURL:n})}}const d=new i;export{d as o};
1
+ import{a as o}from"./vendor-axios-NIGUFBhG.js";import{B as n}from"./index-q_66wTX8.js";class i{async task(a,e){return await o.post("/openai/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${e.token}`,"x-record-exempt":"true"},baseURL:n})}async tasks(a,e){return await o.post("/openai/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${e.token}`,"x-record-exempt":"true"},baseURL:n})}async generate(a,e){return await o.post("/openai/images/generations",a,{headers:{authorization:`Bearer ${e.token}`,"content-type":"application/json",accept:"application/json"},baseURL:n})}async edit(a,e){const t=new FormData;return a.model&&t.append("model",a.model),a.prompt&&t.append("prompt",a.prompt),a.callback_url&&t.append("callback_url",a.callback_url),(a.image_urls||[]).forEach(p=>{t.append("image",p)}),await o.post("/openai/images/edits",t,{headers:{authorization:`Bearer ${e.token}`,"content-type":"multipart/form-data",accept:"application/json"},baseURL:n})}}const d=new i;export{d as o};
@@ -1 +1 @@
1
- import{h as t}from"./index-DCg4Dkdi.js";class s{key="orders";async getAll(e){return await t.get(`/${this.key}/`,{params:e})}async get(e){return await t.get(`/${this.key}/${e}`)}async create(e){return await t.post(`/${this.key}/`,e)}async update(e,a){return await t.put(`/${this.key}/${e}`,a)}async refresh(e){return await t.post(`/${this.key}/${e}/refresh/`)}async pay(e,a){return await t.post(`/${this.key}/${e}/pay/`,a)}async payX402WithHeader(e,a,r){return await t.post(`/${this.key}/${e}/pay/`,a,{headers:{"X-PAYMENT":r}})}async updatePrice(e,a){return await t.post(`/${this.key}/${e}/update-price/`,a)}async finish(e){return await t.post(`/${this.key}/${e}/finish/`)}async delete(e){return await t.delete(`/${this.key}/${e}`)}}const y=new s;export{y as o};
1
+ import{h as t}from"./index-q_66wTX8.js";class s{key="orders";async getAll(e){return await t.get(`/${this.key}/`,{params:e})}async get(e){return await t.get(`/${this.key}/${e}`)}async create(e){return await t.post(`/${this.key}/`,e)}async update(e,a){return await t.put(`/${this.key}/${e}`,a)}async refresh(e){return await t.post(`/${this.key}/${e}/refresh/`)}async pay(e,a){return await t.post(`/${this.key}/${e}/pay/`,a)}async payX402WithHeader(e,a,r){return await t.post(`/${this.key}/${e}/pay/`,a,{headers:{"X-PAYMENT":r}})}async updatePrice(e,a){return await t.post(`/${this.key}/${e}/update-price/`,a)}async finish(e){return await t.post(`/${this.key}/${e}/finish/`)}async delete(e){return await t.delete(`/${this.key}/${e}`)}}const y=new s;export{y as o};
@@ -1 +1 @@
1
- import{a as e}from"./vendor-axios-NIGUFBhG.js";import{B as o}from"./index-DCg4Dkdi.js";const c="c7d407fa-0f87-4031-abbb-4f0716ff51ad",r="2.0",d="creative",_=!1;class s{async task(a,t){return await e.post("/pika/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,t){return await e.post("/pika/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,t){return await e.post("/pika/videos",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const I=new s;export{c as P,_ as a,d as b,r as c,I as p};
1
+ import{a as e}from"./vendor-axios-NIGUFBhG.js";import{B as o}from"./index-q_66wTX8.js";const c="c7d407fa-0f87-4031-abbb-4f0716ff51ad",r="2.0",d="creative",_=!1;class s{async task(a,t){return await e.post("/pika/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,t){return await e.post("/pika/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,t){return await e.post("/pika/videos",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const I=new s;export{c as P,_ as a,d as b,r as c,I as p};
@@ -1 +1 @@
1
- import{a as t}from"./vendor-axios-NIGUFBhG.js";import{B as o}from"./index-DCg4Dkdi.js";class s{async task(a,e){return await t.post("/pixverse/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${e.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,e){return await t.post("/pixverse/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${e.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,e){return await t.post("/pixverse/videos",a,{headers:{authorization:`Bearer ${e.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const r=new s;export{r as p};
1
+ import{a as t}from"./vendor-axios-NIGUFBhG.js";import{B as o}from"./index-q_66wTX8.js";class s{async task(a,e){return await t.post("/pixverse/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${e.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,e){return await t.post("/pixverse/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${e.token}`,"x-record-exempt":"true"},baseURL:o})}async generate(a,e){return await t.post("/pixverse/videos",a,{headers:{authorization:`Bearer ${e.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:o})}}const r=new s;export{r as p};
@@ -1,4 +1,4 @@
1
- import{w as t}from"./index-DDzvF3is.js";import"./index.browser.esm-uBaXz-Gy.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-DCg4Dkdi.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const e=t` <svg
1
+ import{w as t}from"./index-DINq8R6m.js";import"./index.browser.esm-I7fg10vC.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-q_66wTX8.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const e=t` <svg
2
2
  width="36"
3
3
  height="36"
4
4
  fill="none"
@@ -1,4 +1,4 @@
1
- import{w as o}from"./index-DDzvF3is.js";import"./index.browser.esm-uBaXz-Gy.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-DCg4Dkdi.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const v=o`<svg
1
+ import{w as o}from"./index-DINq8R6m.js";import"./index.browser.esm-I7fg10vC.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-q_66wTX8.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const v=o`<svg
2
2
  width="13"
3
3
  height="12"
4
4
  viewBox="0 0 13 12"
@@ -1 +1 @@
1
- import{j as c,s as i,C as u}from"./index-DCg4Dkdi.js";const l=n=>{const e=i.state.exchange;let{value:o,currency:t=i.state.currency||"usd"}=n;const r=u[t];if(!e)return{value:o,currency:t,label:r};const a=`usd-${t}`,s=e[a];return s&&(o=o*s),console.log("new price",{value:o,currency:t}),{value:o,currency:t,label:r}},d=n=>{let{value:e,defaultValue:o,fractionDigits:t=2}=n;if(e===void 0&&(e=o),e===void 0)return"";const r=l({value:e});return`${r.label}${r.value?.toFixed(t)}`},f=(n,e)=>{if(console.debug("getConsumption payload",n,e),!(!e||!Array.isArray(e))){console.debug("payload",n),console.debug("rules",e);for(const o of e){const t=o.conditions;if(c.apply(t,n))return c.apply(o.consumption,n)}return 0}};export{f as a,d as g};
1
+ import{j as c,s as i,C as u}from"./index-q_66wTX8.js";const l=n=>{const e=i.state.exchange;let{value:o,currency:t=i.state.currency||"usd"}=n;const r=u[t];if(!e)return{value:o,currency:t,label:r};const a=`usd-${t}`,s=e[a];return s&&(o=o*s),console.log("new price",{value:o,currency:t}),{value:o,currency:t,label:r}},d=n=>{let{value:e,defaultValue:o,fractionDigits:t=2}=n;if(e===void 0&&(e=o),e===void 0)return"";const r=l({value:e});return`${r.label}${r.value?.toFixed(t)}`},f=(n,e)=>{if(console.debug("getConsumption payload",n,e),!(!e||!Array.isArray(e))){console.debug("payload",n),console.debug("rules",e);for(const o of e){const t=o.conditions;if(c.apply(t,n))return c.apply(o.consumption,n)}return 0}};export{f as a,d as g};
@@ -1 +1 @@
1
- import{a as e}from"./vendor-axios-NIGUFBhG.js";import{B as o}from"./index-DCg4Dkdi.js";class r{async task(a,t){return await e.post("/producer/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,t){return await e.post("/producer/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async audio(a,t){return await e.post("/producer/audios",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async lyric(a,t){return await e.post("/producer/lyrics",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async upload(a,t){return await e.post("/producer/upload",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async video(a,t){return await e.post("/producer/videos",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async wav(a,t){return await e.post("/producer/wav",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}}const p=new r;export{p};
1
+ import{a as e}from"./vendor-axios-NIGUFBhG.js";import{B as o}from"./index-q_66wTX8.js";class r{async task(a,t){return await e.post("/producer/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async tasks(a,t){return await e.post("/producer/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.userId?{user_id:a.userId}:{},...a.type?{type:a.type}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:o})}async audio(a,t){return await e.post("/producer/audios",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async lyric(a,t){return await e.post("/producer/lyrics",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async upload(a,t){return await e.post("/producer/upload",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async video(a,t){return await e.post("/producer/videos",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}async wav(a,t){return await e.post("/producer/wav",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json"},baseURL:o})}}const p=new r;export{p};
@@ -1,4 +1,4 @@
1
- import{w as a}from"./index-DDzvF3is.js";import"./index.browser.esm-uBaXz-Gy.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-DCg4Dkdi.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const Z=a`<svg fill="none" viewBox="0 0 20 20">
1
+ import{w as a}from"./index-DINq8R6m.js";import"./index.browser.esm-I7fg10vC.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-q_66wTX8.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const Z=a`<svg fill="none" viewBox="0 0 20 20">
2
2
  <path
3
3
  fill="currentColor"
4
4
  d="M3 6a3 3 0 0 1 3-3h1a1 1 0 1 0 0-2H6a5 5 0 0 0-5 5v1a1 1 0 0 0 2 0V6ZM13 1a1 1 0 1 0 0 2h1a3 3 0 0 1 3 3v1a1 1 0 1 0 2 0V6a5 5 0 0 0-5-5h-1ZM3 13a1 1 0 1 0-2 0v1a5 5 0 0 0 5 5h1a1 1 0 1 0 0-2H6a3 3 0 0 1-3-3v-1ZM19 13a1 1 0 1 0-2 0v1a3 3 0 0 1-3 3h-1a1 1 0 1 0 0 2h1.01a5 5 0 0 0 5-5v-1ZM5.3 6.36c-.04.2-.04.43-.04.89s0 .7.05.89c.14.52.54.92 1.06 1.06.19.05.42.05.89.05.46 0 .7 0 .88-.05A1.5 1.5 0 0 0 9.2 8.14c.06-.2.06-.43.06-.89s0-.7-.06-.89A1.5 1.5 0 0 0 8.14 5.3c-.19-.05-.42-.05-.88-.05-.47 0-.7 0-.9.05a1.5 1.5 0 0 0-1.05 1.06ZM10.8 6.36c-.04.2-.04.43-.04.89s0 .7.05.89c.14.52.54.92 1.06 1.06.19.05.42.05.89.05.46 0 .7 0 .88-.05a1.5 1.5 0 0 0 1.06-1.06c.06-.2.06-.43.06-.89s0-.7-.06-.89a1.5 1.5 0 0 0-1.06-1.06c-.19-.05-.42-.05-.88-.05-.47 0-.7 0-.9.05a1.5 1.5 0 0 0-1.05 1.06ZM5.26 12.75c0-.46 0-.7.05-.89a1.5 1.5 0 0 1 1.06-1.06c.19-.05.42-.05.89-.05.46 0 .7 0 .88.05.52.14.93.54 1.06 1.06.06.2.06.43.06.89s0 .7-.06.89a1.5 1.5 0 0 1-1.06 1.06c-.19.05-.42.05-.88.05-.47 0-.7 0-.9-.05a1.5 1.5 0 0 1-1.05-1.06c-.05-.2-.05-.43-.05-.89ZM10.8 11.86c-.04.2-.04.43-.04.89s0 .7.05.89c.14.52.54.92 1.06 1.06.19.05.42.05.89.05.46 0 .7 0 .88-.05a1.5 1.5 0 0 0 1.06-1.06c.06-.2.06-.43.06-.89s0-.7-.06-.89a1.5 1.5 0 0 0-1.06-1.06c-.19-.05-.42-.05-.88-.05-.47 0-.7 0-.9.05a1.5 1.5 0 0 0-1.05 1.06Z"
@@ -1 +1 @@
1
- const e={"name.taskId":{message:"Task ID",description:"The ID of the task"},"name.type":{message:"Type",description:"The content type of the QR code to be generated, such as 'link', 'text', etc."},"name.failure":{message:"Failure",description:"The failure status of the task"},"name.failureReason":{message:"Failure Reason",description:"The reason for the task failure"},"name.status":{message:"Status",description:"The status of the task"},"name.traceId":{message:"Trace ID",description:"The trace ID of the task"},"name.size":{message:"Size",description:"The size of the QR code to be generated"},"name.createdAt":{message:"Created At",description:"The date and time the QR code was generated"},"name.pixelStyle":{message:"Pixel Style",description:"The pixel style of the QR code to be generated"},"name.seed":{message:"Seed",description:"The seed for the QR code to be generated"},"name.paddingLevel":{message:"Padding Level",description:"The padding level of the QR code to be generated"},"name.paddingNoise":{message:"Padding Noise",description:"The padding noise of the QR code to be generated"},"name.content":{message:"Content",description:"The content of the QR code to be generated"},"name.ecl":{message:"Error Correction Level",description:"The error correction level of the QR code to be generated"},"name.position":{message:"Position",description:"The position of the QR code to be generated"},"name.prompt":{message:"Prompt",description:"The prompt for content input"},"name.rotate":{message:"Rotation",description:"The rotation of the QR code to be generated"},"name.advanced":{message:"Advanced",description:"The advanced settings of the QR code to be generated"},"name.aspectRatio":{message:"Aspect Ratio",description:"The aspect ratio of the QR code to be generated"},"name.markerShape":{message:"Marker Shape",description:"The marker shape of the QR code to be generated"},"name.subMarker":{message:"Sub Marker",description:"The sub marker of the QR code to be generated"},"name.qrw":{message:"Visibility",description:"The name of the QR code generator"},"name.steps":{message:"Generation Steps",description:"The number of steps to generate the QR code"},"name.preset":{message:"Preset Style",description:"The preset of the QR code to be generated"},"name.qrartBot":{message:"QrArt Bot",description:"The name of the QR code generator"},"name.contentImageUrl":{message:"Content Image URL",description:"The content image URL of the QR code to be generated"},"inputWay.input":{message:"Input",description:"Input method"},"inputWay.upload":{message:"Upload",description:"Input method"},"description.qrw":{message:"QR code visibility, the larger the size, the higher the QR code visibility",description:"Description of the parameter 'qrw'"},"description.steps":{message:"The number of steps to generate the QR code, the more steps, the higher the QR code visibility",description:"Description of the parameter 'steps'"},"status.pending":{message:"Pending",description:"The pending status of the task"},"placeholder.paddingNoise":{message:"Please select...",description:"Placeholder for padding noise input"},"placeholder.paddingLevel":{message:"Please select...",description:"Placeholder for padding level"},"placeholder.prompt":{message:"Enter prompt words for the QR code style to be generated, e.g., flowers",description:"Placeholder text in the prompt field"},"placeholder.seed":{message:"Seed range is 1 to 9007199254740991",description:"Placeholder for seed input"},"placeholder.position":{message:"Please select...",description:"Placeholder for position input"},"placeholder.content":{message:"Enter the content of the QR code to be generated, e.g., https://www.google.com",description:"Placeholder text in the content field"},"placeholder.aspectRatio":{message:"Please select...",description:"Placeholder for aspect ratio input"},"placeholder.preset":{message:"Please select...",description:"Placeholder for preset input"},"placeholder.markerShape":{message:"Please select...",description:"Placeholder for marker shape input"},"placeholder.rotate":{message:"Please select...",description:"Placeholder for rotation input"},"placeholder.subMarker":{message:"Please select...",description:"Placeholder for sub marker input"},"button.generate":{message:"Generate",description:"Button text for generating the QR code"},"button.uploadQr":{message:"Upload QR Code",description:"Button text for uploading the QR code"},"preset.sunset":{message:"Sunset",description:"The preset style of the QR code to be generated"},"preset.floral":{message:"Floral",description:"The preset style of the QR code to be generated"},"preset.snowflakes":{message:"Snowflakes",description:"The preset style of the QR code to be generated"},"preset.feathers":{message:"Feathers",description:"The preset style of the QR code to be generated"},"preset.raindrops":{message:"Raindrops",description:"The preset style of the QR code to be generated"},"preset.ultraRealism":{message:"Ultra Realism",description:"The preset style of the QR code to be generated"},"preset.epicRealms":{message:"Epic Realms",description:"The preset style of the QR code to be generated"},"preset.intricateStudio":{message:"Intricate Studio",description:"Preset style for the QR code to be generated"},"preset.symmetricMasterpiece":{message:"Symmetric Masterpiece",description:"Preset style for the QR code to be generated"},"preset.luminousHighway":{message:"Luminous Highway",description:"Preset style for the QR code to be generated"},"preset.celestialJourney":{message:"Celestial Journey",description:"Preset style for the QR code to be generated"},"preset.neonMech":{message:"Neon Mech",description:"Preset style for the QR code to be generated"},"preset.etherealLowPoly":{message:"Ethereal Low Poly",description:"Preset style for the QR code to be generated"},"preset.goldenVista":{message:"Golden Vista",description:"Preset style for the QR code to be generated"},"preset.cinematicExpanse":{message:"Cinematic Expanse",description:"Preset style for the QR code to be generated"},"preset.cinematicWarm":{message:"Cinematic Warm",description:"Preset style for the QR code to be generated"},"preset.desolateWilderness":{message:"Desolate Wilderness",description:"Preset style for the QR code to be generated"},"preset.vibrantPalette":{message:"Vibrant Palette",description:"Preset style for the QR code to be generated"},"preset.enigmaticJourney":{message:"Enigmatic Journey",description:"Preset style for the QR code to be generated"},"preset.timelessCinematic":{message:"Timeless Cinematic",description:"Preset style for the QR code to be generated"},"preset.regalGalaxy":{message:"Regal Galaxy",description:"Preset style for the QR code to be generated"},"preset.illustriousCanvas":{message:"Illustrious Canvas",description:"Preset style for the QR code to be generated"},"preset.expressiveMural":{message:"Expressive Mural",description:"Preset style for the QR code to be generated"},"preset.sereneHaze":{message:"Serene Haze",description:"Preset style for the QR code to be generated"},"message.uploadQr":{message:"Upload a QR code image to generate an artistic QR code with the same content",description:"Instructions for uploading a QR code"},"message.promptPlaceholder":{message:"Please enter a sentence describing the image to be generated, e.g., a cute cat. Additional parameters will override default preset parameters",description:"Placeholder text in the prompt field"},"message.uploadReferencesExceed":{message:"You can upload up to 5 images",description:"Error message when the number of uploaded images exceeds the limit"},"message.uploadReferencesSuccess":{message:"Image uploaded successfully",description:"Success message when an image is uploaded successfully"},"message.uploadReferencesError":{message:"Failed to upload image, please try again later",description:"Error message when image upload fails"},"message.startingTask":{message:"Starting task...",description:"Message when a drawing task begins"},"message.startTaskSuccess":{message:"Successfully initiated generation task",description:"Success message when a task is started successfully"},"message.startTaskFailed":{message:"Failed to initiate task, please contact the administrator",description:"Error message when starting a drawing task fails"},"message.usedUp":{message:"Your credits are used up, please purchase more credits to continue using",description:"Message when credits are used up"},"message.generating":{message:"Generating...",description:"Message when an image is being generated"},"message.generateFailed":{message:"Failed to generate image",description:"Message when image generation fails"},"message.noOperations":{message:"No operations available",description:"Message when no operations are available"},"message.noTasks":{message:"No historical tasks, please click below to generate a new QR code",description:"Message when there are no tasks"},"markerShape.square":{message:"Square",description:"Marker shape used for generating QR code"},"markerShape.circle":{message:"Circle",description:"Marker shape used for generating QR code"},"markerShape.plus":{message:"Plus",description:"Marker shape used for generating QR code"},"markerShape.box":{message:"Box",description:"Marker shape used for generating QR code"},"markerShape.octagon":{message:"Octagon",description:"Marker shape used for generating QR code"},"markerShape.tinyPlus":{message:"Tiny Plus",description:"Marker shape used for generating QR code"},"markerShape.random":{message:"Random",description:"Marker shape used for generating QR code"},"subMarker.square":{message:"Square",description:"Sub-marker shape used for generating QR code"},"subMarker.circle":{message:"Circle",description:"Sub-marker shape used for generating QR code"},"subMarker.plus":{message:"Plus",description:"Sub-marker shape used for generating QR code"},"subMarker.box":{message:"Box",description:"Sub-marker shape used for generating QR code"},"subMarker.random":{message:"Random",description:"Sub-marker shape used for generating QR code"},"position.center":{message:"Center",description:"Position used for generating QR code"},"position.topLeft":{message:"Top Left",description:"Position used for generating QR code"},"position.topRight":{message:"Top Right",description:"Position used for generating QR code"},"position.bottomLeft":{message:"Bottom Left",description:"Position for generating QR code"},"position.bottomRight":{message:"Bottom Right",description:"Position for generating QR code"},"position.top":{message:"Top",description:"Position for generating QR code"},"position.bottom":{message:"Bottom",description:"Position for generating QR code"},"position.left":{message:"Left",description:"Position for generating QR code"},"position.right":{message:"Right",description:"Position for generating QR code"},"pixelStyle.row":{message:"Row",description:"Pixel style for generating QR code"},"pixelStyle.column":{message:"Column",description:"Pixel style for generating QR code"},"pixelStyle.square":{message:"Square",description:"Pixel style for generating QR code"},"pixelStyle.rounded":{message:"Rounded",description:"Pixel style for generating QR code"},"pixelStyle.dot":{message:"Dot",description:"Pixel style for generating QR code"},"pixelStyle.squircle":{message:"Squircle",description:"Pixel style for generating QR code"},"type.text":{message:"Text",description:"Content type for generating QR code"},"type.link":{message:"Link",description:"Content type for generating QR code"},"type.email":{message:"Email",description:"Content type for generating QR code"},"type.phone":{message:"Phone",description:"Content type for generating QR code"},"type.sms":{message:"SMS",description:"Content type for generating QR code"}};export{e as default};
1
+ const e={"name.taskId":{message:"Task ID",description:"The ID of the task"},"name.type":{message:"Type",description:"The content type of the QR code to be generated, such as 'link', 'text', etc."},"name.failure":{message:"Failure",description:"The failure status of the task"},"name.failureReason":{message:"Failure Reason",description:"The reason for the task failure"},"name.status":{message:"Status",description:"The status of the task"},"name.traceId":{message:"Trace ID",description:"The trace ID of the task"},"name.size":{message:"Size",description:"The size of the QR code to be generated"},"name.createdAt":{message:"Created At",description:"The date and time the QR code was generated"},"name.pixelStyle":{message:"Pixel Style",description:"The pixel style of the QR code to be generated"},"name.seed":{message:"Seed",description:"The seed for the QR code to be generated"},"name.paddingLevel":{message:"Padding Level",description:"The padding level of the QR code to be generated"},"name.paddingNoise":{message:"Padding Noise",description:"The padding noise of the QR code to be generated"},"name.content":{message:"Content",description:"The content of the QR code to be generated"},"name.ecl":{message:"Error Correction Level",description:"The error correction level of the QR code to be generated"},"name.position":{message:"Position",description:"The position of the QR code to be generated"},"name.prompt":{message:"Prompt",description:"The prompt for content input"},"name.rotate":{message:"Rotation",description:"The rotation of the QR code to be generated"},"name.advanced":{message:"Advanced",description:"The advanced settings of the QR code to be generated"},"name.aspectRatio":{message:"Aspect Ratio",description:"The aspect ratio of the QR code to be generated"},"name.markerShape":{message:"Marker Shape",description:"The marker shape of the QR code to be generated"},"name.subMarker":{message:"Sub Marker",description:"The sub marker of the QR code to be generated"},"name.qrw":{message:"Visibility",description:"The name of the QR code generator"},"name.steps":{message:"Generation Steps",description:"The number of steps to generate the QR code"},"name.preset":{message:"Preset Style",description:"The preset of the QR code to be generated"},"name.qrartBot":{message:"QrArt Bot",description:"The name of the QR code generator"},"name.contentImageUrl":{message:"Content Image URL",description:"The content image URL of the QR code to be generated"},"inputWay.input":{message:"Input",description:"Input method"},"inputWay.upload":{message:"Upload",description:"Input method"},"description.qrw":{message:"QR code visibility, the larger the size, the higher the QR code visibility",description:"Description of the parameter 'qrw'"},"description.steps":{message:"The number of steps to generate the QR code, the more steps, the higher the QR code visibility",description:"Description of the parameter 'steps'"},"status.pending":{message:"Pending",description:"The pending status of the task"},"placeholder.paddingNoise":{message:"Please select...",description:"Placeholder for padding noise input"},"placeholder.paddingLevel":{message:"Please select...",description:"Placeholder for padding level"},"placeholder.prompt":{message:"Enter prompt words for the QR code style to be generated, e.g., flowers",description:"Placeholder text in the prompt field"},"placeholder.seed":{message:"Seed range is 1 to 9007199254740991",description:"Placeholder for seed input"},"placeholder.position":{message:"Please select...",description:"Placeholder for position input"},"placeholder.content":{message:"Enter the content of the QR code to be generated, e.g., https://www.google.com",description:"Placeholder text in the content field"},"placeholder.aspectRatio":{message:"Please select...",description:"Placeholder for aspect ratio input"},"placeholder.preset":{message:"Please select...",description:"Placeholder for preset input"},"placeholder.markerShape":{message:"Please select...",description:"Placeholder for marker shape input"},"placeholder.rotate":{message:"Please select...",description:"Placeholder for rotation input"},"placeholder.subMarker":{message:"Please select...",description:"Placeholder for sub marker input"},"button.generate":{message:"Generate",description:"Button text for generating the QR code"},"button.uploadQr":{message:"Upload QR Code",description:"Button text for uploading the QR code"},"preset.sunset":{message:"Sunset",description:"The preset style of the QR code to be generated"},"preset.floral":{message:"Floral",description:"The preset style of the QR code to be generated"},"preset.snowflakes":{message:"Snowflakes",description:"The preset style of the QR code to be generated"},"preset.feathers":{message:"Feathers",description:"The preset style of the QR code to be generated"},"preset.raindrops":{message:"Raindrops",description:"The preset style of the QR code to be generated"},"preset.ultraRealism":{message:"Ultra Realism",description:"The preset style of the QR code to be generated"},"preset.epicRealms":{message:"Epic Realms",description:"The preset style of the QR code to be generated"},"preset.intricateStudio":{message:"Intricate Studio",description:"Preset style for the QR code to be generated"},"preset.symmetricMasterpiece":{message:"Symmetric Masterpiece",description:"Preset style for the QR code to be generated"},"preset.luminousHighway":{message:"Luminous Highway",description:"Preset style for the QR code to be generated"},"preset.celestialJourney":{message:"Celestial Journey",description:"Preset style for the QR code to be generated"},"preset.neonMech":{message:"Neon Mech",description:"Preset style for the QR code to be generated"},"preset.etherealLowPoly":{message:"Ethereal Low Poly",description:"Preset style for the QR code to be generated"},"preset.goldenVista":{message:"Golden Vista",description:"Preset style for the QR code to be generated"},"preset.cinematicExpanse":{message:"Cinematic Expanse",description:"Preset style for the QR code to be generated"},"preset.cinematicWarm":{message:"Cinematic Warm",description:"Preset style for the QR code to be generated"},"preset.desolateWilderness":{message:"Desolate Wilderness",description:"Preset style for the QR code to be generated"},"preset.vibrantPalette":{message:"Vibrant Palette",description:"Preset style for the QR code to be generated"},"preset.enigmaticJourney":{message:"Enigmatic Journey",description:"Preset style for the QR code to be generated"},"preset.timelessCinematic":{message:"Timeless Cinematic",description:"Preset style for the QR code to be generated"},"preset.regalGalaxy":{message:"Regal Galaxy",description:"Preset style for the QR code to be generated"},"preset.illustriousCanvas":{message:"Illustrious Canvas",description:"Preset style for the QR code to be generated"},"preset.expressiveMural":{message:"Expressive Mural",description:"Preset style for the QR code to be generated"},"preset.sereneHaze":{message:"Serene Haze",description:"Preset style for the QR code to be generated"},"message.uploadQr":{message:"Upload a QR code image to generate an artistic QR code with the same content",description:"Instructions for uploading a QR code"},"message.promptPlaceholder":{message:"Please enter a sentence describing the image to be generated, e.g., a cute cat. Additional parameters will override default preset parameters",description:"Placeholder text in the prompt field"},"message.uploadReferencesExceed":{message:"You can upload up to 5 images",description:"Error message when the number of uploaded images exceeds the limit"},"message.uploadReferencesSuccess":{message:"Image uploaded successfully",description:"Success message when an image is uploaded successfully"},"message.uploadReferencesError":{message:"Failed to upload image, please try again later",description:"Error message when image upload fails"},"message.startingTask":{message:"Starting task...",description:"Message when a drawing task begins"},"message.startTaskSuccess":{message:"Successfully initiated generation task",description:"Success message when a task is started successfully"},"message.startTaskFailed":{message:"Failed to initiate task, please contact the administrator",description:"Error message when starting a drawing task fails"},"message.usedUp":{message:"Your credits are used up, please purchase more credits to continue using",description:"Message when credits are used up"},"message.generating":{message:"Generating...",description:"Message when an image is being generated"},"message.generateFailed":{message:"Failed to generate image",description:"Message when image generation fails"},"message.noOperations":{message:"No operations available",description:"Message when no operations are available"},"message.noTasks":{message:"No historical tasks, please click below to generate a new QR code",description:"Message when there are no tasks"},"markerShape.square":{message:"Square",description:"Marker shape used for generating QR code"},"markerShape.circle":{message:"Circle",description:"Marker shape used for generating QR code"},"markerShape.plus":{message:"Plus",description:"Marker shape used for generating QR code"},"markerShape.box":{message:"Box",description:"Marker shape used for generating QR code"},"markerShape.octagon":{message:"Octagon",description:"Marker shape used for generating QR code"},"markerShape.tinyPlus":{message:"Tiny Plus",description:"Marker shape used for generating QR code"},"markerShape.random":{message:"Random",description:"Marker shape used for generating QR code"},"subMarker.square":{message:"Square",description:"Sub-marker shape used for generating QR code"},"subMarker.circle":{message:"Circle",description:"Sub-marker shape used for generating QR code"},"subMarker.plus":{message:"Plus",description:"Sub-marker shape used for generating QR code"},"subMarker.box":{message:"Box",description:"Sub-marker shape used for generating QR code"},"subMarker.random":{message:"Random",description:"Sub-marker shape used for generating QR code"},"position.center":{message:"Center",description:"Position used for generating QR code"},"position.topLeft":{message:"Top Left",description:"Position used for generating QR code"},"position.topRight":{message:"Top Right",description:"Position used for generating QR code"},"position.bottomLeft":{message:"Bottom Left",description:"Position for generating QR code"},"position.bottomRight":{message:"Bottom Right",description:"Position for generating QR code"},"position.top":{message:"Top",description:"Position for generating QR code"},"position.bottom":{message:"Bottom",description:"Position for generating QR code"},"position.left":{message:"Left",description:"Position for generating QR code"},"position.right":{message:"Right",description:"Position for generating QR code"},"pixelStyle.row":{message:"Row",description:"Pixel style for generating QR code"},"pixelStyle.column":{message:"Column",description:"Pixel style for generating QR code"},"pixelStyle.square":{message:"Square",description:"Pixel style for generating QR code"},"pixelStyle.rounded":{message:"Rounded",description:"Pixel style for generating QR code"},"pixelStyle.dot":{message:"Dot",description:"Pixel style for generating QR code"},"pixelStyle.squircle":{message:"Squircle",description:"Pixel style for generating QR code"},"type.text":{message:"Text",description:"Content type for generating QR code"},"type.link":{message:"Link",description:"Content type for generating QR code"},"type.email":{message:"Email",description:"Content type for generating QR code"},"type.phone":{message:"Phone",description:"Content type for generating QR code"},"type.sms":{message:"SMS",description:"Content type for generating QR code"},"name.rawurl":{message:"Raw URL",description:"Toggle controlling whether the QR code uses the raw URL as-is, without any post-processing"},"placeholder.ecl":{message:"Please select...",description:"Placeholder for the error correction level select input"},"placeholder.pixelStyle":{message:"Please select...",description:"Placeholder for the pixel style select input"},"placeholder.select":{message:"Please select...",description:"Generic placeholder for the QR code type selector"},"message.uploadDocumentsExceed":{message:"You can upload up to 1 image",description:"Warning message shown when the number of uploaded content images exceeds the limit"},"message.uploadDocumentsError":{message:"Failed to upload image, please try again later",description:"Error message shown when uploading a content image fails"}};export{e as default};
@@ -1 +1 @@
1
- import{a as s}from"./vendor-axios-NIGUFBhG.js";import{B as e}from"./index-DCg4Dkdi.js";const A="38ecf158-36f2-42f2-8e7f-6786cdfc2452",_=2,R=20,i="",T="text",p="1:1",E=!1,d=5,L="center",D="square",U="square",Q="square",u=0,F="H",I=0;class o{async task(a,t){return await s.post("/qrart/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:e})}async tasks(a,t){return await s.post("/qrart/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:e})}async generate(a,t){return await s.post("/qrart/generate",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:e})}}const m=new o;export{A as Q,T as a,p as b,_ as c,R as d,E as e,U as f,Q as g,u as h,F as i,L as j,d as k,I as l,D as m,i as n,m as q};
1
+ import{a as s}from"./vendor-axios-NIGUFBhG.js";import{B as e}from"./index-q_66wTX8.js";const A="38ecf158-36f2-42f2-8e7f-6786cdfc2452",_=2,R=20,i="",T="text",p="1:1",E=!1,d=5,L="center",D="square",U="square",Q="square",u=0,F="H",I=0;class o{async task(a,t){return await s.post("/qrart/tasks",{action:"retrieve",id:a},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:e})}async tasks(a,t){return await s.post("/qrart/tasks",{action:"retrieve_batch",...a.ids?{ids:a.ids}:{},...a.applicationId?{application_id:a.applicationId}:{},...a.userId?{user_id:a.userId}:{},...a.limit!==void 0?{limit:a.limit}:{},...a.offset!==void 0?{offset:a.offset}:{},...a.createdAtMax!==void 0?{created_at_max:a.createdAtMax}:{},...a.createdAtMin!==void 0?{created_at_min:a.createdAtMin}:{}},{headers:{accept:"application/json","content-type":"application/json",authorization:`Bearer ${t.token}`,"x-record-exempt":"true"},baseURL:e})}async generate(a,t){return await s.post("/qrart/generate",a,{headers:{authorization:`Bearer ${t.token}`,"content-type":"application/json",accept:"application/x-ndjson"},baseURL:e})}}const m=new o;export{A as Q,T as a,p as b,_ as c,R as d,E as e,U as f,Q as g,u as h,F as i,L as j,d as k,I as l,D as m,i as n,m as q};
@@ -1 +1 @@
1
- const e={"name.taskId":{message:"任务 ID",description:"任务的 ID"},"name.type":{message:"类型",description:"要生成的 QR 码的内容类型,如'链接'、'文本'等"},"name.failure":{message:"失败",description:"任务的失败状态"},"name.failureReason":{message:"失败原因",description:"任务失败的原因"},"name.status":{message:"状态",description:"任务的状态"},"name.traceId":{message:"追踪 ID",description:"任务的追踪 ID"},"name.size":{message:"尺寸",description:"要生成的 QR 码的尺寸"},"name.createdAt":{message:"创建时间",description:"生成 QR 码的日期和时间"},"name.pixelStyle":{message:"像素风格",description:"要生成的 QR 码的像素风格"},"name.seed":{message:"种子值",description:"要生成的 QR 码的种子"},"name.paddingLevel":{message:"填充级别",description:"要生成的 QR 码的填充级别"},"name.paddingNoise":{message:"填充噪音",description:"要生成的 QR 码的填充噪音"},"name.content":{message:"内容",description:"要生成的 QR 码的内容"},"name.ecl":{message:"纠错级别",description:"要生成的 QR 码的纠错级别"},"name.position":{message:"位置",description:"要生成的 QR 码的位置"},"name.prompt":{message:"提示",description:"内容输入的提示"},"name.rotate":{message:"旋转角度",description:"要生成的 QR 码的旋转"},"name.advanced":{message:"高级",description:"要生成的 QR 码的高级设置"},"name.aspectRatio":{message:"宽高比",description:"要生成的 QR 码的宽高比"},"name.markerShape":{message:"标记形状",description:"要生成的 QR 码的标记形状"},"name.subMarker":{message:"子标记",description:"要生成的 QR 码的子标记"},"name.qrw":{message:"可见度",description:"QR 码生成器的名称"},"name.steps":{message:"生成步数",description:"生成 QR 码的步数"},"name.preset":{message:"预设风格",description:"要生成的 QR 码的预设"},"name.qrartBot":{message:"QrArt Bot",description:"QR 码生成器的名称"},"name.contentImageUrl":{message:"内容图片链接",description:"要生成的 QR 码的内容图片 URL"},"inputWay.input":{message:"输入",description:"输入方式"},"inputWay.upload":{message:"上传",description:"输入方式"},"description.qrw":{message:"QR 码可见性,尺寸越大,QR 码可见度越高",description:"参数'qrw'的描述"},"description.steps":{message:"生成 QR 码的步数,步数越多,QR 码可见度越高",description:"参数'steps'的描述"},"status.pending":{message:"等待中",description:"任务的等待状态"},"placeholder.paddingNoise":{message:"请选择...",description:"填充噪音输入的占位符"},"placeholder.paddingLevel":{message:"请选择...",description:"填充级别的占位符"},"placeholder.prompt":{message:"输入要生成的 QR 码风格的提示词,例如:flowers",description:"提示字段中的占位文本"},"placeholder.seed":{message:"种子范围为 1 到 9007199254740991",description:"种子输入的占位符"},"placeholder.position":{message:"请选择...",description:"位置输入的占位符"},"placeholder.content":{message:"输入要生成的 QR 码的内容,例如:https://www.google.com",description:"内容字段中的占位文本"},"placeholder.aspectRatio":{message:"请选择...",description:"宽高比输入的占位符"},"placeholder.preset":{message:"请选择...",description:"预设输入的占位符"},"placeholder.markerShape":{message:"请选择...",description:"标记形状输入的占位符"},"placeholder.rotate":{message:"请选择...",description:"旋转输入的占位符"},"placeholder.subMarker":{message:"请选择...",description:"子标记输入的占位符"},"button.generate":{message:"生成",description:"生成 QR 码的按钮文本"},"button.uploadQr":{message:"上传二维码",description:"上传二维码的按钮文本"},"preset.sunset":{message:"日落",description:"要生成的 QR 码的预设风格"},"preset.floral":{message:"花卉",description:"要生成的 QR 码的预设风格"},"preset.snowflakes":{message:"雪花",description:"要生成的 QR 码的预设风格"},"preset.feathers":{message:"羽毛",description:"要生成的 QR 码的预设风格"},"preset.raindrops":{message:"雨滴",description:"要生成的 QR 码的预设风格"},"preset.ultraRealism":{message:"超现实",description:"要生成的 QR 码的预设风格"},"preset.epicRealms":{message:"史诗王国",description:"要生成的 QR 码的预设风格"},"preset.intricateStudio":{message:"复杂工作室",description:"要生成的 QR 码的预设风格"},"preset.symmetricMasterpiece":{message:"对称杰作",description:"要生成的 QR 码的预设风格"},"preset.luminousHighway":{message:"发光之路",description:"要生成的 QR 码的预设风格"},"preset.celestialJourney":{message:"天体之旅",description:"要生成的 QR 码的预设风格"},"preset.neonMech":{message:"霓虹机械",description:"要生成的 QR 码的预设风格"},"preset.etherealLowPoly":{message:"空灵低多边形",description:"要生成的 QR 码的预设风格"},"preset.goldenVista":{message:"金色景观",description:"要生成的 QR 码的预设风格"},"preset.cinematicExpanse":{message:"电影般的广阔",description:"要生成的 QR 码的预设风格"},"preset.cinematicWarm":{message:"电影般的温暖",description:"要生成的 QR 码的预设风格"},"preset.desolateWilderness":{message:"荒凉荒野",description:"要生成的 QR 码的预设风格"},"preset.vibrantPalette":{message:"充满活力的调色板",description:"要生成的 QR 码的预设风格"},"preset.enigmaticJourney":{message:"神秘之旅",description:"要生成的 QR 码的预设风格"},"preset.timelessCinematic":{message:"永恒的电影",description:"要生成的 QR 码的预设风格"},"preset.regalGalaxy":{message:"华丽星系",description:"要生成的 QR 码的预设风格"},"preset.illustriousCanvas":{message:"杰出画布",description:"要生成的 QR 码的预设风格"},"preset.expressiveMural":{message:"富有表现力的壁画",description:"要生成的 QR 码的预设风格"},"preset.sereneHaze":{message:"宁静薄雾",description:"要生成的 QR 码的预设风格"},"message.uploadQr":{message:"上传二维码图片,可生成和二维码内容一致的艺术二维码",description:"上传二维码的说明"},"message.promptPlaceholder":{message:"请输入描述要生成的图像的句子,例如:一只可爱的猫。额外参数将覆盖默认预设参数",description:"提示字段中的占位文本"},"message.uploadReferencesExceed":{message:"最多可上传 5 张图片",description:"上传的图片数量超过限制时的错误消息"},"message.uploadReferencesSuccess":{message:"成功上传图片",description:"成功上传图片时的成功消息"},"message.uploadReferencesError":{message:"上传图片失败,请稍后重试",description:"图片上传失败时的错误消息"},"message.startingTask":{message:"正在启动任务...",description:"绘图任务开始时的消息"},"message.startTaskSuccess":{message:"成功发起生成任务",description:"成功启动任务时的成功消息"},"message.startTaskFailed":{message:"发起任务失败,请联系管理员",description:"启动绘图任务失败时的错误消息"},"message.usedUp":{message:"您的积分已用完,请购买更多积分后继续使用",description:"已用完时的消息"},"message.generating":{message:"生成中...",description:"图像正在生成时的消息"},"message.generateFailed":{message:"生成图像失败",description:"图像生成失败时的消息"},"message.noOperations":{message:"没有可用操作",description:"没有可用操作时的消息"},"message.noTasks":{message:"没有历史任务,请点击下方生成新二维码",description:"没有任务时的消息"},"markerShape.square":{message:"正方形",description:"用于生成QR码的标记形状"},"markerShape.circle":{message:"圆形",description:"用于生成QR码的标记形状"},"markerShape.plus":{message:"加号",description:"用于生成QR码的标记形状"},"markerShape.box":{message:"方框",description:"用于生成QR码的标记形状"},"markerShape.octagon":{message:"八边形",description:"用于生成QR码的标记形状"},"markerShape.tinyPlus":{message:"微加号",description:"用于生成QR码的标记形状"},"markerShape.random":{message:"随机",description:"用于生成QR码的标记形状"},"subMarker.square":{message:"正方形",description:"用于生成QR码的子标记形状"},"subMarker.circle":{message:"圆形",description:"用于生成QR码的子标记形状"},"subMarker.plus":{message:"加号",description:"用于生成QR码的子标记形状"},"subMarker.box":{message:"方框",description:"用于生成QR码的子标记形状"},"subMarker.random":{message:"随机",description:"用于生成QR码的子标记形状"},"position.center":{message:"中心",description:"用于生成QR码的位置"},"position.topLeft":{message:"左上",description:"用于生成QR码的位置"},"position.topRight":{message:"右上",description:"用于生成QR码的位置"},"position.bottomLeft":{message:"左下",description:"用于生成QR码的位置"},"position.bottomRight":{message:"右下",description:"用于生成QR码的位置"},"position.top":{message:"顶部",description:"用于生成QR码的位置"},"position.bottom":{message:"底部",description:"用于生成QR码的位置"},"position.left":{message:"左侧",description:"用于生成QR码的位置"},"position.right":{message:"右侧",description:"用于生成QR码的位置"},"pixelStyle.row":{message:"行",description:"用于生成QR码的像素风格"},"pixelStyle.column":{message:"列",description:"用于生成QR码的像素风格"},"pixelStyle.square":{message:"正方形",description:"用于生成QR码的像素风格"},"pixelStyle.rounded":{message:"圆角",description:"用于生成QR码的像素风格"},"pixelStyle.dot":{message:"点",description:"用于生成QR码的像素风格"},"pixelStyle.squircle":{message:"圆角矩形",description:"用于生成QR码的像素风格"},"type.text":{message:"文本",description:"用于生成QR码的内容类型"},"type.link":{message:"链接",description:"用于生成QR码的内容类型"},"type.email":{message:"邮件",description:"用于生成QR码的内容类型"},"type.phone":{message:"电话",description:"用于生成QR码的内容类型"},"type.sms":{message:"短信",description:"用于生成QR码的内容类型"}};export{e as default};
1
+ const e={"name.taskId":{message:"任务 ID",description:"任务的 ID"},"name.type":{message:"类型",description:"要生成的 QR 码的内容类型,如'链接'、'文本'等"},"name.failure":{message:"失败",description:"任务的失败状态"},"name.failureReason":{message:"失败原因",description:"任务失败的原因"},"name.status":{message:"状态",description:"任务的状态"},"name.traceId":{message:"追踪 ID",description:"任务的追踪 ID"},"name.size":{message:"尺寸",description:"要生成的 QR 码的尺寸"},"name.createdAt":{message:"创建时间",description:"生成 QR 码的日期和时间"},"name.pixelStyle":{message:"像素风格",description:"要生成的 QR 码的像素风格"},"name.seed":{message:"种子值",description:"要生成的 QR 码的种子"},"name.paddingLevel":{message:"填充级别",description:"要生成的 QR 码的填充级别"},"name.paddingNoise":{message:"填充噪音",description:"要生成的 QR 码的填充噪音"},"name.content":{message:"内容",description:"要生成的 QR 码的内容"},"name.ecl":{message:"纠错级别",description:"要生成的 QR 码的纠错级别"},"name.position":{message:"位置",description:"要生成的 QR 码的位置"},"name.prompt":{message:"提示",description:"内容输入的提示"},"name.rotate":{message:"旋转角度",description:"要生成的 QR 码的旋转"},"name.advanced":{message:"高级",description:"要生成的 QR 码的高级设置"},"name.aspectRatio":{message:"宽高比",description:"要生成的 QR 码的宽高比"},"name.markerShape":{message:"标记形状",description:"要生成的 QR 码的标记形状"},"name.subMarker":{message:"子标记",description:"要生成的 QR 码的子标记"},"name.qrw":{message:"可见度",description:"QR 码生成器的名称"},"name.steps":{message:"生成步数",description:"生成 QR 码的步数"},"name.preset":{message:"预设风格",description:"要生成的 QR 码的预设"},"name.qrartBot":{message:"QrArt Bot",description:"QR 码生成器的名称"},"name.contentImageUrl":{message:"内容图片链接",description:"要生成的 QR 码的内容图片 URL"},"inputWay.input":{message:"输入",description:"输入方式"},"inputWay.upload":{message:"上传",description:"输入方式"},"description.qrw":{message:"QR 码可见性,尺寸越大,QR 码可见度越高",description:"参数'qrw'的描述"},"description.steps":{message:"生成 QR 码的步数,步数越多,QR 码可见度越高",description:"参数'steps'的描述"},"status.pending":{message:"等待中",description:"任务的等待状态"},"placeholder.paddingNoise":{message:"请选择...",description:"填充噪音输入的占位符"},"placeholder.paddingLevel":{message:"请选择...",description:"填充级别的占位符"},"placeholder.prompt":{message:"输入要生成的 QR 码风格的提示词,例如:flowers",description:"提示字段中的占位文本"},"placeholder.seed":{message:"种子范围为 1 到 9007199254740991",description:"种子输入的占位符"},"placeholder.position":{message:"请选择...",description:"位置输入的占位符"},"placeholder.content":{message:"输入要生成的 QR 码的内容,例如:https://www.google.com",description:"内容字段中的占位文本"},"placeholder.aspectRatio":{message:"请选择...",description:"宽高比输入的占位符"},"placeholder.preset":{message:"请选择...",description:"预设输入的占位符"},"placeholder.markerShape":{message:"请选择...",description:"标记形状输入的占位符"},"placeholder.rotate":{message:"请选择...",description:"旋转输入的占位符"},"placeholder.subMarker":{message:"请选择...",description:"子标记输入的占位符"},"button.generate":{message:"生成",description:"生成 QR 码的按钮文本"},"button.uploadQr":{message:"上传二维码",description:"上传二维码的按钮文本"},"preset.sunset":{message:"日落",description:"要生成的 QR 码的预设风格"},"preset.floral":{message:"花卉",description:"要生成的 QR 码的预设风格"},"preset.snowflakes":{message:"雪花",description:"要生成的 QR 码的预设风格"},"preset.feathers":{message:"羽毛",description:"要生成的 QR 码的预设风格"},"preset.raindrops":{message:"雨滴",description:"要生成的 QR 码的预设风格"},"preset.ultraRealism":{message:"超现实",description:"要生成的 QR 码的预设风格"},"preset.epicRealms":{message:"史诗王国",description:"要生成的 QR 码的预设风格"},"preset.intricateStudio":{message:"复杂工作室",description:"要生成的 QR 码的预设风格"},"preset.symmetricMasterpiece":{message:"对称杰作",description:"要生成的 QR 码的预设风格"},"preset.luminousHighway":{message:"发光之路",description:"要生成的 QR 码的预设风格"},"preset.celestialJourney":{message:"天体之旅",description:"要生成的 QR 码的预设风格"},"preset.neonMech":{message:"霓虹机械",description:"要生成的 QR 码的预设风格"},"preset.etherealLowPoly":{message:"空灵低多边形",description:"要生成的 QR 码的预设风格"},"preset.goldenVista":{message:"金色景观",description:"要生成的 QR 码的预设风格"},"preset.cinematicExpanse":{message:"电影般的广阔",description:"要生成的 QR 码的预设风格"},"preset.cinematicWarm":{message:"电影般的温暖",description:"要生成的 QR 码的预设风格"},"preset.desolateWilderness":{message:"荒凉荒野",description:"要生成的 QR 码的预设风格"},"preset.vibrantPalette":{message:"充满活力的调色板",description:"要生成的 QR 码的预设风格"},"preset.enigmaticJourney":{message:"神秘之旅",description:"要生成的 QR 码的预设风格"},"preset.timelessCinematic":{message:"永恒的电影",description:"要生成的 QR 码的预设风格"},"preset.regalGalaxy":{message:"华丽星系",description:"要生成的 QR 码的预设风格"},"preset.illustriousCanvas":{message:"杰出画布",description:"要生成的 QR 码的预设风格"},"preset.expressiveMural":{message:"富有表现力的壁画",description:"要生成的 QR 码的预设风格"},"preset.sereneHaze":{message:"宁静薄雾",description:"要生成的 QR 码的预设风格"},"message.uploadQr":{message:"上传二维码图片,可生成和二维码内容一致的艺术二维码",description:"上传二维码的说明"},"message.promptPlaceholder":{message:"请输入描述要生成的图像的句子,例如:一只可爱的猫。额外参数将覆盖默认预设参数",description:"提示字段中的占位文本"},"message.uploadReferencesExceed":{message:"最多可上传 5 张图片",description:"上传的图片数量超过限制时的错误消息"},"message.uploadReferencesSuccess":{message:"成功上传图片",description:"成功上传图片时的成功消息"},"message.uploadReferencesError":{message:"上传图片失败,请稍后重试",description:"图片上传失败时的错误消息"},"message.startingTask":{message:"正在启动任务...",description:"绘图任务开始时的消息"},"message.startTaskSuccess":{message:"成功发起生成任务",description:"成功启动任务时的成功消息"},"message.startTaskFailed":{message:"发起任务失败,请联系管理员",description:"启动绘图任务失败时的错误消息"},"message.usedUp":{message:"您的积分已用完,请购买更多积分后继续使用",description:"已用完时的消息"},"message.generating":{message:"生成中...",description:"图像正在生成时的消息"},"message.generateFailed":{message:"生成图像失败",description:"图像生成失败时的消息"},"message.noOperations":{message:"没有可用操作",description:"没有可用操作时的消息"},"message.noTasks":{message:"没有历史任务,请点击下方生成新二维码",description:"没有任务时的消息"},"markerShape.square":{message:"正方形",description:"用于生成QR码的标记形状"},"markerShape.circle":{message:"圆形",description:"用于生成QR码的标记形状"},"markerShape.plus":{message:"加号",description:"用于生成QR码的标记形状"},"markerShape.box":{message:"方框",description:"用于生成QR码的标记形状"},"markerShape.octagon":{message:"八边形",description:"用于生成QR码的标记形状"},"markerShape.tinyPlus":{message:"微加号",description:"用于生成QR码的标记形状"},"markerShape.random":{message:"随机",description:"用于生成QR码的标记形状"},"subMarker.square":{message:"正方形",description:"用于生成QR码的子标记形状"},"subMarker.circle":{message:"圆形",description:"用于生成QR码的子标记形状"},"subMarker.plus":{message:"加号",description:"用于生成QR码的子标记形状"},"subMarker.box":{message:"方框",description:"用于生成QR码的子标记形状"},"subMarker.random":{message:"随机",description:"用于生成QR码的子标记形状"},"position.center":{message:"中心",description:"用于生成QR码的位置"},"position.topLeft":{message:"左上",description:"用于生成QR码的位置"},"position.topRight":{message:"右上",description:"用于生成QR码的位置"},"position.bottomLeft":{message:"左下",description:"用于生成QR码的位置"},"position.bottomRight":{message:"右下",description:"用于生成QR码的位置"},"position.top":{message:"顶部",description:"用于生成QR码的位置"},"position.bottom":{message:"底部",description:"用于生成QR码的位置"},"position.left":{message:"左侧",description:"用于生成QR码的位置"},"position.right":{message:"右侧",description:"用于生成QR码的位置"},"pixelStyle.row":{message:"行",description:"用于生成QR码的像素风格"},"pixelStyle.column":{message:"列",description:"用于生成QR码的像素风格"},"pixelStyle.square":{message:"正方形",description:"用于生成QR码的像素风格"},"pixelStyle.rounded":{message:"圆角",description:"用于生成QR码的像素风格"},"pixelStyle.dot":{message:"点",description:"用于生成QR码的像素风格"},"pixelStyle.squircle":{message:"圆角矩形",description:"用于生成QR码的像素风格"},"type.text":{message:"文本",description:"用于生成QR码的内容类型"},"type.link":{message:"链接",description:"用于生成QR码的内容类型"},"type.email":{message:"邮件",description:"用于生成QR码的内容类型"},"type.phone":{message:"电话",description:"用于生成QR码的内容类型"},"type.sms":{message:"短信",description:"用于生成QR码的内容类型"},"name.rawurl":{message:"原始链接",description:"是否将原始链接直接作为二维码内容、不做任何处理的开关"},"placeholder.ecl":{message:"请选择...",description:"纠错级别选择框的占位符"},"placeholder.pixelStyle":{message:"请选择...",description:"像素风格选择框的占位符"},"placeholder.select":{message:"请选择...",description:"二维码类型选择框的通用占位符"},"message.uploadDocumentsExceed":{message:"最多可上传 1 张图片",description:"上传内容图片超出数量限制时的提示"},"message.uploadDocumentsError":{message:"图片上传失败,请稍后重试",description:"内容图片上传失败时的错误提示"}};export{e as default};
@@ -1,4 +1,4 @@
1
- import{w as o}from"./index-DDzvF3is.js";import"./index.browser.esm-uBaXz-Gy.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-DCg4Dkdi.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const c=o`<svg
1
+ import{w as o}from"./index-DINq8R6m.js";import"./index.browser.esm-I7fg10vC.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-q_66wTX8.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const c=o`<svg
2
2
  fill="none"
3
3
  viewBox="0 0 21 20"
4
4
  >
@@ -1,4 +1,4 @@
1
- import{w as o}from"./index-DDzvF3is.js";import"./index.browser.esm-uBaXz-Gy.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-DCg4Dkdi.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 14 16">
1
+ import{w as o}from"./index-DINq8R6m.js";import"./index.browser.esm-I7fg10vC.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-q_66wTX8.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 14 16">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1,4 +1,4 @@
1
- import{w as C}from"./index-DDzvF3is.js";import"./index.browser.esm-uBaXz-Gy.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-DCg4Dkdi.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const f=C`<svg width="60" height="16" viewBox="0 0 60 16" fill="none"">
1
+ import{w as C}from"./index-DINq8R6m.js";import"./index.browser.esm-I7fg10vC.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-q_66wTX8.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const f=C`<svg width="60" height="16" viewBox="0 0 60 16" fill="none"">
2
2
  <path d="M9.3335 4.66667C9.3335 2.08934 11.4229 0 14.0002 0H20.6669C23.2442 0 25.3335 2.08934 25.3335 4.66667V11.3333C25.3335 13.9106 23.2442 16 20.6669 16H14.0002C11.4229 16 9.3335 13.9106 9.3335 11.3333V4.66667Z" fill="#363636"/>
3
3
  <path d="M15.6055 11.0003L17.9448 4.66699H18.6316L16.2923 11.0003H15.6055Z" fill="#F6F6F6"/>
4
4
  <path d="M0 4.33333C0 1.9401 1.9401 0 4.33333 0C6.72657 0 8.66669 1.9401 8.66669 4.33333V11.6667C8.66669 14.0599 6.72657 16 4.33333 16C1.9401 16 0 14.0599 0 11.6667V4.33333Z" fill="#363636"/>
@@ -1,4 +1,4 @@
1
- import{w as o}from"./index-DDzvF3is.js";import"./index.browser.esm-uBaXz-Gy.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-DCg4Dkdi.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 20 20">
1
+ import{w as o}from"./index-DINq8R6m.js";import"./index.browser.esm-I7fg10vC.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-q_66wTX8.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";const d=o`<svg fill="none" viewBox="0 0 20 20">
2
2
  <path
3
3
  fill="currentColor"
4
4
  fill-rule="evenodd"
@@ -1 +1 @@
1
- import{i as Qt,j as It,k as xt,l as Jt,m as de,n as he,o as P,p as ge,q as we,s as pe,u as be}from"./index-DDzvF3is.js";import"./index.browser.esm-uBaXz-Gy.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-DCg4Dkdi.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";function ye(n,e,t,r){if(typeof n.setBigUint64=="function")return n.setBigUint64(e,t,r);const o=BigInt(32),s=BigInt(4294967295),c=Number(t>>o&s),f=Number(t&s),i=r?4:0,u=r?0:4;n.setUint32(e+i,c,r),n.setUint32(e+u,f,r)}function me(n,e,t){return n&e^~n&t}function xe(n,e,t){return n&e^n&t^e&t}class Ee extends Qt{constructor(e,t,r,o){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=It(this.buffer)}update(e){xt(this);const{view:t,buffer:r,blockLen:o}=this;e=Jt(e);const s=e.length;for(let c=0;c<s;){const f=Math.min(o-this.pos,s-c);if(f===o){const i=It(e);for(;o<=s-c;c+=o)this.process(i,c);continue}r.set(e.subarray(c,c+f),this.pos),this.pos+=f,c+=f,this.pos===o&&(this.process(t,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){xt(this),de(e,this),this.finished=!0;const{buffer:t,view:r,blockLen:o,isLE:s}=this;let{pos:c}=this;t[c++]=128,this.buffer.subarray(c).fill(0),this.padOffset>o-c&&(this.process(r,0),c=0);for(let h=c;h<o;h++)t[h]=0;ye(r,o-8,BigInt(this.length*8),s),this.process(r,0);const f=It(e),i=this.outputLen;if(i%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=i/4,y=this.get();if(u>y.length)throw new Error("_sha2: outputLen bigger than state");for(let h=0;h<u;h++)f.setUint32(4*h,y[h],s)}digest(){const{buffer:e,outputLen:t}=this;this.digestInto(e);const r=e.slice(0,t);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:t,buffer:r,length:o,finished:s,destroyed:c,pos:f}=this;return e.length=o,e.pos=f,e.finished=s,e.destroyed=c,o%t&&e.buffer.set(r),e}}const Be=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Q=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),J=new Uint32Array(64);class ve extends Ee{constructor(){super(64,32,8,!1),this.A=Q[0]|0,this.B=Q[1]|0,this.C=Q[2]|0,this.D=Q[3]|0,this.E=Q[4]|0,this.F=Q[5]|0,this.G=Q[6]|0,this.H=Q[7]|0}get(){const{A:e,B:t,C:r,D:o,E:s,F:c,G:f,H:i}=this;return[e,t,r,o,s,c,f,i]}set(e,t,r,o,s,c,f,i){this.A=e|0,this.B=t|0,this.C=r|0,this.D=o|0,this.E=s|0,this.F=c|0,this.G=f|0,this.H=i|0}process(e,t){for(let h=0;h<16;h++,t+=4)J[h]=e.getUint32(t,!1);for(let h=16;h<64;h++){const l=J[h-15],m=J[h-2],N=P(l,7)^P(l,18)^l>>>3,b=P(m,17)^P(m,19)^m>>>10;J[h]=b+J[h-7]+N+J[h-16]|0}let{A:r,B:o,C:s,D:c,E:f,F:i,G:u,H:y}=this;for(let h=0;h<64;h++){const l=P(f,6)^P(f,11)^P(f,25),m=y+l+me(f,i,u)+Be[h]+J[h]|0,b=(P(r,2)^P(r,13)^P(r,22))+xe(r,o,s)|0;y=u,u=i,i=f,f=c+m|0,c=s,s=o,o=r,r=m+b|0}r=r+this.A|0,o=o+this.B|0,s=s+this.C|0,c=c+this.D|0,f=f+this.E|0,i=i+this.F|0,u=u+this.G|0,y=y+this.H|0,this.set(r,o,s,c,f,i,u,y)}roundClean(){J.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const Se=he(()=>new ve);class te extends Qt{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,ge(e);const r=Jt(t);if(this.iHash=e.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const o=this.blockLen,s=new Uint8Array(o);s.set(r.length>o?e.create().update(r).digest():r);for(let c=0;c<s.length;c++)s[c]^=54;this.iHash.update(s),this.oHash=e.create();for(let c=0;c<s.length;c++)s[c]^=106;this.oHash.update(s),s.fill(0)}update(e){return xt(this),this.iHash.update(e),this}digestInto(e){xt(this),we(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:t,iHash:r,finished:o,destroyed:s,blockLen:c,outputLen:f}=this;return e=e,e.finished=o,e.destroyed=s,e.blockLen=c,e.outputLen=f,e.oHash=t._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const ee=(n,e,t)=>new te(n,e).update(t).digest();ee.create=(n,e)=>new te(n,e);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Et=BigInt(0),Bt=BigInt(1),Ae=BigInt(2);function it(n){return n instanceof Uint8Array||ArrayBuffer.isView(n)&&n.constructor.name==="Uint8Array"}function bt(n){if(!it(n))throw new Error("Uint8Array expected")}function ut(n,e){if(typeof e!="boolean")throw new Error(n+" boolean expected, got "+e)}const Ie=Array.from({length:256},(n,e)=>e.toString(16).padStart(2,"0"));function lt(n){bt(n);let e="";for(let t=0;t<n.length;t++)e+=Ie[n[t]];return e}function at(n){const e=n.toString(16);return e.length&1?"0"+e:e}function Zt(n){if(typeof n!="string")throw new Error("hex string expected, got "+typeof n);return n===""?Et:BigInt("0x"+n)}const D={_0:48,_9:57,A:65,F:70,a:97,f:102};function Yt(n){if(n>=D._0&&n<=D._9)return n-D._0;if(n>=D.A&&n<=D.F)return n-(D.A-10);if(n>=D.a&&n<=D.f)return n-(D.a-10)}function dt(n){if(typeof n!="string")throw new Error("hex string expected, got "+typeof n);const e=n.length,t=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(t);for(let o=0,s=0;o<t;o++,s+=2){const c=Yt(n.charCodeAt(s)),f=Yt(n.charCodeAt(s+1));if(c===void 0||f===void 0){const i=n[s]+n[s+1];throw new Error('hex string expected, got non-hex character "'+i+'" at index '+s)}r[o]=c*16+f}return r}function rt(n){return Zt(lt(n))}function Rt(n){return bt(n),Zt(lt(Uint8Array.from(n).reverse()))}function ht(n,e){return dt(n.toString(16).padStart(e*2,"0"))}function Mt(n,e){return ht(n,e).reverse()}function Ne(n){return dt(at(n))}function K(n,e,t){let r;if(typeof e=="string")try{r=dt(e)}catch(s){throw new Error(n+" must be hex string or Uint8Array, cause: "+s)}else if(it(e))r=Uint8Array.from(e);else throw new Error(n+" must be hex string or Uint8Array");const o=r.length;if(typeof t=="number"&&o!==t)throw new Error(n+" of length "+t+" expected, got "+o);return r}function pt(...n){let e=0;for(let r=0;r<n.length;r++){const o=n[r];bt(o),e+=o.length}const t=new Uint8Array(e);for(let r=0,o=0;r<n.length;r++){const s=n[r];t.set(s,o),o+=s.length}return t}function qe(n,e){if(n.length!==e.length)return!1;let t=0;for(let r=0;r<n.length;r++)t|=n[r]^e[r];return t===0}function Oe(n){if(typeof n!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(n))}const Nt=n=>typeof n=="bigint"&&Et<=n;function vt(n,e,t){return Nt(n)&&Nt(e)&&Nt(t)&&e<=n&&n<t}function ot(n,e,t,r){if(!vt(e,t,r))throw new Error("expected valid "+n+": "+t+" <= n < "+r+", got "+e)}function ne(n){let e;for(e=0;n>Et;n>>=Bt,e+=1);return e}function Le(n,e){return n>>BigInt(e)&Bt}function He(n,e,t){return n|(t?Bt:Et)<<BigInt(e)}const Vt=n=>(Ae<<BigInt(n-1))-Bt,qt=n=>new Uint8Array(n),Ft=n=>Uint8Array.from(n);function re(n,e,t){if(typeof n!="number"||n<2)throw new Error("hashLen must be a number");if(typeof e!="number"||e<2)throw new Error("qByteLen must be a number");if(typeof t!="function")throw new Error("hmacFn must be a function");let r=qt(n),o=qt(n),s=0;const c=()=>{r.fill(1),o.fill(0),s=0},f=(...h)=>t(o,r,...h),i=(h=qt())=>{o=f(Ft([0]),h),r=f(),h.length!==0&&(o=f(Ft([1]),h),r=f())},u=()=>{if(s++>=1e3)throw new Error("drbg: tried 1000 values");let h=0;const l=[];for(;h<e;){r=f();const m=r.slice();l.push(m),h+=r.length}return pt(...l)};return(h,l)=>{c(),i(h);let m;for(;!(m=l(u()));)i();return c(),m}}const Ue={bigint:n=>typeof n=="bigint",function:n=>typeof n=="function",boolean:n=>typeof n=="boolean",string:n=>typeof n=="string",stringOrUint8Array:n=>typeof n=="string"||it(n),isSafeInteger:n=>Number.isSafeInteger(n),array:n=>Array.isArray(n),field:(n,e)=>e.Fp.isValid(n),hash:n=>typeof n=="function"&&Number.isSafeInteger(n.outputLen)};function yt(n,e,t={}){const r=(o,s,c)=>{const f=Ue[s];if(typeof f!="function")throw new Error("invalid validator function");const i=n[o];if(!(c&&i===void 0)&&!f(i,n))throw new Error("param "+String(o)+" is invalid. Expected "+s+", got "+i)};for(const[o,s]of Object.entries(e))r(o,s,!1);for(const[o,s]of Object.entries(t))r(o,s,!0);return n}const Te=()=>{throw new Error("not implemented")};function Tt(n){const e=new WeakMap;return(t,...r)=>{const o=e.get(t);if(o!==void 0)return o;const s=n(t,...r);return e.set(t,s),s}}const _e=Object.freeze(Object.defineProperty({__proto__:null,aInRange:ot,abool:ut,abytes:bt,bitGet:Le,bitLen:ne,bitMask:Vt,bitSet:He,bytesToHex:lt,bytesToNumberBE:rt,bytesToNumberLE:Rt,concatBytes:pt,createHmacDrbg:re,ensureBytes:K,equalBytes:qe,hexToBytes:dt,hexToNumber:Zt,inRange:vt,isBytes:it,memoized:Tt,notImplemented:Te,numberToBytesBE:ht,numberToBytesLE:Mt,numberToHexUnpadded:at,numberToVarBytesBE:Ne,utf8ToBytes:Oe,validateObject:yt},Symbol.toStringTag,{value:"Module"}));/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const z=BigInt(0),T=BigInt(1),nt=BigInt(2),ke=BigInt(3),_t=BigInt(4),Kt=BigInt(5),Pt=BigInt(8);function V(n,e){const t=n%e;return t>=z?t:e+t}function ze(n,e,t){if(e<z)throw new Error("invalid exponent, negatives unsupported");if(t<=z)throw new Error("invalid modulus");if(t===T)return z;let r=T;for(;e>z;)e&T&&(r=r*n%t),n=n*n%t,e>>=T;return r}function Y(n,e,t){let r=n;for(;e-- >z;)r*=r,r%=t;return r}function kt(n,e){if(n===z)throw new Error("invert: expected non-zero number");if(e<=z)throw new Error("invert: expected positive modulus, got "+e);let t=V(n,e),r=e,o=z,s=T;for(;t!==z;){const f=r/t,i=r%t,u=o-s*f;r=t,t=i,o=s,s=u}if(r!==T)throw new Error("invert: does not exist");return V(o,e)}function Ce(n){const e=(n-T)/nt;let t,r,o;for(t=n-T,r=0;t%nt===z;t/=nt,r++);for(o=nt;o<n&&ze(o,e,n)!==n-T;o++)if(o>1e3)throw new Error("Cannot find square root: likely non-prime P");if(r===1){const c=(n+T)/_t;return function(i,u){const y=i.pow(u,c);if(!i.eql(i.sqr(y),u))throw new Error("Cannot find square root");return y}}const s=(t+T)/nt;return function(f,i){if(f.pow(i,e)===f.neg(f.ONE))throw new Error("Cannot find square root");let u=r,y=f.pow(f.mul(f.ONE,o),t),h=f.pow(i,s),l=f.pow(i,t);for(;!f.eql(l,f.ONE);){if(f.eql(l,f.ZERO))return f.ZERO;let m=1;for(let b=f.sqr(l);m<u&&!f.eql(b,f.ONE);m++)b=f.sqr(b);const N=f.pow(y,T<<BigInt(u-m-1));y=f.sqr(N),h=f.mul(h,N),l=f.mul(l,y),u=m}return h}}function Ze(n){if(n%_t===ke){const e=(n+T)/_t;return function(r,o){const s=r.pow(o,e);if(!r.eql(r.sqr(s),o))throw new Error("Cannot find square root");return s}}if(n%Pt===Kt){const e=(n-Kt)/Pt;return function(r,o){const s=r.mul(o,nt),c=r.pow(s,e),f=r.mul(o,c),i=r.mul(r.mul(f,nt),c),u=r.mul(f,r.sub(i,r.ONE));if(!r.eql(r.sqr(u),o))throw new Error("Cannot find square root");return u}}return Ce(n)}const Re=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Me(n){const e={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},t=Re.reduce((r,o)=>(r[o]="function",r),e);return yt(n,t)}function Ve(n,e,t){if(t<z)throw new Error("invalid exponent, negatives unsupported");if(t===z)return n.ONE;if(t===T)return e;let r=n.ONE,o=e;for(;t>z;)t&T&&(r=n.mul(r,o)),o=n.sqr(o),t>>=T;return r}function je(n,e){const t=new Array(e.length),r=e.reduce((s,c,f)=>n.is0(c)?s:(t[f]=s,n.mul(s,c)),n.ONE),o=n.inv(r);return e.reduceRight((s,c,f)=>n.is0(c)?s:(t[f]=n.mul(s,t[f]),n.mul(s,c)),o),t}function oe(n,e){const t=e!==void 0?e:n.toString(2).length,r=Math.ceil(t/8);return{nBitLength:t,nByteLength:r}}function ie(n,e,t=!1,r={}){if(n<=z)throw new Error("invalid field: expected ORDER > 0, got "+n);const{nBitLength:o,nByteLength:s}=oe(n,e);if(s>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let c;const f=Object.freeze({ORDER:n,isLE:t,BITS:o,BYTES:s,MASK:Vt(o),ZERO:z,ONE:T,create:i=>V(i,n),isValid:i=>{if(typeof i!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof i);return z<=i&&i<n},is0:i=>i===z,isOdd:i=>(i&T)===T,neg:i=>V(-i,n),eql:(i,u)=>i===u,sqr:i=>V(i*i,n),add:(i,u)=>V(i+u,n),sub:(i,u)=>V(i-u,n),mul:(i,u)=>V(i*u,n),pow:(i,u)=>Ve(f,i,u),div:(i,u)=>V(i*kt(u,n),n),sqrN:i=>i*i,addN:(i,u)=>i+u,subN:(i,u)=>i-u,mulN:(i,u)=>i*u,inv:i=>kt(i,n),sqrt:r.sqrt||(i=>(c||(c=Ze(n)),c(f,i))),invertBatch:i=>je(f,i),cmov:(i,u,y)=>y?u:i,toBytes:i=>t?Mt(i,s):ht(i,s),fromBytes:i=>{if(i.length!==s)throw new Error("Field.fromBytes: expected "+s+" bytes, got "+i.length);return t?Rt(i):rt(i)}});return Object.freeze(f)}function se(n){if(typeof n!="bigint")throw new Error("field order must be bigint");const e=n.toString(2).length;return Math.ceil(e/8)}function ce(n){const e=se(n);return e+Math.ceil(e/2)}function Ye(n,e,t=!1){const r=n.length,o=se(e),s=ce(e);if(r<16||r<s||r>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+r);const c=t?Rt(n):rt(n),f=V(c,e-T)+T;return t?Mt(f,o):ht(f,o)}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Gt=BigInt(0),mt=BigInt(1);function Ot(n,e){const t=e.negate();return n?t:e}function fe(n,e){if(!Number.isSafeInteger(n)||n<=0||n>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+n)}function Lt(n,e){fe(n,e);const t=Math.ceil(e/n)+1,r=2**(n-1);return{windows:t,windowSize:r}}function Fe(n,e){if(!Array.isArray(n))throw new Error("array expected");n.forEach((t,r)=>{if(!(t instanceof e))throw new Error("invalid point at index "+r)})}function Ke(n,e){if(!Array.isArray(n))throw new Error("array of scalars expected");n.forEach((t,r)=>{if(!e.isValid(t))throw new Error("invalid scalar at index "+r)})}const Ht=new WeakMap,ae=new WeakMap;function Ut(n){return ae.get(n)||1}function Pe(n,e){return{constTimeNegate:Ot,hasPrecomputes(t){return Ut(t)!==1},unsafeLadder(t,r,o=n.ZERO){let s=t;for(;r>Gt;)r&mt&&(o=o.add(s)),s=s.double(),r>>=mt;return o},precomputeWindow(t,r){const{windows:o,windowSize:s}=Lt(r,e),c=[];let f=t,i=f;for(let u=0;u<o;u++){i=f,c.push(i);for(let y=1;y<s;y++)i=i.add(f),c.push(i);f=i.double()}return c},wNAF(t,r,o){const{windows:s,windowSize:c}=Lt(t,e);let f=n.ZERO,i=n.BASE;const u=BigInt(2**t-1),y=2**t,h=BigInt(t);for(let l=0;l<s;l++){const m=l*c;let N=Number(o&u);o>>=h,N>c&&(N-=y,o+=mt);const b=m,a=m+Math.abs(N)-1,g=l%2!==0,x=N<0;N===0?i=i.add(Ot(g,r[b])):f=f.add(Ot(x,r[a]))}return{p:f,f:i}},wNAFUnsafe(t,r,o,s=n.ZERO){const{windows:c,windowSize:f}=Lt(t,e),i=BigInt(2**t-1),u=2**t,y=BigInt(t);for(let h=0;h<c;h++){const l=h*f;if(o===Gt)break;let m=Number(o&i);if(o>>=y,m>f&&(m-=u,o+=mt),m===0)continue;let N=r[l+Math.abs(m)-1];m<0&&(N=N.negate()),s=s.add(N)}return s},getPrecomputes(t,r,o){let s=Ht.get(r);return s||(s=this.precomputeWindow(r,t),t!==1&&Ht.set(r,o(s))),s},wNAFCached(t,r,o){const s=Ut(t);return this.wNAF(s,this.getPrecomputes(s,t,o),r)},wNAFCachedUnsafe(t,r,o,s){const c=Ut(t);return c===1?this.unsafeLadder(t,r,s):this.wNAFUnsafe(c,this.getPrecomputes(c,t,o),r,s)},setWindowSize(t,r){fe(r,e),ae.set(t,r),Ht.delete(t)}}}function Ge(n,e,t,r){if(Fe(t,n),Ke(r,e),t.length!==r.length)throw new Error("arrays of points and scalars must have equal length");const o=n.ZERO,s=ne(BigInt(t.length)),c=s>12?s-3:s>4?s-2:s?2:1,f=(1<<c)-1,i=new Array(f+1).fill(o),u=Math.floor((e.BITS-1)/c)*c;let y=o;for(let h=u;h>=0;h-=c){i.fill(o);for(let m=0;m<r.length;m++){const N=r[m],b=Number(N>>BigInt(h)&BigInt(f));i[b]=i[b].add(t[m])}let l=o;for(let m=i.length-1,N=o;m>0;m--)N=N.add(i[m]),l=l.add(N);if(y=y.add(l),h!==0)for(let m=0;m<c;m++)y=y.double()}return y}function ue(n){return Me(n.Fp),yt(n,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...oe(n.n,n.nBitLength),...n,p:n.Fp.ORDER})}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function Dt(n){n.lowS!==void 0&&ut("lowS",n.lowS),n.prehash!==void 0&&ut("prehash",n.prehash)}function De(n){const e=ue(n);yt(e,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:t,Fp:r,a:o}=e;if(t){if(!r.eql(o,r.ZERO))throw new Error("invalid endomorphism, can only be defined for Koblitz curves that have a=0");if(typeof t!="object"||typeof t.beta!="bigint"||typeof t.splitScalar!="function")throw new Error("invalid endomorphism, expected beta: bigint and splitScalar: function")}return Object.freeze({...e})}const{bytesToNumberBE:$e,hexToBytes:We}=_e;class Xe extends Error{constructor(e=""){super(e)}}const $={Err:Xe,_tlv:{encode:(n,e)=>{const{Err:t}=$;if(n<0||n>256)throw new t("tlv.encode: wrong tag");if(e.length&1)throw new t("tlv.encode: unpadded data");const r=e.length/2,o=at(r);if(o.length/2&128)throw new t("tlv.encode: long form length too big");const s=r>127?at(o.length/2|128):"";return at(n)+s+o+e},decode(n,e){const{Err:t}=$;let r=0;if(n<0||n>256)throw new t("tlv.encode: wrong tag");if(e.length<2||e[r++]!==n)throw new t("tlv.decode: wrong tlv");const o=e[r++],s=!!(o&128);let c=0;if(!s)c=o;else{const i=o&127;if(!i)throw new t("tlv.decode(long): indefinite length not supported");if(i>4)throw new t("tlv.decode(long): byte length is too big");const u=e.subarray(r,r+i);if(u.length!==i)throw new t("tlv.decode: length bytes not complete");if(u[0]===0)throw new t("tlv.decode(long): zero leftmost byte");for(const y of u)c=c<<8|y;if(r+=i,c<128)throw new t("tlv.decode(long): not minimal encoding")}const f=e.subarray(r,r+c);if(f.length!==c)throw new t("tlv.decode: wrong value length");return{v:f,l:e.subarray(r+c)}}},_int:{encode(n){const{Err:e}=$;if(n<W)throw new e("integer: negative integers are not allowed");let t=at(n);if(Number.parseInt(t[0],16)&8&&(t="00"+t),t.length&1)throw new e("unexpected DER parsing assertion: unpadded hex");return t},decode(n){const{Err:e}=$;if(n[0]&128)throw new e("invalid signature integer: negative");if(n[0]===0&&!(n[1]&128))throw new e("invalid signature integer: unnecessary leading zero");return $e(n)}},toSig(n){const{Err:e,_int:t,_tlv:r}=$,o=typeof n=="string"?We(n):n;bt(o);const{v:s,l:c}=r.decode(48,o);if(c.length)throw new e("invalid signature: left bytes after parsing");const{v:f,l:i}=r.decode(2,s),{v:u,l:y}=r.decode(2,i);if(y.length)throw new e("invalid signature: left bytes after parsing");return{r:t.decode(f),s:t.decode(u)}},hexFromSig(n){const{_tlv:e,_int:t}=$,r=e.encode(2,t.encode(n.r)),o=e.encode(2,t.encode(n.s)),s=r+o;return e.encode(48,s)}},W=BigInt(0),k=BigInt(1);BigInt(2);const $t=BigInt(3);BigInt(4);function Qe(n){const e=De(n),{Fp:t}=e,r=ie(e.n,e.nBitLength),o=e.toBytes||((b,a,g)=>{const x=a.toAffine();return pt(Uint8Array.from([4]),t.toBytes(x.x),t.toBytes(x.y))}),s=e.fromBytes||(b=>{const a=b.subarray(1),g=t.fromBytes(a.subarray(0,t.BYTES)),x=t.fromBytes(a.subarray(t.BYTES,2*t.BYTES));return{x:g,y:x}});function c(b){const{a,b:g}=e,x=t.sqr(b),E=t.mul(x,b);return t.add(t.add(E,t.mul(b,a)),g)}if(!t.eql(t.sqr(e.Gy),c(e.Gx)))throw new Error("bad generator point: equation left != right");function f(b){return vt(b,k,e.n)}function i(b){const{allowedPrivateKeyLengths:a,nByteLength:g,wrapPrivateKey:x,n:E}=e;if(a&&typeof b!="bigint"){if(it(b)&&(b=lt(b)),typeof b!="string"||!a.includes(b.length))throw new Error("invalid private key");b=b.padStart(g*2,"0")}let q;try{q=typeof b=="bigint"?b:rt(K("private key",b,g))}catch{throw new Error("invalid private key, expected hex or "+g+" bytes, got "+typeof b)}return x&&(q=V(q,E)),ot("private key",q,k,E),q}function u(b){if(!(b instanceof l))throw new Error("ProjectivePoint expected")}const y=Tt((b,a)=>{const{px:g,py:x,pz:E}=b;if(t.eql(E,t.ONE))return{x:g,y:x};const q=b.is0();a==null&&(a=q?t.ONE:t.inv(E));const L=t.mul(g,a),I=t.mul(x,a),B=t.mul(E,a);if(q)return{x:t.ZERO,y:t.ZERO};if(!t.eql(B,t.ONE))throw new Error("invZ was invalid");return{x:L,y:I}}),h=Tt(b=>{if(b.is0()){if(e.allowInfinityPoint&&!t.is0(b.py))return;throw new Error("bad point: ZERO")}const{x:a,y:g}=b.toAffine();if(!t.isValid(a)||!t.isValid(g))throw new Error("bad point: x or y not FE");const x=t.sqr(g),E=c(a);if(!t.eql(x,E))throw new Error("bad point: equation left != right");if(!b.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class l{constructor(a,g,x){if(this.px=a,this.py=g,this.pz=x,a==null||!t.isValid(a))throw new Error("x required");if(g==null||!t.isValid(g))throw new Error("y required");if(x==null||!t.isValid(x))throw new Error("z required");Object.freeze(this)}static fromAffine(a){const{x:g,y:x}=a||{};if(!a||!t.isValid(g)||!t.isValid(x))throw new Error("invalid affine point");if(a instanceof l)throw new Error("projective point not allowed");const E=q=>t.eql(q,t.ZERO);return E(g)&&E(x)?l.ZERO:new l(g,x,t.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(a){const g=t.invertBatch(a.map(x=>x.pz));return a.map((x,E)=>x.toAffine(g[E])).map(l.fromAffine)}static fromHex(a){const g=l.fromAffine(s(K("pointHex",a)));return g.assertValidity(),g}static fromPrivateKey(a){return l.BASE.multiply(i(a))}static msm(a,g){return Ge(l,r,a,g)}_setWindowSize(a){N.setWindowSize(this,a)}assertValidity(){h(this)}hasEvenY(){const{y:a}=this.toAffine();if(t.isOdd)return!t.isOdd(a);throw new Error("Field doesn't support isOdd")}equals(a){u(a);const{px:g,py:x,pz:E}=this,{px:q,py:L,pz:I}=a,B=t.eql(t.mul(g,I),t.mul(q,E)),A=t.eql(t.mul(x,I),t.mul(L,E));return B&&A}negate(){return new l(this.px,t.neg(this.py),this.pz)}double(){const{a,b:g}=e,x=t.mul(g,$t),{px:E,py:q,pz:L}=this;let I=t.ZERO,B=t.ZERO,A=t.ZERO,v=t.mul(E,E),C=t.mul(q,q),U=t.mul(L,L),H=t.mul(E,q);return H=t.add(H,H),A=t.mul(E,L),A=t.add(A,A),I=t.mul(a,A),B=t.mul(x,U),B=t.add(I,B),I=t.sub(C,B),B=t.add(C,B),B=t.mul(I,B),I=t.mul(H,I),A=t.mul(x,A),U=t.mul(a,U),H=t.sub(v,U),H=t.mul(a,H),H=t.add(H,A),A=t.add(v,v),v=t.add(A,v),v=t.add(v,U),v=t.mul(v,H),B=t.add(B,v),U=t.mul(q,L),U=t.add(U,U),v=t.mul(U,H),I=t.sub(I,v),A=t.mul(U,C),A=t.add(A,A),A=t.add(A,A),new l(I,B,A)}add(a){u(a);const{px:g,py:x,pz:E}=this,{px:q,py:L,pz:I}=a;let B=t.ZERO,A=t.ZERO,v=t.ZERO;const C=e.a,U=t.mul(e.b,$t);let H=t.mul(g,q),j=t.mul(x,L),d=t.mul(E,I),w=t.add(g,x),p=t.add(q,L);w=t.mul(w,p),p=t.add(H,j),w=t.sub(w,p),p=t.add(g,E);let S=t.add(q,I);return p=t.mul(p,S),S=t.add(H,d),p=t.sub(p,S),S=t.add(x,E),B=t.add(L,I),S=t.mul(S,B),B=t.add(j,d),S=t.sub(S,B),v=t.mul(C,p),B=t.mul(U,d),v=t.add(B,v),B=t.sub(j,v),v=t.add(j,v),A=t.mul(B,v),j=t.add(H,H),j=t.add(j,H),d=t.mul(C,d),p=t.mul(U,p),j=t.add(j,d),d=t.sub(H,d),d=t.mul(C,d),p=t.add(p,d),H=t.mul(j,p),A=t.add(A,H),H=t.mul(S,p),B=t.mul(w,B),B=t.sub(B,H),H=t.mul(w,j),v=t.mul(S,v),v=t.add(v,H),new l(B,A,v)}subtract(a){return this.add(a.negate())}is0(){return this.equals(l.ZERO)}wNAF(a){return N.wNAFCached(this,a,l.normalizeZ)}multiplyUnsafe(a){const{endo:g,n:x}=e;ot("scalar",a,W,x);const E=l.ZERO;if(a===W)return E;if(this.is0()||a===k)return this;if(!g||N.hasPrecomputes(this))return N.wNAFCachedUnsafe(this,a,l.normalizeZ);let{k1neg:q,k1:L,k2neg:I,k2:B}=g.splitScalar(a),A=E,v=E,C=this;for(;L>W||B>W;)L&k&&(A=A.add(C)),B&k&&(v=v.add(C)),C=C.double(),L>>=k,B>>=k;return q&&(A=A.negate()),I&&(v=v.negate()),v=new l(t.mul(v.px,g.beta),v.py,v.pz),A.add(v)}multiply(a){const{endo:g,n:x}=e;ot("scalar",a,k,x);let E,q;if(g){const{k1neg:L,k1:I,k2neg:B,k2:A}=g.splitScalar(a);let{p:v,f:C}=this.wNAF(I),{p:U,f:H}=this.wNAF(A);v=N.constTimeNegate(L,v),U=N.constTimeNegate(B,U),U=new l(t.mul(U.px,g.beta),U.py,U.pz),E=v.add(U),q=C.add(H)}else{const{p:L,f:I}=this.wNAF(a);E=L,q=I}return l.normalizeZ([E,q])[0]}multiplyAndAddUnsafe(a,g,x){const E=l.BASE,q=(I,B)=>B===W||B===k||!I.equals(E)?I.multiplyUnsafe(B):I.multiply(B),L=q(this,g).add(q(a,x));return L.is0()?void 0:L}toAffine(a){return y(this,a)}isTorsionFree(){const{h:a,isTorsionFree:g}=e;if(a===k)return!0;if(g)return g(l,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:a,clearCofactor:g}=e;return a===k?this:g?g(l,this):this.multiplyUnsafe(e.h)}toRawBytes(a=!0){return ut("isCompressed",a),this.assertValidity(),o(l,this,a)}toHex(a=!0){return ut("isCompressed",a),lt(this.toRawBytes(a))}}l.BASE=new l(e.Gx,e.Gy,t.ONE),l.ZERO=new l(t.ZERO,t.ONE,t.ZERO);const m=e.nBitLength,N=Pe(l,e.endo?Math.ceil(m/2):m);return{CURVE:e,ProjectivePoint:l,normPrivateKeyToScalar:i,weierstrassEquation:c,isWithinCurveOrder:f}}function Je(n){const e=ue(n);return yt(e,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...e})}function tn(n){const e=Je(n),{Fp:t,n:r}=e,o=t.BYTES+1,s=2*t.BYTES+1;function c(d){return V(d,r)}function f(d){return kt(d,r)}const{ProjectivePoint:i,normPrivateKeyToScalar:u,weierstrassEquation:y,isWithinCurveOrder:h}=Qe({...e,toBytes(d,w,p){const S=w.toAffine(),O=t.toBytes(S.x),_=pt;return ut("isCompressed",p),p?_(Uint8Array.from([w.hasEvenY()?2:3]),O):_(Uint8Array.from([4]),O,t.toBytes(S.y))},fromBytes(d){const w=d.length,p=d[0],S=d.subarray(1);if(w===o&&(p===2||p===3)){const O=rt(S);if(!vt(O,k,t.ORDER))throw new Error("Point is not on curve");const _=y(O);let R;try{R=t.sqrt(_)}catch(F){const M=F instanceof Error?": "+F.message:"";throw new Error("Point is not on curve"+M)}const Z=(R&k)===k;return(p&1)===1!==Z&&(R=t.neg(R)),{x:O,y:R}}else if(w===s&&p===4){const O=t.fromBytes(S.subarray(0,t.BYTES)),_=t.fromBytes(S.subarray(t.BYTES,2*t.BYTES));return{x:O,y:_}}else{const O=o,_=s;throw new Error("invalid Point, expected length of "+O+", or uncompressed "+_+", got "+w)}}}),l=d=>lt(ht(d,e.nByteLength));function m(d){const w=r>>k;return d>w}function N(d){return m(d)?c(-d):d}const b=(d,w,p)=>rt(d.slice(w,p));class a{constructor(w,p,S){this.r=w,this.s=p,this.recovery=S,this.assertValidity()}static fromCompact(w){const p=e.nByteLength;return w=K("compactSignature",w,p*2),new a(b(w,0,p),b(w,p,2*p))}static fromDER(w){const{r:p,s:S}=$.toSig(K("DER",w));return new a(p,S)}assertValidity(){ot("r",this.r,k,r),ot("s",this.s,k,r)}addRecoveryBit(w){return new a(this.r,this.s,w)}recoverPublicKey(w){const{r:p,s:S,recovery:O}=this,_=I(K("msgHash",w));if(O==null||![0,1,2,3].includes(O))throw new Error("recovery id invalid");const R=O===2||O===3?p+e.n:p;if(R>=t.ORDER)throw new Error("recovery id 2 or 3 invalid");const Z=(O&1)===0?"02":"03",G=i.fromHex(Z+l(R)),F=f(R),M=c(-_*F),st=c(S*F),X=i.BASE.multiplyAndAddUnsafe(G,M,st);if(!X)throw new Error("point at infinify");return X.assertValidity(),X}hasHighS(){return m(this.s)}normalizeS(){return this.hasHighS()?new a(this.r,c(-this.s),this.recovery):this}toDERRawBytes(){return dt(this.toDERHex())}toDERHex(){return $.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return dt(this.toCompactHex())}toCompactHex(){return l(this.r)+l(this.s)}}const g={isValidPrivateKey(d){try{return u(d),!0}catch{return!1}},normPrivateKeyToScalar:u,randomPrivateKey:()=>{const d=ce(e.n);return Ye(e.randomBytes(d),e.n)},precompute(d=8,w=i.BASE){return w._setWindowSize(d),w.multiply(BigInt(3)),w}};function x(d,w=!0){return i.fromPrivateKey(d).toRawBytes(w)}function E(d){const w=it(d),p=typeof d=="string",S=(w||p)&&d.length;return w?S===o||S===s:p?S===2*o||S===2*s:d instanceof i}function q(d,w,p=!0){if(E(d))throw new Error("first arg must be private key");if(!E(w))throw new Error("second arg must be public key");return i.fromHex(w).multiply(u(d)).toRawBytes(p)}const L=e.bits2int||function(d){if(d.length>8192)throw new Error("input is too large");const w=rt(d),p=d.length*8-e.nBitLength;return p>0?w>>BigInt(p):w},I=e.bits2int_modN||function(d){return c(L(d))},B=Vt(e.nBitLength);function A(d){return ot("num < 2^"+e.nBitLength,d,W,B),ht(d,e.nByteLength)}function v(d,w,p=C){if(["recovered","canonical"].some(tt=>tt in p))throw new Error("sign() legacy options not supported");const{hash:S,randomBytes:O}=e;let{lowS:_,prehash:R,extraEntropy:Z}=p;_==null&&(_=!0),d=K("msgHash",d),Dt(p),R&&(d=K("prehashed msgHash",S(d)));const G=I(d),F=u(w),M=[A(F),A(G)];if(Z!=null&&Z!==!1){const tt=Z===!0?O(t.BYTES):Z;M.push(K("extraEntropy",tt))}const st=pt(...M),X=G;function St(tt){const ct=L(tt);if(!h(ct))return;const At=f(ct),gt=i.BASE.multiply(ct).toAffine(),et=c(gt.x);if(et===W)return;const wt=c(At*c(X+et*F));if(wt===W)return;let ft=(gt.x===et?0:2)|Number(gt.y&k),jt=wt;return _&&m(wt)&&(jt=N(wt),ft^=1),new a(et,jt,ft)}return{seed:st,k2sig:St}}const C={lowS:e.lowS,prehash:!1},U={lowS:e.lowS,prehash:!1};function H(d,w,p=C){const{seed:S,k2sig:O}=v(d,w,p),_=e;return re(_.hash.outputLen,_.nByteLength,_.hmac)(S,O)}i.BASE._setWindowSize(8);function j(d,w,p,S=U){const O=d;w=K("msgHash",w),p=K("publicKey",p);const{lowS:_,prehash:R,format:Z}=S;if(Dt(S),"strict"in S)throw new Error("options.strict was renamed to lowS");if(Z!==void 0&&Z!=="compact"&&Z!=="der")throw new Error("format must be compact or der");const G=typeof O=="string"||it(O),F=!G&&!Z&&typeof O=="object"&&O!==null&&typeof O.r=="bigint"&&typeof O.s=="bigint";if(!G&&!F)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let M,st;try{if(F&&(M=new a(O.r,O.s)),G){try{Z!=="compact"&&(M=a.fromDER(O))}catch(ft){if(!(ft instanceof $.Err))throw ft}!M&&Z!=="der"&&(M=a.fromCompact(O))}st=i.fromHex(p)}catch{return!1}if(!M||_&&M.hasHighS())return!1;R&&(w=e.hash(w));const{r:X,s:St}=M,tt=I(w),ct=f(St),At=c(tt*ct),gt=c(X*ct),et=i.BASE.multiplyAndAddUnsafe(st,At,gt)?.toAffine();return et?c(et.x)===X:!1}return{CURVE:e,getPublicKey:x,getSharedSecret:q,sign:H,verify:j,ProjectivePoint:i,Signature:a,utils:g}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function en(n){return{hash:n,hmac:(e,...t)=>ee(n,e,be(...t)),randomBytes:pe}}function nn(n,e){const t=r=>tn({...n,...en(r)});return{...t(e),create:t}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const le=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Wt=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),rn=BigInt(1),zt=BigInt(2),Xt=(n,e)=>(n+e/zt)/e;function on(n){const e=le,t=BigInt(3),r=BigInt(6),o=BigInt(11),s=BigInt(22),c=BigInt(23),f=BigInt(44),i=BigInt(88),u=n*n*n%e,y=u*u*n%e,h=Y(y,t,e)*y%e,l=Y(h,t,e)*y%e,m=Y(l,zt,e)*u%e,N=Y(m,o,e)*m%e,b=Y(N,s,e)*N%e,a=Y(b,f,e)*b%e,g=Y(a,i,e)*a%e,x=Y(g,f,e)*b%e,E=Y(x,t,e)*y%e,q=Y(E,c,e)*N%e,L=Y(q,r,e)*u%e,I=Y(L,zt,e);if(!Ct.eql(Ct.sqr(I),n))throw new Error("Cannot find square root");return I}const Ct=ie(le,void 0,void 0,{sqrt:on}),sn=nn({a:BigInt(0),b:BigInt(7),Fp:Ct,n:Wt,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:n=>{const e=Wt,t=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-rn*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),o=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),s=t,c=BigInt("0x100000000000000000000000000000000"),f=Xt(s*n,e),i=Xt(-r*n,e);let u=V(n-f*t-i*o,e),y=V(-f*r-i*s,e);const h=u>c,l=y>c;if(h&&(u=e-u),l&&(y=e-y),u>c||y>c)throw new Error("splitScalar: Endomorphism failed, k="+n);return{k1neg:h,k1:u,k2neg:l,k2:y}}}},Se);BigInt(0);sn.ProjectivePoint;export{sn as secp256k1};
1
+ import{i as Qt,j as It,k as xt,l as Jt,m as de,n as he,o as P,p as ge,q as we,s as pe,u as be}from"./index-DINq8R6m.js";import"./index.browser.esm-I7fg10vC.js";import"./vendor-dayjs-D7e3rSuL.js";import"./index-q_66wTX8.js";import"./vendor-vue-CpN3YBVJ.js";import"./vendor-axios-NIGUFBhG.js";import"./vendor-vue-router-DjvMdekB.js";import"./index-4erIVwAR.js";import"./events-C1bJOe9X.js";import"./types-Cvj5H4DH.js";function ye(n,e,t,r){if(typeof n.setBigUint64=="function")return n.setBigUint64(e,t,r);const o=BigInt(32),s=BigInt(4294967295),c=Number(t>>o&s),f=Number(t&s),i=r?4:0,u=r?0:4;n.setUint32(e+i,c,r),n.setUint32(e+u,f,r)}function me(n,e,t){return n&e^~n&t}function xe(n,e,t){return n&e^n&t^e&t}class Ee extends Qt{constructor(e,t,r,o){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=o,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=It(this.buffer)}update(e){xt(this);const{view:t,buffer:r,blockLen:o}=this;e=Jt(e);const s=e.length;for(let c=0;c<s;){const f=Math.min(o-this.pos,s-c);if(f===o){const i=It(e);for(;o<=s-c;c+=o)this.process(i,c);continue}r.set(e.subarray(c,c+f),this.pos),this.pos+=f,c+=f,this.pos===o&&(this.process(t,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){xt(this),de(e,this),this.finished=!0;const{buffer:t,view:r,blockLen:o,isLE:s}=this;let{pos:c}=this;t[c++]=128,this.buffer.subarray(c).fill(0),this.padOffset>o-c&&(this.process(r,0),c=0);for(let h=c;h<o;h++)t[h]=0;ye(r,o-8,BigInt(this.length*8),s),this.process(r,0);const f=It(e),i=this.outputLen;if(i%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=i/4,y=this.get();if(u>y.length)throw new Error("_sha2: outputLen bigger than state");for(let h=0;h<u;h++)f.setUint32(4*h,y[h],s)}digest(){const{buffer:e,outputLen:t}=this;this.digestInto(e);const r=e.slice(0,t);return this.destroy(),r}_cloneInto(e){e||(e=new this.constructor),e.set(...this.get());const{blockLen:t,buffer:r,length:o,finished:s,destroyed:c,pos:f}=this;return e.length=o,e.pos=f,e.finished=s,e.destroyed=c,o%t&&e.buffer.set(r),e}}const Be=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Q=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),J=new Uint32Array(64);class ve extends Ee{constructor(){super(64,32,8,!1),this.A=Q[0]|0,this.B=Q[1]|0,this.C=Q[2]|0,this.D=Q[3]|0,this.E=Q[4]|0,this.F=Q[5]|0,this.G=Q[6]|0,this.H=Q[7]|0}get(){const{A:e,B:t,C:r,D:o,E:s,F:c,G:f,H:i}=this;return[e,t,r,o,s,c,f,i]}set(e,t,r,o,s,c,f,i){this.A=e|0,this.B=t|0,this.C=r|0,this.D=o|0,this.E=s|0,this.F=c|0,this.G=f|0,this.H=i|0}process(e,t){for(let h=0;h<16;h++,t+=4)J[h]=e.getUint32(t,!1);for(let h=16;h<64;h++){const l=J[h-15],m=J[h-2],N=P(l,7)^P(l,18)^l>>>3,b=P(m,17)^P(m,19)^m>>>10;J[h]=b+J[h-7]+N+J[h-16]|0}let{A:r,B:o,C:s,D:c,E:f,F:i,G:u,H:y}=this;for(let h=0;h<64;h++){const l=P(f,6)^P(f,11)^P(f,25),m=y+l+me(f,i,u)+Be[h]+J[h]|0,b=(P(r,2)^P(r,13)^P(r,22))+xe(r,o,s)|0;y=u,u=i,i=f,f=c+m|0,c=s,s=o,o=r,r=m+b|0}r=r+this.A|0,o=o+this.B|0,s=s+this.C|0,c=c+this.D|0,f=f+this.E|0,i=i+this.F|0,u=u+this.G|0,y=y+this.H|0,this.set(r,o,s,c,f,i,u,y)}roundClean(){J.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const Se=he(()=>new ve);class te extends Qt{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,ge(e);const r=Jt(t);if(this.iHash=e.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const o=this.blockLen,s=new Uint8Array(o);s.set(r.length>o?e.create().update(r).digest():r);for(let c=0;c<s.length;c++)s[c]^=54;this.iHash.update(s),this.oHash=e.create();for(let c=0;c<s.length;c++)s[c]^=106;this.oHash.update(s),s.fill(0)}update(e){return xt(this),this.iHash.update(e),this}digestInto(e){xt(this),we(e,this.outputLen),this.finished=!0,this.iHash.digestInto(e),this.oHash.update(e),this.oHash.digestInto(e),this.destroy()}digest(){const e=new Uint8Array(this.oHash.outputLen);return this.digestInto(e),e}_cloneInto(e){e||(e=Object.create(Object.getPrototypeOf(this),{}));const{oHash:t,iHash:r,finished:o,destroyed:s,blockLen:c,outputLen:f}=this;return e=e,e.finished=o,e.destroyed=s,e.blockLen=c,e.outputLen=f,e.oHash=t._cloneInto(e.oHash),e.iHash=r._cloneInto(e.iHash),e}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const ee=(n,e,t)=>new te(n,e).update(t).digest();ee.create=(n,e)=>new te(n,e);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Et=BigInt(0),Bt=BigInt(1),Ae=BigInt(2);function it(n){return n instanceof Uint8Array||ArrayBuffer.isView(n)&&n.constructor.name==="Uint8Array"}function bt(n){if(!it(n))throw new Error("Uint8Array expected")}function ut(n,e){if(typeof e!="boolean")throw new Error(n+" boolean expected, got "+e)}const Ie=Array.from({length:256},(n,e)=>e.toString(16).padStart(2,"0"));function lt(n){bt(n);let e="";for(let t=0;t<n.length;t++)e+=Ie[n[t]];return e}function at(n){const e=n.toString(16);return e.length&1?"0"+e:e}function Zt(n){if(typeof n!="string")throw new Error("hex string expected, got "+typeof n);return n===""?Et:BigInt("0x"+n)}const D={_0:48,_9:57,A:65,F:70,a:97,f:102};function Yt(n){if(n>=D._0&&n<=D._9)return n-D._0;if(n>=D.A&&n<=D.F)return n-(D.A-10);if(n>=D.a&&n<=D.f)return n-(D.a-10)}function dt(n){if(typeof n!="string")throw new Error("hex string expected, got "+typeof n);const e=n.length,t=e/2;if(e%2)throw new Error("hex string expected, got unpadded hex of length "+e);const r=new Uint8Array(t);for(let o=0,s=0;o<t;o++,s+=2){const c=Yt(n.charCodeAt(s)),f=Yt(n.charCodeAt(s+1));if(c===void 0||f===void 0){const i=n[s]+n[s+1];throw new Error('hex string expected, got non-hex character "'+i+'" at index '+s)}r[o]=c*16+f}return r}function rt(n){return Zt(lt(n))}function Rt(n){return bt(n),Zt(lt(Uint8Array.from(n).reverse()))}function ht(n,e){return dt(n.toString(16).padStart(e*2,"0"))}function Mt(n,e){return ht(n,e).reverse()}function Ne(n){return dt(at(n))}function K(n,e,t){let r;if(typeof e=="string")try{r=dt(e)}catch(s){throw new Error(n+" must be hex string or Uint8Array, cause: "+s)}else if(it(e))r=Uint8Array.from(e);else throw new Error(n+" must be hex string or Uint8Array");const o=r.length;if(typeof t=="number"&&o!==t)throw new Error(n+" of length "+t+" expected, got "+o);return r}function pt(...n){let e=0;for(let r=0;r<n.length;r++){const o=n[r];bt(o),e+=o.length}const t=new Uint8Array(e);for(let r=0,o=0;r<n.length;r++){const s=n[r];t.set(s,o),o+=s.length}return t}function qe(n,e){if(n.length!==e.length)return!1;let t=0;for(let r=0;r<n.length;r++)t|=n[r]^e[r];return t===0}function Oe(n){if(typeof n!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(n))}const Nt=n=>typeof n=="bigint"&&Et<=n;function vt(n,e,t){return Nt(n)&&Nt(e)&&Nt(t)&&e<=n&&n<t}function ot(n,e,t,r){if(!vt(e,t,r))throw new Error("expected valid "+n+": "+t+" <= n < "+r+", got "+e)}function ne(n){let e;for(e=0;n>Et;n>>=Bt,e+=1);return e}function Le(n,e){return n>>BigInt(e)&Bt}function He(n,e,t){return n|(t?Bt:Et)<<BigInt(e)}const Vt=n=>(Ae<<BigInt(n-1))-Bt,qt=n=>new Uint8Array(n),Ft=n=>Uint8Array.from(n);function re(n,e,t){if(typeof n!="number"||n<2)throw new Error("hashLen must be a number");if(typeof e!="number"||e<2)throw new Error("qByteLen must be a number");if(typeof t!="function")throw new Error("hmacFn must be a function");let r=qt(n),o=qt(n),s=0;const c=()=>{r.fill(1),o.fill(0),s=0},f=(...h)=>t(o,r,...h),i=(h=qt())=>{o=f(Ft([0]),h),r=f(),h.length!==0&&(o=f(Ft([1]),h),r=f())},u=()=>{if(s++>=1e3)throw new Error("drbg: tried 1000 values");let h=0;const l=[];for(;h<e;){r=f();const m=r.slice();l.push(m),h+=r.length}return pt(...l)};return(h,l)=>{c(),i(h);let m;for(;!(m=l(u()));)i();return c(),m}}const Ue={bigint:n=>typeof n=="bigint",function:n=>typeof n=="function",boolean:n=>typeof n=="boolean",string:n=>typeof n=="string",stringOrUint8Array:n=>typeof n=="string"||it(n),isSafeInteger:n=>Number.isSafeInteger(n),array:n=>Array.isArray(n),field:(n,e)=>e.Fp.isValid(n),hash:n=>typeof n=="function"&&Number.isSafeInteger(n.outputLen)};function yt(n,e,t={}){const r=(o,s,c)=>{const f=Ue[s];if(typeof f!="function")throw new Error("invalid validator function");const i=n[o];if(!(c&&i===void 0)&&!f(i,n))throw new Error("param "+String(o)+" is invalid. Expected "+s+", got "+i)};for(const[o,s]of Object.entries(e))r(o,s,!1);for(const[o,s]of Object.entries(t))r(o,s,!0);return n}const Te=()=>{throw new Error("not implemented")};function Tt(n){const e=new WeakMap;return(t,...r)=>{const o=e.get(t);if(o!==void 0)return o;const s=n(t,...r);return e.set(t,s),s}}const _e=Object.freeze(Object.defineProperty({__proto__:null,aInRange:ot,abool:ut,abytes:bt,bitGet:Le,bitLen:ne,bitMask:Vt,bitSet:He,bytesToHex:lt,bytesToNumberBE:rt,bytesToNumberLE:Rt,concatBytes:pt,createHmacDrbg:re,ensureBytes:K,equalBytes:qe,hexToBytes:dt,hexToNumber:Zt,inRange:vt,isBytes:it,memoized:Tt,notImplemented:Te,numberToBytesBE:ht,numberToBytesLE:Mt,numberToHexUnpadded:at,numberToVarBytesBE:Ne,utf8ToBytes:Oe,validateObject:yt},Symbol.toStringTag,{value:"Module"}));/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const z=BigInt(0),T=BigInt(1),nt=BigInt(2),ke=BigInt(3),_t=BigInt(4),Kt=BigInt(5),Pt=BigInt(8);function V(n,e){const t=n%e;return t>=z?t:e+t}function ze(n,e,t){if(e<z)throw new Error("invalid exponent, negatives unsupported");if(t<=z)throw new Error("invalid modulus");if(t===T)return z;let r=T;for(;e>z;)e&T&&(r=r*n%t),n=n*n%t,e>>=T;return r}function Y(n,e,t){let r=n;for(;e-- >z;)r*=r,r%=t;return r}function kt(n,e){if(n===z)throw new Error("invert: expected non-zero number");if(e<=z)throw new Error("invert: expected positive modulus, got "+e);let t=V(n,e),r=e,o=z,s=T;for(;t!==z;){const f=r/t,i=r%t,u=o-s*f;r=t,t=i,o=s,s=u}if(r!==T)throw new Error("invert: does not exist");return V(o,e)}function Ce(n){const e=(n-T)/nt;let t,r,o;for(t=n-T,r=0;t%nt===z;t/=nt,r++);for(o=nt;o<n&&ze(o,e,n)!==n-T;o++)if(o>1e3)throw new Error("Cannot find square root: likely non-prime P");if(r===1){const c=(n+T)/_t;return function(i,u){const y=i.pow(u,c);if(!i.eql(i.sqr(y),u))throw new Error("Cannot find square root");return y}}const s=(t+T)/nt;return function(f,i){if(f.pow(i,e)===f.neg(f.ONE))throw new Error("Cannot find square root");let u=r,y=f.pow(f.mul(f.ONE,o),t),h=f.pow(i,s),l=f.pow(i,t);for(;!f.eql(l,f.ONE);){if(f.eql(l,f.ZERO))return f.ZERO;let m=1;for(let b=f.sqr(l);m<u&&!f.eql(b,f.ONE);m++)b=f.sqr(b);const N=f.pow(y,T<<BigInt(u-m-1));y=f.sqr(N),h=f.mul(h,N),l=f.mul(l,y),u=m}return h}}function Ze(n){if(n%_t===ke){const e=(n+T)/_t;return function(r,o){const s=r.pow(o,e);if(!r.eql(r.sqr(s),o))throw new Error("Cannot find square root");return s}}if(n%Pt===Kt){const e=(n-Kt)/Pt;return function(r,o){const s=r.mul(o,nt),c=r.pow(s,e),f=r.mul(o,c),i=r.mul(r.mul(f,nt),c),u=r.mul(f,r.sub(i,r.ONE));if(!r.eql(r.sqr(u),o))throw new Error("Cannot find square root");return u}}return Ce(n)}const Re=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function Me(n){const e={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},t=Re.reduce((r,o)=>(r[o]="function",r),e);return yt(n,t)}function Ve(n,e,t){if(t<z)throw new Error("invalid exponent, negatives unsupported");if(t===z)return n.ONE;if(t===T)return e;let r=n.ONE,o=e;for(;t>z;)t&T&&(r=n.mul(r,o)),o=n.sqr(o),t>>=T;return r}function je(n,e){const t=new Array(e.length),r=e.reduce((s,c,f)=>n.is0(c)?s:(t[f]=s,n.mul(s,c)),n.ONE),o=n.inv(r);return e.reduceRight((s,c,f)=>n.is0(c)?s:(t[f]=n.mul(s,t[f]),n.mul(s,c)),o),t}function oe(n,e){const t=e!==void 0?e:n.toString(2).length,r=Math.ceil(t/8);return{nBitLength:t,nByteLength:r}}function ie(n,e,t=!1,r={}){if(n<=z)throw new Error("invalid field: expected ORDER > 0, got "+n);const{nBitLength:o,nByteLength:s}=oe(n,e);if(s>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let c;const f=Object.freeze({ORDER:n,isLE:t,BITS:o,BYTES:s,MASK:Vt(o),ZERO:z,ONE:T,create:i=>V(i,n),isValid:i=>{if(typeof i!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof i);return z<=i&&i<n},is0:i=>i===z,isOdd:i=>(i&T)===T,neg:i=>V(-i,n),eql:(i,u)=>i===u,sqr:i=>V(i*i,n),add:(i,u)=>V(i+u,n),sub:(i,u)=>V(i-u,n),mul:(i,u)=>V(i*u,n),pow:(i,u)=>Ve(f,i,u),div:(i,u)=>V(i*kt(u,n),n),sqrN:i=>i*i,addN:(i,u)=>i+u,subN:(i,u)=>i-u,mulN:(i,u)=>i*u,inv:i=>kt(i,n),sqrt:r.sqrt||(i=>(c||(c=Ze(n)),c(f,i))),invertBatch:i=>je(f,i),cmov:(i,u,y)=>y?u:i,toBytes:i=>t?Mt(i,s):ht(i,s),fromBytes:i=>{if(i.length!==s)throw new Error("Field.fromBytes: expected "+s+" bytes, got "+i.length);return t?Rt(i):rt(i)}});return Object.freeze(f)}function se(n){if(typeof n!="bigint")throw new Error("field order must be bigint");const e=n.toString(2).length;return Math.ceil(e/8)}function ce(n){const e=se(n);return e+Math.ceil(e/2)}function Ye(n,e,t=!1){const r=n.length,o=se(e),s=ce(e);if(r<16||r<s||r>1024)throw new Error("expected "+s+"-1024 bytes of input, got "+r);const c=t?Rt(n):rt(n),f=V(c,e-T)+T;return t?Mt(f,o):ht(f,o)}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Gt=BigInt(0),mt=BigInt(1);function Ot(n,e){const t=e.negate();return n?t:e}function fe(n,e){if(!Number.isSafeInteger(n)||n<=0||n>e)throw new Error("invalid window size, expected [1.."+e+"], got W="+n)}function Lt(n,e){fe(n,e);const t=Math.ceil(e/n)+1,r=2**(n-1);return{windows:t,windowSize:r}}function Fe(n,e){if(!Array.isArray(n))throw new Error("array expected");n.forEach((t,r)=>{if(!(t instanceof e))throw new Error("invalid point at index "+r)})}function Ke(n,e){if(!Array.isArray(n))throw new Error("array of scalars expected");n.forEach((t,r)=>{if(!e.isValid(t))throw new Error("invalid scalar at index "+r)})}const Ht=new WeakMap,ae=new WeakMap;function Ut(n){return ae.get(n)||1}function Pe(n,e){return{constTimeNegate:Ot,hasPrecomputes(t){return Ut(t)!==1},unsafeLadder(t,r,o=n.ZERO){let s=t;for(;r>Gt;)r&mt&&(o=o.add(s)),s=s.double(),r>>=mt;return o},precomputeWindow(t,r){const{windows:o,windowSize:s}=Lt(r,e),c=[];let f=t,i=f;for(let u=0;u<o;u++){i=f,c.push(i);for(let y=1;y<s;y++)i=i.add(f),c.push(i);f=i.double()}return c},wNAF(t,r,o){const{windows:s,windowSize:c}=Lt(t,e);let f=n.ZERO,i=n.BASE;const u=BigInt(2**t-1),y=2**t,h=BigInt(t);for(let l=0;l<s;l++){const m=l*c;let N=Number(o&u);o>>=h,N>c&&(N-=y,o+=mt);const b=m,a=m+Math.abs(N)-1,g=l%2!==0,x=N<0;N===0?i=i.add(Ot(g,r[b])):f=f.add(Ot(x,r[a]))}return{p:f,f:i}},wNAFUnsafe(t,r,o,s=n.ZERO){const{windows:c,windowSize:f}=Lt(t,e),i=BigInt(2**t-1),u=2**t,y=BigInt(t);for(let h=0;h<c;h++){const l=h*f;if(o===Gt)break;let m=Number(o&i);if(o>>=y,m>f&&(m-=u,o+=mt),m===0)continue;let N=r[l+Math.abs(m)-1];m<0&&(N=N.negate()),s=s.add(N)}return s},getPrecomputes(t,r,o){let s=Ht.get(r);return s||(s=this.precomputeWindow(r,t),t!==1&&Ht.set(r,o(s))),s},wNAFCached(t,r,o){const s=Ut(t);return this.wNAF(s,this.getPrecomputes(s,t,o),r)},wNAFCachedUnsafe(t,r,o,s){const c=Ut(t);return c===1?this.unsafeLadder(t,r,s):this.wNAFUnsafe(c,this.getPrecomputes(c,t,o),r,s)},setWindowSize(t,r){fe(r,e),ae.set(t,r),Ht.delete(t)}}}function Ge(n,e,t,r){if(Fe(t,n),Ke(r,e),t.length!==r.length)throw new Error("arrays of points and scalars must have equal length");const o=n.ZERO,s=ne(BigInt(t.length)),c=s>12?s-3:s>4?s-2:s?2:1,f=(1<<c)-1,i=new Array(f+1).fill(o),u=Math.floor((e.BITS-1)/c)*c;let y=o;for(let h=u;h>=0;h-=c){i.fill(o);for(let m=0;m<r.length;m++){const N=r[m],b=Number(N>>BigInt(h)&BigInt(f));i[b]=i[b].add(t[m])}let l=o;for(let m=i.length-1,N=o;m>0;m--)N=N.add(i[m]),l=l.add(N);if(y=y.add(l),h!==0)for(let m=0;m<c;m++)y=y.double()}return y}function ue(n){return Me(n.Fp),yt(n,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...oe(n.n,n.nBitLength),...n,p:n.Fp.ORDER})}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function Dt(n){n.lowS!==void 0&&ut("lowS",n.lowS),n.prehash!==void 0&&ut("prehash",n.prehash)}function De(n){const e=ue(n);yt(e,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:t,Fp:r,a:o}=e;if(t){if(!r.eql(o,r.ZERO))throw new Error("invalid endomorphism, can only be defined for Koblitz curves that have a=0");if(typeof t!="object"||typeof t.beta!="bigint"||typeof t.splitScalar!="function")throw new Error("invalid endomorphism, expected beta: bigint and splitScalar: function")}return Object.freeze({...e})}const{bytesToNumberBE:$e,hexToBytes:We}=_e;class Xe extends Error{constructor(e=""){super(e)}}const $={Err:Xe,_tlv:{encode:(n,e)=>{const{Err:t}=$;if(n<0||n>256)throw new t("tlv.encode: wrong tag");if(e.length&1)throw new t("tlv.encode: unpadded data");const r=e.length/2,o=at(r);if(o.length/2&128)throw new t("tlv.encode: long form length too big");const s=r>127?at(o.length/2|128):"";return at(n)+s+o+e},decode(n,e){const{Err:t}=$;let r=0;if(n<0||n>256)throw new t("tlv.encode: wrong tag");if(e.length<2||e[r++]!==n)throw new t("tlv.decode: wrong tlv");const o=e[r++],s=!!(o&128);let c=0;if(!s)c=o;else{const i=o&127;if(!i)throw new t("tlv.decode(long): indefinite length not supported");if(i>4)throw new t("tlv.decode(long): byte length is too big");const u=e.subarray(r,r+i);if(u.length!==i)throw new t("tlv.decode: length bytes not complete");if(u[0]===0)throw new t("tlv.decode(long): zero leftmost byte");for(const y of u)c=c<<8|y;if(r+=i,c<128)throw new t("tlv.decode(long): not minimal encoding")}const f=e.subarray(r,r+c);if(f.length!==c)throw new t("tlv.decode: wrong value length");return{v:f,l:e.subarray(r+c)}}},_int:{encode(n){const{Err:e}=$;if(n<W)throw new e("integer: negative integers are not allowed");let t=at(n);if(Number.parseInt(t[0],16)&8&&(t="00"+t),t.length&1)throw new e("unexpected DER parsing assertion: unpadded hex");return t},decode(n){const{Err:e}=$;if(n[0]&128)throw new e("invalid signature integer: negative");if(n[0]===0&&!(n[1]&128))throw new e("invalid signature integer: unnecessary leading zero");return $e(n)}},toSig(n){const{Err:e,_int:t,_tlv:r}=$,o=typeof n=="string"?We(n):n;bt(o);const{v:s,l:c}=r.decode(48,o);if(c.length)throw new e("invalid signature: left bytes after parsing");const{v:f,l:i}=r.decode(2,s),{v:u,l:y}=r.decode(2,i);if(y.length)throw new e("invalid signature: left bytes after parsing");return{r:t.decode(f),s:t.decode(u)}},hexFromSig(n){const{_tlv:e,_int:t}=$,r=e.encode(2,t.encode(n.r)),o=e.encode(2,t.encode(n.s)),s=r+o;return e.encode(48,s)}},W=BigInt(0),k=BigInt(1);BigInt(2);const $t=BigInt(3);BigInt(4);function Qe(n){const e=De(n),{Fp:t}=e,r=ie(e.n,e.nBitLength),o=e.toBytes||((b,a,g)=>{const x=a.toAffine();return pt(Uint8Array.from([4]),t.toBytes(x.x),t.toBytes(x.y))}),s=e.fromBytes||(b=>{const a=b.subarray(1),g=t.fromBytes(a.subarray(0,t.BYTES)),x=t.fromBytes(a.subarray(t.BYTES,2*t.BYTES));return{x:g,y:x}});function c(b){const{a,b:g}=e,x=t.sqr(b),E=t.mul(x,b);return t.add(t.add(E,t.mul(b,a)),g)}if(!t.eql(t.sqr(e.Gy),c(e.Gx)))throw new Error("bad generator point: equation left != right");function f(b){return vt(b,k,e.n)}function i(b){const{allowedPrivateKeyLengths:a,nByteLength:g,wrapPrivateKey:x,n:E}=e;if(a&&typeof b!="bigint"){if(it(b)&&(b=lt(b)),typeof b!="string"||!a.includes(b.length))throw new Error("invalid private key");b=b.padStart(g*2,"0")}let q;try{q=typeof b=="bigint"?b:rt(K("private key",b,g))}catch{throw new Error("invalid private key, expected hex or "+g+" bytes, got "+typeof b)}return x&&(q=V(q,E)),ot("private key",q,k,E),q}function u(b){if(!(b instanceof l))throw new Error("ProjectivePoint expected")}const y=Tt((b,a)=>{const{px:g,py:x,pz:E}=b;if(t.eql(E,t.ONE))return{x:g,y:x};const q=b.is0();a==null&&(a=q?t.ONE:t.inv(E));const L=t.mul(g,a),I=t.mul(x,a),B=t.mul(E,a);if(q)return{x:t.ZERO,y:t.ZERO};if(!t.eql(B,t.ONE))throw new Error("invZ was invalid");return{x:L,y:I}}),h=Tt(b=>{if(b.is0()){if(e.allowInfinityPoint&&!t.is0(b.py))return;throw new Error("bad point: ZERO")}const{x:a,y:g}=b.toAffine();if(!t.isValid(a)||!t.isValid(g))throw new Error("bad point: x or y not FE");const x=t.sqr(g),E=c(a);if(!t.eql(x,E))throw new Error("bad point: equation left != right");if(!b.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class l{constructor(a,g,x){if(this.px=a,this.py=g,this.pz=x,a==null||!t.isValid(a))throw new Error("x required");if(g==null||!t.isValid(g))throw new Error("y required");if(x==null||!t.isValid(x))throw new Error("z required");Object.freeze(this)}static fromAffine(a){const{x:g,y:x}=a||{};if(!a||!t.isValid(g)||!t.isValid(x))throw new Error("invalid affine point");if(a instanceof l)throw new Error("projective point not allowed");const E=q=>t.eql(q,t.ZERO);return E(g)&&E(x)?l.ZERO:new l(g,x,t.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(a){const g=t.invertBatch(a.map(x=>x.pz));return a.map((x,E)=>x.toAffine(g[E])).map(l.fromAffine)}static fromHex(a){const g=l.fromAffine(s(K("pointHex",a)));return g.assertValidity(),g}static fromPrivateKey(a){return l.BASE.multiply(i(a))}static msm(a,g){return Ge(l,r,a,g)}_setWindowSize(a){N.setWindowSize(this,a)}assertValidity(){h(this)}hasEvenY(){const{y:a}=this.toAffine();if(t.isOdd)return!t.isOdd(a);throw new Error("Field doesn't support isOdd")}equals(a){u(a);const{px:g,py:x,pz:E}=this,{px:q,py:L,pz:I}=a,B=t.eql(t.mul(g,I),t.mul(q,E)),A=t.eql(t.mul(x,I),t.mul(L,E));return B&&A}negate(){return new l(this.px,t.neg(this.py),this.pz)}double(){const{a,b:g}=e,x=t.mul(g,$t),{px:E,py:q,pz:L}=this;let I=t.ZERO,B=t.ZERO,A=t.ZERO,v=t.mul(E,E),C=t.mul(q,q),U=t.mul(L,L),H=t.mul(E,q);return H=t.add(H,H),A=t.mul(E,L),A=t.add(A,A),I=t.mul(a,A),B=t.mul(x,U),B=t.add(I,B),I=t.sub(C,B),B=t.add(C,B),B=t.mul(I,B),I=t.mul(H,I),A=t.mul(x,A),U=t.mul(a,U),H=t.sub(v,U),H=t.mul(a,H),H=t.add(H,A),A=t.add(v,v),v=t.add(A,v),v=t.add(v,U),v=t.mul(v,H),B=t.add(B,v),U=t.mul(q,L),U=t.add(U,U),v=t.mul(U,H),I=t.sub(I,v),A=t.mul(U,C),A=t.add(A,A),A=t.add(A,A),new l(I,B,A)}add(a){u(a);const{px:g,py:x,pz:E}=this,{px:q,py:L,pz:I}=a;let B=t.ZERO,A=t.ZERO,v=t.ZERO;const C=e.a,U=t.mul(e.b,$t);let H=t.mul(g,q),j=t.mul(x,L),d=t.mul(E,I),w=t.add(g,x),p=t.add(q,L);w=t.mul(w,p),p=t.add(H,j),w=t.sub(w,p),p=t.add(g,E);let S=t.add(q,I);return p=t.mul(p,S),S=t.add(H,d),p=t.sub(p,S),S=t.add(x,E),B=t.add(L,I),S=t.mul(S,B),B=t.add(j,d),S=t.sub(S,B),v=t.mul(C,p),B=t.mul(U,d),v=t.add(B,v),B=t.sub(j,v),v=t.add(j,v),A=t.mul(B,v),j=t.add(H,H),j=t.add(j,H),d=t.mul(C,d),p=t.mul(U,p),j=t.add(j,d),d=t.sub(H,d),d=t.mul(C,d),p=t.add(p,d),H=t.mul(j,p),A=t.add(A,H),H=t.mul(S,p),B=t.mul(w,B),B=t.sub(B,H),H=t.mul(w,j),v=t.mul(S,v),v=t.add(v,H),new l(B,A,v)}subtract(a){return this.add(a.negate())}is0(){return this.equals(l.ZERO)}wNAF(a){return N.wNAFCached(this,a,l.normalizeZ)}multiplyUnsafe(a){const{endo:g,n:x}=e;ot("scalar",a,W,x);const E=l.ZERO;if(a===W)return E;if(this.is0()||a===k)return this;if(!g||N.hasPrecomputes(this))return N.wNAFCachedUnsafe(this,a,l.normalizeZ);let{k1neg:q,k1:L,k2neg:I,k2:B}=g.splitScalar(a),A=E,v=E,C=this;for(;L>W||B>W;)L&k&&(A=A.add(C)),B&k&&(v=v.add(C)),C=C.double(),L>>=k,B>>=k;return q&&(A=A.negate()),I&&(v=v.negate()),v=new l(t.mul(v.px,g.beta),v.py,v.pz),A.add(v)}multiply(a){const{endo:g,n:x}=e;ot("scalar",a,k,x);let E,q;if(g){const{k1neg:L,k1:I,k2neg:B,k2:A}=g.splitScalar(a);let{p:v,f:C}=this.wNAF(I),{p:U,f:H}=this.wNAF(A);v=N.constTimeNegate(L,v),U=N.constTimeNegate(B,U),U=new l(t.mul(U.px,g.beta),U.py,U.pz),E=v.add(U),q=C.add(H)}else{const{p:L,f:I}=this.wNAF(a);E=L,q=I}return l.normalizeZ([E,q])[0]}multiplyAndAddUnsafe(a,g,x){const E=l.BASE,q=(I,B)=>B===W||B===k||!I.equals(E)?I.multiplyUnsafe(B):I.multiply(B),L=q(this,g).add(q(a,x));return L.is0()?void 0:L}toAffine(a){return y(this,a)}isTorsionFree(){const{h:a,isTorsionFree:g}=e;if(a===k)return!0;if(g)return g(l,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h:a,clearCofactor:g}=e;return a===k?this:g?g(l,this):this.multiplyUnsafe(e.h)}toRawBytes(a=!0){return ut("isCompressed",a),this.assertValidity(),o(l,this,a)}toHex(a=!0){return ut("isCompressed",a),lt(this.toRawBytes(a))}}l.BASE=new l(e.Gx,e.Gy,t.ONE),l.ZERO=new l(t.ZERO,t.ONE,t.ZERO);const m=e.nBitLength,N=Pe(l,e.endo?Math.ceil(m/2):m);return{CURVE:e,ProjectivePoint:l,normPrivateKeyToScalar:i,weierstrassEquation:c,isWithinCurveOrder:f}}function Je(n){const e=ue(n);return yt(e,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...e})}function tn(n){const e=Je(n),{Fp:t,n:r}=e,o=t.BYTES+1,s=2*t.BYTES+1;function c(d){return V(d,r)}function f(d){return kt(d,r)}const{ProjectivePoint:i,normPrivateKeyToScalar:u,weierstrassEquation:y,isWithinCurveOrder:h}=Qe({...e,toBytes(d,w,p){const S=w.toAffine(),O=t.toBytes(S.x),_=pt;return ut("isCompressed",p),p?_(Uint8Array.from([w.hasEvenY()?2:3]),O):_(Uint8Array.from([4]),O,t.toBytes(S.y))},fromBytes(d){const w=d.length,p=d[0],S=d.subarray(1);if(w===o&&(p===2||p===3)){const O=rt(S);if(!vt(O,k,t.ORDER))throw new Error("Point is not on curve");const _=y(O);let R;try{R=t.sqrt(_)}catch(F){const M=F instanceof Error?": "+F.message:"";throw new Error("Point is not on curve"+M)}const Z=(R&k)===k;return(p&1)===1!==Z&&(R=t.neg(R)),{x:O,y:R}}else if(w===s&&p===4){const O=t.fromBytes(S.subarray(0,t.BYTES)),_=t.fromBytes(S.subarray(t.BYTES,2*t.BYTES));return{x:O,y:_}}else{const O=o,_=s;throw new Error("invalid Point, expected length of "+O+", or uncompressed "+_+", got "+w)}}}),l=d=>lt(ht(d,e.nByteLength));function m(d){const w=r>>k;return d>w}function N(d){return m(d)?c(-d):d}const b=(d,w,p)=>rt(d.slice(w,p));class a{constructor(w,p,S){this.r=w,this.s=p,this.recovery=S,this.assertValidity()}static fromCompact(w){const p=e.nByteLength;return w=K("compactSignature",w,p*2),new a(b(w,0,p),b(w,p,2*p))}static fromDER(w){const{r:p,s:S}=$.toSig(K("DER",w));return new a(p,S)}assertValidity(){ot("r",this.r,k,r),ot("s",this.s,k,r)}addRecoveryBit(w){return new a(this.r,this.s,w)}recoverPublicKey(w){const{r:p,s:S,recovery:O}=this,_=I(K("msgHash",w));if(O==null||![0,1,2,3].includes(O))throw new Error("recovery id invalid");const R=O===2||O===3?p+e.n:p;if(R>=t.ORDER)throw new Error("recovery id 2 or 3 invalid");const Z=(O&1)===0?"02":"03",G=i.fromHex(Z+l(R)),F=f(R),M=c(-_*F),st=c(S*F),X=i.BASE.multiplyAndAddUnsafe(G,M,st);if(!X)throw new Error("point at infinify");return X.assertValidity(),X}hasHighS(){return m(this.s)}normalizeS(){return this.hasHighS()?new a(this.r,c(-this.s),this.recovery):this}toDERRawBytes(){return dt(this.toDERHex())}toDERHex(){return $.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return dt(this.toCompactHex())}toCompactHex(){return l(this.r)+l(this.s)}}const g={isValidPrivateKey(d){try{return u(d),!0}catch{return!1}},normPrivateKeyToScalar:u,randomPrivateKey:()=>{const d=ce(e.n);return Ye(e.randomBytes(d),e.n)},precompute(d=8,w=i.BASE){return w._setWindowSize(d),w.multiply(BigInt(3)),w}};function x(d,w=!0){return i.fromPrivateKey(d).toRawBytes(w)}function E(d){const w=it(d),p=typeof d=="string",S=(w||p)&&d.length;return w?S===o||S===s:p?S===2*o||S===2*s:d instanceof i}function q(d,w,p=!0){if(E(d))throw new Error("first arg must be private key");if(!E(w))throw new Error("second arg must be public key");return i.fromHex(w).multiply(u(d)).toRawBytes(p)}const L=e.bits2int||function(d){if(d.length>8192)throw new Error("input is too large");const w=rt(d),p=d.length*8-e.nBitLength;return p>0?w>>BigInt(p):w},I=e.bits2int_modN||function(d){return c(L(d))},B=Vt(e.nBitLength);function A(d){return ot("num < 2^"+e.nBitLength,d,W,B),ht(d,e.nByteLength)}function v(d,w,p=C){if(["recovered","canonical"].some(tt=>tt in p))throw new Error("sign() legacy options not supported");const{hash:S,randomBytes:O}=e;let{lowS:_,prehash:R,extraEntropy:Z}=p;_==null&&(_=!0),d=K("msgHash",d),Dt(p),R&&(d=K("prehashed msgHash",S(d)));const G=I(d),F=u(w),M=[A(F),A(G)];if(Z!=null&&Z!==!1){const tt=Z===!0?O(t.BYTES):Z;M.push(K("extraEntropy",tt))}const st=pt(...M),X=G;function St(tt){const ct=L(tt);if(!h(ct))return;const At=f(ct),gt=i.BASE.multiply(ct).toAffine(),et=c(gt.x);if(et===W)return;const wt=c(At*c(X+et*F));if(wt===W)return;let ft=(gt.x===et?0:2)|Number(gt.y&k),jt=wt;return _&&m(wt)&&(jt=N(wt),ft^=1),new a(et,jt,ft)}return{seed:st,k2sig:St}}const C={lowS:e.lowS,prehash:!1},U={lowS:e.lowS,prehash:!1};function H(d,w,p=C){const{seed:S,k2sig:O}=v(d,w,p),_=e;return re(_.hash.outputLen,_.nByteLength,_.hmac)(S,O)}i.BASE._setWindowSize(8);function j(d,w,p,S=U){const O=d;w=K("msgHash",w),p=K("publicKey",p);const{lowS:_,prehash:R,format:Z}=S;if(Dt(S),"strict"in S)throw new Error("options.strict was renamed to lowS");if(Z!==void 0&&Z!=="compact"&&Z!=="der")throw new Error("format must be compact or der");const G=typeof O=="string"||it(O),F=!G&&!Z&&typeof O=="object"&&O!==null&&typeof O.r=="bigint"&&typeof O.s=="bigint";if(!G&&!F)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let M,st;try{if(F&&(M=new a(O.r,O.s)),G){try{Z!=="compact"&&(M=a.fromDER(O))}catch(ft){if(!(ft instanceof $.Err))throw ft}!M&&Z!=="der"&&(M=a.fromCompact(O))}st=i.fromHex(p)}catch{return!1}if(!M||_&&M.hasHighS())return!1;R&&(w=e.hash(w));const{r:X,s:St}=M,tt=I(w),ct=f(St),At=c(tt*ct),gt=c(X*ct),et=i.BASE.multiplyAndAddUnsafe(st,At,gt)?.toAffine();return et?c(et.x)===X:!1}return{CURVE:e,getPublicKey:x,getSharedSecret:q,sign:H,verify:j,ProjectivePoint:i,Signature:a,utils:g}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function en(n){return{hash:n,hmac:(e,...t)=>ee(n,e,be(...t)),randomBytes:pe}}function nn(n,e){const t=r=>tn({...n,...en(r)});return{...t(e),create:t}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const le=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),Wt=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),rn=BigInt(1),zt=BigInt(2),Xt=(n,e)=>(n+e/zt)/e;function on(n){const e=le,t=BigInt(3),r=BigInt(6),o=BigInt(11),s=BigInt(22),c=BigInt(23),f=BigInt(44),i=BigInt(88),u=n*n*n%e,y=u*u*n%e,h=Y(y,t,e)*y%e,l=Y(h,t,e)*y%e,m=Y(l,zt,e)*u%e,N=Y(m,o,e)*m%e,b=Y(N,s,e)*N%e,a=Y(b,f,e)*b%e,g=Y(a,i,e)*a%e,x=Y(g,f,e)*b%e,E=Y(x,t,e)*y%e,q=Y(E,c,e)*N%e,L=Y(q,r,e)*u%e,I=Y(L,zt,e);if(!Ct.eql(Ct.sqr(I),n))throw new Error("Cannot find square root");return I}const Ct=ie(le,void 0,void 0,{sqrt:on}),sn=nn({a:BigInt(0),b:BigInt(7),Fp:Ct,n:Wt,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:n=>{const e=Wt,t=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),r=-rn*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),o=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),s=t,c=BigInt("0x100000000000000000000000000000000"),f=Xt(s*n,e),i=Xt(-r*n,e);let u=V(n-f*t-i*o,e),y=V(-f*r-i*s,e);const h=u>c,l=y>c;if(h&&(u=e-u),l&&(y=e-y),u>c||y>c)throw new Error("splitScalar: Endomorphism failed, k="+n);return{k1neg:h,k1:u,k2neg:l,k2:y}}}},Se);BigInt(0);sn.ProjectivePoint;export{sn as secp256k1};