diff --git a/assets-src/js/multiselect-module.js b/assets-src/js/multiselect-module.js index fb7a5b62..dc519384 100644 --- a/assets-src/js/multiselect-module.js +++ b/assets-src/js/multiselect-module.js @@ -193,7 +193,7 @@ const MultiselectButtons = function (selectEl, params) { ulCombo.setAttribute('aria-multiselectable', 'true'); ulCombo.id = baseId + '-listbox'; ulCombo.setAttribute('aria-labelledby', baseId + '-label'); - ulCombo.classList.add('combo-menu'); + ulCombo.classList.add('combo-menu', 'clean-list'); div.appendChild(divComboBox); div.appendChild(ulCombo); diff --git a/assets-src/js/slider.js b/assets-src/js/slider.js index 4a4125a0..bfd583bb 100644 --- a/assets-src/js/slider.js +++ b/assets-src/js/slider.js @@ -66,7 +66,7 @@ let contentSlider = (function () { function createControls() { let controls = document.createElement('ul'); - controls.setAttribute('class', 'slider-controls'); + controls.setAttribute('class', 'clean-list slider-controls'); controls.setAttribute('aria-label', controlsDescription); controls.innerHTML = '
  • ' + '
  • '; diff --git a/assets-src/styles/sass/50-core-components/_evangelists.scss b/assets-src/styles/sass/50-core-components/_evangelists.scss index deb981c0..dc6c5019 100644 --- a/assets-src/styles/sass/50-core-components/_evangelists.scss +++ b/assets-src/styles/sass/50-core-components/_evangelists.scss @@ -45,6 +45,10 @@ padding-right: rem(24); } + .l-box { + padding: rem(24); + } + li + li { border-top: solid 1px #649bc5; } diff --git a/public/dist/assets/js/multiselect.js b/public/dist/assets/js/multiselect.js index 39e1742f..71b08c2a 100644 --- a/public/dist/assets/js/multiselect.js +++ b/public/dist/assets/js/multiselect.js @@ -151,15 +151,15 @@ const MultiselectButtons = function (selectEl, params) { selectEl.parentNode.appendChild(span); // hide the original label/hint and create new ones for the new combobox - const selectLabel = document.querySelector("label[for=".concat(selectEl.id, "]")); + const selectLabel = document.querySelector(`label[for=${selectEl.id}]`); selectLabel.hidden = true; - const selectHint = document.querySelector("#hint-".concat(selectEl.id)); + const selectHint = document.querySelector(`#hint-${selectEl.id}`); if (selectHint) { selectHint.hidden = true; } const div = document.createElement('div'); div.classList.add('combo'); - div.id = "".concat(selectEl.id, "-js-multi-buttons"); + div.id = `${selectEl.id}-js-multi-buttons`; const divComboBox = document.createElement('div'); divComboBox.setAttribute('role', 'combobox'); divComboBox.setAttribute('aria-haspopup', 'listbox'); @@ -172,7 +172,7 @@ const MultiselectButtons = function (selectEl, params) { input.setAttribute('aria-controls', baseId + '-listbox'); input.id = baseId + "-input"; if (selectHint) { - input.setAttribute('aria-describedby', "hint-".concat(input.id)); + input.setAttribute('aria-describedby', `hint-${input.id}`); } input.classList.add('combo-input'); input.setAttribute('autocomplete', 'off'); @@ -191,14 +191,14 @@ const MultiselectButtons = function (selectEl, params) { const hintComboBox = selectHint ? selectHint.cloneNode(true) : null; if (selectHint) { hintComboBox.hidden = false; - hintComboBox.id = "hint-".concat(input.id); + hintComboBox.id = `hint-${input.id}`; } const ulCombo = document.createElement('ul'); ulCombo.setAttribute('role', 'listbox'); ulCombo.setAttribute('aria-multiselectable', 'true'); ulCombo.id = baseId + '-listbox'; ulCombo.setAttribute('aria-labelledby', baseId + '-label'); - ulCombo.classList.add('combo-menu'); + ulCombo.classList.add('combo-menu', 'clean-list'); div.appendChild(divComboBox); div.appendChild(ulCombo); if (selectEl.multiple) { @@ -248,12 +248,12 @@ const MultiselectButtons = function (selectEl, params) { const listItem = document.createElement('li'); buttonEl.className = 'remove-option'; buttonEl.type = 'button'; - buttonEl.id = "".concat(this.idBase, "-remove-").concat(index); + buttonEl.id = `${this.idBase}-remove-${index}`; buttonEl.dataset.value = option.value; buttonEl.addEventListener('click', () => { this.removeOption(option); }); - buttonEl.innerHTML = "Remove ".concat(option.text, " "); + buttonEl.innerHTML = `Remove ${option.text} `; listItem.appendChild(buttonEl); this.selectedEl.appendChild(listItem); } else { @@ -281,7 +281,7 @@ MultiselectButtons.prototype.init = function () { hint = document.createElement('li'); hint.setAttribute('role', 'alert'); } - hint.innerText = "Please enter ".concat(this.minInput, " or more characters"); + hint.innerText = `Please enter ${this.minInput} or more characters`; if (!alreadyExists) { this.listboxEl.prepend(hint); } @@ -320,7 +320,7 @@ MultiselectButtons.prototype.filterOptions = async function (value) { optionEl.setAttribute('aria-setsize', count); optionEl.setAttribute('aria-posinset', k + 1); } - optionEl.id = "".concat(this.idBase, "-").concat(this.options.indexOf(o)); + optionEl.id = `${this.idBase}-${this.options.indexOf(o)}`; optionEl.className = 'combo-option'; optionEl.setAttribute('aria-selected', alreadySelected); optionEl.dataset.value = o.value; @@ -356,7 +356,7 @@ MultiselectButtons.prototype.filterOptions = async function (value) { }; MultiselectButtons.prototype.updateResults = async function () { const url = new URL(this.source, window.location.protocol + '//' + window.location.host); - url.search = "".concat(url.search ? url.search + '&' : '?', "q=").concat(this.inputEl.value, "&page=").concat(this.page); + url.search = `${url.search ? url.search + '&' : '?'}q=${this.inputEl.value}&page=${this.page}`; const response = await fetch(url); const data = await response.json(); if (this.page === 1) { @@ -364,7 +364,7 @@ MultiselectButtons.prototype.updateResults = async function () { } data.results.forEach(c => { this.ajaxResultCount = data.total; - if (!this.select.querySelector("option[value=\"".concat(c.id, "\"]"))) { + if (!this.select.querySelector(`option[value="${c.id}"]`)) { const o = document.createElement('option'); o.value = c.id; o.innerText = c.text; @@ -395,11 +395,10 @@ MultiselectButtons.prototype.onInput = async function () { await this.updateResults(); hint.remove(); } else { - var _hint; this.clearOptions(); - (_hint = hint) !== null && _hint !== void 0 ? _hint : hint = document.createElement('li'); + hint ??= document.createElement('li'); hint.setAttribute('role', 'alert'); - hint.innerText = "Please enter ".concat(this.minInput, " or more characters"); + hint.innerText = `Please enter ${this.minInput} or more characters`; this.listboxEl.prepend(hint); showHint = true; } @@ -467,11 +466,11 @@ MultiselectButtons.prototype.onInputBlur = function () { }; MultiselectButtons.prototype.onOptionChange = function (index) { this.activeIndex = index; - this.inputEl.setAttribute('aria-activedescendant', "".concat(this.idBase, "-").concat(index)); + this.inputEl.setAttribute('aria-activedescendant', `${this.idBase}-${index}`); // update active style const options = this.el.querySelectorAll('[role=option]'); - const currentOptions = this.el.querySelector("[id=".concat(this.idBase, "-").concat(index, "]")); + const currentOptions = this.el.querySelector(`[id=${this.idBase}-${index}]`); [...options].forEach(optionEl => { optionEl.classList.remove('option-current'); }); @@ -502,7 +501,7 @@ MultiselectButtons.prototype.removeOption = function (option) { // const index = this.options.indexOf(option); // update aria-selected - const o = this.el.querySelector("[data-value=\"".concat(option.value, "\"]")); + const o = this.el.querySelector(`[data-value="${option.value}"]`); if (o) { o.setAttribute('aria-selected', 'false'); o.classList.remove('option-selected'); @@ -510,7 +509,7 @@ MultiselectButtons.prototype.removeOption = function (option) { // remove button if (this.selectedEl) { - const buttonEl = this.selectedEl.querySelector("[data-value=\"".concat(option.value, "\"]")); + const buttonEl = this.selectedEl.querySelector(`[data-value="${option.value}"]`); this.selectedEl.removeChild(buttonEl.parentElement); } this.select.querySelector('option[value="' + option.value + '"]').removeAttribute('selected'); @@ -521,7 +520,7 @@ MultiselectButtons.prototype.selectOption = function (option) { this.activeIndex = index; // update aria-selected - const o = this.el.querySelector("[id=".concat(this.idBase, "-").concat(index, "]")); + const o = this.el.querySelector(`[id=${this.idBase}-${index}]`); o.setAttribute('aria-selected', 'true'); o.classList.add('option-selected'); @@ -530,7 +529,7 @@ MultiselectButtons.prototype.selectOption = function (option) { const listItem = document.createElement('li'); buttonEl.className = 'remove-option'; buttonEl.type = 'button'; - buttonEl.id = "".concat(this.idBase, "-remove-").concat(index); + buttonEl.id = `${this.idBase}-remove-${index}`; buttonEl.dataset.value = selected.value; buttonEl.addEventListener('click', () => { const sibling = listItem.nextSibling; @@ -541,7 +540,7 @@ MultiselectButtons.prototype.selectOption = function (option) { this.inputEl.focus(); } }); - buttonEl.innerHTML = "Remove ".concat(selected.text, " "); + buttonEl.innerHTML = `Remove ${selected.text} `; listItem.appendChild(buttonEl); if (this.select.multiple) { this.selectedEl.appendChild(listItem); @@ -552,7 +551,7 @@ MultiselectButtons.prototype.selectOption = function (option) { this.select.querySelector('option[value="' + option.value + '"]').setAttribute('selected', 'selected'); }; MultiselectButtons.prototype.updateOption = function (index) { - const optionEl = this.el.querySelector("[id=".concat(this.idBase, "-").concat(index, "]")); + const optionEl = this.el.querySelector(`[id=${this.idBase}-${index}]`); const isSelected = optionEl.getAttribute('aria-selected') === 'true'; this.inputEl.value = ''; if (isSelected) { @@ -567,7 +566,7 @@ MultiselectButtons.prototype.updateOption = function (index) { }; MultiselectButtons.prototype.updateMenuState = function (open) { this.open = open; - this.comboEl.setAttribute('aria-expanded', "".concat(open)); + this.comboEl.setAttribute('aria-expanded', `${open}`); open ? this.el.classList.add('open') : this.el.classList.remove('open'); }; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MultiselectButtons); diff --git a/public/dist/assets/js/multiselect.min.js b/public/dist/assets/js/multiselect.min.js index b6c9c4ac..92e33370 100644 --- a/public/dist/assets/js/multiselect.min.js +++ b/public/dist/assets/js/multiselect.min.js @@ -1 +1 @@ -(()=>{var t=Array(21).concat([(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>o}),r(22);const n="ArrowDown",i=function(t,e){const r=t.id;t.hidden=!0;let n=[],i=[];t.querySelectorAll("option").forEach((t=>{const e={value:t.value,text:t.textContent,ariaLabel:t.getAttribute("aria-label")};t.disabled||n.push(e),t.defaultSelected&&i.push(t.value)}));const o=document.createElement("span");o.id=r+"-remove",o.innerText="remove",o.style.display="none",t.parentNode.appendChild(o);const u=document.querySelector("label[for=".concat(t.id,"]"));u.hidden=!0;const a=document.querySelector("#hint-".concat(t.id));a&&(a.hidden=!0);const s=document.createElement("div");s.classList.add("combo"),s.id="".concat(t.id,"-js-multi-buttons");const c=document.createElement("div");c.setAttribute("role","combobox"),c.setAttribute("aria-haspopup","listbox"),c.setAttribute("aria-expanded","false"),c.setAttribute("aria-owns",r+"-listbox"),c.classList.add("input-wrapper");const f=document.createElement("input");f.setAttribute("aria-activedescendant",""),f.setAttribute("aria-autocomplete","list"),f.setAttribute("aria-controls",r+"-listbox"),f.id=r+"-input",a&&f.setAttribute("aria-describedby","hint-".concat(f.id)),f.classList.add("combo-input"),f.setAttribute("autocomplete","off"),f.setAttribute("type","text"),t.dataset.placeholder&&f.setAttribute("placeholder",t.dataset.placeholder),f.style.backgroundImage='url("https://www.w3.org/assets/website-2021/svg/search.svg")',f.style.backgroundRepeat="no-repeat",f.style.backgroundPosition="center right 0.625rem",f.style.backgroundSize="0.9375rem",c.appendChild(f);const l=document.createElement("label");l.setAttribute("for",f.id),l.innerHTML=u.innerHTML;const h=a?a.cloneNode(!0):null;a&&(h.hidden=!1,h.id="hint-".concat(f.id));const p=document.createElement("ul");if(p.setAttribute("role","listbox"),p.setAttribute("aria-multiselectable","true"),p.id=r+"-listbox",p.setAttribute("aria-labelledby",r+"-label"),p.classList.add("combo-menu"),s.appendChild(c),s.appendChild(p),t.multiple){const e=document.createElement("ul");e.id=r+"-selected",e.classList.add("selected-options"),t.parentNode.insertBefore(e,t.parentNode.firstChild),this.selectedEl=e}t.parentNode.insertBefore(s,t.parentNode.firstChild),h&&t.parentNode.insertBefore(h,t.parentNode.firstChild),t.parentNode.insertBefore(l,t.parentNode.firstChild),this.select=t,this.el=s,this.comboEl=s.querySelector("[role=combobox]"),this.inputEl=s.querySelector("input"),this.listboxEl=s.querySelector("[role=listbox]"),this.idBase=this.inputEl.id,this.options=n,this.filteredOptions=n,this.source=e.source,this.minInput=e.minInput||2,this.page=1,this.morePages=!1,this.ajaxResultCount,this.searchStart="off"!==e.searchStart,this.searchTextOnly="off"!==e.searchTextOnly,this.activeIndex=0,this.open=!1,i.forEach((e=>{const r=this.options.find((t=>t.value===e));if(t.multiple){const t=this.options.indexOf(r),e=document.createElement("button"),n=document.createElement("li");e.className="remove-option",e.type="button",e.id="".concat(this.idBase,"-remove-").concat(t),e.dataset.value=r.value,e.addEventListener("click",(()=>{this.removeOption(r)})),e.innerHTML='Remove '.concat(r.text," "),n.appendChild(e),this.selectedEl.appendChild(n)}else this.inputEl.value=r.text}))};i.prototype.init=function(){const t=this;let e=null;this.inputEl.addEventListener("input",(async()=>{this.source&&(clearTimeout(e),await new Promise((t=>e=setTimeout(t,500)))),t.onInput()})),this.inputEl.addEventListener("blur",this.onInputBlur.bind(this)),this.inputEl.addEventListener("focus",(()=>{if(this.source){let t=this.listboxEl.querySelector("li[role=alert]");const e=!!t;t||(t=document.createElement("li"),t.setAttribute("role","alert")),t.innerText="Please enter ".concat(this.minInput," or more characters"),e||this.listboxEl.prepend(t)}this.updateMenuState(!0)})),this.inputEl.addEventListener("keydown",this.onInputKeyDown.bind(this))},i.prototype.filterOptions=async function(t){if(t){this.clearOptions();const e=[...this.select.querySelectorAll("option:checked")].map((t=>t.innerText));this.filteredOptions=this.source?this.options:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return t.filter((t=>{const i=t.text.toLowerCase(),o=t.value.toLowerCase();return n?r?i.startsWith(e.toLowerCase()):i.includes(e.toLowerCase()):r?i.startsWith(e.toLowerCase())||o.startsWith(e.toLowerCase()):i.includes(e.toLowerCase())||o.includes(e.toLowerCase())}))}(this.options,t,this.searchStart,this.searchTextOnly);const r=this.source?this.ajaxResultCount:this.filteredOptions.length,n=document.createDocumentFragment();this.filteredOptions.forEach(((i,o)=>{const u=e.includes(i.text),a=document.createElement("li");if(a.setAttribute("role","option"),r&&(a.setAttribute("aria-setsize",r),a.setAttribute("aria-posinset",o+1)),a.id="".concat(this.idBase,"-").concat(this.options.indexOf(i)),a.className="combo-option",a.setAttribute("aria-selected",u),a.dataset.value=i.value,a.innerText=i.text,i.ariaLabel&&a.setAttribute("aria-label",i.ariaLabel),u&&a.classList.add("option-selected"),a.addEventListener("click",(()=>{this.onOptionClick(this.options.indexOf(i))})),a.addEventListener("mousedown",this.onOptionMouseDown.bind(this)),n.appendChild(a),this.source&&this.morePages&&i===this.filteredOptions[this.filteredOptions.length-1]){const e=document.createElement("li");e.setAttribute("role","alert"),e.innerText="Loading more results",n.appendChild(e),s=this.listboxEl,c=a,f=async r=>{r&&(this.page++,await this.updateResults(),this.filterOptions(t),e.remove())},new IntersectionObserver(((t,e)=>{t.forEach((t=>{f(t.isIntersecting)}))}),{root:s,threshold:.5}).observe(c)}var s,c,f})),this.listboxEl.appendChild(n)}},i.prototype.updateResults=async function(){const t=new URL(this.source,window.location.protocol+"//"+window.location.host);t.search="".concat(t.search?t.search+"&":"?","q=").concat(this.inputEl.value,"&page=").concat(this.page);const e=await fetch(t),r=await e.json();1===this.page&&(this.options=[]),r.results.forEach((t=>{if(this.ajaxResultCount=r.total,!this.select.querySelector('option[value="'.concat(t.id,'"]'))){const e=document.createElement("option");e.value=t.id,e.innerText=t.text,this.select.appendChild(e)}const e={value:t.id,text:t.text};-1===this.options.indexOf(e)&&this.options.push(e)})),this.morePages=r.more||!1},i.prototype.onInput=async function(){const t=this.inputEl.value;let e=!1,r=this.listboxEl.querySelector("li[role=alert]");if(this.page=1,t){var n;this.source&&(t.length>=this.minInput?(r||(r=document.createElement("li"),r.setAttribute("role","alert")),r.innerText="Loading results",this.listboxEl.prepend(r),await this.updateResults(),r.remove()):(this.clearOptions(),null!==(n=r)&&void 0!==n||(r=document.createElement("li")),r.setAttribute("role","alert"),r.innerText="Please enter ".concat(this.minInput," or more characters"),this.listboxEl.prepend(r),e=!0)),(!this.source||this.source&&t.length>=this.minInput)&&this.filterOptions(t);const i=this.filteredOptions.length>0||e;this.open!==i&&this.updateMenuState(i)}else this.clearOptions()},i.prototype.onInputKeyDown=function(t){const{key:e}=t,r=this.filteredOptions.length-1,i=this.filteredOptions.indexOf(this.options[this.activeIndex]),o=function(t,e){return e||t!==n?t===n?4:"ArrowUp"===t?6:"Home"===t?2:"End"===t?3:"Escape"===t?0:"Enter"===t?1:"Backspace"===t||"Clear"===t||1===t.length?9:void 0:5}(e,this.open);switch(o){case 4:case 3:case 2:case 6:t.preventDefault();const e=function(t,e,r){switch(r){case 2:return 0;case 3:return e;case 6:return Math.max(0,t-1);case 4:return Math.min(e,t+1);default:return t}}(i,r,o),n=this.options.indexOf(this.filteredOptions[e]);return this.onOptionChange(n);case 1:return t.preventDefault(),this.onOptionClick(this.activeIndex);case 0:return t.preventDefault(),this.updateMenuState(!1);case 5:return this.updateMenuState(!0)}},i.prototype.onInputBlur=function(){if(this.ignoreBlur)this.ignoreBlur=!1;else{if(this.inputEl.value="",!this.select.multiple){const t=this.select.querySelector("option:checked");t&&(this.inputEl.value=t.innerText)}""===this.inputEl.value&&this.clearOptions(),this.open&&this.updateMenuState(!1)}},i.prototype.onOptionChange=function(t){this.activeIndex=t,this.inputEl.setAttribute("aria-activedescendant","".concat(this.idBase,"-").concat(t));const e=this.el.querySelectorAll("[role=option]"),r=this.el.querySelector("[id=".concat(this.idBase,"-").concat(t,"]"));var n;[...e].forEach((t=>{t.classList.remove("option-current")})),r&&(r.classList.add("option-current"),this.open&&(n=this.listboxEl)&&n.clientHeighto+i;n{t.remove()}))},i.prototype.onOptionClick=function(t){this.updateOption(t),this.clearOptions(),this.updateMenuState(!1),this.inputEl.focus()},i.prototype.onOptionMouseDown=function(){this.ignoreBlur=!0},i.prototype.removeOption=function(t){const e=this.el.querySelector('[data-value="'.concat(t.value,'"]'));if(e&&(e.setAttribute("aria-selected","false"),e.classList.remove("option-selected")),this.selectedEl){const e=this.selectedEl.querySelector('[data-value="'.concat(t.value,'"]'));this.selectedEl.removeChild(e.parentElement)}this.select.querySelector('option[value="'+t.value+'"]').removeAttribute("selected")},i.prototype.selectOption=function(t){const e=this.options.indexOf(t),r=this.options[e];this.activeIndex=e;const n=this.el.querySelector("[id=".concat(this.idBase,"-").concat(e,"]"));n.setAttribute("aria-selected","true"),n.classList.add("option-selected");const i=document.createElement("button"),o=document.createElement("li");if(i.className="remove-option",i.type="button",i.id="".concat(this.idBase,"-remove-").concat(e),i.dataset.value=r.value,i.addEventListener("click",(()=>{const e=o.nextSibling;this.removeOption(t),e?siblling.firstChild.focus():this.inputEl.focus()})),i.innerHTML='Remove '.concat(r.text," "),o.appendChild(i),this.select.multiple)this.selectedEl.appendChild(o);else{const t=this.select.querySelector("option[selected]");t&&t.removeAttribute("selected")}this.select.querySelector('option[value="'+t.value+'"]').setAttribute("selected","selected")},i.prototype.updateOption=function(t){const e="true"===this.el.querySelector("[id=".concat(this.idBase,"-").concat(t,"]")).getAttribute("aria-selected");this.inputEl.value="",e?this.removeOption(this.options[t]):(this.selectOption(this.options[t]),this.select.multiple||(this.inputEl.value=this.options[t].text)),this.filterOptions("")},i.prototype.updateMenuState=function(t){this.open=t,this.comboEl.setAttribute("aria-expanded","".concat(t)),t?this.el.classList.add("open"):this.el.classList.remove("open")};const o=i},(t,e,r)=>{"use strict";if(r(23),r(349),r(350),r.g._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");function n(t,e,r){t[e]||Object.defineProperty(t,e,{writable:!0,configurable:!0,value:r})}r.g._babelPolyfill=!0,n(String.prototype,"padLeft","".padStart),n(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach((function(t){[][t]&&n(Array,t,Function.call.bind([][t]))}))},(t,e,r)=>{r(24),r(74),r(75),r(76),r(77),r(79),r(81),r(82),r(83),r(84),r(85),r(86),r(87),r(88),r(89),r(91),r(93),r(95),r(97),r(100),r(101),r(102),r(106),r(108),r(110),r(113),r(114),r(115),r(116),r(118),r(119),r(120),r(121),r(122),r(123),r(124),r(126),r(127),r(128),r(130),r(131),r(132),r(134),r(136),r(137),r(138),r(139),r(140),r(141),r(142),r(143),r(144),r(145),r(146),r(147),r(148),r(153),r(154),r(158),r(159),r(160),r(161),r(163),r(164),r(165),r(166),r(167),r(168),r(169),r(170),r(171),r(172),r(173),r(174),r(175),r(176),r(177),r(179),r(180),r(182),r(183),r(189),r(190),r(192),r(193),r(194),r(198),r(199),r(200),r(201),r(202),r(204),r(205),r(206),r(207),r(210),r(212),r(213),r(214),r(216),r(218),r(220),r(222),r(223),r(224),r(228),r(229),r(230),r(232),r(242),r(246),r(247),r(249),r(250),r(254),r(255),r(257),r(258),r(259),r(260),r(261),r(262),r(263),r(264),r(265),r(266),r(267),r(268),r(269),r(270),r(271),r(272),r(273),r(274),r(275),r(277),r(278),r(279),r(280),r(281),r(283),r(284),r(285),r(287),r(288),r(289),r(290),r(291),r(292),r(293),r(294),r(296),r(297),r(299),r(300),r(301),r(302),r(305),r(306),r(308),r(309),r(310),r(311),r(313),r(314),r(315),r(316),r(317),r(318),r(319),r(320),r(321),r(322),r(324),r(325),r(326),r(327),r(328),r(329),r(330),r(331),r(332),r(333),r(334),r(336),r(337),r(338),r(339),r(340),r(341),r(342),r(343),r(344),r(345),r(346),r(347),r(348),t.exports=r(30)},(t,e,r)=>{"use strict";var n=r(25),i=r(26),o=r(27),u=r(29),a=r(39),s=r(46).KEY,c=r(28),f=r(42),l=r(47),h=r(40),p=r(48),v=r(49),d=r(50),g=r(51),y=r(66),m=r(33),b=r(34),x=r(67),S=r(54),w=r(37),E=r(38),_=r(68),O=r(71),M=r(73),A=r(64),P=r(32),F=r(52),I=M.f,L=P.f,j=O.f,N=n.Symbol,T=n.JSON,R=T&&T.stringify,k="prototype",C=p("_hidden"),D=p("toPrimitive"),B={}.propertyIsEnumerable,W=f("symbol-registry"),G=f("symbols"),U=f("op-symbols"),V=Object[k],q="function"==typeof N&&!!A.f,z=n.QObject,H=!z||!z[k]||!z[k].findChild,K=o&&c((function(){return 7!=_(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=I(V,e);n&&delete V[e],L(t,e,r),n&&t!==V&&L(V,e,n)}:L,Y=function(t){var e=G[t]=_(N[k]);return e._k=t,e},$=q&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},J=function(t,e,r){return t===V&&J(U,e,r),m(t),e=w(e,!0),m(r),i(G,e)?(r.enumerable?(i(t,C)&&t[C][e]&&(t[C][e]=!1),r=_(r,{enumerable:E(0,!1)})):(i(t,C)||L(t,C,E(1,{})),t[C][e]=!0),K(t,e,r)):L(t,e,r)},X=function(t,e){m(t);for(var r,n=g(e=S(e)),i=0,o=n.length;o>i;)J(t,r=n[i++],e[r]);return t},Z=function(t){var e=B.call(this,t=w(t,!0));return!(this===V&&i(G,t)&&!i(U,t))&&(!(e||!i(this,t)||!i(G,t)||i(this,C)&&this[C][t])||e)},Q=function(t,e){if(t=S(t),e=w(e,!0),t!==V||!i(G,e)||i(U,e)){var r=I(t,e);return!r||!i(G,e)||i(t,C)&&t[C][e]||(r.enumerable=!0),r}},tt=function(t){for(var e,r=j(S(t)),n=[],o=0;r.length>o;)i(G,e=r[o++])||e==C||e==s||n.push(e);return n},et=function(t){for(var e,r=t===V,n=j(r?U:S(t)),o=[],u=0;n.length>u;)!i(G,e=n[u++])||r&&!i(V,e)||o.push(G[e]);return o};q||(a((N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(r){this===V&&e.call(U,r),i(this,C)&&i(this[C],t)&&(this[C][t]=!1),K(this,t,E(1,r))};return o&&H&&K(V,t,{configurable:!0,set:e}),Y(t)})[k],"toString",(function(){return this._k})),M.f=Q,P.f=J,r(72).f=O.f=tt,r(65).f=Z,A.f=et,o&&!r(43)&&a(V,"propertyIsEnumerable",Z,!0),v.f=function(t){return Y(p(t))}),u(u.G+u.W+u.F*!q,{Symbol:N});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;rt.length>nt;)p(rt[nt++]);for(var it=F(p.store),ot=0;it.length>ot;)d(it[ot++]);u(u.S+u.F*!q,"Symbol",{for:function(t){return i(W,t+="")?W[t]:W[t]=N(t)},keyFor:function(t){if(!$(t))throw TypeError(t+" is not a symbol!");for(var e in W)if(W[e]===t)return e},useSetter:function(){H=!0},useSimple:function(){H=!1}}),u(u.S+u.F*!q,"Object",{create:function(t,e){return void 0===e?_(t):X(_(t),e)},defineProperty:J,defineProperties:X,getOwnPropertyDescriptor:Q,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var ut=c((function(){A.f(1)}));u(u.S+u.F*ut,"Object",{getOwnPropertySymbols:function(t){return A.f(x(t))}}),T&&u(u.S+u.F*(!q||c((function(){var t=N();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))}))),"JSON",{stringify:function(t){for(var e,r,n=[t],i=1;arguments.length>i;)n.push(arguments[i++]);if(r=e=n[1],(b(e)||void 0!==t)&&!$(t))return y(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!$(e))return e}),n[1]=e,R.apply(T,n)}}),N[k][D]||r(31)(N[k],D,N[k].valueOf),l(N,"Symbol"),l(Math,"Math",!0),l(n.JSON,"JSON",!0)},t=>{var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},t=>{var e={}.hasOwnProperty;t.exports=function(t,r){return e.call(t,r)}},(t,e,r)=>{t.exports=!r(28)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},(t,e,r)=>{var n=r(25),i=r(30),o=r(31),u=r(39),a=r(44),s="prototype",c=function(t,e,r){var f,l,h,p,v=t&c.F,d=t&c.G,g=t&c.S,y=t&c.P,m=t&c.B,b=d?n:g?n[e]||(n[e]={}):(n[e]||{})[s],x=d?i:i[e]||(i[e]={}),S=x[s]||(x[s]={});for(f in d&&(r=e),r)h=((l=!v&&b&&void 0!==b[f])?b:r)[f],p=m&&l?a(h,n):y&&"function"==typeof h?a(Function.call,h):h,b&&u(b,f,h,t&c.U),x[f]!=h&&o(x,f,p),y&&S[f]!=h&&(S[f]=h)};n.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},t=>{var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},(t,e,r)=>{var n=r(32),i=r(38);t.exports=r(27)?function(t,e,r){return n.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},(t,e,r)=>{var n=r(33),i=r(35),o=r(37),u=Object.defineProperty;e.f=r(27)?Object.defineProperty:function(t,e,r){if(n(t),e=o(e,!0),n(r),i)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},(t,e,r)=>{var n=r(34);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},(t,e,r)=>{t.exports=!r(27)&&!r(28)((function(){return 7!=Object.defineProperty(r(36)("div"),"a",{get:function(){return 7}}).a}))},(t,e,r)=>{var n=r(34),i=r(25).document,o=n(i)&&n(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},(t,e,r)=>{var n=r(34);t.exports=function(t,e){if(!n(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},(t,e,r)=>{var n=r(25),i=r(31),o=r(26),u=r(40)("src"),a=r(41),s="toString",c=(""+a).split(s);r(30).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,r,a){var s="function"==typeof r;s&&(o(r,"name")||i(r,"name",e)),t[e]!==r&&(s&&(o(r,u)||i(r,u,t[e]?""+t[e]:c.join(String(e)))),t===n?t[e]=r:a?t[e]?t[e]=r:i(t,e,r):(delete t[e],i(t,e,r)))})(Function.prototype,s,(function(){return"function"==typeof this&&this[u]||a.call(this)}))},t=>{var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},(t,e,r)=>{t.exports=r(42)("native-function-to-string",Function.toString)},(t,e,r)=>{var n=r(30),i=r(25),o="__core-js_shared__",u=i[o]||(i[o]={});(t.exports=function(t,e){return u[t]||(u[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(43)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},t=>{t.exports=!1},(t,e,r)=>{var n=r(45);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},(t,e,r)=>{var n=r(40)("meta"),i=r(34),o=r(26),u=r(32).f,a=0,s=Object.isExtensible||function(){return!0},c=!r(28)((function(){return s(Object.preventExtensions({}))})),f=function(t){u(t,n,{value:{i:"O"+ ++a,w:{}}})},l=t.exports={KEY:n,NEED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,n)){if(!s(t))return"F";if(!e)return"E";f(t)}return t[n].i},getWeak:function(t,e){if(!o(t,n)){if(!s(t))return!0;if(!e)return!1;f(t)}return t[n].w},onFreeze:function(t){return c&&l.NEED&&s(t)&&!o(t,n)&&f(t),t}}},(t,e,r)=>{var n=r(32).f,i=r(26),o=r(48)("toStringTag");t.exports=function(t,e,r){t&&!i(t=r?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},(t,e,r)=>{var n=r(42)("wks"),i=r(40),o=r(25).Symbol,u="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=u&&o[t]||(u?o:i)("Symbol."+t))}).store=n},(t,e,r)=>{e.f=r(48)},(t,e,r)=>{var n=r(25),i=r(30),o=r(43),u=r(49),a=r(32).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:u.f(t)})}},(t,e,r)=>{var n=r(52),i=r(64),o=r(65);t.exports=function(t){var e=n(t),r=i.f;if(r)for(var u,a=r(t),s=o.f,c=0;a.length>c;)s.call(t,u=a[c++])&&e.push(u);return e}},(t,e,r)=>{var n=r(53),i=r(63);t.exports=Object.keys||function(t){return n(t,i)}},(t,e,r)=>{var n=r(26),i=r(54),o=r(58)(!1),u=r(62)("IE_PROTO");t.exports=function(t,e){var r,a=i(t),s=0,c=[];for(r in a)r!=u&&n(a,r)&&c.push(r);for(;e.length>s;)n(a,r=e[s++])&&(~o(c,r)||c.push(r));return c}},(t,e,r)=>{var n=r(55),i=r(57);t.exports=function(t){return n(i(t))}},(t,e,r)=>{var n=r(56);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},(t,e,r)=>{var n=r(54),i=r(59),o=r(61);t.exports=function(t){return function(e,r,u){var a,s=n(e),c=i(s.length),f=o(u,c);if(t&&r!=r){for(;c>f;)if((a=s[f++])!=a)return!0}else for(;c>f;f++)if((t||f in s)&&s[f]===r)return t||f||0;return!t&&-1}}},(t,e,r)=>{var n=r(60),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},t=>{var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},(t,e,r)=>{var n=r(60),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=n(t))<0?i(t+e,0):o(t,e)}},(t,e,r)=>{var n=r(42)("keys"),i=r(40);t.exports=function(t){return n[t]||(n[t]=i(t))}},t=>{t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},(t,e)=>{e.f=Object.getOwnPropertySymbols},(t,e)=>{e.f={}.propertyIsEnumerable},(t,e,r)=>{var n=r(56);t.exports=Array.isArray||function(t){return"Array"==n(t)}},(t,e,r)=>{var n=r(57);t.exports=function(t){return Object(n(t))}},(t,e,r)=>{var n=r(33),i=r(69),o=r(63),u=r(62)("IE_PROTO"),a=function(){},s="prototype",c=function(){var t,e=r(36)("iframe"),n=o.length;for(e.style.display="none",r(70).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("