@prosopo/procaptcha-bundle 2.5.5 → 2.6.2
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/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.d.ts +5 -0
- package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.d.ts.map +1 -1
- package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.js.map +1 -1
- package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/util/language.js.map +1 -0
- package/CHANGELOG.md +40 -0
- package/dist/bundle/{ProcaptchaWidget-CCSN3Dxj.js → ProcaptchaWidget---OaFVSu.js} +7 -7
- package/dist/bundle/ProcaptchaWidget-DfzlzDL_.js +360 -0
- package/dist/bundle/{asU8a-CAsEnbuP.js → asU8a-OYI2Rcme.js} +1 -1
- package/dist/bundle/bip39-CaW9jcCq.js +365 -0
- package/dist/bundle/captchaComponentProvider-CJMWWGqv.js +1242 -0
- package/dist/bundle/{captchaRenderer-BBodRhQu.js → captchaRenderer-BmSy0ym0.js} +3 -3
- package/dist/bundle/{emotion-element-5486c51c.browser.esm-CQHFV-dS.js → emotion-element-5486c51c.browser.esm-F-LKH1Q7.js} +287 -285
- package/dist/bundle/{hash-D-64Vz5z.js → hash-COecnuJ8.js} +796 -483
- package/dist/bundle/{i18nFrontend-C_RgmvGh.js → i18nFrontend-CsPT71ro.js} +1 -1
- package/dist/bundle/index-BjRdPnnE.js +1198 -0
- package/dist/bundle/{index-9I1Aae33.js → index-C30GRfJ0.js} +1 -1
- package/dist/bundle/{index-DkQ4njKa.js → index-D-5CyFkP.js} +7 -7
- package/dist/bundle/{index-DxswvPTy.js → index-DXEN8xWW.js} +170 -180
- package/dist/bundle/index-DcOF3IPl.js +4386 -0
- package/dist/bundle/locales/ar/translation.json +56 -0
- package/dist/bundle/locales/az/translation.json +56 -0
- package/dist/bundle/locales/cs/translation.json +56 -0
- package/dist/bundle/locales/el/translation.json +56 -0
- package/dist/bundle/locales/fi/translation.json +56 -0
- package/dist/bundle/locales/fr/translation.json +1 -1
- package/dist/bundle/locales/hi/translation.json +56 -0
- package/dist/bundle/locales/hu/translation.json +56 -0
- package/dist/bundle/locales/id/translation.json +56 -0
- package/dist/bundle/locales/ja/translation.json +56 -0
- package/dist/bundle/locales/jv/translation.json +56 -0
- package/dist/bundle/locales/ko/translation.json +56 -0
- package/dist/bundle/locales/ml/translation.json +56 -0
- package/dist/bundle/locales/ms/translation.json +56 -0
- package/dist/bundle/locales/nl/translation.json +56 -0
- package/dist/bundle/locales/no/translation.json +56 -0
- package/dist/bundle/locales/pl/translation.json +56 -0
- package/dist/bundle/locales/{pt-BR → pt-br}/translation.json +17 -17
- package/dist/bundle/locales/ro/translation.json +56 -0
- package/dist/bundle/locales/ru/translation.json +56 -0
- package/dist/bundle/locales/sr/translation.json +56 -0
- package/dist/bundle/locales/sv/translation.json +56 -0
- package/dist/bundle/locales/th/translation.json +56 -0
- package/dist/bundle/locales/tr/translation.json +56 -0
- package/dist/bundle/locales/uk/translation.json +56 -0
- package/dist/bundle/locales/vi/translation.json +56 -0
- package/dist/bundle/locales/zh-cn/translation.json +56 -0
- package/dist/bundle/procaptcha.bundle.js +1 -1
- package/dist/bundle/toU8a-C68WUzs_.js +24 -0
- package/dist/bundle/{translations-B0P9axY3.js → translations-DEL070wJ.js} +59 -26
- package/dist/bundle/{useTranslation-CEt2t9kE.js → useTranslation-DpuHI3Mv.js} +3 -3
- package/dist/bundle/util/configCreator.d.ts +2 -2
- package/dist/bundle/util/configCreator.d.ts.map +1 -1
- package/dist/cjs/index.cjs +163 -0
- package/dist/cjs/util/captcha/captchaComponentProvider.cjs +19 -0
- package/dist/cjs/util/captcha/captchaComponentsList.cjs +12 -0
- package/dist/cjs/util/captcha/captchaRenderer.cjs +65 -0
- package/dist/cjs/util/captcha/captchaType.cjs +12 -0
- package/dist/cjs/util/captcha/components/frictionlessCaptcha.cjs +24 -0
- package/dist/cjs/util/captcha/components/imageCaptcha.cjs +17 -0
- package/dist/cjs/util/captcha/components/powCaptcha.cjs +17 -0
- package/dist/cjs/util/config.cjs +16 -0
- package/dist/cjs/util/configCreator.cjs +23 -0
- package/dist/cjs/util/language.cjs +18 -0
- package/dist/cjs/util/timeout.cjs +14 -0
- package/dist/cjs/util/widgetFactory.cjs +84 -0
- package/dist/cjs/util/widgetThemeResolver.cjs +16 -0
- package/dist/util/configCreator.d.ts +2 -2
- package/dist/util/configCreator.d.ts.map +1 -1
- package/dist/util/configCreator.js.map +1 -1
- package/dist/util/language.js.map +1 -1
- package/package.json +16 -13
- package/stats.html +1 -1
- package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.d.ts +0 -5
- package/.rollup.cache/home/runner/work/captcha-private/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/util/language.js.map +0 -1
- package/dist/bundle/ProcaptchaWidget-Dfex8hc8.js +0 -156
- package/dist/bundle/bip39-DCaMcFzo.js +0 -260
- package/dist/bundle/captchaComponentProvider-Dm44AMrY.js +0 -1018
- package/dist/bundle/index-DCHEbWAs.js +0 -1242
- package/dist/bundle/index-nNwZuute.js +0 -4373
- package/dist/bundle/sha256-Cxc9Hrlx.js +0 -171
- package/dist/bundle/toU8a-BWKf-2UU.js +0 -133
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/components.d.ts +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/components.d.ts.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/components.js +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/components.js.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/index.d.ts +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/index.d.ts.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/index.js +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/index.js.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.d.ts +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.d.ts.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.js +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.js.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.d.ts +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.d.ts.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.js +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.js.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.d.ts +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.d.ts.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.js +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.js.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.d.ts +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.d.ts.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.js +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.js.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.d.ts +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.d.ts.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.js +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.js.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.d.ts +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.d.ts.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.js +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.js.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.d.ts +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.d.ts.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.js +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.js.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.d.ts +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.d.ts.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.js +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.js.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.d.ts +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.d.ts.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.js +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.js.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.d.ts +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.d.ts.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.js +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.js.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.d.ts +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.d.ts.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.js +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.js.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/config.d.ts +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/config.d.ts.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/config.js +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/config.js.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.js +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/language.d.ts +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/language.d.ts.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/language.js +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.d.ts +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.d.ts.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.js +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.js.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.d.ts +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.d.ts.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.js +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.js.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.d.ts +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.d.ts.map +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.js +0 -0
- /package/.rollup.cache/home/runner/work/{captcha-private/captcha-private → captcha}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.js.map +0 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"GENERAL": {
|
|
3
|
+
"ACCOUNT_NOT_FOUND": "Hesap bulunamadı",
|
|
4
|
+
"CANT_FIND_KEYRINGPAIR": "{{address}} için anahtar çifti bulunamadı",
|
|
5
|
+
"SITE_KEY_MISSING": "SITE KEY eksik"
|
|
6
|
+
},
|
|
7
|
+
"ACCOUNT": {
|
|
8
|
+
"NO_POLKADOT_EXTENSION": "Polkadot uzantısı bulunamadı"
|
|
9
|
+
},
|
|
10
|
+
"WIDGET": {
|
|
11
|
+
"SELECT_ALL": "Aşağıdakileri içeren tümünü seç",
|
|
12
|
+
"IF_NONE_CLICK_NEXT": "Hiçbiri yoksa, Sonraki'ye tıklayın",
|
|
13
|
+
"NEXT": "Sonraki",
|
|
14
|
+
"SUBMIT": "Gönder",
|
|
15
|
+
"CANCEL": "İptal",
|
|
16
|
+
"I_AM_HUMAN": "Ben bir insanım",
|
|
17
|
+
"NO_ACCOUNTS_FOUND": "Hesap bulunamadı",
|
|
18
|
+
"ACCOUNT_NOT_FOUND": "Hesap bulunamadı",
|
|
19
|
+
"NO_EXTENSION_FOUND": "Eklenti bulunamadı"
|
|
20
|
+
},
|
|
21
|
+
"CONFIG": {
|
|
22
|
+
"UNKNOWN_ENVIRONMENT": "Bilinmeyen çevre istendi",
|
|
23
|
+
"INVALID_LOG_LEVEL": "Geçersiz günlük seviyesi"
|
|
24
|
+
},
|
|
25
|
+
"DATASET": {
|
|
26
|
+
"DATASET_PARSE_ERROR": "Veri kümesi ayrıştırma hatası",
|
|
27
|
+
"SOLUTION_PARSE_ERROR": "Çözüm ayrıştırma hatası",
|
|
28
|
+
"HASH_ERROR": "Veri kümesi karması hatası",
|
|
29
|
+
"MERKLE_ERROR": "Merkle ağacı oluşturma hatası"
|
|
30
|
+
},
|
|
31
|
+
"DATABASE": {
|
|
32
|
+
"IMAGE_GET_FAILED": "Görüntü alınamadı"
|
|
33
|
+
},
|
|
34
|
+
"CAPTCHA": {
|
|
35
|
+
"INVALID_CAPTCHA_ID": "Geçersiz captcha kimliği",
|
|
36
|
+
"INVALID_ITEM_FORMAT": "Yalnızca görüntü ve metin öğe tipleri izin verilir",
|
|
37
|
+
"INVALID_SOLUTION_TYPE": "Geçersiz çözüm türü",
|
|
38
|
+
"INVALID_ITEM_HASH": "Geçersiz öğe karması",
|
|
39
|
+
"ID_MISMATCH": "captcha kimlik uyuşmazlığı",
|
|
40
|
+
"MISSING_ITEM_HASH": "eksik öğe hash",
|
|
41
|
+
"INVALID_CAPTCHA_CHALLENGE": "Geçersiz captcha meydan okuması",
|
|
42
|
+
"NO_CAPTCHA": "Hiçbir captcha bulunamadı",
|
|
43
|
+
"NO_SESSION_FOUND": "Oturum bulunamadı",
|
|
44
|
+
"INVALID_TOKEN": "Geçersiz belirteç",
|
|
45
|
+
"INVALID_SOLUTION": "Geçersiz çözüm"
|
|
46
|
+
},
|
|
47
|
+
"API": {
|
|
48
|
+
"BAD_REQUEST": "Kötü istek",
|
|
49
|
+
"UNKNOWN": "Bilinmeyen API hatası",
|
|
50
|
+
"PARSE_ERROR": "İstek ayrıştırma hatası"
|
|
51
|
+
},
|
|
52
|
+
"DEVELOPER": {
|
|
53
|
+
"PROVIDER_NO_CAPTCHA": "Sağlayıcıdan captcha bulunamadı",
|
|
54
|
+
"GENERAL": "Genel Geliştirici Hatası, bağlamı kontrol edin"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ACCOUNT": {
|
|
3
|
+
"NO_POLKADOT_EXTENSION": "Polkadot extension not found"
|
|
4
|
+
},
|
|
5
|
+
"WIDGET": {
|
|
6
|
+
"SELECT_ALL": "Select all containing the following",
|
|
7
|
+
"IF_NONE_CLICK_NEXT": "If there are none, click Next",
|
|
8
|
+
"NEXT": "Next",
|
|
9
|
+
"SUBMIT": "Submit",
|
|
10
|
+
"CANCEL": "Cancel",
|
|
11
|
+
"I_AM_HUMAN": "I am human",
|
|
12
|
+
"NO_ACCOUNTS_FOUND": "No accounts found",
|
|
13
|
+
"ACCOUNT_NOT_FOUND": "Account not found",
|
|
14
|
+
"NO_EXTENSION_FOUND": "No extension found"
|
|
15
|
+
},
|
|
16
|
+
"GENERAL": {
|
|
17
|
+
"CANT_FIND_KEYRINGPAIR": "Can't find the keyringpair for {{address}}",
|
|
18
|
+
"SITE_KEY_MISSING": "SITE KEY missing",
|
|
19
|
+
"ACCOUNT_NOT_FOUND": "Account not found"
|
|
20
|
+
},
|
|
21
|
+
"CONFIG": {
|
|
22
|
+
"UNKNOWN_ENVIRONMENT": "Unknown environment requested",
|
|
23
|
+
"INVALID_LOG_LEVEL": "Invalid log level"
|
|
24
|
+
},
|
|
25
|
+
"DATASET": {
|
|
26
|
+
"DATASET_PARSE_ERROR": "Error parsing dataset",
|
|
27
|
+
"SOLUTION_PARSE_ERROR": "Error parsing dataset",
|
|
28
|
+
"HASH_ERROR": "Error hashing dataset",
|
|
29
|
+
"MERKLE_ERROR": "Error creating merkle tree"
|
|
30
|
+
},
|
|
31
|
+
"DATABASE": {
|
|
32
|
+
"IMAGE_GET_FAILED": "Failed to get image"
|
|
33
|
+
},
|
|
34
|
+
"CAPTCHA": {
|
|
35
|
+
"INVALID_CAPTCHA_ID": "Invalid captcha id",
|
|
36
|
+
"INVALID_ITEM_FORMAT": "Only image and text item types allowed",
|
|
37
|
+
"INVALID_SOLUTION_TYPE": "Invalid solution type",
|
|
38
|
+
"INVALID_ITEM_HASH": "Invalid item hash",
|
|
39
|
+
"ID_MISMATCH": "captcha id mismatch",
|
|
40
|
+
"MISSING_ITEM_HASH": "missing item hash",
|
|
41
|
+
"INVALID_CAPTCHA_CHALLENGE": "Invalid captcha challenge",
|
|
42
|
+
"NO_CAPTCHA": "No captcha found",
|
|
43
|
+
"NO_SESSION_FOUND": "No session found",
|
|
44
|
+
"INVALID_TOKEN": "Invalid token",
|
|
45
|
+
"INVALID_SOLUTION": "Invalid solution"
|
|
46
|
+
},
|
|
47
|
+
"API": {
|
|
48
|
+
"BAD_REQUEST": "BadRequest",
|
|
49
|
+
"UNKNOWN": "Unknown API error",
|
|
50
|
+
"PARSE_ERROR": "Error parsing request"
|
|
51
|
+
},
|
|
52
|
+
"DEVELOPER": {
|
|
53
|
+
"PROVIDER_NO_CAPTCHA": "No captchas returned from provider",
|
|
54
|
+
"GENERAL": "General Dev Error, see context"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ACCOUNT": {
|
|
3
|
+
"NO_POLKADOT_EXTENSION": "Không tìm thấy tiện ích Polkadot"
|
|
4
|
+
},
|
|
5
|
+
"WIDGET": {
|
|
6
|
+
"SELECT_ALL": "Chọn tất cả chứa cái sau",
|
|
7
|
+
"IF_NONE_CLICK_NEXT": "Nếu không có, nhấn vào Tiếp",
|
|
8
|
+
"NEXT": "Tiếp",
|
|
9
|
+
"SUBMIT": "Gửi",
|
|
10
|
+
"CANCEL": "Hủy",
|
|
11
|
+
"I_AM_HUMAN": "Tôi là con người",
|
|
12
|
+
"NO_ACCOUNTS_FOUND": "Không tìm thấy tài khoản",
|
|
13
|
+
"ACCOUNT_NOT_FOUND": "Không tìm thấy tài khoản",
|
|
14
|
+
"NO_EXTENSION_FOUND": "Không tìm thấy tiện ích"
|
|
15
|
+
},
|
|
16
|
+
"GENERAL": {
|
|
17
|
+
"CANT_FIND_KEYRINGPAIR": "Không thể tìm thấy keyringpair cho {{address}}",
|
|
18
|
+
"SITE_KEY_MISSING": "SITE KEY thiếu",
|
|
19
|
+
"ACCOUNT_NOT_FOUND": "Không tìm thấy tài khoản"
|
|
20
|
+
},
|
|
21
|
+
"CONFIG": {
|
|
22
|
+
"UNKNOWN_ENVIRONMENT": "Môi trường không xác định được yêu cầu",
|
|
23
|
+
"INVALID_LOG_LEVEL": "Mức độ log không hợp lệ"
|
|
24
|
+
},
|
|
25
|
+
"DATASET": {
|
|
26
|
+
"DATASET_PARSE_ERROR": "Lỗi phân tích bộ dữ liệu",
|
|
27
|
+
"SOLUTION_PARSE_ERROR": "Lỗi phân tích bộ dữ liệu",
|
|
28
|
+
"HASH_ERROR": "Lỗi băm bộ dữ liệu",
|
|
29
|
+
"MERKLE_ERROR": "Lỗi tạo cây merkle"
|
|
30
|
+
},
|
|
31
|
+
"DATABASE": {
|
|
32
|
+
"IMAGE_GET_FAILED": "Không thể lấy hình ảnh"
|
|
33
|
+
},
|
|
34
|
+
"CAPTCHA": {
|
|
35
|
+
"INVALID_CAPTCHA_ID": "ID captcha không hợp lệ",
|
|
36
|
+
"INVALID_ITEM_FORMAT": "Chỉ cho phép các loại mục hình ảnh và văn bản",
|
|
37
|
+
"INVALID_SOLUTION_TYPE": "Loại giải pháp không hợp lệ",
|
|
38
|
+
"INVALID_ITEM_HASH": "Hash mục không hợp lệ",
|
|
39
|
+
"ID_MISMATCH": "Sai mã CAPTCHA",
|
|
40
|
+
"MISSING_ITEM_HASH": "Thiếu mã hash của mục",
|
|
41
|
+
"INVALID_CAPTCHA_CHALLENGE": "Thách thức CAPTCHA không hợp lệ",
|
|
42
|
+
"NO_CAPTCHA": "Không tìm thấy CAPTCHA",
|
|
43
|
+
"NO_SESSION_FOUND": "Không tìm thấy phiên",
|
|
44
|
+
"INVALID_TOKEN": "Token không hợp lệ",
|
|
45
|
+
"INVALID_SOLUTION": "Giải pháp không hợp lệ"
|
|
46
|
+
},
|
|
47
|
+
"API": {
|
|
48
|
+
"BAD_REQUEST": "Yêu cầu không hợp lệ",
|
|
49
|
+
"UNKNOWN": "Lỗi API không xác định",
|
|
50
|
+
"PARSE_ERROR": "Lỗi phân tích yêu cầu"
|
|
51
|
+
},
|
|
52
|
+
"DEVELOPER": {
|
|
53
|
+
"PROVIDER_NO_CAPTCHA": "Không có CAPTCHA nào được trả về từ nhà cung cấp",
|
|
54
|
+
"GENERAL": "Lỗi phát triển chung, xem ngữ cảnh"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ACCOUNT": {
|
|
3
|
+
"NO_POLKADOT_EXTENSION": "找不到Polkadot插件"
|
|
4
|
+
},
|
|
5
|
+
"WIDGET": {
|
|
6
|
+
"SELECT_ALL": "选择所有包含以下内容",
|
|
7
|
+
"IF_NONE_CLICK_NEXT": "如果没有,请点击下一个",
|
|
8
|
+
"NEXT": "下一个",
|
|
9
|
+
"SUBMIT": "提交",
|
|
10
|
+
"CANCEL": "取消",
|
|
11
|
+
"I_AM_HUMAN": "我是人类",
|
|
12
|
+
"NO_ACCOUNTS_FOUND": "找不到帐户",
|
|
13
|
+
"ACCOUNT_NOT_FOUND": "找不到帐户",
|
|
14
|
+
"NO_EXTENSION_FOUND": "找不到扩展"
|
|
15
|
+
},
|
|
16
|
+
"GENERAL": {
|
|
17
|
+
"CANT_FIND_KEYRINGPAIR": "找不到{{address}}的密钥对",
|
|
18
|
+
"SITE_KEY_MISSING": "缺少SITE KEY",
|
|
19
|
+
"ACCOUNT_NOT_FOUND": "找不到帐户"
|
|
20
|
+
},
|
|
21
|
+
"CONFIG": {
|
|
22
|
+
"UNKNOWN_ENVIRONMENT": "请求的环境未知",
|
|
23
|
+
"INVALID_LOG_LEVEL": "无效的日志级别"
|
|
24
|
+
},
|
|
25
|
+
"DATASET": {
|
|
26
|
+
"DATASET_PARSE_ERROR": "解析数据集时出错",
|
|
27
|
+
"SOLUTION_PARSE_ERROR": "解析数据集时出错",
|
|
28
|
+
"HASH_ERROR": "哈希数据集时出错",
|
|
29
|
+
"MERKLE_ERROR": "创建默克尔树时出错"
|
|
30
|
+
},
|
|
31
|
+
"DATABASE": {
|
|
32
|
+
"IMAGE_GET_FAILED": "获取图像失败"
|
|
33
|
+
},
|
|
34
|
+
"CAPTCHA": {
|
|
35
|
+
"INVALID_CAPTCHA_ID": "无效的验证码ID",
|
|
36
|
+
"INVALID_ITEM_FORMAT": "仅允许图像和文本项目类型",
|
|
37
|
+
"INVALID_SOLUTION_TYPE": "无效的解决方案类型",
|
|
38
|
+
"INVALID_ITEM_HASH": "无效的项目哈希",
|
|
39
|
+
"ID_MISMATCH": "验证码ID不匹配",
|
|
40
|
+
"MISSING_ITEM_HASH": "缺少项目哈希",
|
|
41
|
+
"INVALID_CAPTCHA_CHALLENGE": "无效的验证码挑战",
|
|
42
|
+
"NO_CAPTCHA": "找不到验证码",
|
|
43
|
+
"NO_SESSION_FOUND": "找不到会话",
|
|
44
|
+
"INVALID_TOKEN": "无效的令牌",
|
|
45
|
+
"INVALID_SOLUTION": "无效的解决方案"
|
|
46
|
+
},
|
|
47
|
+
"API": {
|
|
48
|
+
"BAD_REQUEST": "错误的请求",
|
|
49
|
+
"UNKNOWN": "未知API错误",
|
|
50
|
+
"PARSE_ERROR": "解析请求时出错"
|
|
51
|
+
},
|
|
52
|
+
"DEVELOPER": {
|
|
53
|
+
"PROVIDER_NO_CAPTCHA": "提供商未返回验证码",
|
|
54
|
+
"GENERAL": "一般开发错误,请参考上下文"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
function d(e) {
|
|
2
|
+
return e("return this");
|
|
3
|
+
}
|
|
4
|
+
const c = typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : typeof self < "u" ? self : typeof window < "u" ? window : d(Function);
|
|
5
|
+
function i(e, n) {
|
|
6
|
+
return typeof c[e] > "u" ? n : c[e];
|
|
7
|
+
}
|
|
8
|
+
let s = class {
|
|
9
|
+
encode(n) {
|
|
10
|
+
const o = n.length, r = new Uint8Array(o);
|
|
11
|
+
for (let t = 0; t < o; t++)
|
|
12
|
+
r[t] = n.charCodeAt(t);
|
|
13
|
+
return r;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
const l = /* @__PURE__ */ i("TextEncoder", s), f = new l();
|
|
17
|
+
function u(e) {
|
|
18
|
+
return e ? f.encode(e.toString()) : new Uint8Array();
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
i as e,
|
|
22
|
+
u as s,
|
|
23
|
+
c as x
|
|
24
|
+
};
|
|
@@ -63,7 +63,7 @@ const f = g.arrayToEnum([
|
|
|
63
63
|
"never",
|
|
64
64
|
"map",
|
|
65
65
|
"set"
|
|
66
|
-
]),
|
|
66
|
+
]), I = (r) => {
|
|
67
67
|
switch (typeof r) {
|
|
68
68
|
case "undefined":
|
|
69
69
|
return f.undefined;
|
|
@@ -361,13 +361,13 @@ class _ {
|
|
|
361
361
|
return this._def.description;
|
|
362
362
|
}
|
|
363
363
|
_getType(e) {
|
|
364
|
-
return
|
|
364
|
+
return I(e.data);
|
|
365
365
|
}
|
|
366
366
|
_getOrReturnCtx(e, t) {
|
|
367
367
|
return t || {
|
|
368
368
|
common: e.parent.common,
|
|
369
369
|
data: e.data,
|
|
370
|
-
parsedType:
|
|
370
|
+
parsedType: I(e.data),
|
|
371
371
|
schemaErrorMap: this._def.errorMap,
|
|
372
372
|
path: e.path,
|
|
373
373
|
parent: e.parent
|
|
@@ -379,7 +379,7 @@ class _ {
|
|
|
379
379
|
ctx: {
|
|
380
380
|
common: e.parent.common,
|
|
381
381
|
data: e.data,
|
|
382
|
-
parsedType:
|
|
382
|
+
parsedType: I(e.data),
|
|
383
383
|
schemaErrorMap: this._def.errorMap,
|
|
384
384
|
path: e.path,
|
|
385
385
|
parent: e.parent
|
|
@@ -414,7 +414,7 @@ class _ {
|
|
|
414
414
|
schemaErrorMap: this._def.errorMap,
|
|
415
415
|
parent: null,
|
|
416
416
|
data: e,
|
|
417
|
-
parsedType:
|
|
417
|
+
parsedType: I(e)
|
|
418
418
|
}, a = this._parseSync({ data: e, path: n.path, parent: n });
|
|
419
419
|
return Se(n, a);
|
|
420
420
|
}
|
|
@@ -435,7 +435,7 @@ class _ {
|
|
|
435
435
|
schemaErrorMap: this._def.errorMap,
|
|
436
436
|
parent: null,
|
|
437
437
|
data: e,
|
|
438
|
-
parsedType:
|
|
438
|
+
parsedType: I(e)
|
|
439
439
|
}, n = this._parse({ data: e, path: s.path, parent: s }), a = await (X(n) ? n : Promise.resolve(n));
|
|
440
440
|
return Se(s, a);
|
|
441
441
|
}
|
|
@@ -546,7 +546,7 @@ function Re(r) {
|
|
|
546
546
|
function Fe(r) {
|
|
547
547
|
return new RegExp(`^${Re(r)}$`);
|
|
548
548
|
}
|
|
549
|
-
function
|
|
549
|
+
function je(r) {
|
|
550
550
|
let e = `${Ee}T${Re(r)}`;
|
|
551
551
|
const t = [];
|
|
552
552
|
return t.push(r.local ? "Z?" : "Z"), r.offset && t.push("([+-]\\d{2}:?\\d{2})"), e = `${e}(${t.join("|")})`, new RegExp(`^${e}$`);
|
|
@@ -670,7 +670,7 @@ class Z extends _ {
|
|
|
670
670
|
code: d.invalid_string,
|
|
671
671
|
validation: { endsWith: a.value },
|
|
672
672
|
message: a.message
|
|
673
|
-
}), s.dirty()) : a.kind === "datetime" ?
|
|
673
|
+
}), s.dirty()) : a.kind === "datetime" ? je(a).test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {
|
|
674
674
|
code: d.invalid_string,
|
|
675
675
|
validation: "datetime",
|
|
676
676
|
message: a.message
|
|
@@ -1387,7 +1387,7 @@ V.create = (r) => new V({
|
|
|
1387
1387
|
typeName: p.ZodUnknown,
|
|
1388
1388
|
...v(r)
|
|
1389
1389
|
});
|
|
1390
|
-
class
|
|
1390
|
+
class j extends _ {
|
|
1391
1391
|
_parse(e) {
|
|
1392
1392
|
const t = this._getOrReturnCtx(e);
|
|
1393
1393
|
return u(t, {
|
|
@@ -1397,7 +1397,7 @@ class I extends _ {
|
|
|
1397
1397
|
}), m;
|
|
1398
1398
|
}
|
|
1399
1399
|
}
|
|
1400
|
-
|
|
1400
|
+
j.create = (r) => new j({
|
|
1401
1401
|
typeName: p.ZodNever,
|
|
1402
1402
|
...v(r)
|
|
1403
1403
|
});
|
|
@@ -1527,7 +1527,7 @@ class x extends _ {
|
|
|
1527
1527
|
}), m;
|
|
1528
1528
|
}
|
|
1529
1529
|
const { status: s, ctx: n } = this._processInputParams(e), { shape: a, keys: i } = this._getCached(), o = [];
|
|
1530
|
-
if (!(this._def.catchall instanceof
|
|
1530
|
+
if (!(this._def.catchall instanceof j && this._def.unknownKeys === "strip"))
|
|
1531
1531
|
for (const c in n.data)
|
|
1532
1532
|
i.includes(c) || o.push(c);
|
|
1533
1533
|
const l = [];
|
|
@@ -1539,7 +1539,7 @@ class x extends _ {
|
|
|
1539
1539
|
alwaysSet: c in n.data
|
|
1540
1540
|
});
|
|
1541
1541
|
}
|
|
1542
|
-
if (this._def.catchall instanceof
|
|
1542
|
+
if (this._def.catchall instanceof j) {
|
|
1543
1543
|
const c = this._def.unknownKeys;
|
|
1544
1544
|
if (c === "passthrough")
|
|
1545
1545
|
for (const y of o)
|
|
@@ -1770,27 +1770,27 @@ class x extends _ {
|
|
|
1770
1770
|
});
|
|
1771
1771
|
}
|
|
1772
1772
|
keyof() {
|
|
1773
|
-
return
|
|
1773
|
+
return Ie(g.objectKeys(this.shape));
|
|
1774
1774
|
}
|
|
1775
1775
|
}
|
|
1776
1776
|
x.create = (r, e) => new x({
|
|
1777
1777
|
shape: () => r,
|
|
1778
1778
|
unknownKeys: "strip",
|
|
1779
|
-
catchall:
|
|
1779
|
+
catchall: j.create(),
|
|
1780
1780
|
typeName: p.ZodObject,
|
|
1781
1781
|
...v(e)
|
|
1782
1782
|
});
|
|
1783
1783
|
x.strictCreate = (r, e) => new x({
|
|
1784
1784
|
shape: () => r,
|
|
1785
1785
|
unknownKeys: "strict",
|
|
1786
|
-
catchall:
|
|
1786
|
+
catchall: j.create(),
|
|
1787
1787
|
typeName: p.ZodObject,
|
|
1788
1788
|
...v(e)
|
|
1789
1789
|
});
|
|
1790
1790
|
x.lazycreate = (r, e) => new x({
|
|
1791
1791
|
shape: r,
|
|
1792
1792
|
unknownKeys: "strip",
|
|
1793
|
-
catchall:
|
|
1793
|
+
catchall: j.create(),
|
|
1794
1794
|
typeName: p.ZodObject,
|
|
1795
1795
|
...v(e)
|
|
1796
1796
|
});
|
|
@@ -1931,7 +1931,7 @@ class ve extends _ {
|
|
|
1931
1931
|
}
|
|
1932
1932
|
}
|
|
1933
1933
|
function we(r, e) {
|
|
1934
|
-
const t =
|
|
1934
|
+
const t = I(r), s = I(e);
|
|
1935
1935
|
if (r === e)
|
|
1936
1936
|
return { valid: !0, data: r };
|
|
1937
1937
|
if (t === f.object && s === f.object) {
|
|
@@ -2333,7 +2333,7 @@ ne.create = (r, e) => new ne({
|
|
|
2333
2333
|
typeName: p.ZodLiteral,
|
|
2334
2334
|
...v(e)
|
|
2335
2335
|
});
|
|
2336
|
-
function
|
|
2336
|
+
function Ie(r, e) {
|
|
2337
2337
|
return new $({
|
|
2338
2338
|
values: r,
|
|
2339
2339
|
typeName: p.ZodEnum,
|
|
@@ -2398,7 +2398,7 @@ class $ extends _ {
|
|
|
2398
2398
|
}
|
|
2399
2399
|
}
|
|
2400
2400
|
J = /* @__PURE__ */ new WeakMap();
|
|
2401
|
-
$.create =
|
|
2401
|
+
$.create = Ie;
|
|
2402
2402
|
class ae extends _ {
|
|
2403
2403
|
constructor() {
|
|
2404
2404
|
super(...arguments), H.set(this, void 0);
|
|
@@ -2738,7 +2738,7 @@ var p;
|
|
|
2738
2738
|
})(p || (p = {}));
|
|
2739
2739
|
const nt = (r, e = {
|
|
2740
2740
|
message: `Input not instance of ${r.name}`
|
|
2741
|
-
}) => Ae((t) => t instanceof r, e), Me = Z.create, $e = A.create, at = ye.create, it = M.create, Pe = Q.create, ot = L.create, dt = he.create, ct = K.create, ut = F.create, lt = q.create, ft = V.create, ht =
|
|
2741
|
+
}) => Ae((t) => t instanceof r, e), Me = Z.create, $e = A.create, at = ye.create, it = M.create, Pe = Q.create, ot = L.create, dt = he.create, ct = K.create, ut = F.create, lt = q.create, ft = V.create, ht = j.create, pt = pe.create, mt = S.create, yt = x.create, vt = x.strictCreate, _t = ee.create, gt = ve.create, xt = te.create, kt = E.create, bt = re.create, wt = me.create, Tt = D.create, Zt = B.create, St = se.create, Ct = ne.create, Nt = $.create, Ot = ae.create, Et = Y.create, Ce = C.create, Rt = N.create, jt = P.create, It = C.createWithPreprocess, At = ce.create, Mt = () => Me().optional(), $t = () => $e().optional(), Pt = () => Pe().optional(), Vt = {
|
|
2742
2742
|
string: (r) => Z.create({ ...r, coerce: !0 }),
|
|
2743
2743
|
number: (r) => A.create({ ...r, coerce: !0 }),
|
|
2744
2744
|
boolean: (r) => Q.create({
|
|
@@ -2771,9 +2771,9 @@ var Dt = /* @__PURE__ */ Object.freeze({
|
|
|
2771
2771
|
return xe;
|
|
2772
2772
|
},
|
|
2773
2773
|
ZodParsedType: f,
|
|
2774
|
-
getParsedType:
|
|
2774
|
+
getParsedType: I,
|
|
2775
2775
|
ZodType: _,
|
|
2776
|
-
datetimeRegex:
|
|
2776
|
+
datetimeRegex: je,
|
|
2777
2777
|
ZodString: Z,
|
|
2778
2778
|
ZodNumber: A,
|
|
2779
2779
|
ZodBigInt: M,
|
|
@@ -2784,7 +2784,7 @@ var Dt = /* @__PURE__ */ Object.freeze({
|
|
|
2784
2784
|
ZodNull: F,
|
|
2785
2785
|
ZodAny: q,
|
|
2786
2786
|
ZodUnknown: V,
|
|
2787
|
-
ZodNever:
|
|
2787
|
+
ZodNever: j,
|
|
2788
2788
|
ZodVoid: pe,
|
|
2789
2789
|
ZodArray: S,
|
|
2790
2790
|
ZodObject: x,
|
|
@@ -2838,7 +2838,7 @@ var Dt = /* @__PURE__ */ Object.freeze({
|
|
|
2838
2838
|
nativeEnum: Ot,
|
|
2839
2839
|
never: ht,
|
|
2840
2840
|
null: ut,
|
|
2841
|
-
nullable:
|
|
2841
|
+
nullable: jt,
|
|
2842
2842
|
number: $e,
|
|
2843
2843
|
object: yt,
|
|
2844
2844
|
oboolean: Pt,
|
|
@@ -2846,7 +2846,7 @@ var Dt = /* @__PURE__ */ Object.freeze({
|
|
|
2846
2846
|
optional: Rt,
|
|
2847
2847
|
ostring: Mt,
|
|
2848
2848
|
pipeline: At,
|
|
2849
|
-
preprocess:
|
|
2849
|
+
preprocess: It,
|
|
2850
2850
|
promise: Et,
|
|
2851
2851
|
record: bt,
|
|
2852
2852
|
set: Tt,
|
|
@@ -2864,7 +2864,40 @@ var Dt = /* @__PURE__ */ Object.freeze({
|
|
|
2864
2864
|
quotelessJson: Ve,
|
|
2865
2865
|
ZodError: w
|
|
2866
2866
|
});
|
|
2867
|
-
const zt =
|
|
2867
|
+
const zt = {
|
|
2868
|
+
arabic: "ar",
|
|
2869
|
+
azerbaijani: "az",
|
|
2870
|
+
czech: "cs",
|
|
2871
|
+
german: "de",
|
|
2872
|
+
greek: "el",
|
|
2873
|
+
english: "en",
|
|
2874
|
+
spanish: "es",
|
|
2875
|
+
finnish: "fi",
|
|
2876
|
+
french: "fr",
|
|
2877
|
+
hindi: "hi",
|
|
2878
|
+
hungarian: "hu",
|
|
2879
|
+
indonesian: "id",
|
|
2880
|
+
italian: "it",
|
|
2881
|
+
japanese: "ja",
|
|
2882
|
+
javanese: "jv",
|
|
2883
|
+
korean: "ko",
|
|
2884
|
+
malayalam: "ml",
|
|
2885
|
+
malay: "ms",
|
|
2886
|
+
dutch: "nl",
|
|
2887
|
+
norwegian: "no",
|
|
2888
|
+
polish: "pl",
|
|
2889
|
+
portugeseBrazil: "pt-br",
|
|
2890
|
+
portuguese: "pt",
|
|
2891
|
+
romanian: "ro",
|
|
2892
|
+
russian: "ru",
|
|
2893
|
+
serbian: "sr",
|
|
2894
|
+
swedish: "sv",
|
|
2895
|
+
thai: "th",
|
|
2896
|
+
turkish: "tr",
|
|
2897
|
+
ukrainian: "uk",
|
|
2898
|
+
vietnamese: "vi",
|
|
2899
|
+
chinese: "zh-cn"
|
|
2900
|
+
}, Ut = Dt.enum(Object.values(zt));
|
|
2868
2901
|
export {
|
|
2869
2902
|
Ut as L,
|
|
2870
2903
|
$e as a,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as Y } from "./toU8a-
|
|
3
|
-
import { g as q, a as B, i as K } from "./i18nFrontend-
|
|
1
|
+
import { n as X, r as p } from "./emotion-element-5486c51c.browser.esm-F-LKH1Q7.js";
|
|
2
|
+
import { s as Y } from "./toU8a-C68WUzs_.js";
|
|
3
|
+
import { g as q, a as B, i as K } from "./i18nFrontend-CsPT71ro.js";
|
|
4
4
|
function re(e) {
|
|
5
5
|
return X(Y(e));
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Languages } from "@prosopo/locale";
|
|
2
2
|
import { type ProcaptchaClientConfigOutput } from "@prosopo/types";
|
|
3
|
-
declare function createConfig(siteKey?: string, theme?: "light" | "dark", language?: typeof
|
|
3
|
+
declare function createConfig(siteKey?: string, theme?: "light" | "dark", language?: (typeof Languages)[keyof typeof Languages], web2?: boolean, invisible?: boolean): ProcaptchaClientConfigOutput;
|
|
4
4
|
export { createConfig };
|
|
5
5
|
//# sourceMappingURL=configCreator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configCreator.d.ts","sourceRoot":"","sources":["../../../src/util/configCreator.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"configCreator.d.ts","sourceRoot":"","sources":["../../../src/util/configCreator.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAEN,KAAK,4BAA4B,EAEjC,MAAM,gBAAgB,CAAC;AAExB,iBAAS,YAAY,CACpB,OAAO,CAAC,EAAE,MAAM,EAChB,KAAK,GAAE,OAAO,GAAG,MAAgB,EACjC,QAAQ,CAAC,EAAE,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,EACrD,IAAI,UAAO,EACX,SAAS,UAAQ,GACf,4BAA4B,CAqB9B;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
|