PageSourceSearch

https://wdn-cdn.unl.edu/wdn/templates_6.1/js/plugins/plugin.popup.js?v=6.1.6

js unl.edu collected 2026-09-24 06:51:32 UTC 2,362 bytes, 67 lines download raw bytes

1var __defProp = Object.defineProperty;
2var __name = (target, value) => __defProp(target, "name", { value, configurable: !0 });
3import { p as popupsCssUrl } from "../chunks/chunk._popups.js?v=6.1.6";
4import { l as loadStyleSheet } from "../chunks/chunk.dcf-utility.js?v=6.1.6";
5let UNLPopup = null;
6const querySelector = ".dcf-popup:not(.dcf-popup-initialized)", pluginType = "multi", pluginLoadAfterWatch = !1;
7let isInitialized = !1, initializationPromise = null;
8function getQuerySelector() {
9  return querySelector;
10}
11__name(getQuerySelector, "getQuerySelector");
12function getPluginType() {
13  return pluginType;
14}
15__name(getPluginType, "getPluginType");
16function getPluginLoadAfterWatch() {
17  return pluginLoadAfterWatch;
18}
19__name(getPluginLoadAfterWatch, "getPluginLoadAfterWatch");
20function getIsInitialized() {
21  return isInitialized;
22}
23__name(getIsInitialized, "getIsInitialized");
24async function initialize() {
25  return isInitialized ? UNLPopup : (initializationPromise !== null || (initializationPromise = (async () => (UNLPopup = (await import("../components/component.popup.js?v=6.1.6")).default, await loadStyleSheet(popupsCssUrl), isInitialized = !0, document.dispatchEvent(new CustomEvent("UNLPluginInitialized", {
26    detail: {
27      pluginType,
28      pluginComponent: UNLPopup,
29      styleSheetsLoaded: [
30        popupsCssUrl
31      ]
32    }
33  })), UNLPopup))()), initializationPromise);
34}
35__name(initialize, "initialize");
36async function loadElement(element, options) {
37  isInitialized || await initialize();
38  const loadedElement = new UNLPopup(element, options);
39  return document.dispatchEvent(new CustomEvent("UNLPluginLoadedElement", {
40    detail: {
41      loadedElement
42    }
43  })), loadedElement;
44}
45__name(loadElement, "loadElement");
46async function loadElements(elements, options) {
47  return await Promise.all(
48    Array.from(elements).map((element) => loadElement(element, options))
49  );
50}
51__name(loadElements, "loadElements");
52async function loadElementsOnPage(options) {
53  const allPopups = document.querySelectorAll(querySelector);
54  return await loadElements(allPopups, options);
55}
56__name(loadElementsOnPage, "loadElementsOnPage");
57export {
58  getIsInitialized,
59  getPluginLoadAfterWatch,
60  getPluginType,
61  getQuerySelector,
62  initialize,
63  loadElement,
64  loadElements,
65  loadElementsOnPage
66};
67//# sourceMappingURL=plugin.popup.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.