/*!
 * KoliBri - The accessible HTML-Standard
 */
"use strict";var common=require("./common-Cd2qH809.js"),componentNames=require("./component-names-CuI-0Pbo.js"),i18n=require("./i18n-BnIFsVIa.js");let options,initialized=!1;const bootstrap=async(o,i,n)=>{var e,t;const s="undefined"!=typeof process&&process.env?"production":void 0;common.setRuntimeMode((null==n?void 0:n.environment)||s||"production"),i18n.initializeI18n(null!==(t=null===(e=null==n?void 0:n.translation)||void 0===e?void 0:e.name)&&void 0!==t?t:"de",null==n?void 0:n.translations),(null==n?void 0:n.transformTagName)&&componentNames.setCustomTagNames(null==n?void 0:n.transformTagName);const a=await common.V(o,i,n);return initialized=!0,options=n,common.Log.info("Development mode active - Enhanced debugging features available"),a},register=bootstrap,isInitialized=()=>initialized,getOptions=()=>options;exports.bootstrap=bootstrap,exports.getOptions=getOptions,exports.isInitialized=isInitialized,exports.register=register;