@abtnode/blocklet-services 1.17.7-beta-20251225-073259-cb6ecf68 → 1.17.7-beta-20251227-001958-ea2ba3f5

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 (215) hide show
  1. package/api/index.js +11 -4
  2. package/api/libs/auth/adapters/apple.js +1 -1
  3. package/api/libs/auth/adapters/auth0.js +1 -1
  4. package/api/libs/auth/adapters/github.js +1 -1
  5. package/api/libs/auth/adapters/google.js +1 -1
  6. package/api/routes/oauth/client.js +7 -5
  7. package/dist/assets/{AdapterDayjs-BUbxoXbD.js → AdapterDayjs-D3q7r7VE.js} +1 -1
  8. package/dist/assets/{Google-Cwpw9PRe.js → Google-DPANLEPw.js} +1 -1
  9. package/dist/assets/{access-control-DwlD3_cw.js → access-control-DcZTha6L.js} +1 -1
  10. package/dist/assets/{add-component-core-BITgGwN0.js → add-component-core-DB6FFHib.js} +31 -31
  11. package/dist/assets/add-resource-C4N8BQ-X.js +1 -0
  12. package/dist/assets/{addon-C2qdiHVb.js → addon-eWPw19hG.js} +1 -1
  13. package/dist/assets/{advanced-BosetBVE.js → advanced-CLImONQQ.js} +1 -1
  14. package/dist/assets/{aigne-DbMeOdg9.js → aigne-CgZvweo2.js} +1 -1
  15. package/dist/assets/api-FQQlzPOP.js +1 -0
  16. package/dist/assets/{appearance-DhUAX-xn.js → appearance-CINIZkeA.js} +1 -1
  17. package/dist/assets/ar-B4BSOV5G.js +7 -0
  18. package/dist/assets/{audit-logs-BHPPGieH.js → audit-logs-C2v20KVT.js} +3 -3
  19. package/dist/assets/{authorize-Dfo70g1t.js → authorize-CXXh0DJa.js} +1 -1
  20. package/dist/assets/{base-chart-Cs8rd9f2.js → base-chart-ChBZtUEG.js} +1 -1
  21. package/dist/assets/{base32-CXgP3JJ5.js → base32-D1hrOfad.js} +1 -1
  22. package/dist/assets/{bind-account-Drs3IDFN.js → bind-account-wbTCO99T.js} +1 -1
  23. package/dist/assets/{branding-ByK6n-fM.js → branding-BRnchueB.js} +1 -1
  24. package/dist/assets/branding-CxsPzoRR.js +1 -0
  25. package/dist/assets/{branding-BhvacExo.js → branding-DwUe7Tp9.js} +1 -1
  26. package/dist/assets/{bundle-avatar-DVOaAXid.js → bundle-avatar-BcFO2tQG.js} +1 -1
  27. package/dist/assets/{button-D6RwAFss.js → button-DOFHdsTg.js} +1 -1
  28. package/dist/assets/{click-to-copy-B2HIKJMV.js → click-to-copy-Y_g1bzK1.js} +1 -1
  29. package/dist/assets/cloneDeep-C2rlAYcK.js +1 -0
  30. package/dist/assets/{complete-Djtuko3J.js → complete-BcxUAd9u.js} +2 -2
  31. package/dist/assets/{component-UsgyDUkb.js → component-Da5wpxLf.js} +2 -2
  32. package/dist/assets/{config-Co1ZhGgP.js → config-6Zu9T00w.js} +1 -1
  33. package/dist/assets/{config-DuS3gx_m.js → config-ZxMxtwH7.js} +2 -2
  34. package/dist/assets/{config-navigation-DjF2jJY9.js → config-navigation-DguNbGxu.js} +7 -7
  35. package/dist/assets/{config-space-zEV0JkDF.js → config-space-LrsWMRQl.js} +1 -1
  36. package/dist/assets/{config-CUYR0yDP.js → config-uq3j8VEP.js} +2 -2
  37. package/dist/assets/{confirm-DTx9f3Ke.js → confirm-CkoSEAQA.js} +1 -1
  38. package/dist/assets/{connect-nknm0LHt.js → connect-BdHrAN1y.js} +1 -1
  39. package/dist/assets/connect-Ycl_SRGH.js +5 -0
  40. package/dist/assets/{connect-to-eBtGI4_9.js → connect-to-Bimfzs2e.js} +1 -1
  41. package/dist/assets/{create-passport-svg-BQhmIwWD.js → create-passport-svg-DXpLsb6S.js} +1 -1
  42. package/dist/assets/{createClass-dudiLlP7.js → createClass-gaMAMqR5.js} +1 -1
  43. package/dist/assets/dashboard-ibhYAC79.js +103 -0
  44. package/dist/assets/de-CCwoF0w2.js +7 -0
  45. package/dist/assets/{delete-confirm-HiRqbh9-.js → delete-confirm-CRZxojEX.js} +1 -1
  46. package/dist/assets/{did-address-DqhneWXa.js → did-address-CQO2MAbB.js} +1 -1
  47. package/dist/assets/{domain-Xaa2OTQZ.js → domain-BLbfzvQo.js} +1 -1
  48. package/dist/assets/{domain-action-card-BzceZepB.js → domain-action-card-CI8HeDAo.js} +2 -2
  49. package/dist/assets/domains-Cys-hPxm.js +1 -0
  50. package/dist/assets/edit-rounded-CnMn6J-D.js +1 -0
  51. package/dist/assets/{email-CaObtYNf.js → email-DR9ulnxn.js} +2 -2
  52. package/dist/assets/engine-D3NlocNz.js +1 -0
  53. package/dist/assets/es-BqFCfGn2.js +9 -0
  54. package/dist/assets/{exchange-passport-BA6t_lld.js → exchange-passport-f77I2WSo.js} +1 -1
  55. package/dist/assets/{form-DNo4HCRt.js → form-BaeH4FDj.js} +1 -1
  56. package/dist/assets/{form-text-input-BjQKx89L.js → form-text-input-DlypNadC.js} +1 -1
  57. package/dist/assets/fr-CksqMtzK.js +7 -0
  58. package/dist/assets/{fuel-Cr5W3cGy.js → fuel-oYvuY39p.js} +1 -1
  59. package/dist/assets/{gen-access-key-Bw62ox39.js → gen-access-key-CAPft5rM.js} +1 -1
  60. package/dist/assets/{gen-simple-access-key-QTWh5kxW.js → gen-simple-access-key-BLp5Xl3s.js} +1 -1
  61. package/dist/assets/get-safe-url-D4mirsKD.js +1 -0
  62. package/dist/assets/hi-Bztwk-sg.js +5 -0
  63. package/dist/assets/{hi-DNSN9klG.js → hi-Cra5bbq9.js} +1 -1
  64. package/dist/assets/{home-iaPbLBtv.js → home-Bk6IzsSO.js} +1 -1
  65. package/dist/assets/id-C5p-l7lp.js +7 -0
  66. package/dist/assets/{iframe-C8myLb4U.js → iframe-Bje7e1bW.js} +1 -1
  67. package/dist/assets/{index-CaQnmN3Y.js → index-3CTfzyey.js} +1 -1
  68. package/dist/assets/{index-BleAAm7x.js → index-B6l2pkPi.js} +1 -1
  69. package/dist/assets/index-BZxsCCR_.js +1039 -0
  70. package/dist/assets/{index-YLno1Cst.js → index-BbN6pA05.js} +3 -3
  71. package/dist/assets/index-Bpw2kPB0.js +1 -0
  72. package/dist/assets/{index-CHuKoofS.js → index-BqdvWprH.js} +1 -1
  73. package/dist/assets/{index-1azOxnKy.js → index-C3WB0h56.js} +1 -1
  74. package/dist/assets/{index-B8sa2W5r.js → index-CFLdsuFL.js} +6 -6
  75. package/dist/assets/{index-CnWFrsC2.js → index-CMxIK3x4.js} +4 -4
  76. package/dist/assets/index-CNEbBLep.js +281 -0
  77. package/dist/assets/{index-DURonUPJ.js → index-CNIPEY43.js} +1 -1
  78. package/dist/assets/index-CQ7mQ4Da.js +81 -0
  79. package/dist/assets/{index-DeG3Ee92.js → index-CS6lhRSS.js} +1 -1
  80. package/dist/assets/{index-DHvO7Oyu.js → index-CZLUW18F.js} +1 -1
  81. package/dist/assets/{index-BzU09Azd.js → index-CnCY99ka.js} +2 -2
  82. package/dist/assets/{index-Dnd0o2ng.js → index-CrBdQJWr.js} +3 -3
  83. package/dist/assets/{index-B7jV3her.js → index-CrRA4U7x.js} +1 -1
  84. package/dist/assets/{index-9h1okNKA.js → index-Cx3b_F1g.js} +6 -6
  85. package/dist/assets/{index-B5vc0eG5.js → index-D1SIrheh.js} +1 -1
  86. package/dist/assets/{index-seQ_ufVM.js → index-D5sBpp1t.js} +1 -1
  87. package/dist/assets/index-DDp16vgt.js +1 -0
  88. package/dist/assets/{index-SACCniHf.js → index-DO00WL8R.js} +4 -4
  89. package/dist/assets/{index-C2HNVEZ0.js → index-DSiSlyHN.js} +1 -1
  90. package/dist/assets/{index-SCaAOhtj.js → index-D_Nnn_Mn.js} +2 -2
  91. package/dist/assets/{index-D3g5TOJl.js → index-DpNE-CDv.js} +2 -2
  92. package/dist/assets/{index-C4nyPKIr.js → index-DufnOkPH.js} +1 -1
  93. package/dist/assets/{index-Bxd7kK_i.js → index-VFqVu6RK.js} +1 -1
  94. package/dist/assets/{index-Dk6ZABgc.js → index-faKDHmeo.js} +1 -1
  95. package/dist/assets/{index-CtJhxyJT.js → index-fpjO7dzv.js} +18 -18
  96. package/dist/assets/{index-BP_Fl0Mu.js → index-icvBZv9S.js} +1 -1
  97. package/dist/assets/{index-CzvNhDIJ.js → index-n0T59Exz.js} +2 -2
  98. package/dist/assets/{invitation-DwMnPB2W.js → invitation-1uvZN7Wz.js} +2 -2
  99. package/dist/assets/{invitations-mhxsPoWR.js → invitations-CVBjh7Sp.js} +1 -1
  100. package/dist/assets/{invite-DpZe41tL.js → invite-72ju6Nfe.js} +1 -1
  101. package/dist/assets/{isURL-CASPeQFe.js → isURL-4Bkt0jKV.js} +1 -1
  102. package/dist/assets/{issue-passport-ClIYXZHr.js → issue-passport-BXUkhSQf.js} +1 -1
  103. package/dist/assets/{item-B3LlwO_A.js → item-Sc9nk8VE.js} +1 -1
  104. package/dist/assets/ja-2cGMwCig.js +9 -0
  105. package/dist/assets/ko-DDVloIXx.js +9 -0
  106. package/dist/assets/{landing-page-Cv6belCa.js → landing-page-CNLD6T-R.js} +1 -1
  107. package/dist/assets/{layout-DkW-u1GX.js → layout-Rdrg1NRp.js} +1 -1
  108. package/dist/assets/{list-Dqz9X41o.js → list-Duwgi0aT.js} +1 -1
  109. package/dist/assets/{list-CBP3Lj7-.js → list-kBEbDlAy.js} +1 -1
  110. package/dist/assets/localization-5dQbij9B.js +1 -0
  111. package/dist/assets/{log-Ch1_gOOt.js → log-D0VXoWik.js} +1 -1
  112. package/dist/assets/logger-DwfAFTvh.js +1 -0
  113. package/dist/assets/{login-_zzURN5A.js → login-Bk3NsX2t.js} +1 -1
  114. package/dist/assets/{login-oauth-callback-BiIj9E0o.js → login-oauth-callback-B5t0W6BK.js} +1 -1
  115. package/dist/assets/{logo-uploader-BmnoHisE.js → logo-uploader-BksS6OGe.js} +1 -1
  116. package/dist/assets/{lost-passport-DYnJRD_t.js → lost-passport-N6CO05pB.js} +2 -2
  117. package/dist/assets/{cloneDeep-BbaR0xRl.js → omit-spWLSLbo.js} +1 -1
  118. package/dist/assets/{open-window-Btzsgc7g.js → open-window-BIeXBkgL.js} +1 -1
  119. package/dist/assets/{over-due-invoice-payment-BFDFMUwK.js → over-due-invoice-payment-UdTfL4Kl.js} +1 -1
  120. package/dist/assets/overview-C8MrvmEl.js +116 -0
  121. package/dist/assets/passport-VW2_vBcn.js +1 -0
  122. package/dist/assets/{passport-item-Dx140DTL.js → passport-item-DT01s3TO.js} +1 -1
  123. package/dist/assets/{permission-HtrJm1h2.js → permission-B2PLdaCS.js} +1 -1
  124. package/dist/assets/{preferences-Dri2a4fE.js → preferences-Bc7rQImd.js} +1 -1
  125. package/dist/assets/profile-embed-BcR4EOH0.js +1 -0
  126. package/dist/assets/{pt-BPAfyek8.js → pt-BB0AKqMq.js} +1 -1
  127. package/dist/assets/pt-FIIPCfqU.js +5 -0
  128. package/dist/assets/{publish-resource-CruXcF2L.js → publish-resource-0N_Yl_Te.js} +1 -1
  129. package/dist/assets/{react-beautiful-dnd.esm-89LKdt03.js → react-beautiful-dnd.esm-BS_uB_lS.js} +1 -1
  130. package/dist/assets/ru-BjRgz8OF.js +5 -0
  131. package/dist/assets/{ru-CVlekA3F.js → ru-CnPeybtU.js} +1 -1
  132. package/dist/assets/{runtime-Ck_rDqm2.js → runtime-CC4RYhOB.js} +1 -1
  133. package/dist/assets/{sanitize-DyRfEGVu.js → sanitize-yVk8VEIO.js} +1 -1
  134. package/dist/assets/sdk-ChA0AoUQ.js +1 -0
  135. package/dist/assets/security-BGS9ZBga.js +22 -0
  136. package/dist/assets/{session-Cm8j8XeZ.js → session-DwQKgNVz.js} +1 -1
  137. package/dist/assets/{setup-COruOAew.js → setup-CGmQpOuI.js} +1 -1
  138. package/dist/assets/simple-select-BCM4gn4x.js +1 -0
  139. package/dist/assets/{spaces-BuZf3GoQ.js → spaces-DBCz6tUn.js} +1 -1
  140. package/dist/assets/{start-D_yHRXzR.js → start-i9gTQsll.js} +1 -1
  141. package/dist/assets/{starting-progress-DahUM5Xo.js → starting-progress-DyH57pR8.js} +1 -1
  142. package/dist/assets/{status-DVjLoqLm.js → status-CXqGL2Pf.js} +1 -1
  143. package/dist/assets/{step-actions-DkehnzsP.js → step-actions-Bejkv1Kq.js} +1 -1
  144. package/dist/assets/{studio-D4hiQNwZ.js → studio-D4gvK_Pm.js} +1 -1
  145. package/dist/assets/{switch-CO2el_yA.js → switch-C6tfghh9.js} +1 -1
  146. package/dist/assets/{switch-control-Bw0oiZZh.js → switch-control-BHBY0I2i.js} +1 -1
  147. package/dist/assets/{table-tips-C-6Sm2ed.js → table-tips-NRTE9Y9o.js} +1 -1
  148. package/dist/assets/{team-DNuHMrzV.js → team-DJUogroZ.js} +1 -1
  149. package/dist/assets/th-DKiwQ6t6.js +5 -0
  150. package/dist/assets/{traffic-B0WH67Yr.js → traffic-BkhPaqCl.js} +1 -1
  151. package/dist/assets/{transfer-BpjPR3S_.js → transfer-BphBkT_z.js} +1 -1
  152. package/dist/assets/{unsubscribe-CzgQXfYP.js → unsubscribe-BZMHEcjj.js} +1 -1
  153. package/dist/assets/{use-app-logo-CZWb8lrs.js → use-app-logo-DbYok-1h.js} +1 -1
  154. package/dist/assets/{use-window-close-DDL8fcOm.js → use-window-close-GjpWo-Lk.js} +1 -1
  155. package/dist/assets/{useAsync-VEqKX7rF.js → useAsync-DVl73fmG.js} +1 -1
  156. package/dist/assets/{useAsync-xXSiXzwr.js → useAsync-Dotoxibi.js} +1 -1
  157. package/dist/assets/{useAsyncRetry--1T7wYe2.js → useAsyncRetry-r8dEPb-x.js} +1 -1
  158. package/dist/assets/{useLocalStorage-BV1BIwfo.js → useLocalStorage-DzhcQ3lj.js} +1 -1
  159. package/dist/assets/{user-center-DndqALOV.js → user-center-DRowS1VB.js} +1 -1
  160. package/dist/assets/{user-follower-Bzb2ZR_9.js → user-follower-DNh4vPB0.js} +1 -1
  161. package/dist/assets/{util-DIVJQVg1.js → util-BYnhSg2W.js} +1 -1
  162. package/dist/assets/{util-CVjlaHo_.js → util-DWbXfz_X.js} +1 -1
  163. package/dist/assets/{vendor-arcblock-CPCSE54a.js → vendor-arcblock-CIBaEWEy.js} +1 -1
  164. package/dist/assets/{vendor-hooks-cYMUGE4V.js → vendor-hooks-qxhUUbW5.js} +1 -1
  165. package/dist/assets/vendor-utils-CxWN1dT3.js +213 -0
  166. package/dist/assets/{vendor-ux-DfSgTRg5.js → vendor-ux-DTEmWsko.js} +19 -19
  167. package/dist/assets/vi-C4aNShnq.js +5 -0
  168. package/dist/assets/{wait-connect-Be1Dmt0P.js → wait-connect-CBmpE7OF.js} +1 -1
  169. package/dist/assets/{wizard-components-D3PqSMGt.js → wizard-components-Brz3KBMW.js} +2 -2
  170. package/dist/assets/{wizard-BhUdbQos.js → wizard-yWYIVNGQ.js} +1 -1
  171. package/dist/assets/wrap-locale-BUa8dcqX.js +1 -0
  172. package/dist/assets/zh-Cb0McG4r.js +10 -0
  173. package/dist/assets/{zh-B_cpka88.js → zh-sNz1KN0x.js} +1 -1
  174. package/dist/assets/zh-tw-PfYv9beR.js +9 -0
  175. package/dist/index.html +1 -1
  176. package/package.json +49 -49
  177. package/dist/assets/add-resource-ENVSA34x.js +0 -1
  178. package/dist/assets/api-C_w0YD2j.js +0 -1
  179. package/dist/assets/ar-BBr9bsOg.js +0 -7
  180. package/dist/assets/branding-B-5oLD-k.js +0 -1
  181. package/dist/assets/connect-BX2QwOaU.js +0 -5
  182. package/dist/assets/dashboard-DbjH3qe4.js +0 -103
  183. package/dist/assets/de-CDBOH3k5.js +0 -7
  184. package/dist/assets/domains-D_GcYdME.js +0 -1
  185. package/dist/assets/engine-BzngvK61.js +0 -1
  186. package/dist/assets/es-BJ8CsIZi.js +0 -9
  187. package/dist/assets/fr-DSXQFpNy.js +0 -7
  188. package/dist/assets/get-safe-url-CqAaHb9L.js +0 -1
  189. package/dist/assets/hi-DLsQ4VdX.js +0 -5
  190. package/dist/assets/id-AzAQyOHL.js +0 -7
  191. package/dist/assets/index-BHa1_Bjz.js +0 -1039
  192. package/dist/assets/index-BNeXCm1B.js +0 -1
  193. package/dist/assets/index-Df4GSKx6.js +0 -1
  194. package/dist/assets/index-DoVbUHDU.js +0 -55
  195. package/dist/assets/index-pAjb_WaG.js +0 -281
  196. package/dist/assets/ja-C3ccbBe-.js +0 -9
  197. package/dist/assets/keyboard-arrow-down-rounded-8U0_i9QO.js +0 -1
  198. package/dist/assets/ko-9Vbo8tR2.js +0 -9
  199. package/dist/assets/localization-gLf4FT3Q.js +0 -1
  200. package/dist/assets/logger-CWnnO-wn.js +0 -1
  201. package/dist/assets/omit-BgmLPtMY.js +0 -1
  202. package/dist/assets/overview-Bf86Sw9l.js +0 -116
  203. package/dist/assets/passport-D6ZhqZ1F.js +0 -1
  204. package/dist/assets/profile-embed-BpG6-Rqz.js +0 -1
  205. package/dist/assets/pt-iqygmSLa.js +0 -5
  206. package/dist/assets/ru-BkfMvpq6.js +0 -5
  207. package/dist/assets/sdk-C3wBexZ2.js +0 -1
  208. package/dist/assets/security-Duf_ZEVi.js +0 -22
  209. package/dist/assets/simple-select-DbXWLzPn.js +0 -1
  210. package/dist/assets/th-D-pgFsDa.js +0 -5
  211. package/dist/assets/vendor-utils-drLlzTVq.js +0 -213
  212. package/dist/assets/vi-BuffIn3I.js +0 -5
  213. package/dist/assets/wrap-locale-DtcRIeKF.js +0 -1
  214. package/dist/assets/zh-CSl2KD_S.js +0 -10
  215. package/dist/assets/zh-tw-BiloxWNq.js +0 -9
@@ -0,0 +1,213 @@
1
+ import{p as Ar}from"./vendor-react-CTtPmzVP.js";var Va=9007199254740991,Ka=Math.floor;function Oi(e,t){var r="";if(!e||t<1||t>Va)return r;do t%2&&(r+=e),t=Ka(t/2),t&&(e+=e);while(t);return r}const Mt=globalThis||void 0||self;var zo=typeof Mt=="object"&&Mt&&Mt.Object===Object&&Mt,Ya=typeof self=="object"&&self&&self.Object===Object&&self,ot=zo||Ya||Function("return this")(),it=ot.Symbol;function wt(e,t){for(var r=-1,n=e==null?0:e.length,u=Array(n);++r<n;)u[r]=t(e[r],r,e);return u}var Ge=Array.isArray,Ho=Object.prototype,Xa=Ho.hasOwnProperty,Qa=Ho.toString,Xt=it?it.toStringTag:void 0;function eu(e){var t=Xa.call(e,Xt),r=e[Xt];try{e[Xt]=void 0;var n=!0}catch{}var u=Qa.call(e);return n&&(t?e[Xt]=r:delete e[Xt]),u}var tu=Object.prototype,ru=tu.toString;function nu(e){return ru.call(e)}var iu="[object Null]",ou="[object Undefined]",Ti=it?it.toStringTag:void 0;function ut(e){return e==null?e===void 0?ou:iu:Ti&&Ti in Object(e)?eu(e):nu(e)}function et(e){return e!=null&&typeof e=="object"}var su="[object Symbol]";function Ut(e){return typeof e=="symbol"||et(e)&&ut(e)==su}var Ci=it?it.prototype:void 0,$i=Ci?Ci.toString:void 0;function ir(e){if(typeof e=="string")return e;if(Ge(e))return wt(e,ir)+"";if(Ut(e))return $i?$i.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Kn(e,t,r){var n=-1,u=e.length;t<0&&(t=-t>u?0:u+t),r=r>u?u:r,r<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(u);++n<u;)o[n]=e[n+t];return o}function Fr(e,t,r){var n=e.length;return r=r===void 0?n:r,!t&&r>=n?e:Kn(e,t,r)}var au="\\ud800-\\udfff",uu="\\u0300-\\u036f",fu="\\ufe20-\\ufe2f",lu="\\u20d0-\\u20ff",cu=uu+fu+lu,hu="\\ufe0e\\ufe0f",du="\\u200d",pu=RegExp("["+du+au+cu+hu+"]");function Rr(e){return pu.test(e)}function Go(e){return function(t){return t?.[e]}}var gu=Go("length"),Wo="\\ud800-\\udfff",mu="\\u0300-\\u036f",yu="\\ufe20-\\ufe2f",wu="\\u20d0-\\u20ff",vu=mu+yu+wu,xu="\\ufe0e\\ufe0f",bu="["+Wo+"]",Rn="["+vu+"]",In="\\ud83c[\\udffb-\\udfff]",Eu="(?:"+Rn+"|"+In+")",Zo="[^"+Wo+"]",Jo="(?:\\ud83c[\\udde6-\\uddff]){2}",Vo="[\\ud800-\\udbff][\\udc00-\\udfff]",Mu="\\u200d",Ko=Eu+"?",Yo="["+xu+"]?",_u="(?:"+Mu+"(?:"+[Zo,Jo,Vo].join("|")+")"+Yo+Ko+")*",Su=Yo+Ko+_u,Bu="(?:"+[Zo+Rn+"?",Rn,Jo,Vo,bu].join("|")+")",Fi=RegExp(In+"(?="+In+")|"+Bu+Su,"g");function Au(e){for(var t=Fi.lastIndex=0;Fi.test(e);)++t;return t}function Yn(e){return Rr(e)?Au(e):gu(e)}function Ou(e){return e.split("")}var Xo="\\ud800-\\udfff",Tu="\\u0300-\\u036f",Cu="\\ufe20-\\ufe2f",$u="\\u20d0-\\u20ff",Fu=Tu+Cu+$u,Ru="\\ufe0e\\ufe0f",Iu="["+Xo+"]",Nn="["+Fu+"]",Un="\\ud83c[\\udffb-\\udfff]",Nu="(?:"+Nn+"|"+Un+")",Qo="[^"+Xo+"]",es="(?:\\ud83c[\\udde6-\\uddff]){2}",ts="[\\ud800-\\udbff][\\udc00-\\udfff]",Uu="\\u200d",rs=Nu+"?",ns="["+Ru+"]?",Pu="(?:"+Uu+"(?:"+[Qo,es,ts].join("|")+")"+ns+rs+")*",Lu=ns+rs+Pu,Du="(?:"+[Qo+Nn+"?",Nn,es,ts,Iu].join("|")+")",ju=RegExp(Un+"(?="+Un+")|"+Du+Lu,"g");function ku(e){return e.match(ju)||[]}function Pt(e){return Rr(e)?ku(e):Ou(e)}var qu=Math.ceil;function is(e,t){t=t===void 0?" ":ir(t);var r=t.length;if(r<2)return r?Oi(t,e):t;var n=Oi(t,qu(e/Yn(t)));return Rr(t)?Fr(Pt(n),0,e).join(""):n.slice(0,e)}var zu=/\s/;function os(e){for(var t=e.length;t--&&zu.test(e.charAt(t)););return t}var Hu=/^\s+/;function ss(e){return e&&e.slice(0,os(e)+1).replace(Hu,"")}function Ve(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}const sy=Object.freeze(Object.defineProperty({__proto__:null,default:Ve},Symbol.toStringTag,{value:"Module"}));var Ri=NaN,Gu=/^[-+]0x[0-9a-f]+$/i,Wu=/^0b[01]+$/i,Zu=/^0o[0-7]+$/i,Ju=parseInt;function Pn(e){if(typeof e=="number")return e;if(Ut(e))return Ri;if(Ve(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ve(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ss(e);var r=Wu.test(e);return r||Zu.test(e)?Ju(e.slice(2),r?2:8):Gu.test(e)?Ri:+e}var Ii=1/0,Vu=17976931348623157e292;function Ku(e){if(!e)return e===0?e:0;if(e=Pn(e),e===Ii||e===-Ii){var t=e<0?-1:1;return t*Vu}return e===e?e:0}function Gt(e){var t=Ku(e),r=t%1;return t===t?r?t-r:t:0}function tt(e){return e==null?"":ir(e)}function Yu(e,t,r){e=tt(e),t=Gt(t);var n=t?Yn(e):0;return t&&n<t?is(t-n,r)+e:e}const ay=Object.freeze(Object.defineProperty({__proto__:null,default:Yu},Symbol.toStringTag,{value:"Module"}));function Xu(e){return e==null}const uy=Object.freeze(Object.defineProperty({__proto__:null,default:Xu},Symbol.toStringTag,{value:"Module"}));function Qu(){this.__data__=[],this.size=0}function Wt(e,t){return e===t||e!==e&&t!==t}function Ir(e,t){for(var r=e.length;r--;)if(Wt(e[r][0],t))return r;return-1}var ef=Array.prototype,tf=ef.splice;function rf(e){var t=this.__data__,r=Ir(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():tf.call(t,r,1),--this.size,!0}function nf(e){var t=this.__data__,r=Ir(t,e);return r<0?void 0:t[r][1]}function of(e){return Ir(this.__data__,e)>-1}function sf(e,t){var r=this.__data__,n=Ir(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function mt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}mt.prototype.clear=Qu;mt.prototype.delete=rf;mt.prototype.get=nf;mt.prototype.has=of;mt.prototype.set=sf;function af(){this.__data__=new mt,this.size=0}function uf(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function ff(e){return this.__data__.get(e)}function lf(e){return this.__data__.has(e)}var cf="[object AsyncFunction]",hf="[object Function]",df="[object GeneratorFunction]",pf="[object Proxy]";function Xn(e){if(!Ve(e))return!1;var t=ut(e);return t==hf||t==df||t==cf||t==pf}var yn=ot["__core-js_shared__"],Ni=function(){var e=/[^.]+$/.exec(yn&&yn.keys&&yn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function gf(e){return!!Ni&&Ni in e}var mf=Function.prototype,yf=mf.toString;function Ot(e){if(e!=null){try{return yf.call(e)}catch{}try{return e+""}catch{}}return""}var wf=/[\\^$.*+?()[\]{}|]/g,vf=/^\[object .+?Constructor\]$/,xf=Function.prototype,bf=Object.prototype,Ef=xf.toString,Mf=bf.hasOwnProperty,_f=RegExp("^"+Ef.call(Mf).replace(wf,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Sf(e){if(!Ve(e)||gf(e))return!1;var t=Xn(e)?_f:vf;return t.test(Ot(e))}function Bf(e,t){return e?.[t]}function Tt(e,t){var r=Bf(e,t);return Sf(r)?r:void 0}var rr=Tt(ot,"Map"),nr=Tt(Object,"create");function Af(){this.__data__=nr?nr(null):{},this.size=0}function Of(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Tf="__lodash_hash_undefined__",Cf=Object.prototype,$f=Cf.hasOwnProperty;function Ff(e){var t=this.__data__;if(nr){var r=t[e];return r===Tf?void 0:r}return $f.call(t,e)?t[e]:void 0}var Rf=Object.prototype,If=Rf.hasOwnProperty;function Nf(e){var t=this.__data__;return nr?t[e]!==void 0:If.call(t,e)}var Uf="__lodash_hash_undefined__";function Pf(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=nr&&t===void 0?Uf:t,this}function Bt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Bt.prototype.clear=Af;Bt.prototype.delete=Of;Bt.prototype.get=Ff;Bt.prototype.has=Nf;Bt.prototype.set=Pf;function Lf(){this.size=0,this.__data__={hash:new Bt,map:new(rr||mt),string:new Bt}}function Df(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Nr(e,t){var r=e.__data__;return Df(t)?r[typeof t=="string"?"string":"hash"]:r.map}function jf(e){var t=Nr(this,e).delete(e);return this.size-=t?1:0,t}function kf(e){return Nr(this,e).get(e)}function qf(e){return Nr(this,e).has(e)}function zf(e,t){var r=Nr(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function yt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}yt.prototype.clear=Lf;yt.prototype.delete=jf;yt.prototype.get=kf;yt.prototype.has=qf;yt.prototype.set=zf;var Hf=200;function Gf(e,t){var r=this.__data__;if(r instanceof mt){var n=r.__data__;if(!rr||n.length<Hf-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new yt(n)}return r.set(e,t),this.size=r.size,this}function at(e){var t=this.__data__=new mt(e);this.size=t.size}at.prototype.clear=af;at.prototype.delete=uf;at.prototype.get=ff;at.prototype.has=lf;at.prototype.set=Gf;var Wf="__lodash_hash_undefined__";function Zf(e){return this.__data__.set(e,Wf),this}function Jf(e){return this.__data__.has(e)}function Lt(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new yt;++t<r;)this.add(e[t])}Lt.prototype.add=Lt.prototype.push=Zf;Lt.prototype.has=Jf;function Vf(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function Qn(e,t){return e.has(t)}var Kf=1,Yf=2;function as(e,t,r,n,u,o){var d=r&Kf,b=e.length,B=t.length;if(b!=B&&!(d&&B>b))return!1;var E=o.get(e),p=o.get(t);if(E&&p)return E==t&&p==e;var F=-1,q=!0,Q=r&Yf?new Lt:void 0;for(o.set(e,t),o.set(t,e);++F<b;){var W=e[F],oe=t[F];if(n)var J=d?n(oe,W,F,t,e,o):n(W,oe,F,e,t,o);if(J!==void 0){if(J)continue;q=!1;break}if(Q){if(!Vf(t,function(he,te){if(!Qn(Q,te)&&(W===he||u(W,he,r,n,o)))return Q.push(te)})){q=!1;break}}else if(!(W===oe||u(W,oe,r,n,o))){q=!1;break}}return o.delete(e),o.delete(t),q}var Or=ot.Uint8Array;function Xf(e){var t=-1,r=Array(e.size);return e.forEach(function(n,u){r[++t]=[u,n]}),r}function ei(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Qf=1,el=2,tl="[object Boolean]",rl="[object Date]",nl="[object Error]",il="[object Map]",ol="[object Number]",sl="[object RegExp]",al="[object Set]",ul="[object String]",fl="[object Symbol]",ll="[object ArrayBuffer]",cl="[object DataView]",Ui=it?it.prototype:void 0,wn=Ui?Ui.valueOf:void 0;function hl(e,t,r,n,u,o,d){switch(r){case cl:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ll:return!(e.byteLength!=t.byteLength||!o(new Or(e),new Or(t)));case tl:case rl:case ol:return Wt(+e,+t);case nl:return e.name==t.name&&e.message==t.message;case sl:case ul:return e==t+"";case il:var b=Xf;case al:var B=n&Qf;if(b||(b=ei),e.size!=t.size&&!B)return!1;var E=d.get(e);if(E)return E==t;n|=el,d.set(e,t);var p=as(b(e),b(t),n,u,o,d);return d.delete(e),p;case fl:if(wn)return wn.call(e)==wn.call(t)}return!1}function ti(e,t){for(var r=-1,n=t.length,u=e.length;++r<n;)e[u+r]=t[r];return e}function us(e,t,r){var n=t(e);return Ge(e)?n:ti(n,r(e))}function fs(e,t){for(var r=-1,n=e==null?0:e.length,u=0,o=[];++r<n;){var d=e[r];t(d,r,e)&&(o[u++]=d)}return o}function ls(){return[]}var dl=Object.prototype,pl=dl.propertyIsEnumerable,Pi=Object.getOwnPropertySymbols,ri=Pi?function(e){return e==null?[]:(e=Object(e),fs(Pi(e),function(t){return pl.call(e,t)}))}:ls;function gl(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var ml="[object Arguments]";function Li(e){return et(e)&&ut(e)==ml}var cs=Object.prototype,yl=cs.hasOwnProperty,wl=cs.propertyIsEnumerable,Dt=Li(function(){return arguments}())?Li:function(e){return et(e)&&yl.call(e,"callee")&&!wl.call(e,"callee")};function vl(){return!1}var hs=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Di=hs&&typeof module=="object"&&module&&!module.nodeType&&module,xl=Di&&Di.exports===hs,ji=xl?ot.Buffer:void 0,bl=ji?ji.isBuffer:void 0,jt=bl||vl,El=9007199254740991,Ml=/^(?:0|[1-9]\d*)$/;function or(e,t){var r=typeof e;return t=t??El,!!t&&(r=="number"||r!="symbol"&&Ml.test(e))&&e>-1&&e%1==0&&e<t}var _l=9007199254740991;function ni(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=_l}var Sl="[object Arguments]",Bl="[object Array]",Al="[object Boolean]",Ol="[object Date]",Tl="[object Error]",Cl="[object Function]",$l="[object Map]",Fl="[object Number]",Rl="[object Object]",Il="[object RegExp]",Nl="[object Set]",Ul="[object String]",Pl="[object WeakMap]",Ll="[object ArrayBuffer]",Dl="[object DataView]",jl="[object Float32Array]",kl="[object Float64Array]",ql="[object Int8Array]",zl="[object Int16Array]",Hl="[object Int32Array]",Gl="[object Uint8Array]",Wl="[object Uint8ClampedArray]",Zl="[object Uint16Array]",Jl="[object Uint32Array]",qe={};qe[jl]=qe[kl]=qe[ql]=qe[zl]=qe[Hl]=qe[Gl]=qe[Wl]=qe[Zl]=qe[Jl]=!0;qe[Sl]=qe[Bl]=qe[Ll]=qe[Al]=qe[Dl]=qe[Ol]=qe[Tl]=qe[Cl]=qe[$l]=qe[Fl]=qe[Rl]=qe[Il]=qe[Nl]=qe[Ul]=qe[Pl]=!1;function Vl(e){return et(e)&&ni(e.length)&&!!qe[ut(e)]}function Ur(e){return function(t){return e(t)}}var ds=typeof exports=="object"&&exports&&!exports.nodeType&&exports,er=ds&&typeof module=="object"&&module&&!module.nodeType&&module,Kl=er&&er.exports===ds,vn=Kl&&zo.process,kt=function(){try{var e=er&&er.require&&er.require("util").types;return e||vn&&vn.binding&&vn.binding("util")}catch{}}(),ki=kt&&kt.isTypedArray,Pr=ki?Ur(ki):Vl,Yl=Object.prototype,Xl=Yl.hasOwnProperty;function ps(e,t){var r=Ge(e),n=!r&&Dt(e),u=!r&&!n&&jt(e),o=!r&&!n&&!u&&Pr(e),d=r||n||u||o,b=d?gl(e.length,String):[],B=b.length;for(var E in e)(t||Xl.call(e,E))&&!(d&&(E=="length"||u&&(E=="offset"||E=="parent")||o&&(E=="buffer"||E=="byteLength"||E=="byteOffset")||or(E,B)))&&b.push(E);return b}var Ql=Object.prototype;function Lr(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Ql;return e===r}function gs(e,t){return function(r){return e(t(r))}}var ec=gs(Object.keys,Object),tc=Object.prototype,rc=tc.hasOwnProperty;function ms(e){if(!Lr(e))return ec(e);var t=[];for(var r in Object(e))rc.call(e,r)&&r!="constructor"&&t.push(r);return t}function vt(e){return e!=null&&ni(e.length)&&!Xn(e)}function xt(e){return vt(e)?ps(e):ms(e)}function Ln(e){return us(e,xt,ri)}var nc=1,ic=Object.prototype,oc=ic.hasOwnProperty;function sc(e,t,r,n,u,o){var d=r&nc,b=Ln(e),B=b.length,E=Ln(t),p=E.length;if(B!=p&&!d)return!1;for(var F=B;F--;){var q=b[F];if(!(d?q in t:oc.call(t,q)))return!1}var Q=o.get(e),W=o.get(t);if(Q&&W)return Q==t&&W==e;var oe=!0;o.set(e,t),o.set(t,e);for(var J=d;++F<B;){q=b[F];var he=e[q],te=t[q];if(n)var se=d?n(te,he,q,t,e,o):n(he,te,q,e,t,o);if(!(se===void 0?he===te||u(he,te,r,n,o):se)){oe=!1;break}J||(J=q=="constructor")}if(oe&&!J){var ce=e.constructor,fe=t.constructor;ce!=fe&&"constructor"in e&&"constructor"in t&&!(typeof ce=="function"&&ce instanceof ce&&typeof fe=="function"&&fe instanceof fe)&&(oe=!1)}return o.delete(e),o.delete(t),oe}var Dn=Tt(ot,"DataView"),jn=Tt(ot,"Promise"),Nt=Tt(ot,"Set"),kn=Tt(ot,"WeakMap"),qi="[object Map]",ac="[object Object]",zi="[object Promise]",Hi="[object Set]",Gi="[object WeakMap]",Wi="[object DataView]",uc=Ot(Dn),fc=Ot(rr),lc=Ot(jn),cc=Ot(Nt),hc=Ot(kn),nt=ut;(Dn&&nt(new Dn(new ArrayBuffer(1)))!=Wi||rr&&nt(new rr)!=qi||jn&&nt(jn.resolve())!=zi||Nt&&nt(new Nt)!=Hi||kn&&nt(new kn)!=Gi)&&(nt=function(e){var t=ut(e),r=t==ac?e.constructor:void 0,n=r?Ot(r):"";if(n)switch(n){case uc:return Wi;case fc:return qi;case lc:return zi;case cc:return Hi;case hc:return Gi}return t});var dc=1,Zi="[object Arguments]",Ji="[object Array]",yr="[object Object]",pc=Object.prototype,Vi=pc.hasOwnProperty;function gc(e,t,r,n,u,o){var d=Ge(e),b=Ge(t),B=d?Ji:nt(e),E=b?Ji:nt(t);B=B==Zi?yr:B,E=E==Zi?yr:E;var p=B==yr,F=E==yr,q=B==E;if(q&&jt(e)){if(!jt(t))return!1;d=!0,p=!1}if(q&&!p)return o||(o=new at),d||Pr(e)?as(e,t,r,n,u,o):hl(e,t,B,r,n,u,o);if(!(r&dc)){var Q=p&&Vi.call(e,"__wrapped__"),W=F&&Vi.call(t,"__wrapped__");if(Q||W){var oe=Q?e.value():e,J=W?t.value():t;return o||(o=new at),u(oe,J,r,n,o)}}return q?(o||(o=new at),sc(e,t,r,n,u,o)):!1}function Dr(e,t,r,n,u){return e===t?!0:e==null||t==null||!et(e)&&!et(t)?e!==e&&t!==t:gc(e,t,r,n,Dr,u)}var mc=1,yc=2;function wc(e,t,r,n){var u=r.length,o=u;if(e==null)return!o;for(e=Object(e);u--;){var d=r[u];if(d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++u<o;){d=r[u];var b=d[0],B=e[b],E=d[1];if(d[2]){if(B===void 0&&!(b in e))return!1}else{var p=new at,F;if(!(F===void 0?Dr(E,B,mc|yc,n,p):F))return!1}}return!0}function ys(e){return e===e&&!Ve(e)}function vc(e){for(var t=xt(e),r=t.length;r--;){var n=t[r],u=e[n];t[r]=[n,u,ys(u)]}return t}function ws(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function xc(e){var t=vc(e);return t.length==1&&t[0][2]?ws(t[0][0],t[0][1]):function(r){return r===e||wc(r,e,t)}}var bc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ec=/^\w*$/;function ii(e,t){if(Ge(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Ut(e)?!0:Ec.test(e)||!bc.test(e)||t!=null&&e in Object(t)}var Mc="Expected a function";function oi(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Mc);var r=function(){var n=arguments,u=t?t.apply(this,n):n[0],o=r.cache;if(o.has(u))return o.get(u);var d=e.apply(this,n);return r.cache=o.set(u,d)||o,d};return r.cache=new(oi.Cache||yt),r}oi.Cache=yt;var _c=500;function Sc(e){var t=oi(e,function(n){return r.size===_c&&r.clear(),n}),r=t.cache;return t}var Bc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ac=/\\(\\)?/g,Oc=Sc(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Bc,function(r,n,u,o){t.push(u?o.replace(Ac,"$1"):n||r)}),t});function Zt(e,t){return Ge(e)?e:ii(e,t)?[e]:Oc(tt(e))}function Jt(e){if(typeof e=="string"||Ut(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function sr(e,t){t=Zt(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[Jt(t[r++])];return r&&r==n?e:void 0}function vs(e,t,r){var n=e==null?void 0:sr(e,t);return n===void 0?r:n}const fy=Object.freeze(Object.defineProperty({__proto__:null,default:vs},Symbol.toStringTag,{value:"Module"}));function Tc(e,t){return e!=null&&t in Object(e)}function Cc(e,t,r){t=Zt(t,e);for(var n=-1,u=t.length,o=!1;++n<u;){var d=Jt(t[n]);if(!(o=e!=null&&r(e,d)))break;e=e[d]}return o||++n!=u?o:(u=e==null?0:e.length,!!u&&ni(u)&&or(d,u)&&(Ge(e)||Dt(e)))}function xs(e,t){return e!=null&&Cc(e,t,Tc)}var $c=1,Fc=2;function Rc(e,t){return ii(e)&&ys(t)?ws(Jt(e),t):function(r){var n=vs(r,e);return n===void 0&&n===t?xs(r,e):Dr(t,n,$c|Fc)}}function ar(e){return e}function Ic(e){return function(t){return sr(t,e)}}function Nc(e){return ii(e)?Go(Jt(e)):Ic(e)}function ht(e){return typeof e=="function"?e:e==null?ar:typeof e=="object"?Ge(e)?Rc(e[0],e[1]):xc(e):Nc(e)}var Uc="Expected a function";function Pc(e){if(typeof e!="function")throw new TypeError(Uc);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var Tr=function(){try{var e=Tt(Object,"defineProperty");return e({},"",{}),e}catch{}}();function ur(e,t,r){t=="__proto__"&&Tr?Tr(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Lc=Object.prototype,Dc=Lc.hasOwnProperty;function si(e,t,r){var n=e[t];(!(Dc.call(e,t)&&Wt(n,r))||r===void 0&&!(t in e))&&ur(e,t,r)}function bs(e,t,r,n){if(!Ve(e))return e;t=Zt(t,e);for(var u=-1,o=t.length,d=o-1,b=e;b!=null&&++u<o;){var B=Jt(t[u]),E=r;if(B==="__proto__"||B==="constructor"||B==="prototype")return e;if(u!=d){var p=b[B];E=void 0,E===void 0&&(E=Ve(p)?p:or(t[u+1])?[]:{})}si(b,B,E),b=b[B]}return e}function Es(e,t,r){for(var n=-1,u=t.length,o={};++n<u;){var d=t[n],b=sr(e,d);r(b,d)&&bs(o,Zt(d,e),b)}return o}var ai=gs(Object.getPrototypeOf,Object),jc=Object.getOwnPropertySymbols,Ms=jc?function(e){for(var t=[];e;)ti(t,ri(e)),e=ai(e);return t}:ls;function kc(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var qc=Object.prototype,zc=qc.hasOwnProperty;function Hc(e){if(!Ve(e))return kc(e);var t=Lr(e),r=[];for(var n in e)n=="constructor"&&(t||!zc.call(e,n))||r.push(n);return r}function Vt(e){return vt(e)?ps(e,!0):Hc(e)}function ui(e){return us(e,Vt,Ms)}function Gc(e,t){if(e==null)return{};var r=wt(ui(e),function(n){return[n]});return t=ht(t),Es(e,r,function(n,u){return t(n,u[0])})}function ly(e,t){return Gc(e,Pc(ht(t)))}var Er={exports:{}},Wc=Er.exports,Ki;function cy(){return Ki||(Ki=1,function(e,t){(function(r,n){e.exports=n()})(Wc,function(){var r=1e3,n=6e4,u=36e5,o="millisecond",d="second",b="minute",B="hour",E="day",p="week",F="month",q="quarter",Q="year",W="date",oe="Invalid Date",J=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,he=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,te={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(g){var m=["th","st","nd","rd"],v=g%100;return"["+g+(m[(v-20)%10]||m[v]||m[0])+"]"}},se=function(g,m,v){var T=String(g);return!T||T.length>=m?g:""+Array(m+1-T.length).join(v)+g},ce={s:se,z:function(g){var m=-g.utcOffset(),v=Math.abs(m),T=Math.floor(v/60),$=v%60;return(m<=0?"+":"-")+se(T,2,"0")+":"+se($,2,"0")},m:function g(m,v){if(m.date()<v.date())return-g(v,m);var T=12*(v.year()-m.year())+(v.month()-m.month()),$=m.clone().add(T,F),M=v-$<0,f=m.clone().add(T+(M?-1:1),F);return+(-(T+(v-$)/(M?$-f:f-$))||0)},a:function(g){return g<0?Math.ceil(g)||0:Math.floor(g)},p:function(g){return{M:F,y:Q,w:p,d:E,D:W,h:B,m:b,s:d,ms:o,Q:q}[g]||String(g||"").toLowerCase().replace(/s$/,"")},u:function(g){return g===void 0}},fe="en",Y={};Y[fe]=te;var z="$isDayjsObject",ae=function(g){return g instanceof i||!(!g||!g[z])},de=function g(m,v,T){var $;if(!m)return fe;if(typeof m=="string"){var M=m.toLowerCase();Y[M]&&($=M),v&&(Y[M]=v,$=M);var f=m.split("-");if(!$&&f.length>1)return g(f[0])}else{var S=m.name;Y[S]=m,$=S}return!T&&$&&(fe=$),$||!T&&fe},ne=function(g,m){if(ae(g))return g.clone();var v=typeof m=="object"?m:{};return v.date=g,v.args=arguments,new i(v)},A=ce;A.l=de,A.i=ae,A.w=function(g,m){return ne(g,{locale:m.$L,utc:m.$u,x:m.$x,$offset:m.$offset})};var i=function(){function g(v){this.$L=de(v.locale,null,!0),this.parse(v),this.$x=this.$x||v.x||{},this[z]=!0}var m=g.prototype;return m.parse=function(v){this.$d=function(T){var $=T.date,M=T.utc;if($===null)return new Date(NaN);if(A.u($))return new Date;if($ instanceof Date)return new Date($);if(typeof $=="string"&&!/Z$/i.test($)){var f=$.match(J);if(f){var S=f[2]-1||0,ue=(f[7]||"0").substring(0,3);return M?new Date(Date.UTC(f[1],S,f[3]||1,f[4]||0,f[5]||0,f[6]||0,ue)):new Date(f[1],S,f[3]||1,f[4]||0,f[5]||0,f[6]||0,ue)}}return new Date($)}(v),this.init()},m.init=function(){var v=this.$d;this.$y=v.getFullYear(),this.$M=v.getMonth(),this.$D=v.getDate(),this.$W=v.getDay(),this.$H=v.getHours(),this.$m=v.getMinutes(),this.$s=v.getSeconds(),this.$ms=v.getMilliseconds()},m.$utils=function(){return A},m.isValid=function(){return this.$d.toString()!==oe},m.isSame=function(v,T){var $=ne(v);return this.startOf(T)<=$&&$<=this.endOf(T)},m.isAfter=function(v,T){return ne(v)<this.startOf(T)},m.isBefore=function(v,T){return this.endOf(T)<ne(v)},m.$g=function(v,T,$){return A.u(v)?this[T]:this.set($,v)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(v,T){var $=this,M=!!A.u(T)||T,f=A.p(v),S=function(_e,x){var C=A.w($.$u?Date.UTC($.$y,x,_e):new Date($.$y,x,_e),$);return M?C:C.endOf(E)},ue=function(_e,x){return A.w($.toDate()[_e].apply($.toDate("s"),(M?[0,0,0,0]:[23,59,59,999]).slice(x)),$)},pe=this.$W,D=this.$M,me=this.$D,Me="set"+(this.$u?"UTC":"");switch(f){case Q:return M?S(1,0):S(31,11);case F:return M?S(1,D):S(0,D+1);case p:var Oe=this.$locale().weekStart||0,$e=(pe<Oe?pe+7:pe)-Oe;return S(M?me-$e:me+(6-$e),D);case E:case W:return ue(Me+"Hours",0);case B:return ue(Me+"Minutes",1);case b:return ue(Me+"Seconds",2);case d:return ue(Me+"Milliseconds",3);default:return this.clone()}},m.endOf=function(v){return this.startOf(v,!1)},m.$set=function(v,T){var $,M=A.p(v),f="set"+(this.$u?"UTC":""),S=($={},$[E]=f+"Date",$[W]=f+"Date",$[F]=f+"Month",$[Q]=f+"FullYear",$[B]=f+"Hours",$[b]=f+"Minutes",$[d]=f+"Seconds",$[o]=f+"Milliseconds",$)[M],ue=M===E?this.$D+(T-this.$W):T;if(M===F||M===Q){var pe=this.clone().set(W,1);pe.$d[S](ue),pe.init(),this.$d=pe.set(W,Math.min(this.$D,pe.daysInMonth())).$d}else S&&this.$d[S](ue);return this.init(),this},m.set=function(v,T){return this.clone().$set(v,T)},m.get=function(v){return this[A.p(v)]()},m.add=function(v,T){var $,M=this;v=Number(v);var f=A.p(T),S=function(D){var me=ne(M);return A.w(me.date(me.date()+Math.round(D*v)),M)};if(f===F)return this.set(F,this.$M+v);if(f===Q)return this.set(Q,this.$y+v);if(f===E)return S(1);if(f===p)return S(7);var ue=($={},$[b]=n,$[B]=u,$[d]=r,$)[f]||1,pe=this.$d.getTime()+v*ue;return A.w(pe,this)},m.subtract=function(v,T){return this.add(-1*v,T)},m.format=function(v){var T=this,$=this.$locale();if(!this.isValid())return $.invalidDate||oe;var M=v||"YYYY-MM-DDTHH:mm:ssZ",f=A.z(this),S=this.$H,ue=this.$m,pe=this.$M,D=$.weekdays,me=$.months,Me=$.meridiem,Oe=function(x,C,R,k){return x&&(x[C]||x(T,M))||R[C].slice(0,k)},$e=function(x){return A.s(S%12||12,x,"0")},_e=Me||function(x,C,R){var k=x<12?"AM":"PM";return R?k.toLowerCase():k};return M.replace(he,function(x,C){return C||function(R){switch(R){case"YY":return String(T.$y).slice(-2);case"YYYY":return A.s(T.$y,4,"0");case"M":return pe+1;case"MM":return A.s(pe+1,2,"0");case"MMM":return Oe($.monthsShort,pe,me,3);case"MMMM":return Oe(me,pe);case"D":return T.$D;case"DD":return A.s(T.$D,2,"0");case"d":return String(T.$W);case"dd":return Oe($.weekdaysMin,T.$W,D,2);case"ddd":return Oe($.weekdaysShort,T.$W,D,3);case"dddd":return D[T.$W];case"H":return String(S);case"HH":return A.s(S,2,"0");case"h":return $e(1);case"hh":return $e(2);case"a":return _e(S,ue,!0);case"A":return _e(S,ue,!1);case"m":return String(ue);case"mm":return A.s(ue,2,"0");case"s":return String(T.$s);case"ss":return A.s(T.$s,2,"0");case"SSS":return A.s(T.$ms,3,"0");case"Z":return f}return null}(x)||f.replace(":","")})},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(v,T,$){var M,f=this,S=A.p(T),ue=ne(v),pe=(ue.utcOffset()-this.utcOffset())*n,D=this-ue,me=function(){return A.m(f,ue)};switch(S){case Q:M=me()/12;break;case F:M=me();break;case q:M=me()/3;break;case p:M=(D-pe)/6048e5;break;case E:M=(D-pe)/864e5;break;case B:M=D/u;break;case b:M=D/n;break;case d:M=D/r;break;default:M=D}return $?M:A.a(M)},m.daysInMonth=function(){return this.endOf(F).$D},m.$locale=function(){return Y[this.$L]},m.locale=function(v,T){if(!v)return this.$L;var $=this.clone(),M=de(v,T,!0);return M&&($.$L=M),$},m.clone=function(){return A.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},g}(),h=i.prototype;return ne.prototype=h,[["$ms",o],["$s",d],["$m",b],["$H",B],["$W",E],["$M",F],["$y",Q],["$D",W]].forEach(function(g){h[g[1]]=function(m){return this.$g(m,g[0],g[1])}}),ne.extend=function(g,m){return g.$i||(g(m,i,ne),g.$i=!0),ne},ne.locale=de,ne.isDayjs=ae,ne.unix=function(g){return ne(1e3*g)},ne.en=Y[fe],ne.Ls=Y,ne.p={},ne})}(Er)),Er.exports}var Zc="[object Map]",Jc="[object Set]",Vc=Object.prototype,Kc=Vc.hasOwnProperty;function Yc(e){if(e==null)return!0;if(vt(e)&&(Ge(e)||typeof e=="string"||typeof e.splice=="function"||jt(e)||Pr(e)||Dt(e)))return!e.length;var t=nt(e);if(t==Zc||t==Jc)return!e.size;if(Lr(e))return!ms(e).length;for(var r in e)if(Kc.call(e,r))return!1;return!0}const hy=Object.freeze(Object.defineProperty({__proto__:null,default:Yc},Symbol.toStringTag,{value:"Module"}));function dy(e,t,r){return e==null?e:bs(e,t,r)}function py(e){return e===void 0}var xn=function(){return ot.Date.now()},Xc="Expected a function",Qc=Math.max,e0=Math.min;function t0(e,t,r){var n,u,o,d,b,B,E=0,p=!1,F=!1,q=!0;if(typeof e!="function")throw new TypeError(Xc);t=Pn(t)||0,Ve(r)&&(p=!!r.leading,F="maxWait"in r,o=F?Qc(Pn(r.maxWait)||0,t):o,q="trailing"in r?!!r.trailing:q);function Q(Y){var z=n,ae=u;return n=u=void 0,E=Y,d=e.apply(ae,z),d}function W(Y){return E=Y,b=setTimeout(he,t),p?Q(Y):d}function oe(Y){var z=Y-B,ae=Y-E,de=t-z;return F?e0(de,o-ae):de}function J(Y){var z=Y-B,ae=Y-E;return B===void 0||z>=t||z<0||F&&ae>=o}function he(){var Y=xn();if(J(Y))return te(Y);b=setTimeout(he,oe(Y))}function te(Y){return b=void 0,q&&n?Q(Y):(n=u=void 0,d)}function se(){b!==void 0&&clearTimeout(b),E=0,n=B=u=b=void 0}function ce(){return b===void 0?d:te(xn())}function fe(){var Y=xn(),z=J(Y);if(n=arguments,u=this,B=Y,z){if(b===void 0)return W(B);if(F)return clearTimeout(b),b=setTimeout(he,t),Q(B)}return b===void 0&&(b=setTimeout(he,t)),d}return fe.cancel=se,fe.flush=ce,fe}var r0="Expected a function";function gy(e,t,r){var n=!0,u=!0;if(typeof e!="function")throw new TypeError(r0);return Ve(r)&&(n="leading"in r?!!r.leading:n,u="trailing"in r?!!r.trailing:u),t0(e,t,{leading:n,maxWait:t,trailing:u})}var n0="[object Object]",i0=Function.prototype,o0=Object.prototype,_s=i0.toString,s0=o0.hasOwnProperty,a0=_s.call(Object);function jr(e){if(!et(e)||ut(e)!=n0)return!1;var t=ai(e);if(t===null)return!0;var r=s0.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&_s.call(r)==a0}const my=Object.freeze(Object.defineProperty({__proto__:null,default:jr},Symbol.toStringTag,{value:"Module"}));function u0(){}function qn(e,t,r){(r!==void 0&&!Wt(e[t],r)||r===void 0&&!(t in e))&&ur(e,t,r)}function f0(e){return function(t,r,n){for(var u=-1,o=Object(t),d=n(t),b=d.length;b--;){var B=d[++u];if(r(o[B],B,o)===!1)break}return t}}var Ss=f0(),Bs=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Yi=Bs&&typeof module=="object"&&module&&!module.nodeType&&module,l0=Yi&&Yi.exports===Bs,Xi=l0?ot.Buffer:void 0,Qi=Xi?Xi.allocUnsafe:void 0;function As(e,t){if(t)return e.slice();var r=e.length,n=Qi?Qi(r):new e.constructor(r);return e.copy(n),n}function fi(e){var t=new e.constructor(e.byteLength);return new Or(t).set(new Or(e)),t}function Os(e,t){var r=t?fi(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function li(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var eo=Object.create,c0=function(){function e(){}return function(t){if(!Ve(t))return{};if(eo)return eo(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function Ts(e){return typeof e.constructor=="function"&&!Lr(e)?c0(ai(e)):{}}function qt(e){return et(e)&&vt(e)}function zn(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function Ct(e,t,r,n){var u=!r;r||(r={});for(var o=-1,d=t.length;++o<d;){var b=t[o],B=n?n(r[b],e[b],b,r,e):void 0;B===void 0&&(B=e[b]),u?ur(r,b,B):si(r,b,B)}return r}function h0(e){return Ct(e,Vt(e))}function d0(e,t,r,n,u,o,d){var b=zn(e,r),B=zn(t,r),E=d.get(B);if(E){qn(e,r,E);return}var p=o?o(b,B,r+"",e,t,d):void 0,F=p===void 0;if(F){var q=Ge(B),Q=!q&&jt(B),W=!q&&!Q&&Pr(B);p=B,q||Q||W?Ge(b)?p=b:qt(b)?p=li(b):Q?(F=!1,p=As(B,!0)):W?(F=!1,p=Os(B,!0)):p=[]:jr(B)||Dt(B)?(p=b,Dt(b)?p=h0(b):(!Ve(b)||Xn(b))&&(p=Ts(B))):F=!1}F&&(d.set(B,p),u(p,B,n,o,d),d.delete(B)),qn(e,r,p)}function kr(e,t,r,n,u){e!==t&&Ss(t,function(o,d){if(u||(u=new at),Ve(o))d0(e,t,d,r,kr,n,u);else{var b=n?n(zn(e,d),o,d+"",e,t,u):void 0;b===void 0&&(b=o),qn(e,d,b)}},Vt)}function ci(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var to=Math.max;function Cs(e,t,r){return t=to(t===void 0?e.length-1:t,0),function(){for(var n=arguments,u=-1,o=to(n.length-t,0),d=Array(o);++u<o;)d[u]=n[t+u];u=-1;for(var b=Array(t+1);++u<t;)b[u]=n[u];return b[t]=r(d),ci(e,this,b)}}function p0(e){return function(){return e}}var g0=Tr?function(e,t){return Tr(e,"toString",{configurable:!0,enumerable:!1,value:p0(t),writable:!0})}:ar,m0=800,y0=16,w0=Date.now;function v0(e){var t=0,r=0;return function(){var n=w0(),u=y0-(n-r);if(r=n,u>0){if(++t>=m0)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var $s=v0(g0);function dt(e,t){return $s(Cs(e,t,ar),e+"")}function Hn(e,t,r){if(!Ve(r))return!1;var n=typeof t;return(n=="number"?vt(r)&&or(t,r.length):n=="string"&&t in r)?Wt(r[t],e):!1}function hi(e){return dt(function(t,r){var n=-1,u=r.length,o=u>1?r[u-1]:void 0,d=u>2?r[2]:void 0;for(o=e.length>3&&typeof o=="function"?(u--,o):void 0,d&&Hn(r[0],r[1],d)&&(o=u<3?void 0:o,u=1),t=Object(t);++n<u;){var b=r[n];b&&e(t,b,n,o)}return t})}var yy=hi(function(e,t,r){kr(e,t,r)});function Fs(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}function x0(e,t){return e&&Ct(t,xt(t),e)}function b0(e,t){return e&&Ct(t,Vt(t),e)}function E0(e,t){return Ct(e,ri(e),t)}function M0(e,t){return Ct(e,Ms(e),t)}var _0=Object.prototype,S0=_0.hasOwnProperty;function B0(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&S0.call(e,"index")&&(r.index=e.index,r.input=e.input),r}function A0(e,t){var r=t?fi(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var O0=/\w*$/;function T0(e){var t=new e.constructor(e.source,O0.exec(e));return t.lastIndex=e.lastIndex,t}var ro=it?it.prototype:void 0,no=ro?ro.valueOf:void 0;function C0(e){return no?Object(no.call(e)):{}}var $0="[object Boolean]",F0="[object Date]",R0="[object Map]",I0="[object Number]",N0="[object RegExp]",U0="[object Set]",P0="[object String]",L0="[object Symbol]",D0="[object ArrayBuffer]",j0="[object DataView]",k0="[object Float32Array]",q0="[object Float64Array]",z0="[object Int8Array]",H0="[object Int16Array]",G0="[object Int32Array]",W0="[object Uint8Array]",Z0="[object Uint8ClampedArray]",J0="[object Uint16Array]",V0="[object Uint32Array]";function K0(e,t,r){var n=e.constructor;switch(t){case D0:return fi(e);case $0:case F0:return new n(+e);case j0:return A0(e,r);case k0:case q0:case z0:case H0:case G0:case W0:case Z0:case J0:case V0:return Os(e,r);case R0:return new n;case I0:case P0:return new n(e);case N0:return T0(e);case U0:return new n;case L0:return C0(e)}}var Y0="[object Map]";function X0(e){return et(e)&&nt(e)==Y0}var io=kt&&kt.isMap,Q0=io?Ur(io):X0,eh="[object Set]";function th(e){return et(e)&&nt(e)==eh}var oo=kt&&kt.isSet,rh=oo?Ur(oo):th,nh=1,ih=2,oh=4,Rs="[object Arguments]",sh="[object Array]",ah="[object Boolean]",uh="[object Date]",fh="[object Error]",Is="[object Function]",lh="[object GeneratorFunction]",ch="[object Map]",hh="[object Number]",Ns="[object Object]",dh="[object RegExp]",ph="[object Set]",gh="[object String]",mh="[object Symbol]",yh="[object WeakMap]",wh="[object ArrayBuffer]",vh="[object DataView]",xh="[object Float32Array]",bh="[object Float64Array]",Eh="[object Int8Array]",Mh="[object Int16Array]",_h="[object Int32Array]",Sh="[object Uint8Array]",Bh="[object Uint8ClampedArray]",Ah="[object Uint16Array]",Oh="[object Uint32Array]",De={};De[Rs]=De[sh]=De[wh]=De[vh]=De[ah]=De[uh]=De[xh]=De[bh]=De[Eh]=De[Mh]=De[_h]=De[ch]=De[hh]=De[Ns]=De[dh]=De[ph]=De[gh]=De[mh]=De[Sh]=De[Bh]=De[Ah]=De[Oh]=!0;De[fh]=De[Is]=De[yh]=!1;function tr(e,t,r,n,u,o){var d,b=t&nh,B=t&ih,E=t&oh;if(r&&(d=u?r(e,n,u,o):r(e)),d!==void 0)return d;if(!Ve(e))return e;var p=Ge(e);if(p){if(d=B0(e),!b)return li(e,d)}else{var F=nt(e),q=F==Is||F==lh;if(jt(e))return As(e,b);if(F==Ns||F==Rs||q&&!u){if(d=B||q?{}:Ts(e),!b)return B?M0(e,b0(d,e)):E0(e,x0(d,e))}else{if(!De[F])return u?e:{};d=K0(e,F,b)}}o||(o=new at);var Q=o.get(e);if(Q)return Q;o.set(e,d),rh(e)?e.forEach(function(J){d.add(tr(J,t,r,J,e,o))}):Q0(e)&&e.forEach(function(J,he){d.set(he,tr(J,t,r,he,e,o))});var W=E?B?ui:Ln:B?Vt:xt,oe=p?void 0:W(e);return Fs(oe||e,function(J,he){oe&&(he=J,J=e[he]),si(d,he,tr(J,t,r,he,e,o))}),d}function qr(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function Th(e,t){return t.length<2?e:sr(e,Kn(t,0,-1))}function Ch(e,t){return t=Zt(t,e),e=Th(e,t),e==null||delete e[Jt(qr(t))]}function $h(e){return jr(e)?void 0:e}var so=it?it.isConcatSpreadable:void 0;function Fh(e){return Ge(e)||Dt(e)||!!(so&&e&&e[so])}function fr(e,t,r,n,u){var o=-1,d=e.length;for(r||(r=Fh),u||(u=[]);++o<d;){var b=e[o];r(b)?ti(u,b):n||(u[u.length]=b)}return u}function Rh(e){var t=e==null?0:e.length;return t?fr(e):[]}function Us(e){return $s(Cs(e,void 0,Rh),e+"")}var Ih=1,Nh=2,Uh=4,Ph=Us(function(e,t){var r={};if(e==null)return r;var n=!1;t=wt(t,function(o){return o=Zt(o,e),n||(n=o.length>1),o}),Ct(e,ui(e),r),n&&(r=tr(r,Ih|Nh|Uh,$h));for(var u=t.length;u--;)Ch(r,t[u]);return r});const wy=Object.freeze(Object.defineProperty({__proto__:null,default:Ph},Symbol.toStringTag,{value:"Module"}));function Ps(e,t,r,n){for(var u=e.length,o=r+-1;++o<u;)if(t(e[o],o,e))return o;return-1}function Lh(e){return e!==e}function Dh(e,t,r){for(var n=r-1,u=e.length;++n<u;)if(e[n]===t)return n;return-1}function zr(e,t,r){return t===t?Dh(e,t,r):Ps(e,Lh,r)}function Ls(e,t){var r=e==null?0:e.length;return!!r&&zr(e,t,0)>-1}function Ds(e,t,r){for(var n=-1,u=e==null?0:e.length;++n<u;)if(r(t,e[n]))return!0;return!1}var jh=1/0,kh=Nt&&1/ei(new Nt([,-0]))[1]==jh?function(e){return new Nt(e)}:u0,qh=200;function zt(e,t,r){var n=-1,u=Ls,o=e.length,d=!0,b=[],B=b;if(r)d=!1,u=Ds;else if(o>=qh){var E=t?null:kh(e);if(E)return ei(E);d=!1,u=Qn,B=new Lt}else B=t?[]:b;e:for(;++n<o;){var p=e[n],F=t?t(p):p;if(p=r||p!==0?p:0,d&&F===F){for(var q=B.length;q--;)if(B[q]===F)continue e;t&&B.push(F),b.push(p)}else u(B,F,r)||(B!==b&&B.push(F),b.push(p))}return b}function zh(e,t){return e&&e.length?zt(e,ht(t)):[]}const vy=Object.freeze(Object.defineProperty({__proto__:null,default:zh},Symbol.toStringTag,{value:"Module"})),Hh=/#/g,Gh=/&/g,Wh=/\//g,Zh=/=/g,di=/\+/g,Jh=/%5e/gi,Vh=/%60/gi,Kh=/%7c/gi,Yh=/%20/gi;function Xh(e){return encodeURI(""+e).replace(Kh,"|")}function Gn(e){return Xh(typeof e=="string"?e:JSON.stringify(e)).replace(di,"%2B").replace(Yh,"+").replace(Hh,"%23").replace(Gh,"%26").replace(Vh,"`").replace(Jh,"^").replace(Wh,"%2F")}function bn(e){return Gn(e).replace(Zh,"%3D")}function js(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Qh(e){return js(e.replace(di," "))}function ed(e){return js(e.replace(di," "))}function ks(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const u=Qh(n[1]);if(u==="__proto__"||u==="constructor")continue;const o=ed(n[2]||"");t[u]===void 0?t[u]=o:Array.isArray(t[u])?t[u].push(o):t[u]=[t[u],o]}return t}function td(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${bn(e)}=${Gn(r)}`).join("&"):`${bn(e)}=${Gn(t)}`:bn(e)}function rd(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>td(t,e[t])).filter(Boolean).join("&")}const nd=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,qs=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,id=/^([/\\]\s*){2,}[^/\\]/,od=/^\.?\//;function sd(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?nd.test(e):qs.test(e)||(t.acceptRelative?id.test(e):!1)}function ad(e="",t){return e.endsWith("/")}function xy(e="",t){return(ad(e)?e.slice(0,-1):e)||"/"}function ud(e="",t){return e.endsWith("/")?e:e+"/"}function fd(e=""){return e.startsWith("/")}function by(e=""){return(fd(e)?e.slice(1):e)||"/"}function Ey(e,t){const r=gi(e),n={...ks(r.search),...t};return r.search=rd(n),cd(r)}function My(e){return ks(gi(e).search)}function ld(e){return e&&e!=="/"}function _y(e,...t){let r=e||"";for(const n of t.filter(u=>ld(u)))if(r){const u=n.replace(od,"");r=ud(r)+u}else r=n;return r}function Sy(e){return pi(e,"http://")}function By(e){return pi(e,"https://")}function Ay(e){return pi(e,"")}function pi(e,t){let r=e.match(qs);return r||(r=e.match(/^\/{2,}/)),r?t+e.slice(r[0].length):t+e}const zs=Symbol.for("ufo:protocolRelative");function gi(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,F,q=""]=r;return{protocol:F.toLowerCase(),pathname:q,href:F+q,auth:"",host:"",search:"",hash:""}}if(!sd(e,{acceptRelative:!0}))return ao(e);const[,n="",u,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,d="",b=""]=o.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(b=b.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:B,search:E,hash:p}=ao(b);return{protocol:n.toLowerCase(),auth:u?u.slice(0,Math.max(0,u.length-1)):"",host:d,pathname:B,search:E,hash:p,[zs]:!n}}function ao(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function cd(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",n=e.hash||"",u=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[zs]?(e.protocol||"")+"//":"")+u+o+t+r+n}const hd=/\/([^/]+\.[^/]+)$/;function Oy(e="",t){const{pathname:r}=gi(e),n=r.match(hd);return n?n[1]:void 0}function Hs(e,t){return function(){return e.apply(t,arguments)}}const{toString:dd}=Object.prototype,{getPrototypeOf:mi}=Object,{iterator:Hr,toStringTag:Gs}=Symbol,Gr=(e=>t=>{const r=dd.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),ft=e=>(e=e.toLowerCase(),t=>Gr(t)===e),Wr=e=>t=>typeof t===e,{isArray:Kt}=Array,Ht=Wr("undefined");function lr(e){return e!==null&&!Ht(e)&&e.constructor!==null&&!Ht(e.constructor)&&Xe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ws=ft("ArrayBuffer");function pd(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ws(e.buffer),t}const gd=Wr("string"),Xe=Wr("function"),Zs=Wr("number"),cr=e=>e!==null&&typeof e=="object",md=e=>e===!0||e===!1,Mr=e=>{if(Gr(e)!=="object")return!1;const t=mi(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Gs in e)&&!(Hr in e)},yd=e=>{if(!cr(e)||lr(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},wd=ft("Date"),vd=ft("File"),xd=ft("Blob"),bd=ft("FileList"),Ed=e=>cr(e)&&Xe(e.pipe),Md=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Xe(e.append)&&((t=Gr(e))==="formdata"||t==="object"&&Xe(e.toString)&&e.toString()==="[object FormData]"))},_d=ft("URLSearchParams"),[Sd,Bd,Ad,Od]=["ReadableStream","Request","Response","Headers"].map(ft),Td=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function hr(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,u;if(typeof e!="object"&&(e=[e]),Kt(e))for(n=0,u=e.length;n<u;n++)t.call(null,e[n],n,e);else{if(lr(e))return;const o=r?Object.getOwnPropertyNames(e):Object.keys(e),d=o.length;let b;for(n=0;n<d;n++)b=o[n],t.call(null,e[b],b,e)}}function Js(e,t){if(lr(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n=r.length,u;for(;n-- >0;)if(u=r[n],t===u.toLowerCase())return u;return null}const _t=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Mt,Vs=e=>!Ht(e)&&e!==_t;function Wn(){const{caseless:e,skipUndefined:t}=Vs(this)&&this||{},r={},n=(u,o)=>{const d=e&&Js(r,o)||o;Mr(r[d])&&Mr(u)?r[d]=Wn(r[d],u):Mr(u)?r[d]=Wn({},u):Kt(u)?r[d]=u.slice():(!t||!Ht(u))&&(r[d]=u)};for(let u=0,o=arguments.length;u<o;u++)arguments[u]&&hr(arguments[u],n);return r}const Cd=(e,t,r,{allOwnKeys:n}={})=>(hr(t,(u,o)=>{r&&Xe(u)?e[o]=Hs(u,r):e[o]=u},{allOwnKeys:n}),e),$d=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Fd=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Rd=(e,t,r,n)=>{let u,o,d;const b={};if(t=t||{},e==null)return t;do{for(u=Object.getOwnPropertyNames(e),o=u.length;o-- >0;)d=u[o],(!n||n(d,e,t))&&!b[d]&&(t[d]=e[d],b[d]=!0);e=r!==!1&&mi(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Id=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Nd=e=>{if(!e)return null;if(Kt(e))return e;let t=e.length;if(!Zs(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Ud=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&mi(Uint8Array)),Pd=(e,t)=>{const n=(e&&e[Hr]).call(e);let u;for(;(u=n.next())&&!u.done;){const o=u.value;t.call(e,o[0],o[1])}},Ld=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Dd=ft("HTMLFormElement"),jd=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,u){return n.toUpperCase()+u}),uo=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),kd=ft("RegExp"),Ks=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};hr(r,(u,o)=>{let d;(d=t(u,o,e))!==!1&&(n[o]=d||u)}),Object.defineProperties(e,n)},qd=e=>{Ks(e,(t,r)=>{if(Xe(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Xe(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},zd=(e,t)=>{const r={},n=u=>{u.forEach(o=>{r[o]=!0})};return Kt(e)?n(e):n(String(e).split(t)),r},Hd=()=>{},Gd=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Wd(e){return!!(e&&Xe(e.append)&&e[Gs]==="FormData"&&e[Hr])}const Zd=e=>{const t=new Array(10),r=(n,u)=>{if(cr(n)){if(t.indexOf(n)>=0)return;if(lr(n))return n;if(!("toJSON"in n)){t[u]=n;const o=Kt(n)?[]:{};return hr(n,(d,b)=>{const B=r(d,u+1);!Ht(B)&&(o[b]=B)}),t[u]=void 0,o}}return n};return r(e,0)},Jd=ft("AsyncFunction"),Vd=e=>e&&(cr(e)||Xe(e))&&Xe(e.then)&&Xe(e.catch),Ys=((e,t)=>e?setImmediate:t?((r,n)=>(_t.addEventListener("message",({source:u,data:o})=>{u===_t&&o===r&&n.length&&n.shift()()},!1),u=>{n.push(u),_t.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Xe(_t.postMessage)),Kd=typeof queueMicrotask<"u"?queueMicrotask.bind(_t):typeof Ar<"u"&&Ar.nextTick||Ys,Yd=e=>e!=null&&Xe(e[Hr]),ee={isArray:Kt,isArrayBuffer:Ws,isBuffer:lr,isFormData:Md,isArrayBufferView:pd,isString:gd,isNumber:Zs,isBoolean:md,isObject:cr,isPlainObject:Mr,isEmptyObject:yd,isReadableStream:Sd,isRequest:Bd,isResponse:Ad,isHeaders:Od,isUndefined:Ht,isDate:wd,isFile:vd,isBlob:xd,isRegExp:kd,isFunction:Xe,isStream:Ed,isURLSearchParams:_d,isTypedArray:Ud,isFileList:bd,forEach:hr,merge:Wn,extend:Cd,trim:Td,stripBOM:$d,inherits:Fd,toFlatObject:Rd,kindOf:Gr,kindOfTest:ft,endsWith:Id,toArray:Nd,forEachEntry:Pd,matchAll:Ld,isHTMLForm:Dd,hasOwnProperty:uo,hasOwnProp:uo,reduceDescriptors:Ks,freezeMethods:qd,toObjectSet:zd,toCamelCase:jd,noop:Hd,toFiniteNumber:Gd,findKey:Js,global:_t,isContextDefined:Vs,isSpecCompliantForm:Wd,toJSONObject:Zd,isAsyncFn:Jd,isThenable:Vd,setImmediate:Ys,asap:Kd,isIterable:Yd};var yi={},Zr={};Zr.byteLength=ep;Zr.toByteArray=rp;Zr.fromByteArray=op;var ct=[],rt=[],Xd=typeof Uint8Array<"u"?Uint8Array:Array,En="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Ft=0,Qd=En.length;Ft<Qd;++Ft)ct[Ft]=En[Ft],rt[En.charCodeAt(Ft)]=Ft;rt[45]=62;rt[95]=63;function Xs(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function ep(e){var t=Xs(e),r=t[0],n=t[1];return(r+n)*3/4-n}function tp(e,t,r){return(t+r)*3/4-r}function rp(e){var t,r=Xs(e),n=r[0],u=r[1],o=new Xd(tp(e,n,u)),d=0,b=u>0?n-4:n,B;for(B=0;B<b;B+=4)t=rt[e.charCodeAt(B)]<<18|rt[e.charCodeAt(B+1)]<<12|rt[e.charCodeAt(B+2)]<<6|rt[e.charCodeAt(B+3)],o[d++]=t>>16&255,o[d++]=t>>8&255,o[d++]=t&255;return u===2&&(t=rt[e.charCodeAt(B)]<<2|rt[e.charCodeAt(B+1)]>>4,o[d++]=t&255),u===1&&(t=rt[e.charCodeAt(B)]<<10|rt[e.charCodeAt(B+1)]<<4|rt[e.charCodeAt(B+2)]>>2,o[d++]=t>>8&255,o[d++]=t&255),o}function np(e){return ct[e>>18&63]+ct[e>>12&63]+ct[e>>6&63]+ct[e&63]}function ip(e,t,r){for(var n,u=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),u.push(np(n));return u.join("")}function op(e){for(var t,r=e.length,n=r%3,u=[],o=16383,d=0,b=r-n;d<b;d+=o)u.push(ip(e,d,d+o>b?b:d+o));return n===1?(t=e[r-1],u.push(ct[t>>2]+ct[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],u.push(ct[t>>10]+ct[t>>4&63]+ct[t<<2&63]+"=")),u.join("")}var wi={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */wi.read=function(e,t,r,n,u){var o,d,b=u*8-n-1,B=(1<<b)-1,E=B>>1,p=-7,F=r?u-1:0,q=r?-1:1,Q=e[t+F];for(F+=q,o=Q&(1<<-p)-1,Q>>=-p,p+=b;p>0;o=o*256+e[t+F],F+=q,p-=8);for(d=o&(1<<-p)-1,o>>=-p,p+=n;p>0;d=d*256+e[t+F],F+=q,p-=8);if(o===0)o=1-E;else{if(o===B)return d?NaN:(Q?-1:1)*(1/0);d=d+Math.pow(2,n),o=o-E}return(Q?-1:1)*d*Math.pow(2,o-n)};wi.write=function(e,t,r,n,u,o){var d,b,B,E=o*8-u-1,p=(1<<E)-1,F=p>>1,q=u===23?Math.pow(2,-24)-Math.pow(2,-77):0,Q=n?0:o-1,W=n?1:-1,oe=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(b=isNaN(t)?1:0,d=p):(d=Math.floor(Math.log(t)/Math.LN2),t*(B=Math.pow(2,-d))<1&&(d--,B*=2),d+F>=1?t+=q/B:t+=q*Math.pow(2,1-F),t*B>=2&&(d++,B/=2),d+F>=p?(b=0,d=p):d+F>=1?(b=(t*B-1)*Math.pow(2,u),d=d+F):(b=t*Math.pow(2,F-1)*Math.pow(2,u),d=0));u>=8;e[r+Q]=b&255,Q+=W,b/=256,u-=8);for(d=d<<u|b,E+=u;E>0;e[r+Q]=d&255,Q+=W,d/=256,E-=8);e[r+Q-W]|=oe*128};/*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <https://feross.org>
5
+ * @license MIT
6
+ */(function(e){const t=Zr,r=wi,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=p,e.SlowBuffer=fe,e.INSPECT_MAX_BYTES=50;const u=2147483647;e.kMaxLength=u;const{Uint8Array:o,ArrayBuffer:d,SharedArrayBuffer:b}=globalThis;p.TYPED_ARRAY_SUPPORT=B(),!p.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function B(){try{const y=new o(1),s={foo:function(){return 42}};return Object.setPrototypeOf(s,o.prototype),Object.setPrototypeOf(y,s),y.foo()===42}catch{return!1}}Object.defineProperty(p.prototype,"parent",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.buffer}}),Object.defineProperty(p.prototype,"offset",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.byteOffset}});function E(y){if(y>u)throw new RangeError('The value "'+y+'" is invalid for option "size"');const s=new o(y);return Object.setPrototypeOf(s,p.prototype),s}function p(y,s,l){if(typeof y=="number"){if(typeof s=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return W(y)}return F(y,s,l)}p.poolSize=8192;function F(y,s,l){if(typeof y=="string")return oe(y,s);if(d.isView(y))return he(y);if(y==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y);if(Ee(y,d)||y&&Ee(y.buffer,d)||typeof b<"u"&&(Ee(y,b)||y&&Ee(y.buffer,b)))return te(y,s,l);if(typeof y=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const _=y.valueOf&&y.valueOf();if(_!=null&&_!==y)return p.from(_,s,l);const I=se(y);if(I)return I;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof y[Symbol.toPrimitive]=="function")return p.from(y[Symbol.toPrimitive]("string"),s,l);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof y)}p.from=function(y,s,l){return F(y,s,l)},Object.setPrototypeOf(p.prototype,o.prototype),Object.setPrototypeOf(p,o);function q(y){if(typeof y!="number")throw new TypeError('"size" argument must be of type number');if(y<0)throw new RangeError('The value "'+y+'" is invalid for option "size"')}function Q(y,s,l){return q(y),y<=0?E(y):s!==void 0?typeof l=="string"?E(y).fill(s,l):E(y).fill(s):E(y)}p.alloc=function(y,s,l){return Q(y,s,l)};function W(y){return q(y),E(y<0?0:ce(y)|0)}p.allocUnsafe=function(y){return W(y)},p.allocUnsafeSlow=function(y){return W(y)};function oe(y,s){if((typeof s!="string"||s==="")&&(s="utf8"),!p.isEncoding(s))throw new TypeError("Unknown encoding: "+s);const l=Y(y,s)|0;let _=E(l);const I=_.write(y,s);return I!==l&&(_=_.slice(0,I)),_}function J(y){const s=y.length<0?0:ce(y.length)|0,l=E(s);for(let _=0;_<s;_+=1)l[_]=y[_]&255;return l}function he(y){if(Ee(y,o)){const s=new o(y);return te(s.buffer,s.byteOffset,s.byteLength)}return J(y)}function te(y,s,l){if(s<0||y.byteLength<s)throw new RangeError('"offset" is outside of buffer bounds');if(y.byteLength<s+(l||0))throw new RangeError('"length" is outside of buffer bounds');let _;return s===void 0&&l===void 0?_=new o(y):l===void 0?_=new o(y,s):_=new o(y,s,l),Object.setPrototypeOf(_,p.prototype),_}function se(y){if(p.isBuffer(y)){const s=ce(y.length)|0,l=E(s);return l.length===0||y.copy(l,0,0,s),l}if(y.length!==void 0)return typeof y.length!="number"||Ne(y.length)?E(0):J(y);if(y.type==="Buffer"&&Array.isArray(y.data))return J(y.data)}function ce(y){if(y>=u)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+u.toString(16)+" bytes");return y|0}function fe(y){return+y!=y&&(y=0),p.alloc(+y)}p.isBuffer=function(s){return s!=null&&s._isBuffer===!0&&s!==p.prototype},p.compare=function(s,l){if(Ee(s,o)&&(s=p.from(s,s.offset,s.byteLength)),Ee(l,o)&&(l=p.from(l,l.offset,l.byteLength)),!p.isBuffer(s)||!p.isBuffer(l))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(s===l)return 0;let _=s.length,I=l.length;for(let Z=0,K=Math.min(_,I);Z<K;++Z)if(s[Z]!==l[Z]){_=s[Z],I=l[Z];break}return _<I?-1:I<_?1:0},p.isEncoding=function(s){switch(String(s).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},p.concat=function(s,l){if(!Array.isArray(s))throw new TypeError('"list" argument must be an Array of Buffers');if(s.length===0)return p.alloc(0);let _;if(l===void 0)for(l=0,_=0;_<s.length;++_)l+=s[_].length;const I=p.allocUnsafe(l);let Z=0;for(_=0;_<s.length;++_){let K=s[_];if(Ee(K,o))Z+K.length>I.length?(p.isBuffer(K)||(K=p.from(K)),K.copy(I,Z)):o.prototype.set.call(I,K,Z);else if(p.isBuffer(K))K.copy(I,Z);else throw new TypeError('"list" argument must be an Array of Buffers');Z+=K.length}return I};function Y(y,s){if(p.isBuffer(y))return y.length;if(d.isView(y)||Ee(y,d))return y.byteLength;if(typeof y!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof y);const l=y.length,_=arguments.length>2&&arguments[2]===!0;if(!_&&l===0)return 0;let I=!1;for(;;)switch(s){case"ascii":case"latin1":case"binary":return l;case"utf8":case"utf-8":return V(y).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l*2;case"hex":return l>>>1;case"base64":return ye(y).length;default:if(I)return _?-1:V(y).length;s=(""+s).toLowerCase(),I=!0}}p.byteLength=Y;function z(y,s,l){let _=!1;if((s===void 0||s<0)&&(s=0),s>this.length||((l===void 0||l>this.length)&&(l=this.length),l<=0)||(l>>>=0,s>>>=0,l<=s))return"";for(y||(y="utf8");;)switch(y){case"hex":return ue(this,s,l);case"utf8":case"utf-8":return T(this,s,l);case"ascii":return f(this,s,l);case"latin1":case"binary":return S(this,s,l);case"base64":return v(this,s,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pe(this,s,l);default:if(_)throw new TypeError("Unknown encoding: "+y);y=(y+"").toLowerCase(),_=!0}}p.prototype._isBuffer=!0;function ae(y,s,l){const _=y[s];y[s]=y[l],y[l]=_}p.prototype.swap16=function(){const s=this.length;if(s%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let l=0;l<s;l+=2)ae(this,l,l+1);return this},p.prototype.swap32=function(){const s=this.length;if(s%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let l=0;l<s;l+=4)ae(this,l,l+3),ae(this,l+1,l+2);return this},p.prototype.swap64=function(){const s=this.length;if(s%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let l=0;l<s;l+=8)ae(this,l,l+7),ae(this,l+1,l+6),ae(this,l+2,l+5),ae(this,l+3,l+4);return this},p.prototype.toString=function(){const s=this.length;return s===0?"":arguments.length===0?T(this,0,s):z.apply(this,arguments)},p.prototype.toLocaleString=p.prototype.toString,p.prototype.equals=function(s){if(!p.isBuffer(s))throw new TypeError("Argument must be a Buffer");return this===s?!0:p.compare(this,s)===0},p.prototype.inspect=function(){let s="";const l=e.INSPECT_MAX_BYTES;return s=this.toString("hex",0,l).replace(/(.{2})/g,"$1 ").trim(),this.length>l&&(s+=" ... "),"<Buffer "+s+">"},n&&(p.prototype[n]=p.prototype.inspect),p.prototype.compare=function(s,l,_,I,Z){if(Ee(s,o)&&(s=p.from(s,s.offset,s.byteLength)),!p.isBuffer(s))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof s);if(l===void 0&&(l=0),_===void 0&&(_=s?s.length:0),I===void 0&&(I=0),Z===void 0&&(Z=this.length),l<0||_>s.length||I<0||Z>this.length)throw new RangeError("out of range index");if(I>=Z&&l>=_)return 0;if(I>=Z)return-1;if(l>=_)return 1;if(l>>>=0,_>>>=0,I>>>=0,Z>>>=0,this===s)return 0;let K=Z-I,ge=_-l;const Ue=Math.min(K,ge),Se=this.slice(I,Z),Be=s.slice(l,_);for(let Fe=0;Fe<Ue;++Fe)if(Se[Fe]!==Be[Fe]){K=Se[Fe],ge=Be[Fe];break}return K<ge?-1:ge<K?1:0};function de(y,s,l,_,I){if(y.length===0)return-1;if(typeof l=="string"?(_=l,l=0):l>2147483647?l=2147483647:l<-2147483648&&(l=-2147483648),l=+l,Ne(l)&&(l=I?0:y.length-1),l<0&&(l=y.length+l),l>=y.length){if(I)return-1;l=y.length-1}else if(l<0)if(I)l=0;else return-1;if(typeof s=="string"&&(s=p.from(s,_)),p.isBuffer(s))return s.length===0?-1:ne(y,s,l,_,I);if(typeof s=="number")return s=s&255,typeof o.prototype.indexOf=="function"?I?o.prototype.indexOf.call(y,s,l):o.prototype.lastIndexOf.call(y,s,l):ne(y,[s],l,_,I);throw new TypeError("val must be string, number or Buffer")}function ne(y,s,l,_,I){let Z=1,K=y.length,ge=s.length;if(_!==void 0&&(_=String(_).toLowerCase(),_==="ucs2"||_==="ucs-2"||_==="utf16le"||_==="utf-16le")){if(y.length<2||s.length<2)return-1;Z=2,K/=2,ge/=2,l/=2}function Ue(Be,Fe){return Z===1?Be[Fe]:Be.readUInt16BE(Fe*Z)}let Se;if(I){let Be=-1;for(Se=l;Se<K;Se++)if(Ue(y,Se)===Ue(s,Be===-1?0:Se-Be)){if(Be===-1&&(Be=Se),Se-Be+1===ge)return Be*Z}else Be!==-1&&(Se-=Se-Be),Be=-1}else for(l+ge>K&&(l=K-ge),Se=l;Se>=0;Se--){let Be=!0;for(let Fe=0;Fe<ge;Fe++)if(Ue(y,Se+Fe)!==Ue(s,Fe)){Be=!1;break}if(Be)return Se}return-1}p.prototype.includes=function(s,l,_){return this.indexOf(s,l,_)!==-1},p.prototype.indexOf=function(s,l,_){return de(this,s,l,_,!0)},p.prototype.lastIndexOf=function(s,l,_){return de(this,s,l,_,!1)};function A(y,s,l,_){l=Number(l)||0;const I=y.length-l;_?(_=Number(_),_>I&&(_=I)):_=I;const Z=s.length;_>Z/2&&(_=Z/2);let K;for(K=0;K<_;++K){const ge=parseInt(s.substr(K*2,2),16);if(Ne(ge))return K;y[l+K]=ge}return K}function i(y,s,l,_){return we(V(s,y.length-l),y,l,_)}function h(y,s,l,_){return we(ie(s),y,l,_)}function g(y,s,l,_){return we(ye(s),y,l,_)}function m(y,s,l,_){return we(le(s,y.length-l),y,l,_)}p.prototype.write=function(s,l,_,I){if(l===void 0)I="utf8",_=this.length,l=0;else if(_===void 0&&typeof l=="string")I=l,_=this.length,l=0;else if(isFinite(l))l=l>>>0,isFinite(_)?(_=_>>>0,I===void 0&&(I="utf8")):(I=_,_=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Z=this.length-l;if((_===void 0||_>Z)&&(_=Z),s.length>0&&(_<0||l<0)||l>this.length)throw new RangeError("Attempt to write outside buffer bounds");I||(I="utf8");let K=!1;for(;;)switch(I){case"hex":return A(this,s,l,_);case"utf8":case"utf-8":return i(this,s,l,_);case"ascii":case"latin1":case"binary":return h(this,s,l,_);case"base64":return g(this,s,l,_);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return m(this,s,l,_);default:if(K)throw new TypeError("Unknown encoding: "+I);I=(""+I).toLowerCase(),K=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function v(y,s,l){return s===0&&l===y.length?t.fromByteArray(y):t.fromByteArray(y.slice(s,l))}function T(y,s,l){l=Math.min(y.length,l);const _=[];let I=s;for(;I<l;){const Z=y[I];let K=null,ge=Z>239?4:Z>223?3:Z>191?2:1;if(I+ge<=l){let Ue,Se,Be,Fe;switch(ge){case 1:Z<128&&(K=Z);break;case 2:Ue=y[I+1],(Ue&192)===128&&(Fe=(Z&31)<<6|Ue&63,Fe>127&&(K=Fe));break;case 3:Ue=y[I+1],Se=y[I+2],(Ue&192)===128&&(Se&192)===128&&(Fe=(Z&15)<<12|(Ue&63)<<6|Se&63,Fe>2047&&(Fe<55296||Fe>57343)&&(K=Fe));break;case 4:Ue=y[I+1],Se=y[I+2],Be=y[I+3],(Ue&192)===128&&(Se&192)===128&&(Be&192)===128&&(Fe=(Z&15)<<18|(Ue&63)<<12|(Se&63)<<6|Be&63,Fe>65535&&Fe<1114112&&(K=Fe))}}K===null?(K=65533,ge=1):K>65535&&(K-=65536,_.push(K>>>10&1023|55296),K=56320|K&1023),_.push(K),I+=ge}return M(_)}const $=4096;function M(y){const s=y.length;if(s<=$)return String.fromCharCode.apply(String,y);let l="",_=0;for(;_<s;)l+=String.fromCharCode.apply(String,y.slice(_,_+=$));return l}function f(y,s,l){let _="";l=Math.min(y.length,l);for(let I=s;I<l;++I)_+=String.fromCharCode(y[I]&127);return _}function S(y,s,l){let _="";l=Math.min(y.length,l);for(let I=s;I<l;++I)_+=String.fromCharCode(y[I]);return _}function ue(y,s,l){const _=y.length;(!s||s<0)&&(s=0),(!l||l<0||l>_)&&(l=_);let I="";for(let Z=s;Z<l;++Z)I+=xe[y[Z]];return I}function pe(y,s,l){const _=y.slice(s,l);let I="";for(let Z=0;Z<_.length-1;Z+=2)I+=String.fromCharCode(_[Z]+_[Z+1]*256);return I}p.prototype.slice=function(s,l){const _=this.length;s=~~s,l=l===void 0?_:~~l,s<0?(s+=_,s<0&&(s=0)):s>_&&(s=_),l<0?(l+=_,l<0&&(l=0)):l>_&&(l=_),l<s&&(l=s);const I=this.subarray(s,l);return Object.setPrototypeOf(I,p.prototype),I};function D(y,s,l){if(y%1!==0||y<0)throw new RangeError("offset is not uint");if(y+s>l)throw new RangeError("Trying to access beyond buffer length")}p.prototype.readUintLE=p.prototype.readUIntLE=function(s,l,_){s=s>>>0,l=l>>>0,_||D(s,l,this.length);let I=this[s],Z=1,K=0;for(;++K<l&&(Z*=256);)I+=this[s+K]*Z;return I},p.prototype.readUintBE=p.prototype.readUIntBE=function(s,l,_){s=s>>>0,l=l>>>0,_||D(s,l,this.length);let I=this[s+--l],Z=1;for(;l>0&&(Z*=256);)I+=this[s+--l]*Z;return I},p.prototype.readUint8=p.prototype.readUInt8=function(s,l){return s=s>>>0,l||D(s,1,this.length),this[s]},p.prototype.readUint16LE=p.prototype.readUInt16LE=function(s,l){return s=s>>>0,l||D(s,2,this.length),this[s]|this[s+1]<<8},p.prototype.readUint16BE=p.prototype.readUInt16BE=function(s,l){return s=s>>>0,l||D(s,2,this.length),this[s]<<8|this[s+1]},p.prototype.readUint32LE=p.prototype.readUInt32LE=function(s,l){return s=s>>>0,l||D(s,4,this.length),(this[s]|this[s+1]<<8|this[s+2]<<16)+this[s+3]*16777216},p.prototype.readUint32BE=p.prototype.readUInt32BE=function(s,l){return s=s>>>0,l||D(s,4,this.length),this[s]*16777216+(this[s+1]<<16|this[s+2]<<8|this[s+3])},p.prototype.readBigUInt64LE=ve(function(s){s=s>>>0,G(s,"offset");const l=this[s],_=this[s+7];(l===void 0||_===void 0)&&U(s,this.length-8);const I=l+this[++s]*2**8+this[++s]*2**16+this[++s]*2**24,Z=this[++s]+this[++s]*2**8+this[++s]*2**16+_*2**24;return BigInt(I)+(BigInt(Z)<<BigInt(32))}),p.prototype.readBigUInt64BE=ve(function(s){s=s>>>0,G(s,"offset");const l=this[s],_=this[s+7];(l===void 0||_===void 0)&&U(s,this.length-8);const I=l*2**24+this[++s]*2**16+this[++s]*2**8+this[++s],Z=this[++s]*2**24+this[++s]*2**16+this[++s]*2**8+_;return(BigInt(I)<<BigInt(32))+BigInt(Z)}),p.prototype.readIntLE=function(s,l,_){s=s>>>0,l=l>>>0,_||D(s,l,this.length);let I=this[s],Z=1,K=0;for(;++K<l&&(Z*=256);)I+=this[s+K]*Z;return Z*=128,I>=Z&&(I-=Math.pow(2,8*l)),I},p.prototype.readIntBE=function(s,l,_){s=s>>>0,l=l>>>0,_||D(s,l,this.length);let I=l,Z=1,K=this[s+--I];for(;I>0&&(Z*=256);)K+=this[s+--I]*Z;return Z*=128,K>=Z&&(K-=Math.pow(2,8*l)),K},p.prototype.readInt8=function(s,l){return s=s>>>0,l||D(s,1,this.length),this[s]&128?(255-this[s]+1)*-1:this[s]},p.prototype.readInt16LE=function(s,l){s=s>>>0,l||D(s,2,this.length);const _=this[s]|this[s+1]<<8;return _&32768?_|4294901760:_},p.prototype.readInt16BE=function(s,l){s=s>>>0,l||D(s,2,this.length);const _=this[s+1]|this[s]<<8;return _&32768?_|4294901760:_},p.prototype.readInt32LE=function(s,l){return s=s>>>0,l||D(s,4,this.length),this[s]|this[s+1]<<8|this[s+2]<<16|this[s+3]<<24},p.prototype.readInt32BE=function(s,l){return s=s>>>0,l||D(s,4,this.length),this[s]<<24|this[s+1]<<16|this[s+2]<<8|this[s+3]},p.prototype.readBigInt64LE=ve(function(s){s=s>>>0,G(s,"offset");const l=this[s],_=this[s+7];(l===void 0||_===void 0)&&U(s,this.length-8);const I=this[s+4]+this[s+5]*2**8+this[s+6]*2**16+(_<<24);return(BigInt(I)<<BigInt(32))+BigInt(l+this[++s]*2**8+this[++s]*2**16+this[++s]*2**24)}),p.prototype.readBigInt64BE=ve(function(s){s=s>>>0,G(s,"offset");const l=this[s],_=this[s+7];(l===void 0||_===void 0)&&U(s,this.length-8);const I=(l<<24)+this[++s]*2**16+this[++s]*2**8+this[++s];return(BigInt(I)<<BigInt(32))+BigInt(this[++s]*2**24+this[++s]*2**16+this[++s]*2**8+_)}),p.prototype.readFloatLE=function(s,l){return s=s>>>0,l||D(s,4,this.length),r.read(this,s,!0,23,4)},p.prototype.readFloatBE=function(s,l){return s=s>>>0,l||D(s,4,this.length),r.read(this,s,!1,23,4)},p.prototype.readDoubleLE=function(s,l){return s=s>>>0,l||D(s,8,this.length),r.read(this,s,!0,52,8)},p.prototype.readDoubleBE=function(s,l){return s=s>>>0,l||D(s,8,this.length),r.read(this,s,!1,52,8)};function me(y,s,l,_,I,Z){if(!p.isBuffer(y))throw new TypeError('"buffer" argument must be a Buffer instance');if(s>I||s<Z)throw new RangeError('"value" argument is out of bounds');if(l+_>y.length)throw new RangeError("Index out of range")}p.prototype.writeUintLE=p.prototype.writeUIntLE=function(s,l,_,I){if(s=+s,l=l>>>0,_=_>>>0,!I){const ge=Math.pow(2,8*_)-1;me(this,s,l,_,ge,0)}let Z=1,K=0;for(this[l]=s&255;++K<_&&(Z*=256);)this[l+K]=s/Z&255;return l+_},p.prototype.writeUintBE=p.prototype.writeUIntBE=function(s,l,_,I){if(s=+s,l=l>>>0,_=_>>>0,!I){const ge=Math.pow(2,8*_)-1;me(this,s,l,_,ge,0)}let Z=_-1,K=1;for(this[l+Z]=s&255;--Z>=0&&(K*=256);)this[l+Z]=s/K&255;return l+_},p.prototype.writeUint8=p.prototype.writeUInt8=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,1,255,0),this[l]=s&255,l+1},p.prototype.writeUint16LE=p.prototype.writeUInt16LE=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,2,65535,0),this[l]=s&255,this[l+1]=s>>>8,l+2},p.prototype.writeUint16BE=p.prototype.writeUInt16BE=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,2,65535,0),this[l]=s>>>8,this[l+1]=s&255,l+2},p.prototype.writeUint32LE=p.prototype.writeUInt32LE=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,4,4294967295,0),this[l+3]=s>>>24,this[l+2]=s>>>16,this[l+1]=s>>>8,this[l]=s&255,l+4},p.prototype.writeUint32BE=p.prototype.writeUInt32BE=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,4,4294967295,0),this[l]=s>>>24,this[l+1]=s>>>16,this[l+2]=s>>>8,this[l+3]=s&255,l+4};function Me(y,s,l,_,I){L(s,_,I,y,l,7);let Z=Number(s&BigInt(4294967295));y[l++]=Z,Z=Z>>8,y[l++]=Z,Z=Z>>8,y[l++]=Z,Z=Z>>8,y[l++]=Z;let K=Number(s>>BigInt(32)&BigInt(4294967295));return y[l++]=K,K=K>>8,y[l++]=K,K=K>>8,y[l++]=K,K=K>>8,y[l++]=K,l}function Oe(y,s,l,_,I){L(s,_,I,y,l,7);let Z=Number(s&BigInt(4294967295));y[l+7]=Z,Z=Z>>8,y[l+6]=Z,Z=Z>>8,y[l+5]=Z,Z=Z>>8,y[l+4]=Z;let K=Number(s>>BigInt(32)&BigInt(4294967295));return y[l+3]=K,K=K>>8,y[l+2]=K,K=K>>8,y[l+1]=K,K=K>>8,y[l]=K,l+8}p.prototype.writeBigUInt64LE=ve(function(s,l=0){return Me(this,s,l,BigInt(0),BigInt("0xffffffffffffffff"))}),p.prototype.writeBigUInt64BE=ve(function(s,l=0){return Oe(this,s,l,BigInt(0),BigInt("0xffffffffffffffff"))}),p.prototype.writeIntLE=function(s,l,_,I){if(s=+s,l=l>>>0,!I){const Ue=Math.pow(2,8*_-1);me(this,s,l,_,Ue-1,-Ue)}let Z=0,K=1,ge=0;for(this[l]=s&255;++Z<_&&(K*=256);)s<0&&ge===0&&this[l+Z-1]!==0&&(ge=1),this[l+Z]=(s/K>>0)-ge&255;return l+_},p.prototype.writeIntBE=function(s,l,_,I){if(s=+s,l=l>>>0,!I){const Ue=Math.pow(2,8*_-1);me(this,s,l,_,Ue-1,-Ue)}let Z=_-1,K=1,ge=0;for(this[l+Z]=s&255;--Z>=0&&(K*=256);)s<0&&ge===0&&this[l+Z+1]!==0&&(ge=1),this[l+Z]=(s/K>>0)-ge&255;return l+_},p.prototype.writeInt8=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,1,127,-128),s<0&&(s=255+s+1),this[l]=s&255,l+1},p.prototype.writeInt16LE=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,2,32767,-32768),this[l]=s&255,this[l+1]=s>>>8,l+2},p.prototype.writeInt16BE=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,2,32767,-32768),this[l]=s>>>8,this[l+1]=s&255,l+2},p.prototype.writeInt32LE=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,4,2147483647,-2147483648),this[l]=s&255,this[l+1]=s>>>8,this[l+2]=s>>>16,this[l+3]=s>>>24,l+4},p.prototype.writeInt32BE=function(s,l,_){return s=+s,l=l>>>0,_||me(this,s,l,4,2147483647,-2147483648),s<0&&(s=4294967295+s+1),this[l]=s>>>24,this[l+1]=s>>>16,this[l+2]=s>>>8,this[l+3]=s&255,l+4},p.prototype.writeBigInt64LE=ve(function(s,l=0){return Me(this,s,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),p.prototype.writeBigInt64BE=ve(function(s,l=0){return Oe(this,s,l,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function $e(y,s,l,_,I,Z){if(l+_>y.length)throw new RangeError("Index out of range");if(l<0)throw new RangeError("Index out of range")}function _e(y,s,l,_,I){return s=+s,l=l>>>0,I||$e(y,s,l,4),r.write(y,s,l,_,23,4),l+4}p.prototype.writeFloatLE=function(s,l,_){return _e(this,s,l,!0,_)},p.prototype.writeFloatBE=function(s,l,_){return _e(this,s,l,!1,_)};function x(y,s,l,_,I){return s=+s,l=l>>>0,I||$e(y,s,l,8),r.write(y,s,l,_,52,8),l+8}p.prototype.writeDoubleLE=function(s,l,_){return x(this,s,l,!0,_)},p.prototype.writeDoubleBE=function(s,l,_){return x(this,s,l,!1,_)},p.prototype.copy=function(s,l,_,I){if(!p.isBuffer(s))throw new TypeError("argument should be a Buffer");if(_||(_=0),!I&&I!==0&&(I=this.length),l>=s.length&&(l=s.length),l||(l=0),I>0&&I<_&&(I=_),I===_||s.length===0||this.length===0)return 0;if(l<0)throw new RangeError("targetStart out of bounds");if(_<0||_>=this.length)throw new RangeError("Index out of range");if(I<0)throw new RangeError("sourceEnd out of bounds");I>this.length&&(I=this.length),s.length-l<I-_&&(I=s.length-l+_);const Z=I-_;return this===s&&typeof o.prototype.copyWithin=="function"?this.copyWithin(l,_,I):o.prototype.set.call(s,this.subarray(_,I),l),Z},p.prototype.fill=function(s,l,_,I){if(typeof s=="string"){if(typeof l=="string"?(I=l,l=0,_=this.length):typeof _=="string"&&(I=_,_=this.length),I!==void 0&&typeof I!="string")throw new TypeError("encoding must be a string");if(typeof I=="string"&&!p.isEncoding(I))throw new TypeError("Unknown encoding: "+I);if(s.length===1){const K=s.charCodeAt(0);(I==="utf8"&&K<128||I==="latin1")&&(s=K)}}else typeof s=="number"?s=s&255:typeof s=="boolean"&&(s=Number(s));if(l<0||this.length<l||this.length<_)throw new RangeError("Out of range index");if(_<=l)return this;l=l>>>0,_=_===void 0?this.length:_>>>0,s||(s=0);let Z;if(typeof s=="number")for(Z=l;Z<_;++Z)this[Z]=s;else{const K=p.isBuffer(s)?s:p.from(s,I),ge=K.length;if(ge===0)throw new TypeError('The value "'+s+'" is invalid for argument "value"');for(Z=0;Z<_-l;++Z)this[Z+l]=K[Z%ge]}return this};const C={};function R(y,s,l){C[y]=class extends l{constructor(){super(),Object.defineProperty(this,"message",{value:s.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${y}]`,this.stack,delete this.name}get code(){return y}set code(I){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:I,writable:!0})}toString(){return`${this.name} [${y}]: ${this.message}`}}}R("ERR_BUFFER_OUT_OF_BOUNDS",function(y){return y?`${y} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),R("ERR_INVALID_ARG_TYPE",function(y,s){return`The "${y}" argument must be of type number. Received type ${typeof s}`},TypeError),R("ERR_OUT_OF_RANGE",function(y,s,l){let _=`The value of "${y}" is out of range.`,I=l;return Number.isInteger(l)&&Math.abs(l)>2**32?I=k(String(l)):typeof l=="bigint"&&(I=String(l),(l>BigInt(2)**BigInt(32)||l<-(BigInt(2)**BigInt(32)))&&(I=k(I)),I+="n"),_+=` It must be ${s}. Received ${I}`,_},RangeError);function k(y){let s="",l=y.length;const _=y[0]==="-"?1:0;for(;l>=_+4;l-=3)s=`_${y.slice(l-3,l)}${s}`;return`${y.slice(0,l)}${s}`}function j(y,s,l){G(s,"offset"),(y[s]===void 0||y[s+l]===void 0)&&U(s,y.length-(l+1))}function L(y,s,l,_,I,Z){if(y>l||y<s){const K=typeof s=="bigint"?"n":"";let ge;throw s===0||s===BigInt(0)?ge=`>= 0${K} and < 2${K} ** ${(Z+1)*8}${K}`:ge=`>= -(2${K} ** ${(Z+1)*8-1}${K}) and < 2 ** ${(Z+1)*8-1}${K}`,new C.ERR_OUT_OF_RANGE("value",ge,y)}j(_,I,Z)}function G(y,s){if(typeof y!="number")throw new C.ERR_INVALID_ARG_TYPE(s,"number",y)}function U(y,s,l){throw Math.floor(y)!==y?(G(y,l),new C.ERR_OUT_OF_RANGE("offset","an integer",y)):s<0?new C.ERR_BUFFER_OUT_OF_BOUNDS:new C.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${s}`,y)}const P=/[^+/0-9A-Za-z-_]/g;function H(y){if(y=y.split("=")[0],y=y.trim().replace(P,""),y.length<2)return"";for(;y.length%4!==0;)y=y+"=";return y}function V(y,s){s=s||1/0;let l;const _=y.length;let I=null;const Z=[];for(let K=0;K<_;++K){if(l=y.charCodeAt(K),l>55295&&l<57344){if(!I){if(l>56319){(s-=3)>-1&&Z.push(239,191,189);continue}else if(K+1===_){(s-=3)>-1&&Z.push(239,191,189);continue}I=l;continue}if(l<56320){(s-=3)>-1&&Z.push(239,191,189),I=l;continue}l=(I-55296<<10|l-56320)+65536}else I&&(s-=3)>-1&&Z.push(239,191,189);if(I=null,l<128){if((s-=1)<0)break;Z.push(l)}else if(l<2048){if((s-=2)<0)break;Z.push(l>>6|192,l&63|128)}else if(l<65536){if((s-=3)<0)break;Z.push(l>>12|224,l>>6&63|128,l&63|128)}else if(l<1114112){if((s-=4)<0)break;Z.push(l>>18|240,l>>12&63|128,l>>6&63|128,l&63|128)}else throw new Error("Invalid code point")}return Z}function ie(y){const s=[];for(let l=0;l<y.length;++l)s.push(y.charCodeAt(l)&255);return s}function le(y,s){let l,_,I;const Z=[];for(let K=0;K<y.length&&!((s-=2)<0);++K)l=y.charCodeAt(K),_=l>>8,I=l%256,Z.push(I),Z.push(_);return Z}function ye(y){return t.toByteArray(H(y))}function we(y,s,l,_){let I;for(I=0;I<_&&!(I+l>=s.length||I>=y.length);++I)s[I+l]=y[I];return I}function Ee(y,s){return y instanceof s||y!=null&&y.constructor!=null&&y.constructor.name!=null&&y.constructor.name===s.name}function Ne(y){return y!==y}const xe=function(){const y="0123456789abcdef",s=new Array(256);for(let l=0;l<16;++l){const _=l*16;for(let I=0;I<16;++I)s[_+I]=y[l]+y[I]}return s}();function ve(y){return typeof BigInt>"u"?Le:y}function Le(){throw new Error("BigInt not supported")}})(yi);const sp=yi.Buffer,Cy=yi.Buffer;function Ce(e,t,r,n,u){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),u&&(this.response=u,this.status=u.status?u.status:null)}ee.inherits(Ce,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ee.toJSONObject(this.config),code:this.code,status:this.status}}});const Qs=Ce.prototype,ea={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ea[e]={value:e}});Object.defineProperties(Ce,ea);Object.defineProperty(Qs,"isAxiosError",{value:!0});Ce.from=(e,t,r,n,u,o)=>{const d=Object.create(Qs);ee.toFlatObject(e,d,function(p){return p!==Error.prototype},E=>E!=="isAxiosError");const b=e&&e.message?e.message:"Error",B=t==null&&e?e.code:t;return Ce.call(d,b,B,r,n,u),e&&d.cause==null&&Object.defineProperty(d,"cause",{value:e,configurable:!0}),d.name=e&&e.name||"Error",o&&Object.assign(d,o),d};const ap=null;function Zn(e){return ee.isPlainObject(e)||ee.isArray(e)}function ta(e){return ee.endsWith(e,"[]")?e.slice(0,-2):e}function fo(e,t,r){return e?e.concat(t).map(function(u,o){return u=ta(u),!r&&o?"["+u+"]":u}).join(r?".":""):t}function up(e){return ee.isArray(e)&&!e.some(Zn)}const fp=ee.toFlatObject(ee,{},null,function(t){return/^is[A-Z]/.test(t)});function Jr(e,t,r){if(!ee.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=ee.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(oe,J){return!ee.isUndefined(J[oe])});const n=r.metaTokens,u=r.visitor||p,o=r.dots,d=r.indexes,B=(r.Blob||typeof Blob<"u"&&Blob)&&ee.isSpecCompliantForm(t);if(!ee.isFunction(u))throw new TypeError("visitor must be a function");function E(W){if(W===null)return"";if(ee.isDate(W))return W.toISOString();if(ee.isBoolean(W))return W.toString();if(!B&&ee.isBlob(W))throw new Ce("Blob is not supported. Use a Buffer instead.");return ee.isArrayBuffer(W)||ee.isTypedArray(W)?B&&typeof Blob=="function"?new Blob([W]):sp.from(W):W}function p(W,oe,J){let he=W;if(W&&!J&&typeof W=="object"){if(ee.endsWith(oe,"{}"))oe=n?oe:oe.slice(0,-2),W=JSON.stringify(W);else if(ee.isArray(W)&&up(W)||(ee.isFileList(W)||ee.endsWith(oe,"[]"))&&(he=ee.toArray(W)))return oe=ta(oe),he.forEach(function(se,ce){!(ee.isUndefined(se)||se===null)&&t.append(d===!0?fo([oe],ce,o):d===null?oe:oe+"[]",E(se))}),!1}return Zn(W)?!0:(t.append(fo(J,oe,o),E(W)),!1)}const F=[],q=Object.assign(fp,{defaultVisitor:p,convertValue:E,isVisitable:Zn});function Q(W,oe){if(!ee.isUndefined(W)){if(F.indexOf(W)!==-1)throw Error("Circular reference detected in "+oe.join("."));F.push(W),ee.forEach(W,function(he,te){(!(ee.isUndefined(he)||he===null)&&u.call(t,he,ee.isString(te)?te.trim():te,oe,q))===!0&&Q(he,oe?oe.concat(te):[te])}),F.pop()}}if(!ee.isObject(e))throw new TypeError("data must be an object");return Q(e),t}function lo(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function vi(e,t){this._pairs=[],e&&Jr(e,this,t)}const ra=vi.prototype;ra.append=function(t,r){this._pairs.push([t,r])};ra.toString=function(t){const r=t?function(n){return t.call(this,n,lo)}:lo;return this._pairs.map(function(u){return r(u[0])+"="+r(u[1])},"").join("&")};function lp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function na(e,t,r){if(!t)return e;const n=r&&r.encode||lp;ee.isFunction(r)&&(r={serialize:r});const u=r&&r.serialize;let o;if(u?o=u(t,r):o=ee.isURLSearchParams(t)?t.toString():new vi(t,r).toString(n),o){const d=e.indexOf("#");d!==-1&&(e=e.slice(0,d)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class co{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){ee.forEach(this.handlers,function(n){n!==null&&t(n)})}}const ia={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},cp=typeof URLSearchParams<"u"?URLSearchParams:vi,hp=typeof FormData<"u"?FormData:null,dp=typeof Blob<"u"?Blob:null,pp={isBrowser:!0,classes:{URLSearchParams:cp,FormData:hp,Blob:dp},protocols:["http","https","file","blob","url","data"]},xi=typeof window<"u"&&typeof document<"u",Jn=typeof navigator=="object"&&navigator||void 0,gp=xi&&(!Jn||["ReactNative","NativeScript","NS"].indexOf(Jn.product)<0),mp=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",yp=xi&&window.location.href||"http://localhost",wp=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:xi,hasStandardBrowserEnv:gp,hasStandardBrowserWebWorkerEnv:mp,navigator:Jn,origin:yp},Symbol.toStringTag,{value:"Module"})),Ye={...wp,...pp};function vp(e,t){return Jr(e,new Ye.classes.URLSearchParams,{visitor:function(r,n,u,o){return Ye.isNode&&ee.isBuffer(r)?(this.append(n,r.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}function xp(e){return ee.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function bp(e){const t={},r=Object.keys(e);let n;const u=r.length;let o;for(n=0;n<u;n++)o=r[n],t[o]=e[o];return t}function oa(e){function t(r,n,u,o){let d=r[o++];if(d==="__proto__")return!0;const b=Number.isFinite(+d),B=o>=r.length;return d=!d&&ee.isArray(u)?u.length:d,B?(ee.hasOwnProp(u,d)?u[d]=[u[d],n]:u[d]=n,!b):((!u[d]||!ee.isObject(u[d]))&&(u[d]=[]),t(r,n,u[d],o)&&ee.isArray(u[d])&&(u[d]=bp(u[d])),!b)}if(ee.isFormData(e)&&ee.isFunction(e.entries)){const r={};return ee.forEachEntry(e,(n,u)=>{t(xp(n),u,r,0)}),r}return null}function Ep(e,t,r){if(ee.isString(e))try{return(t||JSON.parse)(e),ee.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const dr={transitional:ia,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",u=n.indexOf("application/json")>-1,o=ee.isObject(t);if(o&&ee.isHTMLForm(t)&&(t=new FormData(t)),ee.isFormData(t))return u?JSON.stringify(oa(t)):t;if(ee.isArrayBuffer(t)||ee.isBuffer(t)||ee.isStream(t)||ee.isFile(t)||ee.isBlob(t)||ee.isReadableStream(t))return t;if(ee.isArrayBufferView(t))return t.buffer;if(ee.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let b;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return vp(t,this.formSerializer).toString();if((b=ee.isFileList(t))||n.indexOf("multipart/form-data")>-1){const B=this.env&&this.env.FormData;return Jr(b?{"files[]":t}:t,B&&new B,this.formSerializer)}}return o||u?(r.setContentType("application/json",!1),Ep(t)):t}],transformResponse:[function(t){const r=this.transitional||dr.transitional,n=r&&r.forcedJSONParsing,u=this.responseType==="json";if(ee.isResponse(t)||ee.isReadableStream(t))return t;if(t&&ee.isString(t)&&(n&&!this.responseType||u)){const d=!(r&&r.silentJSONParsing)&&u;try{return JSON.parse(t,this.parseReviver)}catch(b){if(d)throw b.name==="SyntaxError"?Ce.from(b,Ce.ERR_BAD_RESPONSE,this,null,this.response):b}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ye.classes.FormData,Blob:Ye.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ee.forEach(["delete","get","head","post","put","patch"],e=>{dr.headers[e]={}});const Mp=ee.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),_p=e=>{const t={};let r,n,u;return e&&e.split(`
7
+ `).forEach(function(d){u=d.indexOf(":"),r=d.substring(0,u).trim().toLowerCase(),n=d.substring(u+1).trim(),!(!r||t[r]&&Mp[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},ho=Symbol("internals");function Qt(e){return e&&String(e).trim().toLowerCase()}function _r(e){return e===!1||e==null?e:ee.isArray(e)?e.map(_r):String(e)}function Sp(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const Bp=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Mn(e,t,r,n,u){if(ee.isFunction(n))return n.call(this,t,r);if(u&&(t=r),!!ee.isString(t)){if(ee.isString(n))return t.indexOf(n)!==-1;if(ee.isRegExp(n))return n.test(t)}}function Ap(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Op(e,t){const r=ee.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(u,o,d){return this[n].call(this,t,u,o,d)},configurable:!0})})}let Qe=class{constructor(t){t&&this.set(t)}set(t,r,n){const u=this;function o(b,B,E){const p=Qt(B);if(!p)throw new Error("header name must be a non-empty string");const F=ee.findKey(u,p);(!F||u[F]===void 0||E===!0||E===void 0&&u[F]!==!1)&&(u[F||B]=_r(b))}const d=(b,B)=>ee.forEach(b,(E,p)=>o(E,p,B));if(ee.isPlainObject(t)||t instanceof this.constructor)d(t,r);else if(ee.isString(t)&&(t=t.trim())&&!Bp(t))d(_p(t),r);else if(ee.isObject(t)&&ee.isIterable(t)){let b={},B,E;for(const p of t){if(!ee.isArray(p))throw TypeError("Object iterator must return a key-value pair");b[E=p[0]]=(B=b[E])?ee.isArray(B)?[...B,p[1]]:[B,p[1]]:p[1]}d(b,r)}else t!=null&&o(r,t,n);return this}get(t,r){if(t=Qt(t),t){const n=ee.findKey(this,t);if(n){const u=this[n];if(!r)return u;if(r===!0)return Sp(u);if(ee.isFunction(r))return r.call(this,u,n);if(ee.isRegExp(r))return r.exec(u);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Qt(t),t){const n=ee.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Mn(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let u=!1;function o(d){if(d=Qt(d),d){const b=ee.findKey(n,d);b&&(!r||Mn(n,n[b],b,r))&&(delete n[b],u=!0)}}return ee.isArray(t)?t.forEach(o):o(t),u}clear(t){const r=Object.keys(this);let n=r.length,u=!1;for(;n--;){const o=r[n];(!t||Mn(this,this[o],o,t,!0))&&(delete this[o],u=!0)}return u}normalize(t){const r=this,n={};return ee.forEach(this,(u,o)=>{const d=ee.findKey(n,o);if(d){r[d]=_r(u),delete r[o];return}const b=t?Ap(o):String(o).trim();b!==o&&delete r[o],r[b]=_r(u),n[b]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return ee.forEach(this,(n,u)=>{n!=null&&n!==!1&&(r[u]=t&&ee.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
8
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(u=>n.set(u)),n}static accessor(t){const n=(this[ho]=this[ho]={accessors:{}}).accessors,u=this.prototype;function o(d){const b=Qt(d);n[b]||(Op(u,d),n[b]=!0)}return ee.isArray(t)?t.forEach(o):o(t),this}};Qe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ee.reduceDescriptors(Qe.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});ee.freezeMethods(Qe);function _n(e,t){const r=this||dr,n=t||r,u=Qe.from(n.headers);let o=n.data;return ee.forEach(e,function(b){o=b.call(r,o,u.normalize(),t?t.status:void 0)}),u.normalize(),o}function sa(e){return!!(e&&e.__CANCEL__)}function Yt(e,t,r){Ce.call(this,e??"canceled",Ce.ERR_CANCELED,t,r),this.name="CanceledError"}ee.inherits(Yt,Ce,{__CANCEL__:!0});function aa(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Ce("Request failed with status code "+r.status,[Ce.ERR_BAD_REQUEST,Ce.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Tp(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Cp(e,t){e=e||10;const r=new Array(e),n=new Array(e);let u=0,o=0,d;return t=t!==void 0?t:1e3,function(B){const E=Date.now(),p=n[o];d||(d=E),r[u]=B,n[u]=E;let F=o,q=0;for(;F!==u;)q+=r[F++],F=F%e;if(u=(u+1)%e,u===o&&(o=(o+1)%e),E-d<t)return;const Q=p&&E-p;return Q?Math.round(q*1e3/Q):void 0}}function $p(e,t){let r=0,n=1e3/t,u,o;const d=(E,p=Date.now())=>{r=p,u=null,o&&(clearTimeout(o),o=null),e(...E)};return[(...E)=>{const p=Date.now(),F=p-r;F>=n?d(E,p):(u=E,o||(o=setTimeout(()=>{o=null,d(u)},n-F)))},()=>u&&d(u)]}const Cr=(e,t,r=3)=>{let n=0;const u=Cp(50,250);return $p(o=>{const d=o.loaded,b=o.lengthComputable?o.total:void 0,B=d-n,E=u(B),p=d<=b;n=d;const F={loaded:d,total:b,progress:b?d/b:void 0,bytes:B,rate:E||void 0,estimated:E&&b&&p?(b-d)/E:void 0,event:o,lengthComputable:b!=null,[t?"download":"upload"]:!0};e(F)},r)},po=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},go=e=>(...t)=>ee.asap(()=>e(...t)),Fp=Ye.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Ye.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Ye.origin),Ye.navigator&&/(msie|trident)/i.test(Ye.navigator.userAgent)):()=>!0,Rp=Ye.hasStandardBrowserEnv?{write(e,t,r,n,u,o,d){if(typeof document>"u")return;const b=[`${e}=${encodeURIComponent(t)}`];ee.isNumber(r)&&b.push(`expires=${new Date(r).toUTCString()}`),ee.isString(n)&&b.push(`path=${n}`),ee.isString(u)&&b.push(`domain=${u}`),o===!0&&b.push("secure"),ee.isString(d)&&b.push(`SameSite=${d}`),document.cookie=b.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Ip(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Np(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function ua(e,t,r){let n=!Ip(t);return e&&(n||r==!1)?Np(e,t):t}const mo=e=>e instanceof Qe?{...e}:e;function At(e,t){t=t||{};const r={};function n(E,p,F,q){return ee.isPlainObject(E)&&ee.isPlainObject(p)?ee.merge.call({caseless:q},E,p):ee.isPlainObject(p)?ee.merge({},p):ee.isArray(p)?p.slice():p}function u(E,p,F,q){if(ee.isUndefined(p)){if(!ee.isUndefined(E))return n(void 0,E,F,q)}else return n(E,p,F,q)}function o(E,p){if(!ee.isUndefined(p))return n(void 0,p)}function d(E,p){if(ee.isUndefined(p)){if(!ee.isUndefined(E))return n(void 0,E)}else return n(void 0,p)}function b(E,p,F){if(F in t)return n(E,p);if(F in e)return n(void 0,E)}const B={url:o,method:o,data:o,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,withXSRFToken:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,beforeRedirect:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:b,headers:(E,p,F)=>u(mo(E),mo(p),F,!0)};return ee.forEach(Object.keys({...e,...t}),function(p){const F=B[p]||u,q=F(e[p],t[p],p);ee.isUndefined(q)&&F!==b||(r[p]=q)}),r}const fa=e=>{const t=At({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:u,xsrfCookieName:o,headers:d,auth:b}=t;if(t.headers=d=Qe.from(d),t.url=na(ua(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),b&&d.set("Authorization","Basic "+btoa((b.username||"")+":"+(b.password?unescape(encodeURIComponent(b.password)):""))),ee.isFormData(r)){if(Ye.hasStandardBrowserEnv||Ye.hasStandardBrowserWebWorkerEnv)d.setContentType(void 0);else if(ee.isFunction(r.getHeaders)){const B=r.getHeaders(),E=["content-type","content-length"];Object.entries(B).forEach(([p,F])=>{E.includes(p.toLowerCase())&&d.set(p,F)})}}if(Ye.hasStandardBrowserEnv&&(n&&ee.isFunction(n)&&(n=n(t)),n||n!==!1&&Fp(t.url))){const B=u&&o&&Rp.read(o);B&&d.set(u,B)}return t},Up=typeof XMLHttpRequest<"u",Pp=Up&&function(e){return new Promise(function(r,n){const u=fa(e);let o=u.data;const d=Qe.from(u.headers).normalize();let{responseType:b,onUploadProgress:B,onDownloadProgress:E}=u,p,F,q,Q,W;function oe(){Q&&Q(),W&&W(),u.cancelToken&&u.cancelToken.unsubscribe(p),u.signal&&u.signal.removeEventListener("abort",p)}let J=new XMLHttpRequest;J.open(u.method.toUpperCase(),u.url,!0),J.timeout=u.timeout;function he(){if(!J)return;const se=Qe.from("getAllResponseHeaders"in J&&J.getAllResponseHeaders()),fe={data:!b||b==="text"||b==="json"?J.responseText:J.response,status:J.status,statusText:J.statusText,headers:se,config:e,request:J};aa(function(z){r(z),oe()},function(z){n(z),oe()},fe),J=null}"onloadend"in J?J.onloadend=he:J.onreadystatechange=function(){!J||J.readyState!==4||J.status===0&&!(J.responseURL&&J.responseURL.indexOf("file:")===0)||setTimeout(he)},J.onabort=function(){J&&(n(new Ce("Request aborted",Ce.ECONNABORTED,e,J)),J=null)},J.onerror=function(ce){const fe=ce&&ce.message?ce.message:"Network Error",Y=new Ce(fe,Ce.ERR_NETWORK,e,J);Y.event=ce||null,n(Y),J=null},J.ontimeout=function(){let ce=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded";const fe=u.transitional||ia;u.timeoutErrorMessage&&(ce=u.timeoutErrorMessage),n(new Ce(ce,fe.clarifyTimeoutError?Ce.ETIMEDOUT:Ce.ECONNABORTED,e,J)),J=null},o===void 0&&d.setContentType(null),"setRequestHeader"in J&&ee.forEach(d.toJSON(),function(ce,fe){J.setRequestHeader(fe,ce)}),ee.isUndefined(u.withCredentials)||(J.withCredentials=!!u.withCredentials),b&&b!=="json"&&(J.responseType=u.responseType),E&&([q,W]=Cr(E,!0),J.addEventListener("progress",q)),B&&J.upload&&([F,Q]=Cr(B),J.upload.addEventListener("progress",F),J.upload.addEventListener("loadend",Q)),(u.cancelToken||u.signal)&&(p=se=>{J&&(n(!se||se.type?new Yt(null,e,J):se),J.abort(),J=null)},u.cancelToken&&u.cancelToken.subscribe(p),u.signal&&(u.signal.aborted?p():u.signal.addEventListener("abort",p)));const te=Tp(u.url);if(te&&Ye.protocols.indexOf(te)===-1){n(new Ce("Unsupported protocol "+te+":",Ce.ERR_BAD_REQUEST,e));return}J.send(o||null)})},Lp=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,u;const o=function(E){if(!u){u=!0,b();const p=E instanceof Error?E:this.reason;n.abort(p instanceof Ce?p:new Yt(p instanceof Error?p.message:p))}};let d=t&&setTimeout(()=>{d=null,o(new Ce(`timeout ${t} of ms exceeded`,Ce.ETIMEDOUT))},t);const b=()=>{e&&(d&&clearTimeout(d),d=null,e.forEach(E=>{E.unsubscribe?E.unsubscribe(o):E.removeEventListener("abort",o)}),e=null)};e.forEach(E=>E.addEventListener("abort",o));const{signal:B}=n;return B.unsubscribe=()=>ee.asap(b),B}},Dp=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,u;for(;n<r;)u=n+t,yield e.slice(n,u),n=u},jp=async function*(e,t){for await(const r of kp(e))yield*Dp(r,t)},kp=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},yo=(e,t,r,n)=>{const u=jp(e,t);let o=0,d,b=B=>{d||(d=!0,n&&n(B))};return new ReadableStream({async pull(B){try{const{done:E,value:p}=await u.next();if(E){b(),B.close();return}let F=p.byteLength;if(r){let q=o+=F;r(q)}B.enqueue(new Uint8Array(p))}catch(E){throw b(E),E}},cancel(B){return b(B),u.return()}},{highWaterMark:2})},wo=64*1024,{isFunction:wr}=ee,qp=(({Request:e,Response:t})=>({Request:e,Response:t}))(ee.global),{ReadableStream:vo,TextEncoder:xo}=ee.global,bo=(e,...t)=>{try{return!!e(...t)}catch{return!1}},zp=e=>{e=ee.merge.call({skipUndefined:!0},qp,e);const{fetch:t,Request:r,Response:n}=e,u=t?wr(t):typeof fetch=="function",o=wr(r),d=wr(n);if(!u)return!1;const b=u&&wr(vo),B=u&&(typeof xo=="function"?(W=>oe=>W.encode(oe))(new xo):async W=>new Uint8Array(await new r(W).arrayBuffer())),E=o&&b&&bo(()=>{let W=!1;const oe=new r(Ye.origin,{body:new vo,method:"POST",get duplex(){return W=!0,"half"}}).headers.has("Content-Type");return W&&!oe}),p=d&&b&&bo(()=>ee.isReadableStream(new n("").body)),F={stream:p&&(W=>W.body)};u&&["text","arrayBuffer","blob","formData","stream"].forEach(W=>{!F[W]&&(F[W]=(oe,J)=>{let he=oe&&oe[W];if(he)return he.call(oe);throw new Ce(`Response type '${W}' is not supported`,Ce.ERR_NOT_SUPPORT,J)})});const q=async W=>{if(W==null)return 0;if(ee.isBlob(W))return W.size;if(ee.isSpecCompliantForm(W))return(await new r(Ye.origin,{method:"POST",body:W}).arrayBuffer()).byteLength;if(ee.isArrayBufferView(W)||ee.isArrayBuffer(W))return W.byteLength;if(ee.isURLSearchParams(W)&&(W=W+""),ee.isString(W))return(await B(W)).byteLength},Q=async(W,oe)=>{const J=ee.toFiniteNumber(W.getContentLength());return J??q(oe)};return async W=>{let{url:oe,method:J,data:he,signal:te,cancelToken:se,timeout:ce,onDownloadProgress:fe,onUploadProgress:Y,responseType:z,headers:ae,withCredentials:de="same-origin",fetchOptions:ne}=fa(W),A=t||fetch;z=z?(z+"").toLowerCase():"text";let i=Lp([te,se&&se.toAbortSignal()],ce),h=null;const g=i&&i.unsubscribe&&(()=>{i.unsubscribe()});let m;try{if(Y&&E&&J!=="get"&&J!=="head"&&(m=await Q(ae,he))!==0){let S=new r(oe,{method:"POST",body:he,duplex:"half"}),ue;if(ee.isFormData(he)&&(ue=S.headers.get("content-type"))&&ae.setContentType(ue),S.body){const[pe,D]=po(m,Cr(go(Y)));he=yo(S.body,wo,pe,D)}}ee.isString(de)||(de=de?"include":"omit");const v=o&&"credentials"in r.prototype,T={...ne,signal:i,method:J.toUpperCase(),headers:ae.normalize().toJSON(),body:he,duplex:"half",credentials:v?de:void 0};h=o&&new r(oe,T);let $=await(o?A(h,ne):A(oe,T));const M=p&&(z==="stream"||z==="response");if(p&&(fe||M&&g)){const S={};["status","statusText","headers"].forEach(me=>{S[me]=$[me]});const ue=ee.toFiniteNumber($.headers.get("content-length")),[pe,D]=fe&&po(ue,Cr(go(fe),!0))||[];$=new n(yo($.body,wo,pe,()=>{D&&D(),g&&g()}),S)}z=z||"text";let f=await F[ee.findKey(F,z)||"text"]($,W);return!M&&g&&g(),await new Promise((S,ue)=>{aa(S,ue,{data:f,headers:Qe.from($.headers),status:$.status,statusText:$.statusText,config:W,request:h})})}catch(v){throw g&&g(),v&&v.name==="TypeError"&&/Load failed|fetch/i.test(v.message)?Object.assign(new Ce("Network Error",Ce.ERR_NETWORK,W,h),{cause:v.cause||v}):Ce.from(v,v&&v.code,W,h)}}},Hp=new Map,la=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:u}=t,o=[n,u,r];let d=o.length,b=d,B,E,p=Hp;for(;b--;)B=o[b],E=p.get(B),E===void 0&&p.set(B,E=b?new Map:zp(t)),p=E;return E};la();const bi={http:ap,xhr:Pp,fetch:{get:la}};ee.forEach(bi,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Eo=e=>`- ${e}`,Gp=e=>ee.isFunction(e)||e===null||e===!1;function Wp(e,t){e=ee.isArray(e)?e:[e];const{length:r}=e;let n,u;const o={};for(let d=0;d<r;d++){n=e[d];let b;if(u=n,!Gp(n)&&(u=bi[(b=String(n)).toLowerCase()],u===void 0))throw new Ce(`Unknown adapter '${b}'`);if(u&&(ee.isFunction(u)||(u=u.get(t))))break;o[b||"#"+d]=u}if(!u){const d=Object.entries(o).map(([B,E])=>`adapter ${B} `+(E===!1?"is not supported by the environment":"is not available in the build"));let b=r?d.length>1?`since :
9
+ `+d.map(Eo).join(`
10
+ `):" "+Eo(d[0]):"as no adapter specified";throw new Ce("There is no suitable adapter to dispatch the request "+b,"ERR_NOT_SUPPORT")}return u}const ca={getAdapter:Wp,adapters:bi};function Sn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Yt(null,e)}function Mo(e){return Sn(e),e.headers=Qe.from(e.headers),e.data=_n.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ca.getAdapter(e.adapter||dr.adapter,e)(e).then(function(n){return Sn(e),n.data=_n.call(e,e.transformResponse,n),n.headers=Qe.from(n.headers),n},function(n){return sa(n)||(Sn(e),n&&n.response&&(n.response.data=_n.call(e,e.transformResponse,n.response),n.response.headers=Qe.from(n.response.headers))),Promise.reject(n)})}const ha="1.13.2",Vr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Vr[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const _o={};Vr.transitional=function(t,r,n){function u(o,d){return"[Axios v"+ha+"] Transitional option '"+o+"'"+d+(n?". "+n:"")}return(o,d,b)=>{if(t===!1)throw new Ce(u(d," has been removed"+(r?" in "+r:"")),Ce.ERR_DEPRECATED);return r&&!_o[d]&&(_o[d]=!0,console.warn(u(d," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(o,d,b):!0}};Vr.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Zp(e,t,r){if(typeof e!="object")throw new Ce("options must be an object",Ce.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let u=n.length;for(;u-- >0;){const o=n[u],d=t[o];if(d){const b=e[o],B=b===void 0||d(b,o,e);if(B!==!0)throw new Ce("option "+o+" must be "+B,Ce.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ce("Unknown option "+o,Ce.ERR_BAD_OPTION)}}const Sr={assertOptions:Zp,validators:Vr},lt=Sr.validators;let St=class{constructor(t){this.defaults=t||{},this.interceptors={request:new co,response:new co}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let u={};Error.captureStackTrace?Error.captureStackTrace(u):u=new Error;const o=u.stack?u.stack.replace(/^.+\n/,""):"";try{n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=`
11
+ `+o):n.stack=o}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=At(this.defaults,r);const{transitional:n,paramsSerializer:u,headers:o}=r;n!==void 0&&Sr.assertOptions(n,{silentJSONParsing:lt.transitional(lt.boolean),forcedJSONParsing:lt.transitional(lt.boolean),clarifyTimeoutError:lt.transitional(lt.boolean)},!1),u!=null&&(ee.isFunction(u)?r.paramsSerializer={serialize:u}:Sr.assertOptions(u,{encode:lt.function,serialize:lt.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Sr.assertOptions(r,{baseUrl:lt.spelling("baseURL"),withXsrfToken:lt.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let d=o&&ee.merge(o.common,o[r.method]);o&&ee.forEach(["delete","get","head","post","put","patch","common"],W=>{delete o[W]}),r.headers=Qe.concat(d,o);const b=[];let B=!0;this.interceptors.request.forEach(function(oe){typeof oe.runWhen=="function"&&oe.runWhen(r)===!1||(B=B&&oe.synchronous,b.unshift(oe.fulfilled,oe.rejected))});const E=[];this.interceptors.response.forEach(function(oe){E.push(oe.fulfilled,oe.rejected)});let p,F=0,q;if(!B){const W=[Mo.bind(this),void 0];for(W.unshift(...b),W.push(...E),q=W.length,p=Promise.resolve(r);F<q;)p=p.then(W[F++],W[F++]);return p}q=b.length;let Q=r;for(;F<q;){const W=b[F++],oe=b[F++];try{Q=W(Q)}catch(J){oe.call(this,J);break}}try{p=Mo.call(this,Q)}catch(W){return Promise.reject(W)}for(F=0,q=E.length;F<q;)p=p.then(E[F++],E[F++]);return p}getUri(t){t=At(this.defaults,t);const r=ua(t.baseURL,t.url,t.allowAbsoluteUrls);return na(r,t.params,t.paramsSerializer)}};ee.forEach(["delete","get","head","options"],function(t){St.prototype[t]=function(r,n){return this.request(At(n||{},{method:t,url:r,data:(n||{}).data}))}});ee.forEach(["post","put","patch"],function(t){function r(n){return function(o,d,b){return this.request(At(b||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:d}))}}St.prototype[t]=r(),St.prototype[t+"Form"]=r(!0)});let Jp=class da{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(o){r=o});const n=this;this.promise.then(u=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](u);n._listeners=null}),this.promise.then=u=>{let o;const d=new Promise(b=>{n.subscribe(b),o=b}).then(u);return d.cancel=function(){n.unsubscribe(o)},d},t(function(o,d,b){n.reason||(n.reason=new Yt(o,d,b),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new da(function(u){t=u}),cancel:t}}};function Vp(e){return function(r){return e.apply(null,r)}}function Kp(e){return ee.isObject(e)&&e.isAxiosError===!0}const Vn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Vn).forEach(([e,t])=>{Vn[t]=e});function pa(e){const t=new St(e),r=Hs(St.prototype.request,t);return ee.extend(r,St.prototype,t,{allOwnKeys:!0}),ee.extend(r,t,null,{allOwnKeys:!0}),r.create=function(u){return pa(At(e,u))},r}const Je=pa(dr);Je.Axios=St;Je.CanceledError=Yt;Je.CancelToken=Jp;Je.isCancel=sa;Je.VERSION=ha;Je.toFormData=Jr;Je.AxiosError=Ce;Je.Cancel=Je.CanceledError;Je.all=function(t){return Promise.all(t)};Je.spread=Vp;Je.isAxiosError=Kp;Je.mergeConfig=At;Je.AxiosHeaders=Qe;Je.formToJSON=e=>oa(ee.isHTMLForm(e)?new FormData(e):e);Je.getAdapter=ca.getAdapter;Je.HttpStatusCode=Vn;Je.default=Je;const{Axios:Ry,AxiosError:Iy,CanceledError:Ny,isCancel:Uy,CancelToken:Py,VERSION:Ly,all:Dy,Cancel:jy,isAxiosError:ky,spread:qy,toFormData:zy,AxiosHeaders:Hy,HttpStatusCode:Gy,formToJSON:Wy,getAdapter:Zy,mergeConfig:Jy}=Je;var Yp="[object Number]";function Xp(e){return typeof e=="number"||et(e)&&ut(e)==Yp}const Vy=Object.freeze(Object.defineProperty({__proto__:null,default:Xp},Symbol.toStringTag,{value:"Module"}));var Qp="[object Boolean]";function e1(e){return e===!0||e===!1||et(e)&&ut(e)==Qp}const Ky=Object.freeze(Object.defineProperty({__proto__:null,default:e1},Symbol.toStringTag,{value:"Module"}));var t1="[object String]";function r1(e){return typeof e=="string"||!Ge(e)&&et(e)&&ut(e)==t1}const Yy=Object.freeze(Object.defineProperty({__proto__:null,default:r1},Symbol.toStringTag,{value:"Module"}));function n1(e){return function(t){t=tt(t);var r=Rr(t)?Pt(t):void 0,n=r?r[0]:t.charAt(0),u=r?Fr(r,1).join(""):t.slice(1);return n[e]()+u}}var ga=n1("toUpperCase");const Xy=Object.freeze(Object.defineProperty({__proto__:null,default:ga},Symbol.toStringTag,{value:"Module"}));function i1(e){return ga(tt(e).toLowerCase())}function o1(e,t,r,n){for(var u=-1,o=e==null?0:e.length;++u<o;)r=t(r,e[u],u,e);return r}function ma(e){return function(t){return e?.[t]}}var s1={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},a1=ma(s1),u1=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,f1="\\u0300-\\u036f",l1="\\ufe20-\\ufe2f",c1="\\u20d0-\\u20ff",h1=f1+l1+c1,d1="["+h1+"]",p1=RegExp(d1,"g");function g1(e){return e=tt(e),e&&e.replace(u1,a1).replace(p1,"")}var m1=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function y1(e){return e.match(m1)||[]}var w1=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function v1(e){return w1.test(e)}var ya="\\ud800-\\udfff",x1="\\u0300-\\u036f",b1="\\ufe20-\\ufe2f",E1="\\u20d0-\\u20ff",M1=x1+b1+E1,wa="\\u2700-\\u27bf",va="a-z\\xdf-\\xf6\\xf8-\\xff",_1="\\xac\\xb1\\xd7\\xf7",S1="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",B1="\\u2000-\\u206f",A1=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",xa="A-Z\\xc0-\\xd6\\xd8-\\xde",O1="\\ufe0e\\ufe0f",ba=_1+S1+B1+A1,Ea="['’]",So="["+ba+"]",T1="["+M1+"]",Ma="\\d+",C1="["+wa+"]",_a="["+va+"]",Sa="[^"+ya+ba+Ma+wa+va+xa+"]",$1="\\ud83c[\\udffb-\\udfff]",F1="(?:"+T1+"|"+$1+")",R1="[^"+ya+"]",Ba="(?:\\ud83c[\\udde6-\\uddff]){2}",Aa="[\\ud800-\\udbff][\\udc00-\\udfff]",Rt="["+xa+"]",I1="\\u200d",Bo="(?:"+_a+"|"+Sa+")",N1="(?:"+Rt+"|"+Sa+")",Ao="(?:"+Ea+"(?:d|ll|m|re|s|t|ve))?",Oo="(?:"+Ea+"(?:D|LL|M|RE|S|T|VE))?",Oa=F1+"?",Ta="["+O1+"]?",U1="(?:"+I1+"(?:"+[R1,Ba,Aa].join("|")+")"+Ta+Oa+")*",P1="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",L1="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",D1=Ta+Oa+U1,j1="(?:"+[C1,Ba,Aa].join("|")+")"+D1,k1=RegExp([Rt+"?"+_a+"+"+Ao+"(?="+[So,Rt,"$"].join("|")+")",N1+"+"+Oo+"(?="+[So,Rt+Bo,"$"].join("|")+")",Rt+"?"+Bo+"+"+Ao,Rt+"+"+Oo,L1,P1,Ma,j1].join("|"),"g");function q1(e){return e.match(k1)||[]}function z1(e,t,r){return e=tt(e),t=t,t===void 0?v1(e)?q1(e):y1(e):e.match(t)||[]}var H1="['’]",G1=RegExp(H1,"g");function W1(e){return function(t){return o1(z1(g1(t).replace(G1,"")),e,"")}}var Z1=W1(function(e,t,r){return t=t.toLowerCase(),e+(r?i1(t):t)});const Qy=Object.freeze(Object.defineProperty({__proto__:null,default:Z1},Symbol.toStringTag,{value:"Module"}));function J1(e){return e===null}const ew=Object.freeze(Object.defineProperty({__proto__:null,default:J1},Symbol.toStringTag,{value:"Module"}));function V1(e,t,r){e=tt(e),t=Gt(t);var n=t?Yn(e):0;return t&&n<t?e+is(t-n,r):e}const tw=Object.freeze(Object.defineProperty({__proto__:null,default:V1},Symbol.toStringTag,{value:"Module"}));var Br={exports:{}},Bn={},To;function K1(){return To||(To=1,function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var t={},r={};r.byteLength=p,r.toByteArray=q,r.fromByteArray=oe;for(var n=[],u=[],o=typeof Uint8Array<"u"?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b=0,B=d.length;b<B;++b)n[b]=d[b],u[d.charCodeAt(b)]=b;u[45]=62,u[95]=63;function E(te){var se=te.length;if(se%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ce=te.indexOf("=");ce===-1&&(ce=se);var fe=ce===se?0:4-ce%4;return[ce,fe]}function p(te){var se=E(te),ce=se[0],fe=se[1];return(ce+fe)*3/4-fe}function F(te,se,ce){return(se+ce)*3/4-ce}function q(te){var se,ce=E(te),fe=ce[0],Y=ce[1],z=new o(F(te,fe,Y)),ae=0,de=Y>0?fe-4:fe,ne;for(ne=0;ne<de;ne+=4)se=u[te.charCodeAt(ne)]<<18|u[te.charCodeAt(ne+1)]<<12|u[te.charCodeAt(ne+2)]<<6|u[te.charCodeAt(ne+3)],z[ae++]=se>>16&255,z[ae++]=se>>8&255,z[ae++]=se&255;return Y===2&&(se=u[te.charCodeAt(ne)]<<2|u[te.charCodeAt(ne+1)]>>4,z[ae++]=se&255),Y===1&&(se=u[te.charCodeAt(ne)]<<10|u[te.charCodeAt(ne+1)]<<4|u[te.charCodeAt(ne+2)]>>2,z[ae++]=se>>8&255,z[ae++]=se&255),z}function Q(te){return n[te>>18&63]+n[te>>12&63]+n[te>>6&63]+n[te&63]}function W(te,se,ce){for(var fe,Y=[],z=se;z<ce;z+=3)fe=(te[z]<<16&16711680)+(te[z+1]<<8&65280)+(te[z+2]&255),Y.push(Q(fe));return Y.join("")}function oe(te){for(var se,ce=te.length,fe=ce%3,Y=[],z=16383,ae=0,de=ce-fe;ae<de;ae+=z)Y.push(W(te,ae,ae+z>de?de:ae+z));return fe===1?(se=te[ce-1],Y.push(n[se>>2]+n[se<<4&63]+"==")):fe===2&&(se=(te[ce-2]<<8)+te[ce-1],Y.push(n[se>>10]+n[se>>4&63]+n[se<<2&63]+"=")),Y.join("")}var J={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */J.read=function(te,se,ce,fe,Y){var z,ae,de=Y*8-fe-1,ne=(1<<de)-1,A=ne>>1,i=-7,h=ce?Y-1:0,g=ce?-1:1,m=te[se+h];for(h+=g,z=m&(1<<-i)-1,m>>=-i,i+=de;i>0;z=z*256+te[se+h],h+=g,i-=8);for(ae=z&(1<<-i)-1,z>>=-i,i+=fe;i>0;ae=ae*256+te[se+h],h+=g,i-=8);if(z===0)z=1-A;else{if(z===ne)return ae?NaN:(m?-1:1)*(1/0);ae=ae+Math.pow(2,fe),z=z-A}return(m?-1:1)*ae*Math.pow(2,z-fe)},J.write=function(te,se,ce,fe,Y,z){var ae,de,ne,A=z*8-Y-1,i=(1<<A)-1,h=i>>1,g=Y===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=fe?0:z-1,v=fe?1:-1,T=se<0||se===0&&1/se<0?1:0;for(se=Math.abs(se),isNaN(se)||se===1/0?(de=isNaN(se)?1:0,ae=i):(ae=Math.floor(Math.log(se)/Math.LN2),se*(ne=Math.pow(2,-ae))<1&&(ae--,ne*=2),ae+h>=1?se+=g/ne:se+=g*Math.pow(2,1-h),se*ne>=2&&(ae++,ne/=2),ae+h>=i?(de=0,ae=i):ae+h>=1?(de=(se*ne-1)*Math.pow(2,Y),ae=ae+h):(de=se*Math.pow(2,h-1)*Math.pow(2,Y),ae=0));Y>=8;te[ce+m]=de&255,m+=v,de/=256,Y-=8);for(ae=ae<<Y|de,A+=Y;A>0;te[ce+m]=ae&255,m+=v,ae/=256,A-=8);te[ce+m-v]|=T*128};/*!
12
+ * The buffer module from node.js, for the browser.
13
+ *
14
+ * @author Feross Aboukhadijeh <https://feross.org>
15
+ * @license MIT
16
+ */(function(te){const se=r,ce=J,fe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;te.Buffer=i,te.SlowBuffer=pe,te.INSPECT_MAX_BYTES=50;const Y=2147483647;te.kMaxLength=Y;const{Uint8Array:z,ArrayBuffer:ae,SharedArrayBuffer:de}=globalThis;i.TYPED_ARRAY_SUPPORT=ne(),!i.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ne(){try{const w=new z(1),a={foo:function(){return 42}};return Object.setPrototypeOf(a,z.prototype),Object.setPrototypeOf(w,a),w.foo()===42}catch{return!1}}Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}});function A(w){if(w>Y)throw new RangeError('The value "'+w+'" is invalid for option "size"');const a=new z(w);return Object.setPrototypeOf(a,i.prototype),a}function i(w,a,c){if(typeof w=="number"){if(typeof a=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return v(w)}return h(w,a,c)}i.poolSize=8192;function h(w,a,c){if(typeof w=="string")return T(w,a);if(ae.isView(w))return M(w);if(w==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof w);if(Re(w,ae)||w&&Re(w.buffer,ae)||typeof de<"u"&&(Re(w,de)||w&&Re(w.buffer,de)))return f(w,a,c);if(typeof w=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const O=w.valueOf&&w.valueOf();if(O!=null&&O!==w)return i.from(O,a,c);const N=S(w);if(N)return N;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof w[Symbol.toPrimitive]=="function")return i.from(w[Symbol.toPrimitive]("string"),a,c);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof w)}i.from=function(w,a,c){return h(w,a,c)},Object.setPrototypeOf(i.prototype,z.prototype),Object.setPrototypeOf(i,z);function g(w){if(typeof w!="number")throw new TypeError('"size" argument must be of type number');if(w<0)throw new RangeError('The value "'+w+'" is invalid for option "size"')}function m(w,a,c){return g(w),w<=0?A(w):a!==void 0?typeof c=="string"?A(w).fill(a,c):A(w).fill(a):A(w)}i.alloc=function(w,a,c){return m(w,a,c)};function v(w){return g(w),A(w<0?0:ue(w)|0)}i.allocUnsafe=function(w){return v(w)},i.allocUnsafeSlow=function(w){return v(w)};function T(w,a){if((typeof a!="string"||a==="")&&(a="utf8"),!i.isEncoding(a))throw new TypeError("Unknown encoding: "+a);const c=D(w,a)|0;let O=A(c);const N=O.write(w,a);return N!==c&&(O=O.slice(0,N)),O}function $(w){const a=w.length<0?0:ue(w.length)|0,c=A(a);for(let O=0;O<a;O+=1)c[O]=w[O]&255;return c}function M(w){if(Re(w,z)){const a=new z(w);return f(a.buffer,a.byteOffset,a.byteLength)}return $(w)}function f(w,a,c){if(a<0||w.byteLength<a)throw new RangeError('"offset" is outside of buffer bounds');if(w.byteLength<a+(c||0))throw new RangeError('"length" is outside of buffer bounds');let O;return a===void 0&&c===void 0?O=new z(w):c===void 0?O=new z(w,a):O=new z(w,a,c),Object.setPrototypeOf(O,i.prototype),O}function S(w){if(i.isBuffer(w)){const a=ue(w.length)|0,c=A(a);return c.length===0||w.copy(c,0,0,a),c}if(w.length!==void 0)return typeof w.length!="number"||$t(w.length)?A(0):$(w);if(w.type==="Buffer"&&Array.isArray(w.data))return $(w.data)}function ue(w){if(w>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.toString(16)+" bytes");return w|0}function pe(w){return+w!=w&&(w=0),i.alloc(+w)}i.isBuffer=function(a){return a!=null&&a._isBuffer===!0&&a!==i.prototype},i.compare=function(a,c){if(Re(a,z)&&(a=i.from(a,a.offset,a.byteLength)),Re(c,z)&&(c=i.from(c,c.offset,c.byteLength)),!i.isBuffer(a)||!i.isBuffer(c))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(a===c)return 0;let O=a.length,N=c.length;for(let X=0,re=Math.min(O,N);X<re;++X)if(a[X]!==c[X]){O=a[X],N=c[X];break}return O<N?-1:N<O?1:0},i.isEncoding=function(a){switch(String(a).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(a,c){if(!Array.isArray(a))throw new TypeError('"list" argument must be an Array of Buffers');if(a.length===0)return i.alloc(0);let O;if(c===void 0)for(c=0,O=0;O<a.length;++O)c+=a[O].length;const N=i.allocUnsafe(c);let X=0;for(O=0;O<a.length;++O){let re=a[O];if(Re(re,z))X+re.length>N.length?(i.isBuffer(re)||(re=i.from(re)),re.copy(N,X)):z.prototype.set.call(N,re,X);else if(i.isBuffer(re))re.copy(N,X);else throw new TypeError('"list" argument must be an Array of Buffers');X+=re.length}return N};function D(w,a){if(i.isBuffer(w))return w.length;if(ae.isView(w)||Re(w,ae))return w.byteLength;if(typeof w!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof w);const c=w.length,O=arguments.length>2&&arguments[2]===!0;if(!O&&c===0)return 0;let N=!1;for(;;)switch(a){case"ascii":case"latin1":case"binary":return c;case"utf8":case"utf-8":return Ue(w).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c*2;case"hex":return c>>>1;case"base64":return Fe(w).length;default:if(N)return O?-1:Ue(w).length;a=(""+a).toLowerCase(),N=!0}}i.byteLength=D;function me(w,a,c){let O=!1;if((a===void 0||a<0)&&(a=0),a>this.length||((c===void 0||c>this.length)&&(c=this.length),c<=0)||(c>>>=0,a>>>=0,c<=a))return"";for(w||(w="utf8");;)switch(w){case"hex":return V(this,a,c);case"utf8":case"utf-8":return L(this,a,c);case"ascii":return P(this,a,c);case"latin1":case"binary":return H(this,a,c);case"base64":return j(this,a,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ie(this,a,c);default:if(O)throw new TypeError("Unknown encoding: "+w);w=(w+"").toLowerCase(),O=!0}}i.prototype._isBuffer=!0;function Me(w,a,c){const O=w[a];w[a]=w[c],w[c]=O}i.prototype.swap16=function(){const a=this.length;if(a%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let c=0;c<a;c+=2)Me(this,c,c+1);return this},i.prototype.swap32=function(){const a=this.length;if(a%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let c=0;c<a;c+=4)Me(this,c,c+3),Me(this,c+1,c+2);return this},i.prototype.swap64=function(){const a=this.length;if(a%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let c=0;c<a;c+=8)Me(this,c,c+7),Me(this,c+1,c+6),Me(this,c+2,c+5),Me(this,c+3,c+4);return this},i.prototype.toString=function(){const a=this.length;return a===0?"":arguments.length===0?L(this,0,a):me.apply(this,arguments)},i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(a){if(!i.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?!0:i.compare(this,a)===0},i.prototype.inspect=function(){let a="";const c=te.INSPECT_MAX_BYTES;return a=this.toString("hex",0,c).replace(/(.{2})/g,"$1 ").trim(),this.length>c&&(a+=" ... "),"<Buffer "+a+">"},fe&&(i.prototype[fe]=i.prototype.inspect),i.prototype.compare=function(a,c,O,N,X){if(Re(a,z)&&(a=i.from(a,a.offset,a.byteLength)),!i.isBuffer(a))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof a);if(c===void 0&&(c=0),O===void 0&&(O=a?a.length:0),N===void 0&&(N=0),X===void 0&&(X=this.length),c<0||O>a.length||N<0||X>this.length)throw new RangeError("out of range index");if(N>=X&&c>=O)return 0;if(N>=X)return-1;if(c>=O)return 1;if(c>>>=0,O>>>=0,N>>>=0,X>>>=0,this===a)return 0;let re=X-N,be=O-c;const ke=Math.min(re,be),Ae=this.slice(N,X),Te=a.slice(c,O);for(let Ie=0;Ie<ke;++Ie)if(Ae[Ie]!==Te[Ie]){re=Ae[Ie],be=Te[Ie];break}return re<be?-1:be<re?1:0};function Oe(w,a,c,O,N){if(w.length===0)return-1;if(typeof c=="string"?(O=c,c=0):c>2147483647?c=2147483647:c<-2147483648&&(c=-2147483648),c=+c,$t(c)&&(c=N?0:w.length-1),c<0&&(c=w.length+c),c>=w.length){if(N)return-1;c=w.length-1}else if(c<0)if(N)c=0;else return-1;if(typeof a=="string"&&(a=i.from(a,O)),i.isBuffer(a))return a.length===0?-1:$e(w,a,c,O,N);if(typeof a=="number")return a=a&255,typeof z.prototype.indexOf=="function"?N?z.prototype.indexOf.call(w,a,c):z.prototype.lastIndexOf.call(w,a,c):$e(w,[a],c,O,N);throw new TypeError("val must be string, number or Buffer")}function $e(w,a,c,O,N){let X=1,re=w.length,be=a.length;if(O!==void 0&&(O=String(O).toLowerCase(),O==="ucs2"||O==="ucs-2"||O==="utf16le"||O==="utf-16le")){if(w.length<2||a.length<2)return-1;X=2,re/=2,be/=2,c/=2}function ke(Te,Ie){return X===1?Te[Ie]:Te.readUInt16BE(Ie*X)}let Ae;if(N){let Te=-1;for(Ae=c;Ae<re;Ae++)if(ke(w,Ae)===ke(a,Te===-1?0:Ae-Te)){if(Te===-1&&(Te=Ae),Ae-Te+1===be)return Te*X}else Te!==-1&&(Ae-=Ae-Te),Te=-1}else for(c+be>re&&(c=re-be),Ae=c;Ae>=0;Ae--){let Te=!0;for(let Ie=0;Ie<be;Ie++)if(ke(w,Ae+Ie)!==ke(a,Ie)){Te=!1;break}if(Te)return Ae}return-1}i.prototype.includes=function(a,c,O){return this.indexOf(a,c,O)!==-1},i.prototype.indexOf=function(a,c,O){return Oe(this,a,c,O,!0)},i.prototype.lastIndexOf=function(a,c,O){return Oe(this,a,c,O,!1)};function _e(w,a,c,O){c=Number(c)||0;const N=w.length-c;O?(O=Number(O),O>N&&(O=N)):O=N;const X=a.length;O>X/2&&(O=X/2);let re;for(re=0;re<O;++re){const be=parseInt(a.substr(re*2,2),16);if($t(be))return re;w[c+re]=be}return re}function x(w,a,c,O){return je(Ue(a,w.length-c),w,c,O)}function C(w,a,c,O){return je(Se(a),w,c,O)}function R(w,a,c,O){return je(Fe(a),w,c,O)}function k(w,a,c,O){return je(Be(a,w.length-c),w,c,O)}i.prototype.write=function(a,c,O,N){if(c===void 0)N="utf8",O=this.length,c=0;else if(O===void 0&&typeof c=="string")N=c,O=this.length,c=0;else if(isFinite(c))c=c>>>0,isFinite(O)?(O=O>>>0,N===void 0&&(N="utf8")):(N=O,O=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const X=this.length-c;if((O===void 0||O>X)&&(O=X),a.length>0&&(O<0||c<0)||c>this.length)throw new RangeError("Attempt to write outside buffer bounds");N||(N="utf8");let re=!1;for(;;)switch(N){case"hex":return _e(this,a,c,O);case"utf8":case"utf-8":return x(this,a,c,O);case"ascii":case"latin1":case"binary":return C(this,a,c,O);case"base64":return R(this,a,c,O);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,a,c,O);default:if(re)throw new TypeError("Unknown encoding: "+N);N=(""+N).toLowerCase(),re=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function j(w,a,c){return a===0&&c===w.length?se.fromByteArray(w):se.fromByteArray(w.slice(a,c))}function L(w,a,c){c=Math.min(w.length,c);const O=[];let N=a;for(;N<c;){const X=w[N];let re=null,be=X>239?4:X>223?3:X>191?2:1;if(N+be<=c){let ke,Ae,Te,Ie;switch(be){case 1:X<128&&(re=X);break;case 2:ke=w[N+1],(ke&192)===128&&(Ie=(X&31)<<6|ke&63,Ie>127&&(re=Ie));break;case 3:ke=w[N+1],Ae=w[N+2],(ke&192)===128&&(Ae&192)===128&&(Ie=(X&15)<<12|(ke&63)<<6|Ae&63,Ie>2047&&(Ie<55296||Ie>57343)&&(re=Ie));break;case 4:ke=w[N+1],Ae=w[N+2],Te=w[N+3],(ke&192)===128&&(Ae&192)===128&&(Te&192)===128&&(Ie=(X&15)<<18|(ke&63)<<12|(Ae&63)<<6|Te&63,Ie>65535&&Ie<1114112&&(re=Ie))}}re===null?(re=65533,be=1):re>65535&&(re-=65536,O.push(re>>>10&1023|55296),re=56320|re&1023),O.push(re),N+=be}return U(O)}const G=4096;function U(w){const a=w.length;if(a<=G)return String.fromCharCode.apply(String,w);let c="",O=0;for(;O<a;)c+=String.fromCharCode.apply(String,w.slice(O,O+=G));return c}function P(w,a,c){let O="";c=Math.min(w.length,c);for(let N=a;N<c;++N)O+=String.fromCharCode(w[N]&127);return O}function H(w,a,c){let O="";c=Math.min(w.length,c);for(let N=a;N<c;++N)O+=String.fromCharCode(w[N]);return O}function V(w,a,c){const O=w.length;(!a||a<0)&&(a=0),(!c||c<0||c>O)&&(c=O);let N="";for(let X=a;X<c;++X)N+=ze[w[X]];return N}function ie(w,a,c){const O=w.slice(a,c);let N="";for(let X=0;X<O.length-1;X+=2)N+=String.fromCharCode(O[X]+O[X+1]*256);return N}i.prototype.slice=function(a,c){const O=this.length;a=~~a,c=c===void 0?O:~~c,a<0?(a+=O,a<0&&(a=0)):a>O&&(a=O),c<0?(c+=O,c<0&&(c=0)):c>O&&(c=O),c<a&&(c=a);const N=this.subarray(a,c);return Object.setPrototypeOf(N,i.prototype),N};function le(w,a,c){if(w%1!==0||w<0)throw new RangeError("offset is not uint");if(w+a>c)throw new RangeError("Trying to access beyond buffer length")}i.prototype.readUintLE=i.prototype.readUIntLE=function(a,c,O){a=a>>>0,c=c>>>0,O||le(a,c,this.length);let N=this[a],X=1,re=0;for(;++re<c&&(X*=256);)N+=this[a+re]*X;return N},i.prototype.readUintBE=i.prototype.readUIntBE=function(a,c,O){a=a>>>0,c=c>>>0,O||le(a,c,this.length);let N=this[a+--c],X=1;for(;c>0&&(X*=256);)N+=this[a+--c]*X;return N},i.prototype.readUint8=i.prototype.readUInt8=function(a,c){return a=a>>>0,c||le(a,1,this.length),this[a]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(a,c){return a=a>>>0,c||le(a,2,this.length),this[a]|this[a+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(a,c){return a=a>>>0,c||le(a,2,this.length),this[a]<<8|this[a+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(a,c){return a=a>>>0,c||le(a,4,this.length),(this[a]|this[a+1]<<8|this[a+2]<<16)+this[a+3]*16777216},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(a,c){return a=a>>>0,c||le(a,4,this.length),this[a]*16777216+(this[a+1]<<16|this[a+2]<<8|this[a+3])},i.prototype.readBigUInt64LE=Pe(function(a){a=a>>>0,I(a,"offset");const c=this[a],O=this[a+7];(c===void 0||O===void 0)&&Z(a,this.length-8);const N=c+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24,X=this[++a]+this[++a]*2**8+this[++a]*2**16+O*2**24;return BigInt(N)+(BigInt(X)<<BigInt(32))}),i.prototype.readBigUInt64BE=Pe(function(a){a=a>>>0,I(a,"offset");const c=this[a],O=this[a+7];(c===void 0||O===void 0)&&Z(a,this.length-8);const N=c*2**24+this[++a]*2**16+this[++a]*2**8+this[++a],X=this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+O;return(BigInt(N)<<BigInt(32))+BigInt(X)}),i.prototype.readIntLE=function(a,c,O){a=a>>>0,c=c>>>0,O||le(a,c,this.length);let N=this[a],X=1,re=0;for(;++re<c&&(X*=256);)N+=this[a+re]*X;return X*=128,N>=X&&(N-=Math.pow(2,8*c)),N},i.prototype.readIntBE=function(a,c,O){a=a>>>0,c=c>>>0,O||le(a,c,this.length);let N=c,X=1,re=this[a+--N];for(;N>0&&(X*=256);)re+=this[a+--N]*X;return X*=128,re>=X&&(re-=Math.pow(2,8*c)),re},i.prototype.readInt8=function(a,c){return a=a>>>0,c||le(a,1,this.length),this[a]&128?(255-this[a]+1)*-1:this[a]},i.prototype.readInt16LE=function(a,c){a=a>>>0,c||le(a,2,this.length);const O=this[a]|this[a+1]<<8;return O&32768?O|4294901760:O},i.prototype.readInt16BE=function(a,c){a=a>>>0,c||le(a,2,this.length);const O=this[a+1]|this[a]<<8;return O&32768?O|4294901760:O},i.prototype.readInt32LE=function(a,c){return a=a>>>0,c||le(a,4,this.length),this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24},i.prototype.readInt32BE=function(a,c){return a=a>>>0,c||le(a,4,this.length),this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]},i.prototype.readBigInt64LE=Pe(function(a){a=a>>>0,I(a,"offset");const c=this[a],O=this[a+7];(c===void 0||O===void 0)&&Z(a,this.length-8);const N=this[a+4]+this[a+5]*2**8+this[a+6]*2**16+(O<<24);return(BigInt(N)<<BigInt(32))+BigInt(c+this[++a]*2**8+this[++a]*2**16+this[++a]*2**24)}),i.prototype.readBigInt64BE=Pe(function(a){a=a>>>0,I(a,"offset");const c=this[a],O=this[a+7];(c===void 0||O===void 0)&&Z(a,this.length-8);const N=(c<<24)+this[++a]*2**16+this[++a]*2**8+this[++a];return(BigInt(N)<<BigInt(32))+BigInt(this[++a]*2**24+this[++a]*2**16+this[++a]*2**8+O)}),i.prototype.readFloatLE=function(a,c){return a=a>>>0,c||le(a,4,this.length),ce.read(this,a,!0,23,4)},i.prototype.readFloatBE=function(a,c){return a=a>>>0,c||le(a,4,this.length),ce.read(this,a,!1,23,4)},i.prototype.readDoubleLE=function(a,c){return a=a>>>0,c||le(a,8,this.length),ce.read(this,a,!0,52,8)},i.prototype.readDoubleBE=function(a,c){return a=a>>>0,c||le(a,8,this.length),ce.read(this,a,!1,52,8)};function ye(w,a,c,O,N,X){if(!i.isBuffer(w))throw new TypeError('"buffer" argument must be a Buffer instance');if(a>N||a<X)throw new RangeError('"value" argument is out of bounds');if(c+O>w.length)throw new RangeError("Index out of range")}i.prototype.writeUintLE=i.prototype.writeUIntLE=function(a,c,O,N){if(a=+a,c=c>>>0,O=O>>>0,!N){const be=Math.pow(2,8*O)-1;ye(this,a,c,O,be,0)}let X=1,re=0;for(this[c]=a&255;++re<O&&(X*=256);)this[c+re]=a/X&255;return c+O},i.prototype.writeUintBE=i.prototype.writeUIntBE=function(a,c,O,N){if(a=+a,c=c>>>0,O=O>>>0,!N){const be=Math.pow(2,8*O)-1;ye(this,a,c,O,be,0)}let X=O-1,re=1;for(this[c+X]=a&255;--X>=0&&(re*=256);)this[c+X]=a/re&255;return c+O},i.prototype.writeUint8=i.prototype.writeUInt8=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,1,255,0),this[c]=a&255,c+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,2,65535,0),this[c]=a&255,this[c+1]=a>>>8,c+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,2,65535,0),this[c]=a>>>8,this[c+1]=a&255,c+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,4,4294967295,0),this[c+3]=a>>>24,this[c+2]=a>>>16,this[c+1]=a>>>8,this[c]=a&255,c+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,4,4294967295,0),this[c]=a>>>24,this[c+1]=a>>>16,this[c+2]=a>>>8,this[c+3]=a&255,c+4};function we(w,a,c,O,N){_(a,O,N,w,c,7);let X=Number(a&BigInt(4294967295));w[c++]=X,X=X>>8,w[c++]=X,X=X>>8,w[c++]=X,X=X>>8,w[c++]=X;let re=Number(a>>BigInt(32)&BigInt(4294967295));return w[c++]=re,re=re>>8,w[c++]=re,re=re>>8,w[c++]=re,re=re>>8,w[c++]=re,c}function Ee(w,a,c,O,N){_(a,O,N,w,c,7);let X=Number(a&BigInt(4294967295));w[c+7]=X,X=X>>8,w[c+6]=X,X=X>>8,w[c+5]=X,X=X>>8,w[c+4]=X;let re=Number(a>>BigInt(32)&BigInt(4294967295));return w[c+3]=re,re=re>>8,w[c+2]=re,re=re>>8,w[c+1]=re,re=re>>8,w[c]=re,c+8}i.prototype.writeBigUInt64LE=Pe(function(a,c=0){return we(this,a,c,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeBigUInt64BE=Pe(function(a,c=0){return Ee(this,a,c,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeIntLE=function(a,c,O,N){if(a=+a,c=c>>>0,!N){const ke=Math.pow(2,8*O-1);ye(this,a,c,O,ke-1,-ke)}let X=0,re=1,be=0;for(this[c]=a&255;++X<O&&(re*=256);)a<0&&be===0&&this[c+X-1]!==0&&(be=1),this[c+X]=(a/re>>0)-be&255;return c+O},i.prototype.writeIntBE=function(a,c,O,N){if(a=+a,c=c>>>0,!N){const ke=Math.pow(2,8*O-1);ye(this,a,c,O,ke-1,-ke)}let X=O-1,re=1,be=0;for(this[c+X]=a&255;--X>=0&&(re*=256);)a<0&&be===0&&this[c+X+1]!==0&&(be=1),this[c+X]=(a/re>>0)-be&255;return c+O},i.prototype.writeInt8=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,1,127,-128),a<0&&(a=255+a+1),this[c]=a&255,c+1},i.prototype.writeInt16LE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,2,32767,-32768),this[c]=a&255,this[c+1]=a>>>8,c+2},i.prototype.writeInt16BE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,2,32767,-32768),this[c]=a>>>8,this[c+1]=a&255,c+2},i.prototype.writeInt32LE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,4,2147483647,-2147483648),this[c]=a&255,this[c+1]=a>>>8,this[c+2]=a>>>16,this[c+3]=a>>>24,c+4},i.prototype.writeInt32BE=function(a,c,O){return a=+a,c=c>>>0,O||ye(this,a,c,4,2147483647,-2147483648),a<0&&(a=4294967295+a+1),this[c]=a>>>24,this[c+1]=a>>>16,this[c+2]=a>>>8,this[c+3]=a&255,c+4},i.prototype.writeBigInt64LE=Pe(function(a,c=0){return we(this,a,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),i.prototype.writeBigInt64BE=Pe(function(a,c=0){return Ee(this,a,c,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ne(w,a,c,O,N,X){if(c+O>w.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("Index out of range")}function xe(w,a,c,O,N){return a=+a,c=c>>>0,N||Ne(w,a,c,4),ce.write(w,a,c,O,23,4),c+4}i.prototype.writeFloatLE=function(a,c,O){return xe(this,a,c,!0,O)},i.prototype.writeFloatBE=function(a,c,O){return xe(this,a,c,!1,O)};function ve(w,a,c,O,N){return a=+a,c=c>>>0,N||Ne(w,a,c,8),ce.write(w,a,c,O,52,8),c+8}i.prototype.writeDoubleLE=function(a,c,O){return ve(this,a,c,!0,O)},i.prototype.writeDoubleBE=function(a,c,O){return ve(this,a,c,!1,O)},i.prototype.copy=function(a,c,O,N){if(!i.isBuffer(a))throw new TypeError("argument should be a Buffer");if(O||(O=0),!N&&N!==0&&(N=this.length),c>=a.length&&(c=a.length),c||(c=0),N>0&&N<O&&(N=O),N===O||a.length===0||this.length===0)return 0;if(c<0)throw new RangeError("targetStart out of bounds");if(O<0||O>=this.length)throw new RangeError("Index out of range");if(N<0)throw new RangeError("sourceEnd out of bounds");N>this.length&&(N=this.length),a.length-c<N-O&&(N=a.length-c+O);const X=N-O;return this===a&&typeof z.prototype.copyWithin=="function"?this.copyWithin(c,O,N):z.prototype.set.call(a,this.subarray(O,N),c),X},i.prototype.fill=function(a,c,O,N){if(typeof a=="string"){if(typeof c=="string"?(N=c,c=0,O=this.length):typeof O=="string"&&(N=O,O=this.length),N!==void 0&&typeof N!="string")throw new TypeError("encoding must be a string");if(typeof N=="string"&&!i.isEncoding(N))throw new TypeError("Unknown encoding: "+N);if(a.length===1){const re=a.charCodeAt(0);(N==="utf8"&&re<128||N==="latin1")&&(a=re)}}else typeof a=="number"?a=a&255:typeof a=="boolean"&&(a=Number(a));if(c<0||this.length<c||this.length<O)throw new RangeError("Out of range index");if(O<=c)return this;c=c>>>0,O=O===void 0?this.length:O>>>0,a||(a=0);let X;if(typeof a=="number")for(X=c;X<O;++X)this[X]=a;else{const re=i.isBuffer(a)?a:i.from(a,N),be=re.length;if(be===0)throw new TypeError('The value "'+a+'" is invalid for argument "value"');for(X=0;X<O-c;++X)this[X+c]=re[X%be]}return this};const Le={};function y(w,a,c){Le[w]=class extends c{constructor(){super(),Object.defineProperty(this,"message",{value:a.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${w}]`,this.stack,delete this.name}get code(){return w}set code(N){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:N,writable:!0})}toString(){return`${this.name} [${w}]: ${this.message}`}}}y("ERR_BUFFER_OUT_OF_BOUNDS",function(w){return w?`${w} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),y("ERR_INVALID_ARG_TYPE",function(w,a){return`The "${w}" argument must be of type number. Received type ${typeof a}`},TypeError),y("ERR_OUT_OF_RANGE",function(w,a,c){let O=`The value of "${w}" is out of range.`,N=c;return Number.isInteger(c)&&Math.abs(c)>2**32?N=s(String(c)):typeof c=="bigint"&&(N=String(c),(c>BigInt(2)**BigInt(32)||c<-(BigInt(2)**BigInt(32)))&&(N=s(N)),N+="n"),O+=` It must be ${a}. Received ${N}`,O},RangeError);function s(w){let a="",c=w.length;const O=w[0]==="-"?1:0;for(;c>=O+4;c-=3)a=`_${w.slice(c-3,c)}${a}`;return`${w.slice(0,c)}${a}`}function l(w,a,c){I(a,"offset"),(w[a]===void 0||w[a+c]===void 0)&&Z(a,w.length-(c+1))}function _(w,a,c,O,N,X){if(w>c||w<a){const re=typeof a=="bigint"?"n":"";let be;throw a===0||a===BigInt(0)?be=`>= 0${re} and < 2${re} ** ${(X+1)*8}${re}`:be=`>= -(2${re} ** ${(X+1)*8-1}${re}) and < 2 ** ${(X+1)*8-1}${re}`,new Le.ERR_OUT_OF_RANGE("value",be,w)}l(O,N,X)}function I(w,a){if(typeof w!="number")throw new Le.ERR_INVALID_ARG_TYPE(a,"number",w)}function Z(w,a,c){throw Math.floor(w)!==w?(I(w,c),new Le.ERR_OUT_OF_RANGE("offset","an integer",w)):a<0?new Le.ERR_BUFFER_OUT_OF_BOUNDS:new Le.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${a}`,w)}const K=/[^+/0-9A-Za-z-_]/g;function ge(w){if(w=w.split("=")[0],w=w.trim().replace(K,""),w.length<2)return"";for(;w.length%4!==0;)w=w+"=";return w}function Ue(w,a){a=a||1/0;let c;const O=w.length;let N=null;const X=[];for(let re=0;re<O;++re){if(c=w.charCodeAt(re),c>55295&&c<57344){if(!N){if(c>56319){(a-=3)>-1&&X.push(239,191,189);continue}else if(re+1===O){(a-=3)>-1&&X.push(239,191,189);continue}N=c;continue}if(c<56320){(a-=3)>-1&&X.push(239,191,189),N=c;continue}c=(N-55296<<10|c-56320)+65536}else N&&(a-=3)>-1&&X.push(239,191,189);if(N=null,c<128){if((a-=1)<0)break;X.push(c)}else if(c<2048){if((a-=2)<0)break;X.push(c>>6|192,c&63|128)}else if(c<65536){if((a-=3)<0)break;X.push(c>>12|224,c>>6&63|128,c&63|128)}else if(c<1114112){if((a-=4)<0)break;X.push(c>>18|240,c>>12&63|128,c>>6&63|128,c&63|128)}else throw new Error("Invalid code point")}return X}function Se(w){const a=[];for(let c=0;c<w.length;++c)a.push(w.charCodeAt(c)&255);return a}function Be(w,a){let c,O,N;const X=[];for(let re=0;re<w.length&&!((a-=2)<0);++re)c=w.charCodeAt(re),O=c>>8,N=c%256,X.push(N),X.push(O);return X}function Fe(w){return se.toByteArray(ge(w))}function je(w,a,c,O){let N;for(N=0;N<O&&!(N+c>=a.length||N>=w.length);++N)a[N+c]=w[N];return N}function Re(w,a){return w instanceof a||w!=null&&w.constructor!=null&&w.constructor.name!=null&&w.constructor.name===a.name}function $t(w){return w!==w}const ze=function(){const w="0123456789abcdef",a=new Array(256);for(let c=0;c<16;++c){const O=c*16;for(let N=0;N<16;++N)a[O+N]=w[c]+w[N]}return a}();function Pe(w){return typeof BigInt>"u"?mr:w}function mr(){throw new Error("BigInt not supported")}})(t);const he=t.Buffer;e.Blob=t.Blob,e.BlobOptions=t.BlobOptions,e.Buffer=t.Buffer,e.File=t.File,e.FileOptions=t.FileOptions,e.INSPECT_MAX_BYTES=t.INSPECT_MAX_BYTES,e.SlowBuffer=t.SlowBuffer,e.TranscodeEncoding=t.TranscodeEncoding,e.atob=t.atob,e.btoa=t.btoa,e.constants=t.constants,e.default=he,e.isAscii=t.isAscii,e.isUtf8=t.isUtf8,e.kMaxLength=t.kMaxLength,e.kStringMaxLength=t.kStringMaxLength,e.resolveObjectURL=t.resolveObjectURL,e.transcode=t.transcode}(Bn)),Bn}var Y1=Br.exports,Co;function nw(){return Co||(Co=1,function(e){(function(t,r){function n(A,i){if(!A)throw new Error(i||"Assertion failed")}function u(A,i){A.super_=i;var h=function(){};h.prototype=i.prototype,A.prototype=new h,A.prototype.constructor=A}function o(A,i,h){if(o.isBN(A))return A;this.negative=0,this.words=null,this.length=0,this.red=null,A!==null&&((i==="le"||i==="be")&&(h=i,i=10),this._init(A||0,i||10,h||"be"))}typeof t=="object"?t.exports=o:r.BN=o,o.BN=o,o.wordSize=26;var d;try{typeof window<"u"&&typeof window.Buffer<"u"?d=window.Buffer:d=K1().Buffer}catch{}o.isBN=function(i){return i instanceof o?!0:i!==null&&typeof i=="object"&&i.constructor.wordSize===o.wordSize&&Array.isArray(i.words)},o.max=function(i,h){return i.cmp(h)>0?i:h},o.min=function(i,h){return i.cmp(h)<0?i:h},o.prototype._init=function(i,h,g){if(typeof i=="number")return this._initNumber(i,h,g);if(typeof i=="object")return this._initArray(i,h,g);h==="hex"&&(h=16),n(h===(h|0)&&h>=2&&h<=36),i=i.toString().replace(/\s+/g,"");var m=0;i[0]==="-"&&(m++,this.negative=1),m<i.length&&(h===16?this._parseHex(i,m,g):(this._parseBase(i,h,m),g==="le"&&this._initArray(this.toArray(),h,g)))},o.prototype._initNumber=function(i,h,g){i<0&&(this.negative=1,i=-i),i<67108864?(this.words=[i&67108863],this.length=1):i<4503599627370496?(this.words=[i&67108863,i/67108864&67108863],this.length=2):(n(i<9007199254740992),this.words=[i&67108863,i/67108864&67108863,1],this.length=3),g==="le"&&this._initArray(this.toArray(),h,g)},o.prototype._initArray=function(i,h,g){if(n(typeof i.length=="number"),i.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(i.length/3),this.words=new Array(this.length);for(var m=0;m<this.length;m++)this.words[m]=0;var v,T,$=0;if(g==="be")for(m=i.length-1,v=0;m>=0;m-=3)T=i[m]|i[m-1]<<8|i[m-2]<<16,this.words[v]|=T<<$&67108863,this.words[v+1]=T>>>26-$&67108863,$+=24,$>=26&&($-=26,v++);else if(g==="le")for(m=0,v=0;m<i.length;m+=3)T=i[m]|i[m+1]<<8|i[m+2]<<16,this.words[v]|=T<<$&67108863,this.words[v+1]=T>>>26-$&67108863,$+=24,$>=26&&($-=26,v++);return this.strip()};function b(A,i){var h=A.charCodeAt(i);return h>=65&&h<=70?h-55:h>=97&&h<=102?h-87:h-48&15}function B(A,i,h){var g=b(A,h);return h-1>=i&&(g|=b(A,h-1)<<4),g}o.prototype._parseHex=function(i,h,g){this.length=Math.ceil((i.length-h)/6),this.words=new Array(this.length);for(var m=0;m<this.length;m++)this.words[m]=0;var v=0,T=0,$;if(g==="be")for(m=i.length-1;m>=h;m-=2)$=B(i,h,m)<<v,this.words[T]|=$&67108863,v>=18?(v-=18,T+=1,this.words[T]|=$>>>26):v+=8;else{var M=i.length-h;for(m=M%2===0?h+1:h;m<i.length;m+=2)$=B(i,h,m)<<v,this.words[T]|=$&67108863,v>=18?(v-=18,T+=1,this.words[T]|=$>>>26):v+=8}this.strip()};function E(A,i,h,g){for(var m=0,v=Math.min(A.length,h),T=i;T<v;T++){var $=A.charCodeAt(T)-48;m*=g,$>=49?m+=$-49+10:$>=17?m+=$-17+10:m+=$}return m}o.prototype._parseBase=function(i,h,g){this.words=[0],this.length=1;for(var m=0,v=1;v<=67108863;v*=h)m++;m--,v=v/h|0;for(var T=i.length-g,$=T%m,M=Math.min(T,T-$)+g,f=0,S=g;S<M;S+=m)f=E(i,S,S+m,h),this.imuln(v),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f);if($!==0){var ue=1;for(f=E(i,S,i.length,h),S=0;S<$;S++)ue*=h;this.imuln(ue),this.words[0]+f<67108864?this.words[0]+=f:this._iaddn(f)}this.strip()},o.prototype.copy=function(i){i.words=new Array(this.length);for(var h=0;h<this.length;h++)i.words[h]=this.words[h];i.length=this.length,i.negative=this.negative,i.red=this.red},o.prototype.clone=function(){var i=new o(null);return this.copy(i),i},o.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},o.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var p=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],F=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],q=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(i,h){i=i||10,h=h|0||1;var g;if(i===16||i==="hex"){g="";for(var m=0,v=0,T=0;T<this.length;T++){var $=this.words[T],M=(($<<m|v)&16777215).toString(16);v=$>>>24-m&16777215,v!==0||T!==this.length-1?g=p[6-M.length]+M+g:g=M+g,m+=2,m>=26&&(m-=26,T--)}for(v!==0&&(g=v.toString(16)+g);g.length%h!==0;)g="0"+g;return this.negative!==0&&(g="-"+g),g}if(i===(i|0)&&i>=2&&i<=36){var f=F[i],S=q[i];g="";var ue=this.clone();for(ue.negative=0;!ue.isZero();){var pe=ue.modn(S).toString(i);ue=ue.idivn(S),ue.isZero()?g=pe+g:g=p[f-pe.length]+pe+g}for(this.isZero()&&(g="0"+g);g.length%h!==0;)g="0"+g;return this.negative!==0&&(g="-"+g),g}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var i=this.words[0];return this.length===2?i+=this.words[1]*67108864:this.length===3&&this.words[2]===1?i+=4503599627370496+this.words[1]*67108864:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-i:i},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(i,h){return n(typeof d<"u"),this.toArrayLike(d,i,h)},o.prototype.toArray=function(i,h){return this.toArrayLike(Array,i,h)},o.prototype.toArrayLike=function(i,h,g){var m=this.byteLength(),v=g||Math.max(1,m);n(m<=v,"byte array longer than desired length"),n(v>0,"Requested array length <= 0"),this.strip();var T=h==="le",$=new i(v),M,f,S=this.clone();if(T){for(f=0;!S.isZero();f++)M=S.andln(255),S.iushrn(8),$[f]=M;for(;f<v;f++)$[f]=0}else{for(f=0;f<v-m;f++)$[f]=0;for(f=0;!S.isZero();f++)M=S.andln(255),S.iushrn(8),$[v-f-1]=M}return $},Math.clz32?o.prototype._countBits=function(i){return 32-Math.clz32(i)}:o.prototype._countBits=function(i){var h=i,g=0;return h>=4096&&(g+=13,h>>>=13),h>=64&&(g+=7,h>>>=7),h>=8&&(g+=4,h>>>=4),h>=2&&(g+=2,h>>>=2),g+h},o.prototype._zeroBits=function(i){if(i===0)return 26;var h=i,g=0;return(h&8191)===0&&(g+=13,h>>>=13),(h&127)===0&&(g+=7,h>>>=7),(h&15)===0&&(g+=4,h>>>=4),(h&3)===0&&(g+=2,h>>>=2),(h&1)===0&&g++,g},o.prototype.bitLength=function(){var i=this.words[this.length-1],h=this._countBits(i);return(this.length-1)*26+h};function Q(A){for(var i=new Array(A.bitLength()),h=0;h<i.length;h++){var g=h/26|0,m=h%26;i[h]=(A.words[g]&1<<m)>>>m}return i}o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,h=0;h<this.length;h++){var g=this._zeroBits(this.words[h]);if(i+=g,g!==26)break}return i},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(i){return this.negative!==0?this.abs().inotn(i).iaddn(1):this.clone()},o.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return this.negative!==0},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var h=0;h<i.length;h++)this.words[h]=this.words[h]|i.words[h];return this.strip()},o.prototype.ior=function(i){return n((this.negative|i.negative)===0),this.iuor(i)},o.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},o.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},o.prototype.iuand=function(i){var h;this.length>i.length?h=i:h=this;for(var g=0;g<h.length;g++)this.words[g]=this.words[g]&i.words[g];return this.length=h.length,this.strip()},o.prototype.iand=function(i){return n((this.negative|i.negative)===0),this.iuand(i)},o.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},o.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},o.prototype.iuxor=function(i){var h,g;this.length>i.length?(h=this,g=i):(h=i,g=this);for(var m=0;m<g.length;m++)this.words[m]=h.words[m]^g.words[m];if(this!==h)for(;m<h.length;m++)this.words[m]=h.words[m];return this.length=h.length,this.strip()},o.prototype.ixor=function(i){return n((this.negative|i.negative)===0),this.iuxor(i)},o.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},o.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},o.prototype.inotn=function(i){n(typeof i=="number"&&i>=0);var h=Math.ceil(i/26)|0,g=i%26;this._expand(h),g>0&&h--;for(var m=0;m<h;m++)this.words[m]=~this.words[m]&67108863;return g>0&&(this.words[m]=~this.words[m]&67108863>>26-g),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,h){n(typeof i=="number"&&i>=0);var g=i/26|0,m=i%26;return this._expand(g+1),h?this.words[g]=this.words[g]|1<<m:this.words[g]=this.words[g]&~(1<<m),this.strip()},o.prototype.iadd=function(i){var h;if(this.negative!==0&&i.negative===0)return this.negative=0,h=this.isub(i),this.negative^=1,this._normSign();if(this.negative===0&&i.negative!==0)return i.negative=0,h=this.isub(i),i.negative=1,h._normSign();var g,m;this.length>i.length?(g=this,m=i):(g=i,m=this);for(var v=0,T=0;T<m.length;T++)h=(g.words[T]|0)+(m.words[T]|0)+v,this.words[T]=h&67108863,v=h>>>26;for(;v!==0&&T<g.length;T++)h=(g.words[T]|0)+v,this.words[T]=h&67108863,v=h>>>26;if(this.length=g.length,v!==0)this.words[this.length]=v,this.length++;else if(g!==this)for(;T<g.length;T++)this.words[T]=g.words[T];return this},o.prototype.add=function(i){var h;return i.negative!==0&&this.negative===0?(i.negative=0,h=this.sub(i),i.negative^=1,h):i.negative===0&&this.negative!==0?(this.negative=0,h=i.sub(this),this.negative=1,h):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},o.prototype.isub=function(i){if(i.negative!==0){i.negative=0;var h=this.iadd(i);return i.negative=1,h._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var g=this.cmp(i);if(g===0)return this.negative=0,this.length=1,this.words[0]=0,this;var m,v;g>0?(m=this,v=i):(m=i,v=this);for(var T=0,$=0;$<v.length;$++)h=(m.words[$]|0)-(v.words[$]|0)+T,T=h>>26,this.words[$]=h&67108863;for(;T!==0&&$<m.length;$++)h=(m.words[$]|0)+T,T=h>>26,this.words[$]=h&67108863;if(T===0&&$<m.length&&m!==this)for(;$<m.length;$++)this.words[$]=m.words[$];return this.length=Math.max(this.length,$),m!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};function W(A,i,h){h.negative=i.negative^A.negative;var g=A.length+i.length|0;h.length=g,g=g-1|0;var m=A.words[0]|0,v=i.words[0]|0,T=m*v,$=T&67108863,M=T/67108864|0;h.words[0]=$;for(var f=1;f<g;f++){for(var S=M>>>26,ue=M&67108863,pe=Math.min(f,i.length-1),D=Math.max(0,f-A.length+1);D<=pe;D++){var me=f-D|0;m=A.words[me]|0,v=i.words[D]|0,T=m*v+ue,S+=T/67108864|0,ue=T&67108863}h.words[f]=ue|0,M=S|0}return M!==0?h.words[f]=M|0:h.length--,h.strip()}var oe=function(i,h,g){var m=i.words,v=h.words,T=g.words,$=0,M,f,S,ue=m[0]|0,pe=ue&8191,D=ue>>>13,me=m[1]|0,Me=me&8191,Oe=me>>>13,$e=m[2]|0,_e=$e&8191,x=$e>>>13,C=m[3]|0,R=C&8191,k=C>>>13,j=m[4]|0,L=j&8191,G=j>>>13,U=m[5]|0,P=U&8191,H=U>>>13,V=m[6]|0,ie=V&8191,le=V>>>13,ye=m[7]|0,we=ye&8191,Ee=ye>>>13,Ne=m[8]|0,xe=Ne&8191,ve=Ne>>>13,Le=m[9]|0,y=Le&8191,s=Le>>>13,l=v[0]|0,_=l&8191,I=l>>>13,Z=v[1]|0,K=Z&8191,ge=Z>>>13,Ue=v[2]|0,Se=Ue&8191,Be=Ue>>>13,Fe=v[3]|0,je=Fe&8191,Re=Fe>>>13,$t=v[4]|0,ze=$t&8191,Pe=$t>>>13,mr=v[5]|0,w=mr&8191,a=mr>>>13,c=v[6]|0,O=c&8191,N=c>>>13,X=v[7]|0,re=X&8191,be=X>>>13,ke=v[8]|0,Ae=ke&8191,Te=ke>>>13,Ie=v[9]|0,We=Ie&8191,Ze=Ie>>>13;g.negative=i.negative^h.negative,g.length=19,M=Math.imul(pe,_),f=Math.imul(pe,I),f=f+Math.imul(D,_)|0,S=Math.imul(D,I);var Yr=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(Yr>>>26)|0,Yr&=67108863,M=Math.imul(Me,_),f=Math.imul(Me,I),f=f+Math.imul(Oe,_)|0,S=Math.imul(Oe,I),M=M+Math.imul(pe,K)|0,f=f+Math.imul(pe,ge)|0,f=f+Math.imul(D,K)|0,S=S+Math.imul(D,ge)|0;var Xr=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(Xr>>>26)|0,Xr&=67108863,M=Math.imul(_e,_),f=Math.imul(_e,I),f=f+Math.imul(x,_)|0,S=Math.imul(x,I),M=M+Math.imul(Me,K)|0,f=f+Math.imul(Me,ge)|0,f=f+Math.imul(Oe,K)|0,S=S+Math.imul(Oe,ge)|0,M=M+Math.imul(pe,Se)|0,f=f+Math.imul(pe,Be)|0,f=f+Math.imul(D,Se)|0,S=S+Math.imul(D,Be)|0;var Qr=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(Qr>>>26)|0,Qr&=67108863,M=Math.imul(R,_),f=Math.imul(R,I),f=f+Math.imul(k,_)|0,S=Math.imul(k,I),M=M+Math.imul(_e,K)|0,f=f+Math.imul(_e,ge)|0,f=f+Math.imul(x,K)|0,S=S+Math.imul(x,ge)|0,M=M+Math.imul(Me,Se)|0,f=f+Math.imul(Me,Be)|0,f=f+Math.imul(Oe,Se)|0,S=S+Math.imul(Oe,Be)|0,M=M+Math.imul(pe,je)|0,f=f+Math.imul(pe,Re)|0,f=f+Math.imul(D,je)|0,S=S+Math.imul(D,Re)|0;var en=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(en>>>26)|0,en&=67108863,M=Math.imul(L,_),f=Math.imul(L,I),f=f+Math.imul(G,_)|0,S=Math.imul(G,I),M=M+Math.imul(R,K)|0,f=f+Math.imul(R,ge)|0,f=f+Math.imul(k,K)|0,S=S+Math.imul(k,ge)|0,M=M+Math.imul(_e,Se)|0,f=f+Math.imul(_e,Be)|0,f=f+Math.imul(x,Se)|0,S=S+Math.imul(x,Be)|0,M=M+Math.imul(Me,je)|0,f=f+Math.imul(Me,Re)|0,f=f+Math.imul(Oe,je)|0,S=S+Math.imul(Oe,Re)|0,M=M+Math.imul(pe,ze)|0,f=f+Math.imul(pe,Pe)|0,f=f+Math.imul(D,ze)|0,S=S+Math.imul(D,Pe)|0;var tn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(tn>>>26)|0,tn&=67108863,M=Math.imul(P,_),f=Math.imul(P,I),f=f+Math.imul(H,_)|0,S=Math.imul(H,I),M=M+Math.imul(L,K)|0,f=f+Math.imul(L,ge)|0,f=f+Math.imul(G,K)|0,S=S+Math.imul(G,ge)|0,M=M+Math.imul(R,Se)|0,f=f+Math.imul(R,Be)|0,f=f+Math.imul(k,Se)|0,S=S+Math.imul(k,Be)|0,M=M+Math.imul(_e,je)|0,f=f+Math.imul(_e,Re)|0,f=f+Math.imul(x,je)|0,S=S+Math.imul(x,Re)|0,M=M+Math.imul(Me,ze)|0,f=f+Math.imul(Me,Pe)|0,f=f+Math.imul(Oe,ze)|0,S=S+Math.imul(Oe,Pe)|0,M=M+Math.imul(pe,w)|0,f=f+Math.imul(pe,a)|0,f=f+Math.imul(D,w)|0,S=S+Math.imul(D,a)|0;var rn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(rn>>>26)|0,rn&=67108863,M=Math.imul(ie,_),f=Math.imul(ie,I),f=f+Math.imul(le,_)|0,S=Math.imul(le,I),M=M+Math.imul(P,K)|0,f=f+Math.imul(P,ge)|0,f=f+Math.imul(H,K)|0,S=S+Math.imul(H,ge)|0,M=M+Math.imul(L,Se)|0,f=f+Math.imul(L,Be)|0,f=f+Math.imul(G,Se)|0,S=S+Math.imul(G,Be)|0,M=M+Math.imul(R,je)|0,f=f+Math.imul(R,Re)|0,f=f+Math.imul(k,je)|0,S=S+Math.imul(k,Re)|0,M=M+Math.imul(_e,ze)|0,f=f+Math.imul(_e,Pe)|0,f=f+Math.imul(x,ze)|0,S=S+Math.imul(x,Pe)|0,M=M+Math.imul(Me,w)|0,f=f+Math.imul(Me,a)|0,f=f+Math.imul(Oe,w)|0,S=S+Math.imul(Oe,a)|0,M=M+Math.imul(pe,O)|0,f=f+Math.imul(pe,N)|0,f=f+Math.imul(D,O)|0,S=S+Math.imul(D,N)|0;var nn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(nn>>>26)|0,nn&=67108863,M=Math.imul(we,_),f=Math.imul(we,I),f=f+Math.imul(Ee,_)|0,S=Math.imul(Ee,I),M=M+Math.imul(ie,K)|0,f=f+Math.imul(ie,ge)|0,f=f+Math.imul(le,K)|0,S=S+Math.imul(le,ge)|0,M=M+Math.imul(P,Se)|0,f=f+Math.imul(P,Be)|0,f=f+Math.imul(H,Se)|0,S=S+Math.imul(H,Be)|0,M=M+Math.imul(L,je)|0,f=f+Math.imul(L,Re)|0,f=f+Math.imul(G,je)|0,S=S+Math.imul(G,Re)|0,M=M+Math.imul(R,ze)|0,f=f+Math.imul(R,Pe)|0,f=f+Math.imul(k,ze)|0,S=S+Math.imul(k,Pe)|0,M=M+Math.imul(_e,w)|0,f=f+Math.imul(_e,a)|0,f=f+Math.imul(x,w)|0,S=S+Math.imul(x,a)|0,M=M+Math.imul(Me,O)|0,f=f+Math.imul(Me,N)|0,f=f+Math.imul(Oe,O)|0,S=S+Math.imul(Oe,N)|0,M=M+Math.imul(pe,re)|0,f=f+Math.imul(pe,be)|0,f=f+Math.imul(D,re)|0,S=S+Math.imul(D,be)|0;var on=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(on>>>26)|0,on&=67108863,M=Math.imul(xe,_),f=Math.imul(xe,I),f=f+Math.imul(ve,_)|0,S=Math.imul(ve,I),M=M+Math.imul(we,K)|0,f=f+Math.imul(we,ge)|0,f=f+Math.imul(Ee,K)|0,S=S+Math.imul(Ee,ge)|0,M=M+Math.imul(ie,Se)|0,f=f+Math.imul(ie,Be)|0,f=f+Math.imul(le,Se)|0,S=S+Math.imul(le,Be)|0,M=M+Math.imul(P,je)|0,f=f+Math.imul(P,Re)|0,f=f+Math.imul(H,je)|0,S=S+Math.imul(H,Re)|0,M=M+Math.imul(L,ze)|0,f=f+Math.imul(L,Pe)|0,f=f+Math.imul(G,ze)|0,S=S+Math.imul(G,Pe)|0,M=M+Math.imul(R,w)|0,f=f+Math.imul(R,a)|0,f=f+Math.imul(k,w)|0,S=S+Math.imul(k,a)|0,M=M+Math.imul(_e,O)|0,f=f+Math.imul(_e,N)|0,f=f+Math.imul(x,O)|0,S=S+Math.imul(x,N)|0,M=M+Math.imul(Me,re)|0,f=f+Math.imul(Me,be)|0,f=f+Math.imul(Oe,re)|0,S=S+Math.imul(Oe,be)|0,M=M+Math.imul(pe,Ae)|0,f=f+Math.imul(pe,Te)|0,f=f+Math.imul(D,Ae)|0,S=S+Math.imul(D,Te)|0;var sn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(sn>>>26)|0,sn&=67108863,M=Math.imul(y,_),f=Math.imul(y,I),f=f+Math.imul(s,_)|0,S=Math.imul(s,I),M=M+Math.imul(xe,K)|0,f=f+Math.imul(xe,ge)|0,f=f+Math.imul(ve,K)|0,S=S+Math.imul(ve,ge)|0,M=M+Math.imul(we,Se)|0,f=f+Math.imul(we,Be)|0,f=f+Math.imul(Ee,Se)|0,S=S+Math.imul(Ee,Be)|0,M=M+Math.imul(ie,je)|0,f=f+Math.imul(ie,Re)|0,f=f+Math.imul(le,je)|0,S=S+Math.imul(le,Re)|0,M=M+Math.imul(P,ze)|0,f=f+Math.imul(P,Pe)|0,f=f+Math.imul(H,ze)|0,S=S+Math.imul(H,Pe)|0,M=M+Math.imul(L,w)|0,f=f+Math.imul(L,a)|0,f=f+Math.imul(G,w)|0,S=S+Math.imul(G,a)|0,M=M+Math.imul(R,O)|0,f=f+Math.imul(R,N)|0,f=f+Math.imul(k,O)|0,S=S+Math.imul(k,N)|0,M=M+Math.imul(_e,re)|0,f=f+Math.imul(_e,be)|0,f=f+Math.imul(x,re)|0,S=S+Math.imul(x,be)|0,M=M+Math.imul(Me,Ae)|0,f=f+Math.imul(Me,Te)|0,f=f+Math.imul(Oe,Ae)|0,S=S+Math.imul(Oe,Te)|0,M=M+Math.imul(pe,We)|0,f=f+Math.imul(pe,Ze)|0,f=f+Math.imul(D,We)|0,S=S+Math.imul(D,Ze)|0;var an=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(an>>>26)|0,an&=67108863,M=Math.imul(y,K),f=Math.imul(y,ge),f=f+Math.imul(s,K)|0,S=Math.imul(s,ge),M=M+Math.imul(xe,Se)|0,f=f+Math.imul(xe,Be)|0,f=f+Math.imul(ve,Se)|0,S=S+Math.imul(ve,Be)|0,M=M+Math.imul(we,je)|0,f=f+Math.imul(we,Re)|0,f=f+Math.imul(Ee,je)|0,S=S+Math.imul(Ee,Re)|0,M=M+Math.imul(ie,ze)|0,f=f+Math.imul(ie,Pe)|0,f=f+Math.imul(le,ze)|0,S=S+Math.imul(le,Pe)|0,M=M+Math.imul(P,w)|0,f=f+Math.imul(P,a)|0,f=f+Math.imul(H,w)|0,S=S+Math.imul(H,a)|0,M=M+Math.imul(L,O)|0,f=f+Math.imul(L,N)|0,f=f+Math.imul(G,O)|0,S=S+Math.imul(G,N)|0,M=M+Math.imul(R,re)|0,f=f+Math.imul(R,be)|0,f=f+Math.imul(k,re)|0,S=S+Math.imul(k,be)|0,M=M+Math.imul(_e,Ae)|0,f=f+Math.imul(_e,Te)|0,f=f+Math.imul(x,Ae)|0,S=S+Math.imul(x,Te)|0,M=M+Math.imul(Me,We)|0,f=f+Math.imul(Me,Ze)|0,f=f+Math.imul(Oe,We)|0,S=S+Math.imul(Oe,Ze)|0;var un=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(un>>>26)|0,un&=67108863,M=Math.imul(y,Se),f=Math.imul(y,Be),f=f+Math.imul(s,Se)|0,S=Math.imul(s,Be),M=M+Math.imul(xe,je)|0,f=f+Math.imul(xe,Re)|0,f=f+Math.imul(ve,je)|0,S=S+Math.imul(ve,Re)|0,M=M+Math.imul(we,ze)|0,f=f+Math.imul(we,Pe)|0,f=f+Math.imul(Ee,ze)|0,S=S+Math.imul(Ee,Pe)|0,M=M+Math.imul(ie,w)|0,f=f+Math.imul(ie,a)|0,f=f+Math.imul(le,w)|0,S=S+Math.imul(le,a)|0,M=M+Math.imul(P,O)|0,f=f+Math.imul(P,N)|0,f=f+Math.imul(H,O)|0,S=S+Math.imul(H,N)|0,M=M+Math.imul(L,re)|0,f=f+Math.imul(L,be)|0,f=f+Math.imul(G,re)|0,S=S+Math.imul(G,be)|0,M=M+Math.imul(R,Ae)|0,f=f+Math.imul(R,Te)|0,f=f+Math.imul(k,Ae)|0,S=S+Math.imul(k,Te)|0,M=M+Math.imul(_e,We)|0,f=f+Math.imul(_e,Ze)|0,f=f+Math.imul(x,We)|0,S=S+Math.imul(x,Ze)|0;var fn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(fn>>>26)|0,fn&=67108863,M=Math.imul(y,je),f=Math.imul(y,Re),f=f+Math.imul(s,je)|0,S=Math.imul(s,Re),M=M+Math.imul(xe,ze)|0,f=f+Math.imul(xe,Pe)|0,f=f+Math.imul(ve,ze)|0,S=S+Math.imul(ve,Pe)|0,M=M+Math.imul(we,w)|0,f=f+Math.imul(we,a)|0,f=f+Math.imul(Ee,w)|0,S=S+Math.imul(Ee,a)|0,M=M+Math.imul(ie,O)|0,f=f+Math.imul(ie,N)|0,f=f+Math.imul(le,O)|0,S=S+Math.imul(le,N)|0,M=M+Math.imul(P,re)|0,f=f+Math.imul(P,be)|0,f=f+Math.imul(H,re)|0,S=S+Math.imul(H,be)|0,M=M+Math.imul(L,Ae)|0,f=f+Math.imul(L,Te)|0,f=f+Math.imul(G,Ae)|0,S=S+Math.imul(G,Te)|0,M=M+Math.imul(R,We)|0,f=f+Math.imul(R,Ze)|0,f=f+Math.imul(k,We)|0,S=S+Math.imul(k,Ze)|0;var ln=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(ln>>>26)|0,ln&=67108863,M=Math.imul(y,ze),f=Math.imul(y,Pe),f=f+Math.imul(s,ze)|0,S=Math.imul(s,Pe),M=M+Math.imul(xe,w)|0,f=f+Math.imul(xe,a)|0,f=f+Math.imul(ve,w)|0,S=S+Math.imul(ve,a)|0,M=M+Math.imul(we,O)|0,f=f+Math.imul(we,N)|0,f=f+Math.imul(Ee,O)|0,S=S+Math.imul(Ee,N)|0,M=M+Math.imul(ie,re)|0,f=f+Math.imul(ie,be)|0,f=f+Math.imul(le,re)|0,S=S+Math.imul(le,be)|0,M=M+Math.imul(P,Ae)|0,f=f+Math.imul(P,Te)|0,f=f+Math.imul(H,Ae)|0,S=S+Math.imul(H,Te)|0,M=M+Math.imul(L,We)|0,f=f+Math.imul(L,Ze)|0,f=f+Math.imul(G,We)|0,S=S+Math.imul(G,Ze)|0;var cn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(cn>>>26)|0,cn&=67108863,M=Math.imul(y,w),f=Math.imul(y,a),f=f+Math.imul(s,w)|0,S=Math.imul(s,a),M=M+Math.imul(xe,O)|0,f=f+Math.imul(xe,N)|0,f=f+Math.imul(ve,O)|0,S=S+Math.imul(ve,N)|0,M=M+Math.imul(we,re)|0,f=f+Math.imul(we,be)|0,f=f+Math.imul(Ee,re)|0,S=S+Math.imul(Ee,be)|0,M=M+Math.imul(ie,Ae)|0,f=f+Math.imul(ie,Te)|0,f=f+Math.imul(le,Ae)|0,S=S+Math.imul(le,Te)|0,M=M+Math.imul(P,We)|0,f=f+Math.imul(P,Ze)|0,f=f+Math.imul(H,We)|0,S=S+Math.imul(H,Ze)|0;var hn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(hn>>>26)|0,hn&=67108863,M=Math.imul(y,O),f=Math.imul(y,N),f=f+Math.imul(s,O)|0,S=Math.imul(s,N),M=M+Math.imul(xe,re)|0,f=f+Math.imul(xe,be)|0,f=f+Math.imul(ve,re)|0,S=S+Math.imul(ve,be)|0,M=M+Math.imul(we,Ae)|0,f=f+Math.imul(we,Te)|0,f=f+Math.imul(Ee,Ae)|0,S=S+Math.imul(Ee,Te)|0,M=M+Math.imul(ie,We)|0,f=f+Math.imul(ie,Ze)|0,f=f+Math.imul(le,We)|0,S=S+Math.imul(le,Ze)|0;var dn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(dn>>>26)|0,dn&=67108863,M=Math.imul(y,re),f=Math.imul(y,be),f=f+Math.imul(s,re)|0,S=Math.imul(s,be),M=M+Math.imul(xe,Ae)|0,f=f+Math.imul(xe,Te)|0,f=f+Math.imul(ve,Ae)|0,S=S+Math.imul(ve,Te)|0,M=M+Math.imul(we,We)|0,f=f+Math.imul(we,Ze)|0,f=f+Math.imul(Ee,We)|0,S=S+Math.imul(Ee,Ze)|0;var pn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(pn>>>26)|0,pn&=67108863,M=Math.imul(y,Ae),f=Math.imul(y,Te),f=f+Math.imul(s,Ae)|0,S=Math.imul(s,Te),M=M+Math.imul(xe,We)|0,f=f+Math.imul(xe,Ze)|0,f=f+Math.imul(ve,We)|0,S=S+Math.imul(ve,Ze)|0;var gn=($+M|0)+((f&8191)<<13)|0;$=(S+(f>>>13)|0)+(gn>>>26)|0,gn&=67108863,M=Math.imul(y,We),f=Math.imul(y,Ze),f=f+Math.imul(s,We)|0,S=Math.imul(s,Ze);var mn=($+M|0)+((f&8191)<<13)|0;return $=(S+(f>>>13)|0)+(mn>>>26)|0,mn&=67108863,T[0]=Yr,T[1]=Xr,T[2]=Qr,T[3]=en,T[4]=tn,T[5]=rn,T[6]=nn,T[7]=on,T[8]=sn,T[9]=an,T[10]=un,T[11]=fn,T[12]=ln,T[13]=cn,T[14]=hn,T[15]=dn,T[16]=pn,T[17]=gn,T[18]=mn,$!==0&&(T[19]=$,g.length++),g};Math.imul||(oe=W);function J(A,i,h){h.negative=i.negative^A.negative,h.length=A.length+i.length;for(var g=0,m=0,v=0;v<h.length-1;v++){var T=m;m=0;for(var $=g&67108863,M=Math.min(v,i.length-1),f=Math.max(0,v-A.length+1);f<=M;f++){var S=v-f,ue=A.words[S]|0,pe=i.words[f]|0,D=ue*pe,me=D&67108863;T=T+(D/67108864|0)|0,me=me+$|0,$=me&67108863,T=T+(me>>>26)|0,m+=T>>>26,T&=67108863}h.words[v]=$,g=T,T=m}return g!==0?h.words[v]=g:h.length--,h.strip()}function he(A,i,h){var g=new te;return g.mulp(A,i,h)}o.prototype.mulTo=function(i,h){var g,m=this.length+i.length;return this.length===10&&i.length===10?g=oe(this,i,h):m<63?g=W(this,i,h):m<1024?g=J(this,i,h):g=he(this,i,h),g};function te(A,i){this.x=A,this.y=i}te.prototype.makeRBT=function(i){for(var h=new Array(i),g=o.prototype._countBits(i)-1,m=0;m<i;m++)h[m]=this.revBin(m,g,i);return h},te.prototype.revBin=function(i,h,g){if(i===0||i===g-1)return i;for(var m=0,v=0;v<h;v++)m|=(i&1)<<h-v-1,i>>=1;return m},te.prototype.permute=function(i,h,g,m,v,T){for(var $=0;$<T;$++)m[$]=h[i[$]],v[$]=g[i[$]]},te.prototype.transform=function(i,h,g,m,v,T){this.permute(T,i,h,g,m,v);for(var $=1;$<v;$<<=1)for(var M=$<<1,f=Math.cos(2*Math.PI/M),S=Math.sin(2*Math.PI/M),ue=0;ue<v;ue+=M)for(var pe=f,D=S,me=0;me<$;me++){var Me=g[ue+me],Oe=m[ue+me],$e=g[ue+me+$],_e=m[ue+me+$],x=pe*$e-D*_e;_e=pe*_e+D*$e,$e=x,g[ue+me]=Me+$e,m[ue+me]=Oe+_e,g[ue+me+$]=Me-$e,m[ue+me+$]=Oe-_e,me!==M&&(x=f*pe-S*D,D=f*D+S*pe,pe=x)}},te.prototype.guessLen13b=function(i,h){var g=Math.max(h,i)|1,m=g&1,v=0;for(g=g/2|0;g;g=g>>>1)v++;return 1<<v+1+m},te.prototype.conjugate=function(i,h,g){if(!(g<=1))for(var m=0;m<g/2;m++){var v=i[m];i[m]=i[g-m-1],i[g-m-1]=v,v=h[m],h[m]=-h[g-m-1],h[g-m-1]=-v}},te.prototype.normalize13b=function(i,h){for(var g=0,m=0;m<h/2;m++){var v=Math.round(i[2*m+1]/h)*8192+Math.round(i[2*m]/h)+g;i[m]=v&67108863,v<67108864?g=0:g=v/67108864|0}return i},te.prototype.convert13b=function(i,h,g,m){for(var v=0,T=0;T<h;T++)v=v+(i[T]|0),g[2*T]=v&8191,v=v>>>13,g[2*T+1]=v&8191,v=v>>>13;for(T=2*h;T<m;++T)g[T]=0;n(v===0),n((v&-8192)===0)},te.prototype.stub=function(i){for(var h=new Array(i),g=0;g<i;g++)h[g]=0;return h},te.prototype.mulp=function(i,h,g){var m=2*this.guessLen13b(i.length,h.length),v=this.makeRBT(m),T=this.stub(m),$=new Array(m),M=new Array(m),f=new Array(m),S=new Array(m),ue=new Array(m),pe=new Array(m),D=g.words;D.length=m,this.convert13b(i.words,i.length,$,m),this.convert13b(h.words,h.length,S,m),this.transform($,T,M,f,m,v),this.transform(S,T,ue,pe,m,v);for(var me=0;me<m;me++){var Me=M[me]*ue[me]-f[me]*pe[me];f[me]=M[me]*pe[me]+f[me]*ue[me],M[me]=Me}return this.conjugate(M,f,m),this.transform(M,f,D,T,m,v),this.conjugate(D,T,m),this.normalize13b(D,m),g.negative=i.negative^h.negative,g.length=i.length+h.length,g.strip()},o.prototype.mul=function(i){var h=new o(null);return h.words=new Array(this.length+i.length),this.mulTo(i,h)},o.prototype.mulf=function(i){var h=new o(null);return h.words=new Array(this.length+i.length),he(this,i,h)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){n(typeof i=="number"),n(i<67108864);for(var h=0,g=0;g<this.length;g++){var m=(this.words[g]|0)*i,v=(m&67108863)+(h&67108863);h>>=26,h+=m/67108864|0,h+=v>>>26,this.words[g]=v&67108863}return h!==0&&(this.words[g]=h,this.length++),this},o.prototype.muln=function(i){return this.clone().imuln(i)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(i){var h=Q(i);if(h.length===0)return new o(1);for(var g=this,m=0;m<h.length&&h[m]===0;m++,g=g.sqr());if(++m<h.length)for(var v=g.sqr();m<h.length;m++,v=v.sqr())h[m]!==0&&(g=g.mul(v));return g},o.prototype.iushln=function(i){n(typeof i=="number"&&i>=0);var h=i%26,g=(i-h)/26,m=67108863>>>26-h<<26-h,v;if(h!==0){var T=0;for(v=0;v<this.length;v++){var $=this.words[v]&m,M=(this.words[v]|0)-$<<h;this.words[v]=M|T,T=$>>>26-h}T&&(this.words[v]=T,this.length++)}if(g!==0){for(v=this.length-1;v>=0;v--)this.words[v+g]=this.words[v];for(v=0;v<g;v++)this.words[v]=0;this.length+=g}return this.strip()},o.prototype.ishln=function(i){return n(this.negative===0),this.iushln(i)},o.prototype.iushrn=function(i,h,g){n(typeof i=="number"&&i>=0);var m;h?m=(h-h%26)/26:m=0;var v=i%26,T=Math.min((i-v)/26,this.length),$=67108863^67108863>>>v<<v,M=g;if(m-=T,m=Math.max(0,m),M){for(var f=0;f<T;f++)M.words[f]=this.words[f];M.length=T}if(T!==0)if(this.length>T)for(this.length-=T,f=0;f<this.length;f++)this.words[f]=this.words[f+T];else this.words[0]=0,this.length=1;var S=0;for(f=this.length-1;f>=0&&(S!==0||f>=m);f--){var ue=this.words[f]|0;this.words[f]=S<<26-v|ue>>>v,S=ue&$}return M&&S!==0&&(M.words[M.length++]=S),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,h,g){return n(this.negative===0),this.iushrn(i,h,g)},o.prototype.shln=function(i){return this.clone().ishln(i)},o.prototype.ushln=function(i){return this.clone().iushln(i)},o.prototype.shrn=function(i){return this.clone().ishrn(i)},o.prototype.ushrn=function(i){return this.clone().iushrn(i)},o.prototype.testn=function(i){n(typeof i=="number"&&i>=0);var h=i%26,g=(i-h)/26,m=1<<h;if(this.length<=g)return!1;var v=this.words[g];return!!(v&m)},o.prototype.imaskn=function(i){n(typeof i=="number"&&i>=0);var h=i%26,g=(i-h)/26;if(n(this.negative===0,"imaskn works only with positive numbers"),this.length<=g)return this;if(h!==0&&g++,this.length=Math.min(g,this.length),h!==0){var m=67108863^67108863>>>h<<h;this.words[this.length-1]&=m}return this.strip()},o.prototype.maskn=function(i){return this.clone().imaskn(i)},o.prototype.iaddn=function(i){return n(typeof i=="number"),n(i<67108864),i<0?this.isubn(-i):this.negative!==0?this.length===1&&(this.words[0]|0)<i?(this.words[0]=i-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(i),this.negative=1,this):this._iaddn(i)},o.prototype._iaddn=function(i){this.words[0]+=i;for(var h=0;h<this.length&&this.words[h]>=67108864;h++)this.words[h]-=67108864,h===this.length-1?this.words[h+1]=1:this.words[h+1]++;return this.length=Math.max(this.length,h+1),this},o.prototype.isubn=function(i){if(n(typeof i=="number"),n(i<67108864),i<0)return this.iaddn(-i);if(this.negative!==0)return this.negative=0,this.iaddn(i),this.negative=1,this;if(this.words[0]-=i,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var h=0;h<this.length&&this.words[h]<0;h++)this.words[h]+=67108864,this.words[h+1]-=1;return this.strip()},o.prototype.addn=function(i){return this.clone().iaddn(i)},o.prototype.subn=function(i){return this.clone().isubn(i)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(i,h,g){var m=i.length+g,v;this._expand(m);var T,$=0;for(v=0;v<i.length;v++){T=(this.words[v+g]|0)+$;var M=(i.words[v]|0)*h;T-=M&67108863,$=(T>>26)-(M/67108864|0),this.words[v+g]=T&67108863}for(;v<this.length-g;v++)T=(this.words[v+g]|0)+$,$=T>>26,this.words[v+g]=T&67108863;if($===0)return this.strip();for(n($===-1),$=0,v=0;v<this.length;v++)T=-(this.words[v]|0)+$,$=T>>26,this.words[v]=T&67108863;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,h){var g=this.length-i.length,m=this.clone(),v=i,T=v.words[v.length-1]|0,$=this._countBits(T);g=26-$,g!==0&&(v=v.ushln(g),m.iushln(g),T=v.words[v.length-1]|0);var M=m.length-v.length,f;if(h!=="mod"){f=new o(null),f.length=M+1,f.words=new Array(f.length);for(var S=0;S<f.length;S++)f.words[S]=0}var ue=m.clone()._ishlnsubmul(v,1,M);ue.negative===0&&(m=ue,f&&(f.words[M]=1));for(var pe=M-1;pe>=0;pe--){var D=(m.words[v.length+pe]|0)*67108864+(m.words[v.length+pe-1]|0);for(D=Math.min(D/T|0,67108863),m._ishlnsubmul(v,D,pe);m.negative!==0;)D--,m.negative=0,m._ishlnsubmul(v,1,pe),m.isZero()||(m.negative^=1);f&&(f.words[pe]=D)}return f&&f.strip(),m.strip(),h!=="div"&&g!==0&&m.iushrn(g),{div:f||null,mod:m}},o.prototype.divmod=function(i,h,g){if(n(!i.isZero()),this.isZero())return{div:new o(0),mod:new o(0)};var m,v,T;return this.negative!==0&&i.negative===0?(T=this.neg().divmod(i,h),h!=="mod"&&(m=T.div.neg()),h!=="div"&&(v=T.mod.neg(),g&&v.negative!==0&&v.iadd(i)),{div:m,mod:v}):this.negative===0&&i.negative!==0?(T=this.divmod(i.neg(),h),h!=="mod"&&(m=T.div.neg()),{div:m,mod:T.mod}):(this.negative&i.negative)!==0?(T=this.neg().divmod(i.neg(),h),h!=="div"&&(v=T.mod.neg(),g&&v.negative!==0&&v.isub(i)),{div:T.div,mod:v}):i.length>this.length||this.cmp(i)<0?{div:new o(0),mod:this}:i.length===1?h==="div"?{div:this.divn(i.words[0]),mod:null}:h==="mod"?{div:null,mod:new o(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new o(this.modn(i.words[0]))}:this._wordDiv(i,h)},o.prototype.div=function(i){return this.divmod(i,"div",!1).div},o.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},o.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},o.prototype.divRound=function(i){var h=this.divmod(i);if(h.mod.isZero())return h.div;var g=h.div.negative!==0?h.mod.isub(i):h.mod,m=i.ushrn(1),v=i.andln(1),T=g.cmp(m);return T<0||v===1&&T===0?h.div:h.div.negative!==0?h.div.isubn(1):h.div.iaddn(1)},o.prototype.modn=function(i){n(i<=67108863);for(var h=(1<<26)%i,g=0,m=this.length-1;m>=0;m--)g=(h*g+(this.words[m]|0))%i;return g},o.prototype.idivn=function(i){n(i<=67108863);for(var h=0,g=this.length-1;g>=0;g--){var m=(this.words[g]|0)+h*67108864;this.words[g]=m/i|0,h=m%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){n(i.negative===0),n(!i.isZero());var h=this,g=i.clone();h.negative!==0?h=h.umod(i):h=h.clone();for(var m=new o(1),v=new o(0),T=new o(0),$=new o(1),M=0;h.isEven()&&g.isEven();)h.iushrn(1),g.iushrn(1),++M;for(var f=g.clone(),S=h.clone();!h.isZero();){for(var ue=0,pe=1;(h.words[0]&pe)===0&&ue<26;++ue,pe<<=1);if(ue>0)for(h.iushrn(ue);ue-- >0;)(m.isOdd()||v.isOdd())&&(m.iadd(f),v.isub(S)),m.iushrn(1),v.iushrn(1);for(var D=0,me=1;(g.words[0]&me)===0&&D<26;++D,me<<=1);if(D>0)for(g.iushrn(D);D-- >0;)(T.isOdd()||$.isOdd())&&(T.iadd(f),$.isub(S)),T.iushrn(1),$.iushrn(1);h.cmp(g)>=0?(h.isub(g),m.isub(T),v.isub($)):(g.isub(h),T.isub(m),$.isub(v))}return{a:T,b:$,gcd:g.iushln(M)}},o.prototype._invmp=function(i){n(i.negative===0),n(!i.isZero());var h=this,g=i.clone();h.negative!==0?h=h.umod(i):h=h.clone();for(var m=new o(1),v=new o(0),T=g.clone();h.cmpn(1)>0&&g.cmpn(1)>0;){for(var $=0,M=1;(h.words[0]&M)===0&&$<26;++$,M<<=1);if($>0)for(h.iushrn($);$-- >0;)m.isOdd()&&m.iadd(T),m.iushrn(1);for(var f=0,S=1;(g.words[0]&S)===0&&f<26;++f,S<<=1);if(f>0)for(g.iushrn(f);f-- >0;)v.isOdd()&&v.iadd(T),v.iushrn(1);h.cmp(g)>=0?(h.isub(g),m.isub(v)):(g.isub(h),v.isub(m))}var ue;return h.cmpn(1)===0?ue=m:ue=v,ue.cmpn(0)<0&&ue.iadd(i),ue},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var h=this.clone(),g=i.clone();h.negative=0,g.negative=0;for(var m=0;h.isEven()&&g.isEven();m++)h.iushrn(1),g.iushrn(1);do{for(;h.isEven();)h.iushrn(1);for(;g.isEven();)g.iushrn(1);var v=h.cmp(g);if(v<0){var T=h;h=g,g=T}else if(v===0||g.cmpn(1)===0)break;h.isub(g)}while(!0);return g.iushln(m)},o.prototype.invm=function(i){return this.egcd(i).a.umod(i)},o.prototype.isEven=function(){return(this.words[0]&1)===0},o.prototype.isOdd=function(){return(this.words[0]&1)===1},o.prototype.andln=function(i){return this.words[0]&i},o.prototype.bincn=function(i){n(typeof i=="number");var h=i%26,g=(i-h)/26,m=1<<h;if(this.length<=g)return this._expand(g+1),this.words[g]|=m,this;for(var v=m,T=g;v!==0&&T<this.length;T++){var $=this.words[T]|0;$+=v,v=$>>>26,$&=67108863,this.words[T]=$}return v!==0&&(this.words[T]=v,this.length++),this},o.prototype.isZero=function(){return this.length===1&&this.words[0]===0},o.prototype.cmpn=function(i){var h=i<0;if(this.negative!==0&&!h)return-1;if(this.negative===0&&h)return 1;this.strip();var g;if(this.length>1)g=1;else{h&&(i=-i),n(i<=67108863,"Number is too big");var m=this.words[0]|0;g=m===i?0:m<i?-1:1}return this.negative!==0?-g|0:g},o.prototype.cmp=function(i){if(this.negative!==0&&i.negative===0)return-1;if(this.negative===0&&i.negative!==0)return 1;var h=this.ucmp(i);return this.negative!==0?-h|0:h},o.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var h=0,g=this.length-1;g>=0;g--){var m=this.words[g]|0,v=i.words[g]|0;if(m!==v){m<v?h=-1:m>v&&(h=1);break}}return h},o.prototype.gtn=function(i){return this.cmpn(i)===1},o.prototype.gt=function(i){return this.cmp(i)===1},o.prototype.gten=function(i){return this.cmpn(i)>=0},o.prototype.gte=function(i){return this.cmp(i)>=0},o.prototype.ltn=function(i){return this.cmpn(i)===-1},o.prototype.lt=function(i){return this.cmp(i)===-1},o.prototype.lten=function(i){return this.cmpn(i)<=0},o.prototype.lte=function(i){return this.cmp(i)<=0},o.prototype.eqn=function(i){return this.cmpn(i)===0},o.prototype.eq=function(i){return this.cmp(i)===0},o.red=function(i){return new de(i)},o.prototype.toRed=function(i){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(i){return this.red=i,this},o.prototype.forceRed=function(i){return n(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return n(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var se={k256:null,p224:null,p192:null,p25519:null};function ce(A,i){this.name=A,this.p=new o(i,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}ce.prototype._tmp=function(){var i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},ce.prototype.ireduce=function(i){var h=i,g;do this.split(h,this.tmp),h=this.imulK(h),h=h.iadd(this.tmp),g=h.bitLength();while(g>this.n);var m=g<this.n?-1:h.ucmp(this.p);return m===0?(h.words[0]=0,h.length=1):m>0?h.isub(this.p):h.strip!==void 0?h.strip():h._strip(),h},ce.prototype.split=function(i,h){i.iushrn(this.n,0,h)},ce.prototype.imulK=function(i){return i.imul(this.k)};function fe(){ce.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}u(fe,ce),fe.prototype.split=function(i,h){for(var g=4194303,m=Math.min(i.length,9),v=0;v<m;v++)h.words[v]=i.words[v];if(h.length=m,i.length<=9){i.words[0]=0,i.length=1;return}var T=i.words[9];for(h.words[h.length++]=T&g,v=10;v<i.length;v++){var $=i.words[v]|0;i.words[v-10]=($&g)<<4|T>>>22,T=$}T>>>=22,i.words[v-10]=T,T===0&&i.length>10?i.length-=10:i.length-=9},fe.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var h=0,g=0;g<i.length;g++){var m=i.words[g]|0;h+=m*977,i.words[g]=h&67108863,h=m*64+(h/67108864|0)}return i.words[i.length-1]===0&&(i.length--,i.words[i.length-1]===0&&i.length--),i};function Y(){ce.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}u(Y,ce);function z(){ce.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}u(z,ce);function ae(){ce.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}u(ae,ce),ae.prototype.imulK=function(i){for(var h=0,g=0;g<i.length;g++){var m=(i.words[g]|0)*19+h,v=m&67108863;m>>>=26,i.words[g]=v,h=m}return h!==0&&(i.words[i.length++]=h),i},o._prime=function(i){if(se[i])return se[i];var h;if(i==="k256")h=new fe;else if(i==="p224")h=new Y;else if(i==="p192")h=new z;else if(i==="p25519")h=new ae;else throw new Error("Unknown prime "+i);return se[i]=h,h};function de(A){if(typeof A=="string"){var i=o._prime(A);this.m=i.p,this.prime=i}else n(A.gtn(1),"modulus must be greater than 1"),this.m=A,this.prime=null}de.prototype._verify1=function(i){n(i.negative===0,"red works only with positives"),n(i.red,"red works only with red numbers")},de.prototype._verify2=function(i,h){n((i.negative|h.negative)===0,"red works only with positives"),n(i.red&&i.red===h.red,"red works only with red numbers")},de.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},de.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},de.prototype.add=function(i,h){this._verify2(i,h);var g=i.add(h);return g.cmp(this.m)>=0&&g.isub(this.m),g._forceRed(this)},de.prototype.iadd=function(i,h){this._verify2(i,h);var g=i.iadd(h);return g.cmp(this.m)>=0&&g.isub(this.m),g},de.prototype.sub=function(i,h){this._verify2(i,h);var g=i.sub(h);return g.cmpn(0)<0&&g.iadd(this.m),g._forceRed(this)},de.prototype.isub=function(i,h){this._verify2(i,h);var g=i.isub(h);return g.cmpn(0)<0&&g.iadd(this.m),g},de.prototype.shl=function(i,h){return this._verify1(i),this.imod(i.ushln(h))},de.prototype.imul=function(i,h){return this._verify2(i,h),this.imod(i.imul(h))},de.prototype.mul=function(i,h){return this._verify2(i,h),this.imod(i.mul(h))},de.prototype.isqr=function(i){return this.imul(i,i.clone())},de.prototype.sqr=function(i){return this.mul(i,i)},de.prototype.sqrt=function(i){if(i.isZero())return i.clone();var h=this.m.andln(3);if(n(h%2===1),h===3){var g=this.m.add(new o(1)).iushrn(2);return this.pow(i,g)}for(var m=this.m.subn(1),v=0;!m.isZero()&&m.andln(1)===0;)v++,m.iushrn(1);n(!m.isZero());var T=new o(1).toRed(this),$=T.redNeg(),M=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new o(2*f*f).toRed(this);this.pow(f,M).cmp($)!==0;)f.redIAdd($);for(var S=this.pow(f,m),ue=this.pow(i,m.addn(1).iushrn(1)),pe=this.pow(i,m),D=v;pe.cmp(T)!==0;){for(var me=pe,Me=0;me.cmp(T)!==0;Me++)me=me.redSqr();n(Me<D);var Oe=this.pow(S,new o(1).iushln(D-Me-1));ue=ue.redMul(Oe),S=Oe.redSqr(),pe=pe.redMul(S),D=Me}return ue},de.prototype.invm=function(i){var h=i._invmp(this.m);return h.negative!==0?(h.negative=0,this.imod(h).redNeg()):this.imod(h)},de.prototype.pow=function(i,h){if(h.isZero())return new o(1).toRed(this);if(h.cmpn(1)===0)return i.clone();var g=4,m=new Array(1<<g);m[0]=new o(1).toRed(this),m[1]=i;for(var v=2;v<m.length;v++)m[v]=this.mul(m[v-1],i);var T=m[0],$=0,M=0,f=h.bitLength()%26;for(f===0&&(f=26),v=h.length-1;v>=0;v--){for(var S=h.words[v],ue=f-1;ue>=0;ue--){var pe=S>>ue&1;if(T!==m[0]&&(T=this.sqr(T)),pe===0&&$===0){M=0;continue}$<<=1,$|=pe,M++,!(M!==g&&(v!==0||ue!==0))&&(T=this.mul(T,m[$]),M=0,$=0)}f=26}return T},de.prototype.convertTo=function(i){var h=i.umod(this.m);return h===i?h.clone():h},de.prototype.convertFrom=function(i){var h=i.clone();return h.red=null,h},o.mont=function(i){return new ne(i)};function ne(A){de.call(this,A),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}u(ne,de),ne.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},ne.prototype.convertFrom=function(i){var h=this.imod(i.mul(this.rinv));return h.red=null,h},ne.prototype.imul=function(i,h){if(i.isZero()||h.isZero())return i.words[0]=0,i.length=1,i;var g=i.imul(h),m=g.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=g.isub(m).iushrn(this.shift),T=v;return v.cmp(this.m)>=0?T=v.isub(this.m):v.cmpn(0)<0&&(T=v.iadd(this.m)),T._forceRed(this)},ne.prototype.mul=function(i,h){if(i.isZero()||h.isZero())return new o(0)._forceRed(this);var g=i.mul(h),m=g.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=g.isub(m).iushrn(this.shift),T=v;return v.cmp(this.m)>=0?T=v.isub(this.m):v.cmpn(0)<0&&(T=v.iadd(this.m)),T._forceRed(this)},ne.prototype.invm=function(i){var h=this.imod(i._invmp(this.m).mul(this.r2));return h._forceRed(this)}})(e,Y1)}(Br)),Br.exports}function X1(e,t){return Dr(e,t)}const iw=Object.freeze(Object.defineProperty({__proto__:null,default:X1},Symbol.toStringTag,{value:"Module"}));function Q1(e,t){return Es(e,t,function(r,n){return xs(e,n)})}var eg=Us(function(e,t){return e==null?{}:Q1(e,t)});const ow=Object.freeze(Object.defineProperty({__proto__:null,default:eg},Symbol.toStringTag,{value:"Module"}));var vr={exports:{}},An,$o;function tg(){if($o)return An;$o=1;var e=1e3,t=e*60,r=t*60,n=r*24,u=n*7,o=n*365.25;An=function(p,F){F=F||{};var q=typeof p;if(q==="string"&&p.length>0)return d(p);if(q==="number"&&isFinite(p))return F.long?B(p):b(p);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(p))};function d(p){if(p=String(p),!(p.length>100)){var F=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(p);if(F){var q=parseFloat(F[1]),Q=(F[2]||"ms").toLowerCase();switch(Q){case"years":case"year":case"yrs":case"yr":case"y":return q*o;case"weeks":case"week":case"w":return q*u;case"days":case"day":case"d":return q*n;case"hours":case"hour":case"hrs":case"hr":case"h":return q*r;case"minutes":case"minute":case"mins":case"min":case"m":return q*t;case"seconds":case"second":case"secs":case"sec":case"s":return q*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return q;default:return}}}}function b(p){var F=Math.abs(p);return F>=n?Math.round(p/n)+"d":F>=r?Math.round(p/r)+"h":F>=t?Math.round(p/t)+"m":F>=e?Math.round(p/e)+"s":p+"ms"}function B(p){var F=Math.abs(p);return F>=n?E(p,F,n,"day"):F>=r?E(p,F,r,"hour"):F>=t?E(p,F,t,"minute"):F>=e?E(p,F,e,"second"):p+" ms"}function E(p,F,q,Q){var W=F>=q*1.5;return Math.round(p/q)+" "+Q+(W?"s":"")}return An}var On,Fo;function rg(){if(Fo)return On;Fo=1;function e(t){n.debug=n,n.default=n,n.coerce=E,n.disable=b,n.enable=o,n.enabled=B,n.humanize=tg(),n.destroy=p,Object.keys(t).forEach(F=>{n[F]=t[F]}),n.names=[],n.skips=[],n.formatters={};function r(F){let q=0;for(let Q=0;Q<F.length;Q++)q=(q<<5)-q+F.charCodeAt(Q),q|=0;return n.colors[Math.abs(q)%n.colors.length]}n.selectColor=r;function n(F){let q,Q=null,W,oe;function J(...he){if(!J.enabled)return;const te=J,se=Number(new Date),ce=se-(q||se);te.diff=ce,te.prev=q,te.curr=se,q=se,he[0]=n.coerce(he[0]),typeof he[0]!="string"&&he.unshift("%O");let fe=0;he[0]=he[0].replace(/%([a-zA-Z%])/g,(z,ae)=>{if(z==="%%")return"%";fe++;const de=n.formatters[ae];if(typeof de=="function"){const ne=he[fe];z=de.call(te,ne),he.splice(fe,1),fe--}return z}),n.formatArgs.call(te,he),(te.log||n.log).apply(te,he)}return J.namespace=F,J.useColors=n.useColors(),J.color=n.selectColor(F),J.extend=u,J.destroy=n.destroy,Object.defineProperty(J,"enabled",{enumerable:!0,configurable:!1,get:()=>Q!==null?Q:(W!==n.namespaces&&(W=n.namespaces,oe=n.enabled(F)),oe),set:he=>{Q=he}}),typeof n.init=="function"&&n.init(J),J}function u(F,q){const Q=n(this.namespace+(typeof q>"u"?":":q)+F);return Q.log=this.log,Q}function o(F){n.save(F),n.namespaces=F,n.names=[],n.skips=[];const q=(typeof F=="string"?F:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const Q of q)Q[0]==="-"?n.skips.push(Q.slice(1)):n.names.push(Q)}function d(F,q){let Q=0,W=0,oe=-1,J=0;for(;Q<F.length;)if(W<q.length&&(q[W]===F[Q]||q[W]==="*"))q[W]==="*"?(oe=W,J=Q,W++):(Q++,W++);else if(oe!==-1)W=oe+1,J++,Q=J;else return!1;for(;W<q.length&&q[W]==="*";)W++;return W===q.length}function b(){const F=[...n.names,...n.skips.map(q=>"-"+q)].join(",");return n.enable(""),F}function B(F){for(const q of n.skips)if(d(F,q))return!1;for(const q of n.names)if(d(F,q))return!0;return!1}function E(F){return F instanceof Error?F.stack||F.message:F}function p(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}return On=e,On}var Ro;function sw(){return Ro||(Ro=1,function(e,t){var r={};t.formatArgs=u,t.save=o,t.load=d,t.useColors=n,t.storage=b(),t.destroy=(()=>{let E=!1;return()=>{E||(E=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let E;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(E=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(E[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function u(E){if(E[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+E[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const p="color: "+this.color;E.splice(1,0,p,"color: inherit");let F=0,q=0;E[0].replace(/%[a-zA-Z%]/g,Q=>{Q!=="%%"&&(F++,Q==="%c"&&(q=F))}),E.splice(q,0,p)}t.log=console.debug||console.log||(()=>{});function o(E){try{E?t.storage.setItem("debug",E):t.storage.removeItem("debug")}catch{}}function d(){let E;try{E=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!E&&typeof Ar<"u"&&"env"in Ar&&(E=r.DEBUG),E}function b(){try{return localStorage}catch{}}e.exports=rg()(t);const{formatters:B}=e.exports;B.j=function(E){try{return JSON.stringify(E)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}}(vr,vr.exports)),vr.exports}function Ca(e,t){for(var r=e.length;r--&&zr(t,e[r],0)>-1;);return r}function aw(e,t,r){if(e=tt(e),e&&t===void 0)return e.slice(0,os(e)+1);if(!e||!(t=ir(t)))return e;var n=Pt(e),u=Ca(n,Pt(t))+1;return Fr(n,0,u).join("")}var ng=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Mt<"u"?Mt:typeof self<"u"?self:{};function ig(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*!
17
+ * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
18
+ *
19
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
20
+ * of this software and associated documentation files (the "Software"), to deal
21
+ * in the Software without restriction, including without limitation the rights
22
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
23
+ * copies of the Software, and to permit persons to whom the Software is
24
+ * furnished to do so, subject to the following conditions:
25
+ *
26
+ * The above copyright notice and this permission notice shall be included in
27
+ * all copies or substantial portions of the Software.
28
+ *
29
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
32
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
33
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35
+ * SOFTWARE.
36
+ */var Tn,Io;function og(){return Io||(Io=1,Tn={languageTag:"en-US",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},spaceSeparated:!1,ordinal:function(e){let t=e%10;return~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th"},bytes:{binarySuffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],decimalSuffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},currency:{symbol:"$",position:"prefix",code:"USD"},currencyFormat:{thousandSeparated:!0,totalLength:4,spaceSeparated:!0,spaceSeparatedCurrency:!0},formats:{fourDigits:{totalLength:4,spaceSeparated:!0},fullWithTwoDecimals:{output:"currency",thousandSeparated:!0,mantissa:2},fullWithTwoDecimalsNoCurrency:{thousandSeparated:!0,mantissa:2},fullWithNoDecimals:{output:"currency",thousandSeparated:!0,mantissa:0}}}),Tn}/*!
37
+ * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
38
+ *
39
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
40
+ * of this software and associated documentation files (the "Software"), to deal
41
+ * in the Software without restriction, including without limitation the rights
42
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
43
+ * copies of the Software, and to permit persons to whom the Software is
44
+ * furnished to do so, subject to the following conditions:
45
+ *
46
+ * The above copyright notice and this permission notice shall be included in
47
+ * all copies or substantial portions of the Software.
48
+ *
49
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
50
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
51
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
52
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
53
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
54
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
55
+ * SOFTWARE.
56
+ */var Cn,No;function $a(){if(No)return Cn;No=1;const e=[{key:"ZiB",factor:Math.pow(1024,7)},{key:"ZB",factor:Math.pow(1e3,7)},{key:"YiB",factor:Math.pow(1024,8)},{key:"YB",factor:Math.pow(1e3,8)},{key:"TiB",factor:Math.pow(1024,4)},{key:"TB",factor:Math.pow(1e3,4)},{key:"PiB",factor:Math.pow(1024,5)},{key:"PB",factor:Math.pow(1e3,5)},{key:"MiB",factor:Math.pow(1024,2)},{key:"MB",factor:Math.pow(1e3,2)},{key:"KiB",factor:Math.pow(1024,1)},{key:"KB",factor:Math.pow(1e3,1)},{key:"GiB",factor:Math.pow(1024,3)},{key:"GB",factor:Math.pow(1e3,3)},{key:"EiB",factor:Math.pow(1024,6)},{key:"EB",factor:Math.pow(1e3,6)},{key:"B",factor:1}];function t(B){return B.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function r(B,E,p,F,q,Q,W){if(!isNaN(+B))return+B;let oe="",J=B.replace(/(^[^(]*)\((.*)\)([^)]*$)/,"$1$2$3");if(J!==B)return-1*r(J,E,p,F,q,Q);for(let Y=0;Y<e.length;Y++){let z=e[Y];if(oe=B.replace(RegExp(`([0-9 ])(${z.key})$`),"$1"),oe!==B)return r(oe,E,p,F,q,Q)*z.factor}if(oe=B.replace("%",""),oe!==B)return r(oe,E,p,F,q,Q)/100;let he=parseFloat(B);if(isNaN(he))return;let te=F(he);if(te&&te!=="."&&(oe=B.replace(new RegExp(`${t(te)}$`),""),oe!==B))return r(oe,E,p,F,q,Q);let se={};Object.keys(Q).forEach(Y=>{se[Q[Y]]=Y});let ce=Object.keys(se).sort().reverse(),fe=ce.length;for(let Y=0;Y<fe;Y++){let z=ce[Y],ae=se[z];if(oe=B.replace(z,""),oe!==B){let de;switch(ae){case"thousand":de=Math.pow(10,3);break;case"million":de=Math.pow(10,6);break;case"billion":de=Math.pow(10,9);break;case"trillion":de=Math.pow(10,12);break}return r(oe,E,p,F,q,Q)*de}}}function n(B,E,p){let F=B.replace(p,"");return F=F.replace(new RegExp(`([0-9])${t(E.thousands)}([0-9])`,"g"),"$1$2"),F=F.replace(E.decimal,"."),F}function u(B,E,p="",F,q,Q,W){if(B==="")return;if(B===q)return 0;let oe=n(B,E,p);return r(oe,E,p,F,q,Q)}function o(B,E){if(!(B.indexOf(":")&&E.thousands!==":"))return!1;let F=B.split(":");if(F.length!==3)return!1;let q=+F[0],Q=+F[1],W=+F[2];return!isNaN(q)&&!isNaN(Q)&&!isNaN(W)}function d(B){let E=B.split(":"),p=+E[0],F=+E[1];return+E[2]+60*F+3600*p}function b(B,E){const p=_i();let F=p.currentDelimiters(),q=p.currentCurrency().symbol,Q=p.currentOrdinal(),W=p.getZeroFormat(),oe=p.currentAbbreviations(),J;if(typeof B=="string")o(B,F)?J=d(B):J=u(B,F,q,Q,W,oe);else if(typeof B=="number")J=B;else return;if(J!==void 0)return J}return Cn={unformat:b},Cn}/*!
57
+ * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
58
+ *
59
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
60
+ * of this software and associated documentation files (the "Software"), to deal
61
+ * in the Software without restriction, including without limitation the rights
62
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
63
+ * copies of the Software, and to permit persons to whom the Software is
64
+ * furnished to do so, subject to the following conditions:
65
+ *
66
+ * The above copyright notice and this permission notice shall be included in
67
+ * all copies or substantial portions of the Software.
68
+ *
69
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
70
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
71
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
72
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
73
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
74
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
75
+ * SOFTWARE.
76
+ */var $n,Uo;function Ei(){if(Uo)return $n;Uo=1;let e=$a();const t=/^[a-z]{2,3}(-[a-zA-Z]{4})?(-([A-Z]{2}|[0-9]{3}))?$/,r=["currency","percent","byte","time","ordinal","number"],n=["trillion","billion","million","thousand"],u=["prefix","infix","postfix"],o=["sign","parenthesis"],d={type:"object",children:{thousand:{type:"string",mandatory:!0},million:{type:"string",mandatory:!0},billion:{type:"string",mandatory:!0},trillion:{type:"string",mandatory:!0}},mandatory:!0},E={output:{type:"string",validValues:r},base:{type:"string",validValues:["decimal","binary","general"],restriction:(J,he)=>he.output==="byte",message:"`base` must be provided only when the output is `byte`",mandatory:J=>J.output==="byte"},characteristic:{type:"number",restriction:J=>J>=0,message:"value must be positive"},prefix:"string",postfix:"string",forceAverage:{type:"string",validValues:n},average:"boolean",lowPrecision:{type:"boolean",restriction:(J,he)=>he.average===!0,message:"`lowPrecision` must be provided only when the option `average` is set"},currencyPosition:{type:"string",validValues:u},currencySymbol:"string",totalLength:{type:"number",restrictions:[{restriction:J=>J>=0,message:"value must be positive"},{restriction:(J,he)=>!he.exponential,message:"`totalLength` is incompatible with `exponential`"}]},mantissa:{type:"number",restriction:J=>J>=0,message:"value must be positive"},optionalMantissa:"boolean",trimMantissa:"boolean",roundingFunction:"function",optionalCharacteristic:"boolean",thousandSeparated:"boolean",spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",spaceSeparatedAbbreviation:"boolean",abbreviations:{type:"object",children:{thousand:"string",million:"string",billion:"string",trillion:"string"}},negative:{type:"string",validValues:o},forceSign:"boolean",exponential:{type:"boolean"},prefixSymbol:{type:"boolean",restriction:(J,he)=>he.output==="percent",message:"`prefixSymbol` can be provided only when the output is `percent`"}},p={languageTag:{type:"string",mandatory:!0,restriction:J=>J.match(t),message:"the language tag must follow the BCP 47 specification (see https://tools.ieft.org/html/bcp47)"},delimiters:{type:"object",children:{thousands:"string",decimal:"string",thousandsSize:"number"},mandatory:!0},abbreviations:d,spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",ordinal:{type:"function",mandatory:!0},bytes:{type:"object",children:{binarySuffixes:"object",decimalSuffixes:"object"}},currency:{type:"object",children:{symbol:"string",position:"string",code:"string"},mandatory:!0},defaults:"format",ordinalFormat:"format",byteFormat:"format",percentageFormat:"format",currencyFormat:"format",timeDefaults:"format",formats:{type:"object",children:{fourDigits:{type:"format",mandatory:!0},fullWithTwoDecimals:{type:"format",mandatory:!0},fullWithTwoDecimalsNoCurrency:{type:"format",mandatory:!0},fullWithNoDecimals:{type:"format",mandatory:!0}}}};function F(J,he){let te=q(J),se=W(he);return te&&se}function q(J){return e.unformat(J)!==void 0}function Q(J,he,te,se=!1){let ce=Object.keys(J).map(fe=>{if(!he[fe])return console.error(`${te} Invalid key: ${fe}`),!1;let Y=J[fe],z=he[fe];if(typeof z=="string"&&(z={type:z}),z.type==="format"){if(!Q(Y,E,`[Validate ${fe}]`,!0))return!1}else if(typeof Y!==z.type)return console.error(`${te} ${fe} type mismatched: "${z.type}" expected, "${typeof Y}" provided`),!1;if(z.restrictions&&z.restrictions.length){let ae=z.restrictions.length;for(let de=0;de<ae;de++){let{restriction:ne,message:A}=z.restrictions[de];if(!ne(Y,J))return console.error(`${te} ${fe} invalid value: ${A}`),!1}}return z.restriction&&!z.restriction(Y,J)?(console.error(`${te} ${fe} invalid value: ${z.message}`),!1):z.validValues&&z.validValues.indexOf(Y)===-1?(console.error(`${te} ${fe} invalid value: must be among ${JSON.stringify(z.validValues)}, "${Y}" provided`),!1):!(z.children&&!Q(Y,z.children,`[Validate ${fe}]`))});return se||ce.push(...Object.keys(he).map(fe=>{let Y=he[fe];if(typeof Y=="string"&&(Y={type:Y}),Y.mandatory){let z=Y.mandatory;if(typeof z=="function"&&(z=z(J)),z&&J[fe]===void 0)return console.error(`${te} Missing mandatory key "${fe}"`),!1}return!0})),ce.reduce((fe,Y)=>fe&&Y,!0)}function W(J){return Q(J,E,"[Validate format]")}function oe(J){return Q(J,p,"[Validate language]")}return $n={validate:F,validateFormat:W,validateInput:q,validateLanguage:oe},$n}/*!
77
+ * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
78
+ *
79
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
80
+ * of this software and associated documentation files (the "Software"), to deal
81
+ * in the Software without restriction, including without limitation the rights
82
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
83
+ * copies of the Software, and to permit persons to whom the Software is
84
+ * furnished to do so, subject to the following conditions:
85
+ *
86
+ * The above copyright notice and this permission notice shall be included in
87
+ * all copies or substantial portions of the Software.
88
+ *
89
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
90
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
91
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
92
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
93
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
94
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
95
+ * SOFTWARE.
96
+ */function sg(e,t){let r=e.match(/^{([^}]*)}/);return r?(t.prefix=r[1],e.slice(r[0].length)):e}function ag(e,t){let r=e.match(/{([^}]*)}$/);return r?(t.postfix=r[1],e.slice(0,-r[0].length)):e}function ug(e,t){if(e.indexOf("$")!==-1){t.output="currency";return}if(e.indexOf("%")!==-1){t.output="percent";return}if(e.indexOf("bd")!==-1){t.output="byte",t.base="general";return}if(e.indexOf("b")!==-1){t.output="byte",t.base="binary";return}if(e.indexOf("d")!==-1){t.output="byte",t.base="decimal";return}if(e.indexOf(":")!==-1){t.output="time";return}e.indexOf("o")!==-1&&(t.output="ordinal")}function fg(e,t){e.indexOf(",")!==-1&&(t.thousandSeparated=!0)}function lg(e,t){e.indexOf(" ")!==-1&&(t.spaceSeparated=!0,t.spaceSeparatedCurrency=!0,(t.average||t.forceAverage)&&(t.spaceSeparatedAbbreviation=!0))}function cg(e,t){let r=e.match(/[1-9]+[0-9]*/);r&&(t.totalLength=+r[0])}function hg(e,t){let n=e.split(".")[0].match(/0+/);n&&(t.characteristic=n[0].length)}function dg(e,t){let r=e.split(".")[1];if(r){let n=r.match(/0+/);n&&(t.mantissa=n[0].length)}}function pg(e,t){const r=e.split(".")[1];r&&(t.trimMantissa=r.indexOf("[")!==-1)}function gg(e,t){e.indexOf("a")!==-1&&(t.average=!0)}function mg(e,t){e.indexOf("K")!==-1?t.forceAverage="thousand":e.indexOf("M")!==-1?t.forceAverage="million":e.indexOf("B")!==-1?t.forceAverage="billion":e.indexOf("T")!==-1&&(t.forceAverage="trillion")}function yg(e,t){e.match(/\[\.]/)?t.optionalMantissa=!0:e.match(/\./)&&(t.optionalMantissa=!1)}function wg(e,t){if(e.indexOf(".")!==-1){let r=e.split(".")[0];t.optionalCharacteristic=r.indexOf("0")===-1}}function vg(e,t){e.match(/^\+?\([^)]*\)$/)&&(t.negative="parenthesis"),e.match(/^\+?-/)&&(t.negative="sign")}function xg(e,t){e.match(/^\+/)&&(t.forceSign=!0)}function bg(e,t={}){return typeof e!="string"?e:(e=sg(e,t),e=ag(e,t),ug(e,t),cg(e,t),hg(e,t),wg(e,t),gg(e,t),mg(e,t),dg(e,t),yg(e,t),pg(e,t),fg(e,t),lg(e,t),vg(e,t),xg(e,t),t)}var Mi={parseFormat:bg};/*!
97
+ * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
98
+ *
99
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
100
+ * of this software and associated documentation files (the "Software"), to deal
101
+ * in the Software without restriction, including without limitation the rights
102
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
103
+ * copies of the Software, and to permit persons to whom the Software is
104
+ * furnished to do so, subject to the following conditions:
105
+ *
106
+ * The above copyright notice and this permission notice shall be included in
107
+ * all copies or substantial portions of the Software.
108
+ *
109
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
110
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
111
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
112
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
113
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
114
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
115
+ * SOFTWARE.
116
+ */var Fn,Po;function _i(){if(Po)return Fn;Po=1;const e=og(),t=Ei(),r=Mi;let n={},u,o={},d=null,b={};function B(p){u=p}function E(){return o[u]}return n.languages=()=>Object.assign({},o),n.currentLanguage=()=>u,n.currentBytes=()=>E().bytes||{},n.currentCurrency=()=>E().currency,n.currentAbbreviations=()=>E().abbreviations,n.currentDelimiters=()=>E().delimiters,n.currentOrdinal=()=>E().ordinal,n.currentDefaults=()=>Object.assign({},E().defaults,b),n.currentOrdinalDefaultFormat=()=>Object.assign({},n.currentDefaults(),E().ordinalFormat),n.currentByteDefaultFormat=()=>Object.assign({},n.currentDefaults(),E().byteFormat),n.currentPercentageDefaultFormat=()=>Object.assign({},n.currentDefaults(),E().percentageFormat),n.currentCurrencyDefaultFormat=()=>Object.assign({},n.currentDefaults(),E().currencyFormat),n.currentTimeDefaultFormat=()=>Object.assign({},n.currentDefaults(),E().timeFormat),n.setDefaults=p=>{p=r.parseFormat(p),t.validateFormat(p)&&(b=p)},n.getZeroFormat=()=>d,n.setZeroFormat=p=>d=typeof p=="string"?p:null,n.hasZeroFormat=()=>d!==null,n.languageData=p=>{if(p){if(o[p])return o[p];throw new Error(`Unknown tag "${p}"`)}return E()},n.registerLanguage=(p,F=!1)=>{if(!t.validateLanguage(p))throw new Error("Invalid language data");o[p.languageTag]=p,F&&B(p.languageTag)},n.setLanguage=(p,F=e.languageTag)=>{if(!o[p]){let q=p.split("-")[0],Q=Object.keys(o).find(W=>W.split("-")[0]===q);if(!o[Q]){B(F);return}B(Q);return}B(p)},n.registerLanguage(e),u=e.languageTag,Fn=n,Fn}function Eg(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}/*!
117
+ * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
118
+ *
119
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
120
+ * of this software and associated documentation files (the "Software"), to deal
121
+ * in the Software without restriction, including without limitation the rights
122
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
123
+ * copies of the Software, and to permit persons to whom the Software is
124
+ * furnished to do so, subject to the following conditions:
125
+ *
126
+ * The above copyright notice and this permission notice shall be included in
127
+ * all copies or substantial portions of the Software.
128
+ *
129
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
130
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
131
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
132
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
133
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
134
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
135
+ * SOFTWARE.
136
+ */function Mg(e,t){e.forEach(r=>{let n;try{n=Eg(`../languages/${r}`)}catch{console.error(`Unable to load "${r}". No matching language file found.`)}n&&t.registerLanguage(n)})}var _g=e=>({loadLanguagesInNode:t=>Mg(t,e)}),Fa={exports:{}};(function(e){(function(t){var r,n=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,u=Math.ceil,o=Math.floor,d="[BigNumber Error] ",b=d+"Number primitive has more than 15 significant digits: ",B=1e14,E=14,p=9007199254740991,F=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],q=1e7,Q=1e9;function W(Y){var z,ae,de,ne=D.prototype={constructor:D,toString:null,valueOf:null},A=new D(1),i=20,h=4,g=-7,m=21,v=-1e7,T=1e7,$=!1,M=1,f=0,S={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},ue="0123456789abcdefghijklmnopqrstuvwxyz",pe=!0;function D(x,C){var R,k,j,L,G,U,P,H,V=this;if(!(V instanceof D))return new D(x,C);if(C==null){if(x&&x._isBigNumber===!0){V.s=x.s,!x.c||x.e>T?V.c=V.e=null:x.e<v?V.c=[V.e=0]:(V.e=x.e,V.c=x.c.slice());return}if((U=typeof x=="number")&&x*0==0){if(V.s=1/x<0?(x=-x,-1):1,x===~~x){for(L=0,G=x;G>=10;G/=10,L++);L>T?V.c=V.e=null:(V.e=L,V.c=[x]);return}H=String(x)}else{if(!n.test(H=String(x)))return de(V,H,U);V.s=H.charCodeAt(0)==45?(H=H.slice(1),-1):1}(L=H.indexOf("."))>-1&&(H=H.replace(".","")),(G=H.search(/e/i))>0?(L<0&&(L=G),L+=+H.slice(G+1),H=H.substring(0,G)):L<0&&(L=H.length)}else{if(te(C,2,ue.length,"Base"),C==10&&pe)return V=new D(x),$e(V,i+V.e+1,h);if(H=String(x),U=typeof x=="number"){if(x*0!=0)return de(V,H,U,C);if(V.s=1/x<0?(H=H.slice(1),-1):1,D.DEBUG&&H.replace(/^0\.0*|\./,"").length>15)throw Error(b+x)}else V.s=H.charCodeAt(0)===45?(H=H.slice(1),-1):1;for(R=ue.slice(0,C),L=G=0,P=H.length;G<P;G++)if(R.indexOf(k=H.charAt(G))<0){if(k=="."){if(G>L){L=P;continue}}else if(!j&&(H==H.toUpperCase()&&(H=H.toLowerCase())||H==H.toLowerCase()&&(H=H.toUpperCase()))){j=!0,G=-1,L=0;continue}return de(V,String(x),U,C)}U=!1,H=ae(H,C,10,V.s),(L=H.indexOf("."))>-1?H=H.replace(".",""):L=H.length}for(G=0;H.charCodeAt(G)===48;G++);for(P=H.length;H.charCodeAt(--P)===48;);if(H=H.slice(G,++P)){if(P-=G,U&&D.DEBUG&&P>15&&(x>p||x!==o(x)))throw Error(b+V.s*x);if((L=L-G-1)>T)V.c=V.e=null;else if(L<v)V.c=[V.e=0];else{if(V.e=L,V.c=[],G=(L+1)%E,L<0&&(G+=E),G<P){for(G&&V.c.push(+H.slice(0,G)),P-=E;G<P;)V.c.push(+H.slice(G,G+=E));G=E-(H=H.slice(G)).length}else G-=P;for(;G--;H+="0");V.c.push(+H)}}else V.c=[V.e=0]}D.clone=W,D.ROUND_UP=0,D.ROUND_DOWN=1,D.ROUND_CEIL=2,D.ROUND_FLOOR=3,D.ROUND_HALF_UP=4,D.ROUND_HALF_DOWN=5,D.ROUND_HALF_EVEN=6,D.ROUND_HALF_CEIL=7,D.ROUND_HALF_FLOOR=8,D.EUCLID=9,D.config=D.set=function(x){var C,R;if(x!=null)if(typeof x=="object"){if(x.hasOwnProperty(C="DECIMAL_PLACES")&&(R=x[C],te(R,0,Q,C),i=R),x.hasOwnProperty(C="ROUNDING_MODE")&&(R=x[C],te(R,0,8,C),h=R),x.hasOwnProperty(C="EXPONENTIAL_AT")&&(R=x[C],R&&R.pop?(te(R[0],-Q,0,C),te(R[1],0,Q,C),g=R[0],m=R[1]):(te(R,-Q,Q,C),g=-(m=R<0?-R:R))),x.hasOwnProperty(C="RANGE"))if(R=x[C],R&&R.pop)te(R[0],-Q,-1,C),te(R[1],1,Q,C),v=R[0],T=R[1];else if(te(R,-Q,Q,C),R)v=-(T=R<0?-R:R);else throw Error(d+C+" cannot be zero: "+R);if(x.hasOwnProperty(C="CRYPTO"))if(R=x[C],R===!!R)if(R)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))$=R;else throw $=!R,Error(d+"crypto unavailable");else $=R;else throw Error(d+C+" not true or false: "+R);if(x.hasOwnProperty(C="MODULO_MODE")&&(R=x[C],te(R,0,9,C),M=R),x.hasOwnProperty(C="POW_PRECISION")&&(R=x[C],te(R,0,Q,C),f=R),x.hasOwnProperty(C="FORMAT"))if(R=x[C],typeof R=="object")S=R;else throw Error(d+C+" not an object: "+R);if(x.hasOwnProperty(C="ALPHABET"))if(R=x[C],typeof R=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(R))pe=R.slice(0,10)=="0123456789",ue=R;else throw Error(d+C+" invalid: "+R)}else throw Error(d+"Object expected: "+x);return{DECIMAL_PLACES:i,ROUNDING_MODE:h,EXPONENTIAL_AT:[g,m],RANGE:[v,T],CRYPTO:$,MODULO_MODE:M,POW_PRECISION:f,FORMAT:S,ALPHABET:ue}},D.isBigNumber=function(x){if(!x||x._isBigNumber!==!0)return!1;if(!D.DEBUG)return!0;var C,R,k=x.c,j=x.e,L=x.s;e:if({}.toString.call(k)=="[object Array]"){if((L===1||L===-1)&&j>=-Q&&j<=Q&&j===o(j)){if(k[0]===0){if(j===0&&k.length===1)return!0;break e}if(C=(j+1)%E,C<1&&(C+=E),String(k[0]).length==C){for(C=0;C<k.length;C++)if(R=k[C],R<0||R>=B||R!==o(R))break e;if(R!==0)return!0}}}else if(k===null&&j===null&&(L===null||L===1||L===-1))return!0;throw Error(d+"Invalid BigNumber: "+x)},D.maximum=D.max=function(){return Me(arguments,-1)},D.minimum=D.min=function(){return Me(arguments,1)},D.random=function(){var x=9007199254740992,C=Math.random()*x&2097151?function(){return o(Math.random()*x)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(R){var k,j,L,G,U,P=0,H=[],V=new D(A);if(R==null?R=i:te(R,0,Q),G=u(R/E),$)if(crypto.getRandomValues){for(k=crypto.getRandomValues(new Uint32Array(G*=2));P<G;)U=k[P]*131072+(k[P+1]>>>11),U>=9e15?(j=crypto.getRandomValues(new Uint32Array(2)),k[P]=j[0],k[P+1]=j[1]):(H.push(U%1e14),P+=2);P=G/2}else if(crypto.randomBytes){for(k=crypto.randomBytes(G*=7);P<G;)U=(k[P]&31)*281474976710656+k[P+1]*1099511627776+k[P+2]*4294967296+k[P+3]*16777216+(k[P+4]<<16)+(k[P+5]<<8)+k[P+6],U>=9e15?crypto.randomBytes(7).copy(k,P):(H.push(U%1e14),P+=7);P=G/7}else throw $=!1,Error(d+"crypto unavailable");if(!$)for(;P<G;)U=C(),U<9e15&&(H[P++]=U%1e14);for(G=H[--P],R%=E,G&&R&&(U=F[E-R],H[P]=o(G/U)*U);H[P]===0;H.pop(),P--);if(P<0)H=[L=0];else{for(L=-1;H[0]===0;H.splice(0,1),L-=E);for(P=1,U=H[0];U>=10;U/=10,P++);P<E&&(L-=E-P)}return V.e=L,V.c=H,V}}(),D.sum=function(){for(var x=1,C=arguments,R=new D(C[0]);x<C.length;)R=R.plus(C[x++]);return R},ae=function(){var x="0123456789";function C(R,k,j,L){for(var G,U=[0],P,H=0,V=R.length;H<V;){for(P=U.length;P--;U[P]*=k);for(U[0]+=L.indexOf(R.charAt(H++)),G=0;G<U.length;G++)U[G]>j-1&&(U[G+1]==null&&(U[G+1]=0),U[G+1]+=U[G]/j|0,U[G]%=j)}return U.reverse()}return function(R,k,j,L,G){var U,P,H,V,ie,le,ye,we,Ee=R.indexOf("."),Ne=i,xe=h;for(Ee>=0&&(V=f,f=0,R=R.replace(".",""),we=new D(k),le=we.pow(R.length-Ee),f=V,we.c=C(fe(J(le.c),le.e,"0"),10,j,x),we.e=we.c.length),ye=C(R,k,j,G?(U=ue,x):(U=x,ue)),H=V=ye.length;ye[--V]==0;ye.pop());if(!ye[0])return U.charAt(0);if(Ee<0?--H:(le.c=ye,le.e=H,le.s=L,le=z(le,we,Ne,xe,j),ye=le.c,ie=le.r,H=le.e),P=H+Ne+1,Ee=ye[P],V=j/2,ie=ie||P<0||ye[P+1]!=null,ie=xe<4?(Ee!=null||ie)&&(xe==0||xe==(le.s<0?3:2)):Ee>V||Ee==V&&(xe==4||ie||xe==6&&ye[P-1]&1||xe==(le.s<0?8:7)),P<1||!ye[0])R=ie?fe(U.charAt(1),-Ne,U.charAt(0)):U.charAt(0);else{if(ye.length=P,ie)for(--j;++ye[--P]>j;)ye[P]=0,P||(++H,ye=[1].concat(ye));for(V=ye.length;!ye[--V];);for(Ee=0,R="";Ee<=V;R+=U.charAt(ye[Ee++]));R=fe(R,H,U.charAt(0))}return R}}(),z=function(){function x(k,j,L){var G,U,P,H,V=0,ie=k.length,le=j%q,ye=j/q|0;for(k=k.slice();ie--;)P=k[ie]%q,H=k[ie]/q|0,G=ye*P+H*le,U=le*P+G%q*q+V,V=(U/L|0)+(G/q|0)+ye*H,k[ie]=U%L;return V&&(k=[V].concat(k)),k}function C(k,j,L,G){var U,P;if(L!=G)P=L>G?1:-1;else for(U=P=0;U<L;U++)if(k[U]!=j[U]){P=k[U]>j[U]?1:-1;break}return P}function R(k,j,L,G){for(var U=0;L--;)k[L]-=U,U=k[L]<j[L]?1:0,k[L]=U*G+k[L]-j[L];for(;!k[0]&&k.length>1;k.splice(0,1));}return function(k,j,L,G,U){var P,H,V,ie,le,ye,we,Ee,Ne,xe,ve,Le,y,s,l,_,I,Z=k.s==j.s?1:-1,K=k.c,ge=j.c;if(!K||!K[0]||!ge||!ge[0])return new D(!k.s||!j.s||(K?ge&&K[0]==ge[0]:!ge)?NaN:K&&K[0]==0||!ge?Z*0:Z/0);for(Ee=new D(Z),Ne=Ee.c=[],H=k.e-j.e,Z=L+H+1,U||(U=B,H=oe(k.e/E)-oe(j.e/E),Z=Z/E|0),V=0;ge[V]==(K[V]||0);V++);if(ge[V]>(K[V]||0)&&H--,Z<0)Ne.push(1),ie=!0;else{for(s=K.length,_=ge.length,V=0,Z+=2,le=o(U/(ge[0]+1)),le>1&&(ge=x(ge,le,U),K=x(K,le,U),_=ge.length,s=K.length),y=_,xe=K.slice(0,_),ve=xe.length;ve<_;xe[ve++]=0);I=ge.slice(),I=[0].concat(I),l=ge[0],ge[1]>=U/2&&l++;do{if(le=0,P=C(ge,xe,_,ve),P<0){if(Le=xe[0],_!=ve&&(Le=Le*U+(xe[1]||0)),le=o(Le/l),le>1)for(le>=U&&(le=U-1),ye=x(ge,le,U),we=ye.length,ve=xe.length;C(ye,xe,we,ve)==1;)le--,R(ye,_<we?I:ge,we,U),we=ye.length,P=1;else le==0&&(P=le=1),ye=ge.slice(),we=ye.length;if(we<ve&&(ye=[0].concat(ye)),R(xe,ye,ve,U),ve=xe.length,P==-1)for(;C(ge,xe,_,ve)<1;)le++,R(xe,_<ve?I:ge,ve,U),ve=xe.length}else P===0&&(le++,xe=[0]);Ne[V++]=le,xe[0]?xe[ve++]=K[y]||0:(xe=[K[y]],ve=1)}while((y++<s||xe[0]!=null)&&Z--);ie=xe[0]!=null,Ne[0]||Ne.splice(0,1)}if(U==B){for(V=1,Z=Ne[0];Z>=10;Z/=10,V++);$e(Ee,L+(Ee.e=V+H*E-1)+1,G,ie)}else Ee.e=H,Ee.r=+ie;return Ee}}();function me(x,C,R,k){var j,L,G,U,P;if(R==null?R=h:te(R,0,8),!x.c)return x.toString();if(j=x.c[0],G=x.e,C==null)P=J(x.c),P=k==1||k==2&&(G<=g||G>=m)?ce(P,G):fe(P,G,"0");else if(x=$e(new D(x),C,R),L=x.e,P=J(x.c),U=P.length,k==1||k==2&&(C<=L||L<=g)){for(;U<C;P+="0",U++);P=ce(P,L)}else if(C-=G,P=fe(P,L,"0"),L+1>U){if(--C>0)for(P+=".";C--;P+="0");}else if(C+=L-U,C>0)for(L+1==U&&(P+=".");C--;P+="0");return x.s<0&&j?"-"+P:P}function Me(x,C){for(var R,k,j=1,L=new D(x[0]);j<x.length;j++)k=new D(x[j]),(!k.s||(R=he(L,k))===C||R===0&&L.s===C)&&(L=k);return L}function Oe(x,C,R){for(var k=1,j=C.length;!C[--j];C.pop());for(j=C[0];j>=10;j/=10,k++);return(R=k+R*E-1)>T?x.c=x.e=null:R<v?x.c=[x.e=0]:(x.e=R,x.c=C),x}de=function(){var x=/^(-?)0([xbo])(?=\w[\w.]*$)/i,C=/^([^.]+)\.$/,R=/^\.([^.]+)$/,k=/^-?(Infinity|NaN)$/,j=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(L,G,U,P){var H,V=U?G:G.replace(j,"");if(k.test(V))L.s=isNaN(V)?null:V<0?-1:1;else{if(!U&&(V=V.replace(x,function(ie,le,ye){return H=(ye=ye.toLowerCase())=="x"?16:ye=="b"?2:8,!P||P==H?le:ie}),P&&(H=P,V=V.replace(C,"$1").replace(R,"0.$1")),G!=V))return new D(V,H);if(D.DEBUG)throw Error(d+"Not a"+(P?" base "+P:"")+" number: "+G);L.s=null}L.c=L.e=null}}();function $e(x,C,R,k){var j,L,G,U,P,H,V,ie=x.c,le=F;if(ie){e:{for(j=1,U=ie[0];U>=10;U/=10,j++);if(L=C-j,L<0)L+=E,G=C,P=ie[H=0],V=o(P/le[j-G-1]%10);else if(H=u((L+1)/E),H>=ie.length)if(k){for(;ie.length<=H;ie.push(0));P=V=0,j=1,L%=E,G=L-E+1}else break e;else{for(P=U=ie[H],j=1;U>=10;U/=10,j++);L%=E,G=L-E+j,V=G<0?0:o(P/le[j-G-1]%10)}if(k=k||C<0||ie[H+1]!=null||(G<0?P:P%le[j-G-1]),k=R<4?(V||k)&&(R==0||R==(x.s<0?3:2)):V>5||V==5&&(R==4||k||R==6&&(L>0?G>0?P/le[j-G]:0:ie[H-1])%10&1||R==(x.s<0?8:7)),C<1||!ie[0])return ie.length=0,k?(C-=x.e+1,ie[0]=le[(E-C%E)%E],x.e=-C||0):ie[0]=x.e=0,x;if(L==0?(ie.length=H,U=1,H--):(ie.length=H+1,U=le[E-L],ie[H]=G>0?o(P/le[j-G]%le[G])*U:0),k)for(;;)if(H==0){for(L=1,G=ie[0];G>=10;G/=10,L++);for(G=ie[0]+=U,U=1;G>=10;G/=10,U++);L!=U&&(x.e++,ie[0]==B&&(ie[0]=1));break}else{if(ie[H]+=U,ie[H]!=B)break;ie[H--]=0,U=1}for(L=ie.length;ie[--L]===0;ie.pop());}x.e>T?x.c=x.e=null:x.e<v&&(x.c=[x.e=0])}return x}function _e(x){var C,R=x.e;return R===null?x.toString():(C=J(x.c),C=R<=g||R>=m?ce(C,R):fe(C,R,"0"),x.s<0?"-"+C:C)}return ne.absoluteValue=ne.abs=function(){var x=new D(this);return x.s<0&&(x.s=1),x},ne.comparedTo=function(x,C){return he(this,new D(x,C))},ne.decimalPlaces=ne.dp=function(x,C){var R,k,j,L=this;if(x!=null)return te(x,0,Q),C==null?C=h:te(C,0,8),$e(new D(L),x+L.e+1,C);if(!(R=L.c))return null;if(k=((j=R.length-1)-oe(this.e/E))*E,j=R[j])for(;j%10==0;j/=10,k--);return k<0&&(k=0),k},ne.dividedBy=ne.div=function(x,C){return z(this,new D(x,C),i,h)},ne.dividedToIntegerBy=ne.idiv=function(x,C){return z(this,new D(x,C),0,1)},ne.exponentiatedBy=ne.pow=function(x,C){var R,k,j,L,G,U,P,H,V,ie=this;if(x=new D(x),x.c&&!x.isInteger())throw Error(d+"Exponent not an integer: "+_e(x));if(C!=null&&(C=new D(C)),U=x.e>14,!ie.c||!ie.c[0]||ie.c[0]==1&&!ie.e&&ie.c.length==1||!x.c||!x.c[0])return V=new D(Math.pow(+_e(ie),U?x.s*(2-se(x)):+_e(x))),C?V.mod(C):V;if(P=x.s<0,C){if(C.c?!C.c[0]:!C.s)return new D(NaN);k=!P&&ie.isInteger()&&C.isInteger(),k&&(ie=ie.mod(C))}else{if(x.e>9&&(ie.e>0||ie.e<-1||(ie.e==0?ie.c[0]>1||U&&ie.c[1]>=24e7:ie.c[0]<8e13||U&&ie.c[0]<=9999975e7)))return L=ie.s<0&&se(x)?-0:0,ie.e>-1&&(L=1/L),new D(P?1/L:L);f&&(L=u(f/E+2))}for(U?(R=new D(.5),P&&(x.s=1),H=se(x)):(j=Math.abs(+_e(x)),H=j%2),V=new D(A);;){if(H){if(V=V.times(ie),!V.c)break;L?V.c.length>L&&(V.c.length=L):k&&(V=V.mod(C))}if(j){if(j=o(j/2),j===0)break;H=j%2}else if(x=x.times(R),$e(x,x.e+1,1),x.e>14)H=se(x);else{if(j=+_e(x),j===0)break;H=j%2}ie=ie.times(ie),L?ie.c&&ie.c.length>L&&(ie.c.length=L):k&&(ie=ie.mod(C))}return k?V:(P&&(V=A.div(V)),C?V.mod(C):L?$e(V,f,h,G):V)},ne.integerValue=function(x){var C=new D(this);return x==null?x=h:te(x,0,8),$e(C,C.e+1,x)},ne.isEqualTo=ne.eq=function(x,C){return he(this,new D(x,C))===0},ne.isFinite=function(){return!!this.c},ne.isGreaterThan=ne.gt=function(x,C){return he(this,new D(x,C))>0},ne.isGreaterThanOrEqualTo=ne.gte=function(x,C){return(C=he(this,new D(x,C)))===1||C===0},ne.isInteger=function(){return!!this.c&&oe(this.e/E)>this.c.length-2},ne.isLessThan=ne.lt=function(x,C){return he(this,new D(x,C))<0},ne.isLessThanOrEqualTo=ne.lte=function(x,C){return(C=he(this,new D(x,C)))===-1||C===0},ne.isNaN=function(){return!this.s},ne.isNegative=function(){return this.s<0},ne.isPositive=function(){return this.s>0},ne.isZero=function(){return!!this.c&&this.c[0]==0},ne.minus=function(x,C){var R,k,j,L,G=this,U=G.s;if(x=new D(x,C),C=x.s,!U||!C)return new D(NaN);if(U!=C)return x.s=-C,G.plus(x);var P=G.e/E,H=x.e/E,V=G.c,ie=x.c;if(!P||!H){if(!V||!ie)return V?(x.s=-C,x):new D(ie?G:NaN);if(!V[0]||!ie[0])return ie[0]?(x.s=-C,x):new D(V[0]?G:h==3?-0:0)}if(P=oe(P),H=oe(H),V=V.slice(),U=P-H){for((L=U<0)?(U=-U,j=V):(H=P,j=ie),j.reverse(),C=U;C--;j.push(0));j.reverse()}else for(k=(L=(U=V.length)<(C=ie.length))?U:C,U=C=0;C<k;C++)if(V[C]!=ie[C]){L=V[C]<ie[C];break}if(L&&(j=V,V=ie,ie=j,x.s=-x.s),C=(k=ie.length)-(R=V.length),C>0)for(;C--;V[R++]=0);for(C=B-1;k>U;){if(V[--k]<ie[k]){for(R=k;R&&!V[--R];V[R]=C);--V[R],V[k]+=B}V[k]-=ie[k]}for(;V[0]==0;V.splice(0,1),--H);return V[0]?Oe(x,V,H):(x.s=h==3?-1:1,x.c=[x.e=0],x)},ne.modulo=ne.mod=function(x,C){var R,k,j=this;return x=new D(x,C),!j.c||!x.s||x.c&&!x.c[0]?new D(NaN):!x.c||j.c&&!j.c[0]?new D(j):(M==9?(k=x.s,x.s=1,R=z(j,x,0,3),x.s=k,R.s*=k):R=z(j,x,0,M),x=j.minus(R.times(x)),!x.c[0]&&M==1&&(x.s=j.s),x)},ne.multipliedBy=ne.times=function(x,C){var R,k,j,L,G,U,P,H,V,ie,le,ye,we,Ee,Ne,xe=this,ve=xe.c,Le=(x=new D(x,C)).c;if(!ve||!Le||!ve[0]||!Le[0])return!xe.s||!x.s||ve&&!ve[0]&&!Le||Le&&!Le[0]&&!ve?x.c=x.e=x.s=null:(x.s*=xe.s,!ve||!Le?x.c=x.e=null:(x.c=[0],x.e=0)),x;for(k=oe(xe.e/E)+oe(x.e/E),x.s*=xe.s,P=ve.length,ie=Le.length,P<ie&&(we=ve,ve=Le,Le=we,j=P,P=ie,ie=j),j=P+ie,we=[];j--;we.push(0));for(Ee=B,Ne=q,j=ie;--j>=0;){for(R=0,le=Le[j]%Ne,ye=Le[j]/Ne|0,G=P,L=j+G;L>j;)H=ve[--G]%Ne,V=ve[G]/Ne|0,U=ye*H+V*le,H=le*H+U%Ne*Ne+we[L]+R,R=(H/Ee|0)+(U/Ne|0)+ye*V,we[L--]=H%Ee;we[L]=R}return R?++k:we.splice(0,1),Oe(x,we,k)},ne.negated=function(){var x=new D(this);return x.s=-x.s||null,x},ne.plus=function(x,C){var R,k=this,j=k.s;if(x=new D(x,C),C=x.s,!j||!C)return new D(NaN);if(j!=C)return x.s=-C,k.minus(x);var L=k.e/E,G=x.e/E,U=k.c,P=x.c;if(!L||!G){if(!U||!P)return new D(j/0);if(!U[0]||!P[0])return P[0]?x:new D(U[0]?k:j*0)}if(L=oe(L),G=oe(G),U=U.slice(),j=L-G){for(j>0?(G=L,R=P):(j=-j,R=U),R.reverse();j--;R.push(0));R.reverse()}for(j=U.length,C=P.length,j-C<0&&(R=P,P=U,U=R,C=j),j=0;C;)j=(U[--C]=U[C]+P[C]+j)/B|0,U[C]=B===U[C]?0:U[C]%B;return j&&(U=[j].concat(U),++G),Oe(x,U,G)},ne.precision=ne.sd=function(x,C){var R,k,j,L=this;if(x!=null&&x!==!!x)return te(x,1,Q),C==null?C=h:te(C,0,8),$e(new D(L),x,C);if(!(R=L.c))return null;if(j=R.length-1,k=j*E+1,j=R[j]){for(;j%10==0;j/=10,k--);for(j=R[0];j>=10;j/=10,k++);}return x&&L.e+1>k&&(k=L.e+1),k},ne.shiftedBy=function(x){return te(x,-p,p),this.times("1e"+x)},ne.squareRoot=ne.sqrt=function(){var x,C,R,k,j,L=this,G=L.c,U=L.s,P=L.e,H=i+4,V=new D("0.5");if(U!==1||!G||!G[0])return new D(!U||U<0&&(!G||G[0])?NaN:G?L:1/0);if(U=Math.sqrt(+_e(L)),U==0||U==1/0?(C=J(G),(C.length+P)%2==0&&(C+="0"),U=Math.sqrt(+C),P=oe((P+1)/2)-(P<0||P%2),U==1/0?C="5e"+P:(C=U.toExponential(),C=C.slice(0,C.indexOf("e")+1)+P),R=new D(C)):R=new D(U+""),R.c[0]){for(P=R.e,U=P+H,U<3&&(U=0);;)if(j=R,R=V.times(j.plus(z(L,j,H,1))),J(j.c).slice(0,U)===(C=J(R.c)).slice(0,U))if(R.e<P&&--U,C=C.slice(U-3,U+1),C=="9999"||!k&&C=="4999"){if(!k&&($e(j,j.e+i+2,0),j.times(j).eq(L))){R=j;break}H+=4,U+=4,k=1}else{(!+C||!+C.slice(1)&&C.charAt(0)=="5")&&($e(R,R.e+i+2,1),x=!R.times(R).eq(L));break}}return $e(R,R.e+i+1,h,x)},ne.toExponential=function(x,C){return x!=null&&(te(x,0,Q),x++),me(this,x,C,1)},ne.toFixed=function(x,C){return x!=null&&(te(x,0,Q),x=x+this.e+1),me(this,x,C)},ne.toFormat=function(x,C,R){var k,j=this;if(R==null)x!=null&&C&&typeof C=="object"?(R=C,C=null):x&&typeof x=="object"?(R=x,x=C=null):R=S;else if(typeof R!="object")throw Error(d+"Argument not an object: "+R);if(k=j.toFixed(x,C),j.c){var L,G=k.split("."),U=+R.groupSize,P=+R.secondaryGroupSize,H=R.groupSeparator||"",V=G[0],ie=G[1],le=j.s<0,ye=le?V.slice(1):V,we=ye.length;if(P&&(L=U,U=P,P=L,we-=L),U>0&&we>0){for(L=we%U||U,V=ye.substr(0,L);L<we;L+=U)V+=H+ye.substr(L,U);P>0&&(V+=H+ye.slice(L)),le&&(V="-"+V)}k=ie?V+(R.decimalSeparator||"")+((P=+R.fractionGroupSize)?ie.replace(new RegExp("\\d{"+P+"}\\B","g"),"$&"+(R.fractionGroupSeparator||"")):ie):V}return(R.prefix||"")+k+(R.suffix||"")},ne.toFraction=function(x){var C,R,k,j,L,G,U,P,H,V,ie,le,ye=this,we=ye.c;if(x!=null&&(U=new D(x),!U.isInteger()&&(U.c||U.s!==1)||U.lt(A)))throw Error(d+"Argument "+(U.isInteger()?"out of range: ":"not an integer: ")+_e(U));if(!we)return new D(ye);for(C=new D(A),H=R=new D(A),k=P=new D(A),le=J(we),L=C.e=le.length-ye.e-1,C.c[0]=F[(G=L%E)<0?E+G:G],x=!x||U.comparedTo(C)>0?L>0?C:H:U,G=T,T=1/0,U=new D(le),P.c[0]=0;V=z(U,C,0,1),j=R.plus(V.times(k)),j.comparedTo(x)!=1;)R=k,k=j,H=P.plus(V.times(j=H)),P=j,C=U.minus(V.times(j=C)),U=j;return j=z(x.minus(R),k,0,1),P=P.plus(j.times(H)),R=R.plus(j.times(k)),P.s=H.s=ye.s,L=L*2,ie=z(H,k,L,h).minus(ye).abs().comparedTo(z(P,R,L,h).minus(ye).abs())<1?[H,k]:[P,R],T=G,ie},ne.toNumber=function(){return+_e(this)},ne.toPrecision=function(x,C){return x!=null&&te(x,1,Q),me(this,x,C,2)},ne.toString=function(x){var C,R=this,k=R.s,j=R.e;return j===null?k?(C="Infinity",k<0&&(C="-"+C)):C="NaN":(x==null?C=j<=g||j>=m?ce(J(R.c),j):fe(J(R.c),j,"0"):x===10&&pe?(R=$e(new D(R),i+j+1,h),C=fe(J(R.c),R.e,"0")):(te(x,2,ue.length,"Base"),C=ae(fe(J(R.c),j,"0"),10,x,k,!0)),k<0&&R.c[0]&&(C="-"+C)),C},ne.valueOf=ne.toJSON=function(){return _e(this)},ne._isBigNumber=!0,Y!=null&&D.set(Y),D}function oe(Y){var z=Y|0;return Y>0||Y===z?z:z-1}function J(Y){for(var z,ae,de=1,ne=Y.length,A=Y[0]+"";de<ne;){for(z=Y[de++]+"",ae=E-z.length;ae--;z="0"+z);A+=z}for(ne=A.length;A.charCodeAt(--ne)===48;);return A.slice(0,ne+1||1)}function he(Y,z){var ae,de,ne=Y.c,A=z.c,i=Y.s,h=z.s,g=Y.e,m=z.e;if(!i||!h)return null;if(ae=ne&&!ne[0],de=A&&!A[0],ae||de)return ae?de?0:-h:i;if(i!=h)return i;if(ae=i<0,de=g==m,!ne||!A)return de?0:!ne^ae?1:-1;if(!de)return g>m^ae?1:-1;for(h=(g=ne.length)<(m=A.length)?g:m,i=0;i<h;i++)if(ne[i]!=A[i])return ne[i]>A[i]^ae?1:-1;return g==m?0:g>m^ae?1:-1}function te(Y,z,ae,de){if(Y<z||Y>ae||Y!==o(Y))throw Error(d+(de||"Argument")+(typeof Y=="number"?Y<z||Y>ae?" out of range: ":" not an integer: ":" not a primitive number: ")+String(Y))}function se(Y){var z=Y.c.length-1;return oe(Y.e/E)==z&&Y.c[z]%2!=0}function ce(Y,z){return(Y.length>1?Y.charAt(0)+"."+Y.slice(1):Y)+(z<0?"e":"e+")+z}function fe(Y,z,ae){var de,ne;if(z<0){for(ne=ae+".";++z;ne+=ae);Y=ne+Y}else if(de=Y.length,++z>de){for(ne=ae,z-=de;--z;ne+=ae);Y+=ne}else z<de&&(Y=Y.slice(0,z)+"."+Y.slice(z));return Y}r=W(),r.default=r.BigNumber=r,e.exports?e.exports=r:(t||(t=typeof self<"u"&&self?self:window),t.BigNumber=r)})(ng)})(Fa);var Ra=Fa.exports;/*!
137
+ * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
138
+ *
139
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
140
+ * of this software and associated documentation files (the "Software"), to deal
141
+ * in the Software without restriction, including without limitation the rights
142
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
143
+ * copies of the Software, and to permit persons to whom the Software is
144
+ * furnished to do so, subject to the following conditions:
145
+ *
146
+ * The above copyright notice and this permission notice shall be included in
147
+ * all copies or substantial portions of the Software.
148
+ *
149
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
150
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
151
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
152
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
153
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
154
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
155
+ * SOFTWARE.
156
+ */const st=_i(),Sg=Ei(),Bg=Mi,Ag=Ra,Ke={trillion:Math.pow(10,12),billion:Math.pow(10,9),million:Math.pow(10,6),thousand:Math.pow(10,3)},pr={totalLength:0,characteristic:0,forceAverage:!1,average:!1,mantissa:-1,optionalMantissa:!0,thousandSeparated:!1,spaceSeparated:!1,negative:"sign",forceSign:!1,roundingFunction:Math.round,spaceSeparatedAbbreviation:!1},{binarySuffixes:Ia,decimalSuffixes:$r}=st.currentBytes(),Si={general:{scale:1024,suffixes:$r},binary:{scale:1024,suffixes:Ia},decimal:{scale:1e3,suffixes:$r}};function Og(e,t={},r){if(typeof t=="string"&&(t=Bg.parseFormat(t)),!Sg.validateFormat(t))return"ERROR: invalid format";let u=t.prefix||"",o=t.postfix||"",d=Tg(e,t,r);return d=Jg(d,u),d=Vg(d,o),d}function Tg(e,t,r){switch(t.output){case"currency":return t=It(t,st.currentCurrencyDefaultFormat()),Pg(e,t,st);case"percent":return t=It(t,st.currentPercentageDefaultFormat()),Ug(e,t,st,r);case"byte":return t=It(t,st.currentByteDefaultFormat()),Rg(e,t,st,r);case"time":return t=It(t,st.currentTimeDefaultFormat()),Ng(e);case"ordinal":return t=It(t,st.currentOrdinalDefaultFormat()),Ig(e,t,st);case"number":default:return gr({instance:e,providedFormat:t})}}function Cg(e){let t=Si.decimal;return Kr(e._value,t.suffixes,t.scale).suffix}function $g(e){let t=Si.binary;return Kr(e._value,t.suffixes,t.scale).suffix}function Fg(e){let t=Si.general;return Kr(e._value,t.suffixes,t.scale).suffix}function Kr(e,t,r){let n=t[0],u=Math.abs(e);if(u>=r){for(let o=1;o<t.length;++o){let d=Math.pow(r,o),b=Math.pow(r,o+1);if(u>=d&&u<b){n=t[o],e=e/d;break}}n===t[0]&&(e=e/Math.pow(r,t.length-1),n=t[t.length-1])}return{value:e,suffix:n}}function Rg(e,t,r,n){let u=t.base||"binary",o=Object.assign({},pr,t);const{binarySuffixes:d,decimalSuffixes:b}=r.currentBytes();let E={general:{scale:1024,suffixes:b||$r,marker:"bd"},binary:{scale:1024,suffixes:d||Ia,marker:"b"},decimal:{scale:1e3,suffixes:b||$r,marker:"d"}}[u],{value:p,suffix:F}=Kr(e._value,E.suffixes,E.scale);return`${gr({instance:n(p),providedFormat:t,state:r,defaults:r.currentByteDefaultFormat()})}${o.spaceSeparated?" ":""}${F}`}function Ig(e,t,r){let n=r.currentOrdinal(),u=Object.assign({},pr,t),o=gr({instance:e,providedFormat:t,state:r}),d=n(e._value);return`${o}${u.spaceSeparated?" ":""}${d}`}function Ng(e){let t=Math.floor(e._value/60/60),r=Math.floor((e._value-t*60*60)/60),n=Math.round(e._value-t*60*60-r*60);return`${t}:${r<10?"0":""}${r}:${n<10?"0":""}${n}`}function Ug(e,t,r,n){let u=t.prefixSymbol,o=gr({instance:n(e._value*100),providedFormat:t,state:r}),d=Object.assign({},pr,t);return u?`%${d.spaceSeparated?" ":""}${o}`:`${o}${d.spaceSeparated?" ":""}%`}function Pg(e,t,r){const n=r.currentCurrency();let u=Object.assign({},t),o=Object.assign({},pr,u),d,b="",B=!!o.totalLength||!!o.forceAverage||o.average,E=u.currencyPosition||n.position,p=u.currencySymbol||n.symbol;const F=o.spaceSeparatedCurrency!==void 0?o.spaceSeparatedCurrency:o.spaceSeparated;u.lowPrecision===void 0&&(u.lowPrecision=!1),F&&(b=" "),E==="infix"&&(d=b+p+b);let q=gr({instance:e,providedFormat:u,state:r,decimalSeparator:d});return E==="prefix"&&(e._value<0&&o.negative==="sign"?q=`-${b}${p}${q.slice(1)}`:e._value>0&&o.forceSign?q=`+${b}${p}${q.slice(1)}`:q=p+b+q),(!E||E==="postfix")&&(b=!o.spaceSeparatedAbbreviation&&B?"":b,q=q+b+p),q}function Lg({value:e,forceAverage:t,lowPrecision:r=!0,abbreviations:n,spaceSeparated:u=!1,totalLength:o=0,roundingFunction:d=Math.round}){let b="",B=Math.abs(e),E=-1;if(t&&n[t]&&Ke[t]?(b=n[t],e=e/Ke[t]):B>=Ke.trillion||r&&d(B/Ke.trillion)===1?(b=n.trillion,e=e/Ke.trillion):B<Ke.trillion&&B>=Ke.billion||r&&d(B/Ke.billion)===1?(b=n.billion,e=e/Ke.billion):B<Ke.billion&&B>=Ke.million||r&&d(B/Ke.million)===1?(b=n.million,e=e/Ke.million):(B<Ke.million&&B>=Ke.thousand||r&&d(B/Ke.thousand)===1)&&(b=n.thousand,e=e/Ke.thousand),b&&(b=(u?" ":"")+b),o){let F=e<0,q=e.toString().split(".")[0],Q=F?q.length-1:q.length;E=Math.max(o-Q,0)}return{value:e,abbreviation:b,mantissaPrecision:E}}function Dg({value:e,characteristicPrecision:t}){let[r,n]=e.toExponential().split("e"),u=+r;if(!t)return{value:u,abbreviation:`e${n}`};let o=1;return o<t&&(u=u*Math.pow(10,t-o),n=+n-(t-o),n=n>=0?`+${n}`:n),{value:u,abbreviation:`e${n}`}}function xr(e){let t="";for(let r=0;r<e;r++)t+="0";return t}function jg(e,t){let r=e.toString(),[n,u]=r.split("e"),[o,d=""]=n.split(".");if(+u>0)r=o+d+xr(u-d.length);else{let b=".";+o<0?b=`-0${b}`:b=`0${b}`;let B=(xr(-u-1)+Math.abs(o)+d).substr(0,t);B.length<t&&(B+=xr(t-B.length)),r=b+B}return+u>0&&t>0&&(r+=`.${xr(t)}`),r}function kg(e,t,r=Math.round){return e.toString().indexOf("e")!==-1?jg(e,t):new Ag(r(+`${e}e+${t}`)/Math.pow(10,t)).toFixed(t)}function qg(e,t,r,n,u,o){if(n===-1)return e;let d=kg(t,n,o),[b,B=""]=d.toString().split(".");if(B.match(/^0+$/)&&(r||u))return b;let E=B.match(/0+$/);return u&&E?`${b}.${B.toString().slice(0,E.index)}`:d.toString()}function zg(e,t,r,n){let u=e,[o,d]=u.toString().split(".");if(o.match(/^-?0$/)&&r)return d?`${o.replace("0","")}.${d}`:o.replace("0","");const b=t<0&&o.indexOf("-")===0;if(b&&(o=o.slice(1),u=u.slice(1)),o.length<n){let B=n-o.length;for(let E=0;E<B;E++)u=`0${u}`}return b&&(u=`-${u}`),u.toString()}function Hg(e,t){let r=[],n=0;for(let u=e;u>0;u--)n===t&&(r.unshift(u),n=0),n++;return r}function Gg(e,t,r,n,u){let o=n.currentDelimiters(),d=o.thousands;u=u||o.decimal;let b=o.thousandsSize||3,B=e.toString(),E=B.split(".")[0],p=B.split(".")[1];const F=t<0&&E.indexOf("-")===0;return r&&(F&&(E=E.slice(1)),Hg(E.length,b).forEach((Q,W)=>{E=E.slice(0,Q+W)+d+E.slice(Q+W)}),F&&(E=`-${E}`)),p?B=E+u+p:B=E,B}function Wg(e,t){return e+t}function Zg(e,t,r){return t===0?e:+e==0?e.replace("-",""):t>0?`+${e}`:r==="sign"?e:`(${e.replace("-","")})`}function Jg(e,t){return t+e}function Vg(e,t){return e+t}function gr({instance:e,providedFormat:t,state:r=st,decimalSeparator:n,defaults:u=r.currentDefaults()}){let o=e._value;if(o===0&&r.hasZeroFormat())return r.getZeroFormat();if(!isFinite(o))return o.toString();let d=Object.assign({},pr,u,t),b=d.totalLength,B=b?0:d.characteristic,E=d.optionalCharacteristic,p=d.forceAverage,F=d.lowPrecision,q=!!b||!!p||d.average,Q=b?-1:q&&t.mantissa===void 0?0:d.mantissa,W=b?!1:t.optionalMantissa===void 0?Q===-1:d.optionalMantissa,oe=d.trimMantissa,J=d.thousandSeparated,he=d.spaceSeparated,te=d.negative,se=d.forceSign,ce=d.exponential,fe=d.roundingFunction,Y="";if(q){let ae=Lg({value:o,forceAverage:p,lowPrecision:F,abbreviations:r.currentAbbreviations(),spaceSeparated:he,roundingFunction:fe,totalLength:b});o=ae.value,Y+=ae.abbreviation,b&&(Q=ae.mantissaPrecision)}if(ce){let ae=Dg({value:o,characteristicPrecision:B});o=ae.value,Y=ae.abbreviation+Y}let z=qg(o.toString(),o,W,Q,oe,fe);return z=zg(z,o,E,B),z=Gg(z,o,J,r,n),(q||ce)&&(z=Wg(z,Y)),(se||o<0)&&(z=Zg(z,o,te)),z}function It(e,t){if(!e)return t;let r=Object.keys(e);return r.length===1&&r[0]==="output"?t:e}var Kg=e=>({format:(...t)=>Og(...t,e),getByteUnit:(...t)=>Fg(...t,e),getBinaryByteUnit:(...t)=>$g(...t,e),getDecimalByteUnit:(...t)=>Cg(...t,e),formatOrDefault:It});/*!
157
+ * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
158
+ *
159
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
160
+ * of this software and associated documentation files (the "Software"), to deal
161
+ * in the Software without restriction, including without limitation the rights
162
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
163
+ * copies of the Software, and to permit persons to whom the Software is
164
+ * furnished to do so, subject to the following conditions:
165
+ *
166
+ * The above copyright notice and this permission notice shall be included in
167
+ * all copies or substantial portions of the Software.
168
+ *
169
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
170
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
171
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
172
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
173
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
174
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
175
+ * SOFTWARE.
176
+ */const gt=Ra;function Yg(e,t,r){let n=new gt(e._value),u=t;return r.isNumbro(t)&&(u=t._value),u=new gt(u),e._value=n.plus(u).toNumber(),e}function Na(e,t,r){let n=new gt(e._value),u=t;return r.isNumbro(t)&&(u=t._value),u=new gt(u),e._value=n.minus(u).toNumber(),e}function Xg(e,t,r){let n=new gt(e._value),u=t;return r.isNumbro(t)&&(u=t._value),u=new gt(u),e._value=n.times(u).toNumber(),e}function Qg(e,t,r){let n=new gt(e._value),u=t;return r.isNumbro(t)&&(u=t._value),u=new gt(u),e._value=n.dividedBy(u).toNumber(),e}function em(e,t,r){let n=t;return r.isNumbro(t)&&(n=t._value),e._value=n,e}function tm(e,t,r){let n=r(e._value);return Na(n,t,r),Math.abs(n._value)}var rm=e=>({add:(t,r)=>Yg(t,r,e),subtract:(t,r)=>Na(t,r,e),multiply:(t,r)=>Xg(t,r,e),divide:(t,r)=>Qg(t,r,e),set:(t,r)=>em(t,r,e),difference:(t,r)=>tm(t,r,e),BigNumber:gt});/*!
177
+ * Copyright (c) 2017 Benjamin Van Ryseghem<benjamin@vanryseghem.com>
178
+ *
179
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
180
+ * of this software and associated documentation files (the "Software"), to deal
181
+ * in the Software without restriction, including without limitation the rights
182
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
183
+ * copies of the Software, and to permit persons to whom the Software is
184
+ * furnished to do so, subject to the following conditions:
185
+ *
186
+ * The above copyright notice and this permission notice shall be included in
187
+ * all copies or substantial portions of the Software.
188
+ *
189
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
190
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
191
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
192
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
193
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
194
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
195
+ * SOFTWARE.
196
+ */const nm="2.5.0",pt=_i(),im=Ei(),om=_g(He),sm=$a();let bt=Kg(He),Et=rm(He);const am=Mi;class Ua{constructor(t){this._value=t}clone(){return He(this._value)}format(t={}){return bt.format(this,t)}formatCurrency(t){return typeof t=="string"&&(t=am.parseFormat(t)),t=bt.formatOrDefault(t,pt.currentCurrencyDefaultFormat()),t.output="currency",bt.format(this,t)}formatTime(t={}){return t.output="time",bt.format(this,t)}binaryByteUnits(){return bt.getBinaryByteUnit(this)}decimalByteUnits(){return bt.getDecimalByteUnit(this)}byteUnits(){return bt.getByteUnit(this)}difference(t){return Et.difference(this,t)}add(t){return Et.add(this,t)}subtract(t){return Et.subtract(this,t)}multiply(t){return Et.multiply(this,t)}divide(t){return Et.divide(this,t)}set(t){return Et.set(this,Pa(t))}value(){return this._value}valueOf(){return this._value}}function Pa(e){let t=e;return He.isNumbro(e)?t=e._value:typeof e=="string"?t=He.unformat(e):isNaN(e)&&(t=NaN),t}function He(e){return new Ua(Pa(e))}He.version=nm;He.isNumbro=function(e){return e instanceof Ua};He.language=pt.currentLanguage;He.registerLanguage=pt.registerLanguage;He.setLanguage=pt.setLanguage;He.languages=pt.languages;He.languageData=pt.languageData;He.zeroFormat=pt.setZeroFormat;He.defaultFormat=pt.currentDefaults;He.setDefaults=pt.setDefaults;He.defaultCurrencyFormat=pt.currentCurrencyDefaultFormat;He.validate=im.validate;He.loadLanguagesInNode=om.loadLanguagesInNode;He.unformat=sm.unformat;He.BigNumber=Et.BigNumber;var um=He,uw=ig(um),Lo=hi(function(e,t,r,n){Ct(t,Vt(t),e,n)}),fm="[object DOMException]",lm="[object Error]";function La(e){if(!et(e))return!1;var t=ut(e);return t==lm||t==fm||typeof e.message=="string"&&typeof e.name=="string"&&!jr(e)}var cm=dt(function(e,t){try{return ci(e,void 0,t)}catch(r){return La(r)?r:new Error(r)}});function Da(e,t){return wt(t,function(r){return e[r]})}var ja=Object.prototype,hm=ja.hasOwnProperty;function Do(e,t,r,n){return e===void 0||Wt(e,ja[r])&&!hm.call(n,r)?t:e}var dm={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function pm(e){return"\\"+dm[e]}var ka=/<%=([\s\S]+?)%>/g,gm={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},mm=ma(gm),qa=/[&<>"']/g,ym=RegExp(qa.source);function wm(e){return e=tt(e),e&&ym.test(e)?e.replace(qa,mm):e}var vm=/<%-([\s\S]+?)%>/g,xm=/<%([\s\S]+?)%>/g,jo={escape:vm,evaluate:xm,interpolate:ka,variable:"",imports:{_:{escape:wm}}},bm="Invalid `variable` option passed into `_.template`",Em=/\b__p \+= '';/g,Mm=/\b(__p \+=) '' \+/g,_m=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Sm=/[()=,{}\[\]\/\s]/,Bm=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,br=/($^)/,Am=/['\n\r\u2028\u2029\\]/g,Om=Object.prototype,ko=Om.hasOwnProperty;function fw(e,t,r){var n=jo.imports._.templateSettings||jo;e=tt(e),t=Lo({},t,n,Do);var u=Lo({},t.imports,n.imports,Do),o=xt(u),d=Da(u,o),b,B,E=0,p=t.interpolate||br,F="__p += '",q=RegExp((t.escape||br).source+"|"+p.source+"|"+(p===ka?Bm:br).source+"|"+(t.evaluate||br).source+"|$","g"),Q=ko.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+`
197
+ `:"";e.replace(q,function(J,he,te,se,ce,fe){return te||(te=se),F+=e.slice(E,fe).replace(Am,pm),he&&(b=!0,F+=`' +
198
+ __e(`+he+`) +
199
+ '`),ce&&(B=!0,F+=`';
200
+ `+ce+`;
201
+ __p += '`),te&&(F+=`' +
202
+ ((__t = (`+te+`)) == null ? '' : __t) +
203
+ '`),E=fe+J.length,J}),F+=`';
204
+ `;var W=ko.call(t,"variable")&&t.variable;if(!W)F=`with (obj) {
205
+ `+F+`
206
+ }
207
+ `;else if(Sm.test(W))throw new Error(bm);F=(B?F.replace(Em,""):F).replace(Mm,"$1").replace(_m,"$1;"),F="function("+(W||"obj")+`) {
208
+ `+(W?"":`obj || (obj = {});
209
+ `)+"var __t, __p = ''"+(b?", __e = _.escape":"")+(B?`, __j = Array.prototype.join;
210
+ function print() { __p += __j.call(arguments, '') }
211
+ `:`;
212
+ `)+F+`return __p
213
+ }`;var oe=cm(function(){return Function(o,Q+"return "+F).apply(void 0,d)});if(oe.source=F,La(oe))throw oe;return oe}var Tm=ot.isFinite;function lw(e){return typeof e=="number"&&Tm(e)}var Cm=1,$m=4;function Fm(e){return tr(e,Cm|$m)}const cw=Object.freeze(Object.defineProperty({__proto__:null,default:Fm},Symbol.toStringTag,{value:"Module"}));function za(e,t,r,n,u,o){return Ve(e)&&Ve(t)&&(o.set(t,e),kr(e,t,void 0,za,o),o.delete(t)),e}var Rm=hi(function(e,t,r,n){kr(e,t,r,n)}),hw=dt(function(e){return e.push(void 0,za),ci(Rm,void 0,e)});function Im(e,t){for(var r=-1,n=e.length;++r<n&&zr(t,e[r],0)>-1;);return r}function Nm(e,t,r){if(e=tt(e),e&&(r||t===void 0))return ss(e);if(!e||!(t=ir(t)))return e;var n=Pt(e),u=Pt(t),o=Im(n,u),d=Ca(n,u)+1;return Fr(n,o,d).join("")}const dw=Object.freeze(Object.defineProperty({__proto__:null,default:Nm},Symbol.toStringTag,{value:"Module"}));var pw=dt(function(e){var t=qr(e);return qt(t)&&(t=void 0),zt(fr(e,1,qt,!0),ht(t))});function Bi(e,t){return e&&Ss(e,t,xt)}function Um(e,t){return function(r,n){if(r==null)return r;if(!vt(r))return e(r,n);for(var u=r.length,o=-1,d=Object(r);++o<u&&n(d[o],o,d)!==!1;);return r}}var Ai=Um(Bi);function Ha(e,t){var r=-1,n=vt(e)?Array(e.length):[];return Ai(e,function(u,o,d){n[++r]=t(u,o,d)}),n}function Pm(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}function Lm(e,t){if(e!==t){var r=e!==void 0,n=e===null,u=e===e,o=Ut(e),d=t!==void 0,b=t===null,B=t===t,E=Ut(t);if(!b&&!E&&!o&&e>t||o&&d&&B&&!b&&!E||n&&d&&B||!r&&B||!u)return 1;if(!n&&!o&&!E&&e<t||E&&r&&u&&!n&&!o||b&&r&&u||!d&&u||!B)return-1}return 0}function Dm(e,t,r){for(var n=-1,u=e.criteria,o=t.criteria,d=u.length,b=r.length;++n<d;){var B=Lm(u[n],o[n]);if(B){if(n>=b)return B;var E=r[n];return B*(E=="desc"?-1:1)}}return e.index-t.index}function Ga(e,t,r){t.length?t=wt(t,function(o){return Ge(o)?function(d){return sr(d,o.length===1?o[0]:o)}:o}):t=[ar];var n=-1;t=wt(t,Ur(ht));var u=Ha(e,function(o,d,b){var B=wt(t,function(E){return E(o)});return{criteria:B,index:++n,value:o}});return Pm(u,function(o,d){return Dm(o,d,r)})}var gw=dt(function(e,t){if(e==null)return[];var r=t.length;return r>1&&Hn(e,t[0],t[1])?t=[]:r>2&&Hn(t[0],t[1],t[2])&&(t=[t[0]]),Ga(e,fr(t),[])});function jm(e){return function(t,r,n){var u=Object(t);if(!vt(t)){var o=ht(r);t=xt(t),r=function(b){return o(u[b],b,u)}}var d=e(t,r,n);return d>-1?u[o?t[d]:d]:void 0}}var km=Math.max;function qm(e,t,r){var n=e==null?0:e.length;if(!n)return-1;var u=r==null?0:Gt(r);return u<0&&(u=km(n+u,0)),Ps(e,ht(t),u)}var mw=jm(qm);function zm(e){return e&&e.length?zt(e):[]}const yw=Object.freeze(Object.defineProperty({__proto__:null,default:zm},Symbol.toStringTag,{value:"Module"}));var Hm=Math.ceil,Gm=Math.max;function ww(e,t,r){t===void 0?t=1:t=Gm(Gt(t),0);var n=e==null?0:e.length;if(!n||t<1)return[];for(var u=0,o=0,d=Array(Hm(n/t));u<n;)d[o++]=Kn(e,u,u+=t);return d}function Wm(e,t,r,n){for(var u=-1,o=e==null?0:e.length;++u<o;){var d=e[u];t(n,d,r(d),e)}return n}function Zm(e,t,r,n){return Ai(e,function(u,o,d){t(n,u,r(u),d)}),n}function Wa(e,t){return function(r,n){var u=Ge(r)?Wm:Zm,o=t?t():{};return u(r,e,ht(n),o)}}var Jm=200;function Za(e,t,r,n){var u=-1,o=Ls,d=!0,b=e.length,B=[],E=t.length;if(!b)return B;n?(o=Ds,d=!1):t.length>=Jm&&(o=Qn,d=!1,t=new Lt(t));e:for(;++u<b;){var p=e[u],F=p;if(p=n||p!==0?p:0,d&&F===F){for(var q=E;q--;)if(t[q]===F)continue e;B.push(p)}else o(t,F,n)||B.push(p)}return B}function Ja(e){return typeof e=="function"?e:ar}function vw(e,t){var r=Ge(e)?Fs:Ai;return r(e,Ja(t))}function Vm(e,t){var r=Ge(e)?wt:Ha;return r(e,ht(t))}const xw=Object.freeze(Object.defineProperty({__proto__:null,default:Vm},Symbol.toStringTag,{value:"Module"}));function Km(e,t){return e&&Bi(e,Ja(t))}const bw=Object.freeze(Object.defineProperty({__proto__:null,default:Km},Symbol.toStringTag,{value:"Module"}));function Ew(e){return e==null?[]:Da(e,xt(e))}function Mw(e){return typeof e=="number"&&e==Gt(e)}var _w=Wa(function(e,t,r){ur(e,r,t)});function Sw(e,t){var r={};return t=ht(t),Bi(e,function(n,u,o){ur(r,u,t(n,u,o))}),r}function Ym(e,t){var r=e.length;if(r)return t+=t<0?r:0,or(t,r)?e[t]:void 0}function Bw(e){return e=Gt(e),dt(function(t){return Ym(t,e)})}function Aw(e,t,r,n){return e==null?[]:(Ge(t)||(t=t==null?[]:[t]),r=r,Ge(r)||(r=r==null?[]:[r]),Ga(e,t,r))}var Xm=Wa(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});const Ow=Object.freeze(Object.defineProperty({__proto__:null,default:Xm},Symbol.toStringTag,{value:"Module"}));var Qm=Array.prototype,qo=Qm.splice;function ey(e,t,r,n){var u=zr,o=-1,d=t.length,b=e;for(e===t&&(t=li(t));++o<d;)for(var B=0,E=t[o],p=E;(B=u(b,p,B))>-1;)b!==e&&qo.call(b,B,1),qo.call(e,B,1);return e}function ty(e,t){return e&&e.length&&t&&t.length?ey(e,t):e}var Tw=dt(ty);function ry(e){return tt(e).toLowerCase()}const Cw=Object.freeze(Object.defineProperty({__proto__:null,default:ry},Symbol.toStringTag,{value:"Module"}));function $w(e){return tt(e).toUpperCase()}var ny=dt(function(e){var t=qr(e);return t=typeof t=="function"?t:void 0,zt(fr(e,1,qt,!0),void 0,t)});const Fw=Object.freeze(Object.defineProperty({__proto__:null,default:ny},Symbol.toStringTag,{value:"Module"}));var Rw=dt(function(e,t){return qt(e)?Za(e,t):[]});function iy(e,t,r){var n=e.length;if(n<2)return n?zt(e[0]):[];for(var u=-1,o=Array(n);++u<n;)for(var d=e[u],b=-1;++b<n;)b!=u&&(o[u]=Za(o[u]||d,e[b],t,r));return zt(fr(o),t,r)}var Iw=dt(function(e){var t=qr(e);return t=typeof t=="function"?t:void 0,iy(fs(e,qt),void 0,t)});export{fy as $,eg as A,sp as B,_y as C,Je as D,mw as E,Ve as F,Fm as G,Xp as H,Ph as I,Ey as J,fw as K,uw as L,aw as M,J1 as N,My as O,Cy as P,r1 as Q,Ge as R,Ay as S,Nm as T,Xn as U,gw as V,pw as W,hw as X,hy as Y,lw as Z,yy as _,Yc as a,yw as a0,By as a1,oi as a2,zh as a3,Sy as a4,Iw as a5,xy as a6,ww as a7,Aw as a8,gi as a9,ud as aA,X1 as aB,Fw as aC,uy as aD,Ow as aE,Rw as aF,by as aG,Ew as aH,_w as aI,ga as aa,zm as ab,Pp as ac,Mw as ad,Iy as ae,Z1 as af,ks as ag,Oy as ah,cd as ai,Rh as aj,bw as ak,my as al,xw as am,vw as an,Vm as ao,cw as ap,wy as aq,Cw as ar,dw as as,Sw as at,$w as au,Bw as av,Gc as aw,vy as ax,tg as ay,Tw as az,Xu as b,py as c,t0 as d,vs as e,Ky as f,Mt as g,Yy as h,jr as i,Vy as j,sy as k,Qy as l,ew as m,u0 as n,ly as o,tw as p,ay as q,cy as r,dy as s,gy as t,Xy as u,nw as v,K1 as w,iw as x,ow as y,sw as z};