/** * AKSRT Frontend Shell * * All init modules have been extracted to assets/js/core/*.js. * This file remains as the enqueue anchor (handle: aksrt-script) that * other scripts depend on, and provides the AksrtFrontend fallback * for edge cases where rehydrate.js is not loaded first. * * @package AKSRT * @since 5.0.0 */ (function () { "use strict"; if (!window.AksrtFrontend) { window.AksrtFrontend = { register: function (name, fn) { if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", function () { fn(document, "init"); }); } else { fn(document, "init"); } }, rehydrate: function () {} }; } })();