altcha 3.1.0 → 3.2.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 (171) hide show
  1. package/dist/external/altcha.js +2 -4
  2. package/dist/external/altcha.min.js +1 -1
  3. package/dist/external/altcha.umd.cjs +2 -4
  4. package/dist/external/altcha.umd.min.cjs +1 -1
  5. package/dist/i18n/af.js +109 -3
  6. package/dist/i18n/af.umd.cjs +109 -3
  7. package/dist/i18n/africa.js +115 -21
  8. package/dist/i18n/africa.umd.cjs +115 -21
  9. package/dist/i18n/all.js +169 -183
  10. package/dist/i18n/all.umd.cjs +169 -183
  11. package/dist/i18n/am.js +109 -3
  12. package/dist/i18n/am.umd.cjs +109 -3
  13. package/dist/i18n/americas.js +111 -9
  14. package/dist/i18n/americas.umd.cjs +111 -9
  15. package/dist/i18n/ar.js +109 -3
  16. package/dist/i18n/ar.umd.cjs +109 -3
  17. package/dist/i18n/asia.js +132 -72
  18. package/dist/i18n/asia.umd.cjs +132 -72
  19. package/dist/i18n/az.js +109 -3
  20. package/dist/i18n/az.umd.cjs +109 -3
  21. package/dist/i18n/be.js +109 -3
  22. package/dist/i18n/be.umd.cjs +109 -3
  23. package/dist/i18n/bg.js +109 -3
  24. package/dist/i18n/bg.umd.cjs +109 -3
  25. package/dist/i18n/bn.js +109 -3
  26. package/dist/i18n/bn.umd.cjs +109 -3
  27. package/dist/i18n/bs.js +109 -3
  28. package/dist/i18n/bs.umd.cjs +109 -3
  29. package/dist/i18n/ca.js +109 -3
  30. package/dist/i18n/ca.umd.cjs +109 -3
  31. package/dist/i18n/cs.js +109 -3
  32. package/dist/i18n/cs.umd.cjs +109 -3
  33. package/dist/i18n/da.js +109 -3
  34. package/dist/i18n/da.umd.cjs +109 -3
  35. package/dist/i18n/de.js +109 -3
  36. package/dist/i18n/de.umd.cjs +109 -3
  37. package/dist/i18n/el.js +109 -3
  38. package/dist/i18n/el.umd.cjs +109 -3
  39. package/dist/i18n/en.js +109 -3
  40. package/dist/i18n/en.umd.cjs +109 -3
  41. package/dist/i18n/es-419.js +109 -3
  42. package/dist/i18n/es-419.umd.cjs +109 -3
  43. package/dist/i18n/es-es.js +109 -3
  44. package/dist/i18n/es-es.umd.cjs +109 -3
  45. package/dist/i18n/et.js +109 -3
  46. package/dist/i18n/et.umd.cjs +109 -3
  47. package/dist/i18n/eu.js +109 -3
  48. package/dist/i18n/eu.umd.cjs +109 -3
  49. package/dist/i18n/europe.js +145 -111
  50. package/dist/i18n/europe.umd.cjs +145 -111
  51. package/dist/i18n/fa.js +109 -3
  52. package/dist/i18n/fa.umd.cjs +109 -3
  53. package/dist/i18n/fi.js +109 -3
  54. package/dist/i18n/fi.umd.cjs +109 -3
  55. package/dist/i18n/fr-ca.js +109 -3
  56. package/dist/i18n/fr-ca.umd.cjs +109 -3
  57. package/dist/i18n/fr-fr.js +109 -3
  58. package/dist/i18n/fr-fr.umd.cjs +109 -3
  59. package/dist/i18n/ga.js +109 -3
  60. package/dist/i18n/ga.umd.cjs +109 -3
  61. package/dist/i18n/he.js +109 -3
  62. package/dist/i18n/he.umd.cjs +109 -3
  63. package/dist/i18n/hi.js +109 -3
  64. package/dist/i18n/hi.umd.cjs +109 -3
  65. package/dist/i18n/hr.js +109 -3
  66. package/dist/i18n/hr.umd.cjs +109 -3
  67. package/dist/i18n/hu.js +109 -3
  68. package/dist/i18n/hu.umd.cjs +109 -3
  69. package/dist/i18n/hy.js +109 -3
  70. package/dist/i18n/hy.umd.cjs +109 -3
  71. package/dist/i18n/id.js +109 -3
  72. package/dist/i18n/id.umd.cjs +109 -3
  73. package/dist/i18n/is.js +109 -3
  74. package/dist/i18n/is.umd.cjs +109 -3
  75. package/dist/i18n/it.js +109 -3
  76. package/dist/i18n/it.umd.cjs +109 -3
  77. package/dist/i18n/ja.js +109 -3
  78. package/dist/i18n/ja.umd.cjs +109 -3
  79. package/dist/i18n/ka.js +109 -3
  80. package/dist/i18n/ka.umd.cjs +109 -3
  81. package/dist/i18n/kk.js +109 -3
  82. package/dist/i18n/kk.umd.cjs +109 -3
  83. package/dist/i18n/ko.js +109 -3
  84. package/dist/i18n/ko.umd.cjs +109 -3
  85. package/dist/i18n/lb.js +109 -3
  86. package/dist/i18n/lb.umd.cjs +109 -3
  87. package/dist/i18n/lt.js +109 -3
  88. package/dist/i18n/lt.umd.cjs +109 -3
  89. package/dist/i18n/lv.js +109 -3
  90. package/dist/i18n/lv.umd.cjs +109 -3
  91. package/dist/i18n/me.js +109 -3
  92. package/dist/i18n/me.umd.cjs +109 -3
  93. package/dist/i18n/mk.js +109 -3
  94. package/dist/i18n/mk.umd.cjs +109 -3
  95. package/dist/i18n/mr.js +109 -3
  96. package/dist/i18n/mr.umd.cjs +109 -3
  97. package/dist/i18n/mt.js +109 -3
  98. package/dist/i18n/mt.umd.cjs +109 -3
  99. package/dist/i18n/nb.js +109 -3
  100. package/dist/i18n/nb.umd.cjs +109 -3
  101. package/dist/i18n/nl.js +109 -3
  102. package/dist/i18n/nl.umd.cjs +109 -3
  103. package/dist/i18n/pl.js +109 -3
  104. package/dist/i18n/pl.umd.cjs +109 -3
  105. package/dist/i18n/pt-br.js +109 -3
  106. package/dist/i18n/pt-br.umd.cjs +109 -3
  107. package/dist/i18n/pt-pt.js +109 -3
  108. package/dist/i18n/pt-pt.umd.cjs +109 -3
  109. package/dist/i18n/ro.js +109 -3
  110. package/dist/i18n/ro.umd.cjs +109 -3
  111. package/dist/i18n/ru.js +109 -3
  112. package/dist/i18n/ru.umd.cjs +109 -3
  113. package/dist/i18n/sk.js +109 -3
  114. package/dist/i18n/sk.umd.cjs +109 -3
  115. package/dist/i18n/sl.js +109 -3
  116. package/dist/i18n/sl.umd.cjs +109 -3
  117. package/dist/i18n/sq.js +109 -3
  118. package/dist/i18n/sq.umd.cjs +109 -3
  119. package/dist/i18n/sr.js +109 -3
  120. package/dist/i18n/sr.umd.cjs +109 -3
  121. package/dist/i18n/sv.js +109 -3
  122. package/dist/i18n/sv.umd.cjs +109 -3
  123. package/dist/i18n/sw.js +109 -3
  124. package/dist/i18n/sw.umd.cjs +109 -3
  125. package/dist/i18n/ta.js +109 -3
  126. package/dist/i18n/ta.umd.cjs +109 -3
  127. package/dist/i18n/te.js +109 -3
  128. package/dist/i18n/te.umd.cjs +109 -3
  129. package/dist/i18n/th.js +109 -3
  130. package/dist/i18n/th.umd.cjs +109 -3
  131. package/dist/i18n/tk.js +109 -3
  132. package/dist/i18n/tk.umd.cjs +109 -3
  133. package/dist/i18n/tr.js +109 -3
  134. package/dist/i18n/tr.umd.cjs +109 -3
  135. package/dist/i18n/uk.js +109 -3
  136. package/dist/i18n/uk.umd.cjs +109 -3
  137. package/dist/i18n/ur.js +109 -3
  138. package/dist/i18n/ur.umd.cjs +109 -3
  139. package/dist/i18n/uz.js +109 -3
  140. package/dist/i18n/uz.umd.cjs +109 -3
  141. package/dist/i18n/vi.js +109 -3
  142. package/dist/i18n/vi.umd.cjs +109 -3
  143. package/dist/i18n/yo.js +109 -3
  144. package/dist/i18n/yo.umd.cjs +109 -3
  145. package/dist/i18n/zh-cn.js +109 -3
  146. package/dist/i18n/zh-cn.umd.cjs +109 -3
  147. package/dist/i18n/zh-hk.js +109 -3
  148. package/dist/i18n/zh-hk.umd.cjs +109 -3
  149. package/dist/i18n/zh-tw.js +109 -3
  150. package/dist/i18n/zh-tw.umd.cjs +109 -3
  151. package/dist/lib/index.js +2 -0
  152. package/dist/lib/index.min.js +1 -1
  153. package/dist/lib/index.umd.cjs +2 -0
  154. package/dist/lib/index.umd.min.cjs +1 -1
  155. package/dist/main/altcha.i18n.js +67 -187
  156. package/dist/main/altcha.i18n.min.js +1 -1
  157. package/dist/main/altcha.i18n.umd.cjs +67 -187
  158. package/dist/main/altcha.i18n.umd.min.cjs +1 -1
  159. package/dist/main/altcha.js +6 -4
  160. package/dist/main/altcha.min.js +1 -1
  161. package/dist/main/altcha.umd.cjs +6 -4
  162. package/dist/main/altcha.umd.min.cjs +1 -1
  163. package/dist/plugins/obfuscation.plugin.js +3 -0
  164. package/dist/plugins/obfuscation.plugin.min.js +1 -1
  165. package/dist/plugins/obfuscation.plugin.umd.cjs +3 -0
  166. package/dist/plugins/obfuscation.plugin.umd.min.cjs +1 -1
  167. package/dist/workers/argon2id.js +2 -0
  168. package/dist/workers/pbkdf2.js +2 -0
  169. package/dist/workers/scrypt.js +2 -0
  170. package/dist/workers/sha.js +2 -0
  171. package/package.json +4 -2
@@ -2,6 +2,114 @@
2
2
  typeof define === "function" && define.amd ? define(factory) : factory();
3
3
  })((function() {
4
4
  "use strict";
5
+ const noop = () => {
6
+ };
7
+ function safe_not_equal(a, b) {
8
+ return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
9
+ }
10
+ function subscribe_to_store(store2, run, invalidate) {
11
+ if (store2 == null) {
12
+ run(void 0);
13
+ return noop;
14
+ }
15
+ const unsub = untrack(
16
+ () => store2.subscribe(
17
+ run,
18
+ // @ts-expect-error
19
+ invalidate
20
+ )
21
+ );
22
+ return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
23
+ }
24
+ const subscriber_queue = [];
25
+ function writable(value, start = noop) {
26
+ let stop = null;
27
+ const subscribers = /* @__PURE__ */ new Set();
28
+ function set(new_value) {
29
+ if (safe_not_equal(value, new_value)) {
30
+ value = new_value;
31
+ if (stop) {
32
+ const run_queue = !subscriber_queue.length;
33
+ for (const subscriber of subscribers) {
34
+ subscriber[1]();
35
+ subscriber_queue.push(subscriber, value);
36
+ }
37
+ if (run_queue) {
38
+ for (let i = 0; i < subscriber_queue.length; i += 2) {
39
+ subscriber_queue[i][0](subscriber_queue[i + 1]);
40
+ }
41
+ subscriber_queue.length = 0;
42
+ }
43
+ }
44
+ }
45
+ }
46
+ function update(fn) {
47
+ set(fn(
48
+ /** @type {T} */
49
+ value
50
+ ));
51
+ }
52
+ function subscribe(run, invalidate = noop) {
53
+ const subscriber = [run, invalidate];
54
+ subscribers.add(subscriber);
55
+ if (subscribers.size === 1) {
56
+ stop = start(set, update) || noop;
57
+ }
58
+ run(
59
+ /** @type {T} */
60
+ value
61
+ );
62
+ return () => {
63
+ subscribers.delete(subscriber);
64
+ if (subscribers.size === 0 && stop) {
65
+ stop();
66
+ stop = null;
67
+ }
68
+ };
69
+ }
70
+ return { set, update, subscribe };
71
+ }
72
+ function get(store2) {
73
+ let value;
74
+ subscribe_to_store(store2, (_) => value = _)();
75
+ return value;
76
+ }
77
+ let untracking = false;
78
+ function untrack(fn) {
79
+ var previous_untracking = untracking;
80
+ try {
81
+ untracking = true;
82
+ return fn();
83
+ } finally {
84
+ untracking = previous_untracking;
85
+ }
86
+ }
87
+ function store(defaultValue) {
88
+ const scope = {
89
+ get: (name) => {
90
+ return get(scope.store)[name];
91
+ },
92
+ set: (name, value) => {
93
+ if (typeof name === "string") {
94
+ Object.assign(get(scope.store), {
95
+ [name]: value
96
+ });
97
+ } else {
98
+ Object.assign(get(scope.store), name);
99
+ }
100
+ scope.store.set(get(scope.store));
101
+ },
102
+ store: writable(defaultValue)
103
+ };
104
+ return scope;
105
+ }
106
+ globalThis.$altcha = globalThis.$altcha || {
107
+ algorithms: /* @__PURE__ */ new Map(),
108
+ defaults: store({}),
109
+ i18n: store({}),
110
+ instances: /* @__PURE__ */ new Set(),
111
+ plugins: /* @__PURE__ */ new Set()
112
+ };
5
113
  const i18n = {
6
114
  ariaLinkLabel: "Altcha (الموقع الرسمي)",
7
115
  enterCode: "أدخل الرمز",
@@ -21,7 +129,5 @@
21
129
  cancel: "إلغاء",
22
130
  enterCodeFromImage: "للمتابعة، يرجى إدخال الرمز من الصورة أدناه."
23
131
  };
24
- if ("$altcha" in globalThis) {
25
- globalThis.$altcha.i18n.set("ar", i18n);
26
- }
132
+ globalThis.$altcha.i18n.set("ar", i18n);
27
133
  }));
package/dist/i18n/asia.js CHANGED
@@ -1,3 +1,111 @@
1
+ const noop = () => {
2
+ };
3
+ function safe_not_equal(a, b) {
4
+ return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
5
+ }
6
+ function subscribe_to_store(store2, run, invalidate) {
7
+ if (store2 == null) {
8
+ run(void 0);
9
+ return noop;
10
+ }
11
+ const unsub = untrack(
12
+ () => store2.subscribe(
13
+ run,
14
+ // @ts-expect-error
15
+ invalidate
16
+ )
17
+ );
18
+ return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
19
+ }
20
+ const subscriber_queue = [];
21
+ function writable(value, start = noop) {
22
+ let stop = null;
23
+ const subscribers = /* @__PURE__ */ new Set();
24
+ function set(new_value) {
25
+ if (safe_not_equal(value, new_value)) {
26
+ value = new_value;
27
+ if (stop) {
28
+ const run_queue = !subscriber_queue.length;
29
+ for (const subscriber of subscribers) {
30
+ subscriber[1]();
31
+ subscriber_queue.push(subscriber, value);
32
+ }
33
+ if (run_queue) {
34
+ for (let i = 0; i < subscriber_queue.length; i += 2) {
35
+ subscriber_queue[i][0](subscriber_queue[i + 1]);
36
+ }
37
+ subscriber_queue.length = 0;
38
+ }
39
+ }
40
+ }
41
+ }
42
+ function update(fn) {
43
+ set(fn(
44
+ /** @type {T} */
45
+ value
46
+ ));
47
+ }
48
+ function subscribe(run, invalidate = noop) {
49
+ const subscriber = [run, invalidate];
50
+ subscribers.add(subscriber);
51
+ if (subscribers.size === 1) {
52
+ stop = start(set, update) || noop;
53
+ }
54
+ run(
55
+ /** @type {T} */
56
+ value
57
+ );
58
+ return () => {
59
+ subscribers.delete(subscriber);
60
+ if (subscribers.size === 0 && stop) {
61
+ stop();
62
+ stop = null;
63
+ }
64
+ };
65
+ }
66
+ return { set, update, subscribe };
67
+ }
68
+ function get(store2) {
69
+ let value;
70
+ subscribe_to_store(store2, (_) => value = _)();
71
+ return value;
72
+ }
73
+ let untracking = false;
74
+ function untrack(fn) {
75
+ var previous_untracking = untracking;
76
+ try {
77
+ untracking = true;
78
+ return fn();
79
+ } finally {
80
+ untracking = previous_untracking;
81
+ }
82
+ }
83
+ function store(defaultValue) {
84
+ const scope = {
85
+ get: (name) => {
86
+ return get(scope.store)[name];
87
+ },
88
+ set: (name, value) => {
89
+ if (typeof name === "string") {
90
+ Object.assign(get(scope.store), {
91
+ [name]: value
92
+ });
93
+ } else {
94
+ Object.assign(get(scope.store), name);
95
+ }
96
+ scope.store.set(get(scope.store));
97
+ },
98
+ store: writable(defaultValue)
99
+ };
100
+ return scope;
101
+ }
102
+ globalThis.$altcha = globalThis.$altcha || {
103
+ algorithms: /* @__PURE__ */ new Map(),
104
+ defaults: store({}),
105
+ i18n: store({}),
106
+ instances: /* @__PURE__ */ new Set(),
107
+ plugins: /* @__PURE__ */ new Set()
108
+ };
1
109
  const i18n$n = {
2
110
  ariaLinkLabel: "Altcha (官方网站)",
3
111
  enterCode: "输入代码",
@@ -17,9 +125,7 @@ const i18n$n = {
17
125
  cancel: "取消",
18
126
  enterCodeFromImage: "为继续操作,请输入下图中显示的验证码。"
19
127
  };
20
- if ("$altcha" in globalThis) {
21
- globalThis.$altcha.i18n.set("zh-cn", i18n$n);
22
- }
128
+ globalThis.$altcha.i18n.set("zh-cn", i18n$n);
23
129
  const i18n$m = {
24
130
  ariaLinkLabel: "Altcha (官方網站)",
25
131
  cancel: "取消",
@@ -39,9 +145,7 @@ const i18n$m = {
39
145
  verifying: "驗證中...",
40
146
  waitAlert: "驗證中... 請稍候。"
41
147
  };
42
- if ("$altcha" in globalThis) {
43
- globalThis.$altcha.i18n.set("zh-hk", i18n$m);
44
- }
148
+ globalThis.$altcha.i18n.set("zh-hk", i18n$m);
45
149
  const i18n$l = {
46
150
  ariaLinkLabel: "Altcha (官方網站)",
47
151
  enterCode: "輸入代碼",
@@ -61,9 +165,7 @@ const i18n$l = {
61
165
  cancel: "取消",
62
166
  enterCodeFromImage: "若要繼續,請輸入下方的圖片驗證碼。"
63
167
  };
64
- if ("$altcha" in globalThis) {
65
- globalThis.$altcha.i18n.set("zh-tw", i18n$l);
66
- }
168
+ globalThis.$altcha.i18n.set("zh-tw", i18n$l);
67
169
  const i18n$k = {
68
170
  ariaLinkLabel: "Altcha (公式ウェブサイト)",
69
171
  enterCode: "コードを入力",
@@ -83,9 +185,7 @@ const i18n$k = {
83
185
  cancel: "キャンセル",
84
186
  enterCodeFromImage: "続行するには、以下の画像からコードを入力してください。"
85
187
  };
86
- if ("$altcha" in globalThis) {
87
- globalThis.$altcha.i18n.set("ja", i18n$k);
88
- }
188
+ globalThis.$altcha.i18n.set("ja", i18n$k);
89
189
  const i18n$j = {
90
190
  ariaLinkLabel: "Altcha (공식 웹사이트)",
91
191
  enterCode: "코드 입력",
@@ -105,9 +205,7 @@ const i18n$j = {
105
205
  cancel: "취소",
106
206
  enterCodeFromImage: "계속 진행하려면 아래 이미지에서 코드를 입력하세요."
107
207
  };
108
- if ("$altcha" in globalThis) {
109
- globalThis.$altcha.i18n.set("ko", i18n$j);
110
- }
208
+ globalThis.$altcha.i18n.set("ko", i18n$j);
111
209
  const i18n$i = {
112
210
  ariaLinkLabel: "Altcha (आधिकारिक वेबसाइट)",
113
211
  enterCode: "कोड दर्ज करेंं",
@@ -127,9 +225,7 @@ const i18n$i = {
127
225
  cancel: "रद्द करें",
128
226
  enterCodeFromImage: "आगे बढ़ने के लिए, कृपया नीचे दी गई छवि से कोड दर्ज करें।"
129
227
  };
130
- if ("$altcha" in globalThis) {
131
- globalThis.$altcha.i18n.set("hi", i18n$i);
132
- }
228
+ globalThis.$altcha.i18n.set("hi", i18n$i);
133
229
  const i18n$h = {
134
230
  ariaLinkLabel: "Altcha (অফিসিয়াল ওয়েবসাইট)",
135
231
  enterCode: "কোড লিখুন",
@@ -149,9 +245,7 @@ const i18n$h = {
149
245
  cancel: "বাতিল করুন",
150
246
  enterCodeFromImage: "এগিয়ে যেতে, অনুগ্রহ করে নীচের চিত্র থেকে কোডটি প্রবেশ করান।"
151
247
  };
152
- if ("$altcha" in globalThis) {
153
- globalThis.$altcha.i18n.set("bn", i18n$h);
154
- }
248
+ globalThis.$altcha.i18n.set("bn", i18n$h);
155
249
  const i18n$g = {
156
250
  ariaLinkLabel: "Altcha (अधिकृत संकेतस्थळ)",
157
251
  enterCode: "कोड टाकाा",
@@ -171,9 +265,7 @@ const i18n$g = {
171
265
  cancel: "रद्द करा",
172
266
  enterCodeFromImage: "पुढे जाण्यासाठी, कृपया खालील प्रतिमेतील कोड प्रविष्ट करा."
173
267
  };
174
- if ("$altcha" in globalThis) {
175
- globalThis.$altcha.i18n.set("mr", i18n$g);
176
- }
268
+ globalThis.$altcha.i18n.set("mr", i18n$g);
177
269
  const i18n$f = {
178
270
  ariaLinkLabel: "Altcha (అధికారిక వెబ్‌సైట్)",
179
271
  enterCode: "కోడ్‌ని నమోదు చేయండి",
@@ -193,9 +285,7 @@ const i18n$f = {
193
285
  cancel: "రద్దు చేయండి",
194
286
  enterCodeFromImage: "కొనసాగడానికి, దయచేసి క్రింది చిత్రంలో ఉన్న కోడ్‌ను నమోదు చేయండి."
195
287
  };
196
- if ("$altcha" in globalThis) {
197
- globalThis.$altcha.i18n.set("te", i18n$f);
198
- }
288
+ globalThis.$altcha.i18n.set("te", i18n$f);
199
289
  const i18n$e = {
200
290
  ariaLinkLabel: "Altcha (அதிகாரப்பூர்வ வலைத்தளம்)",
201
291
  enterCode: "குறியீட்டை உள்ளிடவும்",
@@ -215,9 +305,7 @@ const i18n$e = {
215
305
  cancel: "ரத்துசெய்",
216
306
  enterCodeFromImage: "தொடர, கீழே உள்ள படத்திலிருந்து குறியீட்டை உள்ளிடவும்."
217
307
  };
218
- if ("$altcha" in globalThis) {
219
- globalThis.$altcha.i18n.set("ta", i18n$e);
220
- }
308
+ globalThis.$altcha.i18n.set("ta", i18n$e);
221
309
  const i18n$d = {
222
310
  ariaLinkLabel: "Altcha (سرکاری ویب سائٹ)",
223
311
  enterCode: "کوڈ درج کریں",
@@ -237,9 +325,7 @@ const i18n$d = {
237
325
  cancel: "منسوخ کریں",
238
326
  enterCodeFromImage: "اگلے مرحلے پر جانے کے لیے، براہ کرم نیچے دی گئی تصویر سے کوڈ درج کریں۔"
239
327
  };
240
- if ("$altcha" in globalThis) {
241
- globalThis.$altcha.i18n.set("ur", i18n$d);
242
- }
328
+ globalThis.$altcha.i18n.set("ur", i18n$d);
243
329
  const i18n$c = {
244
330
  ariaLinkLabel: "Altcha (situs web resmi)",
245
331
  enterCode: "Masukkan kode",
@@ -259,9 +345,7 @@ const i18n$c = {
259
345
  cancel: "Batal",
260
346
  enterCodeFromImage: "Untuk melanjutkan, silakan masukkan kode dari gambar di bawah ini."
261
347
  };
262
- if ("$altcha" in globalThis) {
263
- globalThis.$altcha.i18n.set("id", i18n$c);
264
- }
348
+ globalThis.$altcha.i18n.set("id", i18n$c);
265
349
  const i18n$b = {
266
350
  ariaLinkLabel: "Altcha (เว็บไซต์ทางการ)",
267
351
  enterCode: "ป้อนรหัส",
@@ -281,9 +365,7 @@ const i18n$b = {
281
365
  cancel: "ยกเลิก",
282
366
  enterCodeFromImage: "เพื่อดำเนินการต่อ โปรดป้อนรหัสจากรูปภาพด้านล่าง"
283
367
  };
284
- if ("$altcha" in globalThis) {
285
- globalThis.$altcha.i18n.set("th", i18n$b);
286
- }
368
+ globalThis.$altcha.i18n.set("th", i18n$b);
287
369
  const i18n$a = {
288
370
  ariaLinkLabel: "Altcha (trang web chính thức)",
289
371
  enterCode: "Nhập mã",
@@ -303,9 +385,7 @@ const i18n$a = {
303
385
  cancel: "Hủy bỏ",
304
386
  enterCodeFromImage: "Để tiếp tục, vui lòng nhập mã từ hình ảnh bên dưới."
305
387
  };
306
- if ("$altcha" in globalThis) {
307
- globalThis.$altcha.i18n.set("vi", i18n$a);
308
- }
388
+ globalThis.$altcha.i18n.set("vi", i18n$a);
309
389
  const i18n$9 = {
310
390
  ariaLinkLabel: "Altcha (الموقع الرسمي)",
311
391
  enterCode: "أدخل الرمز",
@@ -325,9 +405,7 @@ const i18n$9 = {
325
405
  cancel: "إلغاء",
326
406
  enterCodeFromImage: "للمتابعة، يرجى إدخال الرمز من الصورة أدناه."
327
407
  };
328
- if ("$altcha" in globalThis) {
329
- globalThis.$altcha.i18n.set("ar", i18n$9);
330
- }
408
+ globalThis.$altcha.i18n.set("ar", i18n$9);
331
409
  const i18n$8 = {
332
410
  ariaLinkLabel: "Altcha (وب‌سایت رسمی)",
333
411
  enterCode: "کد را وارد کنید",
@@ -347,9 +425,7 @@ const i18n$8 = {
347
425
  cancel: "لغو کردن",
348
426
  enterCodeFromImage: "برای ادامه، لطفاً کد تصویر زیر را وارد کنید."
349
427
  };
350
- if ("$altcha" in globalThis) {
351
- globalThis.$altcha.i18n.set("fa", i18n$8);
352
- }
428
+ globalThis.$altcha.i18n.set("fa", i18n$8);
353
429
  const i18n$7 = {
354
430
  ariaLinkLabel: "Altcha (אתר רשמי)",
355
431
  enterCode: "הזן קוד",
@@ -369,9 +445,7 @@ const i18n$7 = {
369
445
  cancel: "ביטול",
370
446
  enterCodeFromImage: "כדי להמשיך, אנא הזן את הקוד מהתמונה למטה."
371
447
  };
372
- if ("$altcha" in globalThis) {
373
- globalThis.$altcha.i18n.set("he", i18n$7);
374
- }
448
+ globalThis.$altcha.i18n.set("he", i18n$7);
375
449
  const i18n$6 = {
376
450
  ariaLinkLabel: "Altcha (resmi web sitesi)",
377
451
  enterCode: "Kodu girin",
@@ -391,9 +465,7 @@ const i18n$6 = {
391
465
  cancel: "İptal",
392
466
  enterCodeFromImage: "Devam etmek için lütfen aşağıdaki resimdeki kodu girin."
393
467
  };
394
- if ("$altcha" in globalThis) {
395
- globalThis.$altcha.i18n.set("tr", i18n$6);
396
- }
468
+ globalThis.$altcha.i18n.set("tr", i18n$6);
397
469
  const i18n$5 = {
398
470
  ariaLinkLabel: "Altcha (rəsmi vebsayt)",
399
471
  enterCode: "Kodu daxil edin",
@@ -413,9 +485,7 @@ const i18n$5 = {
413
485
  cancel: "İmtina et",
414
486
  enterCodeFromImage: "Davam etmək üçün, zəhmət olmasa aşağıdakı şəkildəki kodu daxil edin."
415
487
  };
416
- if ("$altcha" in globalThis) {
417
- globalThis.$altcha.i18n.set("az", i18n$5);
418
- }
488
+ globalThis.$altcha.i18n.set("az", i18n$5);
419
489
  const i18n$4 = {
420
490
  ariaLinkLabel: "Altcha (պաշտոնական կայք)",
421
491
  enterCode: "Մուտքագրեք կոդը",
@@ -435,9 +505,7 @@ const i18n$4 = {
435
505
  cancel: "Չեղարկել",
436
506
  enterCodeFromImage: "Շարունակելու համար, խնդրում ենք մուտագրել ստորև պատկերից վերցված կոդը:"
437
507
  };
438
- if ("$altcha" in globalThis) {
439
- globalThis.$altcha.i18n.set("hy", i18n$4);
440
- }
508
+ globalThis.$altcha.i18n.set("hy", i18n$4);
441
509
  const i18n$3 = {
442
510
  ariaLinkLabel: "Altcha (ოფიციალური ვებსაიტი)",
443
511
  enterCode: "შეიყვანეთ კოდი",
@@ -457,9 +525,7 @@ const i18n$3 = {
457
525
  cancel: "გაუქმება",
458
526
  enterCodeFromImage: "გაგრძელების მიზნით, გთხოვთ შეიყვანოთ კოდი ქვემოთ მოცემული სურათიდან."
459
527
  };
460
- if ("$altcha" in globalThis) {
461
- globalThis.$altcha.i18n.set("ka", i18n$3);
462
- }
528
+ globalThis.$altcha.i18n.set("ka", i18n$3);
463
529
  const i18n$2 = {
464
530
  ariaLinkLabel: "Altcha (ресми веб-сайт)",
465
531
  enterCode: "Кодты енгізіңіз",
@@ -479,9 +545,7 @@ const i18n$2 = {
479
545
  cancel: "Болдыру",
480
546
  enterCodeFromImage: "Жалғастыру үшін төмендегі суреттегі кодты енгізіңіз."
481
547
  };
482
- if ("$altcha" in globalThis) {
483
- globalThis.$altcha.i18n.set("kk", i18n$2);
484
- }
548
+ globalThis.$altcha.i18n.set("kk", i18n$2);
485
549
  const i18n$1 = {
486
550
  ariaLinkLabel: "Altcha (resmi web sahypa)",
487
551
  enterCode: "Kody giriziň",
@@ -501,9 +565,7 @@ const i18n$1 = {
501
565
  cancel: "Ýapmak",
502
566
  enterCodeFromImage: "Dowam etmek üçin, aşakdaky suratyň koduny giriziň."
503
567
  };
504
- if ("$altcha" in globalThis) {
505
- globalThis.$altcha.i18n.set("tk", i18n$1);
506
- }
568
+ globalThis.$altcha.i18n.set("tk", i18n$1);
507
569
  const i18n = {
508
570
  ariaLinkLabel: "Altcha (rasmiy veb-sayt)",
509
571
  enterCode: "Kodni kiriting",
@@ -523,6 +585,4 @@ const i18n = {
523
585
  cancel: "Bekor qilish",
524
586
  enterCodeFromImage: "Davom etish uchun, iltimos, quyidagi rasmda ko'rsatilgan kodni kiriting."
525
587
  };
526
- if ("$altcha" in globalThis) {
527
- globalThis.$altcha.i18n.set("uz", i18n);
528
- }
588
+ globalThis.$altcha.i18n.set("uz", i18n);