1import{d as s,o as a,a as u,U as i,ae as p,af as d,aN as m}from"./CviiDajh.js";const b={class:"Recaptcha"};function _(c,r,e,t,n,l){return a(),s("div",b)}const o="recaptcha-enabled",h={name:"Recaptcha",setup(){const{RECAPTCHA_SITE_KEY:c}=i().public;p({script:[{src:`https://www.google.com/recaptcha/enterprise.js?render=${c}`}]});function r({action:e="LOGIN"}={}){return new Promise(t=>{window.grecaptcha.enterprise.ready(async()=>{const n=await window.grecaptcha.enterprise.execute(c,{action:e});t(n)})})}return d(()=>{const e=document.querySelector("body"),t=Number(e?.getAttribute(o)||0)+1;e?.setAttribute(o,t)}),m(()=>{const e=document.querySelector("body"),t=Number(e?.getAttribute(o)||0)-1;t<1?e?.removeAttribute(o):e?.setAttribute(o,t)}),{ready:r}}},w=u(h,[["render",_]]);export{w as R};
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.