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.
- package/LICENSE.txt +1 -1
- package/README.md +142 -93
- package/dist/altcha.d.ts +5 -2
- package/dist/altcha.i18n.d.ts +158 -0
- package/dist/altcha.i18n.js +4017 -0
- package/dist/altcha.i18n.umd.js +4 -0
- package/dist/altcha.js +1888 -1763
- package/dist/altcha.umd.cjs +4 -14
- package/dist_external/altcha.css +1 -255
- package/dist_external/altcha.d.ts +5 -2
- package/dist_external/altcha.js +1844 -1728
- package/dist_external/altcha.umd.cjs +3 -13
- package/dist_i18n/af.d.ts +1 -0
- package/dist_i18n/af.js +76 -3
- package/dist_i18n/af.umd.cjs +1 -1
- package/dist_i18n/all.d.ts +1 -0
- package/dist_i18n/all.js +178 -105
- package/dist_i18n/all.umd.cjs +1 -1
- package/dist_i18n/americas.d.ts +1 -0
- package/dist_i18n/americas.js +80 -7
- package/dist_i18n/americas.umd.cjs +1 -1
- package/dist_i18n/ar.d.ts +1 -0
- package/dist_i18n/ar.js +76 -3
- package/dist_i18n/ar.umd.cjs +1 -1
- package/dist_i18n/asia.d.ts +1 -0
- package/dist_i18n/asia.js +105 -32
- package/dist_i18n/asia.umd.cjs +1 -1
- package/dist_i18n/bg.d.ts +1 -0
- package/dist_i18n/bg.js +76 -3
- package/dist_i18n/bg.umd.cjs +1 -1
- package/dist_i18n/bn.d.ts +1 -0
- package/dist_i18n/bn.js +76 -3
- package/dist_i18n/bn.umd.cjs +1 -1
- package/dist_i18n/bs.d.ts +1 -0
- package/dist_i18n/bs.js +76 -3
- package/dist_i18n/bs.umd.cjs +1 -1
- package/dist_i18n/ca.d.ts +1 -0
- package/dist_i18n/ca.js +76 -3
- package/dist_i18n/ca.umd.cjs +1 -1
- package/dist_i18n/cs.d.ts +1 -0
- package/dist_i18n/cs.js +76 -3
- package/dist_i18n/cs.umd.cjs +1 -1
- package/dist_i18n/da.d.ts +1 -0
- package/dist_i18n/da.js +76 -3
- package/dist_i18n/da.umd.cjs +1 -1
- package/dist_i18n/de.d.ts +1 -0
- package/dist_i18n/de.js +76 -3
- package/dist_i18n/de.umd.cjs +1 -1
- package/dist_i18n/el.d.ts +1 -0
- package/dist_i18n/el.js +76 -3
- package/dist_i18n/el.umd.cjs +1 -1
- package/dist_i18n/en.d.ts +1 -0
- package/dist_i18n/en.js +76 -3
- package/dist_i18n/en.umd.cjs +1 -1
- package/dist_i18n/es-419.d.ts +1 -0
- package/dist_i18n/es-419.js +76 -3
- package/dist_i18n/es-419.umd.cjs +1 -1
- package/dist_i18n/es-es.d.ts +1 -0
- package/dist_i18n/es-es.js +76 -3
- package/dist_i18n/es-es.umd.cjs +1 -1
- package/dist_i18n/et.d.ts +1 -0
- package/dist_i18n/et.js +76 -3
- package/dist_i18n/et.umd.cjs +1 -1
- package/dist_i18n/eu.d.ts +1 -0
- package/dist_i18n/eu.js +76 -3
- package/dist_i18n/eu.umd.cjs +1 -1
- package/dist_i18n/europe.d.ts +1 -0
- package/dist_i18n/europe.js +139 -66
- package/dist_i18n/europe.umd.cjs +1 -1
- package/dist_i18n/fi.d.ts +1 -0
- package/dist_i18n/fi.js +76 -3
- package/dist_i18n/fi.umd.cjs +1 -1
- package/dist_i18n/fr-ca.d.ts +1 -0
- package/dist_i18n/fr-ca.js +77 -4
- package/dist_i18n/fr-ca.umd.cjs +1 -1
- package/dist_i18n/fr-fr.d.ts +1 -0
- package/dist_i18n/fr-fr.js +77 -4
- package/dist_i18n/fr-fr.umd.cjs +1 -1
- package/dist_i18n/ga.d.ts +1 -0
- package/dist_i18n/ga.js +76 -3
- package/dist_i18n/ga.umd.cjs +1 -1
- package/dist_i18n/he.d.ts +1 -0
- package/dist_i18n/he.js +76 -3
- package/dist_i18n/he.umd.cjs +1 -1
- package/dist_i18n/hi.d.ts +1 -0
- package/dist_i18n/hi.js +76 -3
- package/dist_i18n/hi.umd.cjs +1 -1
- package/dist_i18n/hr.d.ts +1 -0
- package/dist_i18n/hr.js +76 -3
- package/dist_i18n/hr.umd.cjs +1 -1
- package/dist_i18n/hu.d.ts +1 -0
- package/dist_i18n/hu.js +76 -3
- package/dist_i18n/hu.umd.cjs +1 -1
- package/dist_i18n/id.d.ts +1 -0
- package/dist_i18n/id.js +76 -3
- package/dist_i18n/id.umd.cjs +1 -1
- package/dist_i18n/is.d.ts +1 -0
- package/dist_i18n/is.js +76 -3
- package/dist_i18n/is.umd.cjs +1 -1
- package/dist_i18n/it.d.ts +1 -0
- package/dist_i18n/it.js +76 -3
- package/dist_i18n/it.umd.cjs +1 -1
- package/dist_i18n/ja.d.ts +1 -0
- package/dist_i18n/ja.js +76 -3
- package/dist_i18n/ja.umd.cjs +1 -1
- package/dist_i18n/ko.d.ts +1 -0
- package/dist_i18n/ko.js +76 -3
- package/dist_i18n/ko.umd.cjs +1 -1
- package/dist_i18n/lt.d.ts +1 -0
- package/dist_i18n/lt.js +76 -3
- package/dist_i18n/lt.umd.cjs +1 -1
- package/dist_i18n/lv.d.ts +1 -0
- package/dist_i18n/lv.js +76 -3
- package/dist_i18n/lv.umd.cjs +1 -1
- package/dist_i18n/mr.d.ts +1 -0
- package/dist_i18n/mr.js +76 -3
- package/dist_i18n/mr.umd.cjs +1 -1
- package/dist_i18n/mt.d.ts +1 -0
- package/dist_i18n/mt.js +76 -3
- package/dist_i18n/mt.umd.cjs +1 -1
- package/dist_i18n/nb.d.ts +1 -0
- package/dist_i18n/nb.js +77 -4
- package/dist_i18n/nb.umd.cjs +1 -1
- package/dist_i18n/nl.d.ts +1 -0
- package/dist_i18n/nl.js +76 -3
- package/dist_i18n/nl.umd.cjs +1 -1
- package/dist_i18n/pl.d.ts +1 -0
- package/dist_i18n/pl.js +76 -3
- package/dist_i18n/pl.umd.cjs +1 -1
- package/dist_i18n/pt-br.d.ts +1 -0
- package/dist_i18n/pt-br.js +76 -3
- package/dist_i18n/pt-br.umd.cjs +1 -1
- package/dist_i18n/pt-pt.d.ts +1 -0
- package/dist_i18n/pt-pt.js +76 -3
- package/dist_i18n/pt-pt.umd.cjs +1 -1
- package/dist_i18n/ro.d.ts +1 -0
- package/dist_i18n/ro.js +76 -3
- package/dist_i18n/ro.umd.cjs +1 -1
- package/dist_i18n/ru.d.ts +1 -0
- package/dist_i18n/ru.js +76 -3
- package/dist_i18n/ru.umd.cjs +1 -1
- package/dist_i18n/sk.d.ts +1 -0
- package/dist_i18n/sk.js +76 -3
- package/dist_i18n/sk.umd.cjs +1 -1
- package/dist_i18n/sl.d.ts +1 -0
- package/dist_i18n/sl.js +76 -3
- package/dist_i18n/sl.umd.cjs +1 -1
- package/dist_i18n/sr.d.ts +1 -0
- package/dist_i18n/sr.js +76 -3
- package/dist_i18n/sr.umd.cjs +1 -1
- package/dist_i18n/sv.d.ts +1 -0
- package/dist_i18n/sv.js +76 -3
- package/dist_i18n/sv.umd.cjs +1 -1
- package/dist_i18n/ta.d.ts +1 -0
- package/dist_i18n/ta.js +76 -3
- package/dist_i18n/ta.umd.cjs +1 -1
- package/dist_i18n/te.d.ts +1 -0
- package/dist_i18n/te.js +76 -3
- package/dist_i18n/te.umd.cjs +1 -1
- package/dist_i18n/th.d.ts +1 -0
- package/dist_i18n/th.js +76 -3
- package/dist_i18n/th.umd.cjs +1 -1
- package/dist_i18n/tr.d.ts +1 -0
- package/dist_i18n/tr.js +76 -3
- package/dist_i18n/tr.umd.cjs +1 -1
- package/dist_i18n/uk.d.ts +1 -0
- package/dist_i18n/uk.js +76 -3
- package/dist_i18n/uk.umd.cjs +1 -1
- package/dist_i18n/ur.d.ts +1 -0
- package/dist_i18n/ur.js +76 -3
- package/dist_i18n/ur.umd.cjs +1 -1
- package/dist_i18n/vi.d.ts +1 -0
- package/dist_i18n/vi.js +76 -3
- package/dist_i18n/vi.umd.cjs +1 -1
- package/dist_i18n/zh-cn.d.ts +1 -0
- package/dist_i18n/zh-cn.js +76 -3
- package/dist_i18n/zh-cn.umd.cjs +1 -1
- package/dist_i18n/zh-tw.d.ts +1 -0
- package/dist_i18n/zh-tw.js +76 -3
- package/dist_i18n/zh-tw.umd.cjs +1 -1
- package/package.json +13 -7
package/dist_i18n/sl.js
CHANGED
|
@@ -1,4 +1,77 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a = () => {
|
|
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 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 j(e, t, i) {
|
|
16
|
+
if (e == null)
|
|
17
|
+
return t(void 0), a;
|
|
18
|
+
const r = d(
|
|
19
|
+
() => e.subscribe(
|
|
20
|
+
t,
|
|
21
|
+
// @ts-expect-error
|
|
22
|
+
i
|
|
23
|
+
)
|
|
24
|
+
);
|
|
25
|
+
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
26
|
+
}
|
|
27
|
+
const s = [];
|
|
28
|
+
function p(e, t = a) {
|
|
29
|
+
let i = null;
|
|
30
|
+
const r = /* @__PURE__ */ new Set();
|
|
31
|
+
function l(o) {
|
|
32
|
+
if (h(e, o) && (e = o, i)) {
|
|
33
|
+
const u = !s.length;
|
|
34
|
+
for (const n of r)
|
|
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(o) {
|
|
44
|
+
l(o(
|
|
45
|
+
/** @type {T} */
|
|
46
|
+
e
|
|
47
|
+
));
|
|
48
|
+
}
|
|
49
|
+
function g(o, u = a) {
|
|
50
|
+
const n = [o, u];
|
|
51
|
+
return r.add(n), r.size === 1 && (i = t(l, f) || a), o(
|
|
52
|
+
/** @type {T} */
|
|
53
|
+
e
|
|
54
|
+
), () => {
|
|
55
|
+
r.delete(n), r.size === 0 && i && (i(), i = null);
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
return { set: l, update: f, subscribe: g };
|
|
59
|
+
}
|
|
60
|
+
function b(e) {
|
|
61
|
+
let t;
|
|
62
|
+
return j(e, (i) => t = i)(), 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 v = {
|
|
2
75
|
ariaLinkLabel: "Obiščite Altcha.org",
|
|
3
76
|
enterCode: "Vnesite kodo",
|
|
4
77
|
enterCodeAria: "Vnesite kodo, ki jo slišite. Pritisnite preslednico za predvajanje zvoka.",
|
|
@@ -15,7 +88,7 @@ const e = {
|
|
|
15
88
|
verifying: "Preverjanje...",
|
|
16
89
|
waitAlert: "Preverjanje... prosim počakajte."
|
|
17
90
|
};
|
|
18
|
-
globalThis.altchaI18n.
|
|
91
|
+
globalThis.altchaI18n.set("sl", v);
|
|
19
92
|
export {
|
|
20
|
-
|
|
93
|
+
v as i18n
|
|
21
94
|
};
|
package/dist_i18n/sl.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(a,r){typeof exports=="object"&&typeof module<"u"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(a=typeof globalThis<"u"?globalThis:a||self,r(a["[name]"]={}))})(this,function(a){"use strict";const r=()=>{};function g(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 j(e,t,i){if(e==null)return t(void 0),r;const o=p(()=>e.subscribe(t,i));return o.unsubscribe?()=>o.unsubscribe():o}const l=[];function v(e,t=r){let i=null;const o=new Set;function f(s){if(g(e,s)&&(e=s,i)){const b=!l.length;for(const n of o)n[1](),l.push(n,e);if(b){for(let n=0;n<l.length;n+=2)l[n][0](l[n+1]);l.length=0}}}function d(s){f(s(e))}function P(s,b=r){const n=[s,b];return o.add(n),o.size===1&&(i=t(f,d)||r),s(e),()=>{o.delete(n),o.size===0&&i&&(i(),i=null)}}return{set:f,update:d,subscribe:P}}function c(e){let t;return j(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:v({})};const h={ariaLinkLabel:"Obiščite Altcha.org",enterCode:"Vnesite kodo",enterCodeAria:"Vnesite kodo, ki jo slišite. Pritisnite preslednico za predvajanje zvoka.",error:"Preverjanje ni uspelo. Poskusite znova kasneje.",expired:"Preverjanje je poteklo. Poskusite znova.",verificationRequired:"Potrebna je preveritev!",footer:'Zaščiteno z <a href="https://altcha.org/" target="_blank" aria-label="Obiščite Altcha.org">ALTCHA</a>',getAudioChallenge:"Pridobite zvočni izziv",label:"Nisem robot",loading:"Nalagam...",reload:"Ponovno naloži",verify:"Preveri",verified:"Preverjeno",verifying:"Preverjanje...",waitAlert:"Preverjanje... prosim počakajte."};globalThis.altchaI18n.set("sl",h),a.i18n=h,Object.defineProperty(a,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'altcha/i18n/sr';
|
package/dist_i18n/sr.js
CHANGED
|
@@ -1,4 +1,77 @@
|
|
|
1
|
-
const
|
|
1
|
+
const s = () => {
|
|
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 k(e) {
|
|
8
|
+
var t = c;
|
|
9
|
+
try {
|
|
10
|
+
return c = !0, e();
|
|
11
|
+
} finally {
|
|
12
|
+
c = t;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function d(e, t, o) {
|
|
16
|
+
if (e == null)
|
|
17
|
+
return t(void 0), s;
|
|
18
|
+
const n = k(
|
|
19
|
+
() => e.subscribe(
|
|
20
|
+
t,
|
|
21
|
+
// @ts-expect-error
|
|
22
|
+
o
|
|
23
|
+
)
|
|
24
|
+
);
|
|
25
|
+
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
26
|
+
}
|
|
27
|
+
const r = [];
|
|
28
|
+
function j(e, t = s) {
|
|
29
|
+
let o = null;
|
|
30
|
+
const n = /* @__PURE__ */ new Set();
|
|
31
|
+
function l(a) {
|
|
32
|
+
if (g(e, a) && (e = a, o)) {
|
|
33
|
+
const u = !r.length;
|
|
34
|
+
for (const i of n)
|
|
35
|
+
i[1](), r.push(i, e);
|
|
36
|
+
if (u) {
|
|
37
|
+
for (let i = 0; i < r.length; i += 2)
|
|
38
|
+
r[i][0](r[i + 1]);
|
|
39
|
+
r.length = 0;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
function b(a) {
|
|
44
|
+
l(a(
|
|
45
|
+
/** @type {T} */
|
|
46
|
+
e
|
|
47
|
+
));
|
|
48
|
+
}
|
|
49
|
+
function h(a, u = s) {
|
|
50
|
+
const i = [a, u];
|
|
51
|
+
return n.add(i), n.size === 1 && (o = t(l, b) || s), a(
|
|
52
|
+
/** @type {T} */
|
|
53
|
+
e
|
|
54
|
+
), () => {
|
|
55
|
+
n.delete(i), n.size === 0 && o && (o(), o = null);
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
return { set: l, update: b, subscribe: h };
|
|
59
|
+
}
|
|
60
|
+
function f(e) {
|
|
61
|
+
let t;
|
|
62
|
+
return d(e, (o) => t = o)(), 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: j({})
|
|
73
|
+
};
|
|
74
|
+
const p = {
|
|
2
75
|
ariaLinkLabel: "Posetite Altcha.org",
|
|
3
76
|
enterCode: "Unesite kod",
|
|
4
77
|
enterCodeAria: "Unesite kod koji čujete. Pritisnite Space da biste pustili zvuk.",
|
|
@@ -15,7 +88,7 @@ const e = {
|
|
|
15
88
|
verifying: "Verifikacija u toku...",
|
|
16
89
|
waitAlert: "Verifikacija u toku... molimo vas da sačekate."
|
|
17
90
|
};
|
|
18
|
-
globalThis.altchaI18n.
|
|
91
|
+
globalThis.altchaI18n.set("sr", p);
|
|
19
92
|
export {
|
|
20
|
-
|
|
93
|
+
p as i18n
|
|
21
94
|
};
|
package/dist_i18n/sr.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(r,a){typeof exports=="object"&&typeof module<"u"?a(exports):typeof define=="function"&&define.amd?define(["exports"],a):(r=typeof globalThis<"u"?globalThis:r||self,a(r["[name]"]={}))})(this,function(r){"use strict";const a=()=>{};function g(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}let u=!1;function k(e){var t=u;try{return u=!0,e()}finally{u=t}}function p(e,t,n){if(e==null)return t(void 0),a;const o=k(()=>e.subscribe(t,n));return o.unsubscribe?()=>o.unsubscribe():o}const l=[];function j(e,t=a){let n=null;const o=new Set;function f(s){if(g(e,s)&&(e=s,n)){const b=!l.length;for(const i of o)i[1](),l.push(i,e);if(b){for(let i=0;i<l.length;i+=2)l[i][0](l[i+1]);l.length=0}}}function d(s){f(s(e))}function v(s,b=a){const i=[s,b];return o.add(i),o.size===1&&(n=t(f,d)||a),s(e),()=>{o.delete(i),o.size===0&&n&&(n(),n=null)}}return{set:f,update:d,subscribe:v}}function c(e){let t;return p(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:j({})};const h={ariaLinkLabel:"Posetite Altcha.org",enterCode:"Unesite kod",enterCodeAria:"Unesite kod koji čujete. Pritisnite Space da biste pustili zvuk.",error:"Verifikacija nije uspela. Pokušajte ponovo kasnije.",expired:"Verifikacija je istekla. Pokušajte ponovo.",footer:'Zaštićeno od strane <a href="https://altcha.org/" target="_blank" aria-label="Posetite Altcha.org">ALTCHA</a>',getAudioChallenge:"Dohvatite audio izazov",label:"Nisam robot",loading:"Učitavanje...",reload:"Ponovo učitaj",verify:"Verifikuj",verificationRequired:"Verifikacija je obavezna!",verified:"Verifikovano",verifying:"Verifikacija u toku...",waitAlert:"Verifikacija u toku... molimo vas da sačekate."};globalThis.altchaI18n.set("sr",h),r.i18n=h,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'altcha/i18n/sv';
|
package/dist_i18n/sv.js
CHANGED
|
@@ -1,4 +1,77 @@
|
|
|
1
|
-
const
|
|
1
|
+
const l = () => {
|
|
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 c = !1;
|
|
7
|
+
function d(e) {
|
|
8
|
+
var r = c;
|
|
9
|
+
try {
|
|
10
|
+
return c = !0, e();
|
|
11
|
+
} finally {
|
|
12
|
+
c = r;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function k(e, r, n) {
|
|
16
|
+
if (e == null)
|
|
17
|
+
return r(void 0), l;
|
|
18
|
+
const i = d(
|
|
19
|
+
() => e.subscribe(
|
|
20
|
+
r,
|
|
21
|
+
// @ts-expect-error
|
|
22
|
+
n
|
|
23
|
+
)
|
|
24
|
+
);
|
|
25
|
+
return i.unsubscribe ? () => i.unsubscribe() : i;
|
|
26
|
+
}
|
|
27
|
+
const s = [];
|
|
28
|
+
function p(e, r = l) {
|
|
29
|
+
let n = null;
|
|
30
|
+
const i = /* @__PURE__ */ new Set();
|
|
31
|
+
function o(a) {
|
|
32
|
+
if (h(e, a) && (e = a, n)) {
|
|
33
|
+
const u = !s.length;
|
|
34
|
+
for (const t of i)
|
|
35
|
+
t[1](), s.push(t, e);
|
|
36
|
+
if (u) {
|
|
37
|
+
for (let t = 0; t < s.length; t += 2)
|
|
38
|
+
s[t][0](s[t + 1]);
|
|
39
|
+
s.length = 0;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
function f(a) {
|
|
44
|
+
o(a(
|
|
45
|
+
/** @type {T} */
|
|
46
|
+
e
|
|
47
|
+
));
|
|
48
|
+
}
|
|
49
|
+
function b(a, u = l) {
|
|
50
|
+
const t = [a, u];
|
|
51
|
+
return i.add(t), i.size === 1 && (n = r(o, f) || l), a(
|
|
52
|
+
/** @type {T} */
|
|
53
|
+
e
|
|
54
|
+
), () => {
|
|
55
|
+
i.delete(t), i.size === 0 && n && (n(), n = null);
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
return { set: o, update: f, subscribe: b };
|
|
59
|
+
}
|
|
60
|
+
function g(e) {
|
|
61
|
+
let r;
|
|
62
|
+
return k(e, (n) => r = n)(), r;
|
|
63
|
+
}
|
|
64
|
+
globalThis.altchaPlugins = globalThis.altchaPlugins || [];
|
|
65
|
+
globalThis.altchaI18n = globalThis.altchaI18n || {
|
|
66
|
+
get: (e) => g(globalThis.altchaI18n.store)[e],
|
|
67
|
+
set: (e, r) => {
|
|
68
|
+
Object.assign(g(globalThis.altchaI18n.store), {
|
|
69
|
+
[e]: r
|
|
70
|
+
}), globalThis.altchaI18n.store.set(g(globalThis.altchaI18n.store));
|
|
71
|
+
},
|
|
72
|
+
store: p({})
|
|
73
|
+
};
|
|
74
|
+
const T = {
|
|
2
75
|
ariaLinkLabel: "Besök Altcha.org",
|
|
3
76
|
enterCode: "Ange kod",
|
|
4
77
|
enterCodeAria: "Ange koden du hör. Tryck på mellanslag för att spela upp ljudet.",
|
|
@@ -15,7 +88,7 @@ const e = {
|
|
|
15
88
|
verifying: "Verifierar...",
|
|
16
89
|
waitAlert: "Verifierar... vänligen vänta."
|
|
17
90
|
};
|
|
18
|
-
globalThis.altchaI18n.
|
|
91
|
+
globalThis.altchaI18n.set("sv", T);
|
|
19
92
|
export {
|
|
20
|
-
|
|
93
|
+
T as i18n
|
|
21
94
|
};
|
package/dist_i18n/sv.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(l,s){typeof exports=="object"&&typeof module<"u"?s(exports):typeof define=="function"&&define.amd?define(["exports"],s):(l=typeof globalThis<"u"?globalThis:l||self,s(l["[name]"]={}))})(this,function(l){"use strict";const s=()=>{};function h(e,n){return e!=e?n==n:e!==n||e!==null&&typeof e=="object"||typeof e=="function"}let u=!1;function p(e){var n=u;try{return u=!0,e()}finally{u=n}}function k(e,n,i){if(e==null)return n(void 0),s;const r=p(()=>e.subscribe(n,i));return r.unsubscribe?()=>r.unsubscribe():r}const o=[];function T(e,n=s){let i=null;const r=new Set;function f(a){if(h(e,a)&&(e=a,i)){const g=!o.length;for(const t of r)t[1](),o.push(t,e);if(g){for(let t=0;t<o.length;t+=2)o[t][0](o[t+1]);o.length=0}}}function b(a){f(a(e))}function y(a,g=s){const t=[a,g];return r.add(t),r.size===1&&(i=n(f,b)||s),a(e),()=>{r.delete(t),r.size===0&&i&&(i(),i=null)}}return{set:f,update:b,subscribe:y}}function c(e){let n;return k(e,i=>n=i)(),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:T({})};const d={ariaLinkLabel:"Besök Altcha.org",enterCode:"Ange kod",enterCodeAria:"Ange koden du hör. Tryck på mellanslag för att spela upp ljudet.",error:"Verifiering misslyckades. Försök igen senare.",expired:"Verifieringen har gått ut. Försök igen.",verificationRequired:"Verifiering krävs!",footer:'Skyddad av <a href="https://altcha.org/" target="_blank" aria-label="Besök Altcha.org">ALTCHA</a>',getAudioChallenge:"Få ljudutmaning",label:"Jag är inte en robot",loading:"Laddar...",reload:"Ladda om",verify:"Verifiera",verified:"Verifierad",verifying:"Verifierar...",waitAlert:"Verifierar... vänligen vänta."};globalThis.altchaI18n.set("sv",d),l.i18n=d,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'altcha/i18n/ta';
|
package/dist_i18n/ta.js
CHANGED
|
@@ -1,4 +1,77 @@
|
|
|
1
|
-
const
|
|
1
|
+
const o = () => {
|
|
2
|
+
};
|
|
3
|
+
function g(t, e) {
|
|
4
|
+
return t != t ? e == e : t !== e || t !== null && typeof t == "object" || typeof t == "function";
|
|
5
|
+
}
|
|
6
|
+
let c = !1;
|
|
7
|
+
function d(t) {
|
|
8
|
+
var e = c;
|
|
9
|
+
try {
|
|
10
|
+
return c = !0, t();
|
|
11
|
+
} finally {
|
|
12
|
+
c = e;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function p(t, e, r) {
|
|
16
|
+
if (t == null)
|
|
17
|
+
return e(void 0), o;
|
|
18
|
+
const i = d(
|
|
19
|
+
() => t.subscribe(
|
|
20
|
+
e,
|
|
21
|
+
// @ts-expect-error
|
|
22
|
+
r
|
|
23
|
+
)
|
|
24
|
+
);
|
|
25
|
+
return i.unsubscribe ? () => i.unsubscribe() : i;
|
|
26
|
+
}
|
|
27
|
+
const s = [];
|
|
28
|
+
function T(t, e = o) {
|
|
29
|
+
let r = null;
|
|
30
|
+
const i = /* @__PURE__ */ new Set();
|
|
31
|
+
function a(l) {
|
|
32
|
+
if (g(t, l) && (t = l, r)) {
|
|
33
|
+
const u = !s.length;
|
|
34
|
+
for (const n of i)
|
|
35
|
+
n[1](), s.push(n, t);
|
|
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
|
+
t
|
|
47
|
+
));
|
|
48
|
+
}
|
|
49
|
+
function h(l, u = o) {
|
|
50
|
+
const n = [l, u];
|
|
51
|
+
return i.add(n), i.size === 1 && (r = e(a, f) || o), l(
|
|
52
|
+
/** @type {T} */
|
|
53
|
+
t
|
|
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(t) {
|
|
61
|
+
let e;
|
|
62
|
+
return p(t, (r) => e = r)(), e;
|
|
63
|
+
}
|
|
64
|
+
globalThis.altchaPlugins = globalThis.altchaPlugins || [];
|
|
65
|
+
globalThis.altchaI18n = globalThis.altchaI18n || {
|
|
66
|
+
get: (t) => b(globalThis.altchaI18n.store)[t],
|
|
67
|
+
set: (t, e) => {
|
|
68
|
+
Object.assign(b(globalThis.altchaI18n.store), {
|
|
69
|
+
[t]: e
|
|
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.
|
|
91
|
+
globalThis.altchaI18n.set("ta", A);
|
|
19
92
|
export {
|
|
20
|
-
|
|
93
|
+
A as i18n
|
|
21
94
|
};
|
package/dist_i18n/ta.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
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 d(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 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 a=[];function y(e,t=o){let i=null;const r=new Set;function f(s){if(d(e,s)&&(e=s,i)){const b=!a.length;for(const n of r)n[1](),a.push(n,e);if(b){for(let n=0;n<a.length;n+=2)a[n][0](a[n+1]);a.length=0}}}function g(s){f(s(e))}function A(s,b=o){const n=[s,b];return r.add(n),r.size===1&&(i=t(f,g)||o),s(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("ta",h),l.i18n=h,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'altcha/i18n/te';
|
package/dist_i18n/te.js
CHANGED
|
@@ -1,4 +1,77 @@
|
|
|
1
|
-
const
|
|
1
|
+
const o = () => {
|
|
2
|
+
};
|
|
3
|
+
function g(t, e) {
|
|
4
|
+
return t != t ? e == e : t !== e || t !== null && typeof t == "object" || typeof t == "function";
|
|
5
|
+
}
|
|
6
|
+
let c = !1;
|
|
7
|
+
function d(t) {
|
|
8
|
+
var e = c;
|
|
9
|
+
try {
|
|
10
|
+
return c = !0, t();
|
|
11
|
+
} finally {
|
|
12
|
+
c = e;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function p(t, e, r) {
|
|
16
|
+
if (t == null)
|
|
17
|
+
return e(void 0), o;
|
|
18
|
+
const i = d(
|
|
19
|
+
() => t.subscribe(
|
|
20
|
+
e,
|
|
21
|
+
// @ts-expect-error
|
|
22
|
+
r
|
|
23
|
+
)
|
|
24
|
+
);
|
|
25
|
+
return i.unsubscribe ? () => i.unsubscribe() : i;
|
|
26
|
+
}
|
|
27
|
+
const s = [];
|
|
28
|
+
function T(t, e = o) {
|
|
29
|
+
let r = null;
|
|
30
|
+
const i = /* @__PURE__ */ new Set();
|
|
31
|
+
function a(l) {
|
|
32
|
+
if (g(t, l) && (t = l, r)) {
|
|
33
|
+
const u = !s.length;
|
|
34
|
+
for (const n of i)
|
|
35
|
+
n[1](), s.push(n, t);
|
|
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
|
+
t
|
|
47
|
+
));
|
|
48
|
+
}
|
|
49
|
+
function h(l, u = o) {
|
|
50
|
+
const n = [l, u];
|
|
51
|
+
return i.add(n), i.size === 1 && (r = e(a, f) || o), l(
|
|
52
|
+
/** @type {T} */
|
|
53
|
+
t
|
|
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(t) {
|
|
61
|
+
let e;
|
|
62
|
+
return p(t, (r) => e = r)(), e;
|
|
63
|
+
}
|
|
64
|
+
globalThis.altchaPlugins = globalThis.altchaPlugins || [];
|
|
65
|
+
globalThis.altchaI18n = globalThis.altchaI18n || {
|
|
66
|
+
get: (t) => b(globalThis.altchaI18n.store)[t],
|
|
67
|
+
set: (t, e) => {
|
|
68
|
+
Object.assign(b(globalThis.altchaI18n.store), {
|
|
69
|
+
[t]: e
|
|
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: "మీరు విన్న కోడ్ని నమోదు చేయండి. ఆడియో ప్లే చేయడానికి స్పేస్ను నొక్కండి.",
|
|
@@ -15,7 +88,7 @@ const e = {
|
|
|
15
88
|
verifying: "ధ్రువీకరణ జరుగుతుంది...",
|
|
16
89
|
waitAlert: "ధ్రువీకరణ జరుగుతుంది... దయచేసి వేచి ఉండండి."
|
|
17
90
|
};
|
|
18
|
-
globalThis.altchaI18n.
|
|
91
|
+
globalThis.altchaI18n.set("te", A);
|
|
19
92
|
export {
|
|
20
|
-
|
|
93
|
+
A as i18n
|
|
21
94
|
};
|
package/dist_i18n/te.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
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 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(s){if(d(e,s)&&(e=s,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(s){f(s(e))}function A(s,b=o){const n=[s,b];return r.add(n),r.size===1&&(i=t(f,g)||o),s(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:"మీరు విన్న కోడ్ని నమోదు చేయండి. ఆడియో ప్లే చేయడానికి స్పేస్ను నొక్కండి.",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("te",h),l.i18n=h,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'altcha/i18n/th';
|
package/dist_i18n/th.js
CHANGED
|
@@ -1,4 +1,77 @@
|
|
|
1
|
-
const
|
|
1
|
+
const o = () => {
|
|
2
|
+
};
|
|
3
|
+
function g(t, e) {
|
|
4
|
+
return t != t ? e == e : t !== e || t !== null && typeof t == "object" || typeof t == "function";
|
|
5
|
+
}
|
|
6
|
+
let c = !1;
|
|
7
|
+
function d(t) {
|
|
8
|
+
var e = c;
|
|
9
|
+
try {
|
|
10
|
+
return c = !0, t();
|
|
11
|
+
} finally {
|
|
12
|
+
c = e;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function p(t, e, r) {
|
|
16
|
+
if (t == null)
|
|
17
|
+
return e(void 0), o;
|
|
18
|
+
const i = d(
|
|
19
|
+
() => t.subscribe(
|
|
20
|
+
e,
|
|
21
|
+
// @ts-expect-error
|
|
22
|
+
r
|
|
23
|
+
)
|
|
24
|
+
);
|
|
25
|
+
return i.unsubscribe ? () => i.unsubscribe() : i;
|
|
26
|
+
}
|
|
27
|
+
const s = [];
|
|
28
|
+
function T(t, e = o) {
|
|
29
|
+
let r = null;
|
|
30
|
+
const i = /* @__PURE__ */ new Set();
|
|
31
|
+
function a(l) {
|
|
32
|
+
if (g(t, l) && (t = l, r)) {
|
|
33
|
+
const u = !s.length;
|
|
34
|
+
for (const n of i)
|
|
35
|
+
n[1](), s.push(n, t);
|
|
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
|
+
t
|
|
47
|
+
));
|
|
48
|
+
}
|
|
49
|
+
function h(l, u = o) {
|
|
50
|
+
const n = [l, u];
|
|
51
|
+
return i.add(n), i.size === 1 && (r = e(a, f) || o), l(
|
|
52
|
+
/** @type {T} */
|
|
53
|
+
t
|
|
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(t) {
|
|
61
|
+
let e;
|
|
62
|
+
return p(t, (r) => e = r)(), e;
|
|
63
|
+
}
|
|
64
|
+
globalThis.altchaPlugins = globalThis.altchaPlugins || [];
|
|
65
|
+
globalThis.altchaI18n = globalThis.altchaI18n || {
|
|
66
|
+
get: (t) => b(globalThis.altchaI18n.store)[t],
|
|
67
|
+
set: (t, e) => {
|
|
68
|
+
Object.assign(b(globalThis.altchaI18n.store), {
|
|
69
|
+
[t]: e
|
|
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.
|
|
91
|
+
globalThis.altchaI18n.set("th", A);
|
|
19
92
|
export {
|
|
20
|
-
|
|
93
|
+
A as i18n
|
|
21
94
|
};
|
package/dist_i18n/th.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
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 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(s){if(d(e,s)&&(e=s,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(s){f(s(e))}function A(s,b=o){const n=[s,b];return r.add(n),r.size===1&&(i=t(f,g)||o),s(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("th",h),l.i18n=h,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'altcha/i18n/tr';
|