@prosopo/procaptcha-bundle 2.5.1 → 2.5.5

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 (270) hide show
  1. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/components.d.ts +4 -4
  2. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/components.d.ts.map +1 -1
  3. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/components.js +4 -4
  4. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/components.js.map +1 -1
  5. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/index.d.ts +3 -1
  6. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/index.d.ts.map +1 -1
  7. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/index.js +86 -18
  8. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/index.js.map +1 -1
  9. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.js +1 -1
  10. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.js.map +1 -1
  11. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.js +28 -33
  12. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.js.map +1 -1
  13. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.d.ts +8 -0
  14. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.d.ts.map +1 -0
  15. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.js +11 -0
  16. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.js.map +1 -0
  17. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.d.ts +6 -0
  18. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.d.ts.map +1 -0
  19. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/{renderLogic/captcha/componentsList.js → captcha/captchaComponentsList.js} +3 -3
  20. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.js.map +1 -0
  21. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/{renderLogic/captcha/captcha.d.ts → captcha/captchaProps.d.ts} +3 -1
  22. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.d.ts.map +1 -0
  23. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.js +2 -0
  24. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.js.map +1 -0
  25. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.d.ts +24 -0
  26. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.d.ts.map +1 -0
  27. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.js +48 -0
  28. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.js.map +1 -0
  29. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.d.ts.map +1 -0
  30. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.js.map +1 -0
  31. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/{renderLogic/captcha → captcha}/components/frictionlessCaptcha.d.ts +1 -1
  32. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.d.ts.map +1 -0
  33. package/{dist/util/renderLogic → .rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util}/captcha/components/frictionlessCaptcha.js +2 -2
  34. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.js.map +1 -0
  35. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/{renderLogic/captcha → captcha}/components/imageCaptcha.d.ts +1 -1
  36. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.d.ts.map +1 -0
  37. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/{renderLogic/captcha → captcha}/components/imageCaptcha.js +2 -2
  38. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.js.map +1 -0
  39. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/{renderLogic/captcha → captcha}/components/powCaptcha.d.ts +1 -1
  40. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.d.ts.map +1 -0
  41. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/{renderLogic/captcha → captcha}/components/powCaptcha.js +2 -2
  42. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.js.map +1 -0
  43. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/config.d.ts +0 -2
  44. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/config.d.ts.map +1 -1
  45. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/config.js +0 -19
  46. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/config.js.map +1 -1
  47. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.d.ts +5 -0
  48. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.d.ts.map +1 -0
  49. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.js +24 -0
  50. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.js.map +1 -0
  51. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.d.ts +18 -0
  52. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.d.ts.map +1 -0
  53. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.js +62 -0
  54. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.js.map +1 -0
  55. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.d.ts +9 -0
  56. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.d.ts.map +1 -0
  57. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.js +19 -0
  58. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.js.map +1 -0
  59. package/dist/bundle/ProcaptchaWidget-CCSN3Dxj.js +636 -0
  60. package/dist/bundle/ProcaptchaWidget-Dfex8hc8.js +156 -0
  61. package/dist/bundle/_commonjsHelpers-DaMA6jEr.js +8 -0
  62. package/dist/bundle/{asU8a-Br9wz334.js → asU8a-CAsEnbuP.js} +1 -1
  63. package/dist/bundle/{bip39-BtaWByKg.js → bip39-DCaMcFzo.js} +2 -2
  64. package/dist/bundle/{browser-ponyfill-Ck_bwPOY.js → browser-ponyfill-Dy1JBTMg.js} +20 -20
  65. package/dist/bundle/captchaComponentProvider-Dm44AMrY.js +1018 -0
  66. package/dist/bundle/captchaRenderer-BBodRhQu.js +70 -0
  67. package/dist/bundle/components.d.ts +4 -4
  68. package/dist/bundle/components.d.ts.map +1 -1
  69. package/dist/bundle/emotion-element-5486c51c.browser.esm-CQHFV-dS.js +1803 -0
  70. package/dist/bundle/{fp.esm-C0kLYOiJ.js → fp.esm-DYWeNGcH.js} +17 -0
  71. package/dist/bundle/{hash-KElfghPn.js → hash-D-64Vz5z.js} +1 -1
  72. package/dist/bundle/i18nFrontend-C_RgmvGh.js +2273 -0
  73. package/dist/bundle/index-9I1Aae33.js +5416 -0
  74. package/dist/bundle/index-DCHEbWAs.js +1242 -0
  75. package/dist/bundle/{index-B0trzdT2.js → index-DkQ4njKa.js} +17 -16
  76. package/dist/bundle/index-DxswvPTy.js +606 -0
  77. package/dist/bundle/{index-Cb-XcaMX.js → index-nNwZuute.js} +256 -255
  78. package/dist/bundle/index.d.ts +3 -1
  79. package/dist/bundle/index.d.ts.map +1 -1
  80. package/dist/bundle/locales/de/translation.json +55 -404
  81. package/dist/bundle/locales/en/translation.json +55 -404
  82. package/dist/bundle/locales/es/translation.json +55 -404
  83. package/dist/bundle/locales/fr/translation.json +55 -404
  84. package/dist/bundle/locales/it/translation.json +55 -404
  85. package/dist/bundle/locales/pt/translation.json +55 -404
  86. package/dist/bundle/locales/pt-BR/translation.json +55 -404
  87. package/dist/bundle/procaptcha.bundle.js +4 -3
  88. package/dist/bundle/translations-B0P9axY3.js +2885 -0
  89. package/dist/bundle/useTranslation-CEt2t9kE.js +158 -0
  90. package/dist/bundle/util/captcha/captchaComponentProvider.d.ts +8 -0
  91. package/dist/bundle/util/captcha/captchaComponentProvider.d.ts.map +1 -0
  92. package/dist/bundle/util/captcha/captchaComponentsList.d.ts +6 -0
  93. package/dist/bundle/util/captcha/captchaComponentsList.d.ts.map +1 -0
  94. package/dist/{util/renderLogic/captcha/captcha.d.ts → bundle/util/captcha/captchaProps.d.ts} +3 -1
  95. package/dist/bundle/util/captcha/captchaProps.d.ts.map +1 -0
  96. package/dist/bundle/util/captcha/captchaRenderer.d.ts +24 -0
  97. package/dist/bundle/util/captcha/captchaRenderer.d.ts.map +1 -0
  98. package/dist/bundle/util/captcha/captchaType.d.ts.map +1 -0
  99. package/dist/bundle/util/{renderLogic/captcha → captcha}/components/frictionlessCaptcha.d.ts +1 -1
  100. package/dist/bundle/util/captcha/components/frictionlessCaptcha.d.ts.map +1 -0
  101. package/dist/bundle/util/{renderLogic/captcha → captcha}/components/imageCaptcha.d.ts +1 -1
  102. package/dist/bundle/util/captcha/components/imageCaptcha.d.ts.map +1 -0
  103. package/dist/bundle/util/{renderLogic/captcha → captcha}/components/powCaptcha.d.ts +1 -1
  104. package/dist/bundle/util/captcha/components/powCaptcha.d.ts.map +1 -0
  105. package/dist/bundle/util/config.d.ts +0 -2
  106. package/dist/bundle/util/config.d.ts.map +1 -1
  107. package/dist/bundle/util/configCreator.d.ts +5 -0
  108. package/dist/bundle/util/configCreator.d.ts.map +1 -0
  109. package/dist/bundle/util/widgetFactory.d.ts +18 -0
  110. package/dist/bundle/util/widgetFactory.d.ts.map +1 -0
  111. package/dist/bundle/util/widgetThemeResolver.d.ts +9 -0
  112. package/dist/bundle/util/widgetThemeResolver.d.ts.map +1 -0
  113. package/dist/components.d.ts +4 -4
  114. package/dist/components.d.ts.map +1 -1
  115. package/dist/components.js +4 -4
  116. package/dist/components.js.map +1 -1
  117. package/dist/index.d.ts +3 -1
  118. package/dist/index.d.ts.map +1 -1
  119. package/dist/index.js +86 -18
  120. package/dist/index.js.map +1 -1
  121. package/dist/tests/util/captchaType.test.js +1 -1
  122. package/dist/tests/util/captchaType.test.js.map +1 -1
  123. package/dist/tests/util/renderLogic.test.js +28 -33
  124. package/dist/tests/util/renderLogic.test.js.map +1 -1
  125. package/dist/util/captcha/captchaComponentProvider.d.ts +8 -0
  126. package/dist/util/captcha/captchaComponentProvider.d.ts.map +1 -0
  127. package/dist/util/captcha/captchaComponentProvider.js +11 -0
  128. package/dist/util/captcha/captchaComponentProvider.js.map +1 -0
  129. package/dist/util/captcha/captchaComponentsList.d.ts +6 -0
  130. package/dist/util/captcha/captchaComponentsList.d.ts.map +1 -0
  131. package/dist/util/{renderLogic/captcha/componentsList.js → captcha/captchaComponentsList.js} +3 -3
  132. package/dist/util/captcha/captchaComponentsList.js.map +1 -0
  133. package/dist/{bundle/util/renderLogic/captcha/captcha.d.ts → util/captcha/captchaProps.d.ts} +3 -1
  134. package/dist/util/captcha/captchaProps.d.ts.map +1 -0
  135. package/dist/util/captcha/captchaProps.js +2 -0
  136. package/dist/util/captcha/captchaProps.js.map +1 -0
  137. package/dist/util/captcha/captchaRenderer.d.ts +24 -0
  138. package/dist/util/captcha/captchaRenderer.d.ts.map +1 -0
  139. package/dist/util/captcha/captchaRenderer.js +48 -0
  140. package/dist/util/captcha/captchaRenderer.js.map +1 -0
  141. package/dist/util/captcha/captchaType.d.ts.map +1 -0
  142. package/dist/util/captcha/captchaType.js.map +1 -0
  143. package/dist/util/{renderLogic/captcha → captcha}/components/frictionlessCaptcha.d.ts +1 -1
  144. package/dist/util/captcha/components/frictionlessCaptcha.d.ts.map +1 -0
  145. package/{.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic → dist/util}/captcha/components/frictionlessCaptcha.js +2 -2
  146. package/dist/util/captcha/components/frictionlessCaptcha.js.map +1 -0
  147. package/dist/util/{renderLogic/captcha → captcha}/components/imageCaptcha.d.ts +1 -1
  148. package/dist/util/captcha/components/imageCaptcha.d.ts.map +1 -0
  149. package/dist/util/{renderLogic/captcha → captcha}/components/imageCaptcha.js +2 -2
  150. package/dist/util/captcha/components/imageCaptcha.js.map +1 -0
  151. package/dist/util/{renderLogic/captcha → captcha}/components/powCaptcha.d.ts +1 -1
  152. package/dist/util/captcha/components/powCaptcha.d.ts.map +1 -0
  153. package/dist/util/{renderLogic/captcha → captcha}/components/powCaptcha.js +2 -2
  154. package/dist/util/captcha/components/powCaptcha.js.map +1 -0
  155. package/dist/util/config.d.ts +0 -2
  156. package/dist/util/config.d.ts.map +1 -1
  157. package/dist/util/config.js +0 -19
  158. package/dist/util/config.js.map +1 -1
  159. package/dist/util/configCreator.d.ts +5 -0
  160. package/dist/util/configCreator.d.ts.map +1 -0
  161. package/dist/util/configCreator.js +24 -0
  162. package/dist/util/configCreator.js.map +1 -0
  163. package/dist/util/widgetFactory.d.ts +18 -0
  164. package/dist/util/widgetFactory.d.ts.map +1 -0
  165. package/dist/util/widgetFactory.js +62 -0
  166. package/dist/util/widgetFactory.js.map +1 -0
  167. package/dist/util/widgetThemeResolver.d.ts +9 -0
  168. package/dist/util/widgetThemeResolver.d.ts.map +1 -0
  169. package/dist/util/widgetThemeResolver.js +19 -0
  170. package/dist/util/widgetThemeResolver.js.map +1 -0
  171. package/package.json +20 -13
  172. package/stats.html +1 -1
  173. package/vite.cjs.config.ts +1 -1
  174. package/vite.config.ts +19 -4
  175. package/vite.serve.config.ts +24 -0
  176. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captchaType.d.ts.map +0 -1
  177. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captchaType.js.map +0 -1
  178. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/captcha/captcha.d.ts.map +0 -1
  179. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/captcha/captcha.js +0 -2
  180. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/captcha/captcha.js.map +0 -1
  181. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/captcha/captchaRenderer.d.ts +0 -8
  182. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/captcha/captchaRenderer.d.ts.map +0 -1
  183. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/captcha/captchaRenderer.js +0 -11
  184. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/captcha/captchaRenderer.js.map +0 -1
  185. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/captcha/components/frictionlessCaptcha.d.ts.map +0 -1
  186. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/captcha/components/frictionlessCaptcha.js.map +0 -1
  187. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/captcha/components/imageCaptcha.d.ts.map +0 -1
  188. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/captcha/components/imageCaptcha.js.map +0 -1
  189. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/captcha/components/powCaptcha.d.ts.map +0 -1
  190. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/captcha/components/powCaptcha.js.map +0 -1
  191. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/captcha/componentsList.d.ts +0 -6
  192. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/captcha/componentsList.d.ts.map +0 -1
  193. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/captcha/componentsList.js.map +0 -1
  194. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/webComponent.d.ts +0 -8
  195. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/webComponent.d.ts.map +0 -1
  196. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/webComponent.js +0 -29
  197. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/webComponent.js.map +0 -1
  198. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/widgetRenderer.d.ts +0 -23
  199. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/widgetRenderer.d.ts.map +0 -1
  200. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/widgetRenderer.js +0 -52
  201. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic/widgetRenderer.js.map +0 -1
  202. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic.d.ts +0 -3
  203. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic.d.ts.map +0 -1
  204. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic.js +0 -14
  205. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/renderLogic.js.map +0 -1
  206. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/theme.d.ts +0 -3
  207. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/theme.d.ts.map +0 -1
  208. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/theme.js +0 -9
  209. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/theme.js.map +0 -1
  210. package/dist/bundle/ProcaptchaWidget-CAyH6qD7.js +0 -161
  211. package/dist/bundle/ProcaptchaWidget-CY3qomFu.js +0 -619
  212. package/dist/bundle/index-VYSrdSle.js +0 -11587
  213. package/dist/bundle/index-n-2hvBzo.js +0 -1190
  214. package/dist/bundle/useTranslation-CcYxvTxi.js +0 -2435
  215. package/dist/bundle/util/captchaType.d.ts.map +0 -1
  216. package/dist/bundle/util/renderLogic/captcha/captcha.d.ts.map +0 -1
  217. package/dist/bundle/util/renderLogic/captcha/captchaRenderer.d.ts +0 -8
  218. package/dist/bundle/util/renderLogic/captcha/captchaRenderer.d.ts.map +0 -1
  219. package/dist/bundle/util/renderLogic/captcha/components/frictionlessCaptcha.d.ts.map +0 -1
  220. package/dist/bundle/util/renderLogic/captcha/components/imageCaptcha.d.ts.map +0 -1
  221. package/dist/bundle/util/renderLogic/captcha/components/powCaptcha.d.ts.map +0 -1
  222. package/dist/bundle/util/renderLogic/captcha/componentsList.d.ts +0 -6
  223. package/dist/bundle/util/renderLogic/captcha/componentsList.d.ts.map +0 -1
  224. package/dist/bundle/util/renderLogic/webComponent.d.ts +0 -8
  225. package/dist/bundle/util/renderLogic/webComponent.d.ts.map +0 -1
  226. package/dist/bundle/util/renderLogic/widgetRenderer.d.ts +0 -23
  227. package/dist/bundle/util/renderLogic/widgetRenderer.d.ts.map +0 -1
  228. package/dist/bundle/util/renderLogic.d.ts +0 -3
  229. package/dist/bundle/util/renderLogic.d.ts.map +0 -1
  230. package/dist/bundle/util/theme.d.ts +0 -3
  231. package/dist/bundle/util/theme.d.ts.map +0 -1
  232. package/dist/util/captchaType.d.ts.map +0 -1
  233. package/dist/util/captchaType.js.map +0 -1
  234. package/dist/util/renderLogic/captcha/captcha.d.ts.map +0 -1
  235. package/dist/util/renderLogic/captcha/captcha.js +0 -2
  236. package/dist/util/renderLogic/captcha/captcha.js.map +0 -1
  237. package/dist/util/renderLogic/captcha/captchaRenderer.d.ts +0 -8
  238. package/dist/util/renderLogic/captcha/captchaRenderer.d.ts.map +0 -1
  239. package/dist/util/renderLogic/captcha/captchaRenderer.js +0 -11
  240. package/dist/util/renderLogic/captcha/captchaRenderer.js.map +0 -1
  241. package/dist/util/renderLogic/captcha/components/frictionlessCaptcha.d.ts.map +0 -1
  242. package/dist/util/renderLogic/captcha/components/frictionlessCaptcha.js.map +0 -1
  243. package/dist/util/renderLogic/captcha/components/imageCaptcha.d.ts.map +0 -1
  244. package/dist/util/renderLogic/captcha/components/imageCaptcha.js.map +0 -1
  245. package/dist/util/renderLogic/captcha/components/powCaptcha.d.ts.map +0 -1
  246. package/dist/util/renderLogic/captcha/components/powCaptcha.js.map +0 -1
  247. package/dist/util/renderLogic/captcha/componentsList.d.ts +0 -6
  248. package/dist/util/renderLogic/captcha/componentsList.d.ts.map +0 -1
  249. package/dist/util/renderLogic/captcha/componentsList.js.map +0 -1
  250. package/dist/util/renderLogic/webComponent.d.ts +0 -8
  251. package/dist/util/renderLogic/webComponent.d.ts.map +0 -1
  252. package/dist/util/renderLogic/webComponent.js +0 -29
  253. package/dist/util/renderLogic/webComponent.js.map +0 -1
  254. package/dist/util/renderLogic/widgetRenderer.d.ts +0 -23
  255. package/dist/util/renderLogic/widgetRenderer.d.ts.map +0 -1
  256. package/dist/util/renderLogic/widgetRenderer.js +0 -52
  257. package/dist/util/renderLogic/widgetRenderer.js.map +0 -1
  258. package/dist/util/renderLogic.d.ts +0 -3
  259. package/dist/util/renderLogic.d.ts.map +0 -1
  260. package/dist/util/renderLogic.js +0 -14
  261. package/dist/util/renderLogic.js.map +0 -1
  262. package/dist/util/theme.d.ts +0 -3
  263. package/dist/util/theme.d.ts.map +0 -1
  264. package/dist/util/theme.js +0 -9
  265. package/dist/util/theme.js.map +0 -1
  266. /package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/{captchaType.d.ts → captcha/captchaType.d.ts} +0 -0
  267. /package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/{captchaType.js → captcha/captchaType.js} +0 -0
  268. /package/dist/bundle/util/{captchaType.d.ts → captcha/captchaType.d.ts} +0 -0
  269. /package/dist/util/{captchaType.d.ts → captcha/captchaType.d.ts} +0 -0
  270. /package/dist/util/{captchaType.js → captcha/captchaType.js} +0 -0
@@ -0,0 +1,1803 @@
1
+ import { z as A, n as se, o as f, a as p, b as V, s, c as Ar, u as we, d as rt, f as be, g as nt, e as Te, L as Pr, r as Et, l as ot } from "./translations-B0P9axY3.js";
2
+ import { C as Tt, A as c } from "./index-DxswvPTy.js";
3
+ import { g as Or } from "./_commonjsHelpers-DaMA6jEr.js";
4
+ function kr(e, t) {
5
+ for (var r = 0; r < t.length; r++) {
6
+ const n = t[r];
7
+ if (typeof n != "string" && !Array.isArray(n)) {
8
+ for (const o in n)
9
+ if (o !== "default" && !(o in e)) {
10
+ const a = Object.getOwnPropertyDescriptor(n, o);
11
+ a && Object.defineProperty(e, o, a.get ? a : {
12
+ enumerable: !0,
13
+ get: () => n[o]
14
+ });
15
+ }
16
+ }
17
+ }
18
+ return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }));
19
+ }
20
+ const Se = new Array(256), xt = new Array(256 * 256);
21
+ for (let e = 0; e < 256; e++)
22
+ Se[e] = e.toString(16).padStart(2, "0");
23
+ for (let e = 0; e < 256; e++) {
24
+ const t = e << 8;
25
+ for (let r = 0; r < 256; r++)
26
+ xt[t | r] = Se[e] + Se[r];
27
+ }
28
+ function $e(e, t) {
29
+ const r = e.length % 2 | 0, n = e.length - r | 0;
30
+ for (let o = 0; o < n; o += 2)
31
+ t += xt[e[o] << 8 | e[o + 1]];
32
+ return r && (t += Se[e[n] | 0]), t;
33
+ }
34
+ function Rr(e, t = -1, r = !0) {
35
+ const n = r ? "0x" : "";
36
+ if (e != null && e.length) {
37
+ if (t > 0) {
38
+ const o = Math.ceil(t / 8);
39
+ if (e.length > o)
40
+ return `${$e(e.subarray(0, o / 2), n)}…${$e(e.subarray(e.length - o / 2), "")}`;
41
+ }
42
+ } else return n;
43
+ return $e(e, n);
44
+ }
45
+ var _e;
46
+ (function(e) {
47
+ e.Free = "free", e.Professional = "professional", e.Enterprise = "enterprise";
48
+ })(_e || (_e = {}));
49
+ A.nativeEnum(_e);
50
+ const Ur = se(Tt), $r = Tt.frictionless, Dr = [], Mr = 0.5, Lr = 4, Nr = f({
51
+ captchaType: Ur.default($r),
52
+ domains: V(s()).default([...Dr]),
53
+ frictionlessThreshold: p().default(Mr),
54
+ powDifficulty: p().default(Lr)
55
+ });
56
+ var It = { exports: {} }, h = {};
57
+ var ce = Symbol.for("react.element"), Br = Symbol.for("react.portal"), jr = Symbol.for("react.fragment"), Fr = Symbol.for("react.strict_mode"), Vr = Symbol.for("react.profiler"), Hr = Symbol.for("react.provider"), Wr = Symbol.for("react.context"), Gr = Symbol.for("react.forward_ref"), qr = Symbol.for("react.suspense"), Kr = Symbol.for("react.memo"), zr = Symbol.for("react.lazy"), at = Symbol.iterator;
58
+ function Yr(e) {
59
+ return e === null || typeof e != "object" ? null : (e = at && e[at] || e["@@iterator"], typeof e == "function" ? e : null);
60
+ }
61
+ var At = { isMounted: function() {
62
+ return !1;
63
+ }, enqueueForceUpdate: function() {
64
+ }, enqueueReplaceState: function() {
65
+ }, enqueueSetState: function() {
66
+ } }, Pt = Object.assign, Ot = {};
67
+ function Z(e, t, r) {
68
+ this.props = e, this.context = t, this.refs = Ot, this.updater = r || At;
69
+ }
70
+ Z.prototype.isReactComponent = {};
71
+ Z.prototype.setState = function(e, t) {
72
+ if (typeof e != "object" && typeof e != "function" && e != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
73
+ this.updater.enqueueSetState(this, e, t, "setState");
74
+ };
75
+ Z.prototype.forceUpdate = function(e) {
76
+ this.updater.enqueueForceUpdate(this, e, "forceUpdate");
77
+ };
78
+ function kt() {
79
+ }
80
+ kt.prototype = Z.prototype;
81
+ function qe(e, t, r) {
82
+ this.props = e, this.context = t, this.refs = Ot, this.updater = r || At;
83
+ }
84
+ var Ke = qe.prototype = new kt();
85
+ Ke.constructor = qe;
86
+ Pt(Ke, Z.prototype);
87
+ Ke.isPureReactComponent = !0;
88
+ var it = Array.isArray, Rt = Object.prototype.hasOwnProperty, ze = { current: null }, Ut = { key: !0, ref: !0, __self: !0, __source: !0 };
89
+ function $t(e, t, r) {
90
+ var n, o = {}, a = null, i = null;
91
+ if (t != null) for (n in t.ref !== void 0 && (i = t.ref), t.key !== void 0 && (a = "" + t.key), t) Rt.call(t, n) && !Ut.hasOwnProperty(n) && (o[n] = t[n]);
92
+ var u = arguments.length - 2;
93
+ if (u === 1) o.children = r;
94
+ else if (1 < u) {
95
+ for (var l = Array(u), d = 0; d < u; d++) l[d] = arguments[d + 2];
96
+ o.children = l;
97
+ }
98
+ if (e && e.defaultProps) for (n in u = e.defaultProps, u) o[n] === void 0 && (o[n] = u[n]);
99
+ return { $$typeof: ce, type: e, key: a, ref: i, props: o, _owner: ze.current };
100
+ }
101
+ function Xr(e, t) {
102
+ return { $$typeof: ce, type: e.type, key: t, ref: e.ref, props: e.props, _owner: e._owner };
103
+ }
104
+ function Ye(e) {
105
+ return typeof e == "object" && e !== null && e.$$typeof === ce;
106
+ }
107
+ function Jr(e) {
108
+ var t = { "=": "=0", ":": "=2" };
109
+ return "$" + e.replace(/[=:]/g, function(r) {
110
+ return t[r];
111
+ });
112
+ }
113
+ var st = /\/+/g;
114
+ function De(e, t) {
115
+ return typeof e == "object" && e !== null && e.key != null ? Jr("" + e.key) : t.toString(36);
116
+ }
117
+ function he(e, t, r, n, o) {
118
+ var a = typeof e;
119
+ (a === "undefined" || a === "boolean") && (e = null);
120
+ var i = !1;
121
+ if (e === null) i = !0;
122
+ else switch (a) {
123
+ case "string":
124
+ case "number":
125
+ i = !0;
126
+ break;
127
+ case "object":
128
+ switch (e.$$typeof) {
129
+ case ce:
130
+ case Br:
131
+ i = !0;
132
+ }
133
+ }
134
+ if (i) return i = e, o = o(i), e = n === "" ? "." + De(i, 0) : n, it(o) ? (r = "", e != null && (r = e.replace(st, "$&/") + "/"), he(o, t, r, "", function(d) {
135
+ return d;
136
+ })) : o != null && (Ye(o) && (o = Xr(o, r + (!o.key || i && i.key === o.key ? "" : ("" + o.key).replace(st, "$&/") + "/") + e)), t.push(o)), 1;
137
+ if (i = 0, n = n === "" ? "." : n + ":", it(e)) for (var u = 0; u < e.length; u++) {
138
+ a = e[u];
139
+ var l = n + De(a, u);
140
+ i += he(a, t, r, l, o);
141
+ }
142
+ else if (l = Yr(e), typeof l == "function") for (e = l.call(e), u = 0; !(a = e.next()).done; ) a = a.value, l = n + De(a, u++), i += he(a, t, r, l, o);
143
+ else if (a === "object") throw t = String(e), Error("Objects are not valid as a React child (found: " + (t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead.");
144
+ return i;
145
+ }
146
+ function pe(e, t, r) {
147
+ if (e == null) return e;
148
+ var n = [], o = 0;
149
+ return he(e, n, "", "", function(a) {
150
+ return t.call(r, a, o++);
151
+ }), n;
152
+ }
153
+ function Zr(e) {
154
+ if (e._status === -1) {
155
+ var t = e._result;
156
+ t = t(), t.then(function(r) {
157
+ (e._status === 0 || e._status === -1) && (e._status = 1, e._result = r);
158
+ }, function(r) {
159
+ (e._status === 0 || e._status === -1) && (e._status = 2, e._result = r);
160
+ }), e._status === -1 && (e._status = 0, e._result = t);
161
+ }
162
+ if (e._status === 1) return e._result.default;
163
+ throw e._result;
164
+ }
165
+ var x = { current: null }, me = { transition: null }, Qr = { ReactCurrentDispatcher: x, ReactCurrentBatchConfig: me, ReactCurrentOwner: ze };
166
+ function Dt() {
167
+ throw Error("act(...) is not supported in production builds of React.");
168
+ }
169
+ h.Children = { map: pe, forEach: function(e, t, r) {
170
+ pe(e, function() {
171
+ t.apply(this, arguments);
172
+ }, r);
173
+ }, count: function(e) {
174
+ var t = 0;
175
+ return pe(e, function() {
176
+ t++;
177
+ }), t;
178
+ }, toArray: function(e) {
179
+ return pe(e, function(t) {
180
+ return t;
181
+ }) || [];
182
+ }, only: function(e) {
183
+ if (!Ye(e)) throw Error("React.Children.only expected to receive a single React element child.");
184
+ return e;
185
+ } };
186
+ h.Component = Z;
187
+ h.Fragment = jr;
188
+ h.Profiler = Vr;
189
+ h.PureComponent = qe;
190
+ h.StrictMode = Fr;
191
+ h.Suspense = qr;
192
+ h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Qr;
193
+ h.act = Dt;
194
+ h.cloneElement = function(e, t, r) {
195
+ if (e == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
196
+ var n = Pt({}, e.props), o = e.key, a = e.ref, i = e._owner;
197
+ if (t != null) {
198
+ if (t.ref !== void 0 && (a = t.ref, i = ze.current), t.key !== void 0 && (o = "" + t.key), e.type && e.type.defaultProps) var u = e.type.defaultProps;
199
+ for (l in t) Rt.call(t, l) && !Ut.hasOwnProperty(l) && (n[l] = t[l] === void 0 && u !== void 0 ? u[l] : t[l]);
200
+ }
201
+ var l = arguments.length - 2;
202
+ if (l === 1) n.children = r;
203
+ else if (1 < l) {
204
+ u = Array(l);
205
+ for (var d = 0; d < l; d++) u[d] = arguments[d + 2];
206
+ n.children = u;
207
+ }
208
+ return { $$typeof: ce, type: e.type, key: o, ref: a, props: n, _owner: i };
209
+ };
210
+ h.createContext = function(e) {
211
+ return e = { $$typeof: Wr, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, e.Provider = { $$typeof: Hr, _context: e }, e.Consumer = e;
212
+ };
213
+ h.createElement = $t;
214
+ h.createFactory = function(e) {
215
+ var t = $t.bind(null, e);
216
+ return t.type = e, t;
217
+ };
218
+ h.createRef = function() {
219
+ return { current: null };
220
+ };
221
+ h.forwardRef = function(e) {
222
+ return { $$typeof: Gr, render: e };
223
+ };
224
+ h.isValidElement = Ye;
225
+ h.lazy = function(e) {
226
+ return { $$typeof: zr, _payload: { _status: -1, _result: e }, _init: Zr };
227
+ };
228
+ h.memo = function(e, t) {
229
+ return { $$typeof: Kr, type: e, compare: t === void 0 ? null : t };
230
+ };
231
+ h.startTransition = function(e) {
232
+ var t = me.transition;
233
+ me.transition = {};
234
+ try {
235
+ e();
236
+ } finally {
237
+ me.transition = t;
238
+ }
239
+ };
240
+ h.unstable_act = Dt;
241
+ h.useCallback = function(e, t) {
242
+ return x.current.useCallback(e, t);
243
+ };
244
+ h.useContext = function(e) {
245
+ return x.current.useContext(e);
246
+ };
247
+ h.useDebugValue = function() {
248
+ };
249
+ h.useDeferredValue = function(e) {
250
+ return x.current.useDeferredValue(e);
251
+ };
252
+ h.useEffect = function(e, t) {
253
+ return x.current.useEffect(e, t);
254
+ };
255
+ h.useId = function() {
256
+ return x.current.useId();
257
+ };
258
+ h.useImperativeHandle = function(e, t, r) {
259
+ return x.current.useImperativeHandle(e, t, r);
260
+ };
261
+ h.useInsertionEffect = function(e, t) {
262
+ return x.current.useInsertionEffect(e, t);
263
+ };
264
+ h.useLayoutEffect = function(e, t) {
265
+ return x.current.useLayoutEffect(e, t);
266
+ };
267
+ h.useMemo = function(e, t) {
268
+ return x.current.useMemo(e, t);
269
+ };
270
+ h.useReducer = function(e, t, r) {
271
+ return x.current.useReducer(e, t, r);
272
+ };
273
+ h.useRef = function(e) {
274
+ return x.current.useRef(e);
275
+ };
276
+ h.useState = function(e) {
277
+ return x.current.useState(e);
278
+ };
279
+ h.useSyncExternalStore = function(e, t, r) {
280
+ return x.current.useSyncExternalStore(e, t, r);
281
+ };
282
+ h.useTransition = function() {
283
+ return x.current.useTransition();
284
+ };
285
+ h.version = "18.3.1";
286
+ It.exports = h;
287
+ var k = It.exports;
288
+ const en = /* @__PURE__ */ Or(k), ct = /* @__PURE__ */ kr({
289
+ __proto__: null,
290
+ default: en
291
+ }, [k]), Xe = 60 * 1e3, ue = Xe, Mt = ue * 2, Lt = ue * 3, Je = ue * 15, xe = Xe, Ie = xe * 2, Nt = xe * 3, Bt = Xe * 15;
292
+ var Ne;
293
+ (function(e) {
294
+ e.SelectAll = "SelectAll";
295
+ })(Ne || (Ne = {}));
296
+ var Be;
297
+ (function(e) {
298
+ e.Text = "text", e.Image = "image";
299
+ })(Be || (Be = {}));
300
+ var ut;
301
+ (function(e) {
302
+ e.Solved = "solved", e.Unsolved = "unsolved";
303
+ })(ut || (ut = {}));
304
+ var ft;
305
+ (function(e) {
306
+ e.pending = "Pending", e.approved = "Approved", e.disapproved = "Disapproved";
307
+ })(ft || (ft = {}));
308
+ var lt;
309
+ (function(e) {
310
+ e.active = "Active", e.inactive = "Inactive";
311
+ })(lt || (lt = {}));
312
+ var pt;
313
+ (function(e) {
314
+ e.provider = "Provider", e.dapp = "Dapp", e.any = "Any";
315
+ })(pt || (pt = {}));
316
+ p();
317
+ const tn = "___", rn = Ar((e) => {
318
+ const t = e.split(tn);
319
+ try {
320
+ return t.length === 4;
321
+ } catch {
322
+ return !1;
323
+ }
324
+ }), nn = f({
325
+ captchaId: we([s(), rt()]),
326
+ captchaContentId: we([s(), rt()]),
327
+ salt: s().min(34),
328
+ solution: p().array().optional(),
329
+ unlabelled: p().array().optional(),
330
+ timeLimit: p().optional()
331
+ }), jt = f({
332
+ hash: s(),
333
+ data: s(),
334
+ type: se(Be)
335
+ }), Ft = jt.extend({
336
+ hash: s()
337
+ }), on = Ft.extend({
338
+ label: s()
339
+ }), an = Ft.extend({
340
+ label: s().optional()
341
+ }), Vt = nn.extend({
342
+ items: V(jt),
343
+ target: s()
344
+ }), sn = Vt.extend({
345
+ solution: s().array().optional(),
346
+ unlabelled: s().array().optional()
347
+ }), cn = sn.extend({
348
+ solution: p().array().optional(),
349
+ unlabelled: p().array().optional()
350
+ }), un = V(Vt);
351
+ V(cn);
352
+ const Ht = f({
353
+ captchaId: s(),
354
+ captchaContentId: s(),
355
+ solution: s().array(),
356
+ salt: s().min(34)
357
+ });
358
+ V(Ht);
359
+ f({
360
+ items: V(an)
361
+ });
362
+ f({
363
+ items: V(on)
364
+ });
365
+ f({
366
+ captchas: un,
367
+ format: se(Ne)
368
+ });
369
+ f({
370
+ labels: V(s())
371
+ });
372
+ var fn = Object.defineProperty, ln = (e, t, r) => t in e ? fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t, r) => (ln(e, typeof t != "symbol" ? t + "" : t, r), r), Me = {
373
+ 0: 0,
374
+ 1: 1,
375
+ 2: 2,
376
+ 3: 3,
377
+ 4: 4,
378
+ 5: 5,
379
+ 6: 6,
380
+ 7: 7,
381
+ 8: 8,
382
+ 9: 9,
383
+ a: 10,
384
+ b: 11,
385
+ c: 12,
386
+ d: 13,
387
+ e: 14,
388
+ f: 15,
389
+ A: 10,
390
+ B: 11,
391
+ C: 12,
392
+ D: 13,
393
+ E: 14,
394
+ F: 15
395
+ };
396
+ function pn(e) {
397
+ const t = e.length % 2, r = (e[1] === "x" ? 2 : 0) + t, n = (e.length - r) / 2 + t, o = new Uint8Array(n);
398
+ t && (o[0] = 0 | Me[e[2]]);
399
+ for (let a = 0; a < n; ) {
400
+ const i = r + a * 2, u = Me[e[i]], l = Me[e[i + 1]];
401
+ o[t + a++] = u << 4 | l;
402
+ }
403
+ return o;
404
+ }
405
+ var ht = class extends Uint8Array {
406
+ constructor(e) {
407
+ super(e), dt(this, "i", 0), dt(this, "v"), this.v = new DataView(e);
408
+ }
409
+ }, K = (e) => (t) => e(t instanceof ht ? t : new ht(t instanceof Uint8Array ? t.buffer : typeof t == "string" ? pn(t).buffer : t)), Ae = (e) => {
410
+ const t = e.length;
411
+ let r = 0;
412
+ for (let o = 0; o < t; o++)
413
+ r += e[o].byteLength;
414
+ const n = new Uint8Array(r);
415
+ for (let o = 0, a = 0; o < t; o++) {
416
+ const i = e[o];
417
+ n.set(i, a), a += i.byteLength;
418
+ }
419
+ return n;
420
+ };
421
+ function mt(e, t) {
422
+ const r = Object.keys(e), n = r.length, o = {};
423
+ for (let a = 0; a < n; a++) {
424
+ const i = r[a];
425
+ o[i] = t(e[i], i);
426
+ }
427
+ return o;
428
+ }
429
+ var U = (e, t) => {
430
+ const r = [e, t];
431
+ return r.enc = e, r.dec = t, r;
432
+ }, Wt = (e, t) => (r) => e(t(r)), Gt = (e, t) => (r) => t(e(r)), dn = ([e, t], r, n) => U(Wt(e, r), Gt(t, n));
433
+ function hn(e, t) {
434
+ return K((r) => {
435
+ const n = r.v[t](r.i, !0);
436
+ return r.i += e, n;
437
+ });
438
+ }
439
+ function mn(e, t) {
440
+ return (r) => {
441
+ const n = new Uint8Array(e);
442
+ return new DataView(n.buffer)[t](0, r, !0), n;
443
+ };
444
+ }
445
+ function G(e, t, r) {
446
+ return U(mn(e, r), hn(e, t));
447
+ }
448
+ var X = G(1, "getUint8", "setUint8"), Ce = G(2, "getUint16", "setUint16"), re = G(4, "getUint32", "setUint32"), qt = G(8, "getBigUint64", "setBigUint64");
449
+ G(1, "getInt8", "setInt8");
450
+ G(2, "getInt16", "setInt16");
451
+ G(4, "getInt32", "setInt32");
452
+ G(8, "getBigInt64", "setBigInt64");
453
+ var Kt = (e) => {
454
+ const t = new Uint8Array(16), r = new DataView(t.buffer);
455
+ return r.setBigInt64(0, e, !0), r.setBigInt64(8, e >> 64n, !0), t;
456
+ }, zt = (e) => K((t) => {
457
+ const { v: r, i: n } = t, o = r.getBigUint64(n, !0), a = r[e](n + 8, !0);
458
+ return t.i += 16, a << 64n | o;
459
+ });
460
+ U(Kt, zt("getBigUint64"));
461
+ U(Kt, zt("getBigInt64"));
462
+ var Yt = (e) => {
463
+ const t = new Uint8Array(32), r = new DataView(t.buffer);
464
+ return r.setBigInt64(0, e, !0), r.setBigInt64(8, e >> 64n, !0), r.setBigInt64(16, e >> 128n, !0), r.setBigInt64(24, e >> 192n, !0), t;
465
+ }, Xt = (e) => K((t) => {
466
+ let r = t.v.getBigUint64(t.i, !0);
467
+ return t.i += 8, r |= t.v.getBigUint64(t.i, !0) << 64n, t.i += 8, r |= t.v.getBigUint64(t.i, !0) << 128n, t.i += 8, r |= t.v[e](t.i, !0) << 192n, t.i += 8, r;
468
+ });
469
+ U(Yt, Xt("getBigUint64"));
470
+ U(Yt, Xt("getBigInt64"));
471
+ var Jt = dn(X, (e) => e ? 1 : 0, Boolean), vn = [X[1], Ce[1], re[1]], yn = K((e) => {
472
+ const t = e[e.i], r = t & 3;
473
+ if (r < 3)
474
+ return vn[r](e) >>> 2;
475
+ const n = (t >>> 2) + 4;
476
+ e.i++;
477
+ let o = 0n;
478
+ const a = n / 8 | 0;
479
+ let i = 0n;
480
+ for (let l = 0; l < a; l++)
481
+ o = qt[1](e) << i | o, i += 64n;
482
+ let u = n % 8;
483
+ return u > 3 && (o = BigInt(re[1](e)) << i | o, i += 32n, u -= 4), u > 1 && (o = BigInt(Ce[1](e)) << i | o, i += 16n, u -= 2), u && (o = BigInt(X[1](e)) << i | o), o;
484
+ }), gn = 1n << 56n, wn = 1 << 24, bn = 256, Sn = 4294967295n, _n = 64, Cn = 16384, En = 1 << 30, Tn = (e) => {
485
+ if (e < 0)
486
+ throw new Error(`Wrong compact input (${e})`);
487
+ const t = Number(e) << 2;
488
+ if (e < _n)
489
+ return X[0](t);
490
+ if (e < Cn)
491
+ return Ce[0](t | 1);
492
+ if (e < En)
493
+ return re[0](t | 2);
494
+ let r = [new Uint8Array(1)], n = BigInt(e);
495
+ for (; n >= gn; )
496
+ r.push(qt[0](n)), n >>= 64n;
497
+ n >= wn && (r.push(re[0](Number(n & Sn))), n >>= 32n);
498
+ let o = Number(n);
499
+ o >= bn && (r.push(Ce[0](o)), o >>= 16), o && r.push(X[0](o));
500
+ const a = Ae(r);
501
+ return a[0] = a.length - 5 << 2 | 3, a;
502
+ }, Zt = U(Tn, yn), xn = new TextEncoder(), In = (e) => {
503
+ const t = xn.encode(e);
504
+ return Ae([Zt.enc(t.length), t]);
505
+ }, An = new TextDecoder(), Pn = K((e) => {
506
+ let t = Zt.dec(e);
507
+ const r = new DataView(e.buffer, e.i, t);
508
+ return e.i += t, An.decode(r);
509
+ }), L = U(In, Pn), On = () => {
510
+ }, kn = new Uint8Array(0);
511
+ U(() => kn, On);
512
+ var Qt = (e) => K((t) => {
513
+ const r = X.dec(t);
514
+ if (r !== 0)
515
+ return e === Jt[1] ? r === 1 : e(t);
516
+ }), er = (e) => (t) => {
517
+ const r = new Uint8Array(1);
518
+ return t === void 0 ? (r[0] = 0, r) : (r[0] = 1, e === Jt[0] ? (r[0] = t ? 1 : 2, r) : Ae([r, e(t)]));
519
+ }, N = (e) => U(er(e[0]), Qt(e[1]));
520
+ N.enc = er;
521
+ N.dec = Qt;
522
+ var tr = (...e) => K((t) => e.map((r) => r(t))), rr = (...e) => (t) => Ae(e.map((r, n) => r(t[n]))), Pe = (...e) => U(rr(...e.map(([t]) => t)), tr(...e.map(([, t]) => t)));
523
+ Pe.enc = rr;
524
+ Pe.dec = tr;
525
+ var nr = (e) => {
526
+ const t = Object.keys(e);
527
+ return Wt(Pe.enc(...Object.values(e)), (r) => t.map((n) => r[n]));
528
+ }, or = (e) => {
529
+ const t = Object.keys(e);
530
+ return Gt(Pe.dec(...Object.values(e)), (r) => Object.fromEntries(r.map((n, o) => [t[o], n])));
531
+ }, z = (e) => U(nr(mt(e, (t) => t[0])), or(mt(e, (t) => t[1])));
532
+ z.enc = nr;
533
+ z.dec = or;
534
+ const Rn = f({
535
+ [c.requestHash]: s()
536
+ });
537
+ f({
538
+ [c.challenge]: s()
539
+ });
540
+ const Un = f({
541
+ [c.timestamp]: s()
542
+ }), vt = f({
543
+ [c.challenge]: s().optional(),
544
+ [c.requestHash]: s().optional(),
545
+ [c.timestamp]: s().optional()
546
+ });
547
+ f({
548
+ [c.commitmentId]: s().optional(),
549
+ [c.providerUrl]: s().optional(),
550
+ [c.dapp]: s(),
551
+ [c.user]: s(),
552
+ [c.challenge]: s().optional(),
553
+ [c.nonce]: p().optional(),
554
+ [c.timestamp]: s(),
555
+ [c.signature]: f({
556
+ [c.provider]: vt,
557
+ [c.user]: vt
558
+ })
559
+ });
560
+ const $n = z({
561
+ [c.commitmentId]: N(L),
562
+ [c.providerUrl]: N(L),
563
+ [c.dapp]: L,
564
+ [c.user]: L,
565
+ [c.challenge]: N(L),
566
+ [c.nonce]: N(re),
567
+ [c.timestamp]: L,
568
+ [c.signature]: z({
569
+ [c.provider]: z({
570
+ [c.challenge]: N(L),
571
+ [c.requestHash]: N(L)
572
+ }),
573
+ [c.user]: z({
574
+ [c.timestamp]: N(L),
575
+ [c.requestHash]: N(L)
576
+ })
577
+ })
578
+ }), ar = s().startsWith("0x"), Go = (e) => {
579
+ var t, r, n, o;
580
+ return Rr($n.enc({
581
+ [c.commitmentId]: void 0,
582
+ [c.providerUrl]: void 0,
583
+ [c.challenge]: void 0,
584
+ [c.nonce]: void 0,
585
+ ...e,
586
+ signature: {
587
+ provider: {
588
+ challenge: ((t = e.signature.provider) == null ? void 0 : t.challenge) || void 0,
589
+ requestHash: ((r = e.signature.provider) == null ? void 0 : r.requestHash) || void 0
590
+ },
591
+ user: {
592
+ timestamp: ((n = e.signature.user) == null ? void 0 : n.timestamp) || void 0,
593
+ requestHash: ((o = e.signature.user) == null ? void 0 : o.requestHash) || void 0
594
+ }
595
+ }
596
+ }));
597
+ };
598
+ var $;
599
+ (function(e) {
600
+ e.GetImageCaptchaChallenge = "/v1/prosopo/provider/client/captcha/image", e.GetPowCaptchaChallenge = "/v1/prosopo/provider/client/captcha/pow", e.GetFrictionlessCaptchaChallenge = "/v1/prosopo/provider/client/captcha/frictionless", e.SubmitImageCaptchaSolution = "/v1/prosopo/provider/client/solution", e.SubmitPowCaptchaSolution = "/v1/prosopo/provider/client/pow/solution", e.VerifyPowCaptchaSolution = "/v1/prosopo/provider/client/pow/verify", e.VerifyImageCaptchaSolutionDapp = "/v1/prosopo/provider/client/image/dapp/verify", e.GetProviderStatus = "/v1/prosopo/provider/client/status", e.SubmitUserEvents = "/v1/prosopo/provider/client/events";
601
+ })($ || ($ = {}));
602
+ var je;
603
+ (function(e) {
604
+ e.GetProviderDetails = "/v1/prosopo/provider/public/details";
605
+ })(je || (je = {}));
606
+ var te;
607
+ (function(e) {
608
+ e.SiteKeyRegister = "/v1/prosopo/provider/admin/sitekey/register", e.UpdateDetectorKey = "/v1/prosopo/provider/admin/detector/update", e.RemoveDetectorKey = "/v1/prosopo/provider/admin/detector/remove";
609
+ })(te || (te = {}));
610
+ const ir = {
611
+ [$.GetImageCaptchaChallenge]: { windowMs: 6e4, limit: 30 },
612
+ [$.GetPowCaptchaChallenge]: { windowMs: 6e4, limit: 60 },
613
+ [$.SubmitImageCaptchaSolution]: { windowMs: 6e4, limit: 60 },
614
+ [$.GetFrictionlessCaptchaChallenge]: {
615
+ windowMs: 6e4,
616
+ limit: 60
617
+ },
618
+ [$.SubmitPowCaptchaSolution]: { windowMs: 6e4, limit: 60 },
619
+ [$.VerifyPowCaptchaSolution]: { windowMs: 6e4, limit: 60 },
620
+ [$.VerifyImageCaptchaSolutionDapp]: {
621
+ windowMs: 6e4,
622
+ limit: 60
623
+ },
624
+ [$.GetProviderStatus]: { windowMs: 6e4, limit: 60 },
625
+ [je.GetProviderDetails]: { windowMs: 6e4, limit: 60 },
626
+ [$.SubmitUserEvents]: { windowMs: 6e4, limit: 60 },
627
+ [te.SiteKeyRegister]: { windowMs: 6e4, limit: 5 },
628
+ [te.UpdateDetectorKey]: { windowMs: 6e4, limit: 5 },
629
+ [te.RemoveDetectorKey]: { windowMs: 6e4, limit: 5 }
630
+ }, Dn = (e) => f(Object.entries(e).reduce((t, [r, n]) => {
631
+ const o = r;
632
+ return t[o] = f({
633
+ windowMs: nt.number().optional().default(n.windowMs),
634
+ limit: nt.number().optional().default(n.limit)
635
+ }), t;
636
+ }, {})), Mn = Dn(ir);
637
+ f({
638
+ [c.user]: s(),
639
+ [c.dapp]: s(),
640
+ [c.datasetId]: we([s(), V(p())]),
641
+ [c.sessionId]: s().optional()
642
+ });
643
+ f({
644
+ [c.user]: s(),
645
+ [c.dapp]: s(),
646
+ [c.captchas]: V(Ht),
647
+ [c.requestHash]: s(),
648
+ [c.timestamp]: s(),
649
+ [c.signature]: f({
650
+ [c.user]: Un,
651
+ [c.provider]: Rn
652
+ })
653
+ });
654
+ f({
655
+ [c.token]: ar,
656
+ [c.dappSignature]: s(),
657
+ [c.maxVerifiedTime]: p().optional().default(Je)
658
+ });
659
+ f({
660
+ [c.token]: ar,
661
+ [c.dappSignature]: s(),
662
+ [c.verifiedTimeout]: p().optional().default(Ie)
663
+ });
664
+ f({
665
+ [c.user]: s(),
666
+ [c.dapp]: s(),
667
+ [c.sessionId]: s().optional()
668
+ });
669
+ const qo = f({
670
+ [c.challenge]: rn,
671
+ [c.difficulty]: p(),
672
+ [c.signature]: f({
673
+ [c.user]: f({
674
+ [c.timestamp]: s()
675
+ }),
676
+ [c.provider]: f({
677
+ [c.challenge]: s()
678
+ })
679
+ }),
680
+ [c.user]: s(),
681
+ [c.dapp]: s(),
682
+ [c.nonce]: p(),
683
+ [c.verifiedTimeout]: p().optional().default(Ie)
684
+ });
685
+ f({
686
+ [c.dapp]: s(),
687
+ [c.token]: s(),
688
+ [c.user]: s()
689
+ });
690
+ f({
691
+ [c.siteKey]: s()
692
+ });
693
+ f({
694
+ [c.siteKey]: s(),
695
+ [c.tier]: se(_e),
696
+ [c.settings]: Nr.optional()
697
+ });
698
+ const Ko = f({
699
+ [c.detectorKey]: s()
700
+ }), sr = f({
701
+ solved: f({
702
+ count: p().positive()
703
+ }).optional().default({ count: 1 }),
704
+ unsolved: f({
705
+ count: p().nonnegative()
706
+ }).optional().default({ count: 0 })
707
+ });
708
+ var Fe;
709
+ (function(e) {
710
+ e.ipAddress = "ipAddress", e.userAccount = "userAccount";
711
+ })(Fe || (Fe = {}));
712
+ const Ln = se(Fe);
713
+ f({
714
+ global: be(),
715
+ hardBlock: be(),
716
+ type: Ln,
717
+ dappAccount: s().optional(),
718
+ captchaConfig: sr.optional()
719
+ });
720
+ f({
721
+ [c.dapp]: s()
722
+ });
723
+ const Nn = f({
724
+ PENALTY_OLD_TIMESTAMP: p().positive().optional().default(0.2),
725
+ PENALTY_ACCESS_RULE: p().positive().optional().default(0.5)
726
+ }), yt = Te([
727
+ "trace",
728
+ "debug",
729
+ "info",
730
+ "warn",
731
+ "error",
732
+ "fatal",
733
+ "log"
734
+ ]);
735
+ Te([
736
+ "mongo",
737
+ "mongoMemory",
738
+ "provider",
739
+ "client",
740
+ "captcha"
741
+ ]);
742
+ const Ve = Te([
743
+ "development",
744
+ "staging",
745
+ "production"
746
+ ]), Bn = Et(Ve, f({
747
+ type: s(),
748
+ endpoint: s(),
749
+ dbname: s().default("prosopo"),
750
+ authSource: s().default("admin")
751
+ })), jn = f({
752
+ logLevel: yt.optional().default(yt.enum.info),
753
+ defaultEnvironment: Ve.default(Ve.Values.production),
754
+ account: f({
755
+ address: s().optional(),
756
+ secret: s().optional(),
757
+ password: s().optional()
758
+ })
759
+ });
760
+ A.object({
761
+ encoded: A.string(),
762
+ encoding: A.object({
763
+ content: A.array(A.string()),
764
+ type: A.array(A.string()),
765
+ version: A.string()
766
+ }),
767
+ address: A.string(),
768
+ meta: A.object({
769
+ genesisHash: A.string(),
770
+ name: A.string(),
771
+ whenCreated: A.number()
772
+ })
773
+ });
774
+ const cr = jn.merge(f({
775
+ database: Bn.optional(),
776
+ devOnlyWatchEvents: be().optional()
777
+ })), Fn = f({
778
+ baseURL: s().url(),
779
+ port: p().optional().default(9229)
780
+ });
781
+ f({
782
+ requiredNumberOfSolutions: p().positive().min(2),
783
+ solutionWinningPercentage: p().positive().max(100),
784
+ captchaBlockRecency: p().positive().min(2)
785
+ });
786
+ const ur = cr.merge(f({
787
+ userAccountAddress: s().optional(),
788
+ web2: be().optional().default(!0),
789
+ solutionThreshold: p().positive().max(100).optional().default(80),
790
+ dappName: s().optional().default("ProsopoClientDapp"),
791
+ serverUrl: s().optional()
792
+ })), fr = {
793
+ challengeTimeout: ue,
794
+ solutionTimeout: Mt,
795
+ verifiedTimeout: Lt,
796
+ cachedTimeout: Je
797
+ }, lr = {
798
+ challengeTimeout: Ie,
799
+ solutionTimeout: xe,
800
+ cachedTimeout: Nt
801
+ }, pr = {
802
+ maxVerifiedTime: Bt
803
+ }, Ze = {
804
+ image: fr,
805
+ pow: lr,
806
+ contract: pr
807
+ }, dr = f({
808
+ image: f({
809
+ challengeTimeout: p().positive().optional().default(ue),
810
+ solutionTimeout: p().positive().optional().default(Mt),
811
+ verifiedTimeout: p().positive().optional().default(Lt),
812
+ cachedTimeout: p().positive().optional().default(Je)
813
+ }).default(fr),
814
+ pow: f({
815
+ verifiedTimeout: p().positive().optional().default(Ie),
816
+ solutionTimeout: p().positive().optional().default(xe),
817
+ cachedTimeout: p().positive().optional().default(Nt)
818
+ }).default(lr),
819
+ contract: f({
820
+ maxVerifiedTime: p().positive().optional().default(Bt)
821
+ }).default(pr)
822
+ }).default(Ze);
823
+ ur.merge(f({
824
+ serverUrl: s().url().optional(),
825
+ timeouts: dr.optional().default(Ze)
826
+ }));
827
+ f({
828
+ area: f({
829
+ width: p().positive(),
830
+ height: p().positive()
831
+ }),
832
+ offsetParameter: p().positive(),
833
+ multiplier: p().positive(),
834
+ fontSizeFactor: p().positive(),
835
+ maxShadowBlur: p().positive(),
836
+ numberOfRounds: p().positive(),
837
+ seed: p().positive()
838
+ });
839
+ const Vn = we([ot("light"), ot("dark")]);
840
+ var ne;
841
+ (function(e) {
842
+ e.visible = "visible", e.invisible = "invisible";
843
+ })(ne || (ne = {}));
844
+ const Hn = Te([ne.visible, ne.invisible]).optional(), zo = ur.and(f({
845
+ theme: Vn.optional().default("light"),
846
+ captchas: dr.optional().default(Ze),
847
+ language: Pr.optional(),
848
+ mode: Hn.optional().default(ne.visible)
849
+ }));
850
+ cr.merge(f({
851
+ captchas: sr.optional().default({
852
+ solved: { count: 1 },
853
+ unsolved: { count: 0 }
854
+ }),
855
+ penalties: Nn,
856
+ scheduledTasks: f({
857
+ captchaScheduler: f({
858
+ schedule: s().optional()
859
+ }).optional(),
860
+ clientListScheduler: f({
861
+ schedule: s().optional()
862
+ }).optional()
863
+ }).optional(),
864
+ server: Fn,
865
+ mongoEventsUri: s().optional(),
866
+ mongoCaptchaUri: s().optional(),
867
+ mongoClientUri: s().optional(),
868
+ rateLimits: Mn.default(ir),
869
+ proxyCount: p().optional().default(0),
870
+ lRules: Et(s(), p()).optional(),
871
+ authAccount: f({
872
+ address: s().optional(),
873
+ secret: s().optional(),
874
+ password: s().optional()
875
+ })
876
+ }));
877
+ var hr = { exports: {} }, Oe = {};
878
+ var Wn = k, Gn = Symbol.for("react.element"), qn = Symbol.for("react.fragment"), Kn = Object.prototype.hasOwnProperty, zn = Wn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, Yn = { key: !0, ref: !0, __self: !0, __source: !0 };
879
+ function mr(e, t, r) {
880
+ var n, o = {}, a = null, i = null;
881
+ r !== void 0 && (a = "" + r), t.key !== void 0 && (a = "" + t.key), t.ref !== void 0 && (i = t.ref);
882
+ for (n in t) Kn.call(t, n) && !Yn.hasOwnProperty(n) && (o[n] = t[n]);
883
+ if (e && e.defaultProps) for (n in t = e.defaultProps, t) o[n] === void 0 && (o[n] = t[n]);
884
+ return { $$typeof: Gn, type: e, key: a, ref: i, props: o, _owner: zn.current };
885
+ }
886
+ Oe.Fragment = qn;
887
+ Oe.jsx = mr;
888
+ Oe.jsxs = mr;
889
+ hr.exports = Oe;
890
+ var Yo = hr.exports;
891
+ function Xn(e) {
892
+ if (e.sheet)
893
+ return e.sheet;
894
+ for (var t = 0; t < document.styleSheets.length; t++)
895
+ if (document.styleSheets[t].ownerNode === e)
896
+ return document.styleSheets[t];
897
+ }
898
+ function Jn(e) {
899
+ var t = document.createElement("style");
900
+ return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
901
+ }
902
+ var Zn = /* @__PURE__ */ function() {
903
+ function e(r) {
904
+ var n = this;
905
+ this._insertTag = function(o) {
906
+ var a;
907
+ n.tags.length === 0 ? n.insertionPoint ? a = n.insertionPoint.nextSibling : n.prepend ? a = n.container.firstChild : a = n.before : a = n.tags[n.tags.length - 1].nextSibling, n.container.insertBefore(o, a), n.tags.push(o);
908
+ }, this.isSpeedy = r.speedy === void 0 ? !0 : r.speedy, this.tags = [], this.ctr = 0, this.nonce = r.nonce, this.key = r.key, this.container = r.container, this.prepend = r.prepend, this.insertionPoint = r.insertionPoint, this.before = null;
909
+ }
910
+ var t = e.prototype;
911
+ return t.hydrate = function(n) {
912
+ n.forEach(this._insertTag);
913
+ }, t.insert = function(n) {
914
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Jn(this));
915
+ var o = this.tags[this.tags.length - 1];
916
+ if (this.isSpeedy) {
917
+ var a = Xn(o);
918
+ try {
919
+ a.insertRule(n, a.cssRules.length);
920
+ } catch {
921
+ }
922
+ } else
923
+ o.appendChild(document.createTextNode(n));
924
+ this.ctr++;
925
+ }, t.flush = function() {
926
+ this.tags.forEach(function(n) {
927
+ var o;
928
+ return (o = n.parentNode) == null ? void 0 : o.removeChild(n);
929
+ }), this.tags = [], this.ctr = 0;
930
+ }, e;
931
+ }(), T = "-ms-", Ee = "-moz-", m = "-webkit-", vr = "comm", Qe = "rule", et = "decl", Qn = "@import", yr = "@keyframes", eo = "@layer", to = Math.abs, ke = String.fromCharCode, ro = Object.assign;
932
+ function no(e, t) {
933
+ return C(e, 0) ^ 45 ? (((t << 2 ^ C(e, 0)) << 2 ^ C(e, 1)) << 2 ^ C(e, 2)) << 2 ^ C(e, 3) : 0;
934
+ }
935
+ function gr(e) {
936
+ return e.trim();
937
+ }
938
+ function oo(e, t) {
939
+ return (e = t.exec(e)) ? e[0] : e;
940
+ }
941
+ function v(e, t, r) {
942
+ return e.replace(t, r);
943
+ }
944
+ function He(e, t) {
945
+ return e.indexOf(t);
946
+ }
947
+ function C(e, t) {
948
+ return e.charCodeAt(t) | 0;
949
+ }
950
+ function oe(e, t, r) {
951
+ return e.slice(t, r);
952
+ }
953
+ function B(e) {
954
+ return e.length;
955
+ }
956
+ function tt(e) {
957
+ return e.length;
958
+ }
959
+ function de(e, t) {
960
+ return t.push(e), e;
961
+ }
962
+ function ao(e, t) {
963
+ return e.map(t).join("");
964
+ }
965
+ var Re = 1, J = 1, wr = 0, P = 0, _ = 0, Q = "";
966
+ function Ue(e, t, r, n, o, a, i) {
967
+ return { value: e, root: t, parent: r, type: n, props: o, children: a, line: Re, column: J, length: i, return: "" };
968
+ }
969
+ function ee(e, t) {
970
+ return ro(Ue("", null, null, "", null, null, 0), e, { length: -e.length }, t);
971
+ }
972
+ function io() {
973
+ return _;
974
+ }
975
+ function so() {
976
+ return _ = P > 0 ? C(Q, --P) : 0, J--, _ === 10 && (J = 1, Re--), _;
977
+ }
978
+ function R() {
979
+ return _ = P < wr ? C(Q, P++) : 0, J++, _ === 10 && (J = 1, Re++), _;
980
+ }
981
+ function F() {
982
+ return C(Q, P);
983
+ }
984
+ function ve() {
985
+ return P;
986
+ }
987
+ function fe(e, t) {
988
+ return oe(Q, e, t);
989
+ }
990
+ function ae(e) {
991
+ switch (e) {
992
+ // \0 \t \n \r \s whitespace token
993
+ case 0:
994
+ case 9:
995
+ case 10:
996
+ case 13:
997
+ case 32:
998
+ return 5;
999
+ // ! + , / > @ ~ isolate token
1000
+ case 33:
1001
+ case 43:
1002
+ case 44:
1003
+ case 47:
1004
+ case 62:
1005
+ case 64:
1006
+ case 126:
1007
+ // ; { } breakpoint token
1008
+ case 59:
1009
+ case 123:
1010
+ case 125:
1011
+ return 4;
1012
+ // : accompanied token
1013
+ case 58:
1014
+ return 3;
1015
+ // " ' ( [ opening delimit token
1016
+ case 34:
1017
+ case 39:
1018
+ case 40:
1019
+ case 91:
1020
+ return 2;
1021
+ // ) ] closing delimit token
1022
+ case 41:
1023
+ case 93:
1024
+ return 1;
1025
+ }
1026
+ return 0;
1027
+ }
1028
+ function br(e) {
1029
+ return Re = J = 1, wr = B(Q = e), P = 0, [];
1030
+ }
1031
+ function Sr(e) {
1032
+ return Q = "", e;
1033
+ }
1034
+ function ye(e) {
1035
+ return gr(fe(P - 1, We(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1036
+ }
1037
+ function co(e) {
1038
+ for (; (_ = F()) && _ < 33; )
1039
+ R();
1040
+ return ae(e) > 2 || ae(_) > 3 ? "" : " ";
1041
+ }
1042
+ function uo(e, t) {
1043
+ for (; --t && R() && !(_ < 48 || _ > 102 || _ > 57 && _ < 65 || _ > 70 && _ < 97); )
1044
+ ;
1045
+ return fe(e, ve() + (t < 6 && F() == 32 && R() == 32));
1046
+ }
1047
+ function We(e) {
1048
+ for (; R(); )
1049
+ switch (_) {
1050
+ // ] ) " '
1051
+ case e:
1052
+ return P;
1053
+ // " '
1054
+ case 34:
1055
+ case 39:
1056
+ e !== 34 && e !== 39 && We(_);
1057
+ break;
1058
+ // (
1059
+ case 40:
1060
+ e === 41 && We(e);
1061
+ break;
1062
+ // \
1063
+ case 92:
1064
+ R();
1065
+ break;
1066
+ }
1067
+ return P;
1068
+ }
1069
+ function fo(e, t) {
1070
+ for (; R() && e + _ !== 57; )
1071
+ if (e + _ === 84 && F() === 47)
1072
+ break;
1073
+ return "/*" + fe(t, P - 1) + "*" + ke(e === 47 ? e : R());
1074
+ }
1075
+ function lo(e) {
1076
+ for (; !ae(F()); )
1077
+ R();
1078
+ return fe(e, P);
1079
+ }
1080
+ function po(e) {
1081
+ return Sr(ge("", null, null, null, [""], e = br(e), 0, [0], e));
1082
+ }
1083
+ function ge(e, t, r, n, o, a, i, u, l) {
1084
+ for (var d = 0, g = 0, b = i, H = 0, W = 0, O = 0, w = 1, I = 1, S = 1, E = 0, D = "", le = o, q = a, M = n, y = D; I; )
1085
+ switch (O = E, E = R()) {
1086
+ // (
1087
+ case 40:
1088
+ if (O != 108 && C(y, b - 1) == 58) {
1089
+ He(y += v(ye(E), "&", "&\f"), "&\f") != -1 && (S = -1);
1090
+ break;
1091
+ }
1092
+ // " ' [
1093
+ case 34:
1094
+ case 39:
1095
+ case 91:
1096
+ y += ye(E);
1097
+ break;
1098
+ // \t \n \r \s
1099
+ case 9:
1100
+ case 10:
1101
+ case 13:
1102
+ case 32:
1103
+ y += co(O);
1104
+ break;
1105
+ // \
1106
+ case 92:
1107
+ y += uo(ve() - 1, 7);
1108
+ continue;
1109
+ // /
1110
+ case 47:
1111
+ switch (F()) {
1112
+ case 42:
1113
+ case 47:
1114
+ de(ho(fo(R(), ve()), t, r), l);
1115
+ break;
1116
+ default:
1117
+ y += "/";
1118
+ }
1119
+ break;
1120
+ // {
1121
+ case 123 * w:
1122
+ u[d++] = B(y) * S;
1123
+ // } ; \0
1124
+ case 125 * w:
1125
+ case 59:
1126
+ case 0:
1127
+ switch (E) {
1128
+ // \0 }
1129
+ case 0:
1130
+ case 125:
1131
+ I = 0;
1132
+ // ;
1133
+ case 59 + g:
1134
+ S == -1 && (y = v(y, /\f/g, "")), W > 0 && B(y) - b && de(W > 32 ? wt(y + ";", n, r, b - 1) : wt(v(y, " ", "") + ";", n, r, b - 2), l);
1135
+ break;
1136
+ // @ ;
1137
+ case 59:
1138
+ y += ";";
1139
+ // { rule/at-rule
1140
+ default:
1141
+ if (de(M = gt(y, t, r, d, g, o, u, D, le = [], q = [], b), a), E === 123)
1142
+ if (g === 0)
1143
+ ge(y, t, M, M, le, a, b, u, q);
1144
+ else
1145
+ switch (H === 99 && C(y, 3) === 110 ? 100 : H) {
1146
+ // d l m s
1147
+ case 100:
1148
+ case 108:
1149
+ case 109:
1150
+ case 115:
1151
+ ge(e, M, M, n && de(gt(e, M, M, 0, 0, o, u, D, o, le = [], b), q), o, q, b, u, n ? le : q);
1152
+ break;
1153
+ default:
1154
+ ge(y, M, M, M, [""], q, 0, u, q);
1155
+ }
1156
+ }
1157
+ d = g = W = 0, w = S = 1, D = y = "", b = i;
1158
+ break;
1159
+ // :
1160
+ case 58:
1161
+ b = 1 + B(y), W = O;
1162
+ default:
1163
+ if (w < 1) {
1164
+ if (E == 123)
1165
+ --w;
1166
+ else if (E == 125 && w++ == 0 && so() == 125)
1167
+ continue;
1168
+ }
1169
+ switch (y += ke(E), E * w) {
1170
+ // &
1171
+ case 38:
1172
+ S = g > 0 ? 1 : (y += "\f", -1);
1173
+ break;
1174
+ // ,
1175
+ case 44:
1176
+ u[d++] = (B(y) - 1) * S, S = 1;
1177
+ break;
1178
+ // @
1179
+ case 64:
1180
+ F() === 45 && (y += ye(R())), H = F(), g = b = B(D = y += lo(ve())), E++;
1181
+ break;
1182
+ // -
1183
+ case 45:
1184
+ O === 45 && B(y) == 2 && (w = 0);
1185
+ }
1186
+ }
1187
+ return a;
1188
+ }
1189
+ function gt(e, t, r, n, o, a, i, u, l, d, g) {
1190
+ for (var b = o - 1, H = o === 0 ? a : [""], W = tt(H), O = 0, w = 0, I = 0; O < n; ++O)
1191
+ for (var S = 0, E = oe(e, b + 1, b = to(w = i[O])), D = e; S < W; ++S)
1192
+ (D = gr(w > 0 ? H[S] + " " + E : v(E, /&\f/g, H[S]))) && (l[I++] = D);
1193
+ return Ue(e, t, r, o === 0 ? Qe : u, l, d, g);
1194
+ }
1195
+ function ho(e, t, r) {
1196
+ return Ue(e, t, r, vr, ke(io()), oe(e, 2, -2), 0);
1197
+ }
1198
+ function wt(e, t, r, n) {
1199
+ return Ue(e, t, r, et, oe(e, 0, n), oe(e, n + 1, -1), n);
1200
+ }
1201
+ function Y(e, t) {
1202
+ for (var r = "", n = tt(e), o = 0; o < n; o++)
1203
+ r += t(e[o], o, e, t) || "";
1204
+ return r;
1205
+ }
1206
+ function mo(e, t, r, n) {
1207
+ switch (e.type) {
1208
+ case eo:
1209
+ if (e.children.length) break;
1210
+ case Qn:
1211
+ case et:
1212
+ return e.return = e.return || e.value;
1213
+ case vr:
1214
+ return "";
1215
+ case yr:
1216
+ return e.return = e.value + "{" + Y(e.children, n) + "}";
1217
+ case Qe:
1218
+ e.value = e.props.join(",");
1219
+ }
1220
+ return B(r = Y(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
1221
+ }
1222
+ function vo(e) {
1223
+ var t = tt(e);
1224
+ return function(r, n, o, a) {
1225
+ for (var i = "", u = 0; u < t; u++)
1226
+ i += e[u](r, n, o, a) || "";
1227
+ return i;
1228
+ };
1229
+ }
1230
+ function yo(e) {
1231
+ return function(t) {
1232
+ t.root || (t = t.return) && e(t);
1233
+ };
1234
+ }
1235
+ function go(e) {
1236
+ var t = /* @__PURE__ */ Object.create(null);
1237
+ return function(r) {
1238
+ return t[r] === void 0 && (t[r] = e(r)), t[r];
1239
+ };
1240
+ }
1241
+ var wo = function(t, r, n) {
1242
+ for (var o = 0, a = 0; o = a, a = F(), o === 38 && a === 12 && (r[n] = 1), !ae(a); )
1243
+ R();
1244
+ return fe(t, P);
1245
+ }, bo = function(t, r) {
1246
+ var n = -1, o = 44;
1247
+ do
1248
+ switch (ae(o)) {
1249
+ case 0:
1250
+ o === 38 && F() === 12 && (r[n] = 1), t[n] += wo(P - 1, r, n);
1251
+ break;
1252
+ case 2:
1253
+ t[n] += ye(o);
1254
+ break;
1255
+ case 4:
1256
+ if (o === 44) {
1257
+ t[++n] = F() === 58 ? "&\f" : "", r[n] = t[n].length;
1258
+ break;
1259
+ }
1260
+ // fallthrough
1261
+ default:
1262
+ t[n] += ke(o);
1263
+ }
1264
+ while (o = R());
1265
+ return t;
1266
+ }, So = function(t, r) {
1267
+ return Sr(bo(br(t), r));
1268
+ }, bt = /* @__PURE__ */ new WeakMap(), _o = function(t) {
1269
+ if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
1270
+ // negative .length indicates that this rule has been already prefixed
1271
+ t.length < 1)) {
1272
+ for (var r = t.value, n = t.parent, o = t.column === n.column && t.line === n.line; n.type !== "rule"; )
1273
+ if (n = n.parent, !n) return;
1274
+ if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !bt.get(n)) && !o) {
1275
+ bt.set(t, !0);
1276
+ for (var a = [], i = So(r, a), u = n.props, l = 0, d = 0; l < i.length; l++)
1277
+ for (var g = 0; g < u.length; g++, d++)
1278
+ t.props[d] = a[l] ? i[l].replace(/&\f/g, u[g]) : u[g] + " " + i[l];
1279
+ }
1280
+ }
1281
+ }, Co = function(t) {
1282
+ if (t.type === "decl") {
1283
+ var r = t.value;
1284
+ // charcode for l
1285
+ r.charCodeAt(0) === 108 && // charcode for b
1286
+ r.charCodeAt(2) === 98 && (t.return = "", t.value = "");
1287
+ }
1288
+ };
1289
+ function _r(e, t) {
1290
+ switch (no(e, t)) {
1291
+ // color-adjust
1292
+ case 5103:
1293
+ return m + "print-" + e + e;
1294
+ // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
1295
+ case 5737:
1296
+ case 4201:
1297
+ case 3177:
1298
+ case 3433:
1299
+ case 1641:
1300
+ case 4457:
1301
+ case 2921:
1302
+ // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
1303
+ case 5572:
1304
+ case 6356:
1305
+ case 5844:
1306
+ case 3191:
1307
+ case 6645:
1308
+ case 3005:
1309
+ // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
1310
+ case 6391:
1311
+ case 5879:
1312
+ case 5623:
1313
+ case 6135:
1314
+ case 4599:
1315
+ case 4855:
1316
+ // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
1317
+ case 4215:
1318
+ case 6389:
1319
+ case 5109:
1320
+ case 5365:
1321
+ case 5621:
1322
+ case 3829:
1323
+ return m + e + e;
1324
+ // appearance, user-select, transform, hyphens, text-size-adjust
1325
+ case 5349:
1326
+ case 4246:
1327
+ case 4810:
1328
+ case 6968:
1329
+ case 2756:
1330
+ return m + e + Ee + e + T + e + e;
1331
+ // flex, flex-direction
1332
+ case 6828:
1333
+ case 4268:
1334
+ return m + e + T + e + e;
1335
+ // order
1336
+ case 6165:
1337
+ return m + e + T + "flex-" + e + e;
1338
+ // align-items
1339
+ case 5187:
1340
+ return m + e + v(e, /(\w+).+(:[^]+)/, m + "box-$1$2" + T + "flex-$1$2") + e;
1341
+ // align-self
1342
+ case 5443:
1343
+ return m + e + T + "flex-item-" + v(e, /flex-|-self/, "") + e;
1344
+ // align-content
1345
+ case 4675:
1346
+ return m + e + T + "flex-line-pack" + v(e, /align-content|flex-|-self/, "") + e;
1347
+ // flex-shrink
1348
+ case 5548:
1349
+ return m + e + T + v(e, "shrink", "negative") + e;
1350
+ // flex-basis
1351
+ case 5292:
1352
+ return m + e + T + v(e, "basis", "preferred-size") + e;
1353
+ // flex-grow
1354
+ case 6060:
1355
+ return m + "box-" + v(e, "-grow", "") + m + e + T + v(e, "grow", "positive") + e;
1356
+ // transition
1357
+ case 4554:
1358
+ return m + v(e, /([^-])(transform)/g, "$1" + m + "$2") + e;
1359
+ // cursor
1360
+ case 6187:
1361
+ return v(v(v(e, /(zoom-|grab)/, m + "$1"), /(image-set)/, m + "$1"), e, "") + e;
1362
+ // background, background-image
1363
+ case 5495:
1364
+ case 3959:
1365
+ return v(e, /(image-set\([^]*)/, m + "$1$`$1");
1366
+ // justify-content
1367
+ case 4968:
1368
+ return v(v(e, /(.+:)(flex-)?(.*)/, m + "box-pack:$3" + T + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + m + e + e;
1369
+ // (margin|padding)-inline-(start|end)
1370
+ case 4095:
1371
+ case 3583:
1372
+ case 4068:
1373
+ case 2532:
1374
+ return v(e, /(.+)-inline(.+)/, m + "$1$2") + e;
1375
+ // (min|max)?(width|height|inline-size|block-size)
1376
+ case 8116:
1377
+ case 7059:
1378
+ case 5753:
1379
+ case 5535:
1380
+ case 5445:
1381
+ case 5701:
1382
+ case 4933:
1383
+ case 4677:
1384
+ case 5533:
1385
+ case 5789:
1386
+ case 5021:
1387
+ case 4765:
1388
+ if (B(e) - 1 - t > 6) switch (C(e, t + 1)) {
1389
+ // (m)ax-content, (m)in-content
1390
+ case 109:
1391
+ if (C(e, t + 4) !== 45) break;
1392
+ // (f)ill-available, (f)it-content
1393
+ case 102:
1394
+ return v(e, /(.+:)(.+)-([^]+)/, "$1" + m + "$2-$3$1" + Ee + (C(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1395
+ // (s)tretch
1396
+ case 115:
1397
+ return ~He(e, "stretch") ? _r(v(e, "stretch", "fill-available"), t) + e : e;
1398
+ }
1399
+ break;
1400
+ // position: sticky
1401
+ case 4949:
1402
+ if (C(e, t + 1) !== 115) break;
1403
+ // display: (flex|inline-flex)
1404
+ case 6444:
1405
+ switch (C(e, B(e) - 3 - (~He(e, "!important") && 10))) {
1406
+ // stic(k)y
1407
+ case 107:
1408
+ return v(e, ":", ":" + m) + e;
1409
+ // (inline-)?fl(e)x
1410
+ case 101:
1411
+ return v(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + m + (C(e, 14) === 45 ? "inline-" : "") + "box$3$1" + m + "$2$3$1" + T + "$2box$3") + e;
1412
+ }
1413
+ break;
1414
+ // writing-mode
1415
+ case 5936:
1416
+ switch (C(e, t + 11)) {
1417
+ // vertical-l(r)
1418
+ case 114:
1419
+ return m + e + T + v(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1420
+ // vertical-r(l)
1421
+ case 108:
1422
+ return m + e + T + v(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1423
+ // horizontal(-)tb
1424
+ case 45:
1425
+ return m + e + T + v(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1426
+ }
1427
+ return m + e + T + e + e;
1428
+ }
1429
+ return e;
1430
+ }
1431
+ var Eo = function(t, r, n, o) {
1432
+ if (t.length > -1 && !t.return) switch (t.type) {
1433
+ case et:
1434
+ t.return = _r(t.value, t.length);
1435
+ break;
1436
+ case yr:
1437
+ return Y([ee(t, {
1438
+ value: v(t.value, "@", "@" + m)
1439
+ })], o);
1440
+ case Qe:
1441
+ if (t.length) return ao(t.props, function(a) {
1442
+ switch (oo(a, /(::plac\w+|:read-\w+)/)) {
1443
+ // :read-(only|write)
1444
+ case ":read-only":
1445
+ case ":read-write":
1446
+ return Y([ee(t, {
1447
+ props: [v(a, /:(read-\w+)/, ":" + Ee + "$1")]
1448
+ })], o);
1449
+ // :placeholder
1450
+ case "::placeholder":
1451
+ return Y([ee(t, {
1452
+ props: [v(a, /:(plac\w+)/, ":" + m + "input-$1")]
1453
+ }), ee(t, {
1454
+ props: [v(a, /:(plac\w+)/, ":" + Ee + "$1")]
1455
+ }), ee(t, {
1456
+ props: [v(a, /:(plac\w+)/, T + "input-$1")]
1457
+ })], o);
1458
+ }
1459
+ return "";
1460
+ });
1461
+ }
1462
+ }, To = [Eo], xo = function(t) {
1463
+ var r = t.key;
1464
+ if (r === "css") {
1465
+ var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
1466
+ Array.prototype.forEach.call(n, function(w) {
1467
+ var I = w.getAttribute("data-emotion");
1468
+ I.indexOf(" ") !== -1 && (document.head.appendChild(w), w.setAttribute("data-s", ""));
1469
+ });
1470
+ }
1471
+ var o = t.stylisPlugins || To, a = {}, i, u = [];
1472
+ i = t.container || document.head, Array.prototype.forEach.call(
1473
+ // this means we will ignore elements which don't have a space in them which
1474
+ // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
1475
+ document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
1476
+ function(w) {
1477
+ for (var I = w.getAttribute("data-emotion").split(" "), S = 1; S < I.length; S++)
1478
+ a[I[S]] = !0;
1479
+ u.push(w);
1480
+ }
1481
+ );
1482
+ var l, d = [_o, Co];
1483
+ {
1484
+ var g, b = [mo, yo(function(w) {
1485
+ g.insert(w);
1486
+ })], H = vo(d.concat(o, b)), W = function(I) {
1487
+ return Y(po(I), H);
1488
+ };
1489
+ l = function(I, S, E, D) {
1490
+ g = E, W(I ? I + "{" + S.styles + "}" : S.styles), D && (O.inserted[S.name] = !0);
1491
+ };
1492
+ }
1493
+ var O = {
1494
+ key: r,
1495
+ sheet: new Zn({
1496
+ key: r,
1497
+ container: i,
1498
+ nonce: t.nonce,
1499
+ speedy: t.speedy,
1500
+ prepend: t.prepend,
1501
+ insertionPoint: t.insertionPoint
1502
+ }),
1503
+ nonce: t.nonce,
1504
+ inserted: a,
1505
+ registered: {},
1506
+ insert: l
1507
+ };
1508
+ return O.sheet.hydrate(u), O;
1509
+ }, Io = !0;
1510
+ function Ao(e, t, r) {
1511
+ var n = "";
1512
+ return r.split(" ").forEach(function(o) {
1513
+ e[o] !== void 0 ? t.push(e[o] + ";") : o && (n += o + " ");
1514
+ }), n;
1515
+ }
1516
+ var Cr = function(t, r, n) {
1517
+ var o = t.key + "-" + r.name;
1518
+ // we only need to add the styles to the registered cache if the
1519
+ // class name could be used further down
1520
+ // the tree but if it's a string tag, we know it won't
1521
+ // so we don't have to add it to registered cache.
1522
+ // this improves memory usage since we can avoid storing the whole style string
1523
+ (n === !1 || // we need to always store it if we're in compat mode and
1524
+ // in node since emotion-server relies on whether a style is in
1525
+ // the registered cache to know whether a style is global or not
1526
+ // also, note that this check will be dead code eliminated in the browser
1527
+ Io === !1) && t.registered[o] === void 0 && (t.registered[o] = r.styles);
1528
+ }, Po = function(t, r, n) {
1529
+ Cr(t, r, n);
1530
+ var o = t.key + "-" + r.name;
1531
+ if (t.inserted[r.name] === void 0) {
1532
+ var a = r;
1533
+ do
1534
+ t.insert(r === a ? "." + o : "", a, t.sheet, !0), a = a.next;
1535
+ while (a !== void 0);
1536
+ }
1537
+ };
1538
+ function Oo(e) {
1539
+ for (var t = 0, r, n = 0, o = e.length; o >= 4; ++n, o -= 4)
1540
+ r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */
1541
+ (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
1542
+ r >>> 24, t = /* Math.imul(k, m): */
1543
+ (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
1544
+ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
1545
+ switch (o) {
1546
+ case 3:
1547
+ t ^= (e.charCodeAt(n + 2) & 255) << 16;
1548
+ case 2:
1549
+ t ^= (e.charCodeAt(n + 1) & 255) << 8;
1550
+ case 1:
1551
+ t ^= e.charCodeAt(n) & 255, t = /* Math.imul(h, m): */
1552
+ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
1553
+ }
1554
+ return t ^= t >>> 13, t = /* Math.imul(h, m): */
1555
+ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
1556
+ }
1557
+ var ko = {
1558
+ animationIterationCount: 1,
1559
+ aspectRatio: 1,
1560
+ borderImageOutset: 1,
1561
+ borderImageSlice: 1,
1562
+ borderImageWidth: 1,
1563
+ boxFlex: 1,
1564
+ boxFlexGroup: 1,
1565
+ boxOrdinalGroup: 1,
1566
+ columnCount: 1,
1567
+ columns: 1,
1568
+ flex: 1,
1569
+ flexGrow: 1,
1570
+ flexPositive: 1,
1571
+ flexShrink: 1,
1572
+ flexNegative: 1,
1573
+ flexOrder: 1,
1574
+ gridRow: 1,
1575
+ gridRowEnd: 1,
1576
+ gridRowSpan: 1,
1577
+ gridRowStart: 1,
1578
+ gridColumn: 1,
1579
+ gridColumnEnd: 1,
1580
+ gridColumnSpan: 1,
1581
+ gridColumnStart: 1,
1582
+ msGridRow: 1,
1583
+ msGridRowSpan: 1,
1584
+ msGridColumn: 1,
1585
+ msGridColumnSpan: 1,
1586
+ fontWeight: 1,
1587
+ lineHeight: 1,
1588
+ opacity: 1,
1589
+ order: 1,
1590
+ orphans: 1,
1591
+ scale: 1,
1592
+ tabSize: 1,
1593
+ widows: 1,
1594
+ zIndex: 1,
1595
+ zoom: 1,
1596
+ WebkitLineClamp: 1,
1597
+ // SVG-related properties
1598
+ fillOpacity: 1,
1599
+ floodOpacity: 1,
1600
+ stopOpacity: 1,
1601
+ strokeDasharray: 1,
1602
+ strokeDashoffset: 1,
1603
+ strokeMiterlimit: 1,
1604
+ strokeOpacity: 1,
1605
+ strokeWidth: 1
1606
+ }, Ro = /[A-Z]|^ms/g, Uo = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Er = function(t) {
1607
+ return t.charCodeAt(1) === 45;
1608
+ }, St = function(t) {
1609
+ return t != null && typeof t != "boolean";
1610
+ }, Le = /* @__PURE__ */ go(function(e) {
1611
+ return Er(e) ? e : e.replace(Ro, "-$&").toLowerCase();
1612
+ }), _t = function(t, r) {
1613
+ switch (t) {
1614
+ case "animation":
1615
+ case "animationName":
1616
+ if (typeof r == "string")
1617
+ return r.replace(Uo, function(n, o, a) {
1618
+ return j = {
1619
+ name: o,
1620
+ styles: a,
1621
+ next: j
1622
+ }, o;
1623
+ });
1624
+ }
1625
+ return ko[t] !== 1 && !Er(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
1626
+ };
1627
+ function ie(e, t, r) {
1628
+ if (r == null)
1629
+ return "";
1630
+ var n = r;
1631
+ if (n.__emotion_styles !== void 0)
1632
+ return n;
1633
+ switch (typeof r) {
1634
+ case "boolean":
1635
+ return "";
1636
+ case "object": {
1637
+ var o = r;
1638
+ if (o.anim === 1)
1639
+ return j = {
1640
+ name: o.name,
1641
+ styles: o.styles,
1642
+ next: j
1643
+ }, o.name;
1644
+ var a = r;
1645
+ if (a.styles !== void 0) {
1646
+ var i = a.next;
1647
+ if (i !== void 0)
1648
+ for (; i !== void 0; )
1649
+ j = {
1650
+ name: i.name,
1651
+ styles: i.styles,
1652
+ next: j
1653
+ }, i = i.next;
1654
+ var u = a.styles + ";";
1655
+ return u;
1656
+ }
1657
+ return $o(e, t, r);
1658
+ }
1659
+ case "function": {
1660
+ if (e !== void 0) {
1661
+ var l = j, d = r(e);
1662
+ return j = l, ie(e, t, d);
1663
+ }
1664
+ break;
1665
+ }
1666
+ }
1667
+ var g = r;
1668
+ if (t == null)
1669
+ return g;
1670
+ var b = t[g];
1671
+ return b !== void 0 ? b : g;
1672
+ }
1673
+ function $o(e, t, r) {
1674
+ var n = "";
1675
+ if (Array.isArray(r))
1676
+ for (var o = 0; o < r.length; o++)
1677
+ n += ie(e, t, r[o]) + ";";
1678
+ else
1679
+ for (var a in r) {
1680
+ var i = r[a];
1681
+ if (typeof i != "object") {
1682
+ var u = i;
1683
+ t != null && t[u] !== void 0 ? n += a + "{" + t[u] + "}" : St(u) && (n += Le(a) + ":" + _t(a, u) + ";");
1684
+ } else if (Array.isArray(i) && typeof i[0] == "string" && (t == null || t[i[0]] === void 0))
1685
+ for (var l = 0; l < i.length; l++)
1686
+ St(i[l]) && (n += Le(a) + ":" + _t(a, i[l]) + ";");
1687
+ else {
1688
+ var d = ie(e, t, i);
1689
+ switch (a) {
1690
+ case "animation":
1691
+ case "animationName": {
1692
+ n += Le(a) + ":" + d + ";";
1693
+ break;
1694
+ }
1695
+ default:
1696
+ n += a + "{" + d + "}";
1697
+ }
1698
+ }
1699
+ }
1700
+ return n;
1701
+ }
1702
+ var Ct = /label:\s*([^\s;{]+)\s*(;|$)/g, j;
1703
+ function Do(e, t, r) {
1704
+ if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
1705
+ return e[0];
1706
+ var n = !0, o = "";
1707
+ j = void 0;
1708
+ var a = e[0];
1709
+ if (a == null || a.raw === void 0)
1710
+ n = !1, o += ie(r, t, a);
1711
+ else {
1712
+ var i = a;
1713
+ o += i[0];
1714
+ }
1715
+ for (var u = 1; u < e.length; u++)
1716
+ if (o += ie(r, t, e[u]), n) {
1717
+ var l = a;
1718
+ o += l[u];
1719
+ }
1720
+ Ct.lastIndex = 0;
1721
+ for (var d = "", g; (g = Ct.exec(o)) !== null; )
1722
+ d += "-" + g[1];
1723
+ var b = Oo(o) + d;
1724
+ return {
1725
+ name: b,
1726
+ styles: o,
1727
+ next: j
1728
+ };
1729
+ }
1730
+ var Mo = function(t) {
1731
+ return t();
1732
+ }, Tr = ct.useInsertionEffect ? ct.useInsertionEffect : !1, Lo = Tr || Mo, Xo = Tr || k.useLayoutEffect, xr = /* @__PURE__ */ k.createContext(
1733
+ // we're doing this to avoid preconstruct's dead code elimination in this one case
1734
+ // because this module is primarily intended for the browser and node
1735
+ // but it's also required in react native and similar environments sometimes
1736
+ // and we could have a special build just for that
1737
+ // but this is much easier and the native packages
1738
+ // might use a different theme context in the future anyway
1739
+ typeof HTMLElement < "u" ? /* @__PURE__ */ xo({
1740
+ key: "css"
1741
+ }) : null
1742
+ ), Jo = xr.Provider, No = function(t) {
1743
+ return /* @__PURE__ */ k.forwardRef(function(r, n) {
1744
+ var o = k.useContext(xr);
1745
+ return t(r, o, n);
1746
+ });
1747
+ }, Bo = /* @__PURE__ */ k.createContext({}), Ir = {}.hasOwnProperty, Ge = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Zo = function(t, r) {
1748
+ var n = {};
1749
+ for (var o in r)
1750
+ Ir.call(r, o) && (n[o] = r[o]);
1751
+ return n[Ge] = t, n;
1752
+ }, jo = function(t) {
1753
+ var r = t.cache, n = t.serialized, o = t.isStringTag;
1754
+ return Cr(r, n, o), Lo(function() {
1755
+ return Po(r, n, o);
1756
+ }), null;
1757
+ }, Fo = /* @__PURE__ */ No(
1758
+ /* <any, any> */
1759
+ function(e, t, r) {
1760
+ var n = e.css;
1761
+ typeof n == "string" && t.registered[n] !== void 0 && (n = t.registered[n]);
1762
+ var o = e[Ge], a = [n], i = "";
1763
+ typeof e.className == "string" ? i = Ao(t.registered, a, e.className) : e.className != null && (i = e.className + " ");
1764
+ var u = Do(a, void 0, k.useContext(Bo));
1765
+ i += t.key + "-" + u.name;
1766
+ var l = {};
1767
+ for (var d in e)
1768
+ Ir.call(e, d) && d !== "css" && d !== Ge && (l[d] = e[d]);
1769
+ return l.className = i, r && (l.ref = r), /* @__PURE__ */ k.createElement(k.Fragment, null, /* @__PURE__ */ k.createElement(jo, {
1770
+ cache: t,
1771
+ serialized: u,
1772
+ isStringTag: typeof o == "string"
1773
+ }), /* @__PURE__ */ k.createElement(o, l));
1774
+ }
1775
+ ), Qo = Fo;
1776
+ export {
1777
+ te as A,
1778
+ Jo as C,
1779
+ Ve as E,
1780
+ ne as M,
1781
+ zo as P,
1782
+ en as R,
1783
+ qo as S,
1784
+ Bo as T,
1785
+ Ko as U,
1786
+ Qo as a,
1787
+ Zo as b,
1788
+ xo as c,
1789
+ Cr as d,
1790
+ Lo as e,
1791
+ $ as f,
1792
+ Ao as g,
1793
+ Ir as h,
1794
+ Po as i,
1795
+ Yo as j,
1796
+ je as k,
1797
+ Go as l,
1798
+ Rr as m,
1799
+ k as r,
1800
+ Do as s,
1801
+ Xo as u,
1802
+ No as w
1803
+ };