var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: !0 });
import { l as loadStyleSheet } from "../chunks/chunk.dcf-utility.js?v=6.1.1";
const fontSerifCssUrl = "/wdn/templates_6.1/css/components-js/_font-serif.css?v=6.1.1", querySelector = ".unl-font-serif", pluginType = "single", pluginLoadAfterWatch = !1;
let isInitialized = !1;
function getQuerySelector() {
  return querySelector;
}
__name(getQuerySelector, "getQuerySelector");
function getPluginType() {
  return pluginType;
}
__name(getPluginType, "getPluginType");
function getPluginLoadAfterWatch() {
  return pluginLoadAfterWatch;
}
__name(getPluginLoadAfterWatch, "getPluginLoadAfterWatch");
function getIsInitialized() {
  return isInitialized;
}
__name(getIsInitialized, "getIsInitialized");
function isOnPage() {
  return document.querySelector(querySelector) !== null;
}
__name(isOnPage, "isOnPage");
async function initialize() {
  return isInitialized || (isInitialized = !0, await loadStyleSheet(fontSerifCssUrl), document.dispatchEvent(new CustomEvent("UNLPluginInitialized", {
    detail: {
      pluginType,
      pluginComponent: null,
      styleSheetsLoaded: [
        fontSerifCssUrl
      ]
    }
  }))), null;
}
__name(initialize, "initialize");
export {
  getIsInitialized,
  getPluginLoadAfterWatch,
  getPluginType,
  getQuerySelector,
  initialize,
  isOnPage
};
//# sourceMappingURL=plugin.font-serif.js.map
