@prosopo/procaptcha-bundle 3.1.6 → 3.2.2

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 (205) hide show
  1. package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/index.d.ts.map +1 -1
  2. package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/index.js +10 -1
  3. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/index.js.map +1 -0
  4. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/procaptchaReady.unit.test.d.ts +2 -0
  5. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/procaptchaReady.unit.test.d.ts.map +1 -0
  6. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/procaptchaReady.unit.test.js +32 -0
  7. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/procaptchaReady.unit.test.js.map +1 -0
  8. package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.d.ts.map +1 -1
  9. package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.js +0 -1
  10. package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.js.map +1 -1
  11. package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.d.ts.map +1 -1
  12. package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.js.map +1 -1
  13. package/CHANGELOG.md +93 -0
  14. package/coverage/base.css +224 -0
  15. package/coverage/block-navigation.js +87 -0
  16. package/coverage/clover.xml +599 -0
  17. package/coverage/coverage-final.json +17 -0
  18. package/coverage/favicon.png +0 -0
  19. package/coverage/index.html +161 -0
  20. package/coverage/prettify.css +1 -0
  21. package/coverage/prettify.js +2 -0
  22. package/coverage/sort-arrow-sprite.png +0 -0
  23. package/coverage/sorter.js +210 -0
  24. package/coverage/src/components.ts.html +139 -0
  25. package/coverage/src/index.html +131 -0
  26. package/coverage/src/index.ts.html +844 -0
  27. package/coverage/src/util/captcha/captchaComponentProvider.tsx.html +214 -0
  28. package/coverage/src/util/captcha/captchaComponentsList.ts.html +178 -0
  29. package/coverage/src/util/captcha/captchaProps.ts.html +166 -0
  30. package/coverage/src/util/captcha/captchaRenderer.tsx.html +481 -0
  31. package/coverage/src/util/captcha/captchaType.ts.html +181 -0
  32. package/coverage/src/util/captcha/components/frictionlessCaptcha.tsx.html +205 -0
  33. package/coverage/src/util/captcha/components/imageCaptcha.tsx.html +178 -0
  34. package/coverage/src/util/captcha/components/index.html +146 -0
  35. package/coverage/src/util/captcha/components/powCaptcha.tsx.html +178 -0
  36. package/coverage/src/util/captcha/index.html +176 -0
  37. package/coverage/src/util/config.ts.html +172 -0
  38. package/coverage/src/util/configCreator.ts.html +241 -0
  39. package/coverage/src/util/index.html +191 -0
  40. package/coverage/src/util/language.ts.html +244 -0
  41. package/coverage/src/util/timeout.ts.html +214 -0
  42. package/coverage/src/util/widgetFactory.ts.html +532 -0
  43. package/coverage/src/util/widgetThemeResolver.ts.html +205 -0
  44. package/dist/bundle/{ProcaptchaWidget-Cw3s7cGX.js → ProcaptchaWidget-CuMH13Bh.js} +85 -87
  45. package/dist/bundle/{ProcaptchaWidget-CJ-4hVS1.js → ProcaptchaWidget-DsflBBn_.js} +5 -5
  46. package/dist/bundle/{browser-ponyfill-CvzSbL_o.js → browser-ponyfill-DXriyH6D.js} +4 -4
  47. package/dist/bundle/{captchaComponentProvider-Cn75EmSH.js → captchaComponentProvider-D02Su4nd.js} +205 -194
  48. package/dist/bundle/{captchaRenderer-s4QuLEen.js → captchaRenderer-BV-WgbEA.js} +17 -18
  49. package/dist/bundle/{commonChunk-BjvuHlB1.js → commonChunk-PB26mndo.js} +37 -34
  50. package/dist/bundle/{emotion-element-c39617d8.browser.esm-BNNnmykm.js → emotion-element-c39617d8.browser.esm-DG1XhEZ1.js} +3 -3
  51. package/dist/bundle/{index-DIdd2cUz.js → index-B9KeZfID.js} +3 -3
  52. package/dist/bundle/{index-IgqrmVIs.js → index-Calnfnac.js} +67 -59
  53. package/dist/bundle/index-DU371vQ0.js +1634 -0
  54. package/dist/bundle/index.d.ts.map +1 -1
  55. package/dist/bundle/procaptcha.bundle.js +2 -2
  56. package/dist/bundle/tests/procaptchaReady.unit.test.d.ts.map +1 -0
  57. package/dist/bundle/util/configCreator.d.ts.map +1 -1
  58. package/dist/bundle/util/widgetFactory.d.ts.map +1 -1
  59. package/dist/bundle/{utilChunk-DPr6oTOj.js → utilChunk-WRTGKXbU.js} +109 -102
  60. package/dist/bundle/{utilCryptoChunk-D6ZLkbFV.js → utilCryptoChunk-B4ZdOwus.js} +1 -1
  61. package/dist/bundle/{web2Chunk-CNoojUDK.js → web2Chunk-BGN6Hv-C.js} +273 -268
  62. package/dist/bundle/{web3Chunk-BlYvY4Ea.js → web3Chunk-BIX2T9Eo.js} +6 -6
  63. package/dist/bundle/{zodChunk-aEfPZzrp.js → zodChunk-CaINhWMQ.js} +8 -8
  64. package/dist/cjs/index.cjs +10 -1
  65. package/dist/cjs/util/configCreator.cjs +0 -1
  66. package/dist/components.d.ts.map +1 -0
  67. package/dist/components.js +5 -0
  68. package/dist/components.js.map +1 -0
  69. package/dist/index.d.ts.map +1 -0
  70. package/dist/index.js +10 -1
  71. package/dist/index.js.map +1 -0
  72. package/dist/tests/procaptchaReady.unit.test.d.ts +2 -0
  73. package/dist/tests/procaptchaReady.unit.test.d.ts.map +1 -0
  74. package/dist/tests/procaptchaReady.unit.test.js +32 -0
  75. package/dist/tests/procaptchaReady.unit.test.js.map +1 -0
  76. package/dist/tests/util/captchaType.test.d.ts.map +1 -0
  77. package/dist/tests/util/captchaType.test.js +36 -0
  78. package/dist/tests/util/captchaType.test.js.map +1 -0
  79. package/dist/tests/util/config.test.d.ts.map +1 -0
  80. package/dist/tests/util/config.test.js +69 -0
  81. package/dist/tests/util/config.test.js.map +1 -0
  82. package/dist/tests/util/renderLogic.test.d.ts.map +1 -0
  83. package/dist/tests/util/renderLogic.test.js +136 -0
  84. package/dist/tests/util/renderLogic.test.js.map +1 -0
  85. package/dist/util/captcha/captchaComponentProvider.d.ts.map +1 -0
  86. package/dist/util/captcha/captchaComponentProvider.js.map +1 -0
  87. package/dist/util/captcha/captchaComponentsList.d.ts.map +1 -0
  88. package/dist/util/captcha/captchaComponentsList.js.map +1 -0
  89. package/dist/util/captcha/captchaProps.d.ts.map +1 -0
  90. package/dist/util/captcha/captchaProps.js +2 -0
  91. package/dist/util/captcha/captchaProps.js.map +1 -0
  92. package/dist/util/captcha/captchaRenderer.d.ts.map +1 -0
  93. package/dist/util/captcha/captchaRenderer.js.map +1 -0
  94. package/dist/util/captcha/captchaType.d.ts.map +1 -0
  95. package/dist/util/captcha/captchaType.js.map +1 -0
  96. package/dist/util/captcha/components/frictionlessCaptcha.d.ts.map +1 -0
  97. package/dist/util/captcha/components/frictionlessCaptcha.js.map +1 -0
  98. package/dist/util/captcha/components/imageCaptcha.d.ts.map +1 -0
  99. package/dist/util/captcha/components/imageCaptcha.js.map +1 -0
  100. package/dist/util/captcha/components/powCaptcha.d.ts.map +1 -0
  101. package/dist/util/captcha/components/powCaptcha.js.map +1 -0
  102. package/dist/util/config.d.ts.map +1 -0
  103. package/dist/util/config.js.map +1 -0
  104. package/dist/util/configCreator.d.ts.map +1 -0
  105. package/dist/util/configCreator.js +0 -1
  106. package/dist/util/configCreator.js.map +1 -0
  107. package/dist/util/language.d.ts.map +1 -0
  108. package/dist/util/language.js.map +1 -0
  109. package/dist/util/timeout.d.ts.map +1 -0
  110. package/dist/util/timeout.js.map +1 -0
  111. package/dist/util/widgetFactory.d.ts.map +1 -0
  112. package/dist/util/widgetFactory.js.map +1 -0
  113. package/dist/util/widgetThemeResolver.d.ts.map +1 -0
  114. package/dist/util/widgetThemeResolver.js.map +1 -0
  115. package/package.json +16 -16
  116. package/stats.html +2239 -2132
  117. package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/index.js.map +0 -1
  118. package/dist/bundle/index-BuQg3Zno.js +0 -1884
  119. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/components.d.ts +0 -0
  120. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/components.d.ts.map +0 -0
  121. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/components.js +0 -0
  122. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/components.js.map +0 -0
  123. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/index.d.ts +0 -0
  124. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.d.ts +0 -0
  125. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.d.ts.map +0 -0
  126. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.js +0 -0
  127. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.js.map +0 -0
  128. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.d.ts +0 -0
  129. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.d.ts.map +0 -0
  130. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.js +0 -0
  131. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.js.map +0 -0
  132. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.d.ts +0 -0
  133. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.d.ts.map +0 -0
  134. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.js +0 -0
  135. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.js.map +0 -0
  136. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.d.ts +0 -0
  137. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.d.ts.map +0 -0
  138. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.js +0 -0
  139. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.js.map +0 -0
  140. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.d.ts +0 -0
  141. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.d.ts.map +0 -0
  142. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.js +0 -0
  143. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.js.map +0 -0
  144. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.d.ts +0 -0
  145. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.d.ts.map +0 -0
  146. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.js +0 -0
  147. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.js.map +0 -0
  148. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.d.ts +0 -0
  149. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.d.ts.map +0 -0
  150. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.js +0 -0
  151. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.js.map +0 -0
  152. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.d.ts +0 -0
  153. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.d.ts.map +0 -0
  154. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.js +0 -0
  155. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.js.map +0 -0
  156. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.d.ts +0 -0
  157. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.d.ts.map +0 -0
  158. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.js +0 -0
  159. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.js.map +0 -0
  160. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.d.ts +0 -0
  161. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.d.ts.map +0 -0
  162. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.js +0 -0
  163. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.js.map +0 -0
  164. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.d.ts +0 -0
  165. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.d.ts.map +0 -0
  166. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.js +0 -0
  167. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.js.map +0 -0
  168. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/config.d.ts +0 -0
  169. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/config.d.ts.map +0 -0
  170. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/config.js +0 -0
  171. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/config.js.map +0 -0
  172. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.d.ts +0 -0
  173. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/language.d.ts +0 -0
  174. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/language.d.ts.map +0 -0
  175. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/language.js +0 -0
  176. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/language.js.map +0 -0
  177. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.d.ts +0 -0
  178. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.d.ts.map +0 -0
  179. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.js +0 -0
  180. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.js.map +0 -0
  181. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.d.ts +0 -0
  182. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.js +0 -0
  183. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.d.ts +0 -0
  184. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.d.ts.map +0 -0
  185. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.js +0 -0
  186. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.js.map +0 -0
  187. /package/dist/{bundle/components.d.ts → components.d.ts} +0 -0
  188. /package/dist/{bundle/index.d.ts → index.d.ts} +0 -0
  189. /package/dist/{bundle/tests → tests}/util/captchaType.test.d.ts +0 -0
  190. /package/dist/{bundle/tests → tests}/util/config.test.d.ts +0 -0
  191. /package/dist/{bundle/tests → tests}/util/renderLogic.test.d.ts +0 -0
  192. /package/dist/{bundle/util → util}/captcha/captchaComponentProvider.d.ts +0 -0
  193. /package/dist/{bundle/util → util}/captcha/captchaComponentsList.d.ts +0 -0
  194. /package/dist/{bundle/util → util}/captcha/captchaProps.d.ts +0 -0
  195. /package/dist/{bundle/util → util}/captcha/captchaRenderer.d.ts +0 -0
  196. /package/dist/{bundle/util → util}/captcha/captchaType.d.ts +0 -0
  197. /package/dist/{bundle/util → util}/captcha/components/frictionlessCaptcha.d.ts +0 -0
  198. /package/dist/{bundle/util → util}/captcha/components/imageCaptcha.d.ts +0 -0
  199. /package/dist/{bundle/util → util}/captcha/components/powCaptcha.d.ts +0 -0
  200. /package/dist/{bundle/util → util}/config.d.ts +0 -0
  201. /package/dist/{bundle/util → util}/configCreator.d.ts +0 -0
  202. /package/dist/{bundle/util → util}/language.d.ts +0 -0
  203. /package/dist/{bundle/util → util}/timeout.d.ts +0 -0
  204. /package/dist/{bundle/util → util}/widgetFactory.d.ts +0 -0
  205. /package/dist/{bundle/util → util}/widgetThemeResolver.d.ts +0 -0
@@ -5,9 +5,9 @@ var Nt = (n, e, t) => e.has(n) || $t("Cannot " + t);
5
5
  var j = (n, e, t) => (Nt(n, e, "read from private field"), t ? t.call(n) : e.get(n)), me = (n, e, t) => e.has(n) ? $t("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n) : e.set(n, t), ye = (n, e, t, r) => (Nt(n, e, "write to private field"), r ? r.call(n, t) : e.set(n, t), t);
6
6
  import { g as Hr } from "./bnChunk-DRlDxTFg.js";
7
7
  import { j as Vr } from "./nobleChunk-Bbltwf44.js";
8
- import { z as C, n as ke, o as y, a as w, b as q, s as p, c as ce, d as Br, u as _e, e as jt, f as Dt, g as Je, r as On, l as Ut } from "./zodChunk-aEfPZzrp.js";
9
- import { j as Kr, s as qr, n as zr, a as Wr, b as Jr, c as Xr, d as Yr, e as Gr, f as Qr, g as Zr, k as ei, h as En, i as Tn, l as je, m as ti, o as ni, p as ri, q as ii, r as oi } from "./utilCryptoChunk-D6ZLkbFV.js";
10
- import { r as nt, b as ft, o as Cn, u as dt, a as Ft, t as si, i as ai, c as De, k as rt, s as Ln } from "./utilChunk-DPr6oTOj.js";
8
+ import { z as L, n as ke, o as y, b as Y, a as w, c as q, s as p, d as Br, u as _e, e as jt, f as Dt, g as Je, r as En, l as Ut } from "./zodChunk-CaINhWMQ.js";
9
+ import { j as Kr, s as qr, n as zr, a as Wr, b as Jr, c as Xr, d as Yr, e as Gr, f as Qr, g as Zr, k as ei, h as On, i as Tn, l as je, m as ti, o as ni, p as ri, q as ii, r as oi } from "./utilCryptoChunk-B4ZdOwus.js";
10
+ import { r as nt, b as ft, o as Ln, u as dt, a as Ft, t as si, i as ai, c as De, k as rt, s as Cn } from "./utilChunk-WRTGKXbU.js";
11
11
  function ui(n, e) {
12
12
  for (var t = 0; t < e.length; t++) {
13
13
  const r = e[t];
@@ -24,13 +24,13 @@ function ui(n, e) {
24
24
  }
25
25
  return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
26
26
  }
27
- var h = /* @__PURE__ */ ((n) => (n.datasetId = "datasetId", n.user = "user", n.dapp = "dapp", n.provider = "provider", n.blockNumber = "blockNumber", n.requestHash = "requestHash", n.captchas = "captchas", n.commitmentId = "commitmentId", n.proof = "proof", n.dappSignature = "dappSignature", n.dappUserSignature = "dappUserSignature", n.providerUrl = "providerUrl", n.procaptchaResponse = "procaptcha-response", n.verifiedTimeout = "verifiedTimeout", n.maxVerifiedTime = "maxVerifiedTime", n.verified = "verified", n.status = "status", n.challenge = "challenge", n.difficulty = "difficulty", n.nonce = "nonce", n.timeouts = "timeouts", n.token = "token", n.secret = "secret", n.timestamp = "timestamp", n.signature = "signature", n.error = "error", n.siteKey = "siteKey", n.captchaType = "captchaType", n.sessionId = "sessionId", n.settings = "settings", n.domains = "domains", n.frictionlessThreshold = "frictionlessThreshold", n.powDifficulty = "powDifficulty", n.score = "score", n.tier = "tier", n.detectorKey = "detectorKey", n.ip = "ip", n.expirationInSeconds = "expirationInSeconds", n))(h || {}), St = /* @__PURE__ */ ((n) => (n.Free = "free", n.Professional = "professional", n.Enterprise = "enterprise", n))(St || {});
28
- C.nativeEnum(St);
27
+ var h = /* @__PURE__ */ ((n) => (n.datasetId = "datasetId", n.user = "user", n.dapp = "dapp", n.provider = "provider", n.blockNumber = "blockNumber", n.requestHash = "requestHash", n.captchas = "captchas", n.commitmentId = "commitmentId", n.proof = "proof", n.dappSignature = "dappSignature", n.dappUserSignature = "dappUserSignature", n.providerUrl = "providerUrl", n.procaptchaResponse = "procaptcha-response", n.verifiedTimeout = "verifiedTimeout", n.maxVerifiedTime = "maxVerifiedTime", n.verified = "verified", n.status = "status", n.challenge = "challenge", n.difficulty = "difficulty", n.nonce = "nonce", n.timeouts = "timeouts", n.token = "token", n.secret = "secret", n.timestamp = "timestamp", n.signature = "signature", n.error = "error", n.siteKey = "siteKey", n.captchaType = "captchaType", n.sessionId = "sessionId", n.settings = "settings", n.domains = "domains", n.frictionlessThreshold = "frictionlessThreshold", n.powDifficulty = "powDifficulty", n.score = "score", n.tier = "tier", n.detectorKey = "detectorKey", n.ip = "ip", n.expirationInSeconds = "expirationInSeconds", n.enabled = "enabled", n.headHash = "headHash", n))(h || {}), St = /* @__PURE__ */ ((n) => (n.Free = "free", n.Professional = "professional", n.Enterprise = "enterprise", n))(St || {});
28
+ L.nativeEnum(St);
29
29
  var Xe = /* @__PURE__ */ ((n) => (n.image = "image", n.pow = "pow", n.frictionless = "frictionless", n.invisible = "invisible", n))(Xe || {});
30
- C.nativeEnum(Xe);
30
+ L.nativeEnum(Xe);
31
31
  const li = ke(Xe), ci = Xe.frictionless, fi = [], di = 0.5, pi = 4, hi = 0.8;
32
32
  var Pn = /* @__PURE__ */ ((n) => (n.Allow = "allow", n.Reject = "reject", n.Flag = "flag", n))(Pn || {});
33
- const B = C.nativeEnum(Pn), gi = "allow", mi = "allow", yi = "allow", vi = 1e3, wi = 5e-3, bi = "reject", Si = "reject", xi = !1, Oi = y({
33
+ const B = L.nativeEnum(Pn), gi = "allow", mi = "allow", yi = "allow", vi = 1e3, wi = 5e-3, bi = "reject", Si = "reject", xi = !1, Ei = y({
34
34
  actions: y({
35
35
  countryChangeAction: B.optional(),
36
36
  cityChangeAction: B.optional(),
@@ -41,8 +41,8 @@ const B = C.nativeEnum(Pn), gi = "allow", mi = "allow", yi = "allow", vi = 1e3,
41
41
  // all optional, so you can just override what you need
42
42
  distanceThresholdKm: w().positive().optional(),
43
43
  abuseScoreThreshold: w().positive().optional(),
44
- requireAllConditions: ce().optional()
45
- }), Ei = y({
44
+ requireAllConditions: Y().optional()
45
+ }), Oi = y({
46
46
  actions: y({
47
47
  countryChangeAction: B.optional().default(
48
48
  gi
@@ -62,16 +62,18 @@ const B = C.nativeEnum(Pn), gi = "allow", mi = "allow", yi = "allow", vi = 1e3,
62
62
  }),
63
63
  distanceThresholdKm: w().positive().optional().default(vi),
64
64
  abuseScoreThreshold: w().positive().optional().default(wi),
65
- requireAllConditions: C.boolean().optional().default(xi),
65
+ requireAllConditions: L.boolean().optional().default(xi),
66
66
  // overrides are now lightweight, not recursive
67
- countryOverrides: C.record(p(), Oi).optional()
67
+ countryOverrides: L.record(p(), Ei).optional(),
68
+ forceConsistentIp: Y().optional().default(!1)
68
69
  }), Ti = y({
69
70
  captchaType: li.optional().default(ci),
70
71
  domains: q(p()).optional().default([...fi]),
71
72
  frictionlessThreshold: w().optional().default(di),
72
73
  powDifficulty: w().optional().default(pi),
73
74
  imageThreshold: w().optional().default(hi),
74
- ipValidationRules: Ei.optional()
75
+ ipValidationRules: Oi.optional(),
76
+ disallowWebView: Y().optional().default(!1)
75
77
  });
76
78
  let it;
77
79
  async function Ia(n) {
@@ -118,11 +120,11 @@ const kn = {
118
120
  ukrainian: "uk",
119
121
  vietnamese: "vi",
120
122
  chinese: "zh-CN"
121
- }, In = C.enum(
123
+ }, In = L.enum(
122
124
  Object.values(kn)
123
125
  );
124
126
  var Rn = { exports: {} }, x = {};
125
- var Ie = Symbol.for("react.element"), Ci = Symbol.for("react.portal"), Li = Symbol.for("react.fragment"), Pi = Symbol.for("react.strict_mode"), ki = Symbol.for("react.profiler"), Ii = Symbol.for("react.provider"), Ri = Symbol.for("react.context"), Ai = Symbol.for("react.forward_ref"), $i = Symbol.for("react.suspense"), Ni = Symbol.for("react.memo"), ji = Symbol.for("react.lazy"), _t = Symbol.iterator;
127
+ var Ie = Symbol.for("react.element"), Li = Symbol.for("react.portal"), Ci = Symbol.for("react.fragment"), Pi = Symbol.for("react.strict_mode"), ki = Symbol.for("react.profiler"), Ii = Symbol.for("react.provider"), Ri = Symbol.for("react.context"), Ai = Symbol.for("react.forward_ref"), $i = Symbol.for("react.suspense"), Ni = Symbol.for("react.memo"), ji = Symbol.for("react.lazy"), _t = Symbol.iterator;
126
128
  function Di(n) {
127
129
  return n === null || typeof n != "object" ? null : (n = _t && n[_t] || n["@@iterator"], typeof n == "function" ? n : null);
128
130
  }
@@ -149,11 +151,11 @@ jn.prototype = pe.prototype;
149
151
  function xt(n, e, t) {
150
152
  this.props = n, this.context = e, this.refs = Nn, this.updater = t || An;
151
153
  }
152
- var Ot = xt.prototype = new jn();
153
- Ot.constructor = xt;
154
- $n(Ot, pe.prototype);
155
- Ot.isPureReactComponent = !0;
156
- var Mt = Array.isArray, Dn = Object.prototype.hasOwnProperty, Et = { current: null }, Un = { key: !0, ref: !0, __self: !0, __source: !0 };
154
+ var Et = xt.prototype = new jn();
155
+ Et.constructor = xt;
156
+ $n(Et, pe.prototype);
157
+ Et.isPureReactComponent = !0;
158
+ var Mt = Array.isArray, Dn = Object.prototype.hasOwnProperty, Ot = { current: null }, Un = { key: !0, ref: !0, __self: !0, __source: !0 };
157
159
  function Fn(n, e, t) {
158
160
  var r, i = {}, o = null, s = null;
159
161
  if (e != null) for (r in e.ref !== void 0 && (s = e.ref), e.key !== void 0 && (o = "" + e.key), e) Dn.call(e, r) && !Un.hasOwnProperty(r) && (i[r] = e[r]);
@@ -164,7 +166,7 @@ function Fn(n, e, t) {
164
166
  i.children = u;
165
167
  }
166
168
  if (n && n.defaultProps) for (r in a = n.defaultProps, a) i[r] === void 0 && (i[r] = a[r]);
167
- return { $$typeof: Ie, type: n, key: o, ref: s, props: i, _owner: Et.current };
169
+ return { $$typeof: Ie, type: n, key: o, ref: s, props: i, _owner: Ot.current };
168
170
  }
169
171
  function Ui(n, e) {
170
172
  return { $$typeof: Ie, type: n.type, key: e, ref: n.ref, props: n.props, _owner: n._owner };
@@ -195,7 +197,7 @@ function Ue(n, e, t, r, i) {
195
197
  case "object":
196
198
  switch (n.$$typeof) {
197
199
  case Ie:
198
- case Ci:
200
+ case Li:
199
201
  s = !0;
200
202
  }
201
203
  }
@@ -230,7 +232,7 @@ function _i(n) {
230
232
  if (n._status === 1) return n._result.default;
231
233
  throw n._result;
232
234
  }
233
- var A = { current: null }, Fe = { transition: null }, Mi = { ReactCurrentDispatcher: A, ReactCurrentBatchConfig: Fe, ReactCurrentOwner: Et };
235
+ var A = { current: null }, Fe = { transition: null }, Mi = { ReactCurrentDispatcher: A, ReactCurrentBatchConfig: Fe, ReactCurrentOwner: Ot };
234
236
  function _n() {
235
237
  throw Error("act(...) is not supported in production builds of React.");
236
238
  }
@@ -252,7 +254,7 @@ x.Children = { map: $e, forEach: function(n, e, t) {
252
254
  return n;
253
255
  } };
254
256
  x.Component = pe;
255
- x.Fragment = Li;
257
+ x.Fragment = Ci;
256
258
  x.Profiler = ki;
257
259
  x.PureComponent = xt;
258
260
  x.StrictMode = Pi;
@@ -263,7 +265,7 @@ x.cloneElement = function(n, e, t) {
263
265
  if (n == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + n + ".");
264
266
  var r = $n({}, n.props), i = n.key, o = n.ref, s = n._owner;
265
267
  if (e != null) {
266
- if (e.ref !== void 0 && (o = e.ref, s = Et.current), e.key !== void 0 && (i = "" + e.key), n.type && n.type.defaultProps) var a = n.type.defaultProps;
268
+ if (e.ref !== void 0 && (o = e.ref, s = Ot.current), e.key !== void 0 && (i = "" + e.key), n.type && n.type.defaultProps) var a = n.type.defaultProps;
267
269
  for (u in e) Dn.call(e, u) && !Un.hasOwnProperty(u) && (r[u] = e[u] === void 0 && a !== void 0 ? a[u] : e[u]);
268
270
  }
269
271
  var u = arguments.length - 2;
@@ -364,9 +366,9 @@ const Hi = /* @__PURE__ */ Hr(F), Ra = /* @__PURE__ */ ui({
364
366
  }];
365
367
  if ((s = (o = n == null ? void 0 : n.services) == null ? void 0 : o.logger) != null && s.forward)
366
368
  return n.services.logger.forward(i, "warn", "react-i18next::", !0);
367
- ee(i[0]) && (i[0] = `react-i18next:: ${i[0]}`), (u = (a = n == null ? void 0 : n.services) == null ? void 0 : a.logger) != null && u.warn ? n.services.logger.warn(...i) : console != null && console.warn && [...i];
369
+ te(i[0]) && (i[0] = `react-i18next:: ${i[0]}`), (u = (a = n == null ? void 0 : n.services) == null ? void 0 : a.logger) != null && u.warn ? n.services.logger.warn(...i) : console != null && console.warn && [...i];
368
370
  }, Vt = {}, pt = (n, e, t, r) => {
369
- ee(t) && Vt[t] || (ee(t) && (Vt[t] = /* @__PURE__ */ new Date()), Vi(n, e, t, r));
371
+ te(t) && Vt[t] || (te(t) && (Vt[t] = /* @__PURE__ */ new Date()), Vi(n, e, t, r));
370
372
  }, Mn = (n, e) => () => {
371
373
  if (n.isInitialized)
372
374
  e();
@@ -381,7 +383,7 @@ const Hi = /* @__PURE__ */ Hr(F), Ra = /* @__PURE__ */ ui({
381
383
  }, ht = (n, e, t) => {
382
384
  n.loadNamespaces(e, Mn(n, t));
383
385
  }, Bt = (n, e, t, r) => {
384
- if (ee(t) && (t = [t]), n.options.preload && n.options.preload.indexOf(e) > -1) return ht(n, t, r);
386
+ if (te(t) && (t = [t]), n.options.preload && n.options.preload.indexOf(e) > -1) return ht(n, t, r);
385
387
  t.forEach((i) => {
386
388
  n.options.ns.indexOf(i) < 0 && n.options.ns.push(i);
387
389
  }), n.loadLanguages(e, Mn(n, r));
@@ -393,7 +395,7 @@ const Hi = /* @__PURE__ */ Hr(F), Ra = /* @__PURE__ */ ui({
393
395
  var o;
394
396
  if (((o = t.bindI18n) == null ? void 0 : o.indexOf("languageChanging")) > -1 && r.services.backendConnector.backend && r.isLanguageChangingTo && !i(r.isLanguageChangingTo, n)) return !1;
395
397
  }
396
- }), ee = (n) => typeof n == "string", Ki = (n) => typeof n == "object" && n !== null, qi = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, zi = {
398
+ }), te = (n) => typeof n == "string", Ki = (n) => typeof n == "object" && n !== null, qi = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, zi = {
397
399
  "&amp;": "&",
398
400
  "&#38;": "&",
399
401
  "&lt;": "<",
@@ -468,8 +470,8 @@ const no = (n, e) => {
468
470
  } = F.useContext(eo) || {}, o = t || r || Qi();
469
471
  if (o && !o.reportNamespaces && (o.reportNamespaces = new to()), !o) {
470
472
  pt(o, "NO_I18NEXT_INSTANCE", "useTranslation: You will need to pass in an i18next instance by using initReactI18next");
471
- const O = (R, T) => ee(T) ? T : Ki(T) && ee(T.defaultValue) ? T.defaultValue : Array.isArray(R) ? R[R.length - 1] : R, I = [O, {}, !1];
472
- return I.t = O, I.i18n = {}, I.ready = !1, I;
473
+ const E = (R, T) => te(T) ? T : Ki(T) && te(T.defaultValue) ? T.defaultValue : Array.isArray(R) ? R[R.length - 1] : R, I = [E, {}, !1];
474
+ return I.t = E, I.i18n = {}, I.ready = !1, I;
473
475
  }
474
476
  ($ = o.options.react) != null && $.wait && pt(o, "DEPRECATED_OPTION", "useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
475
477
  const s = {
@@ -481,34 +483,34 @@ const no = (n, e) => {
481
483
  keyPrefix: u
482
484
  } = s;
483
485
  let c = n || i || ((J = o.options) == null ? void 0 : J.defaultNS);
484
- c = ee(c) ? [c] : c || ["translation"], (k = (X = o.reportNamespaces).addUsedNamespaces) == null || k.call(X, c);
485
- const l = (o.isInitialized || o.initializedStoreOnce) && c.every((O) => Bi(O, o, s)), f = ro(o, e.lng || null, s.nsMode === "fallback" ? c : c[0], u), d = () => f, g = () => Vn(o, e.lng || null, s.nsMode === "fallback" ? c : c[0], u), [m, v] = F.useState(d);
486
+ c = te(c) ? [c] : c || ["translation"], (k = (X = o.reportNamespaces).addUsedNamespaces) == null || k.call(X, c);
487
+ const l = (o.isInitialized || o.initializedStoreOnce) && c.every((E) => Bi(E, o, s)), f = ro(o, e.lng || null, s.nsMode === "fallback" ? c : c[0], u), d = () => f, g = () => Vn(o, e.lng || null, s.nsMode === "fallback" ? c : c[0], u), [m, v] = F.useState(d);
486
488
  let b = c.join();
487
489
  e.lng && (b = `${e.lng}${b}`);
488
- const P = no(b), E = F.useRef(!0);
490
+ const P = no(b), O = F.useRef(!0);
489
491
  F.useEffect(() => {
490
492
  const {
491
- bindI18n: O,
493
+ bindI18n: E,
492
494
  bindI18nStore: I
493
495
  } = s;
494
- E.current = !0, !l && !a && (e.lng ? Bt(o, e.lng, c, () => {
495
- E.current && v(g);
496
+ O.current = !0, !l && !a && (e.lng ? Bt(o, e.lng, c, () => {
497
+ O.current && v(g);
496
498
  }) : ht(o, c, () => {
497
- E.current && v(g);
498
- })), l && P && P !== b && E.current && v(g);
499
+ O.current && v(g);
500
+ })), l && P && P !== b && O.current && v(g);
499
501
  const R = () => {
500
- E.current && v(g);
502
+ O.current && v(g);
501
503
  };
502
- return O && (o == null || o.on(O, R)), I && (o == null || o.store.on(I, R)), () => {
503
- E.current = !1, o && (O == null || O.split(" ").forEach((T) => o.off(T, R))), I && o && I.split(" ").forEach((T) => o.store.off(T, R));
504
+ return E && (o == null || o.on(E, R)), I && (o == null || o.store.on(I, R)), () => {
505
+ O.current = !1, o && (E == null || E.split(" ").forEach((T) => o.off(T, R))), I && o && I.split(" ").forEach((T) => o.store.off(T, R));
504
506
  };
505
507
  }, [o, b]), F.useEffect(() => {
506
- E.current && l && v(d);
508
+ O.current && l && v(d);
507
509
  }, [o, u, l]);
508
- const L = [m, o, l];
509
- if (L.t = m, L.i18n = o, L.ready = l, l || !l && !a) return L;
510
- throw new Promise((O) => {
511
- e.lng ? Bt(o, e.lng, c, () => O()) : ht(o, c, () => O());
510
+ const C = [m, o, l];
511
+ if (C.t = m, C.i18n = o, C.ready = l, l || !l && !a) return C;
512
+ throw new Promise((E) => {
513
+ e.lng ? Bt(o, e.lng, c, () => E()) : ht(o, c, () => E());
512
514
  });
513
515
  }, S = (n) => typeof n == "string", ve = () => {
514
516
  let n, e;
@@ -520,7 +522,7 @@ const no = (n, e) => {
520
522
  n.forEach((r) => {
521
523
  e[r] && (t[r] = e[r]);
522
524
  });
523
- }, so = /###/g, qt = (n) => n && n.indexOf("###") > -1 ? n.replace(so, ".") : n, zt = (n) => !n || S(n), Oe = (n, e, t) => {
525
+ }, so = /###/g, qt = (n) => n && n.indexOf("###") > -1 ? n.replace(so, ".") : n, zt = (n) => !n || S(n), Ee = (n, e, t) => {
524
526
  const r = S(e) ? e.split(".") : e;
525
527
  let i = 0;
526
528
  for (; i < r.length - 1; ) {
@@ -536,26 +538,26 @@ const no = (n, e) => {
536
538
  const {
537
539
  obj: r,
538
540
  k: i
539
- } = Oe(n, e, Object);
541
+ } = Ee(n, e, Object);
540
542
  if (r !== void 0 || e.length === 1) {
541
543
  r[i] = t;
542
544
  return;
543
545
  }
544
- let o = e[e.length - 1], s = e.slice(0, e.length - 1), a = Oe(n, s, Object);
546
+ let o = e[e.length - 1], s = e.slice(0, e.length - 1), a = Ee(n, s, Object);
545
547
  for (; a.obj === void 0 && s.length; )
546
- o = `${s[s.length - 1]}.${o}`, s = s.slice(0, s.length - 1), a = Oe(n, s, Object), a != null && a.obj && typeof a.obj[`${a.k}.${o}`] < "u" && (a.obj = void 0);
548
+ o = `${s[s.length - 1]}.${o}`, s = s.slice(0, s.length - 1), a = Ee(n, s, Object), a != null && a.obj && typeof a.obj[`${a.k}.${o}`] < "u" && (a.obj = void 0);
547
549
  a.obj[`${a.k}.${o}`] = t;
548
550
  }, ao = (n, e, t, r) => {
549
551
  const {
550
552
  obj: i,
551
553
  k: o
552
- } = Oe(n, e, Object);
554
+ } = Ee(n, e, Object);
553
555
  i[o] = i[o] || [], i[o].push(t);
554
556
  }, Me = (n, e) => {
555
557
  const {
556
558
  obj: t,
557
559
  k: r
558
- } = Oe(n, e);
560
+ } = Ee(n, e);
559
561
  if (t && Object.prototype.hasOwnProperty.call(t, r))
560
562
  return t[r];
561
563
  }, uo = (n, e, t) => {
@@ -565,7 +567,7 @@ const no = (n, e) => {
565
567
  for (const r in e)
566
568
  r !== "__proto__" && r !== "constructor" && (r in n ? S(n[r]) || n[r] instanceof String || S(e[r]) || e[r] instanceof String ? t && (n[r] = e[r]) : Bn(n[r], e[r], t) : n[r] = e[r]);
567
569
  return n;
568
- }, re = (n) => n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
570
+ }, ie = (n) => n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
569
571
  var lo = {
570
572
  "&": "&amp;",
571
573
  "<": "&lt;",
@@ -869,27 +871,27 @@ class Be extends Ye {
869
871
  }
870
872
  const f = this.resolve(e, t);
871
873
  let d = f == null ? void 0 : f.res;
872
- const g = (f == null ? void 0 : f.usedKey) || s, m = (f == null ? void 0 : f.exactUsedKey) || s, v = ["[object Number]", "[object Function]", "[object RegExp]"], b = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, P = !this.i18nFormat || this.i18nFormat.handleAsObject, E = t.count !== void 0 && !S(t.count), L = Be.hasDefaultValue(t), $ = E ? this.pluralResolver.getSuffix(c, t.count, t) : "", J = t.ordinal && E ? this.pluralResolver.getSuffix(c, t.count, {
874
+ const g = (f == null ? void 0 : f.usedKey) || s, m = (f == null ? void 0 : f.exactUsedKey) || s, v = ["[object Number]", "[object Function]", "[object RegExp]"], b = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, P = !this.i18nFormat || this.i18nFormat.handleAsObject, O = t.count !== void 0 && !S(t.count), C = Be.hasDefaultValue(t), $ = O ? this.pluralResolver.getSuffix(c, t.count, t) : "", J = t.ordinal && O ? this.pluralResolver.getSuffix(c, t.count, {
873
875
  ordinal: !1
874
- }) : "", X = E && !t.ordinal && t.count === 0, k = X && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${$}`] || t[`defaultValue${J}`] || t.defaultValue;
875
- let O = d;
876
- P && !d && L && (O = k);
877
- const I = Yt(O), R = Object.prototype.toString.apply(O);
878
- if (P && O && I && v.indexOf(R) < 0 && !(S(b) && Array.isArray(O))) {
876
+ }) : "", X = O && !t.ordinal && t.count === 0, k = X && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${$}`] || t[`defaultValue${J}`] || t.defaultValue;
877
+ let E = d;
878
+ P && !d && C && (E = k);
879
+ const I = Yt(E), R = Object.prototype.toString.apply(E);
880
+ if (P && E && I && v.indexOf(R) < 0 && !(S(b) && Array.isArray(E))) {
879
881
  if (!t.returnObjects && !this.options.returnObjects) {
880
882
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
881
- const T = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(g, O, {
883
+ const T = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(g, E, {
882
884
  ...t,
883
885
  ns: a
884
886
  }) : `key '${s} (${this.language})' returned an object instead of string.`;
885
887
  return i ? (f.res = T, f.usedParams = this.getUsedParamsDetails(t), f) : T;
886
888
  }
887
889
  if (o) {
888
- const T = Array.isArray(O), U = T ? [] : {}, kt = T ? m : g;
889
- for (const _ in O)
890
- if (Object.prototype.hasOwnProperty.call(O, _)) {
890
+ const T = Array.isArray(E), U = T ? [] : {}, kt = T ? m : g;
891
+ for (const _ in E)
892
+ if (Object.prototype.hasOwnProperty.call(E, _)) {
891
893
  const z = `${kt}${o}${_}`;
892
- L && !d ? U[_] = this.translate(z, {
894
+ C && !d ? U[_] = this.translate(z, {
893
895
  ...t,
894
896
  defaultValue: Yt(k) ? k[_] : void 0,
895
897
  joinArrays: !1,
@@ -898,7 +900,7 @@ class Be extends Ye {
898
900
  ...t,
899
901
  joinArrays: !1,
900
902
  ns: a
901
- }), U[_] === z && (U[_] = O[_]);
903
+ }), U[_] === z && (U[_] = E[_]);
902
904
  }
903
905
  d = U;
904
906
  }
@@ -906,8 +908,8 @@ class Be extends Ye {
906
908
  d = d.join(b), d && (d = this.extendTranslation(d, e, t, r));
907
909
  else {
908
910
  let T = !1, U = !1;
909
- !this.isValidLookup(d) && L && (T = !0, d = k), this.isValidLookup(d) || (U = !0, d = s);
910
- const _ = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && U ? void 0 : d, z = L && k !== d && this.options.updateMissing;
911
+ !this.isValidLookup(d) && C && (T = !0, d = k), this.isValidLookup(d) || (U = !0, d = s);
912
+ const _ = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && U ? void 0 : d, z = C && k !== d && this.options.updateMissing;
911
913
  if (U || T || z) {
912
914
  if (this.logger.log(z ? "updateKey" : "missingKey", c, u, s, z ? k : d), o) {
913
915
  const N = this.resolve(s, {
@@ -922,14 +924,14 @@ class Be extends Ye {
922
924
  for (let N = 0; N < Ae.length; N++)
923
925
  he.push(Ae[N]);
924
926
  else this.options.saveMissingTo === "all" ? he = this.languageUtils.toResolveHierarchy(t.lng || this.language) : he.push(t.lng || this.language);
925
- const It = (N, Q, ge) => {
927
+ const It = (N, Z, ge) => {
926
928
  var At;
927
- const Rt = L && ge !== d ? ge : _;
928
- this.options.missingKeyHandler ? this.options.missingKeyHandler(N, u, Q, Rt, z, t) : (At = this.backendConnector) != null && At.saveMissing && this.backendConnector.saveMissing(N, u, Q, Rt, z, t), this.emit("missingKey", N, u, Q, d);
929
+ const Rt = C && ge !== d ? ge : _;
930
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(N, u, Z, Rt, z, t) : (At = this.backendConnector) != null && At.saveMissing && this.backendConnector.saveMissing(N, u, Z, Rt, z, t), this.emit("missingKey", N, u, Z, d);
929
931
  };
930
- this.options.saveMissing && (this.options.saveMissingPlurals && E ? he.forEach((N) => {
931
- const Q = this.pluralResolver.getSuffixes(N, t);
932
- X && t[`defaultValue${this.options.pluralSeparator}zero`] && Q.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Q.push(`${this.options.pluralSeparator}zero`), Q.forEach((ge) => {
932
+ this.options.saveMissing && (this.options.saveMissingPlurals && O ? he.forEach((N) => {
933
+ const Z = this.pluralResolver.getSuffixes(N, t);
934
+ X && t[`defaultValue${this.options.pluralSeparator}zero`] && Z.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Z.push(`${this.options.pluralSeparator}zero`), Z.forEach((ge) => {
933
935
  It([N], s + ge, t[`defaultValue${ge}`] || k);
934
936
  });
935
937
  }) : It(he, s, k));
@@ -995,26 +997,26 @@ class Be extends Ye {
995
997
  this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
996
998
  const d = t.count !== void 0 && !S(t.count), g = d && !t.ordinal && t.count === 0, m = t.context !== void 0 && (S(t.context) || typeof t.context == "number") && t.context !== "", v = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
997
999
  f.forEach((b) => {
998
- var P, E;
999
- this.isValidLookup(r) || (a = b, !Xt[`${v[0]}-${b}`] && ((P = this.utils) != null && P.hasLoadedNamespace) && !((E = this.utils) != null && E.hasLoadedNamespace(a)) && (Xt[`${v[0]}-${b}`] = !0, this.logger.warn(`key "${i}" for languages "${v.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), v.forEach((L) => {
1000
+ var P, O;
1001
+ this.isValidLookup(r) || (a = b, !Xt[`${v[0]}-${b}`] && ((P = this.utils) != null && P.hasLoadedNamespace) && !((O = this.utils) != null && O.hasLoadedNamespace(a)) && (Xt[`${v[0]}-${b}`] = !0, this.logger.warn(`key "${i}" for languages "${v.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), v.forEach((C) => {
1000
1002
  var X;
1001
1003
  if (this.isValidLookup(r)) return;
1002
- s = L;
1004
+ s = C;
1003
1005
  const $ = [l];
1004
1006
  if ((X = this.i18nFormat) != null && X.addLookupKeys)
1005
- this.i18nFormat.addLookupKeys($, l, L, b, t);
1007
+ this.i18nFormat.addLookupKeys($, l, C, b, t);
1006
1008
  else {
1007
1009
  let k;
1008
- d && (k = this.pluralResolver.getSuffix(L, t.count, t));
1009
- const O = `${this.options.pluralSeparator}zero`, I = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
1010
- if (d && ($.push(l + k), t.ordinal && k.indexOf(I) === 0 && $.push(l + k.replace(I, this.options.pluralSeparator)), g && $.push(l + O)), m) {
1010
+ d && (k = this.pluralResolver.getSuffix(C, t.count, t));
1011
+ const E = `${this.options.pluralSeparator}zero`, I = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
1012
+ if (d && ($.push(l + k), t.ordinal && k.indexOf(I) === 0 && $.push(l + k.replace(I, this.options.pluralSeparator)), g && $.push(l + E)), m) {
1011
1013
  const R = `${l}${this.options.contextSeparator}${t.context}`;
1012
- $.push(R), d && ($.push(R + k), t.ordinal && k.indexOf(I) === 0 && $.push(R + k.replace(I, this.options.pluralSeparator)), g && $.push(R + O));
1014
+ $.push(R), d && ($.push(R + k), t.ordinal && k.indexOf(I) === 0 && $.push(R + k.replace(I, this.options.pluralSeparator)), g && $.push(R + E));
1013
1015
  }
1014
1016
  }
1015
1017
  let J;
1016
1018
  for (; J = $.pop(); )
1017
- this.isValidLookup(r) || (o = J, r = this.getResource(L, b, J, t));
1019
+ this.isValidLookup(r) || (o = J, r = this.getResource(C, b, J, t));
1018
1020
  }));
1019
1021
  });
1020
1022
  }), {
@@ -1215,9 +1217,9 @@ class vo {
1215
1217
  nestingSuffixEscaped: v,
1216
1218
  nestingOptionsSeparator: b,
1217
1219
  maxReplaces: P,
1218
- alwaysFormat: E
1220
+ alwaysFormat: O
1219
1221
  } = e.interpolation;
1220
- this.escape = t !== void 0 ? t : co, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = i !== void 0 ? i : !1, this.prefix = o ? re(o) : s || "{{", this.suffix = a ? re(a) : u || "}}", this.formatSeparator = c || ",", this.unescapePrefix = l ? "" : f || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = d ? re(d) : g || re("$t("), this.nestingSuffix = m ? re(m) : v || re(")"), this.nestingOptionsSeparator = b || ",", this.maxReplaces = P || 1e3, this.alwaysFormat = E !== void 0 ? E : !1, this.resetRegExp();
1222
+ this.escape = t !== void 0 ? t : co, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = i !== void 0 ? i : !1, this.prefix = o ? ie(o) : s || "{{", this.suffix = a ? ie(a) : u || "}}", this.formatSeparator = c || ",", this.unescapePrefix = l ? "" : f || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = d ? ie(d) : g || ie("$t("), this.nestingSuffix = m ? ie(m) : v || ie(")"), this.nestingOptionsSeparator = b || ",", this.maxReplaces = P || 1e3, this.alwaysFormat = O !== void 0 ? O : !1, this.resetRegExp();
1221
1223
  }
1222
1224
  reset() {
1223
1225
  this.options && this.init(this.options);
@@ -1231,12 +1233,12 @@ class vo {
1231
1233
  let o, s, a;
1232
1234
  const u = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (m) => {
1233
1235
  if (m.indexOf(this.formatSeparator) < 0) {
1234
- const E = en(t, u, m, this.options.keySeparator, this.options.ignoreJSONStructure);
1235
- return this.alwaysFormat ? this.format(E, void 0, r, {
1236
+ const O = en(t, u, m, this.options.keySeparator, this.options.ignoreJSONStructure);
1237
+ return this.alwaysFormat ? this.format(O, void 0, r, {
1236
1238
  ...i,
1237
1239
  ...t,
1238
1240
  interpolationkey: m
1239
- }) : E;
1241
+ }) : O;
1240
1242
  }
1241
1243
  const v = m.split(this.formatSeparator), b = v.shift().trim(), P = v.join(this.formatSeparator).trim();
1242
1244
  return this.format(en(t, u, b, this.options.keySeparator, this.options.ignoreJSONStructure), P, r, {
@@ -1331,7 +1333,7 @@ const wo = (n) => {
1331
1333
  formatName: e,
1332
1334
  formatOptions: t
1333
1335
  };
1334
- }, ie = (n) => {
1336
+ }, oe = (n) => {
1335
1337
  const e = {};
1336
1338
  return (t, r, i) => {
1337
1339
  let o = i;
@@ -1348,32 +1350,32 @@ class bo {
1348
1350
  constructor() {
1349
1351
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1350
1352
  this.logger = K.create("formatter"), this.options = e, this.formats = {
1351
- number: ie((t, r) => {
1353
+ number: oe((t, r) => {
1352
1354
  const i = new Intl.NumberFormat(t, {
1353
1355
  ...r
1354
1356
  });
1355
1357
  return (o) => i.format(o);
1356
1358
  }),
1357
- currency: ie((t, r) => {
1359
+ currency: oe((t, r) => {
1358
1360
  const i = new Intl.NumberFormat(t, {
1359
1361
  ...r,
1360
1362
  style: "currency"
1361
1363
  });
1362
1364
  return (o) => i.format(o);
1363
1365
  }),
1364
- datetime: ie((t, r) => {
1366
+ datetime: oe((t, r) => {
1365
1367
  const i = new Intl.DateTimeFormat(t, {
1366
1368
  ...r
1367
1369
  });
1368
1370
  return (o) => i.format(o);
1369
1371
  }),
1370
- relativetime: ie((t, r) => {
1372
+ relativetime: oe((t, r) => {
1371
1373
  const i = new Intl.RelativeTimeFormat(t, {
1372
1374
  ...r
1373
1375
  });
1374
1376
  return (o) => i.format(o, r.range || "day");
1375
1377
  }),
1376
- list: ie((t, r) => {
1378
+ list: oe((t, r) => {
1377
1379
  const i = new Intl.ListFormat(t, {
1378
1380
  ...r
1379
1381
  });
@@ -1391,7 +1393,7 @@ class bo {
1391
1393
  this.formats[e.toLowerCase().trim()] = t;
1392
1394
  }
1393
1395
  addCached(e, t) {
1394
- this.formats[e.toLowerCase().trim()] = ie(t);
1396
+ this.formats[e.toLowerCase().trim()] = oe(t);
1395
1397
  }
1396
1398
  format(e, t, r) {
1397
1399
  let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
@@ -1625,17 +1627,17 @@ const tn = () => ({
1625
1627
  var e, t;
1626
1628
  return S(n.ns) && (n.ns = [n.ns]), S(n.fallbackLng) && (n.fallbackLng = [n.fallbackLng]), S(n.fallbackNS) && (n.fallbackNS = [n.fallbackNS]), ((t = (e = n.supportedLngs) == null ? void 0 : e.indexOf) == null ? void 0 : t.call(e, "cimode")) < 0 && (n.supportedLngs = n.supportedLngs.concat(["cimode"])), typeof n.initImmediate == "boolean" && (n.initAsync = n.initImmediate), n;
1627
1629
  }, Ne = () => {
1628
- }, Oo = (n) => {
1630
+ }, Eo = (n) => {
1629
1631
  Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((t) => {
1630
1632
  typeof n[t] == "function" && (n[t] = n[t].bind(n));
1631
1633
  });
1632
1634
  };
1633
- class Ee extends Ye {
1635
+ class Oe extends Ye {
1634
1636
  constructor() {
1635
1637
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
1636
1638
  if (super(), this.options = nn(e), this.services = {}, this.logger = K, this.modules = {
1637
1639
  external: []
1638
- }, Oo(this), t && !this.isInitialized && !e.isClone) {
1640
+ }, Eo(this), t && !this.isInitialized && !e.isClone) {
1639
1641
  if (!this.options.initAsync)
1640
1642
  return this.init(e, t), this;
1641
1643
  setTimeout(() => {
@@ -1841,7 +1843,7 @@ class Ee extends Ye {
1841
1843
  }
1842
1844
  static createInstance() {
1843
1845
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
1844
- return new Ee(e, t);
1846
+ return new Oe(e, t);
1845
1847
  }
1846
1848
  cloneInstance() {
1847
1849
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ne;
@@ -1851,7 +1853,7 @@ class Ee extends Ye {
1851
1853
  ...this.options,
1852
1854
  ...e,
1853
1855
  isClone: !0
1854
- }, o = new Ee(i);
1856
+ }, o = new Oe(i);
1855
1857
  if ((e.debug !== void 0 || e.prefix !== void 0) && (o.logger = o.logger.clone(e)), ["store", "services", "language"].forEach((a) => {
1856
1858
  o[a] = this[a];
1857
1859
  }), o.services = {
@@ -1884,20 +1886,20 @@ class Ee extends Ye {
1884
1886
  };
1885
1887
  }
1886
1888
  }
1887
- const oe = Ee.createInstance();
1888
- oe.createInstance = Ee.createInstance;
1889
+ const se = Oe.createInstance();
1890
+ se.createInstance = Oe.createInstance;
1889
1891
  const {
1890
- slice: Eo,
1892
+ slice: Oo,
1891
1893
  forEach: To
1892
1894
  } = [];
1893
- function Co(n) {
1894
- return To.call(Eo.call(arguments, 1), (e) => {
1895
+ function Lo(n) {
1896
+ return To.call(Oo.call(arguments, 1), (e) => {
1895
1897
  if (e)
1896
1898
  for (const t in e)
1897
1899
  n[t] === void 0 && (n[t] = e[t]);
1898
1900
  }), n;
1899
1901
  }
1900
- const rn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Lo = function(n, e) {
1902
+ const rn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Co = function(n, e) {
1901
1903
  const r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
1902
1904
  path: "/"
1903
1905
  }, i = encodeURIComponent(e);
@@ -1946,7 +1948,7 @@ const rn = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Lo = function(n, e) {
1946
1948
  path: "/",
1947
1949
  sameSite: "strict"
1948
1950
  };
1949
- t && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + t * 60 * 1e3)), r && (i.domain = r), document.cookie = Lo(n, encodeURIComponent(e), i);
1951
+ t && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + t * 60 * 1e3)), r && (i.domain = r), document.cookie = Co(n, encodeURIComponent(e), i);
1950
1952
  },
1951
1953
  read(n) {
1952
1954
  const e = `${n}=`, t = document.cookie.split(";");
@@ -2140,7 +2142,7 @@ class Wn {
2140
2142
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
2141
2143
  languageUtils: {}
2142
2144
  }, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2143
- this.services = e, this.options = Co(t, this.options || {}, Do()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (i) => i.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = r, this.addDetector(Po), this.addDetector(ko), this.addDetector(Io), this.addDetector(Ro), this.addDetector(Ao), this.addDetector($o), this.addDetector(No), this.addDetector(jo);
2145
+ this.services = e, this.options = Lo(t, this.options || {}, Do()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (i) => i.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = r, this.addDetector(Po), this.addDetector(ko), this.addDetector(Io), this.addDetector(Ro), this.addDetector(Ao), this.addDetector($o), this.addDetector(No), this.addDetector(jo);
2144
2146
  }
2145
2147
  addDetector(e) {
2146
2148
  return this.detectors[e.name] = e, this;
@@ -2232,7 +2234,7 @@ function un(n, e, t, r) {
2232
2234
  }
2233
2235
  i(e, t, r);
2234
2236
  }
2235
- var Xn = /* @__PURE__ */ function() {
2237
+ var Xn = /* @__PURE__ */ (function() {
2236
2238
  function n(e) {
2237
2239
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2238
2240
  Uo(this, n), this.backends = [], this.type = "backend", this.allOptions = r, this.init(e, t);
@@ -2258,8 +2260,8 @@ var Xn = /* @__PURE__ */ function() {
2258
2260
  if (i(null, v, l), u(l - 1, v), g.save && o.options.cacheHitMode && ["refresh", "refreshAndUpdateStore"].indexOf(o.options.cacheHitMode) > -1) {
2259
2261
  if (b && o.options.refreshExpirationTime && b + o.options.refreshExpirationTime > Date.now()) return;
2260
2262
  var P = o.backends[l + 1];
2261
- P && P.read && un(P, t, r, function(E, L) {
2262
- E || L && (Object.keys(L).length <= d || (u(l, L), o.options.cacheHitMode === "refreshAndUpdateStore" && o.services && o.services.resourceStore && o.services.resourceStore.addResourceBundle(t, r, L)));
2263
+ P && P.read && un(P, t, r, function(O, C) {
2264
+ O || C && (Object.keys(C).length <= d || (u(l, C), o.options.cacheHitMode === "refreshAndUpdateStore" && o.services && o.services.resourceStore && o.services.resourceStore.addResourceBundle(t, r, C)));
2263
2265
  });
2264
2266
  }
2265
2267
  } else
@@ -2319,7 +2321,7 @@ var Xn = /* @__PURE__ */ function() {
2319
2321
  }
2320
2322
  }
2321
2323
  }]), n;
2322
- }();
2324
+ })();
2323
2325
  Xn.type = "backend";
2324
2326
  function yt(n) {
2325
2327
  "@babel/helpers - typeof";
@@ -2364,43 +2366,43 @@ function Xo(n, e, t) {
2364
2366
  }
2365
2367
  function Yo(n) {
2366
2368
  var e = Go(n, "string");
2367
- return te(e) == "symbol" ? e : e + "";
2369
+ return ne(e) == "symbol" ? e : e + "";
2368
2370
  }
2369
2371
  function Go(n, e) {
2370
- if (te(n) != "object" || !n) return n;
2372
+ if (ne(n) != "object" || !n) return n;
2371
2373
  var t = n[Symbol.toPrimitive];
2372
2374
  if (t !== void 0) {
2373
2375
  var r = t.call(n, e);
2374
- if (te(r) != "object") return r;
2376
+ if (ne(r) != "object") return r;
2375
2377
  throw new TypeError("@@toPrimitive must return a primitive value.");
2376
2378
  }
2377
2379
  return (e === "string" ? String : Number)(n);
2378
2380
  }
2379
- function te(n) {
2381
+ function ne(n) {
2380
2382
  "@babel/helpers - typeof";
2381
- return te = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2383
+ return ne = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2382
2384
  return typeof e;
2383
2385
  } : function(e) {
2384
2386
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2385
- }, te(n);
2387
+ }, ne(n);
2386
2388
  }
2387
- var Y = typeof fetch == "function" ? fetch : void 0;
2388
- typeof global < "u" && global.fetch ? Y = global.fetch : typeof window < "u" && window.fetch && (Y = window.fetch);
2389
- var Ce;
2390
- Yn() && (typeof global < "u" && global.XMLHttpRequest ? Ce = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (Ce = window.XMLHttpRequest));
2389
+ var G = typeof fetch == "function" ? fetch : void 0;
2390
+ typeof global < "u" && global.fetch ? G = global.fetch : typeof window < "u" && window.fetch && (G = window.fetch);
2391
+ var Le;
2392
+ Yn() && (typeof global < "u" && global.XMLHttpRequest ? Le = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (Le = window.XMLHttpRequest));
2391
2393
  var Ke;
2392
2394
  typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? Ke = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (Ke = window.ActiveXObject));
2393
- typeof Y != "function" && (Y = void 0);
2394
- if (!Y && !Ce && !Ke)
2395
+ typeof G != "function" && (G = void 0);
2396
+ if (!G && !Le && !Ke)
2395
2397
  try {
2396
- import("./browser-ponyfill-CvzSbL_o.js").then((n) => n.b).then(function(n) {
2397
- Y = n.default;
2398
+ import("./browser-ponyfill-DXriyH6D.js").then((n) => n.b).then(function(n) {
2399
+ G = n.default;
2398
2400
  }).catch(function() {
2399
2401
  });
2400
2402
  } catch {
2401
2403
  }
2402
2404
  var vt = function(e, t) {
2403
- if (t && te(t) === "object") {
2405
+ if (t && ne(t) === "object") {
2404
2406
  var r = "";
2405
2407
  for (var i in t)
2406
2408
  r += "&" + encodeURIComponent(i) + "=" + encodeURIComponent(t[i]);
@@ -2427,7 +2429,7 @@ var vt = function(e, t) {
2427
2429
  return;
2428
2430
  }
2429
2431
  }
2430
- typeof fetch == "function" ? fetch(e, t).then(o).catch(r) : Y(e, t).then(o).catch(r);
2432
+ typeof fetch == "function" ? fetch(e, t).then(o).catch(r) : G(e, t).then(o).catch(r);
2431
2433
  }, dn = !1, Qo = function(e, t, r, i) {
2432
2434
  e.queryStringParams && (t = vt(t, e.queryStringParams));
2433
2435
  var o = cn({}, typeof e.customHeaders == "function" ? e.customHeaders() : e.customHeaders);
@@ -2451,9 +2453,9 @@ var vt = function(e, t) {
2451
2453
  }
2452
2454
  }
2453
2455
  }, Zo = function(e, t, r, i) {
2454
- r && te(r) === "object" && (r = vt("", r).slice(1)), e.queryStringParams && (t = vt(t, e.queryStringParams));
2456
+ r && ne(r) === "object" && (r = vt("", r).slice(1)), e.queryStringParams && (t = vt(t, e.queryStringParams));
2455
2457
  try {
2456
- var o = Ce ? new Ce() : new Ke("MSXML2.XMLHTTP.3.0");
2458
+ var o = Le ? new Le() : new Ke("MSXML2.XMLHTTP.3.0");
2457
2459
  o.open(r ? "POST" : "GET", t, 1), e.crossDomain || o.setRequestHeader("X-Requested-With", "XMLHttpRequest"), o.withCredentials = !!e.withCredentials, r && o.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), o.overrideMimeType && o.overrideMimeType("application/json");
2458
2460
  var s = e.customHeaders;
2459
2461
  if (s = typeof s == "function" ? s() : s, s)
@@ -2469,7 +2471,7 @@ var vt = function(e, t) {
2469
2471
  }
2470
2472
  }, es = function(e, t, r, i) {
2471
2473
  if (typeof r == "function" && (i = r, r = void 0), i = i || function() {
2472
- }, Y && t.indexOf("file:") !== 0)
2474
+ }, G && t.indexOf("file:") !== 0)
2473
2475
  return Qo(e, t, r, i);
2474
2476
  if (Yn() || typeof ActiveXObject == "function")
2475
2477
  return Zo(e, t, r, i);
@@ -2559,7 +2561,7 @@ var os = function() {
2559
2561
  cache: "default"
2560
2562
  }
2561
2563
  };
2562
- }, Zn = function() {
2564
+ }, Zn = (function() {
2563
2565
  function n(e) {
2564
2566
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2565
2567
  ts(this, n), this.services = e, this.options = t, this.allOptions = r, this.type = "backend", this.init(e, t, r);
@@ -2666,7 +2668,7 @@ var os = function() {
2666
2668
  }
2667
2669
  }
2668
2670
  }]);
2669
- }();
2671
+ })();
2670
2672
  Zn.type = "backend";
2671
2673
  var ss = function(e) {
2672
2674
  return {
@@ -2712,7 +2714,7 @@ const as = {
2712
2714
  return `${import.meta.url.replace(`/${t}`, "")}/locales/${n}/${e}.json`;
2713
2715
  };
2714
2716
  function wt(n) {
2715
- return oe.isInitialized || (oe.use(Xn).use(
2717
+ return se.isInitialized || (se.use(Xn).use(
2716
2718
  new Wn(null, {
2717
2719
  order: ["cookie", "localStorage", "navigator"],
2718
2720
  lookupQuerystring: "lng",
@@ -2738,9 +2740,9 @@ function wt(n) {
2738
2740
  ]
2739
2741
  },
2740
2742
  ...us
2741
- }), oe.on("loaded", () => {
2742
- n == null || n(oe);
2743
- })), oe;
2743
+ }), se.on("loaded", () => {
2744
+ n == null || n(se);
2745
+ })), se;
2744
2746
  }
2745
2747
  const ls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2746
2748
  __proto__: null,
@@ -2751,7 +2753,7 @@ function Aa(n) {
2751
2753
  const e = wt();
2752
2754
  return io("translation", { i18n: e, ...n });
2753
2755
  }
2754
- const Ct = 60 * 1e3, Re = Ct, er = Re * 2, tr = Re * 3, Lt = Re * 15, Ge = Ct, Qe = Ge * 2, nr = Ge * 3, rr = Ct * 15;
2756
+ const Lt = 60 * 1e3, Re = Lt, er = Re * 2, tr = Re * 3, Ct = Re * 15, Ge = Lt, Qe = Ge * 2, nr = Ge * 3, rr = Lt * 15;
2755
2757
  var ir = /* @__PURE__ */ ((n) => (n.SelectAll = "SelectAll", n))(ir || {}), or = /* @__PURE__ */ ((n) => (n.Text = "text", n.Image = "image", n))(or || {});
2756
2758
  w();
2757
2759
  const cs = "___", fs = Br((n) => {
@@ -2832,7 +2834,7 @@ function W(n, e, t) {
2832
2834
  throw new Error(`Index ${e} smaller than 0`);
2833
2835
  return n[e];
2834
2836
  }
2835
- const ws = (n) => Array.isArray(n) && n !== null, bs = "dev", qe = new Array(256), cr = new Array(256 * 256);
2837
+ const ws = (n) => Array.isArray(n) && n !== null, bs = "2.5.5", qe = new Array(256), cr = new Array(256 * 256);
2836
2838
  for (let n = 0; n < 256; n++)
2837
2839
  qe[n] = n.toString(16).padStart(2, "0");
2838
2840
  for (let n = 0; n < 256; n++) {
@@ -2913,7 +2915,7 @@ var Ss = Object.defineProperty, xs = (n, e, t) => e in n ? Ss(n, e, { enumerable
2913
2915
  E: 14,
2914
2916
  F: 15
2915
2917
  };
2916
- function Os(n) {
2918
+ function Es(n) {
2917
2919
  const e = n.length % 2, t = (n[1] === "x" ? 2 : 0) + e, r = (n.length - t) / 2 + e, i = new Uint8Array(r);
2918
2920
  e && (i[0] = 0 | lt[n[2]]);
2919
2921
  for (let o = 0; o < r; ) {
@@ -2926,11 +2928,11 @@ var mn = class extends Uint8Array {
2926
2928
  constructor(n) {
2927
2929
  super(n), gn(this, "i", 0), gn(this, "v"), this.v = new DataView(n);
2928
2930
  }
2929
- }, ne = (n) => (e) => n(e instanceof mn ? e : new mn(e instanceof Uint8Array ? e.buffer : typeof e == "string" ? Os(e).buffer : e)), et = (n) => {
2931
+ }, re = (n) => (e) => n(e instanceof mn ? e : new mn(e instanceof Uint8Array ? e.buffer : typeof e == "string" ? Es(e).buffer : e)), et = (n) => {
2930
2932
  const e = n.length;
2931
2933
  let t = 0;
2932
2934
  for (let i = 0; i < e; i++)
2933
- t += n[i].byteLength;
2935
+ t += n[i].length;
2934
2936
  const r = new Uint8Array(t);
2935
2937
  for (let i = 0, o = 0; i < e; i++) {
2936
2938
  const s = n[i];
@@ -2949,31 +2951,31 @@ function yn(n, e) {
2949
2951
  var D = (n, e) => {
2950
2952
  const t = [n, e];
2951
2953
  return t.enc = n, t.dec = e, t;
2952
- }, fr = (n, e) => (t) => n(e(t)), dr = (n, e) => (t) => e(n(t)), Es = ([n, e], t, r) => D(fr(n, t), dr(e, r));
2954
+ }, fr = (n, e) => (t) => n(e(t)), dr = (n, e) => (t) => e(n(t)), Os = ([n, e], t, r) => D(fr(n, t), dr(e, r));
2953
2955
  function Ts(n, e) {
2954
- return ne((t) => {
2956
+ return re((t) => {
2955
2957
  const r = t.v[e](t.i, !0);
2956
2958
  return t.i += n, r;
2957
2959
  });
2958
2960
  }
2959
- function Cs(n, e) {
2961
+ function Ls(n, e) {
2960
2962
  return (t) => {
2961
2963
  const r = new Uint8Array(n);
2962
2964
  return new DataView(r.buffer)[e](0, t, !0), r;
2963
2965
  };
2964
2966
  }
2965
- function G(n, e, t) {
2966
- return D(Cs(n, t), Ts(n, e));
2967
+ function Q(n, e, t) {
2968
+ return D(Ls(n, t), Ts(n, e));
2967
2969
  }
2968
- var de = G(1, "getUint8", "setUint8"), ze = G(2, "getUint16", "setUint16"), Le = G(4, "getUint32", "setUint32"), pr = G(8, "getBigUint64", "setBigUint64");
2969
- G(1, "getInt8", "setInt8");
2970
- G(2, "getInt16", "setInt16");
2971
- G(4, "getInt32", "setInt32");
2972
- G(8, "getBigInt64", "setBigInt64");
2970
+ var de = Q(1, "getUint8", "setUint8"), ze = Q(2, "getUint16", "setUint16"), Ce = Q(4, "getUint32", "setUint32"), pr = Q(8, "getBigUint64", "setBigUint64");
2971
+ Q(1, "getInt8", "setInt8");
2972
+ Q(2, "getInt16", "setInt16");
2973
+ Q(4, "getInt32", "setInt32");
2974
+ Q(8, "getBigInt64", "setBigInt64");
2973
2975
  var hr = (n) => {
2974
2976
  const e = new Uint8Array(16), t = new DataView(e.buffer);
2975
2977
  return t.setBigInt64(0, n, !0), t.setBigInt64(8, n >> 64n, !0), e;
2976
- }, gr = (n) => ne((e) => {
2978
+ }, gr = (n) => re((e) => {
2977
2979
  const { v: t, i: r } = e, i = t.getBigUint64(r, !0), o = t[n](r + 8, !0);
2978
2980
  return e.i += 16, o << 64n | i;
2979
2981
  });
@@ -2982,16 +2984,17 @@ D(hr, gr("getBigInt64"));
2982
2984
  var mr = (n) => {
2983
2985
  const e = new Uint8Array(32), t = new DataView(e.buffer);
2984
2986
  return t.setBigInt64(0, n, !0), t.setBigInt64(8, n >> 64n, !0), t.setBigInt64(16, n >> 128n, !0), t.setBigInt64(24, n >> 192n, !0), e;
2985
- }, yr = (n) => ne((e) => {
2987
+ }, yr = (n) => re((e) => {
2986
2988
  let t = e.v.getBigUint64(e.i, !0);
2987
2989
  return e.i += 8, t |= e.v.getBigUint64(e.i, !0) << 64n, e.i += 8, t |= e.v.getBigUint64(e.i, !0) << 128n, e.i += 8, t |= e.v[n](e.i, !0) << 192n, e.i += 8, t;
2988
2990
  });
2989
2991
  D(mr, yr("getBigUint64"));
2990
2992
  D(mr, yr("getBigInt64"));
2991
- var vr = Es(de, (n) => n ? 1 : 0, Boolean), Ls = [de[1], ze[1], Le[1]], Ps = ne((n) => {
2993
+ Os(de, (n) => n ? 1 : 0, Boolean);
2994
+ var Cs = [de[1], ze[1], Ce[1]], Ps = re((n) => {
2992
2995
  const e = n[n.i], t = e & 3;
2993
2996
  if (t < 3)
2994
- return Ls[t](n) >>> 2;
2997
+ return Cs[t](n) >>> 2;
2995
2998
  const r = (e >>> 2) + 4;
2996
2999
  n.i++;
2997
3000
  let i = 0n;
@@ -3000,7 +3003,7 @@ var vr = Es(de, (n) => n ? 1 : 0, Boolean), Ls = [de[1], ze[1], Le[1]], Ps = ne(
3000
3003
  for (let u = 0; u < o; u++)
3001
3004
  i = pr[1](n) << s | i, s += 64n;
3002
3005
  let a = r % 8;
3003
- return a > 3 && (i = BigInt(Le[1](n)) << s | i, s += 32n, a -= 4), a > 1 && (i = BigInt(ze[1](n)) << s | i, s += 16n, a -= 2), a && (i = BigInt(de[1](n)) << s | i), i;
3006
+ return a > 3 && (i = BigInt(Ce[1](n)) << s | i, s += 32n, a -= 4), a > 1 && (i = BigInt(ze[1](n)) << s | i, s += 16n, a -= 2), a && (i = BigInt(de[1](n)) << s | i), i;
3004
3007
  }), ks = 1n << 56n, Is = 1 << 24, Rs = 256, As = 4294967295n, $s = 64, Ns = 16384, js = 1 << 30, Ds = (n) => {
3005
3008
  if (n < 0)
3006
3009
  throw new Error(`Wrong compact input (${n})`);
@@ -3010,47 +3013,43 @@ var vr = Es(de, (n) => n ? 1 : 0, Boolean), Ls = [de[1], ze[1], Le[1]], Ps = ne(
3010
3013
  if (n < Ns)
3011
3014
  return ze[0](e | 1);
3012
3015
  if (n < js)
3013
- return Le[0](e | 2);
3016
+ return Ce[0](e | 2);
3014
3017
  let t = [new Uint8Array(1)], r = BigInt(n);
3015
3018
  for (; r >= ks; )
3016
3019
  t.push(pr[0](r)), r >>= 64n;
3017
- r >= Is && (t.push(Le[0](Number(r & As))), r >>= 32n);
3020
+ r >= Is && (t.push(Ce[0](Number(r & As))), r >>= 32n);
3018
3021
  let i = Number(r);
3019
3022
  i >= Rs && (t.push(ze[0](i)), i >>= 16), i && t.push(de[0](i));
3020
3023
  const o = et(t);
3021
3024
  return o[0] = o.length - 5 << 2 | 3, o;
3022
- }, wr = D(Ds, Ps), Us = new TextEncoder(), Fs = (n) => {
3025
+ }, vr = D(Ds, Ps), Us = new TextEncoder(), Fs = (n) => {
3023
3026
  const e = Us.encode(n);
3024
- return et([wr.enc(e.length), e]);
3025
- }, _s = new TextDecoder(), Ms = ne((n) => {
3026
- let e = wr.dec(n);
3027
+ return et([vr.enc(e.length), e]);
3028
+ }, _s = new TextDecoder(), Ms = re((n) => {
3029
+ let e = vr.dec(n);
3027
3030
  const t = new DataView(n.buffer, n.i, e);
3028
3031
  return n.i += e, _s.decode(t);
3029
3032
  }), M = D(Fs, Ms), Hs = () => {
3030
3033
  }, Vs = new Uint8Array(0);
3031
3034
  D(() => Vs, Hs);
3032
- var br = (n) => ne((e) => {
3033
- const t = de.dec(e);
3034
- if (t !== 0)
3035
- return n === vr[1] ? t === 1 : n(e);
3036
- }), Sr = (n) => (e) => {
3035
+ var wr = (n) => re((e) => de[1](e) > 0 ? n(e) : void 0), br = (n) => (e) => {
3037
3036
  const t = new Uint8Array(1);
3038
- return e === void 0 ? (t[0] = 0, t) : (t[0] = 1, n === vr[0] ? (t[0] = e ? 1 : 2, t) : et([t, n(e)]));
3039
- }, H = (n) => D(Sr(n[0]), br(n[1]));
3040
- H.enc = Sr;
3041
- H.dec = br;
3042
- var xr = (...n) => ne((e) => n.map((t) => t(e))), Or = (...n) => (e) => et(n.map((t, r) => t(e[r]))), tt = (...n) => D(Or(...n.map(([e]) => e)), xr(...n.map(([, e]) => e)));
3043
- tt.enc = Or;
3044
- tt.dec = xr;
3037
+ return e === void 0 ? t : (t[0] = 1, et([t, n(e)]));
3038
+ }, H = (n) => D(br(n[0]), wr(n[1]));
3039
+ H.enc = br;
3040
+ H.dec = wr;
3041
+ var Sr = (...n) => re((e) => n.map((t) => t(e))), xr = (...n) => (e) => et(n.map((t, r) => t(e[r]))), tt = (...n) => D(xr(...n.map(([e]) => e)), Sr(...n.map(([, e]) => e)));
3042
+ tt.enc = xr;
3043
+ tt.dec = Sr;
3045
3044
  var Er = (n) => {
3046
3045
  const e = Object.keys(n);
3047
3046
  return fr(tt.enc(...Object.values(n)), (t) => e.map((r) => t[r]));
3048
- }, Tr = (n) => {
3047
+ }, Or = (n) => {
3049
3048
  const e = Object.keys(n);
3050
3049
  return dr(tt.dec(...Object.values(n)), (t) => Object.fromEntries(t.map((r, i) => [e[i], r])));
3051
- }, ue = (n) => D(Er(yn(n, (e) => e[0])), Tr(yn(n, (e) => e[1])));
3052
- ue.enc = Er;
3053
- ue.dec = Tr;
3050
+ }, le = (n) => D(Er(yn(n, (e) => e[0])), Or(yn(n, (e) => e[1])));
3051
+ le.enc = Er;
3052
+ le.dec = Or;
3054
3053
  const Bs = y({
3055
3054
  [h.requestHash]: p()
3056
3055
  });
@@ -3077,25 +3076,25 @@ y({
3077
3076
  [h.user]: vn
3078
3077
  })
3079
3078
  });
3080
- const qs = ue({
3079
+ const qs = le({
3081
3080
  [h.commitmentId]: H(M),
3082
3081
  [h.providerUrl]: H(M),
3083
3082
  [h.dapp]: M,
3084
3083
  [h.user]: M,
3085
3084
  [h.challenge]: H(M),
3086
- [h.nonce]: H(Le),
3085
+ [h.nonce]: H(Ce),
3087
3086
  [h.timestamp]: M,
3088
- [h.signature]: ue({
3089
- [h.provider]: ue({
3087
+ [h.signature]: le({
3088
+ [h.provider]: le({
3090
3089
  [h.challenge]: H(M),
3091
3090
  [h.requestHash]: H(M)
3092
3091
  }),
3093
- [h.user]: ue({
3092
+ [h.user]: le({
3094
3093
  [h.timestamp]: H(M),
3095
3094
  [h.requestHash]: H(M)
3096
3095
  })
3097
3096
  })
3098
- }), Cr = p().startsWith("0x"), Ua = (n) => {
3097
+ }), Tr = p().startsWith("0x"), Ua = (n) => {
3099
3098
  var e, t, r, i;
3100
3099
  return Ze(
3101
3100
  qs.enc({
@@ -3117,19 +3116,19 @@ const qs = ue({
3117
3116
  }
3118
3117
  })
3119
3118
  );
3120
- }, Lr = 2, Pr = 0;
3119
+ }, Lr = 2, Cr = 0;
3121
3120
  var zs = /* @__PURE__ */ ((n) => (n.GetImageCaptchaChallenge = "/v1/prosopo/provider/client/captcha/image", n.GetPowCaptchaChallenge = "/v1/prosopo/provider/client/captcha/pow", n.GetFrictionlessCaptchaChallenge = "/v1/prosopo/provider/client/captcha/frictionless", n.SubmitImageCaptchaSolution = "/v1/prosopo/provider/client/solution", n.SubmitPowCaptchaSolution = "/v1/prosopo/provider/client/pow/solution", n.VerifyPowCaptchaSolution = "/v1/prosopo/provider/client/pow/verify", n.VerifyImageCaptchaSolutionDapp = "/v1/prosopo/provider/client/image/dapp/verify", n.GetProviderStatus = "/v1/prosopo/provider/client/status", n.SubmitUserEvents = "/v1/prosopo/provider/client/events", n))(zs || {}), Ws = /* @__PURE__ */ ((n) => (n.Healthz = "/healthz", n.GetProviderDetails = "/v1/prosopo/provider/public/details", n))(Ws || {});
3122
3121
  y({
3123
3122
  version: p(),
3124
3123
  message: p(),
3125
3124
  redis: y({
3126
3125
  actor: p(),
3127
- isReady: ce(),
3126
+ isReady: Y(),
3128
3127
  awaitingTimeSeconds: w()
3129
3128
  }).array()
3130
3129
  });
3131
- var Js = /* @__PURE__ */ ((n) => (n.SiteKeyRegister = "/v1/prosopo/provider/admin/sitekey/register", n.UpdateDetectorKey = "/v1/prosopo/provider/admin/detector/update", n.RemoveDetectorKey = "/v1/prosopo/provider/admin/detector/remove", n))(Js || {});
3132
- const kr = {
3130
+ var Js = /* @__PURE__ */ ((n) => (n.SiteKeyRegister = "/v1/prosopo/provider/admin/sitekey/register", n.UpdateDetectorKey = "/v1/prosopo/provider/admin/detector/update", n.RemoveDetectorKey = "/v1/prosopo/provider/admin/detector/remove", n.ToggleMaintenanceMode = "/v1/prosopo/provider/admin/maintenance/toggle", n))(Js || {});
3131
+ const Pr = {
3133
3132
  "/v1/prosopo/provider/client/captcha/image": { windowMs: 6e4, limit: 30 },
3134
3133
  "/v1/prosopo/provider/client/captcha/pow": { windowMs: 6e4, limit: 60 },
3135
3134
  "/v1/prosopo/provider/client/solution": { windowMs: 6e4, limit: 60 },
@@ -3148,7 +3147,8 @@ const kr = {
3148
3147
  "/v1/prosopo/provider/client/events": { windowMs: 6e4, limit: 60 },
3149
3148
  "/v1/prosopo/provider/admin/sitekey/register": { windowMs: 6e4, limit: 5 },
3150
3149
  "/v1/prosopo/provider/admin/detector/update": { windowMs: 6e4, limit: 5 },
3151
- "/v1/prosopo/provider/admin/detector/remove": { windowMs: 6e4, limit: 5 }
3150
+ "/v1/prosopo/provider/admin/detector/remove": { windowMs: 6e4, limit: 5 },
3151
+ "/v1/prosopo/provider/admin/maintenance/toggle": { windowMs: 6e4, limit: 5 }
3152
3152
  }, Xs = (n) => y(
3153
3153
  Object.entries(n).reduce(
3154
3154
  (e, [t, r]) => {
@@ -3161,7 +3161,7 @@ const kr = {
3161
3161
  {}
3162
3162
  )
3163
3163
  ), Ys = Xs(
3164
- kr
3164
+ Pr
3165
3165
  );
3166
3166
  y({
3167
3167
  [h.user]: p(),
@@ -3181,13 +3181,13 @@ y({
3181
3181
  })
3182
3182
  });
3183
3183
  y({
3184
- [h.token]: Cr,
3184
+ [h.token]: Tr,
3185
3185
  [h.dappSignature]: p(),
3186
- [h.maxVerifiedTime]: w().optional().default(Lt),
3186
+ [h.maxVerifiedTime]: w().optional().default(Ct),
3187
3187
  [h.ip]: p().optional()
3188
3188
  });
3189
3189
  y({
3190
- [h.token]: Cr,
3190
+ [h.token]: Tr,
3191
3191
  [h.dappSignature]: p(),
3192
3192
  [h.verifiedTimeout]: w().optional().default(Qe),
3193
3193
  [h.ip]: p().optional()
@@ -3216,7 +3216,8 @@ const Fa = y({
3216
3216
  y({
3217
3217
  [h.dapp]: p(),
3218
3218
  [h.token]: p(),
3219
- [h.user]: p()
3219
+ [h.user]: p(),
3220
+ [h.headHash]: p()
3220
3221
  });
3221
3222
  y({
3222
3223
  [h.siteKey]: p()
@@ -3231,30 +3232,33 @@ const _a = y({
3231
3232
  }), Ma = y({
3232
3233
  [h.detectorKey]: p(),
3233
3234
  [h.expirationInSeconds]: w().positive().optional()
3234
- }), Ir = y({
3235
+ }), Ha = y({
3236
+ [h.enabled]: Y()
3237
+ }), kr = y({
3235
3238
  solved: y({
3236
3239
  count: w().positive()
3237
3240
  }).optional().default({ count: Lr }),
3238
3241
  unsolved: y({
3239
3242
  count: w().nonnegative()
3240
- }).optional().default({ count: Pr })
3243
+ }).optional().default({ count: Cr })
3241
3244
  });
3242
- var Rr = /* @__PURE__ */ ((n) => (n.ipAddress = "ipAddress", n.userAccount = "userAccount", n))(Rr || {});
3243
- const Gs = ke(Rr);
3245
+ var Ir = /* @__PURE__ */ ((n) => (n.ipAddress = "ipAddress", n.userAccount = "userAccount", n))(Ir || {});
3246
+ const Gs = ke(Ir);
3244
3247
  y({
3245
- global: ce(),
3246
- hardBlock: ce(),
3248
+ global: Y(),
3249
+ hardBlock: Y(),
3247
3250
  type: Gs,
3248
3251
  dappAccount: p().optional(),
3249
- captchaConfig: Ir.optional()
3252
+ captchaConfig: kr.optional()
3250
3253
  });
3251
3254
  y({
3252
3255
  [h.dapp]: p()
3253
3256
  });
3254
- const Ar = 0.2, $r = 0.5, Nr = 0.2, Qs = y({
3255
- PENALTY_OLD_TIMESTAMP: w().positive().optional().default(Ar),
3256
- PENALTY_ACCESS_RULE: w().positive().optional().default($r),
3257
- PENALTY_UNVERIFIED_HOST: w().positive().optional().default(Nr)
3257
+ const Rr = 0.2, Ar = 0.5, $r = 0.2, Nr = 0.1, Qs = y({
3258
+ PENALTY_OLD_TIMESTAMP: w().positive().optional().default(Rr),
3259
+ PENALTY_ACCESS_RULE: w().positive().optional().default(Ar),
3260
+ PENALTY_UNVERIFIED_HOST: w().positive().optional().default($r),
3261
+ PENALTY_WEBVIEW: w().positive().optional().default(Nr)
3258
3262
  }), wn = Je([
3259
3263
  "trace",
3260
3264
  "debug",
@@ -3275,7 +3279,7 @@ const bt = Je([
3275
3279
  "development",
3276
3280
  "staging",
3277
3281
  "production"
3278
- ]), Zs = On(
3282
+ ]), Zs = En(
3279
3283
  bt,
3280
3284
  y({
3281
3285
  type: p(),
@@ -3295,24 +3299,23 @@ const bt = Je([
3295
3299
  password: p().optional()
3296
3300
  })
3297
3301
  });
3298
- C.object({
3299
- encoded: C.string(),
3300
- encoding: C.object({
3301
- content: C.array(C.string()),
3302
- type: C.array(C.string()),
3303
- version: C.string()
3302
+ L.object({
3303
+ encoded: L.string(),
3304
+ encoding: L.object({
3305
+ content: L.array(L.string()),
3306
+ type: L.array(L.string()),
3307
+ version: L.string()
3304
3308
  }),
3305
- address: C.string(),
3306
- meta: C.object({
3307
- genesisHash: C.string(),
3308
- name: C.string(),
3309
- whenCreated: C.number()
3309
+ address: L.string(),
3310
+ meta: L.object({
3311
+ genesisHash: L.string(),
3312
+ name: L.string(),
3313
+ whenCreated: L.number()
3310
3314
  })
3311
3315
  });
3312
3316
  const jr = ea.merge(
3313
3317
  y({
3314
- database: Zs.optional(),
3315
- devOnlyWatchEvents: ce().optional()
3318
+ database: Zs.optional()
3316
3319
  })
3317
3320
  ), ta = y({
3318
3321
  baseURL: p().url(),
@@ -3329,7 +3332,7 @@ y({
3329
3332
  const Dr = jr.merge(
3330
3333
  y({
3331
3334
  userAccountAddress: p().optional(),
3332
- web2: ce().optional().default(!0),
3335
+ web2: Y().optional().default(!0),
3333
3336
  solutionThreshold: w().positive().max(100).optional().default(80),
3334
3337
  dappName: p().optional().default("ProsopoClientDapp"),
3335
3338
  serverUrl: p().optional()
@@ -3338,7 +3341,7 @@ const Dr = jr.merge(
3338
3341
  challengeTimeout: Re,
3339
3342
  solutionTimeout: er,
3340
3343
  verifiedTimeout: tr,
3341
- cachedTimeout: Lt
3344
+ cachedTimeout: Ct
3342
3345
  }, Fr = {
3343
3346
  challengeTimeout: Qe,
3344
3347
  solutionTimeout: Ge,
@@ -3356,7 +3359,7 @@ const Dr = jr.merge(
3356
3359
  // Set this to a default value for the frontend
3357
3360
  solutionTimeout: w().positive().optional().default(er),
3358
3361
  verifiedTimeout: w().positive().optional().default(tr),
3359
- cachedTimeout: w().positive().optional().default(Lt)
3362
+ cachedTimeout: w().positive().optional().default(Ct)
3360
3363
  }).default(Ur),
3361
3364
  pow: y({
3362
3365
  verifiedTimeout: w().positive().optional().default(Qe),
@@ -3391,7 +3394,7 @@ const ia = Je([
3391
3394
  "visible",
3392
3395
  "invisible"
3393
3396
  /* invisible */
3394
- ]).optional(), Ha = Dr.and(
3397
+ ]).optional(), Va = Dr.and(
3395
3398
  y({
3396
3399
  theme: na.optional().default("light"),
3397
3400
  captchas: Mr.optional().default(Pt),
@@ -3401,21 +3404,22 @@ const ia = Je([
3401
3404
  /* visible */
3402
3405
  )
3403
3406
  })
3404
- ), oa = C.object({
3405
- apiKey: C.string(),
3406
- baseUrl: C.string().url()
3407
+ ), oa = L.object({
3408
+ apiKey: L.string(),
3409
+ baseUrl: L.string().url()
3407
3410
  });
3408
3411
  jr.merge(
3409
3412
  y({
3410
3413
  host: p(),
3411
- captchas: Ir.optional().default({
3414
+ captchas: kr.optional().default({
3412
3415
  solved: { count: Lr },
3413
- unsolved: { count: Pr }
3416
+ unsolved: { count: Cr }
3414
3417
  }),
3415
3418
  penalties: Qs.optional().default({
3416
- PENALTY_OLD_TIMESTAMP: Ar,
3417
- PENALTY_ACCESS_RULE: $r,
3418
- PENALTY_UNVERIFIED_HOST: Nr
3419
+ PENALTY_OLD_TIMESTAMP: Rr,
3420
+ PENALTY_ACCESS_RULE: Ar,
3421
+ PENALTY_UNVERIFIED_HOST: $r,
3422
+ PENALTY_WEBVIEW: Nr
3419
3423
  }),
3420
3424
  scheduledTasks: y({
3421
3425
  captchaScheduler: y({
@@ -3438,9 +3442,9 @@ jr.merge(
3438
3442
  url: "redis://localhost:6379",
3439
3443
  password: "root"
3440
3444
  }),
3441
- rateLimits: Ys.default(kr),
3445
+ rateLimits: Ys.default(Pr),
3442
3446
  proxyCount: w().optional().default(0),
3443
- lRules: On(p(), w()).optional(),
3447
+ lRules: En(p(), w()).optional(),
3444
3448
  authAccount: y({
3445
3449
  address: p().optional(),
3446
3450
  secret: p().optional(),
@@ -3448,7 +3452,7 @@ jr.merge(
3448
3452
  })
3449
3453
  })
3450
3454
  );
3451
- const sa = async () => (await import("./fp.esm-DYWeNGcH.js")).default, aa = async () => (await (await (await sa()).load()).get()).visitorId, se = new Uint8Array([161, 35, 3, 33, 0]), We = new Uint8Array([
3455
+ const sa = async () => (await import("./fp.esm-DYWeNGcH.js")).default, aa = async () => (await (await (await sa()).load()).get()).visitorId, ae = new Uint8Array([161, 35, 3, 33, 0]), We = new Uint8Array([
3452
3456
  48,
3453
3457
  83,
3454
3458
  2,
@@ -3470,10 +3474,10 @@ function ca(n, e, t) {
3470
3474
  const r = Array.isArray(t) || t === void 0 ? t : [t], i = Kr(e, n, r), o = i.subarray(0, We.length);
3471
3475
  if (!nt(o, We))
3472
3476
  throw new Error("Invalid encoding header found in body");
3473
- let s = i.subarray(Se, Se + bn), a = Se + bn, u = i.subarray(a, a + se.length);
3474
- if (!nt(u, se) && (a = Se + la, s = i.subarray(Se, a), u = i.subarray(a, a + se.length), !nt(u, se)))
3477
+ let s = i.subarray(Se, Se + bn), a = Se + bn, u = i.subarray(a, a + ae.length);
3478
+ if (!nt(u, ae) && (a = Se + la, s = i.subarray(Se, a), u = i.subarray(a, a + ae.length), !nt(u, ae)))
3475
3479
  throw new Error("Invalid encoding divider found in body");
3476
- const c = a + se.length;
3480
+ const c = a + ae.length;
3477
3481
  return {
3478
3482
  publicKey: i.subarray(c, c + ua),
3479
3483
  secretKey: s
@@ -3482,14 +3486,14 @@ function ca(n, e, t) {
3482
3486
  function fa({ publicKey: n, secretKey: e }, t) {
3483
3487
  if (!e)
3484
3488
  throw new Error("Expected a valid secretKey to be passed to encode");
3485
- const r = ft(We, e, se, n);
3489
+ const r = ft(We, e, ae, n);
3486
3490
  if (!t)
3487
3491
  return r;
3488
3492
  const { params: i, password: o, salt: s } = qr(t), { encrypted: a, nonce: u } = zr(r, o.subarray(0, 32));
3489
3493
  return ft(Wr(s, i), u, a);
3490
3494
  }
3491
3495
  function da(n, { address: e, meta: t }, r, i) {
3492
- return Cn(
3496
+ return Ln(
3493
3497
  Jr(r, ["pkcs8", n], i),
3494
3498
  {
3495
3499
  address: e,
@@ -3539,7 +3543,7 @@ const pa = new Uint8Array([]), ha = {
3539
3543
  function xe(n) {
3540
3544
  return !n || si(n);
3541
3545
  }
3542
- function ae({ toSS58: n, type: e }, { publicKey: t, secretKey: r }, i = {}, o = null, s) {
3546
+ function ue({ toSS58: n, type: e }, { publicKey: t, secretKey: r }, i = {}, o = null, s) {
3543
3547
  const a = (l, f) => {
3544
3548
  const d = ca(l, f || o, s);
3545
3549
  if (d.secretKey.length === 64)
@@ -3576,15 +3580,15 @@ function ae({ toSS58: n, type: e }, { publicKey: t, secretKey: r }, i = {}, o =
3576
3580
  derive: (l, f) => {
3577
3581
  if (xe(r))
3578
3582
  throw new Error("Cannot derive on a locked keypair");
3579
- const { path: d } = ei(l), g = En({ publicKey: t, secretKey: r }, d, e);
3580
- return ae({ toSS58: n, type: e }, g, f, null);
3583
+ const { path: d } = ei(l), g = On({ publicKey: t, secretKey: r }, d, e);
3584
+ return ue({ toSS58: n, type: e }, g, f, null);
3581
3585
  },
3582
3586
  encodePkcs8: (l) => u(l),
3583
3587
  lock: () => {
3584
3588
  r = new Uint8Array([]);
3585
3589
  },
3586
3590
  setMeta: (l) => {
3587
- i = Cn({}, i, l);
3591
+ i = Ln({}, i, l);
3588
3592
  },
3589
3593
  sign: (l, f = {}) => {
3590
3594
  if (xe(r))
@@ -3619,19 +3623,19 @@ function ae({ toSS58: n, type: e }, { publicKey: t, secretKey: r }, i = {}, o =
3619
3623
  vrfVerify: (l, f, d, g, m) => Xr(l, f, t, g, m)
3620
3624
  };
3621
3625
  }
3622
- var Z;
3626
+ var ee;
3623
3627
  class ya {
3624
3628
  constructor() {
3625
- me(this, Z, {});
3629
+ me(this, ee, {});
3626
3630
  }
3627
3631
  add(e) {
3628
- return j(this, Z)[je(e.address).toString()] = e, e;
3632
+ return j(this, ee)[je(e.address).toString()] = e, e;
3629
3633
  }
3630
3634
  all() {
3631
- return Object.values(j(this, Z));
3635
+ return Object.values(j(this, ee));
3632
3636
  }
3633
3637
  get(e) {
3634
- const t = j(this, Z)[je(e).toString()];
3638
+ const t = j(this, ee)[je(e).toString()];
3635
3639
  if (!t)
3636
3640
  throw new Error(
3637
3641
  `Unable to retrieve keypair '${ai(e) || De(e) ? Ze(dt(e)) : e}'`
@@ -3639,10 +3643,10 @@ class ya {
3639
3643
  return t;
3640
3644
  }
3641
3645
  remove(e) {
3642
- delete j(this, Z)[je(e).toString()];
3646
+ delete j(this, ee)[je(e).toString()];
3643
3647
  }
3644
3648
  }
3645
- Z = new WeakMap();
3649
+ ee = new WeakMap();
3646
3650
  const va = "bottom drive obey lake curtain smoke basket hold race lonely fit walk", Sn = {
3647
3651
  sr25519: (n) => Tn(n),
3648
3652
  ed25519: () => {
@@ -3658,17 +3662,17 @@ const va = "bottom drive obey lake curtain smoke basket hold race lonely fit wal
3658
3662
  function wa({ publicKey: n }) {
3659
3663
  return n;
3660
3664
  }
3661
- var V, Pe, le;
3665
+ var V, Pe, ce;
3662
3666
  class ba {
3663
3667
  constructor(e = {}) {
3664
3668
  me(this, V);
3665
3669
  me(this, Pe);
3666
- me(this, le);
3667
- if (this.decodeAddress = je, this.encodeAddress = (t, r) => ti(t, r ?? j(this, le)), e.type = e.type || "sr25519", !["sr25519"].includes(e.type || "undefined"))
3670
+ me(this, ce);
3671
+ if (this.decodeAddress = je, this.encodeAddress = (t, r) => ti(t, r ?? j(this, ce)), e.type = e.type || "sr25519", !["sr25519"].includes(e.type || "undefined"))
3668
3672
  throw new Error(
3669
3673
  `Expected a keyring type of either 'sr25519', found '${e.type || "unknown"}`
3670
3674
  );
3671
- ye(this, V, new ya()), ye(this, le, e.ss58Format), ye(this, Pe, e.type);
3675
+ ye(this, V, new ya()), ye(this, ce, e.ss58Format), ye(this, Pe, e.type);
3672
3676
  }
3673
3677
  /**
3674
3678
  * @description retrieve the pairs (alias for getPairs)
@@ -3706,7 +3710,7 @@ class ba {
3706
3710
  addFromAddress(e, t = {}, r = null, i = this.type, o, s) {
3707
3711
  const a = this.decodeAddress(e, o);
3708
3712
  return this.addPair(
3709
- ae(
3713
+ ue(
3710
3714
  { toSS58: this.encodeAddress, type: i },
3711
3715
  { publicKey: a, secretKey: new Uint8Array() },
3712
3716
  t,
@@ -3752,7 +3756,7 @@ class ba {
3752
3756
  */
3753
3757
  addFromSeed(e, t = {}, r = this.type) {
3754
3758
  return this.addPair(
3755
- ae(
3759
+ ue(
3756
3760
  { toSS58: this.encodeAddress, type: r },
3757
3761
  Sn[r](e),
3758
3762
  t,
@@ -3789,7 +3793,7 @@ class ba {
3789
3793
  if (!["sr25519"].includes(u))
3790
3794
  throw new Error(`Unknown crypto type ${u}`);
3791
3795
  const l = De(e) ? rt(e) : this.decodeAddress(e, a), f = De(t) ? rt(t) : ni(t);
3792
- return ae(
3796
+ return ue(
3793
3797
  { toSS58: this.encodeAddress, type: u },
3794
3798
  { publicKey: l, secretKey: new Uint8Array() },
3795
3799
  s,
@@ -3802,7 +3806,7 @@ class ba {
3802
3806
  * @summary Creates a pair from an explicit publicKey/secreteKey combination
3803
3807
  */
3804
3808
  createFromPair(e, t = {}, r = this.type) {
3805
- return ae({ toSS58: this.encodeAddress, type: r }, e, t, null);
3809
+ return ue({ toSS58: this.encodeAddress, type: r }, e, t, null);
3806
3810
  }
3807
3811
  /**
3808
3812
  * @name createFromUri
@@ -3827,11 +3831,11 @@ class ba {
3827
3831
  throw new Error(
3828
3832
  "specified phrase is not a valid mnemonic and is invalid as a raw seed at > 32 bytes"
3829
3833
  );
3830
- u = Ln(a.padEnd(32));
3834
+ u = Cn(a.padEnd(32));
3831
3835
  }
3832
3836
  }
3833
- const l = En(Sn[r](u), s, r);
3834
- return ae(
3837
+ const l = On(Sn[r](u), s, r);
3838
+ return ue(
3835
3839
  { toSS58: this.encodeAddress, type: r },
3836
3840
  l,
3837
3841
  t,
@@ -3875,7 +3879,7 @@ class ba {
3875
3879
  * @description Sets the ss58 format for the keyring
3876
3880
  */
3877
3881
  setSS58Format(e) {
3878
- ye(this, le, e);
3882
+ ye(this, ce, e);
3879
3883
  }
3880
3884
  /**
3881
3885
  * @name toJson
@@ -3889,10 +3893,10 @@ class ba {
3889
3893
  return j(this, V).get(e).toJson(t);
3890
3894
  }
3891
3895
  }
3892
- V = new WeakMap(), Pe = new WeakMap(), le = new WeakMap();
3896
+ V = new WeakMap(), Pe = new WeakMap(), ce = new WeakMap();
3893
3897
  class Sa {
3894
3898
  }
3895
- const xa = async () => (await import("./Signer-DP9drQ55.js")).default, Oa = async () => (await import("./utilCryptoChunk-D6ZLkbFV.js").then((n) => n.w)).entropyToMnemonic;
3899
+ const xa = async () => (await import("./Signer-DP9drQ55.js")).default, Ea = async () => (await import("./utilCryptoChunk-B4ZdOwus.js").then((n) => n.w)).entropyToMnemonic;
3896
3900
  class xn extends Sa {
3897
3901
  async getAccount(e) {
3898
3902
  const t = await this.createAccount(e), r = await this.createExtension(t);
@@ -3923,7 +3927,7 @@ class xn extends Sa {
3923
3927
  };
3924
3928
  }
3925
3929
  async createAccount(e) {
3926
- const t = await aa(), r = oi(t, 128).slice(2), i = Ln(r), s = (await Oa())(i), a = "sr25519", c = new ba({
3930
+ const t = await aa(), r = oi(t, 128).slice(2), i = Cn(r), s = (await Ea())(i), a = "sr25519", c = new ba({
3927
3931
  type: a
3928
3932
  }).addFromMnemonic(s), l = c.address;
3929
3933
  return {
@@ -3933,7 +3937,7 @@ class xn extends Sa {
3933
3937
  };
3934
3938
  }
3935
3939
  }
3936
- const Va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3940
+ const Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3937
3941
  __proto__: null,
3938
3942
  ExtensionWeb2: xn,
3939
3943
  default: xn
@@ -3944,9 +3948,10 @@ export {
3944
3948
  Sa as E,
3945
3949
  In as L,
3946
3950
  ra as M,
3947
- Ha as P,
3951
+ Va as P,
3948
3952
  Ma as R,
3949
3953
  Fa as S,
3954
+ Ha as T,
3950
3955
  _a as U,
3951
3956
  W as a,
3952
3957
  bt as b,
@@ -3960,7 +3965,7 @@ export {
3960
3965
  Hi as j,
3961
3966
  Na as k,
3962
3967
  Ia as l,
3963
- Va as m,
3968
+ Ba as m,
3964
3969
  F as r,
3965
3970
  $a as s,
3966
3971
  Aa as u