├── .babelrc
├── .browserslistrc
├── .entrypoint
├── local-dev-entrypoint.sh
└── server-entrypoint.sh
├── .github
└── workflows
│ └── main.yml
├── .gitignore
├── .nvmrc
├── README.md
├── composer.json
├── composer.lock
├── dist
├── Navigation.js
├── Navigation.js.map
├── Navigation.min.js
├── main.css
└── main.css.map
├── docker-compose.yml
├── gulpfile.js
├── index.html
├── package-lock.json
├── package.json
├── public
├── css
│ └── style.css
└── js
│ └── index.js
├── src
├── A11y
│ └── Menu_Walker.php
├── js
│ ├── Navigation
│ │ └── Navigation.js
│ ├── exports.js
│ ├── index.js
│ └── utils
│ │ └── displayMenu.js
├── mock-data
│ ├── mock-menu.json
│ └── test-data.json
└── scss
│ ├── extra-styles.scss
│ ├── icon-styles.scss
│ └── main.scss
├── twentytwenty-child
├── functions.php
├── header.php
├── index.js
└── style.css
├── webpack.common.js
├── webpack.dev.js
├── webpack.prod.js
└── www
├── index.php
└── wp-config.php
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | [
4 | "@babel/preset-env",
5 | {
6 | "debug": true,
7 | "useBuiltIns": "usage",
8 | "corejs": 3
9 | }
10 | ]
11 | ]
12 | }
--------------------------------------------------------------------------------
/.browserslistrc:
--------------------------------------------------------------------------------
1 | # Browsers we support
2 |
3 | cover 99.5%
4 | not IE <= 9
--------------------------------------------------------------------------------
/.entrypoint/local-dev-entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | yarn install -s --no-progress
4 | # yarn upgrade a11y-menu
5 |
6 | gulp watch
7 |
--------------------------------------------------------------------------------
/.entrypoint/server-entrypoint.sh:
--------------------------------------------------------------------------------
1 | /etc/init.d/iptables stop
2 |
3 | exec "$@"
4 |
--------------------------------------------------------------------------------
/.github/workflows/main.yml:
--------------------------------------------------------------------------------
1 | name: main
2 | on: [push]
3 | jobs:
4 | build-assets:
5 | runs-on: ubuntu-16.04
6 | steps:
7 | - name: Checkout repo
8 | uses: actions/checkout@v2
9 | - name: Setup node
10 | uses: actions/setup-node@v2
11 | with:
12 | node-version: '14.15.1'
13 | - name: Install dependencies
14 | run: npm install
15 | - name: Build
16 | run: npm run build
17 | - name: Commit changes
18 | uses: Endbug/add-and-commit@v6
19 | with:
20 | author_name: Adam Berkowitz
21 | author_email: berkowitz.clarinet@gmail.com
22 | message: 'Commit from github actions - build-assets'
23 | add: 'dist'
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.log
2 | .DS_Store
3 | .sass-cache/
4 | node_modules
5 | dist/index.js
6 | dist/index.js.map
7 | /vendor/
8 | /www/*
9 | !/www/wp-config.php
10 | !/www/index.php
11 |
--------------------------------------------------------------------------------
/.nvmrc:
--------------------------------------------------------------------------------
1 | 14.15.1
2 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # a11y Menu
2 | This project aims to create a re-useable and accessible main navigation module. There are a few goals...
3 | - Be able to include this package as a standalone or in a WordPress plugin/theme
4 | - Allow for quick implementation of accessible menus
5 | - Menus should allow for developer customization particularly with respect to style
6 | - Menu functionality should take into account different modes of user input (e.g. mouse, keyboard)
7 |
8 | ## Usage
9 | ### Installing via NPM
10 | This package can be installed via npm using `npm install a11y-menu`. This will provide access to the JS and sass files, but _not_ the WordPress menu walker. The intention is to give javascript developers access to the JS menu walker, navigation script, and styles in a way that can be used with webpack or other bundlers.
11 |
12 | ### Creating a menu via JS
13 | There are two functions and one stylesheet that can be used together to create an accessible menu.
14 |
15 | - `displayMenu`
16 | - `Navigation`
17 | - main.scss
18 |
19 | `displayMenu()` takes a json file (see /mock-data below for the format). It can be imported and used as follows
20 | ```js
21 | import { displayMenu } from 'a11y-menu';
22 | // testData is an arbitrary json file.
23 | import { menu } from './test-data.json';
24 | const mainMenu = document.getElementById('main-menu');
25 |
26 | displayMenu(mainMenu, menu);
27 | ```
28 | This can be combined with the `Navigation` class to create a working menu with submenus that display on either click or hover events.
29 |
30 | ```js
31 | // clickable menu
32 | import Navigation, { displayMenu } from 'a11y-menu';
33 | // testData is an arbitrary json file.
34 | import { menu } from './test-data.json';
35 | const mainMenu = document.getElementById('main-menu');
36 |
37 | mainMenu.classList.add('am-click-menu');
38 |
39 | displayMenu(mainMenu, menu);
40 |
41 | const navigation = new Navigation({ click: true });
42 |
43 | document.addEventListener('DOMContentLoaded', () => {
44 | navigation.init();
45 | });
46 |
47 | ```
48 | ```js
49 | // hoverable menu
50 | import Navigation, { displayMenu } from 'a11y-menu';
51 | // testData is an arbitrary json file.
52 | import { menu } from './test-data.json';
53 |
54 | const mainMenu = document.getElementById('main-menu');
55 |
56 | // if needed
57 | mainMenu.classList.remove('am-click-menu');
58 |
59 | displayMenu(mainMenu, menu);
60 |
61 | const navigation = new Navigation();
62 |
63 | document.addEventListener('DOMContentLoaded', () => {
64 | navigation.init();
65 | });
66 |
67 | ```
68 |
69 | `main.scss` can be required using webpack or similar. Another option is to include in your project the transpiled css file that can be found at `dist/main.css`.
70 |
71 |
72 | ### Installing via Composer.
73 | This package can be installed as a dependency via [Composer](https://getcomposer.org/). To check if you have Composer installed, run the `composer` command in the terminal. If Composer's not available, install it. Then within your project run `composer require ucomm/a11y-menu`.
74 | ### Creating a menu with PHP
75 | For non-WordPress PHP projects, you can use the [`aberkow/a11y-menu-php` composer package](https://github.com/aberkow/a11y-menu-php). The package takes the place of the javascript `displayMenu` function for PHP projects. It can be installed with `composer require aberkow/a11y-menu-php` and exposes a single static method which can be used like this:
76 | ```php
77 | menu;
82 |
83 | ?>
84 |
85 |
88 |
89 | ```
90 | ### Creating a WordPress menu in a theme.
91 | In order to use the custom Walker within your theme, you'll need to do the following
92 | ```php
93 | // functions.php
94 | require_once('vendor/autoload.php');
95 |
96 | // register a menu location.
97 | // this is optional if you're using a child theme with pre-registered locations
98 | function register_nav() {
99 | register_nav_menu('menu-name', __('Menu Name', 'text-domain'));
100 | }
101 | add_action('after_setup_theme', 'register_nav');
102 |
103 |
104 | function load_scripts() {
105 | // enqueue the base nav styles
106 | wp_enqueue_style('a11y-menu', get_stylesheet_directory_uri() . '/vendor/ucomm/a11y-menu/dist/main.css');
107 | // register/enqueue the JS Navigation script
108 | wp_register_script('a11y-menu', get_stylesheet_directory_uri() . '/vendor/ucomm/a11y-menu/dist/Navigation.js', array(), false, true);
109 |
110 | wp_enqueue_script('a11y-menu');
111 |
112 | // the Navigation script is a dependency of the script where you wish to instantiate the class.
113 | wp_enqueue_script('theme-script', get_stylesheet_directory_uri() . '/index.js', array('a11y-menu', false, true));
114 | }
115 | add_action('wp_enqueue_scripts', 'load_scripts');
116 | ```
117 |
118 | ```php
119 | /**
120 | * header.php (or whichever file you want to use for displaying the menu)
121 | *
122 | * container -> this should be set to 'nav' for better accessibility and to make sure the CSS works.
123 | * items_wrap -> ensures that you can use a custom ID for the
element.
124 | * menu_id -> The ID should be prefixed with 'am-' to act as a namespace.
125 | * For instance, 'am-main-menu' is the default ID used by the Navigation JS class.
126 | * However this can be overridden if you like
127 | * walker -> the instance of the walker class
128 | */
129 | $args = array(
130 | 'container' => 'nav',
131 | 'items_wrap' => '',
132 | 'menu_id' => 'am-main-menu',
133 | 'theme_location' => 'menu-name',
134 | 'walker' => new A11y\Menu_Walker()
135 | );
136 | wp_nav_menu($args);
137 | ```
138 |
139 | ```js
140 | /**
141 | *
142 | * the main index.js file or wherever you wish to instantiate the Navigation class.
143 | * see below for overriding the constructor defaults.
144 | */
145 |
146 | document.addEventListener('DOMContentLoaded', () => {
147 | const navigation = new Navigation();
148 | navigation.init();
149 | })
150 | ```
151 |
152 | ### Javascript Defaults
153 | The constructor comes with the following defaults. These can be overridden as needed
154 | - `menuId` - the default is `'am-main-menu'`
155 | - `click` - the default is `false`
156 |
157 | ### Most basic case
158 | The `Navigation` class is designed to be as simple to use as possible. In order to use it, create a new `Navigation` constructor and assign it to a variable. Inside of an event listener, use the `init` method on the the instance. This implementation will create a **hover** menu.
159 | ```javascript
160 | const navigation = new Navigation();
161 | document.addEventListener('DOMContentLoaded', () => {
162 | navigation.init();
163 | })
164 | ```
165 |
166 | ### Overridding defaults
167 | Defaults can be overridden individually or together.
168 | ```javascript
169 | const menuOpts = {
170 | // assumes a with an id of 'am-my-navigation'
171 | menuId: 'am-my-navigation',
172 | click: true
173 | }
174 | const navigation = new Navigation(menuOpts);
175 | ```
176 | This will create a nav menu with an id of `main-nav` and it will use the `click` functionality instead of hover.
177 |
178 | ## Sass defaults
179 | The stylesheet provided is meant to provide a skeleton on which to add additional styles (e.g. colors, padding, etc...). An example of adding icons is provided in `src/scss/icon-styles.scss`. These styles will override the baseline text icons in favor of Font Awesome icons.
180 |
181 | Overriding and changing the styles of the menu is as easy as either making the selectors more specific or placing your custom styles lower in the cascade. Greater specificity can be achieved by using the provided `am-` class names.
182 |
183 | ## Development
184 | To begin developing
185 |
186 | - `npm install`
187 | - `npm run develop`
188 |
189 | This will begin watching the js and scss files and place them in the appropriate directories. `Navigation.js` and `main.scss` will be transpiled and sent to `/dist`. Serving `/public/index.html` will read those files from the `/dist` directory.
190 |
191 | ## Production
192 | To create a new production version run `npm run build`.
193 |
194 | ## Structure
195 |
196 | ### /public
197 | #### index.html
198 | Loads two examples of the menu for testing. The first example is created via javascript. The second is hardcoded into the file. This is to test how the menu responds when javascript is not available.
199 | #### /build
200 | Built assets from `/src` will be placed here and used by `index.html`
201 | #### /css and /js
202 | These are examples of overrides/additions for the base css and/or js can be tested here. This is especially useful for styling since the base styles that are created are largely unopinionated.
203 |
204 | ### /src
205 | #### /js/Navigation
206 | The class that
207 | - handles event listeners/handlers
208 | - assigns icons to menu items with dropdowns
209 | - initializes the menu interaction
210 |
211 | #### /js/utils
212 | Exports a helper function to create a menu based on a tree-like json file
213 |
214 | #### /mock-data
215 | json files to create menus. The structure of items in the test file needs to be
216 | ```json
217 | {
218 | "name": "Menu Item",
219 | "slug": "menu-item",
220 | "link": "/menu-item",
221 | "sub": null, // or array of menu item objects
222 | "classes": ["an", "array", "of", "class", "names"]
223 | }
224 | ```
225 | The `sub` and `classes` keys are optional.
226 | #### /scss
227 | Base styles for the menu.
228 | ### gulp.js
229 | Watches and builds js/scss files as appropriate.
230 | ### webpack.config.js
231 | Handles bundling for local testing.
--------------------------------------------------------------------------------
/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "uconn/a11y-menu",
3 | "description": "A package to generate accessible main navigation menus. It includes: a js script for the browser as an npm package, WordPress walker for theme development, and WordPress plugin.",
4 | "type": "library",
5 | "minimum-stability": "dev",
6 | "license": "MIT",
7 | "authors": [
8 | {
9 | "name": "Adam Berkowitz",
10 | "email": "adam@adamjberkowitz.com"
11 | }
12 | ],
13 | "repositories": [
14 | {
15 | "type": "composer",
16 | "url": "https://wpackagist.org"
17 | },
18 | {
19 | "type": "composer",
20 | "url": "https://packages.ucdev.net/"
21 | }
22 | ],
23 | "extra": {
24 | "installer-paths": {
25 | "./www/content/plugins/{$name}": [
26 | "type:wordpress-plugin"
27 | ],
28 | "./www/content/themes/{$name}": [
29 | "type:wordpress-theme"
30 | ]
31 | },
32 | "wordpress-install-dir": "./www/wordpress"
33 | },
34 | "config": {
35 | "secure-http": true,
36 | "sort-packages": true
37 | },
38 | "autoload": {
39 | "psr-4": {
40 | "A11y\\": "src/A11y/"
41 | }
42 | },
43 | "autoload-dev": {
44 | "psr-4": {
45 | "A11yMenu\\Tests\\": [
46 | "tests/"
47 | ]
48 | }
49 | },
50 | "require-dev": {
51 | "johnpbloch/wordpress": "@stable",
52 | "wpackagist-plugin/query-monitor": "dev-trunk",
53 | "wpackagist-plugin/wordpress-importer": "^0.7",
54 | "wpackagist-theme/twentytwenty": "^1.5"
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/composer.lock:
--------------------------------------------------------------------------------
1 | {
2 | "_readme": [
3 | "This file locks the dependencies of your project to a known state",
4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5 | "This file is @generated automatically"
6 | ],
7 | "content-hash": "e55406aa0da2d1606d0b1e714c0f100f",
8 | "packages": [],
9 | "packages-dev": [
10 | {
11 | "name": "composer/installers",
12 | "version": "v1.9.0",
13 | "source": {
14 | "type": "git",
15 | "url": "https://github.com/composer/installers.git",
16 | "reference": "b93bcf0fa1fccb0b7d176b0967d969691cd74cca"
17 | },
18 | "dist": {
19 | "type": "zip",
20 | "url": "https://api.github.com/repos/composer/installers/zipball/b93bcf0fa1fccb0b7d176b0967d969691cd74cca",
21 | "reference": "b93bcf0fa1fccb0b7d176b0967d969691cd74cca",
22 | "shasum": ""
23 | },
24 | "require": {
25 | "composer-plugin-api": "^1.0 || ^2.0"
26 | },
27 | "replace": {
28 | "roundcube/plugin-installer": "*",
29 | "shama/baton": "*"
30 | },
31 | "require-dev": {
32 | "composer/composer": "1.6.* || 2.0.*@dev",
33 | "composer/semver": "1.0.* || 2.0.*@dev",
34 | "phpunit/phpunit": "^4.8.36",
35 | "sebastian/comparator": "^1.2.4",
36 | "symfony/process": "^2.3"
37 | },
38 | "type": "composer-plugin",
39 | "extra": {
40 | "class": "Composer\\Installers\\Plugin",
41 | "branch-alias": {
42 | "dev-master": "1.0-dev"
43 | }
44 | },
45 | "autoload": {
46 | "psr-4": {
47 | "Composer\\Installers\\": "src/Composer/Installers"
48 | }
49 | },
50 | "notification-url": "https://packagist.org/downloads/",
51 | "license": [
52 | "MIT"
53 | ],
54 | "authors": [
55 | {
56 | "name": "Kyle Robinson Young",
57 | "email": "kyle@dontkry.com",
58 | "homepage": "https://github.com/shama"
59 | }
60 | ],
61 | "description": "A multi-framework Composer library installer",
62 | "homepage": "https://composer.github.io/installers/",
63 | "keywords": [
64 | "Craft",
65 | "Dolibarr",
66 | "Eliasis",
67 | "Hurad",
68 | "ImageCMS",
69 | "Kanboard",
70 | "Lan Management System",
71 | "MODX Evo",
72 | "MantisBT",
73 | "Mautic",
74 | "Maya",
75 | "OXID",
76 | "Plentymarkets",
77 | "Porto",
78 | "RadPHP",
79 | "SMF",
80 | "Thelia",
81 | "Whmcs",
82 | "WolfCMS",
83 | "agl",
84 | "aimeos",
85 | "annotatecms",
86 | "attogram",
87 | "bitrix",
88 | "cakephp",
89 | "chef",
90 | "cockpit",
91 | "codeigniter",
92 | "concrete5",
93 | "croogo",
94 | "dokuwiki",
95 | "drupal",
96 | "eZ Platform",
97 | "elgg",
98 | "expressionengine",
99 | "fuelphp",
100 | "grav",
101 | "installer",
102 | "itop",
103 | "joomla",
104 | "known",
105 | "kohana",
106 | "laravel",
107 | "lavalite",
108 | "lithium",
109 | "magento",
110 | "majima",
111 | "mako",
112 | "mediawiki",
113 | "modulework",
114 | "modx",
115 | "moodle",
116 | "osclass",
117 | "phpbb",
118 | "piwik",
119 | "ppi",
120 | "puppet",
121 | "pxcms",
122 | "reindex",
123 | "roundcube",
124 | "shopware",
125 | "silverstripe",
126 | "sydes",
127 | "sylius",
128 | "symfony",
129 | "typo3",
130 | "wordpress",
131 | "yawik",
132 | "zend",
133 | "zikula"
134 | ],
135 | "funding": [
136 | {
137 | "url": "https://packagist.com",
138 | "type": "custom"
139 | },
140 | {
141 | "url": "https://tidelift.com/funding/github/packagist/composer/composer",
142 | "type": "tidelift"
143 | }
144 | ],
145 | "time": "2020-04-07T06:57:05+00:00"
146 | },
147 | {
148 | "name": "johnpbloch/wordpress",
149 | "version": "5.5.3",
150 | "source": {
151 | "type": "git",
152 | "url": "https://github.com/johnpbloch/wordpress.git",
153 | "reference": "f706595a0be04446e1c6c4ff984be414d1a3064b"
154 | },
155 | "dist": {
156 | "type": "zip",
157 | "url": "https://api.github.com/repos/johnpbloch/wordpress/zipball/f706595a0be04446e1c6c4ff984be414d1a3064b",
158 | "reference": "f706595a0be04446e1c6c4ff984be414d1a3064b",
159 | "shasum": ""
160 | },
161 | "require": {
162 | "johnpbloch/wordpress-core": "5.5.3",
163 | "johnpbloch/wordpress-core-installer": "^1.0 || ^2.0",
164 | "php": ">=5.6.20"
165 | },
166 | "type": "package",
167 | "notification-url": "https://packagist.org/downloads/",
168 | "license": [
169 | "GPL-2.0+"
170 | ],
171 | "authors": [
172 | {
173 | "name": "WordPress Community",
174 | "homepage": "http://wordpress.org/about/"
175 | }
176 | ],
177 | "description": "WordPress is open source software you can use to create a beautiful website, blog, or app.",
178 | "homepage": "http://wordpress.org/",
179 | "keywords": [
180 | "blog",
181 | "cms",
182 | "wordpress"
183 | ],
184 | "time": "2020-10-30T20:48:17+00:00"
185 | },
186 | {
187 | "name": "johnpbloch/wordpress-core",
188 | "version": "5.5.3",
189 | "source": {
190 | "type": "git",
191 | "url": "https://github.com/johnpbloch/wordpress-core.git",
192 | "reference": "6f25ae53f3d4058f8dd702c097d5a4a45667af61"
193 | },
194 | "dist": {
195 | "type": "zip",
196 | "url": "https://api.github.com/repos/johnpbloch/wordpress-core/zipball/6f25ae53f3d4058f8dd702c097d5a4a45667af61",
197 | "reference": "6f25ae53f3d4058f8dd702c097d5a4a45667af61",
198 | "shasum": ""
199 | },
200 | "require": {
201 | "ext-json": "*",
202 | "php": ">=5.6.20"
203 | },
204 | "provide": {
205 | "wordpress/core-implementation": "5.5.3"
206 | },
207 | "type": "wordpress-core",
208 | "notification-url": "https://packagist.org/downloads/",
209 | "license": [
210 | "GPL-2.0-or-later"
211 | ],
212 | "authors": [
213 | {
214 | "name": "WordPress Community",
215 | "homepage": "https://wordpress.org/about/"
216 | }
217 | ],
218 | "description": "WordPress is open source software you can use to create a beautiful website, blog, or app.",
219 | "homepage": "https://wordpress.org/",
220 | "keywords": [
221 | "blog",
222 | "cms",
223 | "wordpress"
224 | ],
225 | "time": "2020-10-30T20:48:12+00:00"
226 | },
227 | {
228 | "name": "johnpbloch/wordpress-core-installer",
229 | "version": "2.0.0",
230 | "source": {
231 | "type": "git",
232 | "url": "https://github.com/johnpbloch/wordpress-core-installer.git",
233 | "reference": "237faae9a60a4a2e1d45dce1a5836ffa616de63e"
234 | },
235 | "dist": {
236 | "type": "zip",
237 | "url": "https://api.github.com/repos/johnpbloch/wordpress-core-installer/zipball/237faae9a60a4a2e1d45dce1a5836ffa616de63e",
238 | "reference": "237faae9a60a4a2e1d45dce1a5836ffa616de63e",
239 | "shasum": ""
240 | },
241 | "require": {
242 | "composer-plugin-api": "^1.0 || ^2.0",
243 | "php": ">=5.6.0"
244 | },
245 | "conflict": {
246 | "composer/installers": "<1.0.6"
247 | },
248 | "require-dev": {
249 | "composer/composer": "^1.0 || ^2.0",
250 | "phpunit/phpunit": ">=5.7.27"
251 | },
252 | "type": "composer-plugin",
253 | "extra": {
254 | "class": "johnpbloch\\Composer\\WordPressCorePlugin"
255 | },
256 | "autoload": {
257 | "psr-0": {
258 | "johnpbloch\\Composer\\": "src/"
259 | }
260 | },
261 | "notification-url": "https://packagist.org/downloads/",
262 | "license": [
263 | "GPL-2.0-or-later"
264 | ],
265 | "authors": [
266 | {
267 | "name": "John P. Bloch",
268 | "email": "me@johnpbloch.com"
269 | }
270 | ],
271 | "description": "A custom installer to handle deploying WordPress with composer",
272 | "keywords": [
273 | "wordpress"
274 | ],
275 | "time": "2020-04-16T21:44:57+00:00"
276 | },
277 | {
278 | "name": "wpackagist-plugin/query-monitor",
279 | "version": "dev-trunk",
280 | "source": {
281 | "type": "svn",
282 | "url": "https://plugins.svn.wordpress.org/query-monitor/",
283 | "reference": "trunk"
284 | },
285 | "dist": {
286 | "type": "zip",
287 | "url": "https://downloads.wordpress.org/plugin/query-monitor.zip?timestamp=1605289647"
288 | },
289 | "require": {
290 | "composer/installers": "~1.0"
291 | },
292 | "type": "wordpress-plugin",
293 | "homepage": "https://wordpress.org/plugins/query-monitor/",
294 | "time": "2020-11-13T17:47:27+00:00"
295 | },
296 | {
297 | "name": "wpackagist-plugin/wordpress-importer",
298 | "version": "0.7",
299 | "source": {
300 | "type": "svn",
301 | "url": "https://plugins.svn.wordpress.org/wordpress-importer/",
302 | "reference": "tags/0.7"
303 | },
304 | "dist": {
305 | "type": "zip",
306 | "url": "https://downloads.wordpress.org/plugin/wordpress-importer.0.7.zip"
307 | },
308 | "require": {
309 | "composer/installers": "~1.0"
310 | },
311 | "type": "wordpress-plugin",
312 | "homepage": "https://wordpress.org/plugins/wordpress-importer/"
313 | },
314 | {
315 | "name": "wpackagist-theme/twentytwenty",
316 | "version": "1.5",
317 | "source": {
318 | "type": "svn",
319 | "url": "https://themes.svn.wordpress.org/twentytwenty/",
320 | "reference": "1.5"
321 | },
322 | "dist": {
323 | "type": "zip",
324 | "url": "https://downloads.wordpress.org/theme/twentytwenty.1.5.zip"
325 | },
326 | "require": {
327 | "composer/installers": "~1.0"
328 | },
329 | "type": "wordpress-theme",
330 | "homepage": "https://wordpress.org/themes/twentytwenty/"
331 | }
332 | ],
333 | "aliases": [],
334 | "minimum-stability": "dev",
335 | "stability-flags": {
336 | "johnpbloch/wordpress": 0,
337 | "wpackagist-plugin/query-monitor": 20
338 | },
339 | "prefer-stable": false,
340 | "prefer-lowest": false,
341 | "platform": [],
342 | "platform-dev": [],
343 | "plugin-api-version": "1.1.0"
344 | }
345 |
--------------------------------------------------------------------------------
/dist/Navigation.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack://Navigation/webpack/bootstrap","webpack://Navigation/./node_modules/core-js/internals/a-function.js","webpack://Navigation/./node_modules/core-js/internals/a-possible-prototype.js","webpack://Navigation/./node_modules/core-js/internals/an-object.js","webpack://Navigation/./node_modules/core-js/internals/array-for-each.js","webpack://Navigation/./node_modules/core-js/internals/array-from.js","webpack://Navigation/./node_modules/core-js/internals/array-includes.js","webpack://Navigation/./node_modules/core-js/internals/array-iteration.js","webpack://Navigation/./node_modules/core-js/internals/array-method-has-species-support.js","webpack://Navigation/./node_modules/core-js/internals/array-method-is-strict.js","webpack://Navigation/./node_modules/core-js/internals/array-method-uses-to-length.js","webpack://Navigation/./node_modules/core-js/internals/array-species-create.js","webpack://Navigation/./node_modules/core-js/internals/call-with-safe-iteration-closing.js","webpack://Navigation/./node_modules/core-js/internals/check-correctness-of-iteration.js","webpack://Navigation/./node_modules/core-js/internals/classof-raw.js","webpack://Navigation/./node_modules/core-js/internals/classof.js","webpack://Navigation/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://Navigation/./node_modules/core-js/internals/correct-prototype-getter.js","webpack://Navigation/./node_modules/core-js/internals/create-iterator-constructor.js","webpack://Navigation/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://Navigation/./node_modules/core-js/internals/create-property-descriptor.js","webpack://Navigation/./node_modules/core-js/internals/create-property.js","webpack://Navigation/./node_modules/core-js/internals/define-iterator.js","webpack://Navigation/./node_modules/core-js/internals/descriptors.js","webpack://Navigation/./node_modules/core-js/internals/document-create-element.js","webpack://Navigation/./node_modules/core-js/internals/dom-iterables.js","webpack://Navigation/./node_modules/core-js/internals/engine-user-agent.js","webpack://Navigation/./node_modules/core-js/internals/engine-v8-version.js","webpack://Navigation/./node_modules/core-js/internals/enum-bug-keys.js","webpack://Navigation/./node_modules/core-js/internals/export.js","webpack://Navigation/./node_modules/core-js/internals/fails.js","webpack://Navigation/./node_modules/core-js/internals/function-bind-context.js","webpack://Navigation/./node_modules/core-js/internals/function-bind.js","webpack://Navigation/./node_modules/core-js/internals/get-built-in.js","webpack://Navigation/./node_modules/core-js/internals/get-iterator-method.js","webpack://Navigation/./node_modules/core-js/internals/global.js","webpack://Navigation/./node_modules/core-js/internals/has.js","webpack://Navigation/./node_modules/core-js/internals/hidden-keys.js","webpack://Navigation/./node_modules/core-js/internals/html.js","webpack://Navigation/./node_modules/core-js/internals/ie8-dom-define.js","webpack://Navigation/./node_modules/core-js/internals/indexed-object.js","webpack://Navigation/./node_modules/core-js/internals/inspect-source.js","webpack://Navigation/./node_modules/core-js/internals/internal-state.js","webpack://Navigation/./node_modules/core-js/internals/is-array-iterator-method.js","webpack://Navigation/./node_modules/core-js/internals/is-array.js","webpack://Navigation/./node_modules/core-js/internals/is-forced.js","webpack://Navigation/./node_modules/core-js/internals/is-object.js","webpack://Navigation/./node_modules/core-js/internals/is-pure.js","webpack://Navigation/./node_modules/core-js/internals/iterator-close.js","webpack://Navigation/./node_modules/core-js/internals/iterators-core.js","webpack://Navigation/./node_modules/core-js/internals/iterators.js","webpack://Navigation/./node_modules/core-js/internals/native-symbol.js","webpack://Navigation/./node_modules/core-js/internals/native-weak-map.js","webpack://Navigation/./node_modules/core-js/internals/object-create.js","webpack://Navigation/./node_modules/core-js/internals/object-define-properties.js","webpack://Navigation/./node_modules/core-js/internals/object-define-property.js","webpack://Navigation/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://Navigation/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://Navigation/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://Navigation/./node_modules/core-js/internals/object-get-prototype-of.js","webpack://Navigation/./node_modules/core-js/internals/object-keys-internal.js","webpack://Navigation/./node_modules/core-js/internals/object-keys.js","webpack://Navigation/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://Navigation/./node_modules/core-js/internals/object-set-prototype-of.js","webpack://Navigation/./node_modules/core-js/internals/own-keys.js","webpack://Navigation/./node_modules/core-js/internals/path.js","webpack://Navigation/./node_modules/core-js/internals/redefine.js","webpack://Navigation/./node_modules/core-js/internals/require-object-coercible.js","webpack://Navigation/./node_modules/core-js/internals/set-global.js","webpack://Navigation/./node_modules/core-js/internals/set-to-string-tag.js","webpack://Navigation/./node_modules/core-js/internals/shared-key.js","webpack://Navigation/./node_modules/core-js/internals/shared-store.js","webpack://Navigation/./node_modules/core-js/internals/shared.js","webpack://Navigation/./node_modules/core-js/internals/string-multibyte.js","webpack://Navigation/./node_modules/core-js/internals/to-absolute-index.js","webpack://Navigation/./node_modules/core-js/internals/to-indexed-object.js","webpack://Navigation/./node_modules/core-js/internals/to-integer.js","webpack://Navigation/./node_modules/core-js/internals/to-length.js","webpack://Navigation/./node_modules/core-js/internals/to-object.js","webpack://Navigation/./node_modules/core-js/internals/to-primitive.js","webpack://Navigation/./node_modules/core-js/internals/to-string-tag-support.js","webpack://Navigation/./node_modules/core-js/internals/uid.js","webpack://Navigation/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://Navigation/./node_modules/core-js/internals/well-known-symbol.js","webpack://Navigation/./node_modules/core-js/modules/es.array.filter.js","webpack://Navigation/./node_modules/core-js/modules/es.array.for-each.js","webpack://Navigation/./node_modules/core-js/modules/es.array.from.js","webpack://Navigation/./node_modules/core-js/modules/es.array.map.js","webpack://Navigation/./node_modules/core-js/modules/es.array.slice.js","webpack://Navigation/./node_modules/core-js/modules/es.function.bind.js","webpack://Navigation/./node_modules/core-js/modules/es.object.define-property.js","webpack://Navigation/./node_modules/core-js/modules/es.string.iterator.js","webpack://Navigation/./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack://Navigation/(webpack)/buildin/global.js","webpack://Navigation/./src/js/Navigation/Navigation.js"],"names":["Navigation","menuId","click","menu","currentItem","listItems","Array","from","querySelectorAll","map","item","classList","remove","target","closest","topLevelItems","document","contains","add","filter","undefined","buttons","button","prevButton","parentElement","previousElementSibling","submenu","nextElementSibling","submenuOpenClass","sameNode","isSameNode","ariaExpanded","getAttribute","parentSubmenu","setAttribute","menuArray","buttonArray","clearSubmenuClass","clearAllAriaExpanded","removeEventListener","clearAll","bind","listeners","push","subMenuList","slice","call","forEach","i","length","addEventListener","evt","eventDispatcher","body","which","type","focusInHandler","clickHandler","localName","toggleCurrentTopLevelItemClass","manageSubmenuState","setDocumentEventListeners","relatedTarget","topItem","getElementById","removeNoJs","setMenuEventListeners"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BA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;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gBAAgB,mBAAmB;AACnC;AACA;AACA,yCAAyC,kCAAkC;AAC3E;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK,SAAS,qFAAqF;AACnG;;AAEA;AACA;;;;;;;;;;;;ACzFA,YAAY,mBAAO,CAAC,qEAAoB;;AAExC;AACA;AACA,iCAAiC,MAAM,mBAAmB,UAAU,EAAE,EAAE;AACxE,CAAC;;;;;;;;;;;;ACLD,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AClCA,iBAAiB,mBAAO,CAAC,mFAA2B;;AAEpD;;;;;;;;;;;;ACFA,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,gBAAgB,mBAAO,CAAC,6FAAgC;;AAExD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACTA,aAAa,mBAAO,CAAC,uEAAqB;AAC1C,+BAA+B,mBAAO,CAAC,+HAAiD;AACxF,kCAAkC,mBAAO,CAAC,uHAA6C;AACvF,eAAe,mBAAO,CAAC,2EAAuB;AAC9C,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,gCAAgC,mBAAO,CAAC,iHAA0C;AAClF,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,mDAAmD;AACnD,GAAG;AACH,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACrDA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;;;;;;;;;;;ACNA,gBAAgB,mBAAO,CAAC,+EAAyB;;AAEjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACvBa;AACb,gBAAgB,mBAAO,CAAC,+EAAyB;AACjD,eAAe,mBAAO,CAAC,6EAAwB;;AAE/C;AACA;;AAEA;AACA;AACA,8BAA8B,gBAAgB;AAC9C;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC1BA,WAAW,mBAAO,CAAC,mEAAmB;AACtC,aAAa,mBAAO,CAAC,uEAAqB;;AAE1C;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;;;;;;;;;ACVA,cAAc,mBAAO,CAAC,yEAAsB;AAC5C,gBAAgB,mBAAO,CAAC,6EAAwB;AAChD,sBAAsB,mBAAO,CAAC,6FAAgC;;AAE9D;;AAEA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACVA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,aAAa,EAAE;;;;;;;;;;;;;ACZ/B,uBAAuB;;AAEvB;AACA;AACA;;;;;;;;;;;;ACJA;;;;;;;;;;;;ACAA,iBAAiB,mBAA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,aAAjB,CAA1C,EAA2E;AACvE,aAAKtB,QAAL,CAAc;AAAE3B,gBAAM,EAAEG,QAAQ,CAACqC;AAAnB,SAAd;AACH;AACJ;;;2BAEM;AACH,WAAKlD,IAAL,GAAYa,QAAQ,CAACgD,cAAT,CAAwB,KAAK/D,MAA7B,CAAZ;AACA,WAAKgE,UAAL;AACA,WAAKC,qBAAL;AACH;;;;;AAGL;;;AACelE,yEAAf;AACA,oB","file":"Navigation.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./src/js/Navigation/Navigation.js\");\n","module.exports = function (it) {\n if (typeof it != 'function') {\n throw TypeError(String(it) + ' is not a function');\n } return it;\n};\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it) && it !== null) {\n throw TypeError(\"Can't set \" + String(it) + ' as a prototype');\n } return it;\n};\n","var isObject = require('../internals/is-object');\n\nmodule.exports = function (it) {\n if (!isObject(it)) {\n throw TypeError(String(it) + ' is not an object');\n } return it;\n};\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.github.io/ecma262/#sec-array.prototype.foreach\nmodule.exports = (!STRICT_METHOD || !USES_TO_LENGTH) ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n} : [].forEach;\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar toObject = require('../internals/to-object');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar toLength = require('../internals/to-length');\nvar createProperty = require('../internals/create-property');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\n// `Array.from` method implementation\n// https://tc39.github.io/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var C = typeof this == 'function' ? this : Array;\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var iteratorMethod = getIteratorMethod(O);\n var index = 0;\n var length, result, step, iterator, next, value;\n if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2);\n // if the target is not iterable or it's an array with the default iterator - use a simple case\n if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) {\n iterator = iteratorMethod.call(O);\n next = iterator.next;\n result = new C();\n for (;!(step = next.call(iterator)).done; index++) {\n value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;\n createProperty(result, index, value);\n }\n } else {\n length = toLength(O.length);\n result = new C(length);\n for (;length > index; index++) {\n value = mapping ? mapfn(O[index], index) : O[index];\n createProperty(result, index, value);\n }\n }\n result.length = index;\n return result;\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var bind = require('../internals/function-bind-context');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = [].push;\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that, 3);\n var length = toLength(self.length);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push.call(target, value); // filter\n } else if (IS_EVERY) return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6)\n};\n","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call,no-throw-literal\n method.call(null, argument || function () { throw 1; }, 1);\n });\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar has = require('../internals/has');\n\nvar defineProperty = Object.defineProperty;\nvar cache = {};\n\nvar thrower = function (it) { throw it; };\n\nmodule.exports = function (METHOD_NAME, options) {\n if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];\n if (!options) options = {};\n var method = [][METHOD_NAME];\n var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;\n var argument0 = has(options, 0) ? options[0] : thrower;\n var argument1 = has(options, 1) ? options[1] : undefined;\n\n return cache[METHOD_NAME] = !!method && !fails(function () {\n if (ACCESSORS && !DESCRIPTORS) return true;\n var O = { length: -1 };\n\n if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });\n else O[1] = 1;\n\n method.call(O, argument0, argument1);\n });\n};\n","var isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.github.io/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);\n};\n","var anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (error) {\n iteratorClose(iterator);\n throw error;\n }\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line no-throw-literal\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;\n};\n","var has = require('../internals/has');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPrimitive(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n } return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {\n createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return nativeIterator.call(this); };\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator);\n }\n Iterators[NAME] = defaultIterator;\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n redefine(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n return methods;\n};\n","var fails = require('../internals/fails');\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !fails(function () {\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n version = match[0] + match[1];\n} else if (userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = match[1];\n }\n}\n\nmodule.exports = version && +version;\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar setGlobal = require('../internals/set-global');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.noTargetGet - prevent calling a getter on target\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || setGlobal(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.noTargetGet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty === typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n // extend global\n redefine(target, key, sourceProperty, options);\n }\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var aFunction = require('../internals/a-function');\n\n// optional / simple context binding\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 0: return function () {\n return fn.call(that);\n };\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar aFunction = require('../internals/a-function');\nvar isObject = require('../internals/is-object');\n\nvar slice = [].slice;\nvar factories = {};\n\nvar construct = function (C, argsLength, args) {\n if (!(argsLength in factories)) {\n for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']';\n // eslint-disable-next-line no-new-func\n factories[argsLength] = Function('C,a', 'return new C(' + list.join(',') + ')');\n } return factories[argsLength](C, args);\n};\n\n// `Function.prototype.bind` method implementation\n// https://tc39.github.io/ecma262/#sec-function.prototype.bind\nmodule.exports = Function.bind || function bind(that /* , ...args */) {\n var fn = aFunction(this);\n var partArgs = slice.call(arguments, 1);\n var boundFunction = function bound(/* args... */) {\n var args = partArgs.concat(slice.call(arguments));\n return this instanceof boundFunction ? construct(fn, args.length, args) : fn.apply(that, args);\n };\n if (isObject(fn.prototype)) boundFunction.prototype = fn.prototype;\n return boundFunction;\n};\n","var path = require('../internals/path');\nvar global = require('../internals/global');\n\nvar aFunction = function (variable) {\n return typeof variable == 'function' ? variable : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\n : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n};\n","var classof = require('../internals/classof');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line no-undef\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func\n (function () { return this; })() || Function('return this')();\n","var hasOwnProperty = {}.hasOwnProperty;\n\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","module.exports = {};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar split = ''.split;\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins\n return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split.call(it, '') : Object(it);\n} : Object;\n","var store = require('../internals/shared-store');\n\nvar functionToString = Function.toString;\n\n// this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper\nif (typeof store.inspectSource != 'function') {\n store.inspectSource = function (it) {\n return functionToString.call(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar objectHas = require('../internals/has');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP) {\n var store = shared.state || (shared.state = new WeakMap());\n var wmget = store.get;\n var wmhas = store.has;\n var wmset = store.set;\n set = function (it, metadata) {\n metadata.facade = it;\n wmset.call(store, it, metadata);\n return metadata;\n };\n get = function (it) {\n return wmget.call(store, it) || {};\n };\n has = function (it) {\n return wmhas.call(store, it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return objectHas(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return objectHas(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.github.io/ecma262/#sec-isarray\nmodule.exports = Array.isArray || function isArray(arg) {\n return classof(arg) == 'Array';\n};\n","var fails = require('../internals/fails');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : typeof detection == 'function' ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","module.exports = false;\n","var anObject = require('../internals/an-object');\n\nmodule.exports = function (iterator) {\n var returnMethod = iterator['return'];\n if (returnMethod !== undefined) {\n return anObject(returnMethod.call(iterator)).value;\n }\n};\n","'use strict';\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\nvar returnThis = function () { return this; };\n\n// `%IteratorPrototype%` object\n// https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nif (IteratorPrototype == undefined) IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nif (!IS_PURE && !has(IteratorPrototype, ITERATOR)) {\n createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis);\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","module.exports = {};\n","var fails = require('../internals/fails');\n\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n // Chrome 38 Symbol has incorrect toString conversion\n // eslint-disable-next-line no-undef\n return !String(Symbol());\n});\n","var global = require('../internals/global');\nvar inspectSource = require('../internals/inspect-source');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));\n","var anObject = require('../internals/an-object');\nvar defineProperties = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n /* global ActiveXObject */\n activeXDocument = document.domain && new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.github.io/ecma262/#sec-object.create\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : defineProperties(result, Properties);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.github.io/ecma262/#sec-object.defineproperties\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);\n return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar anObject = require('../internals/an-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar nativeDefineProperty = Object.defineProperty;\n\n// `Object.defineProperty` method\n// https://tc39.github.io/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return nativeDefineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPrimitive = require('../internals/to-primitive');\nvar has = require('../internals/has');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\nvar nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return nativeGetOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.github.io/ecma262/#sec-object.getownpropertynames\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","exports.f = Object.getOwnPropertySymbols;\n","var has = require('../internals/has');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar ObjectPrototype = Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-object.getprototypeof\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectPrototype : null;\n};\n","var has = require('../internals/has');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~indexOf(result, key) || result.push(key);\n }\n return result;\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.github.io/ecma262/#sec-object.keys\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar nativePropertyIsEnumerable = {}.propertyIsEnumerable;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : nativePropertyIsEnumerable;\n","var anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;\n setter.call(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter.call(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","var getBuiltIn = require('../internals/get-built-in');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;\n};\n","var global = require('../internals/global');\n\nmodule.exports = global;\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar has = require('../internals/has');\nvar setGlobal = require('../internals/set-global');\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar getInternalState = InternalStateModule.get;\nvar enforceInternalState = InternalStateModule.enforce;\nvar TEMPLATE = String(String).split('String');\n\n(module.exports = function (O, key, value, options) {\n var unsafe = options ? !!options.unsafe : false;\n var simple = options ? !!options.enumerable : false;\n var noTargetGet = options ? !!options.noTargetGet : false;\n var state;\n if (typeof value == 'function') {\n if (typeof key == 'string' && !has(value, 'name')) {\n createNonEnumerableProperty(value, 'name', key);\n }\n state = enforceInternalState(value);\n if (!state.source) {\n state.source = TEMPLATE.join(typeof key == 'string' ? key : '');\n }\n }\n if (O === global) {\n if (simple) O[key] = value;\n else setGlobal(key, value);\n return;\n } else if (!unsafe) {\n delete O[key];\n } else if (!noTargetGet && O[key]) {\n simple = true;\n }\n if (simple) O[key] = value;\n else createNonEnumerableProperty(O, key, value);\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, 'toString', function toString() {\n return typeof this == 'function' && getInternalState(this).source || inspectSource(this);\n});\n","// `RequireObjectCoercible` abstract operation\n// https://tc39.github.io/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var global = require('../internals/global');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nmodule.exports = function (key, value) {\n try {\n createNonEnumerableProperty(global, key, value);\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var defineProperty = require('../internals/object-define-property').f;\nvar has = require('../internals/has');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (it, TAG, STATIC) {\n if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {\n defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","var global = require('../internals/global');\nvar setGlobal = require('../internals/set-global');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || setGlobal(SHARED, {});\n\nmodule.exports = store;\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.7.0',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2020 Denis Pushkarev (zloirock.ru)'\n});\n","var toInteger = require('../internals/to-integer');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `String.prototype.{ codePointAt, at }` methods implementation\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = String(requireObjectCoercible($this));\n var position = toInteger(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = S.charCodeAt(position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING ? S.charAt(position) : first\n : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","var toInteger = require('../internals/to-integer');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toInteger(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `ToInteger` abstract operation\n// https://tc39.github.io/ecma262/#sec-tointeger\nmodule.exports = function (argument) {\n return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);\n};\n","var toInteger = require('../internals/to-integer');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.github.io/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `ToObject` abstract operation\n// https://tc39.github.io/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return Object(requireObjectCoercible(argument));\n};\n","var isObject = require('../internals/is-object');\n\n// `ToPrimitive` abstract operation\n// https://tc39.github.io/ecma262/#sec-toprimitive\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (input, PREFERRED_STRING) {\n if (!isObject(input)) return input;\n var fn, val;\n if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;\n if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var id = 0;\nvar postfix = Math.random();\n\nmodule.exports = function (key) {\n return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);\n};\n","var NATIVE_SYMBOL = require('../internals/native-symbol');\n\nmodule.exports = NATIVE_SYMBOL\n // eslint-disable-next-line no-undef\n && !Symbol.sham\n // eslint-disable-next-line no-undef\n && typeof Symbol.iterator == 'symbol';\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar has = require('../internals/has');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!has(WellKnownSymbolsStore, name)) {\n if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name];\n else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n// Edge 14- issue\nvar USES_TO_LENGTH = arrayMethodUsesToLength('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.foreach\n$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {\n forEach: forEach\n});\n","var $ = require('../internals/export');\nvar from = require('../internals/array-from');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\n\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.github.io/ecma262/#sec-array.from\n$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {\n from: from\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n// FF49- issue\nvar USES_TO_LENGTH = arrayMethodUsesToLength('map');\n\n// `Array.prototype.map` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar isArray = require('../internals/is-array');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toLength = require('../internals/to-length');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('slice', { ACCESSORS: true, 0: 0, 1: 2 });\n\nvar SPECIES = wellKnownSymbol('species');\nvar nativeSlice = [].slice;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = toLength(O.length);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === Array || Constructor === undefined) {\n return nativeSlice.call(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","var $ = require('../internals/export');\nvar bind = require('../internals/function-bind');\n\n// `Function.prototype.bind` method\n// https://tc39.github.io/ecma262/#sec-function.prototype.bind\n$({ target: 'Function', proto: true }, {\n bind: bind\n});\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar objectDefinePropertyModile = require('../internals/object-define-property');\n\n// `Object.defineProperty` method\n// https://tc39.github.io/ecma262/#sec-object.defineproperty\n$({ target: 'Object', stat: true, forced: !DESCRIPTORS, sham: !DESCRIPTORS }, {\n defineProperty: objectDefinePropertyModile.f\n});\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/define-iterator');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.github.io/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: String(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.github.io/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return { value: undefined, done: true };\n point = charAt(string, index);\n state.index += point.length;\n return { value: point, done: false };\n});\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype;\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n}\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","class Navigation {\n constructor({\n menuId = 'am-main-menu',\n click = false\n } = {}) {\n this.menu = null\n this.menuId = menuId\n this.click = click\n this.currentItem = null\n }\n \n /**\n * \n * js is available\n * remove the no-js class from nav menu list items\n * \n */\n removeNoJs() {\n const listItems = Array.from(this.menu.querySelectorAll('.no-js'))\n listItems.map(item => item.classList.remove('no-js'))\n }\n\n /**\n * \n * Get the button element which is expanded\n * Helps with identifying the top level list item\n * \n * @return DOM element\n */\n getCurrentTopLevelItem(target) {\n if (target !== null) {\n return target.closest(`#${this.menuId} > li`)\n }\n }\n\n /**\n *\n * Manage the state of the top level item associated with targets\n * \n * @param {*} target \n * @returns {Element} the top level associated with the target\n * @memberof Navigation\n */\n toggleCurrentTopLevelItemClass(target) {\n const topLevelItems = Array.from(document.querySelectorAll(`#${this.menuId} > li`))\n return topLevelItems.map(item => {\n item.classList.remove('am-current-item')\n if (item.contains(target)) {\n item.classList.add('am-current-item')\n return item\n }\n }).filter(item => {\n if (item !== undefined) {\n return item\n }\n })[0]\n }\n\n /**\n * \n * Opens and closes submenus\n * Change the state of the aria-expanded property and submenu class\n *\n * @param {*} target DOM Node - specifically a \n * @memberof Navigation\n */\n manageSubmenuState(target) {\n const buttons = Array.from(this.menu.querySelectorAll('.am-submenu-toggle'))\n \n buttons.map(button => {\n const prevButton = button.parentElement.parentElement.previousElementSibling;\n const submenu = button.nextElementSibling\n const submenuOpenClass = 'am-submenu-list-open'\n const sameNode = button.isSameNode(target)\n const ariaExpanded = button.getAttribute('aria-expanded')\n let parentSubmenu;\n\n // if for some reason there's a button with no submenu, return immediately\n if (!submenu) return\n\n // case - clicking on a sub-submenu button which is currently NOT expanded.\n if (sameNode && ariaExpanded === 'false' && prevButton) {\n\n // find the parent submenu\n parentSubmenu = prevButton.nextElementSibling\n\n // toggle the states of the previous button and the button/target\n prevButton.setAttribute('aria-expanded', 'true');\n button.setAttribute('aria-expanded', 'true');\n\n // keep the parent submenu open\n parentSubmenu.classList.add(submenuOpenClass)\n\n // open the sub-submenu\n submenu.classList.add(submenuOpenClass)\n }\n\n // case - clicking on a sub-submenu button which is currently expanded.\n else if (sameNode && ariaExpanded === 'true' && prevButton) {\n\n // find the parent submenu\n parentSubmenu = prevButton.nextElementSibling\n\n // keep the previous button expanded and toggle the button/target\n prevButton.setAttribute('aria-expanded', 'true');\n button.setAttribute('aria-expanded', 'false');\n\n // keep the parent submenu open\n parentSubmenu.classList.add(submenuOpenClass)\n\n // close the sub-submenu\n submenu.classList.remove(submenuOpenClass)\n }\n // case - clicking on a top level button which is currently NOT expanded\n else if (sameNode && ariaExpanded === 'false') {\n // expand the button\n button.setAttribute('aria-expanded', 'true');\n // open the submenu\n submenu.classList.add(submenuOpenClass)\n }\n // case - all other buttons\n else {\n // reset aria-expanded to false\n button.setAttribute('aria-expanded', 'false')\n // close the submenu\n submenu.classList.remove(submenuOpenClass)\n }\n })\n }\n\n /**\n *\n * remove the am-submenu-list-open class from all submenus not associated with the target\n * \n * @param {object} target - the event target\n * @memberof Navigation\n */\n clearSubmenuClass(target) {\n const menuArray = Array.from(document.querySelectorAll('.am-submenu-list-open'))\n if (!target.closest('.am-submenu-toggle')) {\n menuArray.map(menu => menu.classList.remove('am-submenu-list-open'))\n }\n }\n\n /**\n *\n * set aria-expanded false on all buttons not associated with the target\n *\n * @param {object} target - the event target\n * @memberof Navigation\n */\n clearAllAriaExpanded(target) {\n const buttonArray = Array.from(document.querySelectorAll('.am-submenu-toggle'))\n if (!target.closest('.am-submenu-toggle')) {\n buttonArray.map(button => button.setAttribute('aria-expanded', 'false'))\n }\n }\n\n /**\n *\n * close all submenus and set the state of all items with aria-expanded to false\n * remove event listeners from the document\n *\n * @param {object} { target } destructured from the event object\n * @memberof Navigation\n */\n clearAll({ target }) {\n this.clearSubmenuClass(target)\n this.clearAllAriaExpanded(target)\n document.removeEventListener('click', this.clearAll.bind(this))\n document.removeEventListener('focusin', this.clearAll.bind(this))\n document.removeEventListener('keydown', this.clearAll.bind(this))\n }\n\n /**\n *\n * Remove the no-js class and attach event listeners to the menu\n * \n * @memberof Navigation\n */\n setMenuEventListeners() {\n let listeners = ['focusin', 'keydown'];\n\n if (this.click) {\n listeners.push('click');\n\n const subMenuList = [].slice.call(this.menu.querySelectorAll('.am-submenu-list'));\n\n subMenuList.forEach(menu => menu.classList.add('am-click-menu'));\n }\n\n for (let i = 0; i < listeners.length; i++) {\n this.menu.addEventListener(listeners[i], (evt) => {\n this.eventDispatcher(evt);\n });\n }\n }\n\n /**\n *\n * attach event listeners to the document\n * - click: clicks on the body clear the menu\n * - focusin: if the body gets focus, clear the menu\n * - keydown: if the escape key is pressed, clear the menu\n *\n * @param {object} target\n * @memberof Navigation\n */\n setDocumentEventListeners(target) {\n if (target.getAttribute('aria-expanded') === 'true') {\n this.clearAll = this.clearAll.bind(this)\n\n document.addEventListener('click', this.clearAll)\n\n document.addEventListener('focusin', (evt) => {\n if (!this.menu.contains(evt.target)) {\n this.clearAll({ target: document.body })\n }\n })\n \n document.addEventListener('keydown', (evt) => {\n if (evt.which === 27) {\n this.clearAll({ target: document.body })\n }\n })\n }\n }\n\n /**\n *\n * dispatch events to the correct functions.\n * types include: focusin, keydown, mousedown\n * \n * treat keydowns from the return key (13) as click events\n *\n * @param {object} evt\n * @returns void\n * @memberof Navigation\n */\n eventDispatcher(evt) {\n switch (evt.type) {\n case 'focusin':\n this.focusInHandler(evt)\n break;\n case 'click':\n this.clickHandler(evt)\n break;\n default:\n return;\n }\n }\n\n /**\n *\n * handle mousedown events by managing\n * - submenu classes\n * - aria-expanded state\n * - event listeners on the document\n * \n * @param {object} { target } destructured from the event object\n * @memberof Navigation\n */\n clickHandler({ target }) {\n if (target.localName !== 'button') return\n this.toggleCurrentTopLevelItemClass(target)\n this.manageSubmenuState(target)\n this.setDocumentEventListeners(target)\n }\n\n /**\n *\n * Handle focusin events\n * \n * @param {*} { target, relatedTarget } DOM targets \n * @memberof Navigation\n */\n focusInHandler({ target, relatedTarget }) {\n const topItem = this.toggleCurrentTopLevelItemClass(target)\n if (this.menu.contains(relatedTarget) && !topItem.contains(relatedTarget)) {\n this.clearAll({ target: document.body })\n }\n }\n\n init() {\n this.menu = document.getElementById(this.menuId)\n this.removeNoJs()\n this.setMenuEventListeners()\n }\n}\n\n/* strip-code */\nexport default Navigation;\n/* end-strip-code */"],"sourceRoot":""}
--------------------------------------------------------------------------------
/dist/Navigation.min.js:
--------------------------------------------------------------------------------
1 | var Navigation=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=49)}([function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,e(51))},function(t,n,e){var r=e(0),o=e(36),i=e(2),u=e(37),c=e(43),a=e(62),s=o("wks"),f=r.Symbol,l=a?f:f&&f.withoutSetter||u;t.exports=function(t){return i(s,t)||(c&&i(f,t)?s[t]=f[t]:s[t]=l("Symbol."+t)),s[t]}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(0),o=e(29).f,i=e(7),u=e(33),c=e(18),a=e(54),s=e(60);t.exports=function(t,n){var e,f,l,p,v,d=t.target,y=t.global,m=t.stat;if(e=y?r:m?r[d]||c(d,{}):(r[d]||{}).prototype)for(f in n){if(p=n[f],l=t.noTargetGet?(v=o(e,f))&&v.value:e[f],!s(y?f:d+(m?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(e,f,p,t)}}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(3);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,e){var r=e(6),o=e(9),i=e(10);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(5);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n,e){var r=e(6),o=e(31),i=e(8),u=e(17),c=Object.defineProperty;n.f=r?c:function(t,n,e){if(i(t),n=u(n,!0),i(e),o)try{return c(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r=e(30),o=e(16);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(24),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(6),o=e(3),i=e(2),u=Object.defineProperty,c={},a=function(t){throw t};t.exports=function(t,n){if(i(c,t))return c[t];n||(n={});var e=[][t],s=!!i(n,"ACCESSORS")&&n.ACCESSORS,f=i(n,0)?n[0]:a,l=i(n,1)?n[1]:void 0;return c[t]=!!e&&!o((function(){if(s&&!r)return!0;var t={length:-1};s?u(t,1,{enumerable:!0,get:a}):t[1]=1,e.call(t,f,l)}))}},function(t,n){t.exports={}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(5);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(0),o=e(7);t.exports=function(t,n){try{o(r,t,n)}catch(e){r[t]=n}return n}},function(t,n,e){var r=e(0),o=e(18),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,e){var r=e(36),o=e(37),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n){t.exports=!1},function(t,n){t.exports={}},function(t,n,e){var r=e(56),o=e(0),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][n]||o[t]&&o[t][n]}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,e){var r=e(40),o=e(30),i=e(27),u=e(12),c=e(61),a=[].push,s=function(t){var n=1==t,e=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l;return function(v,d,y,m){for(var h,g,b=i(v),x=o(b),S=r(d,y,3),A=u(x.length),O=0,w=m||c,L=n?w(v,A):e?w(v,0):void 0;A>O;O++)if((p||O in x)&&(g=S(h=x[O],O,b),t))if(n)L[O]=g;else if(g)switch(t){case 3:return!0;case 5:return h;case 6:return O;case 2:a.call(L,h)}else if(f)return!1;return l?-1:s||f?f:L}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},function(t,n,e){var r=e(16);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r=e(3),o=e(1),i=e(63),u=o("species");t.exports=function(t){return i>=51||!r((function(){var n=[];return(n.constructor={})[u]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},function(t,n,e){var r=e(6),o=e(52),i=e(10),u=e(11),c=e(17),a=e(2),s=e(31),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(t,n){if(t=u(t),n=c(n,!0),s)try{return f(t,n)}catch(t){}if(a(t,n))return i(!o.f.call(t,n),t[n])}},function(t,n,e){var r=e(3),o=e(15),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,n,e){var r=e(6),o=e(3),i=e(32);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n,e){var r=e(0),o=e(5),i=r.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,n,e){var r=e(0),o=e(7),i=e(2),u=e(18),c=e(34),a=e(35),s=a.get,f=a.enforce,l=String(String).split("String");(t.exports=function(t,n,e,c){var a,s=!!c&&!!c.unsafe,p=!!c&&!!c.enumerable,v=!!c&&!!c.noTargetGet;"function"==typeof e&&("string"!=typeof n||i(e,"name")||o(e,"name",n),(a=f(e)).source||(a.source=l.join("string"==typeof n?n:""))),t!==r?(s?!v&&t[n]&&(p=!0):delete t[n],p?t[n]=e:o(t,n,e)):p?t[n]=e:u(n,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},function(t,n,e){var r=e(19),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},function(t,n,e){var r,o,i,u=e(53),c=e(0),a=e(5),s=e(7),f=e(2),l=e(19),p=e(20),v=e(22),d=c.WeakMap;if(u){var y=l.state||(l.state=new d),m=y.get,h=y.has,g=y.set;r=function(t,n){return n.facade=t,g.call(y,t,n),n},o=function(t){return m.call(y,t)||{}},i=function(t){return h.call(y,t)}}else{var b=p("state");v[b]=!0,r=function(t,n){return n.facade=t,s(t,b,n),n},o=function(t){return f(t,b)?t[b]:{}},i=function(t){return f(t,b)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(n){var e;if(!a(n)||(e=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},function(t,n,e){var r=e(21),o=e(19);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.7.0",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},function(t,n,e){var r=e(2),o=e(11),i=e(58).indexOf,u=e(22);t.exports=function(t,n){var e,c=o(t),a=0,s=[];for(e in c)!r(u,e)&&r(c,e)&&s.push(e);for(;n.length>a;)r(c,e=n[a++])&&(~i(s,e)||s.push(e));return s}},function(t,n,e){var r=e(24),o=Math.max,i=Math.min;t.exports=function(t,n){var e=r(t);return e<0?o(e+n,0):i(e,n)}},function(t,n,e){var r=e(41);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 0:return function(){return t.call(n)};case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,n,e){var r=e(15);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(3);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(t,n,e){"use strict";var r=e(26).forEach,o=e(66),i=e(13),u=o("forEach"),c=i("forEach");t.exports=u&&c?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,n,e){"use strict";var r=e(17),o=e(9),i=e(10);t.exports=function(t,n,e){var u=r(n);u in t?o.f(t,u,i(0,e)):t[u]=e}},function(t,n,e){"use strict";var r,o,i,u=e(47),c=e(7),a=e(2),s=e(1),f=e(21),l=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),f||a(r,l)||c(r,l,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(t,n,e){var r=e(2),o=e(27),i=e(20),u=e(85),c=i("IE_PROTO"),a=Object.prototype;t.exports=u?Object.getPrototypeOf:function(t){return t=o(t),r(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,n,e){var r=e(9).f,o=e(2),i=e(1)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){"use strict";e.r(n);e(50),e(65),e(67),e(76),e(77),e(78),e(80),e(81),e(92);function r(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function o(t,n){for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:{},e=n.menuId,o=void 0===e?"am-main-menu":e,i=n.click,u=void 0!==i&&i;r(this,t),this.menu=null,this.menuId=o,this.click=u,this.currentItem=null}var n,e,i;return n=t,(e=[{key:"removeNoJs",value:function(){Array.from(this.menu.querySelectorAll(".no-js")).map((function(t){return t.classList.remove("no-js")}))}},{key:"getCurrentTopLevelItem",value:function(t){if(null!==t)return t.closest("#".concat(this.menuId," > li"))}},{key:"toggleCurrentTopLevelItemClass",value:function(t){return Array.from(document.querySelectorAll("#".concat(this.menuId," > li"))).map((function(n){if(n.classList.remove("am-current-item"),n.contains(t))return n.classList.add("am-current-item"),n})).filter((function(t){if(void 0!==t)return t}))[0]}},{key:"manageSubmenuState",value:function(t){Array.from(this.menu.querySelectorAll(".am-submenu-toggle")).map((function(n){var e,r=n.parentElement.parentElement.previousElementSibling,o=n.nextElementSibling,i=n.isSameNode(t),u=n.getAttribute("aria-expanded");o&&(i&&"false"===u&&r?(e=r.nextElementSibling,r.setAttribute("aria-expanded","true"),n.setAttribute("aria-expanded","true"),e.classList.add("am-submenu-list-open"),o.classList.add("am-submenu-list-open")):i&&"true"===u&&r?(e=r.nextElementSibling,r.setAttribute("aria-expanded","true"),n.setAttribute("aria-expanded","false"),e.classList.add("am-submenu-list-open"),o.classList.remove("am-submenu-list-open")):i&&"false"===u?(n.setAttribute("aria-expanded","true"),o.classList.add("am-submenu-list-open")):(n.setAttribute("aria-expanded","false"),o.classList.remove("am-submenu-list-open")))}))}},{key:"clearSubmenuClass",value:function(t){var n=Array.from(document.querySelectorAll(".am-submenu-list-open"));t.closest(".am-submenu-toggle")||n.map((function(t){return t.classList.remove("am-submenu-list-open")}))}},{key:"clearAllAriaExpanded",value:function(t){var n=Array.from(document.querySelectorAll(".am-submenu-toggle"));t.closest(".am-submenu-toggle")||n.map((function(t){return t.setAttribute("aria-expanded","false")}))}},{key:"clearAll",value:function(t){var n=t.target;this.clearSubmenuClass(n),this.clearAllAriaExpanded(n),document.removeEventListener("click",this.clearAll.bind(this)),document.removeEventListener("focusin",this.clearAll.bind(this)),document.removeEventListener("keydown",this.clearAll.bind(this))}},{key:"setMenuEventListeners",value:function(){var t=this,n=["focusin","keydown"];this.click&&(n.push("click"),[].slice.call(this.menu.querySelectorAll(".am-submenu-list")).forEach((function(t){return t.classList.add("am-click-menu")})));for(var e=0;e1?arguments[1]:void 0)}})},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:r},function(t,n,e){var r=e(0),o=e(34),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,n,e){var r=e(2),o=e(55),i=e(29),u=e(9);t.exports=function(t,n){for(var e=o(n),c=u.f,a=i.f,s=0;sf;)if((c=a[f++])!=c)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===e)return t||f||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(3),o=/#|\.prototype\./,i=function(t,n){var e=c[u(t)];return e==s||e!=a&&("function"==typeof n?r(n):!!n)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},a=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},function(t,n,e){var r=e(5),o=e(42),i=e(1)("species");t.exports=function(t,n){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)?r(e)&&null===(e=e[i])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===n?0:n)}},function(t,n,e){var r=e(43);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,e){var r,o,i=e(0),u=e(64),c=i.process,a=c&&c.versions,s=a&&a.v8;s?o=(r=s.split("."))[0]+r[1]:u&&(!(r=u.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=u.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},function(t,n,e){var r=e(23);t.exports=r("navigator","userAgent")||""},function(t,n,e){"use strict";var r=e(4),o=e(44);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,n,e){"use strict";var r=e(3);t.exports=function(t,n){var e=[][t];return!!e&&r((function(){e.call(null,n||function(){throw 1},1)}))}},function(t,n,e){var r=e(4),o=e(68);r({target:"Array",stat:!0,forced:!e(75)((function(t){Array.from(t)}))},{from:o})},function(t,n,e){"use strict";var r=e(40),o=e(27),i=e(69),u=e(71),c=e(12),a=e(45),s=e(72);t.exports=function(t){var n,e,f,l,p,v,d=o(t),y="function"==typeof this?this:Array,m=arguments.length,h=m>1?arguments[1]:void 0,g=void 0!==h,b=s(d),x=0;if(g&&(h=r(h,m>2?arguments[2]:void 0,2)),null==b||y==Array&&u(b))for(e=new y(n=c(d.length));n>x;x++)v=g?h(d[x],x):d[x],a(e,x,v);else for(p=(l=b.call(d)).next,e=new y;!(f=p.call(l)).done;x++)v=g?i(l,h,[f.value,x],!0):f.value,a(e,x,v);return e.length=x,e}},function(t,n,e){var r=e(8),o=e(70);t.exports=function(t,n,e,i){try{return i?n(r(e)[0],e[1]):n(e)}catch(n){throw o(t),n}}},function(t,n,e){var r=e(8);t.exports=function(t){var n=t.return;if(void 0!==n)return r(n.call(t)).value}},function(t,n,e){var r=e(1),o=e(14),i=r("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[i]===t)}},function(t,n,e){var r=e(73),o=e(14),i=e(1)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,n,e){var r=e(74),o=e(15),i=e(1)("toStringTag"),u="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),i))?e:u?o(n):"Object"==(r=o(n))&&"function"==typeof n.callee?"Arguments":r}},function(t,n,e){var r={};r[e(1)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,n,e){var r=e(1)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[r]=function(){return this},Array.from(u,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i={};i[r]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}},function(t,n,e){"use strict";var r=e(4),o=e(26).map,i=e(28),u=e(13),c=i("map"),a=u("map");r({target:"Array",proto:!0,forced:!c||!a},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,n,e){"use strict";var r=e(4),o=e(5),i=e(42),u=e(39),c=e(12),a=e(11),s=e(45),f=e(1),l=e(28),p=e(13),v=l("slice"),d=p("slice",{ACCESSORS:!0,0:0,1:2}),y=f("species"),m=[].slice,h=Math.max;r({target:"Array",proto:!0,forced:!v||!d},{slice:function(t,n){var e,r,f,l=a(this),p=c(l.length),v=u(t,p),d=u(void 0===n?p:n,p);if(i(l)&&("function"!=typeof(e=l.constructor)||e!==Array&&!i(e.prototype)?o(e)&&null===(e=e[y])&&(e=void 0):e=void 0,e===Array||void 0===e))return m.call(l,v,d);for(r=new(void 0===e?Array:e)(h(d-v,0)),f=0;v=e.length?{value:void 0,done:!0}:(t=r(e,o),n.index+=t.length,{value:t,done:!1})}))},function(t,n,e){var r=e(24),o=e(16),i=function(t){return function(n,e){var i,u,c=String(o(n)),a=r(e),s=c.length;return a<0||a>=s?t?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===s||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,n,e){"use strict";var r=e(4),o=e(84),i=e(47),u=e(90),c=e(48),a=e(7),s=e(33),f=e(1),l=e(21),p=e(14),v=e(46),d=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,m=f("iterator"),h=function(){return this};t.exports=function(t,n,e,f,v,g,b){o(e,n,f);var x,S,A,O=function(t){if(t===v&&k)return k;if(!y&&t in E)return E[t];switch(t){case"keys":case"values":case"entries":return function(){return new e(this,t)}}return function(){return new e(this)}},w=n+" Iterator",L=!1,E=t.prototype,j=E[m]||E["@@iterator"]||v&&E[v],k=!y&&j||O(v),T="Array"==n&&E.entries||j;if(T&&(x=i(T.call(new t)),d!==Object.prototype&&x.next&&(l||i(x)===d||(u?u(x,d):"function"!=typeof x[m]&&a(x,m,h)),c(x,w,!0,!0),l&&(p[w]=h))),"values"==v&&j&&"values"!==j.name&&(L=!0,k=function(){return j.call(this)}),l&&!b||E[m]===k||a(E,m,k),p[n]=k,v)if(S={values:O("values"),keys:g?k:O("keys"),entries:O("entries")},b)for(A in S)(y||L||!(A in E))&&s(E,A,S[A]);else r({target:n,proto:!0,forced:y||L},S);return S}},function(t,n,e){"use strict";var r=e(46).IteratorPrototype,o=e(86),i=e(10),u=e(48),c=e(14),a=function(){return this};t.exports=function(t,n,e){var s=n+" Iterator";return t.prototype=o(r,{next:i(1,e)}),u(t,s,!1,!0),c[s]=a,t}},function(t,n,e){var r=e(3);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,n,e){var r,o=e(8),i=e(87),u=e(25),c=e(22),a=e(89),s=e(32),f=e(20),l=f("IE_PROTO"),p=function(){},v=function(t){return"
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |