feat: Replace aCAPTCHA with official ALTCHA (altcha.org) Proof-of-Work web component widget
This commit is contained in:
1 parent
6ef74c7cf4
commit
83c782c469
417 files changed
+100543
-317
No files matched your search
-272
@@ -1,272 +0,0 @@
|
|||||||
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();function Ud(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ou={exports:{}},Rs={},au={exports:{}},Q={};/**
|
|
||||||
* @license React
|
|
||||||
* react.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/var br=Symbol.for("react.element"),Hd=Symbol.for("react.portal"),Qd=Symbol.for("react.fragment"),Wd=Symbol.for("react.strict_mode"),Kd=Symbol.for("react.profiler"),Gd=Symbol.for("react.provider"),qd=Symbol.for("react.context"),Yd=Symbol.for("react.forward_ref"),Zd=Symbol.for("react.suspense"),Jd=Symbol.for("react.memo"),Xd=Symbol.for("react.lazy"),Qo=Symbol.iterator;function ef(e){return e===null||typeof e!="object"?null:(e=Qo&&e[Qo]||e["@@iterator"],typeof e=="function"?e:null)}var uu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},cu=Object.assign,du={};function An(e,t,n){this.props=e,this.context=t,this.refs=du,this.updater=n||uu}An.prototype.isReactComponent={};An.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};An.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function fu(){}fu.prototype=An.prototype;function Ci(e,t,n){this.props=e,this.context=t,this.refs=du,this.updater=n||uu}var Ti=Ci.prototype=new fu;Ti.constructor=Ci;cu(Ti,An.prototype);Ti.isPureReactComponent=!0;var Wo=Array.isArray,mu=Object.prototype.hasOwnProperty,Pi={current:null},pu={key:!0,ref:!0,__self:!0,__source:!0};function hu(e,t,n){var r,s={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)mu.call(t,r)&&!pu.hasOwnProperty(r)&&(s[r]=t[r]);var a=arguments.length-2;if(a===1)s.children=n;else if(1<a){for(var u=Array(a),m=0;m<a;m++)u[m]=arguments[m+2];s.children=u}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)s[r]===void 0&&(s[r]=a[r]);return{$$typeof:br,type:e,key:i,ref:o,props:s,_owner:Pi.current}}function tf(e,t){return{$$typeof:br,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Li(e){return typeof e=="object"&&e!==null&&e.$$typeof===br}function nf(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Ko=/\/+/g;function ol(e,t){return typeof e=="object"&&e!==null&&e.key!=null?nf(""+e.key):t.toString(36)}function Xr(e,t,n,r,s){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case br:case Hd:o=!0}}if(o)return o=e,s=s(o),e=r===""?"."+ol(o,0):r,Wo(s)?(n="",e!=null&&(n=e.replace(Ko,"$&/")+"/"),Xr(s,t,n,"",function(m){return m})):s!=null&&(Li(s)&&(s=tf(s,n+(!s.key||o&&o.key===s.key?"":(""+s.key).replace(Ko,"$&/")+"/")+e)),t.push(s)),1;if(o=0,r=r===""?".":r+":",Wo(e))for(var a=0;a<e.length;a++){i=e[a];var u=r+ol(i,a);o+=Xr(i,t,n,u,s)}else if(u=ef(e),typeof u=="function")for(e=u.call(e),a=0;!(i=e.next()).done;)i=i.value,u=r+ol(i,a++),o+=Xr(i,t,n,u,s);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function Rr(e,t,n){if(e==null)return e;var r=[],s=0;return Xr(e,r,"","",function(i){return t.call(n,i,s++)}),r}function rf(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var _e={current:null},es={transition:null},sf={ReactCurrentDispatcher:_e,ReactCurrentBatchConfig:es,ReactCurrentOwner:Pi};function xu(){throw Error("act(...) is not supported in production builds of React.")}Q.Children={map:Rr,forEach:function(e,t,n){Rr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Rr(e,function(){t++}),t},toArray:function(e){return Rr(e,function(t){return t})||[]},only:function(e){if(!Li(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Q.Component=An;Q.Fragment=Qd;Q.Profiler=Kd;Q.PureComponent=Ci;Q.StrictMode=Wd;Q.Suspense=Zd;Q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sf;Q.act=xu;Q.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=cu({},e.props),s=e.key,i=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,o=Pi.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(u in t)mu.call(t,u)&&!pu.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&a!==void 0?a[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){a=Array(u);for(var m=0;m<u;m++)a[m]=arguments[m+2];r.children=a}return{$$typeof:br,type:e.type,key:s,ref:i,props:r,_owner:o}};Q.createContext=function(e){return e={$$typeof:qd,_currentValue:e,_currentValue2:e,_threadCount:0,ProviderLine truncated
|
|
||||||
* @license React
|
|
||||||
* react-jsx-runtime.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/var lf=w,of=Symbol.for("react.element"),af=Symbol.for("react.fragment"),uf=Object.prototype.hasOwnProperty,cf=lf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,df={key:!0,ref:!0,__self:!0,__source:!0};function gu(e,t,n){var r,s={},i=null,o=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)uf.call(t,r)&&!df.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:of,type:e,key:i,ref:o,props:s,_owner:cf.current}}Rs.Fragment=af;Rs.jsx=gu;Rs.jsxs=gu;ou.exports=Rs;var l=ou.exports,Ml={},yu={exports:{}},$e={},vu={exports:{}},wu={};/**
|
|
||||||
* @license React
|
|
||||||
* scheduler.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/(function(e){function t(L,I){var g=L.length;L.push(I);e:for(;0<g;){var E=g-1>>>1,z=L[E];if(0<s(z,I))L[E]=I,L[g]=z,g=E;else break e}}function n(L){return L.length===0?null:L[0]}function r(L){if(L.length===0)return null;var I=L[0],g=L.pop();if(g!==I){L[0]=g;e:for(var E=0,z=L.length,$=z>>>1;E<$;){var D=2*(E+1)-1,H=L[D],ae=D+1,tt=L[ae];if(0>s(H,g))ae<z&&0>s(tt,H)?(L[E]=tt,L[ae]=g,E=ae):(L[E]=H,L[D]=g,E=D);else if(ae<z&&0>s(tt,g))L[E]=tt,L[ae]=g,E=ae;else break e}}return I}function s(L,I){var g=L.sortIndex-I.sortIndex;return g!==0?g:L.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var u=[],m=[],h=1,v=null,x=3,S=!1,N=!1,k=!1,O=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(L){for(var I=n(m);I!==null;){if(I.callback===null)r(m);else if(I.startTime<=L)r(m),I.sortIndex=I.expirationTime,t(u,I);else break;I=n(m)}}function y(L){if(k=!1,d(L),!N)if(n(u)!==null)N=!0,ye(j);else{var I=n(m);I!==null&&Ce(y,I.startTime-L)}}function j(L,I){N=!1,k&&(k=!1,f(P),P=-1),S=!0;var g=x;try{for(d(I),v=n(u);v!==null&&(!(v.expirationTime>I)||L&&!q());){var E=v.callback;if(typeof E=="function"){v.callback=null,x=v.priorityLevel;var z=E(v.expirationTime<=I);I=e.unstable_now(),typeof z=="function"?v.callback=z:v===n(u)&&r(u),d(I)}else r(u);v=n(u)}if(v!==null)var $=!0;else{var D=n(m);D!==null&&Ce(y,D.startTime-I),$=!1}return $}finally{v=null,x=g,S=!1}}var b=!1,T=null,P=-1,B=5,M=-1;function q(){return!(e.unstable_now()-M<B)}function G(){if(T!==null){var L=e.unstable_now();M=L;var I=!0;try{I=T(!0,L)}finally{I?Y():(b=!1,T=null)}}else b=!1}var Y;if(typeof c=="function")Y=function(){c(G)};else if(typeof MessageChannel<"u"){var ge=new MessageChannel,Se=ge.port2;ge.port1.onmessage=G,Y=function(){Se.postMessage(null)}}else Y=function(){O(G,0)};function ye(L){T=L,b||(b=!0,Y())}function Ce(L,I){P=O(function(){L(e.unstable_now())},I)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(L){L.callback=null},e.unstable_continueExecution=function(){N||S||(N=!0,ye(j))},e.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):B=0<L?Math.floor(1e3/L):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(L){switch(x){case 1:case 2:case 3:var I=3;break;default:I=x}var g=x;x=I;try{return L()}finally{x=g}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(L,I){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var g=x;x=L;try{return I()}finally{x=g}},e.unstable_scheduleCallback=function(L,I,g){var E=e.unstable_now();switch(typeof g=="object"&&g!==null?(g=g.delay,g=typeof g=="number"&&0<g?E+g:E):g=E,L){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=g+z,L={id:h++,callback:I,priorityLevel:L,startTime:g,expirationTime:z,sortIndex:-1},g>E?(L.sortIndex=g,t(m,L),n(u)===null&&L===n(m)&&(k?(f(P),P=-1):k=!0,Ce(y,g-E))):(L.sortIndex=z,t(u,L),N||S||(N=!0,ye(j))),L},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(L){var I=x;return function(){var g=x;x=I;try{return L.apply(this,arguments)}finally{x=g}}}})(wu);vu.exports=wu;var ff=vu.exports;/**
|
|
||||||
* @license React
|
|
||||||
* react-dom.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/var mf=w,Ie=ff;function _(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Nu=new Set,ir={};function rn(e,t){_n(e,t),_n(e+"Capture",t)}function _n(e,t){for(ir[e]=t,e=0;e<t.length;e++)Nu.add(t[e])}var ht=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Al=Object.prototype.hasOwnProperty,pf=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Go={},qo={};function hf(e){return Al.call(qo,e)?!0:Al.call(Go,e)?!1:pf.test(e)?qo[e]=!0:(Go[e]=!0,!1)}function xf(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function gf(e,t,n,r){if(t===null||typeof t>"u"||xf(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ee(e,t,n,r,s,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var xe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){xe[e]=new Ee(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];xe[t]=new Ee(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){xe[e]=new Ee(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){xe[e]=new Ee(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){xe[e]=new Ee(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){xe[e]=new Ee(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){xe[e]=new Ee(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){xe[e]=new Ee(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){xe[e]=new Ee(e,5,!1,e.toLowerCase(),null,!1,!1)});var zi=/[\-:]([a-z])/g;function Mi(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(zi,Mi);xe[t]=new Ee(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(zi,Mi);xe[t]=new Ee(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(zi,Mi);xe[t]=new Ee(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){xe[e]=new Ee(e,1,!1,e.toLowerCase(),null,!1,!1)});xe.xlinkHref=new Ee("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){xe[e]=new Ee(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ai(e,t,n,r){var s=xe.hasOwnProperty(t)?xe[t]:null;(s!==null?s.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="
Line truncated
|
|
||||||
`+al+e}var ul=!1;function cl(e,t){if(!e||ul)return"";ul=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(m){var r=m}Reflect.construct(e,[],t)}else{try{t.call()}catch(m){r=m}e.call(t.prototype)}else{try{throw Error()}catch(m){r=m}e()}}catch(m){if(m&&r&&typeof m.stack=="string"){for(var s=m.stack.split(`
|
|
||||||
`),i=r.stack.split(`
|
|
||||||
`),o=s.length-1,a=i.length-1;1<=o&&0<=a&&s[o]!==i[a];)a--;for(;1<=o&&0<=a;o--,a--)if(s[o]!==i[a]){if(o!==1||a!==1)do if(o--,a--,0>a||s[o]!==i[a]){var u=`
|
|
||||||
`+s[o].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=o&&0<=a);break}}}finally{ul=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Wn(e):""}function yf(e){switch(e.tag){case 5:return Wn(e.type);case 16:return Wn("Lazy");case 13:return Wn("Suspense");case 19:return Wn("SuspenseList");case 0:case 2:case 15:return e=cl(e.type,!1),e;case 11:return e=cl(e.type.render,!1),e;case 1:return e=cl(e.type,!0),e;default:return""}}function Il(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case an:return"Fragment";case on:return"Portal";case Dl:return"Profiler";case Di:return"StrictMode";case Rl:return"Suspense";case Ol:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Su:return(e.displayName||"Context")+".Consumer";case ku:return(e._context.displayName||"Context")+".Provider";case Ri:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Oi:return t=e.displayName||null,t!==null?t:Il(e.type)||"Memo";case St:t=e._payload,e=e._init;try{return Il(e(t))}catch{}}return null}function vf(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Il(t);case 8:return t===Di?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ot(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function bu(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function wf(e){var t=bu(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ir(e){e._valueTracker||(e._valueTracker=wf(e))}function _u(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=bu(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function fs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function $l(e,t){var n=t.checked;return le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Zo(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ot(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Eu(e,t){t=t.checked,t!=null&&Ai(e,"checked",t,!1)}function Vl(e,t){Eu(e,t);var n=Ot(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Fl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Fl(e,t.type,Ot(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Jo(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Fl(e,t,n){(t!=="number"||fs(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Kn=Array.isArray;function vn(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Ot(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,r&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function Bl(e,t){if(t.dan
Line truncated
|
|
||||||
`).replace(Pm,"")}function Wr(e,t,n){if(t=Na(t),Na(e)!==t&&n)throw Error(_(425))}function ws(){}var ti=null,ni=null;function ri(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var si=typeof setTimeout=="function"?setTimeout:void 0,Lm=typeof clearTimeout=="function"?clearTimeout:void 0,ka=typeof Promise=="function"?Promise:void 0,zm=typeof queueMicrotask=="function"?queueMicrotask:typeof ka<"u"?function(e){return ka.resolve(null).then(e).catch(Mm)}:si;function Mm(e){setTimeout(function(){throw e})}function Sl(e,t){var n=t,r=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){e.removeChild(s),dr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);dr(t)}function zt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Sa(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Rn=Math.random().toString(36).slice(2),lt="__reactFiber$"+Rn,xr="__reactProps$"+Rn,xt="__reactContainer$"+Rn,li="__reactEvents$"+Rn,Am="__reactListeners$"+Rn,Dm="__reactHandles$"+Rn;function Kt(e){var t=e[lt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[xt]||n[lt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Sa(e);e!==null;){if(n=e[lt])return n;e=Sa(e)}return t}e=n,n=e.parentNode}return null}function Cr(e){return e=e[lt]||e[xt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function fn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(_(33))}function Fs(e){return e[xr]||null}var ii=[],mn=-1;function Vt(e){return{current:e}}function te(e){0>mn||(e.current=ii[mn],ii[mn]=null,mn--)}function X(e,t){mn++,ii[mn]=e.current,e.current=t}var It={},ke=Vt(It),ze=Vt(!1),Jt=It;function En(e,t){var n=e.type.contextTypes;if(!n)return It;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},i;for(i in n)s[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function Me(e){return e=e.childContextTypes,e!=null}function Ns(){te(ze),te(ke)}function ja(e,t,n){if(ke.current!==It)throw Error(_(168));X(ke,t),X(ze,n)}function hc(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(_(108,vf(e)||"Unknown",s));return le({},n,r)}function ks(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||It,Jt=ke.current,X(ke,e),X(ze,ze.current),!0}function ba(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=hc(e,t,Jt),r.__reactInternalMemoizedMergedChildContext=e,te(ze),te(ke),X(ke,e)):te(ze),X(ze,n)}var dt=null,Bs=!1,jl=!1;function xc(e){dt===null?dt=[e]:dt.push(e)}function Rm(e){Bs=!0,xc(e)}function Ft(){if(!jl&&dt!==null){jl=!0;var e=0,t=Z;try{var n=dt;for(Z=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}dt=null,Bs=!1}catch(s){throw dt!==null&&(dt=dt.slice(e+1)),Fu($i,Ft),s}finally{Z=t,jl=!1}}return null}var pn=[],hn=0,Ss=null,js=0,Fe=[],Be=0,Xt=null,ft=1,mt="";function Qt(e,t){pn[hn++]=js,pn[hn++]=Ss,Ss=e,js=t}function gc(e,t,n){Fe[Be++]=ft,Fe[Be++]=mt,Fe[Be++]=Xt,Xt=e;var r=ft;e=mt;var s=32-Je(r)-1;r&=~(1<<s),n+=1;var i=32-Je(t)+s;if(30<i){var o=s-s%5;i=(r&(1<<o)-1).toString(32),r>>=o,s-=o,ft=1<<32-Je(t)+s|n<<s|r,mt=i+e}else ft=1<<i|n<<s|r,mt=e}function Gi(e){e.return!==null&&(Qt(e,1),gc(e,1,0))}function qi(e){for(;e===Ss;)Ss=pn[--hn],pn[hn]=null,js=pn[--hn],pn[hn]=null;for(;e===Xt;)Xt=Fe[--Be],Fe[Be]=null,mt=Fe[--Be],Fe[Be]=null,ft=Fe[--Be],Fe[Be]=null}var Oe=null,Re=null,ne=!1,Ze=null;function yc(e,t){var n=He(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function _a(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Oe=e,Re=zt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Oe=e,Re=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Xt!==null?{id:ft,overflow:mt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=He(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Oe=e,Re=null,!0):!1;default:return!1}}function oi(e){return(e.mode&1)!==0&&(e.flags&128)===0}function ai(e){if(ne){var t=Re;if(t){var n=t;if(!_a(e,t)){if(oi(e))throw Error(_(418));t=zt(n.nextSibling);var r=Oe;t&&_a(e,t)?yc(r,n):(e.flags=e.flags&-4097|2,ne=!1,Oe=e)}}else{if(oi(e))throw Error(_(418));e.flags=e.flags&-4097|2,ne=!1,Oe=e}}}function Ea(e){for(e=e.return;e!
Line truncated
|
|
||||||
Error generating stack: `+i.message+`
|
|
||||||
`+i.stack}return{value:e,source:t,stack:s,digest:null}}function Tl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function fi(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Qm=typeof WeakMap=="function"?WeakMap:Map;function Qc(e,t,n){n=pt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){zs||(zs=!0,ki=r),fi(e,t)},n}function Wc(e,t,n){n=pt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=t.value;n.payload=function(){return r(s)},n.callback=function(){fi(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){fi(e,t),typeof r!="function"&&(At===null?At=new Set([this]):At.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Da(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Qm;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(n)||(s.add(n),e=lp.bind(null,e,t,n),t.then(e,e))}function Ra(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Oa(e,t,n,r,s){return e.mode&1?(e.flags|=65536,e.lanes=s,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=pt(-1,1),t.tag=2,Mt(n,t,1))),n.lanes|=1),e)}var Wm=vt.ReactCurrentOwner,Le=!1;function je(e,t,n,r){t.child=e===null?Nc(t,null,n,r):Tn(t,e.child,n,r)}function Ia(e,t,n,r,s){n=n.render;var i=t.ref;return Sn(t,s),r=io(e,t,n,r,i,s),n=oo(),e!==null&&!Le?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,yt(e,t,s)):(ne&&n&&Gi(t),t.flags|=1,je(e,t,r,s),t.child)}function $a(e,t,n,r,s){if(e===null){var i=n.type;return typeof i=="function"&&!yo(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Kc(e,t,i,r,s)):(e=cs(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&s)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:mr,n(o,r)&&e.ref===t.ref)return yt(e,t,s)}return t.flags|=1,e=Rt(i,r),e.ref=t.ref,e.return=t,t.child=e}function Kc(e,t,n,r,s){if(e!==null){var i=e.memoizedProps;if(mr(i,r)&&e.ref===t.ref)if(Le=!1,t.pendingProps=r=i,(e.lanes&s)!==0)e.flags&131072&&(Le=!0);else return t.lanes=e.lanes,yt(e,t,s)}return mi(e,t,n,r,s)}function Gc(e,t,n){var r=t.pendingProps,s=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},X(yn,De),De|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,X(yn,De),De|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,X(yn,De),De|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,X(yn,De),De|=r;return je(e,t,s,n),t.child}function qc(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function mi(e,t,n,r,s){var i=Me(n)?Jt:ke.current;return i=En(t,i),Sn(t,s),n=io(e,t,n,r,i,s),r=oo(),e!==null&&!Le?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,yt(e,t,s)):(ne&&r&&Gi(t),t.flags|=1,je(e,t,n,s),t.child)}function Va(e,t,n,r,s){if(Me(n)){var i=!0;ks(t)}else i=!1;if(Sn(t,s),t.stateNode===null)os(e,t),Hc(t,n,r),di(t,n,r,s),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var u=o.context,m=n.contextType;typeof m=="object"&&m!==null?m=We(m):(m=Me(n)?Jt:ke.current,m=En(t,m));var h=n.getDerivedStateFromProps,v=typeof h=="function"||typeof o.getSnapshotBeforeUpdate=="function";v||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||u!==m)&&Aa(t,o,r,m),jt=!1;var x=t.memoizedState;o.state=x,Es(t,r,o,s),u=t.memoizedState,a!==r||x!==u||ze.current||jt?(typeof h=="function"&&(ci(t,n,h,r),u=t.memoizedState),(a=jt||Ma(t,n,a,r,x,u,m))?(v||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=m,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Sc(e,t),a=t.memoizedProps,m=t.type===t.elementType?a:qe(t.type,a),o.props=m,v=t.pendingProps,x=o.context,u=n.contextType,typeof u=="object"&&u!==null?u=We(u):(u=Me(n)?Jt:ke.current,u=En(t,u));var S=n.getDerivedStateFromProps;(h=typeof S=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==v||x!==u)&&Aa(t,o,r,u),jt=!1,x=t.memoizedState,o.state=x,Es(t,r,o,s);var N=t.memoizedState
Line truncated
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const gp=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),vd=(...e)=>e.filter((t,n,r)=>!!t&&r.indexOf(t)===n).join(" ");/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/var yp={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const vp=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:i,iconNode:o,...a},u)=>w.createElement("svg",{ref:u,...yp,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:vd("lucide",s),...a},[...o.map(([m,h])=>w.createElement(m,h)),...Array.isArray(i)?i:[i]]));/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const U=(e,t)=>{const n=w.forwardRef(({className:r,...s},i)=>w.createElement(vp,{ref:i,iconNode:t,className:vd(`lucide-${gp(e)}`,r),...s}));return n.displayName=`${e}`,n};/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const wd=U("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const Nd=U("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const wp=U("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const eu=U("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const Pr=U("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const Np=U("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const kp=U("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const Mn=U("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const ut=U("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const Sr=U("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const Sp=U("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const kd=U("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const jp=U("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const tu=U("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const Js=U("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const bp=U("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const _p=U("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const _i=U("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const So=U("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const Ep=U("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const Cp=U("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const nu=U("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const jr=U("PenLine",[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const Tp=U("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const at=U("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const Pp=U("Printer",[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const Sd=U("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const Lp=U("Send",[["path",{d:"m22 2-7 20-4-9-9-4Z",key:"1q3vgg"}],["path",{d:"M22 2 11 13",key:"nzbqef"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const ru=U("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const zp=U("ShieldAlert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const Mp=U("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const jd=U("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const bd=U("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const Ap=U("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const Dp=U("TableProperties",[["path",{d:"M15 3v18",key:"14nvp0"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const Ue=U("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const jo=U("UserCheck",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const Rp=U("UserPlus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const su=U("UserX",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"17",x2:"22",y1:"8",y2:"13",key:"3nzzx3"}],["line",{x1:"22",x2:"17",y1:"8",y2:"13",key:"1swrse"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const ds=U("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const _d=U("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
|
|
||||||
* @license lucide-react v0.424.0 - ISC
|
|
||||||
*
|
|
||||||
* This source code is licensed under the ISC license.
|
|
||||||
* See the LICENSE file in the root directory of this source tree.
|
|
||||||
*/const Ed=U("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Op({branding:e,user:t,activeTab:n,onChangeTab:r,themeMode:s,onChangeThemeMode:i,onLogout:o,onOpenAuth:a,onOpenCreateEvent:u,onOpenTemplates:m,onOpenProfile:h,onOpenAdmin:v,pwaInstallPrompt:x,onInstallPwa:S}){const N=(e==null?void 0:e.primary_color)||"var(--brand-primary)",[k,O]=lr.useState(()=>localStorage.getItem("guest_display_name")||"");lr.useEffect(()=>{const c=()=>{O(localStorage.getItem("guest_display_name")||"")};return window.addEventListener("guest_name_updated",c),window.addEventListener("storage",c),()=>{window.removeEventListener("guest_name_updated",c),window.removeEventListener("storage",c)}},[]);const f=()=>{i(s==="dark"?"light":s==="light"?"auto":"dark")};return l.jsxs("header",{className:"bg-surface border-b border-grid sticky top-0 z-40",children:[l.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 h-16 flex items-center justify-between gap-4",children:[l.jsxs("div",{className:"flex items-center space-x-3 shrink-0",children:[l.jsx("div",{onClick:()=>r("home"),style:{backgroundColor:N},className:"w-8 h-8 rounded-sm flex items-center justify-center text-white font-bold cursor-pointer shadow-sm",children:e!=null&&e.logo_url?l.jsx("img",{src:e.logo_url,alt:"Logo",className:"w-4 h-4 object-contain"}):l.jsx(Pr,{className:"w-4 h-4"})}),l.jsxs("div",{onClick:()=>r("home"),className:"cursor-pointer",children:[l.jsx("h1",{className:"font-serif text-base font-bold tracking-tight text-main leading-none",children:(e==null?void 0:e.app_name)||"Schichtplaner"}),l.jsx("div",{className:"text-[10px] font-mono text-muted mt-1 uppercase tracking-wider flex items-center gap-1.5",children:t?l.jsxs("span",{className:"text-emerald-500 font-semibold",children:["[ ",t.display_name||t.username," ]"]}):k?l.jsxs("span",{className:"text-amber-400 font-semibold flex items-center gap-1",children:["[ 👤 GAST: ",k," ]"]}):l.jsx("span",{className:"text-amber-500 font-semibold",children:"[ GAST-MODUS ]"})})]})]}),l.jsxs("nav",{className:"hidden md:flex items-center gap-2",children:[l.jsxs("button",{onClick:()=>r("home"),className:`px-3 py-1.5 rounded-sm text-xs font-mono transition flex items-center gap-1.5 border ${n==="home"?"bg-surface-hover text-main font-bold border-grid":"text-muted hover:text-main border-transparent"}`,children:[l.jsx(tu,{className:"w-3.5 h-3.5"})," Startseite"]}),l.jsxs("button",{onClick:()=>r("calendar"),className:`px-3 py-1.5 rounded-sm text-xs font-mono transition flex items-center gap-1.5 border ${n==="calendar"?"bg-surface-hover text-main font-bold border-grid":"text-muted hover:text-main border-transparent"}`,children:[l.jsx(eu,{className:"w-3.5 h-3.5"})," Kalender"]}),((t==null?void 0:t.is_admin_user)||(t==null?void 0:t.is_staff)||(t==null?void 0:t.is_superuser))&&l.jsxs("button",{onClick:()=>r("admin"),className:`px-3 py-1.5 rounded-sm text-xs font-mono transition flex items-center gap-1.5 border ${n==="admin"?"bg-surface-hover text-main font-bold border-grid":"text-muted hover:text-main border-transparent"}`,children:[l.jsx(ru,{className:"w-3.5 h-3.5 text-indigo-400"})," Admin"]})]}),l.jsxs("div",{className:"flex items-center space-x-2",children:[l.jsx("button",{onClick:f,className:"h-8 px-2.5 rounded-sm text-xs font-mono bg-subtle hover:bg-surface-hover text-main border border-grid transition flex items-center gap-1.5",title:`Design-Modus: ${s.toUpperCase()}`,children:s==="dark"?l.jsxs(l.Fragment,{children:[l.jsx(Cp,{className:"w-3.5 h-3.5 text-indigo-400"}),l.jsx("span",{className:"hidden lg:inline text-[11px] font-bold",children:"DARK"})]}):s==="light"?l.jsxs(l.Fragment,{children:[l.jsx(Ap,{className:"w-3.5 h-3.5 text-amber-500"}),l.jsx("span",{className:"hidden lg:inline text-[11px] font-bold",children:"LIGHT"})]}):l.jsxs(l.Fragment,{children:[l.jsx(Ep,{className:"w-3.5 h-3.5 text-blue-500"}),l.jsx("span",{className:"hidden lg:inline text-[11px] font-bold",children:"AUTO"})]})}),x&&l.jsxs("button",{onClick:S,className:"h-8 px-2.5 rounded-sm text-xs font-mono bg-emerald-500/10 text-emerald-500 border border-emerald-500/20 hover:bg-emerald-500/20 transition flex items-center gap-1",children:[l.jsx(bd,{className:"w-3 h-3"})," PWA"]}),t?l.jsxs(l.Fragment,{children:[l.jsxs("button",{onClick:u,style:{backgroundColor:N},className:"h-8 px-3 rounded-sm text-xs font-mono font-bold text-white transition flex items-center gap-1 shadow-sm hover:brightness-110",children:[l.jsx(at,{className:"w-3.5 h-3.5"})," Event"]}),l.jsxs("button",{onClick:m,className:"h-8 px-2.5 rounded-sm text-xs font-mono bg-subtle hover:bg-surface-hover text-main border border-grid transition hidden sm:flex items-center gap-1",title:"Vorlagen",children:[l.jsx(Js,{className:"w-3.5 h-3.5 text-muted"})," Vorlagen"]}),l.jsxs("button",{onClick:h,className:"h-8 px-2.5 rounded-sm text-xs font-mono bg-subtle hover:bg-surface-hover text-main border border-grid transition flex items-center gap-1",title:"Profil & NamLine truncated
|
|
||||||
Offene Angebote, DIY-Kultur & engagierte Schichten.`})]}),O&&l.jsxs("div",{className:"hallmark-panel rounded-sm p-4 border border-grid space-y-3",children:[l.jsx("h4",{className:"font-serif text-sm font-bold uppercase tracking-wide text-main border-b border-grid pb-2",children:(a==null?void 0:a.support_box_title)||"❤️ Unterstützen"}),l.jsx("p",{className:"text-[11px] text-muted whitespace-pre-line",children:(a==null?void 0:a.support_box_text)||"Hilf mit als Helfer*in an der Bar, beim Essen kochen oder beim Auf- & Abbau."})]})]})]})]})}function Up({events:e,onSelectEvent:t,branding:n}){const[r,s]=w.useState(new Date),[i,o]=w.useState(null),a=r.getFullYear(),u=r.getMonth(),m=["JANUAR","FEBRUAR","MÄRZ","APRIL","MAI","JUNI","JULI","AUGUST","SEPTEMBER","OKTOBER","NOVEMBER","DEZEMBER"],h=()=>s(new Date(a,u-1,1)),v=()=>s(new Date(a,u+1,1)),x=()=>s(new Date),S=new Date(a,u,1).getDay(),N=S===0?6:S-1,k=new Date(a,u+1,0).getDate(),O=d=>{const y=String(u+1).padStart(2,"0"),j=String(d).padStart(2,"0");return`${a}-${y}-${j}`},f=d=>{const y=O(d);return e.filter(j=>y>=j.start_date&&y<=j.end_date)},c=(n==null?void 0:n.primary_color)||"var(--brand-primary)";return l.jsxs("div",{className:"space-y-6 max-w-5xl mx-auto animate-in fade-in duration-200",children:[l.jsxs("div",{className:"hallmark-panel rounded-sm p-6 sm:p-8 border border-grid flex flex-col sm:flex-row sm:items-center justify-between gap-4 font-mono",children:[l.jsxs("div",{className:"flex items-center gap-3",children:[l.jsx("div",{className:"w-10 h-10 rounded-sm bg-subtle text-main border border-grid flex items-center justify-center font-bold",children:l.jsx(Pr,{className:"w-4 h-4 text-amber-500"})}),l.jsxs("div",{children:[l.jsxs("h2",{className:"font-serif text-3xl sm:text-4xl font-bold uppercase tracking-tight text-main leading-none",children:[m[u]," ",a]}),l.jsx("p",{className:"text-[10px] text-muted uppercase tracking-widest mt-1",children:"— INITIATIVE E.V. TERMIN- & SCHICHTÜBERSICHT —"})]})]}),l.jsxs("div",{className:"flex items-center gap-2",children:[l.jsx("button",{onClick:x,className:"px-3.5 py-1.5 rounded-sm text-xs font-mono font-bold bg-surface hover:bg-surface-hover text-main border border-grid transition",children:"[ HEUTE ]"}),l.jsx("button",{onClick:h,className:"p-1.5 rounded-sm text-muted hover:text-main bg-surface border border-grid transition",title:"Vorheriger Monat",children:l.jsx(Np,{className:"w-4 h-4"})}),l.jsx("button",{onClick:v,className:"p-1.5 rounded-sm text-muted hover:text-main bg-surface border border-grid transition",title:"Nächster Monat",children:l.jsx(kp,{className:"w-4 h-4"})})]})]}),l.jsxs("div",{className:"hallmark-panel rounded-sm border border-grid overflow-hidden",children:[l.jsxs("div",{className:"grid grid-cols-7 bg-subtle border-b border-grid text-center text-xs font-mono text-muted font-bold py-3 uppercase",children:[l.jsx("div",{children:"MO"}),l.jsx("div",{children:"DI"}),l.jsx("div",{children:"MI"}),l.jsx("div",{children:"DO"}),l.jsx("div",{children:"FR"}),l.jsx("div",{children:"SA"}),l.jsx("div",{children:"SO"})]}),l.jsxs("div",{className:"grid grid-cols-7 auto-rows-fr divide-x divide-y divide-grid bg-surface text-xs font-mono",children:[Array.from({length:N}).map((d,y)=>l.jsx("div",{className:"min-h-[100px] sm:min-h-[110px] p-2 bg-subtle/50 text-muted opacity-30"},`offset-${y}`)),Array.from({length:k}).map((d,y)=>{const j=y+1,b=f(j),T=new Date().getFullYear()===a&&new Date().getMonth()===u&&new Date().getDate()===j;return l.jsxs("div",{className:`min-h-[100px] sm:min-h-[110px] p-2 flex flex-col justify-between transition ${T?"bg-surface-hover/80 font-bold":"hover:bg-surface-hover/50"}`,children:[l.jsxs("div",{className:"flex items-center justify-between mb-1",children:[l.jsx("span",{className:`w-5 h-5 rounded-sm flex items-center justify-center font-mono text-xs ${T?"bg-main text-paper font-bold shadow-sm":"text-muted"}`,children:j}),b.length>0&&l.jsxs("span",{className:"text-[9px] font-mono text-muted",children:[b.length," ",b.length===1?"Event":"Events"]})]}),l.jsx("div",{className:"space-y-1.5 overflow-y-auto max-h-[70px] no-scrollbar",children:b.map(P=>{const B=(i==null?void 0:i.id)===P.id;return l.jsx("button",{onClick:()=>o(P),style:{backgroundColor:B?c:`${c}15`,borderColor:`${c}40`,color:B?"#ffffff":c},className:`w-full text-left px-2 py-1 rounded-sm text-[10px] font-mono font-bold border truncate block hover:brightness-110 transition shadow-sm ${P.is_active===!1?"opacity-50 line-through":""}`,children:P.title},`evt-${P.id}`)})})]},`day-${j}`)})]})]}),i&&l.jsxs("div",{className:"hallmark-panel rounded-sm p-6 border border-grid flex flex-col sm:flex-row sm:items-center justify-between gap-4 font-mono animate-in fade-in duration-200",children:[l.jsxs("div",{className:"space-y-2",children:[l.jsxs("div",{className:"flex flex-wrap items-center gap-2 text-xs text-muted",children:[l.jsxs("span",{className:"flex items-center gap-1 bg-subtle px-2 py-0.5 rounded-sm border border-grid font-bold text-ma
Line truncated
|
|
||||||
Offene Angebote, DIY-Kultur & engagierte Schichten.`),[Ht,tl]=w.useState((e==null?void 0:e.show_support_box)??!0),[Dr,C]=w.useState((e==null?void 0:e.support_box_title)||"❤️ Unterstützen"),[R,J]=w.useState((e==null?void 0:e.support_box_text)||"Hilf mit als Helfer*in an der Bar, beim Essen kochen oder beim Auf- & Abbau."),[nt,K]=w.useState(!1),[wt,bo]=w.useState(!1),[_o,Eo]=w.useState("smtp.beispiel.de"),[Co,To]=w.useState(587),[Po,Lo]=w.useState(""),[zo,Mo]=w.useState(""),[Ao,nl]=w.useState(!0),[Do,rl]=w.useState(!1),[Ro,Oo]=w.useState("noreply@schichtplaner.de"),[Io,Cd]=w.useState(""),[sl,Td]=w.useState(!1),[$o,Vo]=w.useState(!1),[Fo,Bo]=w.useState(!1);w.useEffect(()=>{Uo()},[]);const Uo=async()=>{u(!0);try{try{const p=await V("/users/manage-users/");N(p.results||p)}catch{}try{const p=await V("/users/pending/");c(p.results||p)}catch{}try{const p=await V("/users/restriction-setting/");y(p.is_restriction_enabled),b(p.require_admin_approval),P(p.require_email_verification??!0)}catch{}try{const p=await V("/users/domain-rules/");M(p.results||p)}catch{}try{const p=await V("/events/");ge(p.results||p)}catch{}try{const p=await V("/templates/");ye(p.results||p)}catch{}try{const p=await V("/users/smtp-setting/");p&&(bo(p.is_active??!1),Eo(p.host||""),To(p.port||587),Lo(p.username||""),Mo(p.password||""),nl(p.use_tls??!0),rl(p.use_ssl??!1),Oo(p.from_email||""))}catch{}}catch(p){h(p.message||"Laden der Admin-Daten fehlgeschlagen.")}finally{u(!1)}},Te=p=>{x(p),setTimeout(()=>x(""),4e3)},Pd=async p=>{try{const F=await V(`/users/manage-users/${p.id}/`,{method:"PATCH",body:JSON.stringify({is_admin_user:!p.is_admin_user})});N(S.map(Nt=>Nt.id===p.id?F:Nt)),Te(`Admin-Rechte für ${p.username} aktualisiert.`)}catch(F){h(F.message||"Fehler beim Aktualisieren.")}},Ld=async p=>{try{const F=await V(`/users/manage-users/${p.id}/`,{method:"PATCH",body:JSON.stringify({is_approved:!p.is_approved})});N(S.map(Nt=>Nt.id===p.id?F:Nt)),Te(`Freischalt-Status für ${p.username} aktualisiert.`)}catch(F){h(F.message||"Fehler beim Aktualisieren.")}},zd=async p=>{if(window.confirm(`Möchtest du das Benutzerkonto "${p.display_name||p.username}" (@${p.username}) wirklich dauerhaft löschen?`))try{await V(`/users/manage-users/${p.id}/`,{method:"DELETE"}),N(S.filter(F=>F.id!==p.id)),Te(`Benutzerkonto ${p.username} wurde gelöscht.`)}catch(F){h(F.message||"Fehler beim Löschen des Benutzers.")}},Md=async p=>{try{await V(`/users/${p}/approve/`,{method:"POST"}),c(f.filter(F=>F.id!==p)),Uo(),Te("Benutzer erfolgreich freigeschaltet.")}catch(F){h(F.message||"Freischalten fehlgeschlagen.")}},Ad=async p=>{try{await V(`/users/${p}/approve/`,{method:"DELETE"}),c(f.filter(F=>F.id!==p)),Te("Benutzer abgelehnt und gelöscht.")}catch(F){h(F.message||"Ablehnen fehlgeschlagen.")}},ll=async(p,F)=>{try{const il=await V("/users/restriction-setting/",{method:"POST",body:JSON.stringify({is_restriction_enabled:p==="restriction"?F:d,require_admin_approval:p==="approval"?F:j,require_email_verification:p==="email_verify"?F:T})});y(il.is_restriction_enabled),b(il.require_admin_approval),P(il.require_email_verification),Te("Sicherheitseinstellungen aktualisiert.")}catch(Nt){h(Nt.message||"Aktualisierung fehlgeschlagen.")}},Dd=async p=>{if(p.preventDefault(),!!q.trim())try{const F=await V("/users/domain-rules/",{method:"POST",body:JSON.stringify({domain:q})});M([...B,F]),G(""),Te(`Domain-Regel "${F.domain}" hinzugefügt.`)}catch(F){h(F.message||"Fehler beim Hinzufügen.")}},Rd=async p=>{try{await V(`/users/domain-rules/${p}/`,{method:"DELETE"}),M(B.filter(F=>F.id!==p)),Te("Domain-Regel entfernt.")}catch(F){h(F.message||"Fehler beim Löschen.")}},Od=async p=>{if(p.preventDefault(),!!Ce.trim())try{await V("/skills/",{method:"POST",body:JSON.stringify({name:Ce,description:I,color:E})}),L(""),g(""),z(iu()),s(),Te("Qualifikation angelegt.")}catch(F){h(F.message||"Fehler beim Anlegen.")}},Id=async p=>{try{await V(`/skills/${p}/`,{method:"DELETE"}),s(),Te("Qualifikation gelöscht.")}catch(F){h(F.message||"Fehler beim Löschen.")}},$d=async p=>{try{await V(`/templates/${p}/`,{method:"DELETE"}),ye(Se.filter(F=>F.id!==p)),Te("Vorlage gelöscht.")}catch(F){h(F.message||"Fehler beim Löschen.")}},Vd=async p=>{p.preventDefault(),K(!0);try{await V("/branding/",{method:"POST",body:JSON.stringify({app_name:$,logo_url:H,primary_color:tt,custom_banner_text:zr,show_community_info_box:Bt,community_info_title:Mr,community_info_text:Ar,show_support_box:Ht,support_box_title:Dr,support_box_text:R})}),t(),Te("Branding-Einstellungen erfolgreich gespeichert!")}catch(F){h(F.message||"Speichern des Brandings fehlgeschlagen.")}finally{K(!1)}},Fd=async p=>{p.preventDefault(),Vo(!0);try{await V("/users/smtp-setting/",{method:"POST",body:JSON.stringify({is_active:wt,host:_o,port:parseInt(Co)||587,username:Po,password:zo,use_tls:Ao,use_ssl:Do,from_email:Ro})}),Te("✅ SMTP-Einstellungen erfolgreich gespeichert!")}catch(F){h(F.message||"Speichern der SMTP-Einstellungen fehlgeschlagen.")}finally{Vo(!1)}},
Line truncated
|
|
||||||
-1
@@ -1 +0,0 @@
|
|||||||
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-6{bottom:1.5rem}.left-3{left:.75rem}.left-3\.5{left:.875rem}.right-3{right:.75rem}.riLine truncated
|
|
||||||
+1268
File diff suppressed because it is too large.
Load diff
+1
@@ -0,0 +1 @@
|
|||||||
|
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-6{bottom:1.5rem}.left-3{left:.75rem}.left-3\.5{left:.875rem}.right-3{right:.75rem}.riLine truncated
|
||||||
Vendored
+2
-3
@@ -10,10 +10,9 @@
|
|||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
||||||
<script src="https://cdn.jsdelivr.net/gh/arooshbd2024/aCAPTCHA@main/api/captcha-v1.1.js" defer></script>
|
|
||||||
<title>Schichtplaner — Veranstaltungsschichtpläne</title>
|
<title>Schichtplaner — Veranstaltungsschichtpläne</title>
|
||||||
<script type="module" crossorigin src="/assets/index-BocP3KKS.js"></script>
|
<script type="module" crossorigin src="/assets/index-CeGSMgG7.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-CR8RYpZS.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-DXNVMwNg.css">
|
||||||
</head>
|
</head>
|
||||||
<body class="bg-paper text-main font-sans antialiased min-h-screen">
|
<body class="bg-paper text-main font-sans antialiased min-h-screen">
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
||||||
<script src="https://cdn.jsdelivr.net/gh/arooshbd2024/aCAPTCHA@main/api/captcha-v1.1.js" defer></script>
|
|
||||||
<title>Schichtplaner — Veranstaltungsschichtpläne</title>
|
<title>Schichtplaner — Veranstaltungsschichtpläne</title>
|
||||||
</head>
|
</head>
|
||||||
<body class="bg-paper text-main font-sans antialiased min-h-screen">
|
<body class="bg-paper text-main font-sans antialiased min-h-screen">
|
||||||
|
|||||||
+30
@@ -526,6 +526,15 @@
|
|||||||
"vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"
|
"vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/altcha": {
|
||||||
|
"version": "3.2.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/altcha/-/altcha-3.2.1.tgz",
|
||||||
|
"integrity": "sha512-MXsnNmgg3BGJja0DXbflv9Bp29uyGv6wUImaaT1yLxCKOj+x9QBMpi/Vdh6XbP4Uf0PykaeQwl8ivJAvIhoo0A==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"hash-wasm": "^4.12.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/any-promise": {
|
"node_modules/any-promise": {
|
||||||
"version": "1.3.0",
|
"version": "1.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
|
||||||
@@ -935,6 +944,21 @@
|
|||||||
"url": "https://github.com/sponsors/rawify"
|
"url": "https://github.com/sponsors/rawify"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/fsevents": {
|
||||||
|
"version": "2.3.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
|
||||||
|
"integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
|
||||||
|
"dev": true,
|
||||||
|
"hasInstallScript": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"darwin"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/function-bind": {
|
"node_modules/function-bind": {
|
||||||
"version": "1.1.2",
|
"version": "1.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
||||||
@@ -968,6 +992,12 @@
|
|||||||
"node": ">=10.13.0"
|
"node": ">=10.13.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/hash-wasm": {
|
||||||
|
"version": "4.12.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/hash-wasm/-/hash-wasm-4.12.0.tgz",
|
||||||
|
"integrity": "sha512-+/2B2rYLb48I/evdOIhP+K/DD2ca2fgBjp6O+GBEnCDk2e4rpeXIK8GvIyRPjTezgmWn9gmKwkQjjx6BtqDHVQ==",
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/hasown": {
|
"node_modules/hasown": {
|
||||||
"version": "2.0.4",
|
"version": "2.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz",
|
||||||
|
|||||||
+21
@@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2023-2026 Daniel Regeci, BAU Software s.r.o.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
+487
@@ -0,0 +1,487 @@
|
|||||||
|
# ALTCHA
|
||||||
|
|
||||||
|
ALTCHA is a self-hosted, privacy-first security solution that protects your websites, APIs, and online services from spam and abuse through an innovative proof-of-work mechanism. Unlike traditional CAPTCHAs that depend on intrusive methods like cookies or fingerprinting, ALTCHA delivers robust protection while respecting user privacy.
|
||||||
|
|
||||||
|
ALTCHA is fully compliant with:
|
||||||
|
|
||||||
|
- **Global privacy regulations**: GDPR, HIPAA, CCPA, PIPEDA/CPPA, LGPD, DPDPA, and PIPL
|
||||||
|
- **Accessibility standards**: [WCAG 2.2 AA-level](https://altcha.org/docs/v2/compliance/wcag/) and the [European Accessibility Act](https://altcha.org/docs/v2/compliance/european-accessibility-act-2025/)
|
||||||
|
|
||||||
|
For more details, visit [altcha.org](https://altcha.org).
|
||||||
|
|
||||||
|
## Playground
|
||||||
|
|
||||||
|
Want to see it in action? Visit the official ALTCHA Playground to experiment with widget configurations, fine-tune the Proof-of-Work (PoW) settings, and see how the security mechanisms hold up in real-time.
|
||||||
|
|
||||||
|
[Open ALTCHA Playground](https://playground.altcha.org)
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- **Frictionless Experience**: Eliminates frustrating visual puzzles by using background **Proof-of-Work (PoW)** for a seamless user journey.
|
||||||
|
- **Hardware-Resistant Security**: Leverages **Argon2 and Scrypt** memory-bound algorithms to neutralize hardware acceleration (ASICs/GPUs) and sophisticated bot farms.
|
||||||
|
- **Accessible Code Challenges**: Provides "Enter code from image" fallbacks with built-in **audio support** for visually impaired users.
|
||||||
|
- **Privacy by Design**: Fully **GDPR compliant** and cookie-free—no tracking, no fingerprinting, and no data collection.
|
||||||
|
- **Universal Accessibility**: Engineered to exceed **WCAG 2.2 AA** standards, ensuring compliance with the **European Accessibility Act (EAA)**.
|
||||||
|
- **Lightweight**: Minimal footprint, optimized for rapid page loads and high-performance environments.
|
||||||
|
- **100% Self-Hosted**: Maintain full sovereignty over your infrastructure with no reliance on third-party API availability.
|
||||||
|
|
||||||
|
## What’s New in v3
|
||||||
|
|
||||||
|
- **Next-Gen PoW**: Significant performance gains and reduced CPU overhead through an optimized verification mechanism.
|
||||||
|
- **Advanced Bot Defense**: Native support for **Argon2 and Scrypt**, raising the cost of attack for automated scripts and specialized hardware.
|
||||||
|
- **Modern UI**: Refined styling options, including a suite of new built-in themes and improved CSS custom property support.
|
||||||
|
- **Developer Experience**: Improved TypeScript support and streamlined integration.
|
||||||
|
|
||||||
|
### Migrating from v2
|
||||||
|
|
||||||
|
See [MIGRATION-v2.md](https://github.com/altcha-org/altcha/blob/v3/MIGRATION-v2.md).
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
Explore starter templates for popular frameworks:
|
||||||
|
|
||||||
|
- [React](https://github.com/altcha-org/altcha-starter-react-ts)
|
||||||
|
- [Vue](https://github.com/altcha-org/altcha-starter-vue-ts)
|
||||||
|
- [Svelte](https://github.com/altcha-org/altcha-starter-svelte-ts)
|
||||||
|
- [Solid](https://github.com/altcha-org/altcha-starter-solid-ts)
|
||||||
|
- [Lit](https://github.com/altcha-org/altcha-starter-lit-ts)
|
||||||
|
- [Angular](https://github.com/altcha-org/altcha-starter-angular)
|
||||||
|
|
||||||
|
## Server Integrations
|
||||||
|
|
||||||
|
- [TypeScript](https://github.com/altcha-org/altcha-lib)
|
||||||
|
- [Dart](https://github.com/altcha-org/altcha-lib-dart)
|
||||||
|
- [PHP](https://github.com/altcha-org/altcha-lib-php)
|
||||||
|
- [Go](https://github.com/altcha-org/altcha-lib-go)
|
||||||
|
- [Python](https://github.com/altcha-org/altcha-lib-py)
|
||||||
|
- [Java](https://github.com/altcha-org/altcha-lib-java)
|
||||||
|
- [Ruby](https://github.com/altcha-org/altcha-lib-rb)
|
||||||
|
- [Elixir](https://github.com/altcha-org/altcha-lib-ex)
|
||||||
|
- [Rust](https://github.com/altcha-org/altcha-lib-rs)
|
||||||
|
- [C++](https://github.com/altcha-org/altcha-lib-cpp)
|
||||||
|
|
||||||
|
## Plugins & CMS
|
||||||
|
|
||||||
|
- [Libraries and plugins](https://altcha.org/docs/v2/libraries/)
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
The ALTCHA widget is distributed as a **Web Component**.
|
||||||
|
|
||||||
|
### 1. Install ALTCHA
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm install altcha
|
||||||
|
```
|
||||||
|
|
||||||
|
Import in your main file:
|
||||||
|
|
||||||
|
```js
|
||||||
|
import 'altcha';
|
||||||
|
```
|
||||||
|
|
||||||
|
Or load via `<script>` tag:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<script async defer src="/altcha.js" type="module"></script>
|
||||||
|
```
|
||||||
|
|
||||||
|
### 2. Add `<altcha-widget>` to Your Forms
|
||||||
|
|
||||||
|
```html
|
||||||
|
<form>
|
||||||
|
<altcha-widget challenge="https://..."></altcha-widget>
|
||||||
|
</form>
|
||||||
|
```
|
||||||
|
|
||||||
|
See [configuration options](#configuration) or the [website integration docs](https://altcha.org/docs/v2/widget-integration).
|
||||||
|
|
||||||
|
### 3. Integrate with Your Server
|
||||||
|
|
||||||
|
Refer to the [server documentation](https://altcha.org/docs/v2/server-integration) for implementation details.
|
||||||
|
|
||||||
|
## Supported Browsers
|
||||||
|
|
||||||
|
ALTCHA works on modern browsers with **Web Crypto API** support (specifically `crypto.subtle` - [caniuse.com](https://caniuse.com/?search=subtle)).
|
||||||
|
|
||||||
|
**Supported**:
|
||||||
|
|
||||||
|
- Chrome 67+ (desktop & Android)
|
||||||
|
- Edge 79+
|
||||||
|
- Firefox 63+ (desktop & Android)
|
||||||
|
- Safari 11+ (macOS & iOS)
|
||||||
|
- Any browser supporting Web Components + Web Crypto
|
||||||
|
|
||||||
|
**Not Supported**:
|
||||||
|
|
||||||
|
- Internet Explorer 11 (or older)
|
||||||
|
|
||||||
|
## Bundle Size
|
||||||
|
|
||||||
|
ALTCHA is optimized for performance:
|
||||||
|
|
||||||
|
| Distribution | Size (GZIPped) |
|
||||||
|
| ---------------------------- | -------------- |
|
||||||
|
| ALTCHA | 34 kB |
|
||||||
|
| ALTCHA with all translations | 52 kB |
|
||||||
|
| Cloudflare Turnstile | 85+ kB |
|
||||||
|
| hCaptcha | 250+ kB |
|
||||||
|
| reCAPTCHA | 300+ kB |
|
||||||
|
|
||||||
|
When GZIPped, it totals about 34 kB, making ALTCHA’s widget about ~90% smaller than reCAPTCHA.
|
||||||
|
|
||||||
|
## Content Security Policy (CSP)
|
||||||
|
|
||||||
|
The default bundle includes styles and workers in a single file. For strict CSP compliance, use scripts from `/dist/external`. Learn more in the [documentation](https://altcha.org/docs/v2/widget-integration).
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
### Programmatic Configuration
|
||||||
|
|
||||||
|
The widget provides a global `$altcha` object to manage defaults, register new algorithms, or add custom translations.
|
||||||
|
|
||||||
|
To update an existing widget instance, use the `.configure()` [method](). This is the preferred way to handle complex objects or functions that cannot be passed via HTML attributes.
|
||||||
|
|
||||||
|
```ts
|
||||||
|
// Set defaults for all future widget instances:
|
||||||
|
$altcha.defaults.set({
|
||||||
|
challenge: 'https://api.example.com/challenge',
|
||||||
|
debug: true
|
||||||
|
});
|
||||||
|
|
||||||
|
// Update a specific instance dynamically:
|
||||||
|
const widget = document.querySelector('altcha-widget');
|
||||||
|
widget.configure({
|
||||||
|
workers: 2,
|
||||||
|
language: 'fr'
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
### Attribute Configuration
|
||||||
|
|
||||||
|
For simple implementations, the widget supports a subset of configuration options directly as HTML attributes. For more advanced properties, use the programmatic approach above.
|
||||||
|
|
||||||
|
**Supported Attributes:**
|
||||||
|
|
||||||
|
```html
|
||||||
|
<altcha-widget
|
||||||
|
auto="off"
|
||||||
|
challenge="https://api.example.com/challenge"
|
||||||
|
configuration='{"minDuration": 1000}'
|
||||||
|
display="standard"
|
||||||
|
language="en"
|
||||||
|
name="altcha"
|
||||||
|
theme="default"
|
||||||
|
type="checkbox"
|
||||||
|
workers="4"
|
||||||
|
></altcha-widget>
|
||||||
|
```
|
||||||
|
|
||||||
|
> [!TIP]
|
||||||
|
> The `configuration` attribute accepts a JSON-encoded string, allowing you to pass complex settings directly in your HTML markup.
|
||||||
|
|
||||||
|
### Core Settings
|
||||||
|
|
||||||
|
- **`name`**: The `name` attribute of the hidden input field containing the payload. (Default: `"altcha"`)
|
||||||
|
- **`challenge`**: The challenge data or the URL to fetch a new challenge from.
|
||||||
|
- **`type`**: Visual style of the interaction element (`'native'`, `'checkbox'`, or `'switch'`).
|
||||||
|
- **`language`**: The ISO alpha-2 language code for localization (requires corresponding i18n file).
|
||||||
|
- **`workers`**: The number of Web Workers to spawn for proof-of-work calculations.
|
||||||
|
|
||||||
|
### Automation & Timing
|
||||||
|
|
||||||
|
- **`auto`**: Determines when verification triggers automatically (`'off'`, `'onfocus'`, `'onload'`, or `'onsubmit'`).
|
||||||
|
- **`minDuration`**: The minimum verification time in milliseconds; adds an artificial delay if the PoW is faster. (Default: `500`)
|
||||||
|
- **`retryOnOutOfMemoryError`**: Automatically attempts to restart verification with fewer workers if the browser runs out of memory (Argon2 and Scrypt only).
|
||||||
|
|
||||||
|
### UI & Display
|
||||||
|
|
||||||
|
- **`display`**: The visual layout mode (`'standard'`, `'bar'`, `'floating'`, `'overlay'`, or `'invisible'`).
|
||||||
|
- **`barPlacement`**: Vertical position of the widget when `display` is set to `bar` (`'bottom'` or `'top'`).
|
||||||
|
- **`hideLogo`**: Hides the ALTCHA logo icon.
|
||||||
|
- **`hideFooter`**: Hides the "ALTCHA" attribution link.
|
||||||
|
- **`validationMessage`**: Custom validation message for the HTML5 `setCustomValidity` API.
|
||||||
|
|
||||||
|
### Floating Widget Settings
|
||||||
|
|
||||||
|
- **`floatingAnchor`**: The element or CSS selector the floating UI attaches to. Defaults to the first submit button.
|
||||||
|
- **`floatingPlacement`**: Preferred position relative to the anchor (`'auto'`, `'bottom'`, or `'top'`).
|
||||||
|
- **`floatingOffset`**: Vertical offset in pixels between the UI and its anchor. (Default: `12`)
|
||||||
|
- **`floatingPersist`**: Whether the floating widget remains visible after successful verification.
|
||||||
|
- **`popoverPlacement`**: Preferred position of popovers relative to the widget (`'auto'`, `'bottom'`, or `'top'`).
|
||||||
|
|
||||||
|
### Modal & Challenge Settings
|
||||||
|
|
||||||
|
- **`codeChallengeDisplay`**: UI layout for the code-challenge modal (`'standard'`, `'overlay'`, or `'bottomsheet'`).
|
||||||
|
- **`overlayContent`**: CSS selector for an element to be mirrored inside the overlay modal.
|
||||||
|
- **`audioChallengeLanguage`**: Forces a specific language for audio-based challenges.
|
||||||
|
- **`disableAutoFocus`**: Prevents the code-challenge modal from stealing focus when opened.
|
||||||
|
|
||||||
|
### Advanced & Debugging
|
||||||
|
|
||||||
|
- **`debug`**: Enables verbose logging in the browser console.
|
||||||
|
- **`test`**: Mocks a successful verification for testing environments.
|
||||||
|
- **`mockError`**: Forces the widget into a failed state for UI testing.
|
||||||
|
- **`fetch`**: A custom `fetch` implementation for network requests.
|
||||||
|
- **`humanInteractionSignature`**: Whether the collector for HIS is enabled (Default: `true`).
|
||||||
|
- **`setCookie`**: When configured, sends the payload as a cookie.
|
||||||
|
- **`timeout`**: Verification timeout in milliseconds (Default: `90_000`).
|
||||||
|
- **`verifyFunction`**: A custom verification handler that overrides default network verification.
|
||||||
|
|
||||||
|
## Algorithms
|
||||||
|
|
||||||
|
ALTCHA supports multiple proof-of-work algorithms. `PBKDF2/*` and `SHA-*` are bundled with the main widget by default. `Argon2` and `Scrypt` are memory-bound algorithms that resist hardware acceleration (ASICs/GPUs) but require importing their workers separately.
|
||||||
|
|
||||||
|
**Supported algorithms:**
|
||||||
|
|
||||||
|
- `PBKDF2/SHA-256` (default, bundled)
|
||||||
|
- `PBKDF2/SHA-384` (bundled)
|
||||||
|
- `PBKDF2/SHA-512` (bundled)
|
||||||
|
- `SHA-256` (bundled)
|
||||||
|
- `SHA-384` (bundled)
|
||||||
|
- `SHA-512` (bundled)
|
||||||
|
- `ARGON2ID` (requires separate worker import)
|
||||||
|
- `SCRYPT` (requires separate worker import)
|
||||||
|
|
||||||
|
If you use `Argon2` or `Scrypt`, import their workers and register them via the `$altcha.algorithms` global before the widget initializes.
|
||||||
|
|
||||||
|
### Adding Argon2 / Scrypt Workers (Vite)
|
||||||
|
|
||||||
|
Works with both `altcha` and `altcha/external`:
|
||||||
|
|
||||||
|
```ts
|
||||||
|
import 'altcha'; // or 'altcha/external'
|
||||||
|
import Argon2idWorker from 'altcha/workers/argon2id?worker';
|
||||||
|
import ScryptWorker from 'altcha/workers/scrypt?worker';
|
||||||
|
|
||||||
|
$altcha.algorithms.set('ARGON2ID', () => new Argon2idWorker());
|
||||||
|
$altcha.algorithms.set('SCRYPT', () => new ScryptWorker());
|
||||||
|
```
|
||||||
|
|
||||||
|
### Without Bundler Worker Import Support
|
||||||
|
|
||||||
|
If your environment does not support `?worker` imports, load the prebuilt worker files directly:
|
||||||
|
|
||||||
|
```ts
|
||||||
|
import 'altcha';
|
||||||
|
|
||||||
|
$altcha.algorithms.set(
|
||||||
|
'ARGON2ID',
|
||||||
|
() => new Worker('/path/to/node_modules/altcha/dist/workers/argon2id.js')
|
||||||
|
);
|
||||||
|
$altcha.algorithms.set(
|
||||||
|
'SCRYPT',
|
||||||
|
() => new Worker('/path/to/node_modules/altcha/dist/workers/scrypt.js')
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
### Using `altcha/external`
|
||||||
|
|
||||||
|
`altcha/external` excludes all bundled workers, requiring you to register every algorithm explicitly. Use this for full control over which workers are loaded:
|
||||||
|
|
||||||
|
```ts
|
||||||
|
import 'altcha/external';
|
||||||
|
import Argon2idWorker from 'altcha/workers/argon2id?worker';
|
||||||
|
import Pbkdf2Worker from 'altcha/workers/pbkdf2?worker';
|
||||||
|
import ScryptWorker from 'altcha/workers/scrypt?worker';
|
||||||
|
import ShaWorker from 'altcha/workers/sha?worker';
|
||||||
|
|
||||||
|
$altcha.algorithms.set('PBKDF2/SHA-256', () => new Pbkdf2Worker());
|
||||||
|
$altcha.algorithms.set('PBKDF2/SHA-384', () => new Pbkdf2Worker());
|
||||||
|
$altcha.algorithms.set('PBKDF2/SHA-512', () => new Pbkdf2Worker());
|
||||||
|
$altcha.algorithms.set('SHA-256', () => new ShaWorker());
|
||||||
|
$altcha.algorithms.set('SHA-384', () => new ShaWorker());
|
||||||
|
$altcha.algorithms.set('SHA-512', () => new ShaWorker());
|
||||||
|
$altcha.algorithms.set('ARGON2ID', () => new Argon2idWorker());
|
||||||
|
$altcha.algorithms.set('SCRYPT', () => new ScryptWorker());
|
||||||
|
```
|
||||||
|
|
||||||
|
## Cookies
|
||||||
|
|
||||||
|
By default, the widget sends the ALTCHA payload as a form field by creating a hidden input. It can also be configured to send the payload via a cookie.
|
||||||
|
|
||||||
|
To enable this behavior, use the `setCookie` configuration option:
|
||||||
|
|
||||||
|
```ts
|
||||||
|
widget.configure({
|
||||||
|
setCookie: {
|
||||||
|
name: 'altcha',
|
||||||
|
path: '/'
|
||||||
|
}
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
`setCookie` accepts the following cookie options:
|
||||||
|
|
||||||
|
```ts
|
||||||
|
interface SetCookieOptions {
|
||||||
|
domain?: string;
|
||||||
|
name?: string;
|
||||||
|
maxAge?: number;
|
||||||
|
path?: string;
|
||||||
|
sameSite?: string;
|
||||||
|
secure?: boolean;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Server Configuration
|
||||||
|
|
||||||
|
When the widget fetches a challenge from the server, the server can override widget configuration using either the `X-Altcha-Config` response header or the `configuration` property in the challenge response.
|
||||||
|
|
||||||
|
Example using the `configuration` property in the challenge JSON response to force cookie usage:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"configuration": {
|
||||||
|
"setCookie": {
|
||||||
|
"name": "altcha",
|
||||||
|
"path": "/submit"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parameters": {},
|
||||||
|
"signature": "..."
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
The `X-Altcha-Config` header must contain a JSON-encoded object with configuration options.
|
||||||
|
|
||||||
|
## Internationalization (i18n)
|
||||||
|
|
||||||
|
ALTCHA supports **50+ languages**. You can import individual language translations or a bundle that includes all of them.
|
||||||
|
|
||||||
|
### Importing Translations
|
||||||
|
|
||||||
|
To import all translations:
|
||||||
|
|
||||||
|
```js
|
||||||
|
import 'altcha/i18n/all';
|
||||||
|
```
|
||||||
|
|
||||||
|
To import specific languages only:
|
||||||
|
|
||||||
|
```js
|
||||||
|
import 'altcha/i18n/de';
|
||||||
|
import 'altcha/i18n/fr-fr';
|
||||||
|
```
|
||||||
|
|
||||||
|
Alternatively, you can import the combined bundle, which includes both the widget and all translations:
|
||||||
|
|
||||||
|
```js
|
||||||
|
import 'altcha/i18n';
|
||||||
|
```
|
||||||
|
|
||||||
|
### Language Detection
|
||||||
|
|
||||||
|
The widget automatically detects the language from:
|
||||||
|
|
||||||
|
- The `<html lang="...">` attribute
|
||||||
|
- The user's browser settings (`navigator.languages`)
|
||||||
|
|
||||||
|
To override the language manually, use the `language` attribute:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<altcha-widget language="de"></altcha-widget>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Customizing Translations
|
||||||
|
|
||||||
|
You can override default translations by updating the global `$altcha` registry (`globalThis.$altcha.i18n`):
|
||||||
|
|
||||||
|
```js
|
||||||
|
import 'altcha/i18n/de';
|
||||||
|
|
||||||
|
$altcha.i18n.set('de', {
|
||||||
|
...$altcha.i18n.get('de'),
|
||||||
|
label: 'Ich bin ein Mensch' // Custom label
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
## Code Challenges
|
||||||
|
|
||||||
|
For additional verification, ALTCHA supports **image/audio code challenges** (e.g., "Enter the code from the image"). This feature requires [ALTCHA Sentinel](https://altcha.org/docs/v2/sentinel) or a custom server implementation.
|
||||||
|
|
||||||
|
## Data Obfuscation
|
||||||
|
|
||||||
|
[Data obfuscation]() is supported via an official plugin, which must be imported alongside the widget. This is ideal for protecting sensitive information, such as email addresses, from scrapers until the challenge is solved.
|
||||||
|
|
||||||
|
To obfuscate data, run:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npx altcha-lib obfuscate [data]
|
||||||
|
```
|
||||||
|
|
||||||
|
### Programmatic Usage
|
||||||
|
|
||||||
|
The plugin exports `ObfuscationPlugin` with static methods `obfuscate` and `deobfuscate` for manual data handling:
|
||||||
|
|
||||||
|
```ts
|
||||||
|
import { ObfuscationPlugin } from 'altcha/plugins/obfuscation';
|
||||||
|
|
||||||
|
const obfuscatedData = await ObfuscationPlugin.obfuscate('mailto:hello@example.com');
|
||||||
|
```
|
||||||
|
|
||||||
|
### Widget Integration
|
||||||
|
|
||||||
|
To use the plugin with the widget, ensure `altcha/plugins/obfuscation` is imported before the main library. Use the `data-obfuscated` attribute to provide the Base64-encoded payload:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<script>
|
||||||
|
import 'altcha/plugins/obfuscation';
|
||||||
|
import 'altcha';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<altcha-widget data-obfuscated="${obfuscatedData}" display="floating"></altcha-widget>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
- `configure(options)` - Configures the widget with the given options. See Configuration options above.
|
||||||
|
- `getConfiguration()` - Returns the current configuration.
|
||||||
|
- `getState()` - Returns the current `state` of the widget.
|
||||||
|
- `show()` - Displays the widget (used in some display modes).
|
||||||
|
- `hide()` - Hides the widget (used in some display modes).
|
||||||
|
- `reset(state?, err?)` - Resets the internal `state`, optionally with an error.
|
||||||
|
- `setState(state, err?)` - Manually sets the specified `state`, optionally with an error.
|
||||||
|
- `updateUI()` - Force UI update or reposition, for example for the floating display mode.
|
||||||
|
- `verify()` - Initiates the verification process.
|
||||||
|
|
||||||
|
## Events
|
||||||
|
|
||||||
|
- **codechallenge** - Triggers when code-challenge verification is requested.
|
||||||
|
- **expired** - Triggers when the challenge expires.
|
||||||
|
- **load** - Triggers when the widget loads. The exported methods become available after this event.
|
||||||
|
- **outofmemory** - Triggers when an Out-Of-Memory error is received (Argon2 and Scrypt only).
|
||||||
|
- **serververification** -Triggers upon a server verification.
|
||||||
|
- **statechange** - Triggers whenever an internal `state` changes.
|
||||||
|
- **verified** - Triggers when the challenge is verified.
|
||||||
|
|
||||||
|
```ts
|
||||||
|
enum State {
|
||||||
|
CODE = 'code',
|
||||||
|
ERROR = 'error',
|
||||||
|
VERIFIED = 'verified',
|
||||||
|
VERIFYING = 'verifying',
|
||||||
|
UNVERIFIED = 'unverified',
|
||||||
|
EXPIRED = 'expired'
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Using events:
|
||||||
|
|
||||||
|
```js
|
||||||
|
document.querySelector('altcha-widget').addEventListener('statechange', (ev) => {
|
||||||
|
// See enum State above
|
||||||
|
console.log('state:', ev.detail.state);
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> Both programmatic configuration and event listeners have to called/attached after the ALTCHA script loads, such as within `window.addEventListener('load', ...)`.
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
See [Contributing Guide](https://github.com/altcha-org/altcha/blob/main/CONTRIBUTING.md) and please follow our [Code of Conduct](https://github.com/altcha-org/altcha/blob/main/CODE_OF_CONDUCT.md).
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
MIT
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
:root{--altcha-border-color:var(--altcha-color-neutral);--altcha-border-width:1px;--altcha-border-radius:6px;--altcha-color-base:light-dark(oklch(100% 0.00011 271.152),oklch(20.904% 0.00002 271.152));--altcha-color-base-content:light-dark(oklch(20.904% 0.00002 271.152),oklch(100% 0.00011 271.152));--altcha-color-error:oklch(51.284% 0.20527 28.678);--altcha-color-error-content:oklch(100% 0.00011 271.152);--altcha-color-neutral:light-dark(oklch(83.591% 0.0001 271.152),oklch(46.04% 0.00005 271.152));--altcha-color-neutral-content:light-dark(oklch(46.76% 0.00005 271.152),oklch(100% 0.00011 271.152));--altcha-color-primary:oklch(40.279% 0.2449 268.131);--altcha-color-primary-content:oklch(100% 0.00011 271.152);--altcha-color-success:oklch(55.748% 0.18968 142.511);--altcha-color-success-content:oklch(100% 0.00011 271.152);--altcha-checkbox-border-color:light-dark(oklch(66.494% 0.00233 15.434),oklch(51.028% 0.00006 271.152));--altcha-checkbox-border-radius:5px;--altcha-checkbox-border-width:var(--altcha-border-width);--altcha-checkbox-outline:2px solid var(--altcha-checkbox-outline-color);--altcha-checkbox-outline-color:-webkit-focus-ring-color;--altcha-checkbox-outline-offset:2px;--altcha-checkbox-size:22px;--altcha-checkbox-transition-duration:var(--altcha-transition-duration);--altcha-input-background-color:var(--altcha-color-base);--altcha-input-border-radius:3px;--altcha-input-border-width:1px;--altcha-input-color:var(--altcha-color-base-content);--altcha-max-width:320px;--altcha-padding:0.75rem;--altcha-popover-arrow-size:6px;--altcha-popover-color:var(--altcha-border-color);--altcha-shadow:drop-shadow(3px 3px 6px oklch(0% 0 0/0.2));--altcha-spinner-color:var(--altcha-color-base-content);--altcha-switch-background-color:var(--altcha-color-neutral);--altcha-switch-border-radius:calc(infinity*1px);--altcha-switch-height:var(--altcha-checkbox-size);--altcha-switch-padding:0.25rem;--altcha-switch-width:calc(var(--altcha-checkbox-size)*1.75);--altcha-switch-toggle-border-radius:100%;--altcha-switch-toggle-color:var(--altcha-color-neutral-content);--altcha-switch-toggle-size:calc(var(--altcha-switch-height) - var(--altcha-switch-padding)*2);--altcha-transition-duration:0.6s;--altcha-z-index:99999999;--altcha-z-index-popover:999999999}@supports (-moz-appearance:none){:root{--altcha-checkbox-outline-color:var(--altcha-color-primary)}}.altcha{all:revert-layer;display:none;font-family:inherit;font-size:inherit;position:relative}.altcha[data-visible]{display:block}.altcha *,.altcha-popover,.altcha-popover *{all:revert-layer;box-sizing:border-box;font-family:inherit;font-size:inherit;line-height:1.25}.altcha a,.altcha-popover a{color:currentColor;text-decoration:none}.altcha a:hover,.altcha-popover a:hover{color:currentColor}.altcha-main{align-items:start;background-color:var(--altcha-color-base);border:var(--altcha-border-width,1px) solid var(--altcha-border-color);border-radius:var(--altcha-border-radius,0);color:var(--altcha-color-base-content);display:flex;flex-direction:column;gap:.5rem;justify-content:space-between;max-width:var(--altcha-max-width,100%);padding:var(--altcha-padding)}.altcha-main>*{display:flex;width:100%}.altcha-main>:first-child{flex-grow:1}.altcha-checkbox-wrap{align-items:center;display:flex;flex-direction:row;flex-grow:1;gap:.5rem}.altcha-checkbox-wrap>*{display:flex}.altcha-logo{opacity:.7}.altcha-footer{align-items:center;display:flex;flex-grow:1;font-size:.7rem;gap:.5rem;justify-content:flex-end;opacity:.7}.altcha-footer p{margin:0;padding:0}.altcha-error{font-size:.85rem}.altcha-button{align-items:center;background:var(--altcha-color-primary);border:var(--altcha-input-border-width) solid var(--altcha-color-primary);border-radius:var(--altcha-input-border-radius);color:var(--altcha-color-primary-content);cursor:pointer;display:flex;font-size:.9rem;gap:.5rem;padding:.35rem}.altcha-button:focus{border-color:var(--altcha-color-primary);outline:var(--altcha-checkbox-outline);outline-offset:var(--altcha-checkbox-outline-offset)}.altcha-button>.altcha-spinner,.altcha-button>svg{height:20px;width:20px}.altcha-button-secondary{background:transparent;border-color:var(--altcha-color-neutral);color:var(--altcha-color-neutral-content)}.altcha-input{background:var(--altcha-input-background-color);border:var(--altcha-input-border-width) solid var(--altcha-color-neutral);border-radius:var(--altcha-input-border-radius);color:var(--altcha-input-color);flex-grow:1;font-size:1rem;min-width:0;padding:.25rem;width:auto}.altcha-input:focus{border-color:var(--altcha-color-primary);outline:var(--altcha-checkbox-outline);outline-offset:var(--altcha-checkbox-outline-offset)}.altcha-spinner{animation:altcha-rotate .6s linear infinite;border:var(--altcha-checkbox-border-width) solid var(--altcha-spinner-color);border-bottom-color:transparent;border-radius:100%;border-right-color:transparent;opacity:.7}.altcha-popover{background-color:var(--altcha-color-base);border:var(--altcha-border-width) solid var(--altcha-borderLine truncated
|
||||||
+7352
File diff suppressed because it is too large.
Load diff
+1
@@ -0,0 +1 @@
|
|||||||
|
const e=!1;var t=Array.isArray,n=Array.prototype.indexOf,r=Array.prototype.includes,i=Array.from,o=Object.keys,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyDescriptors,c=Object.prototype,u=Array.prototype,f=Object.getPrototypeOf,d=Object.isExtensible;const h=()=>{};function v(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}const p=1<<24,g=16,m=32,y=64,b=512,w=1024,_=2048,$=4096,k=8192,E=16384,S=32768,C=1<<25,x=65536,I=1<<17,O=1<<19,T=65536,A=1<<21,R=1<<23,P=Symbol("$state"),M=Symbol("legacy props"),L=Symbol(""),N=Symbol("attributes"),D=Symbol("class"),V=Symbol("style"),j=Symbol("text"),U=Symbol("form reset"),F=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},q=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml");function H(e){return e===this.v}function G(e,t){return e!=e?t==t:e!==t||null!==e&&"object"==typeof e||"function"==typeof e}function Y(e){return!G(e,this.v)}const B={},J=Symbol("uninitialized"),Z="http://www.w3.org/1999/xhtml";let W=null;function z(e){W=e}function X(e,t=!1,n){W={p:W,i:!1,c:null,e:null,s:e,x:null,r:Ft,l:null}}function K(e){var t=W,n=t.e;if(null!==n)for(var r of(t.e=null,n))gn(r);return void 0!==e&&(t.x=e),t.i=!0,W=t.p,e??{}}let Q=[];function ee(){var e=Q;Q=[],function(e){for(var t=0;t<e.length;t++)e[t]()}(e)}function te(e){if(0===Q.length&&!We){var t=Q;queueMicrotask(()=>{t===Q&&ee()})}Q.push(e)}function ne(){for(;Q.length>0;)ee()}function re(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let ie,oe=!1;function ae(e){oe=e}function se(e){if(null===e)throw re(),B;return ie=e}function le(){return se(Ee(ie))}function ce(e){if(oe){if(null!==Ee(ie))throw re(),B;ie=e}}function ue(e=1){if(oe){for(var t=e,n=ie;t--;)n=Ee(n);ie=n}}function fe(e=!0){for(var t=0,n=ie;;){if(8===n.nodeType){var r=n.data;if("]"===r){if(0===t)return n;t-=1}else("["===r||"[!"===r||"["===r[0]&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=Ee(n);e&&n.remove(),n=i}}function de(e){if(!e||8!==e.nodeType)throw re(),B;return e.data}function he(e){if("object"!=typeof e||null===e||P in e)return e;const n=f(e);if(n!==c&&n!==u)return e;var r=new Map,i=t(e),o=St(0),a=zt,l=e=>{if(zt===a)return e();var t=Vt,n=zt;Ut(null),Xt(a);var r=e();return Ut(t),Xt(n),r};return i&&r.set("length",St(e.length)),new Proxy(e,{defineProperty(e,t,n){"value"in n&&!1!==n.configurable&&!1!==n.enumerable&&!1!==n.writable||function(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}();var i=r.get(t);return void 0===i?l(()=>{var e=St(n.value);return r.set(t,e),e}):xt(i,n.value,!0),!0},deleteProperty(e,t){var n=r.get(t);if(void 0===n){if(t in e){const e=l(()=>St(J));r.set(t,e),Ot(o)}}else xt(n,J),Ot(o);return!0},get(t,n,i){if(n===P)return e;var o=r.get(n),a=n in t;if(void 0!==o||a&&!s(t,n)?.writable||(o=l(()=>St(he(a?t[n]:J))),r.set(n,o)),void 0!==o){var c=sn(o);return c===J?void 0:c}return Reflect.get(t,n,i)},getOwnPropertyDescriptor(e,t){var n=Reflect.getOwnPropertyDescriptor(e,t);if(n&&"value"in n){var i=r.get(t);i&&(n.value=sn(i))}else if(void 0===n){var o=r.get(t),a=o?.v;if(void 0!==o&&a!==J)return{enumerable:!0,configurable:!0,value:a,writable:!0}}return n},has(e,t){if(t===P)return!0;var n=r.get(t),i=void 0!==n&&n.v!==J||Reflect.has(e,t);if((void 0!==n||null!==Ft&&(!i||s(e,t)?.writable))&&(void 0===n&&(n=l(()=>St(i?he(e[t]):J)),r.set(t,n)),sn(n)===J))return!1;return i},set(e,t,n,a){var c=r.get(t),u=t in e;if(i&&"length"===t)for(var f=n;f<c.v;f+=1){var d=r.get(f+"");void 0!==d?xt(d,J):f in e&&(d=l(()=>St(J)),r.set(f+"",d))}void 0===c?u&&!s(e,t)?.writable||(xt(c=l(()=>St(void 0)),he(n)),r.set(t,c)):(u=c.v!==J,xt(c,l(()=>he(n))));var h=Reflect.getOwnPropertyDescriptor(e,t);if(h?.set&&h.set.call(a,n),!u){if(i&&"string"==typeof t){var v=r.get("length"),p=Number(t);Number.isInteger(p)&&p>=v.v&&xt(v,p+1)}Ot(o)}return!0},ownKeys(e){sn(o);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return void 0===t||t.v!==J});for(var[n,i]of r)i.v===J||n in e||t.push(n);return t},setPrototypeOf(){!function(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}()}})}function ve(e){try{if(null!==e&&"object"==typeof e&&P in e)return e[P]}catch{}return e}function pe(e,t){return Object.is(ve(e),ve(t))}var ge,me,ye,be,we;function _e(){if(void 0===ge){ge=window,me=document,ye=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;be=s(t,"firstChild").get,we=s(t,"nextSibling").get,d(e)&&(e[D]=void 0,e[N]=null,e[V]=void 0,e.__e=void 0),d(n)&&(n[j]=void 0)}}function $e(e=""){return document.createTextNode(e)}function ke(e){return be.call(e)}function Ee(e){return we.call(e)}function Se(e,t){if(!oe)return ke(e);var n=ke(ie);if(null===n)n=ie.appendChild($e());else if(t&&3!==n.nodeType){var r=$e();return n?.before(r),se(r),r}return t&&Oe(n),se(n),n}function Ce(e,t=!1){if(!oe){var n=ke(e);return n instanceof Comment&&""===n.data?Ee(n):n}if(t){iLine truncated
|
||||||
+7358
File diff suppressed because it is too large.
Load diff
+1
@@ -0,0 +1 @@
|
|||||||
|
!function(t){"function"==typeof define&&define.amd?define(t):t()}(function(){"use strict";var t=document.createElement("style");t.textContent=':root {\n --altcha-border-color: var(--altcha-color-neutral);\n --altcha-border-width: 1px;\n --altcha-border-radius: 6px;\n --altcha-color-base: light-dark(oklch(100% 0.00011 271.152), oklch(20.904% 0.00002 271.152));\n --altcha-color-base-content: light-dark(\n \toklch(20.904% 0.00002 271.152),\n \toklch(100% 0.00011 271.152)\n );\n --altcha-color-error: oklch(51.284% 0.20527 28.678);\n --altcha-color-error-content: oklch(100% 0.00011 271.152);\n --altcha-color-neutral: light-dark(oklch(83.591% 0.0001 271.152), oklch(46.04% 0.00005 271.152));\n --altcha-color-neutral-content: light-dark(\n \toklch(46.76% 0.00005 271.152),\n \toklch(100% 0.00011 271.152)\n );\n --altcha-color-primary: oklch(40.279% 0.2449 268.131);\n --altcha-color-primary-content: oklch(100% 0.00011 271.152);\n --altcha-color-success: oklch(55.748% 0.18968 142.511);\n --altcha-color-success-content: oklch(100% 0.00011 271.152);\n --altcha-checkbox-border-color: light-dark(\n \toklch(66.494% 0.00233 15.434),\n \toklch(51.028% 0.00006 271.152)\n );\n --altcha-checkbox-border-radius: 5px;\n --altcha-checkbox-border-width: var(--altcha-border-width);\n --altcha-checkbox-outline: 2px solid var(--altcha-checkbox-outline-color);\n --altcha-checkbox-outline-color: -webkit-focus-ring-color;\n --altcha-checkbox-outline-offset: 2px;\n --altcha-checkbox-size: 22px;\n --altcha-checkbox-transition-duration: var(--altcha-transition-duration);\n --altcha-input-background-color: var(--altcha-color-base);\n --altcha-input-border-radius: 3px;\n --altcha-input-border-width: 1px;\n --altcha-input-color: var(--altcha-color-base-content);\n --altcha-max-width: 320px;\n --altcha-padding: 0.75rem;\n --altcha-popover-arrow-size: 6px;\n --altcha-popover-color: var(--altcha-border-color);\n --altcha-shadow: drop-shadow(3px 3px 6px oklch(0% 0 0 / 0.2));\n --altcha-spinner-color: var(--altcha-color-base-content);\n --altcha-switch-background-color: var(--altcha-color-neutral);\n --altcha-switch-border-radius: calc(infinity * 1px);\n --altcha-switch-height: var(--altcha-checkbox-size);\n --altcha-switch-padding: 0.25rem;\n --altcha-switch-width: calc(var(--altcha-checkbox-size) * 1.75);\n --altcha-switch-toggle-border-radius: 100%;\n --altcha-switch-toggle-color: var(--altcha-color-neutral-content);\n --altcha-switch-toggle-size: calc(\n \tvar(--altcha-switch-height) - calc(var(--altcha-switch-padding) * 2)\n );\n --altcha-transition-duration: 0.6s;\n --altcha-z-index: 99999999;\n --altcha-z-index-popover: 999999999;\n}\n\n@supports (-moz-appearance: none) {\n :root {\n --altcha-checkbox-outline-color: var(--altcha-color-primary);\n }\n}\n.altcha {\n all: revert-layer;\n display: none;\n font-family: inherit;\n font-size: inherit;\n position: relative;\n}\n.altcha[data-visible] {\n display: block;\n}\n.altcha-popover, .altcha-popover * {\n all: revert-layer;\n box-sizing: border-box;\n font-family: inherit;\n font-size: inherit;\n line-height: 1.25;\n}\n.altcha * {\n all: revert-layer;\n box-sizing: border-box;\n font-family: inherit;\n font-size: inherit;\n line-height: 1.25;\n}\n.altcha a, .altcha-popover a {\n color: currentColor;\n text-decoration: none;\n}\n.altcha a:hover, .altcha-popover a:hover {\n color: currentColor;\n}\n.altcha-main {\n align-items: start;\n background-color: var(--altcha-color-base);\n border: var(--altcha-border-width, 1px) solid var(--altcha-border-color);\n border-radius: var(--altcha-border-radius, 0);\n color: var(--altcha-color-base-content);\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n justify-content: space-between;\n padding: var(--altcha-padding);\n max-width: var(--altcha-max-width, 100%);\n}\n.altcha-main > * {\n display: flex;\n width: 100%;\n}\n.altcha-main > *:first-child {\n flex-grow: 1;\n}\n.altcha-checkbox-wrap {\n align-items: center;\n display: flex;\n flex-direction: row;\n flex-grow: 1;\n gap: 0.5rem;\n}\n.altcha-checkbox-wrap > * {\n display: flex;\n}\n.altcha-logo {\n opacity: 0.7;\n}\n.altcha-footer {\n align-items: center;\n display: flex;\n flex-grow: 1;\n gap: 0.5rem;\n justify-content: flex-end;\n font-size: 0.7rem;\n opacity: 0.7;\n}\n.altcha-footer p {\n margin: 0;\n padding: 0;\n}\n.altcha-error {\n font-size: 0.85rem;\n}\n.altcha-button {\n align-items: center;\n background: var(--altcha-color-primary);\n border: var(--altcha-input-border-width) solid var(--altcha-color-primary);\n border-radius: var(--altcha-input-border-radius);\n color: var(--altcha-color-primary-content);\n cursor: pointer;\n display: flex;\n font-size: 0.9rem;\n gap: 0.5rem;\n padding: 0.35rem;\n}\n.altcha-button:focus {\n border-color: var(--altcha-color-primary);\n outline: var(--altcha-checkbox-outline);\n outline-offset: var(--altcha-checkbox-outline-offsetLine truncated
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/419'; export {};
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/af'; export {};
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (amptelike webwerf)",
|
||||||
|
enterCode: "Voer kode in",
|
||||||
|
enterCodeAria: "Voer die kode in wat jy hoor. Druk Spasie om die klank af te speel.",
|
||||||
|
error: "Verifikasie het misluk. Probeer later weer.",
|
||||||
|
expired: "Verifikasie het verval. Probeer weer.",
|
||||||
|
footer: 'Beskerm deur <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (amptelike webwerf)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Kry 'n klankuitdaging",
|
||||||
|
label: "Ek is nie 'n robot nie",
|
||||||
|
loading: "Laai...",
|
||||||
|
reload: "Laai weer",
|
||||||
|
verify: "Verifieer",
|
||||||
|
verificationRequired: "Verifikasie is vereis!",
|
||||||
|
verified: "Geverifieer",
|
||||||
|
verifying: "Verifieer...",
|
||||||
|
waitAlert: "Verifieer... wag asseblief.",
|
||||||
|
cancel: "Kanselleer",
|
||||||
|
enterCodeFromImage: "Om voort te gaan, voer asseblief die kode vanaf die onderstaande prentjie in."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("af", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (amptelike webwerf)",
|
||||||
|
enterCode: "Voer kode in",
|
||||||
|
enterCodeAria: "Voer die kode in wat jy hoor. Druk Spasie om die klank af te speel.",
|
||||||
|
error: "Verifikasie het misluk. Probeer later weer.",
|
||||||
|
expired: "Verifikasie het verval. Probeer weer.",
|
||||||
|
footer: 'Beskerm deur <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (amptelike webwerf)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Kry 'n klankuitdaging",
|
||||||
|
label: "Ek is nie 'n robot nie",
|
||||||
|
loading: "Laai...",
|
||||||
|
reload: "Laai weer",
|
||||||
|
verify: "Verifieer",
|
||||||
|
verificationRequired: "Verifikasie is vereis!",
|
||||||
|
verified: "Geverifieer",
|
||||||
|
verifying: "Verifieer...",
|
||||||
|
waitAlert: "Verifieer... wag asseblief.",
|
||||||
|
cancel: "Kanselleer",
|
||||||
|
enterCodeFromImage: "Om voort te gaan, voer asseblief die kode vanaf die onderstaande prentjie in."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("af", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/africa'; export {};
|
||||||
+248
@@ -0,0 +1,248 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n$6 = {
|
||||||
|
ariaLinkLabel: "Altcha (amptelike webwerf)",
|
||||||
|
enterCode: "Voer kode in",
|
||||||
|
enterCodeAria: "Voer die kode in wat jy hoor. Druk Spasie om die klank af te speel.",
|
||||||
|
error: "Verifikasie het misluk. Probeer later weer.",
|
||||||
|
expired: "Verifikasie het verval. Probeer weer.",
|
||||||
|
footer: 'Beskerm deur <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (amptelike webwerf)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Kry 'n klankuitdaging",
|
||||||
|
label: "Ek is nie 'n robot nie",
|
||||||
|
loading: "Laai...",
|
||||||
|
reload: "Laai weer",
|
||||||
|
verify: "Verifieer",
|
||||||
|
verificationRequired: "Verifikasie is vereis!",
|
||||||
|
verified: "Geverifieer",
|
||||||
|
verifying: "Verifieer...",
|
||||||
|
waitAlert: "Verifieer... wag asseblief.",
|
||||||
|
cancel: "Kanselleer",
|
||||||
|
enterCodeFromImage: "Om voort te gaan, voer asseblief die kode vanaf die onderstaande prentjie in."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("af", i18n$6);
|
||||||
|
const i18n$5 = {
|
||||||
|
ariaLinkLabel: "Altcha (ዋናው ድህረ ገጽ)",
|
||||||
|
enterCode: "ኮድ አስገባ",
|
||||||
|
enterCodeAria: "የሚሰማዎትን ኮድ ያስገቡ። ድምጽ ለመጫወት Space ን ይጫኑ።",
|
||||||
|
error: "ማረጋገጫ አልተሳካም። በኋላ ላይ እንደገና ይሞክሩ።",
|
||||||
|
expired: "ማረጋገጫው ጊዜው አልፏል። እንደገና ይሞክሩ።",
|
||||||
|
footer: 'በ <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (ዋናው ድህረ ገጽ)">ALTCHA</a> የተጠበቀ',
|
||||||
|
getAudioChallenge: "የድምጽ ፈተና ያግኙ",
|
||||||
|
label: "እኔ ሮቦት አይደለሁም",
|
||||||
|
loading: "በመጫን ላይ...",
|
||||||
|
reload: "እንደገና ጫን",
|
||||||
|
verify: "አረጋግጥ",
|
||||||
|
verificationRequired: "ማረጋገጫ ያስፈልጋል!",
|
||||||
|
verified: "ተረጋግጧል",
|
||||||
|
verifying: "በማረጋገጥ ላይ...",
|
||||||
|
waitAlert: "በማረጋገጥ ላይ... እባክዎ ይጠብቁ።",
|
||||||
|
cancel: "ይቅር",
|
||||||
|
enterCodeFromImage: "ለመቀጠል፣ እባክዎን ከታች ካለው ምስል ኮዱን ያስገቡ።"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("am", i18n$5);
|
||||||
|
const i18n$4 = {
|
||||||
|
ariaLinkLabel: "Altcha (الموقع الرسمي)",
|
||||||
|
enterCode: "أدخل الرمز",
|
||||||
|
enterCodeAria: "أدخل الرمز الذي تسمعه. اضغط على المسافة لتشغيل الصوت.",
|
||||||
|
error: "فشل التحقق. حاول مرة أخرى لاحقاً.",
|
||||||
|
expired: "انتهت صلاحية التحقق. حاول مرة أخرى.",
|
||||||
|
footer: 'محمي بواسطة <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (الموقع الرسمي)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "احصل على تحدي صوتي",
|
||||||
|
label: "أنا لست روبوتاً",
|
||||||
|
loading: "جارٍ التحميل...",
|
||||||
|
reload: "إعادة تحميل",
|
||||||
|
verify: "تحقق",
|
||||||
|
verificationRequired: "مطلوب التحقق!",
|
||||||
|
verified: "تم التحقق",
|
||||||
|
verifying: "جارٍ التحقق...",
|
||||||
|
waitAlert: "جارٍ التحقق... يرجى الانتظار.",
|
||||||
|
cancel: "إلغاء",
|
||||||
|
enterCodeFromImage: "للمتابعة، يرجى إدخال الرمز من الصورة أدناه."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ar", i18n$4);
|
||||||
|
const i18n$3 = {
|
||||||
|
ariaLinkLabel: "Altcha (site officiel)",
|
||||||
|
enterCode: "Entrez le code",
|
||||||
|
enterCodeAria: "Entrez le code que vous entendez. Appuyez sur Espace pour écouter l'audio.",
|
||||||
|
error: "Échec de la vérification. Essayez à nouveau plus tard.",
|
||||||
|
expired: "La vérification a expiré. Essayez à nouveau.",
|
||||||
|
footer: 'Protégé par <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site officiel)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtenir un défi audio",
|
||||||
|
label: "Je ne suis pas un robot",
|
||||||
|
loading: "Chargement...",
|
||||||
|
reload: "Recharger",
|
||||||
|
verify: "Vérifier",
|
||||||
|
verificationRequired: "Vérification requise !",
|
||||||
|
verified: "Vérifié",
|
||||||
|
verifying: "Vérification en cours...",
|
||||||
|
waitAlert: "Vérification en cours... veuillez patienter.",
|
||||||
|
cancel: "Annuler",
|
||||||
|
enterCodeFromImage: "Pour continuer, veuillez entrer le code de l'image ci-dessous."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("fr-fr", i18n$3);
|
||||||
|
const i18n$2 = {
|
||||||
|
ariaLinkLabel: "Altcha (site oficial)",
|
||||||
|
enterCode: "Introduza o código",
|
||||||
|
enterCodeAria: "Introduza o código que ouve. Prima Espaço para reproduzir o áudio.",
|
||||||
|
error: "A verificação falhou. Por favor, tente novamente mais tarde.",
|
||||||
|
expired: "Verificação expirada. Por favor, tente novamente.",
|
||||||
|
footer: 'Protegido por <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obter desafio de áudio",
|
||||||
|
label: "Não sou um robô",
|
||||||
|
loading: "A carregar...",
|
||||||
|
reload: "Recarregar",
|
||||||
|
verify: "Verificar",
|
||||||
|
verificationRequired: "Verificação necessária!",
|
||||||
|
verified: "Verificado",
|
||||||
|
verifying: "A verificar...",
|
||||||
|
waitAlert: "A verificar... por favor aguarde.",
|
||||||
|
cancel: "Cancelar",
|
||||||
|
enterCodeFromImage: "Para prosseguir, introduza o código da imagem abaixo."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("pt-pt", i18n$2);
|
||||||
|
const i18n$1 = {
|
||||||
|
ariaLinkLabel: "Altcha (tovuti rasmi)",
|
||||||
|
enterCode: "Weka nambari",
|
||||||
|
enterCodeAria: "Weka nambari unayosikia. Bonyeza Space kucheza sauti.",
|
||||||
|
error: "Uthibitishaji umeshindwa. Jaribu tena baadaye.",
|
||||||
|
expired: "Uthibitishaji umeisha. Jaribu tena.",
|
||||||
|
footer: 'Imealindwa na <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (tovuti rasmi)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Pata changamoto ya sauti",
|
||||||
|
label: "Mimi sio roboti",
|
||||||
|
loading: "Inapakia...",
|
||||||
|
reload: "Pakia tena",
|
||||||
|
verify: "Thibitisha",
|
||||||
|
verificationRequired: "Uthibitishaji unahitajika!",
|
||||||
|
verified: "Imethibitishwa",
|
||||||
|
verifying: "Inathibitisha...",
|
||||||
|
waitAlert: "Inathibitisha... tafadhali subiri.",
|
||||||
|
cancel: "Ghairi",
|
||||||
|
enterCodeFromImage: "Ili kuendelea, tafadhali weka nambari kutoka kwa picha hapa chini."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("sw", i18n$1);
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (oju opo wẹẹbu osise)",
|
||||||
|
enterCode: "Tẹ koodu sii",
|
||||||
|
enterCodeAria: "Tẹ koodu ti o ngbọ sii. Tẹ Space lati ṣe ohun orin.",
|
||||||
|
error: "Ìdájọ́kòwò kò ṣẹ́ṣe. Gbiyanju lẹẹkansi ni ọjọ́ iwájú.",
|
||||||
|
expired: "Ìdájọ́kòwò ti pari. Gbiyanju lẹẹkansi.",
|
||||||
|
footer: 'Ti wa ni ààbò nipasẹ <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oju opo wẹẹbu osise)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Gba ìjàdú ohùn",
|
||||||
|
label: "Emi kii ṣe ẹrọ",
|
||||||
|
loading: "Ó ń gbé sílẹ̀...",
|
||||||
|
reload: "Tún gbé wọlé",
|
||||||
|
verify: "Ṣàdájọ́",
|
||||||
|
verificationRequired: "Ìdájọ́kòwò ni a nílò!",
|
||||||
|
verified: "A ti dájọ́",
|
||||||
|
verifying: "Ó ń ṣàdájọ́...",
|
||||||
|
waitAlert: "Ó ń ṣàdájọ́... ẹ jọ̀ọ́ ẹ duro.",
|
||||||
|
cancel: "Fagbọsẹ",
|
||||||
|
enterCodeFromImage: "Lati tẹsiwaju, jọwọ tẹ koodu ti o wa lati aworan isalẹ sii."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("yo", i18n);
|
||||||
+253
@@ -0,0 +1,253 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n$6 = {
|
||||||
|
ariaLinkLabel: "Altcha (amptelike webwerf)",
|
||||||
|
enterCode: "Voer kode in",
|
||||||
|
enterCodeAria: "Voer die kode in wat jy hoor. Druk Spasie om die klank af te speel.",
|
||||||
|
error: "Verifikasie het misluk. Probeer later weer.",
|
||||||
|
expired: "Verifikasie het verval. Probeer weer.",
|
||||||
|
footer: 'Beskerm deur <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (amptelike webwerf)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Kry 'n klankuitdaging",
|
||||||
|
label: "Ek is nie 'n robot nie",
|
||||||
|
loading: "Laai...",
|
||||||
|
reload: "Laai weer",
|
||||||
|
verify: "Verifieer",
|
||||||
|
verificationRequired: "Verifikasie is vereis!",
|
||||||
|
verified: "Geverifieer",
|
||||||
|
verifying: "Verifieer...",
|
||||||
|
waitAlert: "Verifieer... wag asseblief.",
|
||||||
|
cancel: "Kanselleer",
|
||||||
|
enterCodeFromImage: "Om voort te gaan, voer asseblief die kode vanaf die onderstaande prentjie in."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("af", i18n$6);
|
||||||
|
const i18n$5 = {
|
||||||
|
ariaLinkLabel: "Altcha (ዋናው ድህረ ገጽ)",
|
||||||
|
enterCode: "ኮድ አስገባ",
|
||||||
|
enterCodeAria: "የሚሰማዎትን ኮድ ያስገቡ። ድምጽ ለመጫወት Space ን ይጫኑ።",
|
||||||
|
error: "ማረጋገጫ አልተሳካም። በኋላ ላይ እንደገና ይሞክሩ።",
|
||||||
|
expired: "ማረጋገጫው ጊዜው አልፏል። እንደገና ይሞክሩ።",
|
||||||
|
footer: 'በ <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (ዋናው ድህረ ገጽ)">ALTCHA</a> የተጠበቀ',
|
||||||
|
getAudioChallenge: "የድምጽ ፈተና ያግኙ",
|
||||||
|
label: "እኔ ሮቦት አይደለሁም",
|
||||||
|
loading: "በመጫን ላይ...",
|
||||||
|
reload: "እንደገና ጫን",
|
||||||
|
verify: "አረጋግጥ",
|
||||||
|
verificationRequired: "ማረጋገጫ ያስፈልጋል!",
|
||||||
|
verified: "ተረጋግጧል",
|
||||||
|
verifying: "በማረጋገጥ ላይ...",
|
||||||
|
waitAlert: "በማረጋገጥ ላይ... እባክዎ ይጠብቁ።",
|
||||||
|
cancel: "ይቅር",
|
||||||
|
enterCodeFromImage: "ለመቀጠል፣ እባክዎን ከታች ካለው ምስል ኮዱን ያስገቡ።"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("am", i18n$5);
|
||||||
|
const i18n$4 = {
|
||||||
|
ariaLinkLabel: "Altcha (الموقع الرسمي)",
|
||||||
|
enterCode: "أدخل الرمز",
|
||||||
|
enterCodeAria: "أدخل الرمز الذي تسمعه. اضغط على المسافة لتشغيل الصوت.",
|
||||||
|
error: "فشل التحقق. حاول مرة أخرى لاحقاً.",
|
||||||
|
expired: "انتهت صلاحية التحقق. حاول مرة أخرى.",
|
||||||
|
footer: 'محمي بواسطة <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (الموقع الرسمي)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "احصل على تحدي صوتي",
|
||||||
|
label: "أنا لست روبوتاً",
|
||||||
|
loading: "جارٍ التحميل...",
|
||||||
|
reload: "إعادة تحميل",
|
||||||
|
verify: "تحقق",
|
||||||
|
verificationRequired: "مطلوب التحقق!",
|
||||||
|
verified: "تم التحقق",
|
||||||
|
verifying: "جارٍ التحقق...",
|
||||||
|
waitAlert: "جارٍ التحقق... يرجى الانتظار.",
|
||||||
|
cancel: "إلغاء",
|
||||||
|
enterCodeFromImage: "للمتابعة، يرجى إدخال الرمز من الصورة أدناه."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ar", i18n$4);
|
||||||
|
const i18n$3 = {
|
||||||
|
ariaLinkLabel: "Altcha (site officiel)",
|
||||||
|
enterCode: "Entrez le code",
|
||||||
|
enterCodeAria: "Entrez le code que vous entendez. Appuyez sur Espace pour écouter l'audio.",
|
||||||
|
error: "Échec de la vérification. Essayez à nouveau plus tard.",
|
||||||
|
expired: "La vérification a expiré. Essayez à nouveau.",
|
||||||
|
footer: 'Protégé par <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site officiel)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtenir un défi audio",
|
||||||
|
label: "Je ne suis pas un robot",
|
||||||
|
loading: "Chargement...",
|
||||||
|
reload: "Recharger",
|
||||||
|
verify: "Vérifier",
|
||||||
|
verificationRequired: "Vérification requise !",
|
||||||
|
verified: "Vérifié",
|
||||||
|
verifying: "Vérification en cours...",
|
||||||
|
waitAlert: "Vérification en cours... veuillez patienter.",
|
||||||
|
cancel: "Annuler",
|
||||||
|
enterCodeFromImage: "Pour continuer, veuillez entrer le code de l'image ci-dessous."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("fr-fr", i18n$3);
|
||||||
|
const i18n$2 = {
|
||||||
|
ariaLinkLabel: "Altcha (site oficial)",
|
||||||
|
enterCode: "Introduza o código",
|
||||||
|
enterCodeAria: "Introduza o código que ouve. Prima Espaço para reproduzir o áudio.",
|
||||||
|
error: "A verificação falhou. Por favor, tente novamente mais tarde.",
|
||||||
|
expired: "Verificação expirada. Por favor, tente novamente.",
|
||||||
|
footer: 'Protegido por <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obter desafio de áudio",
|
||||||
|
label: "Não sou um robô",
|
||||||
|
loading: "A carregar...",
|
||||||
|
reload: "Recarregar",
|
||||||
|
verify: "Verificar",
|
||||||
|
verificationRequired: "Verificação necessária!",
|
||||||
|
verified: "Verificado",
|
||||||
|
verifying: "A verificar...",
|
||||||
|
waitAlert: "A verificar... por favor aguarde.",
|
||||||
|
cancel: "Cancelar",
|
||||||
|
enterCodeFromImage: "Para prosseguir, introduza o código da imagem abaixo."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("pt-pt", i18n$2);
|
||||||
|
const i18n$1 = {
|
||||||
|
ariaLinkLabel: "Altcha (tovuti rasmi)",
|
||||||
|
enterCode: "Weka nambari",
|
||||||
|
enterCodeAria: "Weka nambari unayosikia. Bonyeza Space kucheza sauti.",
|
||||||
|
error: "Uthibitishaji umeshindwa. Jaribu tena baadaye.",
|
||||||
|
expired: "Uthibitishaji umeisha. Jaribu tena.",
|
||||||
|
footer: 'Imealindwa na <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (tovuti rasmi)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Pata changamoto ya sauti",
|
||||||
|
label: "Mimi sio roboti",
|
||||||
|
loading: "Inapakia...",
|
||||||
|
reload: "Pakia tena",
|
||||||
|
verify: "Thibitisha",
|
||||||
|
verificationRequired: "Uthibitishaji unahitajika!",
|
||||||
|
verified: "Imethibitishwa",
|
||||||
|
verifying: "Inathibitisha...",
|
||||||
|
waitAlert: "Inathibitisha... tafadhali subiri.",
|
||||||
|
cancel: "Ghairi",
|
||||||
|
enterCodeFromImage: "Ili kuendelea, tafadhali weka nambari kutoka kwa picha hapa chini."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("sw", i18n$1);
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (oju opo wẹẹbu osise)",
|
||||||
|
enterCode: "Tẹ koodu sii",
|
||||||
|
enterCodeAria: "Tẹ koodu ti o ngbọ sii. Tẹ Space lati ṣe ohun orin.",
|
||||||
|
error: "Ìdájọ́kòwò kò ṣẹ́ṣe. Gbiyanju lẹẹkansi ni ọjọ́ iwájú.",
|
||||||
|
expired: "Ìdájọ́kòwò ti pari. Gbiyanju lẹẹkansi.",
|
||||||
|
footer: 'Ti wa ni ààbò nipasẹ <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oju opo wẹẹbu osise)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Gba ìjàdú ohùn",
|
||||||
|
label: "Emi kii ṣe ẹrọ",
|
||||||
|
loading: "Ó ń gbé sílẹ̀...",
|
||||||
|
reload: "Tún gbé wọlé",
|
||||||
|
verify: "Ṣàdájọ́",
|
||||||
|
verificationRequired: "Ìdájọ́kòwò ni a nílò!",
|
||||||
|
verified: "A ti dájọ́",
|
||||||
|
verifying: "Ó ń ṣàdájọ́...",
|
||||||
|
waitAlert: "Ó ń ṣàdájọ́... ẹ jọ̀ọ́ ẹ duro.",
|
||||||
|
cancel: "Fagbọsẹ",
|
||||||
|
enterCodeFromImage: "Lati tẹsiwaju, jọwọ tẹ koodu ti o wa lati aworan isalẹ sii."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("yo", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/all'; export {};
|
||||||
+1328
File diff suppressed because it is too large.
Load diff
+1333
File diff suppressed because it is too large.
Load diff
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/am'; export {};
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (ዋናው ድህረ ገጽ)",
|
||||||
|
enterCode: "ኮድ አስገባ",
|
||||||
|
enterCodeAria: "የሚሰማዎትን ኮድ ያስገቡ። ድምጽ ለመጫወት Space ን ይጫኑ።",
|
||||||
|
error: "ማረጋገጫ አልተሳካም። በኋላ ላይ እንደገና ይሞክሩ።",
|
||||||
|
expired: "ማረጋገጫው ጊዜው አልፏል። እንደገና ይሞክሩ።",
|
||||||
|
footer: 'በ <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (ዋናው ድህረ ገጽ)">ALTCHA</a> የተጠበቀ',
|
||||||
|
getAudioChallenge: "የድምጽ ፈተና ያግኙ",
|
||||||
|
label: "እኔ ሮቦት አይደለሁም",
|
||||||
|
loading: "በመጫን ላይ...",
|
||||||
|
reload: "እንደገና ጫን",
|
||||||
|
verify: "አረጋግጥ",
|
||||||
|
verificationRequired: "ማረጋገጫ ያስፈልጋል!",
|
||||||
|
verified: "ተረጋግጧል",
|
||||||
|
verifying: "በማረጋገጥ ላይ...",
|
||||||
|
waitAlert: "በማረጋገጥ ላይ... እባክዎ ይጠብቁ።",
|
||||||
|
cancel: "ይቅር",
|
||||||
|
enterCodeFromImage: "ለመቀጠል፣ እባክዎን ከታች ካለው ምስል ኮዱን ያስገቡ።"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("am", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (ዋናው ድህረ ገጽ)",
|
||||||
|
enterCode: "ኮድ አስገባ",
|
||||||
|
enterCodeAria: "የሚሰማዎትን ኮድ ያስገቡ። ድምጽ ለመጫወት Space ን ይጫኑ።",
|
||||||
|
error: "ማረጋገጫ አልተሳካም። በኋላ ላይ እንደገና ይሞክሩ።",
|
||||||
|
expired: "ማረጋገጫው ጊዜው አልፏል። እንደገና ይሞክሩ።",
|
||||||
|
footer: 'በ <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (ዋናው ድህረ ገጽ)">ALTCHA</a> የተጠበቀ',
|
||||||
|
getAudioChallenge: "የድምጽ ፈተና ያግኙ",
|
||||||
|
label: "እኔ ሮቦት አይደለሁም",
|
||||||
|
loading: "በመጫን ላይ...",
|
||||||
|
reload: "እንደገና ጫን",
|
||||||
|
verify: "አረጋግጥ",
|
||||||
|
verificationRequired: "ማረጋገጫ ያስፈልጋል!",
|
||||||
|
verified: "ተረጋግጧል",
|
||||||
|
verifying: "በማረጋገጥ ላይ...",
|
||||||
|
waitAlert: "በማረጋገጥ ላይ... እባክዎ ይጠብቁ።",
|
||||||
|
cancel: "ይቅር",
|
||||||
|
enterCodeFromImage: "ለመቀጠል፣ እባክዎን ከታች ካለው ምስል ኮዱን ያስገቡ።"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("am", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/americas'; export {};
|
||||||
+168
@@ -0,0 +1,168 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n$2 = {
|
||||||
|
ariaLinkLabel: "Altcha (site officiel)",
|
||||||
|
enterCode: "Entrez le code",
|
||||||
|
enterCodeAria: "Entrez le code que vous entendez. Appuyez sur la barre d'espace pour écouter l'audio.",
|
||||||
|
error: "Échec de la vérification. Réessayez plus tard.",
|
||||||
|
expired: "La vérification a expiré. Réessayez.",
|
||||||
|
footer: 'Protégé par <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site officiel)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtenir un défi audio",
|
||||||
|
label: "Je ne suis pas un robot",
|
||||||
|
loading: "Chargement...",
|
||||||
|
reload: "Recharger",
|
||||||
|
verify: "Vérifier",
|
||||||
|
verificationRequired: "Vérification requise !",
|
||||||
|
verified: "Vérifié",
|
||||||
|
verifying: "Vérification en cours...",
|
||||||
|
waitAlert: "Vérification en cours... veuillez patienter.",
|
||||||
|
cancel: "Annuler",
|
||||||
|
enterCodeFromImage: "Pour continuer, veuillez entrer le code de l'image ci-dessous."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("fr-ca", i18n$2);
|
||||||
|
const i18n$1 = {
|
||||||
|
ariaLinkLabel: "Altcha (sitio web oficial)",
|
||||||
|
enterCode: "Ingresa el código",
|
||||||
|
enterCodeAria: "Ingresa el código que escuchas. Presiona Espacio para reproducir el audio.",
|
||||||
|
error: "Falló la verificación. Por favor vuelve a intentarlo más tarde.",
|
||||||
|
expired: "La verificación expiró. Por favor inténtalo de nuevo.",
|
||||||
|
footer: 'Protegido por <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (sitio web oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtener un reto de audio",
|
||||||
|
label: "No soy un robot",
|
||||||
|
loading: "Cargando...",
|
||||||
|
reload: "Volver a cargar",
|
||||||
|
verify: "Verificar",
|
||||||
|
verificationRequired: "¡Verificación requerida!",
|
||||||
|
verified: "Verificado",
|
||||||
|
verifying: "Verificando...",
|
||||||
|
waitAlert: "Verificando... por favor espera.",
|
||||||
|
cancel: "Cancelar",
|
||||||
|
enterCodeFromImage: "Para continuar, ingresa el código de la imagen a continuación."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("es-419", i18n$1);
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (site oficial)",
|
||||||
|
enterCode: "Digite o código",
|
||||||
|
enterCodeAria: "Digite o código que você ouve. Pressione Espaço para reproduzir o áudio.",
|
||||||
|
error: "Falha na verificação. Por favor, tente novamente mais tarde.",
|
||||||
|
expired: "Verificação expirada. Por favor, tente novamente.",
|
||||||
|
footer: 'Protegido por <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obter desafio de áudio",
|
||||||
|
label: "Eu não sou um robô",
|
||||||
|
loading: "Carregando...",
|
||||||
|
reload: "Recarregar",
|
||||||
|
verify: "Verificar",
|
||||||
|
verificationRequired: "Verificação necessária!",
|
||||||
|
verified: "Verificado",
|
||||||
|
verifying: "Verificando...",
|
||||||
|
waitAlert: "Verificando... por favor aguarde.",
|
||||||
|
cancel: "Cancelar",
|
||||||
|
enterCodeFromImage: "Para prosseguir, digite o código da imagem abaixo."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("pt-br", i18n);
|
||||||
+173
@@ -0,0 +1,173 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n$2 = {
|
||||||
|
ariaLinkLabel: "Altcha (site officiel)",
|
||||||
|
enterCode: "Entrez le code",
|
||||||
|
enterCodeAria: "Entrez le code que vous entendez. Appuyez sur la barre d'espace pour écouter l'audio.",
|
||||||
|
error: "Échec de la vérification. Réessayez plus tard.",
|
||||||
|
expired: "La vérification a expiré. Réessayez.",
|
||||||
|
footer: 'Protégé par <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site officiel)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtenir un défi audio",
|
||||||
|
label: "Je ne suis pas un robot",
|
||||||
|
loading: "Chargement...",
|
||||||
|
reload: "Recharger",
|
||||||
|
verify: "Vérifier",
|
||||||
|
verificationRequired: "Vérification requise !",
|
||||||
|
verified: "Vérifié",
|
||||||
|
verifying: "Vérification en cours...",
|
||||||
|
waitAlert: "Vérification en cours... veuillez patienter.",
|
||||||
|
cancel: "Annuler",
|
||||||
|
enterCodeFromImage: "Pour continuer, veuillez entrer le code de l'image ci-dessous."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("fr-ca", i18n$2);
|
||||||
|
const i18n$1 = {
|
||||||
|
ariaLinkLabel: "Altcha (sitio web oficial)",
|
||||||
|
enterCode: "Ingresa el código",
|
||||||
|
enterCodeAria: "Ingresa el código que escuchas. Presiona Espacio para reproducir el audio.",
|
||||||
|
error: "Falló la verificación. Por favor vuelve a intentarlo más tarde.",
|
||||||
|
expired: "La verificación expiró. Por favor inténtalo de nuevo.",
|
||||||
|
footer: 'Protegido por <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (sitio web oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtener un reto de audio",
|
||||||
|
label: "No soy un robot",
|
||||||
|
loading: "Cargando...",
|
||||||
|
reload: "Volver a cargar",
|
||||||
|
verify: "Verificar",
|
||||||
|
verificationRequired: "¡Verificación requerida!",
|
||||||
|
verified: "Verificado",
|
||||||
|
verifying: "Verificando...",
|
||||||
|
waitAlert: "Verificando... por favor espera.",
|
||||||
|
cancel: "Cancelar",
|
||||||
|
enterCodeFromImage: "Para continuar, ingresa el código de la imagen a continuación."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("es-419", i18n$1);
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (site oficial)",
|
||||||
|
enterCode: "Digite o código",
|
||||||
|
enterCodeAria: "Digite o código que você ouve. Pressione Espaço para reproduzir o áudio.",
|
||||||
|
error: "Falha na verificação. Por favor, tente novamente mais tarde.",
|
||||||
|
expired: "Verificação expirada. Por favor, tente novamente.",
|
||||||
|
footer: 'Protegido por <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obter desafio de áudio",
|
||||||
|
label: "Eu não sou um robô",
|
||||||
|
loading: "Carregando...",
|
||||||
|
reload: "Recarregar",
|
||||||
|
verify: "Verificar",
|
||||||
|
verificationRequired: "Verificação necessária!",
|
||||||
|
verified: "Verificado",
|
||||||
|
verifying: "Verificando...",
|
||||||
|
waitAlert: "Verificando... por favor aguarde.",
|
||||||
|
cancel: "Cancelar",
|
||||||
|
enterCodeFromImage: "Para prosseguir, digite o código da imagem abaixo."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("pt-br", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/ar'; export {};
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (الموقع الرسمي)",
|
||||||
|
enterCode: "أدخل الرمز",
|
||||||
|
enterCodeAria: "أدخل الرمز الذي تسمعه. اضغط على المسافة لتشغيل الصوت.",
|
||||||
|
error: "فشل التحقق. حاول مرة أخرى لاحقاً.",
|
||||||
|
expired: "انتهت صلاحية التحقق. حاول مرة أخرى.",
|
||||||
|
footer: 'محمي بواسطة <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (الموقع الرسمي)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "احصل على تحدي صوتي",
|
||||||
|
label: "أنا لست روبوتاً",
|
||||||
|
loading: "جارٍ التحميل...",
|
||||||
|
reload: "إعادة تحميل",
|
||||||
|
verify: "تحقق",
|
||||||
|
verificationRequired: "مطلوب التحقق!",
|
||||||
|
verified: "تم التحقق",
|
||||||
|
verifying: "جارٍ التحقق...",
|
||||||
|
waitAlert: "جارٍ التحقق... يرجى الانتظار.",
|
||||||
|
cancel: "إلغاء",
|
||||||
|
enterCodeFromImage: "للمتابعة، يرجى إدخال الرمز من الصورة أدناه."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ar", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (الموقع الرسمي)",
|
||||||
|
enterCode: "أدخل الرمز",
|
||||||
|
enterCodeAria: "أدخل الرمز الذي تسمعه. اضغط على المسافة لتشغيل الصوت.",
|
||||||
|
error: "فشل التحقق. حاول مرة أخرى لاحقاً.",
|
||||||
|
expired: "انتهت صلاحية التحقق. حاول مرة أخرى.",
|
||||||
|
footer: 'محمي بواسطة <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (الموقع الرسمي)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "احصل على تحدي صوتي",
|
||||||
|
label: "أنا لست روبوتاً",
|
||||||
|
loading: "جارٍ التحميل...",
|
||||||
|
reload: "إعادة تحميل",
|
||||||
|
verify: "تحقق",
|
||||||
|
verificationRequired: "مطلوب التحقق!",
|
||||||
|
verified: "تم التحقق",
|
||||||
|
verifying: "جارٍ التحقق...",
|
||||||
|
waitAlert: "جارٍ التحقق... يرجى الانتظار.",
|
||||||
|
cancel: "إلغاء",
|
||||||
|
enterCodeFromImage: "للمتابعة، يرجى إدخال الرمز من الصورة أدناه."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ar", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/asia'; export {};
|
||||||
+588
@@ -0,0 +1,588 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n$n = {
|
||||||
|
ariaLinkLabel: "Altcha (官方网站)",
|
||||||
|
enterCode: "输入代码",
|
||||||
|
enterCodeAria: "输入您听到的代码。按空格键播放音频。",
|
||||||
|
error: "验证失败。稍后再试。",
|
||||||
|
expired: "验证已过期。请重试。",
|
||||||
|
footer: '由 <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (官方网站)">ALTCHA</a> 保护',
|
||||||
|
getAudioChallenge: "获取音频挑战",
|
||||||
|
label: "我不是机器人",
|
||||||
|
loading: "加载中...",
|
||||||
|
reload: "重新加载",
|
||||||
|
verify: "验证",
|
||||||
|
verificationRequired: "需要验证!",
|
||||||
|
verified: "已验证",
|
||||||
|
verifying: "正在验证...",
|
||||||
|
waitAlert: "正在验证... 请稍等。",
|
||||||
|
cancel: "取消",
|
||||||
|
enterCodeFromImage: "为继续操作,请输入下图中显示的验证码。"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("zh-cn", i18n$n);
|
||||||
|
const i18n$m = {
|
||||||
|
ariaLinkLabel: "Altcha (官方網站)",
|
||||||
|
cancel: "取消",
|
||||||
|
enterCode: "輸入代碼",
|
||||||
|
enterCodeAria: "輸入你聽到嘅代碼。按空格鍵播放音訊。",
|
||||||
|
enterCodeFromImage: "要繼續,請輸入下面圖片入面嘅代碼。",
|
||||||
|
error: "驗證失敗。請稍後再試。",
|
||||||
|
expired: "驗證已過期。請再試一次。",
|
||||||
|
footer: '由 <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (官方網站)">ALTCHA</a> 提供保護',
|
||||||
|
getAudioChallenge: "取得音訊驗證",
|
||||||
|
label: "我唔係機械人",
|
||||||
|
loading: "載入中...",
|
||||||
|
reload: "重新載入",
|
||||||
|
verify: "驗證",
|
||||||
|
verificationRequired: "需要驗證!",
|
||||||
|
verified: "已驗證",
|
||||||
|
verifying: "驗證中...",
|
||||||
|
waitAlert: "驗證中... 請稍候。"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("zh-hk", i18n$m);
|
||||||
|
const i18n$l = {
|
||||||
|
ariaLinkLabel: "Altcha (官方網站)",
|
||||||
|
enterCode: "輸入代碼",
|
||||||
|
enterCodeAria: "輸入您聽到的代碼。按空格鍵播放音頻。",
|
||||||
|
error: "驗證失敗。稍後再試。",
|
||||||
|
expired: "驗證已過期。請重試。",
|
||||||
|
footer: '由 <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (官方網站)">ALTCHA</a> 保護',
|
||||||
|
getAudioChallenge: "獲取音頻挑戰",
|
||||||
|
label: "我不是機器人",
|
||||||
|
loading: "載入中...",
|
||||||
|
reload: "重新載入",
|
||||||
|
verify: "驗證",
|
||||||
|
verificationRequired: "需要驗證!",
|
||||||
|
verified: "已驗證",
|
||||||
|
verifying: "正在驗證...",
|
||||||
|
waitAlert: "正在驗證... 請稍等。",
|
||||||
|
cancel: "取消",
|
||||||
|
enterCodeFromImage: "若要繼續,請輸入下方的圖片驗證碼。"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("zh-tw", i18n$l);
|
||||||
|
const i18n$k = {
|
||||||
|
ariaLinkLabel: "Altcha (公式ウェブサイト)",
|
||||||
|
enterCode: "コードを入力",
|
||||||
|
enterCodeAria: "聞こえるコードを入力してください。スペースキーを押して音声を再生します。",
|
||||||
|
error: "認証に失敗しました。後でもう一度試してください。",
|
||||||
|
expired: "認証が期限切れです。再試行してください。",
|
||||||
|
footer: '保護されています <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (公式ウェブサイト)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "音声チャレンジを取得",
|
||||||
|
label: "私はロボットではありません",
|
||||||
|
loading: "読み込み中...",
|
||||||
|
reload: "再読み込み",
|
||||||
|
verify: "確認",
|
||||||
|
verificationRequired: "認証が必要です!",
|
||||||
|
verified: "確認済み",
|
||||||
|
verifying: "確認中...",
|
||||||
|
waitAlert: "確認中...少々お待ちください。",
|
||||||
|
cancel: "キャンセル",
|
||||||
|
enterCodeFromImage: "続行するには、以下の画像からコードを入力してください。"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ja", i18n$k);
|
||||||
|
const i18n$j = {
|
||||||
|
ariaLinkLabel: "Altcha (공식 웹사이트)",
|
||||||
|
enterCode: "코드 입력",
|
||||||
|
enterCodeAria: "들리는 코드를 입력하세요. 스페이스 바를 눌러 오디오를 재생합니다.",
|
||||||
|
error: "인증 실패. 나중에 다시 시도해주세요.",
|
||||||
|
expired: "인증이 만료되었습니다. 다시 시도해주세요.",
|
||||||
|
footer: 'ALTCHA에서 보호됨 <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (공식 웹사이트)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "오디오 챌린지 받기",
|
||||||
|
label: "저는 로봇이 아닙니다",
|
||||||
|
loading: "로딩 중...",
|
||||||
|
reload: "새로 고침",
|
||||||
|
verify: "확인",
|
||||||
|
verificationRequired: "인증이 필요합니다!",
|
||||||
|
verified: "확인됨",
|
||||||
|
verifying: "확인 중...",
|
||||||
|
waitAlert: "확인 중... 잠시만 기다려주세요.",
|
||||||
|
cancel: "취소",
|
||||||
|
enterCodeFromImage: "계속 진행하려면 아래 이미지에서 코드를 입력하세요."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ko", i18n$j);
|
||||||
|
const i18n$i = {
|
||||||
|
ariaLinkLabel: "Altcha (आधिकारिक वेबसाइट)",
|
||||||
|
enterCode: "कोड दर्ज करेंं",
|
||||||
|
enterCodeAria: "आप जो कोड सुनते हैं उसे दर्ज करें। ऑडियो चलाने के लिए स्पेस दबाएं।",
|
||||||
|
error: "सत्यापन विफल। कृपया बाद में फिर से प्रयास करें।",
|
||||||
|
expired: "सत्यापन समाप्त हो गया है। कृपया पुनः प्रयास करें।",
|
||||||
|
footer: 'द्वारा संरक्षित <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (आधिकारिक वेबसाइट)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "ऑडियो चुनौती प्राप्त करें",
|
||||||
|
label: "मैं रोबोट नहीं हूँ",
|
||||||
|
loading: "लोड हो रहा है...",
|
||||||
|
reload: "पुनः लोड करें",
|
||||||
|
verify: "सत्यापित करें",
|
||||||
|
verificationRequired: "सत्यापन आवश्यक है!",
|
||||||
|
verified: "सत्यापित",
|
||||||
|
verifying: "सत्यापित कर रहे हैं...",
|
||||||
|
waitAlert: "सत्यापित किया जा रहा है... कृपया प्रतीक्षा करें।",
|
||||||
|
cancel: "रद्द करें",
|
||||||
|
enterCodeFromImage: "आगे बढ़ने के लिए, कृपया नीचे दी गई छवि से कोड दर्ज करें।"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("hi", i18n$i);
|
||||||
|
const i18n$h = {
|
||||||
|
ariaLinkLabel: "Altcha (অফিসিয়াল ওয়েবসাইট)",
|
||||||
|
enterCode: "কোড লিখুন",
|
||||||
|
enterCodeAria: "আপনি যে কোড শুনতে পান তা লিখুন। অডিও প্লে করতে স্পেস বাটন টিপুন।",
|
||||||
|
error: "যাচাইকরণ ব্যর্থ হয়েছে। পরে আবার চেষ্টা করুন।",
|
||||||
|
expired: "যাচাইকরণ সময়সীমা শেষ হয়েছে। আবার চেষ্টা করুন।",
|
||||||
|
footer: 'দ্বারা সুরক্ষিত <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (অফিসিয়াল ওয়েবসাইট)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "অডিও চ্যালেঞ্জ নিন",
|
||||||
|
label: "আমি রোবট নই",
|
||||||
|
loading: "লোড হচ্ছে...",
|
||||||
|
reload: "পুনরায় লোড করুন",
|
||||||
|
verify: "যাচাই করুন",
|
||||||
|
verificationRequired: "যাচাই প্রয়োজন!",
|
||||||
|
verified: "যাচাই করা হয়েছে",
|
||||||
|
verifying: "যাচাই করা হচ্ছে...",
|
||||||
|
waitAlert: "যাচাই করা হচ্ছে... দয়া করে অপেক্ষা করুন।",
|
||||||
|
cancel: "বাতিল করুন",
|
||||||
|
enterCodeFromImage: "এগিয়ে যেতে, অনুগ্রহ করে নীচের চিত্র থেকে কোডটি প্রবেশ করান।"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("bn", i18n$h);
|
||||||
|
const i18n$g = {
|
||||||
|
ariaLinkLabel: "Altcha (अधिकृत संकेतस्थळ)",
|
||||||
|
enterCode: "कोड टाकाा",
|
||||||
|
enterCodeAria: "तुम्ही ऐकत असलेला कोड टाका. ऑडिओ प्ले करण्यासाठी स्पेस दाबा.",
|
||||||
|
error: "पुष्टीकरण अयशस्वी झाले. कृपया नंतर पुन्हा प्रयत्न करा.",
|
||||||
|
expired: "पुष्टीकरण कालबाह्य झाले आहे. कृपया पुन्हा प्रयत्न करा.",
|
||||||
|
footer: 'द्वारे संरक्षित <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (अधिकृत संकेतस्थळ)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "ऑडिओ चॅलेंज मिळवा",
|
||||||
|
label: "मी रोबोट नाही",
|
||||||
|
loading: "लोड होत आहे...",
|
||||||
|
reload: "पुन्हा लोड करा",
|
||||||
|
verify: "पुष्टीकरण करा",
|
||||||
|
verificationRequired: "पडताळणी आवश्यक आहे!",
|
||||||
|
verified: "पुष्टीकरण झाले",
|
||||||
|
verifying: "पुष्टीकरण करत आहे...",
|
||||||
|
waitAlert: "पुष्टीकरण करत आहे... कृपया थोडा वेळ थांबा.",
|
||||||
|
cancel: "रद्द करा",
|
||||||
|
enterCodeFromImage: "पुढे जाण्यासाठी, कृपया खालील प्रतिमेतील कोड प्रविष्ट करा."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("mr", i18n$g);
|
||||||
|
const i18n$f = {
|
||||||
|
ariaLinkLabel: "Altcha (అధికారిక వెబ్సైట్)",
|
||||||
|
enterCode: "కోడ్ని నమోదు చేయండి",
|
||||||
|
enterCodeAria: "మీరు విన్న కోడ్ని నమోదు చేయండి. ఆడియో ప్లే చేయడానికి స్పేస్ను నొక్కండి.",
|
||||||
|
error: "చెకింగ్ విఫలమైంది. దయచేసి మరల ప్రయత్నించండి.",
|
||||||
|
expired: "చెకింగ్ కాలం ముగిసింది. దయచేసి మరల ప్రయత్నించండి.",
|
||||||
|
footer: 'ఈ సైట్ రక్షించబడింది <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (అధికారిక వెబ్సైట్)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "ఆడియో ఛాలెంజ్ పొందండి",
|
||||||
|
label: "నేను రోబోట్ కాదు",
|
||||||
|
loading: "లోడ్ అవుతోంది...",
|
||||||
|
reload: "మళ్ళీ లోడ్ చేయండి",
|
||||||
|
verify: "ధ్రువీకరించు",
|
||||||
|
verificationRequired: "ధృవీకరణ అవసరం!",
|
||||||
|
verified: "ధ్రువీకరించబడింది",
|
||||||
|
verifying: "ధ్రువీకరణ జరుగుతుంది...",
|
||||||
|
waitAlert: "ధ్రువీకరణ జరుగుతుంది... దయచేసి వేచి ఉండండి.",
|
||||||
|
cancel: "రద్దు చేయండి",
|
||||||
|
enterCodeFromImage: "కొనసాగడానికి, దయచేసి క్రింది చిత్రంలో ఉన్న కోడ్ను నమోదు చేయండి."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("te", i18n$f);
|
||||||
|
const i18n$e = {
|
||||||
|
ariaLinkLabel: "Altcha (அதிகாரப்பூர்வ வலைத்தளம்)",
|
||||||
|
enterCode: "குறியீட்டை உள்ளிடவும்",
|
||||||
|
enterCodeAria: "நீங்கள் கேட்கும் குறியீட்டை உள்ளிடவும். ஆடியோவை இயக்க Space ஐ அழுத்தவும்.",
|
||||||
|
error: "சரிபார்ப்பு தோல்வி. பிறகு மீண்டும் முயற்சிக்கவும்.",
|
||||||
|
expired: "சரிபார்ப்பு காலாவதியானது. மீண்டும் முயற்சிக்கவும்.",
|
||||||
|
footer: 'மூலமாக பாதுகாக்கப்பட்டவை <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (அதிகாரப்பூர்வ வலைத்தளம்)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "ஒலி சவாலை பெறவும்",
|
||||||
|
label: "நான் ரோபோடான அல்ல",
|
||||||
|
loading: "செயலாக்கம்...",
|
||||||
|
reload: "மீண்டும் புதுப்பிக்கவும்",
|
||||||
|
verify: "சரிபார்க்கவும்",
|
||||||
|
verificationRequired: "சரிபார்ப்பு தேவை!",
|
||||||
|
verified: "சரிபார்க்கப்பட்டது",
|
||||||
|
verifying: "சரிபார்க்கப்படுகிறது...",
|
||||||
|
waitAlert: "சரிபார்க்கப்படுகிறது... தயவுசெய்து காத்திருக்கவும்.",
|
||||||
|
cancel: "ரத்துசெய்",
|
||||||
|
enterCodeFromImage: "தொடர, கீழே உள்ள படத்திலிருந்து குறியீட்டை உள்ளிடவும்."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ta", i18n$e);
|
||||||
|
const i18n$d = {
|
||||||
|
ariaLinkLabel: "Altcha (سرکاری ویب سائٹ)",
|
||||||
|
enterCode: "کوڈ درج کریں",
|
||||||
|
enterCodeAria: "جو کوڈ آپ سنتے ہیں وہ درج کریں۔ آڈیو چلانے کے لیے اسپیس دبائیں۔",
|
||||||
|
error: "توثیق ناکام ہو گئی۔ براہ کرم بعد میں دوبارہ کوشش کریں۔",
|
||||||
|
expired: "توثیق کی مدت ختم ہو گئی ہے۔ براہ کرم دوبارہ کوشش کریں۔",
|
||||||
|
footer: 'کے ذریعے محفوظ <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (سرکاری ویب سائٹ)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "آڈیو چیلنج حاصل کریں",
|
||||||
|
label: "میں روبوٹ نہیں ہوں",
|
||||||
|
loading: "لوڈ ہو رہا ہے...",
|
||||||
|
reload: "دوبارہ لوڈ کریں",
|
||||||
|
verify: "توثیق کریں",
|
||||||
|
verificationRequired: "تصدیق ضروری ہے!",
|
||||||
|
verified: "توثیق شدہ",
|
||||||
|
verifying: "توثیق ہو رہی ہے...",
|
||||||
|
waitAlert: "توثیق ہو رہی ہے... براہ کرم انتظار کریں۔",
|
||||||
|
cancel: "منسوخ کریں",
|
||||||
|
enterCodeFromImage: "اگلے مرحلے پر جانے کے لیے، براہ کرم نیچے دی گئی تصویر سے کوڈ درج کریں۔"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ur", i18n$d);
|
||||||
|
const i18n$c = {
|
||||||
|
ariaLinkLabel: "Altcha (situs web resmi)",
|
||||||
|
enterCode: "Masukkan kode",
|
||||||
|
enterCodeAria: "Masukkan kode yang Anda dengar. Tekan Spasi untuk memutar audio.",
|
||||||
|
error: "Verifikasi gagal. Coba lagi nanti.",
|
||||||
|
expired: "Verifikasi telah kedaluwarsa. Coba lagi.",
|
||||||
|
footer: 'Dilindungi oleh <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (situs web resmi)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Dapatkan tantangan audio",
|
||||||
|
label: "Saya bukan robot",
|
||||||
|
loading: "Memuat...",
|
||||||
|
reload: "Muat ulang",
|
||||||
|
verify: "Verifikasi",
|
||||||
|
verificationRequired: "Verifikasi diperlukan!",
|
||||||
|
verified: "Terverifikasi",
|
||||||
|
verifying: "Memverifikasi...",
|
||||||
|
waitAlert: "Memverifikasi... harap tunggu.",
|
||||||
|
cancel: "Batal",
|
||||||
|
enterCodeFromImage: "Untuk melanjutkan, silakan masukkan kode dari gambar di bawah ini."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("id", i18n$c);
|
||||||
|
const i18n$b = {
|
||||||
|
ariaLinkLabel: "Altcha (เว็บไซต์ทางการ)",
|
||||||
|
enterCode: "ป้อนรหัส",
|
||||||
|
enterCodeAria: "ป้อนรหัสที่คุณได้ยิน กด Space เพื่อเล่นเสียง",
|
||||||
|
error: "การตรวจสอบล้มเหลว กรุณาลองอีกครั้งภายหลัง",
|
||||||
|
expired: "การตรวจสอบหมดอายุ กรุณาลองใหม่",
|
||||||
|
footer: 'ป้องกันโดย <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (เว็บไซต์ทางการ)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "รับการท้าทายเสียง",
|
||||||
|
label: "ฉันไม่ใช่บอท",
|
||||||
|
loading: "กำลังโหลด...",
|
||||||
|
reload: "โหลดใหม่",
|
||||||
|
verify: "ตรวจสอบ",
|
||||||
|
verificationRequired: "จำเป็นต้องตรวจสอบ!",
|
||||||
|
verified: "ตรวจสอบแล้ว",
|
||||||
|
verifying: "กำลังตรวจสอบ...",
|
||||||
|
waitAlert: "กำลังตรวจสอบ... กรุณารอ",
|
||||||
|
cancel: "ยกเลิก",
|
||||||
|
enterCodeFromImage: "เพื่อดำเนินการต่อ โปรดป้อนรหัสจากรูปภาพด้านล่าง"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("th", i18n$b);
|
||||||
|
const i18n$a = {
|
||||||
|
ariaLinkLabel: "Altcha (trang web chính thức)",
|
||||||
|
enterCode: "Nhập mã",
|
||||||
|
enterCodeAria: "Nhập mã bạn nghe được. Nhấn Phím cách để phát âm thanh.",
|
||||||
|
error: "Xác minh thất bại. Vui lòng thử lại sau.",
|
||||||
|
expired: "Xác minh đã hết hạn. Vui lòng thử lại.",
|
||||||
|
footer: 'Được bảo vệ bởi <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (trang web chính thức)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Nhận thử thách âm thanh",
|
||||||
|
label: "Tôi không phải là robot",
|
||||||
|
loading: "Đang tải...",
|
||||||
|
reload: "Tải lại",
|
||||||
|
verify: "Xác minh",
|
||||||
|
verificationRequired: "Yêu cầu xác minh!",
|
||||||
|
verified: "Đã xác minh",
|
||||||
|
verifying: "Đang xác minh...",
|
||||||
|
waitAlert: "Đang xác minh... vui lòng chờ.",
|
||||||
|
cancel: "Hủy bỏ",
|
||||||
|
enterCodeFromImage: "Để tiếp tục, vui lòng nhập mã từ hình ảnh bên dưới."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("vi", i18n$a);
|
||||||
|
const i18n$9 = {
|
||||||
|
ariaLinkLabel: "Altcha (الموقع الرسمي)",
|
||||||
|
enterCode: "أدخل الرمز",
|
||||||
|
enterCodeAria: "أدخل الرمز الذي تسمعه. اضغط على المسافة لتشغيل الصوت.",
|
||||||
|
error: "فشل التحقق. حاول مرة أخرى لاحقاً.",
|
||||||
|
expired: "انتهت صلاحية التحقق. حاول مرة أخرى.",
|
||||||
|
footer: 'محمي بواسطة <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (الموقع الرسمي)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "احصل على تحدي صوتي",
|
||||||
|
label: "أنا لست روبوتاً",
|
||||||
|
loading: "جارٍ التحميل...",
|
||||||
|
reload: "إعادة تحميل",
|
||||||
|
verify: "تحقق",
|
||||||
|
verificationRequired: "مطلوب التحقق!",
|
||||||
|
verified: "تم التحقق",
|
||||||
|
verifying: "جارٍ التحقق...",
|
||||||
|
waitAlert: "جارٍ التحقق... يرجى الانتظار.",
|
||||||
|
cancel: "إلغاء",
|
||||||
|
enterCodeFromImage: "للمتابعة، يرجى إدخال الرمز من الصورة أدناه."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ar", i18n$9);
|
||||||
|
const i18n$8 = {
|
||||||
|
ariaLinkLabel: "Altcha (وبسایت رسمی)",
|
||||||
|
enterCode: "کد را وارد کنید",
|
||||||
|
enterCodeAria: "کدی که میشنوید را وارد کنید. برای پخش صدا Space را فشار دهید.",
|
||||||
|
error: "احراز هویت ناموفق بود. بعداً دوباره تلاش کنید.",
|
||||||
|
expired: "احراز هویت منقضی شد. دوباره تلاش کنید.",
|
||||||
|
footer: 'محافظت شده توسط <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (وبسایت رسمی)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "دریافت چالش صوتی",
|
||||||
|
label: "من ربات نیستم",
|
||||||
|
loading: "در حال بارگذاری...",
|
||||||
|
reload: "بارگذاری مجدد",
|
||||||
|
verify: "تایید",
|
||||||
|
verificationRequired: "احراز هویت لازم است!",
|
||||||
|
verified: "تایید شد",
|
||||||
|
verifying: "در حال تایید...",
|
||||||
|
waitAlert: "در حال تایید... لطفا منتظر بمانید.",
|
||||||
|
cancel: "لغو کردن",
|
||||||
|
enterCodeFromImage: "برای ادامه، لطفاً کد تصویر زیر را وارد کنید."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("fa", i18n$8);
|
||||||
|
const i18n$7 = {
|
||||||
|
ariaLinkLabel: "Altcha (אתר רשמי)",
|
||||||
|
enterCode: "הזן קוד",
|
||||||
|
enterCodeAria: "הזן את הקוד שאתה שומע. לחץ על רווח להפעלת השמע.",
|
||||||
|
error: "האימות נכשל. נסה שוב מאוחר יותר.",
|
||||||
|
expired: "תוקף האימות פג. נסה שוב.",
|
||||||
|
footer: 'מוגן על ידי <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (אתר רשמי)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "קבל אתגר שמע",
|
||||||
|
label: "אני לא רובוט",
|
||||||
|
loading: "טוען...",
|
||||||
|
reload: "טען מחדש",
|
||||||
|
verify: "אמת",
|
||||||
|
verificationRequired: "נדרש אימות!",
|
||||||
|
verified: "אומת",
|
||||||
|
verifying: "מאמת...",
|
||||||
|
waitAlert: "מבצע אימות... אנא המתן.",
|
||||||
|
cancel: "ביטול",
|
||||||
|
enterCodeFromImage: "כדי להמשיך, אנא הזן את הקוד מהתמונה למטה."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("he", i18n$7);
|
||||||
|
const i18n$6 = {
|
||||||
|
ariaLinkLabel: "Altcha (resmi web sitesi)",
|
||||||
|
enterCode: "Kodu girin",
|
||||||
|
enterCodeAria: "Duyduğunuz kodu girin. Ses dosyasını oynatmak için Boşluk tuşuna basın.",
|
||||||
|
error: "Doğrulama başarısız oldu. Lütfen daha sonra tekrar deneyin.",
|
||||||
|
expired: "Doğrulama süresi doldu. Lütfen tekrar deneyin.",
|
||||||
|
footer: 'ALTCHA tarafından korunuyor <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (resmi web sitesi)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Sesli doğrulama al",
|
||||||
|
label: "Ben robot değilim",
|
||||||
|
loading: "Yükleniyor...",
|
||||||
|
reload: "Yeniden yükle",
|
||||||
|
verify: "Doğrula",
|
||||||
|
verificationRequired: "Doğrulama gerekli!",
|
||||||
|
verified: "Doğrulandı",
|
||||||
|
verifying: "Doğrulama yapılıyor...",
|
||||||
|
waitAlert: "Doğrulama yapılıyor... lütfen bekleyin.",
|
||||||
|
cancel: "İptal",
|
||||||
|
enterCodeFromImage: "Devam etmek için lütfen aşağıdaki resimdeki kodu girin."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("tr", i18n$6);
|
||||||
|
const i18n$5 = {
|
||||||
|
ariaLinkLabel: "Altcha (rəsmi vebsayt)",
|
||||||
|
enterCode: "Kodu daxil edin",
|
||||||
|
enterCodeAria: "Eşitdiyiniz kodu daxil edin. Səsi dinləmək üçün Boşluq düyməsinə basın.",
|
||||||
|
error: "Təsdiqləmə uğursuz oldu. Daha sonra yenidən cəhd edin.",
|
||||||
|
expired: "Təsdiqləmə vaxtı bitdi. Yenidən cəhd edin.",
|
||||||
|
footer: 'Qorunur <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (rəsmi vebsayt)">ALTCHA</a> tərəfindən',
|
||||||
|
getAudioChallenge: "Audio tapşırıq alın",
|
||||||
|
label: "Mən robot deyiləm",
|
||||||
|
loading: "Yüklənir...",
|
||||||
|
reload: "Yenilə",
|
||||||
|
verify: "Təsdiqlə",
|
||||||
|
verificationRequired: "Təsdiqləmə tələb olunur!",
|
||||||
|
verified: "Təsdiqləndi",
|
||||||
|
verifying: "Təsdiqlənir...",
|
||||||
|
waitAlert: "Təsdiqlənir... zəhmət olmasa gözləyin.",
|
||||||
|
cancel: "İmtina et",
|
||||||
|
enterCodeFromImage: "Davam etmək üçün, zəhmət olmasa aşağıdakı şəkildəki kodu daxil edin."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("az", i18n$5);
|
||||||
|
const i18n$4 = {
|
||||||
|
ariaLinkLabel: "Altcha (պաշտոնական կայք)",
|
||||||
|
enterCode: "Մուտքագրեք կոդը",
|
||||||
|
enterCodeAria: "Մուտքագրեք այն կոդը, որը լսում եք։ Ձայնը նվագելու համար սեղմեք բացատ (Space):",
|
||||||
|
error: "Հաստատումը ձախողվեց։ Փորձեք ավելի ուշ։",
|
||||||
|
expired: "Հաստատման ժամկետը լրացել է։ Փորձեք կրկին։",
|
||||||
|
footer: 'Պաշտպանված է <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (պաշտոնական կայք)">ALTCHA</a>-ի կողմից',
|
||||||
|
getAudioChallenge: "Ստանալ ձայնային առաջադրանք",
|
||||||
|
label: "Ես ռոբոտ չեմ",
|
||||||
|
loading: "Բեռնվում է...",
|
||||||
|
reload: "Թարմացնել",
|
||||||
|
verify: "Հաստատել",
|
||||||
|
verificationRequired: "Պահանջվում է հաստատում։",
|
||||||
|
verified: "Հաստատված է",
|
||||||
|
verifying: "Հաստատվում է...",
|
||||||
|
waitAlert: "Հաստատվում է... խնդրում ենք սպասել։",
|
||||||
|
cancel: "Չեղարկել",
|
||||||
|
enterCodeFromImage: "Շարունակելու համար, խնդրում ենք մուտագրել ստորև պատկերից վերցված կոդը:"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("hy", i18n$4);
|
||||||
|
const i18n$3 = {
|
||||||
|
ariaLinkLabel: "Altcha (ოფიციალური ვებსაიტი)",
|
||||||
|
enterCode: "შეიყვანეთ კოდი",
|
||||||
|
enterCodeAria: "შეიყვანეთ კოდი, რომელსაც გაიგონებთ. აუდიოს მოსასმენად დააჭირეთ Space-ს.",
|
||||||
|
error: "ვერიფიკაცია ჩაიშალა. სცადეთ მოგვიანებით.",
|
||||||
|
expired: "ვერიფიკაციის ვადა გავიდა. სცადეთ ხელახლა.",
|
||||||
|
footer: 'დაცულია <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (ოფიციალური ვებსაიტი)">ALTCHA</a>-ით',
|
||||||
|
getAudioChallenge: "მიიღეთ აუდიო გამოწვევა",
|
||||||
|
label: "მე არ ვარ რობოტი",
|
||||||
|
loading: "იტვირთება...",
|
||||||
|
reload: "განახლება",
|
||||||
|
verify: "დადასტურება",
|
||||||
|
verificationRequired: "საჭიროა ვერიფიკაცია!",
|
||||||
|
verified: "დადასტურებულია",
|
||||||
|
verifying: "დადასტურება მიმდინარეობს...",
|
||||||
|
waitAlert: "დადასტურება მიმდინარეობს... გთხოვთ, დაიცადეთ.",
|
||||||
|
cancel: "გაუქმება",
|
||||||
|
enterCodeFromImage: "გაგრძელების მიზნით, გთხოვთ შეიყვანოთ კოდი ქვემოთ მოცემული სურათიდან."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ka", i18n$3);
|
||||||
|
const i18n$2 = {
|
||||||
|
ariaLinkLabel: "Altcha (ресми веб-сайт)",
|
||||||
|
enterCode: "Кодты енгізіңіз",
|
||||||
|
enterCodeAria: "Естіген кодыңызды енгізіңіз. Аудионы ойнату үшін Бос орынды басыңыз.",
|
||||||
|
error: "Тексеру сәтсіз аяқталды. Кейінірек қайталаңыз.",
|
||||||
|
expired: "Тексеру мерзімі аяқталды. Қайталаңыз.",
|
||||||
|
footer: '<a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (ресми веб-сайт)">ALTCHA</a> қорғайды',
|
||||||
|
getAudioChallenge: "Аудио сынақ алу",
|
||||||
|
label: "Мен робот емеспін",
|
||||||
|
loading: "Жүктелуде...",
|
||||||
|
reload: "Қайта жүктеу",
|
||||||
|
verify: "Тексеру",
|
||||||
|
verificationRequired: "Тексеру талап етіледі!",
|
||||||
|
verified: "Тексерілді",
|
||||||
|
verifying: "Тексеруде...",
|
||||||
|
waitAlert: "Тексерілуде... күте тұрыңыз.",
|
||||||
|
cancel: "Болдыру",
|
||||||
|
enterCodeFromImage: "Жалғастыру үшін төмендегі суреттегі кодты енгізіңіз."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("kk", i18n$2);
|
||||||
|
const i18n$1 = {
|
||||||
|
ariaLinkLabel: "Altcha (resmi web sahypa)",
|
||||||
|
enterCode: "Kody giriziň",
|
||||||
|
enterCodeAria: "Eşiden kodyňyzy giriziň. Sesli görkezmäni diňlemek üçin Space basyň.",
|
||||||
|
error: "Barlamak şowsuz boldy. Has soňrak synanyşyň.",
|
||||||
|
expired: "Barlamanyň möhleti gutardy. Gaýtadan synanyşyň.",
|
||||||
|
footer: 'Goralan <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (resmi web sahypa)">ALTCHA</a> tarapyndan',
|
||||||
|
getAudioChallenge: "Sesli tabşyryk alyň",
|
||||||
|
label: "Men robot däl",
|
||||||
|
loading: "Ýüklenýär...",
|
||||||
|
reload: "Täzeden ýükle",
|
||||||
|
verify: "Barla",
|
||||||
|
verificationRequired: "Barlamak zerurdyr!",
|
||||||
|
verified: "Barlandy",
|
||||||
|
verifying: "Barlanýar...",
|
||||||
|
waitAlert: "Barlanýar... garaşyň.",
|
||||||
|
cancel: "Ýapmak",
|
||||||
|
enterCodeFromImage: "Dowam etmek üçin, aşakdaky suratyň koduny giriziň."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("tk", i18n$1);
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (rasmiy veb-sayt)",
|
||||||
|
enterCode: "Kodni kiriting",
|
||||||
|
enterCodeAria: "Eshitgan kodingizni kiriting. Audioni ijro etish uchun Bo'sh joy tugmasini bosing.",
|
||||||
|
error: "Tekshiruv muvaffaqiyatsiz tugadi. Keyinroq qayta urinib ko'ring.",
|
||||||
|
expired: "Tekshiruv muddati tugadi. Qayta urinib ko'ring.",
|
||||||
|
footer: '<a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (rasmiy veb-sayt)">ALTCHA</a> tomonidan himoyalangan',
|
||||||
|
getAudioChallenge: "Audio sinovni olish",
|
||||||
|
label: "Men robot emasman",
|
||||||
|
loading: "Yuklanmoqda...",
|
||||||
|
reload: "Qayta yuklash",
|
||||||
|
verify: "Tekshirish",
|
||||||
|
verificationRequired: "Tekshiruv talab qilinadi!",
|
||||||
|
verified: "Tekshirildi",
|
||||||
|
verifying: "Tekshirilmoqda...",
|
||||||
|
waitAlert: "Tekshirilmoqda... iltimos kuting.",
|
||||||
|
cancel: "Bekor qilish",
|
||||||
|
enterCodeFromImage: "Davom etish uchun, iltimos, quyidagi rasmda ko'rsatilgan kodni kiriting."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("uz", i18n);
|
||||||
+593
@@ -0,0 +1,593 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n$n = {
|
||||||
|
ariaLinkLabel: "Altcha (官方网站)",
|
||||||
|
enterCode: "输入代码",
|
||||||
|
enterCodeAria: "输入您听到的代码。按空格键播放音频。",
|
||||||
|
error: "验证失败。稍后再试。",
|
||||||
|
expired: "验证已过期。请重试。",
|
||||||
|
footer: '由 <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (官方网站)">ALTCHA</a> 保护',
|
||||||
|
getAudioChallenge: "获取音频挑战",
|
||||||
|
label: "我不是机器人",
|
||||||
|
loading: "加载中...",
|
||||||
|
reload: "重新加载",
|
||||||
|
verify: "验证",
|
||||||
|
verificationRequired: "需要验证!",
|
||||||
|
verified: "已验证",
|
||||||
|
verifying: "正在验证...",
|
||||||
|
waitAlert: "正在验证... 请稍等。",
|
||||||
|
cancel: "取消",
|
||||||
|
enterCodeFromImage: "为继续操作,请输入下图中显示的验证码。"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("zh-cn", i18n$n);
|
||||||
|
const i18n$m = {
|
||||||
|
ariaLinkLabel: "Altcha (官方網站)",
|
||||||
|
cancel: "取消",
|
||||||
|
enterCode: "輸入代碼",
|
||||||
|
enterCodeAria: "輸入你聽到嘅代碼。按空格鍵播放音訊。",
|
||||||
|
enterCodeFromImage: "要繼續,請輸入下面圖片入面嘅代碼。",
|
||||||
|
error: "驗證失敗。請稍後再試。",
|
||||||
|
expired: "驗證已過期。請再試一次。",
|
||||||
|
footer: '由 <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (官方網站)">ALTCHA</a> 提供保護',
|
||||||
|
getAudioChallenge: "取得音訊驗證",
|
||||||
|
label: "我唔係機械人",
|
||||||
|
loading: "載入中...",
|
||||||
|
reload: "重新載入",
|
||||||
|
verify: "驗證",
|
||||||
|
verificationRequired: "需要驗證!",
|
||||||
|
verified: "已驗證",
|
||||||
|
verifying: "驗證中...",
|
||||||
|
waitAlert: "驗證中... 請稍候。"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("zh-hk", i18n$m);
|
||||||
|
const i18n$l = {
|
||||||
|
ariaLinkLabel: "Altcha (官方網站)",
|
||||||
|
enterCode: "輸入代碼",
|
||||||
|
enterCodeAria: "輸入您聽到的代碼。按空格鍵播放音頻。",
|
||||||
|
error: "驗證失敗。稍後再試。",
|
||||||
|
expired: "驗證已過期。請重試。",
|
||||||
|
footer: '由 <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (官方網站)">ALTCHA</a> 保護',
|
||||||
|
getAudioChallenge: "獲取音頻挑戰",
|
||||||
|
label: "我不是機器人",
|
||||||
|
loading: "載入中...",
|
||||||
|
reload: "重新載入",
|
||||||
|
verify: "驗證",
|
||||||
|
verificationRequired: "需要驗證!",
|
||||||
|
verified: "已驗證",
|
||||||
|
verifying: "正在驗證...",
|
||||||
|
waitAlert: "正在驗證... 請稍等。",
|
||||||
|
cancel: "取消",
|
||||||
|
enterCodeFromImage: "若要繼續,請輸入下方的圖片驗證碼。"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("zh-tw", i18n$l);
|
||||||
|
const i18n$k = {
|
||||||
|
ariaLinkLabel: "Altcha (公式ウェブサイト)",
|
||||||
|
enterCode: "コードを入力",
|
||||||
|
enterCodeAria: "聞こえるコードを入力してください。スペースキーを押して音声を再生します。",
|
||||||
|
error: "認証に失敗しました。後でもう一度試してください。",
|
||||||
|
expired: "認証が期限切れです。再試行してください。",
|
||||||
|
footer: '保護されています <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (公式ウェブサイト)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "音声チャレンジを取得",
|
||||||
|
label: "私はロボットではありません",
|
||||||
|
loading: "読み込み中...",
|
||||||
|
reload: "再読み込み",
|
||||||
|
verify: "確認",
|
||||||
|
verificationRequired: "認証が必要です!",
|
||||||
|
verified: "確認済み",
|
||||||
|
verifying: "確認中...",
|
||||||
|
waitAlert: "確認中...少々お待ちください。",
|
||||||
|
cancel: "キャンセル",
|
||||||
|
enterCodeFromImage: "続行するには、以下の画像からコードを入力してください。"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ja", i18n$k);
|
||||||
|
const i18n$j = {
|
||||||
|
ariaLinkLabel: "Altcha (공식 웹사이트)",
|
||||||
|
enterCode: "코드 입력",
|
||||||
|
enterCodeAria: "들리는 코드를 입력하세요. 스페이스 바를 눌러 오디오를 재생합니다.",
|
||||||
|
error: "인증 실패. 나중에 다시 시도해주세요.",
|
||||||
|
expired: "인증이 만료되었습니다. 다시 시도해주세요.",
|
||||||
|
footer: 'ALTCHA에서 보호됨 <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (공식 웹사이트)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "오디오 챌린지 받기",
|
||||||
|
label: "저는 로봇이 아닙니다",
|
||||||
|
loading: "로딩 중...",
|
||||||
|
reload: "새로 고침",
|
||||||
|
verify: "확인",
|
||||||
|
verificationRequired: "인증이 필요합니다!",
|
||||||
|
verified: "확인됨",
|
||||||
|
verifying: "확인 중...",
|
||||||
|
waitAlert: "확인 중... 잠시만 기다려주세요.",
|
||||||
|
cancel: "취소",
|
||||||
|
enterCodeFromImage: "계속 진행하려면 아래 이미지에서 코드를 입력하세요."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ko", i18n$j);
|
||||||
|
const i18n$i = {
|
||||||
|
ariaLinkLabel: "Altcha (आधिकारिक वेबसाइट)",
|
||||||
|
enterCode: "कोड दर्ज करेंं",
|
||||||
|
enterCodeAria: "आप जो कोड सुनते हैं उसे दर्ज करें। ऑडियो चलाने के लिए स्पेस दबाएं।",
|
||||||
|
error: "सत्यापन विफल। कृपया बाद में फिर से प्रयास करें।",
|
||||||
|
expired: "सत्यापन समाप्त हो गया है। कृपया पुनः प्रयास करें।",
|
||||||
|
footer: 'द्वारा संरक्षित <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (आधिकारिक वेबसाइट)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "ऑडियो चुनौती प्राप्त करें",
|
||||||
|
label: "मैं रोबोट नहीं हूँ",
|
||||||
|
loading: "लोड हो रहा है...",
|
||||||
|
reload: "पुनः लोड करें",
|
||||||
|
verify: "सत्यापित करें",
|
||||||
|
verificationRequired: "सत्यापन आवश्यक है!",
|
||||||
|
verified: "सत्यापित",
|
||||||
|
verifying: "सत्यापित कर रहे हैं...",
|
||||||
|
waitAlert: "सत्यापित किया जा रहा है... कृपया प्रतीक्षा करें।",
|
||||||
|
cancel: "रद्द करें",
|
||||||
|
enterCodeFromImage: "आगे बढ़ने के लिए, कृपया नीचे दी गई छवि से कोड दर्ज करें।"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("hi", i18n$i);
|
||||||
|
const i18n$h = {
|
||||||
|
ariaLinkLabel: "Altcha (অফিসিয়াল ওয়েবসাইট)",
|
||||||
|
enterCode: "কোড লিখুন",
|
||||||
|
enterCodeAria: "আপনি যে কোড শুনতে পান তা লিখুন। অডিও প্লে করতে স্পেস বাটন টিপুন।",
|
||||||
|
error: "যাচাইকরণ ব্যর্থ হয়েছে। পরে আবার চেষ্টা করুন।",
|
||||||
|
expired: "যাচাইকরণ সময়সীমা শেষ হয়েছে। আবার চেষ্টা করুন।",
|
||||||
|
footer: 'দ্বারা সুরক্ষিত <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (অফিসিয়াল ওয়েবসাইট)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "অডিও চ্যালেঞ্জ নিন",
|
||||||
|
label: "আমি রোবট নই",
|
||||||
|
loading: "লোড হচ্ছে...",
|
||||||
|
reload: "পুনরায় লোড করুন",
|
||||||
|
verify: "যাচাই করুন",
|
||||||
|
verificationRequired: "যাচাই প্রয়োজন!",
|
||||||
|
verified: "যাচাই করা হয়েছে",
|
||||||
|
verifying: "যাচাই করা হচ্ছে...",
|
||||||
|
waitAlert: "যাচাই করা হচ্ছে... দয়া করে অপেক্ষা করুন।",
|
||||||
|
cancel: "বাতিল করুন",
|
||||||
|
enterCodeFromImage: "এগিয়ে যেতে, অনুগ্রহ করে নীচের চিত্র থেকে কোডটি প্রবেশ করান।"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("bn", i18n$h);
|
||||||
|
const i18n$g = {
|
||||||
|
ariaLinkLabel: "Altcha (अधिकृत संकेतस्थळ)",
|
||||||
|
enterCode: "कोड टाकाा",
|
||||||
|
enterCodeAria: "तुम्ही ऐकत असलेला कोड टाका. ऑडिओ प्ले करण्यासाठी स्पेस दाबा.",
|
||||||
|
error: "पुष्टीकरण अयशस्वी झाले. कृपया नंतर पुन्हा प्रयत्न करा.",
|
||||||
|
expired: "पुष्टीकरण कालबाह्य झाले आहे. कृपया पुन्हा प्रयत्न करा.",
|
||||||
|
footer: 'द्वारे संरक्षित <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (अधिकृत संकेतस्थळ)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "ऑडिओ चॅलेंज मिळवा",
|
||||||
|
label: "मी रोबोट नाही",
|
||||||
|
loading: "लोड होत आहे...",
|
||||||
|
reload: "पुन्हा लोड करा",
|
||||||
|
verify: "पुष्टीकरण करा",
|
||||||
|
verificationRequired: "पडताळणी आवश्यक आहे!",
|
||||||
|
verified: "पुष्टीकरण झाले",
|
||||||
|
verifying: "पुष्टीकरण करत आहे...",
|
||||||
|
waitAlert: "पुष्टीकरण करत आहे... कृपया थोडा वेळ थांबा.",
|
||||||
|
cancel: "रद्द करा",
|
||||||
|
enterCodeFromImage: "पुढे जाण्यासाठी, कृपया खालील प्रतिमेतील कोड प्रविष्ट करा."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("mr", i18n$g);
|
||||||
|
const i18n$f = {
|
||||||
|
ariaLinkLabel: "Altcha (అధికారిక వెబ్సైట్)",
|
||||||
|
enterCode: "కోడ్ని నమోదు చేయండి",
|
||||||
|
enterCodeAria: "మీరు విన్న కోడ్ని నమోదు చేయండి. ఆడియో ప్లే చేయడానికి స్పేస్ను నొక్కండి.",
|
||||||
|
error: "చెకింగ్ విఫలమైంది. దయచేసి మరల ప్రయత్నించండి.",
|
||||||
|
expired: "చెకింగ్ కాలం ముగిసింది. దయచేసి మరల ప్రయత్నించండి.",
|
||||||
|
footer: 'ఈ సైట్ రక్షించబడింది <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (అధికారిక వెబ్సైట్)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "ఆడియో ఛాలెంజ్ పొందండి",
|
||||||
|
label: "నేను రోబోట్ కాదు",
|
||||||
|
loading: "లోడ్ అవుతోంది...",
|
||||||
|
reload: "మళ్ళీ లోడ్ చేయండి",
|
||||||
|
verify: "ధ్రువీకరించు",
|
||||||
|
verificationRequired: "ధృవీకరణ అవసరం!",
|
||||||
|
verified: "ధ్రువీకరించబడింది",
|
||||||
|
verifying: "ధ్రువీకరణ జరుగుతుంది...",
|
||||||
|
waitAlert: "ధ్రువీకరణ జరుగుతుంది... దయచేసి వేచి ఉండండి.",
|
||||||
|
cancel: "రద్దు చేయండి",
|
||||||
|
enterCodeFromImage: "కొనసాగడానికి, దయచేసి క్రింది చిత్రంలో ఉన్న కోడ్ను నమోదు చేయండి."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("te", i18n$f);
|
||||||
|
const i18n$e = {
|
||||||
|
ariaLinkLabel: "Altcha (அதிகாரப்பூர்வ வலைத்தளம்)",
|
||||||
|
enterCode: "குறியீட்டை உள்ளிடவும்",
|
||||||
|
enterCodeAria: "நீங்கள் கேட்கும் குறியீட்டை உள்ளிடவும். ஆடியோவை இயக்க Space ஐ அழுத்தவும்.",
|
||||||
|
error: "சரிபார்ப்பு தோல்வி. பிறகு மீண்டும் முயற்சிக்கவும்.",
|
||||||
|
expired: "சரிபார்ப்பு காலாவதியானது. மீண்டும் முயற்சிக்கவும்.",
|
||||||
|
footer: 'மூலமாக பாதுகாக்கப்பட்டவை <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (அதிகாரப்பூர்வ வலைத்தளம்)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "ஒலி சவாலை பெறவும்",
|
||||||
|
label: "நான் ரோபோடான அல்ல",
|
||||||
|
loading: "செயலாக்கம்...",
|
||||||
|
reload: "மீண்டும் புதுப்பிக்கவும்",
|
||||||
|
verify: "சரிபார்க்கவும்",
|
||||||
|
verificationRequired: "சரிபார்ப்பு தேவை!",
|
||||||
|
verified: "சரிபார்க்கப்பட்டது",
|
||||||
|
verifying: "சரிபார்க்கப்படுகிறது...",
|
||||||
|
waitAlert: "சரிபார்க்கப்படுகிறது... தயவுசெய்து காத்திருக்கவும்.",
|
||||||
|
cancel: "ரத்துசெய்",
|
||||||
|
enterCodeFromImage: "தொடர, கீழே உள்ள படத்திலிருந்து குறியீட்டை உள்ளிடவும்."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ta", i18n$e);
|
||||||
|
const i18n$d = {
|
||||||
|
ariaLinkLabel: "Altcha (سرکاری ویب سائٹ)",
|
||||||
|
enterCode: "کوڈ درج کریں",
|
||||||
|
enterCodeAria: "جو کوڈ آپ سنتے ہیں وہ درج کریں۔ آڈیو چلانے کے لیے اسپیس دبائیں۔",
|
||||||
|
error: "توثیق ناکام ہو گئی۔ براہ کرم بعد میں دوبارہ کوشش کریں۔",
|
||||||
|
expired: "توثیق کی مدت ختم ہو گئی ہے۔ براہ کرم دوبارہ کوشش کریں۔",
|
||||||
|
footer: 'کے ذریعے محفوظ <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (سرکاری ویب سائٹ)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "آڈیو چیلنج حاصل کریں",
|
||||||
|
label: "میں روبوٹ نہیں ہوں",
|
||||||
|
loading: "لوڈ ہو رہا ہے...",
|
||||||
|
reload: "دوبارہ لوڈ کریں",
|
||||||
|
verify: "توثیق کریں",
|
||||||
|
verificationRequired: "تصدیق ضروری ہے!",
|
||||||
|
verified: "توثیق شدہ",
|
||||||
|
verifying: "توثیق ہو رہی ہے...",
|
||||||
|
waitAlert: "توثیق ہو رہی ہے... براہ کرم انتظار کریں۔",
|
||||||
|
cancel: "منسوخ کریں",
|
||||||
|
enterCodeFromImage: "اگلے مرحلے پر جانے کے لیے، براہ کرم نیچے دی گئی تصویر سے کوڈ درج کریں۔"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ur", i18n$d);
|
||||||
|
const i18n$c = {
|
||||||
|
ariaLinkLabel: "Altcha (situs web resmi)",
|
||||||
|
enterCode: "Masukkan kode",
|
||||||
|
enterCodeAria: "Masukkan kode yang Anda dengar. Tekan Spasi untuk memutar audio.",
|
||||||
|
error: "Verifikasi gagal. Coba lagi nanti.",
|
||||||
|
expired: "Verifikasi telah kedaluwarsa. Coba lagi.",
|
||||||
|
footer: 'Dilindungi oleh <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (situs web resmi)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Dapatkan tantangan audio",
|
||||||
|
label: "Saya bukan robot",
|
||||||
|
loading: "Memuat...",
|
||||||
|
reload: "Muat ulang",
|
||||||
|
verify: "Verifikasi",
|
||||||
|
verificationRequired: "Verifikasi diperlukan!",
|
||||||
|
verified: "Terverifikasi",
|
||||||
|
verifying: "Memverifikasi...",
|
||||||
|
waitAlert: "Memverifikasi... harap tunggu.",
|
||||||
|
cancel: "Batal",
|
||||||
|
enterCodeFromImage: "Untuk melanjutkan, silakan masukkan kode dari gambar di bawah ini."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("id", i18n$c);
|
||||||
|
const i18n$b = {
|
||||||
|
ariaLinkLabel: "Altcha (เว็บไซต์ทางการ)",
|
||||||
|
enterCode: "ป้อนรหัส",
|
||||||
|
enterCodeAria: "ป้อนรหัสที่คุณได้ยิน กด Space เพื่อเล่นเสียง",
|
||||||
|
error: "การตรวจสอบล้มเหลว กรุณาลองอีกครั้งภายหลัง",
|
||||||
|
expired: "การตรวจสอบหมดอายุ กรุณาลองใหม่",
|
||||||
|
footer: 'ป้องกันโดย <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (เว็บไซต์ทางการ)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "รับการท้าทายเสียง",
|
||||||
|
label: "ฉันไม่ใช่บอท",
|
||||||
|
loading: "กำลังโหลด...",
|
||||||
|
reload: "โหลดใหม่",
|
||||||
|
verify: "ตรวจสอบ",
|
||||||
|
verificationRequired: "จำเป็นต้องตรวจสอบ!",
|
||||||
|
verified: "ตรวจสอบแล้ว",
|
||||||
|
verifying: "กำลังตรวจสอบ...",
|
||||||
|
waitAlert: "กำลังตรวจสอบ... กรุณารอ",
|
||||||
|
cancel: "ยกเลิก",
|
||||||
|
enterCodeFromImage: "เพื่อดำเนินการต่อ โปรดป้อนรหัสจากรูปภาพด้านล่าง"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("th", i18n$b);
|
||||||
|
const i18n$a = {
|
||||||
|
ariaLinkLabel: "Altcha (trang web chính thức)",
|
||||||
|
enterCode: "Nhập mã",
|
||||||
|
enterCodeAria: "Nhập mã bạn nghe được. Nhấn Phím cách để phát âm thanh.",
|
||||||
|
error: "Xác minh thất bại. Vui lòng thử lại sau.",
|
||||||
|
expired: "Xác minh đã hết hạn. Vui lòng thử lại.",
|
||||||
|
footer: 'Được bảo vệ bởi <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (trang web chính thức)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Nhận thử thách âm thanh",
|
||||||
|
label: "Tôi không phải là robot",
|
||||||
|
loading: "Đang tải...",
|
||||||
|
reload: "Tải lại",
|
||||||
|
verify: "Xác minh",
|
||||||
|
verificationRequired: "Yêu cầu xác minh!",
|
||||||
|
verified: "Đã xác minh",
|
||||||
|
verifying: "Đang xác minh...",
|
||||||
|
waitAlert: "Đang xác minh... vui lòng chờ.",
|
||||||
|
cancel: "Hủy bỏ",
|
||||||
|
enterCodeFromImage: "Để tiếp tục, vui lòng nhập mã từ hình ảnh bên dưới."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("vi", i18n$a);
|
||||||
|
const i18n$9 = {
|
||||||
|
ariaLinkLabel: "Altcha (الموقع الرسمي)",
|
||||||
|
enterCode: "أدخل الرمز",
|
||||||
|
enterCodeAria: "أدخل الرمز الذي تسمعه. اضغط على المسافة لتشغيل الصوت.",
|
||||||
|
error: "فشل التحقق. حاول مرة أخرى لاحقاً.",
|
||||||
|
expired: "انتهت صلاحية التحقق. حاول مرة أخرى.",
|
||||||
|
footer: 'محمي بواسطة <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (الموقع الرسمي)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "احصل على تحدي صوتي",
|
||||||
|
label: "أنا لست روبوتاً",
|
||||||
|
loading: "جارٍ التحميل...",
|
||||||
|
reload: "إعادة تحميل",
|
||||||
|
verify: "تحقق",
|
||||||
|
verificationRequired: "مطلوب التحقق!",
|
||||||
|
verified: "تم التحقق",
|
||||||
|
verifying: "جارٍ التحقق...",
|
||||||
|
waitAlert: "جارٍ التحقق... يرجى الانتظار.",
|
||||||
|
cancel: "إلغاء",
|
||||||
|
enterCodeFromImage: "للمتابعة، يرجى إدخال الرمز من الصورة أدناه."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ar", i18n$9);
|
||||||
|
const i18n$8 = {
|
||||||
|
ariaLinkLabel: "Altcha (وبسایت رسمی)",
|
||||||
|
enterCode: "کد را وارد کنید",
|
||||||
|
enterCodeAria: "کدی که میشنوید را وارد کنید. برای پخش صدا Space را فشار دهید.",
|
||||||
|
error: "احراز هویت ناموفق بود. بعداً دوباره تلاش کنید.",
|
||||||
|
expired: "احراز هویت منقضی شد. دوباره تلاش کنید.",
|
||||||
|
footer: 'محافظت شده توسط <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (وبسایت رسمی)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "دریافت چالش صوتی",
|
||||||
|
label: "من ربات نیستم",
|
||||||
|
loading: "در حال بارگذاری...",
|
||||||
|
reload: "بارگذاری مجدد",
|
||||||
|
verify: "تایید",
|
||||||
|
verificationRequired: "احراز هویت لازم است!",
|
||||||
|
verified: "تایید شد",
|
||||||
|
verifying: "در حال تایید...",
|
||||||
|
waitAlert: "در حال تایید... لطفا منتظر بمانید.",
|
||||||
|
cancel: "لغو کردن",
|
||||||
|
enterCodeFromImage: "برای ادامه، لطفاً کد تصویر زیر را وارد کنید."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("fa", i18n$8);
|
||||||
|
const i18n$7 = {
|
||||||
|
ariaLinkLabel: "Altcha (אתר רשמי)",
|
||||||
|
enterCode: "הזן קוד",
|
||||||
|
enterCodeAria: "הזן את הקוד שאתה שומע. לחץ על רווח להפעלת השמע.",
|
||||||
|
error: "האימות נכשל. נסה שוב מאוחר יותר.",
|
||||||
|
expired: "תוקף האימות פג. נסה שוב.",
|
||||||
|
footer: 'מוגן על ידי <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (אתר רשמי)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "קבל אתגר שמע",
|
||||||
|
label: "אני לא רובוט",
|
||||||
|
loading: "טוען...",
|
||||||
|
reload: "טען מחדש",
|
||||||
|
verify: "אמת",
|
||||||
|
verificationRequired: "נדרש אימות!",
|
||||||
|
verified: "אומת",
|
||||||
|
verifying: "מאמת...",
|
||||||
|
waitAlert: "מבצע אימות... אנא המתן.",
|
||||||
|
cancel: "ביטול",
|
||||||
|
enterCodeFromImage: "כדי להמשיך, אנא הזן את הקוד מהתמונה למטה."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("he", i18n$7);
|
||||||
|
const i18n$6 = {
|
||||||
|
ariaLinkLabel: "Altcha (resmi web sitesi)",
|
||||||
|
enterCode: "Kodu girin",
|
||||||
|
enterCodeAria: "Duyduğunuz kodu girin. Ses dosyasını oynatmak için Boşluk tuşuna basın.",
|
||||||
|
error: "Doğrulama başarısız oldu. Lütfen daha sonra tekrar deneyin.",
|
||||||
|
expired: "Doğrulama süresi doldu. Lütfen tekrar deneyin.",
|
||||||
|
footer: 'ALTCHA tarafından korunuyor <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (resmi web sitesi)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Sesli doğrulama al",
|
||||||
|
label: "Ben robot değilim",
|
||||||
|
loading: "Yükleniyor...",
|
||||||
|
reload: "Yeniden yükle",
|
||||||
|
verify: "Doğrula",
|
||||||
|
verificationRequired: "Doğrulama gerekli!",
|
||||||
|
verified: "Doğrulandı",
|
||||||
|
verifying: "Doğrulama yapılıyor...",
|
||||||
|
waitAlert: "Doğrulama yapılıyor... lütfen bekleyin.",
|
||||||
|
cancel: "İptal",
|
||||||
|
enterCodeFromImage: "Devam etmek için lütfen aşağıdaki resimdeki kodu girin."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("tr", i18n$6);
|
||||||
|
const i18n$5 = {
|
||||||
|
ariaLinkLabel: "Altcha (rəsmi vebsayt)",
|
||||||
|
enterCode: "Kodu daxil edin",
|
||||||
|
enterCodeAria: "Eşitdiyiniz kodu daxil edin. Səsi dinləmək üçün Boşluq düyməsinə basın.",
|
||||||
|
error: "Təsdiqləmə uğursuz oldu. Daha sonra yenidən cəhd edin.",
|
||||||
|
expired: "Təsdiqləmə vaxtı bitdi. Yenidən cəhd edin.",
|
||||||
|
footer: 'Qorunur <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (rəsmi vebsayt)">ALTCHA</a> tərəfindən',
|
||||||
|
getAudioChallenge: "Audio tapşırıq alın",
|
||||||
|
label: "Mən robot deyiləm",
|
||||||
|
loading: "Yüklənir...",
|
||||||
|
reload: "Yenilə",
|
||||||
|
verify: "Təsdiqlə",
|
||||||
|
verificationRequired: "Təsdiqləmə tələb olunur!",
|
||||||
|
verified: "Təsdiqləndi",
|
||||||
|
verifying: "Təsdiqlənir...",
|
||||||
|
waitAlert: "Təsdiqlənir... zəhmət olmasa gözləyin.",
|
||||||
|
cancel: "İmtina et",
|
||||||
|
enterCodeFromImage: "Davam etmək üçün, zəhmət olmasa aşağıdakı şəkildəki kodu daxil edin."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("az", i18n$5);
|
||||||
|
const i18n$4 = {
|
||||||
|
ariaLinkLabel: "Altcha (պաշտոնական կայք)",
|
||||||
|
enterCode: "Մուտքագրեք կոդը",
|
||||||
|
enterCodeAria: "Մուտքագրեք այն կոդը, որը լսում եք։ Ձայնը նվագելու համար սեղմեք բացատ (Space):",
|
||||||
|
error: "Հաստատումը ձախողվեց։ Փորձեք ավելի ուշ։",
|
||||||
|
expired: "Հաստատման ժամկետը լրացել է։ Փորձեք կրկին։",
|
||||||
|
footer: 'Պաշտպանված է <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (պաշտոնական կայք)">ALTCHA</a>-ի կողմից',
|
||||||
|
getAudioChallenge: "Ստանալ ձայնային առաջադրանք",
|
||||||
|
label: "Ես ռոբոտ չեմ",
|
||||||
|
loading: "Բեռնվում է...",
|
||||||
|
reload: "Թարմացնել",
|
||||||
|
verify: "Հաստատել",
|
||||||
|
verificationRequired: "Պահանջվում է հաստատում։",
|
||||||
|
verified: "Հաստատված է",
|
||||||
|
verifying: "Հաստատվում է...",
|
||||||
|
waitAlert: "Հաստատվում է... խնդրում ենք սպասել։",
|
||||||
|
cancel: "Չեղարկել",
|
||||||
|
enterCodeFromImage: "Շարունակելու համար, խնդրում ենք մուտագրել ստորև պատկերից վերցված կոդը:"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("hy", i18n$4);
|
||||||
|
const i18n$3 = {
|
||||||
|
ariaLinkLabel: "Altcha (ოფიციალური ვებსაიტი)",
|
||||||
|
enterCode: "შეიყვანეთ კოდი",
|
||||||
|
enterCodeAria: "შეიყვანეთ კოდი, რომელსაც გაიგონებთ. აუდიოს მოსასმენად დააჭირეთ Space-ს.",
|
||||||
|
error: "ვერიფიკაცია ჩაიშალა. სცადეთ მოგვიანებით.",
|
||||||
|
expired: "ვერიფიკაციის ვადა გავიდა. სცადეთ ხელახლა.",
|
||||||
|
footer: 'დაცულია <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (ოფიციალური ვებსაიტი)">ALTCHA</a>-ით',
|
||||||
|
getAudioChallenge: "მიიღეთ აუდიო გამოწვევა",
|
||||||
|
label: "მე არ ვარ რობოტი",
|
||||||
|
loading: "იტვირთება...",
|
||||||
|
reload: "განახლება",
|
||||||
|
verify: "დადასტურება",
|
||||||
|
verificationRequired: "საჭიროა ვერიფიკაცია!",
|
||||||
|
verified: "დადასტურებულია",
|
||||||
|
verifying: "დადასტურება მიმდინარეობს...",
|
||||||
|
waitAlert: "დადასტურება მიმდინარეობს... გთხოვთ, დაიცადეთ.",
|
||||||
|
cancel: "გაუქმება",
|
||||||
|
enterCodeFromImage: "გაგრძელების მიზნით, გთხოვთ შეიყვანოთ კოდი ქვემოთ მოცემული სურათიდან."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ka", i18n$3);
|
||||||
|
const i18n$2 = {
|
||||||
|
ariaLinkLabel: "Altcha (ресми веб-сайт)",
|
||||||
|
enterCode: "Кодты енгізіңіз",
|
||||||
|
enterCodeAria: "Естіген кодыңызды енгізіңіз. Аудионы ойнату үшін Бос орынды басыңыз.",
|
||||||
|
error: "Тексеру сәтсіз аяқталды. Кейінірек қайталаңыз.",
|
||||||
|
expired: "Тексеру мерзімі аяқталды. Қайталаңыз.",
|
||||||
|
footer: '<a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (ресми веб-сайт)">ALTCHA</a> қорғайды',
|
||||||
|
getAudioChallenge: "Аудио сынақ алу",
|
||||||
|
label: "Мен робот емеспін",
|
||||||
|
loading: "Жүктелуде...",
|
||||||
|
reload: "Қайта жүктеу",
|
||||||
|
verify: "Тексеру",
|
||||||
|
verificationRequired: "Тексеру талап етіледі!",
|
||||||
|
verified: "Тексерілді",
|
||||||
|
verifying: "Тексеруде...",
|
||||||
|
waitAlert: "Тексерілуде... күте тұрыңыз.",
|
||||||
|
cancel: "Болдыру",
|
||||||
|
enterCodeFromImage: "Жалғастыру үшін төмендегі суреттегі кодты енгізіңіз."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("kk", i18n$2);
|
||||||
|
const i18n$1 = {
|
||||||
|
ariaLinkLabel: "Altcha (resmi web sahypa)",
|
||||||
|
enterCode: "Kody giriziň",
|
||||||
|
enterCodeAria: "Eşiden kodyňyzy giriziň. Sesli görkezmäni diňlemek üçin Space basyň.",
|
||||||
|
error: "Barlamak şowsuz boldy. Has soňrak synanyşyň.",
|
||||||
|
expired: "Barlamanyň möhleti gutardy. Gaýtadan synanyşyň.",
|
||||||
|
footer: 'Goralan <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (resmi web sahypa)">ALTCHA</a> tarapyndan',
|
||||||
|
getAudioChallenge: "Sesli tabşyryk alyň",
|
||||||
|
label: "Men robot däl",
|
||||||
|
loading: "Ýüklenýär...",
|
||||||
|
reload: "Täzeden ýükle",
|
||||||
|
verify: "Barla",
|
||||||
|
verificationRequired: "Barlamak zerurdyr!",
|
||||||
|
verified: "Barlandy",
|
||||||
|
verifying: "Barlanýar...",
|
||||||
|
waitAlert: "Barlanýar... garaşyň.",
|
||||||
|
cancel: "Ýapmak",
|
||||||
|
enterCodeFromImage: "Dowam etmek üçin, aşakdaky suratyň koduny giriziň."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("tk", i18n$1);
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (rasmiy veb-sayt)",
|
||||||
|
enterCode: "Kodni kiriting",
|
||||||
|
enterCodeAria: "Eshitgan kodingizni kiriting. Audioni ijro etish uchun Bo'sh joy tugmasini bosing.",
|
||||||
|
error: "Tekshiruv muvaffaqiyatsiz tugadi. Keyinroq qayta urinib ko'ring.",
|
||||||
|
expired: "Tekshiruv muddati tugadi. Qayta urinib ko'ring.",
|
||||||
|
footer: '<a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (rasmiy veb-sayt)">ALTCHA</a> tomonidan himoyalangan',
|
||||||
|
getAudioChallenge: "Audio sinovni olish",
|
||||||
|
label: "Men robot emasman",
|
||||||
|
loading: "Yuklanmoqda...",
|
||||||
|
reload: "Qayta yuklash",
|
||||||
|
verify: "Tekshirish",
|
||||||
|
verificationRequired: "Tekshiruv talab qilinadi!",
|
||||||
|
verified: "Tekshirildi",
|
||||||
|
verifying: "Tekshirilmoqda...",
|
||||||
|
waitAlert: "Tekshirilmoqda... iltimos kuting.",
|
||||||
|
cancel: "Bekor qilish",
|
||||||
|
enterCodeFromImage: "Davom etish uchun, iltimos, quyidagi rasmda ko'rsatilgan kodni kiriting."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("uz", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/az'; export {};
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (rəsmi vebsayt)",
|
||||||
|
enterCode: "Kodu daxil edin",
|
||||||
|
enterCodeAria: "Eşitdiyiniz kodu daxil edin. Səsi dinləmək üçün Boşluq düyməsinə basın.",
|
||||||
|
error: "Təsdiqləmə uğursuz oldu. Daha sonra yenidən cəhd edin.",
|
||||||
|
expired: "Təsdiqləmə vaxtı bitdi. Yenidən cəhd edin.",
|
||||||
|
footer: 'Qorunur <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (rəsmi vebsayt)">ALTCHA</a> tərəfindən',
|
||||||
|
getAudioChallenge: "Audio tapşırıq alın",
|
||||||
|
label: "Mən robot deyiləm",
|
||||||
|
loading: "Yüklənir...",
|
||||||
|
reload: "Yenilə",
|
||||||
|
verify: "Təsdiqlə",
|
||||||
|
verificationRequired: "Təsdiqləmə tələb olunur!",
|
||||||
|
verified: "Təsdiqləndi",
|
||||||
|
verifying: "Təsdiqlənir...",
|
||||||
|
waitAlert: "Təsdiqlənir... zəhmət olmasa gözləyin.",
|
||||||
|
cancel: "İmtina et",
|
||||||
|
enterCodeFromImage: "Davam etmək üçün, zəhmət olmasa aşağıdakı şəkildəki kodu daxil edin."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("az", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (rəsmi vebsayt)",
|
||||||
|
enterCode: "Kodu daxil edin",
|
||||||
|
enterCodeAria: "Eşitdiyiniz kodu daxil edin. Səsi dinləmək üçün Boşluq düyməsinə basın.",
|
||||||
|
error: "Təsdiqləmə uğursuz oldu. Daha sonra yenidən cəhd edin.",
|
||||||
|
expired: "Təsdiqləmə vaxtı bitdi. Yenidən cəhd edin.",
|
||||||
|
footer: 'Qorunur <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (rəsmi vebsayt)">ALTCHA</a> tərəfindən',
|
||||||
|
getAudioChallenge: "Audio tapşırıq alın",
|
||||||
|
label: "Mən robot deyiləm",
|
||||||
|
loading: "Yüklənir...",
|
||||||
|
reload: "Yenilə",
|
||||||
|
verify: "Təsdiqlə",
|
||||||
|
verificationRequired: "Təsdiqləmə tələb olunur!",
|
||||||
|
verified: "Təsdiqləndi",
|
||||||
|
verifying: "Təsdiqlənir...",
|
||||||
|
waitAlert: "Təsdiqlənir... zəhmət olmasa gözləyin.",
|
||||||
|
cancel: "İmtina et",
|
||||||
|
enterCodeFromImage: "Davam etmək üçün, zəhmət olmasa aşağıdakı şəkildəki kodu daxil edin."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("az", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/be'; export {};
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (афіцыйны сайт)",
|
||||||
|
enterCode: "Увядзіце код",
|
||||||
|
enterCodeAria: "Увядзіце код, які вы чуеце. Націсніце прабел, каб прайграць аўдыё.",
|
||||||
|
error: "Праверка не прайшла. Паспрабуйце пазней.",
|
||||||
|
expired: "Тэрмін праверкі скончыўся. Паспрабуйце зноў.",
|
||||||
|
footer: 'Абаронена <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (афіцыйны сайт)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Атрымаць аўдыё выклік",
|
||||||
|
label: "Я не робат",
|
||||||
|
loading: "Загрузка...",
|
||||||
|
reload: "Перазагрузіць",
|
||||||
|
verify: "Праверыць",
|
||||||
|
verificationRequired: "Патрабуецца праверка!",
|
||||||
|
verified: "Праверана",
|
||||||
|
verifying: "Правяраем...",
|
||||||
|
waitAlert: "Праверка... калі ласка, пачакайце.",
|
||||||
|
cancel: "Скасаваць",
|
||||||
|
enterCodeFromImage: "Каб працягнуць, увядзіце код з малюнка ніжэй."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("be", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (афіцыйны сайт)",
|
||||||
|
enterCode: "Увядзіце код",
|
||||||
|
enterCodeAria: "Увядзіце код, які вы чуеце. Націсніце прабел, каб прайграць аўдыё.",
|
||||||
|
error: "Праверка не прайшла. Паспрабуйце пазней.",
|
||||||
|
expired: "Тэрмін праверкі скончыўся. Паспрабуйце зноў.",
|
||||||
|
footer: 'Абаронена <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (афіцыйны сайт)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Атрымаць аўдыё выклік",
|
||||||
|
label: "Я не робат",
|
||||||
|
loading: "Загрузка...",
|
||||||
|
reload: "Перазагрузіць",
|
||||||
|
verify: "Праверыць",
|
||||||
|
verificationRequired: "Патрабуецца праверка!",
|
||||||
|
verified: "Праверана",
|
||||||
|
verifying: "Правяраем...",
|
||||||
|
waitAlert: "Праверка... калі ласка, пачакайце.",
|
||||||
|
cancel: "Скасаваць",
|
||||||
|
enterCodeFromImage: "Каб працягнуць, увядзіце код з малюнка ніжэй."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("be", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/bg'; export {};
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (официален уебсайт)",
|
||||||
|
enterCode: "Въведете код",
|
||||||
|
enterCodeAria: "Въведете кода, който чувате. Натиснете Space за възпроизвеждане на аудио.",
|
||||||
|
error: "Проверката неуспешна. Моля, опитайте по-късно.",
|
||||||
|
expired: "Времето за проверка изтече. Моля, опитайте отново.",
|
||||||
|
footer: 'Защитено от <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (официален уебсайт)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Аудио проверка",
|
||||||
|
label: "Аз не съм робот",
|
||||||
|
loading: "Зареждане...",
|
||||||
|
reload: "Презареди",
|
||||||
|
verify: "Провери",
|
||||||
|
verificationRequired: "Изисква се проверка!",
|
||||||
|
verified: "Проверено",
|
||||||
|
verifying: "Проверява се...",
|
||||||
|
waitAlert: "Проверката е в процес... моля изчакайте.",
|
||||||
|
cancel: "Отказ",
|
||||||
|
enterCodeFromImage: "За да продължите, моля, въведете кода от изображението по-долу."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("bg", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (официален уебсайт)",
|
||||||
|
enterCode: "Въведете код",
|
||||||
|
enterCodeAria: "Въведете кода, който чувате. Натиснете Space за възпроизвеждане на аудио.",
|
||||||
|
error: "Проверката неуспешна. Моля, опитайте по-късно.",
|
||||||
|
expired: "Времето за проверка изтече. Моля, опитайте отново.",
|
||||||
|
footer: 'Защитено от <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (официален уебсайт)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Аудио проверка",
|
||||||
|
label: "Аз не съм робот",
|
||||||
|
loading: "Зареждане...",
|
||||||
|
reload: "Презареди",
|
||||||
|
verify: "Провери",
|
||||||
|
verificationRequired: "Изисква се проверка!",
|
||||||
|
verified: "Проверено",
|
||||||
|
verifying: "Проверява се...",
|
||||||
|
waitAlert: "Проверката е в процес... моля изчакайте.",
|
||||||
|
cancel: "Отказ",
|
||||||
|
enterCodeFromImage: "За да продължите, моля, въведете кода от изображението по-долу."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("bg", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/bn'; export {};
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (অফিসিয়াল ওয়েবসাইট)",
|
||||||
|
enterCode: "কোড লিখুন",
|
||||||
|
enterCodeAria: "আপনি যে কোড শুনতে পান তা লিখুন। অডিও প্লে করতে স্পেস বাটন টিপুন।",
|
||||||
|
error: "যাচাইকরণ ব্যর্থ হয়েছে। পরে আবার চেষ্টা করুন।",
|
||||||
|
expired: "যাচাইকরণ সময়সীমা শেষ হয়েছে। আবার চেষ্টা করুন।",
|
||||||
|
footer: 'দ্বারা সুরক্ষিত <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (অফিসিয়াল ওয়েবসাইট)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "অডিও চ্যালেঞ্জ নিন",
|
||||||
|
label: "আমি রোবট নই",
|
||||||
|
loading: "লোড হচ্ছে...",
|
||||||
|
reload: "পুনরায় লোড করুন",
|
||||||
|
verify: "যাচাই করুন",
|
||||||
|
verificationRequired: "যাচাই প্রয়োজন!",
|
||||||
|
verified: "যাচাই করা হয়েছে",
|
||||||
|
verifying: "যাচাই করা হচ্ছে...",
|
||||||
|
waitAlert: "যাচাই করা হচ্ছে... দয়া করে অপেক্ষা করুন।",
|
||||||
|
cancel: "বাতিল করুন",
|
||||||
|
enterCodeFromImage: "এগিয়ে যেতে, অনুগ্রহ করে নীচের চিত্র থেকে কোডটি প্রবেশ করান।"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("bn", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (অফিসিয়াল ওয়েবসাইট)",
|
||||||
|
enterCode: "কোড লিখুন",
|
||||||
|
enterCodeAria: "আপনি যে কোড শুনতে পান তা লিখুন। অডিও প্লে করতে স্পেস বাটন টিপুন।",
|
||||||
|
error: "যাচাইকরণ ব্যর্থ হয়েছে। পরে আবার চেষ্টা করুন।",
|
||||||
|
expired: "যাচাইকরণ সময়সীমা শেষ হয়েছে। আবার চেষ্টা করুন।",
|
||||||
|
footer: 'দ্বারা সুরক্ষিত <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (অফিসিয়াল ওয়েবসাইট)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "অডিও চ্যালেঞ্জ নিন",
|
||||||
|
label: "আমি রোবট নই",
|
||||||
|
loading: "লোড হচ্ছে...",
|
||||||
|
reload: "পুনরায় লোড করুন",
|
||||||
|
verify: "যাচাই করুন",
|
||||||
|
verificationRequired: "যাচাই প্রয়োজন!",
|
||||||
|
verified: "যাচাই করা হয়েছে",
|
||||||
|
verifying: "যাচাই করা হচ্ছে...",
|
||||||
|
waitAlert: "যাচাই করা হচ্ছে... দয়া করে অপেক্ষা করুন।",
|
||||||
|
cancel: "বাতিল করুন",
|
||||||
|
enterCodeFromImage: "এগিয়ে যেতে, অনুগ্রহ করে নীচের চিত্র থেকে কোডটি প্রবেশ করান।"
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("bn", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/br'; export {};
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/bs'; export {};
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (službena web stranica)",
|
||||||
|
enterCode: "Unesite kod",
|
||||||
|
enterCodeAria: "Unesite kod koji čujete. Pritisnite Space da biste pustili zvuk.",
|
||||||
|
error: "Verifikacija nije uspjela. Pokušajte ponovo kasnije.",
|
||||||
|
expired: "Verifikacija je istekla. Pokušajte ponovo.",
|
||||||
|
footer: 'Zaštićeno od strane <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (službena web stranica)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Dohvatite audio izazov",
|
||||||
|
label: "Nisam robot",
|
||||||
|
loading: "Učitavanje...",
|
||||||
|
reload: "Ponovno učitaj",
|
||||||
|
verify: "Verifikuj",
|
||||||
|
verificationRequired: "Verifikacija je obavezna!",
|
||||||
|
verified: "Verifikovano",
|
||||||
|
verifying: "Verifikacija u toku...",
|
||||||
|
waitAlert: "Verifikacija u toku... molimo vas da sačekate.",
|
||||||
|
cancel: "Odustani",
|
||||||
|
enterCodeFromImage: "Za nastavak, molimo unesite kod sa slike ispod."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("bs", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (službena web stranica)",
|
||||||
|
enterCode: "Unesite kod",
|
||||||
|
enterCodeAria: "Unesite kod koji čujete. Pritisnite Space da biste pustili zvuk.",
|
||||||
|
error: "Verifikacija nije uspjela. Pokušajte ponovo kasnije.",
|
||||||
|
expired: "Verifikacija je istekla. Pokušajte ponovo.",
|
||||||
|
footer: 'Zaštićeno od strane <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (službena web stranica)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Dohvatite audio izazov",
|
||||||
|
label: "Nisam robot",
|
||||||
|
loading: "Učitavanje...",
|
||||||
|
reload: "Ponovno učitaj",
|
||||||
|
verify: "Verifikuj",
|
||||||
|
verificationRequired: "Verifikacija je obavezna!",
|
||||||
|
verified: "Verifikovano",
|
||||||
|
verifying: "Verifikacija u toku...",
|
||||||
|
waitAlert: "Verifikacija u toku... molimo vas da sačekate.",
|
||||||
|
cancel: "Odustani",
|
||||||
|
enterCodeFromImage: "Za nastavak, molimo unesite kod sa slike ispod."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("bs", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/ca'; export {};
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (lloc web oficial)",
|
||||||
|
enterCode: "Introdueix el codi",
|
||||||
|
enterCodeAria: "Introdueix el codi que escoltes. Prem Espai per reproduir l’àudio.",
|
||||||
|
error: "Verificació fallida. Torna-ho a provar més tard.",
|
||||||
|
expired: "Verificació expirada. Torna-ho a provar.",
|
||||||
|
footer: 'Protegit per <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (lloc web oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtenir un desafiament d’àudio",
|
||||||
|
label: "No sóc un robot",
|
||||||
|
loading: "Carregant...",
|
||||||
|
reload: "Torna a carregar",
|
||||||
|
verify: "Verificar",
|
||||||
|
verificationRequired: "Es requereix verificació!",
|
||||||
|
verified: "Verificat",
|
||||||
|
verifying: "Verificant...",
|
||||||
|
waitAlert: "Verificant... si us plau, espera.",
|
||||||
|
cancel: "Cancel·la",
|
||||||
|
enterCodeFromImage: "Per continuar, si us plau, introdueix el codi de la imatge següent."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ca", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (lloc web oficial)",
|
||||||
|
enterCode: "Introdueix el codi",
|
||||||
|
enterCodeAria: "Introdueix el codi que escoltes. Prem Espai per reproduir l’àudio.",
|
||||||
|
error: "Verificació fallida. Torna-ho a provar més tard.",
|
||||||
|
expired: "Verificació expirada. Torna-ho a provar.",
|
||||||
|
footer: 'Protegit per <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (lloc web oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtenir un desafiament d’àudio",
|
||||||
|
label: "No sóc un robot",
|
||||||
|
loading: "Carregant...",
|
||||||
|
reload: "Torna a carregar",
|
||||||
|
verify: "Verificar",
|
||||||
|
verificationRequired: "Es requereix verificació!",
|
||||||
|
verified: "Verificat",
|
||||||
|
verifying: "Verificant...",
|
||||||
|
waitAlert: "Verificant... si us plau, espera.",
|
||||||
|
cancel: "Cancel·la",
|
||||||
|
enterCodeFromImage: "Per continuar, si us plau, introdueix el codi de la imatge següent."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ca", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/cn'; export {};
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/cs'; export {};
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (oficiální web)",
|
||||||
|
enterCode: "Zadejte kód",
|
||||||
|
enterCodeAria: "Zadejte kód, který slyšíte. Stisknutím mezerníku přehrajete zvuk.",
|
||||||
|
error: "Ověření selhalo. Zkuste to prosím později.",
|
||||||
|
expired: "Ověření vypršelo. Zkuste to prosím znovu.",
|
||||||
|
footer: 'Chráněno pomocí <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oficiální web)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Získat audio výzvu",
|
||||||
|
label: "Nejsem robot",
|
||||||
|
loading: "Načítání...",
|
||||||
|
reload: "Znovu načíst",
|
||||||
|
verify: "Ověřit",
|
||||||
|
verificationRequired: "Vyžaduje se ověření!",
|
||||||
|
verified: "Ověřeno",
|
||||||
|
verifying: "Ověřování...",
|
||||||
|
waitAlert: "Probíhá ověření... prosím počkejte.",
|
||||||
|
cancel: "Zrušit",
|
||||||
|
enterCodeFromImage: "Pro pokračování zadejte kód z obrázku níže."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("cs", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (oficiální web)",
|
||||||
|
enterCode: "Zadejte kód",
|
||||||
|
enterCodeAria: "Zadejte kód, který slyšíte. Stisknutím mezerníku přehrajete zvuk.",
|
||||||
|
error: "Ověření selhalo. Zkuste to prosím později.",
|
||||||
|
expired: "Ověření vypršelo. Zkuste to prosím znovu.",
|
||||||
|
footer: 'Chráněno pomocí <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oficiální web)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Získat audio výzvu",
|
||||||
|
label: "Nejsem robot",
|
||||||
|
loading: "Načítání...",
|
||||||
|
reload: "Znovu načíst",
|
||||||
|
verify: "Ověřit",
|
||||||
|
verificationRequired: "Vyžaduje se ověření!",
|
||||||
|
verified: "Ověřeno",
|
||||||
|
verifying: "Ověřování...",
|
||||||
|
waitAlert: "Probíhá ověření... prosím počkejte.",
|
||||||
|
cancel: "Zrušit",
|
||||||
|
enterCodeFromImage: "Pro pokračování zadejte kód z obrázku níže."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("cs", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/da'; export {};
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (officiel hjemmeside)",
|
||||||
|
enterCode: "Indtast kode",
|
||||||
|
enterCodeAria: "Indtast den kode, du hører. Tryk på mellemrumstasten for at afspille lyd.",
|
||||||
|
error: "Verificering mislykkedes. Prøv venligst igen senere.",
|
||||||
|
expired: "Verificering udløbet. Prøv venligst igen.",
|
||||||
|
footer: 'Beskyttet af <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (officiel hjemmeside)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Hent lydudfordring",
|
||||||
|
label: "Jeg er ikke en robot",
|
||||||
|
loading: "Indlæser...",
|
||||||
|
reload: "Genindlæs",
|
||||||
|
verify: "Verificer",
|
||||||
|
verificationRequired: "Verificering kræves!",
|
||||||
|
verified: "Verificeret",
|
||||||
|
verifying: "Verificerer...",
|
||||||
|
waitAlert: "Verificerer... vent venligst.",
|
||||||
|
cancel: "Annuller",
|
||||||
|
enterCodeFromImage: "For at fortsætte, bedes du indtaste koden fra billedet herunder."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("da", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (officiel hjemmeside)",
|
||||||
|
enterCode: "Indtast kode",
|
||||||
|
enterCodeAria: "Indtast den kode, du hører. Tryk på mellemrumstasten for at afspille lyd.",
|
||||||
|
error: "Verificering mislykkedes. Prøv venligst igen senere.",
|
||||||
|
expired: "Verificering udløbet. Prøv venligst igen.",
|
||||||
|
footer: 'Beskyttet af <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (officiel hjemmeside)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Hent lydudfordring",
|
||||||
|
label: "Jeg er ikke en robot",
|
||||||
|
loading: "Indlæser...",
|
||||||
|
reload: "Genindlæs",
|
||||||
|
verify: "Verificer",
|
||||||
|
verificationRequired: "Verificering kræves!",
|
||||||
|
verified: "Verificeret",
|
||||||
|
verifying: "Verificerer...",
|
||||||
|
waitAlert: "Verificerer... vent venligst.",
|
||||||
|
cancel: "Annuller",
|
||||||
|
enterCodeFromImage: "For at fortsætte, bedes du indtaste koden fra billedet herunder."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("da", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/de'; export {};
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (offizielle Website)",
|
||||||
|
enterCode: "Code eingeben",
|
||||||
|
enterCodeAria: "Geben Sie den Code ein, den Sie hören. Drücken Sie die Leertaste, um die Audio abzuspielen.",
|
||||||
|
error: "Überprüfung fehlgeschlagen. Bitte versuchen Sie es später erneut.",
|
||||||
|
expired: "Überprüfung abgelaufen. Bitte versuchen Sie es erneut.",
|
||||||
|
footer: 'Geschützt durch <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (offizielle Website)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Audio-Herausforderung anfordern",
|
||||||
|
label: "Ich bin kein Roboter",
|
||||||
|
loading: "Lade...",
|
||||||
|
reload: "Neu laden",
|
||||||
|
verify: "Überprüfen",
|
||||||
|
verificationRequired: "Überprüfung erforderlich!",
|
||||||
|
verified: "Überprüft",
|
||||||
|
verifying: "Wird überprüft...",
|
||||||
|
waitAlert: "Überprüfung läuft... bitte warten.",
|
||||||
|
cancel: "Abbrechen",
|
||||||
|
enterCodeFromImage: "Um fortzufahren, geben Sie bitte den Code aus dem Bild unten ein."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("de", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (offizielle Website)",
|
||||||
|
enterCode: "Code eingeben",
|
||||||
|
enterCodeAria: "Geben Sie den Code ein, den Sie hören. Drücken Sie die Leertaste, um die Audio abzuspielen.",
|
||||||
|
error: "Überprüfung fehlgeschlagen. Bitte versuchen Sie es später erneut.",
|
||||||
|
expired: "Überprüfung abgelaufen. Bitte versuchen Sie es erneut.",
|
||||||
|
footer: 'Geschützt durch <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (offizielle Website)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Audio-Herausforderung anfordern",
|
||||||
|
label: "Ich bin kein Roboter",
|
||||||
|
loading: "Lade...",
|
||||||
|
reload: "Neu laden",
|
||||||
|
verify: "Überprüfen",
|
||||||
|
verificationRequired: "Überprüfung erforderlich!",
|
||||||
|
verified: "Überprüft",
|
||||||
|
verifying: "Wird überprüft...",
|
||||||
|
waitAlert: "Überprüfung läuft... bitte warten.",
|
||||||
|
cancel: "Abbrechen",
|
||||||
|
enterCodeFromImage: "Um fortzufahren, geben Sie bitte den Code aus dem Bild unten ein."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("de", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/el'; export {};
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (επίσημος ιστότοπος)",
|
||||||
|
enterCode: "Εισαγάγετε κωδικό",
|
||||||
|
enterCodeAria: "Εισαγάγετε τον κωδικό που ακούτε. Πατήστε Space για να παίξετε τον ήχο.",
|
||||||
|
error: "Η επαλήθευση απέτυχε. Δοκιμάστε ξανά αργότερα.",
|
||||||
|
expired: "Η επαλήθευση έληξε. Δοκιμάστε ξανά.",
|
||||||
|
footer: 'Προστατεύεται από το <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (επίσημος ιστότοπος)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Λήψη ηχητικής δοκιμασίας",
|
||||||
|
label: "Δεν είμαι ρομπότ",
|
||||||
|
loading: "Φόρτωση...",
|
||||||
|
reload: "Επαναφόρτωση",
|
||||||
|
verify: "Επαλήθευση",
|
||||||
|
verificationRequired: "Απαιτείται έλεγχος!",
|
||||||
|
verified: "Επαληθεύτηκε",
|
||||||
|
verifying: "Γίνεται επαλήθευση...",
|
||||||
|
waitAlert: "Γίνεται επαλήθευση... παρακαλώ περιμένετε.",
|
||||||
|
cancel: "Ακύρωση",
|
||||||
|
enterCodeFromImage: "Για να συνεχίσετε, εισάγετε τον κωδικό από την παρακάτω εικόνα."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("el", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (επίσημος ιστότοπος)",
|
||||||
|
enterCode: "Εισαγάγετε κωδικό",
|
||||||
|
enterCodeAria: "Εισαγάγετε τον κωδικό που ακούτε. Πατήστε Space για να παίξετε τον ήχο.",
|
||||||
|
error: "Η επαλήθευση απέτυχε. Δοκιμάστε ξανά αργότερα.",
|
||||||
|
expired: "Η επαλήθευση έληξε. Δοκιμάστε ξανά.",
|
||||||
|
footer: 'Προστατεύεται από το <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (επίσημος ιστότοπος)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Λήψη ηχητικής δοκιμασίας",
|
||||||
|
label: "Δεν είμαι ρομπότ",
|
||||||
|
loading: "Φόρτωση...",
|
||||||
|
reload: "Επαναφόρτωση",
|
||||||
|
verify: "Επαλήθευση",
|
||||||
|
verificationRequired: "Απαιτείται έλεγχος!",
|
||||||
|
verified: "Επαληθεύτηκε",
|
||||||
|
verifying: "Γίνεται επαλήθευση...",
|
||||||
|
waitAlert: "Γίνεται επαλήθευση... παρακαλώ περιμένετε.",
|
||||||
|
cancel: "Ακύρωση",
|
||||||
|
enterCodeFromImage: "Για να συνεχίσετε, εισάγετε τον κωδικό από την παρακάτω εικόνα."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("el", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/en'; export {};
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (official website)",
|
||||||
|
cancel: "Cancel",
|
||||||
|
enterCode: "Enter code",
|
||||||
|
enterCodeAria: "Enter code you hear. Press Space to play audio.",
|
||||||
|
enterCodeFromImage: "To proceed, please enter the code from the image below.",
|
||||||
|
error: "Verification failed. Try again later.",
|
||||||
|
expired: "Verification expired. Try again.",
|
||||||
|
footer: 'Protected by <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (official website)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Get an audio challenge",
|
||||||
|
label: "I'm not a robot",
|
||||||
|
loading: "Loading...",
|
||||||
|
reload: "Reload",
|
||||||
|
verify: "Verify",
|
||||||
|
verificationRequired: "Verification required!",
|
||||||
|
verified: "Verified",
|
||||||
|
verifying: "Verifying...",
|
||||||
|
waitAlert: "Verifying... please wait."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("en", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (official website)",
|
||||||
|
cancel: "Cancel",
|
||||||
|
enterCode: "Enter code",
|
||||||
|
enterCodeAria: "Enter code you hear. Press Space to play audio.",
|
||||||
|
enterCodeFromImage: "To proceed, please enter the code from the image below.",
|
||||||
|
error: "Verification failed. Try again later.",
|
||||||
|
expired: "Verification expired. Try again.",
|
||||||
|
footer: 'Protected by <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (official website)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Get an audio challenge",
|
||||||
|
label: "I'm not a robot",
|
||||||
|
loading: "Loading...",
|
||||||
|
reload: "Reload",
|
||||||
|
verify: "Verify",
|
||||||
|
verificationRequired: "Verification required!",
|
||||||
|
verified: "Verified",
|
||||||
|
verifying: "Verifying...",
|
||||||
|
waitAlert: "Verifying... please wait."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("en", i18n);
|
||||||
|
}));
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (sitio web oficial)",
|
||||||
|
enterCode: "Ingresa el código",
|
||||||
|
enterCodeAria: "Ingresa el código que escuchas. Presiona Espacio para reproducir el audio.",
|
||||||
|
error: "Falló la verificación. Por favor vuelve a intentarlo más tarde.",
|
||||||
|
expired: "La verificación expiró. Por favor inténtalo de nuevo.",
|
||||||
|
footer: 'Protegido por <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (sitio web oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtener un reto de audio",
|
||||||
|
label: "No soy un robot",
|
||||||
|
loading: "Cargando...",
|
||||||
|
reload: "Volver a cargar",
|
||||||
|
verify: "Verificar",
|
||||||
|
verificationRequired: "¡Verificación requerida!",
|
||||||
|
verified: "Verificado",
|
||||||
|
verifying: "Verificando...",
|
||||||
|
waitAlert: "Verificando... por favor espera.",
|
||||||
|
cancel: "Cancelar",
|
||||||
|
enterCodeFromImage: "Para continuar, ingresa el código de la imagen a continuación."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("es-419", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (sitio web oficial)",
|
||||||
|
enterCode: "Ingresa el código",
|
||||||
|
enterCodeAria: "Ingresa el código que escuchas. Presiona Espacio para reproducir el audio.",
|
||||||
|
error: "Falló la verificación. Por favor vuelve a intentarlo más tarde.",
|
||||||
|
expired: "La verificación expiró. Por favor inténtalo de nuevo.",
|
||||||
|
footer: 'Protegido por <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (sitio web oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtener un reto de audio",
|
||||||
|
label: "No soy un robot",
|
||||||
|
loading: "Cargando...",
|
||||||
|
reload: "Volver a cargar",
|
||||||
|
verify: "Verificar",
|
||||||
|
verificationRequired: "¡Verificación requerida!",
|
||||||
|
verified: "Verificado",
|
||||||
|
verifying: "Verificando...",
|
||||||
|
waitAlert: "Verificando... por favor espera.",
|
||||||
|
cancel: "Cancelar",
|
||||||
|
enterCodeFromImage: "Para continuar, ingresa el código de la imagen a continuación."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("es-419", i18n);
|
||||||
|
}));
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (sitio web oficial)",
|
||||||
|
enterCode: "Introduce el código",
|
||||||
|
enterCodeAria: "Introduce el código que escuchas. Pulsa Espacio para reproducir el audio.",
|
||||||
|
error: "Falló la verificación. Por favor intente nuevamente más tarde.",
|
||||||
|
expired: "Verificación expirada. Por favor intente nuevamente.",
|
||||||
|
footer: 'Protegido por <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (sitio web oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtener un desafío de audio",
|
||||||
|
label: "No soy un robot",
|
||||||
|
loading: "Cargando...",
|
||||||
|
reload: "Recargar",
|
||||||
|
verify: "Verificar",
|
||||||
|
verificationRequired: "¡Verificación requerida!",
|
||||||
|
verified: "Verificado",
|
||||||
|
verifying: "Verificando...",
|
||||||
|
waitAlert: "Verificando... por favor espere.",
|
||||||
|
cancel: "Cancelar",
|
||||||
|
enterCodeFromImage: "Para continuar, introduzca el código de la imagen de abajo."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("es-es", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (sitio web oficial)",
|
||||||
|
enterCode: "Introduce el código",
|
||||||
|
enterCodeAria: "Introduce el código que escuchas. Pulsa Espacio para reproducir el audio.",
|
||||||
|
error: "Falló la verificación. Por favor intente nuevamente más tarde.",
|
||||||
|
expired: "Verificación expirada. Por favor intente nuevamente.",
|
||||||
|
footer: 'Protegido por <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (sitio web oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtener un desafío de audio",
|
||||||
|
label: "No soy un robot",
|
||||||
|
loading: "Cargando...",
|
||||||
|
reload: "Recargar",
|
||||||
|
verify: "Verificar",
|
||||||
|
verificationRequired: "¡Verificación requerida!",
|
||||||
|
verified: "Verificado",
|
||||||
|
verifying: "Verificando...",
|
||||||
|
waitAlert: "Verificando... por favor espere.",
|
||||||
|
cancel: "Cancelar",
|
||||||
|
enterCodeFromImage: "Para continuar, introduzca el código de la imagen de abajo."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("es-es", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/es'; export {};
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/et'; export {};
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (ametlik veebisait)",
|
||||||
|
enterCode: "Sisesta kood",
|
||||||
|
enterCodeAria: "Sisestage kuuldu kood. Vajutage tühikut, et esitada heli.",
|
||||||
|
error: "Kinnitamine ebaõnnestus. Proovi hiljem uuesti.",
|
||||||
|
expired: "Kinnitamine aegus. Proovi uuesti.",
|
||||||
|
footer: 'Kaitstud <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (ametlik veebisait)">ALTCHA</a> poolt',
|
||||||
|
getAudioChallenge: "Hangi heliülesanne",
|
||||||
|
label: "Ma ei ole robot",
|
||||||
|
loading: "Laadimine...",
|
||||||
|
reload: "Laadi uuesti",
|
||||||
|
verify: "Kinnita",
|
||||||
|
verificationRequired: "Kontroll on vajalik!",
|
||||||
|
verified: "Kinnitatud",
|
||||||
|
verifying: "Kinnitamine...",
|
||||||
|
waitAlert: "Kinnitamine... palun oota.",
|
||||||
|
cancel: "Tühista",
|
||||||
|
enterCodeFromImage: "Jätkamiseks sisestage alloleval pildil olev kood."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("et", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (ametlik veebisait)",
|
||||||
|
enterCode: "Sisesta kood",
|
||||||
|
enterCodeAria: "Sisestage kuuldu kood. Vajutage tühikut, et esitada heli.",
|
||||||
|
error: "Kinnitamine ebaõnnestus. Proovi hiljem uuesti.",
|
||||||
|
expired: "Kinnitamine aegus. Proovi uuesti.",
|
||||||
|
footer: 'Kaitstud <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (ametlik veebisait)">ALTCHA</a> poolt',
|
||||||
|
getAudioChallenge: "Hangi heliülesanne",
|
||||||
|
label: "Ma ei ole robot",
|
||||||
|
loading: "Laadimine...",
|
||||||
|
reload: "Laadi uuesti",
|
||||||
|
verify: "Kinnita",
|
||||||
|
verificationRequired: "Kontroll on vajalik!",
|
||||||
|
verified: "Kinnitatud",
|
||||||
|
verifying: "Kinnitamine...",
|
||||||
|
waitAlert: "Kinnitamine... palun oota.",
|
||||||
|
cancel: "Tühista",
|
||||||
|
enterCodeFromImage: "Jätkamiseks sisestage alloleval pildil olev kood."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("et", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/eu'; export {};
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (webgune ofiziala)",
|
||||||
|
enterCode: "Sartu kodea",
|
||||||
|
enterCodeAria: "Sartu entzun duzun kodea. Sakatu Espazioa audioa erreproduzitzeko.",
|
||||||
|
error: "Egiaztatzeak huts egin du. Saiatu berriro geroago.",
|
||||||
|
expired: "Egiaztatzea iraungi da. Saiatu berriro.",
|
||||||
|
footer: '<a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (webgune ofiziala)">ALTCHA</a>k babestuta',
|
||||||
|
getAudioChallenge: "Jaso audio-erronka bat",
|
||||||
|
label: "Ez naiz robot bat",
|
||||||
|
loading: "Kargatzen...",
|
||||||
|
reload: "Birkargatu",
|
||||||
|
verify: "Egiaztatu",
|
||||||
|
verificationRequired: "Egiaztatzea beharrezkoa da!",
|
||||||
|
verified: "Egiaztatuta",
|
||||||
|
verifying: "Egiaztatzen...",
|
||||||
|
waitAlert: "Egiaztatzen... itxaron mesedez.",
|
||||||
|
cancel: "Utzi",
|
||||||
|
enterCodeFromImage: "Jarraitzeko, idatzi beheko irudiko kodea."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("eu", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (webgune ofiziala)",
|
||||||
|
enterCode: "Sartu kodea",
|
||||||
|
enterCodeAria: "Sartu entzun duzun kodea. Sakatu Espazioa audioa erreproduzitzeko.",
|
||||||
|
error: "Egiaztatzeak huts egin du. Saiatu berriro geroago.",
|
||||||
|
expired: "Egiaztatzea iraungi da. Saiatu berriro.",
|
||||||
|
footer: '<a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (webgune ofiziala)">ALTCHA</a>k babestuta',
|
||||||
|
getAudioChallenge: "Jaso audio-erronka bat",
|
||||||
|
label: "Ez naiz robot bat",
|
||||||
|
loading: "Kargatzen...",
|
||||||
|
reload: "Birkargatu",
|
||||||
|
verify: "Egiaztatu",
|
||||||
|
verificationRequired: "Egiaztatzea beharrezkoa da!",
|
||||||
|
verified: "Egiaztatuta",
|
||||||
|
verifying: "Egiaztatzen...",
|
||||||
|
waitAlert: "Egiaztatzen... itxaron mesedez.",
|
||||||
|
cancel: "Utzi",
|
||||||
|
enterCodeFromImage: "Jarraitzeko, idatzi beheko irudiko kodea."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("eu", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/europe'; export {};
|
||||||
+848
@@ -0,0 +1,848 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n$A = {
|
||||||
|
ariaLinkLabel: "Altcha (lloc web oficial)",
|
||||||
|
enterCode: "Introdueix el codi",
|
||||||
|
enterCodeAria: "Introdueix el codi que escoltes. Prem Espai per reproduir l’àudio.",
|
||||||
|
error: "Verificació fallida. Torna-ho a provar més tard.",
|
||||||
|
expired: "Verificació expirada. Torna-ho a provar.",
|
||||||
|
footer: 'Protegit per <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (lloc web oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtenir un desafiament d’àudio",
|
||||||
|
label: "No sóc un robot",
|
||||||
|
loading: "Carregant...",
|
||||||
|
reload: "Torna a carregar",
|
||||||
|
verify: "Verificar",
|
||||||
|
verificationRequired: "Es requereix verificació!",
|
||||||
|
verified: "Verificat",
|
||||||
|
verifying: "Verificant...",
|
||||||
|
waitAlert: "Verificant... si us plau, espera.",
|
||||||
|
cancel: "Cancel·la",
|
||||||
|
enterCodeFromImage: "Per continuar, si us plau, introdueix el codi de la imatge següent."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ca", i18n$A);
|
||||||
|
const i18n$z = {
|
||||||
|
ariaLinkLabel: "Altcha (site officiel)",
|
||||||
|
enterCode: "Entrez le code",
|
||||||
|
enterCodeAria: "Entrez le code que vous entendez. Appuyez sur Espace pour écouter l'audio.",
|
||||||
|
error: "Échec de la vérification. Essayez à nouveau plus tard.",
|
||||||
|
expired: "La vérification a expiré. Essayez à nouveau.",
|
||||||
|
footer: 'Protégé par <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site officiel)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtenir un défi audio",
|
||||||
|
label: "Je ne suis pas un robot",
|
||||||
|
loading: "Chargement...",
|
||||||
|
reload: "Recharger",
|
||||||
|
verify: "Vérifier",
|
||||||
|
verificationRequired: "Vérification requise !",
|
||||||
|
verified: "Vérifié",
|
||||||
|
verifying: "Vérification en cours...",
|
||||||
|
waitAlert: "Vérification en cours... veuillez patienter.",
|
||||||
|
cancel: "Annuler",
|
||||||
|
enterCodeFromImage: "Pour continuer, veuillez entrer le code de l'image ci-dessous."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("fr-fr", i18n$z);
|
||||||
|
const i18n$y = {
|
||||||
|
ariaLinkLabel: "Altcha (offizielle Website)",
|
||||||
|
enterCode: "Code eingeben",
|
||||||
|
enterCodeAria: "Geben Sie den Code ein, den Sie hören. Drücken Sie die Leertaste, um die Audio abzuspielen.",
|
||||||
|
error: "Überprüfung fehlgeschlagen. Bitte versuchen Sie es später erneut.",
|
||||||
|
expired: "Überprüfung abgelaufen. Bitte versuchen Sie es erneut.",
|
||||||
|
footer: 'Geschützt durch <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (offizielle Website)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Audio-Herausforderung anfordern",
|
||||||
|
label: "Ich bin kein Roboter",
|
||||||
|
loading: "Lade...",
|
||||||
|
reload: "Neu laden",
|
||||||
|
verify: "Überprüfen",
|
||||||
|
verificationRequired: "Überprüfung erforderlich!",
|
||||||
|
verified: "Überprüft",
|
||||||
|
verifying: "Wird überprüft...",
|
||||||
|
waitAlert: "Überprüfung läuft... bitte warten.",
|
||||||
|
cancel: "Abbrechen",
|
||||||
|
enterCodeFromImage: "Um fortzufahren, geben Sie bitte den Code aus dem Bild unten ein."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("de", i18n$y);
|
||||||
|
const i18n$x = {
|
||||||
|
ariaLinkLabel: "Altcha (offiziell Websäit)",
|
||||||
|
enterCode: "Code aginn",
|
||||||
|
enterCodeAria: "Gitt de Code an deen dir héiert. Dréckt op d'Weltraumtast fir Audio ofzespillen.",
|
||||||
|
error: "Verifikatioun ass feelgeschloen. Probéiert méi spéit nach emol.",
|
||||||
|
expired: "Verifikatioun ofgelaf. Probéiert nach emol.",
|
||||||
|
footer: 'Geschützt vun <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (offiziell Websäit)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Kritt eng Audio-Herausfuerderung",
|
||||||
|
label: "Ech sinn keen Robot",
|
||||||
|
loading: "Lueden...",
|
||||||
|
reload: "Nei lueden",
|
||||||
|
verify: "Verifizéieren",
|
||||||
|
verificationRequired: "Verifikatioun néideg!",
|
||||||
|
verified: "Verifizéiert",
|
||||||
|
verifying: "Verifizéieren...",
|
||||||
|
waitAlert: "Verifizéieren... waart wgl.",
|
||||||
|
cancel: "Ofbriechen",
|
||||||
|
enterCodeFromImage: "Fir virun ze fueren, gitt wgl. de Code aus dem Bild hei drënner an."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("lb", i18n$x);
|
||||||
|
const i18n$w = {
|
||||||
|
ariaLinkLabel: "Altcha (officiële website)",
|
||||||
|
enterCode: "Voer code in",
|
||||||
|
enterCodeAria: "Voer de code in die je hoort. Druk op Spatie om de audio af te spelen.",
|
||||||
|
error: "Verificatie mislukt. Probeer het later opnieuw.",
|
||||||
|
expired: "Verificatie verlopen. Probeer het opnieuw.",
|
||||||
|
footer: 'Beschermd door <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (officiële website)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Audio-uitdaging ontvangen",
|
||||||
|
label: "Ik ben geen robot",
|
||||||
|
loading: "Laden...",
|
||||||
|
reload: "Herladen",
|
||||||
|
verify: "Verifiëren",
|
||||||
|
verificationRequired: "Verificatie vereist!",
|
||||||
|
verified: "Geverifieerd",
|
||||||
|
verifying: "Bezig met verifiëren...",
|
||||||
|
waitAlert: "Bezig met verifiëren... even geduld a.u.b.",
|
||||||
|
cancel: "Annuleren",
|
||||||
|
enterCodeFromImage: "Om door te gaan, voert u de code uit de onderstaande afbeelding in."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("nl", i18n$w);
|
||||||
|
const i18n$v = {
|
||||||
|
ariaLinkLabel: "Altcha (láithreán gréasáin oifigiúil)",
|
||||||
|
enterCode: "Iontráil cód",
|
||||||
|
enterCodeAria: "Cuir isteach an cód a chloiseann tú. Brúigh Spás chun an fuaime a sheinm.",
|
||||||
|
error: "Theip ar an bhfíorú. Bain triail eile as níos déanaí.",
|
||||||
|
expired: "Tá an fíorú as feidhm. Bain triail eile as.",
|
||||||
|
footer: 'Cosanta ag <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (láithreán gréasáin oifigiúil)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Faigh dúshlán fuaime",
|
||||||
|
label: "Níl mé i mo róbat",
|
||||||
|
loading: "Á luchtú...",
|
||||||
|
reload: "Athluchtaigh",
|
||||||
|
verify: "Fíoraigh",
|
||||||
|
verificationRequired: "Fíorú riachtanach!",
|
||||||
|
verified: "Fíoraithe",
|
||||||
|
verifying: "Fíorú ar siúl...",
|
||||||
|
waitAlert: "Fíorú ar siúl... fan go fóill.",
|
||||||
|
cancel: "Cealaigh",
|
||||||
|
enterCodeFromImage: "Chun dul ar aghaidh, le do thoil cuir isteach an cód ón íomhá thíos."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ga", i18n$v);
|
||||||
|
const i18n$u = {
|
||||||
|
ariaLinkLabel: "Altcha (sito ufficiale)",
|
||||||
|
enterCode: "Inserisci il codice",
|
||||||
|
enterCodeAria: "Inserisci il codice che senti. Premi Spazio per riprodurre l'audio.",
|
||||||
|
error: "Verifica fallita. Riprova più tardi.",
|
||||||
|
expired: "Verifica scaduta. Riprova.",
|
||||||
|
footer: 'Protetto da <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (sito ufficiale)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Ottieni una sfida audio",
|
||||||
|
label: "Non sono un robot",
|
||||||
|
loading: "Caricamento...",
|
||||||
|
reload: "Ricarica",
|
||||||
|
verify: "Verifica",
|
||||||
|
verificationRequired: "Verifica richiesta!",
|
||||||
|
verified: "Verificato",
|
||||||
|
verifying: "Verifica in corso...",
|
||||||
|
waitAlert: "Verifica in corso... attendere.",
|
||||||
|
cancel: "Annulla",
|
||||||
|
enterCodeFromImage: "Per procedere, inserisci il codice dall'immagine sottostante."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("it", i18n$u);
|
||||||
|
const i18n$t = {
|
||||||
|
ariaLinkLabel: "Altcha (site oficial)",
|
||||||
|
enterCode: "Introduza o código",
|
||||||
|
enterCodeAria: "Introduza o código que ouve. Prima Espaço para reproduzir o áudio.",
|
||||||
|
error: "A verificação falhou. Por favor, tente novamente mais tarde.",
|
||||||
|
expired: "Verificação expirada. Por favor, tente novamente.",
|
||||||
|
footer: 'Protegido por <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obter desafio de áudio",
|
||||||
|
label: "Não sou um robô",
|
||||||
|
loading: "A carregar...",
|
||||||
|
reload: "Recarregar",
|
||||||
|
verify: "Verificar",
|
||||||
|
verificationRequired: "Verificação necessária!",
|
||||||
|
verified: "Verificado",
|
||||||
|
verifying: "A verificar...",
|
||||||
|
waitAlert: "A verificar... por favor aguarde.",
|
||||||
|
cancel: "Cancelar",
|
||||||
|
enterCodeFromImage: "Para prosseguir, introduza o código da imagem abaixo."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("pt-pt", i18n$t);
|
||||||
|
const i18n$s = {
|
||||||
|
ariaLinkLabel: "Altcha (sitio web oficial)",
|
||||||
|
enterCode: "Introduce el código",
|
||||||
|
enterCodeAria: "Introduce el código que escuchas. Pulsa Espacio para reproducir el audio.",
|
||||||
|
error: "Falló la verificación. Por favor intente nuevamente más tarde.",
|
||||||
|
expired: "Verificación expirada. Por favor intente nuevamente.",
|
||||||
|
footer: 'Protegido por <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (sitio web oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtener un desafío de audio",
|
||||||
|
label: "No soy un robot",
|
||||||
|
loading: "Cargando...",
|
||||||
|
reload: "Recargar",
|
||||||
|
verify: "Verificar",
|
||||||
|
verificationRequired: "¡Verificación requerida!",
|
||||||
|
verified: "Verificado",
|
||||||
|
verifying: "Verificando...",
|
||||||
|
waitAlert: "Verificando... por favor espere.",
|
||||||
|
cancel: "Cancelar",
|
||||||
|
enterCodeFromImage: "Para continuar, introduzca el código de la imagen de abajo."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("es-es", i18n$s);
|
||||||
|
const i18n$r = {
|
||||||
|
ariaLinkLabel: "Altcha (webgune ofiziala)",
|
||||||
|
enterCode: "Sartu kodea",
|
||||||
|
enterCodeAria: "Sartu entzun duzun kodea. Sakatu Espazioa audioa erreproduzitzeko.",
|
||||||
|
error: "Egiaztatzeak huts egin du. Saiatu berriro geroago.",
|
||||||
|
expired: "Egiaztatzea iraungi da. Saiatu berriro.",
|
||||||
|
footer: '<a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (webgune ofiziala)">ALTCHA</a>k babestuta',
|
||||||
|
getAudioChallenge: "Jaso audio-erronka bat",
|
||||||
|
label: "Ez naiz robot bat",
|
||||||
|
loading: "Kargatzen...",
|
||||||
|
reload: "Birkargatu",
|
||||||
|
verify: "Egiaztatu",
|
||||||
|
verificationRequired: "Egiaztatzea beharrezkoa da!",
|
||||||
|
verified: "Egiaztatuta",
|
||||||
|
verifying: "Egiaztatzen...",
|
||||||
|
waitAlert: "Egiaztatzen... itxaron mesedez.",
|
||||||
|
cancel: "Utzi",
|
||||||
|
enterCodeFromImage: "Jarraitzeko, idatzi beheko irudiko kodea."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("eu", i18n$r);
|
||||||
|
const i18n$q = {
|
||||||
|
ariaLinkLabel: "Altcha (official website)",
|
||||||
|
cancel: "Cancel",
|
||||||
|
enterCode: "Enter code",
|
||||||
|
enterCodeAria: "Enter code you hear. Press Space to play audio.",
|
||||||
|
enterCodeFromImage: "To proceed, please enter the code from the image below.",
|
||||||
|
error: "Verification failed. Try again later.",
|
||||||
|
expired: "Verification expired. Try again.",
|
||||||
|
footer: 'Protected by <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (official website)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Get an audio challenge",
|
||||||
|
label: "I'm not a robot",
|
||||||
|
loading: "Loading...",
|
||||||
|
reload: "Reload",
|
||||||
|
verify: "Verify",
|
||||||
|
verificationRequired: "Verification required!",
|
||||||
|
verified: "Verified",
|
||||||
|
verifying: "Verifying...",
|
||||||
|
waitAlert: "Verifying... please wait."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("en", i18n$q);
|
||||||
|
const i18n$p = {
|
||||||
|
ariaLinkLabel: "Altcha (officiel hjemmeside)",
|
||||||
|
enterCode: "Indtast kode",
|
||||||
|
enterCodeAria: "Indtast den kode, du hører. Tryk på mellemrumstasten for at afspille lyd.",
|
||||||
|
error: "Verificering mislykkedes. Prøv venligst igen senere.",
|
||||||
|
expired: "Verificering udløbet. Prøv venligst igen.",
|
||||||
|
footer: 'Beskyttet af <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (officiel hjemmeside)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Hent lydudfordring",
|
||||||
|
label: "Jeg er ikke en robot",
|
||||||
|
loading: "Indlæser...",
|
||||||
|
reload: "Genindlæs",
|
||||||
|
verify: "Verificer",
|
||||||
|
verificationRequired: "Verificering kræves!",
|
||||||
|
verified: "Verificeret",
|
||||||
|
verifying: "Verificerer...",
|
||||||
|
waitAlert: "Verificerer... vent venligst.",
|
||||||
|
cancel: "Annuller",
|
||||||
|
enterCodeFromImage: "For at fortsætte, bedes du indtaste koden fra billedet herunder."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("da", i18n$p);
|
||||||
|
const i18n$o = {
|
||||||
|
ariaLinkLabel: "Altcha (officiell webbplats)",
|
||||||
|
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.",
|
||||||
|
footer: 'Skyddad av <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (officiell webbplats)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Få ljudutmaning",
|
||||||
|
label: "Jag är inte en robot",
|
||||||
|
loading: "Laddar...",
|
||||||
|
reload: "Ladda om",
|
||||||
|
verify: "Verifiera",
|
||||||
|
verificationRequired: "Verifiering krävs!",
|
||||||
|
verified: "Verifierad",
|
||||||
|
verifying: "Verifierar...",
|
||||||
|
waitAlert: "Verifierar... vänligen vänta.",
|
||||||
|
cancel: "Avbryt",
|
||||||
|
enterCodeFromImage: "För att fortsätta, ange koden från bilden nedan."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("sv", i18n$o);
|
||||||
|
const i18n$n = {
|
||||||
|
ariaLinkLabel: "Altcha (virallinen verkkosivusto)",
|
||||||
|
enterCode: "Syötä koodi",
|
||||||
|
enterCodeAria: "Kirjoita kuulemasi koodi. Paina välilyöntiä toistaaksesi äänen.",
|
||||||
|
error: "Varmennus epäonnistui. Yritä myöhemmin uudelleen.",
|
||||||
|
expired: "Varmennus vanhentui. Yritä uudelleen.",
|
||||||
|
footer: 'Suojattu <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (virallinen verkkosivusto)">ALTCHA</a>:lla',
|
||||||
|
getAudioChallenge: "Hae äänitehtävä",
|
||||||
|
label: "En ole robotti",
|
||||||
|
loading: "Ladataan...",
|
||||||
|
reload: "Lataa uudelleen",
|
||||||
|
verify: "Vahvista",
|
||||||
|
verificationRequired: "Vahvistus vaaditaan!",
|
||||||
|
verified: "Vahvistettu",
|
||||||
|
verifying: "Vahvistetaan...",
|
||||||
|
waitAlert: "Vahvistetaan... odota hetki.",
|
||||||
|
cancel: "Peruuta",
|
||||||
|
enterCodeFromImage: "Jatkaaksesi, syötä alla olevan kuvan koodi."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("fi", i18n$n);
|
||||||
|
const i18n$m = {
|
||||||
|
ariaLinkLabel: "Altcha (ametlik veebisait)",
|
||||||
|
enterCode: "Sisesta kood",
|
||||||
|
enterCodeAria: "Sisestage kuuldu kood. Vajutage tühikut, et esitada heli.",
|
||||||
|
error: "Kinnitamine ebaõnnestus. Proovi hiljem uuesti.",
|
||||||
|
expired: "Kinnitamine aegus. Proovi uuesti.",
|
||||||
|
footer: 'Kaitstud <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (ametlik veebisait)">ALTCHA</a> poolt',
|
||||||
|
getAudioChallenge: "Hangi heliülesanne",
|
||||||
|
label: "Ma ei ole robot",
|
||||||
|
loading: "Laadimine...",
|
||||||
|
reload: "Laadi uuesti",
|
||||||
|
verify: "Kinnita",
|
||||||
|
verificationRequired: "Kontroll on vajalik!",
|
||||||
|
verified: "Kinnitatud",
|
||||||
|
verifying: "Kinnitamine...",
|
||||||
|
waitAlert: "Kinnitamine... palun oota.",
|
||||||
|
cancel: "Tühista",
|
||||||
|
enterCodeFromImage: "Jätkamiseks sisestage alloleval pildil olev kood."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("et", i18n$m);
|
||||||
|
const i18n$l = {
|
||||||
|
ariaLinkLabel: "Altcha (offisiell nettside)",
|
||||||
|
enterCode: "Skriv inn kode",
|
||||||
|
enterCodeAria: "Skriv inn koden du hører. Trykk på Space for å spille av lyden.",
|
||||||
|
error: "Verifisering mislyktes. Prøv igjen senere.",
|
||||||
|
expired: "Verifiseringen utløp. Prøv igjen.",
|
||||||
|
footer: 'Beskyttet av <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (offisiell nettside)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Få en lydutfordring",
|
||||||
|
label: "Jeg er ikke en robot",
|
||||||
|
loading: "Laster...",
|
||||||
|
reload: "Last på nytt",
|
||||||
|
verify: "Verifiser",
|
||||||
|
verificationRequired: "Verifisering kreves!",
|
||||||
|
verified: "Verifisert",
|
||||||
|
verifying: "Verifiserer...",
|
||||||
|
waitAlert: "Verifiserer... vennligst vent.",
|
||||||
|
cancel: "Avbryt",
|
||||||
|
enterCodeFromImage: "For å fortsette, vennligst skriv inn koden fra bildet nedenfor."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("nb", i18n$l);
|
||||||
|
const i18n$k = {
|
||||||
|
ariaLinkLabel: "Altcha (opinber vefsíða)",
|
||||||
|
enterCode: "Sláðu inn kóða",
|
||||||
|
enterCodeAria: "Sláðu inn kóðann sem þú heyrir. Ýttu á Space til að spila hljóðið.",
|
||||||
|
error: "Staðfesting mistókst. Reyndu aftur síðar.",
|
||||||
|
expired: "Staðfesting er útrunnin. Reyndu aftur.",
|
||||||
|
footer: 'Verndað af <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (opinber vefsíða)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Fá hljóðáskorun",
|
||||||
|
label: "Ég er ekki robot",
|
||||||
|
loading: "Hleður...",
|
||||||
|
reload: "Hleð aftur",
|
||||||
|
verify: "Staðfesta",
|
||||||
|
verificationRequired: "Staðfesting er nauðsynleg!",
|
||||||
|
verified: "Staðfest",
|
||||||
|
verifying: "Að staðfesta...",
|
||||||
|
waitAlert: "Að staðfesta... vinsamlegast bíða.",
|
||||||
|
cancel: "Hætta við",
|
||||||
|
enterCodeFromImage: "Til að halda áfram, vinsamlegast sláðu inn kóðann af myndinni hér að neðan."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("is", i18n$k);
|
||||||
|
const i18n$j = {
|
||||||
|
ariaLinkLabel: "Altcha (oficiali svetainė)",
|
||||||
|
enterCode: "Įveskite kodą",
|
||||||
|
enterCodeAria: "Įveskite girdimą kodą. Paspauskite tarpo klavišą, kad grotumėte garso įrašą.",
|
||||||
|
error: "Patvirtinimas nepavyko. Bandykite vėliau.",
|
||||||
|
expired: "Patvirtinimo laikas baigėsi. Bandykite dar kartą.",
|
||||||
|
footer: 'Apsaugota <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oficiali svetainė)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Gauti garso užduotį",
|
||||||
|
label: "Aš nesu robotas",
|
||||||
|
loading: "Įkeliama...",
|
||||||
|
reload: "Įkelti iš naujo",
|
||||||
|
verify: "Patvirtinti",
|
||||||
|
verificationRequired: "Reikalingas patvirtinimas!",
|
||||||
|
verified: "Patvirtinta",
|
||||||
|
verifying: "Tikrinama...",
|
||||||
|
waitAlert: "Tikrinama... prašome palaukti.",
|
||||||
|
cancel: "Atšaukti",
|
||||||
|
enterCodeFromImage: "Norėdami tęsti, įveskite kodą iš paveikslėlio žemiau."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("lt", i18n$j);
|
||||||
|
const i18n$i = {
|
||||||
|
ariaLinkLabel: "Altcha (oficiālā tīmekļa vietne)",
|
||||||
|
enterCode: "Ievadiet kodu",
|
||||||
|
enterCodeAria: "Ievadiet dzirdamo kodu. Nospiediet atstarpes taustiņu, lai atskaņotu audio.",
|
||||||
|
error: "Verifikācija neizdevās. Mēģiniet vēlāk vēlreiz.",
|
||||||
|
expired: "Verifikācijas laiks ir beidzies. Mēģiniet vēlreiz.",
|
||||||
|
footer: 'Aizsargāts ar <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oficiālā tīmekļa vietne)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Saņemt audio izaicinājumu",
|
||||||
|
label: "Es neesmu robots",
|
||||||
|
loading: "Notiek ielāde...",
|
||||||
|
reload: "Pārlādēt",
|
||||||
|
verify: "Verificēt",
|
||||||
|
verificationRequired: "Nepieciešama verifikācija!",
|
||||||
|
verified: "Verificēts",
|
||||||
|
verifying: "Notiek verifikācija...",
|
||||||
|
waitAlert: "Notiek verifikācija... lūdzu, uzgaidiet.",
|
||||||
|
cancel: "Atcelt",
|
||||||
|
enterCodeFromImage: "Lai turpinātu, lūdzu, ievadiet zemāk redzamo attēlu kodu."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("lv", i18n$i);
|
||||||
|
const i18n$h = {
|
||||||
|
ariaLinkLabel: "Altcha (афіцыйны сайт)",
|
||||||
|
enterCode: "Увядзіце код",
|
||||||
|
enterCodeAria: "Увядзіце код, які вы чуеце. Націсніце прабел, каб прайграць аўдыё.",
|
||||||
|
error: "Праверка не прайшла. Паспрабуйце пазней.",
|
||||||
|
expired: "Тэрмін праверкі скончыўся. Паспрабуйце зноў.",
|
||||||
|
footer: 'Абаронена <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (афіцыйны сайт)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Атрымаць аўдыё выклік",
|
||||||
|
label: "Я не робат",
|
||||||
|
loading: "Загрузка...",
|
||||||
|
reload: "Перазагрузіць",
|
||||||
|
verify: "Праверыць",
|
||||||
|
verificationRequired: "Патрабуецца праверка!",
|
||||||
|
verified: "Праверана",
|
||||||
|
verifying: "Правяраем...",
|
||||||
|
waitAlert: "Праверка... калі ласка, пачакайце.",
|
||||||
|
cancel: "Скасаваць",
|
||||||
|
enterCodeFromImage: "Каб працягнуць, увядзіце код з малюнка ніжэй."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("be", i18n$h);
|
||||||
|
const i18n$g = {
|
||||||
|
ariaLinkLabel: "Altcha (službena web stranica)",
|
||||||
|
enterCode: "Unesite kod",
|
||||||
|
enterCodeAria: "Unesite kod koji čujete. Pritisnite Space da biste pustili zvuk.",
|
||||||
|
error: "Verifikacija nije uspjela. Pokušajte ponovo kasnije.",
|
||||||
|
expired: "Verifikacija je istekla. Pokušajte ponovo.",
|
||||||
|
footer: 'Zaštićeno od strane <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (službena web stranica)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Dohvatite audio izazov",
|
||||||
|
label: "Nisam robot",
|
||||||
|
loading: "Učitavanje...",
|
||||||
|
reload: "Ponovno učitaj",
|
||||||
|
verify: "Verifikuj",
|
||||||
|
verificationRequired: "Verifikacija je obavezna!",
|
||||||
|
verified: "Verifikovano",
|
||||||
|
verifying: "Verifikacija u toku...",
|
||||||
|
waitAlert: "Verifikacija u toku... molimo vas da sačekate.",
|
||||||
|
cancel: "Odustani",
|
||||||
|
enterCodeFromImage: "Za nastavak, molimo unesite kod sa slike ispod."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("bs", i18n$g);
|
||||||
|
const i18n$f = {
|
||||||
|
ariaLinkLabel: "Altcha (oficiální web)",
|
||||||
|
enterCode: "Zadejte kód",
|
||||||
|
enterCodeAria: "Zadejte kód, který slyšíte. Stisknutím mezerníku přehrajete zvuk.",
|
||||||
|
error: "Ověření selhalo. Zkuste to prosím později.",
|
||||||
|
expired: "Ověření vypršelo. Zkuste to prosím znovu.",
|
||||||
|
footer: 'Chráněno pomocí <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oficiální web)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Získat audio výzvu",
|
||||||
|
label: "Nejsem robot",
|
||||||
|
loading: "Načítání...",
|
||||||
|
reload: "Znovu načíst",
|
||||||
|
verify: "Ověřit",
|
||||||
|
verificationRequired: "Vyžaduje se ověření!",
|
||||||
|
verified: "Ověřeno",
|
||||||
|
verifying: "Ověřování...",
|
||||||
|
waitAlert: "Probíhá ověření... prosím počkejte.",
|
||||||
|
cancel: "Zrušit",
|
||||||
|
enterCodeFromImage: "Pro pokračování zadejte kód z obrázku níže."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("cs", i18n$f);
|
||||||
|
const i18n$e = {
|
||||||
|
ariaLinkLabel: "Altcha (oficjalna strona internetowa)",
|
||||||
|
enterCode: "Wprowadź kod",
|
||||||
|
enterCodeAria: "Wpisz kod, który słyszysz. Naciśnij Spację, aby odtworzyć dźwięk.",
|
||||||
|
error: "Weryfikacja nie powiodła się. Spróbuj ponownie później.",
|
||||||
|
expired: "Weryfikacja wygasła. Spróbuj ponownie.",
|
||||||
|
footer: 'Chronione przez <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oficjalna strona internetowa)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Pobierz zadanie dźwiękowe",
|
||||||
|
label: "Nie jestem robotem",
|
||||||
|
loading: "Ładowanie...",
|
||||||
|
reload: "Odśwież",
|
||||||
|
verify: "Zweryfikuj",
|
||||||
|
verificationRequired: "Wymagana weryfikacja!",
|
||||||
|
verified: "Zweryfikowano",
|
||||||
|
verifying: "Weryfikacja...",
|
||||||
|
waitAlert: "Trwa weryfikacja... proszę czekać.",
|
||||||
|
cancel: "Anuluj",
|
||||||
|
enterCodeFromImage: "Aby kontynuować, wprowadź kod z poniższego obrazka."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("pl", i18n$e);
|
||||||
|
const i18n$d = {
|
||||||
|
ariaLinkLabel: "Altcha (hivatalos weboldal)",
|
||||||
|
enterCode: "Írja be a kódot",
|
||||||
|
enterCodeAria: "Írja be a hallott kódot. Nyomja meg a Szóköz billentyűt a hang lejátszásához.",
|
||||||
|
error: "A hitelesítés nem sikerült. Próbáld meg később újra.",
|
||||||
|
expired: "A hitelesítés lejárt. Próbáld újra.",
|
||||||
|
footer: 'Védve a következő által: <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (hivatalos weboldal)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Hangalapú kihívás kérése",
|
||||||
|
label: "Nem vagyok robot",
|
||||||
|
loading: "Betöltés...",
|
||||||
|
reload: "Újratöltés",
|
||||||
|
verify: "Ellenőrzés",
|
||||||
|
verificationRequired: "Ellenőrzés szükséges!",
|
||||||
|
verified: "Ellenőrizve",
|
||||||
|
verifying: "Ellenőrzés folyamatban...",
|
||||||
|
waitAlert: "Ellenőrzés folyamatban... kérlek várj.",
|
||||||
|
cancel: "Mégse",
|
||||||
|
enterCodeFromImage: "A folytatáshoz, kérjük, adja meg az alábbi kép kódját."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("hu", i18n$d);
|
||||||
|
const i18n$c = {
|
||||||
|
ariaLinkLabel: "Altcha (oficiálna webová stránka)",
|
||||||
|
enterCode: "Zadajte kód",
|
||||||
|
enterCodeAria: "Zadajte kód, ktorý počujete. Stlačením medzerníka prehráte zvuk.",
|
||||||
|
error: "Verifikácia zlyhala. Skúste to znova neskôr.",
|
||||||
|
expired: "Verifikácia vypršala. Skúste to znova.",
|
||||||
|
footer: 'Chránené <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oficiálna webová stránka)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Získať audio výzvu",
|
||||||
|
label: "Nie som robot",
|
||||||
|
loading: "Načítava sa...",
|
||||||
|
reload: "Obnoviť",
|
||||||
|
verify: "Verifikovať",
|
||||||
|
verificationRequired: "Vyžaduje sa overenie!",
|
||||||
|
verified: "Verifikované",
|
||||||
|
verifying: "Prebieha verifikácia...",
|
||||||
|
waitAlert: "Prebieha verifikácia... prosím čakajte.",
|
||||||
|
cancel: "Zrušiť",
|
||||||
|
enterCodeFromImage: "Na pokračovanie, prosím, zadajte kód z obrázka nižšie."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("sk", i18n$c);
|
||||||
|
const i18n$b = {
|
||||||
|
ariaLinkLabel: "Altcha (uradna spletna stran)",
|
||||||
|
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.",
|
||||||
|
footer: 'Zaščiteno z <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (uradna spletna stran)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Pridobite zvočni izziv",
|
||||||
|
label: "Nisem robot",
|
||||||
|
loading: "Nalagam...",
|
||||||
|
reload: "Ponovno naloži",
|
||||||
|
verify: "Preveri",
|
||||||
|
verificationRequired: "Potrebna je preveritev!",
|
||||||
|
verified: "Preverjeno",
|
||||||
|
verifying: "Preverjanje...",
|
||||||
|
waitAlert: "Preverjanje... prosim počakajte.",
|
||||||
|
cancel: "Preklic",
|
||||||
|
enterCodeFromImage: "Za nadaljevanje, prosimo, vnesite kodo s slike spodaj."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("sl", i18n$b);
|
||||||
|
const i18n$a = {
|
||||||
|
ariaLinkLabel: "Altcha (službena web stranica)",
|
||||||
|
enterCode: "Unesite kod",
|
||||||
|
enterCodeAria: "Unesite kod koji čujete. Pritisnite razmaknicu za reprodukciju zvuka.",
|
||||||
|
error: "Provjera nije uspjela. Molimo pokušajte kasnije.",
|
||||||
|
expired: "Provjera je istekla. Molimo pokušajte ponovo.",
|
||||||
|
footer: 'Zaštićeno od strane <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (službena web stranica)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Audio provjera",
|
||||||
|
label: "Ja nisam robot",
|
||||||
|
loading: "Učitavanje...",
|
||||||
|
reload: "Ponovno učitaj",
|
||||||
|
verify: "Provjeri",
|
||||||
|
verificationRequired: "Potrebna je provjera!",
|
||||||
|
verified: "Provjereno",
|
||||||
|
verifying: "Provjeravanje...",
|
||||||
|
waitAlert: "Provjera je u tijeku... molimo pričekajte.",
|
||||||
|
cancel: "Odustani",
|
||||||
|
enterCodeFromImage: "Za nastavak molimo unesite kod sa slike ispod."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("hr", i18n$a);
|
||||||
|
const i18n$9 = {
|
||||||
|
ariaLinkLabel: "Altcha (site oficial)",
|
||||||
|
enterCode: "Introduceți codul",
|
||||||
|
enterCodeAria: "Introduceți codul pe care îl auziți. Apăsați Spațiu pentru a reda audio.",
|
||||||
|
error: "Verificarea a eșuat. Încearcă din nou mai târziu.",
|
||||||
|
expired: "Verificarea a expirat. Încearcă din nou.",
|
||||||
|
footer: 'Protejat de <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obține o provocare audio",
|
||||||
|
label: "Nu sunt un robot",
|
||||||
|
loading: "Se încarcă...",
|
||||||
|
reload: "Reîncarcă",
|
||||||
|
verify: "Verifică",
|
||||||
|
verificationRequired: "Verificare necesară!",
|
||||||
|
verified: "Verificat",
|
||||||
|
verifying: "Se verifică...",
|
||||||
|
waitAlert: "Se verifică... te rugăm să aștepți.",
|
||||||
|
cancel: "Anulare",
|
||||||
|
enterCodeFromImage: "Pentru a continua, vă rugăm să introduceți codul din imaginea de mai jos."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ro", i18n$9);
|
||||||
|
const i18n$8 = {
|
||||||
|
ariaLinkLabel: "Altcha (официален уебсайт)",
|
||||||
|
enterCode: "Въведете код",
|
||||||
|
enterCodeAria: "Въведете кода, който чувате. Натиснете Space за възпроизвеждане на аудио.",
|
||||||
|
error: "Проверката неуспешна. Моля, опитайте по-късно.",
|
||||||
|
expired: "Времето за проверка изтече. Моля, опитайте отново.",
|
||||||
|
footer: 'Защитено от <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (официален уебсайт)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Аудио проверка",
|
||||||
|
label: "Аз не съм робот",
|
||||||
|
loading: "Зареждане...",
|
||||||
|
reload: "Презареди",
|
||||||
|
verify: "Провери",
|
||||||
|
verificationRequired: "Изисква се проверка!",
|
||||||
|
verified: "Проверено",
|
||||||
|
verifying: "Проверява се...",
|
||||||
|
waitAlert: "Проверката е в процес... моля изчакайте.",
|
||||||
|
cancel: "Отказ",
|
||||||
|
enterCodeFromImage: "За да продължите, моля, въведете кода от изображението по-долу."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("bg", i18n$8);
|
||||||
|
const i18n$7 = {
|
||||||
|
ariaLinkLabel: "Altcha (επίσημος ιστότοπος)",
|
||||||
|
enterCode: "Εισαγάγετε κωδικό",
|
||||||
|
enterCodeAria: "Εισαγάγετε τον κωδικό που ακούτε. Πατήστε Space για να παίξετε τον ήχο.",
|
||||||
|
error: "Η επαλήθευση απέτυχε. Δοκιμάστε ξανά αργότερα.",
|
||||||
|
expired: "Η επαλήθευση έληξε. Δοκιμάστε ξανά.",
|
||||||
|
footer: 'Προστατεύεται από το <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (επίσημος ιστότοπος)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Λήψη ηχητικής δοκιμασίας",
|
||||||
|
label: "Δεν είμαι ρομπότ",
|
||||||
|
loading: "Φόρτωση...",
|
||||||
|
reload: "Επαναφόρτωση",
|
||||||
|
verify: "Επαλήθευση",
|
||||||
|
verificationRequired: "Απαιτείται έλεγχος!",
|
||||||
|
verified: "Επαληθεύτηκε",
|
||||||
|
verifying: "Γίνεται επαλήθευση...",
|
||||||
|
waitAlert: "Γίνεται επαλήθευση... παρακαλώ περιμένετε.",
|
||||||
|
cancel: "Ακύρωση",
|
||||||
|
enterCodeFromImage: "Για να συνεχίσετε, εισάγετε τον κωδικό από την παρακάτω εικόνα."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("el", i18n$7);
|
||||||
|
const i18n$6 = {
|
||||||
|
ariaLinkLabel: "Altcha (zvanična web stranica)",
|
||||||
|
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/" tabindex="-1" target="_blank" aria-label="Altcha (zvanična web stranica)">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.",
|
||||||
|
cancel: "Откажи",
|
||||||
|
enterCodeFromImage: "Да бисте наставили, унесите код са слике испод."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("sr", i18n$6);
|
||||||
|
const i18n$5 = {
|
||||||
|
ariaLinkLabel: "Altcha (официальный сайт)",
|
||||||
|
enterCode: "Введите код",
|
||||||
|
enterCodeAria: "Введите код, который слышите. Нажмите пробел для воспроизведения аудио.",
|
||||||
|
error: "Ошибка верификации. Попробуйте позже.",
|
||||||
|
expired: "Срок действия верификации истек. Попробуйте снова.",
|
||||||
|
footer: 'Защищено <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (официальный сайт)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Получить аудио задачу",
|
||||||
|
label: "Я не робот",
|
||||||
|
loading: "Загрузка...",
|
||||||
|
reload: "Перезагрузить",
|
||||||
|
verify: "Проверить",
|
||||||
|
verificationRequired: "Требуется проверка!",
|
||||||
|
verified: "Проверено",
|
||||||
|
verifying: "Идет проверка...",
|
||||||
|
waitAlert: "Идет проверка... Пожалуйста, подождите.",
|
||||||
|
cancel: "Отмена",
|
||||||
|
enterCodeFromImage: "Чтобы продолжить, пожалуйста, введите код с изображения ниже."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ru", i18n$5);
|
||||||
|
const i18n$4 = {
|
||||||
|
ariaLinkLabel: "Altcha (zvanična web stranica)",
|
||||||
|
enterCode: "Unesite kod",
|
||||||
|
enterCodeAria: "Unesite kod koji čujete. Pritisnite Space za puštanje zvuka.",
|
||||||
|
error: "Verifikacija nije uspjela. Pokušajte ponovo kasnije.",
|
||||||
|
expired: "Verifikacija je istekla. Pokušajte ponovo.",
|
||||||
|
footer: 'Zaštićeno putem <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (zvanična web stranica)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Preuzmi audio izazov",
|
||||||
|
label: "Nijesam robot",
|
||||||
|
loading: "Učitavanje...",
|
||||||
|
reload: "Ponovo učitaj",
|
||||||
|
verify: "Verifikuj",
|
||||||
|
verificationRequired: "Potrebna je verifikacija!",
|
||||||
|
verified: "Verifikovano",
|
||||||
|
verifying: "Verifikacija u toku...",
|
||||||
|
waitAlert: "Verifikujem... molimo sačekajte.",
|
||||||
|
cancel: "Odustani",
|
||||||
|
enterCodeFromImage: "Za nastavak, molimo unesite kod sa slike ispod."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("me", i18n$4);
|
||||||
|
const i18n$3 = {
|
||||||
|
ariaLinkLabel: "Altcha (официјален веб-сајт)",
|
||||||
|
enterCode: "Внесете код",
|
||||||
|
enterCodeAria: "Внесете го кодот што го слушате. Притиснете Space за да ја пуштите аудио снимката.",
|
||||||
|
error: "Проверката не успеа. Обидете се подоцна.",
|
||||||
|
expired: "Проверката истече. Обидете се повторно.",
|
||||||
|
footer: 'Заштитено со <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (официјален веб-сајт)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Земете аудио предизвик",
|
||||||
|
label: "Јас не сум робот",
|
||||||
|
loading: "Се вчитува...",
|
||||||
|
reload: "Превчитај",
|
||||||
|
verify: "Провери",
|
||||||
|
verificationRequired: "Потребна е проверка!",
|
||||||
|
verified: "Потврдено",
|
||||||
|
verifying: "Се проверува...",
|
||||||
|
waitAlert: "Се проверува... ве молиме почекајте.",
|
||||||
|
cancel: "Откажи",
|
||||||
|
enterCodeFromImage: "За да продолжите, ве молиме внесете го кодот од сликата подолу."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("mk", i18n$3);
|
||||||
|
const i18n$2 = {
|
||||||
|
ariaLinkLabel: "Altcha (faqja zyrtare)",
|
||||||
|
enterCode: "Fut kodin",
|
||||||
|
enterCodeAria: "Fut kodin që dëgjon. Shtypni Hapësirë për të luajtur audio.",
|
||||||
|
error: "Verifikimi dështoi. Provoni përsëri më vonë.",
|
||||||
|
expired: "Verifikimi ka skaduar. Provoni përsëri.",
|
||||||
|
footer: 'I mbrojtur nga <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (faqja zyrtare)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Merr një sfidë audio",
|
||||||
|
label: "Unë nuk jam një robot",
|
||||||
|
loading: "Duke u ngarkuar...",
|
||||||
|
reload: "Ringarko",
|
||||||
|
verify: "Verifiko",
|
||||||
|
verificationRequired: "Kërkohet verifikimi!",
|
||||||
|
verified: "I verifikuar",
|
||||||
|
verifying: "Duke verifikuar...",
|
||||||
|
waitAlert: "Duke verifikuar... ju lutem prisni.",
|
||||||
|
cancel: "Anuloje",
|
||||||
|
enterCodeFromImage: "Për të vazhduar, ju lutemi fusni kodin nga imazhi më poshtë."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("sq", i18n$2);
|
||||||
|
const i18n$1 = {
|
||||||
|
ariaLinkLabel: "Altcha (amptelike webwerf)",
|
||||||
|
enterCode: "Voer kode in",
|
||||||
|
enterCodeAria: "Voer die kode in wat jy hoor. Druk Spasie om die klank af te speel.",
|
||||||
|
error: "Verifikasie het misluk. Probeer later weer.",
|
||||||
|
expired: "Verifikasie het verval. Probeer weer.",
|
||||||
|
footer: 'Beskerm deur <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (amptelike webwerf)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Kry 'n klankuitdaging",
|
||||||
|
label: "Ek is nie 'n robot nie",
|
||||||
|
loading: "Laai...",
|
||||||
|
reload: "Laai weer",
|
||||||
|
verify: "Verifieer",
|
||||||
|
verificationRequired: "Verifikasie is vereis!",
|
||||||
|
verified: "Geverifieer",
|
||||||
|
verifying: "Verifieer...",
|
||||||
|
waitAlert: "Verifieer... wag asseblief.",
|
||||||
|
cancel: "Kanselleer",
|
||||||
|
enterCodeFromImage: "Om voort te gaan, voer asseblief die kode vanaf die onderstaande prentjie in."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("af", i18n$1);
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (sit uffiċjali)",
|
||||||
|
enterCode: "Idħol il-kodiċi",
|
||||||
|
enterCodeAria: "Idħol il-kodiċi li tisma'. Agħfas Spazju biex tindaqq l-awdjo.",
|
||||||
|
error: "Il-verifika falliet. Erġa’ pprova aktar tard.",
|
||||||
|
expired: "Il-verifika skadiet. Erġa’ pprova.",
|
||||||
|
footer: 'Protett minn <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (sit uffiċjali)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Ikseb sfida bl-awdjo",
|
||||||
|
label: "M’inix robot",
|
||||||
|
loading: "Qed jitgħabba...",
|
||||||
|
reload: "Ittella’ mill-ġdid",
|
||||||
|
verify: "Ivverifika",
|
||||||
|
verificationRequired: "Verifika meħtieġa!",
|
||||||
|
verified: "Ivverifikat",
|
||||||
|
verifying: "Verifika għaddejja...",
|
||||||
|
waitAlert: "Verifika għaddejja... stenna ftit.",
|
||||||
|
cancel: "Ikkanċella",
|
||||||
|
enterCodeFromImage: "Biex tipproċedi, jekk jogħġbok daħħal il-kodiċi mill-immaġni hawn taħt."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("mt", i18n);
|
||||||
+853
@@ -0,0 +1,853 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n$A = {
|
||||||
|
ariaLinkLabel: "Altcha (lloc web oficial)",
|
||||||
|
enterCode: "Introdueix el codi",
|
||||||
|
enterCodeAria: "Introdueix el codi que escoltes. Prem Espai per reproduir l’àudio.",
|
||||||
|
error: "Verificació fallida. Torna-ho a provar més tard.",
|
||||||
|
expired: "Verificació expirada. Torna-ho a provar.",
|
||||||
|
footer: 'Protegit per <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (lloc web oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtenir un desafiament d’àudio",
|
||||||
|
label: "No sóc un robot",
|
||||||
|
loading: "Carregant...",
|
||||||
|
reload: "Torna a carregar",
|
||||||
|
verify: "Verificar",
|
||||||
|
verificationRequired: "Es requereix verificació!",
|
||||||
|
verified: "Verificat",
|
||||||
|
verifying: "Verificant...",
|
||||||
|
waitAlert: "Verificant... si us plau, espera.",
|
||||||
|
cancel: "Cancel·la",
|
||||||
|
enterCodeFromImage: "Per continuar, si us plau, introdueix el codi de la imatge següent."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ca", i18n$A);
|
||||||
|
const i18n$z = {
|
||||||
|
ariaLinkLabel: "Altcha (site officiel)",
|
||||||
|
enterCode: "Entrez le code",
|
||||||
|
enterCodeAria: "Entrez le code que vous entendez. Appuyez sur Espace pour écouter l'audio.",
|
||||||
|
error: "Échec de la vérification. Essayez à nouveau plus tard.",
|
||||||
|
expired: "La vérification a expiré. Essayez à nouveau.",
|
||||||
|
footer: 'Protégé par <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site officiel)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtenir un défi audio",
|
||||||
|
label: "Je ne suis pas un robot",
|
||||||
|
loading: "Chargement...",
|
||||||
|
reload: "Recharger",
|
||||||
|
verify: "Vérifier",
|
||||||
|
verificationRequired: "Vérification requise !",
|
||||||
|
verified: "Vérifié",
|
||||||
|
verifying: "Vérification en cours...",
|
||||||
|
waitAlert: "Vérification en cours... veuillez patienter.",
|
||||||
|
cancel: "Annuler",
|
||||||
|
enterCodeFromImage: "Pour continuer, veuillez entrer le code de l'image ci-dessous."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("fr-fr", i18n$z);
|
||||||
|
const i18n$y = {
|
||||||
|
ariaLinkLabel: "Altcha (offizielle Website)",
|
||||||
|
enterCode: "Code eingeben",
|
||||||
|
enterCodeAria: "Geben Sie den Code ein, den Sie hören. Drücken Sie die Leertaste, um die Audio abzuspielen.",
|
||||||
|
error: "Überprüfung fehlgeschlagen. Bitte versuchen Sie es später erneut.",
|
||||||
|
expired: "Überprüfung abgelaufen. Bitte versuchen Sie es erneut.",
|
||||||
|
footer: 'Geschützt durch <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (offizielle Website)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Audio-Herausforderung anfordern",
|
||||||
|
label: "Ich bin kein Roboter",
|
||||||
|
loading: "Lade...",
|
||||||
|
reload: "Neu laden",
|
||||||
|
verify: "Überprüfen",
|
||||||
|
verificationRequired: "Überprüfung erforderlich!",
|
||||||
|
verified: "Überprüft",
|
||||||
|
verifying: "Wird überprüft...",
|
||||||
|
waitAlert: "Überprüfung läuft... bitte warten.",
|
||||||
|
cancel: "Abbrechen",
|
||||||
|
enterCodeFromImage: "Um fortzufahren, geben Sie bitte den Code aus dem Bild unten ein."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("de", i18n$y);
|
||||||
|
const i18n$x = {
|
||||||
|
ariaLinkLabel: "Altcha (offiziell Websäit)",
|
||||||
|
enterCode: "Code aginn",
|
||||||
|
enterCodeAria: "Gitt de Code an deen dir héiert. Dréckt op d'Weltraumtast fir Audio ofzespillen.",
|
||||||
|
error: "Verifikatioun ass feelgeschloen. Probéiert méi spéit nach emol.",
|
||||||
|
expired: "Verifikatioun ofgelaf. Probéiert nach emol.",
|
||||||
|
footer: 'Geschützt vun <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (offiziell Websäit)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Kritt eng Audio-Herausfuerderung",
|
||||||
|
label: "Ech sinn keen Robot",
|
||||||
|
loading: "Lueden...",
|
||||||
|
reload: "Nei lueden",
|
||||||
|
verify: "Verifizéieren",
|
||||||
|
verificationRequired: "Verifikatioun néideg!",
|
||||||
|
verified: "Verifizéiert",
|
||||||
|
verifying: "Verifizéieren...",
|
||||||
|
waitAlert: "Verifizéieren... waart wgl.",
|
||||||
|
cancel: "Ofbriechen",
|
||||||
|
enterCodeFromImage: "Fir virun ze fueren, gitt wgl. de Code aus dem Bild hei drënner an."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("lb", i18n$x);
|
||||||
|
const i18n$w = {
|
||||||
|
ariaLinkLabel: "Altcha (officiële website)",
|
||||||
|
enterCode: "Voer code in",
|
||||||
|
enterCodeAria: "Voer de code in die je hoort. Druk op Spatie om de audio af te spelen.",
|
||||||
|
error: "Verificatie mislukt. Probeer het later opnieuw.",
|
||||||
|
expired: "Verificatie verlopen. Probeer het opnieuw.",
|
||||||
|
footer: 'Beschermd door <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (officiële website)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Audio-uitdaging ontvangen",
|
||||||
|
label: "Ik ben geen robot",
|
||||||
|
loading: "Laden...",
|
||||||
|
reload: "Herladen",
|
||||||
|
verify: "Verifiëren",
|
||||||
|
verificationRequired: "Verificatie vereist!",
|
||||||
|
verified: "Geverifieerd",
|
||||||
|
verifying: "Bezig met verifiëren...",
|
||||||
|
waitAlert: "Bezig met verifiëren... even geduld a.u.b.",
|
||||||
|
cancel: "Annuleren",
|
||||||
|
enterCodeFromImage: "Om door te gaan, voert u de code uit de onderstaande afbeelding in."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("nl", i18n$w);
|
||||||
|
const i18n$v = {
|
||||||
|
ariaLinkLabel: "Altcha (láithreán gréasáin oifigiúil)",
|
||||||
|
enterCode: "Iontráil cód",
|
||||||
|
enterCodeAria: "Cuir isteach an cód a chloiseann tú. Brúigh Spás chun an fuaime a sheinm.",
|
||||||
|
error: "Theip ar an bhfíorú. Bain triail eile as níos déanaí.",
|
||||||
|
expired: "Tá an fíorú as feidhm. Bain triail eile as.",
|
||||||
|
footer: 'Cosanta ag <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (láithreán gréasáin oifigiúil)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Faigh dúshlán fuaime",
|
||||||
|
label: "Níl mé i mo róbat",
|
||||||
|
loading: "Á luchtú...",
|
||||||
|
reload: "Athluchtaigh",
|
||||||
|
verify: "Fíoraigh",
|
||||||
|
verificationRequired: "Fíorú riachtanach!",
|
||||||
|
verified: "Fíoraithe",
|
||||||
|
verifying: "Fíorú ar siúl...",
|
||||||
|
waitAlert: "Fíorú ar siúl... fan go fóill.",
|
||||||
|
cancel: "Cealaigh",
|
||||||
|
enterCodeFromImage: "Chun dul ar aghaidh, le do thoil cuir isteach an cód ón íomhá thíos."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ga", i18n$v);
|
||||||
|
const i18n$u = {
|
||||||
|
ariaLinkLabel: "Altcha (sito ufficiale)",
|
||||||
|
enterCode: "Inserisci il codice",
|
||||||
|
enterCodeAria: "Inserisci il codice che senti. Premi Spazio per riprodurre l'audio.",
|
||||||
|
error: "Verifica fallita. Riprova più tardi.",
|
||||||
|
expired: "Verifica scaduta. Riprova.",
|
||||||
|
footer: 'Protetto da <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (sito ufficiale)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Ottieni una sfida audio",
|
||||||
|
label: "Non sono un robot",
|
||||||
|
loading: "Caricamento...",
|
||||||
|
reload: "Ricarica",
|
||||||
|
verify: "Verifica",
|
||||||
|
verificationRequired: "Verifica richiesta!",
|
||||||
|
verified: "Verificato",
|
||||||
|
verifying: "Verifica in corso...",
|
||||||
|
waitAlert: "Verifica in corso... attendere.",
|
||||||
|
cancel: "Annulla",
|
||||||
|
enterCodeFromImage: "Per procedere, inserisci il codice dall'immagine sottostante."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("it", i18n$u);
|
||||||
|
const i18n$t = {
|
||||||
|
ariaLinkLabel: "Altcha (site oficial)",
|
||||||
|
enterCode: "Introduza o código",
|
||||||
|
enterCodeAria: "Introduza o código que ouve. Prima Espaço para reproduzir o áudio.",
|
||||||
|
error: "A verificação falhou. Por favor, tente novamente mais tarde.",
|
||||||
|
expired: "Verificação expirada. Por favor, tente novamente.",
|
||||||
|
footer: 'Protegido por <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obter desafio de áudio",
|
||||||
|
label: "Não sou um robô",
|
||||||
|
loading: "A carregar...",
|
||||||
|
reload: "Recarregar",
|
||||||
|
verify: "Verificar",
|
||||||
|
verificationRequired: "Verificação necessária!",
|
||||||
|
verified: "Verificado",
|
||||||
|
verifying: "A verificar...",
|
||||||
|
waitAlert: "A verificar... por favor aguarde.",
|
||||||
|
cancel: "Cancelar",
|
||||||
|
enterCodeFromImage: "Para prosseguir, introduza o código da imagem abaixo."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("pt-pt", i18n$t);
|
||||||
|
const i18n$s = {
|
||||||
|
ariaLinkLabel: "Altcha (sitio web oficial)",
|
||||||
|
enterCode: "Introduce el código",
|
||||||
|
enterCodeAria: "Introduce el código que escuchas. Pulsa Espacio para reproducir el audio.",
|
||||||
|
error: "Falló la verificación. Por favor intente nuevamente más tarde.",
|
||||||
|
expired: "Verificación expirada. Por favor intente nuevamente.",
|
||||||
|
footer: 'Protegido por <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (sitio web oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtener un desafío de audio",
|
||||||
|
label: "No soy un robot",
|
||||||
|
loading: "Cargando...",
|
||||||
|
reload: "Recargar",
|
||||||
|
verify: "Verificar",
|
||||||
|
verificationRequired: "¡Verificación requerida!",
|
||||||
|
verified: "Verificado",
|
||||||
|
verifying: "Verificando...",
|
||||||
|
waitAlert: "Verificando... por favor espere.",
|
||||||
|
cancel: "Cancelar",
|
||||||
|
enterCodeFromImage: "Para continuar, introduzca el código de la imagen de abajo."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("es-es", i18n$s);
|
||||||
|
const i18n$r = {
|
||||||
|
ariaLinkLabel: "Altcha (webgune ofiziala)",
|
||||||
|
enterCode: "Sartu kodea",
|
||||||
|
enterCodeAria: "Sartu entzun duzun kodea. Sakatu Espazioa audioa erreproduzitzeko.",
|
||||||
|
error: "Egiaztatzeak huts egin du. Saiatu berriro geroago.",
|
||||||
|
expired: "Egiaztatzea iraungi da. Saiatu berriro.",
|
||||||
|
footer: '<a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (webgune ofiziala)">ALTCHA</a>k babestuta',
|
||||||
|
getAudioChallenge: "Jaso audio-erronka bat",
|
||||||
|
label: "Ez naiz robot bat",
|
||||||
|
loading: "Kargatzen...",
|
||||||
|
reload: "Birkargatu",
|
||||||
|
verify: "Egiaztatu",
|
||||||
|
verificationRequired: "Egiaztatzea beharrezkoa da!",
|
||||||
|
verified: "Egiaztatuta",
|
||||||
|
verifying: "Egiaztatzen...",
|
||||||
|
waitAlert: "Egiaztatzen... itxaron mesedez.",
|
||||||
|
cancel: "Utzi",
|
||||||
|
enterCodeFromImage: "Jarraitzeko, idatzi beheko irudiko kodea."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("eu", i18n$r);
|
||||||
|
const i18n$q = {
|
||||||
|
ariaLinkLabel: "Altcha (official website)",
|
||||||
|
cancel: "Cancel",
|
||||||
|
enterCode: "Enter code",
|
||||||
|
enterCodeAria: "Enter code you hear. Press Space to play audio.",
|
||||||
|
enterCodeFromImage: "To proceed, please enter the code from the image below.",
|
||||||
|
error: "Verification failed. Try again later.",
|
||||||
|
expired: "Verification expired. Try again.",
|
||||||
|
footer: 'Protected by <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (official website)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Get an audio challenge",
|
||||||
|
label: "I'm not a robot",
|
||||||
|
loading: "Loading...",
|
||||||
|
reload: "Reload",
|
||||||
|
verify: "Verify",
|
||||||
|
verificationRequired: "Verification required!",
|
||||||
|
verified: "Verified",
|
||||||
|
verifying: "Verifying...",
|
||||||
|
waitAlert: "Verifying... please wait."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("en", i18n$q);
|
||||||
|
const i18n$p = {
|
||||||
|
ariaLinkLabel: "Altcha (officiel hjemmeside)",
|
||||||
|
enterCode: "Indtast kode",
|
||||||
|
enterCodeAria: "Indtast den kode, du hører. Tryk på mellemrumstasten for at afspille lyd.",
|
||||||
|
error: "Verificering mislykkedes. Prøv venligst igen senere.",
|
||||||
|
expired: "Verificering udløbet. Prøv venligst igen.",
|
||||||
|
footer: 'Beskyttet af <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (officiel hjemmeside)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Hent lydudfordring",
|
||||||
|
label: "Jeg er ikke en robot",
|
||||||
|
loading: "Indlæser...",
|
||||||
|
reload: "Genindlæs",
|
||||||
|
verify: "Verificer",
|
||||||
|
verificationRequired: "Verificering kræves!",
|
||||||
|
verified: "Verificeret",
|
||||||
|
verifying: "Verificerer...",
|
||||||
|
waitAlert: "Verificerer... vent venligst.",
|
||||||
|
cancel: "Annuller",
|
||||||
|
enterCodeFromImage: "For at fortsætte, bedes du indtaste koden fra billedet herunder."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("da", i18n$p);
|
||||||
|
const i18n$o = {
|
||||||
|
ariaLinkLabel: "Altcha (officiell webbplats)",
|
||||||
|
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.",
|
||||||
|
footer: 'Skyddad av <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (officiell webbplats)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Få ljudutmaning",
|
||||||
|
label: "Jag är inte en robot",
|
||||||
|
loading: "Laddar...",
|
||||||
|
reload: "Ladda om",
|
||||||
|
verify: "Verifiera",
|
||||||
|
verificationRequired: "Verifiering krävs!",
|
||||||
|
verified: "Verifierad",
|
||||||
|
verifying: "Verifierar...",
|
||||||
|
waitAlert: "Verifierar... vänligen vänta.",
|
||||||
|
cancel: "Avbryt",
|
||||||
|
enterCodeFromImage: "För att fortsätta, ange koden från bilden nedan."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("sv", i18n$o);
|
||||||
|
const i18n$n = {
|
||||||
|
ariaLinkLabel: "Altcha (virallinen verkkosivusto)",
|
||||||
|
enterCode: "Syötä koodi",
|
||||||
|
enterCodeAria: "Kirjoita kuulemasi koodi. Paina välilyöntiä toistaaksesi äänen.",
|
||||||
|
error: "Varmennus epäonnistui. Yritä myöhemmin uudelleen.",
|
||||||
|
expired: "Varmennus vanhentui. Yritä uudelleen.",
|
||||||
|
footer: 'Suojattu <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (virallinen verkkosivusto)">ALTCHA</a>:lla',
|
||||||
|
getAudioChallenge: "Hae äänitehtävä",
|
||||||
|
label: "En ole robotti",
|
||||||
|
loading: "Ladataan...",
|
||||||
|
reload: "Lataa uudelleen",
|
||||||
|
verify: "Vahvista",
|
||||||
|
verificationRequired: "Vahvistus vaaditaan!",
|
||||||
|
verified: "Vahvistettu",
|
||||||
|
verifying: "Vahvistetaan...",
|
||||||
|
waitAlert: "Vahvistetaan... odota hetki.",
|
||||||
|
cancel: "Peruuta",
|
||||||
|
enterCodeFromImage: "Jatkaaksesi, syötä alla olevan kuvan koodi."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("fi", i18n$n);
|
||||||
|
const i18n$m = {
|
||||||
|
ariaLinkLabel: "Altcha (ametlik veebisait)",
|
||||||
|
enterCode: "Sisesta kood",
|
||||||
|
enterCodeAria: "Sisestage kuuldu kood. Vajutage tühikut, et esitada heli.",
|
||||||
|
error: "Kinnitamine ebaõnnestus. Proovi hiljem uuesti.",
|
||||||
|
expired: "Kinnitamine aegus. Proovi uuesti.",
|
||||||
|
footer: 'Kaitstud <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (ametlik veebisait)">ALTCHA</a> poolt',
|
||||||
|
getAudioChallenge: "Hangi heliülesanne",
|
||||||
|
label: "Ma ei ole robot",
|
||||||
|
loading: "Laadimine...",
|
||||||
|
reload: "Laadi uuesti",
|
||||||
|
verify: "Kinnita",
|
||||||
|
verificationRequired: "Kontroll on vajalik!",
|
||||||
|
verified: "Kinnitatud",
|
||||||
|
verifying: "Kinnitamine...",
|
||||||
|
waitAlert: "Kinnitamine... palun oota.",
|
||||||
|
cancel: "Tühista",
|
||||||
|
enterCodeFromImage: "Jätkamiseks sisestage alloleval pildil olev kood."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("et", i18n$m);
|
||||||
|
const i18n$l = {
|
||||||
|
ariaLinkLabel: "Altcha (offisiell nettside)",
|
||||||
|
enterCode: "Skriv inn kode",
|
||||||
|
enterCodeAria: "Skriv inn koden du hører. Trykk på Space for å spille av lyden.",
|
||||||
|
error: "Verifisering mislyktes. Prøv igjen senere.",
|
||||||
|
expired: "Verifiseringen utløp. Prøv igjen.",
|
||||||
|
footer: 'Beskyttet av <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (offisiell nettside)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Få en lydutfordring",
|
||||||
|
label: "Jeg er ikke en robot",
|
||||||
|
loading: "Laster...",
|
||||||
|
reload: "Last på nytt",
|
||||||
|
verify: "Verifiser",
|
||||||
|
verificationRequired: "Verifisering kreves!",
|
||||||
|
verified: "Verifisert",
|
||||||
|
verifying: "Verifiserer...",
|
||||||
|
waitAlert: "Verifiserer... vennligst vent.",
|
||||||
|
cancel: "Avbryt",
|
||||||
|
enterCodeFromImage: "For å fortsette, vennligst skriv inn koden fra bildet nedenfor."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("nb", i18n$l);
|
||||||
|
const i18n$k = {
|
||||||
|
ariaLinkLabel: "Altcha (opinber vefsíða)",
|
||||||
|
enterCode: "Sláðu inn kóða",
|
||||||
|
enterCodeAria: "Sláðu inn kóðann sem þú heyrir. Ýttu á Space til að spila hljóðið.",
|
||||||
|
error: "Staðfesting mistókst. Reyndu aftur síðar.",
|
||||||
|
expired: "Staðfesting er útrunnin. Reyndu aftur.",
|
||||||
|
footer: 'Verndað af <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (opinber vefsíða)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Fá hljóðáskorun",
|
||||||
|
label: "Ég er ekki robot",
|
||||||
|
loading: "Hleður...",
|
||||||
|
reload: "Hleð aftur",
|
||||||
|
verify: "Staðfesta",
|
||||||
|
verificationRequired: "Staðfesting er nauðsynleg!",
|
||||||
|
verified: "Staðfest",
|
||||||
|
verifying: "Að staðfesta...",
|
||||||
|
waitAlert: "Að staðfesta... vinsamlegast bíða.",
|
||||||
|
cancel: "Hætta við",
|
||||||
|
enterCodeFromImage: "Til að halda áfram, vinsamlegast sláðu inn kóðann af myndinni hér að neðan."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("is", i18n$k);
|
||||||
|
const i18n$j = {
|
||||||
|
ariaLinkLabel: "Altcha (oficiali svetainė)",
|
||||||
|
enterCode: "Įveskite kodą",
|
||||||
|
enterCodeAria: "Įveskite girdimą kodą. Paspauskite tarpo klavišą, kad grotumėte garso įrašą.",
|
||||||
|
error: "Patvirtinimas nepavyko. Bandykite vėliau.",
|
||||||
|
expired: "Patvirtinimo laikas baigėsi. Bandykite dar kartą.",
|
||||||
|
footer: 'Apsaugota <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oficiali svetainė)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Gauti garso užduotį",
|
||||||
|
label: "Aš nesu robotas",
|
||||||
|
loading: "Įkeliama...",
|
||||||
|
reload: "Įkelti iš naujo",
|
||||||
|
verify: "Patvirtinti",
|
||||||
|
verificationRequired: "Reikalingas patvirtinimas!",
|
||||||
|
verified: "Patvirtinta",
|
||||||
|
verifying: "Tikrinama...",
|
||||||
|
waitAlert: "Tikrinama... prašome palaukti.",
|
||||||
|
cancel: "Atšaukti",
|
||||||
|
enterCodeFromImage: "Norėdami tęsti, įveskite kodą iš paveikslėlio žemiau."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("lt", i18n$j);
|
||||||
|
const i18n$i = {
|
||||||
|
ariaLinkLabel: "Altcha (oficiālā tīmekļa vietne)",
|
||||||
|
enterCode: "Ievadiet kodu",
|
||||||
|
enterCodeAria: "Ievadiet dzirdamo kodu. Nospiediet atstarpes taustiņu, lai atskaņotu audio.",
|
||||||
|
error: "Verifikācija neizdevās. Mēģiniet vēlāk vēlreiz.",
|
||||||
|
expired: "Verifikācijas laiks ir beidzies. Mēģiniet vēlreiz.",
|
||||||
|
footer: 'Aizsargāts ar <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oficiālā tīmekļa vietne)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Saņemt audio izaicinājumu",
|
||||||
|
label: "Es neesmu robots",
|
||||||
|
loading: "Notiek ielāde...",
|
||||||
|
reload: "Pārlādēt",
|
||||||
|
verify: "Verificēt",
|
||||||
|
verificationRequired: "Nepieciešama verifikācija!",
|
||||||
|
verified: "Verificēts",
|
||||||
|
verifying: "Notiek verifikācija...",
|
||||||
|
waitAlert: "Notiek verifikācija... lūdzu, uzgaidiet.",
|
||||||
|
cancel: "Atcelt",
|
||||||
|
enterCodeFromImage: "Lai turpinātu, lūdzu, ievadiet zemāk redzamo attēlu kodu."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("lv", i18n$i);
|
||||||
|
const i18n$h = {
|
||||||
|
ariaLinkLabel: "Altcha (афіцыйны сайт)",
|
||||||
|
enterCode: "Увядзіце код",
|
||||||
|
enterCodeAria: "Увядзіце код, які вы чуеце. Націсніце прабел, каб прайграць аўдыё.",
|
||||||
|
error: "Праверка не прайшла. Паспрабуйце пазней.",
|
||||||
|
expired: "Тэрмін праверкі скончыўся. Паспрабуйце зноў.",
|
||||||
|
footer: 'Абаронена <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (афіцыйны сайт)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Атрымаць аўдыё выклік",
|
||||||
|
label: "Я не робат",
|
||||||
|
loading: "Загрузка...",
|
||||||
|
reload: "Перазагрузіць",
|
||||||
|
verify: "Праверыць",
|
||||||
|
verificationRequired: "Патрабуецца праверка!",
|
||||||
|
verified: "Праверана",
|
||||||
|
verifying: "Правяраем...",
|
||||||
|
waitAlert: "Праверка... калі ласка, пачакайце.",
|
||||||
|
cancel: "Скасаваць",
|
||||||
|
enterCodeFromImage: "Каб працягнуць, увядзіце код з малюнка ніжэй."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("be", i18n$h);
|
||||||
|
const i18n$g = {
|
||||||
|
ariaLinkLabel: "Altcha (službena web stranica)",
|
||||||
|
enterCode: "Unesite kod",
|
||||||
|
enterCodeAria: "Unesite kod koji čujete. Pritisnite Space da biste pustili zvuk.",
|
||||||
|
error: "Verifikacija nije uspjela. Pokušajte ponovo kasnije.",
|
||||||
|
expired: "Verifikacija je istekla. Pokušajte ponovo.",
|
||||||
|
footer: 'Zaštićeno od strane <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (službena web stranica)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Dohvatite audio izazov",
|
||||||
|
label: "Nisam robot",
|
||||||
|
loading: "Učitavanje...",
|
||||||
|
reload: "Ponovno učitaj",
|
||||||
|
verify: "Verifikuj",
|
||||||
|
verificationRequired: "Verifikacija je obavezna!",
|
||||||
|
verified: "Verifikovano",
|
||||||
|
verifying: "Verifikacija u toku...",
|
||||||
|
waitAlert: "Verifikacija u toku... molimo vas da sačekate.",
|
||||||
|
cancel: "Odustani",
|
||||||
|
enterCodeFromImage: "Za nastavak, molimo unesite kod sa slike ispod."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("bs", i18n$g);
|
||||||
|
const i18n$f = {
|
||||||
|
ariaLinkLabel: "Altcha (oficiální web)",
|
||||||
|
enterCode: "Zadejte kód",
|
||||||
|
enterCodeAria: "Zadejte kód, který slyšíte. Stisknutím mezerníku přehrajete zvuk.",
|
||||||
|
error: "Ověření selhalo. Zkuste to prosím později.",
|
||||||
|
expired: "Ověření vypršelo. Zkuste to prosím znovu.",
|
||||||
|
footer: 'Chráněno pomocí <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oficiální web)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Získat audio výzvu",
|
||||||
|
label: "Nejsem robot",
|
||||||
|
loading: "Načítání...",
|
||||||
|
reload: "Znovu načíst",
|
||||||
|
verify: "Ověřit",
|
||||||
|
verificationRequired: "Vyžaduje se ověření!",
|
||||||
|
verified: "Ověřeno",
|
||||||
|
verifying: "Ověřování...",
|
||||||
|
waitAlert: "Probíhá ověření... prosím počkejte.",
|
||||||
|
cancel: "Zrušit",
|
||||||
|
enterCodeFromImage: "Pro pokračování zadejte kód z obrázku níže."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("cs", i18n$f);
|
||||||
|
const i18n$e = {
|
||||||
|
ariaLinkLabel: "Altcha (oficjalna strona internetowa)",
|
||||||
|
enterCode: "Wprowadź kod",
|
||||||
|
enterCodeAria: "Wpisz kod, który słyszysz. Naciśnij Spację, aby odtworzyć dźwięk.",
|
||||||
|
error: "Weryfikacja nie powiodła się. Spróbuj ponownie później.",
|
||||||
|
expired: "Weryfikacja wygasła. Spróbuj ponownie.",
|
||||||
|
footer: 'Chronione przez <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oficjalna strona internetowa)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Pobierz zadanie dźwiękowe",
|
||||||
|
label: "Nie jestem robotem",
|
||||||
|
loading: "Ładowanie...",
|
||||||
|
reload: "Odśwież",
|
||||||
|
verify: "Zweryfikuj",
|
||||||
|
verificationRequired: "Wymagana weryfikacja!",
|
||||||
|
verified: "Zweryfikowano",
|
||||||
|
verifying: "Weryfikacja...",
|
||||||
|
waitAlert: "Trwa weryfikacja... proszę czekać.",
|
||||||
|
cancel: "Anuluj",
|
||||||
|
enterCodeFromImage: "Aby kontynuować, wprowadź kod z poniższego obrazka."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("pl", i18n$e);
|
||||||
|
const i18n$d = {
|
||||||
|
ariaLinkLabel: "Altcha (hivatalos weboldal)",
|
||||||
|
enterCode: "Írja be a kódot",
|
||||||
|
enterCodeAria: "Írja be a hallott kódot. Nyomja meg a Szóköz billentyűt a hang lejátszásához.",
|
||||||
|
error: "A hitelesítés nem sikerült. Próbáld meg később újra.",
|
||||||
|
expired: "A hitelesítés lejárt. Próbáld újra.",
|
||||||
|
footer: 'Védve a következő által: <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (hivatalos weboldal)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Hangalapú kihívás kérése",
|
||||||
|
label: "Nem vagyok robot",
|
||||||
|
loading: "Betöltés...",
|
||||||
|
reload: "Újratöltés",
|
||||||
|
verify: "Ellenőrzés",
|
||||||
|
verificationRequired: "Ellenőrzés szükséges!",
|
||||||
|
verified: "Ellenőrizve",
|
||||||
|
verifying: "Ellenőrzés folyamatban...",
|
||||||
|
waitAlert: "Ellenőrzés folyamatban... kérlek várj.",
|
||||||
|
cancel: "Mégse",
|
||||||
|
enterCodeFromImage: "A folytatáshoz, kérjük, adja meg az alábbi kép kódját."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("hu", i18n$d);
|
||||||
|
const i18n$c = {
|
||||||
|
ariaLinkLabel: "Altcha (oficiálna webová stránka)",
|
||||||
|
enterCode: "Zadajte kód",
|
||||||
|
enterCodeAria: "Zadajte kód, ktorý počujete. Stlačením medzerníka prehráte zvuk.",
|
||||||
|
error: "Verifikácia zlyhala. Skúste to znova neskôr.",
|
||||||
|
expired: "Verifikácia vypršala. Skúste to znova.",
|
||||||
|
footer: 'Chránené <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (oficiálna webová stránka)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Získať audio výzvu",
|
||||||
|
label: "Nie som robot",
|
||||||
|
loading: "Načítava sa...",
|
||||||
|
reload: "Obnoviť",
|
||||||
|
verify: "Verifikovať",
|
||||||
|
verificationRequired: "Vyžaduje sa overenie!",
|
||||||
|
verified: "Verifikované",
|
||||||
|
verifying: "Prebieha verifikácia...",
|
||||||
|
waitAlert: "Prebieha verifikácia... prosím čakajte.",
|
||||||
|
cancel: "Zrušiť",
|
||||||
|
enterCodeFromImage: "Na pokračovanie, prosím, zadajte kód z obrázka nižšie."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("sk", i18n$c);
|
||||||
|
const i18n$b = {
|
||||||
|
ariaLinkLabel: "Altcha (uradna spletna stran)",
|
||||||
|
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.",
|
||||||
|
footer: 'Zaščiteno z <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (uradna spletna stran)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Pridobite zvočni izziv",
|
||||||
|
label: "Nisem robot",
|
||||||
|
loading: "Nalagam...",
|
||||||
|
reload: "Ponovno naloži",
|
||||||
|
verify: "Preveri",
|
||||||
|
verificationRequired: "Potrebna je preveritev!",
|
||||||
|
verified: "Preverjeno",
|
||||||
|
verifying: "Preverjanje...",
|
||||||
|
waitAlert: "Preverjanje... prosim počakajte.",
|
||||||
|
cancel: "Preklic",
|
||||||
|
enterCodeFromImage: "Za nadaljevanje, prosimo, vnesite kodo s slike spodaj."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("sl", i18n$b);
|
||||||
|
const i18n$a = {
|
||||||
|
ariaLinkLabel: "Altcha (službena web stranica)",
|
||||||
|
enterCode: "Unesite kod",
|
||||||
|
enterCodeAria: "Unesite kod koji čujete. Pritisnite razmaknicu za reprodukciju zvuka.",
|
||||||
|
error: "Provjera nije uspjela. Molimo pokušajte kasnije.",
|
||||||
|
expired: "Provjera je istekla. Molimo pokušajte ponovo.",
|
||||||
|
footer: 'Zaštićeno od strane <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (službena web stranica)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Audio provjera",
|
||||||
|
label: "Ja nisam robot",
|
||||||
|
loading: "Učitavanje...",
|
||||||
|
reload: "Ponovno učitaj",
|
||||||
|
verify: "Provjeri",
|
||||||
|
verificationRequired: "Potrebna je provjera!",
|
||||||
|
verified: "Provjereno",
|
||||||
|
verifying: "Provjeravanje...",
|
||||||
|
waitAlert: "Provjera je u tijeku... molimo pričekajte.",
|
||||||
|
cancel: "Odustani",
|
||||||
|
enterCodeFromImage: "Za nastavak molimo unesite kod sa slike ispod."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("hr", i18n$a);
|
||||||
|
const i18n$9 = {
|
||||||
|
ariaLinkLabel: "Altcha (site oficial)",
|
||||||
|
enterCode: "Introduceți codul",
|
||||||
|
enterCodeAria: "Introduceți codul pe care îl auziți. Apăsați Spațiu pentru a reda audio.",
|
||||||
|
error: "Verificarea a eșuat. Încearcă din nou mai târziu.",
|
||||||
|
expired: "Verificarea a expirat. Încearcă din nou.",
|
||||||
|
footer: 'Protejat de <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site oficial)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obține o provocare audio",
|
||||||
|
label: "Nu sunt un robot",
|
||||||
|
loading: "Se încarcă...",
|
||||||
|
reload: "Reîncarcă",
|
||||||
|
verify: "Verifică",
|
||||||
|
verificationRequired: "Verificare necesară!",
|
||||||
|
verified: "Verificat",
|
||||||
|
verifying: "Se verifică...",
|
||||||
|
waitAlert: "Se verifică... te rugăm să aștepți.",
|
||||||
|
cancel: "Anulare",
|
||||||
|
enterCodeFromImage: "Pentru a continua, vă rugăm să introduceți codul din imaginea de mai jos."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ro", i18n$9);
|
||||||
|
const i18n$8 = {
|
||||||
|
ariaLinkLabel: "Altcha (официален уебсайт)",
|
||||||
|
enterCode: "Въведете код",
|
||||||
|
enterCodeAria: "Въведете кода, който чувате. Натиснете Space за възпроизвеждане на аудио.",
|
||||||
|
error: "Проверката неуспешна. Моля, опитайте по-късно.",
|
||||||
|
expired: "Времето за проверка изтече. Моля, опитайте отново.",
|
||||||
|
footer: 'Защитено от <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (официален уебсайт)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Аудио проверка",
|
||||||
|
label: "Аз не съм робот",
|
||||||
|
loading: "Зареждане...",
|
||||||
|
reload: "Презареди",
|
||||||
|
verify: "Провери",
|
||||||
|
verificationRequired: "Изисква се проверка!",
|
||||||
|
verified: "Проверено",
|
||||||
|
verifying: "Проверява се...",
|
||||||
|
waitAlert: "Проверката е в процес... моля изчакайте.",
|
||||||
|
cancel: "Отказ",
|
||||||
|
enterCodeFromImage: "За да продължите, моля, въведете кода от изображението по-долу."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("bg", i18n$8);
|
||||||
|
const i18n$7 = {
|
||||||
|
ariaLinkLabel: "Altcha (επίσημος ιστότοπος)",
|
||||||
|
enterCode: "Εισαγάγετε κωδικό",
|
||||||
|
enterCodeAria: "Εισαγάγετε τον κωδικό που ακούτε. Πατήστε Space για να παίξετε τον ήχο.",
|
||||||
|
error: "Η επαλήθευση απέτυχε. Δοκιμάστε ξανά αργότερα.",
|
||||||
|
expired: "Η επαλήθευση έληξε. Δοκιμάστε ξανά.",
|
||||||
|
footer: 'Προστατεύεται από το <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (επίσημος ιστότοπος)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Λήψη ηχητικής δοκιμασίας",
|
||||||
|
label: "Δεν είμαι ρομπότ",
|
||||||
|
loading: "Φόρτωση...",
|
||||||
|
reload: "Επαναφόρτωση",
|
||||||
|
verify: "Επαλήθευση",
|
||||||
|
verificationRequired: "Απαιτείται έλεγχος!",
|
||||||
|
verified: "Επαληθεύτηκε",
|
||||||
|
verifying: "Γίνεται επαλήθευση...",
|
||||||
|
waitAlert: "Γίνεται επαλήθευση... παρακαλώ περιμένετε.",
|
||||||
|
cancel: "Ακύρωση",
|
||||||
|
enterCodeFromImage: "Για να συνεχίσετε, εισάγετε τον κωδικό από την παρακάτω εικόνα."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("el", i18n$7);
|
||||||
|
const i18n$6 = {
|
||||||
|
ariaLinkLabel: "Altcha (zvanična web stranica)",
|
||||||
|
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/" tabindex="-1" target="_blank" aria-label="Altcha (zvanična web stranica)">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.",
|
||||||
|
cancel: "Откажи",
|
||||||
|
enterCodeFromImage: "Да бисте наставили, унесите код са слике испод."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("sr", i18n$6);
|
||||||
|
const i18n$5 = {
|
||||||
|
ariaLinkLabel: "Altcha (официальный сайт)",
|
||||||
|
enterCode: "Введите код",
|
||||||
|
enterCodeAria: "Введите код, который слышите. Нажмите пробел для воспроизведения аудио.",
|
||||||
|
error: "Ошибка верификации. Попробуйте позже.",
|
||||||
|
expired: "Срок действия верификации истек. Попробуйте снова.",
|
||||||
|
footer: 'Защищено <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (официальный сайт)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Получить аудио задачу",
|
||||||
|
label: "Я не робот",
|
||||||
|
loading: "Загрузка...",
|
||||||
|
reload: "Перезагрузить",
|
||||||
|
verify: "Проверить",
|
||||||
|
verificationRequired: "Требуется проверка!",
|
||||||
|
verified: "Проверено",
|
||||||
|
verifying: "Идет проверка...",
|
||||||
|
waitAlert: "Идет проверка... Пожалуйста, подождите.",
|
||||||
|
cancel: "Отмена",
|
||||||
|
enterCodeFromImage: "Чтобы продолжить, пожалуйста, введите код с изображения ниже."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ru", i18n$5);
|
||||||
|
const i18n$4 = {
|
||||||
|
ariaLinkLabel: "Altcha (zvanična web stranica)",
|
||||||
|
enterCode: "Unesite kod",
|
||||||
|
enterCodeAria: "Unesite kod koji čujete. Pritisnite Space za puštanje zvuka.",
|
||||||
|
error: "Verifikacija nije uspjela. Pokušajte ponovo kasnije.",
|
||||||
|
expired: "Verifikacija je istekla. Pokušajte ponovo.",
|
||||||
|
footer: 'Zaštićeno putem <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (zvanična web stranica)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Preuzmi audio izazov",
|
||||||
|
label: "Nijesam robot",
|
||||||
|
loading: "Učitavanje...",
|
||||||
|
reload: "Ponovo učitaj",
|
||||||
|
verify: "Verifikuj",
|
||||||
|
verificationRequired: "Potrebna je verifikacija!",
|
||||||
|
verified: "Verifikovano",
|
||||||
|
verifying: "Verifikacija u toku...",
|
||||||
|
waitAlert: "Verifikujem... molimo sačekajte.",
|
||||||
|
cancel: "Odustani",
|
||||||
|
enterCodeFromImage: "Za nastavak, molimo unesite kod sa slike ispod."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("me", i18n$4);
|
||||||
|
const i18n$3 = {
|
||||||
|
ariaLinkLabel: "Altcha (официјален веб-сајт)",
|
||||||
|
enterCode: "Внесете код",
|
||||||
|
enterCodeAria: "Внесете го кодот што го слушате. Притиснете Space за да ја пуштите аудио снимката.",
|
||||||
|
error: "Проверката не успеа. Обидете се подоцна.",
|
||||||
|
expired: "Проверката истече. Обидете се повторно.",
|
||||||
|
footer: 'Заштитено со <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (официјален веб-сајт)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Земете аудио предизвик",
|
||||||
|
label: "Јас не сум робот",
|
||||||
|
loading: "Се вчитува...",
|
||||||
|
reload: "Превчитај",
|
||||||
|
verify: "Провери",
|
||||||
|
verificationRequired: "Потребна е проверка!",
|
||||||
|
verified: "Потврдено",
|
||||||
|
verifying: "Се проверува...",
|
||||||
|
waitAlert: "Се проверува... ве молиме почекајте.",
|
||||||
|
cancel: "Откажи",
|
||||||
|
enterCodeFromImage: "За да продолжите, ве молиме внесете го кодот од сликата подолу."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("mk", i18n$3);
|
||||||
|
const i18n$2 = {
|
||||||
|
ariaLinkLabel: "Altcha (faqja zyrtare)",
|
||||||
|
enterCode: "Fut kodin",
|
||||||
|
enterCodeAria: "Fut kodin që dëgjon. Shtypni Hapësirë për të luajtur audio.",
|
||||||
|
error: "Verifikimi dështoi. Provoni përsëri më vonë.",
|
||||||
|
expired: "Verifikimi ka skaduar. Provoni përsëri.",
|
||||||
|
footer: 'I mbrojtur nga <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (faqja zyrtare)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Merr një sfidë audio",
|
||||||
|
label: "Unë nuk jam një robot",
|
||||||
|
loading: "Duke u ngarkuar...",
|
||||||
|
reload: "Ringarko",
|
||||||
|
verify: "Verifiko",
|
||||||
|
verificationRequired: "Kërkohet verifikimi!",
|
||||||
|
verified: "I verifikuar",
|
||||||
|
verifying: "Duke verifikuar...",
|
||||||
|
waitAlert: "Duke verifikuar... ju lutem prisni.",
|
||||||
|
cancel: "Anuloje",
|
||||||
|
enterCodeFromImage: "Për të vazhduar, ju lutemi fusni kodin nga imazhi më poshtë."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("sq", i18n$2);
|
||||||
|
const i18n$1 = {
|
||||||
|
ariaLinkLabel: "Altcha (amptelike webwerf)",
|
||||||
|
enterCode: "Voer kode in",
|
||||||
|
enterCodeAria: "Voer die kode in wat jy hoor. Druk Spasie om die klank af te speel.",
|
||||||
|
error: "Verifikasie het misluk. Probeer later weer.",
|
||||||
|
expired: "Verifikasie het verval. Probeer weer.",
|
||||||
|
footer: 'Beskerm deur <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (amptelike webwerf)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Kry 'n klankuitdaging",
|
||||||
|
label: "Ek is nie 'n robot nie",
|
||||||
|
loading: "Laai...",
|
||||||
|
reload: "Laai weer",
|
||||||
|
verify: "Verifieer",
|
||||||
|
verificationRequired: "Verifikasie is vereis!",
|
||||||
|
verified: "Geverifieer",
|
||||||
|
verifying: "Verifieer...",
|
||||||
|
waitAlert: "Verifieer... wag asseblief.",
|
||||||
|
cancel: "Kanselleer",
|
||||||
|
enterCodeFromImage: "Om voort te gaan, voer asseblief die kode vanaf die onderstaande prentjie in."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("af", i18n$1);
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (sit uffiċjali)",
|
||||||
|
enterCode: "Idħol il-kodiċi",
|
||||||
|
enterCodeAria: "Idħol il-kodiċi li tisma'. Agħfas Spazju biex tindaqq l-awdjo.",
|
||||||
|
error: "Il-verifika falliet. Erġa’ pprova aktar tard.",
|
||||||
|
expired: "Il-verifika skadiet. Erġa’ pprova.",
|
||||||
|
footer: 'Protett minn <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (sit uffiċjali)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Ikseb sfida bl-awdjo",
|
||||||
|
label: "M’inix robot",
|
||||||
|
loading: "Qed jitgħabba...",
|
||||||
|
reload: "Ittella’ mill-ġdid",
|
||||||
|
verify: "Ivverifika",
|
||||||
|
verificationRequired: "Verifika meħtieġa!",
|
||||||
|
verified: "Ivverifikat",
|
||||||
|
verifying: "Verifika għaddejja...",
|
||||||
|
waitAlert: "Verifika għaddejja... stenna ftit.",
|
||||||
|
cancel: "Ikkanċella",
|
||||||
|
enterCodeFromImage: "Biex tipproċedi, jekk jogħġbok daħħal il-kodiċi mill-immaġni hawn taħt."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("mt", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/fa'; export {};
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (وبسایت رسمی)",
|
||||||
|
enterCode: "کد را وارد کنید",
|
||||||
|
enterCodeAria: "کدی که میشنوید را وارد کنید. برای پخش صدا Space را فشار دهید.",
|
||||||
|
error: "احراز هویت ناموفق بود. بعداً دوباره تلاش کنید.",
|
||||||
|
expired: "احراز هویت منقضی شد. دوباره تلاش کنید.",
|
||||||
|
footer: 'محافظت شده توسط <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (وبسایت رسمی)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "دریافت چالش صوتی",
|
||||||
|
label: "من ربات نیستم",
|
||||||
|
loading: "در حال بارگذاری...",
|
||||||
|
reload: "بارگذاری مجدد",
|
||||||
|
verify: "تایید",
|
||||||
|
verificationRequired: "احراز هویت لازم است!",
|
||||||
|
verified: "تایید شد",
|
||||||
|
verifying: "در حال تایید...",
|
||||||
|
waitAlert: "در حال تایید... لطفا منتظر بمانید.",
|
||||||
|
cancel: "لغو کردن",
|
||||||
|
enterCodeFromImage: "برای ادامه، لطفاً کد تصویر زیر را وارد کنید."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("fa", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (وبسایت رسمی)",
|
||||||
|
enterCode: "کد را وارد کنید",
|
||||||
|
enterCodeAria: "کدی که میشنوید را وارد کنید. برای پخش صدا Space را فشار دهید.",
|
||||||
|
error: "احراز هویت ناموفق بود. بعداً دوباره تلاش کنید.",
|
||||||
|
expired: "احراز هویت منقضی شد. دوباره تلاش کنید.",
|
||||||
|
footer: 'محافظت شده توسط <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (وبسایت رسمی)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "دریافت چالش صوتی",
|
||||||
|
label: "من ربات نیستم",
|
||||||
|
loading: "در حال بارگذاری...",
|
||||||
|
reload: "بارگذاری مجدد",
|
||||||
|
verify: "تایید",
|
||||||
|
verificationRequired: "احراز هویت لازم است!",
|
||||||
|
verified: "تایید شد",
|
||||||
|
verifying: "در حال تایید...",
|
||||||
|
waitAlert: "در حال تایید... لطفا منتظر بمانید.",
|
||||||
|
cancel: "لغو کردن",
|
||||||
|
enterCodeFromImage: "برای ادامه، لطفاً کد تصویر زیر را وارد کنید."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("fa", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/fi'; export {};
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (virallinen verkkosivusto)",
|
||||||
|
enterCode: "Syötä koodi",
|
||||||
|
enterCodeAria: "Kirjoita kuulemasi koodi. Paina välilyöntiä toistaaksesi äänen.",
|
||||||
|
error: "Varmennus epäonnistui. Yritä myöhemmin uudelleen.",
|
||||||
|
expired: "Varmennus vanhentui. Yritä uudelleen.",
|
||||||
|
footer: 'Suojattu <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (virallinen verkkosivusto)">ALTCHA</a>:lla',
|
||||||
|
getAudioChallenge: "Hae äänitehtävä",
|
||||||
|
label: "En ole robotti",
|
||||||
|
loading: "Ladataan...",
|
||||||
|
reload: "Lataa uudelleen",
|
||||||
|
verify: "Vahvista",
|
||||||
|
verificationRequired: "Vahvistus vaaditaan!",
|
||||||
|
verified: "Vahvistettu",
|
||||||
|
verifying: "Vahvistetaan...",
|
||||||
|
waitAlert: "Vahvistetaan... odota hetki.",
|
||||||
|
cancel: "Peruuta",
|
||||||
|
enterCodeFromImage: "Jatkaaksesi, syötä alla olevan kuvan koodi."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("fi", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (virallinen verkkosivusto)",
|
||||||
|
enterCode: "Syötä koodi",
|
||||||
|
enterCodeAria: "Kirjoita kuulemasi koodi. Paina välilyöntiä toistaaksesi äänen.",
|
||||||
|
error: "Varmennus epäonnistui. Yritä myöhemmin uudelleen.",
|
||||||
|
expired: "Varmennus vanhentui. Yritä uudelleen.",
|
||||||
|
footer: 'Suojattu <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (virallinen verkkosivusto)">ALTCHA</a>:lla',
|
||||||
|
getAudioChallenge: "Hae äänitehtävä",
|
||||||
|
label: "En ole robotti",
|
||||||
|
loading: "Ladataan...",
|
||||||
|
reload: "Lataa uudelleen",
|
||||||
|
verify: "Vahvista",
|
||||||
|
verificationRequired: "Vahvistus vaaditaan!",
|
||||||
|
verified: "Vahvistettu",
|
||||||
|
verifying: "Vahvistetaan...",
|
||||||
|
waitAlert: "Vahvistetaan... odota hetki.",
|
||||||
|
cancel: "Peruuta",
|
||||||
|
enterCodeFromImage: "Jatkaaksesi, syötä alla olevan kuvan koodi."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("fi", i18n);
|
||||||
|
}));
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (site officiel)",
|
||||||
|
enterCode: "Entrez le code",
|
||||||
|
enterCodeAria: "Entrez le code que vous entendez. Appuyez sur la barre d'espace pour écouter l'audio.",
|
||||||
|
error: "Échec de la vérification. Réessayez plus tard.",
|
||||||
|
expired: "La vérification a expiré. Réessayez.",
|
||||||
|
footer: 'Protégé par <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site officiel)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtenir un défi audio",
|
||||||
|
label: "Je ne suis pas un robot",
|
||||||
|
loading: "Chargement...",
|
||||||
|
reload: "Recharger",
|
||||||
|
verify: "Vérifier",
|
||||||
|
verificationRequired: "Vérification requise !",
|
||||||
|
verified: "Vérifié",
|
||||||
|
verifying: "Vérification en cours...",
|
||||||
|
waitAlert: "Vérification en cours... veuillez patienter.",
|
||||||
|
cancel: "Annuler",
|
||||||
|
enterCodeFromImage: "Pour continuer, veuillez entrer le code de l'image ci-dessous."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("fr-ca", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (site officiel)",
|
||||||
|
enterCode: "Entrez le code",
|
||||||
|
enterCodeAria: "Entrez le code que vous entendez. Appuyez sur la barre d'espace pour écouter l'audio.",
|
||||||
|
error: "Échec de la vérification. Réessayez plus tard.",
|
||||||
|
expired: "La vérification a expiré. Réessayez.",
|
||||||
|
footer: 'Protégé par <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site officiel)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtenir un défi audio",
|
||||||
|
label: "Je ne suis pas un robot",
|
||||||
|
loading: "Chargement...",
|
||||||
|
reload: "Recharger",
|
||||||
|
verify: "Vérifier",
|
||||||
|
verificationRequired: "Vérification requise !",
|
||||||
|
verified: "Vérifié",
|
||||||
|
verifying: "Vérification en cours...",
|
||||||
|
waitAlert: "Vérification en cours... veuillez patienter.",
|
||||||
|
cancel: "Annuler",
|
||||||
|
enterCodeFromImage: "Pour continuer, veuillez entrer le code de l'image ci-dessous."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("fr-ca", i18n);
|
||||||
|
}));
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (site officiel)",
|
||||||
|
enterCode: "Entrez le code",
|
||||||
|
enterCodeAria: "Entrez le code que vous entendez. Appuyez sur Espace pour écouter l'audio.",
|
||||||
|
error: "Échec de la vérification. Essayez à nouveau plus tard.",
|
||||||
|
expired: "La vérification a expiré. Essayez à nouveau.",
|
||||||
|
footer: 'Protégé par <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site officiel)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtenir un défi audio",
|
||||||
|
label: "Je ne suis pas un robot",
|
||||||
|
loading: "Chargement...",
|
||||||
|
reload: "Recharger",
|
||||||
|
verify: "Vérifier",
|
||||||
|
verificationRequired: "Vérification requise !",
|
||||||
|
verified: "Vérifié",
|
||||||
|
verifying: "Vérification en cours...",
|
||||||
|
waitAlert: "Vérification en cours... veuillez patienter.",
|
||||||
|
cancel: "Annuler",
|
||||||
|
enterCodeFromImage: "Pour continuer, veuillez entrer le code de l'image ci-dessous."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("fr-fr", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (site officiel)",
|
||||||
|
enterCode: "Entrez le code",
|
||||||
|
enterCodeAria: "Entrez le code que vous entendez. Appuyez sur Espace pour écouter l'audio.",
|
||||||
|
error: "Échec de la vérification. Essayez à nouveau plus tard.",
|
||||||
|
expired: "La vérification a expiré. Essayez à nouveau.",
|
||||||
|
footer: 'Protégé par <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (site officiel)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Obtenir un défi audio",
|
||||||
|
label: "Je ne suis pas un robot",
|
||||||
|
loading: "Chargement...",
|
||||||
|
reload: "Recharger",
|
||||||
|
verify: "Vérifier",
|
||||||
|
verificationRequired: "Vérification requise !",
|
||||||
|
verified: "Vérifié",
|
||||||
|
verifying: "Vérification en cours...",
|
||||||
|
waitAlert: "Vérification en cours... veuillez patienter.",
|
||||||
|
cancel: "Annuler",
|
||||||
|
enterCodeFromImage: "Pour continuer, veuillez entrer le code de l'image ci-dessous."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("fr-fr", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/fr'; export {};
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/ga'; export {};
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (láithreán gréasáin oifigiúil)",
|
||||||
|
enterCode: "Iontráil cód",
|
||||||
|
enterCodeAria: "Cuir isteach an cód a chloiseann tú. Brúigh Spás chun an fuaime a sheinm.",
|
||||||
|
error: "Theip ar an bhfíorú. Bain triail eile as níos déanaí.",
|
||||||
|
expired: "Tá an fíorú as feidhm. Bain triail eile as.",
|
||||||
|
footer: 'Cosanta ag <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (láithreán gréasáin oifigiúil)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Faigh dúshlán fuaime",
|
||||||
|
label: "Níl mé i mo róbat",
|
||||||
|
loading: "Á luchtú...",
|
||||||
|
reload: "Athluchtaigh",
|
||||||
|
verify: "Fíoraigh",
|
||||||
|
verificationRequired: "Fíorú riachtanach!",
|
||||||
|
verified: "Fíoraithe",
|
||||||
|
verifying: "Fíorú ar siúl...",
|
||||||
|
waitAlert: "Fíorú ar siúl... fan go fóill.",
|
||||||
|
cancel: "Cealaigh",
|
||||||
|
enterCodeFromImage: "Chun dul ar aghaidh, le do thoil cuir isteach an cód ón íomhá thíos."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ga", i18n);
|
||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
(function(factory) {
|
||||||
|
typeof define === "function" && define.amd ? define(factory) : factory();
|
||||||
|
})((function() {
|
||||||
|
"use strict";
|
||||||
|
const noop = () => {
|
||||||
|
};
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
function subscribe_to_store(store2, run, invalidate) {
|
||||||
|
if (store2 == null) {
|
||||||
|
run(void 0);
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = untrack(
|
||||||
|
() => store2.subscribe(
|
||||||
|
run,
|
||||||
|
// @ts-expect-error
|
||||||
|
invalidate
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop = null;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(
|
||||||
|
/** @type {T} */
|
||||||
|
value
|
||||||
|
);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
function get(store2) {
|
||||||
|
let value;
|
||||||
|
subscribe_to_store(store2, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
let untracking = false;
|
||||||
|
function untrack(fn) {
|
||||||
|
var previous_untracking = untracking;
|
||||||
|
try {
|
||||||
|
untracking = true;
|
||||||
|
return fn();
|
||||||
|
} finally {
|
||||||
|
untracking = previous_untracking;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function store(defaultValue) {
|
||||||
|
const scope = {
|
||||||
|
get: (name) => {
|
||||||
|
return get(scope.store)[name];
|
||||||
|
},
|
||||||
|
set: (name, value) => {
|
||||||
|
if (typeof name === "string") {
|
||||||
|
Object.assign(get(scope.store), {
|
||||||
|
[name]: value
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Object.assign(get(scope.store), name);
|
||||||
|
}
|
||||||
|
scope.store.set(get(scope.store));
|
||||||
|
},
|
||||||
|
store: writable(defaultValue)
|
||||||
|
};
|
||||||
|
return scope;
|
||||||
|
}
|
||||||
|
globalThis.$altcha = globalThis.$altcha || {
|
||||||
|
algorithms: /* @__PURE__ */ new Map(),
|
||||||
|
defaults: store({}),
|
||||||
|
i18n: store({}),
|
||||||
|
instances: /* @__PURE__ */ new Set(),
|
||||||
|
plugins: /* @__PURE__ */ new Set()
|
||||||
|
};
|
||||||
|
const i18n = {
|
||||||
|
ariaLinkLabel: "Altcha (láithreán gréasáin oifigiúil)",
|
||||||
|
enterCode: "Iontráil cód",
|
||||||
|
enterCodeAria: "Cuir isteach an cód a chloiseann tú. Brúigh Spás chun an fuaime a sheinm.",
|
||||||
|
error: "Theip ar an bhfíorú. Bain triail eile as níos déanaí.",
|
||||||
|
expired: "Tá an fíorú as feidhm. Bain triail eile as.",
|
||||||
|
footer: 'Cosanta ag <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (láithreán gréasáin oifigiúil)">ALTCHA</a>',
|
||||||
|
getAudioChallenge: "Faigh dúshlán fuaime",
|
||||||
|
label: "Níl mé i mo róbat",
|
||||||
|
loading: "Á luchtú...",
|
||||||
|
reload: "Athluchtaigh",
|
||||||
|
verify: "Fíoraigh",
|
||||||
|
verificationRequired: "Fíorú riachtanach!",
|
||||||
|
verified: "Fíoraithe",
|
||||||
|
verifying: "Fíorú ar siúl...",
|
||||||
|
waitAlert: "Fíorú ar siúl... fan go fóill.",
|
||||||
|
cancel: "Cealaigh",
|
||||||
|
enterCodeFromImage: "Chun dul ar aghaidh, le do thoil cuir isteach an cód ón íomhá thíos."
|
||||||
|
};
|
||||||
|
globalThis.$altcha.i18n.set("ga", i18n);
|
||||||
|
}));
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
declare module 'altcha/i18n/he'; export {};
|
||||||
Loaded 100 of 417 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user