UNPKG

altcha

Version:

Privacy-first CAPTCHA widget, compliant with global regulations (GDPR/HIPAA/CCPA/LGDP/DPDPA/PIPL) and WCAG accessible. No tracking, self-verifying.

2 lines (1 loc) 2.64 kB
(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:"ვერიფიკაციის ვადა გავიდა. სცადეთ ხელახლა.",footer:'დაცულია <a href="https://altcha.org/" target="_blank" aria-label="ეწვიეთ Altcha.org-ს">ALTCHA</a>-ით',getAudioChallenge:"მიიღეთ აუდიო გამოწვევა",label:"მე არ ვარ რობოტი",loading:"იტვირთება...",reload:"განახლება",verify:"დადასტურება",verificationRequired:"საჭიროა ვერიფიკაცია!",verified:"დადასტურებულია",verifying:"დადასტურება მიმდინარეობს...",waitAlert:"დადასტურება მიმდინარეობს... გთხოვთ, დაიცადეთ."};globalThis.altchaI18n.set("ka",h),l.i18n=h,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})});