lanqian528 / chat2api

A service that can convert ChatGPT on the web to OpenAI API format.
MIT License
1.81k stars 362 forks source link

使用racknerd VPS部署失败,容器一直重启中 #83

Closed socekin closed 3 months ago

socekin commented 3 months ago

在racknerd 购买VPS,使用docker部署失败。两个容器一直在重启中,求教 CleanShot 2024-06-02 at 17 40 47@2x

日志信息:

chat2api容器

2024-06-02 17:40:25,111 | INFO | ------------------------------------------------------------ 2024-06-02 17:40:25,112 | INFO | Chat2Api v1.2.0 | https://github.com/lanqian528/chat2api 2024-06-02 17:40:25,112 | INFO | ------------------------------------------------------------ 2024-06-02 17:40:25,112 | INFO | Environment variables: 2024-06-02 17:40:25,112 | INFO | API_PREFIX: None 2024-06-02 17:40:25,112 | INFO | AUTHORIZATION: [] 2024-06-02 17:40:25,113 | INFO | CHATGPT_BASE_URL: ['https://chatgpt.com'] 2024-06-02 17:40:25,113 | INFO | AUTH_KEY: None 2024-06-02 17:40:25,113 | INFO | ARKOSE_TOKEN_URL: ['http://arkose:5006/token'] 2024-06-02 17:40:25,113 | INFO | PROXY_URL: [] 2024-06-02 17:40:25,114 | INFO | EXPORT_PROXY_URL: None 2024-06-02 17:40:25,114 | INFO | HISTORY_DISABLED: True 2024-06-02 17:40:25,114 | INFO | POW_DIFFICULTY: 000032 2024-06-02 17:40:25,114 | INFO | RETRY_TIMES: 3 2024-06-02 17:40:25,114 | INFO | ENABLE_GATEWAY: True 2024-06-02 17:40:25,115 | INFO | CONVERSATION_ONLY: False 2024-06-02 17:40:25,115 | INFO | ENABLE_LIMIT: True 2024-06-02 17:40:25,115 | INFO | UPLOAD_BY_URL: False 2024-06-02 17:40:25,116 | INFO | CHECK_MODEL: False 2024-06-02 17:40:25,116 | INFO | ------------------------------------------------------------ 2024-06-02 17:40:25,149 | INFO | Started server process [1] 2024-06-02 17:40:25,150 | INFO | Waiting for application startup. 2024-06-02 17:40:25,156 | INFO | Adding job tentatively -- it will be properly scheduled when the scheduler starts 2024-06-02 17:40:25,158 | INFO | Added job "refresh_all_tokens" to job store "default" 2024-06-02 17:40:25,159 | INFO | Scheduler started 2024-06-02 17:40:25,159 | INFO | Application startup complete.

funcaptcha_solver日志

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/curl_cffi/requests/session.py", line 881, in request
    c.perform()
  File "/usr/local/lib/python3.11/site-packages/curl_cffi/curl.py", line 294, in perform
    self._check_error(ret, "perform")
  File "/usr/local/lib/python3.11/site-packages/curl_cffi/curl.py", line 137, in _check_error
    raise error
curl_cffi.curl.CurlError: Failed to perform, curl: (6) getaddrinfo() thread failed to start. See https://curl.se/libcurl/c/libcurl-errors.html first for more details.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/app.py", line 11, in <module>
    from src.arkose.challenge import Challenge
  File "/app/src/arkose/challenge.py", line 9, in <module>
    from src.arkose.fingerprint import get_browser_data
  File "/app/src/arkose/fingerprint.py", line 9, in <module>
    from src.arkose.enhanced_fp import get_enhanced_fp, edit_enhanced_fp
  File "/app/src/arkose/enhanced_fp.py", line 7, in <module>
    from src.arkose.session import FunCaptchaOptions
  File "/app/src/arkose/session.py", line 1, in <module>
    from src.config import capi_version, enforcement_hash
  File "/app/src/config.py", line 9, in <module>
    api_js = requests.get(f"https://openai-api.arkoselabs.com/v2/23AAD243-4799-4A9E-B01D-1166C5DE02DF/api.js").text
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/curl_cffi/requests/__init__.py", line 106, in request
    return s.request(
           ^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/curl_cffi/requests/session.py", line 885, in request
    raise RequestsError(str(e), e.code, rsp) from e
curl_cffi.requests.errors.RequestsError: Failed to perform, curl: (6) getaddrinfo() thread failed to start. See https://curl.se/libcurl/c/libcurl-errors.html first for more details.
lanqian528 commented 3 months ago

你自己的网络问题

socekin commented 3 months ago

你自己的网络问题

VPS是美国地区,我部署其他docker镜像是正常的,这个对网络有什么特殊要求吗?

lanqian528 commented 3 months ago

你自己的网络问题

VPS是美国地区,我部署其他docker镜像是正常的,这个对网络有什么特殊要求吗?

curl https://openai-api.arkoselabs.com/v2/23AAD243-4799-4A9E-B01D-1166C5DE02DF/api.js 试试

socekin commented 3 months ago

curl https://openai-api.arkoselabs.com/v2/23AAD243-4799-4A9E-B01D-1166C5DE02DF/api.js获取到的内容如下:

var arkoseLabsClientApid7b782cc;!function(){var e={7983:function(e,t){"use strict";t.N=void 0;var n=/^([^\w]*)(javascript|data|vbscript)/im,r=/&#(\w+)(^\w|;)?/g,i=/&tab;/gi,o=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,a=/^.+(:|&colon;)/gim,c=[".","/"];t.N=function(e){var t,s=(t=e||"",(t=t.replace(i,"&#9;")).replace(r,(function(e,t){return String.fromCharCode(t)}))).replace(o,"").trim();if(!s)return"about:blank";if(function(e){return c.indexOf(e[0])>-1}(s))return s;var u=s.match(a);if(!u)return s;var l=u[0];return n.test(l)?"about:blank":s}},3940:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var c in n)r.call(n,c)&&n[c]&&e.push(c);else e.push(n.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},8645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(a[s]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);r&&a[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),t.push(l))}},t}},3835:function(e){"use strict";e.exports=function(e){return e[1]}},913:function(e,t,n){var r,i,o;!function(a,c){"use strict";i=[n(4486)],void 0===(o="function"==typeof(r=function(e){var t=/(^|@)\S+:\d+/,n=/^\s*at .*(\S+:\d+|\(native\))/m,r=/^(eval@)?(\[native code])?$/;return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(n))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(t){return t.stack.split("\n").filter((function(e){return!!e.match(n)}),this).map((function(t){t.indexOf("(eval ")>-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),r=n.match(/ (\(.+\)$)/);n=r?n.replace(r[0],""):n;var i=this.extractLocation(r?r[1]:n),o=r&&n||void 0,a=["eval","<anonymous>"].indexOf(i[0])>-1?void 0:i[0];return new e({functionName:o,fileName:a,lineNumber:i[1],columnNumber:i[2],source:t})}),this)},parseFFOrSafari:function(t){return t.stack.split("\n").filter((function(e){return!e.match(r)}),this).map((function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=t.match(n),i=r&&r[1]?r[1]:void 0,o=this.extractLocation(t.replace(n,""));return new e({functionName:i,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:t})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),i=[],o=2,a=r.length;o<a;o+=2){var c=n.exec(r[o]);c&&i.push(new e({fileName:c[2],lineNumber:c[1],source:r[o]}))}return i},parseOpera10:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=t.stacktrace.split("\n"),i=[],o=0,a=r.length;o<a;o+=2){var c=n.exec(r[o]);c&&i.push(new e({functionName:c[3]||void 0,fileName:c[2],lineNumber:c[1],source:r[o]}))}return i},parseOpera11:function(n){return n.stack.split("\n").filter((function(e){return!!e.match(t)&&!e.match(/^Error created at/)}),this).map((function(t){var n,r=t.split("@"),i=this.extractLocation(r.pop()),o=r.shift()||"",a=o.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;o.match(/\(([^)]*)\)/)&&(n=o.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var c=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e({functionName:a,args:c,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:t})}),this)}}})?r.apply(t,i):r)||(e.exports=o)}()},2265:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var c=new i(r,o||e,a),s=n?n+t:t;return e._events[s]?e._events[s].fn?e._events[s]=[e._events[s],c]:e._events[s].push(c):(e._events[s]=c,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function c(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),c.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},c.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=new Array(o);i<o;i++)a[i]=r[i].fn;return a},c.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},c.prototype.emit=function(e,t,r,i,o,a){var c=n?n+e:e;if(!this._events[c])return!1;var s,u,l=this._events[c],f=arguments.length;if(l.fn){switch(l.once&&this.removeListener(e,l.fn,void 0,!0),f){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,t),!0;case 3:return l.fn.call(l.context,t,r),!0;case 4:return l.fn.call(l.context,t,r,i),!0;case 5:return l.fn.call(l.context,t,r,i,o),!0;case 6:return l.fn.call(l.context,t,r,i,o,a),!0}for(u=1,s=new Array(f-1);u<f;u++)s[u-1]=arguments[u];l.fn.apply(l.context,s)}else{var p,d=l.length;for(u=0;u<d;u++)switch(l[u].once&&this.removeListener(e,l[u].fn,void 0,!0),f){case 1:l[u].fn.call(l[u].context);break;case 2:l[u].fn.call(l[u].context,t);break;case 3:l[u].fn.call(l[u].context,t,r);break;case 4:l[u].fn.call(l[u].context,t,r,i);break;default:if(!s)for(p=1,s=new Array(f-1);p<f;p++)s[p-1]=arguments[p];l[u].fn.apply(l[u].context,s)}}return!0},c.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},c.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},c.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var c=this._events[o];if(c.fn)c.fn!==t||i&&!c.once||r&&c.context!==r||a(this,o);else{for(var s=0,u=[],l=c.length;s<l;s++)(c[s].fn!==t||i&&!c[s].once||r&&c[s].context!==r)&&u.push(c[s]);u.length?this._events[o]=1===u.length?u[0]:u:a(this,o)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=n,c.EventEmitter=c,e.exports=c},1640:function(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Boolean]",c="[object Date]",s="[object Function]",u="[object GeneratorFunction]",l="[object Map]",f="[object Number]",p="[object Object]",d="[object Promise]",v="[object RegExp]",h="[object Set]",m="[object String]",g="[object Symbol]",y="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",O="[object Float32Array]",j="[object Float64Array]",E="[object Int8Array]",x="[object Int16Array]",S="[object Int32Array]",_="[object Uint8Array]",k="[object Uint8ClampedArray]",A="[object Uint16Array]",I="[object Uint32Array]",P=/\w*$/,C=/^\[object .+?Constructor\]$/,T=/^(?:0|[1-9]\d*)$/,N={};N[o]=N["[object Array]"]=N[b]=N[w]=N[a]=N[c]=N[O]=N[j]=N[E]=N[x]=N[S]=N[l]=N[f]=N[p]=N[v]=N[h]=N[m]=N[g]=N[_]=N[k]=N[A]=N[I]=!0,N["[object Error]"]=N[s]=N[y]=!1;var R="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,L="object"==typeof self&&self&&self.Object===Object&&self,F=R||L||Function("return this")(),D=t&&!t.nodeType&&t,M=D&&e&&!e.nodeType&&e,K=M&&M.exports===D;function H(e,t){return e.set(t[0],t[1]),e}function $(e,t){return e.add(t),e}function q(e,t,n,r){var i=-1,o=e?e.length:0;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function V(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function U(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function z(e,t){return function(n){return e(t(n))}}function W(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var X,G=Array.prototype,B=Function.prototype,Q=Object.prototype,Z=F["__core-js_shared__"],J=(X=/[^.]+$/.exec(Z&&Z.keys&&Z.keys.IE_PROTO||""))?"Symbol(src)_1."+X:"",Y=B.toString,ee=Q.hasOwnProperty,te=Q.toString,ne=RegExp("^"+Y.call(ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),re=K?F.Buffer:void 0,ie=F.Symbol,oe=F.Uint8Array,ae=z(Object.getPrototypeOf,Object),ce=Object.create,se=Q.propertyIsEnumerable,ue=G.splice,le=Object.getOwnPropertySymbols,fe=re?re.isBuffer:void 0,pe=z(Object.keys,Object),de=Me(F,"DataView"),ve=Me(F,"Map"),he=Me(F,"Promise"),me=Me(F,"Set"),ge=Me(F,"WeakMap"),ye=Me(Object,"create"),be=Ve(de),we=Ve(ve),Oe=Ve(he),je=Ve(me),Ee=Ve(ge),xe=ie?ie.prototype:void 0,Se=xe?xe.valueOf:void 0;function _e(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ke(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ae(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ie(e){this.__data__=new ke(e)}function Pe(e,t){var n=ze(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&We(e)}(e)&&ee.call(e,"callee")&&(!se.call(e,"callee")||te.call(e)==o)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var a in e)!t&&!ee.call(e,a)||i&&("length"==a||$e(a,r))||n.push(a);return n}function Ce(e,t,n){var r=e[t];ee.call(e,t)&&Ue(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function Te(e,t){for(var n=e.length;n--;)if(Ue(e[n][0],t))return n;return-1}function Ne(e,t,n,r,i,d,y){var C;if(r&&(C=d?r(e,i,d,y):r(e)),void 0!==C)return C;if(!Be(e))return e;var T=ze(e);if(T){if(C=function(e){var t=e.length,n=e.constructor(t);t&&"string"==typeof e[0]&&ee.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!t)return function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(e,C)}else{var R=He(e),L=R==s||R==u;if(Xe(e))return function(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}(e,t);if(R==p||R==o||L&&!d){if(V(e))return d?e:{};if(C=function(e){return"function"!=typeof e.constructor||qe(e)?{}:(t=ae(e),Be(t)?ce(t):{});var t}(L?{}:e),!t)return function(e,t){return Fe(e,Ke(e),t)}(e,function(e,t){return e&&Fe(t,Qe(t),e)}(C,e))}else{if(!N[R])return d?e:{};C=function(e,t,n,r){var i=e.constructor;switch(t){case b:return Le(e);case a:case c:return new i(+e);case w:return function(e,t){var n=t?Le(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,r);case O:case j:case E:case x:case S:case _:case k:case A:case I:return function(e,t){var n=t?Le(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,r);case l:return function(e,t,n){var r=t?n(U(e),!0):U(e);return q(r,H,new e.constructor)}(e,r,n);case f:case m:return new i(e);case v:return function(e){var t=new e.constructor(e.source,P.exec(e));return t.lastIndex=e.lastIndex,t}(e);case h:return function(e,t,n){var r=t?n(W(e),!0):W(e);return q(r,$,new e.constructor)}(e,r,n);case g:return o=e,Se?Object(Se.call(o)):{}}var o}(e,R,Ne,t)}}y||(y=new Ie);var F=y.get(e);if(F)return F;if(y.set(e,C),!T)var D=n?function(e){return function(e,t,n){var r=t(e);return ze(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,Qe,Ke)}(e):Qe(e);return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(D||e,(function(i,o){D&&(i=e[o=i]),Ce(C,o,Ne(i,t,n,r,o,e,y))})),C}function Re(e){return!(!Be(e)||(t=e,J&&J in t))&&(Ge(e)||V(e)?ne:C).test(Ve(e));var t}function Le(e){var t=new e.constructor(e.byteLength);return new oe(t).set(new oe(e)),t}function Fe(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],c=r?r(n[a],e[a],a,n,e):void 0;Ce(n,a,void 0===c?e[a]:c)}return n}function De(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Me(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Re(n)?n:void 0}_e.prototype.clear=function(){this.__data__=ye?ye(null):{}},_e.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},_e.prototype.get=function(e){var t=this.__data__;if(ye){var n=t[e];return n===r?void 0:n}return ee.call(t,e)?t[e]:void 0},_e.prototype.has=function(e){var t=this.__data__;return ye?void 0!==t[e]:ee.call(t,e)},_e.prototype.set=function(e,t){return this.__data__[e]=ye&&void 0===t?r:t,this},ke.prototype.clear=function(){this.__data__=[]},ke.prototype.delete=function(e){var t=this.__data__,n=Te(t,e);return!(n<0)&&(n==t.length-1?t.pop():ue.call(t,n,1),!0)},ke.prototype.get=function(e){var t=this.__data__,n=Te(t,e);return n<0?void 0:t[n][1]},ke.prototype.has=function(e){return Te(this.__data__,e)>-1},ke.prototype.set=function(e,t){var n=this.__data__,r=Te(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Ae.prototype.clear=function(){this.__data__={hash:new _e,map:new(ve||ke),string:new _e}},Ae.prototype.delete=function(e){return De(this,e).delete(e)},Ae.prototype.get=function(e){return De(this,e).get(e)},Ae.prototype.has=function(e){return De(this,e).has(e)},Ae.prototype.set=function(e,t){return De(this,e).set(e,t),this},Ie.prototype.clear=function(){this.__data__=new ke},Ie.prototype.delete=function(e){return this.__data__.delete(e)},Ie.prototype.get=function(e){return this.__data__.get(e)},Ie.prototype.has=function(e){return this.__data__.has(e)},Ie.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ke){var r=n.__data__;if(!ve||r.length<199)return r.push([e,t]),this;n=this.__data__=new Ae(r)}return n.set(e,t),this};var Ke=le?z(le,Object):function(){return[]},He=function(e){return te.call(e)};function $e(e,t){return!!(t=null==t?i:t)&&("number"==typeof e||T.test(e))&&e>-1&&e%1==0&&e<t}function qe(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Q)}function Ve(e){if(null!=e){try{return Y.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ue(e,t){return e===t||e!=e&&t!=t}(de&&He(new de(new ArrayBuffer(1)))!=w||ve&&He(new ve)!=l||he&&He(he.resolve())!=d||me&&He(new me)!=h||ge&&He(new ge)!=y)&&(He=function(e){var t=te.call(e),n=t==p?e.constructor:void 0,r=n?Ve(n):void 0;if(r)switch(r){case be:return w;case we:return l;case Oe:return d;case je:return h;case Ee:return y}return t});var ze=Array.isArray;function We(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}(e.length)&&!Ge(e)}var Xe=fe||function(){return!1};function Ge(e){var t=Be(e)?te.call(e):"";return t==s||t==u}function Be(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Qe(e){return We(e)?Pe(e):function(e){if(!qe(e))return pe(e);var t=[];for(var n in Object(e))ee.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}e.exports=function(e){return Ne(e,!0,!0)}},4486:function(e,t){var n,r,i;!function(o,a){"use strict";r=[],void 0===(i="function"==typeof(n=function(){function e(e){return!isNaN(parseFloat(e))&&isFinite(e)}function t(e){return e.charAt(0).toUpperCase()+e.substring(1)}function n(e){return function(){return this[e]}}var r=["isConstructor","isEval","isNative","isToplevel"],i=["columnNumber","lineNumber"],o=["fileName","functionName","source"],a=["args"],c=["evalOrigin"],s=r.concat(i,o,a,c);function u(e){if(e)for(var n=0;n<s.length;n++)void 0!==e[s[n]]&&this["set"+t(s[n])](e[s[n]])}u.prototype={getArgs:function(){return this.args},setArgs:function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("Args must be an Array");this.args=e},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(e){if(e instanceof u)this.evalOrigin=e;else{if(!(e instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new u(e)}},toString:function(){var e=this.getFileName()||"",t=this.getLineNumber()||"",n=this.getColumnNumber()||"",r=this.getFunctionName()||"";return this.getIsEval()?e?"[eval] ("+e+":"+t+":"+n+")":"[eval]:"+t+":"+n:r?r+" ("+e+":"+t+":"+n+")":e+":"+t+":"+n}},u.fromString=function(e){var t=e.indexOf("("),n=e.lastIndexOf(")"),r=e.substring(0,t),i=e.substring(t+1,n).split(","),o=e.substring(n+1);if(0===o.indexOf("@"))var a=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(o,""),c=a[1],s=a[2],l=a[3];return new u({functionName:r,args:i||void 0,fileName:c,lineNumber:s||void 0,columnNumber:l||void 0})};for(var l=0;l<r.length;l++)u.prototype["get"+t(r[l])]=n(r[l]),u.prototype["set"+t(r[l])]=function(e){return function(t){this[e]=Boolean(t)}}(r[l]);for(var f=0;f<i.length;f++)u.prototype["get"+t(i[f])]=n(i[f]),u.prototype["set"+t(i[f])]=function(t){return function(n){if(!e(n))throw new TypeError(t+" must be a Number");this[t]=Number(n)}}(i[f]);for(var p=0;p<o.length;p++)u.prototype["get"+t(o[p])]=n(o[p]),u.prototype["set"+t(o[p])]=function(e){return function(t){this[e]=String(t)}}(o[p]);return u})?n.apply(t,r):n)||(e.exports=i)}()},2476:function(){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(Element.prototype.matches.call(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},903:function(e,t,n){"use strict";var r=n(3835),i=n.n(r),o=n(8645),a=n.n(o)()(i());a.push([e.id,".r34K7X1zGgAi6DllVF3T{box-sizing:border-box;border:0;margin:0;padding:0;overflow:hidden;z-index:2147483647;pointer-events:none;visibility:hidden;opacity:0;transition:opacity 300ms linear;height:0;width:0;max-height:0;overflow:hidden;display:block}.r34K7X1zGgAi6DllVF3T.active{display:block;visibility:visible;max-height:none;overflow:visible}.r34K7X1zGgAi6DllVF3T.active.show{opacity:1;pointer-events:inherit;position:inherit}.r34K7X1zGgAi6DllVF3T.active.show.in-situ{width:inherit;height:inherit}.r34K7X1zGgAi6DllVF3T.active.show.lightbox{position:fixed;width:100% !important;height:100% !important;top:0;right:0;bottom:0;left:0}@-moz-document url-prefix(''){.r34K7X1zGgAi6DllVF3T{visibility:visible;display:block}}\n",""]),a.locals={container:"r34K7X1zGgAi6DllVF3T"},t.Z=a},3379:function(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},a=[],c=0;c<e.length;c++){var s=e[c],u=r.base?s[0]+r.base:s[0],l=o[u]||0,f="".concat(u," ").concat(l);o[u]=l+1;var p=n(f),d={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==p)t[p].references++,t[p].updater(d);else{var v=i(d,r);r.byIndex=c,t.splice(c,0,{identifier:f,updater:v,references:1})}a.push(f)}return a}function i(e,t){var n=t.domAPI(t);n.update(e);return function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,i){var o=r(e=e||[],i=i||{});return function(e){e=e||[];for(var a=0;a<o.length;a++){var c=n(o[a]);t[c].references--}for(var s=r(e,i),u=0;u<o.length;u++){var l=n(o[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=s}}},569:function(e){"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},9216:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3565:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7795:function(e){"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},n.nc=void 0;var r={};!function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(t){var n=function(t,n){if("object"!==e(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,n||"default");if("object"!==e(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"===e(n)?n:String(n)}function i(e,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,t(i.key),i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,n,r){return(n=t(n))in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}n.r(r);var s=n(1640),u=n.n(s),l=(n(2476),"arkose"),f="production",p="2.6.1",d="inline",v="Verification challenge",h=("data-".concat(l,"-challenge-api-url"),"data-".concat(l,"-event-blocked")),m="data-".concat(l,"-event-completed"),g="data-".concat(l,"-event-hide"),y="data-".concat(l,"-event-ready"),b="data-".concat(l,"-event-ready-inline"),w="data-".concat(l,"-event-reset"),O="data-".concat(l,"-event-show"),j="data-".concat(l,"-event-suppress"),E="data-".concat(l,"-event-shown"),x="data-".concat(l,"-event-error"),S="data-".concat(l,"-event-warning"),_="data-".concat(l,"-event-resize"),k="data-".concat(l,"-event-data-request"),A="enforcement resize",I="enforcement loaded",P="challenge shown",C="config",T="data_response",N="settings loaded",R={API:"api",ENFORCEMENT:"enforcement"},L="CAPI_RELOAD_EC",F="observability timer",D="data collected",M="update_frame_attributes",K="js_ready",H="default",$="ark",q="API_REQUEST_SOURCE_VALIDATION",V="onAPILoad",U="onReady",z="onShown",W="onComplete",X="apiExecute",G="enforcementLoad";function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Q=n(913),Z=n.n(Q),J=["o","g","c",null,"t","a",3,"b","g","t","o","h","b","a",3,9,"ye"],Y=window,ee=re;!function(e,t){for(var n=285,r=275,i=269,o=233,a=254,c=284,s=288,u=289,l=230,f=291,p=239,d=re,v=e();;)try{if(868978===-parseInt(d(n))/1*(-parseInt(d(r))/2)+-parseInt(d(i))/3+-parseInt(d(o))/4*(parseInt(d(a))/5)+parseInt(d(c))/6*(parseInt(d(s))/7)+parseInt(d(u))/8+parseInt(d(l))/9*(-parseInt(d(f))/10)+parseInt(d(p))/11)break;v.push(v.shift())}catch(e){v.push(v.shift())}}(ie);var te=function(){var e=!0;return function(t,n){var r=242,i=e?function(){if(n){var e=n[re(r)](t,arguments);return n=null,e}}:function(){};return e=!1,i}}(),ne=te(void 0,(function(){var e=240,t=261,n=267,r=248,i=261,o=248,a=re;return ne[a(232)+a(e)]()[a(t)+"h"](a(n)+a(r)+"+$").toString().constructor(ne)[a(i)+"h"]("(((.+"+a(o)+"+$")}));function re(e,t){var n=ie();return re=function(e,t){return n[e-=226]},re(e,t)}function ie(){var e=["CEMEN","lLNb5","host","conca","(((.+","ion","4008039wdZLnd","some","bBbFL","extHo","cKey","devel","634548EhWRVF","lengt","erCas","exec","bFcVc","index","filte","Nb=3l","hash","18NbeGQj","1SJuROO"," URL","envir","2681763nCpCos","123776IyIISg","toLow","607890xbZyNN","src","local","key","hmlmv","locat","api","108gTFQpE","d=WjX","toStr","892swAXTv","split","2uX=","subst","ShQ=","ENFOR","34670559gkFAvD","ing","trim","apply","cal.c","charA","opmen","API U","Empty",")+)+)","publi",".com","\\//","mpmvQ","arkos","38105SStGKB","id Cl","ptcha","YUXr3","funca","Inval","ring","searc","/v2/"];return(ie=function(){return e})()}ne();var oe,ae=ee(271)+ee(282)+ee(252)+"=",ce="YJbNbFc5b0"+ee(257)+"lGiyj"+ee(235),se=ee(279)+ee(264)+ee(231)+ee(227)+ee(237),ue=ee(293)+ee(265),le="bs-lo"+ee(243)+"om",fe=function(e){var t=ee;return 4===(e.match(/-/g)||[])[t(276)+"h"]},pe=[function(e){var t,n,r,i,o=280,a=276,c=280,s=ee,u=["YJbNbFc5b0Xr3lGiyj2=",ae,se,ce],l=e[s(234)]("."),f=l[s(o)+"Of"]("com"),p=l.slice(f-1,l[s(a)+"h"]).join(".");return u[s(c)+"Of"]((t=p,n=Y["".concat(J[7]).concat(J[4]).concat(J[0]).concat(J[5])](t).match(/[\s\S]{1,2}/g),r="",i="",n.forEach((function(e){var t=e.split(""),n=t.pop();r+=t.join(""),i+=n})),"".concat(r).concat(i)))>-1}][ee(266)+"t"]((oe=f===ee(274)+ee(245)+"t"?[function(e){return[ue,le][ee(280)+"Of"](e)>-1}]:[],function(e){if(Array.isArray(e))return B(e)}(oe)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(oe)||function(e,t){if(e){if("string"==typeof e)return B(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(e,t):void 0}}(oe)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),de=function(e){var t,n,r,i,o,a,c,s=234,u=276,l=290,f=270,p=ee,d=!0,v=e;try{var h=e[p(s)]("/"),m=h[h[p(u)+"h"]-1][p(s)](":")[0][p(l)+"erCase"]();d=pe[p(f)]((function(e){return e(m)}))}catch(e){d=!1}return!d&&(n=(t="aRcML9blbQYBLFa9ZxYMY9H0H6yjGlntXpmy2zWhnu2t").length,r=Math.ceil(n/2),i=[t.substring(0,r),t.substring(r,n)],o=i[0].split(""),a=i[1].split(""),c="",o.forEach((function(e,t){c+=e,a[t]&&(c+=a[t])})),v=Y["".concat(J[13]).concat(J[9]).concat(J[10]).concat(J[12])](c)||""),v},ve=function(){var e=229,t=292,n=238,r=263,i=228,o=268,a=283,c=276,s=244,u=236,l=260,f=234,p=226,d=ee,v=arguments[d(276)+"h"]>0&&void 0!==arguments[0]?arguments[0]:d(e),h=function(e){if(document.currentScript)return document.currentScript;var t="enforcement"===e?'script[id="enforcementScript"]':'script[src*="v2"][src*="api.js"][data-callback]',n=document.querySelectorAll(t);if(n&&1===n.length)return n[0];try{throw new Error}catch(e){try{var r=Z().parse(e)[0].fileName;return document.querySelector('script[src="'.concat(r,'"]'))}catch(e){return null}}}(v);if(!h)return null;var m=h[d(t)],g={};try{g=function(e){var t=286,n=290,r=234,i=281,o=259,a=255,c=246,s=277,u=265,l=226,f=272,p=ee;if(!e)throw new Error(p(247)+p(t));var d=e[p(n)+"erCase"]()[p(r)]("/v2/")[p(i)+"r"]((function(e){return""!==e}));if(d.length<2)throw new Error(p(o)+p(a)+"ient-"+p(c)+"RL");var v=de(d[0]),h=d[1][p(r)]("/")[p(i)+"r"]((function(e){return""!==e})),m=fe(h[0])?h[0]["toUpp"+p(s)+"e"]():null,g={};return g[p(u)]=v,g[p(l)]=m,g[p(f)+"st"]=v,g}(m)}catch(e){}if(v===R[d(n)+d(r)+"T"]){var y=window[d(i)+d(o)][d(a)];if(y[d(c)+"h"]>0){var b=("#"===y[d(s)+"t"](0)?y[d(u)+d(l)](1):y)[d(f)]("&"),w=b[0];g[d(p)]=fe(w)?w:g[d(p)],g.id=b[1]}}return g}(),he=function(e,t){for(var n,r=0;r<e.length;r+=1){var i=e[r],o=String(i.getAttribute("src"));if((o.match(t)||o.match("v2/api.js"))&&i.hasAttribute("data-callback")){n=i;break}}return n}(document.querySelectorAll("script"),ve.key||null);if(he){var me=he.nonce,ge=he.getAttribute?he.getAttribute("data-nonce"):null,ye=me||ge;ye&&(n.nc=ye)}var be=function(e){return"function"==typeof e},we=function(e,t,n){try{var r=t.split("."),i=e;return r.forEach((function(e){i=i[e]})),i||n}catch(e){return n}},Oe=function(t){var n=t,r=e(t);return("string"!==r||"string"===r&&-1===t.indexOf("px")&&-1===t.indexOf("vw")&&-1===t.indexOf("vh"))&&(n="".concat(t,"px")),n},je=function(e,t){if(e[$])e[$][t]||(e[$][t]={});else{var n=t?c({},t,{}):{};Object.defineProperty(e,$,{value:n,writable:!0})}},Ee=function(e,t,n,r){e[$]&&e[$][t]||je(e,t),e[$][t][n]=r};function xe(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Se=n(2265),_e=n.n(Se),ke=n(7983);function Ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Pe=["settings","styling","token"],Ce=function t(n){return"object"===e(n)&&null!==n?Object.keys(n).reduce((function(r,i){var o,a=n[i],s=e(a),u=a;return-1===Pe.indexOf(i)&&("string"===s&&(u=""===(o=a)?o:(0,ke.N)(o)),"object"===s&&(u=Array.isArray(a)?a:t(a))),Ie(Ie({},r),{},c({},i,u))}),{}):n};function Te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Te(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Re=function(){function e(){var t=this;a(this,e),this.config={context:null,target:"*",identifier:null,iframePosition:null},this.emitter=new(_e()),this.messageListener=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{var n=function(e){return JSON.parse(e)}(e.data),r=n||{},i=r.data,o=r.key,a=r.message,c=r.type,s=Ce(i);if(a&&o===t.config.identifier)return t.emitter.emit(a,s),"broadcast"===c&&t.postMessageToParent({data:s,key:o,message:a}),void("emit"===c&&t.postMessageToChildren({data:s,key:o,message:a}));n&&"FunCaptcha-action"===n.msg&&t.postMessageToChildren({data:Ne(Ne({},n),n.payload||{})})}catch(n){if(e.data===K)return void t.emitter.emit(K,{});if(e.data===L)return void t.emitter.emit(L,{});if(e.data.msg===M)return void t.emitter.emit(M,{});"string"==typeof e.data&&-1!==e.data.indexOf("key_pressed_")&&t.config.iframePosition===R.ENFORCEMENT&&window.parent&&"function"==typeof window.parent.postMessage&&window.parent.postMessage(e.data,"*")}}}return o(e,[{key:"context",set:function(e){this.config.context=e}},{key:"identifier",set:function(e){this.config.identifier=e}},{key:"setup",value:function(e,t){var n,r,i;this.config.identifier!==this.identifier&&(n=window,r=this.config.identifier,(i=n[$])&&i[r]&&(i[r].listener&&window.removeEventListener("message",i[r].listener),i[r].error&&window.removeEventListener("error",i[r].error),delete i[r])),this.config.identifier=e,this.config.iframePosition=t,je(window,this.config.identifier);var o=window[$][this.config.identifier].listener;o&&window.removeEventListener("message",o),Ee(window,this.config.identifier,"listener",this.messageListener),window.addEventListener("message",window[$][this.config.identifier].listener)}},{key:"postMessage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=t.data,r=t.key,i=t.message,o=t.type;if(be(e.postMessage)){var a=Ne(Ne({},n),{},{data:n,key:r,message:i,type:o});e.postMessage(function(e){return JSON.stringify(e)}(a),this.config.target)}}},{key:"postMessageToChildren",value:function(e){for(var t=e.data,n=e.key,r=e.message,i=document.querySelectorAll("iframe"),o=[],a=0;a<i.length;a+=1){var c=i[a].contentWindow;c&&o.push(c)}for(var s=0;s<o.length;s+=1){var u=o[s];this.postMessage(u,{data:t,key:n,message:r,type:"emit"},this.config.target)}}},{key:"postMessageToParent",value:function(e){var t=e.data,n=e.key,r=e.message;window.parent!==window&&this.postMessage(window.parent,{data:t,key:n,message:r,type:"broadcast"})}},{key:"emit",value:function(e,t){this.emitter.emit(e,t),this.postMessageToParent({message:e,data:t,key:this.config.identifier}),this.postMessageToChildren({message:e,data:t,key:this.config.identifier})}},{key:"off",value:function(){var e;(e=this.emitter).removeListener.apply(e,arguments)}},{key:"on",value:function(){var e;(e=this.emitter).on.apply(e,arguments)}},{key:"once",value:function(){var e;(e=this.emitter).once.apply(e,arguments)}}]),e}(),Le=new Re,Fe=["logged"];function De(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?De(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):De(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ke="sampled",He="error",$e={enabled:{type:"boolean",default:!1},windowErrorEnabled:{type:"boolean",default:!0},samplePercentage:{type:"float",default:1}},qe=function(e,t,n,r){Le.emit(F,{action:e,timerId:t,subTimerId:n||null,time:Date.now(),info:r})},Ve=n(3940),Ue=n.n(Ve),ze=Qe;!function(e,t){for(var n=505,r=518,i=502,o=491,a=531,c=533,s=537,u=495,l=493,f=496,p=499,d=Qe,v=e();;)try{if(364083===parseInt(d(n))/1*(parseInt(d(r))/2)+-parseInt(d(i))/3*(-parseInt(d(o))/4)+parseInt(d(a))/5+parseInt(d(c))/6+parseInt(d(s))/7*(-parseInt(d(u))/8)+-parseInt(d(l))/9+parseInt(d(f))/10*(-parseInt(d(p))/11))break;v.push(v.shift())}catch(e){v.push(v.shift())}}(ct);var We,Xe,Ge=(We=525,Xe=!0,function(e,t){var n=Xe?function(){if(t){var n=t[Qe(We)](e,arguments);return t=null,n}}:function(){};return Xe=!1,n}),Be=Ge(void 0,(function(){var e=485,t=532,n=534,r=515,i=535,o=489,a=485,c=Qe;return Be.toString().search("(((.+"+c(e)+"+$")["toStr"+c(t)]()[c(n)+c(r)+"r"](Be)[c(i)+"h"](c(o)+c(a)+"+$")}));function Qe(e,t){var n=ct();return Qe=function(e,t){return n[e-=485]},Qe(e,t)}Be();var Ze=["light"+ze(507),"ECRes"+ze(517)+"ve"],Je={};Je[ze(516)+"lt"]=!0;var Ye={};Ye[ze(516)+"lt"]=!1;var et={};et["close"+ze(509)]=Je,et[ze(510)+ze(524)+ze(522)]=Ye;var tt={};tt[ze(516)+"lt"]=!0;var nt={default:70},rt={};rt[ze(514)+"ed"]=tt,rt[ze(501)+ze(530)+ze(486)]=nt;var it={default:{}},ot={};ot[ze(527)+ze(497)]=!0;var at={};function ct(){var e=["ECRes","teTim","utton","keys","loseB","apply","call","optio","nProp","reFla","capeO","3144115Mrwjto","ing","1260798PiIFkF","const","searc","proto","424277XPsUip",")+)+)","ffset","ngs","light","(((.+","theme","369524IFtnaM","erty","3366702UbSQhn","featu","96qpBhwf","310OaJLOm","nal","forEa","92433BjqKkG","chall","lands","6fKpHmZ","engeC","omple","25081jfpHzY","obser","box","hasOw","OnEsc","hideC","setti","eout","lengt","enabl","ructo","defau","ponsi","56DXyeYZ","type"];return(ct=function(){return e})()}at.default={};var st={default:2e3},ut={};ut[ze(488)+ze(507)]=et,ut[ze(520)+ze(517)+"ve"]=rt,ut[ze(506)+"vability"]=it,ut.f=ot,ut[ze(494)+ze(529)+"gs"]=at,ut[ze(500)+ze(503)+"omple"+ze(521)+"eout"]=st;var lt=ut,ft=function(){var e=490,t=511,n=487,r=488,i=507,o=520,a=517,c=500,s=503,u=504,l=512,f=488,p=503,d=521,v=498,h=488,m=523,g=498,y=536,b=519,w=528,O=492,j=526,E=527,x=497,S=516,_=523,k=536,A=519,I=508,P=492,C=526,T=516,N=ze,R=arguments[N(513)+"h"]>0&&void 0!==arguments[0]?arguments[0]:{},L=R[N(e)],F=void 0===L?null:L,D=R[N(t)+N(n)]||R,M={};M[N(r)+N(i)]={},M[N(o)+N(a)+"ve"]={},M[N(c)+N(s)+N(u)+"teTim"+N(l)]={};var K=M;[N(f)+N(i),"ECResponsive",N(c)+N(p)+N(u)+N(d)+N(l)][N(v)+"ch"]((function(e){var t=N,n=D[e]||{},r=lt[e];Object[t(_)](r).forEach((function(i){var o=t;Object[o(k)+o(A)][o(I)+"nProp"+o(P)][o(C)](n,i)?K[e][i]=n[i]:K[e][i]=r[i][o(T)+"lt"]}))})),F&&(K[N(e)]=F);lt[N(h)+"box"],lt.ECResponsive;var H=xe(lt,Ze);return Object[N(m)](H)[N(g)+"ch"]((function(e){var t=N;Object[t(y)+t(b)]["hasOw"+t(w)+t(O)][t(j)](D,e)?K[e]=D[e]:!0!==lt[e][t(E)+t(x)]&&(K[e]=lt[e][t(S)+"lt"])})),K},pt=n(3379),dt=n.n(pt),vt=n(7795),ht=n.n(vt),mt=n(569),gt=n.n(mt),yt=n(3565),bt=n.n(yt),wt=n(9216),Ot=n.n(wt),jt=n(4589),Et=n.n(jt),xt=n(903),St={};St.styleTagTransform=Et(),St.setAttributes=bt(),St.insert=gt().bind(null,"head"),St.domAPI=ht(),St.insertStyleElement=Ot();dt()(xt.Z,St);var _t=xt.Z&&xt.Z.locals?xt.Z.locals:void 0;function kt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var At={show:!1,isActive:void 0,element:void 0,frame:void 0,mode:void 0,ECResponsive:!0,enforcementUrl:null},It=function(e,t){e.setAttribute("class",t)},Pt=function(){return Ue()(_t.container,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kt(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({show:!!At.show,active:!!At.isActive},At.mode?c({},At.mode,!0):{}))};Le.on("challenge iframe",(function(e){var t=e.width,n=e.height,r=e.minWidth,i=e.minHeight,o=e.maxWidth,a=e.maxHeight;if(At.frame){At.show=!0;var c=Pt();It(At.frame,c);var s=n,u=t;if(At.ECResponsive){var l=function(e){var t=e.width,n=e.height,r=e.minWidth,i=e.maxWidth,o=e.minHeight,a=e.maxHeight,c=e.landscapeOffset,s=t,u=n;if(!r||!i)return{height:u,width:s};if(window.screen&&window.screen.width&&window.screen.height){var l=window.screen.availHeight||window.screen.height,f=window.screen.availWidth||window.screen.width,p=l-(!window.orientation||90!==window.orientation&&-90!==window.orientation?0:c);s=f,u=o&&a?p:n,f>=parseInt(i,10)&&(s=i),f<=parseInt(r,10)&&(s=r),a&&p>=parseInt(a,10)&&(u=a),o&&p<=parseInt(o,10)&&(u=o)}return s=Oe(s),{height:u=Oe(u),width:s}}({width:t,height:n,minWidth:r,maxWidth:o,minHeight:i,maxHeight:a,landscapeOffset:At.ECResponsive.landscapeOffset||0});u=l.width,s=l.height}var f=!1;t&&t!==At.frame.style.width&&(At.frame.style.width=t,f=!0),n&&n!==At.frame.style.height&&(At.frame.style.height=n,f=!0),At.mode===d&&(r&&r!==At.frame.style["min-width"]&&(At.frame.style["min-width"]=r,f=!0),i&&i!==At.frame.style["min-height"]&&(At.frame.style["min-height"]=i,f=!0),o&&o!==At.frame.style["max-width"]&&(At.frame.style["max-width"]=o,f=!0),a&&a!==At.frame.style["max-height"]&&(At.frame.style["max-height"]=a,f=!0)),f&&Le.emit(A,{width:u,height:s}),document.activeElement!==At.element&&!1===At.mode&&At.frame.focus()}}));var Ct=function(e){var t=e.host,n=e.id,r=e.publicKey,i=e.element,o=e.config,a=e.isActive,c=e.isReady,s=e.capiObserver,u=we(o,"mode");At.mode=u,At.element=i,At.isActive=a,At.show=c,At.ECResponsive=we(ft(o.settings),"ECResponsive",{}),At.accessibilitySettings=we(o,"accessibilitySettings");var l=Pt(),p=function(e){var t=249,n=273,r=287,i=266,o=262,a=ee,c=e[a(265)],s=e[a(t)+a(n)],u=e.id,l=e.file;return"development"===e[a(r)+"onment"]?""[a(i)+"t"](l,"#")[a(i)+"t"](s||"","&")[a(i)+"t"](u):""[a(i)+"t"](c,a(o)).concat(l,"#").concat(s||"","&")[a(i)+"t"](u)}({host:t,publicKey:r,id:n,file:"2.6.1/enforcement.bf6c920f19fb49ce16c82aaef4b83f45.html",environment:f});if(we(At.element,"children",[]).length<1){At.enforcementUrl=p;var d=document.createElement("iframe");d.setAttribute("src",p),d.setAttribute("class",l),d.setAttribute("title",v),d.setAttribute("aria-label",v),d.setAttribute("data-e2e","enforcement-frame"),d.style.width="0px",d.style.height="0px",d.addEventListener("load",(function(){s.subTimerEnd(U,G)})),s.subTimerStart(U,G),At.element.appendChild(d),At.frame=d}else p!==At.enforcementUrl&&(At.frame.setAttribute("src",p),At.enforcementUrl=p),It(At.frame,l),At.isActive||(At.frame.style.width=0,At.frame.style.height=0)},Tt={boolean:function(e){return"boolean"==typeof e?e:"string"==typeof e&&"true"===e.toLowerCase()}},Nt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={},n=["publicKey","data","isSDK","language","mode","onDataRequest","onCompleted","onHide","onReady","onReset","onResize","onShow","onShown","onSuppress","onError","onWarning","onFailed","onResize","settings","selector","accessibilitySettings","styleTheme","uaTheme","apiLoadTime","enableDirectionalInput","inlineRunOnTrigger","noSuppress"];return Object.keys(e).filter((function(e){return-1!==n.indexOf(e)})).forEach((function(n){t[n]=e[n]})),[{value:"noSuppress",type:"boolean"}].forEach((function(n){var r=n.value,i=n.type;Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=Tt[i](e[r]))})),t};!function(e,t){for(var n=288,r=274,i=273,o=281,a=275,c=285,s=283,u=284,l=282,f=Ft,p=e();;)try{if(896129===-parseInt(f(n))/1*(-parseInt(f(r))/2)+parseInt(f(i))/3+parseInt(f(o))/4+parseInt(f(a))/5*(parseInt(f(c))/6)+-parseInt(f(s))/7+-parseInt(f(u))/8+-parseInt(f(l))/9)break;p.push(p.shift())}catch(e){p.push(p.shift())}}(Dt);var Rt=function(){var e=!0;return function(t,n){var r=279,i=e?function(){if(n){var e=n[Ft(r)](t,arguments);return n=null,e}}:function(){};return e=!1,i}}(),Lt=Rt(void 0,(function(){var e=289,t=278,n=277,r=280,i=286,o=278,a=Ft;return Lt[a(276)+"ing"]()[a(e)+"h"](a(t)+a(n)+"+$")["toStr"+a(r)]()["const"+a(i)+"r"](Lt).search(a(o)+a(n)+"+$")}));Lt();function Ft(e,t){var n=Dt();return Ft=function(e,t){return n[e-=273]},Ft(e,t)}function Dt(){var e=["2JmSmpy","5QFDcfx","toStr",")+)+)","(((.+","apply","ing","6238472LtphSL","8428212XcqDPk","10936177YBfRpk","7385360UDidPH","7771290VlBIud","ructo","split","32581EFSQFR","searc","4291992teNXiG"];return(Dt=function(){return e})()}function Mt(e,t){var n=qt();return Mt=function(e,t){return n[e-=156]},Mt(e,t)}!function(e,t){for(var n=172,r=180,i=173,o=171,a=175,c=174,s=165,u=178,l=Mt,f=e();;)try{if(482086===-parseInt(l(n))/1+-parseInt(l(r))/2+-parseInt(l(i))/3+-parseInt(l(o))/4*(parseInt(l(a))/5)+-parseInt(l(c))/6+parseInt(l(s))/7+parseInt(l(u))/8)break;f.push(f.shift())}catch(e){f.push(f.shift())}}(qt);var Kt=function(){var e=176,t=!0;return function(n,r){var i=t?function(){if(r){var t=r[Mt(e)](n,arguments);return r=null,t}}:function(){};return t=!1,i}}(),Ht=Kt(void 0,(function(){var e=163,t=158,n=161,r=159,i=163,o=162,a=159,c=Mt;return Ht[c(179)+c(e)]()[c(t)+"h"](c(n)+c(r)+"+$")["toStr"+c(i)]()["const"+c(o)+"r"](Ht).search(c(n)+c(a)+"+$")}));Ht();var $t=function(){var e=169,t=164,n=164,r=167,i=Mt;return window[i(e)+i(t)].href?function(e){return e||"string"==typeof e?e[Ft(287)]("?")[0]:null}(window[i(e)+i(n)][i(r)]):null};function qt(){var e=["190MubVzx","apply","eRunO","24311728nErVzW","toStr","704492oxiZVc","nTrig","isSDK","searc",")+)+)","__nig","(((.+","ructo","ing","ion","1011101qFQYSw","langu","href","ger","locat","inlin","96328FiWlMQ","732443pIeaNj","1432020EFHaDK","1345068mVXIJL"];return(qt=function(){return e})()}var Vt,Ut=function(e){return"boolean"==typeof e?e:null};function zt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Xt=ve.key,Gt=ve.host,Bt=ve.extHost,Qt=window&&window.crypto&&"function"==typeof window.crypto.getRandomValues?([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(function(e){return(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)})):"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})),Zt=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:5e3,o=n,a=r,s=function(){var e={},t=window.navigator;if(e.platform=t.platform,e.language=t.language,t.connection)try{e.connection={effectiveType:t.connection.effectiveType,rtt:t.connection.rtt,downlink:t.connection.downlink}}catch(e){}return e}(),u={},l={},f=t,p={},d=null,v=null,h={timerCheckInterval:i},m=!1,g=!1,y=!1,b=!1,w=function(){var e=function(){var e=window.location;return{origin:e.origin,pathname:e.pathname}},t=e(),n=t.origin,r=t.pathname;return window.addEventListener("popstate",(function(){var t=e();n=t.origin,r=t.pathname})),function(){return{origin:n,pathname:r}}}(),O=function(){var e;if(y){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"string"==typeof n[0]&&(n[0]="Observability - ".concat(n[0])),(e=console).log.apply(e,n)}},j=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.timerId,r=t.type;if(!0===h.enabled){var i=n?c({},n,u[n]):u,m=Object.keys(i).reduce((function(e,t){i[t].logged=!0;var n=i[t],r=(n.logged,xe(n,Fe));return Me(Me({},e),{},c({},t,r))}),{}),g=w(),y=g.origin,j=g.pathname,E={id:e,publicKey:f,capiVersion:a,mode:v,suppressed:b,device:s,error:p,windowError:l,sessionId:d,locationOrigin:y,locationPathname:j,timers:m,sampled:r===Ke};O("Logging Metrics:",E);try{var x=new XMLHttpRequest;x.open("POST",o),x.send(JSON.stringify(E))}catch(e){}}},E=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Me(Me({},{start:null,end:null,diff:null,logged:!1,metrics:{}}),e)},x=function(){return{id:e,publicKey:f,sessionId:d,mode:v,settings:h,device:s,error:p,windowError:l,timers:u,debugEnabled:y}};try{"true"===window.localStorage.getItem("capiDebug")&&(y=!0,window.capiObserver={getValues:x})}catch(e){}return{getValues:x,timerStart:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now(),n=u[e]||{};n.start||(O("".concat(e," started:"),t),u[e]=E(Me(Me({},n),{},{start:t})))},timerEnd:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now(),n=u[e];n&&!n.end&&(n.end=t,n.diff=n.end-n.start,O("".concat(e," ended:"),t,n.diff),g&&j({timerId:e,type:Ke}))},subTimerStart:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now(),r=arguments.length>3?arguments[3]:void 0,i=u[e];i||(i=E()),i.end||(i.metrics[t]=Me({start:n,end:null,diff:null},r&&{info:r}),u[e]=i,O("".concat(e,".").concat(t," started:"),n))},subTimerEnd:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now(),r=u[e];if(r&&!r.end){var i=r.metrics[t];i&&(i.end=n,i.diff=i.end-i.start,O("".concat(e,".").concat(t," ended:"),n,i.diff))}},setup:function(e,t){h=Me(Me({},h),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys($e).reduce((function(t,n){var r=e[n],i=$e[n];if("boolean"===i.type)return Me(Me({},t),{},c({},n,"boolean"==typeof r?r:i.default));var o="float"===i.type?parseFloat(r,0):parseInt(r,10);return Me(Me({},t),{},c({},n,isNaN(o)?i.default:o))}),{})}(e)),v=t;var n,r=h.samplePercentage;n=r,g=Math.random()<=n/100,O("Session sampled:",g)},setSession:function(e){d=e},logError:function(e){m||(p=e,m=!0,j({type:He}))},logWindowError:function(e,t,n,r){h&&!0!==h.windowErrorEnabled||(l[e]={message:t,filename:n,stack:r})},debugLog:O,setSuppressed:function(){b=!0},setPublicKey:function(e){f=e,m=!1,p={},["onShown","onComplete"].forEach((function(e){u[e]&&(u[e]=E())}))},observabilityTimer:qe,apiLoadTimerSetup:function(e,t){u[e]=Me(Me({},t),{},{logged:!1}),g&&j({timerId:e,type:Ke})}}}(Qt,Xt,"".concat(Bt).concat("/metrics/ui"),p,5e3);Zt.subTimerStart(U,X);var Jt=function(e){return"arkose-".concat(e,"-wrapper")},Yt={},en="onCompleted",tn="onHide",nn="onReady",rn="onReset",on="onShow",an="onShown",cn="onSuppress",sn="onFailed",un="onError",ln="onWarning",fn="onResize",pn="onDataRequest",dn=(c(c(c(c(c(c(c(c(c(c(Vt={},m,en),g,tn),y,nn),b,nn),w,rn),O,on),E,an),j,cn),h,sn),x,un),c(c(c(Vt,S,ln),_,fn),k,pn)),vn=o((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.completed,r=t.token,i=t.suppressed,o=t.error,c=t.warning,s=t.width,u=t.height,l=t.requested;a(this,e),this.completed=!!n,this.token=r||null,this.suppressed=!!i,this.error=o||null,this.warning=c||null,this.width=s||0,this.height=u||0,this.requested=l||null})),hn=function(e){var t=document.createElement("div");return t.setAttribute("aria-hidden",!0),t.setAttribute("class",Jt(e||Xt)),t},mn=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Wt(Wt({element:hn(),inactiveElement:null,bodyElement:document.querySelector("body"),savedActiveElement:null,modifiedSiblings:[],challengeLoadedEvents:[],container:null,elements:function(){return document.querySelectorAll(Yt.config.selector)},initialSetupCompleted:!1,enforcementLoaded:!1,enforcementReady:!1,getPublicKeyTimeout:null,isActive:!1,isHidden:!1,isReady:!1,isConfigured:!1,suppressed:!1,isResettingChallenge:!1,lastResetTimestamp:0,isCompleteReset:!1,fpData:null,onReadyEventCheck:[],width:0,height:0,token:null,externalRequested:!1},t),{},{config:Wt(Wt({},Xt?{publicKey:Xt}:{}),{},{selector:(e=Xt,"[data-".concat(l,'-public-key="').concat(e,'"]')),styleTheme:t.config&&t.config.styleTheme||H,siteData:{location:window.location},apiLoadTime:null,settings:{},accessibilitySettings:{lockFocusToModal:!0}},t.config),events:Wt({},t.events)})},gn=function(e){var t=Yt.events[dn[e]];if(be(t)){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t.apply(void 0,r)}},yn=function(){Ct({host:Gt,id:Yt.id,publicKey:Yt.config.publicKey,element:Yt.element,config:Yt.config,isActive:Yt.isActive,isReady:Yt.isReady,capiObserver:Zt})},bn=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=Yt,n=t.element,r=t.bodyElement,i=t.container,o=t.events,a=t.lastResetTimestamp,c=t.config;if(c.publicKey){var s=Date.now();if(!(s-a<100)){Yt.lastResetTimestamp=s,Yt.isActive=!1,Yt.completed=!1,Yt.token=null,Yt.isReady=!1,Yt.onReadyEventCheck=[],yn(),r&&o&&(r.removeEventListener("click",o.bodyClicked),window.removeEventListener("keyup",o.escapePressed),Yt.events.bodyClicked=null,Yt.events.escapePressed=null);var l=n;Yt.inactiveElement=l,Yt.element=void 0,Yt.element=hn(c.publicKey),i&&l&&i.contains(l)&&(Le.emit("enforcement detach"),l.style.display="none",setTimeout((function(){try{i.removeChild(l)}catch(e){}}),5e3)),Yt=mn(u()(Yt)),e||gn(w,new vn(Yt)),_n()}}},wn=function(e){Yt.element.setAttribute("aria-hidden",e)},On=function(){Yt.enforcementReady&&!Yt.isActive&&(Le.emit("trigger show"),Yt.isHidden&&(Yt.isHidden=!1,Yt.isReady&&Le.emit(P,{token:Yt.token})))},jn=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).manual;Yt.isActive=!1,e&&(Yt.isHidden=!0),gn(g,new vn(Yt)),Yt.savedActiveElement&&(Yt.savedActiveElement.focus(),Yt.savedActiveElement=null),we(Yt,"config.mode")!==d&&function(){for(var e=Yt.modifiedSiblings,t=0;t<e.length;t+=1){var n=e[t],r=n.elem,i=n.ariaHiddenState;r!==Yt.appEl&&(null===i?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",i))}}(),yn(),wn(!0)},En=function(e){return{source:e.source,error:e.error}},xn=function(e){e.target.closest(Yt.config.selector)&&On()},Sn=function(e){return 27!==we(e,"keyCode")?null:jn({manual:!0})},_n=function(){return we(Yt,"config.mode")===d?(Yt.container=document.querySelector(we(Yt,"config.selector","")),void(Yt.container&&(Yt.container.contains(Yt.element)||(Yt.container.appendChild(Yt.element),yn())))):(Yt.container=Yt.bodyElement,Yt.events.bodyClicked||(Yt.events.bodyClicked=xn,Yt.bodyElement.addEventListener("click",Yt.events.bodyClicked)),Yt.events.escapePressed||(Yt.events.escapePressed=Sn,window.addEventListener("keyup",Yt.events.escapePressed)),void(Yt.container&&(Yt.container.contains(Yt.element)||(Yt.container.appendChild(Yt.element),yn()))))},kn=function(){Zt.subTimerEnd(U,X),je(window,Qt),Le.setup(Qt,R.API),function(e){if(e){var t=window[$][e].error;t&&window.removeEventListener("error",t)}Ee(window,e,"error",(function(e){var t=e.message,n=e.filename,r=e.error;if(n&&"string"==typeof n&&n.indexOf("api.js")>=0&&n.indexOf(Yt.config.publicKey)>=0){var i=r.stack;Zt.logWindowError("integration",t,n,i)}})),window.addEventListener("error",window[$][e].error)}(Qt),Yt=mn({id:Qt})},An=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Yt.initialSetupCompleted=!0;var n=function(e){return e===d?d:"lightbox"}(t.mode||we(Yt,"config.mode")),r=t.styleTheme||H,i=Yt.isConfigured&&r!==Yt.config.styleTheme;Yt.isConfigured=!0;var o=Xt||Yt.config.publicKey||null,a=!1;t.publicKey&&o!==t.publicKey&&(!function(e){Ee(window,Yt.id,"publicKey",e),Zt.setPublicKey(e),Yt.element&&Yt.element.getAttribute&&(Yt.element.getAttribute("class").match(e)||Yt.element.setAttribute("class",Jt(e)))}(t.publicKey),o=t.publicKey,Yt.config.publicKey&&Yt.config.publicKey!==t.publicKey&&(a=!0)),Yt.config=Wt(Wt(Wt(Wt({},Yt.config),t),{mode:n}),{},{styleTheme:r,publicKey:o,language:""!==t.language?t.language||Yt.config.language:void 0}),Yt.events=Wt(Wt({},Yt.events),{},(c(c(c(c(c(c(c(c(c(c(e={},en,t[en]||Yt.events[en]),sn,t[sn]||Yt.events[sn]),tn,t[tn]||Yt.events[tn]),nn,t[nn]||Yt.events[nn]),rn,t[rn]||Yt.events[rn]),on,t[on]||Yt.events[on]),an,t[an]||Yt.events[an]),cn,t[cn]||Yt.events[cn]),un,t[un]||Yt.events[un]),ln,t[ln]||Yt.events[ln]),c(c(e,fn,t[fn]||Yt.events[fn]),pn,t[pn]||Yt.events[pn]))),Yt.config.pageLevel=function(e){var t,n=166,r=157,i=170,o=177,a=156,c=168,s=Mt;return{chref:$t(),clang:null!==(t=e[s(n)+"age"])&&void 0!==t?t:null,surl:null,sdk:Ut(e[s(r)])||!1,nm:!!window[Mt(160)+"htmare"],triggeredInline:e[s(i)+s(o)+s(a)+s(c)]||!1}}(Yt.config),Le.emit(C,Yt.config),i||a?bn(!0):_n(),"lightbox"===n&&(Yt.element.setAttribute("aria-modal",!0),Yt.element.setAttribute("role","dialog"))},In=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.event,n=e.observability;if(Yt.onReadyEventCheck.push(t),n){var r=n.timerId,i=n.subTimerId,o=n.time;Zt.subTimerEnd(r,i,o)}var a=[I,D,N],c=function(e,t){var n,r,i=[],o=e.length,a=t.length;for(n=0;n<o;n+=1)for(r=0;r<a;r+=1)e[n]===t[r]&&i.push(e[n]);return i}(a,Yt.onReadyEventCheck);c.length===a.length&&(Yt.enforcementReady=!0,Yt.onReadyEventCheck=[],Yt.isCompleteReset||(Zt.timerEnd(U),gn(y,new vn(Yt))),Yt.isCompleteReset=!1)},Pn=function(e){var t=e.token;if(t){Yt.token=t;var n=t.split("|"),r=n.length?n[0]:null;Zt.setSession(r)}},Cn={setConfig:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Zt.timerStart(U),An(Nt(e))},getConfig:function(){return u()(Yt.config)},dataResponse:function(e){if(Yt.requested){var t={message:T,data:e,key:Yt.config.publicKey,type:"emit"};Le.emit(T,t),Yt.requested=null}},reset:function(){bn()},run:On,version:p},Tn=he.getAttribute("data-callback");Le.on("show enforcement",(function(){Yt.isReady||(Zt.timerStart(z),Zt.timerStart(W)),Yt.isActive=!0,Yt.savedActiveElement=document.activeElement,gn(O,new vn(Yt)),we(Yt,"config.mode")!==d&&function(){var e=Yt.bodyElement.children;Yt.modifiedSiblings=[];for(var t=0;t<e.length;t+=1){var n=e.item(t),r=n.getAttribute("aria-hidden");n!==Yt.appEl&&"true"!==r&&(Yt.modifiedSiblings.push({elem:n,ariaHiddenState:r}),n.setAttribute("aria-hidden",!0))}}(),yn(),wn(!1)})),Le.on(P,(function(e){var t=e.token;Yt.isReady=!0,Yt.token=t,Yt.isHidden||(Yt.isActive=!0,yn(),Zt.timerEnd(z),gn(E,new vn(Yt)))})),Le.on("challenge completed",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Yt.completed=!0,Yt.token=e.token,Zt.timerEnd(W),gn(m,new vn(Yt)),we(Yt,"config.mode")!==d&&(Yt.isCompleteReset=!0,bn())})),Le.on("hide enforcement",jn),Le.on(A,(function(e){var t=e.width,n=e.height;Yt.width=t,Yt.height=n,gn(_,new vn(Yt))})),Le.on(I,(function(){Yt.enforcementLoaded=!0,In({event:I}),Yt.initialSetupCompleted&&Le.emit(C,Yt.config)})),Le.on("challenge suppressed",(function(e){var t=e.token;Yt.isActive=!1,Yt.suppressed=!0,Pn({token:t}),Zt.setSuppressed(),Zt.timerEnd(z),gn(j,new vn(Yt))})),Le.on("data initial",In),Le.on("settings fp collected",In),Le.on("challenge token",Pn),Le.on("challenge window error",(function(e){var t=e.message,n=e.source,r=e.stack;Zt.logWindowError("challenge",t,n,r)})),Le.on(N,(function(e){var t=e.event,n=void 0===t?{}:t,r=e.settings,i=void 0===r?{}:r,o=e.observability;Yt.config.settings=i;var a=function(e){return we(e,"observability",{})}(Yt.config.settings);Zt.setup(a,Yt.config.mode);var c=we(Yt,"config.apiLoadTime");c&&Zt.apiLoadTimerSetup(V,c),In({event:n,observability:o}),yn()})),Le.on("challenge fail number limit reached",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Yt.isActive=!1,Yt.isHidden=!0,Yt.token=e.token,gn(h,new vn(Yt),e)})),Le.on("error",(function(e){var t=e.error,n=Wt({source:null},t);Yt.error=En(n),t.error!==q&&Zt.logError(n),gn(x,new vn(Yt)),jn()})),Le.on("warning",(function(e){var t=Wt({source:null},e.warning);Yt.warning=En(t),Zt.logError(t),gn(S,new vn(Yt))})),Le.on("data_request",(function(e){e.sdk&&(Yt.requested=e,gn(k,new vn(Yt)))})),Le.on(D,In),Le.on(F,(function(e){var t=e.action,n=e.timerId,r=e.subTimerId,i=e.time,o=e.info,a="".concat(r?"subTimer":"timer").concat("end"===t?"End":"Start"),c=r?[n,r,i,o]:[n,i];Zt[a].apply(Zt,c)})),Le.on("force reset",(function(){bn()})),Le.on("redraw challenge",(function(){Yt.element&&(Yt.element.querySelector("iframe").style.display="inline")})),Tn?function e(){if(!be(window[Tn]))return setTimeout(e,1e3);var t=document.querySelectorAll(".".concat(Jt(Xt)));return t&&t.length&&Array.prototype.slice.call(t).forEach((function(e){try{e.parentNode.removeChild(e)}catch(e){}})),kn(),window[Tn](Cn)}():kn()}(),arkoseLabsClientApid7b782cc=r}();

lanqian528 commented 3 months ago

看起来没问题,我也不知道哪里出错了

socekin commented 3 months ago

重装Linux系统搞定了,不过服务器IP被cf挡了,不知道作者是用什么VPS,能否推荐一下,谢谢

lanqian528 commented 3 months ago

重装Linux系统搞定了,不过服务器IP被cf挡了,不知道作者是用什么VPS,能否推荐一下,谢谢

我用的代理,跟vps就没关系了

socekin commented 3 months ago

了解了,谢谢