@trustcomponent/trustcaptcha-frontend
Version: 
TrustCaptcha – Privacy-first CAPTCHA solution. GDPR-compliant, bot protection made in Europe.
13 lines (10 loc) • 1.22 kB
JavaScript
import { b as bootstrapLazy } from './index-32c1cf48.js';
export { s as setNonce } from './index-32c1cf48.js';
import { g as globalScripts } from './app-globals-0f993ce5.js';
const defineCustomElements = async (win, options) => {
  if (typeof window === 'undefined') return undefined;
  await globalScripts();
  return bootstrapLazy([["trustcaptcha-component",[[1,"trustcaptcha-component",{"sitekey":[1],"privacyUrl":[1,"privacy-url"],"trustcaptchaApi":[1,"trustcaptcha-api"],"framework":[1],"language":[1],"customTranslations":[1,"custom-translations"],"theme":[1],"customDesign":[1,"custom-design"],"autostart":[516],"tokenFieldName":[1,"token-field-name"],"bypassToken":[1,"bypass-token"],"mode":[1],"width":[1],"license":[1],"invisible":[516],"invisibleHint":[1,"invisible-hint"],"hideBranding":[516,"hide-branding"],"captchaStatus":[32],"licenseObject":[32],"translation":[32],"currentTheme":[32],"dummyState":[32],"startVerification":[64],"reset":[64]},null,{"language":["watchLanguageUpdate"],"theme":["watchThemeUpdate"],"customTranslations":["watchCustomTranslationUpdate"],"customDesign":["watchCustomDesignUpdate"]}]]]], options);
};
export { defineCustomElements };
//# sourceMappingURL=loader.js.map