altcha 2.0.0-beta.8 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/LICENSE.txt +1 -1
  2. package/README.md +142 -93
  3. package/dist/altcha.d.ts +5 -2
  4. package/dist/altcha.i18n.d.ts +158 -0
  5. package/dist/altcha.i18n.js +4017 -0
  6. package/dist/altcha.i18n.umd.js +4 -0
  7. package/dist/altcha.js +1888 -1763
  8. package/dist/altcha.umd.cjs +4 -14
  9. package/dist_external/altcha.css +1 -255
  10. package/dist_external/altcha.d.ts +5 -2
  11. package/dist_external/altcha.js +1844 -1728
  12. package/dist_external/altcha.umd.cjs +3 -13
  13. package/dist_i18n/af.d.ts +1 -0
  14. package/dist_i18n/af.js +76 -3
  15. package/dist_i18n/af.umd.cjs +1 -1
  16. package/dist_i18n/all.d.ts +1 -0
  17. package/dist_i18n/all.js +178 -105
  18. package/dist_i18n/all.umd.cjs +1 -1
  19. package/dist_i18n/americas.d.ts +1 -0
  20. package/dist_i18n/americas.js +80 -7
  21. package/dist_i18n/americas.umd.cjs +1 -1
  22. package/dist_i18n/ar.d.ts +1 -0
  23. package/dist_i18n/ar.js +76 -3
  24. package/dist_i18n/ar.umd.cjs +1 -1
  25. package/dist_i18n/asia.d.ts +1 -0
  26. package/dist_i18n/asia.js +105 -32
  27. package/dist_i18n/asia.umd.cjs +1 -1
  28. package/dist_i18n/bg.d.ts +1 -0
  29. package/dist_i18n/bg.js +76 -3
  30. package/dist_i18n/bg.umd.cjs +1 -1
  31. package/dist_i18n/bn.d.ts +1 -0
  32. package/dist_i18n/bn.js +76 -3
  33. package/dist_i18n/bn.umd.cjs +1 -1
  34. package/dist_i18n/bs.d.ts +1 -0
  35. package/dist_i18n/bs.js +76 -3
  36. package/dist_i18n/bs.umd.cjs +1 -1
  37. package/dist_i18n/ca.d.ts +1 -0
  38. package/dist_i18n/ca.js +76 -3
  39. package/dist_i18n/ca.umd.cjs +1 -1
  40. package/dist_i18n/cs.d.ts +1 -0
  41. package/dist_i18n/cs.js +76 -3
  42. package/dist_i18n/cs.umd.cjs +1 -1
  43. package/dist_i18n/da.d.ts +1 -0
  44. package/dist_i18n/da.js +76 -3
  45. package/dist_i18n/da.umd.cjs +1 -1
  46. package/dist_i18n/de.d.ts +1 -0
  47. package/dist_i18n/de.js +76 -3
  48. package/dist_i18n/de.umd.cjs +1 -1
  49. package/dist_i18n/el.d.ts +1 -0
  50. package/dist_i18n/el.js +76 -3
  51. package/dist_i18n/el.umd.cjs +1 -1
  52. package/dist_i18n/en.d.ts +1 -0
  53. package/dist_i18n/en.js +76 -3
  54. package/dist_i18n/en.umd.cjs +1 -1
  55. package/dist_i18n/es-419.d.ts +1 -0
  56. package/dist_i18n/es-419.js +76 -3
  57. package/dist_i18n/es-419.umd.cjs +1 -1
  58. package/dist_i18n/es-es.d.ts +1 -0
  59. package/dist_i18n/es-es.js +76 -3
  60. package/dist_i18n/es-es.umd.cjs +1 -1
  61. package/dist_i18n/et.d.ts +1 -0
  62. package/dist_i18n/et.js +76 -3
  63. package/dist_i18n/et.umd.cjs +1 -1
  64. package/dist_i18n/eu.d.ts +1 -0
  65. package/dist_i18n/eu.js +76 -3
  66. package/dist_i18n/eu.umd.cjs +1 -1
  67. package/dist_i18n/europe.d.ts +1 -0
  68. package/dist_i18n/europe.js +139 -66
  69. package/dist_i18n/europe.umd.cjs +1 -1
  70. package/dist_i18n/fi.d.ts +1 -0
  71. package/dist_i18n/fi.js +76 -3
  72. package/dist_i18n/fi.umd.cjs +1 -1
  73. package/dist_i18n/fr-ca.d.ts +1 -0
  74. package/dist_i18n/fr-ca.js +77 -4
  75. package/dist_i18n/fr-ca.umd.cjs +1 -1
  76. package/dist_i18n/fr-fr.d.ts +1 -0
  77. package/dist_i18n/fr-fr.js +77 -4
  78. package/dist_i18n/fr-fr.umd.cjs +1 -1
  79. package/dist_i18n/ga.d.ts +1 -0
  80. package/dist_i18n/ga.js +76 -3
  81. package/dist_i18n/ga.umd.cjs +1 -1
  82. package/dist_i18n/he.d.ts +1 -0
  83. package/dist_i18n/he.js +76 -3
  84. package/dist_i18n/he.umd.cjs +1 -1
  85. package/dist_i18n/hi.d.ts +1 -0
  86. package/dist_i18n/hi.js +76 -3
  87. package/dist_i18n/hi.umd.cjs +1 -1
  88. package/dist_i18n/hr.d.ts +1 -0
  89. package/dist_i18n/hr.js +76 -3
  90. package/dist_i18n/hr.umd.cjs +1 -1
  91. package/dist_i18n/hu.d.ts +1 -0
  92. package/dist_i18n/hu.js +76 -3
  93. package/dist_i18n/hu.umd.cjs +1 -1
  94. package/dist_i18n/id.d.ts +1 -0
  95. package/dist_i18n/id.js +76 -3
  96. package/dist_i18n/id.umd.cjs +1 -1
  97. package/dist_i18n/is.d.ts +1 -0
  98. package/dist_i18n/is.js +76 -3
  99. package/dist_i18n/is.umd.cjs +1 -1
  100. package/dist_i18n/it.d.ts +1 -0
  101. package/dist_i18n/it.js +76 -3
  102. package/dist_i18n/it.umd.cjs +1 -1
  103. package/dist_i18n/ja.d.ts +1 -0
  104. package/dist_i18n/ja.js +76 -3
  105. package/dist_i18n/ja.umd.cjs +1 -1
  106. package/dist_i18n/ko.d.ts +1 -0
  107. package/dist_i18n/ko.js +76 -3
  108. package/dist_i18n/ko.umd.cjs +1 -1
  109. package/dist_i18n/lt.d.ts +1 -0
  110. package/dist_i18n/lt.js +76 -3
  111. package/dist_i18n/lt.umd.cjs +1 -1
  112. package/dist_i18n/lv.d.ts +1 -0
  113. package/dist_i18n/lv.js +76 -3
  114. package/dist_i18n/lv.umd.cjs +1 -1
  115. package/dist_i18n/mr.d.ts +1 -0
  116. package/dist_i18n/mr.js +76 -3
  117. package/dist_i18n/mr.umd.cjs +1 -1
  118. package/dist_i18n/mt.d.ts +1 -0
  119. package/dist_i18n/mt.js +76 -3
  120. package/dist_i18n/mt.umd.cjs +1 -1
  121. package/dist_i18n/nb.d.ts +1 -0
  122. package/dist_i18n/nb.js +77 -4
  123. package/dist_i18n/nb.umd.cjs +1 -1
  124. package/dist_i18n/nl.d.ts +1 -0
  125. package/dist_i18n/nl.js +76 -3
  126. package/dist_i18n/nl.umd.cjs +1 -1
  127. package/dist_i18n/pl.d.ts +1 -0
  128. package/dist_i18n/pl.js +76 -3
  129. package/dist_i18n/pl.umd.cjs +1 -1
  130. package/dist_i18n/pt-br.d.ts +1 -0
  131. package/dist_i18n/pt-br.js +76 -3
  132. package/dist_i18n/pt-br.umd.cjs +1 -1
  133. package/dist_i18n/pt-pt.d.ts +1 -0
  134. package/dist_i18n/pt-pt.js +76 -3
  135. package/dist_i18n/pt-pt.umd.cjs +1 -1
  136. package/dist_i18n/ro.d.ts +1 -0
  137. package/dist_i18n/ro.js +76 -3
  138. package/dist_i18n/ro.umd.cjs +1 -1
  139. package/dist_i18n/ru.d.ts +1 -0
  140. package/dist_i18n/ru.js +76 -3
  141. package/dist_i18n/ru.umd.cjs +1 -1
  142. package/dist_i18n/sk.d.ts +1 -0
  143. package/dist_i18n/sk.js +76 -3
  144. package/dist_i18n/sk.umd.cjs +1 -1
  145. package/dist_i18n/sl.d.ts +1 -0
  146. package/dist_i18n/sl.js +76 -3
  147. package/dist_i18n/sl.umd.cjs +1 -1
  148. package/dist_i18n/sr.d.ts +1 -0
  149. package/dist_i18n/sr.js +76 -3
  150. package/dist_i18n/sr.umd.cjs +1 -1
  151. package/dist_i18n/sv.d.ts +1 -0
  152. package/dist_i18n/sv.js +76 -3
  153. package/dist_i18n/sv.umd.cjs +1 -1
  154. package/dist_i18n/ta.d.ts +1 -0
  155. package/dist_i18n/ta.js +76 -3
  156. package/dist_i18n/ta.umd.cjs +1 -1
  157. package/dist_i18n/te.d.ts +1 -0
  158. package/dist_i18n/te.js +76 -3
  159. package/dist_i18n/te.umd.cjs +1 -1
  160. package/dist_i18n/th.d.ts +1 -0
  161. package/dist_i18n/th.js +76 -3
  162. package/dist_i18n/th.umd.cjs +1 -1
  163. package/dist_i18n/tr.d.ts +1 -0
  164. package/dist_i18n/tr.js +76 -3
  165. package/dist_i18n/tr.umd.cjs +1 -1
  166. package/dist_i18n/uk.d.ts +1 -0
  167. package/dist_i18n/uk.js +76 -3
  168. package/dist_i18n/uk.umd.cjs +1 -1
  169. package/dist_i18n/ur.d.ts +1 -0
  170. package/dist_i18n/ur.js +76 -3
  171. package/dist_i18n/ur.umd.cjs +1 -1
  172. package/dist_i18n/vi.d.ts +1 -0
  173. package/dist_i18n/vi.js +76 -3
  174. package/dist_i18n/vi.umd.cjs +1 -1
  175. package/dist_i18n/zh-cn.d.ts +1 -0
  176. package/dist_i18n/zh-cn.js +76 -3
  177. package/dist_i18n/zh-cn.umd.cjs +1 -1
  178. package/dist_i18n/zh-tw.d.ts +1 -0
  179. package/dist_i18n/zh-tw.js +76 -3
  180. package/dist_i18n/zh-tw.umd.cjs +1 -1
  181. package/package.json +13 -7
package/dist_i18n/ca.js CHANGED
@@ -1,4 +1,77 @@
1
- const r = {
1
+ const s = () => {
2
+ };
3
+ function h(e, r) {
4
+ return e != e ? r == r : e !== r || e !== null && typeof e == "object" || typeof e == "function";
5
+ }
6
+ let u = !1;
7
+ function d(e) {
8
+ var r = u;
9
+ try {
10
+ return u = !0, e();
11
+ } finally {
12
+ u = r;
13
+ }
14
+ }
15
+ function p(e, r, t) {
16
+ if (e == null)
17
+ return r(void 0), s;
18
+ const n = d(
19
+ () => e.subscribe(
20
+ r,
21
+ // @ts-expect-error
22
+ t
23
+ )
24
+ );
25
+ return n.unsubscribe ? () => n.unsubscribe() : n;
26
+ }
27
+ const o = [];
28
+ function T(e, r = s) {
29
+ let t = null;
30
+ const n = /* @__PURE__ */ new Set();
31
+ function l(a) {
32
+ if (h(e, a) && (e = a, t)) {
33
+ const c = !o.length;
34
+ for (const i of n)
35
+ i[1](), o.push(i, e);
36
+ if (c) {
37
+ for (let i = 0; i < o.length; i += 2)
38
+ o[i][0](o[i + 1]);
39
+ o.length = 0;
40
+ }
41
+ }
42
+ }
43
+ function b(a) {
44
+ l(a(
45
+ /** @type {T} */
46
+ e
47
+ ));
48
+ }
49
+ function g(a, c = s) {
50
+ const i = [a, c];
51
+ return n.add(i), n.size === 1 && (t = r(l, b) || s), a(
52
+ /** @type {T} */
53
+ e
54
+ ), () => {
55
+ n.delete(i), n.size === 0 && t && (t(), t = null);
56
+ };
57
+ }
58
+ return { set: l, update: b, subscribe: g };
59
+ }
60
+ function f(e) {
61
+ let r;
62
+ return p(e, (t) => r = t)(), r;
63
+ }
64
+ globalThis.altchaPlugins = globalThis.altchaPlugins || [];
65
+ globalThis.altchaI18n = globalThis.altchaI18n || {
66
+ get: (e) => f(globalThis.altchaI18n.store)[e],
67
+ set: (e, r) => {
68
+ Object.assign(f(globalThis.altchaI18n.store), {
69
+ [e]: r
70
+ }), globalThis.altchaI18n.store.set(f(globalThis.altchaI18n.store));
71
+ },
72
+ store: T({})
73
+ };
74
+ const I = {
2
75
  ariaLinkLabel: "Visita Altcha.org",
3
76
  enterCode: "Introdueix el codi",
4
77
  enterCodeAria: "Introdueix el codi que escoltes. Prem Espai per reproduir l’àudio.",
@@ -15,7 +88,7 @@ const r = {
15
88
  verifying: "Verificant...",
16
89
  waitAlert: "Verificant... si us plau, espera."
17
90
  };
18
- globalThis.altchaI18n.register("ca", r);
91
+ globalThis.altchaI18n.set("ca", I);
19
92
  export {
20
- r as i18n
93
+ I as i18n
21
94
  };
@@ -1 +1 @@
1
- (function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports):typeof define=="function"&&define.amd?define(["exports"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e["[name]"]={}))})(this,function(e){"use strict";const i={ariaLinkLabel:"Visita Altcha.org",enterCode:"Introdueix el codi",enterCodeAria:"Introdueix el codi que escoltes. Prem Espai per reproduir l’àudio.",error:"Verificació fallida. Torna-ho a provar més tard.",expired:"Verificació expirada. Torna-ho a provar.",footer:'Protegit per <a href="https://altcha.org/" target="_blank" aria-label="Visita Altcha.org">ALTCHA</a>',getAudioChallenge:"Obtenir un desafiament d’àudio",label:"No sóc un robot",loading:"Carregant...",reload:"Torna a carregar",verify:"Verificar",verificationRequired:"Es requereix verificació!",verified:"Verificat",verifying:"Verificant...",waitAlert:"Verificant... si us plau, espera."};globalThis.altchaI18n.register("ca",i),e.i18n=i,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
1
+ (function(s,o){typeof exports=="object"&&typeof module<"u"?o(exports):typeof define=="function"&&define.amd?define(["exports"],o):(s=typeof globalThis<"u"?globalThis:s||self,o(s["[name]"]={}))})(this,function(s){"use strict";const o=()=>{};function g(e,i){return e!=e?i==i:e!==i||e!==null&&typeof e=="object"||typeof e=="function"}let u=!1;function p(e){var i=u;try{return u=!0,e()}finally{u=i}}function T(e,i,r){if(e==null)return i(void 0),o;const n=p(()=>e.subscribe(i,r));return n.unsubscribe?()=>n.unsubscribe():n}const l=[];function y(e,i=o){let r=null;const n=new Set;function f(a){if(g(e,a)&&(e=a,r)){const b=!l.length;for(const t of n)t[1](),l.push(t,e);if(b){for(let t=0;t<l.length;t+=2)l[t][0](l[t+1]);l.length=0}}}function h(a){f(a(e))}function I(a,b=o){const t=[a,b];return n.add(t),n.size===1&&(r=i(f,h)||o),a(e),()=>{n.delete(t),n.size===0&&r&&(r(),r=null)}}return{set:f,update:h,subscribe:I}}function c(e){let i;return T(e,r=>i=r)(),i}globalThis.altchaPlugins=globalThis.altchaPlugins||[],globalThis.altchaI18n=globalThis.altchaI18n||{get:e=>c(globalThis.altchaI18n.store)[e],set:(e,i)=>{Object.assign(c(globalThis.altchaI18n.store),{[e]:i}),globalThis.altchaI18n.store.set(c(globalThis.altchaI18n.store))},store:y({})};const d={ariaLinkLabel:"Visita Altcha.org",enterCode:"Introdueix el codi",enterCodeAria:"Introdueix el codi que escoltes. Prem Espai per reproduir l’àudio.",error:"Verificació fallida. Torna-ho a provar més tard.",expired:"Verificació expirada. Torna-ho a provar.",footer:'Protegit per <a href="https://altcha.org/" target="_blank" aria-label="Visita Altcha.org">ALTCHA</a>',getAudioChallenge:"Obtenir un desafiament d’àudio",label:"No sóc un robot",loading:"Carregant...",reload:"Torna a carregar",verify:"Verificar",verificationRequired:"Es requereix verificació!",verified:"Verificat",verifying:"Verificant...",waitAlert:"Verificant... si us plau, espera."};globalThis.altchaI18n.set("ca",d),s.i18n=d,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1 @@
1
+ declare module 'altcha/i18n/cs';
package/dist_i18n/cs.js CHANGED
@@ -1,4 +1,77 @@
1
- const e = {
1
+ const l = () => {
2
+ };
3
+ function g(e, t) {
4
+ return e != e ? t == t : e !== t || e !== null && typeof e == "object" || typeof e == "function";
5
+ }
6
+ let c = !1;
7
+ function d(e) {
8
+ var t = c;
9
+ try {
10
+ return c = !0, e();
11
+ } finally {
12
+ c = t;
13
+ }
14
+ }
15
+ function v(e, t, o) {
16
+ if (e == null)
17
+ return t(void 0), l;
18
+ const r = d(
19
+ () => e.subscribe(
20
+ t,
21
+ // @ts-expect-error
22
+ o
23
+ )
24
+ );
25
+ return r.unsubscribe ? () => r.unsubscribe() : r;
26
+ }
27
+ const i = [];
28
+ function p(e, t = l) {
29
+ let o = null;
30
+ const r = /* @__PURE__ */ new Set();
31
+ function a(s) {
32
+ if (g(e, s) && (e = s, o)) {
33
+ const u = !i.length;
34
+ for (const n of r)
35
+ n[1](), i.push(n, e);
36
+ if (u) {
37
+ for (let n = 0; n < i.length; n += 2)
38
+ i[n][0](i[n + 1]);
39
+ i.length = 0;
40
+ }
41
+ }
42
+ }
43
+ function h(s) {
44
+ a(s(
45
+ /** @type {T} */
46
+ e
47
+ ));
48
+ }
49
+ function f(s, u = l) {
50
+ const n = [s, u];
51
+ return r.add(n), r.size === 1 && (o = t(a, h) || l), s(
52
+ /** @type {T} */
53
+ e
54
+ ), () => {
55
+ r.delete(n), r.size === 0 && o && (o(), o = null);
56
+ };
57
+ }
58
+ return { set: a, update: h, subscribe: f };
59
+ }
60
+ function b(e) {
61
+ let t;
62
+ return v(e, (o) => t = o)(), t;
63
+ }
64
+ globalThis.altchaPlugins = globalThis.altchaPlugins || [];
65
+ globalThis.altchaI18n = globalThis.altchaI18n || {
66
+ get: (e) => b(globalThis.altchaI18n.store)[e],
67
+ set: (e, t) => {
68
+ Object.assign(b(globalThis.altchaI18n.store), {
69
+ [e]: t
70
+ }), globalThis.altchaI18n.store.set(b(globalThis.altchaI18n.store));
71
+ },
72
+ store: p({})
73
+ };
74
+ const k = {
2
75
  ariaLinkLabel: "Navštivte Altcha.org",
3
76
  enterCode: "Zadejte kód",
4
77
  enterCodeAria: "Zadejte kód, který slyšíte. Stisknutím mezerníku přehrajete zvuk.",
@@ -15,7 +88,7 @@ const e = {
15
88
  verifying: "Ověřování...",
16
89
  waitAlert: "Probíhá ověření... prosím počkejte."
17
90
  };
18
- globalThis.altchaI18n.register("cs", e);
91
+ globalThis.altchaI18n.set("cs", k);
19
92
  export {
20
- e as i18n
93
+ k as i18n
21
94
  };
@@ -1 +1 @@
1
- (function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e["[name]"]={}))})(this,function(e){"use strict";const t={ariaLinkLabel:"Navštivte Altcha.org",enterCode:"Zadejte kód",enterCodeAria:"Zadejte kód, který slyšíte. Stisknutím mezerníku přehrajete zvuk.",error:"Ověření selhalo. Zkuste to prosím později.",expired:"Ověření vypršelo. Zkuste to prosím znovu.",verificationRequired:"Vyžaduje se ověření!",footer:'Chráněno pomocí <a href="https://altcha.org/" target="_blank" aria-label="Navštivte Altcha.org">ALTCHA</a>',getAudioChallenge:"Získat audio výzvu",label:"Nejsem robot",loading:"Načítání...",reload:"Znovu načíst",verify:"Ověřit",verified:"Ověřeno",verifying:"Ověřování...",waitAlert:"Probíhá ověření... prosím počkejte."};globalThis.altchaI18n.register("cs",t),e.i18n=t,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
1
+ (function(l,r){typeof exports=="object"&&typeof module<"u"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(l=typeof globalThis<"u"?globalThis:l||self,r(l["[name]"]={}))})(this,function(l){"use strict";const r=()=>{};function g(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}let a=!1;function p(e){var t=a;try{return a=!0,e()}finally{a=t}}function v(e,t,o){if(e==null)return t(void 0),r;const i=p(()=>e.subscribe(t,o));return i.unsubscribe?()=>i.unsubscribe():i}const u=[];function k(e,t=r){let o=null;const i=new Set;function f(s){if(g(e,s)&&(e=s,o)){const b=!u.length;for(const n of i)n[1](),u.push(n,e);if(b){for(let n=0;n<u.length;n+=2)u[n][0](u[n+1]);u.length=0}}}function d(s){f(s(e))}function y(s,b=r){const n=[s,b];return i.add(n),i.size===1&&(o=t(f,d)||r),s(e),()=>{i.delete(n),i.size===0&&o&&(o(),o=null)}}return{set:f,update:d,subscribe:y}}function c(e){let t;return v(e,o=>t=o)(),t}globalThis.altchaPlugins=globalThis.altchaPlugins||[],globalThis.altchaI18n=globalThis.altchaI18n||{get:e=>c(globalThis.altchaI18n.store)[e],set:(e,t)=>{Object.assign(c(globalThis.altchaI18n.store),{[e]:t}),globalThis.altchaI18n.store.set(c(globalThis.altchaI18n.store))},store:k({})};const h={ariaLinkLabel:"Navštivte Altcha.org",enterCode:"Zadejte kód",enterCodeAria:"Zadejte kód, který slyšíte. Stisknutím mezerníku přehrajete zvuk.",error:"Ověření selhalo. Zkuste to prosím později.",expired:"Ověření vypršelo. Zkuste to prosím znovu.",verificationRequired:"Vyžaduje se ověření!",footer:'Chráněno pomocí <a href="https://altcha.org/" target="_blank" aria-label="Navštivte Altcha.org">ALTCHA</a>',getAudioChallenge:"Získat audio výzvu",label:"Nejsem robot",loading:"Načítání...",reload:"Znovu načíst",verify:"Ověřit",verified:"Ověřeno",verifying:"Ověřování...",waitAlert:"Probíhá ověření... prosím počkejte."};globalThis.altchaI18n.set("cs",h),l.i18n=h,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1 @@
1
+ declare module 'altcha/i18n/da';
package/dist_i18n/da.js CHANGED
@@ -1,4 +1,77 @@
1
- const e = {
1
+ const o = () => {
2
+ };
3
+ function d(e, t) {
4
+ return e != e ? t == t : e !== t || e !== null && typeof e == "object" || typeof e == "function";
5
+ }
6
+ let u = !1;
7
+ function h(e) {
8
+ var t = u;
9
+ try {
10
+ return u = !0, e();
11
+ } finally {
12
+ u = t;
13
+ }
14
+ }
15
+ function k(e, t, n) {
16
+ if (e == null)
17
+ return t(void 0), o;
18
+ const i = h(
19
+ () => e.subscribe(
20
+ t,
21
+ // @ts-expect-error
22
+ n
23
+ )
24
+ );
25
+ return i.unsubscribe ? () => i.unsubscribe() : i;
26
+ }
27
+ const l = [];
28
+ function p(e, t = o) {
29
+ let n = null;
30
+ const i = /* @__PURE__ */ new Set();
31
+ function a(s) {
32
+ if (d(e, s) && (e = s, n)) {
33
+ const c = !l.length;
34
+ for (const r of i)
35
+ r[1](), l.push(r, e);
36
+ if (c) {
37
+ for (let r = 0; r < l.length; r += 2)
38
+ l[r][0](l[r + 1]);
39
+ l.length = 0;
40
+ }
41
+ }
42
+ }
43
+ function g(s) {
44
+ a(s(
45
+ /** @type {T} */
46
+ e
47
+ ));
48
+ }
49
+ function b(s, c = o) {
50
+ const r = [s, c];
51
+ return i.add(r), i.size === 1 && (n = t(a, g) || o), s(
52
+ /** @type {T} */
53
+ e
54
+ ), () => {
55
+ i.delete(r), i.size === 0 && n && (n(), n = null);
56
+ };
57
+ }
58
+ return { set: a, update: g, subscribe: b };
59
+ }
60
+ function f(e) {
61
+ let t;
62
+ return k(e, (n) => t = n)(), t;
63
+ }
64
+ globalThis.altchaPlugins = globalThis.altchaPlugins || [];
65
+ globalThis.altchaI18n = globalThis.altchaI18n || {
66
+ get: (e) => f(globalThis.altchaI18n.store)[e],
67
+ set: (e, t) => {
68
+ Object.assign(f(globalThis.altchaI18n.store), {
69
+ [e]: t
70
+ }), globalThis.altchaI18n.store.set(f(globalThis.altchaI18n.store));
71
+ },
72
+ store: p({})
73
+ };
74
+ const y = {
2
75
  ariaLinkLabel: "Besøg Altcha.org",
3
76
  enterCode: "Indtast kode",
4
77
  enterCodeAria: "Indtast den kode, du hører. Tryk på mellemrumstasten for at afspille lyd.",
@@ -15,7 +88,7 @@ const e = {
15
88
  verifying: "Verificerer...",
16
89
  waitAlert: "Verificerer... vent venligst."
17
90
  };
18
- globalThis.altchaI18n.register("da", e);
91
+ globalThis.altchaI18n.set("da", y);
19
92
  export {
20
- e as i18n
93
+ y as i18n
21
94
  };
@@ -1 +1 @@
1
- (function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports):typeof define=="function"&&define.amd?define(["exports"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e["[name]"]={}))})(this,function(e){"use strict";const i={ariaLinkLabel:"Besøg Altcha.org",enterCode:"Indtast kode",enterCodeAria:"Indtast den kode, du hører. Tryk på mellemrumstasten for at afspille lyd.",error:"Verificering mislykkedes. Prøv venligst igen senere.",expired:"Verificering udløbet. Prøv venligst igen.",verificationRequired:"Verificering kræves!",footer:'Beskyttet af <a href="https://altcha.org/" target="_blank" aria-label="Besøg Altcha.org">ALTCHA</a>',getAudioChallenge:"Hent lydudfordring",label:"Jeg er ikke en robot",loading:"Indlæser...",reload:"Genindlæs",verify:"Verificer",verified:"Verificeret",verifying:"Verificerer...",waitAlert:"Verificerer... vent venligst."};globalThis.altchaI18n.register("da",i),e.i18n=i,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
1
+ (function(o,s){typeof exports=="object"&&typeof module<"u"?s(exports):typeof define=="function"&&define.amd?define(["exports"],s):(o=typeof globalThis<"u"?globalThis:o||self,s(o["[name]"]={}))})(this,function(o){"use strict";const s=()=>{};function h(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}let u=!1;function p(e){var t=u;try{return u=!0,e()}finally{u=t}}function y(e,t,i){if(e==null)return t(void 0),s;const r=p(()=>e.subscribe(t,i));return r.unsubscribe?()=>r.unsubscribe():r}const a=[];function k(e,t=s){let i=null;const r=new Set;function f(l){if(h(e,l)&&(e=l,i)){const g=!a.length;for(const n of r)n[1](),a.push(n,e);if(g){for(let n=0;n<a.length;n+=2)a[n][0](a[n+1]);a.length=0}}}function b(l){f(l(e))}function T(l,g=s){const n=[l,g];return r.add(n),r.size===1&&(i=t(f,b)||s),l(e),()=>{r.delete(n),r.size===0&&i&&(i(),i=null)}}return{set:f,update:b,subscribe:T}}function c(e){let t;return y(e,i=>t=i)(),t}globalThis.altchaPlugins=globalThis.altchaPlugins||[],globalThis.altchaI18n=globalThis.altchaI18n||{get:e=>c(globalThis.altchaI18n.store)[e],set:(e,t)=>{Object.assign(c(globalThis.altchaI18n.store),{[e]:t}),globalThis.altchaI18n.store.set(c(globalThis.altchaI18n.store))},store:k({})};const d={ariaLinkLabel:"Besøg Altcha.org",enterCode:"Indtast kode",enterCodeAria:"Indtast den kode, du hører. Tryk på mellemrumstasten for at afspille lyd.",error:"Verificering mislykkedes. Prøv venligst igen senere.",expired:"Verificering udløbet. Prøv venligst igen.",verificationRequired:"Verificering kræves!",footer:'Beskyttet af <a href="https://altcha.org/" target="_blank" aria-label="Besøg Altcha.org">ALTCHA</a>',getAudioChallenge:"Hent lydudfordring",label:"Jeg er ikke en robot",loading:"Indlæser...",reload:"Genindlæs",verify:"Verificer",verified:"Verificeret",verifying:"Verificerer...",waitAlert:"Verificerer... vent venligst."};globalThis.altchaI18n.set("da",d),o.i18n=d,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1 @@
1
+ declare module 'altcha/i18n/de';
package/dist_i18n/de.js CHANGED
@@ -1,4 +1,77 @@
1
- const e = {
1
+ const u = () => {
2
+ };
3
+ function g(e, t) {
4
+ return e != e ? t == t : e !== t || e !== null && typeof e == "object" || typeof e == "function";
5
+ }
6
+ let c = !1;
7
+ function d(e) {
8
+ var t = c;
9
+ try {
10
+ return c = !0, e();
11
+ } finally {
12
+ c = t;
13
+ }
14
+ }
15
+ function p(e, t, n) {
16
+ if (e == null)
17
+ return t(void 0), u;
18
+ const i = d(
19
+ () => e.subscribe(
20
+ t,
21
+ // @ts-expect-error
22
+ n
23
+ )
24
+ );
25
+ return i.unsubscribe ? () => i.unsubscribe() : i;
26
+ }
27
+ const l = [];
28
+ function T(e, t = u) {
29
+ let n = null;
30
+ const i = /* @__PURE__ */ new Set();
31
+ function o(s) {
32
+ if (g(e, s) && (e = s, n)) {
33
+ const a = !l.length;
34
+ for (const r of i)
35
+ r[1](), l.push(r, e);
36
+ if (a) {
37
+ for (let r = 0; r < l.length; r += 2)
38
+ l[r][0](l[r + 1]);
39
+ l.length = 0;
40
+ }
41
+ }
42
+ }
43
+ function f(s) {
44
+ o(s(
45
+ /** @type {T} */
46
+ e
47
+ ));
48
+ }
49
+ function h(s, a = u) {
50
+ const r = [s, a];
51
+ return i.add(r), i.size === 1 && (n = t(o, f) || u), s(
52
+ /** @type {T} */
53
+ e
54
+ ), () => {
55
+ i.delete(r), i.size === 0 && n && (n(), n = null);
56
+ };
57
+ }
58
+ return { set: o, update: f, subscribe: h };
59
+ }
60
+ function b(e) {
61
+ let t;
62
+ return p(e, (n) => t = n)(), t;
63
+ }
64
+ globalThis.altchaPlugins = globalThis.altchaPlugins || [];
65
+ globalThis.altchaI18n = globalThis.altchaI18n || {
66
+ get: (e) => b(globalThis.altchaI18n.store)[e],
67
+ set: (e, t) => {
68
+ Object.assign(b(globalThis.altchaI18n.store), {
69
+ [e]: t
70
+ }), globalThis.altchaI18n.store.set(b(globalThis.altchaI18n.store));
71
+ },
72
+ store: T({})
73
+ };
74
+ const A = {
2
75
  ariaLinkLabel: "Besuche Altcha.org",
3
76
  enterCode: "Code eingeben",
4
77
  enterCodeAria: "Geben Sie den Code ein, den Sie hören. Drücken Sie die Leertaste, um die Audio abzuspielen.",
@@ -15,7 +88,7 @@ const e = {
15
88
  verifying: "Wird überprüft...",
16
89
  waitAlert: "Überprüfung läuft... bitte warten."
17
90
  };
18
- globalThis.altchaI18n.register("de", e);
91
+ globalThis.altchaI18n.set("de", A);
19
92
  export {
20
- e as i18n
93
+ A as i18n
21
94
  };
@@ -1 +1 @@
1
- (function(e,r){typeof exports=="object"&&typeof module<"u"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(e=typeof globalThis<"u"?globalThis:e||self,r(e["[name]"]={}))})(this,function(e){"use strict";const r={ariaLinkLabel:"Besuche Altcha.org",enterCode:"Code eingeben",enterCodeAria:"Geben Sie den Code ein, den Sie hören. Drücken Sie die Leertaste, um die Audio abzuspielen.",error:"Überprüfung fehlgeschlagen. Bitte versuchen Sie es später erneut.",expired:"Überprüfung abgelaufen. Bitte versuchen Sie es erneut.",verificationRequired:"Überprüfung erforderlich!",footer:'Geschützt durch <a href="https://altcha.org/" target="_blank" aria-label="Besuche Altcha.org">ALTCHA</a>',getAudioChallenge:"Audio-Herausforderung anfordern",label:"Ich bin kein Roboter",loading:"Lade...",reload:"Neu laden",verify:"Überprüfen",verified:"Überprüft",verifying:"Wird überprüft...",waitAlert:"Überprüfung läuft... bitte warten."};globalThis.altchaI18n.register("de",r),e.i18n=r,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
1
+ (function(u,s){typeof exports=="object"&&typeof module<"u"?s(exports):typeof define=="function"&&define.amd?define(["exports"],s):(u=typeof globalThis<"u"?globalThis:u||self,s(u["[name]"]={}))})(this,function(u){"use strict";const s=()=>{};function g(e,n){return e!=e?n==n:e!==n||e!==null&&typeof e=="object"||typeof e=="function"}let a=!1;function p(e){var n=a;try{return a=!0,e()}finally{a=n}}function T(e,n,r){if(e==null)return n(void 0),s;const i=p(()=>e.subscribe(n,r));return i.unsubscribe?()=>i.unsubscribe():i}const l=[];function y(e,n=s){let r=null;const i=new Set;function f(o){if(g(e,o)&&(e=o,r)){const b=!l.length;for(const t of i)t[1](),l.push(t,e);if(b){for(let t=0;t<l.length;t+=2)l[t][0](l[t+1]);l.length=0}}}function d(o){f(o(e))}function A(o,b=s){const t=[o,b];return i.add(t),i.size===1&&(r=n(f,d)||s),o(e),()=>{i.delete(t),i.size===0&&r&&(r(),r=null)}}return{set:f,update:d,subscribe:A}}function c(e){let n;return T(e,r=>n=r)(),n}globalThis.altchaPlugins=globalThis.altchaPlugins||[],globalThis.altchaI18n=globalThis.altchaI18n||{get:e=>c(globalThis.altchaI18n.store)[e],set:(e,n)=>{Object.assign(c(globalThis.altchaI18n.store),{[e]:n}),globalThis.altchaI18n.store.set(c(globalThis.altchaI18n.store))},store:y({})};const h={ariaLinkLabel:"Besuche Altcha.org",enterCode:"Code eingeben",enterCodeAria:"Geben Sie den Code ein, den Sie hören. Drücken Sie die Leertaste, um die Audio abzuspielen.",error:"Überprüfung fehlgeschlagen. Bitte versuchen Sie es später erneut.",expired:"Überprüfung abgelaufen. Bitte versuchen Sie es erneut.",verificationRequired:"Überprüfung erforderlich!",footer:'Geschützt durch <a href="https://altcha.org/" target="_blank" aria-label="Besuche Altcha.org">ALTCHA</a>',getAudioChallenge:"Audio-Herausforderung anfordern",label:"Ich bin kein Roboter",loading:"Lade...",reload:"Neu laden",verify:"Überprüfen",verified:"Überprüft",verifying:"Wird überprüft...",waitAlert:"Überprüfung läuft... bitte warten."};globalThis.altchaI18n.set("de",h),u.i18n=h,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1 @@
1
+ declare module 'altcha/i18n/el';
package/dist_i18n/el.js CHANGED
@@ -1,4 +1,77 @@
1
- const e = {
1
+ const o = () => {
2
+ };
3
+ function g(e, t) {
4
+ return e != e ? t == t : e !== t || e !== null && typeof e == "object" || typeof e == "function";
5
+ }
6
+ let c = !1;
7
+ function d(e) {
8
+ var t = c;
9
+ try {
10
+ return c = !0, e();
11
+ } finally {
12
+ c = t;
13
+ }
14
+ }
15
+ function p(e, t, r) {
16
+ if (e == null)
17
+ return t(void 0), o;
18
+ const i = d(
19
+ () => e.subscribe(
20
+ t,
21
+ // @ts-expect-error
22
+ r
23
+ )
24
+ );
25
+ return i.unsubscribe ? () => i.unsubscribe() : i;
26
+ }
27
+ const s = [];
28
+ function T(e, t = o) {
29
+ let r = null;
30
+ const i = /* @__PURE__ */ new Set();
31
+ function a(l) {
32
+ if (g(e, l) && (e = l, r)) {
33
+ const u = !s.length;
34
+ for (const n of i)
35
+ n[1](), s.push(n, e);
36
+ if (u) {
37
+ for (let n = 0; n < s.length; n += 2)
38
+ s[n][0](s[n + 1]);
39
+ s.length = 0;
40
+ }
41
+ }
42
+ }
43
+ function f(l) {
44
+ a(l(
45
+ /** @type {T} */
46
+ e
47
+ ));
48
+ }
49
+ function h(l, u = o) {
50
+ const n = [l, u];
51
+ return i.add(n), i.size === 1 && (r = t(a, f) || o), l(
52
+ /** @type {T} */
53
+ e
54
+ ), () => {
55
+ i.delete(n), i.size === 0 && r && (r(), r = null);
56
+ };
57
+ }
58
+ return { set: a, update: f, subscribe: h };
59
+ }
60
+ function b(e) {
61
+ let t;
62
+ return p(e, (r) => t = r)(), t;
63
+ }
64
+ globalThis.altchaPlugins = globalThis.altchaPlugins || [];
65
+ globalThis.altchaI18n = globalThis.altchaI18n || {
66
+ get: (e) => b(globalThis.altchaI18n.store)[e],
67
+ set: (e, t) => {
68
+ Object.assign(b(globalThis.altchaI18n.store), {
69
+ [e]: t
70
+ }), globalThis.altchaI18n.store.set(b(globalThis.altchaI18n.store));
71
+ },
72
+ store: T({})
73
+ };
74
+ const A = {
2
75
  ariaLinkLabel: "Επισκεφθείτε το Altcha.org",
3
76
  enterCode: "Εισαγάγετε κωδικό",
4
77
  enterCodeAria: "Εισαγάγετε τον κωδικό που ακούτε. Πατήστε Space για να παίξετε τον ήχο.",
@@ -15,7 +88,7 @@ const e = {
15
88
  verifying: "Γίνεται επαλήθευση...",
16
89
  waitAlert: "Γίνεται επαλήθευση... παρακαλώ περιμένετε."
17
90
  };
18
- globalThis.altchaI18n.register("el", e);
91
+ globalThis.altchaI18n.set("el", A);
19
92
  export {
20
- e as i18n
93
+ A as i18n
21
94
  };
@@ -1 +1 @@
1
- (function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports):typeof define=="function"&&define.amd?define(["exports"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e["[name]"]={}))})(this,function(e){"use strict";const i={ariaLinkLabel:"Επισκεφθείτε το Altcha.org",enterCode:"Εισαγάγετε κωδικό",enterCodeAria:"Εισαγάγετε τον κωδικό που ακούτε. Πατήστε Space για να παίξετε τον ήχο.",error:"Η επαλήθευση απέτυχε. Δοκιμάστε ξανά αργότερα.",expired:"Η επαλήθευση έληξε. Δοκιμάστε ξανά.",verificationRequired:"Απαιτείται έλεγχος!",footer:'Προστατεύεται από το <a href="https://altcha.org/" target="_blank" aria-label="Επισκεφθείτε το Altcha.org">ALTCHA</a>',getAudioChallenge:"Λήψη ηχητικής δοκιμασίας",label:"Δεν είμαι ρομπότ",loading:"Φόρτωση...",reload:"Επαναφόρτωση",verify:"Επαλήθευση",verified:"Επαληθεύτηκε",verifying:"Γίνεται επαλήθευση...",waitAlert:"Γίνεται επαλήθευση... παρακαλώ περιμένετε."};globalThis.altchaI18n.register("el",i),e.i18n=i,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
1
+ (function(s,o){typeof exports=="object"&&typeof module<"u"?o(exports):typeof define=="function"&&define.amd?define(["exports"],o):(s=typeof globalThis<"u"?globalThis:s||self,o(s["[name]"]={}))})(this,function(s){"use strict";const o=()=>{};function d(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}let a=!1;function p(e){var t=a;try{return a=!0,e()}finally{a=t}}function T(e,t,i){if(e==null)return t(void 0),o;const r=p(()=>e.subscribe(t,i));return r.unsubscribe?()=>r.unsubscribe():r}const u=[];function y(e,t=o){let i=null;const r=new Set;function f(l){if(d(e,l)&&(e=l,i)){const b=!u.length;for(const n of r)n[1](),u.push(n,e);if(b){for(let n=0;n<u.length;n+=2)u[n][0](u[n+1]);u.length=0}}}function g(l){f(l(e))}function A(l,b=o){const n=[l,b];return r.add(n),r.size===1&&(i=t(f,g)||o),l(e),()=>{r.delete(n),r.size===0&&i&&(i(),i=null)}}return{set:f,update:g,subscribe:A}}function c(e){let t;return T(e,i=>t=i)(),t}globalThis.altchaPlugins=globalThis.altchaPlugins||[],globalThis.altchaI18n=globalThis.altchaI18n||{get:e=>c(globalThis.altchaI18n.store)[e],set:(e,t)=>{Object.assign(c(globalThis.altchaI18n.store),{[e]:t}),globalThis.altchaI18n.store.set(c(globalThis.altchaI18n.store))},store:y({})};const h={ariaLinkLabel:"Επισκεφθείτε το Altcha.org",enterCode:"Εισαγάγετε κωδικό",enterCodeAria:"Εισαγάγετε τον κωδικό που ακούτε. Πατήστε Space για να παίξετε τον ήχο.",error:"Η επαλήθευση απέτυχε. Δοκιμάστε ξανά αργότερα.",expired:"Η επαλήθευση έληξε. Δοκιμάστε ξανά.",verificationRequired:"Απαιτείται έλεγχος!",footer:'Προστατεύεται από το <a href="https://altcha.org/" target="_blank" aria-label="Επισκεφθείτε το Altcha.org">ALTCHA</a>',getAudioChallenge:"Λήψη ηχητικής δοκιμασίας",label:"Δεν είμαι ρομπότ",loading:"Φόρτωση...",reload:"Επαναφόρτωση",verify:"Επαλήθευση",verified:"Επαληθεύτηκε",verifying:"Γίνεται επαλήθευση...",waitAlert:"Γίνεται επαλήθευση... παρακαλώ περιμένετε."};globalThis.altchaI18n.set("el",h),s.i18n=h,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1 @@
1
+ declare module 'altcha/i18n/en';
package/dist_i18n/en.js CHANGED
@@ -1,4 +1,77 @@
1
- const e = {
1
+ const l = () => {
2
+ };
3
+ function h(e, t) {
4
+ return e != e ? t == t : e !== t || e !== null && typeof e == "object" || typeof e == "function";
5
+ }
6
+ let u = !1;
7
+ function d(e) {
8
+ var t = u;
9
+ try {
10
+ return u = !0, e();
11
+ } finally {
12
+ u = t;
13
+ }
14
+ }
15
+ function p(e, t, n) {
16
+ if (e == null)
17
+ return t(void 0), l;
18
+ const r = d(
19
+ () => e.subscribe(
20
+ t,
21
+ // @ts-expect-error
22
+ n
23
+ )
24
+ );
25
+ return r.unsubscribe ? () => r.unsubscribe() : r;
26
+ }
27
+ const o = [];
28
+ function y(e, t = l) {
29
+ let n = null;
30
+ const r = /* @__PURE__ */ new Set();
31
+ function s(a) {
32
+ if (h(e, a) && (e = a, n)) {
33
+ const c = !o.length;
34
+ for (const i of r)
35
+ i[1](), o.push(i, e);
36
+ if (c) {
37
+ for (let i = 0; i < o.length; i += 2)
38
+ o[i][0](o[i + 1]);
39
+ o.length = 0;
40
+ }
41
+ }
42
+ }
43
+ function b(a) {
44
+ s(a(
45
+ /** @type {T} */
46
+ e
47
+ ));
48
+ }
49
+ function g(a, c = l) {
50
+ const i = [a, c];
51
+ return r.add(i), r.size === 1 && (n = t(s, b) || l), a(
52
+ /** @type {T} */
53
+ e
54
+ ), () => {
55
+ r.delete(i), r.size === 0 && n && (n(), n = null);
56
+ };
57
+ }
58
+ return { set: s, update: b, subscribe: g };
59
+ }
60
+ function f(e) {
61
+ let t;
62
+ return p(e, (n) => t = n)(), t;
63
+ }
64
+ globalThis.altchaPlugins = globalThis.altchaPlugins || [];
65
+ globalThis.altchaI18n = globalThis.altchaI18n || {
66
+ get: (e) => f(globalThis.altchaI18n.store)[e],
67
+ set: (e, t) => {
68
+ Object.assign(f(globalThis.altchaI18n.store), {
69
+ [e]: t
70
+ }), globalThis.altchaI18n.store.set(f(globalThis.altchaI18n.store));
71
+ },
72
+ store: y({})
73
+ };
74
+ const T = {
2
75
  ariaLinkLabel: "Visit Altcha.org",
3
76
  enterCode: "Enter code",
4
77
  enterCodeAria: "Enter code you hear. Press Space to play audio.",
@@ -15,7 +88,7 @@ const e = {
15
88
  verifying: "Verifying...",
16
89
  waitAlert: "Verifying... please wait."
17
90
  };
18
- globalThis.altchaI18n.register("en", e);
91
+ globalThis.altchaI18n.set("en", T);
19
92
  export {
20
- e as i18n
93
+ T as i18n
21
94
  };
@@ -1 +1 @@
1
- (function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports):typeof define=="function"&&define.amd?define(["exports"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e["[name]"]={}))})(this,function(e){"use strict";const i={ariaLinkLabel:"Visit Altcha.org",enterCode:"Enter code",enterCodeAria:"Enter code you hear. Press Space to play audio.",error:"Verification failed. Try again later.",expired:"Verification expired. Try again.",footer:'Protected by <a href="https://altcha.org/" target="_blank" aria-label="Visit Altcha.org">ALTCHA</a>',getAudioChallenge:"Get an audio challenge",label:"I'm not a robot",loading:"Loading...",reload:"Reload",verify:"Verify",verificationRequired:"Verification required!",verified:"Verified",verifying:"Verifying...",waitAlert:"Verifying... please wait."};globalThis.altchaI18n.register("en",i),e.i18n=i,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
1
+ (function(l,o){typeof exports=="object"&&typeof module<"u"?o(exports):typeof define=="function"&&define.amd?define(["exports"],o):(l=typeof globalThis<"u"?globalThis:l||self,o(l["[name]"]={}))})(this,function(l){"use strict";const o=()=>{};function h(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}let u=!1;function p(e){var t=u;try{return u=!0,e()}finally{u=t}}function y(e,t,n){if(e==null)return t(void 0),o;const r=p(()=>e.subscribe(t,n));return r.unsubscribe?()=>r.unsubscribe():r}const s=[];function T(e,t=o){let n=null;const r=new Set;function f(a){if(h(e,a)&&(e=a,n)){const b=!s.length;for(const i of r)i[1](),s.push(i,e);if(b){for(let i=0;i<s.length;i+=2)s[i][0](s[i+1]);s.length=0}}}function g(a){f(a(e))}function V(a,b=o){const i=[a,b];return r.add(i),r.size===1&&(n=t(f,g)||o),a(e),()=>{r.delete(i),r.size===0&&n&&(n(),n=null)}}return{set:f,update:g,subscribe:V}}function c(e){let t;return y(e,n=>t=n)(),t}globalThis.altchaPlugins=globalThis.altchaPlugins||[],globalThis.altchaI18n=globalThis.altchaI18n||{get:e=>c(globalThis.altchaI18n.store)[e],set:(e,t)=>{Object.assign(c(globalThis.altchaI18n.store),{[e]:t}),globalThis.altchaI18n.store.set(c(globalThis.altchaI18n.store))},store:T({})};const d={ariaLinkLabel:"Visit Altcha.org",enterCode:"Enter code",enterCodeAria:"Enter code you hear. Press Space to play audio.",error:"Verification failed. Try again later.",expired:"Verification expired. Try again.",footer:'Protected by <a href="https://altcha.org/" target="_blank" aria-label="Visit Altcha.org">ALTCHA</a>',getAudioChallenge:"Get an audio challenge",label:"I'm not a robot",loading:"Loading...",reload:"Reload",verify:"Verify",verificationRequired:"Verification required!",verified:"Verified",verifying:"Verifying...",waitAlert:"Verifying... please wait."};globalThis.altchaI18n.set("en",d),l.i18n=d,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1 @@
1
+ declare module 'altcha/i18n/es-419';