assets/themes/j1/core/js/template.js in j1-template-2023.10.2 vs assets/themes/j1/core/js/template.js in j1-template-2024.0.0
- old
+ new
@@ -1,9 +1,9 @@
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({
-/***/ 476:
+/***/ 8476:
/***/ ((module) => {
"use strict";
/*
# -----------------------------------------------------------------------------
@@ -11,11 +11,11 @@
# Provides an empty object for later loaded adapter objects
#
# Product/Info:
# https://jekyll.one
#
- # Copyright (C) 2023 Juergen Adams
+ # Copyright (C) 2023, 2024 Juergen Adams
#
# J1 Theme is licensed under MIT License.
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
# -----------------------------------------------------------------------------
*/
@@ -42,11 +42,11 @@
}; // END return
}(j1, window);
/***/ }),
-/***/ 253:
+/***/ 1253:
/***/ (() => {
/*
# -----------------------------------------------------------------------------
# ~/200_theme_js/js/adoc_result_viewer/view_results.js
@@ -54,11 +54,11 @@
# example block
#
# Product/Info:
# https://jekyll.one
#
- # Copyright (C) 2023 Juergen Adams
+ # Copyright (C) 2023, 2024 Juergen Adams
#
# J1 Theme is licensed under MIT License.
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
# -----------------------------------------------------------------------------
# TODO: Improve lanuage settings
@@ -110,11 +110,11 @@
}
$(insert_result_links);
/***/ }),
-/***/ 921:
+/***/ 8921:
/***/ ((module) => {
"use strict";
/*
# -----------------------------------------------------------------------------
@@ -124,11 +124,11 @@
#
# Product/Info:
# https://jekyll.one
#
# Copyright (C) 2020 Julian Garnier
- # Copyright (C) 2023 Juergen Adams
+ # Copyright (C) 2023, 2024 Juergen Adams
#
# Anime is licensed under the MIT License.
# See: https://github.com/juliangarnier/anime/blob/master/LICENSE.md
#
# J1 Template is licensed under the MIT License.
@@ -1626,22 +1626,22 @@
};
module.exports = anime;
/***/ }),
-/***/ 977:
+/***/ 6977:
/***/ ((module) => {
/*
# -----------------------------------------------------------------------------
# ~/200_theme_js/js/asciidoctor/asciidoctor.js
# Provides JS functions to (dynamically) modify Asciidoctor HTML elements
#
# Product/Info:
# http://jekyll.one
#
- # Copyright (C) 2023 Juergen Adams
+ # Copyright (C) 2023, 2024 Juergen Adams
#
# J1 Theme is licensed under MIT License.
# See: https://github.com/jekyll-one/J1 Theme/blob/master/LICENSE
# -----------------------------------------------------------------------------
# NOTE:
@@ -1661,11 +1661,11 @@
// -----------------------------------------------------------------------------
// J1 Asciidoctor registered as "asciidoctor"
// -----------------------------------------------------------------------------
/*!
* J1 Asciidoctor
- * Copyright (C) 2023 Juergen Adams
+ * Copyright (C) 2023, 2024 Juergen Adams
* Licensed under MIT License.
*/
module.exports = function asciidoctor(options) {
return {
// -------------------------------------------------------------------------
@@ -1721,11 +1721,11 @@
}; // END return
}(jQuery);
/***/ }),
-/***/ 254:
+/***/ 1254:
/***/ (() => {
/*
* jQuery OwlCarousel v1.3.3
*
@@ -3029,12 +3029,12 @@
};
})(jQuery, window, document);
/***/ }),
-/***/ 602:
-/***/ ((module) => {
+/***/ 6602:
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
/*
# -----------------------------------------------------------------------------
# ~/js/j1_template/core.js
@@ -3042,11 +3042,11 @@
#
# Product/Info:
# https://jekyll.one
# http://getbootstrap.com/
#
- # Copyright (C) 2023 Juergen Adams
+ # Copyright (C) 2023, 2024 Juergen Adams
#
# J1 Theme is licensed under MIT License.
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
# -----------------------------------------------------------------------------
*/
@@ -3061,14 +3061,18 @@
// -----------------------------------------------------------------------------
// module.exports = function core ( options ) {
/*!
* J1 Core
- * Copyright (C) 2023 Juergen Adams
+ * Copyright (C) 2023, 2024 Juergen Adams
* Licensed under MIT License.
*/
module.exports = function (options) {
+ const defaultOptions = __webpack_require__(8780);
+ const ParseContent = __webpack_require__(7609);
+ const parseContent = ParseContent(defaultOptions);
+
// ---------------------------------------------------------------------------
// Global variables
// ---------------------------------------------------------------------------
// var messageCatalog = {};
// var state;
@@ -3158,30 +3162,290 @@
var firstLetter = text[0];
var marginalDropCap = '<span class="j1-dropcap">' + firstLetter + '</span>';
$p.html(text.replace(firstLetter, marginalDropCap));
});
}
- } // END createDropCap
+ },
+ // END createDropCap
+
+ // -------------------------------------------------------------------------
+ // Initialize Backdrops on all <p> elements of class "dropcap"
+ // -------------------------------------------------------------------------
+ parseHeadings: function () {
+ var headings = parseContent.selectHeadings(".js-toc-content", "h2, h3, h4, h5, h6");
+ return headings;
+ } // END parseContent
+
+ // parseContent.selectHeadings(
+ // defaultOptions.contentSelector,
+ // defaultOptions.headingSelector
+ // );
}; // end return (object)
//})( jQuery, window );
}(); // END IFFE
/***/ }),
-/***/ 131:
+/***/ 8780:
/***/ ((module) => {
+// -----------------------------------------------------------------------------
+// ESLint shimming
+// -----------------------------------------------------------------------------
+/* eslint indent: "off" */
+/* eslint no-undef: "off" */
+/* eslint no-unused-vars: "off" */
+// -----------------------------------------------------------------------------
+
+module.exports = {
+ // Where to render the table of contents.
+ tocSelector: '.js-toc',
+ // Where to grab the headings to build the table of contents.
+ contentSelector: '.js-toc-content',
+ // Which headings to grab inside of the contentSelector element.
+ headingSelector: 'h2, h3, h4, h5, h6',
+ // Headings that match the ignoreSelector will be skipped.
+ ignoreSelector: '.notoc',
+ // For headings inside relative or absolute positioned containers within content
+ hasInnerContainers: false,
+ // Main class to add to links.
+ linkClass: 'toc-link',
+ // Extra classes to add to links.
+ extraLinkClasses: '',
+ // Class to add to active links,
+ // the link corresponding to the top most heading on the page.
+ activeLinkClass: 'is-active-link',
+ // Main class to add to lists.
+ listClass: 'toc-list',
+ // Extra classes to add to lists.
+ extraListClasses: '',
+ // Class that gets added when a list should be collapsed.
+ isCollapsedClass: 'is-collapsed',
+ // Class that gets added when a list should be able
+ // to be collapsed but isn't necessarily collapsed.
+ collapsibleClass: 'is-collapsible',
+ // Class to add to list items.
+ listItemClass: 'toc-list-item',
+ // Class to add to active list items.
+ activeListItemClass: 'is-active-li',
+ // How many heading levels should not be collapsed.
+ // For example, number 6 will show everything since
+ // there are only 6 heading levels and number 0 will collapse them all.
+ // The sections that are hidden will open
+ // and close as you scroll to headings within them.
+ collapseDepth: 3,
+ // Smooth scrolling enabled.
+ scrollSmooth: true,
+ // Smooth scroll duration.
+ scrollSmoothDuration: 300,
+ // Smooth scroll offset.
+ scrollSmoothOffset: 0,
+ // Callback for scroll end.
+ scrollEndCallback: function (e) {},
+ // Headings offset between the headings and the top of the document (this is meant for minor adjustments).
+ headingsOffset: 1,
+ // Timeout between events firing to make sure it's
+ // not too rapid (for performance reasons).
+ throttleTimeout: 150,
+ // Element to add the positionFixedClass to.
+ positionFixedSelector: null,
+ // Fixed position class to add to make sidebar fixed after scrolling
+ // down past the fixedSidebarOffset.
+ positionFixedClass: 'is-position-fixed',
+ // fixedSidebarOffset can be any number but by default is set
+ // to auto which sets the fixedSidebarOffset to the sidebar
+ // element's offsetTop from the top of the document on init.
+ fixedSidebarOffset: 'auto',
+ // includeHtml can be set to true to include the HTML markup from the
+ // heading node instead of just including the textContent.
+ includeHtml: false,
+ // onclick function to apply to all links in toc. will be called with
+ // the event as the first parameter, and this can be used to stop,
+ // propagation, prevent default or perform action
+ onClick: function (e) {},
+ // orderedList can be set to false to generate unordered lists (ul)
+ // instead of ordered lists (ol)
+ orderedList: true,
+ // If there is a fixed article scroll container, set to calculate titles' offset
+ scrollContainer: null,
+ // prevent ToC DOM rendering if it's already rendered by an external system
+ skipRendering: false,
+ // Optional callback to change heading labels.
+ // For example it can be used to cut down and put ellipses on multiline headings you deem too long.
+ // Called each time a heading is parsed. Expects a string in return, the modified label to display.
+ // function (string) => string
+ headingLabelCallback: false,
+ // ignore headings that are hidden in DOM
+ ignoreHiddenElements: false,
+ // Optional callback to modify properties of parsed headings.
+ // The heading element is passed in node parameter and information parsed by default parser is provided in obj parameter.
+ // Function has to return the same or modified obj.
+ // The heading will be excluded from TOC if nothing is returned.
+ // function (object, HTMLElement) => object | void
+ headingObjectCallback: null,
+ // Set the base path, useful if you use a `base` tag in `head`.
+ basePath: '',
+ // Only takes affect when `tocSelector` is scrolling,
+ // keep the toc scroll position in sync with the content.
+ disableTocScrollSync: false
+};
+
+/***/ }),
+
+/***/ 7609:
+/***/ ((module) => {
+
+/**
+ * This file is responsible for parsing the content from the DOM and making
+ * sure data is nested properly.
+ *
+ * @author Tim Scanlin
+ */
+
+// -----------------------------------------------------------------------------
+// ESLint shimming
+// -----------------------------------------------------------------------------
+/* eslint indent: "off" */
+/* eslint no-undef: "off" */
+/* eslint semi: "off" */
+// -----------------------------------------------------------------------------
+
+module.exports = function parseContent(options) {
+ var reduce = [].reduce;
+
+ /**
+ * Get the last item in an array and return a reference to it.
+ * @param {Array} array
+ * @return {Object}
+ */
+ function getLastItem(array) {
+ return array[array.length - 1];
+ }
+
+ /**
+ * Get heading level for a heading dom node.
+ * @param {HTMLElement} heading
+ * @return {Number}
+ */
+ function getHeadingLevel(heading) {
+ return +heading.nodeName.split('H').join('');
+ }
+
+ /**
+ * Get important properties from a heading element and store in a plain object.
+ * @param {HTMLElement} heading
+ * @return {Object}
+ */
+ function getHeadingObject(heading) {
+ // each node is processed twice by this method because nestHeadingsArray() and addNode() calls it
+ // first time heading is real DOM node element, second time it is obj
+ // that is causing problem so I am processing only original DOM node
+ if (!(heading instanceof window.HTMLElement)) return heading;
+ if (options.ignoreHiddenElements && (!heading.offsetHeight || !heading.offsetParent)) {
+ return null;
+ }
+ var obj = {
+ id: heading.id,
+ children: [],
+ nodeName: heading.nodeName,
+ headingLevel: getHeadingLevel(heading),
+ textContent: options.headingLabelCallback ? String(options.headingLabelCallback(heading.textContent)) : heading.textContent.trim()
+ };
+ if (options.includeHtml) {
+ obj.childNodes = heading.childNodes;
+ }
+ if (options.headingObjectCallback) {
+ return options.headingObjectCallback(obj, heading);
+ }
+ return obj;
+ }
+
+ /**
+ * Add a node to the nested array.
+ * @param {Object} node
+ * @param {Array} nest
+ * @return {Array}
+ */
+ function addNode(node, nest) {
+ var obj = getHeadingObject(node);
+ var level = obj.headingLevel;
+ var array = nest;
+ var lastItem = getLastItem(array);
+ var lastItemLevel = lastItem ? lastItem.headingLevel : 0;
+ var counter = level - lastItemLevel;
+ while (counter > 0) {
+ lastItem = getLastItem(array);
+ if (lastItem && lastItem.children !== undefined) {
+ array = lastItem.children;
+ }
+ counter--;
+ }
+ if (level >= options.collapseDepth) {
+ obj.isCollapsed = true;
+ }
+ array.push(obj);
+ return array;
+ }
+
+ /**
+ * Select headings in content area, exclude any selector in options.ignoreSelector
+ * @param {String} contentSelector
+ * @param {Array} headingSelector
+ * @return {Array}
+ */
+ function selectHeadings(contentSelector, headingSelector) {
+ var selectors = headingSelector;
+ if (options.ignoreSelector) {
+ selectors = headingSelector.split(',').map(function mapSelectors(selector) {
+ return selector.trim() + ':not(' + options.ignoreSelector + ')';
+ });
+ }
+ try {
+ return document.querySelector(contentSelector).querySelectorAll(selectors);
+ } catch (e) {
+ console.warn('Element not found: ' + contentSelector); // eslint-disable-line
+ return null;
+ }
+ }
+
+ /**
+ * Nest headings array into nested arrays with 'children' property.
+ * @param {Array} headingsArray
+ * @return {Object}
+ */
+ function nestHeadingsArray(headingsArray) {
+ return reduce.call(headingsArray, function reducer(prev, curr) {
+ var currentHeading = getHeadingObject(curr);
+ if (currentHeading) {
+ addNode(currentHeading, prev.nest);
+ }
+ return prev;
+ }, {
+ nest: []
+ });
+ }
+ return {
+ nestHeadingsArray: nestHeadingsArray,
+ selectHeadings: selectHeadings
+ };
+};
+
+/***/ }),
+
+/***/ 1131:
+/***/ ((module) => {
+
/*
# -----------------------------------------------------------------------------
# ~/200_theme_js/js/lazyCss/lazyCss.js
# CSS loader to speed up inital rendering
#
# Product/Info:
# https://jekyll.one
#
- # Copyright (C) 2023 Juergen Adams
+ # Copyright (C) 2023, 2024 Juergen Adams
#
# J1 Template is licensed under the MIT License.
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
# -----------------------------------------------------------------------------
*/
@@ -3228,11 +3492,11 @@
};
};
/***/ }),
-/***/ 610:
+/***/ 5771:
/***/ (() => {
/*
# -----------------------------------------------------------------------------
# ~/200_theme_js/js/listen-attribute-changes/attrchange.js
@@ -3240,11 +3504,11 @@
#
# Product/Info:
# https://jekyll.one
#
# Copyright (C) 2013-2014 Selvakumar Arumugam
- # Copyright (C) 2023 Juergen Adams
+ # Copyright (C) 2023, 2024 Juergen Adams
#
# Attrchange is licensed under the MIT License.
# See: https://github.com/meetselva/attrchange/blob/master/MIT-License.txt
#
# J1 Template is licensed under the MIT License.
@@ -3484,11 +3748,11 @@
};
})(jQuery);
/***/ }),
-/***/ 490:
+/***/ 3490:
/***/ ((module) => {
/*
# -----------------------------------------------------------------------------
# ~/js/navigator/navigator.js
@@ -3497,11 +3761,11 @@
# Product/Info:
# https://jekyll.one
# https://github.com/adamnurdin01/bootsnav
# http://corenav.anurdin.net/
#
- # Copyright (C) 2023 Juergen Adams
+ # Copyright (C) 2023, 2024 Juergen Adams
# Copyright (C) 2016 adamnurdin01
#
# J1 Theme is licensed under MIT License.
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
# Bootsnav is licensed under MIT License.
@@ -4142,11 +4406,11 @@
}; // end return (object)
}(jQuery);
/***/ }),
-/***/ 814:
+/***/ 8814:
/***/ ((module) => {
"use strict";
/*
# -----------------------------------------------------------------------------
@@ -4273,11 +4537,11 @@
}; // END return
}(jQuery);
/***/ }),
-/***/ 633:
+/***/ 8633:
/***/ ((module) => {
// -----------------------------------------------------------------------------
// ESLint shimming
// -----------------------------------------------------------------------------
@@ -4379,11 +4643,11 @@
disableTocScrollSync: false
};
/***/ }),
-/***/ 291:
+/***/ 3291:
/***/ ((module) => {
/**
* This file is responsible for parsing the content from the DOM and making
* sure data is nested properly.
@@ -4531,11 +4795,11 @@
#
# Product/Info:
# https://jekyll.one
# https://github.com/acoti/articulate.js/tree/master
#
- # Copyright (C) 2023 Juergen Adams
+ # Copyright (C) 2023, 2024 Juergen Adams
# Copyright (C) 2017 Adam Coti
#
# J1 Template is licensed under the MIT License.
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
# Articulate is licensed under the MIT License.
@@ -4555,12 +4819,12 @@
*/
(function ($) {
'use strict';
- const defaultOptions = __webpack_require__(633);
- const ParseContent = __webpack_require__(291);
+ const defaultOptions = __webpack_require__(8633);
+ const ParseContent = __webpack_require__(3291);
const parseContent = ParseContent(defaultOptions);
const scrollBehavior = 'smooth';
const speechCycle = 10;
const speechMonitorCycle = 10;
const textSliceLength = 30;
@@ -6117,11 +6381,11 @@
}; // END main
})(jQuery);
/***/ }),
-/***/ 525:
+/***/ 4525:
/***/ ((module) => {
/**
* This file is responsible for building the DOM and updating DOM state.
*
@@ -6396,11 +6660,11 @@
};
};
/***/ }),
-/***/ 923:
+/***/ 8923:
/***/ ((module) => {
// -----------------------------------------------------------------------------
// ESLint shimming
// -----------------------------------------------------------------------------
@@ -6502,11 +6766,11 @@
disableTocScrollSync: false
};
/***/ }),
-/***/ 407:
+/***/ 6407:
/***/ ((module) => {
/**
* This file is responsible for parsing the content from the DOM and making
* sure data is nested properly.
@@ -6642,11 +6906,11 @@
};
};
/***/ }),
-/***/ 968:
+/***/ 5968:
/***/ ((__unused_webpack_module, exports) => {
/*
# -----------------------------------------------------------------------------
# ~/js/tocbot/scroll-smooth/index.js
@@ -6655,11 +6919,11 @@
# Product/Info:
# https://jekyll.one
# https://tscanlin.github.io/tocbot
# https://github.com/tscanlin/tocbot
#
- # Copyright (C) 2023 Juergen Adams
+ # Copyright (C) 2023, 2024 Juergen Adams
# Copyright (C) 2016 Tim Scanlin
#
# J1 Theme is licensed under MIT License.
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
# Tocbot is licensed under the MIT License.
@@ -6794,11 +7058,11 @@
}
}
/***/ }),
-/***/ 799:
+/***/ 2799:
/***/ (function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
# -----------------------------------------------------------------------------
# ~/js/tocbot/tocbot.js
@@ -6807,11 +7071,11 @@
# Product/Info:
# https://jekyll.one
# https://tscanlin.github.io/tocbot
# https://github.com/tscanlin/tocbot
#
- # Copyright (C) 2023 Juergen Adams
+ # Copyright (C) 2023, 2024 Juergen Adams
# Copyright (C) 2016 Tim Scanlin
#
# J1 Theme is licensed under MIT License.
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
# Tocbot is licensed under the MIT License.
@@ -6851,18 +7115,18 @@
} else {}
})(typeof __webpack_require__.g !== 'undefined' ? __webpack_require__.g : this.window || this.global, function (root) {
'use strict';
// Default options.
- var defaultOptions = __webpack_require__(923);
+ var defaultOptions = __webpack_require__(8923);
// Object to store current options.
var options = {};
// Object for public APIs.
var tocbot = {};
- var BuildHtml = __webpack_require__(525);
- var ParseContent = __webpack_require__(407);
- var updateTocScroll = __webpack_require__(172);
+ var BuildHtml = __webpack_require__(4525);
+ var ParseContent = __webpack_require__(6407);
+ var updateTocScroll = __webpack_require__(1172);
// Keep these variables at top scope once options are passed in.
var buildHtml;
var parseContent;
// Just return if its not a browser.
@@ -6957,11 +7221,11 @@
// Init smooth scroll if enabled (default).
if (options.scrollSmooth) {
options.duration = options.scrollSmoothDuration;
options.offset = options.scrollSmoothOffset;
- tocbot.scrollSmooth = (__webpack_require__(968).initSmoothScrolling)(options);
+ tocbot.scrollSmooth = (__webpack_require__(5968).initSmoothScrolling)(options);
}
// Pass options to these modules.
buildHtml = BuildHtml(options);
parseContent = ParseContent(options);
@@ -7044,11 +7308,11 @@
return tocbot;
});
/***/ }),
-/***/ 172:
+/***/ 1172:
/***/ ((module) => {
// -----------------------------------------------------------------------------
// ESLint shimming
// -----------------------------------------------------------------------------
@@ -7067,11 +7331,11 @@
}
};
/***/ }),
-/***/ 808:
+/***/ 6808:
/***/ ((module, exports, __webpack_require__) => {
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
* JavaScript Cookie v2.2.1
* https://github.com/js-cookie/js-cookie
@@ -7241,54 +7505,54 @@
}));
/***/ }),
-/***/ 320:
+/***/ 3320:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
-var loader = __webpack_require__(990);
-var dumper = __webpack_require__(150);
+var loader = __webpack_require__(7990);
+var dumper = __webpack_require__(3150);
function renamed(from, to) {
return function () {
throw new Error('Function yaml.' + from + ' is removed in js-yaml 4. ' +
'Use yaml.' + to + ' instead, which is now safe by default.');
};
}
-module.exports.Type = __webpack_require__(364);
-module.exports.Schema = __webpack_require__(657);
-module.exports.FAILSAFE_SCHEMA = __webpack_require__(795);
-module.exports.JSON_SCHEMA = __webpack_require__(966);
-module.exports.CORE_SCHEMA = __webpack_require__(471);
-module.exports.DEFAULT_SCHEMA = __webpack_require__(601);
+module.exports.Type = __webpack_require__(1364);
+module.exports.Schema = __webpack_require__(7657);
+module.exports.FAILSAFE_SCHEMA = __webpack_require__(4795);
+module.exports.JSON_SCHEMA = __webpack_require__(5966);
+module.exports.CORE_SCHEMA = __webpack_require__(9471);
+module.exports.DEFAULT_SCHEMA = __webpack_require__(6601);
module.exports.load = loader.load;
module.exports.loadAll = loader.loadAll;
module.exports.dump = dumper.dump;
-module.exports.YAMLException = __webpack_require__(425);
+module.exports.YAMLException = __webpack_require__(8425);
// Re-export all types in case user wants to create custom schema
module.exports.types = {
- binary: __webpack_require__(531),
- float: __webpack_require__(215),
+ binary: __webpack_require__(3531),
+ float: __webpack_require__(5215),
map: __webpack_require__(945),
null: __webpack_require__(151),
- pairs: __webpack_require__(879),
- set: __webpack_require__(982),
- timestamp: __webpack_require__(156),
- bool: __webpack_require__(771),
- int: __webpack_require__(518),
- merge: __webpack_require__(452),
- omap: __webpack_require__(605),
- seq: __webpack_require__(451),
+ pairs: __webpack_require__(6879),
+ set: __webpack_require__(4982),
+ timestamp: __webpack_require__(2156),
+ bool: __webpack_require__(8771),
+ int: __webpack_require__(1518),
+ merge: __webpack_require__(7452),
+ omap: __webpack_require__(1605),
+ seq: __webpack_require__(6451),
str: __webpack_require__(48)
};
// Removed functions from JS-YAML 3.0.x
module.exports.safeLoad = renamed('safeLoad', 'load');
@@ -7296,11 +7560,11 @@
module.exports.safeDump = renamed('safeDump', 'dump');
/***/ }),
-/***/ 347:
+/***/ 8347:
/***/ ((module) => {
"use strict";
@@ -7363,21 +7627,21 @@
module.exports.extend = extend;
/***/ }),
-/***/ 150:
+/***/ 3150:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
/*eslint-disable no-use-before-define*/
-var common = __webpack_require__(347);
-var YAMLException = __webpack_require__(425);
-var DEFAULT_SCHEMA = __webpack_require__(601);
+var common = __webpack_require__(8347);
+var YAMLException = __webpack_require__(8425);
+var DEFAULT_SCHEMA = __webpack_require__(6601);
var _toString = Object.prototype.toString;
var _hasOwnProperty = Object.prototype.hasOwnProperty;
var CHAR_BOM = 0xFEFF;
@@ -8336,11 +8600,11 @@
module.exports.dump = dump;
/***/ }),
-/***/ 425:
+/***/ 8425:
/***/ ((module) => {
"use strict";
// YAML error class. http://stackoverflow.com/questions/8458984
//
@@ -8399,22 +8663,22 @@
module.exports = YAMLException;
/***/ }),
-/***/ 990:
+/***/ 7990:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
/*eslint-disable max-len,no-use-before-define*/
-var common = __webpack_require__(347);
-var YAMLException = __webpack_require__(425);
+var common = __webpack_require__(8347);
+var YAMLException = __webpack_require__(8425);
var makeSnippet = __webpack_require__(192);
-var DEFAULT_SCHEMA = __webpack_require__(601);
+var DEFAULT_SCHEMA = __webpack_require__(6601);
var _hasOwnProperty = Object.prototype.hasOwnProperty;
@@ -10134,20 +10398,20 @@
module.exports.load = load;
/***/ }),
-/***/ 657:
+/***/ 7657:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
/*eslint-disable max-len*/
-var YAMLException = __webpack_require__(425);
-var Type = __webpack_require__(364);
+var YAMLException = __webpack_require__(8425);
+var Type = __webpack_require__(1364);
function compileList(schema, name) {
var result = [];
@@ -10263,11 +10527,11 @@
module.exports = Schema;
/***/ }),
-/***/ 471:
+/***/ 9471:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
// Standard YAML's Core schema.
// http://www.yaml.org/spec/1.2/spec.html#id2804923
@@ -10277,16 +10541,16 @@
-module.exports = __webpack_require__(966);
+module.exports = __webpack_require__(5966);
/***/ }),
-/***/ 601:
+/***/ 6601:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
// JS-YAML's default schema for `safeLoad` function.
// It is not described in the YAML specification.
@@ -10296,52 +10560,52 @@
-module.exports = (__webpack_require__(471).extend)({
+module.exports = (__webpack_require__(9471).extend)({
implicit: [
- __webpack_require__(156),
- __webpack_require__(452)
+ __webpack_require__(2156),
+ __webpack_require__(7452)
],
explicit: [
- __webpack_require__(531),
- __webpack_require__(605),
- __webpack_require__(879),
- __webpack_require__(982)
+ __webpack_require__(3531),
+ __webpack_require__(1605),
+ __webpack_require__(6879),
+ __webpack_require__(4982)
]
});
/***/ }),
-/***/ 795:
+/***/ 4795:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
// Standard YAML's Failsafe schema.
// http://www.yaml.org/spec/1.2/spec.html#id2802346
-var Schema = __webpack_require__(657);
+var Schema = __webpack_require__(7657);
module.exports = new Schema({
explicit: [
__webpack_require__(48),
- __webpack_require__(451),
+ __webpack_require__(6451),
__webpack_require__(945)
]
});
/***/ }),
-/***/ 966:
+/***/ 5966:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
// Standard YAML's JSON schema.
// http://www.yaml.org/spec/1.2/spec.html#id2803231
@@ -10352,16 +10616,16 @@
-module.exports = (__webpack_require__(795).extend)({
+module.exports = (__webpack_require__(4795).extend)({
implicit: [
__webpack_require__(151),
- __webpack_require__(771),
- __webpack_require__(518),
- __webpack_require__(215)
+ __webpack_require__(8771),
+ __webpack_require__(1518),
+ __webpack_require__(5215)
]
});
/***/ }),
@@ -10371,11 +10635,11 @@
"use strict";
-var common = __webpack_require__(347);
+var common = __webpack_require__(8347);
// get snippet for a single line, respecting maxLength
function getLine(buffer, lineStart, lineEnd, position, maxLineLength) {
var head = '';
@@ -10473,17 +10737,17 @@
module.exports = makeSnippet;
/***/ }),
-/***/ 364:
+/***/ 1364:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
-var YAMLException = __webpack_require__(425);
+var YAMLException = __webpack_require__(8425);
var TYPE_CONSTRUCTOR_OPTIONS = [
'kind',
'multi',
'resolve',
@@ -10547,20 +10811,20 @@
module.exports = Type;
/***/ }),
-/***/ 531:
+/***/ 3531:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
/*eslint-disable no-bitwise*/
-var Type = __webpack_require__(364);
+var Type = __webpack_require__(1364);
// [ 64, 65, 66 ] -> [ padding, CR, LF ]
var BASE64_MAP = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r';
@@ -10680,17 +10944,17 @@
});
/***/ }),
-/***/ 771:
+/***/ 8771:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
-var Type = __webpack_require__(364);
+var Type = __webpack_require__(1364);
function resolveYamlBoolean(data) {
if (data === null) return false;
var max = data.length;
@@ -10723,18 +10987,18 @@
});
/***/ }),
-/***/ 215:
+/***/ 5215:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
-var common = __webpack_require__(347);
-var Type = __webpack_require__(364);
+var common = __webpack_require__(8347);
+var Type = __webpack_require__(1364);
var YAML_FLOAT_PATTERN = new RegExp(
// 2.5e4, 2.5 and integers
'^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?' +
// .2e4, .2
@@ -10828,18 +11092,18 @@
});
/***/ }),
-/***/ 518:
+/***/ 1518:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
-var common = __webpack_require__(347);
-var Type = __webpack_require__(364);
+var common = __webpack_require__(8347);
+var Type = __webpack_require__(1364);
function isHexCode(c) {
return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) ||
((0x41/* A */ <= c) && (c <= 0x46/* F */)) ||
((0x61/* a */ <= c) && (c <= 0x66/* f */));
@@ -10998,27 +11262,27 @@
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
-var Type = __webpack_require__(364);
+var Type = __webpack_require__(1364);
module.exports = new Type('tag:yaml.org,2002:map', {
kind: 'mapping',
construct: function (data) { return data !== null ? data : {}; }
});
/***/ }),
-/***/ 452:
+/***/ 7452:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
-var Type = __webpack_require__(364);
+var Type = __webpack_require__(1364);
function resolveYamlMerge(data) {
return data === '<<' || data === null;
}
@@ -11034,11 +11298,11 @@
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
-var Type = __webpack_require__(364);
+var Type = __webpack_require__(1364);
function resolveYamlNull(data) {
if (data === null) return true;
var max = data.length;
@@ -11071,17 +11335,17 @@
});
/***/ }),
-/***/ 605:
+/***/ 1605:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
-var Type = __webpack_require__(364);
+var Type = __webpack_require__(1364);
var _hasOwnProperty = Object.prototype.hasOwnProperty;
var _toString = Object.prototype.toString;
function resolveYamlOmap(data) {
@@ -11123,17 +11387,17 @@
});
/***/ }),
-/***/ 879:
+/***/ 6879:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
-var Type = __webpack_require__(364);
+var Type = __webpack_require__(1364);
var _toString = Object.prototype.toString;
function resolveYamlPairs(data) {
if (data === null) return true;
@@ -11184,33 +11448,33 @@
});
/***/ }),
-/***/ 451:
+/***/ 6451:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
-var Type = __webpack_require__(364);
+var Type = __webpack_require__(1364);
module.exports = new Type('tag:yaml.org,2002:seq', {
kind: 'sequence',
construct: function (data) { return data !== null ? data : []; }
});
/***/ }),
-/***/ 982:
+/***/ 4982:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
-var Type = __webpack_require__(364);
+var Type = __webpack_require__(1364);
var _hasOwnProperty = Object.prototype.hasOwnProperty;
function resolveYamlSet(data) {
if (data === null) return true;
@@ -11243,27 +11507,27 @@
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
-var Type = __webpack_require__(364);
+var Type = __webpack_require__(1364);
module.exports = new Type('tag:yaml.org,2002:str', {
kind: 'scalar',
construct: function (data) { return data !== null ? data : ''; }
});
/***/ }),
-/***/ 156:
+/***/ 2156:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
"use strict";
-var Type = __webpack_require__(364);
+var Type = __webpack_require__(1364);
var YAML_DATE_REGEXP = new RegExp(
'^([0-9][0-9][0-9][0-9])' + // [1] year
'-([0-9][0-9])' + // [2] month
'-([0-9][0-9])$'); // [3] day
@@ -11349,11 +11613,11 @@
});
/***/ }),
-/***/ 578:
+/***/ 8578:
/***/ (function(module, exports) {
/**
* lite-url - Small, JS lib that uses regex for parsing a URL into it's component parts.
* @version v1.0.5
@@ -11363,11 +11627,11 @@
(function(){"use strict";function r(r,n,t){var e=r.split(n),o=e.shift();return t(o,e.join(n))}function n(n){var t={hash:"",host:"",hostname:"",origin:"",pathname:"",protocol:"",search:"",password:"",username:"",port:""};return r(n,"#",function(n,e){e&&(t.hash=e?"#"+e:""),r(n,"?",function(n,e){e&&(t.search="?"+e),n&&r(n,"//",function(n,e){t.protocol=n,r(e,"/",function(n,e){t.pathname="/"+(e||""),(t.protocol||n)&&(t.origin=t.protocol+"//"+n),r(n,"@",function(n,e){if(e){var o=n.split(":");t.username=o[0],t.password=o[1]}else e=n;t.host=e,r(e,":",function(r,n){t.hostname=r,n&&(t.port=n)})})})})})}),t.href=t.origin+t.pathname+t.search+t.hash,t}function t(r){var n={},t=r.search;if(t){t=t.replace(new RegExp("\\?"),"");var e=t.split("&");for(var o in e)if(e.hasOwnProperty(o)&&e[o]){var i=e[o].split("=");n[i[0]]=i[1]}}return n}function e(r){var e=i[r];return"undefined"!=typeof e?e:(e=n(r),e.params=t(e),i[r]=e,e)}var o=this,i={};return e.changeQueryParser=function(r){t=r}, true?( true&&module.exports&&(exports=module.exports=e),exports.liteURL=e):0,e}).call(this);
/***/ }),
-/***/ 979:
+/***/ 9979:
/***/ (function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
* Copyright 2015 Tim Down.
*
@@ -11640,11 +11904,11 @@
return log4javascript;},this);
/***/ }),
-/***/ 727:
+/***/ 1795:
/***/ (function(module, exports, __webpack_require__) {
/* module decorator */ module = __webpack_require__.nmd(module);
var __WEBPACK_AMD_DEFINE_RESULT__;/*!
* Platform.js v1.3.6
@@ -12963,11 +13227,11 @@
# J1 Theme Javascript Core library
#
# Product/Info:
# https://jekyll.one
#
- # Copyright (C) 2023 Juergen Adams
+ # Copyright (C) 2023, 2024 Juergen Adams
#
# J1 Template is licensed under the MIT License.
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
#
# -----------------------------------------------------------------------------
@@ -12998,32 +13262,33 @@
// Core Utilities (moved to modules)
// -----------------------------------------------------------------------------
// Following objects (native node modules) are *explicitely* forced to be
// exposed for run-time to the global namespace (window).
// -----------------------------------------------------------------------------
-window.Cookies = __webpack_require__(808);
-window.yaml = __webpack_require__(320);
-window.log4javascript = __webpack_require__(979);
-window.liteURL = __webpack_require__(578);
-window.platform = __webpack_require__(727);
+window.Cookies = __webpack_require__(6808);
+window.yaml = __webpack_require__(3320);
+window.log4javascript = __webpack_require__(9979);
+window.liteURL = __webpack_require__(8578);
+window.platform = __webpack_require__(1795);
// Core Libraries - build|required from SOURCE
// -----------------------------------------------------------------------------
// Following source objects|modules are *explicitely* forced to be
// exposed for run-time to the global namespace (window).
// -----------------------------------------------------------------------------
// window.deeplTranslator = require('./js/deepl-translator'); // J1 Module deeplAPI used instead
-// window.j1.fam = require('./js/fam/fam.js'); // cannot used until NOT rewritten to jQuery
+// window.j1.fab = require('./js/fab/fab.js'); // cannot used until NOT rewritten to jQuery
-window.j1.adapter = __webpack_require__(476);
-window.j1.anime = __webpack_require__(921); // added for fam
-window.j1.lazyCSS = __webpack_require__(131);
-window.j1.core = __webpack_require__(602);
-window.j1.core.navigator = __webpack_require__(490);
-window.j1.core.asciidoctor = __webpack_require__(977);
-window.j1.core.scrollSmooth = __webpack_require__(814);
+window.j1.adapter = __webpack_require__(8476);
+window.j1.anime = __webpack_require__(8921); // added for fab
+window.j1.lazyCSS = __webpack_require__(1131);
+window.j1.core = __webpack_require__(6602);
+window.j1.core.parseContent = __webpack_require__(3291);
+window.j1.core.navigator = __webpack_require__(3490);
+window.j1.core.asciidoctor = __webpack_require__(6977);
+window.j1.core.scrollSmooth = __webpack_require__(8814);
// Following source objects|modules are *implicetly* forced to be
// exposed for run-time to the global namespace (window).
// -----------------------------------------------------------------------------
// const J1Yaml = require('js-yaml');
@@ -13031,14 +13296,14 @@
// const J1ThemeSwitcher = require('./js/bs_theme_switcher/switcher.js');
// const J1MmenuLight = require('./js/mmenu-light/mmenu.js');
// const BootstrapJS = require('./node_modules/bootstrap/dist/js/bootstrap.js');
-const J1Tocbot = __webpack_require__(799);
-const J1AttrChangeListener = __webpack_require__(610);
+const J1Tocbot = __webpack_require__(2799);
+const J1AttrChangeListener = __webpack_require__(5771);
const J1Speak2Me = __webpack_require__(229);
-const J1SCarousel = __webpack_require__(254);
+const J1SCarousel = __webpack_require__(1254);
// Passing log data over Internet|SeeMe (currently NOT used)
// -----------------------------------------------------------------------------
// window.j1.core.log4javascript = require('./js/logger/client/webhook.js');
@@ -13071,10 +13336,10 @@
// -----------------------------------------------------------------------------
// const J1Attics = require('./js/backstretch/backstretch.js');
// Additional Vanilla JS helpers
// -----------------------------------------------------------------------------
-const J1AdocResultViewer = __webpack_require__(253);
+const J1AdocResultViewer = __webpack_require__(1253);
// const MSIEPolyfills = require('./js/polyfills/ms-ie.js');
// HMR messages (currently NOT used)
// -----------------------------------------------------------------------------
// if (module.hot) {
\ No newline at end of file