otp-code-component
Version:
Google Authenticator 验证组件
27 lines (21 loc) • 1.31 kB
JavaScript
;
var index = require('./index-ZptVS6fb.js');
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
/*
Stencil Client Patch Browser v4.33.1 | MIT Licensed | https://stenciljs.com
*/
var patchBrowser = () => {
const importMeta = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('otp-code-component.cjs.js', document.baseURI).href));
const opts = {};
if (importMeta !== "") {
opts.resourcesUrl = new URL(".", importMeta).href;
}
return index.promiseResolve(opts);
};
patchBrowser().then(async (options) => {
await index.globalScripts();
return index.bootstrapLazy([["google-auth.cjs",[[1,"google-auth",{"getQrcodeUrl":[1,"get-qrcode-url"],"verifyCodeUrl":[1,"verify-code-url"],"accessToken":[1,"access-token"],"type":[1],"phone":[1],"qrCodeUrl":[32],"status":[32],"errorMessage":[32],"codeInputs":[32],"showQRCode":[32],"countdown":[32]}]]],["my-component.cjs",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]]], options);
});
exports.setNonce = index.setNonce;
//# sourceMappingURL=otp-code-component.cjs.js.map
//# sourceMappingURL=otp-code-component.cjs.js.map