From 3007a769596191ce777ff58d5c706987084a6aba Mon Sep 17 00:00:00 2001 From: TARawson Date: Mon, 11 Sep 2023 09:48:23 -0600 Subject: [PATCH] fix: include dist changes for byu logo update --- dist/byu-theme-components.min.js.map | 2 +- dist/components.min.js | 18 +++++++++++------- dist/components.min.js.map | 2 +- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/dist/byu-theme-components.min.js.map b/dist/byu-theme-components.min.js.map index 1c6543a1..50fec4e9 100644 --- a/dist/byu-theme-components.min.js.map +++ b/dist/byu-theme-components.min.js.map @@ -1 +1 @@ -{"version":3,"file":"byu-theme-components.min.js","sources":["../node_modules/@byuweb/web-components-loader/dist/bundle.js","../components/byu-theme-components.js"],"sourcesContent":["/**\n * @license\n * Copyright (c) 2018 The Polymer Project Authors. All rights reserved.\n * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\n * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\n * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\n * Code distributed by Google as part of the polymer project is also\n * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\n */\n\nfunction loader(polyfillRootUrl = 'https://cdn.byu.edu/web-component-polyfills-v2/2.2.10') {\n /**\n * Basic flow of the loader process\n *\n * There are 4 flows the loader can take when booting up\n *\n * - Synchronous script, no polyfills needed\n * - wait for `DOMContentLoaded`\n * - fire WCR event, as there could not be any callbacks passed to `waitFor`\n *\n * - Synchronous script, polyfills needed\n * - document.write the polyfill bundle\n * - wait on the `load` event of the bundle to batch Custom Element upgrades\n * - wait for `DOMContentLoaded`\n * - run callbacks passed to `waitFor`\n * - fire WCR event\n *\n * - Asynchronous script, no polyfills needed\n * - wait for `DOMContentLoaded`\n * - run callbacks passed to `waitFor`\n * - fire WCR event\n *\n * - Asynchronous script, polyfills needed\n * - Append the polyfill bundle script\n * - wait for `load` event of the bundle\n * - batch Custom Element Upgrades\n * - run callbacks pass to `waitFor`\n * - fire WCR event\n */\n\n var polyfillsLoaded = false;\n var whenLoadedFns = [];\n var allowUpgrades = false;\n var flushFn;\n\n function fireEvent() {\n window.WebComponents.ready = true;\n document.dispatchEvent(new CustomEvent('WebComponentsReady', { bubbles: true }));\n }\n\n function batchCustomElements() {\n if (window.customElements && customElements.polyfillWrapFlushCallback) {\n customElements.polyfillWrapFlushCallback(function (flushCallback) {\n flushFn = flushCallback;\n if (allowUpgrades) {\n flushFn();\n }\n });\n }\n }\n\n function asyncReady() {\n batchCustomElements();\n ready();\n }\n\n function ready() {\n // bootstrap