diff --git a/dist/main.js b/dist/main.js index c8ef406e..75b20086 100644 --- a/dist/main.js +++ b/dist/main.js @@ -5923,27 +5923,27 @@ module.exports = exporter; /* 103 */ /***/ (function(module, exports) { -var g; - -// This works in non-strict mode -g = (function() { - return this; -})(); - -try { - // This works if eval is allowed (see CSP) - g = g || Function("return this")() || (1,eval)("this"); -} catch(e) { - // This works if the window reference is available - if(typeof window === "object") - g = window; -} - -// g can still be undefined, but nothing to do about it... -// We return undefined, instead of nothing here, so it's -// easier to handle this case. if(!global) { ...} - -module.exports = g; +var g; + +// This works in non-strict mode +g = (function() { + return this; +})(); + +try { + // This works if eval is allowed (see CSP) + g = g || Function("return this")() || (1,eval)("this"); +} catch(e) { + // This works if the window reference is available + if(typeof window === "object") + g = window; +} + +// g can still be undefined, but nothing to do about it... +// We return undefined, instead of nothing here, so it's +// easier to handle this case. if(!global) { ...} + +module.exports = g; /***/ }), @@ -7879,6 +7879,7 @@ var Container = function Container(props) { atLeastOneCard && isCarouselContainer && !(cardStyle === 'custom-card') && _react2.default.createElement(_CardsCarousel2.default, { resQty: gridCards.length, cards: gridCards, + role: 'tablist', onCardBookmark: handleCardBookmarking }), atLeastOneCard && isCarouselContainer && cardStyle === 'custom-card' && _react2.default.createElement(_View2.default, { title: 'Not Supported', @@ -11385,499 +11386,499 @@ $export($export.S, 'Number', { /* 208 */ /***/ (function(module, exports, __webpack_require__) { -/* WEBPACK VAR INJECTION */(function(global) {(function(global) { - /** - * Polyfill URLSearchParams - * - * Inspired from : https://github.com/WebReflection/url-search-params/blob/master/src/url-search-params.js - */ - - var checkIfIteratorIsSupported = function() { - try { - return !!Symbol.iterator; - } catch (error) { - return false; - } - }; - - - var iteratorSupported = checkIfIteratorIsSupported(); - - var createIterator = function(items) { - var iterator = { - next: function() { - var value = items.shift(); - return { done: value === void 0, value: value }; - } - }; - - if (iteratorSupported) { - iterator[Symbol.iterator] = function() { - return iterator; - }; - } - - return iterator; - }; - - /** - * Search param name and values should be encoded according to https://url.spec.whatwg.org/#urlencoded-serializing - * encodeURIComponent() produces the same result except encoding spaces as `%20` instead of `+`. - */ - var serializeParam = function(value) { - return encodeURIComponent(value).replace(/%20/g, '+'); - }; - - var deserializeParam = function(value) { - return decodeURIComponent(String(value).replace(/\+/g, ' ')); - }; - - var polyfillURLSearchParams = function() { - - var URLSearchParams = function(searchString) { - Object.defineProperty(this, '_entries', { writable: true, value: {} }); - var typeofSearchString = typeof searchString; - - if (typeofSearchString === 'undefined') { - // do nothing - } else if (typeofSearchString === 'string') { - if (searchString !== '') { - this._fromString(searchString); - } - } else if (searchString instanceof URLSearchParams) { - var _this = this; - searchString.forEach(function(value, name) { - _this.append(name, value); - }); - } else if ((searchString !== null) && (typeofSearchString === 'object')) { - if (Object.prototype.toString.call(searchString) === '[object Array]') { - for (var i = 0; i < searchString.length; i++) { - var entry = searchString[i]; - if ((Object.prototype.toString.call(entry) === '[object Array]') || (entry.length !== 2)) { - this.append(entry[0], entry[1]); - } else { - throw new TypeError('Expected [string, any] as entry at index ' + i + ' of URLSearchParams\'s input'); - } - } - } else { - for (var key in searchString) { - if (searchString.hasOwnProperty(key)) { - this.append(key, searchString[key]); - } - } - } - } else { - throw new TypeError('Unsupported input\'s type for URLSearchParams'); - } - }; - - var proto = URLSearchParams.prototype; - - proto.append = function(name, value) { - if (name in this._entries) { - this._entries[name].push(String(value)); - } else { - this._entries[name] = [String(value)]; - } - }; - - proto.delete = function(name) { - delete this._entries[name]; - }; - - proto.get = function(name) { - return (name in this._entries) ? this._entries[name][0] : null; - }; - - proto.getAll = function(name) { - return (name in this._entries) ? this._entries[name].slice(0) : []; - }; - - proto.has = function(name) { - return (name in this._entries); - }; - - proto.set = function(name, value) { - this._entries[name] = [String(value)]; - }; - - proto.forEach = function(callback, thisArg) { - var entries; - for (var name in this._entries) { - if (this._entries.hasOwnProperty(name)) { - entries = this._entries[name]; - for (var i = 0; i < entries.length; i++) { - callback.call(thisArg, entries[i], name, this); - } - } - } - }; - - proto.keys = function() { - var items = []; - this.forEach(function(value, name) { - items.push(name); - }); - return createIterator(items); - }; - - proto.values = function() { - var items = []; - this.forEach(function(value) { - items.push(value); - }); - return createIterator(items); - }; - - proto.entries = function() { - var items = []; - this.forEach(function(value, name) { - items.push([name, value]); - }); - return createIterator(items); - }; - - if (iteratorSupported) { - proto[Symbol.iterator] = proto.entries; - } - - proto.toString = function() { - var searchArray = []; - this.forEach(function(value, name) { - searchArray.push(serializeParam(name) + '=' + serializeParam(value)); - }); - return searchArray.join('&'); - }; - - - global.URLSearchParams = URLSearchParams; - }; - - var checkIfURLSearchParamsSupported = function() { - try { - var URLSearchParams = global.URLSearchParams; - - return ( - (new URLSearchParams('?a=1').toString() === 'a=1') && - (typeof URLSearchParams.prototype.set === 'function') && - (typeof URLSearchParams.prototype.entries === 'function') - ); - } catch (e) { - return false; - } - }; - - if (!checkIfURLSearchParamsSupported()) { - polyfillURLSearchParams(); - } - - var proto = global.URLSearchParams.prototype; - - if (typeof proto.sort !== 'function') { - proto.sort = function() { - var _this = this; - var items = []; - this.forEach(function(value, name) { - items.push([name, value]); - if (!_this._entries) { - _this.delete(name); - } - }); - items.sort(function(a, b) { - if (a[0] < b[0]) { - return -1; - } else if (a[0] > b[0]) { - return +1; - } else { - return 0; - } - }); - if (_this._entries) { // force reset because IE keeps keys index - _this._entries = {}; - } - for (var i = 0; i < items.length; i++) { - this.append(items[i][0], items[i][1]); - } - }; - } - - if (typeof proto._fromString !== 'function') { - Object.defineProperty(proto, '_fromString', { - enumerable: false, - configurable: false, - writable: false, - value: function(searchString) { - if (this._entries) { - this._entries = {}; - } else { - var keys = []; - this.forEach(function(value, name) { - keys.push(name); - }); - for (var i = 0; i < keys.length; i++) { - this.delete(keys[i]); - } - } - - searchString = searchString.replace(/^\?/, ''); - var attributes = searchString.split('&'); - var attribute; - for (var i = 0; i < attributes.length; i++) { - attribute = attributes[i].split('='); - this.append( - deserializeParam(attribute[0]), - (attribute.length > 1) ? deserializeParam(attribute[1]) : '' - ); - } - } - }); - } - - // HTMLAnchorElement - -})( - (typeof global !== 'undefined') ? global - : ((typeof window !== 'undefined') ? window - : ((typeof self !== 'undefined') ? self : this)) -); - -(function(global) { - /** - * Polyfill URL - * - * Inspired from : https://github.com/arv/DOM-URL-Polyfill/blob/master/src/url.js - */ - - var checkIfURLIsSupported = function() { - try { - var u = new global.URL('b', 'http://a'); - u.pathname = 'c d'; - return (u.href === 'http://a/c%20d') && u.searchParams; - } catch (e) { - return false; - } - }; - - - var polyfillURL = function() { - var _URL = global.URL; - - var URL = function(url, base) { - if (typeof url !== 'string') url = String(url); - if (base && typeof base !== 'string') base = String(base); - - // Only create another document if the base is different from current location. - var doc = document, baseElement; - if (base && (global.location === void 0 || base !== global.location.href)) { - base = base.toLowerCase(); - doc = document.implementation.createHTMLDocument(''); - baseElement = doc.createElement('base'); - baseElement.href = base; - doc.head.appendChild(baseElement); - try { - if (baseElement.href.indexOf(base) !== 0) throw new Error(baseElement.href); - } catch (err) { - throw new Error('URL unable to set base ' + base + ' due to ' + err); - } - } - - var anchorElement = doc.createElement('a'); - anchorElement.href = url; - if (baseElement) { - doc.body.appendChild(anchorElement); - anchorElement.href = anchorElement.href; // force href to refresh - } - - var inputElement = doc.createElement('input'); - inputElement.type = 'url'; - inputElement.value = url; - - if (anchorElement.protocol === ':' || !/:/.test(anchorElement.href) || (!inputElement.checkValidity() && !base)) { - throw new TypeError('Invalid URL'); - } - - Object.defineProperty(this, '_anchorElement', { - value: anchorElement - }); - - - // create a linked searchParams which reflect its changes on URL - var searchParams = new global.URLSearchParams(this.search); - var enableSearchUpdate = true; - var enableSearchParamsUpdate = true; - var _this = this; - ['append', 'delete', 'set'].forEach(function(methodName) { - var method = searchParams[methodName]; - searchParams[methodName] = function() { - method.apply(searchParams, arguments); - if (enableSearchUpdate) { - enableSearchParamsUpdate = false; - _this.search = searchParams.toString(); - enableSearchParamsUpdate = true; - } - }; - }); - - Object.defineProperty(this, 'searchParams', { - value: searchParams, - enumerable: true - }); - - var search = void 0; - Object.defineProperty(this, '_updateSearchParams', { - enumerable: false, - configurable: false, - writable: false, - value: function() { - if (this.search !== search) { - search = this.search; - if (enableSearchParamsUpdate) { - enableSearchUpdate = false; - this.searchParams._fromString(this.search); - enableSearchUpdate = true; - } - } - } - }); - }; - - var proto = URL.prototype; - - var linkURLWithAnchorAttribute = function(attributeName) { - Object.defineProperty(proto, attributeName, { - get: function() { - return this._anchorElement[attributeName]; - }, - set: function(value) { - this._anchorElement[attributeName] = value; - }, - enumerable: true - }); - }; - - ['hash', 'host', 'hostname', 'port', 'protocol'] - .forEach(function(attributeName) { - linkURLWithAnchorAttribute(attributeName); - }); - - Object.defineProperty(proto, 'search', { - get: function() { - return this._anchorElement['search']; - }, - set: function(value) { - this._anchorElement['search'] = value; - this._updateSearchParams(); - }, - enumerable: true - }); - - Object.defineProperties(proto, { - - 'toString': { - get: function() { - var _this = this; - return function() { - return _this.href; - }; - } - }, - - 'href': { - get: function() { - return this._anchorElement.href.replace(/\?$/, ''); - }, - set: function(value) { - this._anchorElement.href = value; - this._updateSearchParams(); - }, - enumerable: true - }, - - 'pathname': { - get: function() { - return this._anchorElement.pathname.replace(/(^\/?)/, '/'); - }, - set: function(value) { - this._anchorElement.pathname = value; - }, - enumerable: true - }, - - 'origin': { - get: function() { - // get expected port from protocol - var expectedPort = { 'http:': 80, 'https:': 443, 'ftp:': 21 }[this._anchorElement.protocol]; - // add port to origin if, expected port is different than actual port - // and it is not empty f.e http://foo:8080 - // 8080 != 80 && 8080 != '' - var addPortToOrigin = this._anchorElement.port != expectedPort && - this._anchorElement.port !== ''; - - return this._anchorElement.protocol + - '//' + - this._anchorElement.hostname + - (addPortToOrigin ? (':' + this._anchorElement.port) : ''); - }, - enumerable: true - }, - - 'password': { // TODO - get: function() { - return ''; - }, - set: function(value) { - }, - enumerable: true - }, - - 'username': { // TODO - get: function() { - return ''; - }, - set: function(value) { - }, - enumerable: true - }, - }); - - URL.createObjectURL = function(blob) { - return _URL.createObjectURL.apply(_URL, arguments); - }; - - URL.revokeObjectURL = function(url) { - return _URL.revokeObjectURL.apply(_URL, arguments); - }; - - global.URL = URL; - - }; - - if (!checkIfURLIsSupported()) { - polyfillURL(); - } - - if ((global.location !== void 0) && !('origin' in global.location)) { - var getOrigin = function() { - return global.location.protocol + '//' + global.location.hostname + (global.location.port ? (':' + global.location.port) : ''); - }; - - try { - Object.defineProperty(global.location, 'origin', { - get: getOrigin, - enumerable: true - }); - } catch (e) { - setInterval(function() { - global.location.origin = getOrigin(); - }, 100); - } - } - -})( - (typeof global !== 'undefined') ? global - : ((typeof window !== 'undefined') ? window - : ((typeof self !== 'undefined') ? self : this)) -); +/* WEBPACK VAR INJECTION */(function(global) {(function(global) { + /** + * Polyfill URLSearchParams + * + * Inspired from : https://github.com/WebReflection/url-search-params/blob/master/src/url-search-params.js + */ + + var checkIfIteratorIsSupported = function() { + try { + return !!Symbol.iterator; + } catch (error) { + return false; + } + }; + + + var iteratorSupported = checkIfIteratorIsSupported(); + + var createIterator = function(items) { + var iterator = { + next: function() { + var value = items.shift(); + return { done: value === void 0, value: value }; + } + }; + + if (iteratorSupported) { + iterator[Symbol.iterator] = function() { + return iterator; + }; + } + + return iterator; + }; + + /** + * Search param name and values should be encoded according to https://url.spec.whatwg.org/#urlencoded-serializing + * encodeURIComponent() produces the same result except encoding spaces as `%20` instead of `+`. + */ + var serializeParam = function(value) { + return encodeURIComponent(value).replace(/%20/g, '+'); + }; + + var deserializeParam = function(value) { + return decodeURIComponent(String(value).replace(/\+/g, ' ')); + }; + + var polyfillURLSearchParams = function() { + + var URLSearchParams = function(searchString) { + Object.defineProperty(this, '_entries', { writable: true, value: {} }); + var typeofSearchString = typeof searchString; + + if (typeofSearchString === 'undefined') { + // do nothing + } else if (typeofSearchString === 'string') { + if (searchString !== '') { + this._fromString(searchString); + } + } else if (searchString instanceof URLSearchParams) { + var _this = this; + searchString.forEach(function(value, name) { + _this.append(name, value); + }); + } else if ((searchString !== null) && (typeofSearchString === 'object')) { + if (Object.prototype.toString.call(searchString) === '[object Array]') { + for (var i = 0; i < searchString.length; i++) { + var entry = searchString[i]; + if ((Object.prototype.toString.call(entry) === '[object Array]') || (entry.length !== 2)) { + this.append(entry[0], entry[1]); + } else { + throw new TypeError('Expected [string, any] as entry at index ' + i + ' of URLSearchParams\'s input'); + } + } + } else { + for (var key in searchString) { + if (searchString.hasOwnProperty(key)) { + this.append(key, searchString[key]); + } + } + } + } else { + throw new TypeError('Unsupported input\'s type for URLSearchParams'); + } + }; + + var proto = URLSearchParams.prototype; + + proto.append = function(name, value) { + if (name in this._entries) { + this._entries[name].push(String(value)); + } else { + this._entries[name] = [String(value)]; + } + }; + + proto.delete = function(name) { + delete this._entries[name]; + }; + + proto.get = function(name) { + return (name in this._entries) ? this._entries[name][0] : null; + }; + + proto.getAll = function(name) { + return (name in this._entries) ? this._entries[name].slice(0) : []; + }; + + proto.has = function(name) { + return (name in this._entries); + }; + + proto.set = function(name, value) { + this._entries[name] = [String(value)]; + }; + + proto.forEach = function(callback, thisArg) { + var entries; + for (var name in this._entries) { + if (this._entries.hasOwnProperty(name)) { + entries = this._entries[name]; + for (var i = 0; i < entries.length; i++) { + callback.call(thisArg, entries[i], name, this); + } + } + } + }; + + proto.keys = function() { + var items = []; + this.forEach(function(value, name) { + items.push(name); + }); + return createIterator(items); + }; + + proto.values = function() { + var items = []; + this.forEach(function(value) { + items.push(value); + }); + return createIterator(items); + }; + + proto.entries = function() { + var items = []; + this.forEach(function(value, name) { + items.push([name, value]); + }); + return createIterator(items); + }; + + if (iteratorSupported) { + proto[Symbol.iterator] = proto.entries; + } + + proto.toString = function() { + var searchArray = []; + this.forEach(function(value, name) { + searchArray.push(serializeParam(name) + '=' + serializeParam(value)); + }); + return searchArray.join('&'); + }; + + + global.URLSearchParams = URLSearchParams; + }; + + var checkIfURLSearchParamsSupported = function() { + try { + var URLSearchParams = global.URLSearchParams; + + return ( + (new URLSearchParams('?a=1').toString() === 'a=1') && + (typeof URLSearchParams.prototype.set === 'function') && + (typeof URLSearchParams.prototype.entries === 'function') + ); + } catch (e) { + return false; + } + }; + + if (!checkIfURLSearchParamsSupported()) { + polyfillURLSearchParams(); + } + + var proto = global.URLSearchParams.prototype; + + if (typeof proto.sort !== 'function') { + proto.sort = function() { + var _this = this; + var items = []; + this.forEach(function(value, name) { + items.push([name, value]); + if (!_this._entries) { + _this.delete(name); + } + }); + items.sort(function(a, b) { + if (a[0] < b[0]) { + return -1; + } else if (a[0] > b[0]) { + return +1; + } else { + return 0; + } + }); + if (_this._entries) { // force reset because IE keeps keys index + _this._entries = {}; + } + for (var i = 0; i < items.length; i++) { + this.append(items[i][0], items[i][1]); + } + }; + } + + if (typeof proto._fromString !== 'function') { + Object.defineProperty(proto, '_fromString', { + enumerable: false, + configurable: false, + writable: false, + value: function(searchString) { + if (this._entries) { + this._entries = {}; + } else { + var keys = []; + this.forEach(function(value, name) { + keys.push(name); + }); + for (var i = 0; i < keys.length; i++) { + this.delete(keys[i]); + } + } + + searchString = searchString.replace(/^\?/, ''); + var attributes = searchString.split('&'); + var attribute; + for (var i = 0; i < attributes.length; i++) { + attribute = attributes[i].split('='); + this.append( + deserializeParam(attribute[0]), + (attribute.length > 1) ? deserializeParam(attribute[1]) : '' + ); + } + } + }); + } + + // HTMLAnchorElement + +})( + (typeof global !== 'undefined') ? global + : ((typeof window !== 'undefined') ? window + : ((typeof self !== 'undefined') ? self : this)) +); + +(function(global) { + /** + * Polyfill URL + * + * Inspired from : https://github.com/arv/DOM-URL-Polyfill/blob/master/src/url.js + */ + + var checkIfURLIsSupported = function() { + try { + var u = new global.URL('b', 'http://a'); + u.pathname = 'c d'; + return (u.href === 'http://a/c%20d') && u.searchParams; + } catch (e) { + return false; + } + }; + + + var polyfillURL = function() { + var _URL = global.URL; + + var URL = function(url, base) { + if (typeof url !== 'string') url = String(url); + if (base && typeof base !== 'string') base = String(base); + + // Only create another document if the base is different from current location. + var doc = document, baseElement; + if (base && (global.location === void 0 || base !== global.location.href)) { + base = base.toLowerCase(); + doc = document.implementation.createHTMLDocument(''); + baseElement = doc.createElement('base'); + baseElement.href = base; + doc.head.appendChild(baseElement); + try { + if (baseElement.href.indexOf(base) !== 0) throw new Error(baseElement.href); + } catch (err) { + throw new Error('URL unable to set base ' + base + ' due to ' + err); + } + } + + var anchorElement = doc.createElement('a'); + anchorElement.href = url; + if (baseElement) { + doc.body.appendChild(anchorElement); + anchorElement.href = anchorElement.href; // force href to refresh + } + + var inputElement = doc.createElement('input'); + inputElement.type = 'url'; + inputElement.value = url; + + if (anchorElement.protocol === ':' || !/:/.test(anchorElement.href) || (!inputElement.checkValidity() && !base)) { + throw new TypeError('Invalid URL'); + } + + Object.defineProperty(this, '_anchorElement', { + value: anchorElement + }); + + + // create a linked searchParams which reflect its changes on URL + var searchParams = new global.URLSearchParams(this.search); + var enableSearchUpdate = true; + var enableSearchParamsUpdate = true; + var _this = this; + ['append', 'delete', 'set'].forEach(function(methodName) { + var method = searchParams[methodName]; + searchParams[methodName] = function() { + method.apply(searchParams, arguments); + if (enableSearchUpdate) { + enableSearchParamsUpdate = false; + _this.search = searchParams.toString(); + enableSearchParamsUpdate = true; + } + }; + }); + + Object.defineProperty(this, 'searchParams', { + value: searchParams, + enumerable: true + }); + + var search = void 0; + Object.defineProperty(this, '_updateSearchParams', { + enumerable: false, + configurable: false, + writable: false, + value: function() { + if (this.search !== search) { + search = this.search; + if (enableSearchParamsUpdate) { + enableSearchUpdate = false; + this.searchParams._fromString(this.search); + enableSearchUpdate = true; + } + } + } + }); + }; + + var proto = URL.prototype; + + var linkURLWithAnchorAttribute = function(attributeName) { + Object.defineProperty(proto, attributeName, { + get: function() { + return this._anchorElement[attributeName]; + }, + set: function(value) { + this._anchorElement[attributeName] = value; + }, + enumerable: true + }); + }; + + ['hash', 'host', 'hostname', 'port', 'protocol'] + .forEach(function(attributeName) { + linkURLWithAnchorAttribute(attributeName); + }); + + Object.defineProperty(proto, 'search', { + get: function() { + return this._anchorElement['search']; + }, + set: function(value) { + this._anchorElement['search'] = value; + this._updateSearchParams(); + }, + enumerable: true + }); + + Object.defineProperties(proto, { + + 'toString': { + get: function() { + var _this = this; + return function() { + return _this.href; + }; + } + }, + + 'href': { + get: function() { + return this._anchorElement.href.replace(/\?$/, ''); + }, + set: function(value) { + this._anchorElement.href = value; + this._updateSearchParams(); + }, + enumerable: true + }, + + 'pathname': { + get: function() { + return this._anchorElement.pathname.replace(/(^\/?)/, '/'); + }, + set: function(value) { + this._anchorElement.pathname = value; + }, + enumerable: true + }, + + 'origin': { + get: function() { + // get expected port from protocol + var expectedPort = { 'http:': 80, 'https:': 443, 'ftp:': 21 }[this._anchorElement.protocol]; + // add port to origin if, expected port is different than actual port + // and it is not empty f.e http://foo:8080 + // 8080 != 80 && 8080 != '' + var addPortToOrigin = this._anchorElement.port != expectedPort && + this._anchorElement.port !== ''; + + return this._anchorElement.protocol + + '//' + + this._anchorElement.hostname + + (addPortToOrigin ? (':' + this._anchorElement.port) : ''); + }, + enumerable: true + }, + + 'password': { // TODO + get: function() { + return ''; + }, + set: function(value) { + }, + enumerable: true + }, + + 'username': { // TODO + get: function() { + return ''; + }, + set: function(value) { + }, + enumerable: true + }, + }); + + URL.createObjectURL = function(blob) { + return _URL.createObjectURL.apply(_URL, arguments); + }; + + URL.revokeObjectURL = function(url) { + return _URL.revokeObjectURL.apply(_URL, arguments); + }; + + global.URL = URL; + + }; + + if (!checkIfURLIsSupported()) { + polyfillURL(); + } + + if ((global.location !== void 0) && !('origin' in global.location)) { + var getOrigin = function() { + return global.location.protocol + '//' + global.location.hostname + (global.location.port ? (':' + global.location.port) : ''); + }; + + try { + Object.defineProperty(global.location, 'origin', { + get: getOrigin, + enumerable: true + }); + } catch (e) { + setInterval(function() { + global.location.origin = getOrigin(); + }, 100); + } + } + +})( + (typeof global !== 'undefined') ? global + : ((typeof window !== 'undefined') ? window + : ((typeof self !== 'undefined') ? self : this)) +); /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(103))) @@ -46726,23 +46727,23 @@ var defaultProps = { origin: '' }; -/** - * 1/2 image aspect ratio card - * - * @component - * @example - * const props= { - id: String, - styles: Object, - contentArea: Object, - overlays: Object, - renderBorder: Boolean, - renderOverlay: Boolean, - overlayLink: String, - * } - * return ( - * - * ) +/** + * 1/2 image aspect ratio card + * + * @component + * @example + * const props= { + id: String, + styles: Object, + contentArea: Object, + overlays: Object, + renderBorder: Boolean, + renderOverlay: Boolean, + overlayLink: String, + * } + * return ( + * + * ) */ var Card = function Card(props) { var id = props.id, @@ -46802,8 +46803,8 @@ var Card = function Card(props) { var getConfig = (0, _hooks.useConfig)(); - /** - **** Authored Configs **** + /** + **** Authored Configs **** */ var i18nFormat = getConfig('collection', 'i18n.prettyDateIntervalFormat'); var locale = getConfig('language', ''); @@ -46817,10 +46818,10 @@ var Card = function Card(props) { var hideDateInterval = getConfig('collection', 'hideDateInterval'); var showCardBadges = getConfig('collection', 'showCardBadges'); - /** - * Class name for the card: - * whether card border should be rendered or no; - * @type {String} + /** + * Class name for the card: + * whether card border should be rendered or no; + * @type {String} */ var cardClassName = (0, _classnames2.default)({ 'consonant-Card': true, @@ -46828,15 +46829,15 @@ var Card = function Card(props) { 'consonant-hide-cta': hideCTA }); - /** - * Formatted date string - * @type {String} + /** + * Formatted date string + * @type {String} */ var prettyDate = startTime ? (0, _prettyFormat2.default)(startTime, endTime, locale, i18nFormat) : ''; - /** - * Detail text - * @type {String} + /** + * Detail text + * @type {String} */ var detailText = prettyDate || label; if (modifiedDate && detailsTextOption === 'modifiedDate') { @@ -46845,28 +46846,28 @@ var Card = function Card(props) { detailText = lastModified && lastModified.replace('{date}', localModifiedDate.toLocaleDateString()) || localModifiedDate.toLocaleDateString(); } - /** - * isGated - * @type {Boolean} + /** + * isGated + * @type {Boolean} */ var isGated = (0, _Helpers.hasTag)(/caas:gated/, tags) || (0, _Helpers.hasTag)(/caas:card-style\/half-height-featured/, tags) || (0, _Helpers.hasTag)(/7ed3/, tags) || (0, _Helpers.hasTag)(/1j6zgcx\/3bhv/, tags); - /** - * isRegistered - * @type {Boolean} + /** + * isRegistered + * @type {Boolean} */ var isRegistered = (0, _hooks.useRegistered)(false); - /** - * isInPerson - * @type {Boolean} + /** + * isInPerson + * @type {Boolean} */ var isInPerson = (0, _Helpers.hasTag)(/events\/session-format\/in-person/, tags); - /** - * Extends infobits with the configuration data - * @param {Array} data - Array of the infobits - * @return {Array} - Array of the infobits with the configuration data added + /** + * Extends infobits with the configuration data + * @param {Array} data - Array of the infobits + * @return {Array} - Array of the infobits with the configuration data added */ function extendFooterData(data) { if (!data) return []; diff --git a/dist/main.min.js b/dist/main.min.js index e9a84b39..4d850d36 100644 --- a/dist/main.min.js +++ b/dist/main.min.js @@ -32,7 +32,11 @@ const{CustomHeap:r}=n(65);t.PriorityQueue=class{constructor(e={}){const{priority * @licence MIT * */ +<<<<<<< HEAD !function(e){"use strict";var t=e.URLSearchParams?e.URLSearchParams:null,n=t&&"a=1"===new t({a:1}).toString(),r=t&&"+"===new t("s=%2B").get("s"),o="__URLSearchParams__",i=s.prototype,a=!(!e.Symbol||!e.Symbol.iterator);if(!(t&&n&&r)){i.append=function(e,t){h(this[o],e,t)},i.delete=function(e){delete this[o][e]},i.get=function(e){var t=this[o];return e in t?t[e][0]:null},i.getAll=function(e){var t=this[o];return e in t?t[e].slice(0):[]},i.has=function(e){return e in this[o]},i.set=function(e,t){this[o][e]=[""+t]},i.toString=function(){var e,t,n,r,i=this[o],a=[];for(t in i)for(n=c(t),e=0,r=i[t];e=_.DESKTOP_MIN_WIDTH,we=z.toLowerCase().trim()===_.FILTER_TYPES.XOR,Te=fe===_.LAYOUT_CONTAINER.CAROUSEL,Ee=fe!==_.LAYOUT_CONTAINER.CAROUSEL,ke=fe===_.LAYOUT_CONTAINER.CATEGORIES,xe=n("filterPanel","categories"),Se=ke?(Y=xe,K=j.filter((function(e){return e.id.includes("caas:product-categories")})).map((function(e){return e.id})).map((function(e){return Y&&Y.filter((function(t){return t.id===e}))[0]})),[{group:"All Topics",title:"All Topics",id:"",items:[]}].concat(N(K))):[],Ce=(0,i.useState)([]),_e=o(Ce,2),Pe=_e[0],Oe=(_e[1],(0,i.useState)(0)),Re=o(Oe,2),Ie=(Re[0],Re[1],a.default.useState()),Ne=o(Ie,2)[1],De=(0,i.useRef)(null),Me=a.default.useCallback((function(){return Ne({})}),[]),Ae=(0,S.useURLState)(),Fe=o(Ae,3),Le=Fe[0],je=Fe[1],ze=Fe[2],Ue=(0,i.useState)(null),Be=o(Ue,2),We=Be[0],Ve=Be[1],He=(0,i.useState)((0,p.readBookmarksFromLocalStorage)()),qe=o(He,2),$e=qe[0],Qe=qe[1],Ge=(0,i.useState)((0,p.readInclusionsFromLocalStorage)()),Ye=o(Ge,1)[0],Ke=(0,i.useState)(+Le.page||1),Xe=o(Ke,2),Ze=Xe[0],Je=Xe[1],et=(0,i.useState)([]),tt=o(et,2),nt=tt[0],rt=tt[1],ot=(0,i.useState)([]),it=o(ot,2),at=it[0],lt=it[1],ut=(0,i.useState)(""),st=o(ut,2),ct=st[0],ft=st[1],dt=(0,i.useState)(""),pt=o(dt,2),ht=pt[0],mt=pt[1],vt=(0,i.useState)(!1),yt=o(vt,2),gt=yt[0],bt=yt[1],wt=(0,i.useState)($),Tt=o(wt,2),Et=Tt[0],kt=Tt[1];Et.sort===_.SORT_TYPES.RANDOM&&(U=B);var xt=(0,S.useWindowDimensions)().width,St=(0,i.useState)(!1),Ct=o(St,2),_t=Ct[0],Pt=Ct[1],Ot=(0,i.useState)(!1),Rt=o(Ot,2),It=Rt[0],Nt=Rt[1],Dt=(0,i.useState)("top"===D),Mt=o(Dt,2),At=Mt[0],Ft=Mt[1],Lt=(0,i.useState)([]),jt=o(Lt,2),zt=jt[0],Ut=jt[1],Bt=(0,i.useState)(!1),Wt=o(Bt,2),Vt=Wt[0],Ht=Wt[1],qt=(0,i.useState)(!1),$t=o(qt,2),Qt=$t[0],Gt=$t[1],Yt=(0,i.useState)(null),Kt=o(Yt,2),Xt=Kt[0],Zt=Kt[1],Jt=(0,i.useState)(!0),en=o(Jt,2),tn=en[0],nn=en[1],rn=(0,i.useState)(),on=o(rn,2),an=on[0],ln=on[1],un=(0,i.useState)(!1),sn=o(un,2),cn=sn[0],fn=sn[1],dn=(0,i.createRef)(),pn=(0,i.createRef)();function hn(e){for(var t=e.length;"/"!==e[t]&&t>=0;)t--;return[e.substring(0,t),e.substring(t+1)]}function mn(e,t){if(!e)return"";for(var n=Math.pow(10,t)+7,r=0,o=1,i=0;i1&&void 0!==arguments[1]?arguments[1]:"";rt((function(t){var n=function(e,t){return t.map((function(t){return t.id!==e?t:r({},t,{items:t.items.map((function(e){return r({},e,{selected:!1})}))})}))}(e,t);return n}));var n=new URLSearchParams(window.location.search);ze(),n.forEach((function(n,r){var o=r.toLowerCase().replace("ch_","").replace(/ /g,"-");(0===r.indexOf(u)||e.toLowerCase().includes(o))&&t.toLowerCase().replace(/ /g,"-").includes(o)||je(r,n.replace(/%20/g," "))}))},yn=function(){rt((function(e){return e.map((function(e){return r({},e,{items:e.items.map((function(e){return r({},e,{selected:!1})}))})}))}));var e=new URLSearchParams(window.location.search);ze(),e.forEach((function(e,t){0!==t.indexOf(u)&&je(t,e)}))},gn=function(){yn(),ft("");var e=new URLSearchParams(window.location.search);ze(),e.forEach((function(e,t){-1===t.indexOf(u)&&-1===t.indexOf(h)&&je(t,e)})),Nt(!1)},bn=function(e){kt(e),bt(!1),nn(!1)},wn=function(e){ft(e),Je(1),je(h,e)},Tn=function(e){rt((function(t){var n=void 0;return t.map((function(t){return n=t.id===e?!t.opened:t.opened,r({},t,{opened:n})}))}))},En=function(e,t,n){we&&n&&yn(),rt((function(n){return n.map((function(n){return n.id!==e?n:r({},n,{items:n.items.map((function(e){return r({},e,{selected:e.id===t?!e.selected:e.selected})}))})}))})),Je(1),function(e,t,n){var r=nt.find((function(t){return t.id===e})),o=r.group,i=r.items.find((function(e){return e.id===t})).label,a=Le[u+o]||[];"string"==typeof a&&(a=a.split(","));var l=n?[].concat(N(a),[i]):a.filter((function(e){return e!==i}));je(u+o,l)}(e,t,n)},kn=function(){return Pt((function(e){return!e}))},xn=function(e){var t=$e.find((function(t){return t===e}));Qe(t?function(t){return t.filter((function(t){return t!==e}))}:function(t){return[].concat(N(t),[e])})},Sn=function(e){"Escape"!==e.key&&"Esc"!==e.key||Pt(!1)};(0,i.useEffect)((function(){rt(j.map((function(e){return r({},e,{opened:!!be&&e.openedOnLoad,items:e.items.map((function(e){return r({},e,{selected:!1})}))})})))}),[]),(0,i.useEffect)((function(){rt((function(e){return e.map((function(e){var t=e.group,n=e.items,o=Le[u+t];if(!o)return e;var i=o.split(",");return r({},e,{opened:!0,items:n.map((function(e){return r({},e,{selected:i.includes(String(e.label))})}))})}))}));var e=Le[h];e&&ft(e[0])}),[]),(0,i.useEffect)((function(){Zt(Math.floor(1e13*Math.random()))}),[]),(0,i.useEffect)((function(){je("page",1===Ze?"":Ze)}),[Ze]);(0,i.useEffect)((function(){if(!(ie&&an||ie&&!cn)){var e,t=window.__satelliteLoadedPromise,i=n("collection","endpoint"),a=n("collection","fallbackEndpoint"),l=void 0;l=new RegExp("^(?:[a-z]+:)?//","i").test(i)?new URL(i):new URL(i,window.location.origin),a||(l.searchParams.set("flatFile",!1),i=l.toString()),Ht(!0),ue&&t&&f(t),ue&&!t&&(e=0,function t(){setTimeout((function(){if(e>=20)return Ht(!1),void Gt(!0);var n=window.__satelliteLoadedPromise;n&&f(n),!n&&e<20&&t(),e+=1}),100)}()),ue||c()}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=Date.now();return window.fetch(e,{credentials:"include",headers:ge}).then((function(t){var n=t.ok,r=t.status,o=t.statusText,i=t.url;return n?t.json().then((function(t){return Object.keys(t).length?t:((0,s.logLana)({message:"no valid response data from "+e,tags:"collection"}),Promise.reject(new Error("no valid reponse data")))})):((0,s.logLana)({message:"failure for call to "+i,tags:"collection",errorMessage:r+": "+o}),Promise.reject(new Error(r+": "+o+", failure for call to "+i)))})).then((function(n){if((0,s.logLana)({message:"response took "+(Date.now()-t)/1e3+"s",tags:"collection"}),Ht(!1),nn(!0),(0,p.getByPath)(n,"cards.length")){if(n.isHashed){var i=!0,a=!1,l=void 0;try{for(var c,f=j[Symbol.iterator]();!(i=(c=f.next()).done);i=!0){var d=c.value;d.id=mn(d.id,6);var h=!0,m=!1,v=void 0;try{for(var y,g=d.items[Symbol.iterator]();!(h=(y=g.next()).done);h=!0){var b=y.value,w=hn(b.id),T=o(w,2),E=T[0],k=T[1];b.id=mn(E,6)+"/"+mn(k,6)}}catch(e){m=!0,v=e}finally{try{!h&&g.return&&g.return()}finally{if(m)throw v}}}}catch(e){a=!0,l=e}finally{try{!i&&f.return&&f.return()}finally{if(a)throw l}}var S=[],C=!0,P=!1,O=void 0;try{for(var R,I=X[Symbol.iterator]();!(C=(R=I.next()).done);C=!0){var D=hn(R.value),M=o(D,2);E=M[0],k=M[1];""!==E&&""!==k&&S.push(mn(E,6)+"/"+mn(k,6))}}catch(e){P=!0,O=e}finally{try{!C&&I.return&&I.return()}finally{if(P)throw O}}X=S}var A=new x.default(n.cards).removeDuplicateCards().addCardMetaData(_.TRUNCATE_TEXT_QTY,L,$e,G,X).processedCards,z=void 0===A?[]:A;rt(ke?function(e){return e.map((function(e){var t=e.group,n=e.items,o=Le[u+t];if(!o)return e;var i=o.split(",");return r({},e,{opened:!0,items:n.map((function(e){return r({},e,{selected:i.includes(String(e.label))})}))})}))}:function(){return j.map((function(e){var t=e.group,n=e.items,o=Le[u+t];if(!o)return e;var i=o.split(",");return r({},e,{opened:!0,items:n.map((function(e){return r({},e,{selected:i.includes(String(e.label))})}))})}))});var U=(0,p.getTransitions)(z);if("eventsort"===Et.sort.toLowerCase())for(;U.size()>0;)setTimeout((function(){Me()}),U.dequeue().priority+_.ONE_SECOND_DELAY);Ut(z),de||rt((function(e){return t=e,n=z,i=(o=[]).concat.apply(o,N(n.map((function(e){return e.tags.map((function(e){return e.id}))})))),a=[_.EVENT_TIMING_IDS.LIVE,_.EVENT_TIMING_IDS.ONDEMAND,_.EVENT_TIMING_IDS.UPCOMING],t.map((function(e){return r({},e,{items:e.items.filter((function(e){return i.includes(e.id)||i.includes(e.label)||i.toString().includes("/"+e.id)||a.includes(e.id)}))})})).filter((function(e){return e.items.length>0}));var t,n,o,i,a})),setTimeout((function(){if(De.current&&0!==z.length&&1!==Ze){var e=z.slice(0,F*Ze),t=F*Ze-F;if(!(e.length0,Bn=nt.length>0&&xt<_.TABLET_MIN_WIDTH?_.SORT_POPUP_LOCATION.LEFT:_.SORT_POPUP_LOCATION.RIGHT,Wn=be?_.PAGINATION_COUNT.DESKTOP:_.PAGINATION_COUNT.MOBILE,Vn=D===_.FILTER_PANEL.TOP,Hn=D===_.FILTER_PANEL.LEFT,qn=I||he||me||A,$n="";nt.forEach((function(e){e.items.filter((function(e){return e.selected})).forEach((function(e){$n+=e.label+", "}))}));var Qn=(0,l.default)({"consonant-u-themeLight":ce===_.THEME_TYPE.LIGHT,"consonant-u-themeDark":ce===_.THEME_TYPE.DARK,"consonant-u-themeDarkest":ce===_.THEME_TYPE.DARKEST});function Gn(){if(!Se)return[];var e=[],t=!0,n=!1,r=void 0;try{for(var o,i=Se[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=o.value;if(a&&a.items){var l=!0,u=!1,s=void 0;try{for(var c,f=a.items[Symbol.iterator]();!(l=(c=f.next()).done);l=!0){c.value.fromCategory=!0}}catch(e){u=!0,s=e}finally{try{!l&&f.return&&f.return()}finally{if(u)throw s}}e=e.concat(a.items)}}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}return{group:"All products",id:"caas:all-products",items:e}}function Yn(e){return j.filter((function(t){return t.id===e.id})).map((function(e){return e.icon})).toString()||e.icon||""}var Kn=(le?le+" | ":"")+"Card Collection | Filters: "+(An?$n:"No Filters")+"| Search Query: "+(ct||"None"),Xn=(0,l.default)({"consonant-Wrapper":!0,"consonant-Wrapper--32MarginContainer":fe===_.LAYOUT_CONTAINER.SIZE_100_VW_32_MARGIN,"consonant-Wrapper--83PercentContainier":fe===_.LAYOUT_CONTAINER.SIZE_83_VW,"consonant-Wrapper--1200MaxWidth":fe===_.LAYOUT_CONTAINER.SIZE_1200_PX,"consonant-Wrapper--1600MaxWidth":fe===_.LAYOUT_CONTAINER.SIZE_1600_PX,"consonant-Wrapper--1200MaxWidth Categories":ke,"consonant-Wrapper--carousel":Te,"consonant-Wrapper--withLeftFilter":I&&Hn});return(0,i.useEffect)((function(){ke&&rt((function(e){return e.concat(Gn())}))}),[]),a.default.createElement(P.ConfigContext.Provider,{value:t},a.default.createElement(P.ExpandableContext.Provider,{value:{value:We,setValue:Ve}},a.default.createElement("section",{ref:Cn,role:"group","aria-label":ye,"daa-lh":Kn,"daa-im":String(ae),onClick:function(){Ve(null)},className:Xn+" "+Qn},a.default.createElement("div",{className:"consonant-Wrapper-inner"},ke&&a.default.createElement(i.Fragment,null,a.default.createElement("h2",{"data-testid":"consonant-TopFilters-categoriesTitle",className:"consonant-TopFilters-categoriesTitle"},ye),a.default.createElement("div",{className:"filters-category"},Se.map((function(e){if(!e)return null;var t="";return e.id===ht&&(t="selected"),a.default.createElement("button",{onClick:function(){!function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var u=a.value;n.push(u.id)}}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}lt(n),rt((function(e){e.pop();var n=Se.filter((function(e){return e.id===t}))[0];return n.items.length?(e.push(n),e):e.concat(Gn())})),mt(t),Je(1)}(e.items,e.id)},"data-selected":t,"data-group":e.group.replaceAll(" ","").toLowerCase()},a.default.createElement("img",{className:"filters-category--icon",src:Yn(e),alt:e.icon&&"Category icon"}),e.title)})))),zn&&Ee&&a.default.createElement("div",{className:"consonant-Wrapper-leftFilterWrapper"},a.default.createElement(k.default,{filters:nt,selectedFiltersQty:An,windowWidth:xt,onFilterClick:Tn,onClearAllFilters:gn,onClearFilterItems:vn,onCheckboxClick:En,onMobileFiltersToggleClick:kn,onSelectedFilterClick:En,showMobileFilters:_t,resQty:Nn.length,bookmarkComponent:a.default.createElement(g.default,{showBookmarks:It,onClick:function(e){e.stopPropagation(),Nt((function(e){return!e})),Je(1)},savedCardsCount:$e.length}),searchComponent:a.default.createElement(f.default,{placeholderText:Z,name:"filtersSideSearch",value:ct,autofocus:!1,onSearch:wn}),ref:dn})),a.default.createElement("div",{className:"consonant-Wrapper-collection"+(Vt?" is-loading":"")},Vn&&Ee&&a.default.createElement(E.default,{filterPanelEnabled:I,filters:nt,windowWidth:xt,resQty:Nn.length,onCheckboxClick:En,onFilterClick:Tn,onClearFilterItems:vn,categories:at,onClearAllFilters:gn,showLimitedFiltersQty:At,searchComponent:a.default.createElement(f.default,{placeholderText:J,name:"filtersTopSearch",value:ct,autofocus:be,onSearch:wn}),sortComponent:a.default.createElement(c.default,{opened:gt,id:"sort",val:Et,values:H,onSelect:bn,name:"filtersTopSelect",autoWidth:!0,optionsAlignment:Bn}),onShowAllClick:function(){Ft((function(e){return!e}))}}),Hn&&Ee&&a.default.createElement(C.Info,{enabled:I,filtersQty:nt.length,filters:nt,cardsQty:Nn.length,selectedFiltersQty:An,windowWidth:xt,onMobileFiltersToggleClick:kn,searchComponent:a.default.createElement(f.default,{placeholderText:ee,name:"searchFiltersInfo",value:ct,autofocus:!1,onSearch:wn}),sortComponent:a.default.createElement(c.default,{opened:gt,id:"sort",val:Et,values:H,onSelect:bn,autoWidth:!1,optionsAlignment:"right"}),sortOptions:H,ref:pn}),Un&&Ee&&a.default.createElement(i.Fragment,null,a.default.createElement(w.default,{resultsPerPage:F,pages:Ze,cards:Nn,forwardedRef:De,onCardBookmark:xn,isAriaLiveActive:qn}),Ln&&a.default.createElement(y.default,{onClick:function(){Je((function(e){return e+1})),window.scrollTo(0,window.pageYOffset)},show:Mn,total:Nn.length}),jn&&a.default.createElement(b.default,{pageCount:Wn,currentPageNumber:Ze,totalPages:Dn,showItemsPerPage:F,totalResults:Nn.length,onClick:Je})),Un&&Te&&!("custom-card"===ve)&&a.default.createElement(m.default,{resQty:Nn.length,cards:Nn,onCardBookmark:xn}),Un&&Te&&"custom-card"===ve&&a.default.createElement(v.default,{title:"Not Supported",description:"Using custom cards within a carousel layout is currently not supported. Please re-author the component",replaceValue:""}),Vt&&!Un&&a.default.createElement(d.default,{size:_.LOADER_SIZE.BIG,hidden:!U,absolute:!0}),!Qt&&!Un&&!Vt&&a.default.createElement(v.default,{title:te,description:ne,replaceValue:ct}),Qt&&a.default.createElement(v.default,{title:re,description:oe,replaceValue:""}))))))};D.propTypes={config:(0,u.shape)(h.configType)},D.defaultProps={config:{}},t.default=D},function(e,t,n){"use strict";(function(t){"production"===t.env.NODE_ENV?e.exports=n(228):e.exports=n(229)}).call(t,n(12))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeConfigGetter=t.getNumSelectedFilterItems=void 0,t.getDefaultSortOption=function(e,t){var n=i(e)("sort","options"),r=o.SORT_TYPES[t.toUpperCase()];return n.find((function(e){return e.sort===t}))||{label:r||"Featured",sort:r||"featured"}};var r=n(6),o=n(15),i=(t.getNumSelectedFilterItems=function(e){var t=(0,r.chainFromIterable)(e.map((function(e){return e.items})));return(0,r.getSelectedItemsCount)(t)},t.makeConfigGetter=function(e){return function(t,n){var i=n?t+"."+n:t,a=(0,r.getByPath)(o.DEFAULT_CONFIG,i),l=(0,r.getByPath)(e,i);return(0,r.isNullish)(l)?a:l}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigContext=t.ExpandableContext=t.noOp=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r};var a=t.noOp=function(){};t.ExpandableContext=i.default.createContext({value:null,setValue:a}),t.ConfigContext=i.default.createContext({})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&o.default.createElement("div",{ref:m,"data-card-style":y,"data-testid":"consonant-CardsGrid",className:O,role:"tablist","aria-live":h?"polite":"off"},D.map((function(e,t){var n=(0,s.getByPath)(e,"styles.typeOverride"),i=y||n,u=e.contentArea,c=(u=void 0===u?{}:u).title,p=void 0===c?"":c,h=e.id,m=t+1,v=function(e,t){return!(!e.hideCtaId&&!e.hideCtaTags&&"hidden"!==t)}(e,C);return i===d.CARD_STYLES.CUSTOM?(0,l.default)(P(e)):o.default.createElement(f.default,r({cardStyle:i,lh:"Card "+m+" | "+A(p)+" | "+h,key:e.id},e,{bannerMap:R,onClick:a,dateFormat:k,locale:x,renderBorder:w,renderDivider:T,renderOverlay:E,hideCTA:v,onFocus:function(){return function(e){e&&document.getElementById(e).scrollIntoView({block:"nearest"})}(e.id)}}))})))};v.propTypes=h,v.defaultProps=m,t.default=v},function(e,t,n){var r=n(240),o=n(114);function i(e){return r.possibleStandardNames[e]}e.exports=function(e){var t,n,a,l,u,s={},c=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(a=e[t],r.isCustomAttribute(t))s[t]=a;else if(l=i(n=t.toLowerCase()))switch(u=r.getPropertyInfo(l),"checked"!==l&&"value"!==l||c||(l=i("default"+n)),s[l]=a,u&&u.type){case r.BOOLEAN:s[l]=!0;break;case r.OVERLOADED_BOOLEAN:""===a&&(s[l]=!0)}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(s[t]=a);return o.setStyleProp(e.style,s),s}},function(e,t,n){var r=n(0),o=n(242).default;var i={reactCompat:!0};var a=r.version.split(".")[0]>=16,l=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:a,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var n,r,o="function"==typeof t,i={},a={};for(n in e)r=e[n],o&&(i=t(n,r))&&2===i.length?a[i[0]]=i[1]:"string"==typeof r&&(a[r]=n);return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=o(e,i)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!l.has(e.name)},elementsWithNoTextChildren:l}},function(e,t,n){for(var r,o=n(249),i=n(250),a=o.CASE_SENSITIVE_TAG_NAMES,l=i.Comment,u=i.Element,s=i.ProcessingInstruction,c=i.Text,f={},d=0,p=a.length;d0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(u);t.NodeWithChildren=p;var h=function(e){function t(t){return e.call(this,a.ElementType.Root,t)||this}return o(t,e),t}(p);t.Document=h;var m=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,o,r)||this;return i.name=t,i.attribs=n,i}return o(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(p);function v(e){return(0,a.isTag)(e)}function y(e){return e.type===a.ElementType.CDATA}function g(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function w(e){return e.type===a.ElementType.Directive}function T(e){return e.type===a.ElementType.Root}function E(e,t){var n;if(void 0===t&&(t=!1),g(e))n=new c(e.data);else if(b(e))n=new f(e.data);else if(v(e)){var r=t?k(e.children):[],o=new m(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(y(e)){r=t?k(e.children):[];var l=new p(a.ElementType.CDATA,r);r.forEach((function(e){return e.parent=l})),n=l}else if(T(e)){r=t?k(e.children):[];var u=new h(r);r.forEach((function(e){return e.parent=u})),e["x-mode"]&&(u["x-mode"]=e["x-mode"]),n=u}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var s=new d(e.name,e.data);null!=e["x-name"]&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),n=s}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function k(e){for(var t=e.map((function(e){return E(e,!0)})),n=1;n0}(e)&&(h=e,d.render(c.default))})),t.default=p},function(e,t,n){"use strict";n(122),n(126),n(128),n(132),n(134),n(139),n(140),n(141),n(142),n(171),n(175),n(183),n(185),n(187),n(190),n(192),n(194),n(196),n(199),n(201),n(204),n(206),n(102),n(208),n(209)},function(e,t,n){n(123),e.exports=n(3).Array.includes},function(e,t,n){"use strict";var r=n(2),o=n(73)(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(52)("includes")},function(e,t,n){e.exports=n(41)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(35),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){n(74),e.exports=n(3).Object.assign},function(e,t,n){"use strict";var r=n(10),o=n(31),i=n(42),a=n(36),l=n(14),u=n(51),s=Object.assign;e.exports=!s||n(16)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=s({},e)[n]||Object.keys(s({},t)).join("")!=r}))?function(e,t){for(var n=l(e),s=arguments.length,c=1,f=i.f,d=a.f;s>c;)for(var p,h=u(arguments[c++]),m=f?o(h).concat(f(h)):o(h),v=m.length,y=0;v>y;)p=m[y++],r&&!d.call(h,p)||(n[p]=h[p]);return n}:s},function(e,t,n){n(129),e.exports=n(3).Array.findIndex},function(e,t,n){"use strict";var r=n(2),o=n(76)(6),i="findIndex",a=!0;i in[]&&Array(1)[i]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(52)(i)},function(e,t,n){var r=n(131);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(8),o=n(77),i=n(4)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){n(133),e.exports=n(3).Array.find},function(e,t,n){"use strict";var r=n(2),o=n(76)(5),i="find",a=!0;i in[]&&Array(1)[i]((function(){a=!1})),r(r.P+r.F*a,"Array",{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(52)(i)},function(e,t,n){n(135),n(138),e.exports=n(3).Array.from},function(e,t,n){"use strict";var r=n(78)(!0);n(136)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var r=n(28),o=n(2),i=n(27),a=n(23),l=n(55),u=n(137),s=n(44),c=n(45),f=n(4)("iterator"),d=!([].keys&&"next"in[].keys()),p="keys",h="values",m=function(){return this};e.exports=function(e,t,n,v,y,g,b){u(n,t,v);var w,T,E,k=function(e){if(!d&&e in _)return _[e];switch(e){case p:case h:return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",S=y==h,C=!1,_=e.prototype,P=_[f]||_["@@iterator"]||y&&_[y],O=P||k(y),R=y?S?k("entries"):O:void 0,I="Array"==t&&_.entries||P;if(I&&(E=c(I.call(new e)))!==Object.prototype&&E.next&&(s(E,x,!0),r||"function"==typeof E[f]||a(E,f,m)),S&&P&&P.name!==h&&(C=!0,O=function(){return P.call(this)}),r&&!b||!d&&!C&&_[f]||a(_,f,O),l[t]=O,l[x]=m,y)if(w={values:S?O:k(h),keys:g?O:k(p),entries:R},b)for(T in w)T in _||i(_,T,w[T]);else o(o.P+o.F*(d||C),t,w);return w}},function(e,t,n){"use strict";var r=n(43),o=n(33),i=n(44),a={};n(23)(a,n(4)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){"use strict";var r=n(25),o=n(2),i=n(14),a=n(81),l=n(82),u=n(19),s=n(83),c=n(84);o(o.S+o.F*!n(85)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,d=i(e),p="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,y=0,g=c(d);if(v&&(m=r(m,h>2?arguments[2]:void 0,2)),null==g||p==Array&&l(g))for(n=new p(t=u(d.length));t>y;y++)s(n,y,v?m(d[y],y):d[y]);else for(f=g.call(d),n=new p;!(o=f.next()).done;y++)s(n,y,v?a(f,m,[o.value,y],!0):o.value);return n.length=y,n}})},function(e,t,n){n(86),e.exports=n(3).Object.entries},function(e,t,n){n(88),e.exports=n(3).Object.values},function(e,t,n){n(89),e.exports=n(3).Object.is},function(e,t,n){n(143),n(146),n(147),n(148),n(149),n(150),n(151),n(152),n(153),n(154),n(155),n(156),n(157),n(158),n(74),n(89),n(159),n(161),n(162),n(88),n(86),n(163),n(164),n(165),n(166),n(167),n(168),n(169),n(170),e.exports=n(3).Object},function(e,t,n){"use strict";var r=n(9),o=n(24),i=n(10),a=n(2),l=n(27),u=n(46).KEY,s=n(16),c=n(41),f=n(44),d=n(34),p=n(4),h=n(91),m=n(144),v=n(145),y=n(77),g=n(11),b=n(8),w=n(14),T=n(18),E=n(32),k=n(33),x=n(43),S=n(92),C=n(26),_=n(42),P=n(13),O=n(31),R=C.f,I=P.f,N=S.f,D=r.Symbol,M=r.JSON,A=M&&M.stringify,F="prototype",L=p("_hidden"),j=p("toPrimitive"),z={}.propertyIsEnumerable,U=c("symbol-registry"),B=c("symbols"),W=c("op-symbols"),V=Object[F],H="function"==typeof D&&!!_.f,q=r.QObject,$=!q||!q[F]||!q[F].findChild,Q=i&&s((function(){return 7!=x(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=R(V,t);r&&delete V[t],I(e,t,n),r&&e!==V&&I(V,t,r)}:I,G=function(e){var t=B[e]=x(D[F]);return t._k=e,t},Y=H&&"symbol"==typeof D.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof D},K=function(e,t,n){return e===V&&K(W,t,n),g(e),t=E(t,!0),g(n),o(B,t)?(n.enumerable?(o(e,L)&&e[L][t]&&(e[L][t]=!1),n=x(n,{enumerable:k(0,!1)})):(o(e,L)||I(e,L,k(1,{})),e[L][t]=!0),Q(e,t,n)):I(e,t,n)},X=function(e,t){g(e);for(var n,r=v(t=T(t)),o=0,i=r.length;i>o;)K(e,n=r[o++],t[n]);return e},Z=function(e){var t=z.call(this,e=E(e,!0));return!(this===V&&o(B,e)&&!o(W,e))&&(!(t||!o(this,e)||!o(B,e)||o(this,L)&&this[L][e])||t)},J=function(e,t){if(e=T(e),t=E(t,!0),e!==V||!o(B,t)||o(W,t)){var n=R(e,t);return!n||!o(B,t)||o(e,L)&&e[L][t]||(n.enumerable=!0),n}},ee=function(e){for(var t,n=N(T(e)),r=[],i=0;n.length>i;)o(B,t=n[i++])||t==L||t==u||r.push(t);return r},te=function(e){for(var t,n=e===V,r=N(n?W:T(e)),i=[],a=0;r.length>a;)!o(B,t=r[a++])||n&&!o(V,t)||i.push(B[t]);return i};H||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===V&&t.call(W,n),o(this,L)&&o(this[L],e)&&(this[L][e]=!1),Q(this,e,k(1,n))};return i&&$&&Q(V,e,{configurable:!0,set:t}),G(e)},l(D[F],"toString",(function(){return this._k})),C.f=J,P.f=K,n(56).f=S.f=ee,n(36).f=Z,_.f=te,i&&!n(28)&&l(V,"propertyIsEnumerable",Z,!0),h.f=function(e){return G(p(e))}),a(a.G+a.W+a.F*!H,{Symbol:D});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ne.length>re;)p(ne[re++]);for(var oe=O(p.store),ie=0;oe.length>ie;)m(oe[ie++]);a(a.S+a.F*!H,"Symbol",{for:function(e){return o(U,e+="")?U[e]:U[e]=D(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[t]===e)return t},useSetter:function(){$=!0},useSimple:function(){$=!1}}),a(a.S+a.F*!H,"Object",{create:function(e,t){return void 0===t?x(e):X(x(e),t)},defineProperty:K,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var ae=s((function(){_.f(1)}));a(a.S+a.F*ae,"Object",{getOwnPropertySymbols:function(e){return _.f(w(e))}}),M&&a(a.S+a.F*(!H||s((function(){var e=D();return"[null]"!=A([e])||"{}"!=A({a:e})||"{}"!=A(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!Y(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),r[1]=t,A.apply(M,r)}}),D[F][j]||n(23)(D[F],j,D[F].valueOf),f(D,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(9),o=n(3),i=n(28),a=n(91),l=n(13).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||l(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(31),o=n(42),i=n(36);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,l=n(e),u=i.f,s=0;l.length>s;)u.call(e,a=l[s++])&&t.push(a);return t}},function(e,t,n){var r=n(2);r(r.S,"Object",{create:n(43)})},function(e,t,n){var r=n(2);r(r.S+r.F*!n(10),"Object",{defineProperty:n(13).f})},function(e,t,n){var r=n(2);r(r.S+r.F*!n(10),"Object",{defineProperties:n(79)})},function(e,t,n){var r=n(18),o=n(26).f;n(17)("getOwnPropertyDescriptor",(function(){return function(e,t){return o(r(e),t)}}))},function(e,t,n){var r=n(14),o=n(45);n(17)("getPrototypeOf",(function(){return function(e){return o(r(e))}}))},function(e,t,n){var r=n(14),o=n(31);n(17)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){n(17)("getOwnPropertyNames",(function(){return n(92).f}))},function(e,t,n){var r=n(8),o=n(46).onFreeze;n(17)("freeze",(function(e){return function(t){return e&&r(t)?e(o(t)):t}}))},function(e,t,n){var r=n(8),o=n(46).onFreeze;n(17)("seal",(function(e){return function(t){return e&&r(t)?e(o(t)):t}}))},function(e,t,n){var r=n(8),o=n(46).onFreeze;n(17)("preventExtensions",(function(e){return function(t){return e&&r(t)?e(o(t)):t}}))},function(e,t,n){var r=n(8);n(17)("isFrozen",(function(e){return function(t){return!r(t)||!!e&&e(t)}}))},function(e,t,n){var r=n(8);n(17)("isSealed",(function(e){return function(t){return!r(t)||!!e&&e(t)}}))},function(e,t,n){var r=n(8);n(17)("isExtensible",(function(e){return function(t){return!!r(t)&&(!e||e(t))}}))},function(e,t,n){var r=n(2);r(r.S,"Object",{setPrototypeOf:n(160).set})},function(e,t,n){var r=n(8),o=n(11),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(25)(Function.call,n(26).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){"use strict";var r=n(37),o={};o[n(4)("toStringTag")]="z",o+""!="[object z]"&&n(27)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(e,t,n){var r=n(2),o=n(93),i=n(18),a=n(26),l=n(83);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),u=a.f,s=o(r),c={},f=0;s.length>f;)void 0!==(n=u(r,t=s[f++]))&&l(c,t,n);return c}})},function(e,t,n){"use strict";var r=n(2),o=n(14),i=n(29),a=n(13);n(10)&&r(r.P+n(47),"Object",{__defineGetter__:function(e,t){a.f(o(this),e,{get:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(2),o=n(14),i=n(29),a=n(13);n(10)&&r(r.P+n(47),"Object",{__defineSetter__:function(e,t){a.f(o(this),e,{set:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(2),o=n(14),i=n(32),a=n(45),l=n(26).f;n(10)&&r(r.P+n(47),"Object",{__lookupGetter__:function(e){var t,n=o(this),r=i(e,!0);do{if(t=l(n,r))return t.get}while(n=a(n))}})},function(e,t,n){"use strict";var r=n(2),o=n(14),i=n(32),a=n(45),l=n(26).f;n(10)&&r(r.P+n(47),"Object",{__lookupSetter__:function(e){var t,n=o(this),r=i(e,!0);do{if(t=l(n,r))return t.set}while(n=a(n))}})},function(e,t,n){var r=n(2);r(r.S+r.F,"Object",{isObject:n(8)})},function(e,t,n){var r=n(2);r(r.S+r.F,"Object",{classof:n(37)})},function(e,t,n){var r=n(2),o=n(94);r(r.S+r.F,"Object",{define:o})},function(e,t,n){var r=n(2),o=n(94),i=n(43);r(r.S+r.F,"Object",{make:function(e,t){return o(i(e),t)}})},function(e,t,n){n(172),e.exports=n(3).String.startsWith},function(e,t,n){"use strict";var r=n(2),o=n(19),i=n(173),a="startsWith",l=""[a];r(r.P+r.F*n(174)(a),"String",{startsWith:function(e){var t=i(this,e,a),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return l?l.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){var r=n(95),o=n(21);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){var r=n(4)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){"use strict";n(96),n(182),e.exports=n(3).Promise.finally},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(25),o=n(81),i=n(82),a=n(11),l=n(19),u=n(84),s={},c={};(t=e.exports=function(e,t,n,f,d){var p,h,m,v,y=d?function(){return e}:u(e),g=r(n,f,t?2:1),b=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(i(y)){for(p=l(e.length);p>b;b++)if((v=t?g(a(h=e[b])[0],h[1]):g(e[b]))===s||v===c)return v}else for(m=y.call(e);!(h=m.next()).done;)if((v=o(m,g,h.value,t))===s||v===c)return v}).BREAK=s,t.RETURN=c},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(9),o=n(97).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,l=r.Promise,u="process"==n(30)(a);e.exports=function(){var e,t,n,s=function(){var r,o;for(u&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){a.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(l&&l.resolve){var c=l.resolve(void 0);n=function(){c.then(s)}}else n=function(){o.call(r,s)};else{var f=!0,d=document.createTextNode("");new i(s).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){var r=n(27);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(9),o=n(13),i=n(10),a=n(4)("species");e.exports=function(e){var t=r[e];i&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var r=n(2),o=n(3),i=n(9),a=n(57),l=n(99);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}})},function(e,t,n){"use strict";n(96),n(184);var r=n(3).Promise,o=r.try;e.exports={try:function(e){return o.call("function"==typeof this?this:r,e)}}.try},function(e,t,n){"use strict";var r=n(2),o=n(58),i=n(98);r(r.S,"Promise",{try:function(e){var t=o.f(this),n=i(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){n(186);var r=n(60);e.exports=function(e){return r.call(e)}},function(e,t,n){n(10)&&"g"!=/./g.flags&&n(13).f(RegExp.prototype,"flags",{configurable:!0,get:n(60)})},function(e,t,n){n(188);var r=n(4)("match");e.exports=function(e,t){return RegExp.prototype[r].call(e,t)}},function(e,t,n){"use strict";var r=n(11),o=n(19),i=n(61),a=n(48);n(49)("match",1,(function(e,t,n,l){return[function(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=l(n,e,this);if(t.done)return t.value;var u=r(e),s=String(this);if(!u.global)return a(u,s);var c=u.unicode;u.lastIndex=0;for(var f,d=[],p=0;null!==(f=a(u,s));){var h=String(f[0]);d[p]=h,""===h&&(u.lastIndex=i(s,o(u.lastIndex),c)),p++}return 0===p?null:d}]}))},function(e,t,n){"use strict";var r=n(62);n(2)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(191);var r=n(4)("replace");e.exports=function(e,t,n){return RegExp.prototype[r].call(e,t,n)}},function(e,t,n){"use strict";var r=n(11),o=n(14),i=n(19),a=n(35),l=n(61),u=n(48),s=Math.max,c=Math.min,f=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;n(49)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),d=String(this),p="function"==typeof t;p||(t=String(t));var v=f.global;if(v){var y=f.unicode;f.lastIndex=0}for(var g=[];;){var b=u(f,d);if(null===b)break;if(g.push(b),!v)break;""===String(b[0])&&(f.lastIndex=l(d,i(f.lastIndex),y))}for(var w,T="",E=0,k=0;k=E&&(T+=d.slice(E,S)+R,E=S+x.length)}return T+d.slice(E)}];function m(e,t,r,i,a,l){var u=r+e.length,s=i.length,c=p;return void 0!==a&&(a=o(a),c=d),n.call(l,c,(function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(u);case"<":l=a[o.slice(1,-1)];break;default:var c=+o;if(0===c)return n;if(c>s){var d=f(c/10);return 0===d?n:d<=s?void 0===i[d-1]?o.charAt(1):i[d-1]+o.charAt(1):n}l=i[c-1]}return void 0===l?"":l}))}}))},function(e,t,n){n(193);var r=n(4)("search");e.exports=function(e,t){return RegExp.prototype[r].call(e,t)}},function(e,t,n){"use strict";var r=n(11),o=n(90),i=n(48);n(49)("search",1,(function(e,t,n,a){return[function(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var l=r(e),u=String(this),s=l.lastIndex;o(s,0)||(l.lastIndex=0);var c=i(l,u);return o(l.lastIndex,s)||(l.lastIndex=s),null===c?-1:c.index}]}))},function(e,t,n){n(195);var r=n(4)("split");e.exports=function(e,t,n){return RegExp.prototype[r].call(e,t,n)}},function(e,t,n){"use strict";var r=n(95),o=n(11),i=n(57),a=n(61),l=n(19),u=n(48),s=n(62),c=n(16),f=Math.min,d=[].push,p="split",h="length",m="lastIndex",v=4294967295,y=!c((function(){RegExp(v,"y")}));n(49)("split",2,(function(e,t,n,c){var g;return g="c"=="abbc"[p](/(b)*/)[1]||4!="test"[p](/(?:)/,-1)[h]||2!="ab"[p](/(?:ab)*/)[h]||4!="."[p](/(.?)(.?)/)[h]||"."[p](/()()/)[h]>1||""[p](/.?/)[h]?function(e,t){var o=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(o,e,t);for(var i,a,l,u=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,p=void 0===t?v:t>>>0,y=new RegExp(e.source,c+"g");(i=s.call(y,o))&&!((a=y[m])>f&&(u.push(o.slice(f,i.index)),i[h]>1&&i.index=p));)y[m]===i.index&&y[m]++;return f===o[h]?!l&&y.test("")||u.push(""):u.push(o.slice(f)),u[h]>p?u.slice(0,p):u}:"0"[p](void 0,0)[h]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var o=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):g.call(String(o),n,r)},function(e,t){var r=c(g,e,this,t,g!==n);if(r.done)return r.value;var s=o(e),d=String(this),p=i(s,RegExp),h=s.unicode,m=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(y?"y":"g"),b=new p(y?s:"^(?:"+s.source+")",m),w=void 0===t?v:t>>>0;if(0===w)return[];if(0===d.length)return null===u(b,d)?[d]:[];for(var T=0,E=0,k=[];E1?arguments[1]:void 0,!1)}})},function(e,t,n){"use strict";var r=n(35),o=n(21);e.exports=function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t,n){n(200),e.exports=n(3).String.padStart},function(e,t,n){"use strict";var r=n(2),o=n(100),i=n(59),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){n(202),e.exports=n(3).String.trimRight},function(e,t,n){"use strict";n(101)("trimRight",(function(e){return function(){return e(this,2)}}),"trimEnd")},function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(e,t,n){n(205),e.exports=n(3).String.trimLeft},function(e,t,n){"use strict";n(101)("trimLeft",(function(e){return function(){return e(this,1)}}),"trimStart")},function(e,t,n){n(207),e.exports=n(3).Number.isNaN},function(e,t,n){var r=n(2);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){(function(e){!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},o=function(e){return decodeURIComponent(String(e).replace(/\+/g," "))};(function(){try{var t=e.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set&&"function"==typeof t.prototype.entries}catch(e){return!1}})()||function(){var o=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"===t);else if("string"===t)""!==e&&this._fromString(e);else if(e instanceof o){var n=this;e.forEach((function(e,t){n.append(t,e)}))}else{if(null===e||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var r=0;rt[0]?1:0})),e._entries&&(e._entries={});for(var n=0;n1?o(r[1]):"")}})}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(e){if(function(){try{var t=new e.URL("b","http://a");return t.pathname="c d","http://a/c%20d"===t.href&&t.searchParams}catch(e){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t)),n&&"string"!=typeof n&&(n=String(n));var r,o=document;if(n&&(void 0===e.location||n!==e.location.href)){n=n.toLowerCase(),(r=(o=document.implementation.createHTMLDocument("")).createElement("base")).href=n,o.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var i=o.createElement("a");i.href=t,r&&(o.body.appendChild(i),i.href=i.href);var a=o.createElement("input");if(a.type="url",a.value=t,":"===i.protocol||!/:/.test(i.href)||!a.checkValidity()&&!n)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:i});var l=new e.URLSearchParams(this.search),u=!0,s=!0,c=this;["append","delete","set"].forEach((function(e){var t=l[e];l[e]=function(){t.apply(l,arguments),u&&(s=!1,c.search=l.toString(),s=!0)}})),Object.defineProperty(this,"searchParams",{value:l,enumerable:!0});var f=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==f&&(f=this.search,s&&(u=!1,this.searchParams._fromString(this.search),u=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach((function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)})),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval((function(){e.location.origin=t()}),100)}}}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)}).call(t,n(103))},function(e,t){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(e){for(var t=window.document,n=o(t);n;)n=o(t=n.ownerDocument);return t}(),t=[],n=null,r=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){r=e&&n?f(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},a._resetCrossOriginUpdater=function(){n=null,r=null},a.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,i=null,a=null;if(this.POLL_INTERVAL?i=n.setInterval(r,this.POLL_INTERVAL):(l(n,"resize",r,!0),l(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(i&&e.clearInterval(i),u(e,"resize",r,!0)),u(t,"scroll",r,!0),a&&a.disconnect()})),t!=(this.root&&this.root.ownerDocument||e)){var s=o(t);s&&this._monitorIntersections(s.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&this.root.ownerDocument||e,i=this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var i=o(n);if((n=i&&i.ownerDocument)==t)return!0}return!1}));if(!i){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=r){var l=o(t);l&&this._unmonitorIntersections(l.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t=0&&v>=0&&{top:u,bottom:c,left:d,right:h,width:m,height:v}||null),!y)break;g=g&&p(g)}return y}},a.prototype._getRootRect=function(){var t;if(this.root)t=s(this.root);else{var n=e.documentElement,r=e.body;t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var o=0;o=_.DESKTOP_MIN_WIDTH,we=z.toLowerCase().trim()===_.FILTER_TYPES.XOR,Te=fe===_.LAYOUT_CONTAINER.CAROUSEL,Ee=fe!==_.LAYOUT_CONTAINER.CAROUSEL,ke=fe===_.LAYOUT_CONTAINER.CATEGORIES,xe=n("filterPanel","categories"),Se=ke?(Y=xe,K=j.filter((function(e){return e.id.includes("caas:product-categories")})).map((function(e){return e.id})).map((function(e){return Y&&Y.filter((function(t){return t.id===e}))[0]})),[{group:"All Topics",title:"All Topics",id:"",items:[]}].concat(N(K))):[],Ce=(0,i.useState)([]),_e=o(Ce,2),Pe=_e[0],Oe=(_e[1],(0,i.useState)(0)),Re=o(Oe,2),Ie=(Re[0],Re[1],a.default.useState()),Ne=o(Ie,2)[1],De=(0,i.useRef)(null),Me=a.default.useCallback((function(){return Ne({})}),[]),Ae=(0,S.useURLState)(),Fe=o(Ae,3),Le=Fe[0],je=Fe[1],ze=Fe[2],Ue=(0,i.useState)(null),Be=o(Ue,2),We=Be[0],Ve=Be[1],He=(0,i.useState)((0,p.readBookmarksFromLocalStorage)()),qe=o(He,2),$e=qe[0],Qe=qe[1],Ge=(0,i.useState)((0,p.readInclusionsFromLocalStorage)()),Ye=o(Ge,1)[0],Ke=(0,i.useState)(+Le.page||1),Xe=o(Ke,2),Ze=Xe[0],Je=Xe[1],et=(0,i.useState)([]),tt=o(et,2),nt=tt[0],rt=tt[1],ot=(0,i.useState)([]),it=o(ot,2),at=it[0],lt=it[1],ut=(0,i.useState)(""),st=o(ut,2),ct=st[0],ft=st[1],dt=(0,i.useState)(""),pt=o(dt,2),ht=pt[0],mt=pt[1],vt=(0,i.useState)(!1),yt=o(vt,2),gt=yt[0],bt=yt[1],wt=(0,i.useState)($),Tt=o(wt,2),Et=Tt[0],kt=Tt[1];Et.sort===_.SORT_TYPES.RANDOM&&(U=B);var xt=(0,S.useWindowDimensions)().width,St=(0,i.useState)(!1),Ct=o(St,2),_t=Ct[0],Pt=Ct[1],Ot=(0,i.useState)(!1),Rt=o(Ot,2),It=Rt[0],Nt=Rt[1],Dt=(0,i.useState)("top"===D),Mt=o(Dt,2),At=Mt[0],Ft=Mt[1],Lt=(0,i.useState)([]),jt=o(Lt,2),zt=jt[0],Ut=jt[1],Bt=(0,i.useState)(!1),Wt=o(Bt,2),Vt=Wt[0],Ht=Wt[1],qt=(0,i.useState)(!1),$t=o(qt,2),Qt=$t[0],Gt=$t[1],Yt=(0,i.useState)(null),Kt=o(Yt,2),Xt=Kt[0],Zt=Kt[1],Jt=(0,i.useState)(!0),en=o(Jt,2),tn=en[0],nn=en[1],rn=(0,i.useState)(),on=o(rn,2),an=on[0],ln=on[1],un=(0,i.useState)(!1),sn=o(un,2),cn=sn[0],fn=sn[1],dn=(0,i.createRef)(),pn=(0,i.createRef)();function hn(e){for(var t=e.length;"/"!==e[t]&&t>=0;)t--;return[e.substring(0,t),e.substring(t+1)]}function mn(e,t){if(!e)return"";for(var n=Math.pow(10,t)+7,r=0,o=1,i=0;i1&&void 0!==arguments[1]?arguments[1]:"";rt((function(t){var n=function(e,t){return t.map((function(t){return t.id!==e?t:r({},t,{items:t.items.map((function(e){return r({},e,{selected:!1})}))})}))}(e,t);return n}));var n=new URLSearchParams(window.location.search);ze(),n.forEach((function(n,r){var o=r.toLowerCase().replace("ch_","").replace(/ /g,"-");(0===r.indexOf(u)||e.toLowerCase().includes(o))&&t.toLowerCase().replace(/ /g,"-").includes(o)||je(r,n.replace(/%20/g," "))}))},yn=function(){rt((function(e){return e.map((function(e){return r({},e,{items:e.items.map((function(e){return r({},e,{selected:!1})}))})}))}));var e=new URLSearchParams(window.location.search);ze(),e.forEach((function(e,t){0!==t.indexOf(u)&&je(t,e)}))},gn=function(){yn(),ft("");var e=new URLSearchParams(window.location.search);ze(),e.forEach((function(e,t){-1===t.indexOf(u)&&-1===t.indexOf(h)&&je(t,e)})),Nt(!1)},bn=function(e){kt(e),bt(!1),nn(!1)},wn=function(e){ft(e),Je(1),je(h,e)},Tn=function(e){rt((function(t){var n=void 0;return t.map((function(t){return n=t.id===e?!t.opened:t.opened,r({},t,{opened:n})}))}))},En=function(e,t,n){we&&n&&yn(),rt((function(n){return n.map((function(n){return n.id!==e?n:r({},n,{items:n.items.map((function(e){return r({},e,{selected:e.id===t?!e.selected:e.selected})}))})}))})),Je(1),function(e,t,n){var r=nt.find((function(t){return t.id===e})),o=r.group,i=r.items.find((function(e){return e.id===t})).label,a=Le[u+o]||[];"string"==typeof a&&(a=a.split(","));var l=n?[].concat(N(a),[i]):a.filter((function(e){return e!==i}));je(u+o,l)}(e,t,n)},kn=function(){return Pt((function(e){return!e}))},xn=function(e){var t=$e.find((function(t){return t===e}));Qe(t?function(t){return t.filter((function(t){return t!==e}))}:function(t){return[].concat(N(t),[e])})},Sn=function(e){"Escape"!==e.key&&"Esc"!==e.key||Pt(!1)};(0,i.useEffect)((function(){rt(j.map((function(e){return r({},e,{opened:!!be&&e.openedOnLoad,items:e.items.map((function(e){return r({},e,{selected:!1})}))})})))}),[]),(0,i.useEffect)((function(){rt((function(e){return e.map((function(e){var t=e.group,n=e.items,o=Le[u+t];if(!o)return e;var i=o.split(",");return r({},e,{opened:!0,items:n.map((function(e){return r({},e,{selected:i.includes(String(e.label))})}))})}))}));var e=Le[h];e&&ft(e[0])}),[]),(0,i.useEffect)((function(){Zt(Math.floor(1e13*Math.random()))}),[]),(0,i.useEffect)((function(){je("page",1===Ze?"":Ze)}),[Ze]);(0,i.useEffect)((function(){if(!(ie&&an||ie&&!cn)){var e,t=window.__satelliteLoadedPromise,i=n("collection","endpoint"),a=n("collection","fallbackEndpoint"),l=void 0;l=new RegExp("^(?:[a-z]+:)?//","i").test(i)?new URL(i):new URL(i,window.location.origin),a||(l.searchParams.set("flatFile",!1),i=l.toString()),Ht(!0),ue&&t&&f(t),ue&&!t&&(e=0,function t(){setTimeout((function(){if(e>=20)return Ht(!1),void Gt(!0);var n=window.__satelliteLoadedPromise;n&&f(n),!n&&e<20&&t(),e+=1}),100)}()),ue||c()}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=Date.now();return window.fetch(e,{credentials:"include",headers:ge}).then((function(t){var n=t.ok,r=t.status,o=t.statusText,i=t.url;return n?t.json().then((function(t){return Object.keys(t).length?t:((0,s.logLana)({message:"no valid response data from "+e,tags:"collection"}),Promise.reject(new Error("no valid reponse data")))})):((0,s.logLana)({message:"failure for call to "+i,tags:"collection",errorMessage:r+": "+o}),Promise.reject(new Error(r+": "+o+", failure for call to "+i)))})).then((function(n){if((0,s.logLana)({message:"response took "+(Date.now()-t)/1e3+"s",tags:"collection"}),Ht(!1),nn(!0),(0,p.getByPath)(n,"cards.length")){if(n.isHashed){var i=!0,a=!1,l=void 0;try{for(var c,f=j[Symbol.iterator]();!(i=(c=f.next()).done);i=!0){var d=c.value;d.id=mn(d.id,6);var h=!0,m=!1,v=void 0;try{for(var y,g=d.items[Symbol.iterator]();!(h=(y=g.next()).done);h=!0){var b=y.value,w=hn(b.id),T=o(w,2),E=T[0],k=T[1];b.id=mn(E,6)+"/"+mn(k,6)}}catch(e){m=!0,v=e}finally{try{!h&&g.return&&g.return()}finally{if(m)throw v}}}}catch(e){a=!0,l=e}finally{try{!i&&f.return&&f.return()}finally{if(a)throw l}}var S=[],C=!0,P=!1,O=void 0;try{for(var R,I=X[Symbol.iterator]();!(C=(R=I.next()).done);C=!0){var D=hn(R.value),M=o(D,2);E=M[0],k=M[1];""!==E&&""!==k&&S.push(mn(E,6)+"/"+mn(k,6))}}catch(e){P=!0,O=e}finally{try{!C&&I.return&&I.return()}finally{if(P)throw O}}X=S}var A=new x.default(n.cards).removeDuplicateCards().addCardMetaData(_.TRUNCATE_TEXT_QTY,L,$e,G,X).processedCards,z=void 0===A?[]:A;rt(ke?function(e){return e.map((function(e){var t=e.group,n=e.items,o=Le[u+t];if(!o)return e;var i=o.split(",");return r({},e,{opened:!0,items:n.map((function(e){return r({},e,{selected:i.includes(String(e.label))})}))})}))}:function(){return j.map((function(e){var t=e.group,n=e.items,o=Le[u+t];if(!o)return e;var i=o.split(",");return r({},e,{opened:!0,items:n.map((function(e){return r({},e,{selected:i.includes(String(e.label))})}))})}))});var U=(0,p.getTransitions)(z);if("eventsort"===Et.sort.toLowerCase())for(;U.size()>0;)setTimeout((function(){Me()}),U.dequeue().priority+_.ONE_SECOND_DELAY);Ut(z),de||rt((function(e){return t=e,n=z,i=(o=[]).concat.apply(o,N(n.map((function(e){return e.tags.map((function(e){return e.id}))})))),a=[_.EVENT_TIMING_IDS.LIVE,_.EVENT_TIMING_IDS.ONDEMAND,_.EVENT_TIMING_IDS.UPCOMING],t.map((function(e){return r({},e,{items:e.items.filter((function(e){return i.includes(e.id)||i.includes(e.label)||i.toString().includes("/"+e.id)||a.includes(e.id)}))})})).filter((function(e){return e.items.length>0}));var t,n,o,i,a})),setTimeout((function(){if(De.current&&0!==z.length&&1!==Ze){var e=z.slice(0,F*Ze),t=F*Ze-F;if(!(e.length0,Bn=nt.length>0&&xt<_.TABLET_MIN_WIDTH?_.SORT_POPUP_LOCATION.LEFT:_.SORT_POPUP_LOCATION.RIGHT,Wn=be?_.PAGINATION_COUNT.DESKTOP:_.PAGINATION_COUNT.MOBILE,Vn=D===_.FILTER_PANEL.TOP,Hn=D===_.FILTER_PANEL.LEFT,qn=I||he||me||A,$n="";nt.forEach((function(e){e.items.filter((function(e){return e.selected})).forEach((function(e){$n+=e.label+", "}))}));var Qn=(0,l.default)({"consonant-u-themeLight":ce===_.THEME_TYPE.LIGHT,"consonant-u-themeDark":ce===_.THEME_TYPE.DARK,"consonant-u-themeDarkest":ce===_.THEME_TYPE.DARKEST});function Gn(){if(!Se)return[];var e=[],t=!0,n=!1,r=void 0;try{for(var o,i=Se[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var a=o.value;if(a&&a.items){var l=!0,u=!1,s=void 0;try{for(var c,f=a.items[Symbol.iterator]();!(l=(c=f.next()).done);l=!0){c.value.fromCategory=!0}}catch(e){u=!0,s=e}finally{try{!l&&f.return&&f.return()}finally{if(u)throw s}}e=e.concat(a.items)}}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}return{group:"All products",id:"caas:all-products",items:e}}function Yn(e){return j.filter((function(t){return t.id===e.id})).map((function(e){return e.icon})).toString()||e.icon||""}var Kn=(le?le+" | ":"")+"Card Collection | Filters: "+(An?$n:"No Filters")+"| Search Query: "+(ct||"None"),Xn=(0,l.default)({"consonant-Wrapper":!0,"consonant-Wrapper--32MarginContainer":fe===_.LAYOUT_CONTAINER.SIZE_100_VW_32_MARGIN,"consonant-Wrapper--83PercentContainier":fe===_.LAYOUT_CONTAINER.SIZE_83_VW,"consonant-Wrapper--1200MaxWidth":fe===_.LAYOUT_CONTAINER.SIZE_1200_PX,"consonant-Wrapper--1600MaxWidth":fe===_.LAYOUT_CONTAINER.SIZE_1600_PX,"consonant-Wrapper--1200MaxWidth Categories":ke,"consonant-Wrapper--carousel":Te,"consonant-Wrapper--withLeftFilter":I&&Hn});return(0,i.useEffect)((function(){ke&&rt((function(e){return e.concat(Gn())}))}),[]),a.default.createElement(P.ConfigContext.Provider,{value:t},a.default.createElement(P.ExpandableContext.Provider,{value:{value:We,setValue:Ve}},a.default.createElement("section",{ref:Cn,role:"group","aria-label":ye,"daa-lh":Kn,"daa-im":String(ae),onClick:function(){Ve(null)},className:Xn+" "+Qn},a.default.createElement("div",{className:"consonant-Wrapper-inner"},ke&&a.default.createElement(i.Fragment,null,a.default.createElement("h2",{"data-testid":"consonant-TopFilters-categoriesTitle",className:"consonant-TopFilters-categoriesTitle"},ye),a.default.createElement("div",{className:"filters-category"},Se.map((function(e){if(!e)return null;var t="";return e.id===ht&&(t="selected"),a.default.createElement("button",{onClick:function(){!function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done);r=!0){var u=a.value;n.push(u.id)}}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}lt(n),rt((function(e){e.pop();var n=Se.filter((function(e){return e.id===t}))[0];return n.items.length?(e.push(n),e):e.concat(Gn())})),mt(t),Je(1)}(e.items,e.id)},"data-selected":t,"data-group":e.group.replaceAll(" ","").toLowerCase()},a.default.createElement("img",{className:"filters-category--icon",src:Yn(e),alt:e.icon&&"Category icon"}),e.title)})))),zn&&Ee&&a.default.createElement("div",{className:"consonant-Wrapper-leftFilterWrapper"},a.default.createElement(k.default,{filters:nt,selectedFiltersQty:An,windowWidth:xt,onFilterClick:Tn,onClearAllFilters:gn,onClearFilterItems:vn,onCheckboxClick:En,onMobileFiltersToggleClick:kn,onSelectedFilterClick:En,showMobileFilters:_t,resQty:Nn.length,bookmarkComponent:a.default.createElement(g.default,{showBookmarks:It,onClick:function(e){e.stopPropagation(),Nt((function(e){return!e})),Je(1)},savedCardsCount:$e.length}),searchComponent:a.default.createElement(f.default,{placeholderText:Z,name:"filtersSideSearch",value:ct,autofocus:!1,onSearch:wn}),ref:dn})),a.default.createElement("div",{className:"consonant-Wrapper-collection"+(Vt?" is-loading":"")},Vn&&Ee&&a.default.createElement(E.default,{filterPanelEnabled:I,filters:nt,windowWidth:xt,resQty:Nn.length,onCheckboxClick:En,onFilterClick:Tn,onClearFilterItems:vn,categories:at,onClearAllFilters:gn,showLimitedFiltersQty:At,searchComponent:a.default.createElement(f.default,{placeholderText:J,name:"filtersTopSearch",value:ct,autofocus:be,onSearch:wn}),sortComponent:a.default.createElement(c.default,{opened:gt,id:"sort",val:Et,values:H,onSelect:bn,name:"filtersTopSelect",autoWidth:!0,optionsAlignment:Bn}),onShowAllClick:function(){Ft((function(e){return!e}))}}),Hn&&Ee&&a.default.createElement(C.Info,{enabled:I,filtersQty:nt.length,filters:nt,cardsQty:Nn.length,selectedFiltersQty:An,windowWidth:xt,onMobileFiltersToggleClick:kn,searchComponent:a.default.createElement(f.default,{placeholderText:ee,name:"searchFiltersInfo",value:ct,autofocus:!1,onSearch:wn}),sortComponent:a.default.createElement(c.default,{opened:gt,id:"sort",val:Et,values:H,onSelect:bn,autoWidth:!1,optionsAlignment:"right"}),sortOptions:H,ref:pn}),Un&&Ee&&a.default.createElement(i.Fragment,null,a.default.createElement(w.default,{resultsPerPage:F,pages:Ze,cards:Nn,forwardedRef:De,onCardBookmark:xn,isAriaLiveActive:qn}),Ln&&a.default.createElement(y.default,{onClick:function(){Je((function(e){return e+1})),window.scrollTo(0,window.pageYOffset)},show:Mn,total:Nn.length}),jn&&a.default.createElement(b.default,{pageCount:Wn,currentPageNumber:Ze,totalPages:Dn,showItemsPerPage:F,totalResults:Nn.length,onClick:Je})),Un&&Te&&!("custom-card"===ve)&&a.default.createElement(m.default,{resQty:Nn.length,cards:Nn,role:"tablist",onCardBookmark:xn}),Un&&Te&&"custom-card"===ve&&a.default.createElement(v.default,{title:"Not Supported",description:"Using custom cards within a carousel layout is currently not supported. Please re-author the component",replaceValue:""}),Vt&&!Un&&a.default.createElement(d.default,{size:_.LOADER_SIZE.BIG,hidden:!U,absolute:!0}),!Qt&&!Un&&!Vt&&a.default.createElement(v.default,{title:te,description:ne,replaceValue:ct}),Qt&&a.default.createElement(v.default,{title:re,description:oe,replaceValue:""}))))))};D.propTypes={config:(0,u.shape)(h.configType)},D.defaultProps={config:{}},t.default=D},function(e,t,n){"use strict";(function(t){"production"===t.env.NODE_ENV?e.exports=n(228):e.exports=n(229)}).call(t,n(12))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeConfigGetter=t.getNumSelectedFilterItems=void 0,t.getDefaultSortOption=function(e,t){var n=i(e)("sort","options"),r=o.SORT_TYPES[t.toUpperCase()];return n.find((function(e){return e.sort===t}))||{label:r||"Featured",sort:r||"featured"}};var r=n(6),o=n(15),i=(t.getNumSelectedFilterItems=function(e){var t=(0,r.chainFromIterable)(e.map((function(e){return e.items})));return(0,r.getSelectedItemsCount)(t)},t.makeConfigGetter=function(e){return function(t,n){var i=n?t+"."+n:t,a=(0,r.getByPath)(o.DEFAULT_CONFIG,i),l=(0,r.getByPath)(e,i);return(0,r.isNullish)(l)?a:l}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigContext=t.ExpandableContext=t.noOp=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r};var a=t.noOp=function(){};t.ExpandableContext=i.default.createContext({value:null,setValue:a}),t.ConfigContext=i.default.createContext({})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&o.default.createElement("div",{ref:m,"data-card-style":y,"data-testid":"consonant-CardsGrid",className:O,role:"tablist","aria-live":h?"polite":"off"},D.map((function(e,t){var n=(0,s.getByPath)(e,"styles.typeOverride"),i=y||n,u=e.contentArea,c=(u=void 0===u?{}:u).title,p=void 0===c?"":c,h=e.id,m=t+1,v=function(e,t){return!(!e.hideCtaId&&!e.hideCtaTags&&"hidden"!==t)}(e,C);return i===d.CARD_STYLES.CUSTOM?(0,l.default)(P(e)):o.default.createElement(f.default,r({cardStyle:i,lh:"Card "+m+" | "+A(p)+" | "+h,key:e.id},e,{bannerMap:R,onClick:a,dateFormat:k,locale:x,renderBorder:w,renderDivider:T,renderOverlay:E,hideCTA:v,onFocus:function(){return function(e){e&&document.getElementById(e).scrollIntoView({block:"nearest"})}(e.id)}}))})))};v.propTypes=h,v.defaultProps=m,t.default=v},function(e,t,n){var r=n(240),o=n(114);function i(e){return r.possibleStandardNames[e]}e.exports=function(e){var t,n,a,l,u,s={},c=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(a=e[t],r.isCustomAttribute(t))s[t]=a;else if(l=i(n=t.toLowerCase()))switch(u=r.getPropertyInfo(l),"checked"!==l&&"value"!==l||c||(l=i("default"+n)),s[l]=a,u&&u.type){case r.BOOLEAN:s[l]=!0;break;case r.OVERLOADED_BOOLEAN:""===a&&(s[l]=!0)}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(s[t]=a);return o.setStyleProp(e.style,s),s}},function(e,t,n){var r=n(0),o=n(242).default;var i={reactCompat:!0};var a=r.version.split(".")[0]>=16,l=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:a,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var n,r,o="function"==typeof t,i={},a={};for(n in e)r=e[n],o&&(i=t(n,r))&&2===i.length?a[i[0]]=i[1]:"string"==typeof r&&(a[r]=n);return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=o(e,i)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!l.has(e.name)},elementsWithNoTextChildren:l}},function(e,t,n){for(var r,o=n(249),i=n(250),a=o.CASE_SENSITIVE_TAG_NAMES,l=i.Comment,u=i.Element,s=i.ProcessingInstruction,c=i.Text,f={},d=0,p=a.length;d0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(u);t.NodeWithChildren=p;var h=function(e){function t(t){return e.call(this,a.ElementType.Root,t)||this}return o(t,e),t}(p);t.Document=h;var m=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,o,r)||this;return i.name=t,i.attribs=n,i}return o(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(p);function v(e){return(0,a.isTag)(e)}function y(e){return e.type===a.ElementType.CDATA}function g(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function w(e){return e.type===a.ElementType.Directive}function T(e){return e.type===a.ElementType.Root}function E(e,t){var n;if(void 0===t&&(t=!1),g(e))n=new c(e.data);else if(b(e))n=new f(e.data);else if(v(e)){var r=t?k(e.children):[],o=new m(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(y(e)){r=t?k(e.children):[];var l=new p(a.ElementType.CDATA,r);r.forEach((function(e){return e.parent=l})),n=l}else if(T(e)){r=t?k(e.children):[];var u=new h(r);r.forEach((function(e){return e.parent=u})),e["x-mode"]&&(u["x-mode"]=e["x-mode"]),n=u}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var s=new d(e.name,e.data);null!=e["x-name"]&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),n=s}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function k(e){for(var t=e.map((function(e){return E(e,!0)})),n=1;n0}(e)&&(h=e,d.render(c.default))})),t.default=p},function(e,t,n){"use strict";n(122),n(126),n(128),n(132),n(134),n(139),n(140),n(141),n(142),n(171),n(175),n(183),n(185),n(187),n(190),n(192),n(194),n(196),n(199),n(201),n(204),n(206),n(102),n(208),n(209)},function(e,t,n){n(123),e.exports=n(3).Array.includes},function(e,t,n){"use strict";var r=n(2),o=n(73)(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(52)("includes")},function(e,t,n){e.exports=n(41)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(34),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){n(74),e.exports=n(3).Object.assign},function(e,t,n){"use strict";var r=n(10),o=n(30),i=n(42),a=n(35),l=n(14),u=n(51),s=Object.assign;e.exports=!s||n(16)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=s({},e)[n]||Object.keys(s({},t)).join("")!=r}))?function(e,t){for(var n=l(e),s=arguments.length,c=1,f=i.f,d=a.f;s>c;)for(var p,h=u(arguments[c++]),m=f?o(h).concat(f(h)):o(h),v=m.length,y=0;v>y;)p=m[y++],r&&!d.call(h,p)||(n[p]=h[p]);return n}:s},function(e,t,n){n(129),e.exports=n(3).Array.findIndex},function(e,t,n){"use strict";var r=n(2),o=n(76)(6),i="findIndex",a=!0;i in[]&&Array(1)[i]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(52)(i)},function(e,t,n){var r=n(131);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(8),o=n(77),i=n(4)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){n(133),e.exports=n(3).Array.find},function(e,t,n){"use strict";var r=n(2),o=n(76)(5),i="find",a=!0;i in[]&&Array(1)[i]((function(){a=!1})),r(r.P+r.F*a,"Array",{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(52)(i)},function(e,t,n){n(135),n(138),e.exports=n(3).Array.from},function(e,t,n){"use strict";var r=n(78)(!0);n(136)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var r=n(27),o=n(2),i=n(26),a=n(22),l=n(55),u=n(137),s=n(44),c=n(45),f=n(4)("iterator"),d=!([].keys&&"next"in[].keys()),p="keys",h="values",m=function(){return this};e.exports=function(e,t,n,v,y,g,b){u(n,t,v);var w,T,E,k=function(e){if(!d&&e in _)return _[e];switch(e){case p:case h:return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",S=y==h,C=!1,_=e.prototype,P=_[f]||_["@@iterator"]||y&&_[y],O=P||k(y),R=y?S?k("entries"):O:void 0,I="Array"==t&&_.entries||P;if(I&&(E=c(I.call(new e)))!==Object.prototype&&E.next&&(s(E,x,!0),r||"function"==typeof E[f]||a(E,f,m)),S&&P&&P.name!==h&&(C=!0,O=function(){return P.call(this)}),r&&!b||!d&&!C&&_[f]||a(_,f,O),l[t]=O,l[x]=m,y)if(w={values:S?O:k(h),keys:g?O:k(p),entries:R},b)for(T in w)T in _||i(_,T,w[T]);else o(o.P+o.F*(d||C),t,w);return w}},function(e,t,n){"use strict";var r=n(43),o=n(32),i=n(44),a={};n(22)(a,n(4)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){"use strict";var r=n(24),o=n(2),i=n(14),a=n(81),l=n(82),u=n(19),s=n(83),c=n(84);o(o.S+o.F*!n(85)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,d=i(e),p="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,y=0,g=c(d);if(v&&(m=r(m,h>2?arguments[2]:void 0,2)),null==g||p==Array&&l(g))for(n=new p(t=u(d.length));t>y;y++)s(n,y,v?m(d[y],y):d[y]);else for(f=g.call(d),n=new p;!(o=f.next()).done;y++)s(n,y,v?a(f,m,[o.value,y],!0):o.value);return n.length=y,n}})},function(e,t,n){n(86),e.exports=n(3).Object.entries},function(e,t,n){n(88),e.exports=n(3).Object.values},function(e,t,n){n(89),e.exports=n(3).Object.is},function(e,t,n){n(143),n(146),n(147),n(148),n(149),n(150),n(151),n(152),n(153),n(154),n(155),n(156),n(157),n(158),n(74),n(89),n(159),n(161),n(162),n(88),n(86),n(163),n(164),n(165),n(166),n(167),n(168),n(169),n(170),e.exports=n(3).Object},function(e,t,n){"use strict";var r=n(9),o=n(23),i=n(10),a=n(2),l=n(26),u=n(46).KEY,s=n(16),c=n(41),f=n(44),d=n(33),p=n(4),h=n(91),m=n(144),v=n(145),y=n(77),g=n(11),b=n(8),w=n(14),T=n(18),E=n(31),k=n(32),x=n(43),S=n(92),C=n(25),_=n(42),P=n(13),O=n(30),R=C.f,I=P.f,N=S.f,D=r.Symbol,M=r.JSON,A=M&&M.stringify,F="prototype",L=p("_hidden"),j=p("toPrimitive"),z={}.propertyIsEnumerable,U=c("symbol-registry"),B=c("symbols"),W=c("op-symbols"),V=Object[F],H="function"==typeof D&&!!_.f,q=r.QObject,$=!q||!q[F]||!q[F].findChild,Q=i&&s((function(){return 7!=x(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=R(V,t);r&&delete V[t],I(e,t,n),r&&e!==V&&I(V,t,r)}:I,G=function(e){var t=B[e]=x(D[F]);return t._k=e,t},Y=H&&"symbol"==typeof D.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof D},K=function(e,t,n){return e===V&&K(W,t,n),g(e),t=E(t,!0),g(n),o(B,t)?(n.enumerable?(o(e,L)&&e[L][t]&&(e[L][t]=!1),n=x(n,{enumerable:k(0,!1)})):(o(e,L)||I(e,L,k(1,{})),e[L][t]=!0),Q(e,t,n)):I(e,t,n)},X=function(e,t){g(e);for(var n,r=v(t=T(t)),o=0,i=r.length;i>o;)K(e,n=r[o++],t[n]);return e},Z=function(e){var t=z.call(this,e=E(e,!0));return!(this===V&&o(B,e)&&!o(W,e))&&(!(t||!o(this,e)||!o(B,e)||o(this,L)&&this[L][e])||t)},J=function(e,t){if(e=T(e),t=E(t,!0),e!==V||!o(B,t)||o(W,t)){var n=R(e,t);return!n||!o(B,t)||o(e,L)&&e[L][t]||(n.enumerable=!0),n}},ee=function(e){for(var t,n=N(T(e)),r=[],i=0;n.length>i;)o(B,t=n[i++])||t==L||t==u||r.push(t);return r},te=function(e){for(var t,n=e===V,r=N(n?W:T(e)),i=[],a=0;r.length>a;)!o(B,t=r[a++])||n&&!o(V,t)||i.push(B[t]);return i};H||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===V&&t.call(W,n),o(this,L)&&o(this[L],e)&&(this[L][e]=!1),Q(this,e,k(1,n))};return i&&$&&Q(V,e,{configurable:!0,set:t}),G(e)},l(D[F],"toString",(function(){return this._k})),C.f=J,P.f=K,n(56).f=S.f=ee,n(35).f=Z,_.f=te,i&&!n(27)&&l(V,"propertyIsEnumerable",Z,!0),h.f=function(e){return G(p(e))}),a(a.G+a.W+a.F*!H,{Symbol:D});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ne.length>re;)p(ne[re++]);for(var oe=O(p.store),ie=0;oe.length>ie;)m(oe[ie++]);a(a.S+a.F*!H,"Symbol",{for:function(e){return o(U,e+="")?U[e]:U[e]=D(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[t]===e)return t},useSetter:function(){$=!0},useSimple:function(){$=!1}}),a(a.S+a.F*!H,"Object",{create:function(e,t){return void 0===t?x(e):X(x(e),t)},defineProperty:K,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var ae=s((function(){_.f(1)}));a(a.S+a.F*ae,"Object",{getOwnPropertySymbols:function(e){return _.f(w(e))}}),M&&a(a.S+a.F*(!H||s((function(){var e=D();return"[null]"!=A([e])||"{}"!=A({a:e})||"{}"!=A(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!Y(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),r[1]=t,A.apply(M,r)}}),D[F][j]||n(22)(D[F],j,D[F].valueOf),f(D,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(9),o=n(3),i=n(27),a=n(91),l=n(13).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||l(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(30),o=n(42),i=n(35);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,l=n(e),u=i.f,s=0;l.length>s;)u.call(e,a=l[s++])&&t.push(a);return t}},function(e,t,n){var r=n(2);r(r.S,"Object",{create:n(43)})},function(e,t,n){var r=n(2);r(r.S+r.F*!n(10),"Object",{defineProperty:n(13).f})},function(e,t,n){var r=n(2);r(r.S+r.F*!n(10),"Object",{defineProperties:n(79)})},function(e,t,n){var r=n(18),o=n(25).f;n(17)("getOwnPropertyDescriptor",(function(){return function(e,t){return o(r(e),t)}}))},function(e,t,n){var r=n(14),o=n(45);n(17)("getPrototypeOf",(function(){return function(e){return o(r(e))}}))},function(e,t,n){var r=n(14),o=n(30);n(17)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){n(17)("getOwnPropertyNames",(function(){return n(92).f}))},function(e,t,n){var r=n(8),o=n(46).onFreeze;n(17)("freeze",(function(e){return function(t){return e&&r(t)?e(o(t)):t}}))},function(e,t,n){var r=n(8),o=n(46).onFreeze;n(17)("seal",(function(e){return function(t){return e&&r(t)?e(o(t)):t}}))},function(e,t,n){var r=n(8),o=n(46).onFreeze;n(17)("preventExtensions",(function(e){return function(t){return e&&r(t)?e(o(t)):t}}))},function(e,t,n){var r=n(8);n(17)("isFrozen",(function(e){return function(t){return!r(t)||!!e&&e(t)}}))},function(e,t,n){var r=n(8);n(17)("isSealed",(function(e){return function(t){return!r(t)||!!e&&e(t)}}))},function(e,t,n){var r=n(8);n(17)("isExtensible",(function(e){return function(t){return!!r(t)&&(!e||e(t))}}))},function(e,t,n){var r=n(2);r(r.S,"Object",{setPrototypeOf:n(160).set})},function(e,t,n){var r=n(8),o=n(11),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(24)(Function.call,n(25).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){"use strict";var r=n(36),o={};o[n(4)("toStringTag")]="z",o+""!="[object z]"&&n(26)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(e,t,n){var r=n(2),o=n(93),i=n(18),a=n(25),l=n(83);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),u=a.f,s=o(r),c={},f=0;s.length>f;)void 0!==(n=u(r,t=s[f++]))&&l(c,t,n);return c}})},function(e,t,n){"use strict";var r=n(2),o=n(14),i=n(28),a=n(13);n(10)&&r(r.P+n(47),"Object",{__defineGetter__:function(e,t){a.f(o(this),e,{get:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(2),o=n(14),i=n(28),a=n(13);n(10)&&r(r.P+n(47),"Object",{__defineSetter__:function(e,t){a.f(o(this),e,{set:i(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(2),o=n(14),i=n(31),a=n(45),l=n(25).f;n(10)&&r(r.P+n(47),"Object",{__lookupGetter__:function(e){var t,n=o(this),r=i(e,!0);do{if(t=l(n,r))return t.get}while(n=a(n))}})},function(e,t,n){"use strict";var r=n(2),o=n(14),i=n(31),a=n(45),l=n(25).f;n(10)&&r(r.P+n(47),"Object",{__lookupSetter__:function(e){var t,n=o(this),r=i(e,!0);do{if(t=l(n,r))return t.set}while(n=a(n))}})},function(e,t,n){var r=n(2);r(r.S+r.F,"Object",{isObject:n(8)})},function(e,t,n){var r=n(2);r(r.S+r.F,"Object",{classof:n(36)})},function(e,t,n){var r=n(2),o=n(94);r(r.S+r.F,"Object",{define:o})},function(e,t,n){var r=n(2),o=n(94),i=n(43);r(r.S+r.F,"Object",{make:function(e,t){return o(i(e),t)}})},function(e,t,n){n(172),e.exports=n(3).String.startsWith},function(e,t,n){"use strict";var r=n(2),o=n(19),i=n(173),a="startsWith",l=""[a];r(r.P+r.F*n(174)(a),"String",{startsWith:function(e){var t=i(this,e,a),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return l?l.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){var r=n(95),o=n(21);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){var r=n(4)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){"use strict";n(96),n(182),e.exports=n(3).Promise.finally},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(24),o=n(81),i=n(82),a=n(11),l=n(19),u=n(84),s={},c={};(t=e.exports=function(e,t,n,f,d){var p,h,m,v,y=d?function(){return e}:u(e),g=r(n,f,t?2:1),b=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(i(y)){for(p=l(e.length);p>b;b++)if((v=t?g(a(h=e[b])[0],h[1]):g(e[b]))===s||v===c)return v}else for(m=y.call(e);!(h=m.next()).done;)if((v=o(m,g,h.value,t))===s||v===c)return v}).BREAK=s,t.RETURN=c},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(9),o=n(97).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,l=r.Promise,u="process"==n(29)(a);e.exports=function(){var e,t,n,s=function(){var r,o;for(u&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){a.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(l&&l.resolve){var c=l.resolve(void 0);n=function(){c.then(s)}}else n=function(){o.call(r,s)};else{var f=!0,d=document.createTextNode("");new i(s).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){var r=n(26);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(9),o=n(13),i=n(10),a=n(4)("species");e.exports=function(e){var t=r[e];i&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var r=n(2),o=n(3),i=n(9),a=n(57),l=n(99);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}})},function(e,t,n){"use strict";n(96),n(184);var r=n(3).Promise,o=r.try;e.exports={try:function(e){return o.call("function"==typeof this?this:r,e)}}.try},function(e,t,n){"use strict";var r=n(2),o=n(58),i=n(98);r(r.S,"Promise",{try:function(e){var t=o.f(this),n=i(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){n(186);var r=n(60);e.exports=function(e){return r.call(e)}},function(e,t,n){n(10)&&"g"!=/./g.flags&&n(13).f(RegExp.prototype,"flags",{configurable:!0,get:n(60)})},function(e,t,n){n(188);var r=n(4)("match");e.exports=function(e,t){return RegExp.prototype[r].call(e,t)}},function(e,t,n){"use strict";var r=n(11),o=n(19),i=n(61),a=n(48);n(49)("match",1,(function(e,t,n,l){return[function(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=l(n,e,this);if(t.done)return t.value;var u=r(e),s=String(this);if(!u.global)return a(u,s);var c=u.unicode;u.lastIndex=0;for(var f,d=[],p=0;null!==(f=a(u,s));){var h=String(f[0]);d[p]=h,""===h&&(u.lastIndex=i(s,o(u.lastIndex),c)),p++}return 0===p?null:d}]}))},function(e,t,n){"use strict";var r=n(62);n(2)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(191);var r=n(4)("replace");e.exports=function(e,t,n){return RegExp.prototype[r].call(e,t,n)}},function(e,t,n){"use strict";var r=n(11),o=n(14),i=n(19),a=n(34),l=n(61),u=n(48),s=Math.max,c=Math.min,f=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;n(49)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),d=String(this),p="function"==typeof t;p||(t=String(t));var v=f.global;if(v){var y=f.unicode;f.lastIndex=0}for(var g=[];;){var b=u(f,d);if(null===b)break;if(g.push(b),!v)break;""===String(b[0])&&(f.lastIndex=l(d,i(f.lastIndex),y))}for(var w,T="",E=0,k=0;k=E&&(T+=d.slice(E,S)+R,E=S+x.length)}return T+d.slice(E)}];function m(e,t,r,i,a,l){var u=r+e.length,s=i.length,c=p;return void 0!==a&&(a=o(a),c=d),n.call(l,c,(function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(u);case"<":l=a[o.slice(1,-1)];break;default:var c=+o;if(0===c)return n;if(c>s){var d=f(c/10);return 0===d?n:d<=s?void 0===i[d-1]?o.charAt(1):i[d-1]+o.charAt(1):n}l=i[c-1]}return void 0===l?"":l}))}}))},function(e,t,n){n(193);var r=n(4)("search");e.exports=function(e,t){return RegExp.prototype[r].call(e,t)}},function(e,t,n){"use strict";var r=n(11),o=n(90),i=n(48);n(49)("search",1,(function(e,t,n,a){return[function(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var l=r(e),u=String(this),s=l.lastIndex;o(s,0)||(l.lastIndex=0);var c=i(l,u);return o(l.lastIndex,s)||(l.lastIndex=s),null===c?-1:c.index}]}))},function(e,t,n){n(195);var r=n(4)("split");e.exports=function(e,t,n){return RegExp.prototype[r].call(e,t,n)}},function(e,t,n){"use strict";var r=n(95),o=n(11),i=n(57),a=n(61),l=n(19),u=n(48),s=n(62),c=n(16),f=Math.min,d=[].push,p="split",h="length",m="lastIndex",v=4294967295,y=!c((function(){RegExp(v,"y")}));n(49)("split",2,(function(e,t,n,c){var g;return g="c"=="abbc"[p](/(b)*/)[1]||4!="test"[p](/(?:)/,-1)[h]||2!="ab"[p](/(?:ab)*/)[h]||4!="."[p](/(.?)(.?)/)[h]||"."[p](/()()/)[h]>1||""[p](/.?/)[h]?function(e,t){var o=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(o,e,t);for(var i,a,l,u=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,p=void 0===t?v:t>>>0,y=new RegExp(e.source,c+"g");(i=s.call(y,o))&&!((a=y[m])>f&&(u.push(o.slice(f,i.index)),i[h]>1&&i.index=p));)y[m]===i.index&&y[m]++;return f===o[h]?!l&&y.test("")||u.push(""):u.push(o.slice(f)),u[h]>p?u.slice(0,p):u}:"0"[p](void 0,0)[h]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var o=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):g.call(String(o),n,r)},function(e,t){var r=c(g,e,this,t,g!==n);if(r.done)return r.value;var s=o(e),d=String(this),p=i(s,RegExp),h=s.unicode,m=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(y?"y":"g"),b=new p(y?s:"^(?:"+s.source+")",m),w=void 0===t?v:t>>>0;if(0===w)return[];if(0===d.length)return null===u(b,d)?[d]:[];for(var T=0,E=0,k=[];E1?arguments[1]:void 0,!1)}})},function(e,t,n){"use strict";var r=n(34),o=n(21);e.exports=function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t,n){n(200),e.exports=n(3).String.padStart},function(e,t,n){"use strict";var r=n(2),o=n(100),i=n(59),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){n(202),e.exports=n(3).String.trimRight},function(e,t,n){"use strict";n(101)("trimRight",(function(e){return function(){return e(this,2)}}),"trimEnd")},function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(e,t,n){n(205),e.exports=n(3).String.trimLeft},function(e,t,n){"use strict";n(101)("trimLeft",(function(e){return function(){return e(this,1)}}),"trimStart")},function(e,t,n){n(207),e.exports=n(3).Number.isNaN},function(e,t,n){var r=n(2);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){(function(e){!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},o=function(e){return decodeURIComponent(String(e).replace(/\+/g," "))};(function(){try{var t=e.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set&&"function"==typeof t.prototype.entries}catch(e){return!1}})()||function(){var o=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"===t);else if("string"===t)""!==e&&this._fromString(e);else if(e instanceof o){var n=this;e.forEach((function(e,t){n.append(t,e)}))}else{if(null===e||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var r=0;rt[0]?1:0})),e._entries&&(e._entries={});for(var n=0;n1?o(r[1]):"")}})}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(e){if(function(){try{var t=new e.URL("b","http://a");return t.pathname="c d","http://a/c%20d"===t.href&&t.searchParams}catch(e){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t)),n&&"string"!=typeof n&&(n=String(n));var r,o=document;if(n&&(void 0===e.location||n!==e.location.href)){n=n.toLowerCase(),(r=(o=document.implementation.createHTMLDocument("")).createElement("base")).href=n,o.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var i=o.createElement("a");i.href=t,r&&(o.body.appendChild(i),i.href=i.href);var a=o.createElement("input");if(a.type="url",a.value=t,":"===i.protocol||!/:/.test(i.href)||!a.checkValidity()&&!n)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:i});var l=new e.URLSearchParams(this.search),u=!0,s=!0,c=this;["append","delete","set"].forEach((function(e){var t=l[e];l[e]=function(){t.apply(l,arguments),u&&(s=!1,c.search=l.toString(),s=!0)}})),Object.defineProperty(this,"searchParams",{value:l,enumerable:!0});var f=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==f&&(f=this.search,s&&(u=!1,this.searchParams._fromString(this.search),u=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach((function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)})),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval((function(){e.location.origin=t()}),100)}}}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)}).call(t,n(103))},function(e,t){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(e){for(var t=window.document,n=o(t);n;)n=o(t=n.ownerDocument);return t}(),t=[],n=null,r=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){r=e&&n?f(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},a._resetCrossOriginUpdater=function(){n=null,r=null},a.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,i=null,a=null;if(this.POLL_INTERVAL?i=n.setInterval(r,this.POLL_INTERVAL):(l(n,"resize",r,!0),l(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(i&&e.clearInterval(i),u(e,"resize",r,!0)),u(t,"scroll",r,!0),a&&a.disconnect()})),t!=(this.root&&this.root.ownerDocument||e)){var s=o(t);s&&this._monitorIntersections(s.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&this.root.ownerDocument||e,i=this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var i=o(n);if((n=i&&i.ownerDocument)==t)return!0}return!1}));if(!i){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=r){var l=o(t);l&&this._unmonitorIntersections(l.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t=0&&v>=0&&{top:u,bottom:c,left:d,right:h,width:m,height:v}||null),!y)break;g=g&&p(g)}return y}},a.prototype._getRootRect=function(){var t;if(this.root)t=s(this.root);else{var n=e.documentElement,r=e.body;t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var o=0;o>>>>>> dab6229 (feat(mwpw-145210): added role=tablist for carousels/accessibility) /** @license React v16.14.0 * react.production.min.js * diff --git a/react/src/js/components/Consonant/Container/Container.jsx b/react/src/js/components/Consonant/Container/Container.jsx index bd32c661..a507ef2d 100644 --- a/react/src/js/components/Consonant/Container/Container.jsx +++ b/react/src/js/components/Consonant/Container/Container.jsx @@ -1509,6 +1509,7 @@ const Container = (props) => { } { atLeastOneCard && isCarouselContainer && (cardStyle === 'custom-card') &&