@prosopo/procaptcha-bundle 2.5.3 → 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 (60) hide show
  1. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/index.d.ts.map +1 -1
  2. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/index.js +15 -17
  3. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/index.js.map +1 -1
  4. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.js +23 -27
  5. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.js.map +1 -1
  6. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.d.ts +2 -2
  7. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.d.ts.map +1 -1
  8. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.js +4 -7
  9. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.js.map +1 -1
  10. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.d.ts +2 -2
  11. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.d.ts.map +1 -1
  12. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.js +9 -4
  13. package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.js.map +1 -1
  14. package/dist/bundle/ProcaptchaWidget-CCSN3Dxj.js +636 -0
  15. package/dist/bundle/{ProcaptchaWidget-Dnwno-4N.js → ProcaptchaWidget-Dfex8hc8.js} +4 -4
  16. package/dist/bundle/{asU8a-JliaME7-.js → asU8a-CAsEnbuP.js} +1 -1
  17. package/dist/bundle/{bip39-CFjno8fK.js → bip39-DCaMcFzo.js} +2 -2
  18. package/dist/bundle/{captchaComponentProvider-dcMua0p9.js → captchaComponentProvider-Dm44AMrY.js} +23 -18
  19. package/dist/bundle/captchaRenderer-BBodRhQu.js +70 -0
  20. package/dist/bundle/{emotion-element-5486c51c.browser.esm-Bywq83R5.js → emotion-element-5486c51c.browser.esm-CQHFV-dS.js} +711 -746
  21. package/dist/bundle/{fp.esm-C0kLYOiJ.js → fp.esm-DYWeNGcH.js} +17 -0
  22. package/dist/bundle/{hash-CtL1HOjf.js → hash-D-64Vz5z.js} +1 -1
  23. package/dist/bundle/{captchaRenderer-D-du50M4.js → index-9I1Aae33.js} +1293 -1355
  24. package/dist/bundle/index-DCHEbWAs.js +1242 -0
  25. package/dist/bundle/{index-DcG_c-Na.js → index-DkQ4njKa.js} +12 -12
  26. package/dist/bundle/{index-BTlHNFX8.js → index-DxswvPTy.js} +285 -183
  27. package/dist/bundle/{index-BMjJnq60.js → index-nNwZuute.js} +252 -252
  28. package/dist/bundle/index.d.ts.map +1 -1
  29. package/dist/bundle/locales/de/translation.json +55 -405
  30. package/dist/bundle/locales/en/translation.json +55 -405
  31. package/dist/bundle/locales/es/translation.json +55 -405
  32. package/dist/bundle/locales/fr/translation.json +55 -405
  33. package/dist/bundle/locales/it/translation.json +55 -405
  34. package/dist/bundle/locales/pt/translation.json +55 -405
  35. package/dist/bundle/locales/pt-BR/translation.json +55 -405
  36. package/dist/bundle/procaptcha.bundle.js +1 -1
  37. package/dist/bundle/{useTranslation-7b6JJ18N.js → useTranslation-CEt2t9kE.js} +1 -1
  38. package/dist/bundle/util/captcha/captchaRenderer.d.ts +2 -2
  39. package/dist/bundle/util/captcha/captchaRenderer.d.ts.map +1 -1
  40. package/dist/bundle/util/widgetFactory.d.ts +2 -2
  41. package/dist/bundle/util/widgetFactory.d.ts.map +1 -1
  42. package/dist/index.d.ts.map +1 -1
  43. package/dist/index.js +15 -17
  44. package/dist/index.js.map +1 -1
  45. package/dist/tests/util/renderLogic.test.js +23 -27
  46. package/dist/tests/util/renderLogic.test.js.map +1 -1
  47. package/dist/util/captcha/captchaRenderer.d.ts +2 -2
  48. package/dist/util/captcha/captchaRenderer.d.ts.map +1 -1
  49. package/dist/util/captcha/captchaRenderer.js +4 -7
  50. package/dist/util/captcha/captchaRenderer.js.map +1 -1
  51. package/dist/util/widgetFactory.d.ts +2 -2
  52. package/dist/util/widgetFactory.d.ts.map +1 -1
  53. package/dist/util/widgetFactory.js +9 -4
  54. package/dist/util/widgetFactory.js.map +1 -1
  55. package/package.json +20 -14
  56. package/stats.html +1 -1
  57. package/vite.config.ts +18 -3
  58. package/vite.serve.config.ts +24 -0
  59. package/dist/bundle/ProcaptchaWidget-BlWWnPeB.js +0 -615
  60. package/dist/bundle/index-B8oMghZ3.js +0 -1120
@@ -188,32 +188,46 @@ function ye(e, t) {
188
188
  switch (i = [0, 0], c = [0, 0], n) {
189
189
  case 15:
190
190
  c = h(c, S([0, e.charCodeAt(u + 14)], 48));
191
+ // fallthrough
191
192
  case 14:
192
193
  c = h(c, S([0, e.charCodeAt(u + 13)], 40));
194
+ // fallthrough
193
195
  case 13:
194
196
  c = h(c, S([0, e.charCodeAt(u + 12)], 32));
197
+ // fallthrough
195
198
  case 12:
196
199
  c = h(c, S([0, e.charCodeAt(u + 11)], 24));
200
+ // fallthrough
197
201
  case 11:
198
202
  c = h(c, S([0, e.charCodeAt(u + 10)], 16));
203
+ // fallthrough
199
204
  case 10:
200
205
  c = h(c, S([0, e.charCodeAt(u + 9)], 8));
206
+ // fallthrough
201
207
  case 9:
202
208
  c = h(c, [0, e.charCodeAt(u + 8)]), c = x(c, s), c = R(c, 33), c = x(c, l), r = h(r, c);
209
+ // fallthrough
203
210
  case 8:
204
211
  i = h(i, S([0, e.charCodeAt(u + 7)], 56));
212
+ // fallthrough
205
213
  case 7:
206
214
  i = h(i, S([0, e.charCodeAt(u + 6)], 48));
215
+ // fallthrough
207
216
  case 6:
208
217
  i = h(i, S([0, e.charCodeAt(u + 5)], 40));
218
+ // fallthrough
209
219
  case 5:
210
220
  i = h(i, S([0, e.charCodeAt(u + 4)], 32));
221
+ // fallthrough
211
222
  case 4:
212
223
  i = h(i, S([0, e.charCodeAt(u + 3)], 24));
224
+ // fallthrough
213
225
  case 3:
214
226
  i = h(i, S([0, e.charCodeAt(u + 2)], 16));
227
+ // fallthrough
215
228
  case 2:
216
229
  i = h(i, S([0, e.charCodeAt(u + 1)], 8));
230
+ // fallthrough
217
231
  case 1:
218
232
  i = h(i, [0, e.charCodeAt(u)]), i = x(i, l), i = R(i, 31), i = x(i, s), o = h(o, i);
219
233
  }
@@ -509,6 +523,9 @@ function Xe(e) {
509
523
  case "running":
510
524
  f = Date.now(), s && v();
511
525
  break;
526
+ // Sometimes the audio context doesn't start after calling `startRendering` (in addition to the cases where
527
+ // audio context doesn't start at all). A known case is starting an audio context when the browser tab is in
528
+ // background on iPhone. Retries usually help in this case.
512
529
  case "suspended":
513
530
  document.hidden || u++, s && u >= t ? l(ee(
514
531
  "suspended"
@@ -2,7 +2,7 @@ var pn = Object.defineProperty;
2
2
  var Nn = (e, n, t) => n in e ? pn(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
3
  var y = (e, n, t) => Nn(e, typeof n != "symbol" ? n + "" : n, t);
4
4
  import { H as wn, n as _, u as C, e as zn, t as S, i as D, b as W, o as Mn, a as M, w as Un, c as bn, x as Q, s as xn } from "./toU8a-BWKf-2UU.js";
5
- import { p as Vn } from "./emotion-element-5486c51c.browser.esm-Bywq83R5.js";
5
+ import { m as Vn } from "./emotion-element-5486c51c.browser.esm-CQHFV-dS.js";
6
6
  const Fn = "";
7
7
  function Yn(e, n) {
8
8
  return e.join(Fn);