diff --git a/.github/workflows/html.yml b/.github/workflows/html.yml index 8b486c6c..824ac929 100644 --- a/.github/workflows/html.yml +++ b/.github/workflows/html.yml @@ -7,8 +7,22 @@ jobs: name: Test HTML and accessibility with NU HTML Checker runs-on: ubuntu-20.04 + # Test on macOS: + # brew install openjdk + # sudo ln -sfn $(brew --prefix)/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk steps: - - name: Run html-validator-cli + - name: Install Java + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '17' + + - name: Download vnu.jar + run: wget https://github.com/validator/validator/releases/download/latest/vnu.jar + + - name: Run vnu validator run: | - npm i -g html-validator-cli - html-validator "https://airwptheme.com/demo" --format=text --ignore='Error: CSS: “padding-top”: only “0” can be a “unit”. You must put a unit after your number.' --quiet + java -jar vnu.jar --skip-non-html --errors-only --format text \ + --filterpattern ".*contain-intrinsic-size.*" \ + --filterpattern ".*only.*0.*can be a.*unit.*" \ + "https://airwptheme.com/demo" diff --git a/.jshintignore b/.jshintignore index 747a2d0a..16f0c362 100644 --- a/.jshintignore +++ b/.jshintignore @@ -5,7 +5,6 @@ gulp/*.js gulp/*/*.js js/prod/*.js js/dev/*.js -js/src/legacy.js js/src/modules/lazyload.js js/src/modules/sticky-nav.js js/src/modules/navigation.js diff --git a/CHANGELOG.md b/CHANGELOG.md index bf0992bb..02bcb4f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,14 @@ ### [Unreleased] +* Add debug function to print all available blocks + +### 9.4.7: 2024-12-04 + * Fix body styles leaking to wp-admin * Fix img proportions fallback for images that have width and height set, T-23188 * Fix image proportions for overlay images due to air-helper 3.1.1, T-23188 +* Change HTML build CI to use vnu-jar instead of outdated html-validator-cli +* Remove polyfills, T-14767 ### 9.4.6: 2024-11-19 diff --git a/README.md b/README.md index 6b9bed40..ed0441b8 100644 --- a/README.md +++ b/README.md @@ -218,10 +218,6 @@ All .js files in `/js/src/*` is built to production bundles in `/js/prod/` folde If you want to add a piece of custom JS, create a file under `/js/src/modules/` and import or require it in `/js/src/front-end.js`. If you need a admin-specific JS, add a `/js/src/admin.js` and then enqueue `/js/dist/admin.js` with `enqueue_admin_scripts` -#### Legacy support - -Our build uses babel to translate scripts to ES2015 compatible JS, so you can use modern JS syntax without thinking about backwards compatibility. There is a `/js/src/legacy.js` file, which contains the needed polyfills for browsers not supporting the ES2015 syntax and is automatically loaded on the header when such browser is detected. - #### Linter We use [Airbnb](https://github.com/airbnb/javascript) es-lint presets spiced up with our own flavors. diff --git a/bin/tasks/additions.sh b/bin/tasks/additions.sh index 1a93c4f8..35937038 100644 --- a/bin/tasks/additions.sh +++ b/bin/tasks/additions.sh @@ -6,7 +6,7 @@ chmod 777 ${PROJECT_PATH}/media echo "${YELLOW}Generating default README.md...${TXTRESET}" -NEWEST_AIR_VERSION="9.4.6" +NEWEST_AIR_VERSION="9.4.7" NEWEST_WORDPRESS_VERSION="6.7.0" NEWEST_PHP_VERSION="8.3" CURRENT_DATE=$(LC_TIME=en_US date '+%d %b %Y' |tr ' ' '_'); diff --git a/functions.php b/functions.php index bb3fb717..3cb8a4aa 100644 --- a/functions.php +++ b/functions.php @@ -17,7 +17,7 @@ /** * The current version of the theme. */ -define( 'AIR_LIGHT_VERSION', '9.4.6' ); +define( 'AIR_LIGHT_VERSION', '9.4.7' ); // We need to have some defaults as comments or empties so let's allow this: // phpcs:disable Squiz.Commenting.InlineComment.SpacingBefore, WordPress.Arrays.ArrayDeclarationSpacing.SpaceInEmptyArray @@ -141,7 +141,7 @@ // Accepts both string (all*/none-options only) and array (options + specific blocks) 'allowed_blocks' => [ 'post' => 'all-core-blocks', - 'page' => [], + 'page' => 'all', // 'page' => [ // 'all-acf-blocks', // 'core/paragraph', @@ -168,6 +168,22 @@ define( 'THEME_SETTINGS', $theme_settings ); } ); // end action after_setup_theme +/** + * Debug function to print all available blocks + */ +function debug_print_all_blocks() { + $blocks = \WP_Block_Type_Registry::get_instance()->get_all_registered(); + $block_names = array_map(function( $block ) { + return "'" . $block->name . "',"; + }, $blocks); + echo '
' . implode( "\n", $block_names ) . ''; // phpcs:ignore + die(); +} + +// Uncomment the following line to see all available blocks: +// add_action('init', __NAMESPACE__ . '\\debug_print_all_blocks'); + + /** * Required files */ diff --git a/inc/hooks.php b/inc/hooks.php index 57e949f0..c4598027 100644 --- a/inc/hooks.php +++ b/inc/hooks.php @@ -29,7 +29,6 @@ * Scripts and styles associated hooks */ require get_theme_file_path( 'inc/hooks/scripts-styles.php' ); -add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\enqueue_polyfills' ); add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\enqueue_theme_scripts' ); // NB! If you use ajax functionality in Gravity Forms, remove this line diff --git a/inc/hooks/gutenberg.php b/inc/hooks/gutenberg.php index 893321b1..b0dd0ee8 100644 --- a/inc/hooks/gutenberg.php +++ b/inc/hooks/gutenberg.php @@ -11,6 +11,7 @@ * Restrict blocks to only allowed blocks in the settings */ function allowed_block_types( $allowed_blocks, $editor_context ) { // phpcs:ignore + // If no allowed blocks are defined or it is set to none, return an empty array if ( empty( THEME_SETTINGS['allowed_blocks'] ) || 'none' === THEME_SETTINGS['allowed_blocks'] ) { return []; diff --git a/inc/hooks/scripts-styles.php b/inc/hooks/scripts-styles.php index 6c4e151b..d64f9dae 100644 --- a/inc/hooks/scripts-styles.php +++ b/inc/hooks/scripts-styles.php @@ -61,34 +61,6 @@ function enqueue_theme_scripts() { wp_localize_script( 'scripts', 'air_light_externalLinkDomains', THEME_SETTINGS['external_link_domains_exclude'] ); } // end air_light_scripts -/** - * Load polyfills for legacy browsers - */ -function enqueue_polyfills() { - // Include polyfills - $script = ' - var supportsES6 = (function () { - try { - new Function("(a = 0) => a"); - return true; - } catch (err) { - return false; - } - }()); - var legacyScript ="' . esc_url( get_theme_file_uri( get_asset_file( 'legacy.js' ) ) ) . '"; - if (!supportsES6) { - var script = document.createElement("script"); - script.src = legacyScript; - document.head.appendChild(script); - }'; - - if ( file_exists( get_theme_file_path( get_asset_file( 'legacy.js' ) ) ) ) { - wp_register_script( 'air_light_legacy', '', [], filemtime( get_theme_file_path( get_asset_file( 'legacy.js' ) ) ), false ); - wp_enqueue_script( 'air_light_legacy' ); - wp_add_inline_script( 'air_light_legacy', $script, true ); - } -} // end enqueue_polyfills - /** * Returns the built asset filename and path depending on * current environment. diff --git a/js/dev/legacy.js b/js/dev/legacy.js deleted file mode 100644 index a0d03143..00000000 --- a/js/dev/legacy.js +++ /dev/null @@ -1,3199 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./node_modules/airbnb-browser-shims/browser-only.js": -/*!***********************************************************!*\ - !*** ./node_modules/airbnb-browser-shims/browser-only.js ***! - \***********************************************************/ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n/* eslint global-require: 0 */\n\n// Fixes super-constructor calls in IE9/10\n__webpack_require__(/*! ima-babel6-polyfill */ \"./node_modules/ima-babel6-polyfill/index.js\");\n\n// document.contains polyfill\n__webpack_require__(/*! ./document-contains */ \"./node_modules/airbnb-browser-shims/document-contains.js\");\n\n// console.* polyfill for old browsers\n__webpack_require__(/*! console-polyfill */ \"./node_modules/console-polyfill/index.js\");\n\n__webpack_require__(/*! whatwg-fetch */ \"./node_modules/whatwg-fetch/fetch.js\");\n\nif (typeof window !== 'undefined') {\n // Element.classList polyfill\n __webpack_require__(/*! classlist-polyfill */ \"./node_modules/classlist-polyfill/src/index.js\");\n\n // Element.closest polyfill\n __webpack_require__(/*! element-closest */ \"./node_modules/element-closest/element-closest.js\");\n\n // Polyfill for smooth scrolling behavior\n (__webpack_require__(/*! smoothscroll-polyfill */ \"./node_modules/smoothscroll-polyfill/dist/smoothscroll.js\").polyfill)();\n\n // Polyfill window.matchMedia (primarily for IE9)\n __webpack_require__(/*! matchmedia-polyfill */ \"./node_modules/matchmedia-polyfill/matchMedia.js\");\n __webpack_require__(/*! matchmedia-polyfill/matchMedia.addListener */ \"./node_modules/matchmedia-polyfill/matchMedia.addListener.js\");\n\n // Polyfill window.location.origin (for IE < 11)\n __webpack_require__(/*! window-location-origin */ \"./node_modules/window-location-origin/src/window-location-origin.js\");\n\n // for <= IE 9, Opera mini\n __webpack_require__(/*! input-placeholder-polyfill */ \"./node_modules/input-placeholder-polyfill/dist/main.min.js\");\n\n __webpack_require__(/*! intersection-observer */ \"./node_modules/intersection-observer/intersection-observer.js\");\n\n // KeyboardEvent.key shim\n __webpack_require__(/*! shim-keyboard-event-key */ \"./node_modules/shim-keyboard-event-key/index.js\");\n}\n\n// :focus-visible shim\n__webpack_require__(/*! focus-visible */ \"./node_modules/focus-visible/dist/focus-visible.js\");\n\n__webpack_require__(/*! raf/polyfill */ \"./node_modules/raf/polyfill.js\");\n\n__webpack_require__.g.requestIdleCallback = __webpack_require__(/*! ric-shim */ \"./node_modules/ric-shim/index.js\");\n\n__webpack_require__.g.cancelIdleCallback = __webpack_require__.g.requestIdleCallback.cancelIdleCallback;\n\nvar hasSymbols = typeof Symbol === 'function' && Symbol.iterator;\n\n/* globals TouchList */\nif (hasSymbols && typeof TouchList === 'function' && typeof TouchList.prototype[Symbol.iterator] !== 'function') {\n TouchList.prototype[Symbol.iterator] = Array.prototype[Symbol.iterator];\n}\n\n\n//# sourceURL=webpack://air-light/./node_modules/airbnb-browser-shims/browser-only.js?"); - -/***/ }), - -/***/ "./node_modules/airbnb-browser-shims/document-contains.js": -/*!****************************************************************!*\ - !*** ./node_modules/airbnb-browser-shims/document-contains.js ***! - \****************************************************************/ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n__webpack_require__(/*! document.contains/auto */ \"./node_modules/document.contains/auto.js\");\n\n\n//# sourceURL=webpack://air-light/./node_modules/airbnb-browser-shims/document-contains.js?"); - -/***/ }), - -/***/ "./node_modules/airbnb-browser-shims/index.js": -/*!****************************************************!*\ - !*** ./node_modules/airbnb-browser-shims/index.js ***! - \****************************************************/ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n/* eslint global-require: 0 */\n\n__webpack_require__(/*! airbnb-js-shims */ \"./node_modules/airbnb-js-shims/index.js\");\n\n__webpack_require__(/*! ./browser-only */ \"./node_modules/airbnb-browser-shims/browser-only.js\");\n\n\n//# sourceURL=webpack://air-light/./node_modules/airbnb-browser-shims/index.js?"); - -/***/ }), - -/***/ "./node_modules/airbnb-js-shims/index.js": -/*!***********************************************!*\ - !*** ./node_modules/airbnb-js-shims/index.js ***! - \***********************************************/ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n__webpack_require__(/*! ./target/es5 */ \"./node_modules/airbnb-js-shims/target/es5.js\");\n\n\n//# sourceURL=webpack://air-light/./node_modules/airbnb-js-shims/index.js?"); - -/***/ }), - -/***/ "./node_modules/airbnb-js-shims/target/es2015.js": -/*!*******************************************************!*\ - !*** ./node_modules/airbnb-js-shims/target/es2015.js ***! - \*******************************************************/ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n__webpack_require__(/*! es6-shim */ \"./node_modules/es6-shim/es6-shim.js\");\n\n__webpack_require__(/*! function.prototype.name/shim */ \"./node_modules/function.prototype.name/shim.js\")();\n\n__webpack_require__(/*! ./es2016 */ \"./node_modules/airbnb-js-shims/target/es2016.js\");\n\n\n//# sourceURL=webpack://air-light/./node_modules/airbnb-js-shims/target/es2015.js?"); - -/***/ }), - -/***/ "./node_modules/airbnb-js-shims/target/es2016.js": -/*!*******************************************************!*\ - !*** ./node_modules/airbnb-js-shims/target/es2016.js ***! - \*******************************************************/ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n// Array#includes is stage 4, in ES7/ES2016\n__webpack_require__(/*! array-includes/shim */ \"./node_modules/array-includes/shim.js\")();\n\n__webpack_require__(/*! ./es2017 */ \"./node_modules/airbnb-js-shims/target/es2017.js\");\n\n\n//# sourceURL=webpack://air-light/./node_modules/airbnb-js-shims/target/es2016.js?"); - -/***/ }), - -/***/ "./node_modules/airbnb-js-shims/target/es2017.js": -/*!*******************************************************!*\ - !*** ./node_modules/airbnb-js-shims/target/es2017.js ***! - \*******************************************************/ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n// Object.values/Object.entries are stage 4, in ES2017\n__webpack_require__(/*! object.values/shim */ \"./node_modules/object.values/shim.js\")();\n__webpack_require__(/*! object.entries/shim */ \"./node_modules/object.entries/shim.js\")();\n\n// String#padStart/String#padEnd are stage 4, in ES2017\n__webpack_require__(/*! string.prototype.padstart/shim */ \"./node_modules/string.prototype.padstart/shim.js\")();\n__webpack_require__(/*! string.prototype.padend/shim */ \"./node_modules/string.prototype.padend/shim.js\")();\n\n// Object.getOwnPropertyDescriptors is stage 4, in ES2017\n__webpack_require__(/*! object.getownpropertydescriptors/shim */ \"./node_modules/object.getownpropertydescriptors/shim.js\")();\n\n__webpack_require__(/*! ./es2018 */ \"./node_modules/airbnb-js-shims/target/es2018.js\");\n\n\n//# sourceURL=webpack://air-light/./node_modules/airbnb-js-shims/target/es2017.js?"); - -/***/ }), - -/***/ "./node_modules/airbnb-js-shims/target/es2018.js": -/*!*******************************************************!*\ - !*** ./node_modules/airbnb-js-shims/target/es2018.js ***! - \*******************************************************/ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nif (typeof Promise === 'function') {\n __webpack_require__(/*! promise.prototype.finally/auto */ \"./node_modules/promise.prototype.finally/auto.js\"); // eslint-disable-line global-require\n}\n\n__webpack_require__(/*! ./es2019 */ \"./node_modules/airbnb-js-shims/target/es2019.js\");\n\n\n//# sourceURL=webpack://air-light/./node_modules/airbnb-js-shims/target/es2018.js?"); - -/***/ }), - -/***/ "./node_modules/airbnb-js-shims/target/es2019.js": -/*!*******************************************************!*\ - !*** ./node_modules/airbnb-js-shims/target/es2019.js ***! - \*******************************************************/ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n__webpack_require__(/*! array.prototype.flat/auto */ \"./node_modules/array.prototype.flat/auto.js\");\n__webpack_require__(/*! array.prototype.flatmap/auto */ \"./node_modules/array.prototype.flatmap/auto.js\");\n\n__webpack_require__(/*! symbol.prototype.description/auto */ \"./node_modules/symbol.prototype.description/auto.js\");\n\n__webpack_require__(/*! object.fromentries/auto */ \"./node_modules/object.fromentries/auto.js\");\n\n__webpack_require__(/*! ./es2020 */ \"./node_modules/airbnb-js-shims/target/es2020.js\");\n\n\n//# sourceURL=webpack://air-light/./node_modules/airbnb-js-shims/target/es2019.js?"); - -/***/ }), - -/***/ "./node_modules/airbnb-js-shims/target/es2020.js": -/*!*******************************************************!*\ - !*** ./node_modules/airbnb-js-shims/target/es2020.js ***! - \*******************************************************/ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n__webpack_require__(/*! string.prototype.matchall/auto */ \"./node_modules/string.prototype.matchall/auto.js\");\n\n__webpack_require__(/*! globalthis/auto */ \"./node_modules/globalthis/auto.js\");\n\n__webpack_require__(/*! promise.allsettled/auto */ \"./node_modules/promise.allsettled/auto.js\");\n\n\n//# sourceURL=webpack://air-light/./node_modules/airbnb-js-shims/target/es2020.js?"); - -/***/ }), - -/***/ "./node_modules/airbnb-js-shims/target/es5.js": -/*!****************************************************!*\ - !*** ./node_modules/airbnb-js-shims/target/es5.js ***! - \****************************************************/ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n__webpack_require__(/*! es5-shim */ \"./node_modules/es5-shim/es5-shim.js\");\n__webpack_require__(/*! es5-shim/es5-sham */ \"./node_modules/es5-shim/es5-sham.js\");\n\n__webpack_require__(/*! ./es2015 */ \"./node_modules/airbnb-js-shims/target/es2015.js\");\n\n\n//# sourceURL=webpack://air-light/./node_modules/airbnb-js-shims/target/es5.js?"); - -/***/ }), - -/***/ "./node_modules/array-includes/implementation.js": -/*!*******************************************************!*\ - !*** ./node_modules/array-includes/implementation.js ***! - \*******************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar ToIntegerOrInfinity = __webpack_require__(/*! es-abstract/2024/ToIntegerOrInfinity */ \"./node_modules/es-abstract/2024/ToIntegerOrInfinity.js\");\nvar ToLength = __webpack_require__(/*! es-abstract/2024/ToLength */ \"./node_modules/es-abstract/2024/ToLength.js\");\nvar ToObject = __webpack_require__(/*! es-object-atoms/ToObject */ \"./node_modules/es-object-atoms/ToObject.js\");\nvar SameValueZero = __webpack_require__(/*! es-abstract/2024/SameValueZero */ \"./node_modules/es-abstract/2024/SameValueZero.js\");\nvar $isNaN = __webpack_require__(/*! es-abstract/helpers/isNaN */ \"./node_modules/es-abstract/helpers/isNaN.js\");\nvar $isFinite = __webpack_require__(/*! es-abstract/helpers/isFinite */ \"./node_modules/es-abstract/helpers/isFinite.js\");\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/get-intrinsic/index.js\");\nvar callBound = __webpack_require__(/*! call-bind/callBound */ \"./node_modules/call-bind/callBound.js\");\nvar isString = __webpack_require__(/*! is-string */ \"./node_modules/is-string/index.js\");\n\nvar $charAt = callBound('String.prototype.charAt');\nvar $indexOf = GetIntrinsic('%Array.prototype.indexOf%'); // TODO: use callBind.apply without breaking IE 8\nvar $max = GetIntrinsic('%Math.max%');\n\nmodule.exports = function includes(searchElement) {\n\tvar fromIndex = arguments.length > 1 ? ToIntegerOrInfinity(arguments[1]) : 0;\n\tif ($indexOf && !$isNaN(searchElement) && $isFinite(fromIndex) && typeof searchElement !== 'undefined') {\n\t\treturn $indexOf.apply(this, arguments) > -1;\n\t}\n\n\tvar O = ToObject(this);\n\tvar length = ToLength(O.length);\n\tif (length === 0) {\n\t\treturn false;\n\t}\n\tvar k = fromIndex >= 0 ? fromIndex : $max(0, length + fromIndex);\n\twhile (k < length) {\n\t\tif (SameValueZero(searchElement, isString(O) ? $charAt(O, k) : O[k])) {\n\t\t\treturn true;\n\t\t}\n\t\tk += 1;\n\t}\n\treturn false;\n};\n\n\n//# sourceURL=webpack://air-light/./node_modules/array-includes/implementation.js?"); - -/***/ }), - -/***/ "./node_modules/array-includes/polyfill.js": -/*!*************************************************!*\ - !*** ./node_modules/array-includes/polyfill.js ***! - \*************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"./node_modules/array-includes/implementation.js\");\n\nmodule.exports = function getPolyfill() {\n\tif (\n\t\tArray.prototype.includes\n\t\t&& Array(1).includes(undefined) // https://bugzilla.mozilla.org/show_bug.cgi?id=1767541\n\t) {\n\t\treturn Array.prototype.includes;\n\t}\n\treturn implementation;\n};\n\n\n//# sourceURL=webpack://air-light/./node_modules/array-includes/polyfill.js?"); - -/***/ }), - -/***/ "./node_modules/array-includes/shim.js": -/*!*********************************************!*\ - !*** ./node_modules/array-includes/shim.js ***! - \*********************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar define = __webpack_require__(/*! define-properties */ \"./node_modules/define-properties/index.js\");\nvar getPolyfill = __webpack_require__(/*! ./polyfill */ \"./node_modules/array-includes/polyfill.js\");\n\nmodule.exports = function shimArrayPrototypeIncludes() {\n\tvar polyfill = getPolyfill();\n\tdefine(\n\t\tArray.prototype,\n\t\t{ includes: polyfill },\n\t\t{ includes: function () { return Array.prototype.includes !== polyfill; } }\n\t);\n\treturn polyfill;\n};\n\n\n//# sourceURL=webpack://air-light/./node_modules/array-includes/shim.js?"); - -/***/ }), - -/***/ "./node_modules/array.prototype.flat/auto.js": -/*!***************************************************!*\ - !*** ./node_modules/array.prototype.flat/auto.js ***! - \***************************************************/ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n__webpack_require__(/*! ./shim */ \"./node_modules/array.prototype.flat/shim.js\")();\n\n\n//# sourceURL=webpack://air-light/./node_modules/array.prototype.flat/auto.js?"); - -/***/ }), - -/***/ "./node_modules/array.prototype.flat/implementation.js": -/*!*************************************************************!*\ - !*** ./node_modules/array.prototype.flat/implementation.js ***! - \*************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar ArraySpeciesCreate = __webpack_require__(/*! es-abstract/2023/ArraySpeciesCreate */ \"./node_modules/es-abstract/2023/ArraySpeciesCreate.js\");\nvar FlattenIntoArray = __webpack_require__(/*! es-abstract/2023/FlattenIntoArray */ \"./node_modules/es-abstract/2023/FlattenIntoArray.js\");\nvar Get = __webpack_require__(/*! es-abstract/2023/Get */ \"./node_modules/es-abstract/2023/Get.js\");\nvar ToIntegerOrInfinity = __webpack_require__(/*! es-abstract/2023/ToIntegerOrInfinity */ \"./node_modules/es-abstract/2023/ToIntegerOrInfinity.js\");\nvar ToLength = __webpack_require__(/*! es-abstract/2023/ToLength */ \"./node_modules/es-abstract/2023/ToLength.js\");\nvar ToObject = __webpack_require__(/*! es-abstract/2023/ToObject */ \"./node_modules/es-abstract/2023/ToObject.js\");\n\nmodule.exports = function flat() {\n\tvar O = ToObject(this);\n\tvar sourceLen = ToLength(Get(O, 'length'));\n\n\tvar depthNum = 1;\n\tif (arguments.length > 0 && typeof arguments[0] !== 'undefined') {\n\t\tdepthNum = ToIntegerOrInfinity(arguments[0]);\n\t}\n\n\tvar A = ArraySpeciesCreate(O, 0);\n\tFlattenIntoArray(A, O, sourceLen, 0, depthNum);\n\treturn A;\n};\n\n\n//# sourceURL=webpack://air-light/./node_modules/array.prototype.flat/implementation.js?"); - -/***/ }), - -/***/ "./node_modules/array.prototype.flat/polyfill.js": -/*!*******************************************************!*\ - !*** ./node_modules/array.prototype.flat/polyfill.js ***! - \*******************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"./node_modules/array.prototype.flat/implementation.js\");\n\nmodule.exports = function getPolyfill() {\n\treturn Array.prototype.flat || implementation;\n};\n\n\n//# sourceURL=webpack://air-light/./node_modules/array.prototype.flat/polyfill.js?"); - -/***/ }), - -/***/ "./node_modules/array.prototype.flat/shim.js": -/*!***************************************************!*\ - !*** ./node_modules/array.prototype.flat/shim.js ***! - \***************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar define = __webpack_require__(/*! define-properties */ \"./node_modules/define-properties/index.js\");\nvar shimUnscopables = __webpack_require__(/*! es-shim-unscopables */ \"./node_modules/es-shim-unscopables/index.js\");\n\nvar getPolyfill = __webpack_require__(/*! ./polyfill */ \"./node_modules/array.prototype.flat/polyfill.js\");\n\nmodule.exports = function shimFlat() {\n\tvar polyfill = getPolyfill();\n\n\tdefine(\n\t\tArray.prototype,\n\t\t{ flat: polyfill },\n\t\t{ flat: function () { return Array.prototype.flat !== polyfill; } }\n\t);\n\n\tshimUnscopables('flat');\n\n\treturn polyfill;\n};\n\n\n//# sourceURL=webpack://air-light/./node_modules/array.prototype.flat/shim.js?"); - -/***/ }), - -/***/ "./node_modules/array.prototype.flatmap/auto.js": -/*!******************************************************!*\ - !*** ./node_modules/array.prototype.flatmap/auto.js ***! - \******************************************************/ -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\n__webpack_require__(/*! ./shim */ \"./node_modules/array.prototype.flatmap/shim.js\")();\n\n\n//# sourceURL=webpack://air-light/./node_modules/array.prototype.flatmap/auto.js?"); - -/***/ }), - -/***/ "./node_modules/array.prototype.flatmap/implementation.js": -/*!****************************************************************!*\ - !*** ./node_modules/array.prototype.flatmap/implementation.js ***! - \****************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar ArraySpeciesCreate = __webpack_require__(/*! es-abstract/2023/ArraySpeciesCreate */ \"./node_modules/es-abstract/2023/ArraySpeciesCreate.js\");\nvar FlattenIntoArray = __webpack_require__(/*! es-abstract/2023/FlattenIntoArray */ \"./node_modules/es-abstract/2023/FlattenIntoArray.js\");\nvar Get = __webpack_require__(/*! es-abstract/2023/Get */ \"./node_modules/es-abstract/2023/Get.js\");\nvar IsCallable = __webpack_require__(/*! es-abstract/2023/IsCallable */ \"./node_modules/es-abstract/2023/IsCallable.js\");\nvar ToLength = __webpack_require__(/*! es-abstract/2023/ToLength */ \"./node_modules/es-abstract/2023/ToLength.js\");\nvar ToObject = __webpack_require__(/*! es-abstract/2023/ToObject */ \"./node_modules/es-abstract/2023/ToObject.js\");\n\nmodule.exports = function flatMap(mapperFunction) {\n\tvar O = ToObject(this);\n\tvar sourceLen = ToLength(Get(O, 'length'));\n\n\tif (!IsCallable(mapperFunction)) {\n\t\tthrow new TypeError('mapperFunction must be a function');\n\t}\n\n\tvar T;\n\tif (arguments.length > 1) {\n\t\tT = arguments[1];\n\t}\n\n\tvar A = ArraySpeciesCreate(O, 0);\n\tFlattenIntoArray(A, O, sourceLen, 0, 1, mapperFunction, T);\n\treturn A;\n};\n\n\n//# sourceURL=webpack://air-light/./node_modules/array.prototype.flatmap/implementation.js?"); - -/***/ }), - -/***/ "./node_modules/array.prototype.flatmap/polyfill.js": -/*!**********************************************************!*\ - !*** ./node_modules/array.prototype.flatmap/polyfill.js ***! - \**********************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"./node_modules/array.prototype.flatmap/implementation.js\");\n\nmodule.exports = function getPolyfill() {\n\treturn Array.prototype.flatMap || implementation;\n};\n\n\n//# sourceURL=webpack://air-light/./node_modules/array.prototype.flatmap/polyfill.js?"); - -/***/ }), - -/***/ "./node_modules/array.prototype.flatmap/shim.js": -/*!******************************************************!*\ - !*** ./node_modules/array.prototype.flatmap/shim.js ***! - \******************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar define = __webpack_require__(/*! define-properties */ \"./node_modules/define-properties/index.js\");\nvar shimUnscopables = __webpack_require__(/*! es-shim-unscopables */ \"./node_modules/es-shim-unscopables/index.js\");\n\nvar getPolyfill = __webpack_require__(/*! ./polyfill */ \"./node_modules/array.prototype.flatmap/polyfill.js\");\n\nmodule.exports = function shimFlatMap() {\n\tvar polyfill = getPolyfill();\n\n\tdefine(\n\t\tArray.prototype,\n\t\t{ flatMap: polyfill },\n\t\t{ flatMap: function () { return Array.prototype.flatMap !== polyfill; } }\n\t);\n\n\tshimUnscopables('flatMap');\n\n\treturn polyfill;\n};\n\n\n//# sourceURL=webpack://air-light/./node_modules/array.prototype.flatmap/shim.js?"); - -/***/ }), - -/***/ "./node_modules/array.prototype.map/implementation.js": -/*!************************************************************!*\ - !*** ./node_modules/array.prototype.map/implementation.js ***! - \************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar ArraySpeciesCreate = __webpack_require__(/*! es-abstract/2024/ArraySpeciesCreate */ \"./node_modules/es-abstract/2024/ArraySpeciesCreate.js\");\nvar Call = __webpack_require__(/*! es-abstract/2024/Call */ \"./node_modules/es-abstract/2024/Call.js\");\nvar CreateDataPropertyOrThrow = __webpack_require__(/*! es-abstract/2024/CreateDataPropertyOrThrow */ \"./node_modules/es-abstract/2024/CreateDataPropertyOrThrow.js\");\nvar Get = __webpack_require__(/*! es-abstract/2024/Get */ \"./node_modules/es-abstract/2024/Get.js\");\nvar HasProperty = __webpack_require__(/*! es-abstract/2024/HasProperty */ \"./node_modules/es-abstract/2024/HasProperty.js\");\nvar IsCallable = __webpack_require__(/*! es-abstract/2024/IsCallable */ \"./node_modules/es-abstract/2024/IsCallable.js\");\nvar ToUint32 = __webpack_require__(/*! es-abstract/2024/ToUint32 */ \"./node_modules/es-abstract/2024/ToUint32.js\");\nvar ToObject = __webpack_require__(/*! es-object-atoms/ToObject */ \"./node_modules/es-object-atoms/ToObject.js\");\nvar ToString = __webpack_require__(/*! es-abstract/2024/ToString */ \"./node_modules/es-abstract/2024/ToString.js\");\n\nvar callBound = __webpack_require__(/*! call-bind/callBound */ \"./node_modules/call-bind/callBound.js\");\n\nvar isString = __webpack_require__(/*! is-string */ \"./node_modules/is-string/index.js\");\n\n// Check failure of by-index access of string characters (IE < 9) and failure of `0 in boxedString` (Rhino)\nvar boxedString = Object('a');\nvar splitString = boxedString[0] !== 'a' || !(0 in boxedString);\n\nvar strSplit = callBound('String.prototype.split');\n\nmodule.exports = function map(callbackfn) {\n\tvar O = ToObject(this);\n\tvar self = splitString && isString(O) ? strSplit(O, '') : O;\n\tvar len = ToUint32(self.length);\n\n\t// If no callback function or if callback is not a callable function\n\tif (!IsCallable(callbackfn)) {\n\t\tthrow new TypeError('Array.prototype.map callback must be a function');\n\t}\n\n\tvar T;\n\tif (arguments.length > 1) {\n\t\tT = arguments[1];\n\t}\n\n\tvar A = ArraySpeciesCreate(O, len);\n\tvar k = 0;\n\twhile (k < len) {\n\t\tvar Pk = ToString(k);\n\t\tvar kPresent = HasProperty(O, Pk);\n\t\tif (kPresent) {\n\t\t\tvar kValue = Get(O, Pk);\n\t\t\tvar mappedValue = Call(callbackfn, T, [kValue, k, O]);\n\t\t\tCreateDataPropertyOrThrow(A, Pk, mappedValue);\n\t\t}\n\t\tk += 1;\n\t}\n\n\treturn A;\n};\n\n\n//# sourceURL=webpack://air-light/./node_modules/array.prototype.map/implementation.js?"); - -/***/ }), - -/***/ "./node_modules/array.prototype.map/index.js": -/*!***************************************************!*\ - !*** ./node_modules/array.prototype.map/index.js ***! - \***************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar define = __webpack_require__(/*! define-properties */ \"./node_modules/define-properties/index.js\");\nvar RequireObjectCoercible = __webpack_require__(/*! es-object-atoms/RequireObjectCoercible */ \"./node_modules/es-object-atoms/RequireObjectCoercible.js\");\nvar callBound = __webpack_require__(/*! call-bind/callBound */ \"./node_modules/call-bind/callBound.js\");\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"./node_modules/array.prototype.map/implementation.js\");\nvar getPolyfill = __webpack_require__(/*! ./polyfill */ \"./node_modules/array.prototype.map/polyfill.js\");\nvar polyfill = getPolyfill();\nvar shim = __webpack_require__(/*! ./shim */ \"./node_modules/array.prototype.map/shim.js\");\n\nvar $slice = callBound('Array.prototype.slice');\n\n// eslint-disable-next-line no-unused-vars\nvar boundMapShim = function map(array, callbackfn) {\n\tRequireObjectCoercible(array);\n\treturn polyfill.apply(array, $slice(arguments, 1));\n};\ndefine(boundMapShim, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = boundMapShim;\n\n\n//# sourceURL=webpack://air-light/./node_modules/array.prototype.map/index.js?"); - -/***/ }), - -/***/ "./node_modules/array.prototype.map/polyfill.js": -/*!******************************************************!*\ - !*** ./node_modules/array.prototype.map/polyfill.js ***! - \******************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar arrayMethodBoxesProperly = __webpack_require__(/*! es-array-method-boxes-properly */ \"./node_modules/es-array-method-boxes-properly/index.js\");\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"./node_modules/array.prototype.map/implementation.js\");\n\nmodule.exports = function getPolyfill() {\n\tvar method = Array.prototype.map;\n\treturn arrayMethodBoxesProperly(method) ? method : implementation;\n};\n\n\n//# sourceURL=webpack://air-light/./node_modules/array.prototype.map/polyfill.js?"); - -/***/ }), - -/***/ "./node_modules/array.prototype.map/shim.js": -/*!**************************************************!*\ - !*** ./node_modules/array.prototype.map/shim.js ***! - \**************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar define = __webpack_require__(/*! define-properties */ \"./node_modules/define-properties/index.js\");\nvar getPolyfill = __webpack_require__(/*! ./polyfill */ \"./node_modules/array.prototype.map/polyfill.js\");\n\nmodule.exports = function shimArrayPrototypeMap() {\n\tvar polyfill = getPolyfill();\n\tdefine(\n\t\tArray.prototype,\n\t\t{ map: polyfill },\n\t\t{ map: function () { return Array.prototype.map !== polyfill; } }\n\t);\n\treturn polyfill;\n};\n\n\n//# sourceURL=webpack://air-light/./node_modules/array.prototype.map/shim.js?"); - -/***/ }), - -/***/ "./node_modules/array.prototype.reduce/implementation.js": -/*!***************************************************************!*\ - !*** ./node_modules/array.prototype.reduce/implementation.js ***! - \***************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Call = __webpack_require__(/*! es-abstract/2024/Call */ \"./node_modules/es-abstract/2024/Call.js\");\nvar Get = __webpack_require__(/*! es-abstract/2024/Get */ \"./node_modules/es-abstract/2024/Get.js\");\nvar HasProperty = __webpack_require__(/*! es-abstract/2024/HasProperty */ \"./node_modules/es-abstract/2024/HasProperty.js\");\nvar IsCallable = __webpack_require__(/*! es-abstract/2024/IsCallable */ \"./node_modules/es-abstract/2024/IsCallable.js\");\nvar LengthOfArrayLike = __webpack_require__(/*! es-abstract/2024/LengthOfArrayLike */ \"./node_modules/es-abstract/2024/LengthOfArrayLike.js\");\nvar ToObject = __webpack_require__(/*! es-object-atoms/ToObject */ \"./node_modules/es-object-atoms/ToObject.js\");\nvar ToString = __webpack_require__(/*! es-abstract/2024/ToString */ \"./node_modules/es-abstract/2024/ToString.js\");\n\nvar callBound = __webpack_require__(/*! call-bind/callBound */ \"./node_modules/call-bind/callBound.js\");\nvar isString = __webpack_require__(/*! is-string */ \"./node_modules/is-string/index.js\");\nvar $Object = __webpack_require__(/*! es-object-atoms */ \"./node_modules/es-object-atoms/index.js\");\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\n\n// Check failure of by-index access of string characters (IE < 9) and failure of `0 in boxedString` (Rhino)\nvar boxedString = $Object('a');\nvar splitString = boxedString[0] !== 'a' || !(0 in boxedString);\n\nvar strSplit = callBound('%String.prototype.split%');\n\nmodule.exports = function reduce(callbackfn) {\n\tvar O = ToObject(this);\n\tvar self = splitString && isString(O) ? strSplit(O, '') : O;\n\tvar len = LengthOfArrayLike(self);\n\n\t// If no callback function or if callback is not a callable function\n\tif (!IsCallable(callbackfn)) {\n\t\tthrow new $TypeError('Array.prototype.reduce callback must be a function');\n\t}\n\n\tif (len === 0 && arguments.length < 2) {\n\t\tthrow new $TypeError('reduce of empty array with no initial value');\n\t}\n\n\tvar k = 0;\n\n\tvar accumulator;\n\tvar Pk, kPresent;\n\tif (arguments.length > 1) {\n\t\taccumulator = arguments[1];\n\t} else {\n\t\tkPresent = false;\n\t\twhile (!kPresent && k < len) {\n\t\t\tPk = ToString(k);\n\t\t\tkPresent = HasProperty(O, Pk);\n\t\t\tif (kPresent) {\n\t\t\t\taccumulator = Get(O, Pk);\n\t\t\t}\n\t\t\tk += 1;\n\t\t}\n\t\tif (!kPresent) {\n\t\t\tthrow new $TypeError('reduce of empty array with no initial value');\n\t\t}\n\t}\n\n\twhile (k < len) {\n\t\tPk = ToString(k);\n\t\tkPresent = HasProperty(O, Pk);\n\t\tif (kPresent) {\n\t\t\tvar kValue = Get(O, Pk);\n\t\t\taccumulator = Call(callbackfn, void undefined, [accumulator, kValue, k, O]);\n\t\t}\n\t\tk += 1;\n\t}\n\n\treturn accumulator;\n};\n\n\n//# sourceURL=webpack://air-light/./node_modules/array.prototype.reduce/implementation.js?"); - -/***/ }), - -/***/ "./node_modules/array.prototype.reduce/index.js": -/*!******************************************************!*\ - !*** ./node_modules/array.prototype.reduce/index.js ***! - \******************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar define = __webpack_require__(/*! define-properties */ \"./node_modules/define-properties/index.js\");\nvar RequireObjectCoercible = __webpack_require__(/*! es-abstract/2024/RequireObjectCoercible */ \"./node_modules/es-abstract/2024/RequireObjectCoercible.js\");\nvar callBind = __webpack_require__(/*! call-bind */ \"./node_modules/call-bind/index.js\");\nvar callBound = __webpack_require__(/*! call-bind/callBound */ \"./node_modules/call-bind/callBound.js\");\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"./node_modules/array.prototype.reduce/implementation.js\");\n\nvar getPolyfill = __webpack_require__(/*! ./polyfill */ \"./node_modules/array.prototype.reduce/polyfill.js\");\nvar polyfill = callBind.apply(getPolyfill());\n\nvar shim = __webpack_require__(/*! ./shim */ \"./node_modules/array.prototype.reduce/shim.js\");\n\nvar $slice = callBound('%Array.prototype.slice%');\n\n// eslint-disable-next-line no-unused-vars\nvar boundShim = function reduce(array, callbackfn) {\n\tRequireObjectCoercible(array);\n\treturn polyfill(array, $slice(arguments, 1));\n};\ndefine(boundShim, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = boundShim;\n\n\n//# sourceURL=webpack://air-light/./node_modules/array.prototype.reduce/index.js?"); - -/***/ }), - -/***/ "./node_modules/array.prototype.reduce/polyfill.js": -/*!*********************************************************!*\ - !*** ./node_modules/array.prototype.reduce/polyfill.js ***! - \*********************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar arrayMethodBoxesProperly = __webpack_require__(/*! es-array-method-boxes-properly */ \"./node_modules/es-array-method-boxes-properly/index.js\");\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"./node_modules/array.prototype.reduce/implementation.js\");\n\nmodule.exports = function getPolyfill() {\n\tvar method = Array.prototype.reduce;\n\treturn arrayMethodBoxesProperly(method) ? method : implementation;\n};\n\n\n//# sourceURL=webpack://air-light/./node_modules/array.prototype.reduce/polyfill.js?"); - -/***/ }), - -/***/ "./node_modules/array.prototype.reduce/shim.js": -/*!*****************************************************!*\ - !*** ./node_modules/array.prototype.reduce/shim.js ***! - \*****************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar define = __webpack_require__(/*! define-properties */ \"./node_modules/define-properties/index.js\");\nvar getPolyfill = __webpack_require__(/*! ./polyfill */ \"./node_modules/array.prototype.reduce/polyfill.js\");\n\nmodule.exports = function shimArrayPrototypeReduce() {\n\tvar polyfill = getPolyfill();\n\tdefine(\n\t\tArray.prototype,\n\t\t{ reduce: polyfill },\n\t\t{ reduce: function () { return Array.prototype.reduce !== polyfill; } }\n\t);\n\treturn polyfill;\n};\n\n\n//# sourceURL=webpack://air-light/./node_modules/array.prototype.reduce/shim.js?"); - -/***/ }), - -/***/ "./js/src/legacy.js": -/*!**************************!*\ - !*** ./js/src/legacy.js ***! - \**************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var airbnb_browser_shims__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! airbnb-browser-shims */ \"./node_modules/airbnb-browser-shims/index.js\");\n/* harmony import */ var airbnb_browser_shims__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(airbnb_browser_shims__WEBPACK_IMPORTED_MODULE_0__);\n/**\n * Polyfills etc. for legacy browsers (pre ES2015/ES6)\n */\n\n// Import polyfills and shims\n\n\n//# sourceURL=webpack://air-light/./js/src/legacy.js?"); - -/***/ }), - -/***/ "./node_modules/call-bind/callBound.js": -/*!*********************************************!*\ - !*** ./node_modules/call-bind/callBound.js ***! - \*********************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/get-intrinsic/index.js\");\n\nvar callBind = __webpack_require__(/*! ./ */ \"./node_modules/call-bind/index.js\");\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\tvar intrinsic = GetIntrinsic(name, !!allowMissing);\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n\n\n//# sourceURL=webpack://air-light/./node_modules/call-bind/callBound.js?"); - -/***/ }), - -/***/ "./node_modules/call-bind/index.js": -/*!*****************************************!*\ - !*** ./node_modules/call-bind/index.js ***! - \*****************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar bind = __webpack_require__(/*! function-bind */ \"./node_modules/function-bind/index.js\");\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"./node_modules/get-intrinsic/index.js\");\nvar setFunctionLength = __webpack_require__(/*! set-function-length */ \"./node_modules/set-function-length/index.js\");\n\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\nvar $apply = GetIntrinsic('%Function.prototype.apply%');\nvar $call = GetIntrinsic('%Function.prototype.call%');\nvar $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"./node_modules/es-define-property/index.js\");\nvar $max = GetIntrinsic('%Math.max%');\n\nmodule.exports = function callBind(originalFunction) {\n\tif (typeof originalFunction !== 'function') {\n\t\tthrow new $TypeError('a function is required');\n\t}\n\tvar func = $reflectApply(bind, $call, arguments);\n\treturn setFunctionLength(\n\t\tfunc,\n\t\t1 + $max(0, originalFunction.length - (arguments.length - 1)),\n\t\ttrue\n\t);\n};\n\nvar applyBind = function applyBind() {\n\treturn $reflectApply(bind, $apply, arguments);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n\n\n//# sourceURL=webpack://air-light/./node_modules/call-bind/index.js?"); - -/***/ }), - -/***/ "./node_modules/classlist-polyfill/src/index.js": -/*!******************************************************!*\ - !*** ./node_modules/classlist-polyfill/src/index.js ***! - \******************************************************/ -/***/ (() => { - -eval("/*\n * classList.js: Cross-browser full element.classList implementation.\n * 1.1.20170427\n *\n * By Eli Grey, http://eligrey.com\n * License: Dedicated to the public domain.\n * See https://github.com/eligrey/classList.js/blob/master/LICENSE.md\n */\n\n/*global self, document, DOMException */\n\n/*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */\n\nif (\"document\" in window.self) {\n\n// Full polyfill for browsers with no classList support\n// Including IE < Edge missing SVGElement.classList\nif (!(\"classList\" in document.createElement(\"_\")) \n\t|| document.createElementNS && !(\"classList\" in document.createElementNS(\"http://www.w3.org/2000/svg\",\"g\"))) {\n\n(function (view) {\n\n\"use strict\";\n\nif (!('Element' in view)) return;\n\nvar\n\t classListProp = \"classList\"\n\t, protoProp = \"prototype\"\n\t, elemCtrProto = view.Element[protoProp]\n\t, objCtr = Object\n\t, strTrim = String[protoProp].trim || function () {\n\t\treturn this.replace(/^\\s+|\\s+$/g, \"\");\n\t}\n\t, arrIndexOf = Array[protoProp].indexOf || function (item) {\n\t\tvar\n\t\t\t i = 0\n\t\t\t, len = this.length\n\t\t;\n\t\tfor (; i < len; i++) {\n\t\t\tif (i in this && this[i] === item) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\t// Vendors: please allow content code to instantiate DOMExceptions\n\t, DOMEx = function (type, message) {\n\t\tthis.name = type;\n\t\tthis.code = DOMException[type];\n\t\tthis.message = message;\n\t}\n\t, checkTokenAndGetIndex = function (classList, token) {\n\t\tif (token === \"\") {\n\t\t\tthrow new DOMEx(\n\t\t\t\t \"SYNTAX_ERR\"\n\t\t\t\t, \"An invalid or illegal string was specified\"\n\t\t\t);\n\t\t}\n\t\tif (/\\s/.test(token)) {\n\t\t\tthrow new DOMEx(\n\t\t\t\t \"INVALID_CHARACTER_ERR\"\n\t\t\t\t, \"String contains an invalid character\"\n\t\t\t);\n\t\t}\n\t\treturn arrIndexOf.call(classList, token);\n\t}\n\t, ClassList = function (elem) {\n\t\tvar\n\t\t\t trimmedClasses = strTrim.call(elem.getAttribute(\"class\") || \"\")\n\t\t\t, classes = trimmedClasses ? trimmedClasses.split(/\\s+/) : []\n\t\t\t, i = 0\n\t\t\t, len = classes.length\n\t\t;\n\t\tfor (; i < len; i++) {\n\t\t\tthis.push(classes[i]);\n\t\t}\n\t\tthis._updateClassName = function () {\n\t\t\telem.setAttribute(\"class\", this.toString());\n\t\t};\n\t}\n\t, classListProto = ClassList[protoProp] = []\n\t, classListGetter = function () {\n\t\treturn new ClassList(this);\n\t}\n;\n// Most DOMException implementations don't allow calling DOMException's toString()\n// on non-DOMExceptions. Error's toString() is sufficient here.\nDOMEx[protoProp] = Error[protoProp];\nclassListProto.item = function (i) {\n\treturn this[i] || null;\n};\nclassListProto.contains = function (token) {\n\ttoken += \"\";\n\treturn checkTokenAndGetIndex(this, token) !== -1;\n};\nclassListProto.add = function () {\n\tvar\n\t\t tokens = arguments\n\t\t, i = 0\n\t\t, l = tokens.length\n\t\t, token\n\t\t, updated = false\n\t;\n\tdo {\n\t\ttoken = tokens[i] + \"\";\n\t\tif (checkTokenAndGetIndex(this, token) === -1) {\n\t\t\tthis.push(token);\n\t\t\tupdated = true;\n\t\t}\n\t}\n\twhile (++i < l);\n\n\tif (updated) {\n\t\tthis._updateClassName();\n\t}\n};\nclassListProto.remove = function () {\n\tvar\n\t\t tokens = arguments\n\t\t, i = 0\n\t\t, l = tokens.length\n\t\t, token\n\t\t, updated = false\n\t\t, index\n\t;\n\tdo {\n\t\ttoken = tokens[i] + \"\";\n\t\tindex = checkTokenAndGetIndex(this, token);\n\t\twhile (index !== -1) {\n\t\t\tthis.splice(index, 1);\n\t\t\tupdated = true;\n\t\t\tindex = checkTokenAndGetIndex(this, token);\n\t\t}\n\t}\n\twhile (++i < l);\n\n\tif (updated) {\n\t\tthis._updateClassName();\n\t}\n};\nclassListProto.toggle = function (token, force) {\n\ttoken += \"\";\n\n\tvar\n\t\t result = this.contains(token)\n\t\t, method = result ?\n\t\t\tforce !== true && \"remove\"\n\t\t:\n\t\t\tforce !== false && \"add\"\n\t;\n\n\tif (method) {\n\t\tthis[method](token);\n\t}\n\n\tif (force === true || force === false) {\n\t\treturn force;\n\t} else {\n\t\treturn !result;\n\t}\n};\nclassListProto.toString = function () {\n\treturn this.join(\" \");\n};\n\nif (objCtr.defineProperty) {\n\tvar classListPropDesc = {\n\t\t get: classListGetter\n\t\t, enumerable: true\n\t\t, configurable: true\n\t};\n\ttry {\n\t\tobjCtr.defineProperty(elemCtrProto, classListProp, classListPropDesc);\n\t} catch (ex) { // IE 8 doesn't support enumerable:true\n\t\t// adding undefined to fight this issue https://github.com/eligrey/classList.js/issues/36\n\t\t// modernie IE8-MSW7 machine has IE8 8.0.6001.18702 and is affected\n\t\tif (ex.number === undefined || ex.number === -0x7FF5EC54) {\n\t\t\tclassListPropDesc.enumerable = false;\n\t\t\tobjCtr.defineProperty(elemCtrProto, classListProp, classListPropDesc);\n\t\t}\n\t}\n} else if (objCtr[protoProp].__defineGetter__) {\n\telemCtrProto.__defineGetter__(classListProp, classListGetter);\n}\n\n}(window.self));\n\n}\n\n// There is full or partial native classList support, so just check if we need\n// to normalize the add/remove and toggle APIs.\n\n(function () {\n\t\"use strict\";\n\n\tvar testElement = document.createElement(\"_\");\n\n\ttestElement.classList.add(\"c1\", \"c2\");\n\n\t// Polyfill for IE 10/11 and Firefox <26, where classList.add and\n\t// classList.remove exist but support only one argument at a time.\n\tif (!testElement.classList.contains(\"c2\")) {\n\t\tvar createMethod = function(method) {\n\t\t\tvar original = DOMTokenList.prototype[method];\n\n\t\t\tDOMTokenList.prototype[method] = function(token) {\n\t\t\t\tvar i, len = arguments.length;\n\n\t\t\t\tfor (i = 0; i < len; i++) {\n\t\t\t\t\ttoken = arguments[i];\n\t\t\t\t\toriginal.call(this, token);\n\t\t\t\t}\n\t\t\t};\n\t\t};\n\t\tcreateMethod('add');\n\t\tcreateMethod('remove');\n\t}\n\n\ttestElement.classList.toggle(\"c3\", false);\n\n\t// Polyfill for IE 10 and Firefox <24, where classList.toggle does not\n\t// support the second argument.\n\tif (testElement.classList.contains(\"c3\")) {\n\t\tvar _toggle = DOMTokenList.prototype.toggle;\n\n\t\tDOMTokenList.prototype.toggle = function(token, force) {\n\t\t\tif (1 in arguments && !this.contains(token) === !force) {\n\t\t\t\treturn force;\n\t\t\t} else {\n\t\t\t\treturn _toggle.call(this, token);\n\t\t\t}\n\t\t};\n\n\t}\n\n\ttestElement = null;\n}());\n\n}\n\n\n//# sourceURL=webpack://air-light/./node_modules/classlist-polyfill/src/index.js?"); - -/***/ }), - -/***/ "./node_modules/console-polyfill/index.js": -/*!************************************************!*\ - !*** ./node_modules/console-polyfill/index.js ***! - \************************************************/ -/***/ (function() { - -eval("// Console-polyfill. MIT license.\n// https://github.com/paulmillr/console-polyfill\n// Make it safe to do console.log() always.\n(function(global) {\n 'use strict';\n if (!global.console) {\n global.console = {};\n }\n var con = global.console;\n var prop, method;\n var dummy = function() {};\n var properties = ['memory'];\n var methods = ('assert,clear,count,debug,dir,dirxml,error,exception,group,' +\n 'groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,' +\n 'show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn').split(',');\n while (prop = properties.pop()) if (!con[prop]) con[prop] = {};\n while (method = methods.pop()) if (!con[method]) con[method] = dummy;\n // Using `this` for web workers & supports Browserify / Webpack.\n})(typeof window === 'undefined' ? this : window);\n\n\n//# sourceURL=webpack://air-light/./node_modules/console-polyfill/index.js?"); - -/***/ }), - -/***/ "./node_modules/define-data-property/index.js": -/*!****************************************************!*\ - !*** ./node_modules/define-data-property/index.js ***! - \****************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar $defineProperty = __webpack_require__(/*! es-define-property */ \"./node_modules/es-define-property/index.js\");\n\nvar $SyntaxError = __webpack_require__(/*! es-errors/syntax */ \"./node_modules/es-errors/syntax.js\");\nvar $TypeError = __webpack_require__(/*! es-errors/type */ \"./node_modules/es-errors/type.js\");\n\nvar gopd = __webpack_require__(/*! gopd */ \"./node_modules/gopd/index.js\");\n\n/** @type {import('.')} */\nmodule.exports = function defineDataProperty(\n\tobj,\n\tproperty,\n\tvalue\n) {\n\tif (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {\n\t\tthrow new $TypeError('`obj` must be an object or a function`');\n\t}\n\tif (typeof property !== 'string' && typeof property !== 'symbol') {\n\t\tthrow new $TypeError('`property` must be a string or a symbol`');\n\t}\n\tif (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {\n\t\tthrow new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {\n\t\tthrow new $TypeError('`nonWritable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {\n\t\tthrow new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 6 && typeof arguments[6] !== 'boolean') {\n\t\tthrow new $TypeError('`loose`, if provided, must be a boolean');\n\t}\n\n\tvar nonEnumerable = arguments.length > 3 ? arguments[3] : null;\n\tvar nonWritable = arguments.length > 4 ? arguments[4] : null;\n\tvar nonConfigurable = arguments.length > 5 ? arguments[5] : null;\n\tvar loose = arguments.length > 6 ? arguments[6] : false;\n\n\t/* @type {false | TypedPropertyDescriptor