1import{a as i}from"./chunk-ZACTTJ4S.js";import{Ha as s,Tc as h,X as o,ba as c,md as d}from"./chunk-5SAOKRHL.js";import{g as n}from"./chunk-NZN5XTIE.js";var y=(()=>{class e{constructor(){this.document=c(h),this.platformId=c(s),this.cargado=null}token(a="submit"){return n(this,null,function*(){if(!d(this.platformId))return"";try{yield this.cargar()}catch{return""}return new Promise(t=>{if(typeof grecaptcha>"u")return t("");grecaptcha.ready(()=>{grecaptcha.execute(i.recaptchaSiteKey,{action:a}).then(t).catch(()=>t(""))})})})}cargar(){return this.cargado?this.cargado:(this.cargado=new Promise((a,t)=>{if(typeof grecaptcha<"u")return a();let r=this.document.createElement("script");r.src=`https://www.google.com/recaptcha/api.js?render=${i.recaptchaSiteKey}`,r.async=!0,r.defer=!0,r.onload=()=>a(),r.onerror=p=>{this.cargado=null,t(p)},this.document.head.appendChild(r)}),this.cargado)}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275prov=o({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();export{y as a};
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.