1"use strict";(self.webpackChunkVeryConnect=self.webpackChunkVeryConnect||[]).push([[9517],{49517:(k,u,s)=>{s.d(u,{q:()=>h});var C=s(64762),m=s(78425),f=s(5296),o=s(14026),g=s(71050);let d=(()=>{class r{constructor(e){this.zone=e,this.scriptElemId="ngx-catpcha-script",this.windowGrecaptcha="grecaptcha",this.windowGrecaptchaEnterprise="enterprise",this.windowOnLoadCallbackProperty="ngx_captcha_onload_callback",this.windowOnLoadEnterpriseCallbackProperty="ngx_captcha_onload_enterprise_callback",this.globalDomain="recaptcha.net",this.defaultDomain="google.com",this.enterpriseApi="enterprise.js",this.defaultApi="api.js"}registerCaptchaScript(e,i,a,n){if(this.grecaptchaScriptLoaded(e.useEnterprise))return void this.zone.run(e.useEnterprise?()=>{a(window[this.windowGrecaptcha][this.windowGrecaptchaEnterprise])}:()=>{a(window[this.windowGrecaptcha])});e.useEnterprise?window[this.getCallbackName(!0)]=()=>this.zone.run(a.bind(this,window[this.windowGrecaptcha][this.windowGrecaptchaEnterprise])):window[this.getCallbackName(!1)]=()=>this.zone.run(a.bind(this,window[this.windowGrecaptcha]));const c=document.createElement("script");c.id=this.scriptElemId,c.innerHTML="",c.src=this.getCaptchaScriptUrl(e,i,n),c.async=!0,c.defer=!0,document.getElementsByTagName("head")[0].appendChild(c)}cleanup(){const e=document.getElementById(this.scriptElemId);e&&e.remove(),window[this.getCallbackName()]=void 0,window[this.windowGrecaptcha]=void 0}grecaptchaScriptLoaded(e){return!!(window[this.getCallbackName(e)]&&window[this.windowGrecaptcha]&&(e&&window[this.windowGrecaptcha][this.windowGrecaptchaEnterprise]||window[this.windowGrecaptcha].execute))}getCallbackName(e){return e?this.windowOnLoadEnterpriseCallbackProperty:this.windowOnLoadCallbackProperty}getLanguageParam(e){return e?`&hl=${e}`:""}getCaptchaScriptUrl(e,i,a){return`https://www.${e.useGlobalDomain?this.globalDomain:this.defaultDomain}/recaptcha/${e.useEnterprise?this.enterpriseApi:this.defaultApi}?onload=${this.getCallbackName(e.useEnterprise)}&render=${i}${this.getLanguageParam(a)}`}}return r.\u0275fac=function(e){return new(e||r)(o.LFG(o.R0b))},r.\u0275prov=o.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})(),v=(()=>{class r{constructor(e,i){this.scriptService=e,this.zone=i}execute(e,i,a,n,c){this.executeAsPromise(e,i,n).then(a).catch(p=>c?c(p):console.error(p))}executeAsPromise(e,i,a){return new Promise((n,c)=>{this.scriptService.registerCaptchaScript(a||{},e,S=>{this.zone.runOutsideAngular(()=>{try{S.execute(e,{action:i}).then(l=>this.zone.run(()=>n(l)))}catch(l){c(l)}})})})}}return r.\u0275fac=function(e){return new(e||r)(o.LFG(d),o.LFG(o.R0b))},r.\u0275prov=o.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();var w=s(49120),E=s(81499),b=s(3811),y=s(87563),R=s(19807),I=s(54074);class h{constructor(){this.alert=(0,o.f3M)(R.c),this.core=(0,o.f3M)(v),this.label="VeryConnect",this.scriptSvc=(0,o.f3M)(d),this.tr=(0,o.f3M)(I.D)}init(t){this.label=t,this.scriptSvc.registerCaptchaScript({},"6LcUcsQpAAAAACcNYdDJW8GtFY_PJmJX_dI31v6S",g.Z)}getToken(t=this.label){return(0,w.P)(()=>this.core.executeAsPromise("6LcUcsQpAAAAACcNYdDJW8GtFY_PJmJX_dI31v6S",t)).pipe((0,f.H)("[TgRecaptchaService.getToken]"))}isInvalidKeyErrorResponse(t){if(t.message.startsWith("Invalid site key or not loaded in api.js"))return!0;const e=t.error?.recaptcha;return Array.isArray(e)&&1===e.length&&("invalid-keys"===e[0]||"browser-error"===e[0])}negotiate(t,e){if(this.isInvalidKeyErrorResponse(t))return this.alert.alertError({key:"recaptchaKeysError",ns:"recaptcha"},void 0,{titleBlock:!0,timeout:1e4}),!0;if("string"==typeof t.error&&t.error.startsWith("E_")){const i=this.tr.getNamespace("recaptcha")?.get(t.error);if(i)return this.alert.alertError(i),!1}return this.alert.negotiate(t,e),!1}submit(t){return this.getToken().pipe((0,b.w)(e=>(0,E.D)(t({recaptcha_response:{action:this.label,response:e}})).pipe((0,y.K)(a=>{const n=a.error?.recaptcha;if(!Array.isArray(n)||!n.includes("timeout-or-duplicate"))throw a;return this.submit(t)}))))}}h.\u0275fac=function(t){return new(t||h)},h.\u0275prov=o.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),(0,C.gn)([(0,m.h)()],h.prototype,"negotiate",null)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.