@trustcomponent/trustcaptcha-frontend
Version:
TrustCaptcha – Privacy-first CAPTCHA solution. GDPR-compliant, bot protection made in Europe.
27 lines (21 loc) • 1.68 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
const index = require('./index-4eb5b89c.js');
const appGlobals = require('./app-globals-3a1e7e63.js');
/*
Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
*/
var patchBrowser = () => {
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('frontendlibrary.cjs.js', document.baseURI).href));
const opts = {};
if (importMeta !== "") {
opts.resourcesUrl = new URL(".", importMeta).href;
}
return index.promiseResolve(opts);
};
patchBrowser().then(async (options) => {
await appGlobals.globalScripts();
return index.bootstrapLazy([["trustcaptcha-component.cjs",[[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);
});
exports.setNonce = index.setNonce;
//# sourceMappingURL=frontendlibrary.cjs.js.map